@burdenoff/microfe-healthybowl 2026.1015.2 → 2026.1017.1

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.
@@ -1210,7 +1210,7 @@ var xt = 1440 * 60 * 1e3, St = 52, Ct = (e) => {
1210
1210
  d("healthybowl.crops.fieldDetail.succession.sowingLabel", "Sowing {{n}}", { n: (e.successionIndex ?? n) + 1 }),
1211
1211
  " ",
1212
1212
  "— ",
1213
- t(e.sowDate ?? e.startDate)
1213
+ t(e.sowDate?.trim() || e.startDate)
1214
1214
  ]
1215
1215
  }), e.seedlingsToRaise != null && /* @__PURE__ */ m("p", {
1216
1216
  className: "text-xs text-text-secondary",
@@ -102,7 +102,7 @@ var C = (e) => {
102
102
  }),
103
103
  children: [
104
104
  /* @__PURE__ */ _(l, {}),
105
- L ? /* @__PURE__ */ _(i, {
105
+ O ? L ? /* @__PURE__ */ _(i, {
106
106
  description: String(L.message ?? L),
107
107
  onRetry: () => void R()
108
108
  }) : I && F.length === 0 ? /* @__PURE__ */ _(o, {}) : F.length === 0 ? /* @__PURE__ */ _("div", {
@@ -300,6 +300,12 @@ var C = (e) => {
300
300
  ]
301
301
  }, t.pickupLocationId);
302
302
  })]
303
+ }) : /* @__PURE__ */ _("div", {
304
+ className: "mt-4",
305
+ children: /* @__PURE__ */ _(r, {
306
+ title: w("healthybowl.distribution.manifest.chooseDate.title", "Choose a collection date"),
307
+ description: w("healthybowl.distribution.manifest.chooseDate.description", "Select a date to see the boxes scheduled for collection.")
308
+ })
303
309
  }),
304
310
  /* @__PURE__ */ _(a, {
305
311
  toasts: T,
@@ -109,7 +109,7 @@ var w = () => {
109
109
  All: d("healthybowl.common.all", "All"),
110
110
  Available: d("healthybowl.network.mentors.availability.available", "Available"),
111
111
  Busy: d("healthybowl.network.mentors.availability.busy", "Busy")
112
- }, [D, O] = l(""), [k, He] = l("All"), [A, Ue] = l("All"), [j, We] = l("rating"), [Ge, M] = l(!1), [Ke, qe] = l(null), [N, Je] = l(/* @__PURE__ */ new Set()), [Ye, P] = l(!1), [F, Xe] = l(null), [I, L] = l(x), [Ze, Qe] = l(!1), [$e, R] = l(!1), [z, B] = l(null), [V, H] = l(S), [et, tt] = l(!1), [nt, rt] = l(null), [U, it] = l(null), at = [
112
+ }, [D, O] = l(""), [k, A] = l("All"), [j, He] = l("All"), [M, Ue] = l("rating"), [We, N] = l(!1), [Ge, Ke] = l(null), [P, qe] = l(/* @__PURE__ */ new Set()), [Je, F] = l(!1), [I, Ye] = l(null), [L, R] = l(x), [Xe, Ze] = l(!1), [Qe, z] = l(!1), [B, V] = l(null), [H, U] = l(S), [$e, et] = l(!1), [tt, nt] = l(null), [W, rt] = l(null), it = [
113
113
  {
114
114
  value: "available",
115
115
  label: d("healthybowl.network.mentors.availability.available", "Available")
@@ -122,20 +122,20 @@ var w = () => {
122
122
  value: "offline",
123
123
  label: d("healthybowl.network.mentors.availability.offline", "Offline")
124
124
  }
125
- ], W = ce(null), { toasts: ot, toast: G, dismiss: st } = ae(), K = ke.filter((e) => e.consultantType === "MENTOR"), q = (e, t) => L((n) => ({
125
+ ], G = ce(null), { toasts: at, toast: K, dismiss: ot } = ae(), st = ke.filter((e) => e.consultantType === "MENTOR"), q = (e, t) => R((n) => ({
126
126
  ...n,
127
127
  [e]: t
128
128
  })), ct = (e) => {
129
- L(x), Xe(e);
129
+ R(x), Ye(e);
130
130
  }, J = () => {
131
- Xe(null), L(x);
132
- }, Y = (e, t) => H((n) => ({
131
+ Ye(null), R(x);
132
+ }, Y = (e, t) => U((n) => ({
133
133
  ...n,
134
134
  [e]: t
135
135
  })), lt = () => {
136
- B(null), H(S), R(!0);
136
+ V(null), U(S), z(!0);
137
137
  }, ut = (e) => {
138
- B(e), H({
138
+ V(e), U({
139
139
  name: e.name,
140
140
  specialization: e.specialization,
141
141
  experience: String(e.experience),
@@ -147,113 +147,113 @@ var w = () => {
147
147
  mentoringSince: (e.mentoringSince ?? "").slice(0, 10),
148
148
  mentees: String(e.mentees),
149
149
  focusAreas: (e.focusAreas ?? []).join(", ")
150
- }), R(!0);
150
+ }), z(!0);
151
151
  }, X = () => {
152
- R(!1), B(null), H(S);
152
+ z(!1), V(null), U(S);
153
153
  }, dt = async () => {
154
- if (!V.name.trim() || !V.specialization.trim() || !V.location.trim()) {
155
- G({
154
+ if (!H.name.trim() || !H.specialization.trim() || !H.location.trim()) {
155
+ K({
156
156
  title: d("healthybowl.network.mentors.form.toast.missingFields.title", "Missing required fields"),
157
157
  description: d("healthybowl.network.mentors.form.toast.missingFields.description", "Name, specialization, and location are required."),
158
158
  variant: "warning"
159
159
  });
160
160
  return;
161
161
  }
162
- let e = V.languages.split(",").map((e) => e.trim()).filter((e) => e.length > 0), t = V.focusAreas.split(",").map((e) => e.trim()).filter((e) => e.length > 0);
163
- tt(!0);
162
+ let e = H.languages.split(",").map((e) => e.trim()).filter((e) => e.length > 0), t = H.focusAreas.split(",").map((e) => e.trim()).filter((e) => e.length > 0);
163
+ et(!0);
164
164
  try {
165
- z ? (await Ne({
166
- id: z.id,
167
- name: V.name.trim(),
168
- specialization: V.specialization.trim(),
169
- experience: Number(V.experience) || 0,
170
- rating: Number(V.rating) || 0,
171
- location: V.location.trim(),
172
- availability: V.availability,
173
- hourlyRate: Number(V.hourlyRate) || 0,
165
+ B ? (await Ne({
166
+ id: B.id,
167
+ name: H.name.trim(),
168
+ specialization: H.specialization.trim(),
169
+ experience: Number(H.experience) || 0,
170
+ rating: Number(H.rating) || 0,
171
+ location: H.location.trim(),
172
+ availability: H.availability,
173
+ hourlyRate: Number(H.hourlyRate) || 0,
174
174
  languages: e,
175
- mentoringSince: V.mentoringSince || void 0,
176
- mentees: Number(V.mentees) || 0,
175
+ mentoringSince: H.mentoringSince || void 0,
176
+ mentees: Number(H.mentees) || 0,
177
177
  focusAreas: t
178
- }), G({
178
+ }), K({
179
179
  title: d("healthybowl.network.mentors.form.toast.updated.title", "Mentor updated"),
180
- description: d("healthybowl.network.mentors.form.toast.updated.description", "{{name}} has been updated.", { name: V.name.trim() }),
180
+ description: d("healthybowl.network.mentors.form.toast.updated.description", "{{name}} has been updated.", { name: H.name.trim() }),
181
181
  variant: "success"
182
182
  })) : (await Me({
183
- name: V.name.trim(),
184
- specialization: V.specialization.trim(),
185
- experience: Number(V.experience) || 0,
186
- rating: Number(V.rating) || 0,
187
- location: V.location.trim(),
188
- availability: V.availability,
189
- hourlyRate: Number(V.hourlyRate) || 0,
183
+ name: H.name.trim(),
184
+ specialization: H.specialization.trim(),
185
+ experience: Number(H.experience) || 0,
186
+ rating: Number(H.rating) || 0,
187
+ location: H.location.trim(),
188
+ availability: H.availability,
189
+ hourlyRate: Number(H.hourlyRate) || 0,
190
190
  languages: e,
191
- mentoringSince: V.mentoringSince || void 0,
192
- mentees: Number(V.mentees) || 0,
191
+ mentoringSince: H.mentoringSince || void 0,
192
+ mentees: Number(H.mentees) || 0,
193
193
  focusAreas: t
194
- }), G({
194
+ }), K({
195
195
  title: d("healthybowl.network.mentors.form.toast.created.title", "Mentor added"),
196
- description: d("healthybowl.network.mentors.form.toast.created.description", "{{name}} has been added.", { name: V.name.trim() }),
196
+ description: d("healthybowl.network.mentors.form.toast.created.description", "{{name}} has been added.", { name: H.name.trim() }),
197
197
  variant: "success"
198
198
  })), X();
199
199
  } catch (e) {
200
- G({
200
+ K({
201
201
  title: d("healthybowl.network.mentors.form.toast.saveError.title", "Could not save mentor"),
202
202
  description: e instanceof Error ? e.message : d("healthybowl.network.mentors.form.toast.saveError.description", "Failed to save mentor"),
203
203
  variant: "error"
204
204
  });
205
205
  } finally {
206
- tt(!1);
206
+ et(!1);
207
207
  }
208
208
  }, ft = async (e) => {
209
- rt(e.id);
209
+ nt(e.id);
210
210
  try {
211
- await Pe(e.id), G({
211
+ await Pe(e.id), K({
212
212
  title: d("healthybowl.network.mentors.form.toast.deleted.title", "Mentor removed"),
213
213
  description: d("healthybowl.network.mentors.form.toast.deleted.description", "{{name}} has been removed.", { name: e.name }),
214
214
  variant: "success"
215
215
  });
216
216
  } catch (e) {
217
- G({
217
+ K({
218
218
  title: d("healthybowl.network.mentors.form.toast.deleteError.title", "Could not remove mentor"),
219
219
  description: e instanceof Error ? e.message : d("healthybowl.network.mentors.form.toast.deleteError.description", "Failed to remove mentor"),
220
220
  variant: "error"
221
221
  });
222
222
  } finally {
223
- rt(null);
223
+ nt(null);
224
224
  }
225
225
  }, Z = async (e, t) => {
226
- it(e);
226
+ rt(e);
227
227
  try {
228
228
  await je({
229
229
  id: e,
230
230
  status: t
231
- }), G({
231
+ }), K({
232
232
  title: d("healthybowl.network.mentors.toast.statusUpdated.title", "Status updated"),
233
233
  description: d("healthybowl.network.mentors.toast.statusUpdated.description", "The mentorship request has been moved to {{status}}.", { status: T[t] ?? t }),
234
234
  variant: "success"
235
235
  });
236
236
  } catch (e) {
237
- G({
237
+ K({
238
238
  title: d("healthybowl.network.mentors.toast.statusUpdateError.title", "Could not update status"),
239
239
  description: e instanceof Error ? e.message : d("healthybowl.network.mentors.toast.statusUpdateError.description", "Failed to update status"),
240
240
  variant: "error"
241
241
  });
242
242
  } finally {
243
- it(null);
243
+ rt(null);
244
244
  }
245
245
  };
246
246
  se(() => {
247
247
  let e = (e) => {
248
- W.current && !W.current.contains(e.target) && M(!1);
248
+ G.current && !G.current.contains(e.target) && N(!1);
249
249
  };
250
250
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
251
251
  }, []);
252
252
  let Q = w.filter((e) => {
253
- let t = (e.name ?? "").toLowerCase().includes(D.toLowerCase()) || (e.specialization ?? "").toLowerCase().includes(D.toLowerCase()) || (e.focusAreas ?? []).some((e) => e.toLowerCase().includes(D.toLowerCase())), n = k === "All" || (e.focusAreas ?? []).some((e) => e === k), r = A === "All" || e.availability === A.toLowerCase();
253
+ let t = (e.name ?? "").toLowerCase().includes(D.toLowerCase()) || (e.specialization ?? "").toLowerCase().includes(D.toLowerCase()) || (e.focusAreas ?? []).some((e) => e.toLowerCase().includes(D.toLowerCase())), n = k === "All" || (e.focusAreas ?? []).some((e) => e === k), r = j === "All" || e.availability === j.toLowerCase();
254
254
  return t && n && r;
255
255
  }).sort((e, t) => {
256
- switch (j) {
256
+ switch (M) {
257
257
  case "rating": return t.rating - e.rating;
258
258
  case "experience": return t.experience - e.experience;
259
259
  case "mentees": return t.mentees - e.mentees;
@@ -261,47 +261,47 @@ var w = () => {
261
261
  default: return 0;
262
262
  }
263
263
  }), pt = w.filter((e) => e.availability === "available").length, mt = w.length > 0 ? Math.round(w.reduce((e, t) => e + t.experience, 0) / w.length) : 0, ht = async () => {
264
- if (F) {
265
- if (!I.topic.trim() || !I.requestedDate) {
266
- G({
264
+ if (I) {
265
+ if (!L.topic.trim() || !L.requestedDate) {
266
+ K({
267
267
  title: d("healthybowl.network.mentors.toast.missingFields.title", "Missing required fields"),
268
268
  description: d("healthybowl.network.mentors.toast.missingFields.description", "Topic and preferred date are required."),
269
269
  variant: "warning"
270
270
  });
271
271
  return;
272
272
  }
273
- Qe(!0);
273
+ Ze(!0);
274
274
  try {
275
275
  await Ae({
276
276
  consultantType: "MENTOR",
277
- consultantId: F.id,
278
- consultantName: F.name,
279
- topic: I.topic.trim(),
280
- requestedDate: I.requestedDate,
281
- mode: I.mode,
282
- notes: I.notes.trim() || void 0,
283
- fee: F.hourlyRate
284
- }), G({
277
+ consultantId: I.id,
278
+ consultantName: I.name,
279
+ topic: L.topic.trim(),
280
+ requestedDate: L.requestedDate,
281
+ mode: L.mode,
282
+ notes: L.notes.trim() || void 0,
283
+ fee: I.hourlyRate
284
+ }), K({
285
285
  title: d("healthybowl.network.mentors.toast.requested.title", "Mentorship requested"),
286
- description: d("healthybowl.network.mentors.toast.requested.description", "Your request to {{name}} has been sent.", { name: F.name }),
286
+ description: d("healthybowl.network.mentors.toast.requested.description", "Your request to {{name}} has been sent.", { name: I.name }),
287
287
  variant: "success"
288
288
  }), J();
289
289
  } catch (e) {
290
- G({
290
+ K({
291
291
  title: d("healthybowl.network.mentors.toast.requestError.title", "Could not request mentorship"),
292
292
  description: e instanceof Error ? e.message : d("healthybowl.network.mentors.toast.requestError.description", "Failed to request mentorship"),
293
293
  variant: "error"
294
294
  });
295
295
  } finally {
296
- Qe(!1);
296
+ Ze(!1);
297
297
  }
298
298
  }
299
299
  }, gt = (e) => {
300
- Je((t) => {
300
+ qe((t) => {
301
301
  let n = new Set(t);
302
302
  if (n.has(e)) n.delete(e);
303
303
  else {
304
- if (n.size >= 3) return G({
304
+ if (n.size >= 3) return K({
305
305
  title: d("healthybowl.network.mentors.toast.limitReached.title", "Limit Reached"),
306
306
  description: d("healthybowl.network.mentors.toast.limitReached.description", "You can compare up to 3 mentors at a time"),
307
307
  variant: "warning"
@@ -311,16 +311,16 @@ var w = () => {
311
311
  return n;
312
312
  });
313
313
  }, _t = () => {
314
- if (N.size < 2) {
315
- G({
314
+ if (P.size < 2) {
315
+ K({
316
316
  title: d("healthybowl.network.mentors.toast.selectMentors.title", "Select Mentors"),
317
317
  description: d("healthybowl.network.mentors.toast.selectMentors.description", "Select at least 2 mentors to compare"),
318
318
  variant: "warning"
319
319
  });
320
320
  return;
321
321
  }
322
- P(!0);
323
- }, $ = w.filter((e) => N.has(e.id));
322
+ F(!0);
323
+ }, $ = w.filter((e) => P.has(e.id));
324
324
  return /* @__PURE__ */ m(a, {
325
325
  title: d("healthybowl.network.mentors.title", "Find a Mentor"),
326
326
  description: d("healthybowl.network.mentors.description", "Connect with experienced mentors for long-term guidance"),
@@ -369,7 +369,7 @@ var w = () => {
369
369
  children: [
370
370
  /* @__PURE__ */ m(g, {
371
371
  value: k,
372
- onValueChange: He,
372
+ onValueChange: A,
373
373
  children: [/* @__PURE__ */ p(y, {
374
374
  className: "h-8 w-auto",
375
375
  children: /* @__PURE__ */ p(b, {})
@@ -379,8 +379,8 @@ var w = () => {
379
379
  }, e)) })]
380
380
  }),
381
381
  /* @__PURE__ */ m(g, {
382
- value: A,
383
- onValueChange: Ue,
382
+ value: j,
383
+ onValueChange: He,
384
384
  children: [/* @__PURE__ */ p(y, {
385
385
  className: "h-8 w-auto",
386
386
  children: /* @__PURE__ */ p(b, {})
@@ -390,26 +390,26 @@ var w = () => {
390
390
  }, e)) })]
391
391
  }),
392
392
  /* @__PURE__ */ m("div", {
393
- ref: W,
393
+ ref: G,
394
394
  className: "relative",
395
395
  children: [/* @__PURE__ */ m(h, {
396
396
  variant: "outline",
397
397
  size: "sm",
398
- onClick: () => M((e) => !e),
398
+ onClick: () => N((e) => !e),
399
399
  children: [
400
400
  /* @__PURE__ */ p(ue, { className: "h-3.5 w-3.5" }),
401
- E[j],
401
+ E[M],
402
402
  /* @__PURE__ */ p(fe, { className: "h-3 w-3" })
403
403
  ]
404
- }), Ge && /* @__PURE__ */ p("div", {
404
+ }), We && /* @__PURE__ */ p("div", {
405
405
  className: "absolute end-0 z-10 mt-1 w-44 rounded-md border border-border-subtle bg-bg-surface py-1 shadow-lg",
406
406
  children: Object.keys(E).map((t) => /* @__PURE__ */ p(h, {
407
407
  variant: "ghost",
408
408
  size: "sm",
409
409
  onClick: () => {
410
- We(t), M(!1);
410
+ Ue(t), N(!1);
411
411
  },
412
- className: e("w-full justify-start rounded-none", j === t ? "font-semibold text-primary" : "text-text-primary"),
412
+ className: e("w-full justify-start rounded-none", M === t ? "font-semibold text-primary" : "text-text-primary"),
413
413
  children: E[t]
414
414
  }, t))
415
415
  })]
@@ -430,7 +430,7 @@ var w = () => {
430
430
  Q.length > 0 ? /* @__PURE__ */ p("div", {
431
431
  className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-3",
432
432
  children: Q.map((r) => {
433
- let i = Ke === r.id, a = r.rating >= 4.8;
433
+ let i = Ge === r.id, a = r.rating >= 4.8;
434
434
  return /* @__PURE__ */ m("div", {
435
435
  className: e("rounded-lg border bg-bg-surface p-5 transition-colors hover:border-primary/20", a ? "border-warning" : "border-border-subtle"),
436
436
  children: [
@@ -475,10 +475,12 @@ var w = () => {
475
475
  /* @__PURE__ */ p(pe, { className: "h-3 w-3" }),
476
476
  " ",
477
477
  d("healthybowl.network.mentors.card.experience", "{{count}} years exp", { count: r.experience }),
478
- " ",
479
- "·",
480
- " ",
481
- d("healthybowl.network.mentors.card.mentoringSince", "Mentoring since {{date}}", { date: n(r.mentoringSince) })
478
+ r.mentoringSince?.trim() && /* @__PURE__ */ m(f, { children: [
479
+ " ",
480
+ "·",
481
+ " ",
482
+ d("healthybowl.network.mentors.card.mentoringSince", "Mentoring since {{date}}", { date: n(r.mentoringSince) })
483
+ ] })
482
484
  ]
483
485
  }),
484
486
  /* @__PURE__ */ m("p", {
@@ -582,7 +584,7 @@ var w = () => {
582
584
  className: "flex items-center gap-1 text-xs text-text-secondary cursor-pointer",
583
585
  children: [/* @__PURE__ */ p("input", {
584
586
  type: "checkbox",
585
- checked: N.has(r.id),
587
+ checked: P.has(r.id),
586
588
  onChange: () => gt(r.id),
587
589
  className: "h-3.5 w-3.5 rounded border-border-subtle"
588
590
  }), d("healthybowl.network.mentors.card.compareLabel", "Compare")]
@@ -593,7 +595,7 @@ var w = () => {
593
595
  /* @__PURE__ */ p(h, {
594
596
  variant: "outline",
595
597
  size: "icon-sm",
596
- onClick: () => qe(i ? null : r.id),
598
+ onClick: () => Ke(i ? null : r.id),
597
599
  "aria-label": d("healthybowl.network.mentors.actions.viewProfile", "View profile"),
598
600
  children: /* @__PURE__ */ p(me, { className: "h-3.5 w-3.5" })
599
601
  }),
@@ -608,7 +610,7 @@ var w = () => {
608
610
  variant: "ghost",
609
611
  size: "icon-sm",
610
612
  onClick: () => ft(r),
611
- disabled: nt === r.id,
613
+ disabled: tt === r.id,
612
614
  "aria-label": d("healthybowl.network.mentors.actions.deleteMentor", "Delete mentor"),
613
615
  className: "text-status-error-text hover:bg-status-error-bg/10 hover:text-status-error-text",
614
616
  children: /* @__PURE__ */ p(xe, { className: "h-3.5 w-3.5" })
@@ -645,12 +647,12 @@ var w = () => {
645
647
  description: d("healthybowl.network.mentors.emptyState.noResults.description", "No mentors match your current filters. Try adjusting your search criteria."),
646
648
  action: /* @__PURE__ */ p(h, {
647
649
  onClick: () => {
648
- O(""), He("All"), Ue("All");
650
+ O(""), A("All"), He("All");
649
651
  },
650
652
  children: d("healthybowl.network.mentors.emptyState.noResults.clearFilters", "Clear Filters")
651
653
  })
652
654
  }),
653
- K.length > 0 && /* @__PURE__ */ m("div", {
655
+ st.length > 0 && /* @__PURE__ */ m("div", {
654
656
  className: "rounded-lg border border-border-subtle bg-bg-surface p-5",
655
657
  children: [/* @__PURE__ */ m("h3", {
656
658
  className: "flex items-center gap-2 text-sm font-semibold text-text-primary",
@@ -661,7 +663,7 @@ var w = () => {
661
663
  ]
662
664
  }), /* @__PURE__ */ p("ul", {
663
665
  className: "mt-3 divide-y divide-border",
664
- children: K.map((e) => /* @__PURE__ */ m("li", {
666
+ children: st.map((e) => /* @__PURE__ */ m("li", {
665
667
  className: "flex items-center justify-between gap-3 py-2.5",
666
668
  children: [/* @__PURE__ */ m("div", {
667
669
  className: "min-w-0",
@@ -686,26 +688,26 @@ var w = () => {
686
688
  size: "sm",
687
689
  variant: "outline",
688
690
  onClick: () => Z(e.id, "CONFIRMED"),
689
- disabled: U === e.id,
691
+ disabled: W === e.id,
690
692
  children: d("healthybowl.network.mentors.actions.accept", "Accept")
691
693
  }), /* @__PURE__ */ p(h, {
692
694
  size: "sm",
693
695
  variant: "ghost",
694
696
  onClick: () => Z(e.id, "CANCELLED"),
695
- disabled: U === e.id,
697
+ disabled: W === e.id,
696
698
  children: d("healthybowl.network.mentors.actions.decline", "Decline")
697
699
  })] }),
698
700
  e.status === "CONFIRMED" && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(h, {
699
701
  size: "sm",
700
702
  variant: "outline",
701
703
  onClick: () => Z(e.id, "COMPLETED"),
702
- disabled: U === e.id,
704
+ disabled: W === e.id,
703
705
  children: d("healthybowl.network.mentors.actions.complete", "Complete")
704
706
  }), /* @__PURE__ */ p(h, {
705
707
  size: "sm",
706
708
  variant: "ghost",
707
709
  onClick: () => Z(e.id, "CANCELLED"),
708
- disabled: U === e.id,
710
+ disabled: W === e.id,
709
711
  children: d("healthybowl.network.mentors.actions.cancel", "Cancel")
710
712
  })] }),
711
713
  /* @__PURE__ */ p(s, {
@@ -719,18 +721,18 @@ var w = () => {
719
721
  })]
720
722
  }),
721
723
  /* @__PURE__ */ p(c, {
722
- open: F !== null,
724
+ open: I !== null,
723
725
  onClose: J,
724
726
  title: d("healthybowl.network.mentors.booking.title", "Request Mentorship"),
725
- description: F ? d("healthybowl.network.mentors.booking.description", "Request guidance from {{name}}", { name: F.name }) : void 0,
727
+ description: I ? d("healthybowl.network.mentors.booking.description", "Request guidance from {{name}}", { name: I.name }) : void 0,
726
728
  footer: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(h, {
727
729
  variant: "outline",
728
730
  onClick: J,
729
731
  children: d("healthybowl.common.cancel", "Cancel")
730
732
  }), /* @__PURE__ */ p(h, {
731
733
  onClick: ht,
732
- disabled: Ze,
733
- children: Ze ? d("healthybowl.network.mentors.booking.sending", "Sending…") : d("healthybowl.network.mentors.booking.send", "Send Request")
734
+ disabled: Xe,
735
+ children: Xe ? d("healthybowl.network.mentors.booking.sending", "Sending…") : d("healthybowl.network.mentors.booking.send", "Send Request")
734
736
  })] }),
735
737
  children: /* @__PURE__ */ m("div", {
736
738
  className: "space-y-4",
@@ -742,7 +744,7 @@ var w = () => {
742
744
  }), /* @__PURE__ */ p("input", {
743
745
  id: "mentor-booking-topic",
744
746
  type: "text",
745
- value: I.topic,
747
+ value: L.topic,
746
748
  onChange: (e) => q("topic", e.target.value),
747
749
  maxLength: 200,
748
750
  placeholder: d("healthybowl.network.mentors.booking.fields.topic.placeholder", "What would you like guidance on?"),
@@ -757,7 +759,7 @@ var w = () => {
757
759
  }), /* @__PURE__ */ p("input", {
758
760
  id: "mentor-booking-date",
759
761
  type: "date",
760
- value: I.requestedDate,
762
+ value: L.requestedDate,
761
763
  onChange: (e) => q("requestedDate", e.target.value),
762
764
  min: i(),
763
765
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
@@ -766,7 +768,7 @@ var w = () => {
766
768
  className: "mb-1 block text-xs font-medium text-text-primary",
767
769
  children: d("healthybowl.network.mentors.booking.fields.mode.label", "Mode")
768
770
  }), /* @__PURE__ */ m(g, {
769
- value: I.mode,
771
+ value: L.mode,
770
772
  onValueChange: (e) => q("mode", e),
771
773
  children: [/* @__PURE__ */ p(y, {
772
774
  id: "mentor-booking-mode",
@@ -784,21 +786,21 @@ var w = () => {
784
786
  children: d("healthybowl.network.mentors.booking.fields.notes.label", "Notes (optional)")
785
787
  }), /* @__PURE__ */ p("textarea", {
786
788
  id: "mentor-booking-notes",
787
- value: I.notes,
789
+ value: L.notes,
788
790
  onChange: (e) => q("notes", e.target.value),
789
791
  rows: 3,
790
792
  maxLength: 1e3,
791
793
  placeholder: d("healthybowl.network.mentors.booking.fields.notes.placeholder", "Any additional context for the mentor"),
792
794
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
793
795
  })] }),
794
- F && /* @__PURE__ */ m("p", {
796
+ I && /* @__PURE__ */ m("p", {
795
797
  className: "text-xs text-text-secondary",
796
798
  children: [
797
799
  d("healthybowl.network.mentors.booking.estimatedFee", "Estimated fee:"),
798
800
  " ",
799
801
  /* @__PURE__ */ p("span", {
800
802
  className: "font-medium text-text-primary",
801
- children: d("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(F.hourlyRate, "INR") })
803
+ children: d("healthybowl.network.mentors.card.perHour", "{{amount}}/hr", { amount: t(I.hourlyRate, "INR") })
802
804
  })
803
805
  ]
804
806
  })
@@ -806,14 +808,14 @@ var w = () => {
806
808
  })
807
809
  }),
808
810
  /* @__PURE__ */ p(c, {
809
- open: Ye,
810
- onClose: () => P(!1),
811
+ open: Je,
812
+ onClose: () => F(!1),
811
813
  title: d("healthybowl.network.mentors.compare.title", "Compare Mentors"),
812
814
  description: d("healthybowl.network.mentors.compare.description", "Comparing {{count}} mentors", { count: $.length }),
813
815
  size: "lg",
814
816
  footer: /* @__PURE__ */ p(h, {
815
817
  variant: "outline",
816
- onClick: () => P(!1),
818
+ onClick: () => F(!1),
817
819
  children: d("healthybowl.common.close", "Close")
818
820
  }),
819
821
  children: $.length > 0 && /* @__PURE__ */ p("div", {
@@ -901,9 +903,9 @@ var w = () => {
901
903
  })
902
904
  }),
903
905
  /* @__PURE__ */ p(c, {
904
- open: $e,
906
+ open: Qe,
905
907
  onClose: X,
906
- title: z ? d("healthybowl.network.mentors.form.editTitle", "Edit Mentor") : d("healthybowl.network.mentors.form.addTitle", "Add Mentor"),
908
+ title: B ? d("healthybowl.network.mentors.form.editTitle", "Edit Mentor") : d("healthybowl.network.mentors.form.addTitle", "Add Mentor"),
907
909
  description: d("healthybowl.network.mentors.form.description", "Manage a mentor in your network directory"),
908
910
  size: "lg",
909
911
  footer: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(h, {
@@ -912,8 +914,8 @@ var w = () => {
912
914
  children: d("healthybowl.common.cancel", "Cancel")
913
915
  }), /* @__PURE__ */ p(h, {
914
916
  onClick: dt,
915
- disabled: et,
916
- children: et ? d("healthybowl.network.mentors.form.saving", "Saving…") : d("healthybowl.network.mentors.form.save", "Save Mentor")
917
+ disabled: $e,
918
+ children: $e ? d("healthybowl.network.mentors.form.saving", "Saving…") : d("healthybowl.network.mentors.form.save", "Save Mentor")
917
919
  })] }),
918
920
  children: /* @__PURE__ */ m("div", {
919
921
  className: "space-y-4",
@@ -927,7 +929,7 @@ var w = () => {
927
929
  }), /* @__PURE__ */ p("input", {
928
930
  id: "mentor-form-name",
929
931
  type: "text",
930
- value: V.name,
932
+ value: H.name,
931
933
  onChange: (e) => Y("name", e.target.value),
932
934
  maxLength: 120,
933
935
  placeholder: d("healthybowl.network.mentors.form.fields.name.placeholder", "Full name"),
@@ -939,7 +941,7 @@ var w = () => {
939
941
  }), /* @__PURE__ */ p("input", {
940
942
  id: "mentor-form-specialization",
941
943
  type: "text",
942
- value: V.specialization,
944
+ value: H.specialization,
943
945
  onChange: (e) => Y("specialization", e.target.value),
944
946
  maxLength: 120,
945
947
  placeholder: d("healthybowl.network.mentors.form.fields.specialization.placeholder", "e.g. Regenerative Agriculture"),
@@ -957,7 +959,7 @@ var w = () => {
957
959
  id: "mentor-form-experience",
958
960
  type: "number",
959
961
  min: 0,
960
- value: V.experience,
962
+ value: H.experience,
961
963
  onChange: (e) => Y("experience", e.target.value),
962
964
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
963
965
  })] }),
@@ -971,7 +973,7 @@ var w = () => {
971
973
  min: 0,
972
974
  max: 5,
973
975
  step: .1,
974
- value: V.rating,
976
+ value: H.rating,
975
977
  onChange: (e) => Y("rating", e.target.value),
976
978
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
977
979
  })] }),
@@ -984,7 +986,7 @@ var w = () => {
984
986
  type: "number",
985
987
  min: 0,
986
988
  step: .01,
987
- value: V.hourlyRate,
989
+ value: H.hourlyRate,
988
990
  onChange: (e) => Y("hourlyRate", e.target.value),
989
991
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
990
992
  })] })
@@ -1000,7 +1002,7 @@ var w = () => {
1000
1002
  }), /* @__PURE__ */ p("input", {
1001
1003
  id: "mentor-form-location",
1002
1004
  type: "text",
1003
- value: V.location,
1005
+ value: H.location,
1004
1006
  onChange: (e) => Y("location", e.target.value),
1005
1007
  maxLength: 120,
1006
1008
  placeholder: d("healthybowl.network.mentors.form.fields.location.placeholder", "City, Region"),
@@ -1011,13 +1013,13 @@ var w = () => {
1011
1013
  className: "mb-1 block text-xs font-medium text-text-primary",
1012
1014
  children: d("healthybowl.network.mentors.form.fields.availability.label", "Availability")
1013
1015
  }), /* @__PURE__ */ m(g, {
1014
- value: V.availability,
1016
+ value: H.availability,
1015
1017
  onValueChange: (e) => Y("availability", e),
1016
1018
  children: [/* @__PURE__ */ p(y, {
1017
1019
  id: "mentor-form-availability",
1018
1020
  className: "w-full",
1019
1021
  children: /* @__PURE__ */ p(b, {})
1020
- }), /* @__PURE__ */ p(_, { children: at.map((e) => /* @__PURE__ */ p(v, {
1022
+ }), /* @__PURE__ */ p(_, { children: it.map((e) => /* @__PURE__ */ p(v, {
1021
1023
  value: e.value,
1022
1024
  children: e.label
1023
1025
  }, e.value)) })]
@@ -1030,7 +1032,7 @@ var w = () => {
1030
1032
  id: "mentor-form-mentees",
1031
1033
  type: "number",
1032
1034
  min: 0,
1033
- value: V.mentees,
1035
+ value: H.mentees,
1034
1036
  onChange: (e) => Y("mentees", e.target.value),
1035
1037
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
1036
1038
  })] })
@@ -1045,7 +1047,7 @@ var w = () => {
1045
1047
  }), /* @__PURE__ */ p("input", {
1046
1048
  id: "mentor-form-since",
1047
1049
  type: "date",
1048
- value: V.mentoringSince,
1050
+ value: H.mentoringSince,
1049
1051
  onChange: (e) => Y("mentoringSince", e.target.value),
1050
1052
  max: i(),
1051
1053
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
@@ -1058,7 +1060,7 @@ var w = () => {
1058
1060
  /* @__PURE__ */ p("input", {
1059
1061
  id: "mentor-form-languages",
1060
1062
  type: "text",
1061
- value: V.languages,
1063
+ value: H.languages,
1062
1064
  onChange: (e) => Y("languages", e.target.value),
1063
1065
  placeholder: d("healthybowl.network.mentors.form.fields.languages.placeholder", "English, Hindi, Tamil"),
1064
1066
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
@@ -1078,7 +1080,7 @@ var w = () => {
1078
1080
  /* @__PURE__ */ p("input", {
1079
1081
  id: "mentor-form-focus",
1080
1082
  type: "text",
1081
- value: V.focusAreas,
1083
+ value: H.focusAreas,
1082
1084
  onChange: (e) => Y("focusAreas", e.target.value),
1083
1085
  placeholder: d("healthybowl.network.mentors.form.fields.focusAreas.placeholder", "Cover Cropping, No-Till Farming"),
1084
1086
  className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
@@ -1092,8 +1094,8 @@ var w = () => {
1092
1094
  })
1093
1095
  }),
1094
1096
  /* @__PURE__ */ p(re, {
1095
- toasts: ot,
1096
- onDismiss: st
1097
+ toasts: at,
1098
+ onDismiss: ot
1097
1099
  })
1098
1100
  ]
1099
1101
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-healthybowl",
3
- "version": "2026.1015.2",
3
+ "version": "2026.1017.1",
4
4
  "description": "Burdenoff HealthyBowl Microfrontend - Comprehensive organic farming and agro-foods management platform",
5
5
  "type": "module",
6
6
  "files": [