@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,23 @@
|
|
|
1
|
+
import { cn as e } from "../utils/helpers.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/healthybowl/components/PageLayout.tsx
|
|
4
|
+
var r = ({ title: r, description: i, actions: a, children: o, className: s }) => /* @__PURE__ */ n("div", {
|
|
5
|
+
className: e("flex flex-col gap-6 p-6", s),
|
|
6
|
+
children: [/* @__PURE__ */ n("div", {
|
|
7
|
+
className: "flex items-start justify-between gap-4",
|
|
8
|
+
children: [/* @__PURE__ */ n("div", { children: [/* @__PURE__ */ t("h1", {
|
|
9
|
+
className: "text-2xl font-semibold text-foreground",
|
|
10
|
+
children: r
|
|
11
|
+
}), i && /* @__PURE__ */ t("p", {
|
|
12
|
+
className: "mt-1 text-sm text-muted-foreground",
|
|
13
|
+
children: i
|
|
14
|
+
})] }), a && /* @__PURE__ */ t("div", {
|
|
15
|
+
className: "flex items-center gap-2 shrink-0",
|
|
16
|
+
children: a
|
|
17
|
+
})]
|
|
18
|
+
}), o]
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { r as PageLayout };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=PageLayout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageLayout.js","names":[],"sources":["../../../src/healthybowl/components/PageLayout.tsx"],"sourcesContent":["import type { FC, ReactNode } from 'react';\nimport { cn } from '../utils/helpers';\n\ninterface PageLayoutProps {\n title: string;\n description?: string;\n actions?: ReactNode;\n children: ReactNode;\n className?: string;\n}\n\nexport const PageLayout: FC<PageLayoutProps> = ({ title, description, actions, children, className }) => {\n return (\n <div className={cn('flex flex-col gap-6 p-6', className)}>\n <div className=\"flex items-start justify-between gap-4\">\n <div>\n <h1 className=\"text-2xl font-semibold text-foreground\">{title}</h1>\n {description && <p className=\"mt-1 text-sm text-muted-foreground\">{description}</p>}\n </div>\n {actions && <div className=\"flex items-center gap-2 shrink-0\">{actions}</div>}\n </div>\n {children}\n </div>\n );\n};\n"],"mappings":";;;AAWA,IAAa,KAAmC,EAAE,UAAO,gBAAa,YAAS,aAAU,mBAErF,kBAAC,OAAD;CAAK,WAAW,EAAG,2BAA2B,EAAU;WAAxD,CACE,kBAAC,OAAD;EAAK,WAAU;YAAf,CACE,kBAAC,OAAD,EAAA,UAAA,CACE,kBAAC,MAAD;GAAI,WAAU;aAA0C;GAAW,CAAA,EAClE,KAAe,kBAAC,KAAD;GAAG,WAAU;aAAsC;GAAgB,CAAA,CAC/E,EAAA,CAAA,EACL,KAAW,kBAAC,OAAD;GAAK,WAAU;aAAoC;GAAc,CAAA,CACzE;KACL,EACG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface StatCardProps {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number | string;
|
|
6
|
+
previousValue?: number;
|
|
7
|
+
unit?: string;
|
|
8
|
+
prefix?: string;
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
trend?: 'up' | 'down' | 'stable';
|
|
11
|
+
change?: number;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const StatCard: FC<StatCardProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=StatCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/components/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,QAAQ,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAqDtC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { cn as e, formatCurrency as t, formatNumber as n } from "../utils/helpers.js";
|
|
2
|
+
import { Minus as r, TrendingDown as i, TrendingUp as a } from "lucide-react";
|
|
3
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
4
|
+
//#region src/healthybowl/components/StatCard.tsx
|
|
5
|
+
var c = ({ label: c, value: l, previousValue: u, unit: d, prefix: f, icon: p, trend: m, change: h, className: g }) => {
|
|
6
|
+
let _ = h ?? (u ? Math.round(((typeof l == "number" ? l : 0) - u) / u * 100) : 0), v = m ?? (_ > 0 ? "up" : _ < 0 ? "down" : "stable"), y = typeof l == "string" ? l : f === "$" ? t(l) : `${n(l)}${d ? ` ${d}` : ""}`;
|
|
7
|
+
return /* @__PURE__ */ s("div", {
|
|
8
|
+
className: e("rounded-lg border border-border bg-card p-4 shadow-sm", g),
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ s("div", {
|
|
11
|
+
className: "flex items-center justify-between",
|
|
12
|
+
children: [/* @__PURE__ */ o("span", {
|
|
13
|
+
className: "text-sm font-medium text-muted-foreground",
|
|
14
|
+
children: c
|
|
15
|
+
}), p && /* @__PURE__ */ o("span", {
|
|
16
|
+
className: "text-muted-foreground",
|
|
17
|
+
children: p
|
|
18
|
+
})]
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ o("div", {
|
|
21
|
+
className: "mt-2 flex items-baseline gap-2",
|
|
22
|
+
children: /* @__PURE__ */ o("span", {
|
|
23
|
+
className: "text-2xl font-bold text-foreground",
|
|
24
|
+
children: y
|
|
25
|
+
})
|
|
26
|
+
}),
|
|
27
|
+
_ !== 0 && /* @__PURE__ */ s("div", {
|
|
28
|
+
className: "mt-2 flex items-center gap-1 text-xs",
|
|
29
|
+
children: [
|
|
30
|
+
v === "up" && /* @__PURE__ */ o(a, { className: "h-3 w-3 text-emerald-600 dark:text-emerald-400" }),
|
|
31
|
+
v === "down" && /* @__PURE__ */ o(i, { className: "h-3 w-3 text-red-600 dark:text-red-400" }),
|
|
32
|
+
v === "stable" && /* @__PURE__ */ o(r, { className: "h-3 w-3 text-muted-foreground" }),
|
|
33
|
+
/* @__PURE__ */ s("span", {
|
|
34
|
+
className: e("font-medium", v === "up" && "text-emerald-600 dark:text-emerald-400", v === "down" && "text-red-600 dark:text-red-400", v === "stable" && "text-muted-foreground"),
|
|
35
|
+
children: [
|
|
36
|
+
_ > 0 ? "+" : "",
|
|
37
|
+
_,
|
|
38
|
+
"%"
|
|
39
|
+
]
|
|
40
|
+
}),
|
|
41
|
+
/* @__PURE__ */ o("span", {
|
|
42
|
+
className: "text-muted-foreground",
|
|
43
|
+
children: "vs last period"
|
|
44
|
+
})
|
|
45
|
+
]
|
|
46
|
+
})
|
|
47
|
+
]
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { c as StatCard };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=StatCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatCard.js","names":[],"sources":["../../../src/healthybowl/components/StatCard.tsx"],"sourcesContent":["import type { FC, ReactNode } from 'react';\nimport { TrendingUp, TrendingDown, Minus } from 'lucide-react';\nimport { cn } from '../utils/helpers';\nimport { formatNumber, formatCurrency } from '../utils/helpers';\n\ninterface StatCardProps {\n label: string;\n value: number | string;\n previousValue?: number;\n unit?: string;\n prefix?: string;\n icon?: ReactNode;\n trend?: 'up' | 'down' | 'stable';\n change?: number;\n className?: string;\n}\n\nexport const StatCard: FC<StatCardProps> = ({\n label,\n value,\n previousValue,\n unit,\n prefix,\n icon,\n trend,\n change,\n className,\n}) => {\n const numericValue = typeof value === 'number' ? value : 0;\n const computedChange =\n change ?? (previousValue ? Math.round(((numericValue - previousValue) / previousValue) * 100) : 0);\n const computedTrend = trend ?? (computedChange > 0 ? 'up' : computedChange < 0 ? 'down' : 'stable');\n\n const displayValue =\n typeof value === 'string'\n ? value\n : prefix === '$'\n ? formatCurrency(value)\n : `${formatNumber(value)}${unit ? ` ${unit}` : ''}`;\n\n return (\n <div className={cn('rounded-lg border border-border bg-card p-4 shadow-sm', className)}>\n <div className=\"flex items-center justify-between\">\n <span className=\"text-sm font-medium text-muted-foreground\">{label}</span>\n {icon && <span className=\"text-muted-foreground\">{icon}</span>}\n </div>\n <div className=\"mt-2 flex items-baseline gap-2\">\n <span className=\"text-2xl font-bold text-foreground\">{displayValue}</span>\n </div>\n {computedChange !== 0 && (\n <div className=\"mt-2 flex items-center gap-1 text-xs\">\n {computedTrend === 'up' && <TrendingUp className=\"h-3 w-3 text-emerald-600 dark:text-emerald-400\" />}\n {computedTrend === 'down' && <TrendingDown className=\"h-3 w-3 text-red-600 dark:text-red-400\" />}\n {computedTrend === 'stable' && <Minus className=\"h-3 w-3 text-muted-foreground\" />}\n <span\n className={cn(\n 'font-medium',\n computedTrend === 'up' && 'text-emerald-600 dark:text-emerald-400',\n computedTrend === 'down' && 'text-red-600 dark:text-red-400',\n computedTrend === 'stable' && 'text-muted-foreground'\n )}\n >\n {computedChange > 0 ? '+' : ''}\n {computedChange}%\n </span>\n <span className=\"text-muted-foreground\">vs last period</span>\n </div>\n )}\n </div>\n );\n};\n"],"mappings":";;;;AAiBA,IAAa,KAA+B,EAC1C,UACA,UACA,kBACA,SACA,WACA,SACA,UACA,WACA,mBACI;CAEJ,IAAM,IACJ,MAAW,IAAgB,KAAK,QAFb,OAAO,KAAU,WAAW,IAAQ,KAEA,KAAiB,IAAiB,IAAI,GAAG,IAC5F,IAAgB,MAAU,IAAiB,IAAI,OAAO,IAAiB,IAAI,SAAS,WAEpF,IACJ,OAAO,KAAU,WACb,IACA,MAAW,MACT,EAAe,EAAM,GACrB,GAAG,EAAa,EAAM,GAAG,IAAO,IAAI,MAAS;AAErD,QACE,kBAAC,OAAD;EAAK,WAAW,EAAG,yDAAyD,EAAU;YAAtF;GACE,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,QAAD;KAAM,WAAU;eAA6C;KAAa,CAAA,EACzE,KAAQ,kBAAC,QAAD;KAAM,WAAU;eAAyB;KAAY,CAAA,CAC1D;;GACN,kBAAC,OAAD;IAAK,WAAU;cACb,kBAAC,QAAD;KAAM,WAAU;eAAsC;KAAoB,CAAA;IACtE,CAAA;GACL,MAAmB,KAClB,kBAAC,OAAD;IAAK,WAAU;cAAf;KACG,MAAkB,QAAQ,kBAAC,GAAD,EAAY,WAAU,kDAAmD,CAAA;KACnG,MAAkB,UAAU,kBAAC,GAAD,EAAc,WAAU,0CAA2C,CAAA;KAC/F,MAAkB,YAAY,kBAAC,GAAD,EAAO,WAAU,iCAAkC,CAAA;KAClF,kBAAC,QAAD;MACE,WAAW,EACT,eACA,MAAkB,QAAQ,0CAC1B,MAAkB,UAAU,kCAC5B,MAAkB,YAAY,wBAC/B;gBANH;OAQG,IAAiB,IAAI,MAAM;OAC3B;OAAe;OACX;;KACP,kBAAC,QAAD;MAAM,WAAU;gBAAwB;MAAqB,CAAA;KACzD;;GAEJ"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
type BadgeVariant = 'success' | 'warning' | 'error' | 'info' | 'default' | 'muted';
|
|
4
|
+
interface StatusBadgeProps {
|
|
5
|
+
label: string;
|
|
6
|
+
variant?: BadgeVariant;
|
|
7
|
+
dot?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const StatusBadge: FC<StatusBadgeProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=StatusBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/components/StatusBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,KAAK,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAEnF,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAoBD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAa5C,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { cn as e } from "../utils/helpers.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
//#region src/healthybowl/components/StatusBadge.tsx
|
|
4
|
+
var r = {
|
|
5
|
+
success: "bg-emerald-100 text-emerald-800 dark:bg-emerald-900/30 dark:text-emerald-400",
|
|
6
|
+
warning: "bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-400",
|
|
7
|
+
error: "bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400",
|
|
8
|
+
info: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400",
|
|
9
|
+
default: "bg-primary/10 text-primary",
|
|
10
|
+
muted: "bg-muted text-muted-foreground"
|
|
11
|
+
}, i = {
|
|
12
|
+
success: "bg-emerald-500",
|
|
13
|
+
warning: "bg-amber-500",
|
|
14
|
+
error: "bg-red-500",
|
|
15
|
+
info: "bg-blue-500",
|
|
16
|
+
default: "bg-primary",
|
|
17
|
+
muted: "bg-muted-foreground"
|
|
18
|
+
}, a = ({ label: a, variant: o = "default", dot: s = !1, className: c }) => /* @__PURE__ */ n("span", {
|
|
19
|
+
className: e("inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-xs font-medium", r[o], c),
|
|
20
|
+
children: [s && /* @__PURE__ */ t("span", { className: e("h-1.5 w-1.5 rounded-full", i[o]) }), a]
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { a as StatusBadge };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=StatusBadge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.js","names":[],"sources":["../../../src/healthybowl/components/StatusBadge.tsx"],"sourcesContent":["import type { FC } from 'react';\nimport { cn } from '../utils/helpers';\n\ntype BadgeVariant = 'success' | 'warning' | 'error' | 'info' | 'default' | 'muted';\n\ninterface StatusBadgeProps {\n label: string;\n variant?: BadgeVariant;\n dot?: boolean;\n className?: string;\n}\n\nconst variantStyles: Record<BadgeVariant, string> = {\n success: 'bg-emerald-100 text-emerald-800 dark:bg-emerald-900/30 dark:text-emerald-400',\n warning: 'bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-400',\n error: 'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-400',\n info: 'bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-400',\n default: 'bg-primary/10 text-primary',\n muted: 'bg-muted text-muted-foreground',\n};\n\nconst dotStyles: Record<BadgeVariant, string> = {\n success: 'bg-emerald-500',\n warning: 'bg-amber-500',\n error: 'bg-red-500',\n info: 'bg-blue-500',\n default: 'bg-primary',\n muted: 'bg-muted-foreground',\n};\n\nexport const StatusBadge: FC<StatusBadgeProps> = ({ label, variant = 'default', dot = false, className }) => {\n return (\n <span\n className={cn(\n 'inline-flex items-center gap-1.5 rounded-full px-2.5 py-0.5 text-xs font-medium',\n variantStyles[variant],\n className\n )}\n >\n {dot && <span className={cn('h-1.5 w-1.5 rounded-full', dotStyles[variant])} />}\n {label}\n </span>\n );\n};\n"],"mappings":";;;AAYA,IAAM,IAA8C;CAClD,SAAS;CACT,SAAS;CACT,OAAO;CACP,MAAM;CACN,SAAS;CACT,OAAO;CACR,EAEK,IAA0C;CAC9C,SAAS;CACT,SAAS;CACT,OAAO;CACP,MAAM;CACN,SAAS;CACT,OAAO;CACR,EAEY,KAAqC,EAAE,UAAO,aAAU,WAAW,SAAM,IAAO,mBAEzF,kBAAC,QAAD;CACE,WAAW,EACT,mFACA,EAAc,IACd,EACD;WALH,CAOG,KAAO,kBAAC,QAAD,EAAM,WAAW,EAAG,4BAA4B,EAAU,GAAS,EAAI,CAAA,EAC9E,EACI"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export type ToastVariant = 'success' | 'error' | 'warning' | 'info';
|
|
4
|
+
export interface ToastData {
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
variant: ToastVariant;
|
|
9
|
+
duration?: number;
|
|
10
|
+
}
|
|
11
|
+
interface ToastProps extends ToastData {
|
|
12
|
+
onDismiss: (id: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const Toast: FC<ToastProps>;
|
|
15
|
+
interface ToastContainerProps {
|
|
16
|
+
toasts: ToastData[];
|
|
17
|
+
onDismiss: (id: string) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const ToastContainer: FC<ToastContainerProps>;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/components/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3C,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEpE,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,UAAW,SAAQ,SAAS;IACpC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAeD,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CA2BhC,CAAC;AAEF,UAAU,mBAAmB;IAC3B,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CASlD,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { cn as e } from "../utils/helpers.js";
|
|
2
|
+
import { useEffect as t } from "react";
|
|
3
|
+
import { AlertTriangle as n, CheckCircle as r, Info as i, X as a, XCircle as o } from "lucide-react";
|
|
4
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
|
+
//#region src/healthybowl/components/Toast.tsx
|
|
6
|
+
var l = {
|
|
7
|
+
success: {
|
|
8
|
+
icon: r,
|
|
9
|
+
className: "border-emerald-500/30 bg-emerald-50 text-emerald-800 dark:bg-emerald-900/20 dark:text-emerald-400"
|
|
10
|
+
},
|
|
11
|
+
error: {
|
|
12
|
+
icon: o,
|
|
13
|
+
className: "border-red-500/30 bg-red-50 text-red-800 dark:bg-red-900/20 dark:text-red-400"
|
|
14
|
+
},
|
|
15
|
+
warning: {
|
|
16
|
+
icon: n,
|
|
17
|
+
className: "border-amber-500/30 bg-amber-50 text-amber-800 dark:bg-amber-900/20 dark:text-amber-400"
|
|
18
|
+
},
|
|
19
|
+
info: {
|
|
20
|
+
icon: i,
|
|
21
|
+
className: "border-blue-500/30 bg-blue-50 text-blue-800 dark:bg-blue-900/20 dark:text-blue-400"
|
|
22
|
+
}
|
|
23
|
+
}, u = ({ id: n, title: r, description: i, variant: o, duration: u = 4e3, onDismiss: d }) => {
|
|
24
|
+
let { icon: f, className: p } = l[o];
|
|
25
|
+
return t(() => {
|
|
26
|
+
if (u > 0) {
|
|
27
|
+
let e = setTimeout(() => d(n), u);
|
|
28
|
+
return () => clearTimeout(e);
|
|
29
|
+
}
|
|
30
|
+
}, [
|
|
31
|
+
n,
|
|
32
|
+
u,
|
|
33
|
+
d
|
|
34
|
+
]), /* @__PURE__ */ c("div", {
|
|
35
|
+
className: e("flex items-start gap-3 rounded-lg border p-4 shadow-lg animate-in slide-in-from-right-full", p),
|
|
36
|
+
children: [
|
|
37
|
+
/* @__PURE__ */ s(f, { className: "mt-0.5 h-5 w-5 shrink-0" }),
|
|
38
|
+
/* @__PURE__ */ c("div", {
|
|
39
|
+
className: "flex-1 min-w-0",
|
|
40
|
+
children: [/* @__PURE__ */ s("p", {
|
|
41
|
+
className: "text-sm font-medium",
|
|
42
|
+
children: r
|
|
43
|
+
}), i && /* @__PURE__ */ s("p", {
|
|
44
|
+
className: "mt-0.5 text-xs opacity-80",
|
|
45
|
+
children: i
|
|
46
|
+
})]
|
|
47
|
+
}),
|
|
48
|
+
/* @__PURE__ */ s("button", {
|
|
49
|
+
onClick: () => d(n),
|
|
50
|
+
className: "shrink-0 opacity-60 hover:opacity-100",
|
|
51
|
+
children: /* @__PURE__ */ s(a, { className: "h-4 w-4" })
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
}, d = ({ toasts: e, onDismiss: t }) => e.length === 0 ? null : /* @__PURE__ */ s("div", {
|
|
56
|
+
className: "fixed bottom-4 right-4 z-50 flex w-80 flex-col gap-2",
|
|
57
|
+
children: e.map((e) => /* @__PURE__ */ s(u, {
|
|
58
|
+
...e,
|
|
59
|
+
onDismiss: t
|
|
60
|
+
}, e.id))
|
|
61
|
+
});
|
|
62
|
+
//#endregion
|
|
63
|
+
export { u as Toast, d as ToastContainer };
|
|
64
|
+
|
|
65
|
+
//# sourceMappingURL=Toast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.js","names":[],"sources":["../../../src/healthybowl/components/Toast.tsx"],"sourcesContent":["import { useEffect, type FC } from 'react';\nimport { X, CheckCircle, AlertTriangle, Info, XCircle } from 'lucide-react';\nimport { cn } from '../utils/helpers';\n\nexport type ToastVariant = 'success' | 'error' | 'warning' | 'info';\n\nexport interface ToastData {\n id: string;\n title: string;\n description?: string;\n variant: ToastVariant;\n duration?: number;\n}\n\ninterface ToastProps extends ToastData {\n onDismiss: (id: string) => void;\n}\n\nconst variantConfig: Record<ToastVariant, { icon: typeof CheckCircle; className: string }> = {\n success: {\n icon: CheckCircle,\n className: 'border-emerald-500/30 bg-emerald-50 text-emerald-800 dark:bg-emerald-900/20 dark:text-emerald-400',\n },\n error: { icon: XCircle, className: 'border-red-500/30 bg-red-50 text-red-800 dark:bg-red-900/20 dark:text-red-400' },\n warning: {\n icon: AlertTriangle,\n className: 'border-amber-500/30 bg-amber-50 text-amber-800 dark:bg-amber-900/20 dark:text-amber-400',\n },\n info: { icon: Info, className: 'border-blue-500/30 bg-blue-50 text-blue-800 dark:bg-blue-900/20 dark:text-blue-400' },\n};\n\nexport const Toast: FC<ToastProps> = ({ id, title, description, variant, duration = 4000, onDismiss }) => {\n const { icon: Icon, className } = variantConfig[variant];\n\n useEffect(() => {\n if (duration > 0) {\n const timer = setTimeout(() => onDismiss(id), duration);\n return () => clearTimeout(timer);\n }\n }, [id, duration, onDismiss]);\n\n return (\n <div\n className={cn(\n 'flex items-start gap-3 rounded-lg border p-4 shadow-lg animate-in slide-in-from-right-full',\n className\n )}\n >\n <Icon className=\"mt-0.5 h-5 w-5 shrink-0\" />\n <div className=\"flex-1 min-w-0\">\n <p className=\"text-sm font-medium\">{title}</p>\n {description && <p className=\"mt-0.5 text-xs opacity-80\">{description}</p>}\n </div>\n <button onClick={() => onDismiss(id)} className=\"shrink-0 opacity-60 hover:opacity-100\">\n <X className=\"h-4 w-4\" />\n </button>\n </div>\n );\n};\n\ninterface ToastContainerProps {\n toasts: ToastData[];\n onDismiss: (id: string) => void;\n}\n\nexport const ToastContainer: FC<ToastContainerProps> = ({ toasts, onDismiss }) => {\n if (toasts.length === 0) return null;\n return (\n <div className=\"fixed bottom-4 right-4 z-50 flex w-80 flex-col gap-2\">\n {toasts.map((t) => (\n <Toast key={t.id} {...t} onDismiss={onDismiss} />\n ))}\n </div>\n );\n};\n"],"mappings":";;;;;AAkBA,IAAM,IAAuF;CAC3F,SAAS;EACP,MAAM;EACN,WAAW;EACZ;CACD,OAAO;EAAE,MAAM;EAAS,WAAW;EAAiF;CACpH,SAAS;EACP,MAAM;EACN,WAAW;EACZ;CACD,MAAM;EAAE,MAAM;EAAM,WAAW;EAAsF;CACtH,EAEY,KAAyB,EAAE,OAAI,UAAO,gBAAa,YAAS,cAAW,KAAM,mBAAgB;CACxG,IAAM,EAAE,MAAM,GAAM,iBAAc,EAAc;AAShD,QAPA,QAAgB;AACd,MAAI,IAAW,GAAG;GAChB,IAAM,IAAQ,iBAAiB,EAAU,EAAG,EAAE,EAAS;AACvD,gBAAa,aAAa,EAAM;;IAEjC;EAAC;EAAI;EAAU;EAAU,CAAC,EAG3B,kBAAC,OAAD;EACE,WAAW,EACT,8FACA,EACD;YAJH;GAME,kBAAC,GAAD,EAAM,WAAU,2BAA4B,CAAA;GAC5C,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,KAAD;KAAG,WAAU;eAAuB;KAAU,CAAA,EAC7C,KAAe,kBAAC,KAAD;KAAG,WAAU;eAA6B;KAAgB,CAAA,CACtE;;GACN,kBAAC,UAAD;IAAQ,eAAe,EAAU,EAAG;IAAE,WAAU;cAC9C,kBAAC,GAAD,EAAG,WAAU,WAAY,CAAA;IAClB,CAAA;GACL;;GASG,KAA2C,EAAE,WAAQ,mBAC5D,EAAO,WAAW,IAAU,OAE9B,kBAAC,OAAD;CAAK,WAAU;WACZ,EAAO,KAAK,MACX,kBAAC,GAAD;EAAkB,GAAI;EAAc;EAAa,EAArC,EAAE,GAAmC,CACjD;CACE,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export { PageLayout } from './PageLayout';
|
|
2
|
+
export { StatCard } from './StatCard';
|
|
3
|
+
export { DataTable } from './DataTable';
|
|
4
|
+
export type { Column } from './DataTable';
|
|
5
|
+
export { StatusBadge } from './StatusBadge';
|
|
6
|
+
export { EmptyState } from './EmptyState';
|
|
7
|
+
export { ChartCard } from './ChartCard';
|
|
8
|
+
export { FilterBar } from './FilterBar';
|
|
9
|
+
export { Toast, ToastContainer } from './Toast';
|
|
10
|
+
export type { ToastData, ToastVariant } from './Toast';
|
|
11
|
+
export { ErrorBoundary } from './ErrorBoundary';
|
|
12
|
+
export { Breadcrumbs } from './Breadcrumbs';
|
|
13
|
+
export type { BreadcrumbItem } from './Breadcrumbs';
|
|
14
|
+
export { LoadingSkeleton } from './LoadingSkeleton';
|
|
15
|
+
export { Modal } from './Modal';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAChD,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./PageLayout.js";
|
|
2
|
+
import "./StatCard.js";
|
|
3
|
+
import "./DataTable.js";
|
|
4
|
+
import "./StatusBadge.js";
|
|
5
|
+
import "./EmptyState.js";
|
|
6
|
+
import "./ChartCard.js";
|
|
7
|
+
import "./FilterBar.js";
|
|
8
|
+
import "./Toast.js";
|
|
9
|
+
import "./ErrorBoundary.js";
|
|
10
|
+
import "./Breadcrumbs.js";
|
|
11
|
+
import "./LoadingSkeleton.js";
|
|
12
|
+
import "./Modal.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { HealthyBowlRootProps } from '../types';
|
|
3
|
+
|
|
4
|
+
interface HealthyBowlContextValue {
|
|
5
|
+
basePath: string;
|
|
6
|
+
navigate: (path: string) => void;
|
|
7
|
+
currentUser: HealthyBowlRootProps['currentUser'];
|
|
8
|
+
workspaceId: string;
|
|
9
|
+
apiGatewayUrl: string;
|
|
10
|
+
authToken: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function useHealthyBowl(): HealthyBowlContextValue;
|
|
13
|
+
export declare const HealthyBowlProvider: FC<PropsWithChildren<HealthyBowlRootProps>>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=HealthyBowlContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthyBowlContext.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/context/HealthyBowlContext.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA6B,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,oBAAoB,CAAC,aAAa,CAAC,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB;AAID,wBAAgB,cAAc,IAAI,uBAAuB,CAMxD;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAyB3E,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createContext as e, useContext as t } from "react";
|
|
2
|
+
import { MemoryRouter as n } from "react-router-dom";
|
|
3
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
4
|
+
//#region src/healthybowl/context/HealthyBowlContext.tsx
|
|
5
|
+
var i = e(null);
|
|
6
|
+
function a() {
|
|
7
|
+
let e = t(i);
|
|
8
|
+
if (!e) throw Error("useHealthyBowl must be used within a HealthyBowlProvider");
|
|
9
|
+
return e;
|
|
10
|
+
}
|
|
11
|
+
var o = ({ children: e, basePath: t = "/", navigate: a = () => {}, currentUser: o, workspaceId: s = "", apiGatewayUrl: c = "", authToken: l = "" }) => {
|
|
12
|
+
let u = {
|
|
13
|
+
basePath: t,
|
|
14
|
+
navigate: a,
|
|
15
|
+
currentUser: o,
|
|
16
|
+
workspaceId: s,
|
|
17
|
+
apiGatewayUrl: c,
|
|
18
|
+
authToken: l
|
|
19
|
+
}, d = /* @__PURE__ */ r(i.Provider, {
|
|
20
|
+
value: u,
|
|
21
|
+
children: e
|
|
22
|
+
});
|
|
23
|
+
return t && t !== "/" ? d : /* @__PURE__ */ r(n, { children: d });
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
26
|
+
export { o as HealthyBowlProvider, a as useHealthyBowl };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=HealthyBowlContext.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HealthyBowlContext.js","names":[],"sources":["../../../src/healthybowl/context/HealthyBowlContext.tsx"],"sourcesContent":["/**\n * HealthyBowl Context Provider\n * @module healthybowl\n */\n\nimport { createContext, useContext, type FC, type PropsWithChildren } from 'react';\nimport { MemoryRouter } from 'react-router-dom';\nimport type { HealthyBowlRootProps } from '../types';\n\ninterface HealthyBowlContextValue {\n basePath: string;\n navigate: (path: string) => void;\n currentUser: HealthyBowlRootProps['currentUser'];\n workspaceId: string;\n apiGatewayUrl: string;\n authToken: string;\n}\n\nconst HealthyBowlContext = createContext<HealthyBowlContextValue | null>(null);\n\nexport function useHealthyBowl(): HealthyBowlContextValue {\n const context = useContext(HealthyBowlContext);\n if (!context) {\n throw new Error('useHealthyBowl must be used within a HealthyBowlProvider');\n }\n return context;\n}\n\nexport const HealthyBowlProvider: FC<PropsWithChildren<HealthyBowlRootProps>> = ({\n children,\n basePath = '/',\n navigate = () => {},\n currentUser,\n workspaceId = '',\n apiGatewayUrl = '',\n authToken = '',\n}) => {\n const contextValue: HealthyBowlContextValue = {\n basePath,\n navigate,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n authToken,\n };\n\n const content = <HealthyBowlContext.Provider value={contextValue}>{children}</HealthyBowlContext.Provider>;\n\n // If basePath is provided, we're running inside the host shell (which has BrowserRouter)\n if (basePath && basePath !== '/') return content;\n\n // Standalone mode: wrap in MemoryRouter\n return <MemoryRouter>{content}</MemoryRouter>;\n};\n"],"mappings":";;;;AAkBA,IAAM,IAAqB,EAA8C,KAAK;AAE9E,SAAgB,IAA0C;CACxD,IAAM,IAAU,EAAW,EAAmB;AAC9C,KAAI,CAAC,EACH,OAAU,MAAM,2DAA2D;AAE7E,QAAO;;AAGT,IAAa,KAAoE,EAC/E,aACA,cAAW,KACX,oBAAiB,IACjB,gBACA,iBAAc,IACd,mBAAgB,IAChB,eAAY,SACR;CACJ,IAAM,IAAwC;EAC5C;EACA;EACA;EACA;EACA;EACA;EACD,EAEK,IAAU,kBAAC,EAAmB,UAApB;EAA6B,OAAO;EAAe;EAAuC,CAAA;AAM1G,QAHI,KAAY,MAAa,MAAY,IAGlC,kBAAC,GAAD,EAAA,UAAe,GAAuB,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HealthyBowl data hooks backed by GraphQL domain queries.
|
|
3
|
+
*/
|
|
4
|
+
interface QueryResult<T> {
|
|
5
|
+
data: T;
|
|
6
|
+
loading: boolean;
|
|
7
|
+
error: Error | null;
|
|
8
|
+
}
|
|
9
|
+
export declare const useDashboardStats: () => QueryResult<import('../types').DashboardStats>;
|
|
10
|
+
export declare const useAlerts: () => QueryResult<import('../types').Alert[]>;
|
|
11
|
+
export declare const useCrops: () => QueryResult<import('../types').Crop[]>;
|
|
12
|
+
export declare const useFields: () => QueryResult<import('../types').Field[]>;
|
|
13
|
+
export declare const usePlantingPlans: () => QueryResult<import('../types').PlantingPlan[]>;
|
|
14
|
+
export declare const useHarvests: () => QueryResult<import('../types').HarvestRecord[]>;
|
|
15
|
+
export declare const useAnimals: () => QueryResult<import('../types').Animal[]>;
|
|
16
|
+
export declare const useHealthRecords: () => QueryResult<import('../types').HealthRecord[]>;
|
|
17
|
+
export declare const useVaccinations: () => QueryResult<import('../types').Vaccination[]>;
|
|
18
|
+
export declare const useBreedingRecords: () => QueryResult<import('../types').BreedingRecord[]>;
|
|
19
|
+
export declare const useFeedRecords: () => QueryResult<import('../types').FeedRecord[]>;
|
|
20
|
+
export declare const useProductionRecords: () => QueryResult<import('../types').ProductionRecord[]>;
|
|
21
|
+
export declare const useWeather: () => QueryResult<import('../types').WeatherData>;
|
|
22
|
+
export declare const useMarketplaceProducts: () => QueryResult<import('../types').MarketplaceProduct[]>;
|
|
23
|
+
export declare const useOrders: () => QueryResult<import('../types').Order[]>;
|
|
24
|
+
export declare const useTransactions: () => QueryResult<import('../types').Transaction[]>;
|
|
25
|
+
export declare const useBudgets: () => QueryResult<import('../types').Budget[]>;
|
|
26
|
+
export declare const useInvoices: () => QueryResult<import('../types').Invoice[]>;
|
|
27
|
+
export declare const useAnalyticsKPIs: () => QueryResult<import('../types').AnalyticsKPI[]>;
|
|
28
|
+
export declare const useAnalyticsReports: () => QueryResult<import('../types').AnalyticsReport[]>;
|
|
29
|
+
export declare const useSoilTests: () => QueryResult<import('../types').SoilTest[]>;
|
|
30
|
+
export declare const usePestIssues: () => QueryResult<import('../types').PestIssue[]>;
|
|
31
|
+
export declare const useTreatments: () => QueryResult<import('../types').Treatment[]>;
|
|
32
|
+
export declare const useProductionBatches: () => QueryResult<import('../types').ProductionBatch[]>;
|
|
33
|
+
export declare const useRecipes: () => QueryResult<import('../types').Recipe[]>;
|
|
34
|
+
export declare const useProducts: () => QueryResult<import('../types').Product[]>;
|
|
35
|
+
export declare const useTraceBatches: () => QueryResult<import('../types').TraceBatch[]>;
|
|
36
|
+
export declare const useCertifications: () => QueryResult<import('../types').Certification[]>;
|
|
37
|
+
export declare const useComplianceDocuments: () => QueryResult<import('../types').ComplianceDocument[]>;
|
|
38
|
+
export declare const useAudits: () => QueryResult<import('../types').Audit[]>;
|
|
39
|
+
export declare const useGovernmentSchemes: () => QueryResult<import('../types').GovernmentScheme[]>;
|
|
40
|
+
export declare const useSchemeApplications: () => QueryResult<import('../types').SchemeApplication[]>;
|
|
41
|
+
export declare const useTrainingPrograms: () => QueryResult<import('../types').TrainingProgram[]>;
|
|
42
|
+
export declare const useCommunityPosts: () => QueryResult<import('../types').CommunityPost[]>;
|
|
43
|
+
export declare const useExperts: () => QueryResult<import('../types').Expert[]>;
|
|
44
|
+
export declare const useMentors: () => QueryResult<import('../types').Mentor[]>;
|
|
45
|
+
export declare const useFarmEvents: () => QueryResult<import('../types').FarmEvent[]>;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,UAAU,WAAW,CAAC,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACrB;AAOD,eAAO,MAAM,iBAAiB,sDAG7B,CAAC;AACF,eAAO,MAAM,SAAS,+CAGrB,CAAC;AAGF,eAAO,MAAM,QAAQ,8CAGpB,CAAC;AACF,eAAO,MAAM,SAAS,+CAGrB,CAAC;AACF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AACF,eAAO,MAAM,WAAW,uDAGvB,CAAC;AAGF,eAAO,MAAM,UAAU,gDAGtB,CAAC;AACF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AACF,eAAO,MAAM,eAAe,qDAG3B,CAAC;AACF,eAAO,MAAM,kBAAkB,wDAG9B,CAAC;AACF,eAAO,MAAM,cAAc,oDAG1B,CAAC;AACF,eAAO,MAAM,oBAAoB,0DAGhC,CAAC;AAGF,eAAO,MAAM,UAAU,mDAGtB,CAAC;AAGF,eAAO,MAAM,sBAAsB,4DAGlC,CAAC;AACF,eAAO,MAAM,SAAS,+CAGrB,CAAC;AAGF,eAAO,MAAM,eAAe,qDAG3B,CAAC;AACF,eAAO,MAAM,UAAU,gDAGtB,CAAC;AACF,eAAO,MAAM,WAAW,iDAGvB,CAAC;AAGF,eAAO,MAAM,gBAAgB,sDAG5B,CAAC;AACF,eAAO,MAAM,mBAAmB,yDAG/B,CAAC;AAGF,eAAO,MAAM,YAAY,kDAGxB,CAAC;AAGF,eAAO,MAAM,aAAa,mDAGzB,CAAC;AACF,eAAO,MAAM,aAAa,mDAGzB,CAAC;AAGF,eAAO,MAAM,oBAAoB,yDAGhC,CAAC;AACF,eAAO,MAAM,UAAU,gDAGtB,CAAC;AAGF,eAAO,MAAM,WAAW,iDAGvB,CAAC;AAGF,eAAO,MAAM,eAAe,oDAG3B,CAAC;AAGF,eAAO,MAAM,iBAAiB,uDAG7B,CAAC;AACF,eAAO,MAAM,sBAAsB,4DAGlC,CAAC;AACF,eAAO,MAAM,SAAS,+CAGrB,CAAC;AAGF,eAAO,MAAM,oBAAoB,0DAGhC,CAAC;AACF,eAAO,MAAM,qBAAqB,2DAGjC,CAAC;AACF,eAAO,MAAM,mBAAmB,yDAG/B,CAAC;AAGF,eAAO,MAAM,iBAAiB,uDAG7B,CAAC;AACF,eAAO,MAAM,UAAU,gDAGtB,CAAC;AACF,eAAO,MAAM,UAAU,gDAGtB,CAAC;AACF,eAAO,MAAM,aAAa,mDAGzB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hook to build navigation paths relative to the MFE basePath.
|
|
3
|
+
* Avoids hardcoding the mount point (e.g. '/healthybowl') in page components.
|
|
4
|
+
* @module healthybowl
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Returns a `buildPath` function that prepends the configured basePath
|
|
8
|
+
* to a relative route segment.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const { buildPath } = useBasePath();
|
|
13
|
+
* navigate(buildPath('crops')); // → '/healthybowl/crops'
|
|
14
|
+
* navigate(buildPath('crops/fields/1')); // → '/healthybowl/crops/fields/1'
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function useBasePath(): {
|
|
18
|
+
basePath: string;
|
|
19
|
+
buildPath: (relativePath: string) => string;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=useBasePath.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBasePath.d.ts","sourceRoot":"","sources":["../../../src/healthybowl/hooks/useBasePath.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW;;8BAIR,MAAM,KAAG,MAAM;EASjC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useHealthyBowl as e } from "../context/HealthyBowlContext.js";
|
|
2
|
+
import { useCallback as t } from "react";
|
|
3
|
+
//#region src/healthybowl/hooks/useBasePath.ts
|
|
4
|
+
function n() {
|
|
5
|
+
let { basePath: n } = e();
|
|
6
|
+
return {
|
|
7
|
+
basePath: n,
|
|
8
|
+
buildPath: t((e) => (n.endsWith("/") ? n.slice(0, -1) : n) + (e.startsWith("/") ? e : `/${e}`), [n])
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as useBasePath };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=useBasePath.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBasePath.js","names":[],"sources":["../../../src/healthybowl/hooks/useBasePath.ts"],"sourcesContent":["/**\n * Hook to build navigation paths relative to the MFE basePath.\n * Avoids hardcoding the mount point (e.g. '/healthybowl') in page components.\n * @module healthybowl\n */\n\nimport { useCallback } from 'react';\nimport { useHealthyBowl } from '../context/HealthyBowlContext';\n\n/**\n * Returns a `buildPath` function that prepends the configured basePath\n * to a relative route segment.\n *\n * @example\n * ```ts\n * const { buildPath } = useBasePath();\n * navigate(buildPath('crops')); // → '/healthybowl/crops'\n * navigate(buildPath('crops/fields/1')); // → '/healthybowl/crops/fields/1'\n * ```\n */\nexport function useBasePath() {\n const { basePath } = useHealthyBowl();\n\n const buildPath = useCallback(\n (relativePath: string): string => {\n const cleanBase = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n const cleanPath = relativePath.startsWith('/') ? relativePath : `/${relativePath}`;\n return cleanBase + cleanPath;\n },\n [basePath]\n );\n\n return { basePath, buildPath };\n}\n"],"mappings":";;;AAoBA,SAAgB,IAAc;CAC5B,IAAM,EAAE,gBAAa,GAAgB;AAWrC,QAAO;EAAE;EAAU,WATD,GACf,OACmB,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG,MACjD,EAAa,WAAW,IAAI,GAAG,IAAe,IAAI,MAGtE,CAAC,EAAS,CACX;EAE6B"}
|