@burdenoff/microfe-healthybowl 2026.630.4 → 2026.703.2
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 +81 -73
- package/dist/healthybowl/HealthyBowlRoot.js.map +1 -1
- package/dist/healthybowl/HealthyBowlRoutes.js +196 -192
- package/dist/healthybowl/HealthyBowlRoutes.js.map +1 -1
- package/dist/healthybowl/pages/tasks/TasksPage.js +50 -0
- package/dist/healthybowl/pages/tasks/TasksPage.js.map +1 -0
- package/dist/healthybowl/pages/tasks/useDefaultTaskProject.js +79 -0
- package/dist/healthybowl/pages/tasks/useDefaultTaskProject.js.map +1 -0
- package/dist/node_modules/@burdenoff/planmagnet-fe-sdk/dist/index.js +1868 -0
- package/dist/node_modules/@burdenoff/planmagnet-fe-sdk/dist/index.js.map +1 -0
- package/dist/node_modules/class-variance-authority/dist/index.js +35 -0
- package/dist/node_modules/class-variance-authority/dist/index.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +8 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +9 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +384 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +45 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +42 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +10 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +10 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +13 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js.map +1 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +25 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js.map +1 -0
- package/dist/node_modules/date-fns/addDays.js +11 -0
- package/dist/node_modules/date-fns/addDays.js.map +1 -0
- package/dist/node_modules/date-fns/addMonths.js +14 -0
- package/dist/node_modules/date-fns/addMonths.js.map +1 -0
- package/dist/node_modules/date-fns/addWeeks.js +9 -0
- package/dist/node_modules/date-fns/addWeeks.js.map +1 -0
- package/dist/node_modules/date-fns/constants.js +8 -0
- package/dist/node_modules/date-fns/constants.js.map +1 -0
- package/dist/node_modules/date-fns/constructFrom.js +9 -0
- package/dist/node_modules/date-fns/constructFrom.js.map +1 -0
- package/dist/node_modules/date-fns/constructNow.js +9 -0
- package/dist/node_modules/date-fns/constructNow.js.map +1 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +13 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js.map +1 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +17 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js.map +1 -0
- package/dist/node_modules/date-fns/endOfMonth.js +10 -0
- package/dist/node_modules/date-fns/endOfMonth.js.map +1 -0
- package/dist/node_modules/date-fns/endOfWeek.js +11 -0
- package/dist/node_modules/date-fns/endOfWeek.js.map +1 -0
- package/dist/node_modules/date-fns/format.js +61 -0
- package/dist/node_modules/date-fns/format.js.map +1 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +12 -0
- package/dist/node_modules/date-fns/getDayOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeek.js +13 -0
- package/dist/node_modules/date-fns/getISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +16 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/getWeek.js +13 -0
- package/dist/node_modules/date-fns/getWeek.js.map +1 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/getWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/isDate.js +8 -0
- package/dist/node_modules/date-fns/isDate.js.map +1 -0
- package/dist/node_modules/date-fns/isSameDay.js +11 -0
- package/dist/node_modules/date-fns/isSameDay.js.map +1 -0
- package/dist/node_modules/date-fns/isSameMonth.js +10 -0
- package/dist/node_modules/date-fns/isSameMonth.js.map +1 -0
- package/dist/node_modules/date-fns/isToday.js +11 -0
- package/dist/node_modules/date-fns/isToday.js.map +1 -0
- package/dist/node_modules/date-fns/isValid.js +10 -0
- package/dist/node_modules/date-fns/isValid.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +11 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +19 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +24 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +20 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +71 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +34 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +13 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +204 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +126 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js.map +1 -0
- package/dist/node_modules/date-fns/locale/en-US.js +22 -0
- package/dist/node_modules/date-fns/locale/en-US.js.map +1 -0
- package/dist/node_modules/date-fns/parseISO.js +119 -0
- package/dist/node_modules/date-fns/parseISO.js.map +1 -0
- package/dist/node_modules/date-fns/startOfDay.js +10 -0
- package/dist/node_modules/date-fns/startOfDay.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +12 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +12 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfMonth.js +10 -0
- package/dist/node_modules/date-fns/startOfMonth.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeek.js.map +1 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js.map +1 -0
- package/dist/node_modules/date-fns/startOfYear.js +10 -0
- package/dist/node_modules/date-fns/startOfYear.js.map +1 -0
- package/dist/node_modules/date-fns/toDate.js +9 -0
- package/dist/node_modules/date-fns/toDate.js.map +1 -0
- package/package.json +2 -1
|
@@ -5,189 +5,197 @@ import { ConfirmProvider as r } from "./components/ConfirmDialog.js";
|
|
|
5
5
|
import { HealthyBowlRoutes as i } from "./HealthyBowlRoutes.js";
|
|
6
6
|
import { useCallback as a, useEffect as o } from "react";
|
|
7
7
|
import { useI18n as s } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
8
|
-
import { Banknote as c, BarChart3 as l, Bug as u, Cloud as d, DollarSign as f, Factory as p, FlaskConical as m, Home as h, Landmark as g,
|
|
9
|
-
import { jsx as
|
|
10
|
-
import { FeatureFlagProvider as
|
|
8
|
+
import { Banknote as c, BarChart3 as l, Bug as u, Cloud as d, DollarSign as f, Factory as p, FlaskConical as m, Home as h, Landmark as g, ListChecks as _, Package as v, PawPrint as y, ScanLine as b, ShieldCheck as x, ShoppingCart as S, Stethoscope as C, Tractor as w, UserCheck as T, Users as E, Wheat as D } from "lucide-react";
|
|
9
|
+
import { jsx as O } from "react/jsx-runtime";
|
|
10
|
+
import { FeatureFlagProvider as k } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
11
11
|
//#region src/healthybowl/HealthyBowlRoot.tsx
|
|
12
|
-
var
|
|
13
|
-
let { registerNavItems:
|
|
14
|
-
let n =
|
|
12
|
+
var A = (A) => {
|
|
13
|
+
let { registerNavItems: j, registerFooterItems: M, basePath: N = "/" } = A, { t: P } = s(), F = a((e, t) => {
|
|
14
|
+
let n = P(e);
|
|
15
15
|
return n === e ? t : n;
|
|
16
|
-
}, [
|
|
16
|
+
}, [P]), I = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
17
17
|
return o(() => {
|
|
18
|
-
if (
|
|
18
|
+
if (j) return j([
|
|
19
19
|
{
|
|
20
20
|
id: "healthybowl-dashboard",
|
|
21
|
-
label:
|
|
22
|
-
path: t(
|
|
23
|
-
icon: /* @__PURE__ */
|
|
21
|
+
label: F("healthybowl.nav.dashboard", "Dashboard"),
|
|
22
|
+
path: t(N),
|
|
23
|
+
icon: /* @__PURE__ */ O(h, { size: 20 }),
|
|
24
24
|
order: 1,
|
|
25
25
|
group: "main"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
id: "healthybowl-farm",
|
|
29
|
-
label:
|
|
30
|
-
path:
|
|
31
|
-
icon: /* @__PURE__ */
|
|
29
|
+
label: F("healthybowl.nav.farm", "My Farm"),
|
|
30
|
+
path: I(N, "farm"),
|
|
31
|
+
icon: /* @__PURE__ */ O(w, { size: 20 }),
|
|
32
32
|
order: 2,
|
|
33
33
|
group: "main"
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
id: "healthybowl-tasks",
|
|
37
|
+
label: F("healthybowl.nav.tasks", "Tasks"),
|
|
38
|
+
path: I(N, "tasks"),
|
|
39
|
+
icon: /* @__PURE__ */ O(_, { size: 20 }),
|
|
40
|
+
order: 3,
|
|
41
|
+
group: "main"
|
|
42
|
+
},
|
|
35
43
|
{
|
|
36
44
|
id: "healthybowl-crops",
|
|
37
|
-
label:
|
|
38
|
-
path:
|
|
39
|
-
icon: /* @__PURE__ */ D
|
|
45
|
+
label: F("healthybowl.nav.crops", "Crops"),
|
|
46
|
+
path: I(N, "crops"),
|
|
47
|
+
icon: /* @__PURE__ */ O(D, { size: 20 }),
|
|
40
48
|
order: 10,
|
|
41
49
|
group: "farming"
|
|
42
50
|
},
|
|
43
51
|
{
|
|
44
52
|
id: "healthybowl-livestock",
|
|
45
|
-
label:
|
|
46
|
-
path:
|
|
47
|
-
icon: /* @__PURE__ */
|
|
53
|
+
label: F("healthybowl.nav.livestock", "Livestock"),
|
|
54
|
+
path: I(N, "livestock"),
|
|
55
|
+
icon: /* @__PURE__ */ O(y, { size: 20 }),
|
|
48
56
|
order: 11,
|
|
49
57
|
group: "farming"
|
|
50
58
|
},
|
|
51
59
|
{
|
|
52
60
|
id: "healthybowl-weather",
|
|
53
|
-
label:
|
|
54
|
-
path:
|
|
55
|
-
icon: /* @__PURE__ */
|
|
61
|
+
label: F("healthybowl.nav.weather", "Weather"),
|
|
62
|
+
path: I(N, "weather"),
|
|
63
|
+
icon: /* @__PURE__ */ O(d, { size: 20 }),
|
|
56
64
|
order: 12,
|
|
57
65
|
group: "farming"
|
|
58
66
|
},
|
|
59
67
|
{
|
|
60
68
|
id: "healthybowl-soil",
|
|
61
|
-
label:
|
|
62
|
-
path:
|
|
63
|
-
icon: /* @__PURE__ */
|
|
69
|
+
label: F("healthybowl.nav.soilHealth", "Soil Health"),
|
|
70
|
+
path: I(N, "soil"),
|
|
71
|
+
icon: /* @__PURE__ */ O(m, { size: 20 }),
|
|
64
72
|
order: 13,
|
|
65
73
|
group: "farming"
|
|
66
74
|
},
|
|
67
75
|
{
|
|
68
76
|
id: "healthybowl-pest",
|
|
69
|
-
label:
|
|
70
|
-
path:
|
|
71
|
-
icon: /* @__PURE__ */
|
|
77
|
+
label: F("healthybowl.nav.pestManagement", "Pest Management"),
|
|
78
|
+
path: I(N, "pest-management"),
|
|
79
|
+
icon: /* @__PURE__ */ O(u, { size: 20 }),
|
|
72
80
|
order: 14,
|
|
73
81
|
group: "farming"
|
|
74
82
|
},
|
|
75
83
|
{
|
|
76
84
|
id: "healthybowl-production",
|
|
77
|
-
label:
|
|
78
|
-
path:
|
|
79
|
-
icon: /* @__PURE__ */
|
|
85
|
+
label: F("healthybowl.nav.production", "Production"),
|
|
86
|
+
path: I(N, "production"),
|
|
87
|
+
icon: /* @__PURE__ */ O(p, { size: 20 }),
|
|
80
88
|
order: 20,
|
|
81
89
|
group: "business"
|
|
82
90
|
},
|
|
83
91
|
{
|
|
84
92
|
id: "healthybowl-products",
|
|
85
|
-
label:
|
|
86
|
-
path:
|
|
87
|
-
icon: /* @__PURE__ */
|
|
93
|
+
label: F("healthybowl.nav.products", "Products"),
|
|
94
|
+
path: I(N, "products"),
|
|
95
|
+
icon: /* @__PURE__ */ O(v, { size: 20 }),
|
|
88
96
|
order: 21,
|
|
89
97
|
group: "business"
|
|
90
98
|
},
|
|
91
99
|
{
|
|
92
100
|
id: "healthybowl-marketplace",
|
|
93
|
-
label:
|
|
94
|
-
path:
|
|
95
|
-
icon: /* @__PURE__ */
|
|
101
|
+
label: F("healthybowl.nav.marketplace", "Marketplace"),
|
|
102
|
+
path: I(N, "marketplace"),
|
|
103
|
+
icon: /* @__PURE__ */ O(S, { size: 20 }),
|
|
96
104
|
order: 22,
|
|
97
105
|
group: "business"
|
|
98
106
|
},
|
|
99
107
|
{
|
|
100
108
|
id: "healthybowl-financial",
|
|
101
|
-
label:
|
|
102
|
-
path:
|
|
103
|
-
icon: /* @__PURE__ */
|
|
109
|
+
label: F("healthybowl.nav.financial", "Financial"),
|
|
110
|
+
path: I(N, "financial"),
|
|
111
|
+
icon: /* @__PURE__ */ O(f, { size: 20 }),
|
|
104
112
|
order: 23,
|
|
105
113
|
group: "business"
|
|
106
114
|
},
|
|
107
115
|
{
|
|
108
116
|
id: "healthybowl-financier",
|
|
109
|
-
label:
|
|
110
|
-
path:
|
|
111
|
-
icon: /* @__PURE__ */
|
|
117
|
+
label: F("healthybowl.nav.financier", "Financier"),
|
|
118
|
+
path: I(N, "financier"),
|
|
119
|
+
icon: /* @__PURE__ */ O(c, { size: 20 }),
|
|
112
120
|
order: 24,
|
|
113
121
|
group: "business"
|
|
114
122
|
},
|
|
115
123
|
{
|
|
116
124
|
id: "healthybowl-compliance",
|
|
117
|
-
label:
|
|
118
|
-
path:
|
|
119
|
-
icon: /* @__PURE__ */
|
|
125
|
+
label: F("healthybowl.nav.compliance", "Compliance"),
|
|
126
|
+
path: I(N, "compliance"),
|
|
127
|
+
icon: /* @__PURE__ */ O(x, { size: 20 }),
|
|
120
128
|
order: 30,
|
|
121
129
|
group: "compliance"
|
|
122
130
|
},
|
|
123
131
|
{
|
|
124
132
|
id: "healthybowl-traceability",
|
|
125
|
-
label:
|
|
126
|
-
path:
|
|
127
|
-
icon: /* @__PURE__ */
|
|
133
|
+
label: F("healthybowl.nav.traceability", "Traceability"),
|
|
134
|
+
path: I(N, "traceability"),
|
|
135
|
+
icon: /* @__PURE__ */ O(b, { size: 20 }),
|
|
128
136
|
order: 31,
|
|
129
137
|
group: "compliance"
|
|
130
138
|
},
|
|
131
139
|
{
|
|
132
140
|
id: "healthybowl-schemes",
|
|
133
|
-
label:
|
|
134
|
-
path:
|
|
135
|
-
icon: /* @__PURE__ */
|
|
141
|
+
label: F("healthybowl.nav.governmentSchemes", "Gov. Schemes"),
|
|
142
|
+
path: I(N, "government-schemes"),
|
|
143
|
+
icon: /* @__PURE__ */ O(g, { size: 20 }),
|
|
136
144
|
order: 40,
|
|
137
145
|
group: "support"
|
|
138
146
|
},
|
|
139
147
|
{
|
|
140
148
|
id: "healthybowl-network",
|
|
141
|
-
label:
|
|
142
|
-
path:
|
|
143
|
-
icon: /* @__PURE__ */
|
|
149
|
+
label: F("healthybowl.nav.network", "Network"),
|
|
150
|
+
path: I(N, "network"),
|
|
151
|
+
icon: /* @__PURE__ */ O(E, { size: 20 }),
|
|
144
152
|
order: 41,
|
|
145
153
|
group: "support"
|
|
146
154
|
},
|
|
147
155
|
{
|
|
148
156
|
id: "healthybowl-analytics",
|
|
149
|
-
label:
|
|
150
|
-
path:
|
|
151
|
-
icon: /* @__PURE__ */
|
|
157
|
+
label: F("healthybowl.nav.analytics", "Analytics"),
|
|
158
|
+
path: I(N, "analytics"),
|
|
159
|
+
icon: /* @__PURE__ */ O(l, { size: 20 }),
|
|
152
160
|
order: 42,
|
|
153
161
|
group: "support"
|
|
154
162
|
},
|
|
155
163
|
{
|
|
156
164
|
id: "healthybowl-advisors",
|
|
157
|
-
label:
|
|
158
|
-
path:
|
|
159
|
-
icon: /* @__PURE__ */
|
|
165
|
+
label: F("healthybowl.nav.advisors", "My Advisors"),
|
|
166
|
+
path: I(N, "advisors"),
|
|
167
|
+
icon: /* @__PURE__ */ O(T, { size: 20 }),
|
|
160
168
|
order: 43,
|
|
161
169
|
group: "support"
|
|
162
170
|
},
|
|
163
171
|
{
|
|
164
172
|
id: "healthybowl-consultant",
|
|
165
|
-
label:
|
|
166
|
-
path:
|
|
167
|
-
icon: /* @__PURE__ */
|
|
173
|
+
label: F("healthybowl.nav.consultant", "Consultant"),
|
|
174
|
+
path: I(N, "consultant"),
|
|
175
|
+
icon: /* @__PURE__ */ O(C, { size: 20 }),
|
|
168
176
|
order: 44,
|
|
169
177
|
group: "support"
|
|
170
178
|
}
|
|
171
179
|
]);
|
|
172
|
-
}, [
|
|
173
|
-
if (
|
|
180
|
+
}, [j, N]), o(() => {
|
|
181
|
+
if (M) return M([{
|
|
174
182
|
id: "healthybowl-status",
|
|
175
|
-
label:
|
|
183
|
+
label: F("healthybowl.footer.ready", "HealthyBowl Ready"),
|
|
176
184
|
type: "status",
|
|
177
185
|
order: 10,
|
|
178
186
|
section: "left"
|
|
179
187
|
}]);
|
|
180
|
-
}, [
|
|
188
|
+
}, [M]), /* @__PURE__ */ O(k, {
|
|
181
189
|
workspaceId: null,
|
|
182
190
|
gateway: "global",
|
|
183
191
|
defaultEnabled: !0,
|
|
184
|
-
children: /* @__PURE__ */
|
|
185
|
-
...
|
|
186
|
-
children: /* @__PURE__ */
|
|
192
|
+
children: /* @__PURE__ */ O(e, {
|
|
193
|
+
...A,
|
|
194
|
+
children: /* @__PURE__ */ O(n, { children: /* @__PURE__ */ O(r, { children: /* @__PURE__ */ O(i, {}) }) })
|
|
187
195
|
})
|
|
188
196
|
});
|
|
189
197
|
};
|
|
190
198
|
//#endregion
|
|
191
|
-
export {
|
|
199
|
+
export { A as HealthyBowlRoot };
|
|
192
200
|
|
|
193
201
|
//# 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 { ConfirmProvider } from './components/ConfirmDialog';\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 <ConfirmProvider>\n <HealthyBowlRoutes />\n </ConfirmProvider>\n </ErrorBoundary>\n </HealthyBowl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AM,SAAQ;EAAS,gBAAgB;YACvE,kBAAC,GAAD;GAAqB,GAAI;aACvB,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAAA,UACE,kBAAC,GAAD,EAAqB,CAAA,EACL,CAAA,EACJ,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 ListChecks,\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 { ConfirmProvider } from './components/ConfirmDialog';\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 // Farm Tasks (PlanMagnet embed) — shared work-item board across the farm.\n {\n id: 'healthybowl-tasks',\n label: t('healthybowl.nav.tasks', 'Tasks'),\n path: joinPath(basePath, 'tasks'),\n icon: <ListChecks size={20} />,\n order: 3,\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 <ConfirmProvider>\n <HealthyBowlRoutes />\n </ConfirmProvider>\n </ErrorBoundary>\n </HealthyBowlProvider>\n </FeatureFlagProvider>\n );\n};\n"],"mappings":";;;;;;;;;;;AAsCA,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,SA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