@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,301 @@
|
|
|
1
|
+
import { formatDate as e } from "../../utils/helpers.js";
|
|
2
|
+
import { PageLayout as t } from "../../components/PageLayout.js";
|
|
3
|
+
import { DataTable as n } from "../../components/DataTable.js";
|
|
4
|
+
import { StatusBadge as r } from "../../components/StatusBadge.js";
|
|
5
|
+
import { ToastContainer as i } from "../../components/Toast.js";
|
|
6
|
+
import { Modal as a } from "../../components/Modal.js";
|
|
7
|
+
import "../../components/index.js";
|
|
8
|
+
import { useHealthyBowlData as o } from "../../hooks/useHealthyBowlData.js";
|
|
9
|
+
import { useToast as s } from "../../hooks/useToast.js";
|
|
10
|
+
import { useState as c } from "react";
|
|
11
|
+
import { ClipboardCheck as l, Plus as u } from "lucide-react";
|
|
12
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
13
|
+
//#region src/healthybowl/pages/compliance/ComplianceAuditsPage.tsx
|
|
14
|
+
var m = (e) => {
|
|
15
|
+
switch (e) {
|
|
16
|
+
case "completed": return "success";
|
|
17
|
+
case "scheduled": return "info";
|
|
18
|
+
case "in_progress": return "warning";
|
|
19
|
+
case "failed": return "error";
|
|
20
|
+
default: return "default";
|
|
21
|
+
}
|
|
22
|
+
}, h = (e) => {
|
|
23
|
+
switch (e) {
|
|
24
|
+
case "certification": return "default";
|
|
25
|
+
case "internal": return "info";
|
|
26
|
+
case "external": return "warning";
|
|
27
|
+
default: return "muted";
|
|
28
|
+
}
|
|
29
|
+
}, g = {
|
|
30
|
+
title: "",
|
|
31
|
+
type: "internal",
|
|
32
|
+
auditor: "",
|
|
33
|
+
scheduledDate: ""
|
|
34
|
+
}, _ = () => {
|
|
35
|
+
let { audits: _, createAudit: v } = o(), [y, b] = c(null), [x, S] = c(!1), [C, w] = c(g), { toasts: T, toast: E, dismiss: D } = s(), O = _.find((e) => e.id === y), k = async (e) => {
|
|
36
|
+
if (e.preventDefault(), !C.title || !C.auditor || !C.scheduledDate) {
|
|
37
|
+
E({
|
|
38
|
+
title: "Missing required fields",
|
|
39
|
+
description: "Please fill in title, auditor, and date.",
|
|
40
|
+
variant: "warning"
|
|
41
|
+
});
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
try {
|
|
45
|
+
await v({
|
|
46
|
+
title: C.title,
|
|
47
|
+
type: C.type,
|
|
48
|
+
auditor: C.auditor,
|
|
49
|
+
scheduledDate: C.scheduledDate
|
|
50
|
+
}), S(!1), w(g), E({
|
|
51
|
+
title: "Audit scheduled successfully.",
|
|
52
|
+
variant: "success"
|
|
53
|
+
});
|
|
54
|
+
} catch (e) {
|
|
55
|
+
E({
|
|
56
|
+
title: "Failed to schedule audit",
|
|
57
|
+
description: e instanceof Error ? e.message : "Unknown error",
|
|
58
|
+
variant: "error"
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
return /* @__PURE__ */ p(t, {
|
|
63
|
+
title: "Compliance Audits",
|
|
64
|
+
description: "Track audit schedules and results",
|
|
65
|
+
actions: /* @__PURE__ */ p("button", {
|
|
66
|
+
onClick: () => S(!0),
|
|
67
|
+
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",
|
|
68
|
+
children: [/* @__PURE__ */ f(u, { className: "h-4 w-4" }), " Schedule Audit"]
|
|
69
|
+
}),
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ f(n, {
|
|
72
|
+
columns: [
|
|
73
|
+
{
|
|
74
|
+
key: "title",
|
|
75
|
+
header: "Audit",
|
|
76
|
+
render: (e) => /* @__PURE__ */ p("div", {
|
|
77
|
+
className: "flex items-center gap-2",
|
|
78
|
+
children: [/* @__PURE__ */ f(l, { className: "h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ f("span", {
|
|
79
|
+
className: "font-medium",
|
|
80
|
+
children: e.title
|
|
81
|
+
})]
|
|
82
|
+
})
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
key: "type",
|
|
86
|
+
header: "Type",
|
|
87
|
+
render: (e) => /* @__PURE__ */ f(r, {
|
|
88
|
+
label: e.type,
|
|
89
|
+
variant: h(e.type)
|
|
90
|
+
})
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "auditor",
|
|
94
|
+
header: "Auditor"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
key: "scheduledDate",
|
|
98
|
+
header: "Date",
|
|
99
|
+
render: (t) => /* @__PURE__ */ f("span", { children: e(t.scheduledDate) })
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
key: "status",
|
|
103
|
+
header: "Status",
|
|
104
|
+
render: (e) => /* @__PURE__ */ f(r, {
|
|
105
|
+
label: (e.status ?? "unknown").replace(/_/g, " "),
|
|
106
|
+
variant: m(e.status ?? "unknown")
|
|
107
|
+
})
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
key: "findings",
|
|
111
|
+
header: "Findings",
|
|
112
|
+
render: (e) => /* @__PURE__ */ f("span", { children: e.findings })
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
key: "criticalFindings",
|
|
116
|
+
header: "Critical",
|
|
117
|
+
render: (e) => /* @__PURE__ */ f("span", {
|
|
118
|
+
className: e.criticalFindings > 0 ? "font-medium text-red-600 dark:text-red-400" : "text-foreground",
|
|
119
|
+
children: e.criticalFindings
|
|
120
|
+
})
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: "score",
|
|
124
|
+
header: "Score",
|
|
125
|
+
render: (e) => e.score == null ? /* @__PURE__ */ f("span", {
|
|
126
|
+
className: "text-muted-foreground",
|
|
127
|
+
children: "-"
|
|
128
|
+
}) : /* @__PURE__ */ p("span", {
|
|
129
|
+
className: e.score >= 90 ? "font-medium text-emerald-600 dark:text-emerald-400" : "text-foreground",
|
|
130
|
+
children: [e.score, "%"]
|
|
131
|
+
})
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
data: _,
|
|
135
|
+
keyField: "id",
|
|
136
|
+
onRowClick: (e) => b(y === e.id ? null : e.id),
|
|
137
|
+
emptyMessage: "No audits found"
|
|
138
|
+
}),
|
|
139
|
+
O && /* @__PURE__ */ p("div", {
|
|
140
|
+
className: "rounded-lg border border-primary/30 bg-card p-5",
|
|
141
|
+
children: [/* @__PURE__ */ p("div", {
|
|
142
|
+
className: "flex items-center justify-between mb-3",
|
|
143
|
+
children: [/* @__PURE__ */ f("h3", {
|
|
144
|
+
className: "text-sm font-semibold text-foreground",
|
|
145
|
+
children: O.title
|
|
146
|
+
}), /* @__PURE__ */ f("button", {
|
|
147
|
+
onClick: () => b(null),
|
|
148
|
+
className: "text-xs text-muted-foreground hover:text-foreground",
|
|
149
|
+
children: "Close"
|
|
150
|
+
})]
|
|
151
|
+
}), /* @__PURE__ */ p("div", {
|
|
152
|
+
className: "grid grid-cols-2 gap-3 text-sm",
|
|
153
|
+
children: [
|
|
154
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
155
|
+
className: "text-muted-foreground",
|
|
156
|
+
children: "Type: "
|
|
157
|
+
}), /* @__PURE__ */ f("span", {
|
|
158
|
+
className: "text-foreground",
|
|
159
|
+
children: O.type
|
|
160
|
+
})] }),
|
|
161
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
162
|
+
className: "text-muted-foreground",
|
|
163
|
+
children: "Auditor: "
|
|
164
|
+
}), /* @__PURE__ */ f("span", {
|
|
165
|
+
className: "text-foreground",
|
|
166
|
+
children: O.auditor
|
|
167
|
+
})] }),
|
|
168
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
169
|
+
className: "text-muted-foreground",
|
|
170
|
+
children: "Date: "
|
|
171
|
+
}), /* @__PURE__ */ f("span", {
|
|
172
|
+
className: "text-foreground",
|
|
173
|
+
children: e(O.scheduledDate)
|
|
174
|
+
})] }),
|
|
175
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
176
|
+
className: "text-muted-foreground",
|
|
177
|
+
children: "Score: "
|
|
178
|
+
}), /* @__PURE__ */ f("span", {
|
|
179
|
+
className: "text-foreground",
|
|
180
|
+
children: O.score == null ? "N/A" : `${O.score}%`
|
|
181
|
+
})] }),
|
|
182
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
183
|
+
className: "text-muted-foreground",
|
|
184
|
+
children: "Findings: "
|
|
185
|
+
}), /* @__PURE__ */ f("span", {
|
|
186
|
+
className: "text-foreground",
|
|
187
|
+
children: O.findings
|
|
188
|
+
})] }),
|
|
189
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
190
|
+
className: "text-muted-foreground",
|
|
191
|
+
children: "Critical: "
|
|
192
|
+
}), /* @__PURE__ */ f("span", {
|
|
193
|
+
className: O.criticalFindings > 0 ? "font-medium text-red-600 dark:text-red-400" : "text-foreground",
|
|
194
|
+
children: O.criticalFindings
|
|
195
|
+
})] })
|
|
196
|
+
]
|
|
197
|
+
})]
|
|
198
|
+
}),
|
|
199
|
+
/* @__PURE__ */ f(a, {
|
|
200
|
+
open: x,
|
|
201
|
+
onClose: () => {
|
|
202
|
+
S(!1), w(g);
|
|
203
|
+
},
|
|
204
|
+
title: "Schedule Audit",
|
|
205
|
+
description: "Schedule a new compliance audit.",
|
|
206
|
+
size: "lg",
|
|
207
|
+
footer: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("button", {
|
|
208
|
+
onClick: () => {
|
|
209
|
+
S(!1), w(g);
|
|
210
|
+
},
|
|
211
|
+
className: "rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground",
|
|
212
|
+
children: "Cancel"
|
|
213
|
+
}), /* @__PURE__ */ f("button", {
|
|
214
|
+
onClick: k,
|
|
215
|
+
className: "rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",
|
|
216
|
+
children: "Schedule Audit"
|
|
217
|
+
})] }),
|
|
218
|
+
children: /* @__PURE__ */ p("form", {
|
|
219
|
+
onSubmit: k,
|
|
220
|
+
className: "grid gap-4 sm:grid-cols-2",
|
|
221
|
+
children: [
|
|
222
|
+
/* @__PURE__ */ p("div", {
|
|
223
|
+
className: "sm:col-span-2",
|
|
224
|
+
children: [/* @__PURE__ */ f("label", {
|
|
225
|
+
className: "text-sm font-medium text-foreground",
|
|
226
|
+
children: "Title *"
|
|
227
|
+
}), /* @__PURE__ */ f("input", {
|
|
228
|
+
type: "text",
|
|
229
|
+
value: C.title,
|
|
230
|
+
onChange: (e) => w((t) => ({
|
|
231
|
+
...t,
|
|
232
|
+
title: e.target.value
|
|
233
|
+
})),
|
|
234
|
+
placeholder: "e.g., Annual Organic Certification Audit",
|
|
235
|
+
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"
|
|
236
|
+
})]
|
|
237
|
+
}),
|
|
238
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
239
|
+
className: "text-sm font-medium text-foreground",
|
|
240
|
+
children: "Type *"
|
|
241
|
+
}), /* @__PURE__ */ p("select", {
|
|
242
|
+
value: C.type,
|
|
243
|
+
onChange: (e) => w((t) => ({
|
|
244
|
+
...t,
|
|
245
|
+
type: e.target.value
|
|
246
|
+
})),
|
|
247
|
+
className: "mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground",
|
|
248
|
+
children: [
|
|
249
|
+
/* @__PURE__ */ f("option", {
|
|
250
|
+
value: "internal",
|
|
251
|
+
children: "Internal"
|
|
252
|
+
}),
|
|
253
|
+
/* @__PURE__ */ f("option", {
|
|
254
|
+
value: "external",
|
|
255
|
+
children: "External"
|
|
256
|
+
}),
|
|
257
|
+
/* @__PURE__ */ f("option", {
|
|
258
|
+
value: "certification",
|
|
259
|
+
children: "Certification"
|
|
260
|
+
})
|
|
261
|
+
]
|
|
262
|
+
})] }),
|
|
263
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
264
|
+
className: "text-sm font-medium text-foreground",
|
|
265
|
+
children: "Auditor *"
|
|
266
|
+
}), /* @__PURE__ */ f("input", {
|
|
267
|
+
type: "text",
|
|
268
|
+
value: C.auditor,
|
|
269
|
+
onChange: (e) => w((t) => ({
|
|
270
|
+
...t,
|
|
271
|
+
auditor: e.target.value
|
|
272
|
+
})),
|
|
273
|
+
placeholder: "e.g., John Smith",
|
|
274
|
+
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"
|
|
275
|
+
})] }),
|
|
276
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
277
|
+
className: "text-sm font-medium text-foreground",
|
|
278
|
+
children: "Scheduled Date *"
|
|
279
|
+
}), /* @__PURE__ */ f("input", {
|
|
280
|
+
type: "date",
|
|
281
|
+
value: C.scheduledDate,
|
|
282
|
+
onChange: (e) => w((t) => ({
|
|
283
|
+
...t,
|
|
284
|
+
scheduledDate: e.target.value
|
|
285
|
+
})),
|
|
286
|
+
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"
|
|
287
|
+
})] })
|
|
288
|
+
]
|
|
289
|
+
})
|
|
290
|
+
}),
|
|
291
|
+
/* @__PURE__ */ f(i, {
|
|
292
|
+
toasts: T,
|
|
293
|
+
onDismiss: D
|
|
294
|
+
})
|
|
295
|
+
]
|
|
296
|
+
});
|
|
297
|
+
};
|
|
298
|
+
//#endregion
|
|
299
|
+
export { _ as ComplianceAuditsPage };
|
|
300
|
+
|
|
301
|
+
//# sourceMappingURL=ComplianceAuditsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComplianceAuditsPage.js","names":[],"sources":["../../../../src/healthybowl/pages/compliance/ComplianceAuditsPage.tsx"],"sourcesContent":["import { useState, type FormEvent } from 'react';\nimport { ClipboardCheck, Plus } from 'lucide-react';\nimport { PageLayout, DataTable, StatusBadge, Modal, ToastContainer } from '../../components';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { useToast } from '../../hooks/useToast';\nimport { formatDate } from '../../utils/helpers';\nimport type { Audit } from '../../types';\n\nconst statusVariant = (s: string) => {\n switch (s) {\n case 'completed':\n return 'success' as const;\n case 'scheduled':\n return 'info' as const;\n case 'in_progress':\n return 'warning' as const;\n case 'failed':\n return 'error' as const;\n default:\n return 'default' as const;\n }\n};\n\nconst typeVariant = (t: string) => {\n switch (t) {\n case 'certification':\n return 'default' as const;\n case 'internal':\n return 'info' as const;\n case 'external':\n return 'warning' as const;\n default:\n return 'muted' as const;\n }\n};\n\nconst defaultFormData = {\n title: '',\n type: 'internal' as Audit['type'],\n auditor: '',\n scheduledDate: '',\n};\n\nexport const ComplianceAuditsPage = () => {\n const { audits, createAudit } = useHealthyBowlData();\n\n const [selected, setSelected] = useState<string | null>(null);\n const [showAddModal, setShowAddModal] = useState(false);\n const [formData, setFormData] = useState(defaultFormData);\n const { toasts, toast, dismiss } = useToast();\n const selectedAudit = audits.find((a) => a.id === selected);\n\n const handleSubmit = async (e: FormEvent) => {\n e.preventDefault();\n if (!formData.title || !formData.auditor || !formData.scheduledDate) {\n toast({\n title: 'Missing required fields',\n description: 'Please fill in title, auditor, and date.',\n variant: 'warning',\n });\n return;\n }\n try {\n await createAudit({\n title: formData.title,\n type: formData.type,\n auditor: formData.auditor,\n scheduledDate: formData.scheduledDate,\n });\n setShowAddModal(false);\n setFormData(defaultFormData);\n toast({ title: 'Audit scheduled successfully.', variant: 'success' });\n } catch (err) {\n toast({\n title: 'Failed to schedule audit',\n description: err instanceof Error ? err.message : 'Unknown error',\n variant: 'error',\n });\n }\n };\n\n const columns = [\n {\n key: 'title',\n header: 'Audit',\n render: (a: (typeof audits)[0]) => (\n <div className=\"flex items-center gap-2\">\n <ClipboardCheck className=\"h-4 w-4 text-muted-foreground\" />\n <span className=\"font-medium\">{a.title}</span>\n </div>\n ),\n },\n {\n key: 'type',\n header: 'Type',\n render: (a: (typeof audits)[0]) => <StatusBadge label={a.type} variant={typeVariant(a.type)} />,\n },\n { key: 'auditor', header: 'Auditor' },\n {\n key: 'scheduledDate',\n header: 'Date',\n render: (a: (typeof audits)[0]) => <span>{formatDate(a.scheduledDate)}</span>,\n },\n {\n key: 'status',\n header: 'Status',\n render: (a: (typeof audits)[0]) => (\n <StatusBadge\n label={(a.status ?? 'unknown').replace(/_/g, ' ')}\n variant={statusVariant(a.status ?? 'unknown')}\n />\n ),\n },\n {\n key: 'findings',\n header: 'Findings',\n render: (a: (typeof audits)[0]) => <span>{a.findings}</span>,\n },\n {\n key: 'criticalFindings',\n header: 'Critical',\n render: (a: (typeof audits)[0]) => (\n <span className={a.criticalFindings > 0 ? 'font-medium text-red-600 dark:text-red-400' : 'text-foreground'}>\n {a.criticalFindings}\n </span>\n ),\n },\n {\n key: 'score',\n header: 'Score',\n render: (a: (typeof audits)[0]) =>\n a.score != null ? (\n <span className={a.score >= 90 ? 'font-medium text-emerald-600 dark:text-emerald-400' : 'text-foreground'}>\n {a.score}%\n </span>\n ) : (\n <span className=\"text-muted-foreground\">-</span>\n ),\n },\n ];\n\n return (\n <PageLayout\n title=\"Compliance Audits\"\n description=\"Track audit schedules and results\"\n actions={\n <button\n onClick={() => setShowAddModal(true)}\n className=\"flex items-center gap-1.5 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n <Plus className=\"h-4 w-4\" /> Schedule Audit\n </button>\n }\n >\n <DataTable\n columns={columns}\n data={audits}\n keyField=\"id\"\n onRowClick={(a) => setSelected(selected === a.id ? null : a.id)}\n emptyMessage=\"No audits found\"\n />\n\n {selectedAudit && (\n <div className=\"rounded-lg border border-primary/30 bg-card p-5\">\n <div className=\"flex items-center justify-between mb-3\">\n <h3 className=\"text-sm font-semibold text-foreground\">{selectedAudit.title}</h3>\n <button onClick={() => setSelected(null)} className=\"text-xs text-muted-foreground hover:text-foreground\">\n Close\n </button>\n </div>\n <div className=\"grid grid-cols-2 gap-3 text-sm\">\n <div>\n <span className=\"text-muted-foreground\">Type: </span>\n <span className=\"text-foreground\">{selectedAudit.type}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Auditor: </span>\n <span className=\"text-foreground\">{selectedAudit.auditor}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Date: </span>\n <span className=\"text-foreground\">{formatDate(selectedAudit.scheduledDate)}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Score: </span>\n <span className=\"text-foreground\">{selectedAudit.score != null ? `${selectedAudit.score}%` : 'N/A'}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Findings: </span>\n <span className=\"text-foreground\">{selectedAudit.findings}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Critical: </span>\n <span\n className={\n selectedAudit.criticalFindings > 0 ? 'font-medium text-red-600 dark:text-red-400' : 'text-foreground'\n }\n >\n {selectedAudit.criticalFindings}\n </span>\n </div>\n </div>\n </div>\n )}\n <Modal\n open={showAddModal}\n onClose={() => {\n setShowAddModal(false);\n setFormData(defaultFormData);\n }}\n title=\"Schedule Audit\"\n description=\"Schedule a new compliance audit.\"\n size=\"lg\"\n footer={\n <>\n <button\n onClick={() => {\n setShowAddModal(false);\n setFormData(defaultFormData);\n }}\n className=\"rounded-md border border-border px-4 py-2 text-sm text-muted-foreground hover:text-foreground\"\n >\n Cancel\n </button>\n <button\n onClick={handleSubmit as unknown as () => void}\n className=\"rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90\"\n >\n Schedule Audit\n </button>\n </>\n }\n >\n <form onSubmit={handleSubmit} className=\"grid gap-4 sm:grid-cols-2\">\n <div className=\"sm:col-span-2\">\n <label className=\"text-sm font-medium text-foreground\">Title *</label>\n <input\n type=\"text\"\n value={formData.title}\n onChange={(e) => setFormData((p) => ({ ...p, title: e.target.value }))}\n placeholder=\"e.g., Annual Organic Certification Audit\"\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Type *</label>\n <select\n value={formData.type}\n onChange={(e) => setFormData((p) => ({ ...p, type: e.target.value as Audit['type'] }))}\n className=\"mt-1 w-full rounded-md border border-border bg-background px-3 py-2 text-sm text-foreground\"\n >\n <option value=\"internal\">Internal</option>\n <option value=\"external\">External</option>\n <option value=\"certification\">Certification</option>\n </select>\n </div>\n <div>\n <label className=\"text-sm font-medium text-foreground\">Auditor *</label>\n <input\n type=\"text\"\n value={formData.auditor}\n onChange={(e) => setFormData((p) => ({ ...p, auditor: e.target.value }))}\n placeholder=\"e.g., John Smith\"\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\">Scheduled Date *</label>\n <input\n type=\"date\"\n value={formData.scheduledDate}\n onChange={(e) => setFormData((p) => ({ ...p, scheduledDate: 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 </form>\n </Modal>\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n};\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComplianceDocumentsPage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/compliance/ComplianceDocumentsPage.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,uBAAuB,+CAyDnC,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { formatDate as e } from "../../utils/helpers.js";
|
|
2
|
+
import { PageLayout as t } from "../../components/PageLayout.js";
|
|
3
|
+
import { StatusBadge as n } from "../../components/StatusBadge.js";
|
|
4
|
+
import { FilterBar as r } from "../../components/FilterBar.js";
|
|
5
|
+
import { ToastContainer as i } from "../../components/Toast.js";
|
|
6
|
+
import "../../components/index.js";
|
|
7
|
+
import { useHealthyBowlData as a } from "../../hooks/useHealthyBowlData.js";
|
|
8
|
+
import { useToast as o } from "../../hooks/useToast.js";
|
|
9
|
+
import { useState as s } from "react";
|
|
10
|
+
import { Download as c, FileText as l } from "lucide-react";
|
|
11
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
12
|
+
//#region src/healthybowl/pages/compliance/ComplianceDocumentsPage.tsx
|
|
13
|
+
var f = (e) => {
|
|
14
|
+
switch (e) {
|
|
15
|
+
case "current": return "success";
|
|
16
|
+
case "expired": return "error";
|
|
17
|
+
case "pending": return "warning";
|
|
18
|
+
default: return "muted";
|
|
19
|
+
}
|
|
20
|
+
}, p = () => {
|
|
21
|
+
let { complianceDocuments: p } = a(), [m, h] = s(""), { toasts: g, toast: _, dismiss: v } = o(), y = (e) => {
|
|
22
|
+
_({
|
|
23
|
+
title: "Downloading",
|
|
24
|
+
description: `"${e}" download started.`,
|
|
25
|
+
variant: "success"
|
|
26
|
+
});
|
|
27
|
+
}, b = p.filter((e) => (e.name ?? "").toLowerCase().includes(m.toLowerCase()) || (e.type ?? "").toLowerCase().includes(m.toLowerCase()));
|
|
28
|
+
return /* @__PURE__ */ d(t, {
|
|
29
|
+
title: "Compliance Documents",
|
|
30
|
+
description: "Manage regulatory and compliance documentation",
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ u(r, {
|
|
33
|
+
searchValue: m,
|
|
34
|
+
onSearchChange: h,
|
|
35
|
+
searchPlaceholder: "Search documents..."
|
|
36
|
+
}),
|
|
37
|
+
/* @__PURE__ */ d("div", {
|
|
38
|
+
className: "space-y-2",
|
|
39
|
+
children: [b.map((t) => /* @__PURE__ */ d("div", {
|
|
40
|
+
className: "flex items-center justify-between rounded-lg border border-border bg-card px-4 py-3",
|
|
41
|
+
children: [/* @__PURE__ */ d("div", {
|
|
42
|
+
className: "flex items-center gap-3",
|
|
43
|
+
children: [/* @__PURE__ */ u(l, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("p", {
|
|
44
|
+
className: "text-sm font-medium text-foreground",
|
|
45
|
+
children: t.name
|
|
46
|
+
}), /* @__PURE__ */ d("p", {
|
|
47
|
+
className: "text-xs text-muted-foreground",
|
|
48
|
+
children: [
|
|
49
|
+
t.type,
|
|
50
|
+
" · Uploaded ",
|
|
51
|
+
e(t.uploadedDate)
|
|
52
|
+
]
|
|
53
|
+
})] })]
|
|
54
|
+
}), /* @__PURE__ */ d("div", {
|
|
55
|
+
className: "flex items-center gap-3",
|
|
56
|
+
children: [/* @__PURE__ */ u(n, {
|
|
57
|
+
label: t.status,
|
|
58
|
+
variant: f(t.status ?? "unknown")
|
|
59
|
+
}), /* @__PURE__ */ u("button", {
|
|
60
|
+
onClick: () => y(t.name),
|
|
61
|
+
className: "rounded-md border border-border bg-card p-2 text-muted-foreground hover:bg-muted/50",
|
|
62
|
+
children: /* @__PURE__ */ u(c, { className: "h-4 w-4" })
|
|
63
|
+
})]
|
|
64
|
+
})]
|
|
65
|
+
}, t.id)), b.length === 0 && /* @__PURE__ */ u("div", {
|
|
66
|
+
className: "py-12 text-center text-sm text-muted-foreground",
|
|
67
|
+
children: "No documents found matching your search."
|
|
68
|
+
})]
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ u(i, {
|
|
71
|
+
toasts: g,
|
|
72
|
+
onDismiss: v
|
|
73
|
+
})
|
|
74
|
+
]
|
|
75
|
+
});
|
|
76
|
+
};
|
|
77
|
+
//#endregion
|
|
78
|
+
export { p as ComplianceDocumentsPage };
|
|
79
|
+
|
|
80
|
+
//# sourceMappingURL=ComplianceDocumentsPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComplianceDocumentsPage.js","names":[],"sources":["../../../../src/healthybowl/pages/compliance/ComplianceDocumentsPage.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { FileText, Download } from 'lucide-react';\nimport { PageLayout, StatusBadge, FilterBar } from '../../components';\nimport { ToastContainer } from '../../components/Toast';\nimport { useToast } from '../../hooks/useToast';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { formatDate } from '../../utils/helpers';\n\nconst statusVariant = (s: string) => {\n switch (s) {\n case 'current':\n return 'success' as const;\n case 'expired':\n return 'error' as const;\n case 'pending':\n return 'warning' as const;\n default:\n return 'muted' as const;\n }\n};\n\nexport const ComplianceDocumentsPage = () => {\n const { complianceDocuments } = useHealthyBowlData();\n\n const [search, setSearch] = useState('');\n const { toasts, toast, dismiss } = useToast();\n\n const handleDownload = (docName: string) => {\n toast({ title: 'Downloading', description: `\"${docName}\" download started.`, variant: 'success' });\n };\n\n const filtered = complianceDocuments.filter(\n (doc) =>\n (doc.name ?? '').toLowerCase().includes(search.toLowerCase()) ||\n (doc.type ?? '').toLowerCase().includes(search.toLowerCase())\n );\n\n return (\n <PageLayout title=\"Compliance Documents\" description=\"Manage regulatory and compliance documentation\">\n <FilterBar searchValue={search} onSearchChange={setSearch} searchPlaceholder=\"Search documents...\" />\n\n <div className=\"space-y-2\">\n {filtered.map((doc) => (\n <div\n key={doc.id}\n className=\"flex items-center justify-between rounded-lg border border-border bg-card px-4 py-3\"\n >\n <div className=\"flex items-center gap-3\">\n <FileText className=\"h-5 w-5 text-muted-foreground\" />\n <div>\n <p className=\"text-sm font-medium text-foreground\">{doc.name}</p>\n <p className=\"text-xs text-muted-foreground\">\n {doc.type} · Uploaded {formatDate(doc.uploadedDate)}\n </p>\n </div>\n </div>\n <div className=\"flex items-center gap-3\">\n <StatusBadge label={doc.status} variant={statusVariant(doc.status ?? 'unknown')} />\n <button\n onClick={() => handleDownload(doc.name)}\n className=\"rounded-md border border-border bg-card p-2 text-muted-foreground hover:bg-muted/50\"\n >\n <Download className=\"h-4 w-4\" />\n </button>\n </div>\n </div>\n ))}\n\n {filtered.length === 0 && (\n <div className=\"py-12 text-center text-sm text-muted-foreground\">\n No documents found matching your search.\n </div>\n )}\n </div>\n\n <ToastContainer toasts={toasts} onDismiss={dismiss} />\n </PageLayout>\n );\n};\n"],"mappings":";;;;;;;;;;;;AAQA,IAAM,KAAiB,MAAc;AACnC,SAAQ,GAAR;EACE,KAAK,UACH,QAAO;EACT,KAAK,UACH,QAAO;EACT,KAAK,UACH,QAAO;EACT,QACE,QAAO;;GAIA,UAAgC;CAC3C,IAAM,EAAE,2BAAwB,GAAoB,EAE9C,CAAC,GAAQ,KAAa,EAAS,GAAG,EAClC,EAAE,WAAQ,UAAO,eAAY,GAAU,EAEvC,KAAkB,MAAoB;AAC1C,IAAM;GAAE,OAAO;GAAe,aAAa,IAAI,EAAQ;GAAsB,SAAS;GAAW,CAAC;IAG9F,IAAW,EAAoB,QAClC,OACE,EAAI,QAAQ,IAAI,aAAa,CAAC,SAAS,EAAO,aAAa,CAAC,KAC5D,EAAI,QAAQ,IAAI,aAAa,CAAC,SAAS,EAAO,aAAa,CAAC,CAChE;AAED,QACE,kBAAC,GAAD;EAAY,OAAM;EAAuB,aAAY;YAArD;GACE,kBAAC,GAAD;IAAW,aAAa;IAAQ,gBAAgB;IAAW,mBAAkB;IAAwB,CAAA;GAErG,kBAAC,OAAD;IAAK,WAAU;cAAf,CACG,EAAS,KAAK,MACb,kBAAC,OAAD;KAEE,WAAU;eAFZ,CAIE,kBAAC,OAAD;MAAK,WAAU;gBAAf,CACE,kBAAC,GAAD,EAAU,WAAU,iCAAkC,CAAA,EACtD,kBAAC,OAAD,EAAA,UAAA,CACE,kBAAC,KAAD;OAAG,WAAU;iBAAuC,EAAI;OAAS,CAAA,EACjE,kBAAC,KAAD;OAAG,WAAU;iBAAb;QACG,EAAI;QAAK;QAAoB,EAAW,EAAI,aAAa;QACxD;SACA,EAAA,CAAA,CACF;SACN,kBAAC,OAAD;MAAK,WAAU;gBAAf,CACE,kBAAC,GAAD;OAAa,OAAO,EAAI;OAAQ,SAAS,EAAc,EAAI,UAAU,UAAU;OAAI,CAAA,EACnF,kBAAC,UAAD;OACE,eAAe,EAAe,EAAI,KAAK;OACvC,WAAU;iBAEV,kBAAC,GAAD,EAAU,WAAU,WAAY,CAAA;OACzB,CAAA,CACL;QACF;OArBC,EAAI,GAqBL,CACN,EAED,EAAS,WAAW,KACnB,kBAAC,OAAD;KAAK,WAAU;eAAkD;KAE3D,CAAA,CAEJ;;GAEN,kBAAC,GAAD;IAAwB;IAAQ,WAAW;IAAW,CAAA;GAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganicCertificationPage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/compliance/OrganicCertificationPage.tsx"],"names":[],"mappings":"AAuBA,eAAO,MAAM,wBAAwB,+CAyHpC,CAAC"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { useBasePath as e } from "../../hooks/useBasePath.js";
|
|
2
|
+
import { formatDate as t } from "../../utils/helpers.js";
|
|
3
|
+
import { PageLayout as n } from "../../components/PageLayout.js";
|
|
4
|
+
import { StatusBadge as r } from "../../components/StatusBadge.js";
|
|
5
|
+
import "../../components/index.js";
|
|
6
|
+
import { useHealthyBowlData as i } from "../../hooks/useHealthyBowlData.js";
|
|
7
|
+
import { useState as a } from "react";
|
|
8
|
+
import { ArrowRight as o, Calendar as s, ClipboardCheck as c, FileText as l, ShieldCheck as u } from "lucide-react";
|
|
9
|
+
import { useNavigate as d } from "react-router-dom";
|
|
10
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
11
|
+
//#region src/healthybowl/pages/compliance/OrganicCertificationPage.tsx
|
|
12
|
+
var m = (e) => {
|
|
13
|
+
switch (e) {
|
|
14
|
+
case "active": return "success";
|
|
15
|
+
case "pending_renewal": return "warning";
|
|
16
|
+
case "expired": return "error";
|
|
17
|
+
case "suspended": return "error";
|
|
18
|
+
default: return "default";
|
|
19
|
+
}
|
|
20
|
+
}, h = () => {
|
|
21
|
+
let { certifications: h } = i(), g = d(), { buildPath: _ } = e(), [v, y] = a(null), b = h.find((e) => e.id === v);
|
|
22
|
+
return /* @__PURE__ */ p(n, {
|
|
23
|
+
title: "Organic Certifications",
|
|
24
|
+
description: "Manage your organic and food safety certifications",
|
|
25
|
+
children: [
|
|
26
|
+
/* @__PURE__ */ f("div", {
|
|
27
|
+
className: "flex flex-wrap gap-3",
|
|
28
|
+
children: [{
|
|
29
|
+
label: "Audits",
|
|
30
|
+
icon: c,
|
|
31
|
+
path: _("compliance/audits"),
|
|
32
|
+
desc: "Schedule and track audits"
|
|
33
|
+
}, {
|
|
34
|
+
label: "Documents",
|
|
35
|
+
icon: l,
|
|
36
|
+
path: _("compliance/documents"),
|
|
37
|
+
desc: "Browse compliance docs"
|
|
38
|
+
}].map((e) => /* @__PURE__ */ p("button", {
|
|
39
|
+
onClick: () => g(e.path),
|
|
40
|
+
className: "flex items-center gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left shadow-sm transition-colors hover:border-primary/30 hover:bg-accent",
|
|
41
|
+
children: [
|
|
42
|
+
/* @__PURE__ */ f(e.icon, { className: "h-5 w-5 text-muted-foreground" }),
|
|
43
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
44
|
+
className: "text-sm font-medium text-foreground",
|
|
45
|
+
children: e.label
|
|
46
|
+
}), /* @__PURE__ */ f("p", {
|
|
47
|
+
className: "text-xs text-muted-foreground",
|
|
48
|
+
children: e.desc
|
|
49
|
+
})] }),
|
|
50
|
+
/* @__PURE__ */ f(o, { className: "ml-2 h-4 w-4 text-muted-foreground" })
|
|
51
|
+
]
|
|
52
|
+
}, e.label))
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ f("div", {
|
|
55
|
+
className: "grid gap-4 sm:grid-cols-2",
|
|
56
|
+
children: h.map((e) => /* @__PURE__ */ p("div", {
|
|
57
|
+
onClick: () => y(v === e.id ? null : e.id),
|
|
58
|
+
className: "cursor-pointer rounded-lg border border-border bg-card p-5 transition-colors hover:bg-muted/50",
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ p("div", {
|
|
61
|
+
className: "flex items-start justify-between",
|
|
62
|
+
children: [/* @__PURE__ */ p("div", {
|
|
63
|
+
className: "flex items-center gap-2",
|
|
64
|
+
children: [/* @__PURE__ */ f(u, { className: "h-5 w-5 text-muted-foreground" }), /* @__PURE__ */ f("h3", {
|
|
65
|
+
className: "text-sm font-semibold text-foreground",
|
|
66
|
+
children: e.name
|
|
67
|
+
})]
|
|
68
|
+
}), /* @__PURE__ */ f(r, {
|
|
69
|
+
label: (e.status ?? "unknown").replace(/_/g, " "),
|
|
70
|
+
variant: m(e.status ?? "unknown")
|
|
71
|
+
})]
|
|
72
|
+
}),
|
|
73
|
+
/* @__PURE__ */ p("div", {
|
|
74
|
+
className: "mt-3 space-y-1.5 text-xs text-muted-foreground",
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ p("p", { children: ["Certifying Body: ", /* @__PURE__ */ f("span", {
|
|
77
|
+
className: "text-foreground",
|
|
78
|
+
children: e.body
|
|
79
|
+
})] }),
|
|
80
|
+
/* @__PURE__ */ p("p", { children: ["Standard: ", /* @__PURE__ */ f("span", {
|
|
81
|
+
className: "text-foreground",
|
|
82
|
+
children: e.standard
|
|
83
|
+
})] }),
|
|
84
|
+
/* @__PURE__ */ p("div", {
|
|
85
|
+
className: "flex items-center gap-4",
|
|
86
|
+
children: [/* @__PURE__ */ p("span", {
|
|
87
|
+
className: "flex items-center gap-1",
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ f(s, { className: "h-3 w-3" }),
|
|
90
|
+
" Issued: ",
|
|
91
|
+
t(e.issueDate)
|
|
92
|
+
]
|
|
93
|
+
}), /* @__PURE__ */ p("span", {
|
|
94
|
+
className: "flex items-center gap-1",
|
|
95
|
+
children: [
|
|
96
|
+
/* @__PURE__ */ f(s, { className: "h-3 w-3" }),
|
|
97
|
+
" Expires: ",
|
|
98
|
+
t(e.expiryDate)
|
|
99
|
+
]
|
|
100
|
+
})]
|
|
101
|
+
})
|
|
102
|
+
]
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ f("div", {
|
|
105
|
+
className: "mt-3 flex flex-wrap gap-1.5",
|
|
106
|
+
children: (e.scope ?? []).map((e) => /* @__PURE__ */ f("span", {
|
|
107
|
+
className: "rounded-full bg-muted px-2.5 py-0.5 text-xs text-muted-foreground",
|
|
108
|
+
children: e
|
|
109
|
+
}, e))
|
|
110
|
+
})
|
|
111
|
+
]
|
|
112
|
+
}, e.id))
|
|
113
|
+
}),
|
|
114
|
+
b && /* @__PURE__ */ p("div", {
|
|
115
|
+
className: "rounded-lg border border-primary/30 bg-card p-5",
|
|
116
|
+
children: [
|
|
117
|
+
/* @__PURE__ */ p("div", {
|
|
118
|
+
className: "flex items-center justify-between mb-3",
|
|
119
|
+
children: [/* @__PURE__ */ f("h3", {
|
|
120
|
+
className: "text-sm font-semibold text-foreground",
|
|
121
|
+
children: b.name
|
|
122
|
+
}), /* @__PURE__ */ f("button", {
|
|
123
|
+
onClick: () => y(null),
|
|
124
|
+
className: "text-xs text-muted-foreground hover:text-foreground",
|
|
125
|
+
children: "Close"
|
|
126
|
+
})]
|
|
127
|
+
}),
|
|
128
|
+
/* @__PURE__ */ p("div", {
|
|
129
|
+
className: "grid grid-cols-2 gap-3 text-sm",
|
|
130
|
+
children: [
|
|
131
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
132
|
+
className: "text-muted-foreground",
|
|
133
|
+
children: "Body: "
|
|
134
|
+
}), /* @__PURE__ */ f("span", {
|
|
135
|
+
className: "text-foreground",
|
|
136
|
+
children: b.body
|
|
137
|
+
})] }),
|
|
138
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
139
|
+
className: "text-muted-foreground",
|
|
140
|
+
children: "Standard: "
|
|
141
|
+
}), /* @__PURE__ */ f("span", {
|
|
142
|
+
className: "text-foreground",
|
|
143
|
+
children: b.standard
|
|
144
|
+
})] }),
|
|
145
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
146
|
+
className: "text-muted-foreground",
|
|
147
|
+
children: "Issued: "
|
|
148
|
+
}), /* @__PURE__ */ f("span", {
|
|
149
|
+
className: "text-foreground",
|
|
150
|
+
children: t(b.issueDate)
|
|
151
|
+
})] }),
|
|
152
|
+
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("span", {
|
|
153
|
+
className: "text-muted-foreground",
|
|
154
|
+
children: "Expires: "
|
|
155
|
+
}), /* @__PURE__ */ f("span", {
|
|
156
|
+
className: "text-foreground",
|
|
157
|
+
children: t(b.expiryDate)
|
|
158
|
+
})] })
|
|
159
|
+
]
|
|
160
|
+
}),
|
|
161
|
+
/* @__PURE__ */ p("div", {
|
|
162
|
+
className: "mt-3",
|
|
163
|
+
children: [/* @__PURE__ */ f("span", {
|
|
164
|
+
className: "text-sm text-muted-foreground",
|
|
165
|
+
children: "Scope: "
|
|
166
|
+
}), /* @__PURE__ */ f("span", {
|
|
167
|
+
className: "text-sm text-foreground",
|
|
168
|
+
children: (b.scope ?? []).join(", ")
|
|
169
|
+
})]
|
|
170
|
+
})
|
|
171
|
+
]
|
|
172
|
+
})
|
|
173
|
+
]
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
//#endregion
|
|
177
|
+
export { h as OrganicCertificationPage };
|
|
178
|
+
|
|
179
|
+
//# sourceMappingURL=OrganicCertificationPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrganicCertificationPage.js","names":[],"sources":["../../../../src/healthybowl/pages/compliance/OrganicCertificationPage.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { useNavigate } from 'react-router-dom';\nimport { useBasePath } from '../../hooks/useBasePath';\nimport { ShieldCheck, Calendar, ClipboardCheck, FileText, ArrowRight } from 'lucide-react';\nimport { PageLayout, StatusBadge } from '../../components';\nimport { useHealthyBowlData } from '../../hooks/useHealthyBowlData';\nimport { formatDate } from '../../utils/helpers';\n\nconst statusVariant = (s: string) => {\n switch (s) {\n case 'active':\n return 'success' as const;\n case 'pending_renewal':\n return 'warning' as const;\n case 'expired':\n return 'error' as const;\n case 'suspended':\n return 'error' as const;\n default:\n return 'default' as const;\n }\n};\n\nexport const OrganicCertificationPage = () => {\n const { certifications } = useHealthyBowlData();\n const navigate = useNavigate();\n const { buildPath } = useBasePath();\n\n const [selected, setSelected] = useState<string | null>(null);\n const selectedCert = certifications.find((c) => c.id === selected);\n\n return (\n <PageLayout title=\"Organic Certifications\" description=\"Manage your organic and food safety certifications\">\n {/* Quick Actions */}\n <div className=\"flex flex-wrap gap-3\">\n {[\n {\n label: 'Audits',\n icon: ClipboardCheck,\n path: buildPath('compliance/audits'),\n desc: 'Schedule and track audits',\n },\n {\n label: 'Documents',\n icon: FileText,\n path: buildPath('compliance/documents'),\n desc: 'Browse compliance docs',\n },\n ].map((action) => (\n <button\n key={action.label}\n onClick={() => navigate(action.path)}\n className=\"flex items-center gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left shadow-sm transition-colors hover:border-primary/30 hover:bg-accent\"\n >\n <action.icon className=\"h-5 w-5 text-muted-foreground\" />\n <div>\n <p className=\"text-sm font-medium text-foreground\">{action.label}</p>\n <p className=\"text-xs text-muted-foreground\">{action.desc}</p>\n </div>\n <ArrowRight className=\"ml-2 h-4 w-4 text-muted-foreground\" />\n </button>\n ))}\n </div>\n\n <div className=\"grid gap-4 sm:grid-cols-2\">\n {certifications.map((cert) => (\n <div\n key={cert.id}\n onClick={() => setSelected(selected === cert.id ? null : cert.id)}\n className=\"cursor-pointer rounded-lg border border-border bg-card p-5 transition-colors hover:bg-muted/50\"\n >\n <div className=\"flex items-start justify-between\">\n <div className=\"flex items-center gap-2\">\n <ShieldCheck className=\"h-5 w-5 text-muted-foreground\" />\n <h3 className=\"text-sm font-semibold text-foreground\">{cert.name}</h3>\n </div>\n <StatusBadge\n label={(cert.status ?? 'unknown').replace(/_/g, ' ')}\n variant={statusVariant(cert.status ?? 'unknown')}\n />\n </div>\n\n <div className=\"mt-3 space-y-1.5 text-xs text-muted-foreground\">\n <p>\n Certifying Body: <span className=\"text-foreground\">{cert.body}</span>\n </p>\n <p>\n Standard: <span className=\"text-foreground\">{cert.standard}</span>\n </p>\n <div className=\"flex items-center gap-4\">\n <span className=\"flex items-center gap-1\">\n <Calendar className=\"h-3 w-3\" /> Issued: {formatDate(cert.issueDate)}\n </span>\n <span className=\"flex items-center gap-1\">\n <Calendar className=\"h-3 w-3\" /> Expires: {formatDate(cert.expiryDate)}\n </span>\n </div>\n </div>\n\n <div className=\"mt-3 flex flex-wrap gap-1.5\">\n {(cert.scope ?? []).map((s) => (\n <span key={s} className=\"rounded-full bg-muted px-2.5 py-0.5 text-xs text-muted-foreground\">\n {s}\n </span>\n ))}\n </div>\n </div>\n ))}\n </div>\n\n {selectedCert && (\n <div className=\"rounded-lg border border-primary/30 bg-card p-5\">\n <div className=\"flex items-center justify-between mb-3\">\n <h3 className=\"text-sm font-semibold text-foreground\">{selectedCert.name}</h3>\n <button onClick={() => setSelected(null)} className=\"text-xs text-muted-foreground hover:text-foreground\">\n Close\n </button>\n </div>\n <div className=\"grid grid-cols-2 gap-3 text-sm\">\n <div>\n <span className=\"text-muted-foreground\">Body: </span>\n <span className=\"text-foreground\">{selectedCert.body}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Standard: </span>\n <span className=\"text-foreground\">{selectedCert.standard}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Issued: </span>\n <span className=\"text-foreground\">{formatDate(selectedCert.issueDate)}</span>\n </div>\n <div>\n <span className=\"text-muted-foreground\">Expires: </span>\n <span className=\"text-foreground\">{formatDate(selectedCert.expiryDate)}</span>\n </div>\n </div>\n <div className=\"mt-3\">\n <span className=\"text-sm text-muted-foreground\">Scope: </span>\n <span className=\"text-sm text-foreground\">{(selectedCert.scope ?? []).join(', ')}</span>\n </div>\n </div>\n )}\n </PageLayout>\n );\n};\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CropDetailsPage.d.ts","sourceRoot":"","sources":["../../../../src/healthybowl/pages/crops/CropDetailsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAqDrD,eAAO,MAAM,eAAe,EAAE,EA6e7B,CAAC"}
|