@burdenoff/microfe-healthybowl 2026.904.21 → 2026.904.22
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/AssistantChatArea.js +7 -9
- package/dist/components/assistant/AssistantChatArea.js.map +1 -1
- package/dist/healthybowl/HealthyBowlRoot.js +56 -57
- package/dist/healthybowl/HealthyBowlRoot.js.map +1 -1
- package/dist/healthybowl/HealthyBowlRoutes.js +36 -48
- package/dist/healthybowl/HealthyBowlRoutes.js.map +1 -1
- package/dist/healthybowl/components/CreateFarmTaskButton.js.map +1 -1
- package/dist/healthybowl/components/PageLayout.js +10 -11
- 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/useHealthyBowlCompliance.js +141 -157
- package/dist/healthybowl/hooks/useHealthyBowlCompliance.js.map +1 -1
- package/dist/healthybowl/hooks/useHealthyBowlData.js +0 -18
- package/dist/healthybowl/hooks/useHealthyBowlData.js.map +1 -1
- package/dist/healthybowl/hooks/useHealthyBowlDistribution.js +37 -52
- package/dist/healthybowl/hooks/useHealthyBowlDistribution.js.map +1 -1
- package/dist/healthybowl/hooks/useHealthyBowlLivestockDepth.js +78 -135
- 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/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/OfflineStatusPill.js +21 -40
- package/dist/healthybowl/offline/OfflineStatusPill.js.map +1 -1
- package/dist/healthybowl/offline/OfflineSyncProvider.js +130 -153
- package/dist/healthybowl/offline/OfflineSyncProvider.js.map +1 -1
- package/dist/healthybowl/offline/graphql.js.map +1 -1
- package/dist/healthybowl/offline/store.js +1 -1
- package/dist/healthybowl/offline/syncEngine.js +1 -2
- package/dist/healthybowl/offline/syncEngine.js.map +1 -1
- package/dist/healthybowl/offline/types.js.map +1 -1
- package/dist/healthybowl/pages/GettingStartedPage.js +0 -1
- package/dist/healthybowl/pages/GettingStartedPage.js.map +1 -1
- 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 +99 -136
- package/dist/healthybowl/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/healthybowl/pages/compliance/ComplianceOverviewPage.js +162 -204
- package/dist/healthybowl/pages/compliance/ComplianceOverviewPage.js.map +1 -1
- package/dist/healthybowl/pages/compliance/IcsGroupDetailPage.js +178 -196
- package/dist/healthybowl/pages/compliance/IcsGroupDetailPage.js.map +1 -1
- package/dist/healthybowl/pages/compliance/IcsGrowerDetailPage.js +141 -142
- package/dist/healthybowl/pages/compliance/IcsGrowerDetailPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/CropFieldsPage.js +0 -2
- package/dist/healthybowl/pages/crops/CropFieldsPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/CropHarvestPage.js +272 -316
- package/dist/healthybowl/pages/crops/CropHarvestPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/CropPlanningPage.js +0 -6
- package/dist/healthybowl/pages/crops/CropPlanningPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js +846 -871
- package/dist/healthybowl/pages/crops/FieldDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js +334 -376
- package/dist/healthybowl/pages/crops/HarvestDetailsPage.js.map +1 -1
- package/dist/healthybowl/pages/distribution/CsaPlanDetailPage.js +188 -415
- package/dist/healthybowl/pages/distribution/CsaPlanDetailPage.js.map +1 -1
- package/dist/healthybowl/pages/distribution/labels.js +2 -10
- package/dist/healthybowl/pages/distribution/labels.js.map +1 -1
- package/dist/healthybowl/pages/farm/FarmProfilePage.js +0 -1
- 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 +0 -2
- package/dist/healthybowl/pages/fields/FieldMapPage.js.map +1 -1
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js +107 -92
- package/dist/healthybowl/pages/financial/FinancialReportsPage.js.map +1 -1
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js +188 -228
- package/dist/healthybowl/pages/government-schemes/ApplicationTrackingPage.js.map +1 -1
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js +191 -261
- package/dist/healthybowl/pages/government-schemes/SchemeDetailsPage.js.map +1 -1
- 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 +307 -338
- package/dist/healthybowl/pages/irrigation/IrrigationPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/AnimalDepthFormModal.js +102 -126
- package/dist/healthybowl/pages/livestock/AnimalDepthFormModal.js.map +1 -1
- package/dist/healthybowl/pages/livestock/AnimalDepthPage.js +215 -257
- package/dist/healthybowl/pages/livestock/AnimalDepthPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/GrazingPage.js +0 -1
- package/dist/healthybowl/pages/livestock/GrazingPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/HerdDepthPage.js +0 -4
- package/dist/healthybowl/pages/livestock/HerdDepthPage.js.map +1 -1
- package/dist/healthybowl/pages/livestock/grazing/RecordGrazingMoveModal.js +9 -8
- package/dist/healthybowl/pages/livestock/grazing/RecordGrazingMoveModal.js.map +1 -1
- package/dist/healthybowl/pages/network/ExpertsPage.js +419 -520
- package/dist/healthybowl/pages/network/ExpertsPage.js.map +1 -1
- package/dist/healthybowl/pages/weather/WeatherAlertHistoryPage.js +130 -129
- package/dist/healthybowl/pages/weather/WeatherAlertHistoryPage.js.map +1 -1
- package/dist/healthybowl/pages/weather/WeatherSettingsPage.js +237 -285
- package/dist/healthybowl/pages/weather/WeatherSettingsPage.js.map +1 -1
- 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 +86 -74
- package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
- package/dist/services/assistantApi.js +30 -59
- package/dist/services/assistantApi.js.map +1 -1
- package/dist/utils/pageContext.js +1 -15
- package/dist/utils/pageContext.js.map +1 -1
- package/package.json +1 -1
- package/dist/healthybowl/hooks/useAgronomyDecisions.js +0 -79
- package/dist/healthybowl/hooks/useAgronomyDecisions.js.map +0 -1
- package/dist/healthybowl/hooks/useAnalyticsReports.js +0 -173
- package/dist/healthybowl/hooks/useAnalyticsReports.js.map +0 -1
- package/dist/healthybowl/hooks/useComplianceExports.js +0 -74
- package/dist/healthybowl/hooks/useComplianceExports.js.map +0 -1
- package/dist/healthybowl/hooks/useConsultationPayments.js +0 -59
- package/dist/healthybowl/hooks/useConsultationPayments.js.map +0 -1
- package/dist/healthybowl/hooks/usePlantingEstimate.js +0 -88
- package/dist/healthybowl/hooks/usePlantingEstimate.js.map +0 -1
- package/dist/healthybowl/offline/HeaderOfflinePill.js +0 -28
- package/dist/healthybowl/offline/HeaderOfflinePill.js.map +0 -1
- package/dist/healthybowl/offline/captureCache.js +0 -30
- package/dist/healthybowl/offline/captureCache.js.map +0 -1
- package/dist/healthybowl/offline/headerSlot.js +0 -24
- package/dist/healthybowl/offline/headerSlot.js.map +0 -1
- package/dist/healthybowl/pages/ai/AiDecisionsPage.js +0 -287
- package/dist/healthybowl/pages/ai/AiDecisionsPage.js.map +0 -1
- package/dist/healthybowl/pages/compliance/ResidueTestsPage.js +0 -291
- package/dist/healthybowl/pages/compliance/ResidueTestsPage.js.map +0 -1
- package/dist/healthybowl/pages/compliance/SubstanceRulesPage.js +0 -300
- package/dist/healthybowl/pages/compliance/SubstanceRulesPage.js.map +0 -1
- package/dist/healthybowl/pages/compliance/substanceRuleForm.js +0 -135
- package/dist/healthybowl/pages/compliance/substanceRuleForm.js.map +0 -1
- package/dist/healthybowl/pages/government-schemes/schemeApplicationTransitions.js +0 -49
- package/dist/healthybowl/pages/government-schemes/schemeApplicationTransitions.js.map +0 -1
- package/dist/healthybowl/pages/government-schemes/schemeDocumentSlots.js +0 -48
- package/dist/healthybowl/pages/government-schemes/schemeDocumentSlots.js.map +0 -1
- package/dist/healthybowl/pages/government-schemes/useSchemeApplicationTransition.js +0 -54
- package/dist/healthybowl/pages/government-schemes/useSchemeApplicationTransition.js.map +0 -1
- package/dist/healthybowl/pages/livestock/PedigreeTree.js +0 -154
- package/dist/healthybowl/pages/livestock/PedigreeTree.js.map +0 -1
- package/dist/healthybowl/pages/livestock/eidTagInput.js +0 -39
- package/dist/healthybowl/pages/livestock/eidTagInput.js.map +0 -1
- package/dist/healthybowl/pages/livestock/pedigreeLayout.js +0 -68
- package/dist/healthybowl/pages/livestock/pedigreeLayout.js.map +0 -1
- package/dist/healthybowl/pages/weather/alertDelivery.js +0 -105
- package/dist/healthybowl/pages/weather/alertDelivery.js.map +0 -1
- package/dist/healthybowl/utils/icsInspection.js +0 -18
- package/dist/healthybowl/utils/icsInspection.js.map +0 -1
|
@@ -4,13 +4,13 @@ import { createContext as n, useCallback as r, useContext as i, useRef as a } fr
|
|
|
4
4
|
import { MemoryRouter as o } from "react-router";
|
|
5
5
|
import { jsx as s } from "react/jsx-runtime";
|
|
6
6
|
//#region src/healthybowl/context/HealthyBowlContext.tsx
|
|
7
|
-
var c =
|
|
8
|
-
function
|
|
9
|
-
let e = i(
|
|
7
|
+
var c = n(null);
|
|
8
|
+
function l() {
|
|
9
|
+
let e = i(c);
|
|
10
10
|
if (!e) throw Error("useHealthyBowl must be used within a HealthyBowlProvider");
|
|
11
11
|
return e;
|
|
12
12
|
}
|
|
13
|
-
var
|
|
13
|
+
var u = ({ children: n, basePath: i = "/", navigate: l = () => {}, currentUser: u, workspaceId: d = "", apiGatewayUrl: f = "", globalGatewayUrl: p = "", authToken: m = "", googleMapsApiKey: h, ttsEndpoint: g }) => {
|
|
14
14
|
e({ googleMapsApiKey: h });
|
|
15
15
|
let _ = a(m);
|
|
16
16
|
_.current = m, t({
|
|
@@ -19,19 +19,19 @@ var d = ({ children: n, basePath: i = "/", navigate: c = () => {}, currentUser:
|
|
|
19
19
|
});
|
|
20
20
|
let v = {
|
|
21
21
|
basePath: i,
|
|
22
|
-
navigate:
|
|
22
|
+
navigate: l,
|
|
23
23
|
currentUser: u,
|
|
24
24
|
workspaceId: d,
|
|
25
25
|
apiGatewayUrl: f,
|
|
26
26
|
globalGatewayUrl: p,
|
|
27
27
|
authToken: m
|
|
28
|
-
}, y = /* @__PURE__ */ s(
|
|
28
|
+
}, y = /* @__PURE__ */ s(c.Provider, {
|
|
29
29
|
value: v,
|
|
30
30
|
children: n
|
|
31
31
|
});
|
|
32
32
|
return i && i !== "/" ? y : /* @__PURE__ */ s(o, { children: y });
|
|
33
33
|
};
|
|
34
34
|
//#endregion
|
|
35
|
-
export {
|
|
35
|
+
export { u as HealthyBowlProvider, l as useHealthyBowl };
|
|
36
36
|
|
|
37
37
|
//# sourceMappingURL=HealthyBowlContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HealthyBowlContext.js","names":[],"sources":["../../../src/healthybowl/context/HealthyBowlContext.tsx"],"sourcesContent":["/**\n * HealthyBowl Context Provider\n * @module healthybowl\n */\n\nimport { createContext, useCallback, useContext, useRef, type FC, type PropsWithChildren } from 'react';\nimport { MemoryRouter } from 'react-router';\nimport type { HealthyBowlRootProps } from '../types';\nimport { configureGeocoder } from '../utils/geocode';\nimport { configureSpeechEngine } from '../../services/speech';\n\ninterface HealthyBowlContextValue {\n basePath: string;\n navigate: (path: string) => void;\n currentUser: HealthyBowlRootProps['currentUser'];\n workspaceId: string;\n apiGatewayUrl: string;\n globalGatewayUrl: string;\n authToken: string;\n}\n\
|
|
1
|
+
{"version":3,"file":"HealthyBowlContext.js","names":[],"sources":["../../../src/healthybowl/context/HealthyBowlContext.tsx"],"sourcesContent":["/**\n * HealthyBowl Context Provider\n * @module healthybowl\n */\n\nimport { createContext, useCallback, useContext, useRef, type FC, type PropsWithChildren } from 'react';\nimport { MemoryRouter } from 'react-router';\nimport type { HealthyBowlRootProps } from '../types';\nimport { configureGeocoder } from '../utils/geocode';\nimport { configureSpeechEngine } from '../../services/speech';\n\ninterface HealthyBowlContextValue {\n basePath: string;\n navigate: (path: string) => void;\n currentUser: HealthyBowlRootProps['currentUser'];\n workspaceId: string;\n apiGatewayUrl: string;\n globalGatewayUrl: string;\n authToken: string;\n}\n\nconst HealthyBowlContext = createContext<HealthyBowlContextValue | null>(null);\n\nexport function useHealthyBowl(): HealthyBowlContextValue {\n const context = useContext(HealthyBowlContext);\n if (!context) {\n throw new Error('useHealthyBowl must be used within a HealthyBowlProvider');\n }\n return context;\n}\n\nexport const HealthyBowlProvider: FC<PropsWithChildren<HealthyBowlRootProps>> = ({\n children,\n basePath = '/',\n navigate = () => {},\n currentUser,\n workspaceId = '',\n apiGatewayUrl = '',\n globalGatewayUrl = '',\n authToken = '',\n googleMapsApiKey,\n ttsEndpoint,\n}) => {\n // Inject the host app's Google Maps key into the (non-React) geocoder. Done\n // synchronously in render (not useEffect) so it's set before child map effects\n // run — child effects fire before parent effects. Idempotent module assignment.\n configureGeocoder({ googleMapsApiKey });\n\n /**\n * Point the assistant's speech stack at the hosted TTS proxy.\n *\n * Wiring it HERE, rather than exporting `configureSpeechEngine` for the host\n * to call, is what makes the feature exist at all: nothing outside this graph\n * imported it, so the published bundle had the function tree-shaken away and\n * the module-level endpoint/header slots could never be assigned. The only\n * reachable switch was `window.__HB_TTS_ENDPOINT__`, which carries no headers\n * — i.e. hosted TTS could previously only have been enabled ANONYMOUSLY,\n * against a proxy that bills per character.\n *\n * The token is read through a ref rather than captured. `configureSpeechEngine`\n * is deliberately idempotent (resetting the memoised engine every render would\n * cancel playback mid-reply), so it keeps the FIRST `getHeaders` it is given —\n * and a captured token would work right up until it refreshed, then fail in\n * the hardest place to notice. A stable identity also means this call is a\n * no-op on every render after the first.\n */\n const authTokenRef = useRef(authToken);\n authTokenRef.current = authToken;\n const getHeaders = useCallback(\n (): Record<string, string> => (authTokenRef.current ? { authorization: `Bearer ${authTokenRef.current}` } : {}),\n []\n );\n configureSpeechEngine({ ttsEndpoint, getHeaders });\n\n const contextValue: HealthyBowlContextValue = {\n basePath,\n navigate,\n currentUser,\n workspaceId,\n apiGatewayUrl,\n globalGatewayUrl,\n authToken,\n };\n\n const content = <HealthyBowlContext.Provider value={contextValue}>{children}</HealthyBowlContext.Provider>;\n\n // If basePath is provided, we're running inside the host shell (which has BrowserRouter)\n if (basePath && basePath !== '/') return content;\n\n // Standalone mode: wrap in MemoryRouter\n return <MemoryRouter>{content}</MemoryRouter>;\n};\n"],"mappings":";;;;;;AAqBA,IAAM,IAAqB,EAA8C,IAAI;AAE7E,SAAgB,IAA0C;CACxD,IAAM,IAAU,EAAW,CAAkB;CAC7C,IAAI,CAAC,GACH,MAAU,MAAM,0DAA0D;CAE5E,OAAO;AACT;AAEA,IAAa,KAAoE,EAC/E,aACA,cAAW,KACX,oBAAiB,CAAC,GAClB,gBACA,iBAAc,IACd,mBAAgB,IAChB,sBAAmB,IACnB,eAAY,IACZ,qBACA,qBACI;CAIJ,EAAkB,EAAE,oBAAiB,CAAC;CAoBtC,IAAM,IAAe,EAAO,CAAS;CAMrC,AALA,EAAa,UAAU,GAKvB,EAAsB;EAAE;EAAa,YAJlB,QACc,EAAa,UAAU,EAAE,eAAe,UAAU,EAAa,UAAU,IAAI,CAAC,GAC7G,CAAC,CAEkC;CAAW,CAAC;CAEjD,IAAM,IAAwC;EAC5C;EACA;EACA;EACA;EACA;EACA;EACA;CACF,GAEM,IAAU,kBAAC,EAAmB,UAApB;EAA6B,OAAO;EAAe;CAAsC,CAAA;CAMzG,OAHI,KAAY,MAAa,MAAY,IAGlC,kBAAC,GAAD,EAAA,UAAe,EAAsB,CAAA;AAC9C"}
|
|
@@ -89,11 +89,11 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
89
89
|
query GetHealthyBowlCertificationDetail($id: ID!, $context: ContextInput!) {
|
|
90
90
|
getHealthyBowlCertificationDetail(id: $id, context: $context) { ${f} }
|
|
91
91
|
}
|
|
92
|
-
`,
|
|
92
|
+
`, ie = r`
|
|
93
93
|
query GetHealthyBowlComplianceFlags($context: ContextInput!, $status: String, $type: String) {
|
|
94
94
|
getHealthyBowlComplianceFlags(context: $context, status: $status, type: $type) { ${c} }
|
|
95
95
|
}
|
|
96
|
-
`,
|
|
96
|
+
`, ae = r`
|
|
97
97
|
query GetHealthyBowlSubstanceRules($context: ContextInput!) {
|
|
98
98
|
getHealthyBowlSubstanceRules(context: $context) {
|
|
99
99
|
id
|
|
@@ -109,7 +109,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
109
109
|
builtin
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
`,
|
|
112
|
+
`, oe = r`
|
|
113
113
|
query GetHealthyBowlResidueTests($context: ContextInput!) {
|
|
114
114
|
getHealthyBowlResidueTests(context: $context) {
|
|
115
115
|
id
|
|
@@ -123,7 +123,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
123
123
|
notes
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
`,
|
|
126
|
+
`, se = r`
|
|
127
127
|
query GetHealthyBowlCertificatesOfOrigin($context: ContextInput!) {
|
|
128
128
|
getHealthyBowlCertificatesOfOrigin(context: $context) {
|
|
129
129
|
id
|
|
@@ -146,7 +146,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
146
146
|
fileName
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`, g = r`
|
|
150
150
|
query GetHealthyBowlCertificateOfOriginPdf($id: ID!, $context: ContextInput!) {
|
|
151
151
|
getHealthyBowlCertificateOfOriginPdf(id: $id, context: $context) {
|
|
152
152
|
id
|
|
@@ -156,7 +156,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
156
156
|
pdfBase64
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
`,
|
|
159
|
+
`, ce = r`
|
|
160
160
|
mutation CreateHealthyBowlIcsGroup($input: CreateIcsGroupInput!) {
|
|
161
161
|
createHealthyBowlIcsGroup(input: $input) {
|
|
162
162
|
id
|
|
@@ -165,7 +165,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
165
165
|
status
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
168
|
+
`, le = r`
|
|
169
169
|
mutation UpdateHealthyBowlIcsGroup($input: UpdateIcsGroupInput!) {
|
|
170
170
|
updateHealthyBowlIcsGroup(input: $input) {
|
|
171
171
|
id
|
|
@@ -174,11 +174,11 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
174
174
|
status
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
`,
|
|
177
|
+
`, ue = r`
|
|
178
178
|
mutation DeleteHealthyBowlIcsGroup($id: ID!, $context: ContextInput!) {
|
|
179
179
|
deleteHealthyBowlIcsGroup(id: $id, context: $context)
|
|
180
180
|
}
|
|
181
|
-
`,
|
|
181
|
+
`, _ = r`
|
|
182
182
|
mutation CreateHealthyBowlIcsGrower($input: CreateIcsGrowerInput!) {
|
|
183
183
|
createHealthyBowlIcsGrower(input: $input) {
|
|
184
184
|
id
|
|
@@ -194,11 +194,11 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
194
194
|
riskLevel
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
`,
|
|
197
|
+
`, v = r`
|
|
198
198
|
mutation DeleteHealthyBowlIcsGrower($id: ID!, $context: ContextInput!) {
|
|
199
199
|
deleteHealthyBowlIcsGrower(id: $id, context: $context)
|
|
200
200
|
}
|
|
201
|
-
`,
|
|
201
|
+
`, fe = r`
|
|
202
202
|
mutation ScheduleHealthyBowlIcsInspection($input: ScheduleIcsInspectionInput!) {
|
|
203
203
|
scheduleHealthyBowlIcsInspection(input: $input) {
|
|
204
204
|
id
|
|
@@ -206,16 +206,15 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
206
206
|
inspectionDate
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
`,
|
|
209
|
+
`, pe = r`
|
|
210
210
|
mutation RecordHealthyBowlIcsInspection($input: RecordIcsInspectionInput!) {
|
|
211
211
|
recordHealthyBowlIcsInspection(input: $input) {
|
|
212
212
|
id
|
|
213
213
|
status
|
|
214
214
|
findingsCount
|
|
215
|
-
photoFileIds
|
|
216
215
|
}
|
|
217
216
|
}
|
|
218
|
-
`,
|
|
217
|
+
`, me = r`
|
|
219
218
|
mutation ApplyHealthyBowlCertificationStandard($input: ApplyCertificationStandardInput!) {
|
|
220
219
|
applyHealthyBowlCertificationStandard(input: $input) {
|
|
221
220
|
progressPercent
|
|
@@ -224,7 +223,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
224
223
|
missingCount
|
|
225
224
|
}
|
|
226
225
|
}
|
|
227
|
-
`,
|
|
226
|
+
`, he = r`
|
|
228
227
|
mutation UpdateHealthyBowlCertificationChecklistItem($input: UpdateChecklistItemInput!) {
|
|
229
228
|
updateHealthyBowlCertificationChecklistItem(input: $input) {
|
|
230
229
|
progressPercent
|
|
@@ -232,7 +231,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
232
231
|
missingCount
|
|
233
232
|
}
|
|
234
233
|
}
|
|
235
|
-
`,
|
|
234
|
+
`, ge = r`
|
|
236
235
|
mutation StartHealthyBowlCertificationRenewal($id: ID!, $context: ContextInput!) {
|
|
237
236
|
startHealthyBowlCertificationRenewal(id: $id, context: $context) {
|
|
238
237
|
id
|
|
@@ -241,7 +240,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
241
240
|
renewalStartedAt
|
|
242
241
|
}
|
|
243
242
|
}
|
|
244
|
-
`,
|
|
243
|
+
`, _e = r`
|
|
245
244
|
mutation RunHealthyBowlComplianceScan($context: ContextInput!) {
|
|
246
245
|
runHealthyBowlComplianceScan(context: $context) {
|
|
247
246
|
scannedAt
|
|
@@ -257,14 +256,14 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
257
256
|
notificationsSent
|
|
258
257
|
}
|
|
259
258
|
}
|
|
260
|
-
`,
|
|
259
|
+
`, ve = r`
|
|
261
260
|
mutation AcknowledgeHealthyBowlComplianceFlag($id: ID!, $context: ContextInput!) {
|
|
262
261
|
acknowledgeHealthyBowlComplianceFlag(id: $id, context: $context) {
|
|
263
262
|
id
|
|
264
263
|
status
|
|
265
264
|
}
|
|
266
265
|
}
|
|
267
|
-
`,
|
|
266
|
+
`, ye = r`
|
|
268
267
|
mutation ResolveHealthyBowlComplianceFlag($input: ResolveComplianceFlagInput!) {
|
|
269
268
|
resolveHealthyBowlComplianceFlag(input: $input) {
|
|
270
269
|
id
|
|
@@ -272,7 +271,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
272
271
|
resolution
|
|
273
272
|
}
|
|
274
273
|
}
|
|
275
|
-
`,
|
|
274
|
+
`, be = r`
|
|
276
275
|
mutation DismissHealthyBowlComplianceFlag($input: DismissComplianceFlagInput!) {
|
|
277
276
|
dismissHealthyBowlComplianceFlag(input: $input) {
|
|
278
277
|
id
|
|
@@ -280,27 +279,18 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
280
279
|
resolution
|
|
281
280
|
}
|
|
282
281
|
}
|
|
283
|
-
`,
|
|
282
|
+
`, xe = r`
|
|
284
283
|
mutation CreateHealthyBowlSubstanceRule($input: CreateComplianceSubstanceRuleInput!) {
|
|
285
284
|
createHealthyBowlSubstanceRule(input: $input) {
|
|
286
285
|
id
|
|
287
286
|
substanceName
|
|
288
287
|
}
|
|
289
288
|
}
|
|
290
|
-
`,
|
|
291
|
-
mutation UpdateHealthyBowlSubstanceRule($input: UpdateComplianceSubstanceRuleInput!) {
|
|
292
|
-
updateHealthyBowlSubstanceRule(input: $input) {
|
|
293
|
-
id
|
|
294
|
-
substanceName
|
|
295
|
-
prohibited
|
|
296
|
-
mrlMgPerKg
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
`, we = r`
|
|
289
|
+
`, Se = r`
|
|
300
290
|
mutation DeleteHealthyBowlSubstanceRule($id: ID!, $context: ContextInput!) {
|
|
301
291
|
deleteHealthyBowlSubstanceRule(id: $id, context: $context)
|
|
302
292
|
}
|
|
303
|
-
`,
|
|
293
|
+
`, Ce = r`
|
|
304
294
|
mutation CreateHealthyBowlResidueTest($input: CreateComplianceResidueTestInput!) {
|
|
305
295
|
createHealthyBowlResidueTest(input: $input) {
|
|
306
296
|
id
|
|
@@ -308,11 +298,11 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
308
298
|
measuredMgPerKg
|
|
309
299
|
}
|
|
310
300
|
}
|
|
311
|
-
`,
|
|
301
|
+
`, we = r`
|
|
312
302
|
mutation DeleteHealthyBowlResidueTest($id: ID!, $context: ContextInput!) {
|
|
313
303
|
deleteHealthyBowlResidueTest(id: $id, context: $context)
|
|
314
304
|
}
|
|
315
|
-
`,
|
|
305
|
+
`, Te = r`
|
|
316
306
|
mutation GenerateHealthyBowlCertificateOfOrigin($input: GenerateCertificateOfOriginInput!) {
|
|
317
307
|
generateHealthyBowlCertificateOfOrigin(input: $input) {
|
|
318
308
|
id
|
|
@@ -320,7 +310,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
320
310
|
status
|
|
321
311
|
}
|
|
322
312
|
}
|
|
323
|
-
`,
|
|
313
|
+
`, Ee = r`
|
|
324
314
|
mutation AttachHealthyBowlCertificateOfOriginFile($input: AttachCertificateOfOriginFileInput!) {
|
|
325
315
|
attachHealthyBowlCertificateOfOriginFile(input: $input) {
|
|
326
316
|
id
|
|
@@ -328,7 +318,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
328
318
|
fileName
|
|
329
319
|
}
|
|
330
320
|
}
|
|
331
|
-
`,
|
|
321
|
+
`, De = r`
|
|
332
322
|
mutation RevokeHealthyBowlCertificateOfOrigin($id: ID!, $context: ContextInput!) {
|
|
333
323
|
revokeHealthyBowlCertificateOfOrigin(id: $id, context: $context) {
|
|
334
324
|
id
|
|
@@ -336,7 +326,7 @@ var ee = "00000000-0000-0000-0000-000000000001", o = "\n id\n name\n body\n
|
|
|
336
326
|
}
|
|
337
327
|
}
|
|
338
328
|
`;
|
|
339
|
-
function
|
|
329
|
+
function y(r = {}) {
|
|
340
330
|
let { workspaceId: o } = e(), s = o || ee, c = n(() => ({ workspaceId: s }), [s]), l = r.skipSecondary === !0, u = a(te, {
|
|
341
331
|
variables: { context: c },
|
|
342
332
|
fetchPolicy: "cache-and-network"
|
|
@@ -348,29 +338,29 @@ function v(r = {}) {
|
|
|
348
338
|
variables: { context: c },
|
|
349
339
|
fetchPolicy: "cache-first",
|
|
350
340
|
skip: l
|
|
351
|
-
}),
|
|
341
|
+
}), y = a(ae, {
|
|
352
342
|
variables: { context: c },
|
|
353
343
|
fetchPolicy: "cache-and-network",
|
|
354
344
|
skip: l
|
|
355
|
-
}),
|
|
345
|
+
}), b = a(oe, {
|
|
356
346
|
variables: { context: c },
|
|
357
347
|
fetchPolicy: "cache-and-network",
|
|
358
348
|
skip: l
|
|
359
|
-
}),
|
|
349
|
+
}), x = a(se, {
|
|
360
350
|
variables: { context: c },
|
|
361
351
|
fetchPolicy: "cache-and-network",
|
|
362
352
|
skip: l
|
|
363
|
-
}),
|
|
353
|
+
}), S = a(ie, {
|
|
364
354
|
variables: { context: c },
|
|
365
355
|
fetchPolicy: "cache-and-network",
|
|
366
356
|
skip: l
|
|
367
|
-
}),
|
|
357
|
+
}), C = u.refetch, w = d.refetch, T = S.refetch, E = y.refetch, D = b.refetch, O = x.refetch, k = t(async (...e) => {
|
|
368
358
|
await Promise.all(e.map((e) => e().catch(() => {})));
|
|
369
|
-
}, []), [
|
|
359
|
+
}, []), [A] = i(ce), [j] = i(le), [M] = i(ue), [N] = i(_), [P] = i(de), [F] = i(v), [I] = i(fe), [L] = i(pe), [R] = i(me), [z] = i(he), [B] = i(ge), [V] = i(_e), [H] = i(ve), [U] = i(ye), [W] = i(be), [G] = i(xe), [K] = i(Se), [q] = i(Ce), [J] = i(we), [Y] = i(Te), [X] = i(Ee), [Z] = i(De), Q = t(async (e, t, n) => {
|
|
370
360
|
let r = await e({ variables: t });
|
|
371
361
|
if (r.error) throw r.error instanceof Error ? r.error : Error(String(r.error));
|
|
372
|
-
return await
|
|
373
|
-
}, [
|
|
362
|
+
return await k(...n), r.data;
|
|
363
|
+
}, [k]), $ = t((e) => ({
|
|
374
364
|
...e,
|
|
375
365
|
context: c
|
|
376
366
|
}), [c]);
|
|
@@ -378,256 +368,250 @@ function v(r = {}) {
|
|
|
378
368
|
overview: u.data?.getHealthyBowlComplianceOverview ?? null,
|
|
379
369
|
ics: d.data?.getHealthyBowlIcsData ?? null,
|
|
380
370
|
standards: f.data?.getHealthyBowlCertificationStandards ?? [],
|
|
381
|
-
substanceRules:
|
|
382
|
-
residueTests:
|
|
383
|
-
certificatesOfOrigin:
|
|
384
|
-
flags:
|
|
371
|
+
substanceRules: y.data?.getHealthyBowlSubstanceRules ?? [],
|
|
372
|
+
residueTests: b.data?.getHealthyBowlResidueTests ?? [],
|
|
373
|
+
certificatesOfOrigin: x.data?.getHealthyBowlCertificatesOfOrigin ?? [],
|
|
374
|
+
flags: S.data?.getHealthyBowlComplianceFlags ?? [],
|
|
385
375
|
loading: {
|
|
386
376
|
overview: u.loading,
|
|
387
377
|
ics: d.loading,
|
|
388
378
|
standards: f.loading,
|
|
389
|
-
rules:
|
|
390
|
-
residue:
|
|
391
|
-
coos:
|
|
392
|
-
flags:
|
|
379
|
+
rules: y.loading,
|
|
380
|
+
residue: b.loading,
|
|
381
|
+
coos: x.loading,
|
|
382
|
+
flags: S.loading
|
|
393
383
|
},
|
|
394
384
|
errors: {
|
|
395
385
|
overview: u.error,
|
|
396
386
|
ics: d.error,
|
|
397
387
|
standards: f.error,
|
|
398
|
-
rules:
|
|
399
|
-
residue:
|
|
400
|
-
coos:
|
|
401
|
-
flags:
|
|
388
|
+
rules: y.error,
|
|
389
|
+
residue: b.error,
|
|
390
|
+
coos: x.error,
|
|
391
|
+
flags: S.error
|
|
402
392
|
},
|
|
403
|
-
refetchAll: t(() =>
|
|
404
|
-
|
|
405
|
-
S,
|
|
393
|
+
refetchAll: t(() => k(C, w, T, E, D, O), [
|
|
394
|
+
k,
|
|
406
395
|
C,
|
|
407
396
|
w,
|
|
408
397
|
T,
|
|
409
398
|
E,
|
|
410
|
-
D
|
|
399
|
+
D,
|
|
400
|
+
O
|
|
411
401
|
]),
|
|
412
|
-
createIcsGroup: t((e) => Q(
|
|
402
|
+
createIcsGroup: t((e) => Q(A, { input: $(e) }, [w, C]), [
|
|
413
403
|
Q,
|
|
414
|
-
|
|
404
|
+
A,
|
|
415
405
|
$,
|
|
416
|
-
|
|
417
|
-
|
|
406
|
+
w,
|
|
407
|
+
C
|
|
418
408
|
]),
|
|
419
|
-
updateIcsGroup: t((e) => Q(
|
|
409
|
+
updateIcsGroup: t((e) => Q(j, { input: $(e) }, [w]), [
|
|
420
410
|
Q,
|
|
421
|
-
|
|
411
|
+
j,
|
|
422
412
|
$,
|
|
423
|
-
|
|
413
|
+
w
|
|
424
414
|
]),
|
|
425
|
-
deleteIcsGroup: t((e) => Q(
|
|
415
|
+
deleteIcsGroup: t((e) => Q(M, {
|
|
426
416
|
id: e,
|
|
427
417
|
context: c
|
|
428
|
-
}, [
|
|
418
|
+
}, [w, C]), [
|
|
429
419
|
Q,
|
|
430
|
-
|
|
420
|
+
M,
|
|
431
421
|
c,
|
|
432
|
-
|
|
433
|
-
|
|
422
|
+
w,
|
|
423
|
+
C
|
|
434
424
|
]),
|
|
435
|
-
createIcsGrower: t((e) => Q(
|
|
425
|
+
createIcsGrower: t((e) => Q(N, { input: $(e) }, [w, C]), [
|
|
436
426
|
Q,
|
|
437
|
-
|
|
427
|
+
N,
|
|
438
428
|
$,
|
|
439
|
-
|
|
440
|
-
|
|
429
|
+
w,
|
|
430
|
+
C
|
|
441
431
|
]),
|
|
442
|
-
updateIcsGrower: t((e) => Q(
|
|
432
|
+
updateIcsGrower: t((e) => Q(P, { input: $(e) }, [w]), [
|
|
443
433
|
Q,
|
|
444
|
-
|
|
434
|
+
P,
|
|
445
435
|
$,
|
|
446
|
-
|
|
436
|
+
w
|
|
447
437
|
]),
|
|
448
|
-
deleteIcsGrower: t((e) => Q(
|
|
438
|
+
deleteIcsGrower: t((e) => Q(F, {
|
|
449
439
|
id: e,
|
|
450
440
|
context: c
|
|
451
|
-
}, [
|
|
441
|
+
}, [w, C]), [
|
|
452
442
|
Q,
|
|
453
|
-
|
|
443
|
+
F,
|
|
454
444
|
c,
|
|
455
|
-
|
|
456
|
-
|
|
445
|
+
w,
|
|
446
|
+
C
|
|
457
447
|
]),
|
|
458
|
-
scheduleInspection: t((e) => Q(
|
|
448
|
+
scheduleInspection: t((e) => Q(I, { input: $(e) }, [w, C]), [
|
|
459
449
|
Q,
|
|
460
|
-
|
|
450
|
+
I,
|
|
461
451
|
$,
|
|
462
|
-
|
|
463
|
-
|
|
452
|
+
w,
|
|
453
|
+
C
|
|
464
454
|
]),
|
|
465
|
-
recordInspection: t((e) => Q(
|
|
455
|
+
recordInspection: t((e) => Q(L, { input: $(e) }, [
|
|
456
|
+
w,
|
|
466
457
|
C,
|
|
467
|
-
|
|
468
|
-
w
|
|
458
|
+
T
|
|
469
459
|
]), [
|
|
470
460
|
Q,
|
|
471
|
-
|
|
461
|
+
L,
|
|
472
462
|
$,
|
|
463
|
+
w,
|
|
473
464
|
C,
|
|
474
|
-
|
|
475
|
-
w
|
|
465
|
+
T
|
|
476
466
|
]),
|
|
477
|
-
applyStandard: t((e, t) => Q(
|
|
467
|
+
applyStandard: t((e, t) => Q(R, { input: $({
|
|
478
468
|
certificationId: e,
|
|
479
469
|
...t ? { standardCode: t } : {}
|
|
480
|
-
}) }, [
|
|
470
|
+
}) }, [C]), [
|
|
481
471
|
Q,
|
|
482
|
-
|
|
472
|
+
R,
|
|
483
473
|
$,
|
|
484
|
-
|
|
474
|
+
C
|
|
485
475
|
]),
|
|
486
|
-
updateChecklistItem: t((e, t, n, r) => Q(
|
|
476
|
+
updateChecklistItem: t((e, t, n, r) => Q(z, { input: $({
|
|
487
477
|
id: e,
|
|
488
478
|
status: t,
|
|
489
479
|
...n === void 0 ? {} : { documentId: n },
|
|
490
480
|
...r === void 0 ? {} : { evidenceRefId: r }
|
|
491
|
-
}) }, [
|
|
481
|
+
}) }, [C, T]), [
|
|
492
482
|
Q,
|
|
493
|
-
|
|
483
|
+
z,
|
|
494
484
|
$,
|
|
495
|
-
|
|
496
|
-
|
|
485
|
+
C,
|
|
486
|
+
T
|
|
497
487
|
]),
|
|
498
|
-
startRenewal: t((e) => Q(
|
|
488
|
+
startRenewal: t((e) => Q(B, {
|
|
499
489
|
id: e,
|
|
500
490
|
context: c
|
|
501
|
-
}, [
|
|
491
|
+
}, [C, T]), [
|
|
502
492
|
Q,
|
|
503
|
-
|
|
493
|
+
B,
|
|
504
494
|
c,
|
|
505
|
-
|
|
506
|
-
|
|
495
|
+
C,
|
|
496
|
+
T
|
|
507
497
|
]),
|
|
508
498
|
runScan: t(async () => {
|
|
509
|
-
let e = await
|
|
499
|
+
let e = await V({ variables: { context: c } });
|
|
510
500
|
if (e.error) throw e.error;
|
|
511
|
-
return await
|
|
501
|
+
return await k(C, T, w), e.data?.runHealthyBowlComplianceScan ?? null;
|
|
512
502
|
}, [
|
|
513
|
-
|
|
503
|
+
V,
|
|
514
504
|
c,
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
505
|
+
k,
|
|
506
|
+
C,
|
|
507
|
+
T,
|
|
508
|
+
w
|
|
519
509
|
]),
|
|
520
|
-
acknowledgeFlag: t((e) => Q(
|
|
510
|
+
acknowledgeFlag: t((e) => Q(H, {
|
|
521
511
|
id: e,
|
|
522
512
|
context: c
|
|
523
|
-
}, [
|
|
513
|
+
}, [T, C]), [
|
|
524
514
|
Q,
|
|
525
|
-
|
|
515
|
+
H,
|
|
526
516
|
c,
|
|
527
|
-
|
|
528
|
-
|
|
517
|
+
T,
|
|
518
|
+
C
|
|
529
519
|
]),
|
|
530
|
-
resolveFlag: t((e, t) => Q(
|
|
520
|
+
resolveFlag: t((e, t) => Q(U, { input: $({
|
|
531
521
|
id: e,
|
|
532
522
|
resolution: t
|
|
533
|
-
}) }, [
|
|
523
|
+
}) }, [T, C]), [
|
|
534
524
|
Q,
|
|
535
|
-
|
|
525
|
+
U,
|
|
536
526
|
$,
|
|
537
|
-
|
|
538
|
-
|
|
527
|
+
T,
|
|
528
|
+
C
|
|
539
529
|
]),
|
|
540
|
-
dismissFlag: t((e, t) => Q(
|
|
530
|
+
dismissFlag: t((e, t) => Q(W, { input: $({
|
|
541
531
|
id: e,
|
|
542
532
|
reason: t
|
|
543
|
-
}) }, [
|
|
544
|
-
Q,
|
|
545
|
-
U,
|
|
546
|
-
$,
|
|
547
|
-
w,
|
|
548
|
-
S
|
|
549
|
-
]),
|
|
550
|
-
createSubstanceRule: t((e) => Q(W, { input: $(e) }, [T]), [
|
|
533
|
+
}) }, [T, C]), [
|
|
551
534
|
Q,
|
|
552
535
|
W,
|
|
553
536
|
$,
|
|
554
|
-
T
|
|
537
|
+
T,
|
|
538
|
+
C
|
|
555
539
|
]),
|
|
556
|
-
|
|
540
|
+
createSubstanceRule: t((e) => Q(G, { input: $(e) }, [E]), [
|
|
557
541
|
Q,
|
|
558
542
|
G,
|
|
559
543
|
$,
|
|
560
|
-
|
|
544
|
+
E
|
|
561
545
|
]),
|
|
562
546
|
deleteSubstanceRule: t((e) => Q(K, {
|
|
563
547
|
id: e,
|
|
564
548
|
context: c
|
|
565
|
-
}, [
|
|
549
|
+
}, [E]), [
|
|
566
550
|
Q,
|
|
567
551
|
K,
|
|
568
552
|
c,
|
|
569
|
-
|
|
553
|
+
E
|
|
570
554
|
]),
|
|
571
555
|
createResidueTest: t((e) => Q(q, { input: $(e) }, [
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
556
|
+
D,
|
|
557
|
+
T,
|
|
558
|
+
C
|
|
575
559
|
]), [
|
|
576
560
|
Q,
|
|
577
561
|
q,
|
|
578
562
|
$,
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
563
|
+
D,
|
|
564
|
+
T,
|
|
565
|
+
C
|
|
582
566
|
]),
|
|
583
567
|
deleteResidueTest: t((e) => Q(J, {
|
|
584
568
|
id: e,
|
|
585
569
|
context: c
|
|
586
|
-
}, [
|
|
570
|
+
}, [D]), [
|
|
587
571
|
Q,
|
|
588
572
|
J,
|
|
589
573
|
c,
|
|
590
|
-
|
|
574
|
+
D
|
|
591
575
|
]),
|
|
592
576
|
generateCertificateOfOrigin: t(async (e) => {
|
|
593
577
|
let t = await Y({ variables: { input: $(e) } });
|
|
594
578
|
if (t.error) throw t.error;
|
|
595
|
-
return await O
|
|
579
|
+
return await k(O), t.data?.generateHealthyBowlCertificateOfOrigin ?? null;
|
|
596
580
|
}, [
|
|
597
581
|
Y,
|
|
598
582
|
$,
|
|
599
|
-
|
|
600
|
-
|
|
583
|
+
k,
|
|
584
|
+
O
|
|
601
585
|
]),
|
|
602
586
|
attachCertificateOfOriginFile: t((e, t, n) => Q(X, { input: $({
|
|
603
587
|
id: e,
|
|
604
588
|
fileId: t,
|
|
605
589
|
...n ? { fileName: n } : {}
|
|
606
|
-
}) }, [
|
|
590
|
+
}) }, [O]), [
|
|
607
591
|
Q,
|
|
608
592
|
X,
|
|
609
593
|
$,
|
|
610
|
-
|
|
594
|
+
O
|
|
611
595
|
]),
|
|
612
596
|
revokeCertificateOfOrigin: t((e) => Q(Z, {
|
|
613
597
|
id: e,
|
|
614
598
|
context: c
|
|
615
|
-
}, [
|
|
599
|
+
}, [O]), [
|
|
616
600
|
Q,
|
|
617
601
|
Z,
|
|
618
602
|
c,
|
|
619
|
-
|
|
603
|
+
O
|
|
620
604
|
]),
|
|
621
605
|
documents: {
|
|
622
606
|
GET_CERT_DETAIL: h,
|
|
623
607
|
GET_ICS_GROUP_DETAIL: p,
|
|
624
608
|
GET_ICS_GROWER_DETAIL: m,
|
|
625
|
-
GET_COO_PDF:
|
|
609
|
+
GET_COO_PDF: g
|
|
626
610
|
},
|
|
627
611
|
context: c
|
|
628
612
|
};
|
|
629
613
|
}
|
|
630
614
|
//#endregion
|
|
631
|
-
export { h as GET_CERT_DETAIL,
|
|
615
|
+
export { h as GET_CERT_DETAIL, g as GET_COO_PDF, p as GET_ICS_GROUP_DETAIL, m as GET_ICS_GROWER_DETAIL, y as useHealthyBowlCompliance };
|
|
632
616
|
|
|
633
617
|
//# sourceMappingURL=useHealthyBowlCompliance.js.map
|