@kosdev-code/kos-ddk-model-components 0.1.0-dev.5878 → 0.1.0-dev.5880
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/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var Qs = Object.defineProperty;
|
|
2
2
|
var eo = (t, e, n) => e in t ? Qs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var j = (t, e, n) => (eo(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { FutureManager as Or, kosComponent as D, useKosTranslation as I, useKosModel as Z, kosAutoEffect as je, FutureEndState as Fn, KosLog as W, useConfigProperty as le, useKosRegions as be, useRegionTimeProps as Rr, useDateProps as $r, getKosCompanionModel as ce, registerExtensionPoint as to, ExtensionManager as $e, CoreExtensionManager as no, Device as ro, KosFeatureFlags as so, TroubleContainer as oo, registerLegacyModel as io, initKosProvider as ao, troubleDataFactory as co, isTroubleAware as lo, useTroubleContainerModel as uo, withDevice as
|
|
4
|
+
import { FutureManager as Or, kosComponent as D, useKosTranslation as I, useKosModel as Z, kosAutoEffect as je, FutureEndState as Fn, KosLog as W, useConfigProperty as le, useKosRegions as be, useRegionTimeProps as Rr, useDateProps as $r, getKosCompanionModel as ce, registerExtensionPoint as to, ExtensionManager as $e, CoreExtensionManager as no, Device as ro, KosFeatureFlags as so, TroubleContainer as oo, registerLegacyModel as io, initKosProvider as ao, troubleDataFactory as co, isTroubleAware as lo, useTroubleContainerModel as uo, withDevice as po, useFormattedDate as mo, useKosTranslationContext as ho, useSoftwareInfo as fo, useKosTime as _n } from "@kosdev-code/kos-ui-sdk";
|
|
5
5
|
import { jsx as i, jsxs as f, Fragment as N } from "@emotion/react/jsx-runtime";
|
|
6
6
|
import S from "@emotion/styled";
|
|
7
|
-
import { useComponentConfigurationContext as J, Modal as Ze, Header as Ue, BackButton as nt, Content as se, InfoCard as Le, Footer as Q, Button as w, CloseButton as go, ProgressBar as Lr, LabelInformation as z, BodyMediumInformation as Se, InputCard as wt, WorkflowModal as Nt, StatusIndicator as Ke, InputRangeCard as yo, ToggleCard as vo, PickerCard as cn, Card as bo, SwitchCard as xt, MultiPickerCard as kn, LabelDate as Cn, Table as Vr, LabelInformationExtraSmall as wo, getItemData as xo, TapAndHoldButton as _o, ComponentConfigurationProvider as ko, useAbbreviation as Fr, getFillColor as Co, HolderDashboardCard as Mr, FuelGauge as Br, UtilityModalHeading as zr, FrameContainer as jr, FrameBody as dn, TabContainer as rt, SettingsSubheading as st, StatusCard as So, NotificationCard as To, TabViewLayout as Io, TabRouter as Eo, Tabs as Po, CompactCloseButton as Do, QuestionIconStyle as No, CancelProceedFooter as Ao, ErrorInputCard as ln, StatusBar as Zr,
|
|
8
|
-
import Bn, { useState as T, useEffect as H, useCallback as V, useMemo as F, createContext as Y, useContext as G, useRef as zn, useLayoutEffect as
|
|
9
|
-
import { AgitationControl as _t, toTimeComponents as
|
|
10
|
-
import { SuccessIcon as
|
|
11
|
-
import { DispenseExtensionManager as
|
|
12
|
-
import { FcmPump as hn, SpmPump as Hr, CgpPump as Wr, LfcvPump as
|
|
13
|
-
import { useKosPluginsContext as Yr, useReactiveExtensionRegistry as
|
|
14
|
-
import { createExtensionSchema as ue, extensionPointId as
|
|
15
|
-
import { useLocation as
|
|
7
|
+
import { useComponentConfigurationContext as J, Modal as Ze, Header as Ue, BackButton as nt, Content as se, InfoCard as Le, Footer as Q, Button as w, CloseButton as go, ProgressBar as Lr, LabelInformation as z, BodyMediumInformation as Se, InputCard as wt, WorkflowModal as Nt, StatusIndicator as Ke, InputRangeCard as yo, ToggleCard as vo, PickerCard as cn, Card as bo, SwitchCard as xt, MultiPickerCard as kn, LabelDate as Cn, Table as Vr, LabelInformationExtraSmall as wo, getItemData as xo, TapAndHoldButton as _o, ComponentConfigurationProvider as ko, useAbbreviation as Fr, getFillColor as Co, HolderDashboardCard as Mr, FuelGauge as Br, UtilityModalHeading as zr, FrameContainer as jr, FrameBody as dn, TabContainer as rt, SettingsSubheading as st, StatusCard as So, NotificationCard as To, TabViewLayout as Io, TabRouter as Eo, Tabs as Po, CompactCloseButton as Do, QuestionIconStyle as No, CancelProceedFooter as Ao, ErrorInputCard as ln, StatusBar as Zr, ModalContainer as Oo, InfoContainer as Ro, FailureCard as $o, useNavigate as Lo, Sidebar as Vo, InputStep as Mn, InfoMessage as tn, InstructionCard as nn, SwitchPickerCard as Fo } from "@kosdev-code/kos-ddk-components";
|
|
8
|
+
import Bn, { useState as T, useEffect as H, useCallback as V, useMemo as F, createContext as Y, useContext as G, useRef as zn, useLayoutEffect as Mo, Suspense as ot } from "react";
|
|
9
|
+
import { AgitationControl as _t, toTimeComponents as Bo, toSeconds as zo, Animation as jn, Application as un, CarbWater as Zn, CopyLogs as pn, DashboardOperations as Un, DispenserInfo as Kn, Door as Ur, IngredientSummary as Hn, MacroAssignment as Wn, NetworkTest as jo, NetworkTestContainer as Xn, NutritiveSweetener as qn, PlainWater as Yn, Lockout as Zo, TroubleActionManager as mn, DDKModels as Gn, Reboot as Jn, Settings as Qn, SetupStep as Uo, SetupStepContainer as er, Start as tr, Utilities as Ko, UtilitiesContainer as nr, troubleVisibilityFilter as Ho } from "@kosdev-code/kos-ddk-models";
|
|
10
|
+
import { SuccessIcon as Wo, MessageErrorIcon as Xo, TimeIcon as Kr, CalendarIcon as qo, MessageInformationIconWithBackground as Yo } from "@kosdev-code/kos-ddk-styles";
|
|
11
|
+
import { DispenseExtensionManager as Go, Assembly as Jo, Pump as Qo, useBoardContainer as ei, withAssembly as ti } from "@kosdev-code/kos-dispense-sdk";
|
|
12
|
+
import { FcmPump as hn, SpmPump as Hr, CgpPump as Wr, LfcvPump as ni, KosModelRegistry as rr, CarbAgitator as ri, KosExtensionManager as si, FreestyleAssembly as oi, FreestyleHolder as Xr, useFreestyleAssemblyContext as ii, FreestylePump as qr } from "@kosdev-code/kos-freestyle-sdk";
|
|
13
|
+
import { useKosPluginsContext as Yr, useReactiveExtensionRegistry as ai, useExtensionComponent as Sn, DynamicComponent as Gr } from "@kosdev-code/kos-ui-plugin";
|
|
14
|
+
import { createExtensionSchema as ue, extensionPointId as pe, defineExtensionPoint as me, createViewAwareTransform as he, validateWithSchema as fe, validateRankIfPresent as Pe, validateDescriptorFormat as Tn } from "@kosdev-code/kos-ui-plugin/utilities";
|
|
15
|
+
import { useLocation as ci, useSearchParams as di } from "react-router-dom";
|
|
16
16
|
class ae {
|
|
17
17
|
constructor(e, n) {
|
|
18
18
|
j(this, "future");
|
|
@@ -33,7 +33,7 @@ class ae {
|
|
|
33
33
|
e != null && e.tracker && (this.future = Or.getFuture(e.tracker));
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
class
|
|
36
|
+
class li extends ae {
|
|
37
37
|
constructor(e) {
|
|
38
38
|
super(e, {
|
|
39
39
|
title: "Calibrate",
|
|
@@ -46,7 +46,7 @@ class di extends ae {
|
|
|
46
46
|
return !0;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
class
|
|
49
|
+
class ui extends ae {
|
|
50
50
|
constructor(e) {
|
|
51
51
|
super(e, {
|
|
52
52
|
title: "45ml Flow Test",
|
|
@@ -59,7 +59,7 @@ class li extends ae {
|
|
|
59
59
|
return !0;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
class
|
|
62
|
+
class pi extends ae {
|
|
63
63
|
constructor(e) {
|
|
64
64
|
super(e, {
|
|
65
65
|
title: "Flush",
|
|
@@ -85,7 +85,7 @@ class mi extends ae {
|
|
|
85
85
|
return !0;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
class
|
|
88
|
+
class hi extends ae {
|
|
89
89
|
constructor(e) {
|
|
90
90
|
super(e, {
|
|
91
91
|
title: "Hold to Pour",
|
|
@@ -98,7 +98,7 @@ class pi extends ae {
|
|
|
98
98
|
return !0;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
class
|
|
101
|
+
class fi extends ae {
|
|
102
102
|
constructor(e) {
|
|
103
103
|
super(e, {
|
|
104
104
|
title: "Low Flow Test",
|
|
@@ -111,7 +111,7 @@ class hi extends ae {
|
|
|
111
111
|
return !0;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
class
|
|
114
|
+
class gi extends ae {
|
|
115
115
|
constructor(e) {
|
|
116
116
|
super(e, {
|
|
117
117
|
title: "Manual Override",
|
|
@@ -124,7 +124,7 @@ class fi extends ae {
|
|
|
124
124
|
return !0;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
class
|
|
127
|
+
class yi extends ae {
|
|
128
128
|
constructor(e) {
|
|
129
129
|
super(e, {
|
|
130
130
|
title: "Reset",
|
|
@@ -137,7 +137,7 @@ class gi extends ae {
|
|
|
137
137
|
return !0;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
class
|
|
140
|
+
class vi extends ae {
|
|
141
141
|
constructor(e) {
|
|
142
142
|
super(e, {
|
|
143
143
|
title: "Prime",
|
|
@@ -150,7 +150,7 @@ class yi extends ae {
|
|
|
150
150
|
return !0;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
class
|
|
153
|
+
class bi extends ae {
|
|
154
154
|
constructor(e) {
|
|
155
155
|
super(e, {
|
|
156
156
|
title: "Purge",
|
|
@@ -163,7 +163,7 @@ class vi extends ae {
|
|
|
163
163
|
return !0;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
class
|
|
166
|
+
class wi {
|
|
167
167
|
constructor(e, n) {
|
|
168
168
|
j(this, "future");
|
|
169
169
|
j(this, "troubleAware");
|
|
@@ -186,7 +186,7 @@ class bi {
|
|
|
186
186
|
r != null && r.tracker && (this.future = Or.getFuture(r.tracker));
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
class
|
|
189
|
+
class xi extends wi {
|
|
190
190
|
constructor(e, n) {
|
|
191
191
|
super(e, {
|
|
192
192
|
trouble: n
|
|
@@ -196,14 +196,14 @@ class wi extends bi {
|
|
|
196
196
|
return !0;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
const vd = "PrimeTrouble", bd = "PurgeTrouble",
|
|
199
|
+
const vd = "PrimeTrouble", bd = "PurgeTrouble", _i = S.div`
|
|
200
200
|
display: flex;
|
|
201
201
|
flex-direction: column;
|
|
202
202
|
overflow-y: auto;
|
|
203
203
|
overflow-x: hidden;
|
|
204
204
|
gap: 32px;
|
|
205
205
|
height: 100%;
|
|
206
|
-
`,
|
|
206
|
+
`, ki = D(
|
|
207
207
|
({ holder: t, onComplete: e }) => {
|
|
208
208
|
const [n, r] = T(!1), { t: s } = I("common"), { componentModeOverride: o } = J(), c = t.data.agitated;
|
|
209
209
|
return /* @__PURE__ */ i(
|
|
@@ -212,7 +212,7 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
212
212
|
contain: o !== "compact",
|
|
213
213
|
onClosed: e,
|
|
214
214
|
show: !n,
|
|
215
|
-
children: /* @__PURE__ */ f(
|
|
215
|
+
children: /* @__PURE__ */ f(_i, { children: [
|
|
216
216
|
/* @__PURE__ */ i(
|
|
217
217
|
Ue,
|
|
218
218
|
{
|
|
@@ -275,7 +275,7 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
275
275
|
success: r === Fn.Success,
|
|
276
276
|
failure: r && r !== Fn.Success
|
|
277
277
|
};
|
|
278
|
-
},
|
|
278
|
+
}, Ci = W.createLogger({ name: "future-progress-bar" }), Qr = S(go)`
|
|
279
279
|
--ddk-component-icon-button-icon-color-active: var(
|
|
280
280
|
--ddk-component-progress-bar-close-button-color-active
|
|
281
281
|
);
|
|
@@ -288,7 +288,7 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
288
288
|
--ddk-component-icon-button-icon-color-hover: var(
|
|
289
289
|
--ddk-component-progress-bar-close-button-color-hover
|
|
290
290
|
);
|
|
291
|
-
`,
|
|
291
|
+
`, Si = S.div`
|
|
292
292
|
display: flex;
|
|
293
293
|
flex-direction: column;
|
|
294
294
|
width: 100%;
|
|
@@ -305,14 +305,14 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
305
305
|
display: flex;
|
|
306
306
|
gap: var(--ddk-component-status-bar-gap);
|
|
307
307
|
align-items: center;
|
|
308
|
-
`,
|
|
308
|
+
`, Ti = S.div`
|
|
309
309
|
border-top: solid 1px #888888;
|
|
310
310
|
padding-top: 8px;
|
|
311
311
|
width: calc(100% - 10px);
|
|
312
312
|
`, kt = ({ children: t, onPointerDown: e, title: n, subtitle: r }) => {
|
|
313
313
|
const { componentModeOverride: s } = J(), { t: o } = I("common");
|
|
314
314
|
return /* @__PURE__ */ f(es, { children: [
|
|
315
|
-
/* @__PURE__ */ f(
|
|
315
|
+
/* @__PURE__ */ f(Si, { children: [
|
|
316
316
|
/* @__PURE__ */ f(
|
|
317
317
|
ts,
|
|
318
318
|
{
|
|
@@ -321,7 +321,7 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
321
321
|
},
|
|
322
322
|
children: [
|
|
323
323
|
/* @__PURE__ */ i(
|
|
324
|
-
|
|
324
|
+
Xo,
|
|
325
325
|
{
|
|
326
326
|
style: {
|
|
327
327
|
color: "var(--ddk-component-progress-bar-icon-color-failure)",
|
|
@@ -333,7 +333,7 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
333
333
|
]
|
|
334
334
|
}
|
|
335
335
|
),
|
|
336
|
-
r && /* @__PURE__ */ i(
|
|
336
|
+
r && /* @__PURE__ */ i(Ti, { children: r })
|
|
337
337
|
] }),
|
|
338
338
|
s === "compact" ? /* @__PURE__ */ i(w, { mode: "primary", onPointerDown: e, children: o("close", "Close") }) : /* @__PURE__ */ i(
|
|
339
339
|
Qr,
|
|
@@ -349,7 +349,7 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
349
349
|
return /* @__PURE__ */ f(es, { children: [
|
|
350
350
|
/* @__PURE__ */ f(ts, { children: [
|
|
351
351
|
/* @__PURE__ */ i(
|
|
352
|
-
|
|
352
|
+
Wo,
|
|
353
353
|
{
|
|
354
354
|
style: {
|
|
355
355
|
color: "var(--ddk-semantic-color-system-green)",
|
|
@@ -379,16 +379,16 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
379
379
|
onSuccess: c,
|
|
380
380
|
onClose: a
|
|
381
381
|
}) => {
|
|
382
|
-
const { t: d } = I("common"), [l, u] = Bn.useState(!0), [
|
|
382
|
+
const { t: d } = I("common"), [l, u] = Bn.useState(!0), [p, m] = Bn.useState(), v = `${e == null ? void 0 : e.timeRemaining} ${d(
|
|
383
383
|
"remaining",
|
|
384
384
|
"remaining"
|
|
385
385
|
)}`, y = V(() => {
|
|
386
|
-
|
|
387
|
-
}, [a,
|
|
386
|
+
p !== "in-progress" && (a == null || a(), u(!1));
|
|
387
|
+
}, [a, p]), h = V(() => {
|
|
388
388
|
y(), c == null || c();
|
|
389
389
|
}, [y, c]);
|
|
390
390
|
H(() => {
|
|
391
|
-
(e == null ? void 0 : e.status) === "IN_PROGRESS" || (e == null ? void 0 : e.status) === "NOT_ACTIVE" ? (
|
|
391
|
+
(e == null ? void 0 : e.status) === "IN_PROGRESS" || (e == null ? void 0 : e.status) === "NOT_ACTIVE" ? (m("in-progress"), u(!0)) : (e == null ? void 0 : e.status) === "SUCCESS" ? (m("success"), u(!!r), r || (y(), c == null || c())) : (e == null ? void 0 : e.status) === "FAIL" || (e == null ? void 0 : e.status) === "ABORT" ? (m("failure"), u(!!n)) : (e == null ? void 0 : e.status) === "CANCEL" ? (m("cancelled"), u(!!s)) : e && Ci.error("unknown status", e == null ? void 0 : e.status);
|
|
392
392
|
}, [
|
|
393
393
|
n,
|
|
394
394
|
e,
|
|
@@ -406,26 +406,26 @@ const vd = "PrimeTrouble", bd = "PurgeTrouble", xi = S.div`
|
|
|
406
406
|
onCancel: () => {
|
|
407
407
|
e.cancelFuture();
|
|
408
408
|
},
|
|
409
|
-
blocked:
|
|
409
|
+
blocked: p === "in-progress",
|
|
410
410
|
onClose: y,
|
|
411
411
|
renderFailure: n && /* @__PURE__ */ i(kt, { subtitle: _, onPointerDown: y, children: L }),
|
|
412
412
|
renderCancel: s && /* @__PURE__ */ i(kt, { onPointerDown: y, children: s }),
|
|
413
413
|
renderSuccess: r && /* @__PURE__ */ i(In, { onPointerDown: h, children: r }),
|
|
414
414
|
show: l,
|
|
415
|
-
status:
|
|
415
|
+
status: p,
|
|
416
416
|
subtitle: v,
|
|
417
417
|
title: t,
|
|
418
418
|
value: e.progress
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
421
|
}
|
|
422
|
-
),
|
|
423
|
-
|
|
424
|
-
const
|
|
422
|
+
), Ii = W.createLogger({ name: "agitation-control-view" });
|
|
423
|
+
Ii.debug("agitation-control-view component loaded");
|
|
424
|
+
const Ei = S.div``, wd = D(() => {
|
|
425
425
|
const { model: t } = Jr(), { t: e, i18n: n } = I("troubles"), { future: r, failure: s } = _e(t), o = V(() => {
|
|
426
426
|
t && t.clearAll();
|
|
427
427
|
}, [t]), c = r == null ? void 0 : r.reason, a = c ? `__troubles.errors.${c}__` : void 0, d = "troubles.agitation.error", l = n.exists(`troubles.errors.${c}`);
|
|
428
|
-
return /* @__PURE__ */ i(
|
|
428
|
+
return /* @__PURE__ */ i(Ei, { children: /* @__PURE__ */ i(
|
|
429
429
|
q,
|
|
430
430
|
{
|
|
431
431
|
title: e("troubles.agitation.title"),
|
|
@@ -440,11 +440,11 @@ const Ii = S.div``, wd = D(() => {
|
|
|
440
440
|
})
|
|
441
441
|
}
|
|
442
442
|
) });
|
|
443
|
-
}),
|
|
443
|
+
}), Pi = D(
|
|
444
444
|
({ pump: t, onComplete: e }) => {
|
|
445
|
-
const { t: n } = I("common", { keyPrefix: "fcm-calibration" }), [r, s] = T("high-flow-test-idle"), [o, c] = T(), [a, d] = T(), [l, u] = T(), { future:
|
|
445
|
+
const { t: n } = I("common", { keyPrefix: "fcm-calibration" }), [r, s] = T("high-flow-test-idle"), [o, c] = T(), [a, d] = T(), [l, u] = T(), { future: p } = _e(t);
|
|
446
446
|
H(() => {
|
|
447
|
-
switch (
|
|
447
|
+
switch (p == null ? void 0 : p.endState) {
|
|
448
448
|
case "CANCEL":
|
|
449
449
|
switch (r) {
|
|
450
450
|
case "high-flow-test-in-progress":
|
|
@@ -468,11 +468,11 @@ const Ii = S.div``, wd = D(() => {
|
|
|
468
468
|
}
|
|
469
469
|
break;
|
|
470
470
|
case "FAIL":
|
|
471
|
-
c(
|
|
471
|
+
c(p == null ? void 0 : p.reason), s("failure");
|
|
472
472
|
break;
|
|
473
473
|
}
|
|
474
|
-
}, [
|
|
475
|
-
const
|
|
474
|
+
}, [p, p == null ? void 0 : p.endState, p == null ? void 0 : p.reason, r]);
|
|
475
|
+
const m = F(() => ({
|
|
476
476
|
"high-flow-test-idle": {
|
|
477
477
|
information: /* @__PURE__ */ i(z, { children: n("high-flow-test-idle-information") }),
|
|
478
478
|
footer: /* @__PURE__ */ i(
|
|
@@ -606,7 +606,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
606
606
|
failure: {
|
|
607
607
|
information: /* @__PURE__ */ f(N, { children: [
|
|
608
608
|
/* @__PURE__ */ i(z, { children: n("calibration-failed") }),
|
|
609
|
-
/* @__PURE__ */ i(Se, { children: n(`error.${o
|
|
609
|
+
/* @__PURE__ */ i(Se, { children: n(`error.${o}`) })
|
|
610
610
|
] }),
|
|
611
611
|
footer: /* @__PURE__ */ i(w, { onPointerDown: e, children: n("exit-calibration") }),
|
|
612
612
|
status: "error"
|
|
@@ -617,11 +617,11 @@ const Ii = S.div``, wd = D(() => {
|
|
|
617
617
|
Nt,
|
|
618
618
|
{
|
|
619
619
|
title: n(t.name),
|
|
620
|
-
...
|
|
620
|
+
...m[r],
|
|
621
621
|
onClose: () => e()
|
|
622
622
|
}
|
|
623
623
|
),
|
|
624
|
-
|
|
624
|
+
p && /* @__PURE__ */ i(q, { title: n("initiating"), future: p })
|
|
625
625
|
] });
|
|
626
626
|
}
|
|
627
627
|
), ns = D(
|
|
@@ -629,7 +629,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
629
629
|
if (!t)
|
|
630
630
|
return null;
|
|
631
631
|
const e = t.highProbeWet.value, n = t.lowProbeWet.value, r = t.filling.value;
|
|
632
|
-
return /* @__PURE__ */ f(
|
|
632
|
+
return /* @__PURE__ */ f(Di, { children: [
|
|
633
633
|
/* @__PURE__ */ f(rn, { children: [
|
|
634
634
|
/* @__PURE__ */ i(sn, { children: "High Probe" }),
|
|
635
635
|
/* @__PURE__ */ i(on, { children: e ? "Wet" : "Dry" })
|
|
@@ -644,7 +644,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
644
644
|
] })
|
|
645
645
|
] });
|
|
646
646
|
}
|
|
647
|
-
),
|
|
647
|
+
), Di = S.div`
|
|
648
648
|
display: grid;
|
|
649
649
|
grid-template-columns: repeat(3, 1fr);
|
|
650
650
|
gap: 16px;
|
|
@@ -699,7 +699,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
699
699
|
}
|
|
700
700
|
)
|
|
701
701
|
] });
|
|
702
|
-
}),
|
|
702
|
+
}), Ni = S.div`
|
|
703
703
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
704
704
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
705
705
|
`, _d = D((t) => {
|
|
@@ -713,7 +713,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
713
713
|
status: t.cardModel.isCarbInitialized ? "completed" : "incomplete"
|
|
714
714
|
}
|
|
715
715
|
),
|
|
716
|
-
t.cardModel.isFilling && /* @__PURE__ */ i(
|
|
716
|
+
t.cardModel.isFilling && /* @__PURE__ */ i(Ni, { children: e("agitating") })
|
|
717
717
|
] });
|
|
718
718
|
}), kd = D(({ cardModel: t }) => {
|
|
719
719
|
W.debug("Agitator", t.path);
|
|
@@ -740,7 +740,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
740
740
|
}
|
|
741
741
|
)
|
|
742
742
|
] });
|
|
743
|
-
}),
|
|
743
|
+
}), Ai = S.div`
|
|
744
744
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
745
745
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
746
746
|
`, Cd = D((t) => {
|
|
@@ -748,14 +748,14 @@ const Ii = S.div``, wd = D(() => {
|
|
|
748
748
|
const { t: e } = I("common");
|
|
749
749
|
return /* @__PURE__ */ f(N, { children: [
|
|
750
750
|
/* @__PURE__ */ i(Ke, { size: "small", status: "completed" }),
|
|
751
|
-
t.cardModel.isAgitating && /* @__PURE__ */ i(
|
|
751
|
+
t.cardModel.isAgitating && /* @__PURE__ */ i(Ai, { children: e("agitating") })
|
|
752
752
|
] });
|
|
753
|
-
}),
|
|
753
|
+
}), Oi = {
|
|
754
754
|
getStagedChange: void 0,
|
|
755
755
|
updateStagedChange: void 0,
|
|
756
756
|
saveChanges: void 0,
|
|
757
757
|
clearStagedChanges: void 0
|
|
758
|
-
}, rs = Y(
|
|
758
|
+
}, rs = Y(Oi), Ri = ({
|
|
759
759
|
children: t
|
|
760
760
|
}) => {
|
|
761
761
|
const [e, n] = T({}), r = (a) => e[a], s = (a, d) => {
|
|
@@ -779,19 +779,19 @@ const Ii = S.div``, wd = D(() => {
|
|
|
779
779
|
children: t
|
|
780
780
|
}
|
|
781
781
|
);
|
|
782
|
-
}, ss = () => G(rs), Sd = (t) => (e) => /* @__PURE__ */ i(
|
|
782
|
+
}, ss = () => G(rs), Sd = (t) => (e) => /* @__PURE__ */ i(Ri, { children: /* @__PURE__ */ i(t, { ...e }) }), $i = ({ label: t, configProperty: e }) => {
|
|
783
783
|
const { value: n } = le({ configProperty: e });
|
|
784
784
|
return /* @__PURE__ */ i(Le, { label: t, value: n });
|
|
785
785
|
}, En = ({ configProperty: t, hideUnits: e, isValid: n, ...r }) => {
|
|
786
|
-
var u,
|
|
786
|
+
var u, p;
|
|
787
787
|
const { t: s } = I("common", { keyPrefix: "validation" }), { significantValue: o } = le({
|
|
788
788
|
configProperty: t
|
|
789
|
-
}), c = (
|
|
790
|
-
|
|
791
|
-
}, a = (u = t.displayOptions) == null ? void 0 : u.max, d = (
|
|
792
|
-
(
|
|
793
|
-
const v = n == null ? void 0 : n(
|
|
794
|
-
return v || (Number(
|
|
789
|
+
}), c = (m) => {
|
|
790
|
+
m || (m = ""), t.updateProperty(m);
|
|
791
|
+
}, a = (u = t.displayOptions) == null ? void 0 : u.max, d = (p = t.displayOptions) == null ? void 0 : p.min, l = V(
|
|
792
|
+
(m) => {
|
|
793
|
+
const v = n == null ? void 0 : n(m);
|
|
794
|
+
return v || (Number(m) < d ? s("minValue", { data: { minValue: d } }) : Number(m) > a ? s("maxValue", { data: { maxValue: a } }) : void 0);
|
|
795
795
|
},
|
|
796
796
|
[n, a, d, s]
|
|
797
797
|
);
|
|
@@ -838,7 +838,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
838
838
|
checked: e !== void 0 ? e : c === "true"
|
|
839
839
|
}
|
|
840
840
|
);
|
|
841
|
-
},
|
|
841
|
+
}, Li = (t) => (t == null ? void 0 : t.map((e) => ({ id: e.value, label: e.label }))) || [], Pn = ({
|
|
842
842
|
collapse: t,
|
|
843
843
|
cancelButtonLabel: e,
|
|
844
844
|
configProperty: n,
|
|
@@ -850,13 +850,13 @@ const Ii = S.div``, wd = D(() => {
|
|
|
850
850
|
onChange: d,
|
|
851
851
|
onSave: l,
|
|
852
852
|
proceedButtonLabel: u,
|
|
853
|
-
selectedItemId:
|
|
854
|
-
unitValue:
|
|
853
|
+
selectedItemId: p,
|
|
854
|
+
unitValue: m,
|
|
855
855
|
...v
|
|
856
856
|
}) => {
|
|
857
857
|
const { t: y } = I(["config-properties", "common"]), h = le({
|
|
858
858
|
configProperty: n,
|
|
859
|
-
optionsTransformer:
|
|
859
|
+
optionsTransformer: Li
|
|
860
860
|
});
|
|
861
861
|
return /* @__PURE__ */ i(
|
|
862
862
|
cn,
|
|
@@ -873,11 +873,11 @@ const Ii = S.div``, wd = D(() => {
|
|
|
873
873
|
label: a ?? y(n.id),
|
|
874
874
|
onSave: (_) => l ? l(_) : n.updateProperty(_),
|
|
875
875
|
proceedButtonLabel: u ?? (y("save", { defaultValue: "Save", ns: "common" }) || void 0),
|
|
876
|
-
selectedItemId:
|
|
877
|
-
unitValue:
|
|
876
|
+
selectedItemId: p ?? h.value,
|
|
877
|
+
unitValue: m ?? h.unit
|
|
878
878
|
}
|
|
879
879
|
);
|
|
880
|
-
},
|
|
880
|
+
}, Vi = S(En)`
|
|
881
881
|
border-top: var(--ddk-component-input-enable-card-input-container-border);
|
|
882
882
|
border-radius: 0;
|
|
883
883
|
cursor: pointer;
|
|
@@ -913,7 +913,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
913
913
|
--ddk-component-input-enable-card-input-font-weight
|
|
914
914
|
);
|
|
915
915
|
}
|
|
916
|
-
`,
|
|
916
|
+
`, Fi = S(Pn)`
|
|
917
917
|
border-top: var(--ddk-component-input-enable-card-input-container-border);
|
|
918
918
|
border-radius: 0;
|
|
919
919
|
cursor: pointer;
|
|
@@ -950,9 +950,9 @@ const Ii = S.div``, wd = D(() => {
|
|
|
950
950
|
--ddk-component-input-enable-card-input-font-weight
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
|
-
`,
|
|
953
|
+
`, Mi = (t, e, n, r, s) => {
|
|
954
954
|
let o;
|
|
955
|
-
const c = s === "compact" ?
|
|
955
|
+
const c = s === "compact" ? Vi : En, a = s === "compact" ? Fi : Pn, d = r.label ?? n(t.id);
|
|
956
956
|
switch (t.schemaType) {
|
|
957
957
|
case "boolean":
|
|
958
958
|
o = /* @__PURE__ */ i(
|
|
@@ -1006,7 +1006,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1006
1006
|
break;
|
|
1007
1007
|
}
|
|
1008
1008
|
return o;
|
|
1009
|
-
},
|
|
1009
|
+
}, Bi = (t) => (t == null ? void 0 : t.map((e) => ({ id: e.value, label: e.label }))) || [], os = ({
|
|
1010
1010
|
configProperty: t,
|
|
1011
1011
|
factory: e,
|
|
1012
1012
|
mappedOptions: n,
|
|
@@ -1015,9 +1015,9 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1015
1015
|
}) => {
|
|
1016
1016
|
const { t: o } = I(["config-properties", "common"]), { componentModeOverride: c } = J(), a = le({
|
|
1017
1017
|
configProperty: t,
|
|
1018
|
-
optionsTransformer:
|
|
1018
|
+
optionsTransformer: Bi
|
|
1019
1019
|
});
|
|
1020
|
-
return e = e ??
|
|
1020
|
+
return e = e ?? Mi, e(
|
|
1021
1021
|
t,
|
|
1022
1022
|
{
|
|
1023
1023
|
...a,
|
|
@@ -1027,14 +1027,14 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1027
1027
|
s,
|
|
1028
1028
|
c
|
|
1029
1029
|
);
|
|
1030
|
-
},
|
|
1030
|
+
}, zi = S(bo)`
|
|
1031
1031
|
align-items: ${(t) => t.mode === "compact" ? "flex-start" : void 0};
|
|
1032
1032
|
flex-direction: var(
|
|
1033
1033
|
--ddk-component-input-enable-card-container-flex-direction
|
|
1034
1034
|
);
|
|
1035
1035
|
padding: var(--ddk-component-input-enable-card-container-padding);
|
|
1036
1036
|
gap: var(--ddk-component-input-enable-card-container-gap);
|
|
1037
|
-
`,
|
|
1037
|
+
`, ji = S.div`
|
|
1038
1038
|
box-sizing: border-box;
|
|
1039
1039
|
display: flex;
|
|
1040
1040
|
flex-direction: var(
|
|
@@ -1042,27 +1042,27 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1042
1042
|
);
|
|
1043
1043
|
gap: var(--ddk-component-input-enable-card-input-container-gap);
|
|
1044
1044
|
width: 100%;
|
|
1045
|
-
`,
|
|
1045
|
+
`, Zi = S(os)`
|
|
1046
1046
|
width: 100%;
|
|
1047
|
-
`,
|
|
1047
|
+
`, Ui = S.div`
|
|
1048
1048
|
box-sizing: border-box;
|
|
1049
1049
|
padding: ${(t) => t.compact ? "var(--ddk-component-input-enable-card-toggle-container-padding)" : "0"};
|
|
1050
1050
|
width: var(--ddk-component-input-enable-card-toggle-container-width);
|
|
1051
|
-
`,
|
|
1051
|
+
`, Ki = ({
|
|
1052
1052
|
configProperties: t,
|
|
1053
1053
|
disabled: e,
|
|
1054
1054
|
enabledConfigProperty: n
|
|
1055
1055
|
}) => {
|
|
1056
1056
|
const { value: r } = le({
|
|
1057
1057
|
configProperty: n
|
|
1058
|
-
}), s = r === "true", { componentModeOverride: o } = J(), c = t.length === 1, a = c ?
|
|
1058
|
+
}), s = r === "true", { componentModeOverride: o } = J(), c = t.length === 1, a = c ? Zi : os;
|
|
1059
1059
|
return /* @__PURE__ */ f(
|
|
1060
|
-
|
|
1060
|
+
zi,
|
|
1061
1061
|
{
|
|
1062
1062
|
disabled: !s || e,
|
|
1063
1063
|
mode: o,
|
|
1064
1064
|
children: [
|
|
1065
|
-
/* @__PURE__ */ i(
|
|
1065
|
+
/* @__PURE__ */ i(ji, { children: t.map((d) => /* @__PURE__ */ i(
|
|
1066
1066
|
a,
|
|
1067
1067
|
{
|
|
1068
1068
|
disabled: !s || e,
|
|
@@ -1076,7 +1076,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1076
1076
|
d.configProperty.id
|
|
1077
1077
|
)) }),
|
|
1078
1078
|
/* @__PURE__ */ i(
|
|
1079
|
-
|
|
1079
|
+
Ui,
|
|
1080
1080
|
{
|
|
1081
1081
|
compact: !c || o === "compact",
|
|
1082
1082
|
children: /* @__PURE__ */ i(
|
|
@@ -1105,14 +1105,14 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1105
1105
|
[t, r]
|
|
1106
1106
|
);
|
|
1107
1107
|
return /* @__PURE__ */ i(
|
|
1108
|
-
|
|
1108
|
+
Ki,
|
|
1109
1109
|
{
|
|
1110
1110
|
configProperties: s,
|
|
1111
1111
|
disabled: e,
|
|
1112
1112
|
enabledConfigProperty: n
|
|
1113
1113
|
}
|
|
1114
1114
|
);
|
|
1115
|
-
},
|
|
1115
|
+
}, Hi = ({
|
|
1116
1116
|
configProperty: t,
|
|
1117
1117
|
...e
|
|
1118
1118
|
}) => {
|
|
@@ -1120,7 +1120,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1120
1120
|
return /* @__PURE__ */ i(xt, { ...e, onChange: (s) => {
|
|
1121
1121
|
s !== void 0 && (t == null || t.updateProperty(String(s)));
|
|
1122
1122
|
}, value: n });
|
|
1123
|
-
},
|
|
1123
|
+
}, Wi = ({
|
|
1124
1124
|
description: t,
|
|
1125
1125
|
float: e,
|
|
1126
1126
|
label: n,
|
|
@@ -1132,21 +1132,21 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1132
1132
|
const { regionModel: a } = be(), { t: d } = I("common", { keyPrefix: "schedule" }), {
|
|
1133
1133
|
amPmOptions: l,
|
|
1134
1134
|
formattedTime: u,
|
|
1135
|
-
hourOptions:
|
|
1136
|
-
minuteOptions:
|
|
1135
|
+
hourOptions: p,
|
|
1136
|
+
minuteOptions: m,
|
|
1137
1137
|
setTime: v,
|
|
1138
1138
|
time: y
|
|
1139
1139
|
} = Rr({ initialDate: o }), h = y.getHours(), _ = F(
|
|
1140
1140
|
() => [
|
|
1141
1141
|
{
|
|
1142
1142
|
id: "hr",
|
|
1143
|
-
items:
|
|
1143
|
+
items: p,
|
|
1144
1144
|
selectedItemId: h < 12 ? h : h - 12,
|
|
1145
1145
|
loop: !0
|
|
1146
1146
|
},
|
|
1147
1147
|
{
|
|
1148
1148
|
id: "min",
|
|
1149
|
-
items:
|
|
1149
|
+
items: m,
|
|
1150
1150
|
selectedItemId: y.getMinutes(),
|
|
1151
1151
|
loop: !0
|
|
1152
1152
|
},
|
|
@@ -1156,23 +1156,23 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1156
1156
|
selectedItemId: h < 12 ? "AM" : "PM"
|
|
1157
1157
|
}
|
|
1158
1158
|
],
|
|
1159
|
-
[l,
|
|
1159
|
+
[l, p, m, y, h]
|
|
1160
1160
|
), L = F(
|
|
1161
1161
|
() => [
|
|
1162
1162
|
{
|
|
1163
1163
|
id: "hr",
|
|
1164
|
-
items:
|
|
1164
|
+
items: p,
|
|
1165
1165
|
selectedItemId: h,
|
|
1166
1166
|
loop: !0
|
|
1167
1167
|
},
|
|
1168
1168
|
{
|
|
1169
1169
|
id: "min",
|
|
1170
|
-
items:
|
|
1170
|
+
items: m,
|
|
1171
1171
|
selectedItemId: y.getMinutes(),
|
|
1172
1172
|
loop: !0
|
|
1173
1173
|
}
|
|
1174
1174
|
],
|
|
1175
|
-
[
|
|
1175
|
+
[p, m, y, h]
|
|
1176
1176
|
);
|
|
1177
1177
|
return /* @__PURE__ */ i(
|
|
1178
1178
|
kn,
|
|
@@ -1194,17 +1194,17 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
);
|
|
1197
|
-
},
|
|
1197
|
+
}, Xi = ({ configProperty: t, ...e }) => {
|
|
1198
1198
|
var u;
|
|
1199
|
-
const { getStagedChange: n, updateStagedChange: r } = ss(), { value: s } = le({ configProperty: t }), o = ((u = n == null ? void 0 : n(t.id)) == null ? void 0 : u.value) ?? s, { hours: c, minutes: a } =
|
|
1200
|
-
return d.setHours(c), d.setMinutes(a), /* @__PURE__ */ i(
|
|
1201
|
-
const
|
|
1199
|
+
const { getStagedChange: n, updateStagedChange: r } = ss(), { value: s } = le({ configProperty: t }), o = ((u = n == null ? void 0 : n(t.id)) == null ? void 0 : u.value) ?? s, { hours: c, minutes: a } = Bo(Number(o)), d = /* @__PURE__ */ new Date();
|
|
1200
|
+
return d.setHours(c), d.setMinutes(a), /* @__PURE__ */ i(Wi, { ...e, onSave: (p) => {
|
|
1201
|
+
const m = zo(p.hours, p.minutes);
|
|
1202
1202
|
r ? r(t.id, {
|
|
1203
1203
|
configProperty: t,
|
|
1204
|
-
value:
|
|
1205
|
-
}) : t.updateProperty(
|
|
1204
|
+
value: m
|
|
1205
|
+
}) : t.updateProperty(m);
|
|
1206
1206
|
}, time: d });
|
|
1207
|
-
},
|
|
1207
|
+
}, qi = [0, 6], Yi = ({
|
|
1208
1208
|
day: t = (/* @__PURE__ */ new Date()).getDate(),
|
|
1209
1209
|
month: e = (/* @__PURE__ */ new Date()).getMonth(),
|
|
1210
1210
|
onSave: n,
|
|
@@ -1221,7 +1221,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1221
1221
|
formatString: (c == null ? void 0 : c.selectedDateFormat) || "yyyy/MM/dd"
|
|
1222
1222
|
},
|
|
1223
1223
|
filterOptions: {
|
|
1224
|
-
daysOfWeekFilter:
|
|
1224
|
+
daysOfWeekFilter: qi,
|
|
1225
1225
|
yearsRange: [r - 10, r + 10]
|
|
1226
1226
|
}
|
|
1227
1227
|
}), d = F(
|
|
@@ -1251,7 +1251,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1251
1251
|
}));
|
|
1252
1252
|
},
|
|
1253
1253
|
[(h = a == null ? void 0 : a.dateState) == null ? void 0 : h.monthsOptionsArray]
|
|
1254
|
-
),
|
|
1254
|
+
), p = F(() => {
|
|
1255
1255
|
const P = [];
|
|
1256
1256
|
return c == null || c.selectedDateOrder.split("").forEach((E) => {
|
|
1257
1257
|
var x, X, oe;
|
|
@@ -1279,7 +1279,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1279
1279
|
u,
|
|
1280
1280
|
c == null ? void 0 : c.selectedDateOrder,
|
|
1281
1281
|
d
|
|
1282
|
-
]),
|
|
1282
|
+
]), m = V(
|
|
1283
1283
|
async (P) => {
|
|
1284
1284
|
const x = new Date(P.year, P.month + 1, 0).getDate(), X = P.day > x ? 1 : P.day;
|
|
1285
1285
|
n({
|
|
@@ -1295,16 +1295,16 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1295
1295
|
{
|
|
1296
1296
|
cancelButtonLabel: o("discard-changes", "Discard Changes") || void 0,
|
|
1297
1297
|
closeButtonLabel: o("close", "Close") || void 0,
|
|
1298
|
-
data:
|
|
1298
|
+
data: p,
|
|
1299
1299
|
displayValue: a.dateState.formattedDate,
|
|
1300
|
-
icon:
|
|
1300
|
+
icon: qo,
|
|
1301
1301
|
label: o("todays-date", "Today's Date"),
|
|
1302
|
-
onSave:
|
|
1302
|
+
onSave: m,
|
|
1303
1303
|
proceedButtonLabel: o("save", "Save") || void 0,
|
|
1304
1304
|
...s
|
|
1305
1305
|
}
|
|
1306
1306
|
);
|
|
1307
|
-
},
|
|
1307
|
+
}, Gi = D(
|
|
1308
1308
|
({ pump: t, onComplete: e }) => {
|
|
1309
1309
|
const { t: n } = I("common", {
|
|
1310
1310
|
keyPrefix: "fcm-diagnostics"
|
|
@@ -1363,60 +1363,60 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1363
1363
|
});
|
|
1364
1364
|
c ? (n(c[0]), s(c[2])) : (n(null), s(fn));
|
|
1365
1365
|
}, [...o, t]), [e, r];
|
|
1366
|
-
},
|
|
1366
|
+
}, Ji = (t) => {
|
|
1367
1367
|
switch (t) {
|
|
1368
1368
|
case "calibrate":
|
|
1369
|
-
return di;
|
|
1370
|
-
case "fixed-45":
|
|
1371
1369
|
return li;
|
|
1372
|
-
case "
|
|
1370
|
+
case "fixed-45":
|
|
1373
1371
|
return ui;
|
|
1372
|
+
case "flush":
|
|
1373
|
+
return pi;
|
|
1374
1374
|
case "high-flow-test":
|
|
1375
1375
|
return mi;
|
|
1376
1376
|
case "hold-to-pour":
|
|
1377
|
-
return pi;
|
|
1378
|
-
case "low-flow-test":
|
|
1379
1377
|
return hi;
|
|
1380
|
-
case "
|
|
1378
|
+
case "low-flow-test":
|
|
1381
1379
|
return fi;
|
|
1382
|
-
case "
|
|
1380
|
+
case "manual-override":
|
|
1383
1381
|
return gi;
|
|
1384
|
-
case "
|
|
1382
|
+
case "msv-reset":
|
|
1385
1383
|
return yi;
|
|
1386
|
-
case "
|
|
1384
|
+
case "prime":
|
|
1387
1385
|
return vi;
|
|
1386
|
+
case "purge":
|
|
1387
|
+
return bi;
|
|
1388
1388
|
default:
|
|
1389
1389
|
return;
|
|
1390
1390
|
}
|
|
1391
|
-
},
|
|
1391
|
+
}, Qi = (t) => (e, n = "intents") => ({
|
|
1392
1392
|
title: t(`${n}:troubles.${e}.progress`),
|
|
1393
1393
|
summary: t(`${n}:troubles.${e}.summary`),
|
|
1394
1394
|
successMessage: t(`${n}:troubles.${e}.success`),
|
|
1395
1395
|
failureMessage: t(`${n}:troubles.${e}.error`),
|
|
1396
1396
|
actionLabel: t(`${n}:troubles.${e}.action`)
|
|
1397
|
-
}), He = (t, e =
|
|
1397
|
+
}), He = (t, e = Ji) => {
|
|
1398
1398
|
const { t: n } = I("troubles"), [r, s] = T(null), [o, c] = T(fn), a = V(
|
|
1399
1399
|
async (d) => {
|
|
1400
1400
|
const l = e(d);
|
|
1401
1401
|
if (l) {
|
|
1402
|
-
const u =
|
|
1402
|
+
const u = Qi(n)(d);
|
|
1403
1403
|
if (c(u), t) {
|
|
1404
|
-
const
|
|
1405
|
-
await
|
|
1404
|
+
const p = new l(t);
|
|
1405
|
+
await p.performAction(), s(p);
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
},
|
|
1409
1409
|
[e, t, n]
|
|
1410
1410
|
);
|
|
1411
1411
|
return t ? [r, a, o] : [null, a, o];
|
|
1412
|
-
},
|
|
1412
|
+
}, ea = (t) => (W.debug(`pumpActionFactory: actionId=${t}`), xi), ta = (t) => (e, n = "troubles") => ({
|
|
1413
1413
|
title: t(`${n}:troubles.${e}.progress`),
|
|
1414
1414
|
summary: t(`${n}:troubles.${e}.summary`),
|
|
1415
1415
|
successMessage: t(`${n}:troubles.${e}.success`),
|
|
1416
1416
|
failureMessage: t(`${n}:troubles.${e}.error`),
|
|
1417
1417
|
actionLabel: t(`${n}:troubles.${e}.action`)
|
|
1418
|
-
}), Ed = (t, e, n =
|
|
1419
|
-
const { t: r } = I("troubles"), [s, o] = T(null), [c] = T(
|
|
1418
|
+
}), Ed = (t, e, n = ea) => {
|
|
1419
|
+
const { t: r } = I("troubles"), [s, o] = T(null), [c] = T(ta(r)(e)), a = V(async () => {
|
|
1420
1420
|
const d = n(e);
|
|
1421
1421
|
if (d) {
|
|
1422
1422
|
const l = new d(t, e);
|
|
@@ -1439,7 +1439,7 @@ const is = () => {
|
|
|
1439
1439
|
options: {}
|
|
1440
1440
|
});
|
|
1441
1441
|
};
|
|
1442
|
-
function
|
|
1442
|
+
function na(t) {
|
|
1443
1443
|
return (e) => {
|
|
1444
1444
|
const { model: n, status: r, KosModelLoader: s } = is();
|
|
1445
1445
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, animation: n }) });
|
|
@@ -1459,7 +1459,7 @@ function Dd(t) {
|
|
|
1459
1459
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, application: n }) });
|
|
1460
1460
|
};
|
|
1461
1461
|
}
|
|
1462
|
-
const
|
|
1462
|
+
const ra = () => {
|
|
1463
1463
|
const t = Zn.type;
|
|
1464
1464
|
return Z({
|
|
1465
1465
|
modelId: t,
|
|
@@ -1469,15 +1469,15 @@ const na = () => {
|
|
|
1469
1469
|
};
|
|
1470
1470
|
function Nd(t) {
|
|
1471
1471
|
return (e) => {
|
|
1472
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1472
|
+
const { model: n, status: r, KosModelLoader: s } = ra();
|
|
1473
1473
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, carbWater: n }) });
|
|
1474
1474
|
};
|
|
1475
1475
|
}
|
|
1476
|
-
const
|
|
1477
|
-
const t =
|
|
1476
|
+
const sa = () => {
|
|
1477
|
+
const t = pn.type;
|
|
1478
1478
|
return Z({
|
|
1479
1479
|
modelId: t,
|
|
1480
|
-
modelType:
|
|
1480
|
+
modelType: pn.type,
|
|
1481
1481
|
options: {},
|
|
1482
1482
|
activate: !0,
|
|
1483
1483
|
destroyOnUnmount: !0
|
|
@@ -1485,7 +1485,7 @@ const ra = () => {
|
|
|
1485
1485
|
};
|
|
1486
1486
|
function Ad(t) {
|
|
1487
1487
|
return (e) => {
|
|
1488
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1488
|
+
const { model: n, status: r, KosModelLoader: s } = sa();
|
|
1489
1489
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, copyLogs: n }) });
|
|
1490
1490
|
};
|
|
1491
1491
|
}
|
|
@@ -1511,20 +1511,20 @@ const cs = () => {
|
|
|
1511
1511
|
options: {}
|
|
1512
1512
|
});
|
|
1513
1513
|
};
|
|
1514
|
-
function
|
|
1514
|
+
function oa(t) {
|
|
1515
1515
|
return (e) => {
|
|
1516
1516
|
const { model: n, status: r, KosModelLoader: s } = cs();
|
|
1517
1517
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, dispenserInfo: n }) });
|
|
1518
1518
|
};
|
|
1519
1519
|
}
|
|
1520
|
-
const
|
|
1520
|
+
const ia = (t) => Z({
|
|
1521
1521
|
modelId: t,
|
|
1522
1522
|
modelType: Ur.type,
|
|
1523
1523
|
options: {}
|
|
1524
1524
|
});
|
|
1525
1525
|
function Rd(t) {
|
|
1526
1526
|
return (e) => {
|
|
1527
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1527
|
+
const { model: n, status: r, KosModelLoader: s } = ia(e.id);
|
|
1528
1528
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, door: n }) });
|
|
1529
1529
|
};
|
|
1530
1530
|
}
|
|
@@ -1753,11 +1753,11 @@ const gn = (t, e) => {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
return { message: n };
|
|
1755
1755
|
};
|
|
1756
|
-
let
|
|
1757
|
-
function
|
|
1758
|
-
return
|
|
1756
|
+
let aa = gn;
|
|
1757
|
+
function ca() {
|
|
1758
|
+
return aa;
|
|
1759
1759
|
}
|
|
1760
|
-
const
|
|
1760
|
+
const da = (t) => {
|
|
1761
1761
|
const { data: e, path: n, errorMaps: r, issueData: s } = t, o = [...n, ...s.path || []], c = {
|
|
1762
1762
|
...s,
|
|
1763
1763
|
path: o
|
|
@@ -1779,7 +1779,7 @@ const ca = (t) => {
|
|
|
1779
1779
|
};
|
|
1780
1780
|
};
|
|
1781
1781
|
function b(t, e) {
|
|
1782
|
-
const n =
|
|
1782
|
+
const n = ca(), r = da({
|
|
1783
1783
|
issueData: e,
|
|
1784
1784
|
data: t.data,
|
|
1785
1785
|
path: t.path,
|
|
@@ -2062,7 +2062,7 @@ class M {
|
|
|
2062
2062
|
});
|
|
2063
2063
|
}
|
|
2064
2064
|
brand() {
|
|
2065
|
-
return new
|
|
2065
|
+
return new Aa({
|
|
2066
2066
|
typeName: O.ZodBranded,
|
|
2067
2067
|
type: this,
|
|
2068
2068
|
...$(this._def)
|
|
@@ -2097,28 +2097,28 @@ class M {
|
|
|
2097
2097
|
return this.safeParse(null).success;
|
|
2098
2098
|
}
|
|
2099
2099
|
}
|
|
2100
|
-
const
|
|
2100
|
+
const la = /^c[^\s-]{8,}$/i, ua = /^[0-9a-z]+$/, pa = /^[0-9A-HJKMNP-TV-Z]{26}$/i, ma = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, ha = /^[a-z0-9_-]{21}$/i, fa = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, ga = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, ya = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, va = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
2101
2101
|
let an;
|
|
2102
|
-
const
|
|
2102
|
+
const ba = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, wa = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, xa = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, _a = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, ka = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, Ca = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, ds = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", Sa = new RegExp(`^${ds}$`);
|
|
2103
2103
|
function ls(t) {
|
|
2104
2104
|
let e = "[0-5]\\d";
|
|
2105
2105
|
t.precision ? e = `${e}\\.\\d{${t.precision}}` : t.precision == null && (e = `${e}(\\.\\d+)?`);
|
|
2106
2106
|
const n = t.precision ? "+" : "?";
|
|
2107
2107
|
return `([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`;
|
|
2108
2108
|
}
|
|
2109
|
-
function
|
|
2109
|
+
function Ta(t) {
|
|
2110
2110
|
return new RegExp(`^${ls(t)}$`);
|
|
2111
2111
|
}
|
|
2112
|
-
function
|
|
2112
|
+
function Ia(t) {
|
|
2113
2113
|
let e = `${ds}T${ls(t)}`;
|
|
2114
2114
|
const n = [];
|
|
2115
2115
|
return n.push(t.local ? "Z?" : "Z"), t.offset && n.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${n.join("|")})`, new RegExp(`^${e}$`);
|
|
2116
2116
|
}
|
|
2117
|
-
function Ia(t, e) {
|
|
2118
|
-
return !!((e === "v4" || !e) && va.test(t) || (e === "v6" || !e) && wa.test(t));
|
|
2119
|
-
}
|
|
2120
2117
|
function Ea(t, e) {
|
|
2121
|
-
|
|
2118
|
+
return !!((e === "v4" || !e) && ba.test(t) || (e === "v6" || !e) && xa.test(t));
|
|
2119
|
+
}
|
|
2120
|
+
function Pa(t, e) {
|
|
2121
|
+
if (!fa.test(t))
|
|
2122
2122
|
return !1;
|
|
2123
2123
|
try {
|
|
2124
2124
|
const [n] = t.split(".");
|
|
@@ -2130,8 +2130,8 @@ function Ea(t, e) {
|
|
|
2130
2130
|
return !1;
|
|
2131
2131
|
}
|
|
2132
2132
|
}
|
|
2133
|
-
function
|
|
2134
|
-
return !!((e === "v4" || !e) &&
|
|
2133
|
+
function Da(t, e) {
|
|
2134
|
+
return !!((e === "v4" || !e) && wa.test(t) || (e === "v6" || !e) && _a.test(t));
|
|
2135
2135
|
}
|
|
2136
2136
|
class ye extends M {
|
|
2137
2137
|
_parse(e) {
|
|
@@ -2182,13 +2182,13 @@ class ye extends M {
|
|
|
2182
2182
|
message: o.message
|
|
2183
2183
|
}), r.dirty());
|
|
2184
2184
|
} else if (o.kind === "email")
|
|
2185
|
-
|
|
2185
|
+
ya.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2186
2186
|
validation: "email",
|
|
2187
2187
|
code: g.invalid_string,
|
|
2188
2188
|
message: o.message
|
|
2189
2189
|
}), r.dirty());
|
|
2190
2190
|
else if (o.kind === "emoji")
|
|
2191
|
-
an || (an = new RegExp(
|
|
2191
|
+
an || (an = new RegExp(va, "u")), an.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2192
2192
|
validation: "emoji",
|
|
2193
2193
|
code: g.invalid_string,
|
|
2194
2194
|
message: o.message
|
|
@@ -2200,25 +2200,25 @@ class ye extends M {
|
|
|
2200
2200
|
message: o.message
|
|
2201
2201
|
}), r.dirty());
|
|
2202
2202
|
else if (o.kind === "nanoid")
|
|
2203
|
-
|
|
2203
|
+
ha.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2204
2204
|
validation: "nanoid",
|
|
2205
2205
|
code: g.invalid_string,
|
|
2206
2206
|
message: o.message
|
|
2207
2207
|
}), r.dirty());
|
|
2208
2208
|
else if (o.kind === "cuid")
|
|
2209
|
-
|
|
2209
|
+
la.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2210
2210
|
validation: "cuid",
|
|
2211
2211
|
code: g.invalid_string,
|
|
2212
2212
|
message: o.message
|
|
2213
2213
|
}), r.dirty());
|
|
2214
2214
|
else if (o.kind === "cuid2")
|
|
2215
|
-
|
|
2215
|
+
ua.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2216
2216
|
validation: "cuid2",
|
|
2217
2217
|
code: g.invalid_string,
|
|
2218
2218
|
message: o.message
|
|
2219
2219
|
}), r.dirty());
|
|
2220
2220
|
else if (o.kind === "ulid")
|
|
2221
|
-
|
|
2221
|
+
pa.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2222
2222
|
validation: "ulid",
|
|
2223
2223
|
code: g.invalid_string,
|
|
2224
2224
|
message: o.message
|
|
@@ -2250,39 +2250,39 @@ class ye extends M {
|
|
|
2250
2250
|
code: g.invalid_string,
|
|
2251
2251
|
validation: { endsWith: o.value },
|
|
2252
2252
|
message: o.message
|
|
2253
|
-
}), r.dirty()) : o.kind === "datetime" ?
|
|
2253
|
+
}), r.dirty()) : o.kind === "datetime" ? Ia(o).test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2254
2254
|
code: g.invalid_string,
|
|
2255
2255
|
validation: "datetime",
|
|
2256
2256
|
message: o.message
|
|
2257
|
-
}), r.dirty()) : o.kind === "date" ?
|
|
2257
|
+
}), r.dirty()) : o.kind === "date" ? Sa.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2258
2258
|
code: g.invalid_string,
|
|
2259
2259
|
validation: "date",
|
|
2260
2260
|
message: o.message
|
|
2261
|
-
}), r.dirty()) : o.kind === "time" ?
|
|
2261
|
+
}), r.dirty()) : o.kind === "time" ? Ta(o).test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2262
2262
|
code: g.invalid_string,
|
|
2263
2263
|
validation: "time",
|
|
2264
2264
|
message: o.message
|
|
2265
|
-
}), r.dirty()) : o.kind === "duration" ?
|
|
2265
|
+
}), r.dirty()) : o.kind === "duration" ? ga.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2266
2266
|
validation: "duration",
|
|
2267
2267
|
code: g.invalid_string,
|
|
2268
2268
|
message: o.message
|
|
2269
|
-
}), r.dirty()) : o.kind === "ip" ?
|
|
2269
|
+
}), r.dirty()) : o.kind === "ip" ? Ea(e.data, o.version) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2270
2270
|
validation: "ip",
|
|
2271
2271
|
code: g.invalid_string,
|
|
2272
2272
|
message: o.message
|
|
2273
|
-
}), r.dirty()) : o.kind === "jwt" ?
|
|
2273
|
+
}), r.dirty()) : o.kind === "jwt" ? Pa(e.data, o.alg) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2274
2274
|
validation: "jwt",
|
|
2275
2275
|
code: g.invalid_string,
|
|
2276
2276
|
message: o.message
|
|
2277
|
-
}), r.dirty()) : o.kind === "cidr" ?
|
|
2277
|
+
}), r.dirty()) : o.kind === "cidr" ? Da(e.data, o.version) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2278
2278
|
validation: "cidr",
|
|
2279
2279
|
code: g.invalid_string,
|
|
2280
2280
|
message: o.message
|
|
2281
|
-
}), r.dirty()) : o.kind === "base64" ?
|
|
2281
|
+
}), r.dirty()) : o.kind === "base64" ? ka.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2282
2282
|
validation: "base64",
|
|
2283
2283
|
code: g.invalid_string,
|
|
2284
2284
|
message: o.message
|
|
2285
|
-
}), r.dirty()) : o.kind === "base64url" ?
|
|
2285
|
+
}), r.dirty()) : o.kind === "base64url" ? Ca.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2286
2286
|
validation: "base64url",
|
|
2287
2287
|
code: g.invalid_string,
|
|
2288
2288
|
message: o.message
|
|
@@ -2517,7 +2517,7 @@ ye.create = (t) => new ye({
|
|
|
2517
2517
|
coerce: (t == null ? void 0 : t.coerce) ?? !1,
|
|
2518
2518
|
...$(t)
|
|
2519
2519
|
});
|
|
2520
|
-
function
|
|
2520
|
+
function Na(t, e) {
|
|
2521
2521
|
const n = (t.toString().split(".")[1] || "").length, r = (e.toString().split(".")[1] || "").length, s = n > r ? n : r, o = Number.parseInt(t.toFixed(s).replace(".", "")), c = Number.parseInt(e.toFixed(s).replace(".", ""));
|
|
2522
2522
|
return o % c / 10 ** s;
|
|
2523
2523
|
}
|
|
@@ -2556,7 +2556,7 @@ class Je extends M {
|
|
|
2556
2556
|
inclusive: o.inclusive,
|
|
2557
2557
|
exact: !1,
|
|
2558
2558
|
message: o.message
|
|
2559
|
-
}), s.dirty()) : o.kind === "multipleOf" ?
|
|
2559
|
+
}), s.dirty()) : o.kind === "multipleOf" ? Na(e.data, o.value) !== 0 && (r = this._getOrReturnCtx(e, r), b(r, {
|
|
2560
2560
|
code: g.not_multiple_of,
|
|
2561
2561
|
multipleOf: o.value,
|
|
2562
2562
|
message: o.message
|
|
@@ -2956,7 +2956,7 @@ ur.create = (t) => new ur({
|
|
|
2956
2956
|
typeName: O.ZodUndefined,
|
|
2957
2957
|
...$(t)
|
|
2958
2958
|
});
|
|
2959
|
-
class
|
|
2959
|
+
class pr extends M {
|
|
2960
2960
|
_parse(e) {
|
|
2961
2961
|
if (this._getType(e) !== k.null) {
|
|
2962
2962
|
const r = this._getOrReturnCtx(e);
|
|
@@ -2969,11 +2969,11 @@ class mr extends M {
|
|
|
2969
2969
|
return ne(e.data);
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
|
-
|
|
2972
|
+
pr.create = (t) => new pr({
|
|
2973
2973
|
typeName: O.ZodNull,
|
|
2974
2974
|
...$(t)
|
|
2975
2975
|
});
|
|
2976
|
-
class
|
|
2976
|
+
class mr extends M {
|
|
2977
2977
|
constructor() {
|
|
2978
2978
|
super(...arguments), this._any = !0;
|
|
2979
2979
|
}
|
|
@@ -2981,7 +2981,7 @@ class pr extends M {
|
|
|
2981
2981
|
return ne(e.data);
|
|
2982
2982
|
}
|
|
2983
2983
|
}
|
|
2984
|
-
|
|
2984
|
+
mr.create = (t) => new mr({
|
|
2985
2985
|
typeName: O.ZodAny,
|
|
2986
2986
|
...$(t)
|
|
2987
2987
|
});
|
|
@@ -3143,10 +3143,10 @@ class K extends M {
|
|
|
3143
3143
|
c.includes(l) || a.push(l);
|
|
3144
3144
|
const d = [];
|
|
3145
3145
|
for (const l of c) {
|
|
3146
|
-
const u = o[l],
|
|
3146
|
+
const u = o[l], p = s.data[l];
|
|
3147
3147
|
d.push({
|
|
3148
3148
|
key: { status: "valid", value: l },
|
|
3149
|
-
value: u._parse(new we(s,
|
|
3149
|
+
value: u._parse(new we(s, p, s.path, l)),
|
|
3150
3150
|
alwaysSet: l in s.data
|
|
3151
3151
|
});
|
|
3152
3152
|
}
|
|
@@ -3168,11 +3168,11 @@ class K extends M {
|
|
|
3168
3168
|
} else {
|
|
3169
3169
|
const l = this._def.catchall;
|
|
3170
3170
|
for (const u of a) {
|
|
3171
|
-
const
|
|
3171
|
+
const p = s.data[u];
|
|
3172
3172
|
d.push({
|
|
3173
3173
|
key: { status: "valid", value: u },
|
|
3174
3174
|
value: l._parse(
|
|
3175
|
-
new we(s,
|
|
3175
|
+
new we(s, p, s.path, u)
|
|
3176
3176
|
//, ctx.child(key), value, getParsedType(value)
|
|
3177
3177
|
),
|
|
3178
3178
|
alwaysSet: u in s.data
|
|
@@ -3182,10 +3182,10 @@ class K extends M {
|
|
|
3182
3182
|
return s.common.async ? Promise.resolve().then(async () => {
|
|
3183
3183
|
const l = [];
|
|
3184
3184
|
for (const u of d) {
|
|
3185
|
-
const
|
|
3185
|
+
const p = await u.key, m = await u.value;
|
|
3186
3186
|
l.push({
|
|
3187
|
-
key:
|
|
3188
|
-
value:
|
|
3187
|
+
key: p,
|
|
3188
|
+
value: m,
|
|
3189
3189
|
alwaysSet: u.alwaysSet
|
|
3190
3190
|
});
|
|
3191
3191
|
}
|
|
@@ -4056,7 +4056,7 @@ br.create = (t) => new br({
|
|
|
4056
4056
|
typeName: O.ZodNaN,
|
|
4057
4057
|
...$(t)
|
|
4058
4058
|
});
|
|
4059
|
-
class
|
|
4059
|
+
class Aa extends M {
|
|
4060
4060
|
_parse(e) {
|
|
4061
4061
|
const { ctx: n } = this._processInputParams(e), r = n.data;
|
|
4062
4062
|
return this._def.type._parse({
|
|
@@ -4133,7 +4133,7 @@ ie.create;
|
|
|
4133
4133
|
It.create;
|
|
4134
4134
|
Et.create;
|
|
4135
4135
|
Ie.create;
|
|
4136
|
-
const it = vn.create,
|
|
4136
|
+
const it = vn.create, Oa = Fe.create;
|
|
4137
4137
|
Pt.create;
|
|
4138
4138
|
ve.create;
|
|
4139
4139
|
Be.create;
|
|
@@ -4143,7 +4143,7 @@ const wr = ue(
|
|
|
4143
4143
|
dashboardKey: re().min(1, "Dashboard key is required").describe("Key used to identify which dashboard this summary belongs to")
|
|
4144
4144
|
},
|
|
4145
4145
|
{ rankable: !0 }
|
|
4146
|
-
), Ot =
|
|
4146
|
+
), Ot = pe("ddk", "dashboard", "summary"), ps = me({
|
|
4147
4147
|
id: Ot,
|
|
4148
4148
|
contributionKey: "dashboardSummary",
|
|
4149
4149
|
displayName: "Dashboard Summary",
|
|
@@ -4166,7 +4166,7 @@ const wr = ue(
|
|
|
4166
4166
|
dashboardKey: re().min(1, "Dashboard key is required").describe("Key used to identify which dashboard this detail belongs to")
|
|
4167
4167
|
},
|
|
4168
4168
|
{ rankable: !0 }
|
|
4169
|
-
), Rt =
|
|
4169
|
+
), Rt = pe("ddk", "dashboard", "detail"), ms = me({
|
|
4170
4170
|
id: Rt,
|
|
4171
4171
|
contributionKey: "dashboardDetail",
|
|
4172
4172
|
displayName: "Dashboard Detail",
|
|
@@ -4191,7 +4191,7 @@ const wr = ue(
|
|
|
4191
4191
|
)
|
|
4192
4192
|
},
|
|
4193
4193
|
{ rankable: !0 }
|
|
4194
|
-
), $t =
|
|
4194
|
+
), $t = pe("ddk", "dashboard", "pump-detail"), ze = me({
|
|
4195
4195
|
id: $t,
|
|
4196
4196
|
contributionKey: "dashboardPumpDetail",
|
|
4197
4197
|
displayName: "Dashboard Pump Detail",
|
|
@@ -4214,7 +4214,7 @@ const wr = ue(
|
|
|
4214
4214
|
)
|
|
4215
4215
|
},
|
|
4216
4216
|
{ rankable: !0 }
|
|
4217
|
-
), Lt =
|
|
4217
|
+
), Lt = pe("ddk", "dashboard", "macro-summary"), Dt = me({
|
|
4218
4218
|
id: Lt,
|
|
4219
4219
|
contributionKey: "dashboardMacroSummary",
|
|
4220
4220
|
displayName: "Dashboard Macro Summary",
|
|
@@ -4235,8 +4235,8 @@ const wr = ue(
|
|
|
4235
4235
|
cuiDescriptor: re().min(1, "CUI descriptor is required").describe(
|
|
4236
4236
|
"Descriptor used to identify and categorize the CUI functionality"
|
|
4237
4237
|
),
|
|
4238
|
-
modalMode:
|
|
4239
|
-
}), Vt =
|
|
4238
|
+
modalMode: Oa(["fullscreen", "maximized"]).optional().describe("Modal display mode for the CUI interface")
|
|
4239
|
+
}), Vt = pe("ddk", "cui"), Nn = me({
|
|
4240
4240
|
id: Vt,
|
|
4241
4241
|
contributionKey: "cui",
|
|
4242
4242
|
displayName: "CUI (Consumer User Interface)",
|
|
@@ -4257,7 +4257,7 @@ const wr = ue(
|
|
|
4257
4257
|
navDescriptor: re().min(1, "Navigation descriptor is required").describe(
|
|
4258
4258
|
"Descriptor used to identify and map the navigation functionality"
|
|
4259
4259
|
)
|
|
4260
|
-
}), Ft =
|
|
4260
|
+
}), Ft = pe("ddk", "nav", "view"), hs = me({
|
|
4261
4261
|
id: Ft,
|
|
4262
4262
|
contributionKey: "navViews",
|
|
4263
4263
|
displayName: "Navigation Views",
|
|
@@ -4283,7 +4283,7 @@ const wr = ue(
|
|
|
4283
4283
|
setupDescriptor: re().min(1, "Setup descriptor is required").describe("Descriptor used to identify and categorize the setup step")
|
|
4284
4284
|
},
|
|
4285
4285
|
{ rankable: !0 }
|
|
4286
|
-
), Mt =
|
|
4286
|
+
), Mt = pe("ddk", "setup"), Bt = me({
|
|
4287
4287
|
id: Mt,
|
|
4288
4288
|
contributionKey: "setupStep",
|
|
4289
4289
|
displayName: "Setup Steps",
|
|
@@ -4314,7 +4314,7 @@ const wr = ue(
|
|
|
4314
4314
|
)
|
|
4315
4315
|
},
|
|
4316
4316
|
{ rankable: !0 }
|
|
4317
|
-
), zt =
|
|
4317
|
+
), zt = pe("ddk", "trouble", "action"), tt = me({
|
|
4318
4318
|
id: zt,
|
|
4319
4319
|
contributionKey: "troubleActions",
|
|
4320
4320
|
displayName: "Trouble Actions",
|
|
@@ -4338,7 +4338,7 @@ const wr = ue(
|
|
|
4338
4338
|
)
|
|
4339
4339
|
},
|
|
4340
4340
|
{ rankable: !0 }
|
|
4341
|
-
), jt =
|
|
4341
|
+
), jt = pe("ddk", "view"), fs = me({
|
|
4342
4342
|
id: jt,
|
|
4343
4343
|
contributionKey: "views",
|
|
4344
4344
|
displayName: "Views",
|
|
@@ -4359,39 +4359,39 @@ const wr = ue(
|
|
|
4359
4359
|
)), Pe(t, e));
|
|
4360
4360
|
},
|
|
4361
4361
|
transform: he()
|
|
4362
|
-
}), ol = jt, il = `${jt}.def`, al = `${jt}.view`,
|
|
4362
|
+
}), ol = jt, il = `${jt}.def`, al = `${jt}.view`, Ra = "ddk.ncui.utilities", Pr = {
|
|
4363
4363
|
[Bt.id]: "setupDescriptor",
|
|
4364
4364
|
[Nn.id]: "cuiDescriptor",
|
|
4365
|
-
[
|
|
4366
|
-
},
|
|
4365
|
+
[Ra]: "utilDescriptor"
|
|
4366
|
+
}, $a = ({
|
|
4367
4367
|
defaultNamespace: t,
|
|
4368
4368
|
extensionPoint: e
|
|
4369
4369
|
}) => {
|
|
4370
4370
|
const { getExtensions: n } = Yr(), r = n(e), s = r.map((d) => d.data.namespace) || [], { t: o } = I([t, ...new Set(s)]), c = r.reduce(
|
|
4371
4371
|
(d, l) => {
|
|
4372
|
-
const u = l,
|
|
4373
|
-
return d[
|
|
4372
|
+
const u = l, p = u.data;
|
|
4373
|
+
return d[p[Pr[e]]] = {
|
|
4374
4374
|
extension: e,
|
|
4375
4375
|
module: u.id,
|
|
4376
|
-
namespace:
|
|
4377
|
-
title:
|
|
4376
|
+
namespace: p.namespace,
|
|
4377
|
+
title: p.title
|
|
4378
4378
|
}, d;
|
|
4379
4379
|
},
|
|
4380
4380
|
{}
|
|
4381
4381
|
), a = r.reduce((d, l) => {
|
|
4382
|
-
const
|
|
4383
|
-
return d[
|
|
4382
|
+
const p = l.data;
|
|
4383
|
+
return d[p[Pr[e]]] = `${p.namespace}:${p.title}`, d;
|
|
4384
4384
|
}, {});
|
|
4385
4385
|
return { namespaces: s, t: o, labelMap: a, contributionMap: c };
|
|
4386
4386
|
}, at = (t, e) => {
|
|
4387
4387
|
const n = F(() => ({
|
|
4388
|
-
agitate:
|
|
4388
|
+
agitate: ki,
|
|
4389
4389
|
calibrate: ({ holder: c, pump: a, onComplete: d }) => {
|
|
4390
4390
|
const l = ce(
|
|
4391
4391
|
a ?? c.pumps.data[0],
|
|
4392
4392
|
hn.type
|
|
4393
4393
|
);
|
|
4394
|
-
return /* @__PURE__ */ i(
|
|
4394
|
+
return /* @__PURE__ */ i(Pi, { pump: l, onComplete: d });
|
|
4395
4395
|
},
|
|
4396
4396
|
calibrateSPM: ({ holder: c, pump: a, onComplete: d }) => {
|
|
4397
4397
|
const l = ce(
|
|
@@ -4411,7 +4411,7 @@ const wr = ue(
|
|
|
4411
4411
|
a ?? c.pumps.data[0],
|
|
4412
4412
|
hn.type
|
|
4413
4413
|
);
|
|
4414
|
-
return /* @__PURE__ */ i(
|
|
4414
|
+
return /* @__PURE__ */ i(Gi, { pump: l, onComplete: d });
|
|
4415
4415
|
},
|
|
4416
4416
|
"replace-pump": ({ holder: c, pump: a, onComplete: d }) => /* @__PURE__ */ i(
|
|
4417
4417
|
Kc,
|
|
@@ -4421,7 +4421,7 @@ const wr = ue(
|
|
|
4421
4421
|
}
|
|
4422
4422
|
),
|
|
4423
4423
|
"rfid-override": Xc,
|
|
4424
|
-
"replace-line": ({ holder: c, onComplete: a }) => /* @__PURE__ */ i(
|
|
4424
|
+
"replace-line": ({ holder: c, onComplete: a }) => /* @__PURE__ */ i(Uc, { holder: c, onComplete: a })
|
|
4425
4425
|
}), []), [r, s] = T(void 0), o = r ? n[r] : void 0;
|
|
4426
4426
|
return {
|
|
4427
4427
|
holderExperience: o ? /* @__PURE__ */ i(
|
|
@@ -4437,7 +4437,7 @@ const wr = ue(
|
|
|
4437
4437
|
setHolderExperience: s,
|
|
4438
4438
|
currentExperienceId: r
|
|
4439
4439
|
};
|
|
4440
|
-
}, gs = Y(void 0), cl = ({ children: t, value: e }) => /* @__PURE__ */ i(gs.Provider, { value: e, children: t }),
|
|
4440
|
+
}, gs = Y(void 0), cl = ({ children: t, value: e }) => /* @__PURE__ */ i(gs.Provider, { value: e, children: t }), La = (t) => ({ HolderContent: void 0 }), ys = (t, e = La) => {
|
|
4441
4441
|
const n = G(gs);
|
|
4442
4442
|
return e = (n == null ? void 0 : n.actionFactory) || e, e(t);
|
|
4443
4443
|
}, vs = () => {
|
|
@@ -4462,7 +4462,7 @@ const bs = () => {
|
|
|
4462
4462
|
options: {}
|
|
4463
4463
|
});
|
|
4464
4464
|
};
|
|
4465
|
-
function
|
|
4465
|
+
function Va(t) {
|
|
4466
4466
|
return (e) => {
|
|
4467
4467
|
const { model: n, status: r, KosModelLoader: s } = bs();
|
|
4468
4468
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, macroAssignment: n }) });
|
|
@@ -4470,7 +4470,7 @@ function La(t) {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
const ws = (t) => Z({
|
|
4472
4472
|
modelId: t,
|
|
4473
|
-
modelType:
|
|
4473
|
+
modelType: jo.type,
|
|
4474
4474
|
options: {}
|
|
4475
4475
|
});
|
|
4476
4476
|
function ll(t) {
|
|
@@ -4487,13 +4487,13 @@ const xs = () => {
|
|
|
4487
4487
|
options: {}
|
|
4488
4488
|
});
|
|
4489
4489
|
};
|
|
4490
|
-
function
|
|
4490
|
+
function Fa(t) {
|
|
4491
4491
|
return (e) => {
|
|
4492
4492
|
const { model: n, status: r, KosModelLoader: s } = xs();
|
|
4493
4493
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, networkTestContainer: n }) });
|
|
4494
4494
|
};
|
|
4495
4495
|
}
|
|
4496
|
-
const
|
|
4496
|
+
const Ma = () => {
|
|
4497
4497
|
const t = qn.type;
|
|
4498
4498
|
return Z({
|
|
4499
4499
|
modelId: t,
|
|
@@ -4503,11 +4503,11 @@ const Fa = () => {
|
|
|
4503
4503
|
};
|
|
4504
4504
|
function ul(t) {
|
|
4505
4505
|
return (e) => {
|
|
4506
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4506
|
+
const { model: n, status: r, KosModelLoader: s } = Ma();
|
|
4507
4507
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, nutritiveSweetener: n }) });
|
|
4508
4508
|
};
|
|
4509
4509
|
}
|
|
4510
|
-
const
|
|
4510
|
+
const Ba = () => {
|
|
4511
4511
|
const t = Yn.type;
|
|
4512
4512
|
return Z({
|
|
4513
4513
|
modelId: t,
|
|
@@ -4516,18 +4516,18 @@ const Ma = () => {
|
|
|
4516
4516
|
destroyOnUnmount: !0
|
|
4517
4517
|
});
|
|
4518
4518
|
};
|
|
4519
|
-
function
|
|
4519
|
+
function pl(t) {
|
|
4520
4520
|
return (e) => {
|
|
4521
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4521
|
+
const { model: n, status: r, KosModelLoader: s } = Ba();
|
|
4522
4522
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, plainWater: n }) });
|
|
4523
4523
|
};
|
|
4524
4524
|
}
|
|
4525
|
-
const
|
|
4525
|
+
const za = (t) => {
|
|
4526
4526
|
switch (t.type) {
|
|
4527
4527
|
case "fcm":
|
|
4528
4528
|
return hn.type;
|
|
4529
4529
|
case "lfcv":
|
|
4530
|
-
return
|
|
4530
|
+
return ni.type;
|
|
4531
4531
|
case "micro":
|
|
4532
4532
|
return Hr.type;
|
|
4533
4533
|
case "cgp":
|
|
@@ -4549,7 +4549,7 @@ to(Te, {
|
|
|
4549
4549
|
return s.length === 0 ? !0 : !s.includes(!1);
|
|
4550
4550
|
}
|
|
4551
4551
|
});
|
|
4552
|
-
class
|
|
4552
|
+
class ja {
|
|
4553
4553
|
constructor(e, n) {
|
|
4554
4554
|
j(this, "core");
|
|
4555
4555
|
j(this, "dispense");
|
|
@@ -4571,20 +4571,20 @@ class za {
|
|
|
4571
4571
|
), this;
|
|
4572
4572
|
}
|
|
4573
4573
|
}
|
|
4574
|
-
class
|
|
4574
|
+
class Za {
|
|
4575
4575
|
constructor() {
|
|
4576
4576
|
j(this, "dispense");
|
|
4577
4577
|
j(this, "core");
|
|
4578
4578
|
j(this, "plugin");
|
|
4579
|
-
this.dispense = new
|
|
4579
|
+
this.dispense = new Go(), this.core = new no(), this.plugin = new ja(this.core, this.dispense);
|
|
4580
4580
|
}
|
|
4581
4581
|
}
|
|
4582
|
-
const
|
|
4582
|
+
const Ua = {
|
|
4583
4583
|
/** Utilities extension point for DDK applications */
|
|
4584
4584
|
UTILITIES: "ddk.ncui.utilities"
|
|
4585
|
-
},
|
|
4586
|
-
ms.register();
|
|
4585
|
+
}, Ka = Ua.UTILITIES;
|
|
4587
4586
|
ps.register();
|
|
4587
|
+
ms.register();
|
|
4588
4588
|
ze.register();
|
|
4589
4589
|
Dt.register();
|
|
4590
4590
|
Nn.register();
|
|
@@ -4592,14 +4592,14 @@ hs.register();
|
|
|
4592
4592
|
Bt.register();
|
|
4593
4593
|
tt.register();
|
|
4594
4594
|
fs.register();
|
|
4595
|
-
console.log("JSON-defined UtilitiesExtension ID:",
|
|
4595
|
+
console.log("JSON-defined UtilitiesExtension ID:", Ka);
|
|
4596
4596
|
console.log(
|
|
4597
4597
|
"Registered DashboardSummaryExtension:",
|
|
4598
|
-
|
|
4598
|
+
ps.id
|
|
4599
4599
|
);
|
|
4600
4600
|
console.log(
|
|
4601
4601
|
"Registered DashboardDetailExtension:",
|
|
4602
|
-
|
|
4602
|
+
ms.id
|
|
4603
4603
|
);
|
|
4604
4604
|
console.log(
|
|
4605
4605
|
"Registered DashboardPumpDetailExtension:",
|
|
@@ -4614,14 +4614,14 @@ console.log("Registered NavViewExtension:", hs.id);
|
|
|
4614
4614
|
console.log("Registered SetupExtension:", Bt.id);
|
|
4615
4615
|
console.log("Registered TroubleActionExtension:", tt.id);
|
|
4616
4616
|
console.log("Registered ViewExtension:", fs.id);
|
|
4617
|
-
const
|
|
4618
|
-
rr.freestyle.models().model(
|
|
4617
|
+
const ml = () => {
|
|
4618
|
+
rr.freestyle.models().model(Zo).model(ro).model(mn).model(pn).model(Ur).model(_t).companion(Jo.type, () => {
|
|
4619
4619
|
if (so.isFeatureEnabled("carbTank"))
|
|
4620
|
-
return
|
|
4621
|
-
}).companion(
|
|
4620
|
+
return ri.type;
|
|
4621
|
+
}).companion(Qo.type, za).companion(oo.type, _t.type).preload(un.type), Object.keys(Gn).forEach((c) => {
|
|
4622
4622
|
const a = Gn[c];
|
|
4623
4623
|
io(rr)(c, a);
|
|
4624
|
-
}), new
|
|
4624
|
+
}), new si().freestyle.initializeFreestyleExtension();
|
|
4625
4625
|
const { KosCoreContextProvider: e } = ao(), n = {
|
|
4626
4626
|
rank: 999,
|
|
4627
4627
|
factory: (c) => {
|
|
@@ -4643,17 +4643,17 @@ const pl = () => {
|
|
|
4643
4643
|
return !0;
|
|
4644
4644
|
const l = ce(
|
|
4645
4645
|
d,
|
|
4646
|
-
|
|
4646
|
+
oi.type
|
|
4647
4647
|
);
|
|
4648
4648
|
return !!(l != null && l.supportsRemoteTrays);
|
|
4649
4649
|
};
|
|
4650
|
-
return new
|
|
4651
|
-
}, Zt = (t) => t ?
|
|
4650
|
+
return new Za().plugin.registerNavVisibilityFilter(r).registerNavVisibilityFilter(s), { KosCoreContextProvider: e };
|
|
4651
|
+
}, Zt = (t) => t ? Ha(t.type) : {
|
|
4652
4652
|
action: "",
|
|
4653
4653
|
label: "",
|
|
4654
4654
|
progress: "",
|
|
4655
4655
|
summary: ""
|
|
4656
|
-
},
|
|
4656
|
+
}, Ha = (t) => {
|
|
4657
4657
|
const e = `troubles:troubles.${t}`;
|
|
4658
4658
|
return {
|
|
4659
4659
|
action: `${e}.action`,
|
|
@@ -4662,7 +4662,7 @@ const pl = () => {
|
|
|
4662
4662
|
summary: `${e}.summary`
|
|
4663
4663
|
};
|
|
4664
4664
|
}, ct = (t) => {
|
|
4665
|
-
const e =
|
|
4665
|
+
const e = ai(), [, n] = T({}), [r] = T(/* @__PURE__ */ new Set());
|
|
4666
4666
|
return H(() => {
|
|
4667
4667
|
const o = [];
|
|
4668
4668
|
return r.forEach((c) => {
|
|
@@ -4718,7 +4718,7 @@ function _s(t) {
|
|
|
4718
4718
|
}
|
|
4719
4719
|
const ks = (t) => Z({
|
|
4720
4720
|
modelId: t,
|
|
4721
|
-
modelType:
|
|
4721
|
+
modelType: Uo.type,
|
|
4722
4722
|
options: {}
|
|
4723
4723
|
});
|
|
4724
4724
|
function fl(t) {
|
|
@@ -4735,13 +4735,13 @@ const Cs = () => {
|
|
|
4735
4735
|
options: {}
|
|
4736
4736
|
});
|
|
4737
4737
|
};
|
|
4738
|
-
function
|
|
4738
|
+
function Wa(t) {
|
|
4739
4739
|
return (e) => {
|
|
4740
4740
|
const { model: n, status: r, KosModelLoader: s } = Cs();
|
|
4741
4741
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, setupStepContainer: n }) });
|
|
4742
4742
|
};
|
|
4743
4743
|
}
|
|
4744
|
-
const
|
|
4744
|
+
const Xa = (t) => {
|
|
4745
4745
|
const [e, n] = T(), [r, s] = He(t), o = e && e > 0;
|
|
4746
4746
|
return H(() => {
|
|
4747
4747
|
async function c() {
|
|
@@ -4754,7 +4754,7 @@ const Wa = (t) => {
|
|
|
4754
4754
|
}
|
|
4755
4755
|
c();
|
|
4756
4756
|
}, [t, t == null ? void 0 : t.ingredientId]), { calibrateVolume: e, canCalibrate: o, action: r, handleAction: s };
|
|
4757
|
-
},
|
|
4757
|
+
}, qa = () => {
|
|
4758
4758
|
const t = tr.type;
|
|
4759
4759
|
return Z({
|
|
4760
4760
|
modelId: t,
|
|
@@ -4764,17 +4764,17 @@ const Wa = (t) => {
|
|
|
4764
4764
|
};
|
|
4765
4765
|
function gl(t) {
|
|
4766
4766
|
return (e) => {
|
|
4767
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4767
|
+
const { model: n, status: r, KosModelLoader: s } = qa();
|
|
4768
4768
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, start: n }) });
|
|
4769
4769
|
};
|
|
4770
4770
|
}
|
|
4771
4771
|
const Ss = () => {
|
|
4772
|
-
const t =
|
|
4772
|
+
const t = mn.type, { getExtensions: e } = ct(), n = e(tt.id).map(
|
|
4773
4773
|
(s) => s.data
|
|
4774
4774
|
);
|
|
4775
4775
|
return Z({
|
|
4776
4776
|
modelId: t,
|
|
4777
|
-
modelType:
|
|
4777
|
+
modelType: mn.type,
|
|
4778
4778
|
options: {
|
|
4779
4779
|
definitions: n
|
|
4780
4780
|
}
|
|
@@ -4797,10 +4797,10 @@ const Ut = (t) => {
|
|
|
4797
4797
|
}
|
|
4798
4798
|
r();
|
|
4799
4799
|
}, [t]), e;
|
|
4800
|
-
},
|
|
4800
|
+
}, Ya = (t) => !t || t === "white", Ga = (t) => t ? void 0 : "white", Ja = (t) => {
|
|
4801
4801
|
if (!lo(t))
|
|
4802
4802
|
return {};
|
|
4803
|
-
const e = t, { visibleTroubles: n, initialized: r } = dt(e), s = (n == null ? void 0 : n.length) ?? 0, o = n == null ? void 0 : n[0], c = s > 0, a = c ? `${o == null ? void 0 : o.color}` : void 0, d =
|
|
4803
|
+
const e = t, { visibleTroubles: n, initialized: r } = dt(e), s = (n == null ? void 0 : n.length) ?? 0, o = n == null ? void 0 : n[0], c = s > 0, a = c ? `${o == null ? void 0 : o.color}` : void 0, d = Ya(a), l = c ? Ga(d) : void 0;
|
|
4804
4804
|
return {
|
|
4805
4805
|
backgroundColor: a,
|
|
4806
4806
|
fontColor: l,
|
|
@@ -4820,7 +4820,7 @@ const Ut = (t) => {
|
|
|
4820
4820
|
}), [e, n, t]), [r, o.length > 0 ? o[0] : void 0, o];
|
|
4821
4821
|
}, Ts = (t) => Z({
|
|
4822
4822
|
modelId: t,
|
|
4823
|
-
modelType:
|
|
4823
|
+
modelType: Ko.type,
|
|
4824
4824
|
options: {}
|
|
4825
4825
|
});
|
|
4826
4826
|
function bl(t) {
|
|
@@ -4843,23 +4843,23 @@ function wl(t) {
|
|
|
4843
4843
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, utilitiesContainer: n }) });
|
|
4844
4844
|
};
|
|
4845
4845
|
}
|
|
4846
|
-
const
|
|
4846
|
+
const Qa = po(
|
|
4847
4847
|
D(({ device: t }) => {
|
|
4848
4848
|
const { t: e } = I("dispenser-profile"), r = t.serialNumber === "unassigned" ? void 0 : t.serialNumber;
|
|
4849
4849
|
return /* @__PURE__ */ i(Le, { label: e("dispenser-serial"), value: r });
|
|
4850
4850
|
})
|
|
4851
|
-
), xl =
|
|
4851
|
+
), xl = oa(
|
|
4852
4852
|
D(({ dispenserInfo: t }) => {
|
|
4853
4853
|
const { t: e } = I("dispenser-profile");
|
|
4854
4854
|
return /* @__PURE__ */ f(N, { children: [
|
|
4855
4855
|
/* @__PURE__ */ i(
|
|
4856
|
-
|
|
4856
|
+
$i,
|
|
4857
4857
|
{
|
|
4858
4858
|
label: e("dispenser-name", "Dispenser Name"),
|
|
4859
4859
|
configProperty: t.name
|
|
4860
4860
|
}
|
|
4861
4861
|
),
|
|
4862
|
-
/* @__PURE__ */ i(
|
|
4862
|
+
/* @__PURE__ */ i(Qa, {})
|
|
4863
4863
|
] });
|
|
4864
4864
|
})
|
|
4865
4865
|
), _l = _s(
|
|
@@ -4881,7 +4881,7 @@ const Ja = mo(
|
|
|
4881
4881
|
}
|
|
4882
4882
|
),
|
|
4883
4883
|
/* @__PURE__ */ i(
|
|
4884
|
-
|
|
4884
|
+
Xi,
|
|
4885
4885
|
{
|
|
4886
4886
|
label: e("activate-and-reboot-time"),
|
|
4887
4887
|
configProperty: t.activateAndRebootTime
|
|
@@ -4893,32 +4893,32 @@ const Ja = mo(
|
|
|
4893
4893
|
color: var(--ddk-generic-color-grey-60);
|
|
4894
4894
|
font-size: var(--ddk-component-enjoy-by-font-size-small);
|
|
4895
4895
|
font-weight: var(--ddk-component-enjoy-by-font-weight-small);
|
|
4896
|
-
`,
|
|
4896
|
+
`, ec = S(Cn)`
|
|
4897
4897
|
color: var(--ddk-component-dashboard-enjoy-by-trouble-warning-color);
|
|
4898
|
-
`,
|
|
4898
|
+
`, tc = S(Es)`
|
|
4899
4899
|
color: var(--ddk-component-dashboard-enjoy-by-trouble-warning-color);
|
|
4900
4900
|
`, Ps = ({ holder: t, size: e }) => {
|
|
4901
|
-
const { t: n } = I("common"), { regionModel: r } = be(), s = !!t.enjoyByDate, o = t.enjoyByDate ?? /* @__PURE__ */ new Date(), { formattedDate: c } =
|
|
4901
|
+
const { t: n } = I("common"), { regionModel: r } = be(), s = !!t.enjoyByDate, o = t.enjoyByDate ?? /* @__PURE__ */ new Date(), { formattedDate: c } = mo({
|
|
4902
4902
|
year: o.getFullYear(),
|
|
4903
4903
|
month: o.getMonth(),
|
|
4904
4904
|
day: o.getDate(),
|
|
4905
4905
|
formatString: (r == null ? void 0 : r.selectedDateFormat) || ""
|
|
4906
|
-
}), a = t.hasEnjoyByWarning ? e === "small" ?
|
|
4906
|
+
}), a = t.hasEnjoyByWarning ? e === "small" ? tc : ec : e === "small" ? Es : Cn;
|
|
4907
4907
|
return s && /* @__PURE__ */ i(a, { children: n("enjoy-by", { data: { date: c } }) });
|
|
4908
|
-
},
|
|
4908
|
+
}, nc = ({ item: t, valueKey: e }) => {
|
|
4909
4909
|
const { t: n } = I("hardware-info"), { linked: r } = t;
|
|
4910
4910
|
if (e === "link.serialNum" && !r)
|
|
4911
4911
|
return /* @__PURE__ */ i(wo, { children: n("not-connected") });
|
|
4912
4912
|
const s = xo(t, e);
|
|
4913
4913
|
return s || "—";
|
|
4914
|
-
},
|
|
4914
|
+
}, rc = S(Vr)`
|
|
4915
4915
|
& ul {
|
|
4916
4916
|
list-style-type: none;
|
|
4917
4917
|
margin: 0;
|
|
4918
4918
|
padding: 0;
|
|
4919
4919
|
}
|
|
4920
4920
|
`, kl = D(() => {
|
|
4921
|
-
const { model: t } =
|
|
4921
|
+
const { model: t } = ei(), { t: e } = I("hardware-info"), n = (t == null ? void 0 : t.boardList.map((r) => {
|
|
4922
4922
|
var s, o, c;
|
|
4923
4923
|
return {
|
|
4924
4924
|
...r,
|
|
@@ -4929,9 +4929,9 @@ const Ja = mo(
|
|
|
4929
4929
|
};
|
|
4930
4930
|
})) || [];
|
|
4931
4931
|
return t && t.boardList && /* @__PURE__ */ i(
|
|
4932
|
-
|
|
4932
|
+
rc,
|
|
4933
4933
|
{
|
|
4934
|
-
CellRenderer:
|
|
4934
|
+
CellRenderer: nc,
|
|
4935
4935
|
data: n,
|
|
4936
4936
|
dataKeys: [
|
|
4937
4937
|
"name",
|
|
@@ -4972,24 +4972,24 @@ const Ja = mo(
|
|
|
4972
4972
|
),
|
|
4973
4973
|
[e]
|
|
4974
4974
|
);
|
|
4975
|
-
const
|
|
4975
|
+
const p = V(() => {
|
|
4976
4976
|
e && (t || e.isPouring || (e.performIntent("HOLD_TO_POUR"), d.current = setTimeout(() => {
|
|
4977
4977
|
l.current = !0, d.current = void 0, a("run");
|
|
4978
4978
|
}, u)));
|
|
4979
|
-
}, [t, e]),
|
|
4979
|
+
}, [t, e]), m = V(() => {
|
|
4980
4980
|
e && (l.current ? (e.cancelPour(), l.current = !1, a("idle")) : d.current ? (clearTimeout(d.current), d.current = void 0, a("halt")) : e.isPouring && (e.cancelPour(), a("idle")));
|
|
4981
4981
|
}, [e]), v = V(() => {
|
|
4982
|
-
c !== "halt" &&
|
|
4983
|
-
}, [
|
|
4982
|
+
c !== "halt" && m();
|
|
4983
|
+
}, [m, c]);
|
|
4984
4984
|
return /* @__PURE__ */ i(
|
|
4985
4985
|
_o,
|
|
4986
4986
|
{
|
|
4987
4987
|
disabled: t,
|
|
4988
4988
|
mode: "primary",
|
|
4989
|
-
onPointerCancel:
|
|
4990
|
-
onPointerDown:
|
|
4989
|
+
onPointerCancel: m,
|
|
4990
|
+
onPointerDown: p,
|
|
4991
4991
|
onPointerOut: v,
|
|
4992
|
-
onPointerUp:
|
|
4992
|
+
onPointerUp: m,
|
|
4993
4993
|
...s,
|
|
4994
4994
|
state: c,
|
|
4995
4995
|
children: o(
|
|
@@ -5009,7 +5009,7 @@ const Ja = mo(
|
|
|
5009
5009
|
"useAnimationContext must be used within a AnimationProvider"
|
|
5010
5010
|
);
|
|
5011
5011
|
return t;
|
|
5012
|
-
}, Tl =
|
|
5012
|
+
}, Tl = na(
|
|
5013
5013
|
({
|
|
5014
5014
|
animation: t,
|
|
5015
5015
|
animationOverrides: e,
|
|
@@ -5019,12 +5019,12 @@ const Ja = mo(
|
|
|
5019
5019
|
}) => {
|
|
5020
5020
|
const [o, c] = T(!0), [a, d] = T(!0), [l, u] = T(!0);
|
|
5021
5021
|
return H(() => {
|
|
5022
|
-
const
|
|
5023
|
-
const
|
|
5024
|
-
c(
|
|
5022
|
+
const p = je(() => {
|
|
5023
|
+
const m = !!(!(e != null && e.disableAll) && (e != null && e.enableDial)) && !!(!t.disableAll.value && t.enableDial.value), v = !!(!(e != null && e.disableAll) && (e != null && e.enableModal)) && !!(!t.disableAll.value && t.enableModal.value), y = !!(!(e != null && e.disableAll) && (e != null && e.enableSideBar)) && !!(!t.disableAll.value && t.enableSideBar.value);
|
|
5024
|
+
c(m), d(v), u(y);
|
|
5025
5025
|
});
|
|
5026
5026
|
return () => {
|
|
5027
|
-
|
|
5027
|
+
p();
|
|
5028
5028
|
};
|
|
5029
5029
|
}, [
|
|
5030
5030
|
t,
|
|
@@ -5186,9 +5186,9 @@ const Ja = mo(
|
|
|
5186
5186
|
return t;
|
|
5187
5187
|
}, dt = (t) => {
|
|
5188
5188
|
const { model: e } = Rn(), [n, r] = T(), s = e == null ? void 0 : e.currentRole, o = !!n;
|
|
5189
|
-
return
|
|
5189
|
+
return Mo(() => {
|
|
5190
5190
|
const c = je(() => {
|
|
5191
|
-
const a = t.troubles.filter(
|
|
5191
|
+
const a = t.troubles.filter(Ho(s));
|
|
5192
5192
|
r((d) => {
|
|
5193
5193
|
const l = d ?? [];
|
|
5194
5194
|
return a.length !== l.length || a.some((u) => !l.includes(u)) ? a : l;
|
|
@@ -5210,17 +5210,17 @@ const Dr = S.div`
|
|
|
5210
5210
|
text-overflow: ellipsis;
|
|
5211
5211
|
width: 100%;
|
|
5212
5212
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5213
|
-
`,
|
|
5213
|
+
`, sc = S.div`
|
|
5214
5214
|
display: flex;
|
|
5215
5215
|
align-items: center;
|
|
5216
5216
|
justify-content: center;
|
|
5217
5217
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5218
5218
|
flex-wrap: nowrap;
|
|
5219
5219
|
white-space: nowrap;
|
|
5220
|
-
`,
|
|
5220
|
+
`, oc = S.div`
|
|
5221
5221
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5222
5222
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5223
|
-
`,
|
|
5223
|
+
`, ic = (t) => !t || t === "white", ac = (t) => t ? void 0 : "white", cc = (t, e) => e && e.hasEnjoyByWarning ? "var(--ddk-component-dashboard-enjoy-by-trouble-warning-color)" : t ? void 0 : "white", dc = D(
|
|
5224
5224
|
({
|
|
5225
5225
|
holder: t,
|
|
5226
5226
|
onHolderSelect: e,
|
|
@@ -5228,7 +5228,7 @@ const Dr = S.div`
|
|
|
5228
5228
|
summaryBody: r,
|
|
5229
5229
|
altNamePolicy: s = "disable"
|
|
5230
5230
|
}) => {
|
|
5231
|
-
const { model: o } = At(), { visibleTroubles: c, initialized: a } = dt(t), d = o == null ? void 0 : o.currentRole, { t: l } = I("troubles"), { t: u } = I("common"), { componentModeOverride:
|
|
5231
|
+
const { model: o } = At(), { visibleTroubles: c, initialized: a } = dt(t), d = o == null ? void 0 : o.currentRole, { t: l } = I("troubles"), { t: u } = I("common"), { componentModeOverride: p } = J(), m = p === "compact", { getExtensions: v } = ct();
|
|
5232
5232
|
let y = !1;
|
|
5233
5233
|
const h = ce(
|
|
5234
5234
|
t,
|
|
@@ -5237,10 +5237,10 @@ const Dr = S.div`
|
|
|
5237
5237
|
h != null && h.isRemote && s === "disable" && (Us.warn("Holder is remote, skipping rendering"), y = !0);
|
|
5238
5238
|
const [P, E] = T(!1), x = !!t.ingredientId, X = V(() => {
|
|
5239
5239
|
E(!1);
|
|
5240
|
-
}, []), oe = (c == null ? void 0 : c.length) ?? 0, U = c == null ? void 0 : c[0], te = oe > 0, Ht = Ut(U), Xe = t.hasFuelGuage, De = t.fillPercent, Wt = t.removed ? "var(--ddk-component-dashboard-card-background-color-removed)" : y ? "var(--ddk-component-dashboard-card-background-color-disabled)" : te ? `${U == null ? void 0 : U.color}` : t.unassigned ? "var(--ddk-component-dashboard-card-background-color-unassigned)" : void 0, lt = t.removed ? "var(--ddk-component-dashboard-card-header-background-color-removed)" : void 0, ut =
|
|
5240
|
+
}, []), oe = (c == null ? void 0 : c.length) ?? 0, U = c == null ? void 0 : c[0], te = oe > 0, Ht = Ut(U), Xe = t.hasFuelGuage, De = t.fillPercent, Wt = t.removed ? "var(--ddk-component-dashboard-card-background-color-removed)" : y ? "var(--ddk-component-dashboard-card-background-color-disabled)" : te ? `${U == null ? void 0 : U.color}` : t.unassigned ? "var(--ddk-component-dashboard-card-background-color-unassigned)" : void 0, lt = t.removed ? "var(--ddk-component-dashboard-card-header-background-color-removed)" : void 0, ut = ic(Wt), Ne = y ? "white" : t.unassigned ? "var(--ddk-generic-color-grey-30)" : te ? ac(ut) : x ? void 0 : "var(--ddk-component-dashboard-card-color-unassigned)", Xt = y ? "white" : te ? cc(ut, t) : x ? void 0 : "var(--ddk-component-dashboard-card-color-unassigned)", pt = R ? u(_, { defaultValue: "Remote NNS Tray" }) : Fr(t.name, m), mt = y ? u("disabled") : R ? "" : t.removed ? u(t.previousIngredientName) : t.unassigned ? u("unassigned") : u(t.ingredientName), ht = /* @__PURE__ */ i(Dr, { color: Ne, children: mt }), qt = /* @__PURE__ */ i(sc, { color: Ne, children: pt }), Yt = R ? u(_, { defaultValue: "Remote NNS Tray" }) : t.name, Gt = /* @__PURE__ */ f(Dr, { children: [
|
|
5241
5241
|
Yt,
|
|
5242
5242
|
" ",
|
|
5243
|
-
|
|
5243
|
+
mt
|
|
5244
5244
|
] }), Jt = x && Xe && !te && a ? r ?? /* @__PURE__ */ i(
|
|
5245
5245
|
Br,
|
|
5246
5246
|
{
|
|
@@ -5279,10 +5279,10 @@ const Dr = S.div`
|
|
|
5279
5279
|
Ae,
|
|
5280
5280
|
en
|
|
5281
5281
|
]
|
|
5282
|
-
), Xs = Zt(U), qs = /* @__PURE__ */ i(
|
|
5282
|
+
), Xs = Zt(U), qs = /* @__PURE__ */ i(oc, { color: te ? Ne : Xt, children: L && !R ? u("remote-nns-active") : te ? l(Xs.summary, {
|
|
5283
5283
|
context: U != null && U.deferred ? "queued" : void 0,
|
|
5284
5284
|
data: Ht
|
|
5285
|
-
}) : !
|
|
5285
|
+
}) : !m && /* @__PURE__ */ i(Ps, { size: "small", holder: t }) }), { holderExperience: Ys, setHolderExperience: Ln } = at(t), { future: yt } = _e(U), Gs = V(() => {
|
|
5286
5286
|
y || t.sortedPumps.length <= 0 || (d === "technician" ? E(!0) : t.unassigned || t.removed ? Ln("rfid-override") : te && (e == null || e(t)));
|
|
5287
5287
|
}, [
|
|
5288
5288
|
y,
|
|
@@ -5296,7 +5296,7 @@ const Dr = S.div`
|
|
|
5296
5296
|
/* @__PURE__ */ f(
|
|
5297
5297
|
Ze,
|
|
5298
5298
|
{
|
|
5299
|
-
contain: !
|
|
5299
|
+
contain: !m,
|
|
5300
5300
|
...Hs,
|
|
5301
5301
|
show: P,
|
|
5302
5302
|
onClose: X,
|
|
@@ -5304,11 +5304,11 @@ const Dr = S.div`
|
|
|
5304
5304
|
/* @__PURE__ */ i(
|
|
5305
5305
|
Ue,
|
|
5306
5306
|
{
|
|
5307
|
-
contain:
|
|
5307
|
+
contain: m,
|
|
5308
5308
|
showCloseButton: !0,
|
|
5309
5309
|
title: Gt,
|
|
5310
5310
|
onClose: X,
|
|
5311
|
-
CloseButton:
|
|
5311
|
+
CloseButton: m ? nt : void 0
|
|
5312
5312
|
}
|
|
5313
5313
|
),
|
|
5314
5314
|
Ws
|
|
@@ -5355,10 +5355,10 @@ const Dr = S.div`
|
|
|
5355
5355
|
height: 100%;
|
|
5356
5356
|
user-select: none;
|
|
5357
5357
|
overflow: visible;
|
|
5358
|
-
`,
|
|
5358
|
+
`, lc = D(({ holder: t, showNavIcons: e }) => {
|
|
5359
5359
|
const n = t.troubles[0];
|
|
5360
5360
|
return /* @__PURE__ */ i(
|
|
5361
|
-
|
|
5361
|
+
dc,
|
|
5362
5362
|
{
|
|
5363
5363
|
holder: t,
|
|
5364
5364
|
showNavIcon: e,
|
|
@@ -5372,7 +5372,7 @@ const Dr = S.div`
|
|
|
5372
5372
|
({ holders: t, showNavIcons: e, ...n }) => {
|
|
5373
5373
|
const r = F(
|
|
5374
5374
|
() => t.map((s) => /* @__PURE__ */ i(
|
|
5375
|
-
|
|
5375
|
+
lc,
|
|
5376
5376
|
{
|
|
5377
5377
|
holder: s,
|
|
5378
5378
|
showNavIcons: !!e
|
|
@@ -5383,9 +5383,9 @@ const Dr = S.div`
|
|
|
5383
5383
|
);
|
|
5384
5384
|
return /* @__PURE__ */ i(Ks, { ...n, children: r });
|
|
5385
5385
|
}
|
|
5386
|
-
),
|
|
5387
|
-
|
|
5388
|
-
const
|
|
5386
|
+
), uc = W.createLogger({ name: "holder-group-view" });
|
|
5387
|
+
uc.debug("holder-group-view component loaded");
|
|
5388
|
+
const pc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
5389
5389
|
display: flex;
|
|
5390
5390
|
flex-direction: column;
|
|
5391
5391
|
overflow-y: auto;
|
|
@@ -5402,18 +5402,18 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5402
5402
|
text-overflow: ellipsis;
|
|
5403
5403
|
width: 100%;
|
|
5404
5404
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5405
|
-
`,
|
|
5405
|
+
`, hc = S.div`
|
|
5406
5406
|
display: flex;
|
|
5407
5407
|
align-items: center;
|
|
5408
5408
|
justify-content: center;
|
|
5409
5409
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5410
|
-
`,
|
|
5410
|
+
`, fc = S.div`
|
|
5411
5411
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5412
5412
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5413
|
-
`,
|
|
5414
|
-
const s = r(`common:macros.${t.name}`), o =
|
|
5413
|
+
`, gc = (t, e, n, r) => {
|
|
5414
|
+
const s = r(`common:macros.${t.name}`), o = pc.includes(t.name), c = e ? o ? "" : ` ${r(`common:${t.ingredientName}`)}` : ` ${r("common:macros.unassigned")}`, a = `${s}${c}`, d = n ? o ? s : c : `${s} ${c}`;
|
|
5415
5415
|
return { titleText: a, cardTitleText: d };
|
|
5416
|
-
},
|
|
5416
|
+
}, yc = D(
|
|
5417
5417
|
({ holder: t, dashboardKey: e, fallbackStatus: n }) => {
|
|
5418
5418
|
const { getExtensions: r } = ct(), s = r(Dt.id), o = (d) => s.find((l) => {
|
|
5419
5419
|
const u = l.data;
|
|
@@ -5421,7 +5421,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5421
5421
|
}), c = o(t.name) ?? o(e), a = Sn(Dt);
|
|
5422
5422
|
return c && a ? /* @__PURE__ */ i(a, { module: c.id, holder: t }) : /* @__PURE__ */ i(Ke, { size: "small", status: n });
|
|
5423
5423
|
}
|
|
5424
|
-
),
|
|
5424
|
+
), vc = (t) => !t || t === "white", bc = (t) => t ? void 0 : "white", wc = D(
|
|
5425
5425
|
({
|
|
5426
5426
|
holder: t,
|
|
5427
5427
|
onHolderSelect: e,
|
|
@@ -5429,32 +5429,32 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5429
5429
|
summaryBody: r
|
|
5430
5430
|
}) => {
|
|
5431
5431
|
var ft, Ae;
|
|
5432
|
-
const { model: s } = At(), { visibleTroubles: o, initialized: c } = dt(t), { t: a } = I(["troubles", "common"]), { componentModeOverride: d } = J(), l = d === "compact", { getExtensions: u } = ct(),
|
|
5432
|
+
const { model: s } = At(), { visibleTroubles: o, initialized: c } = dt(t), { t: a } = I(["troubles", "common"]), { componentModeOverride: d } = J(), l = d === "compact", { getExtensions: u } = ct(), p = (ft = s == null ? void 0 : s.currentRole) == null ? void 0 : ft.toLowerCase(), [m, v] = T(!1), y = !!t.ingredientId, h = (o == null ? void 0 : o.length) ?? 0, _ = o == null ? void 0 : o[0], L = o ? o.length > 0 : !1, R = t.removed ? "var(--ddk-component-dashboard-card-background-color-removed)" : L ? `${_ == null ? void 0 : _.color}` : t.unassigned ? "var(--ddk-component-dashboard-card-background-color-unassigned)" : void 0, P = t.removed ? "var(--ddk-component-dashboard-card-header-background-color-removed)" : void 0, E = vc(R), x = t.unassigned ? "var(--ddk-generic-color-grey-30)" : L ? bc(E) : y ? void 0 : "var(--ddk-component-dashboard-card-color-unassigned)", X = Fr(
|
|
5433
5433
|
t.name,
|
|
5434
5434
|
d === "compact"
|
|
5435
|
-
), { titleText: oe, cardTitleText: U } =
|
|
5435
|
+
), { titleText: oe, cardTitleText: U } = gc(
|
|
5436
5436
|
t,
|
|
5437
5437
|
y,
|
|
5438
5438
|
l,
|
|
5439
5439
|
a
|
|
5440
|
-
), te = d === "compact" && /* @__PURE__ */ i(
|
|
5440
|
+
), te = d === "compact" && /* @__PURE__ */ i(hc, { color: x, children: X }), Ht = /* @__PURE__ */ i(Nr, { color: x, children: U }), Xe = /* @__PURE__ */ i(Nr, { children: oe }), De = $e.executeDashboardKeyFactory(t) || "", lt = u(ze.id).filter((ke) => !!ke.data).reduce((ke, Oe) => {
|
|
5441
5441
|
const gt = Oe.data;
|
|
5442
5442
|
return ke[gt.dashboardKey] = Oe.data, ke;
|
|
5443
|
-
}, {}), ut = !!lt[De], { HolderContent: Ne, modalOptions: Xt } = ys(t),
|
|
5443
|
+
}, {}), ut = !!lt[De], { HolderContent: Ne, modalOptions: Xt } = ys(t), pt = Sn(
|
|
5444
5444
|
ze
|
|
5445
|
-
),
|
|
5446
|
-
|
|
5445
|
+
), mt = r ?? /* @__PURE__ */ i(
|
|
5446
|
+
yc,
|
|
5447
5447
|
{
|
|
5448
5448
|
holder: t,
|
|
5449
5449
|
dashboardKey: De,
|
|
5450
5450
|
fallbackStatus: L ? "pending" : "completed"
|
|
5451
5451
|
}
|
|
5452
|
-
), ht = Ne ? /* @__PURE__ */ i(Ne, { holder: t, onComplete: () => v(!1) }) : ut &&
|
|
5452
|
+
), ht = Ne ? /* @__PURE__ */ i(Ne, { holder: t, onComplete: () => v(!1) }) : ut && pt ? /* @__PURE__ */ i(pt, { module: (Ae = lt[De]) == null ? void 0 : Ae.id, holder: t }) : null, qt = Zt(_), Yt = Ut(_), Gt = L ? /* @__PURE__ */ i(fc, { color: x, children: a(qt.summary, {
|
|
5453
5453
|
context: _ != null && _.deferred ? "queued" : void 0,
|
|
5454
5454
|
data: Yt
|
|
5455
5455
|
}) }) : null, Jt = V(() => {
|
|
5456
|
-
t.sortedPumps.length > 0 && (
|
|
5457
|
-
}, [L, t, e,
|
|
5456
|
+
t.sortedPumps.length > 0 && (p === "technician" ? v(!0) : L && (e == null || e(t)));
|
|
5457
|
+
}, [L, t, e, p]);
|
|
5458
5458
|
return /* @__PURE__ */ f(N, { children: [
|
|
5459
5459
|
/* @__PURE__ */ i(
|
|
5460
5460
|
Mr,
|
|
@@ -5462,7 +5462,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5462
5462
|
avatar: te,
|
|
5463
5463
|
headerBackgroundColor: P,
|
|
5464
5464
|
backgroundColor: R,
|
|
5465
|
-
body: L ? null :
|
|
5465
|
+
body: L ? null : mt,
|
|
5466
5466
|
footer: Gt,
|
|
5467
5467
|
cardId: t.path,
|
|
5468
5468
|
errors: h,
|
|
@@ -5477,7 +5477,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5477
5477
|
{
|
|
5478
5478
|
contain: d !== "compact",
|
|
5479
5479
|
...Xt,
|
|
5480
|
-
show:
|
|
5480
|
+
show: m,
|
|
5481
5481
|
onClose: () => v(!1),
|
|
5482
5482
|
children: /* @__PURE__ */ f(mc, { children: [
|
|
5483
5483
|
/* @__PURE__ */ i(
|
|
@@ -5501,7 +5501,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5501
5501
|
({ holders: t, showNavIcons: e, ...n }) => /* @__PURE__ */ i(Ks, { ...n, children: t.map((r) => {
|
|
5502
5502
|
const s = r.troubles[0];
|
|
5503
5503
|
return /* @__PURE__ */ i(
|
|
5504
|
-
|
|
5504
|
+
wc,
|
|
5505
5505
|
{
|
|
5506
5506
|
holder: r,
|
|
5507
5507
|
showNavIcon: e,
|
|
@@ -5512,17 +5512,17 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5512
5512
|
r.id
|
|
5513
5513
|
);
|
|
5514
5514
|
}) })
|
|
5515
|
-
),
|
|
5515
|
+
), xc = S(Yo)`
|
|
5516
5516
|
width: var(--ddk-component-macro-card-unavailable-icon-size);
|
|
5517
5517
|
height: var(--ddk-component-macro-card-unavailable-icon-size);
|
|
5518
|
-
`,
|
|
5518
|
+
`, _c = S(zr)`
|
|
5519
5519
|
text-align: center;
|
|
5520
5520
|
font-size: var(--ddk-component-sub-modal-heading-font-size-medium);
|
|
5521
|
-
`,
|
|
5521
|
+
`, kc = S.div`
|
|
5522
5522
|
height: 100%;
|
|
5523
5523
|
overflow-y: auto;
|
|
5524
5524
|
width: 100%;
|
|
5525
|
-
`,
|
|
5525
|
+
`, Cc = S.div`
|
|
5526
5526
|
display: grid;
|
|
5527
5527
|
gap: var(--ddk-component-macro-setup-card-gap);
|
|
5528
5528
|
|
|
@@ -5532,16 +5532,16 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5532
5532
|
justify-content: center;
|
|
5533
5533
|
width: 100%;
|
|
5534
5534
|
user-select: none;
|
|
5535
|
-
`,
|
|
5535
|
+
`, Sc = (t) => {
|
|
5536
5536
|
const { componentModeOverride: e } = J();
|
|
5537
5537
|
return /* @__PURE__ */ i(
|
|
5538
|
-
|
|
5538
|
+
Cc,
|
|
5539
5539
|
{
|
|
5540
5540
|
compact: e === "compact",
|
|
5541
5541
|
...t
|
|
5542
5542
|
}
|
|
5543
5543
|
);
|
|
5544
|
-
},
|
|
5544
|
+
}, Tc = S.div`
|
|
5545
5545
|
align-items: center;
|
|
5546
5546
|
|
|
5547
5547
|
background: ${(t) => t.selected ? "var(--ddk-generic-color-grey-5)" : "var(--ddk-generic-color-white)"};
|
|
@@ -5564,18 +5564,18 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5564
5564
|
overflow-wrap: anywhere;
|
|
5565
5565
|
padding: var(--ddk-component-macro-setup-card-header-padding-md);
|
|
5566
5566
|
text-align: center;
|
|
5567
|
-
`,
|
|
5567
|
+
`, Ic = S.div`
|
|
5568
5568
|
align-items: center;
|
|
5569
5569
|
display: flex;
|
|
5570
5570
|
flex-direction: column;
|
|
5571
5571
|
gap: 32px;
|
|
5572
5572
|
height: 100%;
|
|
5573
5573
|
justify-content: center;
|
|
5574
|
-
`,
|
|
5574
|
+
`, Ec = S.div`
|
|
5575
5575
|
color: var(--ddk-component-macro-card-unavailable-font-color);
|
|
5576
5576
|
font-size: var(--ddk-component-macro-card-unavailable-font-size);
|
|
5577
5577
|
font-weight: var(--ddk-component-macro-card-unavailable-font-weight);
|
|
5578
|
-
`, $n =
|
|
5578
|
+
`, $n = Va(({ holder: t, onComplete: e, macroAssignment: n, showCloseButton: r = !0 }) => {
|
|
5579
5579
|
const { t: s } = I("setup"), { t: o } = I("common"), { componentModeOverride: c } = J(), [a, d] = T(t.ingredient), l = S.div`
|
|
5580
5580
|
display: flex;
|
|
5581
5581
|
flex-direction: column;
|
|
@@ -5584,11 +5584,11 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5584
5584
|
`;
|
|
5585
5585
|
return /* @__PURE__ */ f(l, { children: [
|
|
5586
5586
|
/* @__PURE__ */ i(se, { children: n.hasMacroIngredients ? /* @__PURE__ */ f(N, { children: [
|
|
5587
|
-
c === "standard" && /* @__PURE__ */ i(
|
|
5587
|
+
c === "standard" && /* @__PURE__ */ i(_c, { children: s("select-and-assign-ingredients-for", {
|
|
5588
5588
|
data: { name: o(`macros.${t.name}`) }
|
|
5589
5589
|
}) }),
|
|
5590
|
-
/* @__PURE__ */ i(
|
|
5591
|
-
|
|
5590
|
+
/* @__PURE__ */ i(kc, { children: /* @__PURE__ */ i(Sc, { children: n.macroIngredients.map((u) => /* @__PURE__ */ i(
|
|
5591
|
+
Tc,
|
|
5592
5592
|
{
|
|
5593
5593
|
selected: (a == null ? void 0 : a.id) === u.id,
|
|
5594
5594
|
onPointerDown: () => {
|
|
@@ -5598,9 +5598,9 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5598
5598
|
},
|
|
5599
5599
|
u.id
|
|
5600
5600
|
)) }) })
|
|
5601
|
-
] }) : /* @__PURE__ */ f(
|
|
5602
|
-
/* @__PURE__ */ i(
|
|
5603
|
-
/* @__PURE__ */ i(
|
|
5601
|
+
] }) : /* @__PURE__ */ f(Ic, { children: [
|
|
5602
|
+
/* @__PURE__ */ i(xc, {}),
|
|
5603
|
+
/* @__PURE__ */ i(Ec, { children: s("no-ingredients-available-for-assignment") })
|
|
5604
5604
|
] }) }),
|
|
5605
5605
|
/* @__PURE__ */ i(Q, { children: n.hasMacroIngredients ? /* @__PURE__ */ f(N, { children: [
|
|
5606
5606
|
c === "standard" && r && /* @__PURE__ */ i(
|
|
@@ -5721,7 +5721,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5721
5721
|
}
|
|
5722
5722
|
)
|
|
5723
5723
|
] });
|
|
5724
|
-
}),
|
|
5724
|
+
}), Pc = S.div`
|
|
5725
5725
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5726
5726
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5727
5727
|
`, tu = D((t) => {
|
|
@@ -5730,7 +5730,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5730
5730
|
return /* @__PURE__ */ f(N, { children: [
|
|
5731
5731
|
/* @__PURE__ */ i(Ke, { size: "small", status: "completed" }),
|
|
5732
5732
|
/* @__PURE__ */ i(
|
|
5733
|
-
|
|
5733
|
+
Pc,
|
|
5734
5734
|
{
|
|
5735
5735
|
style: {
|
|
5736
5736
|
visibility: t.cardModel.isAgitating ? "visible" : "hidden"
|
|
@@ -5744,23 +5744,23 @@ ${e("agitator:agitate-after-without", {
|
|
|
5744
5744
|
flex-direction: column;
|
|
5745
5745
|
gap: 24px;
|
|
5746
5746
|
padding: 24px;
|
|
5747
|
-
`, ru =
|
|
5747
|
+
`, ru = ti(
|
|
5748
5748
|
({ assembly: t, showHeading: e }) => /* @__PURE__ */ i(
|
|
5749
|
-
|
|
5749
|
+
Dc,
|
|
5750
5750
|
{
|
|
5751
5751
|
iceAgitator: t.iceAgitator,
|
|
5752
5752
|
showHeading: e
|
|
5753
5753
|
}
|
|
5754
5754
|
)
|
|
5755
|
-
),
|
|
5755
|
+
), Dc = D(
|
|
5756
5756
|
({ iceAgitator: t, showHeading: e }) => {
|
|
5757
|
-
const { t: n } = I("about"), r =
|
|
5757
|
+
const { t: n } = I("about"), r = ci(), { componentModeOverride: s } = J(), o = (t == null ? void 0 : t.iceTypes.map((a) => ({ id: a, label: a }))) || [], c = V(async () => {
|
|
5758
5758
|
(t == null ? void 0 : t.type.value) !== void 0 && (t == null || t.updateIceType(t.type.value));
|
|
5759
5759
|
}, [t]);
|
|
5760
5760
|
return t ? /* @__PURE__ */ f(rt, { children: [
|
|
5761
5761
|
e && /* @__PURE__ */ i(st, { children: n("ice-settings", "Ice Settings") }),
|
|
5762
5762
|
s === "compact" ? /* @__PURE__ */ i(
|
|
5763
|
-
|
|
5763
|
+
Hi,
|
|
5764
5764
|
{
|
|
5765
5765
|
configProperty: t.type,
|
|
5766
5766
|
onChange: (a) => t.updateIceType(a),
|
|
@@ -5801,7 +5801,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5801
5801
|
] }) : "Ice model not loaded...";
|
|
5802
5802
|
}
|
|
5803
5803
|
), su = D(({ showHeading: t }) => {
|
|
5804
|
-
var u,
|
|
5804
|
+
var u, p, m, v, y;
|
|
5805
5805
|
const { t: e } = I("region"), { allLocales: n } = ho(), { model: r } = On(), { regionModel: s } = be(), o = V(
|
|
5806
5806
|
(h) => ({
|
|
5807
5807
|
id: h,
|
|
@@ -5832,7 +5832,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5832
5832
|
xt,
|
|
5833
5833
|
{
|
|
5834
5834
|
label: e("units-of-measurement", "Units of Measurement"),
|
|
5835
|
-
options: (
|
|
5835
|
+
options: (p = s == null ? void 0 : s.unitSystemOptions) == null ? void 0 : p.map((h) => ({
|
|
5836
5836
|
id: h.id,
|
|
5837
5837
|
label: `${e(`locale.unit.${h.id}`)}/${e(
|
|
5838
5838
|
`locale.units.${h.id}`
|
|
@@ -5847,7 +5847,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5847
5847
|
{
|
|
5848
5848
|
cancelButtonLabel: e("discard-changes", "Discard Changes") || void 0,
|
|
5849
5849
|
closeButtonLabel: e("close", "Close") || void 0,
|
|
5850
|
-
displayValue: c[((
|
|
5850
|
+
displayValue: c[((m = r == null ? void 0 : r.ncuiLanguage) == null ? void 0 : m.displayValue) ?? ""] ?? ((v = r == null ? void 0 : r.ncuiLanguage) == null ? void 0 : v.displayValue),
|
|
5851
5851
|
items: n == null ? void 0 : n.map(({ locale: h, label: _ }) => ({
|
|
5852
5852
|
id: h,
|
|
5853
5853
|
label: _
|
|
@@ -5899,17 +5899,17 @@ S.div`
|
|
|
5899
5899
|
justify-content: flex-end;
|
|
5900
5900
|
}
|
|
5901
5901
|
`;
|
|
5902
|
-
const
|
|
5902
|
+
const Nc = S.div`
|
|
5903
5903
|
display: flex;
|
|
5904
5904
|
align-items: center;
|
|
5905
5905
|
justify-content: flex-end;
|
|
5906
|
-
`,
|
|
5906
|
+
`, Ac = ({ item: t, valueKey: e }) => {
|
|
5907
5907
|
const { label: n, value: r } = t;
|
|
5908
5908
|
if (e === "label")
|
|
5909
5909
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("b", { children: n }) });
|
|
5910
5910
|
if (e === "value")
|
|
5911
|
-
return /* @__PURE__ */ i(
|
|
5912
|
-
},
|
|
5911
|
+
return /* @__PURE__ */ i(Nc, { children: r });
|
|
5912
|
+
}, Oc = ({
|
|
5913
5913
|
groupName: t,
|
|
5914
5914
|
networkTestContainer: e
|
|
5915
5915
|
}) => {
|
|
@@ -5923,7 +5923,7 @@ const Dc = S.div`
|
|
|
5923
5923
|
return o ? /* @__PURE__ */ i(
|
|
5924
5924
|
Vr,
|
|
5925
5925
|
{
|
|
5926
|
-
CellRenderer:
|
|
5926
|
+
CellRenderer: Ac,
|
|
5927
5927
|
data: c,
|
|
5928
5928
|
dataKeys: ["label", "value"],
|
|
5929
5929
|
heading: s.name
|
|
@@ -5941,9 +5941,9 @@ const Dc = S.div`
|
|
|
5941
5941
|
s.id
|
|
5942
5942
|
);
|
|
5943
5943
|
})) || [];
|
|
5944
|
-
}, ou =
|
|
5945
|
-
|
|
5946
|
-
),
|
|
5944
|
+
}, ou = Fa(
|
|
5945
|
+
Oc
|
|
5946
|
+
), Rc = S.div`
|
|
5947
5947
|
background-color: var(--ddk-generic-color-grey-80);
|
|
5948
5948
|
color: var(--ddk-generic-color-grey-5);
|
|
5949
5949
|
border-radius: 5px;
|
|
@@ -5952,9 +5952,9 @@ const Dc = S.div`
|
|
|
5952
5952
|
align-items: center;
|
|
5953
5953
|
justify-content: center;
|
|
5954
5954
|
font-size: var(--ddk-generic-font-size-xx-small);
|
|
5955
|
-
`,
|
|
5955
|
+
`, $c = D(({ showAction: t = !0, trouble: e, showHolder: n }) => {
|
|
5956
5956
|
var _;
|
|
5957
|
-
const { t: r } = I(["troubles"]), { model: s } = Rn(), o = s == null ? void 0 : s.currentRole, c = Ut(e), { action: a, label: d, progress: l } = Zt(e), u = e.resolvable ?? !1, { future:
|
|
5957
|
+
const { t: r } = I(["troubles"]), { model: s } = Rn(), o = s == null ? void 0 : s.currentRole, c = Ut(e), { action: a, label: d, progress: l } = Zt(e), u = e.resolvable ?? !1, { future: p } = _e(e), m = (_ = e == null ? void 0 : e.data) != null && _.holderNames && e.data.holderNames.length > 0 ? /* @__PURE__ */ i(Rc, { children: e.data.holderNames[0] }) : null, v = (e == null ? void 0 : e.color) ?? "orange", y = (e == null ? void 0 : e.shouldDefer) ?? !1, h = (e == null ? void 0 : e.deferred) ?? !1;
|
|
5958
5958
|
return /* @__PURE__ */ f(N, { children: [
|
|
5959
5959
|
/* @__PURE__ */ i(
|
|
5960
5960
|
To,
|
|
@@ -5963,21 +5963,21 @@ const Dc = S.div`
|
|
|
5963
5963
|
indicatorColor: v,
|
|
5964
5964
|
buttonLabel: t ? h ? "Queued" : y ? "Queue" : r(a, { context: o, defaultValue: "" }) : void 0,
|
|
5965
5965
|
date: e.createTime,
|
|
5966
|
-
prefix: n ?
|
|
5966
|
+
prefix: n ? m : void 0,
|
|
5967
5967
|
onAction: t && u && !h ? () => {
|
|
5968
5968
|
e.resolve();
|
|
5969
5969
|
} : void 0
|
|
5970
5970
|
}
|
|
5971
5971
|
),
|
|
5972
|
-
|
|
5972
|
+
p && /* @__PURE__ */ i(
|
|
5973
5973
|
q,
|
|
5974
5974
|
{
|
|
5975
5975
|
title: r(l, { context: o }),
|
|
5976
|
-
future: h ? void 0 :
|
|
5976
|
+
future: h ? void 0 : p,
|
|
5977
5977
|
failureMessage: r(`troubles.${e.type}.error`, {
|
|
5978
|
-
context:
|
|
5978
|
+
context: p != null && p.reason ? "reason" : void 0,
|
|
5979
5979
|
data: {
|
|
5980
|
-
reason:
|
|
5980
|
+
reason: p != null && p.reason ? `__troubles.errors.${p == null ? void 0 : p.reason}__` : void 0
|
|
5981
5981
|
}
|
|
5982
5982
|
})
|
|
5983
5983
|
}
|
|
@@ -5989,8 +5989,8 @@ const Dc = S.div`
|
|
|
5989
5989
|
tabs: n,
|
|
5990
5990
|
...r
|
|
5991
5991
|
}) => {
|
|
5992
|
-
const { getExtensions: s } = Yr(), o = s(t), c = s(e).reduce((
|
|
5993
|
-
const
|
|
5992
|
+
const { getExtensions: s } = Yr(), o = s(t), c = s(e).reduce((p, m) => (p[m.id] = m, p), {}), a = o.map((p) => p.data.namespace), { t: d } = I(["", ...new Set(a)]), l = o.map((p) => {
|
|
5993
|
+
const m = p.data, v = [...m.settings].map((y) => {
|
|
5994
5994
|
const h = c[y], _ = h.data;
|
|
5995
5995
|
return /* @__PURE__ */ f(rt, { children: [
|
|
5996
5996
|
/* @__PURE__ */ i(st, { children: d(`${_.namespace}:${_.title}`) }),
|
|
@@ -6004,19 +6004,19 @@ const Dc = S.div`
|
|
|
6004
6004
|
] }, h.id);
|
|
6005
6005
|
});
|
|
6006
6006
|
return {
|
|
6007
|
-
id:
|
|
6008
|
-
label: d(`${
|
|
6007
|
+
id: p.id,
|
|
6008
|
+
label: d(`${m.namespace}:${m.title}`),
|
|
6009
6009
|
content: /* @__PURE__ */ i(Io, { children: v })
|
|
6010
6010
|
};
|
|
6011
6011
|
}), u = [...n, ...l];
|
|
6012
6012
|
return /* @__PURE__ */ i(Eo, { ...r, tabs: u });
|
|
6013
6013
|
}, Kt = D(
|
|
6014
6014
|
({ holder: t }) => {
|
|
6015
|
-
const { t: e } = I("common"), { componentModeOverride: n } = J(), r = n === "compact", { visibleTroubles: s, initialized: o } = dt(t), a = ((s == null ? void 0 : s.length) ?? 0) > 0, d = !!t.troublesByType.FlushTrouble, l = !!t.troublesByType.PrimeTrouble, u = !!t.troublesByType.PurgeTrouble,
|
|
6015
|
+
const { t: e } = I("common"), { componentModeOverride: n } = J(), r = n === "compact", { visibleTroubles: s, initialized: o } = dt(t), a = ((s == null ? void 0 : s.length) ?? 0) > 0, d = !!t.troublesByType.FlushTrouble, l = !!t.troublesByType.PrimeTrouble, u = !!t.troublesByType.PurgeTrouble, p = d ? t.troublesByType.FlushTrouble[0] : l ? t.troublesByType.PrimeTrouble[0] : u ? t.troublesByType.PurgeTrouble[0] : null, m = (p == null ? void 0 : p.shouldDefer) ?? !1, v = (p == null ? void 0 : p.deferred) ?? !1, [y, h] = He(t), _ = V(
|
|
6016
6016
|
(L) => {
|
|
6017
|
-
|
|
6017
|
+
m ? p == null || p.resolve() : h(L);
|
|
6018
6018
|
},
|
|
6019
|
-
[h,
|
|
6019
|
+
[h, m, p]
|
|
6020
6020
|
);
|
|
6021
6021
|
return a && o && r ? /* @__PURE__ */ f(N, { children: [
|
|
6022
6022
|
d ? /* @__PURE__ */ i(
|
|
@@ -6053,7 +6053,7 @@ const Dc = S.div`
|
|
|
6053
6053
|
}) => {
|
|
6054
6054
|
const { componentModeOverride: n } = J(), r = n === "standard", { visibleTroubles: s, initialized: o } = dt(t), c = e ? s == null ? void 0 : s.filter(e) : s;
|
|
6055
6055
|
return ((c == null ? void 0 : c.length) ?? 0) > 0 && o && (s == null ? void 0 : s.map((l) => /* @__PURE__ */ i(
|
|
6056
|
-
|
|
6056
|
+
$c,
|
|
6057
6057
|
{
|
|
6058
6058
|
showAction: r,
|
|
6059
6059
|
trouble: l
|
|
@@ -6072,11 +6072,11 @@ const Dc = S.div`
|
|
|
6072
6072
|
}
|
|
6073
6073
|
y();
|
|
6074
6074
|
}, [t, t.ingredientId]);
|
|
6075
|
-
const c = t.ingredientId !== void 0, a = s && s > 0, { holderExperience: d, setHolderExperience: l, currentExperienceId: u } = at(t),
|
|
6076
|
-
return
|
|
6075
|
+
const c = t.ingredientId !== void 0, a = s && s > 0, { holderExperience: d, setHolderExperience: l, currentExperienceId: u } = at(t), p = c || u === "replace-line", m = t.pumps.data[0], v = ce(m, Wr.type);
|
|
6076
|
+
return p ? /* @__PURE__ */ f(N, { children: [
|
|
6077
6077
|
/* @__PURE__ */ f(se, { contain: !0, children: [
|
|
6078
6078
|
/* @__PURE__ */ i(Ee, { holder: t }),
|
|
6079
|
-
/* @__PURE__ */ i(
|
|
6079
|
+
/* @__PURE__ */ i(Lc, { children: /* @__PURE__ */ i(ns, { probeAware: v }) })
|
|
6080
6080
|
] }),
|
|
6081
6081
|
/* @__PURE__ */ f(Q, { children: [
|
|
6082
6082
|
/* @__PURE__ */ i(
|
|
@@ -6099,7 +6099,7 @@ const Dc = S.div`
|
|
|
6099
6099
|
n && /* @__PURE__ */ i(q, { ...n })
|
|
6100
6100
|
] }) : /* @__PURE__ */ i($n, { showCloseButton: !1, holder: t });
|
|
6101
6101
|
}
|
|
6102
|
-
),
|
|
6102
|
+
), Lc = S.div`
|
|
6103
6103
|
width: 100%;
|
|
6104
6104
|
height: 100%;
|
|
6105
6105
|
display: flex;
|
|
@@ -6110,13 +6110,13 @@ const Dc = S.div`
|
|
|
6110
6110
|
({ holder: t }) => {
|
|
6111
6111
|
const { t: e } = I("common"), [n, r] = He(t), [s, o] = T();
|
|
6112
6112
|
H(() => {
|
|
6113
|
-
async function
|
|
6113
|
+
async function m() {
|
|
6114
6114
|
if (t.ingredientId !== void 0) {
|
|
6115
6115
|
const v = await t.resolveIntentVolume("CALIBRATE");
|
|
6116
6116
|
o(Math.round(v.volume));
|
|
6117
6117
|
}
|
|
6118
6118
|
}
|
|
6119
|
-
|
|
6119
|
+
m();
|
|
6120
6120
|
}, [t, t.ingredientId]);
|
|
6121
6121
|
const c = t.ingredientId !== void 0, a = s && s > 0, { holderExperience: d, setHolderExperience: l, currentExperienceId: u } = at(t);
|
|
6122
6122
|
return c || u === "replace-line" ? /* @__PURE__ */ f(N, { children: [
|
|
@@ -6176,31 +6176,31 @@ const Dc = S.div`
|
|
|
6176
6176
|
n && /* @__PURE__ */ i(q, { ...n })
|
|
6177
6177
|
] }) : /* @__PURE__ */ i($n, { showCloseButton: !1, holder: t });
|
|
6178
6178
|
}
|
|
6179
|
-
),
|
|
6179
|
+
), Vc = S.div`
|
|
6180
6180
|
display: flex;
|
|
6181
6181
|
flex-direction: column;
|
|
6182
6182
|
gap: var(--ddk-component-super-pump-container-gap);
|
|
6183
|
-
`,
|
|
6183
|
+
`, Fc = S.div`
|
|
6184
6184
|
display: flex;
|
|
6185
6185
|
flex-direction: column;
|
|
6186
6186
|
gap: var(--ddk-component-cartridge-container-gap);
|
|
6187
|
-
`,
|
|
6188
|
-
const e =
|
|
6187
|
+
`, Mc = D(({ holder: t }) => {
|
|
6188
|
+
const e = ii(), { t: n } = I("common"), [r, s] = T("all"), o = e == null ? void 0 : e.cartridgeAgitatorModels[0], c = !!t.ingredientId, a = t.pumps.getModel(r), d = ce(
|
|
6189
6189
|
t,
|
|
6190
6190
|
Xr.type
|
|
6191
|
-
), l = !!(d != null && d.agitated), { holderExperience: u, setHolderExperience:
|
|
6191
|
+
), l = !!(d != null && d.agitated), { holderExperience: u, setHolderExperience: p } = at(
|
|
6192
6192
|
t,
|
|
6193
6193
|
a
|
|
6194
|
-
), { calibrateVolume:
|
|
6194
|
+
), { calibrateVolume: m, canCalibrate: v, action: y, handleAction: h } = Xa(a), _ = V((x) => {
|
|
6195
6195
|
s(x.id);
|
|
6196
6196
|
}, []), L = t.hasFuelGuage, R = t.fillPercent, { future: P } = _e(o), E = V(
|
|
6197
6197
|
(x) => x.data.pumpPath === (a == null ? void 0 : a.path),
|
|
6198
6198
|
[a == null ? void 0 : a.path]
|
|
6199
6199
|
);
|
|
6200
6200
|
return /* @__PURE__ */ f(N, { children: [
|
|
6201
|
-
/* @__PURE__ */ f(
|
|
6201
|
+
/* @__PURE__ */ f(Vc, { children: [
|
|
6202
6202
|
/* @__PURE__ */ f(se, { contain: !0, children: [
|
|
6203
|
-
c && L && /* @__PURE__ */ f(
|
|
6203
|
+
c && L && /* @__PURE__ */ f(Fc, { children: [
|
|
6204
6204
|
/* @__PURE__ */ i(
|
|
6205
6205
|
Br,
|
|
6206
6206
|
{
|
|
@@ -6244,14 +6244,14 @@ const Dc = S.div`
|
|
|
6244
6244
|
/* @__PURE__ */ i(
|
|
6245
6245
|
w,
|
|
6246
6246
|
{
|
|
6247
|
-
onPointerDown: () =>
|
|
6247
|
+
onPointerDown: () => p("replace-pump"),
|
|
6248
6248
|
children: n("replace-pump")
|
|
6249
6249
|
}
|
|
6250
6250
|
),
|
|
6251
6251
|
/* @__PURE__ */ i(
|
|
6252
6252
|
w,
|
|
6253
6253
|
{
|
|
6254
|
-
onPointerDown: () =>
|
|
6254
|
+
onPointerDown: () => p("calibrateSPM"),
|
|
6255
6255
|
children: n("calibrate")
|
|
6256
6256
|
}
|
|
6257
6257
|
),
|
|
@@ -6262,7 +6262,7 @@ const Dc = S.div`
|
|
|
6262
6262
|
onPointerDown: () => h("calibrate"),
|
|
6263
6263
|
children: n("intentPour", {
|
|
6264
6264
|
data: {
|
|
6265
|
-
volume:
|
|
6265
|
+
volume: m
|
|
6266
6266
|
}
|
|
6267
6267
|
})
|
|
6268
6268
|
}
|
|
@@ -6271,14 +6271,14 @@ const Dc = S.div`
|
|
|
6271
6271
|
!c && /* @__PURE__ */ i(
|
|
6272
6272
|
w,
|
|
6273
6273
|
{
|
|
6274
|
-
onPointerDown: () =>
|
|
6274
|
+
onPointerDown: () => p("rfid-override"),
|
|
6275
6275
|
children: n("rfid-override")
|
|
6276
6276
|
}
|
|
6277
6277
|
),
|
|
6278
6278
|
/* @__PURE__ */ i(
|
|
6279
6279
|
w,
|
|
6280
6280
|
{
|
|
6281
|
-
onPointerDown: () =>
|
|
6281
|
+
onPointerDown: () => p("replace-line"),
|
|
6282
6282
|
children: n("replace-line")
|
|
6283
6283
|
}
|
|
6284
6284
|
),
|
|
@@ -6327,25 +6327,25 @@ const Dc = S.div`
|
|
|
6327
6327
|
n && /* @__PURE__ */ i(q, { ...n })
|
|
6328
6328
|
] });
|
|
6329
6329
|
}
|
|
6330
|
-
),
|
|
6330
|
+
), Bc = S.section`
|
|
6331
6331
|
align-items: center;
|
|
6332
6332
|
display: flex;
|
|
6333
6333
|
flex-direction: column;
|
|
6334
6334
|
gap: 32px;
|
|
6335
6335
|
height: 100%;
|
|
6336
6336
|
justify-content: space-between;
|
|
6337
|
-
`,
|
|
6337
|
+
`, zc = S.div`
|
|
6338
6338
|
display: flex;
|
|
6339
6339
|
gap: 32px;
|
|
6340
6340
|
flex-direction: column;
|
|
6341
6341
|
align-items: center;
|
|
6342
6342
|
padding: 32px;
|
|
6343
|
-
`,
|
|
6343
|
+
`, jc = S.div`
|
|
6344
6344
|
display: flex;
|
|
6345
6345
|
flex-direction: column;
|
|
6346
6346
|
gap: 12px;
|
|
6347
6347
|
text-align: center;
|
|
6348
|
-
`,
|
|
6348
|
+
`, pu = ({ onComplete: t }) => {
|
|
6349
6349
|
const { t: e } = I("reboot"), [n, r] = T(!1), { model: s } = An(), { componentModeOverride: o } = J();
|
|
6350
6350
|
return /* @__PURE__ */ f(
|
|
6351
6351
|
Ze,
|
|
@@ -6364,10 +6364,10 @@ const Dc = S.div`
|
|
|
6364
6364
|
CloseButton: Do
|
|
6365
6365
|
}
|
|
6366
6366
|
),
|
|
6367
|
-
/* @__PURE__ */ f(
|
|
6368
|
-
/* @__PURE__ */ f(
|
|
6367
|
+
/* @__PURE__ */ f(Bc, { children: [
|
|
6368
|
+
/* @__PURE__ */ f(zc, { children: [
|
|
6369
6369
|
/* @__PURE__ */ i(No, {}),
|
|
6370
|
-
/* @__PURE__ */ i(
|
|
6370
|
+
/* @__PURE__ */ i(jc, { children: /* @__PURE__ */ i(zr, { children: e("modal-heading", "Are you sure you want to reboot dispenser?") }) })
|
|
6371
6371
|
] }),
|
|
6372
6372
|
/* @__PURE__ */ i(
|
|
6373
6373
|
Ao,
|
|
@@ -6384,9 +6384,9 @@ const Dc = S.div`
|
|
|
6384
6384
|
);
|
|
6385
6385
|
}, qe = S(z)`
|
|
6386
6386
|
text-align: center;
|
|
6387
|
-
`,
|
|
6387
|
+
`, mu = D(
|
|
6388
6388
|
({ remoteTray: t, onComplete: e }) => {
|
|
6389
|
-
const { t: n } = I("common", { keyPrefix: "remote-nns" }), [r, s] = T("idle"), [o, c] = T({}), [a, d] = T({}), u = t.holder.pumps.data.filter((R) => R.childPump),
|
|
6389
|
+
const { t: n } = I("common", { keyPrefix: "remote-nns" }), [r, s] = T("idle"), [o, c] = T({}), [a, d] = T({}), u = t.holder.pumps.data.filter((R) => R.childPump), p = t.remoteTrayEnabled.value === !0, m = () => u.every((R) => {
|
|
6390
6390
|
const P = o[R.name];
|
|
6391
6391
|
return P != null && P !== "";
|
|
6392
6392
|
}), v = V((R, P) => {
|
|
@@ -6397,8 +6397,8 @@ const Dc = S.div`
|
|
|
6397
6397
|
},
|
|
6398
6398
|
[v]
|
|
6399
6399
|
), h = V(async () => {
|
|
6400
|
-
t.remoteTrayEnabled.updateProperty(!
|
|
6401
|
-
}, [
|
|
6400
|
+
t.remoteTrayEnabled.updateProperty(!p), s(p ? "disableSuccess" : "success");
|
|
6401
|
+
}, [p, t.remoteTrayEnabled]), _ = V(async () => {
|
|
6402
6402
|
s("progress"), d({});
|
|
6403
6403
|
let R = !1;
|
|
6404
6404
|
await Promise.all(
|
|
@@ -6417,22 +6417,22 @@ const Dc = S.div`
|
|
|
6417
6417
|
})
|
|
6418
6418
|
), R ? s("pump") : h();
|
|
6419
6419
|
}, [
|
|
6420
|
-
|
|
6420
|
+
p,
|
|
6421
6421
|
o,
|
|
6422
6422
|
u,
|
|
6423
6423
|
t.remoteTrayEnabled,
|
|
6424
6424
|
h
|
|
6425
6425
|
]), L = F(() => ({
|
|
6426
6426
|
idle: {
|
|
6427
|
-
title: n(
|
|
6428
|
-
information: /* @__PURE__ */ i(qe, { children: n(
|
|
6427
|
+
title: n(p ? "disable-title" : "idle-title"),
|
|
6428
|
+
information: /* @__PURE__ */ i(qe, { children: n(p ? "disable-info" : "idle-info") }),
|
|
6429
6429
|
footer: /* @__PURE__ */ i(
|
|
6430
6430
|
w,
|
|
6431
6431
|
{
|
|
6432
6432
|
onPointerDown: () => {
|
|
6433
|
-
|
|
6433
|
+
p ? h() : s("pump");
|
|
6434
6434
|
},
|
|
6435
|
-
children: n(
|
|
6435
|
+
children: n(p ? "disable" : "enable")
|
|
6436
6436
|
}
|
|
6437
6437
|
),
|
|
6438
6438
|
status: "information"
|
|
@@ -6454,7 +6454,7 @@ const Dc = S.div`
|
|
|
6454
6454
|
))
|
|
6455
6455
|
] }),
|
|
6456
6456
|
footer: /* @__PURE__ */ f(N, { children: [
|
|
6457
|
-
/* @__PURE__ */ i(w, { disabled: !
|
|
6457
|
+
/* @__PURE__ */ i(w, { disabled: !m(), onPointerDown: _, children: n("enter") }),
|
|
6458
6458
|
/* @__PURE__ */ i(w, { onPointerDown: e, children: n("cancel") })
|
|
6459
6459
|
] })
|
|
6460
6460
|
},
|
|
@@ -6475,7 +6475,7 @@ const Dc = S.div`
|
|
|
6475
6475
|
}
|
|
6476
6476
|
}), [
|
|
6477
6477
|
v,
|
|
6478
|
-
|
|
6478
|
+
p,
|
|
6479
6479
|
e,
|
|
6480
6480
|
o,
|
|
6481
6481
|
a,
|
|
@@ -6485,19 +6485,19 @@ const Dc = S.div`
|
|
|
6485
6485
|
]);
|
|
6486
6486
|
return /* @__PURE__ */ i(Nt, { ...L[r], onClose: () => e() });
|
|
6487
6487
|
}
|
|
6488
|
-
), hu = D(({ cardModel: t }) => (W.debug("RemoteTray", t.name), /* @__PURE__ */ i(
|
|
6488
|
+
), hu = D(({ cardModel: t }) => (W.debug("RemoteTray", t.name), /* @__PURE__ */ i(Mc, { holder: t.holder }))), Zc = S.div`
|
|
6489
6489
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
6490
6490
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
6491
6491
|
position: absolute;
|
|
6492
6492
|
bottom: 6px;
|
|
6493
6493
|
`, fu = D((t) => {
|
|
6494
6494
|
W.debug(`summary component loaded for holder ${t}`), W.info(`render agitator summary for holder ${t.cardModel.name}`);
|
|
6495
|
-
const { t: e } = I("troubles"), n = t.cardModel, { hasTroubles: r, highestTrouble: s } =
|
|
6496
|
-
return r ? /* @__PURE__ */ i(
|
|
6495
|
+
const { t: e } = I("troubles"), n = t.cardModel, { hasTroubles: r, highestTrouble: s } = Ja(n), o = Zt(s), c = Ut(s);
|
|
6496
|
+
return r ? /* @__PURE__ */ i(Zc, { children: e(o.summary, {
|
|
6497
6497
|
context: s != null && s.deferred ? "queued" : void 0,
|
|
6498
6498
|
data: c
|
|
6499
6499
|
}) }) : /* @__PURE__ */ i(Ke, { size: "small", status: "completed" });
|
|
6500
|
-
}),
|
|
6500
|
+
}), Uc = D(
|
|
6501
6501
|
({ holder: t, onComplete: e }) => {
|
|
6502
6502
|
const { t: n } = I("replace-line"), [r, s] = T(), [o, c] = T();
|
|
6503
6503
|
return H(() => {
|
|
@@ -6512,16 +6512,9 @@ const Dc = S.div`
|
|
|
6512
6512
|
e();
|
|
6513
6513
|
}, children: r === "failure" ? /* @__PURE__ */ i(kt, { children: n(o || "unknownError") }) : r === "success" ? /* @__PURE__ */ i(In, { children: n("success") }) : null });
|
|
6514
6514
|
}
|
|
6515
|
-
),
|
|
6516
|
-
display: flex;
|
|
6517
|
-
flex-direction: column;
|
|
6518
|
-
overflow-y: auto;
|
|
6519
|
-
overflow-x: hidden;
|
|
6520
|
-
gap: 32px;
|
|
6521
|
-
height: 100%;
|
|
6522
|
-
`, Kc = D(
|
|
6515
|
+
), Kc = D(
|
|
6523
6516
|
({ pump: t, onComplete: e }) => {
|
|
6524
|
-
const [n, r] = T(!1), { t: s } = I("replace-pump"), { componentModeOverride: o } = J(), [c, a] = T(), [d, l] = T(), [u,
|
|
6517
|
+
const [n, r] = T(!1), { t: s } = I("replace-pump"), { componentModeOverride: o } = J(), [c, a] = T(), [d, l] = T(), [u, p] = T(), m = ce(
|
|
6525
6518
|
t,
|
|
6526
6519
|
qr.type
|
|
6527
6520
|
), v = t.name, y = V(
|
|
@@ -6533,9 +6526,9 @@ const Dc = S.div`
|
|
|
6533
6526
|
), h = V(async () => {
|
|
6534
6527
|
if (c === void 0)
|
|
6535
6528
|
return;
|
|
6536
|
-
const [L] = await
|
|
6537
|
-
L ? (l("failure"),
|
|
6538
|
-
}, [
|
|
6529
|
+
const [L] = await m.replacePump(c);
|
|
6530
|
+
L ? (l("failure"), p(L)) : l("success");
|
|
6531
|
+
}, [m, c]), _ = () => {
|
|
6539
6532
|
if (u) {
|
|
6540
6533
|
l(void 0);
|
|
6541
6534
|
return;
|
|
@@ -6549,7 +6542,7 @@ const Dc = S.div`
|
|
|
6549
6542
|
contain: o !== "compact",
|
|
6550
6543
|
onClosed: e,
|
|
6551
6544
|
show: !n,
|
|
6552
|
-
children: /* @__PURE__ */ f(
|
|
6545
|
+
children: /* @__PURE__ */ f(Oo, { children: [
|
|
6553
6546
|
/* @__PURE__ */ i(
|
|
6554
6547
|
Ue,
|
|
6555
6548
|
{
|
|
@@ -6571,7 +6564,7 @@ const Dc = S.div`
|
|
|
6571
6564
|
layout: "hex",
|
|
6572
6565
|
value: c,
|
|
6573
6566
|
onChange: (L) => {
|
|
6574
|
-
|
|
6567
|
+
p(void 0), a(L);
|
|
6575
6568
|
}
|
|
6576
6569
|
}
|
|
6577
6570
|
) }),
|
|
@@ -6598,7 +6591,7 @@ const Dc = S.div`
|
|
|
6598
6591
|
height: 100%;
|
|
6599
6592
|
`, Xc = D(
|
|
6600
6593
|
({ holder: t, onComplete: e }) => {
|
|
6601
|
-
const n = t.name, [r, s] = T(!1), { t: o } = I("rfid-override"), { componentModeOverride: c } = J(), [a, d] = T(), [l, u] = T(), [
|
|
6594
|
+
const n = t.name, [r, s] = T(!1), { t: o } = I("rfid-override"), { componentModeOverride: c } = J(), [a, d] = T(), [l, u] = T(), [p, m] = T(), [v, y] = T(), [h, _] = T(), L = (E) => {
|
|
6602
6595
|
if (E !== void 0 && E.length !== 12)
|
|
6603
6596
|
return o("errIdLen");
|
|
6604
6597
|
if (!Ar(E))
|
|
@@ -6626,7 +6619,7 @@ const Dc = S.div`
|
|
|
6626
6619
|
break;
|
|
6627
6620
|
case "errVerify":
|
|
6628
6621
|
case "errBadJson":
|
|
6629
|
-
|
|
6622
|
+
m(E.type);
|
|
6630
6623
|
break;
|
|
6631
6624
|
}
|
|
6632
6625
|
}
|
|
@@ -6654,7 +6647,7 @@ const Dc = S.div`
|
|
|
6654
6647
|
),
|
|
6655
6648
|
/* @__PURE__ */ f(Wc, { children: [
|
|
6656
6649
|
/* @__PURE__ */ f(se, { align: "top", children: [
|
|
6657
|
-
/* @__PURE__ */ i(
|
|
6650
|
+
/* @__PURE__ */ i(Ro, { children: o("info") }),
|
|
6658
6651
|
/* @__PURE__ */ i(
|
|
6659
6652
|
ln,
|
|
6660
6653
|
{
|
|
@@ -6691,15 +6684,15 @@ const Dc = S.div`
|
|
|
6691
6684
|
children: o("override")
|
|
6692
6685
|
}
|
|
6693
6686
|
) }),
|
|
6694
|
-
|
|
6687
|
+
p && /* @__PURE__ */ i(
|
|
6695
6688
|
Lr,
|
|
6696
6689
|
{
|
|
6697
|
-
onClose: () =>
|
|
6690
|
+
onClose: () => m(void 0),
|
|
6698
6691
|
renderFailure: /* @__PURE__ */ i(
|
|
6699
|
-
|
|
6692
|
+
$o,
|
|
6700
6693
|
{
|
|
6701
6694
|
heading: o("rfid-override"),
|
|
6702
|
-
message: o(
|
|
6695
|
+
message: o(p, { holder: t.name })
|
|
6703
6696
|
}
|
|
6704
6697
|
),
|
|
6705
6698
|
show: !0,
|
|
@@ -6715,7 +6708,7 @@ const Dc = S.div`
|
|
|
6715
6708
|
}
|
|
6716
6709
|
), gu = D(
|
|
6717
6710
|
({ setupPath: t }) => {
|
|
6718
|
-
const { model: e } = Rn(), [n, r] = T(!1), [s] =
|
|
6711
|
+
const { model: e } = Rn(), [n, r] = T(!1), [s] = di(), o = !!s.get("skipSetup"), c = Lo();
|
|
6719
6712
|
return H(() => {
|
|
6720
6713
|
!n && (e != null && e.setupRequired) && (r(!0), o || c(t));
|
|
6721
6714
|
}, [e == null ? void 0 : e.setupRequired, n, c, t, o]), null;
|
|
@@ -6725,17 +6718,18 @@ const Dc = S.div`
|
|
|
6725
6718
|
display: flex;
|
|
6726
6719
|
gap: 8px;
|
|
6727
6720
|
align-items: center;
|
|
6721
|
+
padding: var(--ddk-component-setup-sidebar-step-item-padding);
|
|
6728
6722
|
`, Yc = S.div`
|
|
6729
|
-
color: var(--ddk-
|
|
6730
|
-
font-size: var(--ddk-component-
|
|
6731
|
-
font-style:
|
|
6732
|
-
font-weight:
|
|
6733
|
-
line-height:
|
|
6734
|
-
letter-spacing:
|
|
6735
|
-
white-space:
|
|
6723
|
+
color: var(--ddk-component-step-title-color);
|
|
6724
|
+
font-size: var(--ddk-component-step-title-font-weight);
|
|
6725
|
+
font-style: var(--ddk-component-step-title-font-weight);
|
|
6726
|
+
font-weight: var(--ddk-component-step-title-font-weight);
|
|
6727
|
+
line-height: var(--ddk-component-step-title-line-height);
|
|
6728
|
+
letter-spacing: var(--ddk-component-step-title-letter-spacing);
|
|
6729
|
+
white-space: var(--ddk-component-step-title-white-space);
|
|
6736
6730
|
overflow: hidden;
|
|
6737
6731
|
`, Gc = D(({ setupStepContainer: t, onStepSelected: e, ...n }) => {
|
|
6738
|
-
const { t: r, labelMap: s } =
|
|
6732
|
+
const { t: r, labelMap: s } = $a({
|
|
6739
6733
|
defaultNamespace: "setup",
|
|
6740
6734
|
extensionPoint: Bt.id
|
|
6741
6735
|
}), o = t == null ? void 0 : t.currentStep, c = (t == null ? void 0 : t.data.map((a) => /* @__PURE__ */ f(
|
|
@@ -6757,8 +6751,8 @@ const Dc = S.div`
|
|
|
6757
6751
|
},
|
|
6758
6752
|
a.id
|
|
6759
6753
|
))) || [];
|
|
6760
|
-
return /* @__PURE__ */ i(
|
|
6761
|
-
}), yu =
|
|
6754
|
+
return /* @__PURE__ */ i(Vo, { ...n, children: c });
|
|
6755
|
+
}), yu = Wa(Gc), vu = D(() => {
|
|
6762
6756
|
const { model: t } = fo();
|
|
6763
6757
|
return (t == null ? void 0 : t.nodes) && t.nodes.map((e, n) => /* @__PURE__ */ f(jr, { name: e.nodeName, children: [
|
|
6764
6758
|
/* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
|
|
@@ -6788,9 +6782,9 @@ const Dc = S.div`
|
|
|
6788
6782
|
bt.toString()
|
|
6789
6783
|
), [l, u] = T(
|
|
6790
6784
|
bt.toString()
|
|
6791
|
-
), { clearFuture:
|
|
6785
|
+
), { clearFuture: p, future: m } = _e(t);
|
|
6792
6786
|
H(() => {
|
|
6793
|
-
switch (
|
|
6787
|
+
switch (m == null ? void 0 : m.endState) {
|
|
6794
6788
|
case "CANCEL":
|
|
6795
6789
|
switch (r) {
|
|
6796
6790
|
case "preparation-in-progress":
|
|
@@ -6818,7 +6812,7 @@ const Dc = S.div`
|
|
|
6818
6812
|
c(""), s("failure");
|
|
6819
6813
|
break;
|
|
6820
6814
|
}
|
|
6821
|
-
}, [
|
|
6815
|
+
}, [m == null ? void 0 : m.endState, m == null ? void 0 : m.reason, r]);
|
|
6822
6816
|
const v = F(() => ({
|
|
6823
6817
|
"preparation-idle": {
|
|
6824
6818
|
information: /* @__PURE__ */ f(N, { children: [
|
|
@@ -6835,7 +6829,7 @@ const Dc = S.div`
|
|
|
6835
6829
|
w,
|
|
6836
6830
|
{
|
|
6837
6831
|
onPointerDown: () => {
|
|
6838
|
-
|
|
6832
|
+
p(), t.performPreCalibrate(), s("preparation-in-progress");
|
|
6839
6833
|
},
|
|
6840
6834
|
children: n("preparation-action")
|
|
6841
6835
|
}
|
|
@@ -6865,7 +6859,7 @@ const Dc = S.div`
|
|
|
6865
6859
|
w,
|
|
6866
6860
|
{
|
|
6867
6861
|
onPointerDown: () => {
|
|
6868
|
-
|
|
6862
|
+
p(), t.performCalibrate(), s("calibration-in-progress");
|
|
6869
6863
|
},
|
|
6870
6864
|
children: n("calibrate")
|
|
6871
6865
|
}
|
|
@@ -6928,7 +6922,7 @@ const Dc = S.div`
|
|
|
6928
6922
|
w,
|
|
6929
6923
|
{
|
|
6930
6924
|
onPointerDown: async () => {
|
|
6931
|
-
a !== void 0 && (
|
|
6925
|
+
a !== void 0 && (p(), t.performVerify(a, m == null ? void 0 : m.clientData), s("verification-in-progress"));
|
|
6932
6926
|
},
|
|
6933
6927
|
children: n("initiate-verification-pour")
|
|
6934
6928
|
}
|
|
@@ -6979,11 +6973,11 @@ const Dc = S.div`
|
|
|
6979
6973
|
onPointerDown: async () => {
|
|
6980
6974
|
if (a === void 0 || l === void 0)
|
|
6981
6975
|
return;
|
|
6982
|
-
|
|
6976
|
+
p();
|
|
6983
6977
|
const [h, _] = await t.performComplete(
|
|
6984
6978
|
a,
|
|
6985
6979
|
l,
|
|
6986
|
-
|
|
6980
|
+
m == null ? void 0 : m.clientData
|
|
6987
6981
|
);
|
|
6988
6982
|
h ? (c(h), s("failure")) : s("verification-success");
|
|
6989
6983
|
},
|
|
@@ -7014,9 +7008,9 @@ const Dc = S.div`
|
|
|
7014
7008
|
status: "error"
|
|
7015
7009
|
}
|
|
7016
7010
|
}), [
|
|
7017
|
-
|
|
7011
|
+
p,
|
|
7018
7012
|
o,
|
|
7019
|
-
|
|
7013
|
+
m == null ? void 0 : m.clientData,
|
|
7020
7014
|
e,
|
|
7021
7015
|
t,
|
|
7022
7016
|
n,
|
|
@@ -7046,11 +7040,11 @@ const Dc = S.div`
|
|
|
7046
7040
|
onClose: () => e()
|
|
7047
7041
|
}
|
|
7048
7042
|
),
|
|
7049
|
-
|
|
7043
|
+
m && /* @__PURE__ */ i(
|
|
7050
7044
|
q,
|
|
7051
7045
|
{
|
|
7052
7046
|
title: n(y),
|
|
7053
|
-
future:
|
|
7047
|
+
future: m
|
|
7054
7048
|
}
|
|
7055
7049
|
)
|
|
7056
7050
|
] });
|
|
@@ -7078,14 +7072,14 @@ const ed = S.div``, bu = D(
|
|
|
7078
7072
|
}, v;
|
|
7079
7073
|
},
|
|
7080
7074
|
{}
|
|
7081
|
-
), d = e == null ? void 0 : e.activeTroubleType, l = e == null ? void 0 : e.activeTrouble, u = d ? c(d) : void 0,
|
|
7075
|
+
), d = e == null ? void 0 : e.activeTroubleType, l = e == null ? void 0 : e.activeTrouble, u = d ? c(d) : void 0, p = u ? a[u] : void 0, m = p ? /* @__PURE__ */ i(
|
|
7082
7076
|
Gr,
|
|
7083
7077
|
{
|
|
7084
|
-
...
|
|
7078
|
+
...p,
|
|
7085
7079
|
props: { trouble: l }
|
|
7086
7080
|
}
|
|
7087
7081
|
) : null;
|
|
7088
|
-
r(
|
|
7082
|
+
r(m);
|
|
7089
7083
|
}), [t, e]), /* @__PURE__ */ i(ed, { children: n });
|
|
7090
7084
|
}
|
|
7091
7085
|
), td = [0, 6], nd = () => {
|
|
@@ -7118,17 +7112,17 @@ const ed = S.div``, bu = D(
|
|
|
7118
7112
|
), a = V(() => {
|
|
7119
7113
|
o.dateActions.setYear(n.getFullYear()), o.dateActions.setMonth(n.getMonth()), o.dateActions.setDay(n.getDate());
|
|
7120
7114
|
}, [n, o.dateActions]), d = V(
|
|
7121
|
-
async ({ day: l, month: u, year:
|
|
7122
|
-
o.dateActions.setYear(
|
|
7115
|
+
async ({ day: l, month: u, year: p }) => {
|
|
7116
|
+
o.dateActions.setYear(p), o.dateActions.setMonth(u), o.dateActions.setDay(l), await (e == null ? void 0 : e.updateSystemDate({
|
|
7123
7117
|
day: l,
|
|
7124
7118
|
month: u,
|
|
7125
|
-
year:
|
|
7119
|
+
year: p
|
|
7126
7120
|
})), r(/* @__PURE__ */ new Date());
|
|
7127
7121
|
},
|
|
7128
7122
|
[o.dateActions, e]
|
|
7129
7123
|
);
|
|
7130
7124
|
return /* @__PURE__ */ i(
|
|
7131
|
-
|
|
7125
|
+
Yi,
|
|
7132
7126
|
{
|
|
7133
7127
|
onDiscard: a,
|
|
7134
7128
|
onChange: c,
|
|
@@ -7151,7 +7145,7 @@ const ed = S.div``, bu = D(
|
|
|
7151
7145
|
}
|
|
7152
7146
|
];
|
|
7153
7147
|
return /* @__PURE__ */ i(
|
|
7154
|
-
|
|
7148
|
+
Fo,
|
|
7155
7149
|
{
|
|
7156
7150
|
...t,
|
|
7157
7151
|
label: r("time-zone"),
|
|
@@ -7175,7 +7169,7 @@ const ed = S.div``, bu = D(
|
|
|
7175
7169
|
minuteOptions: a,
|
|
7176
7170
|
setTime: d,
|
|
7177
7171
|
time: l
|
|
7178
|
-
} = Rr(), u = l.getHours(),
|
|
7172
|
+
} = Rr(), u = l.getHours(), p = F(
|
|
7179
7173
|
() => [
|
|
7180
7174
|
{
|
|
7181
7175
|
id: "hr",
|
|
@@ -7196,7 +7190,7 @@ const ed = S.div``, bu = D(
|
|
|
7196
7190
|
}
|
|
7197
7191
|
],
|
|
7198
7192
|
[s, c, a, l, u]
|
|
7199
|
-
),
|
|
7193
|
+
), m = F(
|
|
7200
7194
|
() => [
|
|
7201
7195
|
{
|
|
7202
7196
|
id: "hr",
|
|
@@ -7249,7 +7243,7 @@ const ed = S.div``, bu = D(
|
|
|
7249
7243
|
/* @__PURE__ */ i(
|
|
7250
7244
|
kn,
|
|
7251
7245
|
{
|
|
7252
|
-
data: n != null && n.is12HourTimeFormat ?
|
|
7246
|
+
data: n != null && n.is12HourTimeFormat ? p : m,
|
|
7253
7247
|
icon: Kr,
|
|
7254
7248
|
displayValue: o,
|
|
7255
7249
|
label: e("current-time", "Current Time"),
|
|
@@ -7307,7 +7301,7 @@ export {
|
|
|
7307
7301
|
ku as ActionRow,
|
|
7308
7302
|
wd as AgitationControlView,
|
|
7309
7303
|
kd as AgitatorDetail,
|
|
7310
|
-
|
|
7304
|
+
ki as AgitatorModal,
|
|
7311
7305
|
Cd as AgitatorSummary,
|
|
7312
7306
|
Ds as AnimationContext,
|
|
7313
7307
|
Cl as AnimationProvider,
|
|
@@ -7315,32 +7309,32 @@ export {
|
|
|
7315
7309
|
Ns as ApplicationContext,
|
|
7316
7310
|
Il as ApplicationProvider,
|
|
7317
7311
|
au as CGPPumpCard,
|
|
7318
|
-
|
|
7319
|
-
|
|
7312
|
+
li as CalibrateAction,
|
|
7313
|
+
Pi as CalibrateModal,
|
|
7320
7314
|
xd as CarbTankDetail,
|
|
7321
7315
|
_d as CarbTankSummary,
|
|
7322
|
-
|
|
7316
|
+
$i as ConfigPropInfoCard,
|
|
7323
7317
|
En as ConfigPropInputCard,
|
|
7324
7318
|
Ge as ConfigPropInputRangeCard,
|
|
7325
|
-
|
|
7319
|
+
Ki as ConfigPropMultiInputEnableCard,
|
|
7326
7320
|
Pn as ConfigPropPickerCard,
|
|
7327
7321
|
Td as ConfigPropSingleInputEnableCard,
|
|
7328
|
-
|
|
7329
|
-
|
|
7322
|
+
Hi as ConfigPropSwitchCard,
|
|
7323
|
+
Xi as ConfigPropTimePickerCard,
|
|
7330
7324
|
Ct as ConfigPropToggleCard,
|
|
7331
7325
|
Nn as CuiExtension,
|
|
7332
|
-
|
|
7326
|
+
ms as DashboardDetailExtension,
|
|
7333
7327
|
Dt as DashboardMacroSummaryExtension,
|
|
7334
7328
|
As as DashboardOperationsContext,
|
|
7335
7329
|
El as DashboardOperationsProvider,
|
|
7336
7330
|
ze as DashboardPumpDetailExtension,
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7331
|
+
ps as DashboardSummaryExtension,
|
|
7332
|
+
Yi as DatePickerCard,
|
|
7333
|
+
Gi as DiagnosticsModal,
|
|
7340
7334
|
Os as DispenserInfoContext,
|
|
7341
7335
|
Dl as DispenserInfoProvider,
|
|
7342
7336
|
xl as DispenserInfoSettings,
|
|
7343
|
-
|
|
7337
|
+
Qa as DispenserSerialNumber,
|
|
7344
7338
|
_l as DispenserSettings,
|
|
7345
7339
|
Te as EXTENSION_PLUGIN_VISIBILITY,
|
|
7346
7340
|
Wd as EXTENSION_POINT_CUI,
|
|
@@ -7372,61 +7366,61 @@ export {
|
|
|
7372
7366
|
al as EXTENSION_POINT_VIEW_VIEW,
|
|
7373
7367
|
Ps as EnjoyByDate,
|
|
7374
7368
|
kt as FailureMessage,
|
|
7375
|
-
|
|
7376
|
-
|
|
7369
|
+
ui as Fixed45FlowTestAction,
|
|
7370
|
+
pi as FlushAction,
|
|
7377
7371
|
q as FutureProgressBar,
|
|
7378
|
-
|
|
7372
|
+
xi as GenericTroubleAction,
|
|
7379
7373
|
kl as HardwareInfo,
|
|
7380
7374
|
mi as HighFlowTestAction,
|
|
7381
|
-
|
|
7375
|
+
hi as HoldToPourAction,
|
|
7382
7376
|
We as HoldToPourButton,
|
|
7383
7377
|
Kt as HolderActions,
|
|
7384
|
-
|
|
7378
|
+
dc as HolderCard,
|
|
7385
7379
|
gs as HolderContentContext,
|
|
7386
7380
|
cl as HolderContentProvider,
|
|
7387
7381
|
Ks as HolderGroup,
|
|
7388
7382
|
Jl as HolderGroupView,
|
|
7389
7383
|
Ee as HolderNotifications,
|
|
7390
7384
|
eu as IceAgitatorDetail,
|
|
7391
|
-
|
|
7385
|
+
Dc as IceAgitatorSettings,
|
|
7392
7386
|
nu as IceAgitatorSettingsContainer,
|
|
7393
7387
|
ru as IceAgitatorSettingsView,
|
|
7394
7388
|
tu as IceAgitatorSummary,
|
|
7395
7389
|
Rs as IngredientSummaryContext,
|
|
7396
7390
|
Al as IngredientSummaryProvider,
|
|
7397
7391
|
ae as IntentAction,
|
|
7398
|
-
|
|
7392
|
+
Za as KosPluginExtensionManager,
|
|
7399
7393
|
cu as LFCVPumpCard,
|
|
7400
7394
|
su as LocalizationSettings,
|
|
7401
|
-
|
|
7395
|
+
fi as LowFlowTestAction,
|
|
7402
7396
|
du as MSVPumpCard,
|
|
7403
|
-
|
|
7397
|
+
yi as MSVResetAction,
|
|
7404
7398
|
$s as MacroAssignmentContext,
|
|
7405
7399
|
Rl as MacroAssignmentProvider,
|
|
7406
|
-
|
|
7400
|
+
wc as MacroHolderCard,
|
|
7407
7401
|
Ql as MacroHolderGroupView,
|
|
7408
7402
|
$n as MacroSetupStepCard,
|
|
7409
|
-
|
|
7403
|
+
gi as ManualOverrideAction,
|
|
7410
7404
|
hs as NavViewExtension,
|
|
7411
7405
|
Vs as NetworkTestContainerContext,
|
|
7412
7406
|
Fl as NetworkTestContainerProvider,
|
|
7413
7407
|
Ls as NetworkTestContext,
|
|
7414
7408
|
Ll as NetworkTestProvider,
|
|
7415
7409
|
ou as NetworkTestResults,
|
|
7416
|
-
|
|
7417
|
-
|
|
7410
|
+
$c as NotificationCardView,
|
|
7411
|
+
ja as PluginExtensionManager,
|
|
7418
7412
|
iu as PluginTabs,
|
|
7419
|
-
|
|
7413
|
+
vi as PrimeAction,
|
|
7420
7414
|
ns as ProbeView,
|
|
7421
|
-
|
|
7415
|
+
bi as PurgeAction,
|
|
7422
7416
|
Xc as RFIDOverride,
|
|
7423
7417
|
Fs as RebootContext,
|
|
7424
7418
|
Bl as RebootProvider,
|
|
7425
|
-
|
|
7426
|
-
|
|
7419
|
+
pu as RebootView,
|
|
7420
|
+
mu as RemoteNNSModal,
|
|
7427
7421
|
hu as RemoteTrayDetail,
|
|
7428
7422
|
fu as RemoteTraySummary,
|
|
7429
|
-
|
|
7423
|
+
Uc as ReplaceLine,
|
|
7430
7424
|
Kc as ReplacePump,
|
|
7431
7425
|
Jc as SPMFieldCalibrationModal,
|
|
7432
7426
|
Ms as SettingsContext,
|
|
@@ -7440,19 +7434,19 @@ export {
|
|
|
7440
7434
|
Bs as SetupStepContext,
|
|
7441
7435
|
Ul as SetupStepProvider,
|
|
7442
7436
|
vu as Software,
|
|
7443
|
-
|
|
7437
|
+
Ri as StagedChangesProvider,
|
|
7444
7438
|
bu as StateExperience,
|
|
7445
7439
|
qc as StepItem,
|
|
7446
7440
|
Yc as StepTitle,
|
|
7447
7441
|
In as SuccessMessage,
|
|
7448
|
-
|
|
7442
|
+
Mc as SuperPumpCard,
|
|
7449
7443
|
nd as SystemDatePickerCard,
|
|
7450
7444
|
vd as TROUBLE_PRIME,
|
|
7451
7445
|
bd as TROUBLE_PURGE,
|
|
7452
|
-
|
|
7446
|
+
Wi as TimePickerCard,
|
|
7453
7447
|
wu as TimeSettings,
|
|
7454
7448
|
rd as TimeZonePickerCard,
|
|
7455
|
-
|
|
7449
|
+
wi as TroubleAction,
|
|
7456
7450
|
tt as TroubleActionExtension,
|
|
7457
7451
|
Zs as UtilitiesContainerContext,
|
|
7458
7452
|
Yl as UtilitiesContainerProvider,
|
|
@@ -7462,23 +7456,23 @@ export {
|
|
|
7462
7456
|
fs as ViewExtension,
|
|
7463
7457
|
uu as WaterPumpCard,
|
|
7464
7458
|
xu as WaterSettings,
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7459
|
+
ml as initDDKRegistration,
|
|
7460
|
+
za as pumpTypeFactory,
|
|
7461
|
+
Ha as troubleLabelByType,
|
|
7468
7462
|
Zt as troubleLabelFactory,
|
|
7469
7463
|
Jr as useAgitationControl,
|
|
7470
7464
|
is as useAnimation,
|
|
7471
7465
|
Sl as useAnimationContext,
|
|
7472
7466
|
At as useApplication,
|
|
7473
7467
|
Rn as useApplicationContext,
|
|
7474
|
-
|
|
7468
|
+
ra as useCarbWater,
|
|
7475
7469
|
Id as useCombinedActions,
|
|
7476
|
-
|
|
7470
|
+
sa as useCopyLogs,
|
|
7477
7471
|
as as useDashboardOperations,
|
|
7478
7472
|
Pl as useDashboardOperationsContext,
|
|
7479
7473
|
cs as useDispenserInfo,
|
|
7480
7474
|
Nl as useDispenserInfoContext,
|
|
7481
|
-
|
|
7475
|
+
ia as useDoor,
|
|
7482
7476
|
_e as useFutureContainer,
|
|
7483
7477
|
ys as useHolderContent,
|
|
7484
7478
|
at as useHolderExperience,
|
|
@@ -7490,11 +7484,11 @@ export {
|
|
|
7490
7484
|
xs as useNetworkTestContainer,
|
|
7491
7485
|
Ml as useNetworkTestContainerContext,
|
|
7492
7486
|
Vl as useNetworkTestContext,
|
|
7493
|
-
|
|
7494
|
-
|
|
7487
|
+
Ma as useNutritiveSweetener,
|
|
7488
|
+
Ba as usePlainWater,
|
|
7495
7489
|
ct as usePluginExtensions,
|
|
7496
7490
|
He as usePumpAction,
|
|
7497
|
-
|
|
7491
|
+
Xa as usePumpCalibration,
|
|
7498
7492
|
An as useReboot,
|
|
7499
7493
|
zl as useRebootContext,
|
|
7500
7494
|
On as useSettings,
|
|
@@ -7504,36 +7498,36 @@ export {
|
|
|
7504
7498
|
Wl as useSetupStepContainerContext,
|
|
7505
7499
|
Kl as useSetupStepContext,
|
|
7506
7500
|
ss as useStagedChanges,
|
|
7507
|
-
|
|
7501
|
+
qa as useStart,
|
|
7508
7502
|
Ed as useTroubleAction,
|
|
7509
7503
|
Ss as useTroubleActionState,
|
|
7510
7504
|
Ut as useTroubleData,
|
|
7511
|
-
|
|
7505
|
+
Ja as useTroubleDecoration,
|
|
7512
7506
|
vl as useTroubleVisibility,
|
|
7513
7507
|
Ts as useUtilities,
|
|
7514
7508
|
Is as useUtilitiesContainer,
|
|
7515
7509
|
Gl as useUtilitiesContainerContext,
|
|
7516
7510
|
ql as useUtilitiesContext,
|
|
7517
|
-
|
|
7511
|
+
$a as useViewExtensions,
|
|
7518
7512
|
dt as useVisibleTroubles,
|
|
7519
7513
|
Pd as withAgitationControl,
|
|
7520
|
-
|
|
7514
|
+
na as withAnimation,
|
|
7521
7515
|
Dd as withApplication,
|
|
7522
7516
|
Nd as withCarbWater,
|
|
7523
7517
|
Ad as withCopyLogs,
|
|
7524
7518
|
Od as withDashboardOperations,
|
|
7525
|
-
|
|
7519
|
+
oa as withDispenserInfo,
|
|
7526
7520
|
Rd as withDoor,
|
|
7527
7521
|
dl as withIngredientSummary,
|
|
7528
|
-
|
|
7522
|
+
Va as withMacroAssignment,
|
|
7529
7523
|
ll as withNetworkTest,
|
|
7530
|
-
|
|
7524
|
+
Fa as withNetworkTestContainer,
|
|
7531
7525
|
ul as withNutritiveSweetener,
|
|
7532
|
-
|
|
7526
|
+
pl as withPlainWater,
|
|
7533
7527
|
hl as withReboot,
|
|
7534
7528
|
_s as withSettings,
|
|
7535
7529
|
fl as withSetupStep,
|
|
7536
|
-
|
|
7530
|
+
Wa as withSetupStepContainer,
|
|
7537
7531
|
Sd as withStagedChanges,
|
|
7538
7532
|
gl as withStart,
|
|
7539
7533
|
yl as withTroubleAction,
|