@burdenoff/microfe-healthybowl 2026.810.6 → 2026.810.8

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.
@@ -0,0 +1,183 @@
1
+ import { useHealthyBowl as e } from "../context/HealthyBowlContext.js";
2
+ import { useToast as t } from "../hooks/useToast.js";
3
+ import { useMemo as n, useState as r } from "react";
4
+ import { useI18n as i } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
5
+ import { LayoutGrid as a, Loader2 as o } from "lucide-react";
6
+ import { jsx as s, jsxs as c } from "react/jsx-runtime";
7
+ import { Button as l } from "@burdenoff/fe-libs/ui";
8
+ import { gql as u } from "@apollo/client";
9
+ import { useMutation as d, useQuery as f } from "@apollo/client/react";
10
+ //#region src/healthybowl/components/BedLayoutGrid.tsx
11
+ var p = u`
12
+ query HealthyBowlFieldDetailBeds($context: ContextInput!, $fieldId: ID) {
13
+ healthyBowlBeds(context: $context, fieldId: $fieldId) {
14
+ id
15
+ fieldId
16
+ name
17
+ area
18
+ unit
19
+ cropId
20
+ plantCount
21
+ status
22
+ }
23
+ }
24
+ `, m = u`
25
+ mutation UpdateHealthyBowlFieldDetailBed($input: UpdateHealthyBowlBedInput!) {
26
+ updateHealthyBowlBed(input: $input) {
27
+ id
28
+ cropId
29
+ plantCount
30
+ status
31
+ }
32
+ }
33
+ `;
34
+ function h(e, t) {
35
+ return e === "planted" || t ? "border-success/50 bg-success/10" : e === "fallow" ? "border-muted/50 bg-muted/10" : "border-warning/50 bg-warning/10";
36
+ }
37
+ function g({ fieldId: u, crops: g }) {
38
+ let { t: _ } = i(), { workspaceId: v } = e(), { toast: y } = t(), [b, x] = r(null), { data: S, loading: C, error: w, refetch: T } = f(p, {
39
+ variables: {
40
+ context: { workspaceId: v },
41
+ fieldId: u
42
+ },
43
+ skip: !v || !u
44
+ }), [E] = d(m), D = S?.healthyBowlBeds ?? [], O = n(() => new Map(g.map((e) => [e.id, e])), [g]), k = async (e, t) => {
45
+ x(e.id);
46
+ try {
47
+ await E({ variables: { input: {
48
+ id: e.id,
49
+ cropId: t || null,
50
+ plantCount: e.plantCount,
51
+ context: { workspaceId: v }
52
+ } } }), await T(), y({
53
+ title: _("healthybowl.crops.fieldDetail.beds.saved.title", "Bed updated"),
54
+ description: _("healthybowl.crops.fieldDetail.beds.saved.description", "{{name}} is up to date.", { name: e.name }),
55
+ variant: "success"
56
+ });
57
+ } catch (e) {
58
+ y({
59
+ title: _("healthybowl.crops.fieldDetail.beds.failed.title", "Could not update bed"),
60
+ description: String(e),
61
+ variant: "error"
62
+ });
63
+ } finally {
64
+ x(null);
65
+ }
66
+ };
67
+ return /* @__PURE__ */ c("section", {
68
+ "aria-labelledby": "healthy-bowl-bed-layout-heading",
69
+ className: "rounded-xl border border-border-seam bg-bg-surface p-6",
70
+ children: [/* @__PURE__ */ c("div", {
71
+ className: "mb-4 flex items-start justify-between gap-4",
72
+ children: [/* @__PURE__ */ c("div", { children: [/* @__PURE__ */ c("div", {
73
+ className: "flex items-center gap-2",
74
+ children: [/* @__PURE__ */ s(a, {
75
+ className: "h-5 w-5 text-action-primary",
76
+ "aria-hidden": "true"
77
+ }), /* @__PURE__ */ s("h2", {
78
+ id: "healthy-bowl-bed-layout-heading",
79
+ className: "text-base font-semibold text-text-primary",
80
+ children: _("healthybowl.crops.fieldDetail.beds.title", "Bed layout")
81
+ })]
82
+ }), /* @__PURE__ */ s("p", {
83
+ className: "mt-1 text-sm text-text-secondary",
84
+ children: _("healthybowl.crops.fieldDetail.beds.description", "See every saved bed, its crop, status and planting capacity.")
85
+ })] }), /* @__PURE__ */ s(l, {
86
+ variant: "outline",
87
+ size: "sm",
88
+ onClick: () => void T(),
89
+ disabled: C,
90
+ children: C ? /* @__PURE__ */ s(o, { className: "h-4 w-4 animate-spin" }) : _("healthybowl.common.refresh", "Refresh")
91
+ })]
92
+ }), C && D.length === 0 ? /* @__PURE__ */ s("div", {
93
+ className: "py-8 text-center text-sm text-text-secondary",
94
+ children: _("healthybowl.common.loading", "Loading…")
95
+ }) : w ? /* @__PURE__ */ s("div", {
96
+ className: "rounded-lg border border-error/40 bg-error/10 p-4 text-sm text-error",
97
+ children: _("healthybowl.crops.fieldDetail.beds.error", "Beds could not be loaded. Try again.")
98
+ }) : D.length === 0 ? /* @__PURE__ */ c("div", {
99
+ className: "rounded-lg border border-dashed border-border-seam p-8 text-center",
100
+ children: [/* @__PURE__ */ s("p", {
101
+ className: "font-medium text-text-primary",
102
+ children: _("healthybowl.crops.fieldDetail.beds.empty.title", "No beds saved yet")
103
+ }), /* @__PURE__ */ s("p", {
104
+ className: "mt-1 text-sm text-text-secondary",
105
+ children: _("healthybowl.crops.fieldDetail.beds.empty.description", "Generate and save a bed layout from the Field Map page.")
106
+ })]
107
+ }) : /* @__PURE__ */ s("div", {
108
+ className: "grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3",
109
+ role: "list",
110
+ "aria-label": _("healthybowl.crops.fieldDetail.beds.listLabel", "Saved beds"),
111
+ children: D.map((e) => {
112
+ let t = e.cropId ? O.get(e.cropId) : void 0;
113
+ return /* @__PURE__ */ c("article", {
114
+ role: "listitem",
115
+ className: `rounded-lg border p-4 ${h(e.status, !!t)}`,
116
+ children: [
117
+ /* @__PURE__ */ c("div", {
118
+ className: "flex items-start justify-between gap-2",
119
+ children: [/* @__PURE__ */ s("h3", {
120
+ className: "font-semibold text-text-primary",
121
+ children: e.name
122
+ }), /* @__PURE__ */ s("span", {
123
+ className: "rounded-full bg-bg-surface px-2 py-1 text-xs capitalize text-text-secondary",
124
+ children: e.status ?? "ready to sow"
125
+ })]
126
+ }),
127
+ /* @__PURE__ */ c("dl", {
128
+ className: "mt-3 grid grid-cols-2 gap-2 text-sm",
129
+ children: [
130
+ /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ s("dt", {
131
+ className: "text-text-secondary",
132
+ children: _("healthybowl.crops.fieldDetail.beds.crop", "Crop")
133
+ }), /* @__PURE__ */ s("dd", {
134
+ className: "font-medium text-text-primary",
135
+ children: t?.name ?? _("healthybowl.crops.fieldDetail.beds.unassigned", "Unassigned")
136
+ })] }),
137
+ /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ s("dt", {
138
+ className: "text-text-secondary",
139
+ children: _("healthybowl.crops.fieldDetail.beds.plants", "Plants")
140
+ }), /* @__PURE__ */ s("dd", {
141
+ className: "font-medium text-text-primary",
142
+ children: e.plantCount ?? "—"
143
+ })] }),
144
+ /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ s("dt", {
145
+ className: "text-text-secondary",
146
+ children: _("healthybowl.crops.fieldDetail.beds.area", "Area")
147
+ }), /* @__PURE__ */ c("dd", {
148
+ className: "font-medium text-text-primary",
149
+ children: [
150
+ e.area ?? "—",
151
+ " ",
152
+ e.unit ?? ""
153
+ ]
154
+ })] })
155
+ ]
156
+ }),
157
+ /* @__PURE__ */ c("label", {
158
+ className: "mt-4 block text-xs font-medium text-text-secondary",
159
+ children: [_("healthybowl.crops.fieldDetail.beds.assign", "Assign crop"), /* @__PURE__ */ c("select", {
160
+ value: e.cropId ?? "",
161
+ onChange: (t) => void k(e, t.target.value),
162
+ disabled: b === e.id,
163
+ className: "mt-1 w-full rounded-md border border-border-seam bg-bg-surface px-2 py-2 text-sm text-text-primary",
164
+ "aria-label": _("healthybowl.crops.fieldDetail.beds.assignTo", "Assign crop to {{name}}", { name: e.name }),
165
+ children: [/* @__PURE__ */ s("option", {
166
+ value: "",
167
+ children: _("healthybowl.crops.fieldDetail.beds.unassigned", "Unassigned")
168
+ }), g.map((e) => /* @__PURE__ */ s("option", {
169
+ value: e.id,
170
+ children: e.name
171
+ }, e.id))]
172
+ })]
173
+ })
174
+ ]
175
+ }, e.id);
176
+ })
177
+ })]
178
+ });
179
+ }
180
+ //#endregion
181
+ export { g as BedLayoutGrid };
182
+
183
+ //# sourceMappingURL=BedLayoutGrid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BedLayoutGrid.js","names":[],"sources":["../../../src/healthybowl/components/BedLayoutGrid.tsx"],"sourcesContent":["import { useMemo, useState } from 'react';\nimport { gql } from '@apollo/client';\nimport { useMutation, useQuery } from '@apollo/client/react';\nimport { LayoutGrid, Loader2 } from 'lucide-react';\nimport { Button } from '@burdenoff/fe-libs/ui';\nimport { useI18n } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\nimport { useHealthyBowl } from '../context/HealthyBowlContext';\nimport { useToast } from '../hooks/useToast';\nimport type { Crop } from '../types';\n\nconst BEDS_QUERY = gql`\n query HealthyBowlFieldDetailBeds($context: ContextInput!, $fieldId: ID) {\n healthyBowlBeds(context: $context, fieldId: $fieldId) {\n id\n fieldId\n name\n area\n unit\n cropId\n plantCount\n status\n }\n }\n`;\n\nconst UPDATE_BED = gql`\n mutation UpdateHealthyBowlFieldDetailBed($input: UpdateHealthyBowlBedInput!) {\n updateHealthyBowlBed(input: $input) {\n id\n cropId\n plantCount\n status\n }\n }\n`;\n\ninterface Bed {\n id: string;\n fieldId: string;\n name: string;\n area: number | null;\n unit: string | null;\n cropId: string | null;\n plantCount: number | null;\n status: string | null;\n}\n\ninterface BedsData {\n healthyBowlBeds: Bed[];\n}\n\ninterface BedsVariables {\n context: { workspaceId: string };\n fieldId: string;\n}\n\ninterface UpdateVariables {\n input: {\n id: string;\n cropId: string | null;\n plantCount: number | null;\n context: { workspaceId: string };\n };\n}\n\ninterface BedLayoutGridProps {\n fieldId: string;\n crops: Crop[];\n}\n\nfunction statusClass(status: string | null, assigned: boolean): string {\n if (status === 'planted' || assigned) return 'border-success/50 bg-success/10';\n if (status === 'fallow') return 'border-muted/50 bg-muted/10';\n return 'border-warning/50 bg-warning/10';\n}\n\nexport function BedLayoutGrid({ fieldId, crops }: BedLayoutGridProps): React.JSX.Element {\n const { t } = useI18n();\n const { workspaceId } = useHealthyBowl();\n const { toast } = useToast();\n const [savingId, setSavingId] = useState<string | null>(null);\n const { data, loading, error, refetch } = useQuery<BedsData, BedsVariables>(BEDS_QUERY, {\n variables: { context: { workspaceId }, fieldId },\n skip: !workspaceId || !fieldId,\n });\n const [updateBed] = useMutation<unknown, UpdateVariables>(UPDATE_BED);\n\n const beds = data?.healthyBowlBeds ?? [];\n const cropById = useMemo(() => new Map(crops.map((crop) => [crop.id, crop])), [crops]);\n\n const assignCrop = async (bed: Bed, cropId: string) => {\n setSavingId(bed.id);\n try {\n await updateBed({\n variables: {\n input: {\n id: bed.id,\n cropId: cropId || null,\n plantCount: bed.plantCount,\n context: { workspaceId },\n },\n },\n });\n await refetch();\n toast({\n title: t('healthybowl.crops.fieldDetail.beds.saved.title', 'Bed updated'),\n description: t('healthybowl.crops.fieldDetail.beds.saved.description', '{{name}} is up to date.', {\n name: bed.name,\n }),\n variant: 'success',\n });\n } catch (cause) {\n toast({\n title: t('healthybowl.crops.fieldDetail.beds.failed.title', 'Could not update bed'),\n description: String(cause),\n variant: 'error',\n });\n } finally {\n setSavingId(null);\n }\n };\n\n return (\n <section\n aria-labelledby=\"healthy-bowl-bed-layout-heading\"\n className=\"rounded-xl border border-border-seam bg-bg-surface p-6\"\n >\n <div className=\"mb-4 flex items-start justify-between gap-4\">\n <div>\n <div className=\"flex items-center gap-2\">\n <LayoutGrid className=\"h-5 w-5 text-action-primary\" aria-hidden=\"true\" />\n <h2 id=\"healthy-bowl-bed-layout-heading\" className=\"text-base font-semibold text-text-primary\">\n {t('healthybowl.crops.fieldDetail.beds.title', 'Bed layout')}\n </h2>\n </div>\n <p className=\"mt-1 text-sm text-text-secondary\">\n {t(\n 'healthybowl.crops.fieldDetail.beds.description',\n 'See every saved bed, its crop, status and planting capacity.'\n )}\n </p>\n </div>\n <Button variant=\"outline\" size=\"sm\" onClick={() => void refetch()} disabled={loading}>\n {loading ? <Loader2 className=\"h-4 w-4 animate-spin\" /> : t('healthybowl.common.refresh', 'Refresh')}\n </Button>\n </div>\n\n {loading && beds.length === 0 ? (\n <div className=\"py-8 text-center text-sm text-text-secondary\">\n {t('healthybowl.common.loading', 'Loading…')}\n </div>\n ) : error ? (\n <div className=\"rounded-lg border border-error/40 bg-error/10 p-4 text-sm text-error\">\n {t('healthybowl.crops.fieldDetail.beds.error', 'Beds could not be loaded. Try again.')}\n </div>\n ) : beds.length === 0 ? (\n <div className=\"rounded-lg border border-dashed border-border-seam p-8 text-center\">\n <p className=\"font-medium text-text-primary\">\n {t('healthybowl.crops.fieldDetail.beds.empty.title', 'No beds saved yet')}\n </p>\n <p className=\"mt-1 text-sm text-text-secondary\">\n {t(\n 'healthybowl.crops.fieldDetail.beds.empty.description',\n 'Generate and save a bed layout from the Field Map page.'\n )}\n </p>\n </div>\n ) : (\n <div\n className=\"grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3\"\n role=\"list\"\n aria-label={t('healthybowl.crops.fieldDetail.beds.listLabel', 'Saved beds')}\n >\n {beds.map((bed) => {\n const crop = bed.cropId ? cropById.get(bed.cropId) : undefined;\n return (\n <article\n key={bed.id}\n role=\"listitem\"\n className={`rounded-lg border p-4 ${statusClass(bed.status, Boolean(crop))}`}\n >\n <div className=\"flex items-start justify-between gap-2\">\n <h3 className=\"font-semibold text-text-primary\">{bed.name}</h3>\n <span className=\"rounded-full bg-bg-surface px-2 py-1 text-xs capitalize text-text-secondary\">\n {bed.status ?? 'ready to sow'}\n </span>\n </div>\n <dl className=\"mt-3 grid grid-cols-2 gap-2 text-sm\">\n <div>\n <dt className=\"text-text-secondary\">{t('healthybowl.crops.fieldDetail.beds.crop', 'Crop')}</dt>\n <dd className=\"font-medium text-text-primary\">\n {crop?.name ?? t('healthybowl.crops.fieldDetail.beds.unassigned', 'Unassigned')}\n </dd>\n </div>\n <div>\n <dt className=\"text-text-secondary\">{t('healthybowl.crops.fieldDetail.beds.plants', 'Plants')}</dt>\n <dd className=\"font-medium text-text-primary\">{bed.plantCount ?? '—'}</dd>\n </div>\n <div>\n <dt className=\"text-text-secondary\">{t('healthybowl.crops.fieldDetail.beds.area', 'Area')}</dt>\n <dd className=\"font-medium text-text-primary\">\n {bed.area ?? '—'} {bed.unit ?? ''}\n </dd>\n </div>\n </dl>\n <label className=\"mt-4 block text-xs font-medium text-text-secondary\">\n {t('healthybowl.crops.fieldDetail.beds.assign', 'Assign crop')}\n <select\n value={bed.cropId ?? ''}\n onChange={(event) => void assignCrop(bed, event.target.value)}\n disabled={savingId === bed.id}\n className=\"mt-1 w-full rounded-md border border-border-seam bg-bg-surface px-2 py-2 text-sm text-text-primary\"\n aria-label={t('healthybowl.crops.fieldDetail.beds.assignTo', 'Assign crop to {{name}}', {\n name: bed.name,\n })}\n >\n <option value=\"\">{t('healthybowl.crops.fieldDetail.beds.unassigned', 'Unassigned')}</option>\n {crops.map((option) => (\n <option key={option.id} value={option.id}>\n {option.name}\n </option>\n ))}\n </select>\n </label>\n </article>\n );\n })}\n </div>\n )}\n </section>\n );\n}\n"],"mappings":";;;;;;;;;;AAUA,IAAM,IAAa,CAAG;;;;;;;;;;;;;GAehB,IAAa,CAAG;;;;;;;;;;AA6CtB,SAAS,EAAY,GAAuB,GAA2B;AAGrE,QAFI,MAAW,aAAa,IAAiB,oCACzC,MAAW,WAAiB,gCACzB;;AAGT,SAAgB,EAAc,EAAE,YAAS,YAAgD;CACvF,IAAM,EAAE,SAAM,GAAS,EACjB,EAAE,mBAAgB,GAAgB,EAClC,EAAE,aAAU,GAAU,EACtB,CAAC,GAAU,KAAe,EAAwB,KAAK,EACvD,EAAE,SAAM,YAAS,UAAO,eAAY,EAAkC,GAAY;EACtF,WAAW;GAAE,SAAS,EAAE,gBAAa;GAAE;GAAS;EAChD,MAAM,CAAC,KAAe,CAAC;EACxB,CAAC,EACI,CAAC,KAAa,EAAsC,EAAW,EAE/D,IAAO,GAAM,mBAAmB,EAAE,EAClC,IAAW,QAAc,IAAI,IAAI,EAAM,KAAK,MAAS,CAAC,EAAK,IAAI,EAAK,CAAC,CAAC,EAAE,CAAC,EAAM,CAAC,EAEhF,IAAa,OAAO,GAAU,MAAmB;AACrD,IAAY,EAAI,GAAG;AACn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