@burdenoff/microfe-healthybowl 2026.904.26 → 2026.904.27
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/components/assistant/AIAssistantPanel.js +23 -62
- package/dist/components/assistant/AIAssistantPanel.js.map +1 -1
- package/dist/components/assistant/AssistantConversationList.js +1 -2
- package/dist/components/assistant/AssistantEmptyState.js +1 -2
- package/dist/components/assistant/AssistantHeader.js +1 -2
- package/dist/components/assistant/AssistantMessageList.js +1 -2
- package/dist/components/assistant/AssistantSpeechProvider.js +1 -2
- package/dist/components/assistant/AssistantToolActivity.js +1 -2
- package/dist/components/assistant/composer/AssistantComposer.js +1 -2
- package/dist/components/assistant/index.js +7 -7
- package/dist/healthybowl/HealthyBowlRoot.js +57 -56
- package/dist/healthybowl/HealthyBowlRoot.js.map +1 -1
- package/dist/healthybowl/HealthyBowlRoutes.js +48 -36
- package/dist/healthybowl/HealthyBowlRoutes.js.map +1 -1
- package/dist/healthybowl/components/CreateFarmTaskButton.js.map +1 -1
- package/dist/healthybowl/components/Modal.js +2 -29
- package/dist/healthybowl/components/PageLayout.js +11 -10
- package/dist/healthybowl/components/PageLayout.js.map +1 -1
- package/dist/healthybowl/context/HealthyBowlContext.js +7 -7
- package/dist/healthybowl/context/HealthyBowlContext.js.map +1 -1
- package/dist/healthybowl/hooks/useAgronomyDecisions.js +79 -0
- package/dist/healthybowl/hooks/useAgronomyDecisions.js.map +1 -0
- package/dist/healthybowl/hooks/useAnalyticsReports.js +173 -0
- package/dist/healthybowl/hooks/useAnalyticsReports.js.map +1 -0
- package/dist/healthybowl/hooks/useComplianceExports.js +74 -0
- package/dist/healthybowl/hooks/useComplianceExports.js.map +1 -0
- package/dist/healthybowl/hooks/useConsultationPayments.js +59 -0
- package/dist/healthybowl/hooks/useConsultationPayments.js.map +1 -0
- package/dist/healthybowl/hooks/useHealthyBowlCompliance.js +157 -141
- package/dist/healthybowl/hooks/useHealthyBowlCompliance.js.map +1 -1
- package/dist/healthybowl/hooks/useHealthyBowlData.js +18 -0
- package/dist/healthybowl/hooks/useHealthyBowlData.js.map +1 -1
- package/dist/healthybowl/hooks/useHealthyBowlDistribution.js +52 -37
- package/dist/healthybowl/hooks/useHealthyBowlDistribution.js.map +1 -1
- package/dist/healthybowl/hooks/useHealthyBowlLivestockDepth.js +135 -78
- package/dist/healthybowl/hooks/useHealthyBowlLivestockDepth.js.map +1 -1
- package/dist/healthybowl/hooks/useIrrigationAutomation.js +1 -1
- package/dist/healthybowl/hooks/useIrrigationAutomation.js.map +1 -1
- package/dist/healthybowl/hooks/usePlantingEstimate.js +88 -0
- package/dist/healthybowl/hooks/usePlantingEstimate.js.map +1 -0
- package/dist/healthybowl/hooks/useSuccessionPlanning.js +1 -1
- package/dist/healthybowl/hooks/useSuccessionPlanning.js.map +1 -1
- package/dist/healthybowl/hooks/useWeatherIntelligence.js +1 -1
- package/dist/healthybowl/hooks/useWeatherIntelligence.js.map +1 -1
- package/dist/healthybowl/offline/HeaderOfflinePill.js +28 -0
- package/dist/healthybowl/offline/HeaderOfflinePill.js.map +1 -0
- package/dist/healthybowl/offline/OfflineStatusPill.js +40 -21
- package/dist/healthybowl/offline/OfflineStatusPill.js.map +1 -1
- package/dist/healthybowl/offline/OfflineSyncProvider.js +149 -126
- package/dist/healthybowl/offline/OfflineSyncProvider.js.map +1 -1
- package/dist/healthybowl/offline/captureCache.js +30 -0
- package/dist/healthybowl/offline/captureCache.js.map +1 -0
- package/dist/healthybowl/offline/graphql.js.map +1 -1
- package/dist/healthybowl/offline/headerSlot.js +24 -0
- package/dist/healthybowl/offline/headerSlot.js.map +1 -0
- package/dist/healthybowl/offline/store.js +1 -1
- package/dist/healthybowl/offline/syncEngine.js +2 -1
- package/dist/healthybowl/offline/syncEngine.js.map +1 -1
- package/dist/healthybowl/offline/types.js.map +1 -1
- package/dist/healthybowl/pages/GettingStartedPage.js +1 -0
- package/dist/healthybowl/pages/GettingStartedPage.js.map +1 -1
- package/dist/healthybowl/pages/ai/AiDecisionsPage.js +287 -0
- package/dist/healthybowl/pages/ai/AiDecisionsPage.js.map +1 -0
- package/dist/healthybowl/pages/analytics/InsightsPage.js +2 -2
- package/dist/healthybowl/pages/analytics/InsightsPage.js.map +1 -1
- package/dist/healthybowl/pages/analytics/ReportsPage.js +136 -99
- package/dist/healthybowl/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/healthybowl/pages/compliance/ComplianceOverviewPage.js +204 -162
- package/dist/healthybowl/pages/compliance/ComplianceOverviewPage.js.map +1 -1
- package/dist/healthybowl/pages/compliance/IcsGroupDetailPage.js +196 -178
- package/dist/healthybowl/pages/compliance/IcsGroupDetailPage.js.map +1 -1
- package/dist/healthybowl/pages/compliance/IcsGrowerDetailPage.js +142 -141
- package/dist/healthybowl/pages/compliance/IcsGrowerDetailPage.js.map +1 -1
- package/dist/healthybowl/pages/compliance/ResidueTestsPage.js +291 -0
- package/dist/healthybowl/pages/compliance/ResidueTestsPage.js.map +1 -0
- package/dist/healthybowl/pages/compliance/SubstanceRulesPage.js +300 -0
- package/dist/healthybowl/pages/compliance/SubstanceRulesPage.js.map +1 -0
- package/dist/healthybowl/pages/compliance/substanceRuleForm.js +135 -0
- package/dist/healthybowl/pages/compliance/substanceRuleForm.js.map +1 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.js +2 -0
- package/dist/healthybowl/pages/crops/CropFieldsPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/CropHarvestPage.js +316 -272
- package/dist/healthybowl/pages/crops/CropHarvestPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/CropPlanningPage.js +6 -0
- package/dist/healthybowl/pages/crops/CropPlanningPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js +871 -846
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js +376 -334
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/distribution/CsaPlanDetailPage.js +415 -188
- package/dist/healthybowl/pages/distribution/CsaPlanDetailPage.js.map +1 -1
- package/dist/healthybowl/pages/distribution/labels.js +10 -2
- package/dist/healthybowl/pages/distribution/labels.js.map +1 -1
- package/dist/healthybowl/pages/farm/FarmProfilePage.js +1 -0
- package/dist/healthybowl/pages/farm/FarmProfilePage.js.map +1 -1
- package/dist/healthybowl/pages/field-capture/CaptureObservationForm.js +8 -8
- package/dist/healthybowl/pages/fields/FieldMapPage.js +2 -0
- package/dist/healthybowl/pages/fields/FieldMapPage.js.map +1 -1
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js +92 -107
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js.map +1 -1
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js +228 -188
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js.map +1 -1
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js +261 -191
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/government-schemes/schemeApplicationTransitions.js +49 -0
- package/dist/healthybowl/pages/government-schemes/schemeApplicationTransitions.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/schemeDocumentSlots.js +48 -0
- package/dist/healthybowl/pages/government-schemes/schemeDocumentSlots.js.map +1 -0
- package/dist/healthybowl/pages/government-schemes/useSchemeApplicationTransition.js +54 -0
- package/dist/healthybowl/pages/government-schemes/useSchemeApplicationTransition.js.map +1 -0
- package/dist/healthybowl/pages/inputs-insurance/InputsInsuranceOverviewPage.js +14 -14
- package/dist/healthybowl/pages/inputs-insurance/InputsInsuranceOverviewPage.js.map +1 -1
- package/dist/healthybowl/pages/irrigation/IrrigationPage.js +338 -307
- package/dist/healthybowl/pages/irrigation/IrrigationPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/AnimalDepthFormModal.js +126 -102
- package/dist/healthybowl/pages/livestock/AnimalDepthFormModal.js.map +1 -1
- package/dist/healthybowl/pages/livestock/AnimalDepthPage.js +257 -215
- package/dist/healthybowl/pages/livestock/AnimalDepthPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/GrazingPage.js +1 -0
- package/dist/healthybowl/pages/livestock/GrazingPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/HerdDepthPage.js +4 -0
- package/dist/healthybowl/pages/livestock/HerdDepthPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/PedigreeTree.js +154 -0
- package/dist/healthybowl/pages/livestock/PedigreeTree.js.map +1 -0
- package/dist/healthybowl/pages/livestock/eidTagInput.js +39 -0
- package/dist/healthybowl/pages/livestock/eidTagInput.js.map +1 -0
- package/dist/healthybowl/pages/livestock/grazing/RecordGrazingMoveModal.js +8 -9
- package/dist/healthybowl/pages/livestock/grazing/RecordGrazingMoveModal.js.map +1 -1
- package/dist/healthybowl/pages/livestock/pedigreeLayout.js +68 -0
- package/dist/healthybowl/pages/livestock/pedigreeLayout.js.map +1 -0
- package/dist/healthybowl/pages/network/ExpertsPage.js +520 -419
- package/dist/healthybowl/pages/network/ExpertsPage.js.map +1 -1
- package/dist/healthybowl/pages/pest-management/AiPestDetectionPage.js +12 -12
- package/dist/healthybowl/pages/pest-management/AiPestDetectionPage.js.map +1 -1
- package/dist/healthybowl/pages/terrace/JournalEntryModal.js +165 -165
- package/dist/healthybowl/pages/terrace/JournalEntryModal.js.map +1 -1
- package/dist/healthybowl/pages/weather/WeatherAlertHistoryPage.js +129 -130
- package/dist/healthybowl/pages/weather/WeatherAlertHistoryPage.js.map +1 -1
- package/dist/healthybowl/pages/weather/WeatherSettingsPage.js +285 -237
- package/dist/healthybowl/pages/weather/WeatherSettingsPage.js.map +1 -1
- package/dist/healthybowl/pages/weather/alertDelivery.js +105 -0
- package/dist/healthybowl/pages/weather/alertDelivery.js.map +1 -0
- package/dist/healthybowl/store/healthybowlStore.js +5 -5
- package/dist/healthybowl/utils/icsInspection.js +18 -0
- package/dist/healthybowl/utils/icsInspection.js.map +1 -0
- package/dist/healthybowl/utils/plantingCapacity.js +10 -10
- package/dist/healthybowl/utils/plantingCapacity.js.map +1 -1
- package/dist/node_modules/fast-equals/dist/es/index.js +74 -86
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
- package/dist/services/assistantApi.js +33 -45
- package/dist/services/assistantApi.js.map +1 -1
- package/dist/utils/pageContext.js +15 -1
- package/dist/utils/pageContext.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/assistant/AssistantApiCallsConsentDialog.js +0 -33
- package/dist/components/assistant/AssistantApiCallsConsentDialog.js.map +0 -1
- package/dist/components/assistant/AssistantChatArea.js +0 -451
- package/dist/components/assistant/AssistantChatArea.js.map +0 -1
- package/dist/components/assistant/AssistantSpokenTurnsNotice.js +0 -2
- package/dist/components/assistant/voice/AssistantVoiceSession.js +0 -2
- package/dist/components/assistant/voice/VoiceTranscriptDrawer.js +0 -2
- package/dist/config/assistantLanguagePair.js +0 -2
- package/dist/config/assistantLanguages.js +0 -2
- package/dist/healthybowl/components/Modal.js.map +0 -1
- package/dist/hooks/useAssistantApiAccess.js +0 -2
- package/dist/hooks/useAssistantAttachments.js +0 -2
- package/dist/hooks/useAssistantHeartbeat.js +0 -40
- package/dist/hooks/useAssistantHeartbeat.js.map +0 -1
- package/dist/hooks/useAssistantKeyboardShortcuts.js +0 -37
- package/dist/hooks/useAssistantKeyboardShortcuts.js.map +0 -1
- package/dist/hooks/useConversationTurns.js +0 -2
- package/dist/hooks/useVoiceSession.js +0 -2
- package/dist/services/assistantExportService.js +0 -2
- package/dist/utils/aiCredits.js +0 -13
- package/dist/utils/aiCredits.js.map +0 -1
- package/dist/utils/assistantAttachments.js +0 -2
- package/dist/utils/assistantContext.js +0 -2
- package/dist/utils/assistantPollSchedule.js +0 -2
- package/dist/utils/assistantTransportErrors.js +0 -2
- package/dist/utils/assistantTurnState.js +0 -2
- package/dist/utils/captionText.js +0 -2
- package/dist/utils/pendingWrite.js +0 -2
- package/dist/utils/quotaUtils.js +0 -2
- package/dist/utils/sandboxReadiness.js +0 -2
- package/dist/utils/voiceTranscript.js +0 -2
- package/dist/utils/voiceTurnVisibility.js +0 -2
|
@@ -1,68 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { AssistantSpeechProvider as l } from "./AssistantSpeechProvider.js";
|
|
11
|
-
import { useEffect as u, useRef as d, useState as f } from "react";
|
|
12
|
-
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
13
|
-
import { useFilesServiceWarmup as h } from "@burdenoff/fe-libs/storage";
|
|
14
|
-
import { useAssistantTr as g } from "@burdenoff/fe-libs/shared/assistant/i18n";
|
|
15
|
-
import { AssistantProductProvider as _ } from "@burdenoff/fe-libs/shared/assistant/product";
|
|
1
|
+
import { ASSISTANT_MODES as e } from "../../types/assistant.js";
|
|
2
|
+
import { PRODUCT as t, reportAssistantAiTokenUsage as n } from "../../services/assistantApi.js";
|
|
3
|
+
import { useWorkspaceWriteAccess as r } from "../../hooks/useWorkspaceWriteAccess.js";
|
|
4
|
+
import { describeCurrentPage as i, gatherPageContext as a } from "../../utils/pageContext.js";
|
|
5
|
+
import { buildPromptForMode as o } from "../../utils/assistantPrompt.js";
|
|
6
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
7
|
+
import { AIAssistantPanel as c } from "@burdenoff/fe-libs/shared/assistant/ui/AIAssistantPanel";
|
|
8
|
+
import { AssistantProductProvider as l } from "@burdenoff/fe-libs/shared/assistant/product";
|
|
9
|
+
import { getActorId as u, getWorkspaceId as d } from "@burdenoff/fe-libs/shared/assistant/context";
|
|
16
10
|
//#region src/components/assistant/AIAssistantPanel.tsx
|
|
17
|
-
var
|
|
18
|
-
let
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return () => {
|
|
30
|
-
window.removeEventListener("popstate", e), window.clearInterval(t);
|
|
31
|
-
};
|
|
32
|
-
}, [o]), t({
|
|
33
|
-
panelRef: x,
|
|
34
|
-
onClose: n
|
|
35
|
-
}), /* @__PURE__ */ p(l, {
|
|
36
|
-
visible: o ?? !0,
|
|
37
|
-
children: /* @__PURE__ */ m("div", {
|
|
38
|
-
ref: x,
|
|
39
|
-
className: "relative flex h-full w-full flex-col bg-bg-surface",
|
|
40
|
-
role: "complementary",
|
|
41
|
-
"aria-label": b("panel.ariaLabel", "AI Assistant"),
|
|
42
|
-
"data-testid": "ai-assistant-panel",
|
|
43
|
-
tabIndex: -1,
|
|
44
|
-
children: [
|
|
45
|
-
/* @__PURE__ */ p(a, {
|
|
46
|
-
contextLabel: O,
|
|
47
|
-
onNewConversation: () => E(),
|
|
48
|
-
onOpenHistory: T,
|
|
49
|
-
historyOpen: w,
|
|
50
|
-
onClose: n,
|
|
51
|
-
docked: _,
|
|
52
|
-
onToggleDock: y
|
|
53
|
-
}),
|
|
54
|
-
w && /* @__PURE__ */ p(c, {}),
|
|
55
|
-
/* @__PURE__ */ p(s, { visible: o ?? !0 })
|
|
56
|
-
]
|
|
11
|
+
var f = (f) => {
|
|
12
|
+
let p = r(u(), d() || null);
|
|
13
|
+
return /* @__PURE__ */ s(l, {
|
|
14
|
+
product: t,
|
|
15
|
+
modes: e,
|
|
16
|
+
describeCurrentPage: i,
|
|
17
|
+
gatherPageContext: a,
|
|
18
|
+
buildPrompt: o,
|
|
19
|
+
reportTokenUsage: n,
|
|
20
|
+
children: /* @__PURE__ */ s(c, {
|
|
21
|
+
...f,
|
|
22
|
+
writeAccess: p
|
|
57
23
|
})
|
|
58
24
|
});
|
|
59
|
-
}
|
|
60
|
-
product: n,
|
|
61
|
-
modes: o,
|
|
62
|
-
describeCurrentPage: i,
|
|
63
|
-
children: /* @__PURE__ */ p(y, { ...e })
|
|
64
|
-
});
|
|
25
|
+
};
|
|
65
26
|
//#endregion
|
|
66
|
-
export {
|
|
27
|
+
export { f as AIAssistantPanel };
|
|
67
28
|
|
|
68
29
|
//# sourceMappingURL=AIAssistantPanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AIAssistantPanel.js","names":[],"sources":["../../../src/components/assistant/AIAssistantPanel.tsx"],"sourcesContent":["/**\n * AI
|
|
1
|
+
{"version":3,"file":"AIAssistantPanel.js","names":[],"sources":["../../../src/components/assistant/AIAssistantPanel.tsx"],"sourcesContent":["/**\n * HealthyBowl's AI assistant.\n *\n * ★★ Everything below this file is now shared. The panel, the orchestrator, the\n * transport, the voice session, the composer and every component in them live in\n * `fe-libs/shared/assistant` and answer to any product that mounts them. What is\n * left here is the four things that are genuinely HealthyBowl's, and nothing\n * else:\n *\n * modes which use cases this product offers.\n * describeCurrentPage what to CALL the page the user is on.\n * gatherPageContext the same page, as structured context for the agent.\n * buildPrompt the system preamble — that this is an agronomy\n * assistant, what it may do, and in which language.\n * reportTokenUsage the charge, against HealthyBowl's OWN mutation.\n *\n * Plus `writeAccess`, which is a PROP rather than a fifth seam field: which\n * resource types prove \"this user can write here\" is a product answer, but the\n * product can simply compute it and hand it down. A capability a product can\n * work out for itself does not belong in an interface every product must\n * satisfy.\n *\n * ★ The provider wraps from OUTSIDE the shared panel rather than sitting inside\n * its tree: the panel calls `useAssistantProduct()` and `useAssistantTr()` in its\n * own body, so a provider nested in its JSX would be below the consumer and read\n * as null — which does not throw, it silently renders English with no modes.\n */\n\nimport type { FC } from 'react';\nimport {\n AIAssistantPanel as SharedAIAssistantPanel,\n type AIAssistantPanelProps as SharedProps,\n} from '@burdenoff/fe-libs/shared/assistant/ui/AIAssistantPanel';\nimport { AssistantProductProvider } from '@burdenoff/fe-libs/shared/assistant/product';\nimport { getActorId, getWorkspaceId } from '@burdenoff/fe-libs/shared/assistant/context';\nimport { ASSISTANT_MODES } from '@/types/assistant';\nimport { PRODUCT, reportAssistantAiTokenUsage } from '@/services/assistantApi';\nimport { useWorkspaceWriteAccess } from '@/hooks/useWorkspaceWriteAccess';\nimport { describeCurrentPage, gatherPageContext } from '@/utils/pageContext';\nimport { buildPromptForMode } from '@/utils/assistantPrompt';\n\nexport type AIAssistantPanelProps = Omit<SharedProps, 'writeAccess'>;\n\nexport const AIAssistantPanel: FC<AIAssistantPanelProps> = (props) => {\n /**\n * ★ Advisory, never a gate — see `useWorkspaceWriteAccess`. Measured against\n * prod on 2026-09-02, workspace scopes have no roles provisioned at all, so\n * gating on this would delete Take-action from the product until an ops task\n * lands. It warns before the effort instead of after it, and self-corrects\n * with no code change the moment roles exist.\n */\n const writeAccess = useWorkspaceWriteAccess(getActorId(), getWorkspaceId() || null);\n\n return (\n <AssistantProductProvider\n product={PRODUCT}\n modes={ASSISTANT_MODES}\n describeCurrentPage={describeCurrentPage}\n gatherPageContext={gatherPageContext}\n buildPrompt={buildPromptForMode}\n reportTokenUsage={reportAssistantAiTokenUsage}\n >\n <SharedAIAssistantPanel {...props} writeAccess={writeAccess} />\n </AssistantProductProvider>\n );\n};\n"],"mappings":";;;;;;;;;;AA2CA,IAAa,KAA+C,MAAU;CAQpE,IAAM,IAAc,EAAwB,EAAW,GAAG,EAAe,KAAK,IAAI;CAElF,OACE,kBAAC,GAAD;EACE,SAAS;EACT,OAAO;EACc;EACF;EACnB,aAAa;EACb,kBAAkB;YAElB,kBAAC,GAAD;GAAwB,GAAI;GAAoB;EAAc,CAAA;CACtC,CAAA;AAE9B"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { e as AssistantConversationList };
|
|
1
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/AssistantConversationList";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { e as AssistantEmptyState };
|
|
1
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/AssistantEmptyState";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { e as AssistantHeader };
|
|
1
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/AssistantHeader";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { e as AssistantMessageList };
|
|
1
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/AssistantMessageList";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { e as AssistantSpeechProvider };
|
|
1
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/AssistantSpeechProvider";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { e as parseToolActivity };
|
|
1
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/AssistantToolActivity";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
export { e as AssistantComposer };
|
|
1
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/composer/AssistantComposer";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import "./AIAssistantPanel.js";
|
|
1
2
|
import "./AssistantHeader.js";
|
|
2
|
-
import "./AssistantMessageList.js";
|
|
3
|
-
import "./AssistantEmptyState.js";
|
|
4
|
-
import "./composer/AssistantComposer.js";
|
|
5
|
-
import "./AssistantToolActivity.js";
|
|
6
|
-
import "./AssistantChatArea.js";
|
|
7
3
|
import "./AssistantConversationList.js";
|
|
8
|
-
import "./
|
|
9
|
-
import "./AIAssistantPanel.js";
|
|
4
|
+
import "./AssistantEmptyState.js";
|
|
10
5
|
import "./AssistantMoreMenu.js";
|
|
11
6
|
import "./AssistantMarkdownRenderer.js";
|
|
12
7
|
import "./AssistantMessageAttachments.js";
|
|
13
8
|
import "./AssistantMessageItem.js";
|
|
9
|
+
import "./AssistantMessageList.js";
|
|
14
10
|
import "./AssistantSpeakButton.js";
|
|
15
11
|
import "./AssistantAutoSpeakToggle.js";
|
|
12
|
+
import "./AssistantSpeechProvider.js";
|
|
13
|
+
import "./AssistantToolActivity.js";
|
|
16
14
|
import "./composer/AssistantAttachmentButton.js";
|
|
17
15
|
import "./composer/AssistantAttachmentChips.js";
|
|
16
|
+
import "./composer/AssistantComposer.js";
|
|
18
17
|
import "./composer/AssistantModeSelector.js";
|
|
19
18
|
import "./composer/AssistantVoiceButton.js";
|
|
19
|
+
import "@burdenoff/fe-libs/shared/assistant/ui/AssistantChatArea";
|
|
@@ -4,14 +4,15 @@ import { normalizeBasePath as r, setHbFormatLocale as i } from "./utils/helpers.
|
|
|
4
4
|
import { ErrorBoundary as a } from "./components/ErrorBoundary.js";
|
|
5
5
|
import { ConfirmProvider as o } from "./components/ConfirmDialog.js";
|
|
6
6
|
import { HealthyBowlRoutes as s } from "./HealthyBowlRoutes.js";
|
|
7
|
-
import { OfflineSyncProvider as
|
|
8
|
-
import {
|
|
7
|
+
import { OfflineSyncProvider as c } from "./offline/OfflineSyncProvider.js";
|
|
8
|
+
import { HeaderOfflinePill as te } from "./offline/HeaderOfflinePill.js";
|
|
9
|
+
import { useCallback as ne, useEffect as l } from "react";
|
|
9
10
|
import { useI18n as re } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
10
|
-
import { Award as ie, Banknote as ae, BarChart3 as oe, Bug as se, Cloud as
|
|
11
|
-
import { jsx as
|
|
12
|
-
import { FeatureFlagProvider as
|
|
11
|
+
import { Award as ie, Banknote as ae, BarChart3 as oe, Bug as se, Cloud as u, CloudUpload as d, DollarSign as f, Factory as p, Fence as m, FlaskConical as h, Globe as g, HardHat as _, Home as v, Landmark as y, Leaf as b, LineChart as x, ListChecks as S, Map as C, Package as w, PawPrint as T, Radio as E, RefreshCw as D, ScanLine as O, ScanSearch as k, ShieldAlert as A, ShieldCheck as j, ShoppingCart as M, Sprout as N, Stethoscope as ce, Tractor as P, UserCheck as F, Users as I, Users2 as L, Wheat as R } from "lucide-react";
|
|
12
|
+
import { jsx as z, jsxs as B } from "react/jsx-runtime";
|
|
13
|
+
import { FeatureFlagProvider as V, useFeatureFlags as H } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
13
14
|
//#region src/healthybowl/HealthyBowlRoot.tsx
|
|
14
|
-
var
|
|
15
|
+
var U = /* @__PURE__ */ new Set([]), W = [
|
|
15
16
|
".lucide-arrow-right",
|
|
16
17
|
".lucide-arrow-left",
|
|
17
18
|
".lucide-chevron-right",
|
|
@@ -20,21 +21,21 @@ var H = /* @__PURE__ */ new Set([]), U = [
|
|
|
20
21
|
".lucide-chevrons-left",
|
|
21
22
|
".lucide-move-right",
|
|
22
23
|
".lucide-move-left"
|
|
23
|
-
].map((e) => `[dir="rtl"] ${e}`).join(",").concat("{transform:scaleX(-1)}"),
|
|
24
|
+
].map((e) => `[dir="rtl"] ${e}`).join(",").concat("{transform:scaleX(-1)}"), G = new Set([
|
|
24
25
|
"healthybowl-sustainability",
|
|
25
26
|
"healthybowl-sustainability-carbon",
|
|
26
27
|
"healthybowl-sustainability-soil",
|
|
27
28
|
"healthybowl-sustainability-credits",
|
|
28
29
|
"healthybowl-sustainability-eudr"
|
|
29
30
|
]);
|
|
30
|
-
function
|
|
31
|
-
return t ? e : e.filter((e) => !
|
|
31
|
+
function le(e, t) {
|
|
32
|
+
return t ? e : e.filter((e) => !G.has(e.id));
|
|
32
33
|
}
|
|
33
34
|
var K = (n) => {
|
|
34
|
-
let { registerNavItems:
|
|
35
|
+
let { registerNavItems: V, registerFooterItems: G, basePath: K = "/" } = n, { error: q, getEvaluation: ue, isLoading: de } = H(), J = ee(ue(t), de || q !== null), { t: Y, locale: X } = re();
|
|
35
36
|
i(X);
|
|
36
|
-
let Z =
|
|
37
|
-
|
|
37
|
+
let Z = U.has(X) ? "rtl" : "ltr";
|
|
38
|
+
l(() => {
|
|
38
39
|
let e = document.documentElement, t = e.getAttribute("dir");
|
|
39
40
|
return e.setAttribute("dir", Z), () => {
|
|
40
41
|
t === null ? e.removeAttribute("dir") : e.setAttribute("dir", t);
|
|
@@ -44,13 +45,13 @@ var K = (n) => {
|
|
|
44
45
|
let n = Y(e);
|
|
45
46
|
return n === e ? t : n;
|
|
46
47
|
}, [Y]), $ = (e, t) => (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
|
|
47
|
-
return
|
|
48
|
-
if (
|
|
48
|
+
return l(() => {
|
|
49
|
+
if (V) return V(le([
|
|
49
50
|
{
|
|
50
51
|
id: "healthybowl-dashboard",
|
|
51
52
|
label: Q("healthybowl.nav.dashboard", "Dashboard"),
|
|
52
53
|
path: r(K),
|
|
53
|
-
icon: /* @__PURE__ */
|
|
54
|
+
icon: /* @__PURE__ */ z(v, { size: 20 }),
|
|
54
55
|
order: 1,
|
|
55
56
|
group: "main"
|
|
56
57
|
},
|
|
@@ -58,7 +59,7 @@ var K = (n) => {
|
|
|
58
59
|
id: "healthybowl-farm",
|
|
59
60
|
label: Q("healthybowl.nav.farm", "My Farm"),
|
|
60
61
|
path: $(K, "farm"),
|
|
61
|
-
icon: /* @__PURE__ */
|
|
62
|
+
icon: /* @__PURE__ */ z(P, { size: 20 }),
|
|
62
63
|
order: 2,
|
|
63
64
|
group: "main"
|
|
64
65
|
},
|
|
@@ -66,7 +67,7 @@ var K = (n) => {
|
|
|
66
67
|
id: "healthybowl-tasks",
|
|
67
68
|
label: Q("healthybowl.nav.tasks", "Tasks"),
|
|
68
69
|
path: $(K, "tasks"),
|
|
69
|
-
icon: /* @__PURE__ */
|
|
70
|
+
icon: /* @__PURE__ */ z(S, { size: 20 }),
|
|
70
71
|
order: 3,
|
|
71
72
|
group: "main"
|
|
72
73
|
},
|
|
@@ -74,7 +75,7 @@ var K = (n) => {
|
|
|
74
75
|
id: "healthybowl-crops",
|
|
75
76
|
label: Q("healthybowl.nav.crops", "Crops"),
|
|
76
77
|
path: $(K, "crops"),
|
|
77
|
-
icon: /* @__PURE__ */ R
|
|
78
|
+
icon: /* @__PURE__ */ z(R, { size: 20 }),
|
|
78
79
|
order: 10,
|
|
79
80
|
group: "farming"
|
|
80
81
|
},
|
|
@@ -82,7 +83,7 @@ var K = (n) => {
|
|
|
82
83
|
id: "healthybowl-livestock",
|
|
83
84
|
label: Q("healthybowl.nav.livestock", "Livestock"),
|
|
84
85
|
path: $(K, "livestock"),
|
|
85
|
-
icon: /* @__PURE__ */
|
|
86
|
+
icon: /* @__PURE__ */ z(T, { size: 20 }),
|
|
86
87
|
order: 11,
|
|
87
88
|
group: "farming"
|
|
88
89
|
},
|
|
@@ -90,7 +91,7 @@ var K = (n) => {
|
|
|
90
91
|
id: "healthybowl-livestock-analytics",
|
|
91
92
|
label: Q("healthybowl.nav.livestockAnalytics", "Livestock Analytics"),
|
|
92
93
|
path: $(K, "livestock/analytics"),
|
|
93
|
-
icon: /* @__PURE__ */
|
|
94
|
+
icon: /* @__PURE__ */ z(x, { size: 20 }),
|
|
94
95
|
order: 11.3,
|
|
95
96
|
group: "farming"
|
|
96
97
|
},
|
|
@@ -98,7 +99,7 @@ var K = (n) => {
|
|
|
98
99
|
id: "healthybowl-grazing",
|
|
99
100
|
label: Q("healthybowl.nav.grazing", "Grazing"),
|
|
100
101
|
path: $(K, "livestock/grazing"),
|
|
101
|
-
icon: /* @__PURE__ */
|
|
102
|
+
icon: /* @__PURE__ */ z(m, { size: 20 }),
|
|
102
103
|
order: 11.4,
|
|
103
104
|
group: "farming"
|
|
104
105
|
},
|
|
@@ -106,7 +107,7 @@ var K = (n) => {
|
|
|
106
107
|
id: "healthybowl-withdrawal-alerts",
|
|
107
108
|
label: Q("healthybowl.nav.withdrawalAlerts", "Withdrawal Alerts"),
|
|
108
109
|
path: $(K, "livestock/withdrawal-alerts"),
|
|
109
|
-
icon: /* @__PURE__ */
|
|
110
|
+
icon: /* @__PURE__ */ z(A, { size: 20 }),
|
|
110
111
|
order: 11.5,
|
|
111
112
|
group: "farming"
|
|
112
113
|
},
|
|
@@ -114,7 +115,7 @@ var K = (n) => {
|
|
|
114
115
|
id: "healthybowl-weather",
|
|
115
116
|
label: Q("healthybowl.nav.weather", "Weather"),
|
|
116
117
|
path: $(K, "weather"),
|
|
117
|
-
icon: /* @__PURE__ */
|
|
118
|
+
icon: /* @__PURE__ */ z(u, { size: 20 }),
|
|
118
119
|
order: 12,
|
|
119
120
|
group: "farming"
|
|
120
121
|
},
|
|
@@ -122,7 +123,7 @@ var K = (n) => {
|
|
|
122
123
|
id: "healthybowl-field-map",
|
|
123
124
|
label: Q("healthybowl.nav.fieldMap", "Field Map"),
|
|
124
125
|
path: $(K, "field-map"),
|
|
125
|
-
icon: /* @__PURE__ */
|
|
126
|
+
icon: /* @__PURE__ */ z(C, { size: 20 }),
|
|
126
127
|
order: 12.5,
|
|
127
128
|
group: "farming"
|
|
128
129
|
},
|
|
@@ -130,7 +131,7 @@ var K = (n) => {
|
|
|
130
131
|
id: "healthybowl-field-capture",
|
|
131
132
|
label: Q("healthybowl.nav.fieldCapture", "Field Capture"),
|
|
132
133
|
path: $(K, "field-capture"),
|
|
133
|
-
icon: /* @__PURE__ */
|
|
134
|
+
icon: /* @__PURE__ */ z(d, { size: 20 }),
|
|
134
135
|
order: 12.6,
|
|
135
136
|
group: "farming"
|
|
136
137
|
},
|
|
@@ -138,7 +139,7 @@ var K = (n) => {
|
|
|
138
139
|
id: "healthybowl-pending-sync",
|
|
139
140
|
label: Q("healthybowl.nav.pendingSync", "Pending Sync"),
|
|
140
141
|
path: $(K, "field-capture/pending"),
|
|
141
|
-
icon: /* @__PURE__ */
|
|
142
|
+
icon: /* @__PURE__ */ z(D, { size: 20 }),
|
|
142
143
|
order: 12.7,
|
|
143
144
|
group: "farming"
|
|
144
145
|
},
|
|
@@ -146,7 +147,7 @@ var K = (n) => {
|
|
|
146
147
|
id: "healthybowl-field-sensors",
|
|
147
148
|
label: Q("healthybowl.nav.fieldSensors", "Field Sensors"),
|
|
148
149
|
path: $(K, "field-sensors"),
|
|
149
|
-
icon: /* @__PURE__ */
|
|
150
|
+
icon: /* @__PURE__ */ z(E, { size: 20 }),
|
|
150
151
|
order: 12.75,
|
|
151
152
|
group: "farming"
|
|
152
153
|
},
|
|
@@ -154,7 +155,7 @@ var K = (n) => {
|
|
|
154
155
|
id: "healthybowl-soil",
|
|
155
156
|
label: Q("healthybowl.nav.soilHealth", "Soil Health"),
|
|
156
157
|
path: $(K, "soil"),
|
|
157
|
-
icon: /* @__PURE__ */
|
|
158
|
+
icon: /* @__PURE__ */ z(h, { size: 20 }),
|
|
158
159
|
order: 13,
|
|
159
160
|
group: "farming"
|
|
160
161
|
},
|
|
@@ -162,7 +163,7 @@ var K = (n) => {
|
|
|
162
163
|
id: "healthybowl-pest",
|
|
163
164
|
label: Q("healthybowl.nav.pestManagement", "Pest Management"),
|
|
164
165
|
path: $(K, "pest-management"),
|
|
165
|
-
icon: /* @__PURE__ */
|
|
166
|
+
icon: /* @__PURE__ */ z(se, { size: 20 }),
|
|
166
167
|
order: 14,
|
|
167
168
|
group: "farming"
|
|
168
169
|
},
|
|
@@ -170,7 +171,7 @@ var K = (n) => {
|
|
|
170
171
|
id: "healthybowl-pest-ai",
|
|
171
172
|
label: Q("healthybowl.nav.aiPestDetection", "AI Pest Detection"),
|
|
172
173
|
path: $(K, "pest-management/ai-detection"),
|
|
173
|
-
icon: /* @__PURE__ */
|
|
174
|
+
icon: /* @__PURE__ */ z(k, { size: 20 }),
|
|
174
175
|
order: 14.5,
|
|
175
176
|
group: "farming"
|
|
176
177
|
},
|
|
@@ -178,7 +179,7 @@ var K = (n) => {
|
|
|
178
179
|
id: "healthybowl-production",
|
|
179
180
|
label: Q("healthybowl.nav.production", "Production"),
|
|
180
181
|
path: $(K, "production"),
|
|
181
|
-
icon: /* @__PURE__ */
|
|
182
|
+
icon: /* @__PURE__ */ z(p, { size: 20 }),
|
|
182
183
|
order: 20,
|
|
183
184
|
group: "business"
|
|
184
185
|
},
|
|
@@ -186,7 +187,7 @@ var K = (n) => {
|
|
|
186
187
|
id: "healthybowl-products",
|
|
187
188
|
label: Q("healthybowl.nav.products", "Products"),
|
|
188
189
|
path: $(K, "products"),
|
|
189
|
-
icon: /* @__PURE__ */
|
|
190
|
+
icon: /* @__PURE__ */ z(w, { size: 20 }),
|
|
190
191
|
order: 21,
|
|
191
192
|
group: "business"
|
|
192
193
|
},
|
|
@@ -194,7 +195,7 @@ var K = (n) => {
|
|
|
194
195
|
id: "healthybowl-marketplace",
|
|
195
196
|
label: Q("healthybowl.nav.marketplace", "Marketplace"),
|
|
196
197
|
path: $(K, "marketplace"),
|
|
197
|
-
icon: /* @__PURE__ */
|
|
198
|
+
icon: /* @__PURE__ */ z(M, { size: 20 }),
|
|
198
199
|
order: 22,
|
|
199
200
|
group: "business"
|
|
200
201
|
},
|
|
@@ -202,7 +203,7 @@ var K = (n) => {
|
|
|
202
203
|
id: "healthybowl-labour",
|
|
203
204
|
label: Q("healthybowl.nav.labour", "Labour"),
|
|
204
205
|
path: $(K, "labour"),
|
|
205
|
-
icon: /* @__PURE__ */
|
|
206
|
+
icon: /* @__PURE__ */ z(_, { size: 20 }),
|
|
206
207
|
order: 22.5,
|
|
207
208
|
group: "business"
|
|
208
209
|
},
|
|
@@ -210,7 +211,7 @@ var K = (n) => {
|
|
|
210
211
|
id: "healthybowl-coop",
|
|
211
212
|
label: Q("healthybowl.nav.coop", "Co-operative"),
|
|
212
213
|
path: $(K, "coop"),
|
|
213
|
-
icon: /* @__PURE__ */
|
|
214
|
+
icon: /* @__PURE__ */ z(L, { size: 20 }),
|
|
214
215
|
order: 22.5,
|
|
215
216
|
group: "business"
|
|
216
217
|
},
|
|
@@ -218,7 +219,7 @@ var K = (n) => {
|
|
|
218
219
|
id: "healthybowl-financial",
|
|
219
220
|
label: Q("healthybowl.nav.financial", "Financial"),
|
|
220
221
|
path: $(K, "financial"),
|
|
221
|
-
icon: /* @__PURE__ */
|
|
222
|
+
icon: /* @__PURE__ */ z(f, { size: 20 }),
|
|
222
223
|
order: 23,
|
|
223
224
|
group: "business"
|
|
224
225
|
},
|
|
@@ -226,7 +227,7 @@ var K = (n) => {
|
|
|
226
227
|
id: "healthybowl-financier",
|
|
227
228
|
label: Q("healthybowl.nav.financier", "Financier"),
|
|
228
229
|
path: $(K, "financier"),
|
|
229
|
-
icon: /* @__PURE__ */
|
|
230
|
+
icon: /* @__PURE__ */ z(ae, { size: 20 }),
|
|
230
231
|
order: 24,
|
|
231
232
|
group: "business"
|
|
232
233
|
},
|
|
@@ -234,7 +235,7 @@ var K = (n) => {
|
|
|
234
235
|
id: "healthybowl-compliance",
|
|
235
236
|
label: Q("healthybowl.nav.compliance", "Compliance"),
|
|
236
237
|
path: $(K, "compliance"),
|
|
237
|
-
icon: /* @__PURE__ */
|
|
238
|
+
icon: /* @__PURE__ */ z(j, { size: 20 }),
|
|
238
239
|
order: 30,
|
|
239
240
|
group: "compliance"
|
|
240
241
|
},
|
|
@@ -242,7 +243,7 @@ var K = (n) => {
|
|
|
242
243
|
id: "healthybowl-traceability",
|
|
243
244
|
label: Q("healthybowl.nav.traceability", "Traceability"),
|
|
244
245
|
path: $(K, "traceability"),
|
|
245
|
-
icon: /* @__PURE__ */
|
|
246
|
+
icon: /* @__PURE__ */ z(O, { size: 20 }),
|
|
246
247
|
order: 31,
|
|
247
248
|
group: "compliance"
|
|
248
249
|
},
|
|
@@ -250,7 +251,7 @@ var K = (n) => {
|
|
|
250
251
|
id: "healthybowl-sustainability",
|
|
251
252
|
label: Q("healthybowl.nav.sustainability", "Sustainability"),
|
|
252
253
|
path: $(K, "sustainability"),
|
|
253
|
-
icon: /* @__PURE__ */
|
|
254
|
+
icon: /* @__PURE__ */ z(b, { size: 20 }),
|
|
254
255
|
order: 32,
|
|
255
256
|
group: "compliance"
|
|
256
257
|
},
|
|
@@ -258,7 +259,7 @@ var K = (n) => {
|
|
|
258
259
|
id: "healthybowl-sustainability-carbon",
|
|
259
260
|
label: Q("healthybowl.nav.sustainabilityCarbon", "Carbon & GHG"),
|
|
260
261
|
path: $(K, "sustainability/carbon"),
|
|
261
|
-
icon: /* @__PURE__ */
|
|
262
|
+
icon: /* @__PURE__ */ z(p, { size: 20 }),
|
|
262
263
|
order: 32.1,
|
|
263
264
|
group: "compliance"
|
|
264
265
|
},
|
|
@@ -266,7 +267,7 @@ var K = (n) => {
|
|
|
266
267
|
id: "healthybowl-sustainability-soil",
|
|
267
268
|
label: Q("healthybowl.nav.sustainabilitySoil", "Soil Carbon"),
|
|
268
269
|
path: $(K, "sustainability/soil-carbon"),
|
|
269
|
-
icon: /* @__PURE__ */
|
|
270
|
+
icon: /* @__PURE__ */ z(N, { size: 20 }),
|
|
270
271
|
order: 32.2,
|
|
271
272
|
group: "compliance"
|
|
272
273
|
},
|
|
@@ -274,7 +275,7 @@ var K = (n) => {
|
|
|
274
275
|
id: "healthybowl-sustainability-credits",
|
|
275
276
|
label: Q("healthybowl.nav.sustainabilityCredits", "Carbon Credits"),
|
|
276
277
|
path: $(K, "sustainability/credits"),
|
|
277
|
-
icon: /* @__PURE__ */
|
|
278
|
+
icon: /* @__PURE__ */ z(ie, { size: 20 }),
|
|
278
279
|
order: 32.3,
|
|
279
280
|
group: "compliance"
|
|
280
281
|
},
|
|
@@ -282,7 +283,7 @@ var K = (n) => {
|
|
|
282
283
|
id: "healthybowl-sustainability-eudr",
|
|
283
284
|
label: Q("healthybowl.nav.sustainabilityEudr", "EUDR Due-Diligence"),
|
|
284
285
|
path: $(K, "sustainability/eudr"),
|
|
285
|
-
icon: /* @__PURE__ */
|
|
286
|
+
icon: /* @__PURE__ */ z(g, { size: 20 }),
|
|
286
287
|
order: 32.4,
|
|
287
288
|
group: "compliance"
|
|
288
289
|
},
|
|
@@ -290,7 +291,7 @@ var K = (n) => {
|
|
|
290
291
|
id: "healthybowl-schemes",
|
|
291
292
|
label: Q("healthybowl.nav.governmentSchemes", "Gov. Schemes"),
|
|
292
293
|
path: $(K, "government-schemes"),
|
|
293
|
-
icon: /* @__PURE__ */
|
|
294
|
+
icon: /* @__PURE__ */ z(y, { size: 20 }),
|
|
294
295
|
order: 40,
|
|
295
296
|
group: "support"
|
|
296
297
|
},
|
|
@@ -298,7 +299,7 @@ var K = (n) => {
|
|
|
298
299
|
id: "healthybowl-network",
|
|
299
300
|
label: Q("healthybowl.nav.network", "Network"),
|
|
300
301
|
path: $(K, "network"),
|
|
301
|
-
icon: /* @__PURE__ */
|
|
302
|
+
icon: /* @__PURE__ */ z(I, { size: 20 }),
|
|
302
303
|
order: 41,
|
|
303
304
|
group: "support"
|
|
304
305
|
},
|
|
@@ -306,7 +307,7 @@ var K = (n) => {
|
|
|
306
307
|
id: "healthybowl-analytics",
|
|
307
308
|
label: Q("healthybowl.nav.analytics", "Analytics"),
|
|
308
309
|
path: $(K, "analytics"),
|
|
309
|
-
icon: /* @__PURE__ */
|
|
310
|
+
icon: /* @__PURE__ */ z(oe, { size: 20 }),
|
|
310
311
|
order: 42,
|
|
311
312
|
group: "support"
|
|
312
313
|
},
|
|
@@ -314,7 +315,7 @@ var K = (n) => {
|
|
|
314
315
|
id: "healthybowl-advisors",
|
|
315
316
|
label: Q("healthybowl.nav.advisors", "My Advisors"),
|
|
316
317
|
path: $(K, "advisors"),
|
|
317
|
-
icon: /* @__PURE__ */
|
|
318
|
+
icon: /* @__PURE__ */ z(F, { size: 20 }),
|
|
318
319
|
order: 43,
|
|
319
320
|
group: "support"
|
|
320
321
|
},
|
|
@@ -322,34 +323,34 @@ var K = (n) => {
|
|
|
322
323
|
id: "healthybowl-consultant",
|
|
323
324
|
label: Q("healthybowl.nav.consultant", "Consultant"),
|
|
324
325
|
path: $(K, "consultant"),
|
|
325
|
-
icon: /* @__PURE__ */
|
|
326
|
+
icon: /* @__PURE__ */ z(ce, { size: 20 }),
|
|
326
327
|
order: 44,
|
|
327
328
|
group: "support"
|
|
328
329
|
}
|
|
329
330
|
], J));
|
|
330
331
|
}, [
|
|
331
|
-
|
|
332
|
+
V,
|
|
332
333
|
K,
|
|
333
334
|
J,
|
|
334
335
|
Q
|
|
335
|
-
]),
|
|
336
|
-
if (
|
|
336
|
+
]), l(() => {
|
|
337
|
+
if (G) return G([{
|
|
337
338
|
id: "healthybowl-status",
|
|
338
339
|
label: Q("healthybowl.footer.ready", "HealthyBowl Ready"),
|
|
339
340
|
type: "status",
|
|
340
341
|
order: 10,
|
|
341
342
|
section: "left"
|
|
342
343
|
}]);
|
|
343
|
-
}, [
|
|
344
|
+
}, [G, Q]), /* @__PURE__ */ B(e, {
|
|
344
345
|
...n,
|
|
345
|
-
children: [/* @__PURE__ */
|
|
346
|
+
children: [/* @__PURE__ */ z("style", { children: W }), /* @__PURE__ */ z(a, { children: /* @__PURE__ */ z(o, { children: /* @__PURE__ */ B(c, { children: [/* @__PURE__ */ z(te, {}), /* @__PURE__ */ z(s, {})] }) }) })]
|
|
346
347
|
});
|
|
347
|
-
}, q = (e) => /* @__PURE__ */
|
|
348
|
+
}, q = (e) => /* @__PURE__ */ z(V, {
|
|
348
349
|
workspaceId: e.workspaceId ?? null,
|
|
349
350
|
gateway: "global",
|
|
350
351
|
flagKeys: n,
|
|
351
352
|
defaultEnabled: !0,
|
|
352
|
-
children: /* @__PURE__ */
|
|
353
|
+
children: /* @__PURE__ */ z(K, { ...e })
|
|
353
354
|
}, e.workspaceId ?? "no-workspace");
|
|
354
355
|
//#endregion
|
|
355
356
|
export { q as HealthyBowlRoot };
|