@burdenoff/microfe-healthybowl 2026.610.4 → 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.
- package/dist/healthybowl/HealthyBowlRoot.js +79 -78
- package/dist/healthybowl/HealthyBowlRoot.js.map +1 -1
- package/dist/healthybowl/HealthyBowlRoutes.js +194 -191
- package/dist/healthybowl/HealthyBowlRoutes.js.map +1 -1
- package/dist/healthybowl/hooks/useBasePath.js +7 -6
- package/dist/healthybowl/hooks/useBasePath.js.map +1 -1
- package/dist/healthybowl/pages/HomePage.js +13 -13
- package/dist/healthybowl/pages/analytics/AnalyticsOverviewPage.js +10 -10
- package/dist/healthybowl/pages/compliance/OrganicCertificationPage.js +16 -16
- package/dist/healthybowl/pages/crops/CropDetailsPage.js +5 -5
- package/dist/healthybowl/pages/crops/CropHarvestPage.js +27 -27
- package/dist/healthybowl/pages/crops/CropPlanningPage.js +25 -25
- package/dist/healthybowl/pages/crops/CropsPage.js +30 -30
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js +6 -6
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js +221 -221
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/PlanningDetailsPage.js +50 -50
- package/dist/healthybowl/pages/crops/PlanningDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/farm/FarmProfilePage.js +4 -4
- package/dist/healthybowl/pages/financial/FinancialDashboardPage.js +36 -36
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js +30 -30
- package/dist/healthybowl/pages/government-schemes/GovernmentDashboardPage.js +15 -15
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js +13 -13
- package/dist/healthybowl/pages/government-schemes/SchemeDiscoveryPage.js +38 -38
- package/dist/healthybowl/pages/government-schemes/SchemesOverviewPage.js +18 -18
- package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js +55 -55
- package/dist/healthybowl/pages/livestock/AnimalDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/AnimalRegistryPage.js +6 -6
- package/dist/healthybowl/pages/livestock/BreedingManagementPage.js +9 -9
- package/dist/healthybowl/pages/livestock/FeedManagementPage.js +115 -115
- package/dist/healthybowl/pages/livestock/FeedManagementPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/HealthRecordsPage.js +27 -27
- package/dist/healthybowl/pages/livestock/LivestockDashboardPage.js +8 -8
- package/dist/healthybowl/pages/livestock/ProductionTrackingPage.js +6 -6
- package/dist/healthybowl/pages/livestock/VaccinationSchedulePage.js +9 -9
- package/dist/healthybowl/pages/marketplace/CartPage.js +52 -52
- package/dist/healthybowl/pages/marketplace/CartPage.js.map +1 -1
- package/dist/healthybowl/pages/pest-management/PestOverviewPage.js +9 -9
- package/dist/healthybowl/pages/production/ProductionPlanningPage.js +23 -23
- package/dist/healthybowl/pages/products/ProductsOverviewPage.js +40 -40
- package/dist/healthybowl/pages/soil/SoilDashboardPage.js +23 -23
- package/dist/healthybowl/pages/traceability/BatchTrackingPage.js +5 -5
- package/dist/healthybowl/pages/traceability/QRCodesPage.js +19 -19
- package/dist/healthybowl/utils/helpers.js +9 -6
- package/dist/healthybowl/utils/helpers.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,191 +1,192 @@
|
|
|
1
1
|
import { HealthyBowlProvider as e } from "./context/HealthyBowlContext.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
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
|
|
11
|
-
let { registerNavItems:
|
|
12
|
-
let n =
|
|
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
|
-
}, [
|
|
15
|
-
return
|
|
16
|
-
if (
|
|
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:
|
|
20
|
-
path:
|
|
21
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
28
|
-
path:
|
|
29
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
36
|
-
path:
|
|
37
|
-
icon: /* @__PURE__ */ T
|
|
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:
|
|
44
|
-
path:
|
|
45
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
52
|
-
path:
|
|
53
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
60
|
-
path:
|
|
61
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
68
|
-
path:
|
|
69
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
76
|
-
path:
|
|
77
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
84
|
-
path:
|
|
85
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
92
|
-
path:
|
|
93
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
100
|
-
path:
|
|
101
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
108
|
-
path:
|
|
109
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
116
|
-
path:
|
|
117
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
124
|
-
path:
|
|
125
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
132
|
-
path:
|
|
133
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
140
|
-
path:
|
|
141
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
148
|
-
path:
|
|
149
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
156
|
-
path:
|
|
157
|
-
icon: /* @__PURE__ */
|
|
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:
|
|
164
|
-
path:
|
|
165
|
-
icon: /* @__PURE__ */
|
|
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
|
-
}, [
|
|
171
|
-
if (
|
|
171
|
+
}, [k, j]), a(() => {
|
|
172
|
+
if (A) return A([{
|
|
172
173
|
id: "healthybowl-status",
|
|
173
|
-
label:
|
|
174
|
+
label: N("healthybowl.footer.ready", "HealthyBowl Ready"),
|
|
174
175
|
type: "status",
|
|
175
176
|
order: 10,
|
|
176
177
|
section: "left"
|
|
177
178
|
}]);
|
|
178
|
-
}, [
|
|
179
|
+
}, [A]), /* @__PURE__ */ E(D, {
|
|
179
180
|
workspaceId: null,
|
|
180
181
|
gateway: "global",
|
|
181
182
|
defaultEnabled: !0,
|
|
182
|
-
children: /* @__PURE__ */
|
|
183
|
-
...
|
|
184
|
-
children: /* @__PURE__ */
|
|
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 {
|
|
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;IAEpC,CAAC,EAAU,CACZ,EAGK,KAAY,GAAc,OACZ,EAAK,SAAS,IAAI,GAAG,EAAK,MAAM,GAAG,GAAG,GAAG,MACzC,EAAK,WAAW,IAAI,GAAG,IAAO,IAAI;AAmOtD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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;IACjC,MAAM,kBAAC,GAAD,EAAO,MAAM,IAAM,CAAA;IACzB,OAAO;IACP,OAAO;IACR;GAGD;IACE,IAAI;IACJ,OAAO,EAAE,6BAA6B,YAAY;IAClD,MAAM,EAAS,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