@burdenoff/microfe-healthybowl 2026.610.3 → 2026.610.5

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.
Files changed (133) hide show
  1. package/dist/healthybowl/HealthyBowlRoot.js +79 -78
  2. package/dist/healthybowl/HealthyBowlRoot.js.map +1 -1
  3. package/dist/healthybowl/HealthyBowlRoutes.js +199 -200
  4. package/dist/healthybowl/HealthyBowlRoutes.js.map +1 -1
  5. package/dist/healthybowl/components/PageLoader.js +20 -0
  6. package/dist/healthybowl/components/PageLoader.js.map +1 -0
  7. package/dist/healthybowl/components/index.js +1 -0
  8. package/dist/healthybowl/hooks/useBasePath.js +7 -6
  9. package/dist/healthybowl/hooks/useBasePath.js.map +1 -1
  10. package/dist/healthybowl/hooks/useHealthyBowlData.js +659 -595
  11. package/dist/healthybowl/hooks/useHealthyBowlData.js.map +1 -1
  12. package/dist/healthybowl/pages/GettingStartedPage.js +99 -97
  13. package/dist/healthybowl/pages/GettingStartedPage.js.map +1 -1
  14. package/dist/healthybowl/pages/HomePage.js +92 -90
  15. package/dist/healthybowl/pages/HomePage.js.map +1 -1
  16. package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.js +10 -10
  17. package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.js +175 -173
  18. package/dist/healthybowl/pages/compliance/ComplianceAuditsPage.js.map +1 -1
  19. package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.js +99 -97
  20. package/dist/healthybowl/pages/compliance/ComplianceDocumentsPage.js.map +1 -1
  21. package/dist/healthybowl/pages/compliance/OrganicCertificationPage.js +155 -149
  22. package/dist/healthybowl/pages/compliance/OrganicCertificationPage.js.map +1 -1
  23. package/dist/healthybowl/pages/crops/CropDetailsPage.js +223 -222
  24. package/dist/healthybowl/pages/crops/CropDetailsPage.js.map +1 -1
  25. package/dist/healthybowl/pages/crops/CropFieldsPage.js +134 -133
  26. package/dist/healthybowl/pages/crops/CropFieldsPage.js.map +1 -1
  27. package/dist/healthybowl/pages/crops/CropHarvestPage.js +144 -143
  28. package/dist/healthybowl/pages/crops/CropHarvestPage.js.map +1 -1
  29. package/dist/healthybowl/pages/crops/CropPlanningPage.js +180 -179
  30. package/dist/healthybowl/pages/crops/CropPlanningPage.js.map +1 -1
  31. package/dist/healthybowl/pages/crops/CropsPage.js +211 -210
  32. package/dist/healthybowl/pages/crops/CropsPage.js.map +1 -1
  33. package/dist/healthybowl/pages/crops/FieldDetailsPage.js +188 -187
  34. package/dist/healthybowl/pages/crops/FieldDetailsPage.js.map +1 -1
  35. package/dist/healthybowl/pages/crops/HarvestDetailsPage.js +231 -230
  36. package/dist/healthybowl/pages/crops/HarvestDetailsPage.js.map +1 -1
  37. package/dist/healthybowl/pages/crops/PlanningDetailsPage.js +53 -52
  38. package/dist/healthybowl/pages/crops/PlanningDetailsPage.js.map +1 -1
  39. package/dist/healthybowl/pages/farm/FarmProfilePage.js +4 -4
  40. package/dist/healthybowl/pages/financial/BudgetManagementPage.js +147 -145
  41. package/dist/healthybowl/pages/financial/BudgetManagementPage.js.map +1 -1
  42. package/dist/healthybowl/pages/financial/FinancialDashboardPage.js +36 -36
  43. package/dist/healthybowl/pages/financial/InvoiceManagementPage.js +202 -200
  44. package/dist/healthybowl/pages/financial/InvoiceManagementPage.js.map +1 -1
  45. package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js +105 -104
  46. package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js.map +1 -1
  47. package/dist/healthybowl/pages/government-schemes/CommunicationPage.js +145 -143
  48. package/dist/healthybowl/pages/government-schemes/CommunicationPage.js.map +1 -1
  49. package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.js +15 -15
  50. package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js +113 -112
  51. package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js.map +1 -1
  52. package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.js +116 -115
  53. package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.js.map +1 -1
  54. package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js +149 -140
  55. package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js.map +1 -1
  56. package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.js +152 -151
  57. package/dist/healthybowl/pages/government-schemes/TrainingProgramsPage.js.map +1 -1
  58. package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js +95 -94
  59. package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js.map +1 -1
  60. package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js +70 -68
  61. package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js.map +1 -1
  62. package/dist/healthybowl/pages/livestock/BreedingManagementPage.js +187 -185
  63. package/dist/healthybowl/pages/livestock/BreedingManagementPage.js.map +1 -1
  64. package/dist/healthybowl/pages/livestock/FeedManagementPage.js +190 -188
  65. package/dist/healthybowl/pages/livestock/FeedManagementPage.js.map +1 -1
  66. package/dist/healthybowl/pages/livestock/HealthRecordsPage.js +86 -84
  67. package/dist/healthybowl/pages/livestock/HealthRecordsPage.js.map +1 -1
  68. package/dist/healthybowl/pages/livestock/LivestockDashboardPage.js +8 -8
  69. package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js +165 -163
  70. package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js.map +1 -1
  71. package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.js +158 -156
  72. package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.js.map +1 -1
  73. package/dist/healthybowl/pages/marketplace/CartPage.js +52 -52
  74. package/dist/healthybowl/pages/marketplace/CartPage.js.map +1 -1
  75. package/dist/healthybowl/pages/marketplace/OrdersPage.js +211 -210
  76. package/dist/healthybowl/pages/marketplace/OrdersPage.js.map +1 -1
  77. package/dist/healthybowl/pages/marketplace/ProductDetailPage.js +165 -164
  78. package/dist/healthybowl/pages/marketplace/ProductDetailPage.js.map +1 -1
  79. package/dist/healthybowl/pages/marketplace/WishlistPage.js +120 -121
  80. package/dist/healthybowl/pages/marketplace/WishlistPage.js.map +1 -1
  81. package/dist/healthybowl/pages/network/CommunityPage.js +169 -168
  82. package/dist/healthybowl/pages/network/CommunityPage.js.map +1 -1
  83. package/dist/healthybowl/pages/network/EventsPage.js +51 -50
  84. package/dist/healthybowl/pages/network/EventsPage.js.map +1 -1
  85. package/dist/healthybowl/pages/network/ExpertsPage.js +143 -142
  86. package/dist/healthybowl/pages/network/ExpertsPage.js.map +1 -1
  87. package/dist/healthybowl/pages/network/MentorsPage.js +118 -117
  88. package/dist/healthybowl/pages/network/MentorsPage.js.map +1 -1
  89. package/dist/healthybowl/pages/network/NetworkOverviewPage.js +170 -160
  90. package/dist/healthybowl/pages/network/NetworkOverviewPage.js.map +1 -1
  91. package/dist/healthybowl/pages/pest-management/PestIssuesPage.js +121 -119
  92. package/dist/healthybowl/pages/pest-management/PestIssuesPage.js.map +1 -1
  93. package/dist/healthybowl/pages/pest-management/PestMonitoringPage.js +37 -35
  94. package/dist/healthybowl/pages/pest-management/PestMonitoringPage.js.map +1 -1
  95. package/dist/healthybowl/pages/pest-management/PestOverviewPage.js +9 -9
  96. package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.js +144 -138
  97. package/dist/healthybowl/pages/pest-management/TreatmentLibraryPage.js.map +1 -1
  98. package/dist/healthybowl/pages/production/ProductionBatchesPage.js +27 -25
  99. package/dist/healthybowl/pages/production/ProductionBatchesPage.js.map +1 -1
  100. package/dist/healthybowl/pages/production/ProductionPlanningPage.js +83 -77
  101. package/dist/healthybowl/pages/production/ProductionPlanningPage.js.map +1 -1
  102. package/dist/healthybowl/pages/production/ProductionSchedulePage.js +52 -46
  103. package/dist/healthybowl/pages/production/ProductionSchedulePage.js.map +1 -1
  104. package/dist/healthybowl/pages/production/RecipeManagementPage.js +144 -143
  105. package/dist/healthybowl/pages/production/RecipeManagementPage.js.map +1 -1
  106. package/dist/healthybowl/pages/production/ValueAddedProductsPage.js +37 -31
  107. package/dist/healthybowl/pages/production/ValueAddedProductsPage.js.map +1 -1
  108. package/dist/healthybowl/pages/products/BatchesPage.js +188 -187
  109. package/dist/healthybowl/pages/products/BatchesPage.js.map +1 -1
  110. package/dist/healthybowl/pages/products/InventoryPage.js +156 -154
  111. package/dist/healthybowl/pages/products/InventoryPage.js.map +1 -1
  112. package/dist/healthybowl/pages/products/ProductsOverviewPage.js +265 -264
  113. package/dist/healthybowl/pages/products/ProductsOverviewPage.js.map +1 -1
  114. package/dist/healthybowl/pages/soil/SoilDashboardPage.js +23 -23
  115. package/dist/healthybowl/pages/soil/SoilMonitoringPage.js +43 -42
  116. package/dist/healthybowl/pages/soil/SoilMonitoringPage.js.map +1 -1
  117. package/dist/healthybowl/pages/soil/SoilRecommendationsPage.js +45 -42
  118. package/dist/healthybowl/pages/soil/SoilRecommendationsPage.js.map +1 -1
  119. package/dist/healthybowl/pages/soil/SoilTestsPage.js +122 -120
  120. package/dist/healthybowl/pages/soil/SoilTestsPage.js.map +1 -1
  121. package/dist/healthybowl/pages/traceability/BatchTrackingPage.js +5 -5
  122. package/dist/healthybowl/pages/traceability/QRCodesPage.js +19 -19
  123. package/dist/healthybowl/pages/weather/WeatherAlertsPage.js +53 -52
  124. package/dist/healthybowl/pages/weather/WeatherAlertsPage.js.map +1 -1
  125. package/dist/healthybowl/pages/weather/WeatherForecastPage.js +109 -99
  126. package/dist/healthybowl/pages/weather/WeatherForecastPage.js.map +1 -1
  127. package/dist/healthybowl/pages/weather/WeatherHistoryPage.js +161 -160
  128. package/dist/healthybowl/pages/weather/WeatherHistoryPage.js.map +1 -1
  129. package/dist/healthybowl/pages/weather/WeatherOverviewPage.js +187 -186
  130. package/dist/healthybowl/pages/weather/WeatherOverviewPage.js.map +1 -1
  131. package/dist/healthybowl/utils/helpers.js +9 -6
  132. package/dist/healthybowl/utils/helpers.js.map +1 -1
  133. package/package.json +1 -1
@@ -1,191 +1,192 @@
1
1
  import { HealthyBowlProvider as e } from "./context/HealthyBowlContext.js";
2
- import { ErrorBoundary as t } from "./components/ErrorBoundary.js";
3
- import { HealthyBowlRoutes as n } from "./HealthyBowlRoutes.js";
4
- import { useCallback as r, useEffect as i } from "react";
5
- import { useI18n as a } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
6
- import { Banknote as o, BarChart3 as s, Bug as c, Cloud as l, DollarSign as u, Factory as d, FlaskConical as f, Home as p, Landmark as m, Package as h, PawPrint as g, ScanLine as _, ShieldCheck as v, ShoppingCart as y, Stethoscope as b, Tractor as x, UserCheck as S, Users as C, Wheat as w } from "lucide-react";
7
- import { jsx as T } from "react/jsx-runtime";
8
- import { FeatureFlagProvider as E } from "@burdenoff/fe-libs/shared/feature-flags";
2
+ import { normalizeBasePath as t } from "./utils/helpers.js";
3
+ import { ErrorBoundary as n } from "./components/ErrorBoundary.js";
4
+ import { HealthyBowlRoutes as r } from "./HealthyBowlRoutes.js";
5
+ import { useCallback as i, useEffect as a } from "react";
6
+ import { useI18n as o } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
7
+ import { Banknote as s, BarChart3 as c, Bug as l, Cloud as u, DollarSign as d, Factory as f, FlaskConical as p, Home as m, Landmark as h, Package as g, PawPrint as _, ScanLine as v, ShieldCheck as y, ShoppingCart as b, Stethoscope as x, Tractor as S, UserCheck as C, Users as w, Wheat as T } from "lucide-react";
8
+ import { jsx as E } from "react/jsx-runtime";
9
+ import { FeatureFlagProvider as D } from "@burdenoff/fe-libs/shared/feature-flags";
9
10
  //#region src/healthybowl/HealthyBowlRoot.tsx
10
- var D = (D) => {
11
- let { registerNavItems: O, registerFooterItems: k, basePath: A = "/" } = D, { t: j } = a(), M = r((e, t) => {
12
- let n = j(e);
11
+ var O = (O) => {
12
+ let { registerNavItems: k, registerFooterItems: A, basePath: j = "/" } = O, { t: M } = o(), N = i((e, t) => {
13
+ let n = M(e);
13
14
  return n === e ? t : n;
14
- }, [j]), N = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
15
- return i(() => {
16
- if (O) return O([
15
+ }, [M]), P = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
16
+ return a(() => {
17
+ if (k) return k([
17
18
  {
18
19
  id: "healthybowl-dashboard",
19
- label: M("healthybowl.nav.dashboard", "Dashboard"),
20
- path: N(A, "dashboard"),
21
- icon: /* @__PURE__ */ T(p, { size: 20 }),
20
+ label: N("healthybowl.nav.dashboard", "Dashboard"),
21
+ path: t(j),
22
+ icon: /* @__PURE__ */ E(m, { size: 20 }),
22
23
  order: 1,
23
24
  group: "main"
24
25
  },
25
26
  {
26
27
  id: "healthybowl-farm",
27
- label: M("healthybowl.nav.farm", "My Farm"),
28
- path: N(A, "farm"),
29
- icon: /* @__PURE__ */ T(x, { size: 20 }),
28
+ label: N("healthybowl.nav.farm", "My Farm"),
29
+ path: P(j, "farm"),
30
+ icon: /* @__PURE__ */ E(S, { size: 20 }),
30
31
  order: 2,
31
32
  group: "main"
32
33
  },
33
34
  {
34
35
  id: "healthybowl-crops",
35
- label: M("healthybowl.nav.crops", "Crops"),
36
- path: N(A, "crops"),
37
- icon: /* @__PURE__ */ T(w, { size: 20 }),
36
+ label: N("healthybowl.nav.crops", "Crops"),
37
+ path: P(j, "crops"),
38
+ icon: /* @__PURE__ */ E(T, { size: 20 }),
38
39
  order: 10,
39
40
  group: "farming"
40
41
  },
41
42
  {
42
43
  id: "healthybowl-livestock",
43
- label: M("healthybowl.nav.livestock", "Livestock"),
44
- path: N(A, "livestock"),
45
- icon: /* @__PURE__ */ T(g, { size: 20 }),
44
+ label: N("healthybowl.nav.livestock", "Livestock"),
45
+ path: P(j, "livestock"),
46
+ icon: /* @__PURE__ */ E(_, { size: 20 }),
46
47
  order: 11,
47
48
  group: "farming"
48
49
  },
49
50
  {
50
51
  id: "healthybowl-weather",
51
- label: M("healthybowl.nav.weather", "Weather"),
52
- path: N(A, "weather"),
53
- icon: /* @__PURE__ */ T(l, { size: 20 }),
52
+ label: N("healthybowl.nav.weather", "Weather"),
53
+ path: P(j, "weather"),
54
+ icon: /* @__PURE__ */ E(u, { size: 20 }),
54
55
  order: 12,
55
56
  group: "farming"
56
57
  },
57
58
  {
58
59
  id: "healthybowl-soil",
59
- label: M("healthybowl.nav.soilHealth", "Soil Health"),
60
- path: N(A, "soil"),
61
- icon: /* @__PURE__ */ T(f, { size: 20 }),
60
+ label: N("healthybowl.nav.soilHealth", "Soil Health"),
61
+ path: P(j, "soil"),
62
+ icon: /* @__PURE__ */ E(p, { size: 20 }),
62
63
  order: 13,
63
64
  group: "farming"
64
65
  },
65
66
  {
66
67
  id: "healthybowl-pest",
67
- label: M("healthybowl.nav.pestManagement", "Pest Management"),
68
- path: N(A, "pest-management"),
69
- icon: /* @__PURE__ */ T(c, { size: 20 }),
68
+ label: N("healthybowl.nav.pestManagement", "Pest Management"),
69
+ path: P(j, "pest-management"),
70
+ icon: /* @__PURE__ */ E(l, { size: 20 }),
70
71
  order: 14,
71
72
  group: "farming"
72
73
  },
73
74
  {
74
75
  id: "healthybowl-production",
75
- label: M("healthybowl.nav.production", "Production"),
76
- path: N(A, "production"),
77
- icon: /* @__PURE__ */ T(d, { size: 20 }),
76
+ label: N("healthybowl.nav.production", "Production"),
77
+ path: P(j, "production"),
78
+ icon: /* @__PURE__ */ E(f, { size: 20 }),
78
79
  order: 20,
79
80
  group: "business"
80
81
  },
81
82
  {
82
83
  id: "healthybowl-products",
83
- label: M("healthybowl.nav.products", "Products"),
84
- path: N(A, "products"),
85
- icon: /* @__PURE__ */ T(h, { size: 20 }),
84
+ label: N("healthybowl.nav.products", "Products"),
85
+ path: P(j, "products"),
86
+ icon: /* @__PURE__ */ E(g, { size: 20 }),
86
87
  order: 21,
87
88
  group: "business"
88
89
  },
89
90
  {
90
91
  id: "healthybowl-marketplace",
91
- label: M("healthybowl.nav.marketplace", "Marketplace"),
92
- path: N(A, "marketplace"),
93
- icon: /* @__PURE__ */ T(y, { size: 20 }),
92
+ label: N("healthybowl.nav.marketplace", "Marketplace"),
93
+ path: P(j, "marketplace"),
94
+ icon: /* @__PURE__ */ E(b, { size: 20 }),
94
95
  order: 22,
95
96
  group: "business"
96
97
  },
97
98
  {
98
99
  id: "healthybowl-financial",
99
- label: M("healthybowl.nav.financial", "Financial"),
100
- path: N(A, "financial"),
101
- icon: /* @__PURE__ */ T(u, { size: 20 }),
100
+ label: N("healthybowl.nav.financial", "Financial"),
101
+ path: P(j, "financial"),
102
+ icon: /* @__PURE__ */ E(d, { size: 20 }),
102
103
  order: 23,
103
104
  group: "business"
104
105
  },
105
106
  {
106
107
  id: "healthybowl-financier",
107
- label: M("healthybowl.nav.financier", "Financier"),
108
- path: N(A, "financier"),
109
- icon: /* @__PURE__ */ T(o, { size: 20 }),
108
+ label: N("healthybowl.nav.financier", "Financier"),
109
+ path: P(j, "financier"),
110
+ icon: /* @__PURE__ */ E(s, { size: 20 }),
110
111
  order: 24,
111
112
  group: "business"
112
113
  },
113
114
  {
114
115
  id: "healthybowl-compliance",
115
- label: M("healthybowl.nav.compliance", "Compliance"),
116
- path: N(A, "compliance"),
117
- icon: /* @__PURE__ */ T(v, { size: 20 }),
116
+ label: N("healthybowl.nav.compliance", "Compliance"),
117
+ path: P(j, "compliance"),
118
+ icon: /* @__PURE__ */ E(y, { size: 20 }),
118
119
  order: 30,
119
120
  group: "compliance"
120
121
  },
121
122
  {
122
123
  id: "healthybowl-traceability",
123
- label: M("healthybowl.nav.traceability", "Traceability"),
124
- path: N(A, "traceability"),
125
- icon: /* @__PURE__ */ T(_, { size: 20 }),
124
+ label: N("healthybowl.nav.traceability", "Traceability"),
125
+ path: P(j, "traceability"),
126
+ icon: /* @__PURE__ */ E(v, { size: 20 }),
126
127
  order: 31,
127
128
  group: "compliance"
128
129
  },
129
130
  {
130
131
  id: "healthybowl-schemes",
131
- label: M("healthybowl.nav.governmentSchemes", "Gov. Schemes"),
132
- path: N(A, "government-schemes"),
133
- icon: /* @__PURE__ */ T(m, { size: 20 }),
132
+ label: N("healthybowl.nav.governmentSchemes", "Gov. Schemes"),
133
+ path: P(j, "government-schemes"),
134
+ icon: /* @__PURE__ */ E(h, { size: 20 }),
134
135
  order: 40,
135
136
  group: "support"
136
137
  },
137
138
  {
138
139
  id: "healthybowl-network",
139
- label: M("healthybowl.nav.network", "Network"),
140
- path: N(A, "network"),
141
- icon: /* @__PURE__ */ T(C, { size: 20 }),
140
+ label: N("healthybowl.nav.network", "Network"),
141
+ path: P(j, "network"),
142
+ icon: /* @__PURE__ */ E(w, { size: 20 }),
142
143
  order: 41,
143
144
  group: "support"
144
145
  },
145
146
  {
146
147
  id: "healthybowl-analytics",
147
- label: M("healthybowl.nav.analytics", "Analytics"),
148
- path: N(A, "analytics"),
149
- icon: /* @__PURE__ */ T(s, { size: 20 }),
148
+ label: N("healthybowl.nav.analytics", "Analytics"),
149
+ path: P(j, "analytics"),
150
+ icon: /* @__PURE__ */ E(c, { size: 20 }),
150
151
  order: 42,
151
152
  group: "support"
152
153
  },
153
154
  {
154
155
  id: "healthybowl-advisors",
155
- label: M("healthybowl.nav.advisors", "My Advisors"),
156
- path: N(A, "advisors"),
157
- icon: /* @__PURE__ */ T(S, { size: 20 }),
156
+ label: N("healthybowl.nav.advisors", "My Advisors"),
157
+ path: P(j, "advisors"),
158
+ icon: /* @__PURE__ */ E(C, { size: 20 }),
158
159
  order: 43,
159
160
  group: "support"
160
161
  },
161
162
  {
162
163
  id: "healthybowl-consultant",
163
- label: M("healthybowl.nav.consultant", "Consultant"),
164
- path: N(A, "consultant"),
165
- icon: /* @__PURE__ */ T(b, { size: 20 }),
164
+ label: N("healthybowl.nav.consultant", "Consultant"),
165
+ path: P(j, "consultant"),
166
+ icon: /* @__PURE__ */ E(x, { size: 20 }),
166
167
  order: 44,
167
168
  group: "support"
168
169
  }
169
170
  ]);
170
- }, [O, A]), i(() => {
171
- if (k) return k([{
171
+ }, [k, j]), a(() => {
172
+ if (A) return A([{
172
173
  id: "healthybowl-status",
173
- label: M("healthybowl.footer.ready", "HealthyBowl Ready"),
174
+ label: N("healthybowl.footer.ready", "HealthyBowl Ready"),
174
175
  type: "status",
175
176
  order: 10,
176
177
  section: "left"
177
178
  }]);
178
- }, [k]), /* @__PURE__ */ T(E, {
179
+ }, [A]), /* @__PURE__ */ E(D, {
179
180
  workspaceId: null,
180
181
  gateway: "global",
181
182
  defaultEnabled: !0,
182
- children: /* @__PURE__ */ T(e, {
183
- ...D,
184
- children: /* @__PURE__ */ T(t, { children: /* @__PURE__ */ T(n, {}) })
183
+ children: /* @__PURE__ */ E(e, {
184
+ ...O,
185
+ children: /* @__PURE__ */ E(n, { children: /* @__PURE__ */ E(r, {}) })
185
186
  })
186
187
  });
187
188
  };
188
189
  //#endregion
189
- export { D as HealthyBowlRoot };
190
+ export { O as HealthyBowlRoot };
190
191
 
191
192
  //# sourceMappingURL=HealthyBowlRoot.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HealthyBowlRoot.js","names":[],"sources":["../../src/healthybowl/HealthyBowlRoot.tsx"],"sourcesContent":["/**\n * HealthyBowl Root Component\n * @module healthybowl\n */\n\nimport type { FC } from 'react';\nimport { useCallback, useEffect } from 'react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport {\n Home,\n Tractor,\n Wheat,\n PawPrint,\n Cloud,\n ShoppingCart,\n DollarSign,\n BarChart3,\n FlaskConical,\n Bug,\n Factory,\n Package,\n ScanLine,\n ShieldCheck,\n Landmark,\n Banknote,\n Stethoscope,\n UserCheck,\n Users,\n} from 'lucide-react';\nimport { HealthyBowlProvider } from './context/HealthyBowlContext';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { HealthyBowlRoutes } from './HealthyBowlRoutes';\nimport { ErrorBoundary } from './components/ErrorBoundary';\nimport type { HealthyBowlRootProps, NavItem } from './types';\n\nexport const HealthyBowlRoot: FC<HealthyBowlRootProps> = (props) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n const { t: translate } = useI18n();\n const t = useCallback(\n (key: string, fallback: string): string => {\n const value = translate(key);\n return value === key ? fallback : value;\n },\n [translate]\n );\n\n // Helper to join paths correctly\n const joinPath = (base: string, path: string): string => {\n const cleanBase = base.endsWith('/') ? base.slice(0, -1) : base;\n const cleanPath = path.startsWith('/') ? path : `/${path}`;\n return cleanBase + cleanPath;\n };\n\n // Register navigation items with shell on mount\n useEffect(() => {\n if (!registerNavItems) return;\n\n const navItems: NavItem[] = [\n // Dashboard\n {\n id: 'healthybowl-dashboard',\n label: t('healthybowl.nav.dashboard', 'Dashboard'),\n path: joinPath(basePath, 'dashboard'),\n icon: <Home size={20} />,\n order: 1,\n group: 'main',\n },\n\n // My Farm\n {\n id: 'healthybowl-farm',\n label: t('healthybowl.nav.farm', 'My Farm'),\n path: joinPath(basePath, 'farm'),\n icon: <Tractor size={20} />,\n order: 2,\n group: 'main',\n },\n\n // Crops\n {\n id: 'healthybowl-crops',\n label: t('healthybowl.nav.crops', 'Crops'),\n path: joinPath(basePath, 'crops'),\n icon: <Wheat size={20} />,\n order: 10,\n group: 'farming',\n },\n\n // Livestock\n {\n id: 'healthybowl-livestock',\n label: t('healthybowl.nav.livestock', 'Livestock'),\n path: joinPath(basePath, 'livestock'),\n icon: <PawPrint size={20} />,\n order: 11,\n group: 'farming',\n },\n\n // Weather\n {\n id: 'healthybowl-weather',\n label: t('healthybowl.nav.weather', 'Weather'),\n path: joinPath(basePath, 'weather'),\n icon: <Cloud size={20} />,\n order: 12,\n group: 'farming',\n },\n\n // Soil Health\n {\n id: 'healthybowl-soil',\n label: t('healthybowl.nav.soilHealth', 'Soil Health'),\n path: joinPath(basePath, 'soil'),\n icon: <FlaskConical size={20} />,\n order: 13,\n group: 'farming',\n },\n\n // Pest Management\n {\n id: 'healthybowl-pest',\n label: t('healthybowl.nav.pestManagement', 'Pest Management'),\n path: joinPath(basePath, 'pest-management'),\n icon: <Bug size={20} />,\n order: 14,\n group: 'farming',\n },\n\n // Production\n {\n id: 'healthybowl-production',\n label: t('healthybowl.nav.production', 'Production'),\n path: joinPath(basePath, 'production'),\n icon: <Factory size={20} />,\n order: 20,\n group: 'business',\n },\n\n // Products\n {\n id: 'healthybowl-products',\n label: t('healthybowl.nav.products', 'Products'),\n path: joinPath(basePath, 'products'),\n icon: <Package size={20} />,\n order: 21,\n group: 'business',\n },\n\n // Marketplace\n {\n id: 'healthybowl-marketplace',\n label: t('healthybowl.nav.marketplace', 'Marketplace'),\n path: joinPath(basePath, 'marketplace'),\n icon: <ShoppingCart size={20} />,\n order: 22,\n group: 'business',\n },\n\n // Financial\n {\n id: 'healthybowl-financial',\n label: t('healthybowl.nav.financial', 'Financial'),\n path: joinPath(basePath, 'financial'),\n icon: <DollarSign size={20} />,\n order: 23,\n group: 'business',\n },\n\n // Financier portfolio (B2B2C bridge)\n {\n id: 'healthybowl-financier',\n label: t('healthybowl.nav.financier', 'Financier'),\n path: joinPath(basePath, 'financier'),\n icon: <Banknote size={20} />,\n order: 24,\n group: 'business',\n },\n\n // Compliance\n {\n id: 'healthybowl-compliance',\n label: t('healthybowl.nav.compliance', 'Compliance'),\n path: joinPath(basePath, 'compliance'),\n icon: <ShieldCheck size={20} />,\n order: 30,\n group: 'compliance',\n },\n\n // Traceability\n {\n id: 'healthybowl-traceability',\n label: t('healthybowl.nav.traceability', 'Traceability'),\n path: joinPath(basePath, 'traceability'),\n icon: <ScanLine size={20} />,\n order: 31,\n group: 'compliance',\n },\n\n // Government Schemes\n {\n id: 'healthybowl-schemes',\n label: t('healthybowl.nav.governmentSchemes', 'Gov. Schemes'),\n path: joinPath(basePath, 'government-schemes'),\n icon: <Landmark size={20} />,\n order: 40,\n group: 'support',\n },\n\n // Network\n {\n id: 'healthybowl-network',\n label: t('healthybowl.nav.network', 'Network'),\n path: joinPath(basePath, 'network'),\n icon: <Users size={20} />,\n order: 41,\n group: 'support',\n },\n\n // Analytics\n {\n id: 'healthybowl-analytics',\n label: t('healthybowl.nav.analytics', 'Analytics'),\n path: joinPath(basePath, 'analytics'),\n icon: <BarChart3 size={20} />,\n order: 42,\n group: 'support',\n },\n\n // My Advisors (UC-16 — farmer side)\n {\n id: 'healthybowl-advisors',\n label: t('healthybowl.nav.advisors', 'My Advisors'),\n path: joinPath(basePath, 'advisors'),\n icon: <UserCheck size={20} />,\n order: 43,\n group: 'support',\n },\n\n // Consultant portfolio (UC-16 — consultant side)\n {\n id: 'healthybowl-consultant',\n label: t('healthybowl.nav.consultant', 'Consultant'),\n path: joinPath(basePath, 'consultant'),\n icon: <Stethoscope size={20} />,\n order: 44,\n group: 'support',\n },\n ];\n\n // All sections are reachable. Marketplace (UC-08), Network (UC-12) and\n // Traceability (UC-11) render real read data + their real create flows\n // (createMarketplaceProduct / createCommunityPost / createTraceBatch); the\n // few genuinely-unbacked actions (checkout, booking, QR resolution) show\n // honest \"not available yet\" states in-page rather than hiding the section.\n const cleanup = registerNavItems(navItems);\n return cleanup;\n }, [registerNavItems, basePath]);\n\n // Register footer items\n useEffect(() => {\n if (!registerFooterItems) return;\n\n const footerItems = [\n {\n id: 'healthybowl-status',\n label: t('healthybowl.footer.ready', 'HealthyBowl Ready'),\n type: 'status' as const,\n order: 10,\n section: 'left' as const,\n },\n ];\n\n const cleanup = registerFooterItems(footerItems);\n return cleanup;\n }, [registerFooterItems]);\n\n return (\n <FeatureFlagProvider workspaceId={null} gateway=\"global\" defaultEnabled={true}>\n <HealthyBowlProvider {...props}>\n <ErrorBoundary>\n <HealthyBowlRoutes />\n </ErrorBoundary>\n </HealthyBowlProvider>\n </FeatureFlagProvider>\n );\n};\n"],"mappings":";;;;;;;;;AAmCA,IAAa,KAA6C,MAAU;CAClE,IAAM,EAAE,qBAAkB,wBAAqB,cAAW,QAAQ,GAC5D,EAAE,GAAG,MAAc,GAAS,EAC5B,IAAI,GACP,GAAa,MAA6B;EACzC,IAAM,IAAQ,EAAU,EAAI;AAC5B,SAAO,MAAU,IAAM,IAAW;IAE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EAAS,GAAU,qBAAqB;IAC9C,MAAM,kBAAC,GAAD,EAAU,MAAM,IAAM,CAAA;IAC5B,OAAO;IACP,OAAO;IACR;GAGD;IACE,IAAI;IACJ,OAAO,EAAE,2BAA2B,UAAU;IAC9C,MAAM,EAAS,GAAU,UAAU;IACnC,MAAM,kBAAC,GAAD,EAAO,MAAM,IAAM,CAAA;IACzB,OAAO;IACP,OAAO;IACR;GAGD;IACE,IAAI;IACJ,OAAO,EAAE,6BAA6B,YAAY;IAClD,MAAM,EAAS,GAAU,YAAY;IACrC,MAAM,kBAAC,GAAD,EAAW,MAAM,IAAM,CAAA;IAC7B,OAAO;IACP,OAAO;IACR;GAGD;IACE,IAAI;IACJ,OAAO,EAAE,4BAA4B,cAAc;IACnD,MAAM,EAAS,GAAU,WAAW;IACpC,MAAM,kBAAC,GAAD,EAAW,MAAM,IAAM,CAAA;IAC7B,OAAO;IACP,OAAO;IACR;GAGD;IACE,IAAI;IACJ,OAAO,EAAE,8BAA8B,aAAa;IACpD,MAAM,EAAS,GAAU,aAAa;IACtC,MAAM,kBAAC,GAAD,EAAa,MAAM,IAAM,CAAA;IAC/B,OAAO;IACP,OAAO;IACR;GACF,CAOyC;IAEzC,CAAC,GAAkB,EAAS,CAAC,EAGhC,QAAgB;AACT,QAaL,QADgB,EAVI,CAClB;GACE,IAAI;GACJ,OAAO,EAAE,4BAA4B,oBAAoB;GACzD,MAAM;GACN,OAAO;GACP,SAAS;GACV,CACF,CAE+C;IAE/C,CAAC,EAAoB,CAAC,EAGvB,kBAAC,GAAD;EAAqB,aAAa;EAAM,SAAQ;EAAS,gBAAgB;YACvE,kBAAC,GAAD;GAAqB,GAAI;aACvB,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAAqB,CAAA,EACP,CAAA;GACI,CAAA;EACF,CAAA"}
1
+ {"version":3,"file":"HealthyBowlRoot.js","names":[],"sources":["../../src/healthybowl/HealthyBowlRoot.tsx"],"sourcesContent":["/**\n * HealthyBowl Root Component\n * @module healthybowl\n */\n\nimport type { FC } from 'react';\nimport { useCallback, useEffect } from 'react';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport {\n Home,\n Tractor,\n Wheat,\n PawPrint,\n Cloud,\n ShoppingCart,\n DollarSign,\n BarChart3,\n FlaskConical,\n Bug,\n Factory,\n Package,\n ScanLine,\n ShieldCheck,\n Landmark,\n Banknote,\n Stethoscope,\n UserCheck,\n Users,\n} from 'lucide-react';\nimport { HealthyBowlProvider } from './context/HealthyBowlContext';\nimport { FeatureFlagProvider } from '@burdenoff/fe-libs/shared/feature-flags';\nimport { HealthyBowlRoutes } from './HealthyBowlRoutes';\nimport { ErrorBoundary } from './components/ErrorBoundary';\nimport { normalizeBasePath } from './utils/helpers';\nimport type { HealthyBowlRootProps, NavItem } from './types';\n\nexport const HealthyBowlRoot: FC<HealthyBowlRootProps> = (props) => {\n const { registerNavItems, registerFooterItems, basePath = '/' } = props;\n const { t: translate } = useI18n();\n const t = useCallback(\n (key: string, fallback: string): string => {\n const value = translate(key);\n return value === key ? fallback : value;\n },\n [translate]\n );\n\n // Helper to join paths correctly\n const joinPath = (base: string, path: string): string => {\n const cleanBase = base.endsWith('/') ? base.slice(0, -1) : base;\n const cleanPath = path.startsWith('/') ? path : `/${path}`;\n return cleanBase + cleanPath;\n };\n\n // Register navigation items with shell on mount\n useEffect(() => {\n if (!registerNavItems) return;\n\n const navItems: NavItem[] = [\n // Dashboard\n {\n id: 'healthybowl-dashboard',\n label: t('healthybowl.nav.dashboard', 'Dashboard'),\n // The product index IS the dashboard. Normalize a trailing slash like\n // every sibling item (joinPath) so active-state highlighting matches if\n // the host ever passes '/healthybowl/'.\n path: normalizeBasePath(basePath),\n icon: <Home size={20} />,\n order: 1,\n group: 'main',\n },\n\n // My Farm\n {\n id: 'healthybowl-farm',\n label: t('healthybowl.nav.farm', 'My Farm'),\n path: joinPath(basePath, 'farm'),\n icon: <Tractor size={20} />,\n order: 2,\n group: 'main',\n },\n\n // Crops\n {\n id: 'healthybowl-crops',\n label: t('healthybowl.nav.crops', 'Crops'),\n path: joinPath(basePath, 'crops'),\n icon: <Wheat size={20} />,\n order: 10,\n group: 'farming',\n },\n\n // Livestock\n {\n id: 'healthybowl-livestock',\n label: t('healthybowl.nav.livestock', 'Livestock'),\n path: joinPath(basePath, 'livestock'),\n icon: <PawPrint size={20} />,\n order: 11,\n group: 'farming',\n },\n\n // Weather\n {\n id: 'healthybowl-weather',\n label: t('healthybowl.nav.weather', 'Weather'),\n path: joinPath(basePath, 'weather'),\n icon: <Cloud size={20} />,\n order: 12,\n group: 'farming',\n },\n\n // Soil Health\n {\n id: 'healthybowl-soil',\n label: t('healthybowl.nav.soilHealth', 'Soil Health'),\n path: joinPath(basePath, 'soil'),\n icon: <FlaskConical size={20} />,\n order: 13,\n group: 'farming',\n },\n\n // Pest Management\n {\n id: 'healthybowl-pest',\n label: t('healthybowl.nav.pestManagement', 'Pest Management'),\n path: joinPath(basePath, 'pest-management'),\n icon: <Bug size={20} />,\n order: 14,\n group: 'farming',\n },\n\n // Production\n {\n id: 'healthybowl-production',\n label: t('healthybowl.nav.production', 'Production'),\n path: joinPath(basePath, 'production'),\n icon: <Factory size={20} />,\n order: 20,\n group: 'business',\n },\n\n // Products\n {\n id: 'healthybowl-products',\n label: t('healthybowl.nav.products', 'Products'),\n path: joinPath(basePath, 'products'),\n icon: <Package size={20} />,\n order: 21,\n group: 'business',\n },\n\n // Marketplace\n {\n id: 'healthybowl-marketplace',\n label: t('healthybowl.nav.marketplace', 'Marketplace'),\n path: joinPath(basePath, 'marketplace'),\n icon: <ShoppingCart size={20} />,\n order: 22,\n group: 'business',\n },\n\n // Financial\n {\n id: 'healthybowl-financial',\n label: t('healthybowl.nav.financial', 'Financial'),\n path: joinPath(basePath, 'financial'),\n icon: <DollarSign size={20} />,\n order: 23,\n group: 'business',\n },\n\n // Financier portfolio (B2B2C bridge)\n {\n id: 'healthybowl-financier',\n label: t('healthybowl.nav.financier', 'Financier'),\n path: joinPath(basePath, 'financier'),\n icon: <Banknote size={20} />,\n order: 24,\n group: 'business',\n },\n\n // Compliance\n {\n id: 'healthybowl-compliance',\n label: t('healthybowl.nav.compliance', 'Compliance'),\n path: joinPath(basePath, 'compliance'),\n icon: <ShieldCheck size={20} />,\n order: 30,\n group: 'compliance',\n },\n\n // Traceability\n {\n id: 'healthybowl-traceability',\n label: t('healthybowl.nav.traceability', 'Traceability'),\n path: joinPath(basePath, 'traceability'),\n icon: <ScanLine size={20} />,\n order: 31,\n group: 'compliance',\n },\n\n // Government Schemes\n {\n id: 'healthybowl-schemes',\n label: t('healthybowl.nav.governmentSchemes', 'Gov. Schemes'),\n path: joinPath(basePath, 'government-schemes'),\n icon: <Landmark size={20} />,\n order: 40,\n group: 'support',\n },\n\n // Network\n {\n id: 'healthybowl-network',\n label: t('healthybowl.nav.network', 'Network'),\n path: joinPath(basePath, 'network'),\n icon: <Users size={20} />,\n order: 41,\n group: 'support',\n },\n\n // Analytics\n {\n id: 'healthybowl-analytics',\n label: t('healthybowl.nav.analytics', 'Analytics'),\n path: joinPath(basePath, 'analytics'),\n icon: <BarChart3 size={20} />,\n order: 42,\n group: 'support',\n },\n\n // My Advisors (UC-16 — farmer side)\n {\n id: 'healthybowl-advisors',\n label: t('healthybowl.nav.advisors', 'My Advisors'),\n path: joinPath(basePath, 'advisors'),\n icon: <UserCheck size={20} />,\n order: 43,\n group: 'support',\n },\n\n // Consultant portfolio (UC-16 — consultant side)\n {\n id: 'healthybowl-consultant',\n label: t('healthybowl.nav.consultant', 'Consultant'),\n path: joinPath(basePath, 'consultant'),\n icon: <Stethoscope size={20} />,\n order: 44,\n group: 'support',\n },\n ];\n\n // All sections are reachable. Marketplace (UC-08), Network (UC-12) and\n // Traceability (UC-11) render real read data + their real create flows\n // (createMarketplaceProduct / createCommunityPost / createTraceBatch); the\n // few genuinely-unbacked actions (checkout, booking, QR resolution) show\n // honest \"not available yet\" states in-page rather than hiding the section.\n const cleanup = registerNavItems(navItems);\n return cleanup;\n }, [registerNavItems, basePath]);\n\n // Register footer items\n useEffect(() => {\n if (!registerFooterItems) return;\n\n const footerItems = [\n {\n id: 'healthybowl-status',\n label: t('healthybowl.footer.ready', 'HealthyBowl Ready'),\n type: 'status' as const,\n order: 10,\n section: 'left' as const,\n },\n ];\n\n const cleanup = registerFooterItems(footerItems);\n return cleanup;\n }, [registerFooterItems]);\n\n return (\n <FeatureFlagProvider workspaceId={null} gateway=\"global\" defaultEnabled={true}>\n <HealthyBowlProvider {...props}>\n <ErrorBoundary>\n <HealthyBowlRoutes />\n </ErrorBoundary>\n </HealthyBowlProvider>\n </FeatureFlagProvider>\n );\n};\n"],"mappings":";;;;;;;;;;AAoCA,IAAa,KAA6C,MAAU;CAClE,IAAM,EAAE,qBAAkB,wBAAqB,cAAW,QAAQ,GAC5D,EAAE,GAAG,MAAc,GAAS,EAC5B,IAAI,GACP,GAAa,MAA6B;EACzC,IAAM,IAAQ,EAAU,EAAI;AAC5B,SAAO,MAAU,IAAM,IAAW;IAEpC,CAAC,EAAU,CACZ,EAGK,KAAY,GAAc,OACZ,EAAK,SAAS,IAAI,GAAG,EAAK,MAAM,GAAG,GAAG,GAAG,MACzC,EAAK,WAAW,IAAI,GAAG,IAAO,IAAI;AAsOtD,QAjOA,QAAgB;AACT,QA2ML,QADgB,EAxMY;GAE1B;IACE,IAAI;IACJ,OAAO,EAAE,6BAA6B,YAAY;IAIlD,MAAM,EAAkB,EAAS;IACjC,MAAM,kBAAC,GAAD,EAAM,MAAM,IAAM,CAAA;IACxB,OAAO;IACP,OAAO;IACR;GAGD;IACE,IAAI;IACJ,OAAO,EAAE,wBAAwB,UAAU;IAC3C,MAAM,EAAS,GAAU,OAAO;IAChC,MAAM,kBAAC,GAAD,EAAS,MAAM,IAAM,CAAA;IAC3B,OAAO;IACP,OAAO;IACR;GAGD;IACE,IAAI;IACJ,OAAO,EAAE,yBAAyB,QAAQ;IAC1C,MAAM,EAAS,GAAU,QAAQ;IAC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