@kosdev-code/kos-ddk-model-components 0.1.0-dev.5878 → 0.1.0-dev.5879
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,11 @@ 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__ */
|
|
609
|
+
/* @__PURE__ */ f(Se, { children: [
|
|
610
|
+
"Error Code: ",
|
|
611
|
+
o,
|
|
612
|
+
n(`error.${o || "unknownError"}`)
|
|
613
|
+
] })
|
|
610
614
|
] }),
|
|
611
615
|
footer: /* @__PURE__ */ i(w, { onPointerDown: e, children: n("exit-calibration") }),
|
|
612
616
|
status: "error"
|
|
@@ -617,11 +621,11 @@ const Ii = S.div``, wd = D(() => {
|
|
|
617
621
|
Nt,
|
|
618
622
|
{
|
|
619
623
|
title: n(t.name),
|
|
620
|
-
...
|
|
624
|
+
...m[r],
|
|
621
625
|
onClose: () => e()
|
|
622
626
|
}
|
|
623
627
|
),
|
|
624
|
-
|
|
628
|
+
p && /* @__PURE__ */ i(q, { title: n("initiating"), future: p })
|
|
625
629
|
] });
|
|
626
630
|
}
|
|
627
631
|
), ns = D(
|
|
@@ -629,7 +633,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
629
633
|
if (!t)
|
|
630
634
|
return null;
|
|
631
635
|
const e = t.highProbeWet.value, n = t.lowProbeWet.value, r = t.filling.value;
|
|
632
|
-
return /* @__PURE__ */ f(
|
|
636
|
+
return /* @__PURE__ */ f(Di, { children: [
|
|
633
637
|
/* @__PURE__ */ f(rn, { children: [
|
|
634
638
|
/* @__PURE__ */ i(sn, { children: "High Probe" }),
|
|
635
639
|
/* @__PURE__ */ i(on, { children: e ? "Wet" : "Dry" })
|
|
@@ -644,7 +648,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
644
648
|
] })
|
|
645
649
|
] });
|
|
646
650
|
}
|
|
647
|
-
),
|
|
651
|
+
), Di = S.div`
|
|
648
652
|
display: grid;
|
|
649
653
|
grid-template-columns: repeat(3, 1fr);
|
|
650
654
|
gap: 16px;
|
|
@@ -699,7 +703,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
699
703
|
}
|
|
700
704
|
)
|
|
701
705
|
] });
|
|
702
|
-
}),
|
|
706
|
+
}), Ni = S.div`
|
|
703
707
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
704
708
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
705
709
|
`, _d = D((t) => {
|
|
@@ -713,7 +717,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
713
717
|
status: t.cardModel.isCarbInitialized ? "completed" : "incomplete"
|
|
714
718
|
}
|
|
715
719
|
),
|
|
716
|
-
t.cardModel.isFilling && /* @__PURE__ */ i(
|
|
720
|
+
t.cardModel.isFilling && /* @__PURE__ */ i(Ni, { children: e("agitating") })
|
|
717
721
|
] });
|
|
718
722
|
}), kd = D(({ cardModel: t }) => {
|
|
719
723
|
W.debug("Agitator", t.path);
|
|
@@ -740,7 +744,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
740
744
|
}
|
|
741
745
|
)
|
|
742
746
|
] });
|
|
743
|
-
}),
|
|
747
|
+
}), Ai = S.div`
|
|
744
748
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
745
749
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
746
750
|
`, Cd = D((t) => {
|
|
@@ -748,14 +752,14 @@ const Ii = S.div``, wd = D(() => {
|
|
|
748
752
|
const { t: e } = I("common");
|
|
749
753
|
return /* @__PURE__ */ f(N, { children: [
|
|
750
754
|
/* @__PURE__ */ i(Ke, { size: "small", status: "completed" }),
|
|
751
|
-
t.cardModel.isAgitating && /* @__PURE__ */ i(
|
|
755
|
+
t.cardModel.isAgitating && /* @__PURE__ */ i(Ai, { children: e("agitating") })
|
|
752
756
|
] });
|
|
753
|
-
}),
|
|
757
|
+
}), Oi = {
|
|
754
758
|
getStagedChange: void 0,
|
|
755
759
|
updateStagedChange: void 0,
|
|
756
760
|
saveChanges: void 0,
|
|
757
761
|
clearStagedChanges: void 0
|
|
758
|
-
}, rs = Y(
|
|
762
|
+
}, rs = Y(Oi), Ri = ({
|
|
759
763
|
children: t
|
|
760
764
|
}) => {
|
|
761
765
|
const [e, n] = T({}), r = (a) => e[a], s = (a, d) => {
|
|
@@ -779,19 +783,19 @@ const Ii = S.div``, wd = D(() => {
|
|
|
779
783
|
children: t
|
|
780
784
|
}
|
|
781
785
|
);
|
|
782
|
-
}, ss = () => G(rs), Sd = (t) => (e) => /* @__PURE__ */ i(
|
|
786
|
+
}, ss = () => G(rs), Sd = (t) => (e) => /* @__PURE__ */ i(Ri, { children: /* @__PURE__ */ i(t, { ...e }) }), $i = ({ label: t, configProperty: e }) => {
|
|
783
787
|
const { value: n } = le({ configProperty: e });
|
|
784
788
|
return /* @__PURE__ */ i(Le, { label: t, value: n });
|
|
785
789
|
}, En = ({ configProperty: t, hideUnits: e, isValid: n, ...r }) => {
|
|
786
|
-
var u,
|
|
790
|
+
var u, p;
|
|
787
791
|
const { t: s } = I("common", { keyPrefix: "validation" }), { significantValue: o } = le({
|
|
788
792
|
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(
|
|
793
|
+
}), c = (m) => {
|
|
794
|
+
m || (m = ""), t.updateProperty(m);
|
|
795
|
+
}, a = (u = t.displayOptions) == null ? void 0 : u.max, d = (p = t.displayOptions) == null ? void 0 : p.min, l = V(
|
|
796
|
+
(m) => {
|
|
797
|
+
const v = n == null ? void 0 : n(m);
|
|
798
|
+
return v || (Number(m) < d ? s("minValue", { data: { minValue: d } }) : Number(m) > a ? s("maxValue", { data: { maxValue: a } }) : void 0);
|
|
795
799
|
},
|
|
796
800
|
[n, a, d, s]
|
|
797
801
|
);
|
|
@@ -838,7 +842,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
838
842
|
checked: e !== void 0 ? e : c === "true"
|
|
839
843
|
}
|
|
840
844
|
);
|
|
841
|
-
},
|
|
845
|
+
}, Li = (t) => (t == null ? void 0 : t.map((e) => ({ id: e.value, label: e.label }))) || [], Pn = ({
|
|
842
846
|
collapse: t,
|
|
843
847
|
cancelButtonLabel: e,
|
|
844
848
|
configProperty: n,
|
|
@@ -850,13 +854,13 @@ const Ii = S.div``, wd = D(() => {
|
|
|
850
854
|
onChange: d,
|
|
851
855
|
onSave: l,
|
|
852
856
|
proceedButtonLabel: u,
|
|
853
|
-
selectedItemId:
|
|
854
|
-
unitValue:
|
|
857
|
+
selectedItemId: p,
|
|
858
|
+
unitValue: m,
|
|
855
859
|
...v
|
|
856
860
|
}) => {
|
|
857
861
|
const { t: y } = I(["config-properties", "common"]), h = le({
|
|
858
862
|
configProperty: n,
|
|
859
|
-
optionsTransformer:
|
|
863
|
+
optionsTransformer: Li
|
|
860
864
|
});
|
|
861
865
|
return /* @__PURE__ */ i(
|
|
862
866
|
cn,
|
|
@@ -873,11 +877,11 @@ const Ii = S.div``, wd = D(() => {
|
|
|
873
877
|
label: a ?? y(n.id),
|
|
874
878
|
onSave: (_) => l ? l(_) : n.updateProperty(_),
|
|
875
879
|
proceedButtonLabel: u ?? (y("save", { defaultValue: "Save", ns: "common" }) || void 0),
|
|
876
|
-
selectedItemId:
|
|
877
|
-
unitValue:
|
|
880
|
+
selectedItemId: p ?? h.value,
|
|
881
|
+
unitValue: m ?? h.unit
|
|
878
882
|
}
|
|
879
883
|
);
|
|
880
|
-
},
|
|
884
|
+
}, Vi = S(En)`
|
|
881
885
|
border-top: var(--ddk-component-input-enable-card-input-container-border);
|
|
882
886
|
border-radius: 0;
|
|
883
887
|
cursor: pointer;
|
|
@@ -913,7 +917,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
913
917
|
--ddk-component-input-enable-card-input-font-weight
|
|
914
918
|
);
|
|
915
919
|
}
|
|
916
|
-
`,
|
|
920
|
+
`, Fi = S(Pn)`
|
|
917
921
|
border-top: var(--ddk-component-input-enable-card-input-container-border);
|
|
918
922
|
border-radius: 0;
|
|
919
923
|
cursor: pointer;
|
|
@@ -950,9 +954,9 @@ const Ii = S.div``, wd = D(() => {
|
|
|
950
954
|
--ddk-component-input-enable-card-input-font-weight
|
|
951
955
|
);
|
|
952
956
|
}
|
|
953
|
-
`,
|
|
957
|
+
`, Mi = (t, e, n, r, s) => {
|
|
954
958
|
let o;
|
|
955
|
-
const c = s === "compact" ?
|
|
959
|
+
const c = s === "compact" ? Vi : En, a = s === "compact" ? Fi : Pn, d = r.label ?? n(t.id);
|
|
956
960
|
switch (t.schemaType) {
|
|
957
961
|
case "boolean":
|
|
958
962
|
o = /* @__PURE__ */ i(
|
|
@@ -1006,7 +1010,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1006
1010
|
break;
|
|
1007
1011
|
}
|
|
1008
1012
|
return o;
|
|
1009
|
-
},
|
|
1013
|
+
}, Bi = (t) => (t == null ? void 0 : t.map((e) => ({ id: e.value, label: e.label }))) || [], os = ({
|
|
1010
1014
|
configProperty: t,
|
|
1011
1015
|
factory: e,
|
|
1012
1016
|
mappedOptions: n,
|
|
@@ -1015,9 +1019,9 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1015
1019
|
}) => {
|
|
1016
1020
|
const { t: o } = I(["config-properties", "common"]), { componentModeOverride: c } = J(), a = le({
|
|
1017
1021
|
configProperty: t,
|
|
1018
|
-
optionsTransformer:
|
|
1022
|
+
optionsTransformer: Bi
|
|
1019
1023
|
});
|
|
1020
|
-
return e = e ??
|
|
1024
|
+
return e = e ?? Mi, e(
|
|
1021
1025
|
t,
|
|
1022
1026
|
{
|
|
1023
1027
|
...a,
|
|
@@ -1027,14 +1031,14 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1027
1031
|
s,
|
|
1028
1032
|
c
|
|
1029
1033
|
);
|
|
1030
|
-
},
|
|
1034
|
+
}, zi = S(bo)`
|
|
1031
1035
|
align-items: ${(t) => t.mode === "compact" ? "flex-start" : void 0};
|
|
1032
1036
|
flex-direction: var(
|
|
1033
1037
|
--ddk-component-input-enable-card-container-flex-direction
|
|
1034
1038
|
);
|
|
1035
1039
|
padding: var(--ddk-component-input-enable-card-container-padding);
|
|
1036
1040
|
gap: var(--ddk-component-input-enable-card-container-gap);
|
|
1037
|
-
`,
|
|
1041
|
+
`, ji = S.div`
|
|
1038
1042
|
box-sizing: border-box;
|
|
1039
1043
|
display: flex;
|
|
1040
1044
|
flex-direction: var(
|
|
@@ -1042,27 +1046,27 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1042
1046
|
);
|
|
1043
1047
|
gap: var(--ddk-component-input-enable-card-input-container-gap);
|
|
1044
1048
|
width: 100%;
|
|
1045
|
-
`,
|
|
1049
|
+
`, Zi = S(os)`
|
|
1046
1050
|
width: 100%;
|
|
1047
|
-
`,
|
|
1051
|
+
`, Ui = S.div`
|
|
1048
1052
|
box-sizing: border-box;
|
|
1049
1053
|
padding: ${(t) => t.compact ? "var(--ddk-component-input-enable-card-toggle-container-padding)" : "0"};
|
|
1050
1054
|
width: var(--ddk-component-input-enable-card-toggle-container-width);
|
|
1051
|
-
`,
|
|
1055
|
+
`, Ki = ({
|
|
1052
1056
|
configProperties: t,
|
|
1053
1057
|
disabled: e,
|
|
1054
1058
|
enabledConfigProperty: n
|
|
1055
1059
|
}) => {
|
|
1056
1060
|
const { value: r } = le({
|
|
1057
1061
|
configProperty: n
|
|
1058
|
-
}), s = r === "true", { componentModeOverride: o } = J(), c = t.length === 1, a = c ?
|
|
1062
|
+
}), s = r === "true", { componentModeOverride: o } = J(), c = t.length === 1, a = c ? Zi : os;
|
|
1059
1063
|
return /* @__PURE__ */ f(
|
|
1060
|
-
|
|
1064
|
+
zi,
|
|
1061
1065
|
{
|
|
1062
1066
|
disabled: !s || e,
|
|
1063
1067
|
mode: o,
|
|
1064
1068
|
children: [
|
|
1065
|
-
/* @__PURE__ */ i(
|
|
1069
|
+
/* @__PURE__ */ i(ji, { children: t.map((d) => /* @__PURE__ */ i(
|
|
1066
1070
|
a,
|
|
1067
1071
|
{
|
|
1068
1072
|
disabled: !s || e,
|
|
@@ -1076,7 +1080,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1076
1080
|
d.configProperty.id
|
|
1077
1081
|
)) }),
|
|
1078
1082
|
/* @__PURE__ */ i(
|
|
1079
|
-
|
|
1083
|
+
Ui,
|
|
1080
1084
|
{
|
|
1081
1085
|
compact: !c || o === "compact",
|
|
1082
1086
|
children: /* @__PURE__ */ i(
|
|
@@ -1105,14 +1109,14 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1105
1109
|
[t, r]
|
|
1106
1110
|
);
|
|
1107
1111
|
return /* @__PURE__ */ i(
|
|
1108
|
-
|
|
1112
|
+
Ki,
|
|
1109
1113
|
{
|
|
1110
1114
|
configProperties: s,
|
|
1111
1115
|
disabled: e,
|
|
1112
1116
|
enabledConfigProperty: n
|
|
1113
1117
|
}
|
|
1114
1118
|
);
|
|
1115
|
-
},
|
|
1119
|
+
}, Hi = ({
|
|
1116
1120
|
configProperty: t,
|
|
1117
1121
|
...e
|
|
1118
1122
|
}) => {
|
|
@@ -1120,7 +1124,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1120
1124
|
return /* @__PURE__ */ i(xt, { ...e, onChange: (s) => {
|
|
1121
1125
|
s !== void 0 && (t == null || t.updateProperty(String(s)));
|
|
1122
1126
|
}, value: n });
|
|
1123
|
-
},
|
|
1127
|
+
}, Wi = ({
|
|
1124
1128
|
description: t,
|
|
1125
1129
|
float: e,
|
|
1126
1130
|
label: n,
|
|
@@ -1132,21 +1136,21 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1132
1136
|
const { regionModel: a } = be(), { t: d } = I("common", { keyPrefix: "schedule" }), {
|
|
1133
1137
|
amPmOptions: l,
|
|
1134
1138
|
formattedTime: u,
|
|
1135
|
-
hourOptions:
|
|
1136
|
-
minuteOptions:
|
|
1139
|
+
hourOptions: p,
|
|
1140
|
+
minuteOptions: m,
|
|
1137
1141
|
setTime: v,
|
|
1138
1142
|
time: y
|
|
1139
1143
|
} = Rr({ initialDate: o }), h = y.getHours(), _ = F(
|
|
1140
1144
|
() => [
|
|
1141
1145
|
{
|
|
1142
1146
|
id: "hr",
|
|
1143
|
-
items:
|
|
1147
|
+
items: p,
|
|
1144
1148
|
selectedItemId: h < 12 ? h : h - 12,
|
|
1145
1149
|
loop: !0
|
|
1146
1150
|
},
|
|
1147
1151
|
{
|
|
1148
1152
|
id: "min",
|
|
1149
|
-
items:
|
|
1153
|
+
items: m,
|
|
1150
1154
|
selectedItemId: y.getMinutes(),
|
|
1151
1155
|
loop: !0
|
|
1152
1156
|
},
|
|
@@ -1156,23 +1160,23 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1156
1160
|
selectedItemId: h < 12 ? "AM" : "PM"
|
|
1157
1161
|
}
|
|
1158
1162
|
],
|
|
1159
|
-
[l,
|
|
1163
|
+
[l, p, m, y, h]
|
|
1160
1164
|
), L = F(
|
|
1161
1165
|
() => [
|
|
1162
1166
|
{
|
|
1163
1167
|
id: "hr",
|
|
1164
|
-
items:
|
|
1168
|
+
items: p,
|
|
1165
1169
|
selectedItemId: h,
|
|
1166
1170
|
loop: !0
|
|
1167
1171
|
},
|
|
1168
1172
|
{
|
|
1169
1173
|
id: "min",
|
|
1170
|
-
items:
|
|
1174
|
+
items: m,
|
|
1171
1175
|
selectedItemId: y.getMinutes(),
|
|
1172
1176
|
loop: !0
|
|
1173
1177
|
}
|
|
1174
1178
|
],
|
|
1175
|
-
[
|
|
1179
|
+
[p, m, y, h]
|
|
1176
1180
|
);
|
|
1177
1181
|
return /* @__PURE__ */ i(
|
|
1178
1182
|
kn,
|
|
@@ -1194,17 +1198,17 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1194
1198
|
}
|
|
1195
1199
|
}
|
|
1196
1200
|
);
|
|
1197
|
-
},
|
|
1201
|
+
}, Xi = ({ configProperty: t, ...e }) => {
|
|
1198
1202
|
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
|
|
1203
|
+
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();
|
|
1204
|
+
return d.setHours(c), d.setMinutes(a), /* @__PURE__ */ i(Wi, { ...e, onSave: (p) => {
|
|
1205
|
+
const m = zo(p.hours, p.minutes);
|
|
1202
1206
|
r ? r(t.id, {
|
|
1203
1207
|
configProperty: t,
|
|
1204
|
-
value:
|
|
1205
|
-
}) : t.updateProperty(
|
|
1208
|
+
value: m
|
|
1209
|
+
}) : t.updateProperty(m);
|
|
1206
1210
|
}, time: d });
|
|
1207
|
-
},
|
|
1211
|
+
}, qi = [0, 6], Yi = ({
|
|
1208
1212
|
day: t = (/* @__PURE__ */ new Date()).getDate(),
|
|
1209
1213
|
month: e = (/* @__PURE__ */ new Date()).getMonth(),
|
|
1210
1214
|
onSave: n,
|
|
@@ -1221,7 +1225,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1221
1225
|
formatString: (c == null ? void 0 : c.selectedDateFormat) || "yyyy/MM/dd"
|
|
1222
1226
|
},
|
|
1223
1227
|
filterOptions: {
|
|
1224
|
-
daysOfWeekFilter:
|
|
1228
|
+
daysOfWeekFilter: qi,
|
|
1225
1229
|
yearsRange: [r - 10, r + 10]
|
|
1226
1230
|
}
|
|
1227
1231
|
}), d = F(
|
|
@@ -1251,7 +1255,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1251
1255
|
}));
|
|
1252
1256
|
},
|
|
1253
1257
|
[(h = a == null ? void 0 : a.dateState) == null ? void 0 : h.monthsOptionsArray]
|
|
1254
|
-
),
|
|
1258
|
+
), p = F(() => {
|
|
1255
1259
|
const P = [];
|
|
1256
1260
|
return c == null || c.selectedDateOrder.split("").forEach((E) => {
|
|
1257
1261
|
var x, X, oe;
|
|
@@ -1279,7 +1283,7 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1279
1283
|
u,
|
|
1280
1284
|
c == null ? void 0 : c.selectedDateOrder,
|
|
1281
1285
|
d
|
|
1282
|
-
]),
|
|
1286
|
+
]), m = V(
|
|
1283
1287
|
async (P) => {
|
|
1284
1288
|
const x = new Date(P.year, P.month + 1, 0).getDate(), X = P.day > x ? 1 : P.day;
|
|
1285
1289
|
n({
|
|
@@ -1295,16 +1299,16 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1295
1299
|
{
|
|
1296
1300
|
cancelButtonLabel: o("discard-changes", "Discard Changes") || void 0,
|
|
1297
1301
|
closeButtonLabel: o("close", "Close") || void 0,
|
|
1298
|
-
data:
|
|
1302
|
+
data: p,
|
|
1299
1303
|
displayValue: a.dateState.formattedDate,
|
|
1300
|
-
icon:
|
|
1304
|
+
icon: qo,
|
|
1301
1305
|
label: o("todays-date", "Today's Date"),
|
|
1302
|
-
onSave:
|
|
1306
|
+
onSave: m,
|
|
1303
1307
|
proceedButtonLabel: o("save", "Save") || void 0,
|
|
1304
1308
|
...s
|
|
1305
1309
|
}
|
|
1306
1310
|
);
|
|
1307
|
-
},
|
|
1311
|
+
}, Gi = D(
|
|
1308
1312
|
({ pump: t, onComplete: e }) => {
|
|
1309
1313
|
const { t: n } = I("common", {
|
|
1310
1314
|
keyPrefix: "fcm-diagnostics"
|
|
@@ -1363,60 +1367,60 @@ const Ii = S.div``, wd = D(() => {
|
|
|
1363
1367
|
});
|
|
1364
1368
|
c ? (n(c[0]), s(c[2])) : (n(null), s(fn));
|
|
1365
1369
|
}, [...o, t]), [e, r];
|
|
1366
|
-
},
|
|
1370
|
+
}, Ji = (t) => {
|
|
1367
1371
|
switch (t) {
|
|
1368
1372
|
case "calibrate":
|
|
1369
|
-
return di;
|
|
1370
|
-
case "fixed-45":
|
|
1371
1373
|
return li;
|
|
1372
|
-
case "
|
|
1374
|
+
case "fixed-45":
|
|
1373
1375
|
return ui;
|
|
1376
|
+
case "flush":
|
|
1377
|
+
return pi;
|
|
1374
1378
|
case "high-flow-test":
|
|
1375
1379
|
return mi;
|
|
1376
1380
|
case "hold-to-pour":
|
|
1377
|
-
return pi;
|
|
1378
|
-
case "low-flow-test":
|
|
1379
1381
|
return hi;
|
|
1380
|
-
case "
|
|
1382
|
+
case "low-flow-test":
|
|
1381
1383
|
return fi;
|
|
1382
|
-
case "
|
|
1384
|
+
case "manual-override":
|
|
1383
1385
|
return gi;
|
|
1384
|
-
case "
|
|
1386
|
+
case "msv-reset":
|
|
1385
1387
|
return yi;
|
|
1386
|
-
case "
|
|
1388
|
+
case "prime":
|
|
1387
1389
|
return vi;
|
|
1390
|
+
case "purge":
|
|
1391
|
+
return bi;
|
|
1388
1392
|
default:
|
|
1389
1393
|
return;
|
|
1390
1394
|
}
|
|
1391
|
-
},
|
|
1395
|
+
}, Qi = (t) => (e, n = "intents") => ({
|
|
1392
1396
|
title: t(`${n}:troubles.${e}.progress`),
|
|
1393
1397
|
summary: t(`${n}:troubles.${e}.summary`),
|
|
1394
1398
|
successMessage: t(`${n}:troubles.${e}.success`),
|
|
1395
1399
|
failureMessage: t(`${n}:troubles.${e}.error`),
|
|
1396
1400
|
actionLabel: t(`${n}:troubles.${e}.action`)
|
|
1397
|
-
}), He = (t, e =
|
|
1401
|
+
}), He = (t, e = Ji) => {
|
|
1398
1402
|
const { t: n } = I("troubles"), [r, s] = T(null), [o, c] = T(fn), a = V(
|
|
1399
1403
|
async (d) => {
|
|
1400
1404
|
const l = e(d);
|
|
1401
1405
|
if (l) {
|
|
1402
|
-
const u =
|
|
1406
|
+
const u = Qi(n)(d);
|
|
1403
1407
|
if (c(u), t) {
|
|
1404
|
-
const
|
|
1405
|
-
await
|
|
1408
|
+
const p = new l(t);
|
|
1409
|
+
await p.performAction(), s(p);
|
|
1406
1410
|
}
|
|
1407
1411
|
}
|
|
1408
1412
|
},
|
|
1409
1413
|
[e, t, n]
|
|
1410
1414
|
);
|
|
1411
1415
|
return t ? [r, a, o] : [null, a, o];
|
|
1412
|
-
},
|
|
1416
|
+
}, ea = (t) => (W.debug(`pumpActionFactory: actionId=${t}`), xi), ta = (t) => (e, n = "troubles") => ({
|
|
1413
1417
|
title: t(`${n}:troubles.${e}.progress`),
|
|
1414
1418
|
summary: t(`${n}:troubles.${e}.summary`),
|
|
1415
1419
|
successMessage: t(`${n}:troubles.${e}.success`),
|
|
1416
1420
|
failureMessage: t(`${n}:troubles.${e}.error`),
|
|
1417
1421
|
actionLabel: t(`${n}:troubles.${e}.action`)
|
|
1418
|
-
}), Ed = (t, e, n =
|
|
1419
|
-
const { t: r } = I("troubles"), [s, o] = T(null), [c] = T(
|
|
1422
|
+
}), Ed = (t, e, n = ea) => {
|
|
1423
|
+
const { t: r } = I("troubles"), [s, o] = T(null), [c] = T(ta(r)(e)), a = V(async () => {
|
|
1420
1424
|
const d = n(e);
|
|
1421
1425
|
if (d) {
|
|
1422
1426
|
const l = new d(t, e);
|
|
@@ -1439,7 +1443,7 @@ const is = () => {
|
|
|
1439
1443
|
options: {}
|
|
1440
1444
|
});
|
|
1441
1445
|
};
|
|
1442
|
-
function
|
|
1446
|
+
function na(t) {
|
|
1443
1447
|
return (e) => {
|
|
1444
1448
|
const { model: n, status: r, KosModelLoader: s } = is();
|
|
1445
1449
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, animation: n }) });
|
|
@@ -1459,7 +1463,7 @@ function Dd(t) {
|
|
|
1459
1463
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, application: n }) });
|
|
1460
1464
|
};
|
|
1461
1465
|
}
|
|
1462
|
-
const
|
|
1466
|
+
const ra = () => {
|
|
1463
1467
|
const t = Zn.type;
|
|
1464
1468
|
return Z({
|
|
1465
1469
|
modelId: t,
|
|
@@ -1469,15 +1473,15 @@ const na = () => {
|
|
|
1469
1473
|
};
|
|
1470
1474
|
function Nd(t) {
|
|
1471
1475
|
return (e) => {
|
|
1472
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1476
|
+
const { model: n, status: r, KosModelLoader: s } = ra();
|
|
1473
1477
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, carbWater: n }) });
|
|
1474
1478
|
};
|
|
1475
1479
|
}
|
|
1476
|
-
const
|
|
1477
|
-
const t =
|
|
1480
|
+
const sa = () => {
|
|
1481
|
+
const t = pn.type;
|
|
1478
1482
|
return Z({
|
|
1479
1483
|
modelId: t,
|
|
1480
|
-
modelType:
|
|
1484
|
+
modelType: pn.type,
|
|
1481
1485
|
options: {},
|
|
1482
1486
|
activate: !0,
|
|
1483
1487
|
destroyOnUnmount: !0
|
|
@@ -1485,7 +1489,7 @@ const ra = () => {
|
|
|
1485
1489
|
};
|
|
1486
1490
|
function Ad(t) {
|
|
1487
1491
|
return (e) => {
|
|
1488
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1492
|
+
const { model: n, status: r, KosModelLoader: s } = sa();
|
|
1489
1493
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, copyLogs: n }) });
|
|
1490
1494
|
};
|
|
1491
1495
|
}
|
|
@@ -1511,20 +1515,20 @@ const cs = () => {
|
|
|
1511
1515
|
options: {}
|
|
1512
1516
|
});
|
|
1513
1517
|
};
|
|
1514
|
-
function
|
|
1518
|
+
function oa(t) {
|
|
1515
1519
|
return (e) => {
|
|
1516
1520
|
const { model: n, status: r, KosModelLoader: s } = cs();
|
|
1517
1521
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, dispenserInfo: n }) });
|
|
1518
1522
|
};
|
|
1519
1523
|
}
|
|
1520
|
-
const
|
|
1524
|
+
const ia = (t) => Z({
|
|
1521
1525
|
modelId: t,
|
|
1522
1526
|
modelType: Ur.type,
|
|
1523
1527
|
options: {}
|
|
1524
1528
|
});
|
|
1525
1529
|
function Rd(t) {
|
|
1526
1530
|
return (e) => {
|
|
1527
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1531
|
+
const { model: n, status: r, KosModelLoader: s } = ia(e.id);
|
|
1528
1532
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, door: n }) });
|
|
1529
1533
|
};
|
|
1530
1534
|
}
|
|
@@ -1753,11 +1757,11 @@ const gn = (t, e) => {
|
|
|
1753
1757
|
}
|
|
1754
1758
|
return { message: n };
|
|
1755
1759
|
};
|
|
1756
|
-
let
|
|
1757
|
-
function
|
|
1758
|
-
return
|
|
1760
|
+
let aa = gn;
|
|
1761
|
+
function ca() {
|
|
1762
|
+
return aa;
|
|
1759
1763
|
}
|
|
1760
|
-
const
|
|
1764
|
+
const da = (t) => {
|
|
1761
1765
|
const { data: e, path: n, errorMaps: r, issueData: s } = t, o = [...n, ...s.path || []], c = {
|
|
1762
1766
|
...s,
|
|
1763
1767
|
path: o
|
|
@@ -1779,7 +1783,7 @@ const ca = (t) => {
|
|
|
1779
1783
|
};
|
|
1780
1784
|
};
|
|
1781
1785
|
function b(t, e) {
|
|
1782
|
-
const n =
|
|
1786
|
+
const n = ca(), r = da({
|
|
1783
1787
|
issueData: e,
|
|
1784
1788
|
data: t.data,
|
|
1785
1789
|
path: t.path,
|
|
@@ -2062,7 +2066,7 @@ class M {
|
|
|
2062
2066
|
});
|
|
2063
2067
|
}
|
|
2064
2068
|
brand() {
|
|
2065
|
-
return new
|
|
2069
|
+
return new Aa({
|
|
2066
2070
|
typeName: O.ZodBranded,
|
|
2067
2071
|
type: this,
|
|
2068
2072
|
...$(this._def)
|
|
@@ -2097,28 +2101,28 @@ class M {
|
|
|
2097
2101
|
return this.safeParse(null).success;
|
|
2098
2102
|
}
|
|
2099
2103
|
}
|
|
2100
|
-
const
|
|
2104
|
+
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
2105
|
let an;
|
|
2102
|
-
const
|
|
2106
|
+
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
2107
|
function ls(t) {
|
|
2104
2108
|
let e = "[0-5]\\d";
|
|
2105
2109
|
t.precision ? e = `${e}\\.\\d{${t.precision}}` : t.precision == null && (e = `${e}(\\.\\d+)?`);
|
|
2106
2110
|
const n = t.precision ? "+" : "?";
|
|
2107
2111
|
return `([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`;
|
|
2108
2112
|
}
|
|
2109
|
-
function
|
|
2113
|
+
function Ta(t) {
|
|
2110
2114
|
return new RegExp(`^${ls(t)}$`);
|
|
2111
2115
|
}
|
|
2112
|
-
function
|
|
2116
|
+
function Ia(t) {
|
|
2113
2117
|
let e = `${ds}T${ls(t)}`;
|
|
2114
2118
|
const n = [];
|
|
2115
2119
|
return n.push(t.local ? "Z?" : "Z"), t.offset && n.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${n.join("|")})`, new RegExp(`^${e}$`);
|
|
2116
2120
|
}
|
|
2117
|
-
function Ia(t, e) {
|
|
2118
|
-
return !!((e === "v4" || !e) && va.test(t) || (e === "v6" || !e) && wa.test(t));
|
|
2119
|
-
}
|
|
2120
2121
|
function Ea(t, e) {
|
|
2121
|
-
|
|
2122
|
+
return !!((e === "v4" || !e) && ba.test(t) || (e === "v6" || !e) && xa.test(t));
|
|
2123
|
+
}
|
|
2124
|
+
function Pa(t, e) {
|
|
2125
|
+
if (!fa.test(t))
|
|
2122
2126
|
return !1;
|
|
2123
2127
|
try {
|
|
2124
2128
|
const [n] = t.split(".");
|
|
@@ -2130,8 +2134,8 @@ function Ea(t, e) {
|
|
|
2130
2134
|
return !1;
|
|
2131
2135
|
}
|
|
2132
2136
|
}
|
|
2133
|
-
function
|
|
2134
|
-
return !!((e === "v4" || !e) &&
|
|
2137
|
+
function Da(t, e) {
|
|
2138
|
+
return !!((e === "v4" || !e) && wa.test(t) || (e === "v6" || !e) && _a.test(t));
|
|
2135
2139
|
}
|
|
2136
2140
|
class ye extends M {
|
|
2137
2141
|
_parse(e) {
|
|
@@ -2182,13 +2186,13 @@ class ye extends M {
|
|
|
2182
2186
|
message: o.message
|
|
2183
2187
|
}), r.dirty());
|
|
2184
2188
|
} else if (o.kind === "email")
|
|
2185
|
-
|
|
2189
|
+
ya.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2186
2190
|
validation: "email",
|
|
2187
2191
|
code: g.invalid_string,
|
|
2188
2192
|
message: o.message
|
|
2189
2193
|
}), r.dirty());
|
|
2190
2194
|
else if (o.kind === "emoji")
|
|
2191
|
-
an || (an = new RegExp(
|
|
2195
|
+
an || (an = new RegExp(va, "u")), an.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2192
2196
|
validation: "emoji",
|
|
2193
2197
|
code: g.invalid_string,
|
|
2194
2198
|
message: o.message
|
|
@@ -2200,25 +2204,25 @@ class ye extends M {
|
|
|
2200
2204
|
message: o.message
|
|
2201
2205
|
}), r.dirty());
|
|
2202
2206
|
else if (o.kind === "nanoid")
|
|
2203
|
-
|
|
2207
|
+
ha.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2204
2208
|
validation: "nanoid",
|
|
2205
2209
|
code: g.invalid_string,
|
|
2206
2210
|
message: o.message
|
|
2207
2211
|
}), r.dirty());
|
|
2208
2212
|
else if (o.kind === "cuid")
|
|
2209
|
-
|
|
2213
|
+
la.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2210
2214
|
validation: "cuid",
|
|
2211
2215
|
code: g.invalid_string,
|
|
2212
2216
|
message: o.message
|
|
2213
2217
|
}), r.dirty());
|
|
2214
2218
|
else if (o.kind === "cuid2")
|
|
2215
|
-
|
|
2219
|
+
ua.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2216
2220
|
validation: "cuid2",
|
|
2217
2221
|
code: g.invalid_string,
|
|
2218
2222
|
message: o.message
|
|
2219
2223
|
}), r.dirty());
|
|
2220
2224
|
else if (o.kind === "ulid")
|
|
2221
|
-
|
|
2225
|
+
pa.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2222
2226
|
validation: "ulid",
|
|
2223
2227
|
code: g.invalid_string,
|
|
2224
2228
|
message: o.message
|
|
@@ -2250,39 +2254,39 @@ class ye extends M {
|
|
|
2250
2254
|
code: g.invalid_string,
|
|
2251
2255
|
validation: { endsWith: o.value },
|
|
2252
2256
|
message: o.message
|
|
2253
|
-
}), r.dirty()) : o.kind === "datetime" ?
|
|
2257
|
+
}), r.dirty()) : o.kind === "datetime" ? Ia(o).test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2254
2258
|
code: g.invalid_string,
|
|
2255
2259
|
validation: "datetime",
|
|
2256
2260
|
message: o.message
|
|
2257
|
-
}), r.dirty()) : o.kind === "date" ?
|
|
2261
|
+
}), r.dirty()) : o.kind === "date" ? Sa.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2258
2262
|
code: g.invalid_string,
|
|
2259
2263
|
validation: "date",
|
|
2260
2264
|
message: o.message
|
|
2261
|
-
}), r.dirty()) : o.kind === "time" ?
|
|
2265
|
+
}), r.dirty()) : o.kind === "time" ? Ta(o).test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2262
2266
|
code: g.invalid_string,
|
|
2263
2267
|
validation: "time",
|
|
2264
2268
|
message: o.message
|
|
2265
|
-
}), r.dirty()) : o.kind === "duration" ?
|
|
2269
|
+
}), r.dirty()) : o.kind === "duration" ? ga.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2266
2270
|
validation: "duration",
|
|
2267
2271
|
code: g.invalid_string,
|
|
2268
2272
|
message: o.message
|
|
2269
|
-
}), r.dirty()) : o.kind === "ip" ?
|
|
2273
|
+
}), r.dirty()) : o.kind === "ip" ? Ea(e.data, o.version) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2270
2274
|
validation: "ip",
|
|
2271
2275
|
code: g.invalid_string,
|
|
2272
2276
|
message: o.message
|
|
2273
|
-
}), r.dirty()) : o.kind === "jwt" ?
|
|
2277
|
+
}), r.dirty()) : o.kind === "jwt" ? Pa(e.data, o.alg) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2274
2278
|
validation: "jwt",
|
|
2275
2279
|
code: g.invalid_string,
|
|
2276
2280
|
message: o.message
|
|
2277
|
-
}), r.dirty()) : o.kind === "cidr" ?
|
|
2281
|
+
}), r.dirty()) : o.kind === "cidr" ? Da(e.data, o.version) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2278
2282
|
validation: "cidr",
|
|
2279
2283
|
code: g.invalid_string,
|
|
2280
2284
|
message: o.message
|
|
2281
|
-
}), r.dirty()) : o.kind === "base64" ?
|
|
2285
|
+
}), r.dirty()) : o.kind === "base64" ? ka.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2282
2286
|
validation: "base64",
|
|
2283
2287
|
code: g.invalid_string,
|
|
2284
2288
|
message: o.message
|
|
2285
|
-
}), r.dirty()) : o.kind === "base64url" ?
|
|
2289
|
+
}), r.dirty()) : o.kind === "base64url" ? Ca.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2286
2290
|
validation: "base64url",
|
|
2287
2291
|
code: g.invalid_string,
|
|
2288
2292
|
message: o.message
|
|
@@ -2517,7 +2521,7 @@ ye.create = (t) => new ye({
|
|
|
2517
2521
|
coerce: (t == null ? void 0 : t.coerce) ?? !1,
|
|
2518
2522
|
...$(t)
|
|
2519
2523
|
});
|
|
2520
|
-
function
|
|
2524
|
+
function Na(t, e) {
|
|
2521
2525
|
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
2526
|
return o % c / 10 ** s;
|
|
2523
2527
|
}
|
|
@@ -2556,7 +2560,7 @@ class Je extends M {
|
|
|
2556
2560
|
inclusive: o.inclusive,
|
|
2557
2561
|
exact: !1,
|
|
2558
2562
|
message: o.message
|
|
2559
|
-
}), s.dirty()) : o.kind === "multipleOf" ?
|
|
2563
|
+
}), s.dirty()) : o.kind === "multipleOf" ? Na(e.data, o.value) !== 0 && (r = this._getOrReturnCtx(e, r), b(r, {
|
|
2560
2564
|
code: g.not_multiple_of,
|
|
2561
2565
|
multipleOf: o.value,
|
|
2562
2566
|
message: o.message
|
|
@@ -2956,7 +2960,7 @@ ur.create = (t) => new ur({
|
|
|
2956
2960
|
typeName: O.ZodUndefined,
|
|
2957
2961
|
...$(t)
|
|
2958
2962
|
});
|
|
2959
|
-
class
|
|
2963
|
+
class pr extends M {
|
|
2960
2964
|
_parse(e) {
|
|
2961
2965
|
if (this._getType(e) !== k.null) {
|
|
2962
2966
|
const r = this._getOrReturnCtx(e);
|
|
@@ -2969,11 +2973,11 @@ class mr extends M {
|
|
|
2969
2973
|
return ne(e.data);
|
|
2970
2974
|
}
|
|
2971
2975
|
}
|
|
2972
|
-
|
|
2976
|
+
pr.create = (t) => new pr({
|
|
2973
2977
|
typeName: O.ZodNull,
|
|
2974
2978
|
...$(t)
|
|
2975
2979
|
});
|
|
2976
|
-
class
|
|
2980
|
+
class mr extends M {
|
|
2977
2981
|
constructor() {
|
|
2978
2982
|
super(...arguments), this._any = !0;
|
|
2979
2983
|
}
|
|
@@ -2981,7 +2985,7 @@ class pr extends M {
|
|
|
2981
2985
|
return ne(e.data);
|
|
2982
2986
|
}
|
|
2983
2987
|
}
|
|
2984
|
-
|
|
2988
|
+
mr.create = (t) => new mr({
|
|
2985
2989
|
typeName: O.ZodAny,
|
|
2986
2990
|
...$(t)
|
|
2987
2991
|
});
|
|
@@ -3143,10 +3147,10 @@ class K extends M {
|
|
|
3143
3147
|
c.includes(l) || a.push(l);
|
|
3144
3148
|
const d = [];
|
|
3145
3149
|
for (const l of c) {
|
|
3146
|
-
const u = o[l],
|
|
3150
|
+
const u = o[l], p = s.data[l];
|
|
3147
3151
|
d.push({
|
|
3148
3152
|
key: { status: "valid", value: l },
|
|
3149
|
-
value: u._parse(new we(s,
|
|
3153
|
+
value: u._parse(new we(s, p, s.path, l)),
|
|
3150
3154
|
alwaysSet: l in s.data
|
|
3151
3155
|
});
|
|
3152
3156
|
}
|
|
@@ -3168,11 +3172,11 @@ class K extends M {
|
|
|
3168
3172
|
} else {
|
|
3169
3173
|
const l = this._def.catchall;
|
|
3170
3174
|
for (const u of a) {
|
|
3171
|
-
const
|
|
3175
|
+
const p = s.data[u];
|
|
3172
3176
|
d.push({
|
|
3173
3177
|
key: { status: "valid", value: u },
|
|
3174
3178
|
value: l._parse(
|
|
3175
|
-
new we(s,
|
|
3179
|
+
new we(s, p, s.path, u)
|
|
3176
3180
|
//, ctx.child(key), value, getParsedType(value)
|
|
3177
3181
|
),
|
|
3178
3182
|
alwaysSet: u in s.data
|
|
@@ -3182,10 +3186,10 @@ class K extends M {
|
|
|
3182
3186
|
return s.common.async ? Promise.resolve().then(async () => {
|
|
3183
3187
|
const l = [];
|
|
3184
3188
|
for (const u of d) {
|
|
3185
|
-
const
|
|
3189
|
+
const p = await u.key, m = await u.value;
|
|
3186
3190
|
l.push({
|
|
3187
|
-
key:
|
|
3188
|
-
value:
|
|
3191
|
+
key: p,
|
|
3192
|
+
value: m,
|
|
3189
3193
|
alwaysSet: u.alwaysSet
|
|
3190
3194
|
});
|
|
3191
3195
|
}
|
|
@@ -4056,7 +4060,7 @@ br.create = (t) => new br({
|
|
|
4056
4060
|
typeName: O.ZodNaN,
|
|
4057
4061
|
...$(t)
|
|
4058
4062
|
});
|
|
4059
|
-
class
|
|
4063
|
+
class Aa extends M {
|
|
4060
4064
|
_parse(e) {
|
|
4061
4065
|
const { ctx: n } = this._processInputParams(e), r = n.data;
|
|
4062
4066
|
return this._def.type._parse({
|
|
@@ -4133,7 +4137,7 @@ ie.create;
|
|
|
4133
4137
|
It.create;
|
|
4134
4138
|
Et.create;
|
|
4135
4139
|
Ie.create;
|
|
4136
|
-
const it = vn.create,
|
|
4140
|
+
const it = vn.create, Oa = Fe.create;
|
|
4137
4141
|
Pt.create;
|
|
4138
4142
|
ve.create;
|
|
4139
4143
|
Be.create;
|
|
@@ -4143,7 +4147,7 @@ const wr = ue(
|
|
|
4143
4147
|
dashboardKey: re().min(1, "Dashboard key is required").describe("Key used to identify which dashboard this summary belongs to")
|
|
4144
4148
|
},
|
|
4145
4149
|
{ rankable: !0 }
|
|
4146
|
-
), Ot =
|
|
4150
|
+
), Ot = pe("ddk", "dashboard", "summary"), ps = me({
|
|
4147
4151
|
id: Ot,
|
|
4148
4152
|
contributionKey: "dashboardSummary",
|
|
4149
4153
|
displayName: "Dashboard Summary",
|
|
@@ -4166,7 +4170,7 @@ const wr = ue(
|
|
|
4166
4170
|
dashboardKey: re().min(1, "Dashboard key is required").describe("Key used to identify which dashboard this detail belongs to")
|
|
4167
4171
|
},
|
|
4168
4172
|
{ rankable: !0 }
|
|
4169
|
-
), Rt =
|
|
4173
|
+
), Rt = pe("ddk", "dashboard", "detail"), ms = me({
|
|
4170
4174
|
id: Rt,
|
|
4171
4175
|
contributionKey: "dashboardDetail",
|
|
4172
4176
|
displayName: "Dashboard Detail",
|
|
@@ -4191,7 +4195,7 @@ const wr = ue(
|
|
|
4191
4195
|
)
|
|
4192
4196
|
},
|
|
4193
4197
|
{ rankable: !0 }
|
|
4194
|
-
), $t =
|
|
4198
|
+
), $t = pe("ddk", "dashboard", "pump-detail"), ze = me({
|
|
4195
4199
|
id: $t,
|
|
4196
4200
|
contributionKey: "dashboardPumpDetail",
|
|
4197
4201
|
displayName: "Dashboard Pump Detail",
|
|
@@ -4214,7 +4218,7 @@ const wr = ue(
|
|
|
4214
4218
|
)
|
|
4215
4219
|
},
|
|
4216
4220
|
{ rankable: !0 }
|
|
4217
|
-
), Lt =
|
|
4221
|
+
), Lt = pe("ddk", "dashboard", "macro-summary"), Dt = me({
|
|
4218
4222
|
id: Lt,
|
|
4219
4223
|
contributionKey: "dashboardMacroSummary",
|
|
4220
4224
|
displayName: "Dashboard Macro Summary",
|
|
@@ -4235,8 +4239,8 @@ const wr = ue(
|
|
|
4235
4239
|
cuiDescriptor: re().min(1, "CUI descriptor is required").describe(
|
|
4236
4240
|
"Descriptor used to identify and categorize the CUI functionality"
|
|
4237
4241
|
),
|
|
4238
|
-
modalMode:
|
|
4239
|
-
}), Vt =
|
|
4242
|
+
modalMode: Oa(["fullscreen", "maximized"]).optional().describe("Modal display mode for the CUI interface")
|
|
4243
|
+
}), Vt = pe("ddk", "cui"), Nn = me({
|
|
4240
4244
|
id: Vt,
|
|
4241
4245
|
contributionKey: "cui",
|
|
4242
4246
|
displayName: "CUI (Consumer User Interface)",
|
|
@@ -4257,7 +4261,7 @@ const wr = ue(
|
|
|
4257
4261
|
navDescriptor: re().min(1, "Navigation descriptor is required").describe(
|
|
4258
4262
|
"Descriptor used to identify and map the navigation functionality"
|
|
4259
4263
|
)
|
|
4260
|
-
}), Ft =
|
|
4264
|
+
}), Ft = pe("ddk", "nav", "view"), hs = me({
|
|
4261
4265
|
id: Ft,
|
|
4262
4266
|
contributionKey: "navViews",
|
|
4263
4267
|
displayName: "Navigation Views",
|
|
@@ -4283,7 +4287,7 @@ const wr = ue(
|
|
|
4283
4287
|
setupDescriptor: re().min(1, "Setup descriptor is required").describe("Descriptor used to identify and categorize the setup step")
|
|
4284
4288
|
},
|
|
4285
4289
|
{ rankable: !0 }
|
|
4286
|
-
), Mt =
|
|
4290
|
+
), Mt = pe("ddk", "setup"), Bt = me({
|
|
4287
4291
|
id: Mt,
|
|
4288
4292
|
contributionKey: "setupStep",
|
|
4289
4293
|
displayName: "Setup Steps",
|
|
@@ -4314,7 +4318,7 @@ const wr = ue(
|
|
|
4314
4318
|
)
|
|
4315
4319
|
},
|
|
4316
4320
|
{ rankable: !0 }
|
|
4317
|
-
), zt =
|
|
4321
|
+
), zt = pe("ddk", "trouble", "action"), tt = me({
|
|
4318
4322
|
id: zt,
|
|
4319
4323
|
contributionKey: "troubleActions",
|
|
4320
4324
|
displayName: "Trouble Actions",
|
|
@@ -4338,7 +4342,7 @@ const wr = ue(
|
|
|
4338
4342
|
)
|
|
4339
4343
|
},
|
|
4340
4344
|
{ rankable: !0 }
|
|
4341
|
-
), jt =
|
|
4345
|
+
), jt = pe("ddk", "view"), fs = me({
|
|
4342
4346
|
id: jt,
|
|
4343
4347
|
contributionKey: "views",
|
|
4344
4348
|
displayName: "Views",
|
|
@@ -4359,39 +4363,39 @@ const wr = ue(
|
|
|
4359
4363
|
)), Pe(t, e));
|
|
4360
4364
|
},
|
|
4361
4365
|
transform: he()
|
|
4362
|
-
}), ol = jt, il = `${jt}.def`, al = `${jt}.view`,
|
|
4366
|
+
}), ol = jt, il = `${jt}.def`, al = `${jt}.view`, Ra = "ddk.ncui.utilities", Pr = {
|
|
4363
4367
|
[Bt.id]: "setupDescriptor",
|
|
4364
4368
|
[Nn.id]: "cuiDescriptor",
|
|
4365
|
-
[
|
|
4366
|
-
},
|
|
4369
|
+
[Ra]: "utilDescriptor"
|
|
4370
|
+
}, $a = ({
|
|
4367
4371
|
defaultNamespace: t,
|
|
4368
4372
|
extensionPoint: e
|
|
4369
4373
|
}) => {
|
|
4370
4374
|
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
4375
|
(d, l) => {
|
|
4372
|
-
const u = l,
|
|
4373
|
-
return d[
|
|
4376
|
+
const u = l, p = u.data;
|
|
4377
|
+
return d[p[Pr[e]]] = {
|
|
4374
4378
|
extension: e,
|
|
4375
4379
|
module: u.id,
|
|
4376
|
-
namespace:
|
|
4377
|
-
title:
|
|
4380
|
+
namespace: p.namespace,
|
|
4381
|
+
title: p.title
|
|
4378
4382
|
}, d;
|
|
4379
4383
|
},
|
|
4380
4384
|
{}
|
|
4381
4385
|
), a = r.reduce((d, l) => {
|
|
4382
|
-
const
|
|
4383
|
-
return d[
|
|
4386
|
+
const p = l.data;
|
|
4387
|
+
return d[p[Pr[e]]] = `${p.namespace}:${p.title}`, d;
|
|
4384
4388
|
}, {});
|
|
4385
4389
|
return { namespaces: s, t: o, labelMap: a, contributionMap: c };
|
|
4386
4390
|
}, at = (t, e) => {
|
|
4387
4391
|
const n = F(() => ({
|
|
4388
|
-
agitate:
|
|
4392
|
+
agitate: ki,
|
|
4389
4393
|
calibrate: ({ holder: c, pump: a, onComplete: d }) => {
|
|
4390
4394
|
const l = ce(
|
|
4391
4395
|
a ?? c.pumps.data[0],
|
|
4392
4396
|
hn.type
|
|
4393
4397
|
);
|
|
4394
|
-
return /* @__PURE__ */ i(
|
|
4398
|
+
return /* @__PURE__ */ i(Pi, { pump: l, onComplete: d });
|
|
4395
4399
|
},
|
|
4396
4400
|
calibrateSPM: ({ holder: c, pump: a, onComplete: d }) => {
|
|
4397
4401
|
const l = ce(
|
|
@@ -4411,7 +4415,7 @@ const wr = ue(
|
|
|
4411
4415
|
a ?? c.pumps.data[0],
|
|
4412
4416
|
hn.type
|
|
4413
4417
|
);
|
|
4414
|
-
return /* @__PURE__ */ i(
|
|
4418
|
+
return /* @__PURE__ */ i(Gi, { pump: l, onComplete: d });
|
|
4415
4419
|
},
|
|
4416
4420
|
"replace-pump": ({ holder: c, pump: a, onComplete: d }) => /* @__PURE__ */ i(
|
|
4417
4421
|
Kc,
|
|
@@ -4421,7 +4425,7 @@ const wr = ue(
|
|
|
4421
4425
|
}
|
|
4422
4426
|
),
|
|
4423
4427
|
"rfid-override": Xc,
|
|
4424
|
-
"replace-line": ({ holder: c, onComplete: a }) => /* @__PURE__ */ i(
|
|
4428
|
+
"replace-line": ({ holder: c, onComplete: a }) => /* @__PURE__ */ i(Uc, { holder: c, onComplete: a })
|
|
4425
4429
|
}), []), [r, s] = T(void 0), o = r ? n[r] : void 0;
|
|
4426
4430
|
return {
|
|
4427
4431
|
holderExperience: o ? /* @__PURE__ */ i(
|
|
@@ -4437,7 +4441,7 @@ const wr = ue(
|
|
|
4437
4441
|
setHolderExperience: s,
|
|
4438
4442
|
currentExperienceId: r
|
|
4439
4443
|
};
|
|
4440
|
-
}, gs = Y(void 0), cl = ({ children: t, value: e }) => /* @__PURE__ */ i(gs.Provider, { value: e, children: t }),
|
|
4444
|
+
}, 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
4445
|
const n = G(gs);
|
|
4442
4446
|
return e = (n == null ? void 0 : n.actionFactory) || e, e(t);
|
|
4443
4447
|
}, vs = () => {
|
|
@@ -4462,7 +4466,7 @@ const bs = () => {
|
|
|
4462
4466
|
options: {}
|
|
4463
4467
|
});
|
|
4464
4468
|
};
|
|
4465
|
-
function
|
|
4469
|
+
function Va(t) {
|
|
4466
4470
|
return (e) => {
|
|
4467
4471
|
const { model: n, status: r, KosModelLoader: s } = bs();
|
|
4468
4472
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, macroAssignment: n }) });
|
|
@@ -4470,7 +4474,7 @@ function La(t) {
|
|
|
4470
4474
|
}
|
|
4471
4475
|
const ws = (t) => Z({
|
|
4472
4476
|
modelId: t,
|
|
4473
|
-
modelType:
|
|
4477
|
+
modelType: jo.type,
|
|
4474
4478
|
options: {}
|
|
4475
4479
|
});
|
|
4476
4480
|
function ll(t) {
|
|
@@ -4487,13 +4491,13 @@ const xs = () => {
|
|
|
4487
4491
|
options: {}
|
|
4488
4492
|
});
|
|
4489
4493
|
};
|
|
4490
|
-
function
|
|
4494
|
+
function Fa(t) {
|
|
4491
4495
|
return (e) => {
|
|
4492
4496
|
const { model: n, status: r, KosModelLoader: s } = xs();
|
|
4493
4497
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, networkTestContainer: n }) });
|
|
4494
4498
|
};
|
|
4495
4499
|
}
|
|
4496
|
-
const
|
|
4500
|
+
const Ma = () => {
|
|
4497
4501
|
const t = qn.type;
|
|
4498
4502
|
return Z({
|
|
4499
4503
|
modelId: t,
|
|
@@ -4503,11 +4507,11 @@ const Fa = () => {
|
|
|
4503
4507
|
};
|
|
4504
4508
|
function ul(t) {
|
|
4505
4509
|
return (e) => {
|
|
4506
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4510
|
+
const { model: n, status: r, KosModelLoader: s } = Ma();
|
|
4507
4511
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, nutritiveSweetener: n }) });
|
|
4508
4512
|
};
|
|
4509
4513
|
}
|
|
4510
|
-
const
|
|
4514
|
+
const Ba = () => {
|
|
4511
4515
|
const t = Yn.type;
|
|
4512
4516
|
return Z({
|
|
4513
4517
|
modelId: t,
|
|
@@ -4516,18 +4520,18 @@ const Ma = () => {
|
|
|
4516
4520
|
destroyOnUnmount: !0
|
|
4517
4521
|
});
|
|
4518
4522
|
};
|
|
4519
|
-
function
|
|
4523
|
+
function pl(t) {
|
|
4520
4524
|
return (e) => {
|
|
4521
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4525
|
+
const { model: n, status: r, KosModelLoader: s } = Ba();
|
|
4522
4526
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, plainWater: n }) });
|
|
4523
4527
|
};
|
|
4524
4528
|
}
|
|
4525
|
-
const
|
|
4529
|
+
const za = (t) => {
|
|
4526
4530
|
switch (t.type) {
|
|
4527
4531
|
case "fcm":
|
|
4528
4532
|
return hn.type;
|
|
4529
4533
|
case "lfcv":
|
|
4530
|
-
return
|
|
4534
|
+
return ni.type;
|
|
4531
4535
|
case "micro":
|
|
4532
4536
|
return Hr.type;
|
|
4533
4537
|
case "cgp":
|
|
@@ -4549,7 +4553,7 @@ to(Te, {
|
|
|
4549
4553
|
return s.length === 0 ? !0 : !s.includes(!1);
|
|
4550
4554
|
}
|
|
4551
4555
|
});
|
|
4552
|
-
class
|
|
4556
|
+
class ja {
|
|
4553
4557
|
constructor(e, n) {
|
|
4554
4558
|
j(this, "core");
|
|
4555
4559
|
j(this, "dispense");
|
|
@@ -4571,20 +4575,20 @@ class za {
|
|
|
4571
4575
|
), this;
|
|
4572
4576
|
}
|
|
4573
4577
|
}
|
|
4574
|
-
class
|
|
4578
|
+
class Za {
|
|
4575
4579
|
constructor() {
|
|
4576
4580
|
j(this, "dispense");
|
|
4577
4581
|
j(this, "core");
|
|
4578
4582
|
j(this, "plugin");
|
|
4579
|
-
this.dispense = new
|
|
4583
|
+
this.dispense = new Go(), this.core = new no(), this.plugin = new ja(this.core, this.dispense);
|
|
4580
4584
|
}
|
|
4581
4585
|
}
|
|
4582
|
-
const
|
|
4586
|
+
const Ua = {
|
|
4583
4587
|
/** Utilities extension point for DDK applications */
|
|
4584
4588
|
UTILITIES: "ddk.ncui.utilities"
|
|
4585
|
-
},
|
|
4586
|
-
ms.register();
|
|
4589
|
+
}, Ka = Ua.UTILITIES;
|
|
4587
4590
|
ps.register();
|
|
4591
|
+
ms.register();
|
|
4588
4592
|
ze.register();
|
|
4589
4593
|
Dt.register();
|
|
4590
4594
|
Nn.register();
|
|
@@ -4592,14 +4596,14 @@ hs.register();
|
|
|
4592
4596
|
Bt.register();
|
|
4593
4597
|
tt.register();
|
|
4594
4598
|
fs.register();
|
|
4595
|
-
console.log("JSON-defined UtilitiesExtension ID:",
|
|
4599
|
+
console.log("JSON-defined UtilitiesExtension ID:", Ka);
|
|
4596
4600
|
console.log(
|
|
4597
4601
|
"Registered DashboardSummaryExtension:",
|
|
4598
|
-
|
|
4602
|
+
ps.id
|
|
4599
4603
|
);
|
|
4600
4604
|
console.log(
|
|
4601
4605
|
"Registered DashboardDetailExtension:",
|
|
4602
|
-
|
|
4606
|
+
ms.id
|
|
4603
4607
|
);
|
|
4604
4608
|
console.log(
|
|
4605
4609
|
"Registered DashboardPumpDetailExtension:",
|
|
@@ -4614,14 +4618,14 @@ console.log("Registered NavViewExtension:", hs.id);
|
|
|
4614
4618
|
console.log("Registered SetupExtension:", Bt.id);
|
|
4615
4619
|
console.log("Registered TroubleActionExtension:", tt.id);
|
|
4616
4620
|
console.log("Registered ViewExtension:", fs.id);
|
|
4617
|
-
const
|
|
4618
|
-
rr.freestyle.models().model(
|
|
4621
|
+
const ml = () => {
|
|
4622
|
+
rr.freestyle.models().model(Zo).model(ro).model(mn).model(pn).model(Ur).model(_t).companion(Jo.type, () => {
|
|
4619
4623
|
if (so.isFeatureEnabled("carbTank"))
|
|
4620
|
-
return
|
|
4621
|
-
}).companion(
|
|
4624
|
+
return ri.type;
|
|
4625
|
+
}).companion(Qo.type, za).companion(oo.type, _t.type).preload(un.type), Object.keys(Gn).forEach((c) => {
|
|
4622
4626
|
const a = Gn[c];
|
|
4623
4627
|
io(rr)(c, a);
|
|
4624
|
-
}), new
|
|
4628
|
+
}), new si().freestyle.initializeFreestyleExtension();
|
|
4625
4629
|
const { KosCoreContextProvider: e } = ao(), n = {
|
|
4626
4630
|
rank: 999,
|
|
4627
4631
|
factory: (c) => {
|
|
@@ -4643,17 +4647,17 @@ const pl = () => {
|
|
|
4643
4647
|
return !0;
|
|
4644
4648
|
const l = ce(
|
|
4645
4649
|
d,
|
|
4646
|
-
|
|
4650
|
+
oi.type
|
|
4647
4651
|
);
|
|
4648
4652
|
return !!(l != null && l.supportsRemoteTrays);
|
|
4649
4653
|
};
|
|
4650
|
-
return new
|
|
4651
|
-
}, Zt = (t) => t ?
|
|
4654
|
+
return new Za().plugin.registerNavVisibilityFilter(r).registerNavVisibilityFilter(s), { KosCoreContextProvider: e };
|
|
4655
|
+
}, Zt = (t) => t ? Ha(t.type) : {
|
|
4652
4656
|
action: "",
|
|
4653
4657
|
label: "",
|
|
4654
4658
|
progress: "",
|
|
4655
4659
|
summary: ""
|
|
4656
|
-
},
|
|
4660
|
+
}, Ha = (t) => {
|
|
4657
4661
|
const e = `troubles:troubles.${t}`;
|
|
4658
4662
|
return {
|
|
4659
4663
|
action: `${e}.action`,
|
|
@@ -4662,7 +4666,7 @@ const pl = () => {
|
|
|
4662
4666
|
summary: `${e}.summary`
|
|
4663
4667
|
};
|
|
4664
4668
|
}, ct = (t) => {
|
|
4665
|
-
const e =
|
|
4669
|
+
const e = ai(), [, n] = T({}), [r] = T(/* @__PURE__ */ new Set());
|
|
4666
4670
|
return H(() => {
|
|
4667
4671
|
const o = [];
|
|
4668
4672
|
return r.forEach((c) => {
|
|
@@ -4718,7 +4722,7 @@ function _s(t) {
|
|
|
4718
4722
|
}
|
|
4719
4723
|
const ks = (t) => Z({
|
|
4720
4724
|
modelId: t,
|
|
4721
|
-
modelType:
|
|
4725
|
+
modelType: Uo.type,
|
|
4722
4726
|
options: {}
|
|
4723
4727
|
});
|
|
4724
4728
|
function fl(t) {
|
|
@@ -4735,13 +4739,13 @@ const Cs = () => {
|
|
|
4735
4739
|
options: {}
|
|
4736
4740
|
});
|
|
4737
4741
|
};
|
|
4738
|
-
function
|
|
4742
|
+
function Wa(t) {
|
|
4739
4743
|
return (e) => {
|
|
4740
4744
|
const { model: n, status: r, KosModelLoader: s } = Cs();
|
|
4741
4745
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, setupStepContainer: n }) });
|
|
4742
4746
|
};
|
|
4743
4747
|
}
|
|
4744
|
-
const
|
|
4748
|
+
const Xa = (t) => {
|
|
4745
4749
|
const [e, n] = T(), [r, s] = He(t), o = e && e > 0;
|
|
4746
4750
|
return H(() => {
|
|
4747
4751
|
async function c() {
|
|
@@ -4754,7 +4758,7 @@ const Wa = (t) => {
|
|
|
4754
4758
|
}
|
|
4755
4759
|
c();
|
|
4756
4760
|
}, [t, t == null ? void 0 : t.ingredientId]), { calibrateVolume: e, canCalibrate: o, action: r, handleAction: s };
|
|
4757
|
-
},
|
|
4761
|
+
}, qa = () => {
|
|
4758
4762
|
const t = tr.type;
|
|
4759
4763
|
return Z({
|
|
4760
4764
|
modelId: t,
|
|
@@ -4764,17 +4768,17 @@ const Wa = (t) => {
|
|
|
4764
4768
|
};
|
|
4765
4769
|
function gl(t) {
|
|
4766
4770
|
return (e) => {
|
|
4767
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4771
|
+
const { model: n, status: r, KosModelLoader: s } = qa();
|
|
4768
4772
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, start: n }) });
|
|
4769
4773
|
};
|
|
4770
4774
|
}
|
|
4771
4775
|
const Ss = () => {
|
|
4772
|
-
const t =
|
|
4776
|
+
const t = mn.type, { getExtensions: e } = ct(), n = e(tt.id).map(
|
|
4773
4777
|
(s) => s.data
|
|
4774
4778
|
);
|
|
4775
4779
|
return Z({
|
|
4776
4780
|
modelId: t,
|
|
4777
|
-
modelType:
|
|
4781
|
+
modelType: mn.type,
|
|
4778
4782
|
options: {
|
|
4779
4783
|
definitions: n
|
|
4780
4784
|
}
|
|
@@ -4797,10 +4801,10 @@ const Ut = (t) => {
|
|
|
4797
4801
|
}
|
|
4798
4802
|
r();
|
|
4799
4803
|
}, [t]), e;
|
|
4800
|
-
},
|
|
4804
|
+
}, Ya = (t) => !t || t === "white", Ga = (t) => t ? void 0 : "white", Ja = (t) => {
|
|
4801
4805
|
if (!lo(t))
|
|
4802
4806
|
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 =
|
|
4807
|
+
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
4808
|
return {
|
|
4805
4809
|
backgroundColor: a,
|
|
4806
4810
|
fontColor: l,
|
|
@@ -4820,7 +4824,7 @@ const Ut = (t) => {
|
|
|
4820
4824
|
}), [e, n, t]), [r, o.length > 0 ? o[0] : void 0, o];
|
|
4821
4825
|
}, Ts = (t) => Z({
|
|
4822
4826
|
modelId: t,
|
|
4823
|
-
modelType:
|
|
4827
|
+
modelType: Ko.type,
|
|
4824
4828
|
options: {}
|
|
4825
4829
|
});
|
|
4826
4830
|
function bl(t) {
|
|
@@ -4843,23 +4847,23 @@ function wl(t) {
|
|
|
4843
4847
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, utilitiesContainer: n }) });
|
|
4844
4848
|
};
|
|
4845
4849
|
}
|
|
4846
|
-
const
|
|
4850
|
+
const Qa = po(
|
|
4847
4851
|
D(({ device: t }) => {
|
|
4848
4852
|
const { t: e } = I("dispenser-profile"), r = t.serialNumber === "unassigned" ? void 0 : t.serialNumber;
|
|
4849
4853
|
return /* @__PURE__ */ i(Le, { label: e("dispenser-serial"), value: r });
|
|
4850
4854
|
})
|
|
4851
|
-
), xl =
|
|
4855
|
+
), xl = oa(
|
|
4852
4856
|
D(({ dispenserInfo: t }) => {
|
|
4853
4857
|
const { t: e } = I("dispenser-profile");
|
|
4854
4858
|
return /* @__PURE__ */ f(N, { children: [
|
|
4855
4859
|
/* @__PURE__ */ i(
|
|
4856
|
-
|
|
4860
|
+
$i,
|
|
4857
4861
|
{
|
|
4858
4862
|
label: e("dispenser-name", "Dispenser Name"),
|
|
4859
4863
|
configProperty: t.name
|
|
4860
4864
|
}
|
|
4861
4865
|
),
|
|
4862
|
-
/* @__PURE__ */ i(
|
|
4866
|
+
/* @__PURE__ */ i(Qa, {})
|
|
4863
4867
|
] });
|
|
4864
4868
|
})
|
|
4865
4869
|
), _l = _s(
|
|
@@ -4881,7 +4885,7 @@ const Ja = mo(
|
|
|
4881
4885
|
}
|
|
4882
4886
|
),
|
|
4883
4887
|
/* @__PURE__ */ i(
|
|
4884
|
-
|
|
4888
|
+
Xi,
|
|
4885
4889
|
{
|
|
4886
4890
|
label: e("activate-and-reboot-time"),
|
|
4887
4891
|
configProperty: t.activateAndRebootTime
|
|
@@ -4893,32 +4897,32 @@ const Ja = mo(
|
|
|
4893
4897
|
color: var(--ddk-generic-color-grey-60);
|
|
4894
4898
|
font-size: var(--ddk-component-enjoy-by-font-size-small);
|
|
4895
4899
|
font-weight: var(--ddk-component-enjoy-by-font-weight-small);
|
|
4896
|
-
`,
|
|
4900
|
+
`, ec = S(Cn)`
|
|
4897
4901
|
color: var(--ddk-component-dashboard-enjoy-by-trouble-warning-color);
|
|
4898
|
-
`,
|
|
4902
|
+
`, tc = S(Es)`
|
|
4899
4903
|
color: var(--ddk-component-dashboard-enjoy-by-trouble-warning-color);
|
|
4900
4904
|
`, 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 } =
|
|
4905
|
+
const { t: n } = I("common"), { regionModel: r } = be(), s = !!t.enjoyByDate, o = t.enjoyByDate ?? /* @__PURE__ */ new Date(), { formattedDate: c } = mo({
|
|
4902
4906
|
year: o.getFullYear(),
|
|
4903
4907
|
month: o.getMonth(),
|
|
4904
4908
|
day: o.getDate(),
|
|
4905
4909
|
formatString: (r == null ? void 0 : r.selectedDateFormat) || ""
|
|
4906
|
-
}), a = t.hasEnjoyByWarning ? e === "small" ?
|
|
4910
|
+
}), a = t.hasEnjoyByWarning ? e === "small" ? tc : ec : e === "small" ? Es : Cn;
|
|
4907
4911
|
return s && /* @__PURE__ */ i(a, { children: n("enjoy-by", { data: { date: c } }) });
|
|
4908
|
-
},
|
|
4912
|
+
}, nc = ({ item: t, valueKey: e }) => {
|
|
4909
4913
|
const { t: n } = I("hardware-info"), { linked: r } = t;
|
|
4910
4914
|
if (e === "link.serialNum" && !r)
|
|
4911
4915
|
return /* @__PURE__ */ i(wo, { children: n("not-connected") });
|
|
4912
4916
|
const s = xo(t, e);
|
|
4913
4917
|
return s || "—";
|
|
4914
|
-
},
|
|
4918
|
+
}, rc = S(Vr)`
|
|
4915
4919
|
& ul {
|
|
4916
4920
|
list-style-type: none;
|
|
4917
4921
|
margin: 0;
|
|
4918
4922
|
padding: 0;
|
|
4919
4923
|
}
|
|
4920
4924
|
`, kl = D(() => {
|
|
4921
|
-
const { model: t } =
|
|
4925
|
+
const { model: t } = ei(), { t: e } = I("hardware-info"), n = (t == null ? void 0 : t.boardList.map((r) => {
|
|
4922
4926
|
var s, o, c;
|
|
4923
4927
|
return {
|
|
4924
4928
|
...r,
|
|
@@ -4929,9 +4933,9 @@ const Ja = mo(
|
|
|
4929
4933
|
};
|
|
4930
4934
|
})) || [];
|
|
4931
4935
|
return t && t.boardList && /* @__PURE__ */ i(
|
|
4932
|
-
|
|
4936
|
+
rc,
|
|
4933
4937
|
{
|
|
4934
|
-
CellRenderer:
|
|
4938
|
+
CellRenderer: nc,
|
|
4935
4939
|
data: n,
|
|
4936
4940
|
dataKeys: [
|
|
4937
4941
|
"name",
|
|
@@ -4972,24 +4976,24 @@ const Ja = mo(
|
|
|
4972
4976
|
),
|
|
4973
4977
|
[e]
|
|
4974
4978
|
);
|
|
4975
|
-
const
|
|
4979
|
+
const p = V(() => {
|
|
4976
4980
|
e && (t || e.isPouring || (e.performIntent("HOLD_TO_POUR"), d.current = setTimeout(() => {
|
|
4977
4981
|
l.current = !0, d.current = void 0, a("run");
|
|
4978
4982
|
}, u)));
|
|
4979
|
-
}, [t, e]),
|
|
4983
|
+
}, [t, e]), m = V(() => {
|
|
4980
4984
|
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
4985
|
}, [e]), v = V(() => {
|
|
4982
|
-
c !== "halt" &&
|
|
4983
|
-
}, [
|
|
4986
|
+
c !== "halt" && m();
|
|
4987
|
+
}, [m, c]);
|
|
4984
4988
|
return /* @__PURE__ */ i(
|
|
4985
4989
|
_o,
|
|
4986
4990
|
{
|
|
4987
4991
|
disabled: t,
|
|
4988
4992
|
mode: "primary",
|
|
4989
|
-
onPointerCancel:
|
|
4990
|
-
onPointerDown:
|
|
4993
|
+
onPointerCancel: m,
|
|
4994
|
+
onPointerDown: p,
|
|
4991
4995
|
onPointerOut: v,
|
|
4992
|
-
onPointerUp:
|
|
4996
|
+
onPointerUp: m,
|
|
4993
4997
|
...s,
|
|
4994
4998
|
state: c,
|
|
4995
4999
|
children: o(
|
|
@@ -5009,7 +5013,7 @@ const Ja = mo(
|
|
|
5009
5013
|
"useAnimationContext must be used within a AnimationProvider"
|
|
5010
5014
|
);
|
|
5011
5015
|
return t;
|
|
5012
|
-
}, Tl =
|
|
5016
|
+
}, Tl = na(
|
|
5013
5017
|
({
|
|
5014
5018
|
animation: t,
|
|
5015
5019
|
animationOverrides: e,
|
|
@@ -5019,12 +5023,12 @@ const Ja = mo(
|
|
|
5019
5023
|
}) => {
|
|
5020
5024
|
const [o, c] = T(!0), [a, d] = T(!0), [l, u] = T(!0);
|
|
5021
5025
|
return H(() => {
|
|
5022
|
-
const
|
|
5023
|
-
const
|
|
5024
|
-
c(
|
|
5026
|
+
const p = je(() => {
|
|
5027
|
+
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);
|
|
5028
|
+
c(m), d(v), u(y);
|
|
5025
5029
|
});
|
|
5026
5030
|
return () => {
|
|
5027
|
-
|
|
5031
|
+
p();
|
|
5028
5032
|
};
|
|
5029
5033
|
}, [
|
|
5030
5034
|
t,
|
|
@@ -5186,9 +5190,9 @@ const Ja = mo(
|
|
|
5186
5190
|
return t;
|
|
5187
5191
|
}, dt = (t) => {
|
|
5188
5192
|
const { model: e } = Rn(), [n, r] = T(), s = e == null ? void 0 : e.currentRole, o = !!n;
|
|
5189
|
-
return
|
|
5193
|
+
return Mo(() => {
|
|
5190
5194
|
const c = je(() => {
|
|
5191
|
-
const a = t.troubles.filter(
|
|
5195
|
+
const a = t.troubles.filter(Ho(s));
|
|
5192
5196
|
r((d) => {
|
|
5193
5197
|
const l = d ?? [];
|
|
5194
5198
|
return a.length !== l.length || a.some((u) => !l.includes(u)) ? a : l;
|
|
@@ -5210,17 +5214,17 @@ const Dr = S.div`
|
|
|
5210
5214
|
text-overflow: ellipsis;
|
|
5211
5215
|
width: 100%;
|
|
5212
5216
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5213
|
-
`,
|
|
5217
|
+
`, sc = S.div`
|
|
5214
5218
|
display: flex;
|
|
5215
5219
|
align-items: center;
|
|
5216
5220
|
justify-content: center;
|
|
5217
5221
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5218
5222
|
flex-wrap: nowrap;
|
|
5219
5223
|
white-space: nowrap;
|
|
5220
|
-
`,
|
|
5224
|
+
`, oc = S.div`
|
|
5221
5225
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5222
5226
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5223
|
-
`,
|
|
5227
|
+
`, 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
5228
|
({
|
|
5225
5229
|
holder: t,
|
|
5226
5230
|
onHolderSelect: e,
|
|
@@ -5228,7 +5232,7 @@ const Dr = S.div`
|
|
|
5228
5232
|
summaryBody: r,
|
|
5229
5233
|
altNamePolicy: s = "disable"
|
|
5230
5234
|
}) => {
|
|
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:
|
|
5235
|
+
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
5236
|
let y = !1;
|
|
5233
5237
|
const h = ce(
|
|
5234
5238
|
t,
|
|
@@ -5237,10 +5241,10 @@ const Dr = S.div`
|
|
|
5237
5241
|
h != null && h.isRemote && s === "disable" && (Us.warn("Holder is remote, skipping rendering"), y = !0);
|
|
5238
5242
|
const [P, E] = T(!1), x = !!t.ingredientId, X = V(() => {
|
|
5239
5243
|
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 =
|
|
5244
|
+
}, []), 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
5245
|
Yt,
|
|
5242
5246
|
" ",
|
|
5243
|
-
|
|
5247
|
+
mt
|
|
5244
5248
|
] }), Jt = x && Xe && !te && a ? r ?? /* @__PURE__ */ i(
|
|
5245
5249
|
Br,
|
|
5246
5250
|
{
|
|
@@ -5279,10 +5283,10 @@ const Dr = S.div`
|
|
|
5279
5283
|
Ae,
|
|
5280
5284
|
en
|
|
5281
5285
|
]
|
|
5282
|
-
), Xs = Zt(U), qs = /* @__PURE__ */ i(
|
|
5286
|
+
), Xs = Zt(U), qs = /* @__PURE__ */ i(oc, { color: te ? Ne : Xt, children: L && !R ? u("remote-nns-active") : te ? l(Xs.summary, {
|
|
5283
5287
|
context: U != null && U.deferred ? "queued" : void 0,
|
|
5284
5288
|
data: Ht
|
|
5285
|
-
}) : !
|
|
5289
|
+
}) : !m && /* @__PURE__ */ i(Ps, { size: "small", holder: t }) }), { holderExperience: Ys, setHolderExperience: Ln } = at(t), { future: yt } = _e(U), Gs = V(() => {
|
|
5286
5290
|
y || t.sortedPumps.length <= 0 || (d === "technician" ? E(!0) : t.unassigned || t.removed ? Ln("rfid-override") : te && (e == null || e(t)));
|
|
5287
5291
|
}, [
|
|
5288
5292
|
y,
|
|
@@ -5296,7 +5300,7 @@ const Dr = S.div`
|
|
|
5296
5300
|
/* @__PURE__ */ f(
|
|
5297
5301
|
Ze,
|
|
5298
5302
|
{
|
|
5299
|
-
contain: !
|
|
5303
|
+
contain: !m,
|
|
5300
5304
|
...Hs,
|
|
5301
5305
|
show: P,
|
|
5302
5306
|
onClose: X,
|
|
@@ -5304,11 +5308,11 @@ const Dr = S.div`
|
|
|
5304
5308
|
/* @__PURE__ */ i(
|
|
5305
5309
|
Ue,
|
|
5306
5310
|
{
|
|
5307
|
-
contain:
|
|
5311
|
+
contain: m,
|
|
5308
5312
|
showCloseButton: !0,
|
|
5309
5313
|
title: Gt,
|
|
5310
5314
|
onClose: X,
|
|
5311
|
-
CloseButton:
|
|
5315
|
+
CloseButton: m ? nt : void 0
|
|
5312
5316
|
}
|
|
5313
5317
|
),
|
|
5314
5318
|
Ws
|
|
@@ -5355,10 +5359,10 @@ const Dr = S.div`
|
|
|
5355
5359
|
height: 100%;
|
|
5356
5360
|
user-select: none;
|
|
5357
5361
|
overflow: visible;
|
|
5358
|
-
`,
|
|
5362
|
+
`, lc = D(({ holder: t, showNavIcons: e }) => {
|
|
5359
5363
|
const n = t.troubles[0];
|
|
5360
5364
|
return /* @__PURE__ */ i(
|
|
5361
|
-
|
|
5365
|
+
dc,
|
|
5362
5366
|
{
|
|
5363
5367
|
holder: t,
|
|
5364
5368
|
showNavIcon: e,
|
|
@@ -5372,7 +5376,7 @@ const Dr = S.div`
|
|
|
5372
5376
|
({ holders: t, showNavIcons: e, ...n }) => {
|
|
5373
5377
|
const r = F(
|
|
5374
5378
|
() => t.map((s) => /* @__PURE__ */ i(
|
|
5375
|
-
|
|
5379
|
+
lc,
|
|
5376
5380
|
{
|
|
5377
5381
|
holder: s,
|
|
5378
5382
|
showNavIcons: !!e
|
|
@@ -5383,9 +5387,9 @@ const Dr = S.div`
|
|
|
5383
5387
|
);
|
|
5384
5388
|
return /* @__PURE__ */ i(Ks, { ...n, children: r });
|
|
5385
5389
|
}
|
|
5386
|
-
),
|
|
5387
|
-
|
|
5388
|
-
const
|
|
5390
|
+
), uc = W.createLogger({ name: "holder-group-view" });
|
|
5391
|
+
uc.debug("holder-group-view component loaded");
|
|
5392
|
+
const pc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
5389
5393
|
display: flex;
|
|
5390
5394
|
flex-direction: column;
|
|
5391
5395
|
overflow-y: auto;
|
|
@@ -5402,18 +5406,18 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5402
5406
|
text-overflow: ellipsis;
|
|
5403
5407
|
width: 100%;
|
|
5404
5408
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5405
|
-
`,
|
|
5409
|
+
`, hc = S.div`
|
|
5406
5410
|
display: flex;
|
|
5407
5411
|
align-items: center;
|
|
5408
5412
|
justify-content: center;
|
|
5409
5413
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5410
|
-
`,
|
|
5414
|
+
`, fc = S.div`
|
|
5411
5415
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5412
5416
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5413
|
-
`,
|
|
5414
|
-
const s = r(`common:macros.${t.name}`), o =
|
|
5417
|
+
`, gc = (t, e, n, r) => {
|
|
5418
|
+
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
5419
|
return { titleText: a, cardTitleText: d };
|
|
5416
|
-
},
|
|
5420
|
+
}, yc = D(
|
|
5417
5421
|
({ holder: t, dashboardKey: e, fallbackStatus: n }) => {
|
|
5418
5422
|
const { getExtensions: r } = ct(), s = r(Dt.id), o = (d) => s.find((l) => {
|
|
5419
5423
|
const u = l.data;
|
|
@@ -5421,7 +5425,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5421
5425
|
}), c = o(t.name) ?? o(e), a = Sn(Dt);
|
|
5422
5426
|
return c && a ? /* @__PURE__ */ i(a, { module: c.id, holder: t }) : /* @__PURE__ */ i(Ke, { size: "small", status: n });
|
|
5423
5427
|
}
|
|
5424
|
-
),
|
|
5428
|
+
), vc = (t) => !t || t === "white", bc = (t) => t ? void 0 : "white", wc = D(
|
|
5425
5429
|
({
|
|
5426
5430
|
holder: t,
|
|
5427
5431
|
onHolderSelect: e,
|
|
@@ -5429,32 +5433,32 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5429
5433
|
summaryBody: r
|
|
5430
5434
|
}) => {
|
|
5431
5435
|
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(),
|
|
5436
|
+
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
5437
|
t.name,
|
|
5434
5438
|
d === "compact"
|
|
5435
|
-
), { titleText: oe, cardTitleText: U } =
|
|
5439
|
+
), { titleText: oe, cardTitleText: U } = gc(
|
|
5436
5440
|
t,
|
|
5437
5441
|
y,
|
|
5438
5442
|
l,
|
|
5439
5443
|
a
|
|
5440
|
-
), te = d === "compact" && /* @__PURE__ */ i(
|
|
5444
|
+
), 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
5445
|
const gt = Oe.data;
|
|
5442
5446
|
return ke[gt.dashboardKey] = Oe.data, ke;
|
|
5443
|
-
}, {}), ut = !!lt[De], { HolderContent: Ne, modalOptions: Xt } = ys(t),
|
|
5447
|
+
}, {}), ut = !!lt[De], { HolderContent: Ne, modalOptions: Xt } = ys(t), pt = Sn(
|
|
5444
5448
|
ze
|
|
5445
|
-
),
|
|
5446
|
-
|
|
5449
|
+
), mt = r ?? /* @__PURE__ */ i(
|
|
5450
|
+
yc,
|
|
5447
5451
|
{
|
|
5448
5452
|
holder: t,
|
|
5449
5453
|
dashboardKey: De,
|
|
5450
5454
|
fallbackStatus: L ? "pending" : "completed"
|
|
5451
5455
|
}
|
|
5452
|
-
), ht = Ne ? /* @__PURE__ */ i(Ne, { holder: t, onComplete: () => v(!1) }) : ut &&
|
|
5456
|
+
), 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
5457
|
context: _ != null && _.deferred ? "queued" : void 0,
|
|
5454
5458
|
data: Yt
|
|
5455
5459
|
}) }) : null, Jt = V(() => {
|
|
5456
|
-
t.sortedPumps.length > 0 && (
|
|
5457
|
-
}, [L, t, e,
|
|
5460
|
+
t.sortedPumps.length > 0 && (p === "technician" ? v(!0) : L && (e == null || e(t)));
|
|
5461
|
+
}, [L, t, e, p]);
|
|
5458
5462
|
return /* @__PURE__ */ f(N, { children: [
|
|
5459
5463
|
/* @__PURE__ */ i(
|
|
5460
5464
|
Mr,
|
|
@@ -5462,7 +5466,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5462
5466
|
avatar: te,
|
|
5463
5467
|
headerBackgroundColor: P,
|
|
5464
5468
|
backgroundColor: R,
|
|
5465
|
-
body: L ? null :
|
|
5469
|
+
body: L ? null : mt,
|
|
5466
5470
|
footer: Gt,
|
|
5467
5471
|
cardId: t.path,
|
|
5468
5472
|
errors: h,
|
|
@@ -5477,7 +5481,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5477
5481
|
{
|
|
5478
5482
|
contain: d !== "compact",
|
|
5479
5483
|
...Xt,
|
|
5480
|
-
show:
|
|
5484
|
+
show: m,
|
|
5481
5485
|
onClose: () => v(!1),
|
|
5482
5486
|
children: /* @__PURE__ */ f(mc, { children: [
|
|
5483
5487
|
/* @__PURE__ */ i(
|
|
@@ -5501,7 +5505,7 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5501
5505
|
({ holders: t, showNavIcons: e, ...n }) => /* @__PURE__ */ i(Ks, { ...n, children: t.map((r) => {
|
|
5502
5506
|
const s = r.troubles[0];
|
|
5503
5507
|
return /* @__PURE__ */ i(
|
|
5504
|
-
|
|
5508
|
+
wc,
|
|
5505
5509
|
{
|
|
5506
5510
|
holder: r,
|
|
5507
5511
|
showNavIcon: e,
|
|
@@ -5512,17 +5516,17 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5512
5516
|
r.id
|
|
5513
5517
|
);
|
|
5514
5518
|
}) })
|
|
5515
|
-
),
|
|
5519
|
+
), xc = S(Yo)`
|
|
5516
5520
|
width: var(--ddk-component-macro-card-unavailable-icon-size);
|
|
5517
5521
|
height: var(--ddk-component-macro-card-unavailable-icon-size);
|
|
5518
|
-
`,
|
|
5522
|
+
`, _c = S(zr)`
|
|
5519
5523
|
text-align: center;
|
|
5520
5524
|
font-size: var(--ddk-component-sub-modal-heading-font-size-medium);
|
|
5521
|
-
`,
|
|
5525
|
+
`, kc = S.div`
|
|
5522
5526
|
height: 100%;
|
|
5523
5527
|
overflow-y: auto;
|
|
5524
5528
|
width: 100%;
|
|
5525
|
-
`,
|
|
5529
|
+
`, Cc = S.div`
|
|
5526
5530
|
display: grid;
|
|
5527
5531
|
gap: var(--ddk-component-macro-setup-card-gap);
|
|
5528
5532
|
|
|
@@ -5532,16 +5536,16 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5532
5536
|
justify-content: center;
|
|
5533
5537
|
width: 100%;
|
|
5534
5538
|
user-select: none;
|
|
5535
|
-
`,
|
|
5539
|
+
`, Sc = (t) => {
|
|
5536
5540
|
const { componentModeOverride: e } = J();
|
|
5537
5541
|
return /* @__PURE__ */ i(
|
|
5538
|
-
|
|
5542
|
+
Cc,
|
|
5539
5543
|
{
|
|
5540
5544
|
compact: e === "compact",
|
|
5541
5545
|
...t
|
|
5542
5546
|
}
|
|
5543
5547
|
);
|
|
5544
|
-
},
|
|
5548
|
+
}, Tc = S.div`
|
|
5545
5549
|
align-items: center;
|
|
5546
5550
|
|
|
5547
5551
|
background: ${(t) => t.selected ? "var(--ddk-generic-color-grey-5)" : "var(--ddk-generic-color-white)"};
|
|
@@ -5564,18 +5568,18 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5564
5568
|
overflow-wrap: anywhere;
|
|
5565
5569
|
padding: var(--ddk-component-macro-setup-card-header-padding-md);
|
|
5566
5570
|
text-align: center;
|
|
5567
|
-
`,
|
|
5571
|
+
`, Ic = S.div`
|
|
5568
5572
|
align-items: center;
|
|
5569
5573
|
display: flex;
|
|
5570
5574
|
flex-direction: column;
|
|
5571
5575
|
gap: 32px;
|
|
5572
5576
|
height: 100%;
|
|
5573
5577
|
justify-content: center;
|
|
5574
|
-
`,
|
|
5578
|
+
`, Ec = S.div`
|
|
5575
5579
|
color: var(--ddk-component-macro-card-unavailable-font-color);
|
|
5576
5580
|
font-size: var(--ddk-component-macro-card-unavailable-font-size);
|
|
5577
5581
|
font-weight: var(--ddk-component-macro-card-unavailable-font-weight);
|
|
5578
|
-
`, $n =
|
|
5582
|
+
`, $n = Va(({ holder: t, onComplete: e, macroAssignment: n, showCloseButton: r = !0 }) => {
|
|
5579
5583
|
const { t: s } = I("setup"), { t: o } = I("common"), { componentModeOverride: c } = J(), [a, d] = T(t.ingredient), l = S.div`
|
|
5580
5584
|
display: flex;
|
|
5581
5585
|
flex-direction: column;
|
|
@@ -5584,11 +5588,11 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5584
5588
|
`;
|
|
5585
5589
|
return /* @__PURE__ */ f(l, { children: [
|
|
5586
5590
|
/* @__PURE__ */ i(se, { children: n.hasMacroIngredients ? /* @__PURE__ */ f(N, { children: [
|
|
5587
|
-
c === "standard" && /* @__PURE__ */ i(
|
|
5591
|
+
c === "standard" && /* @__PURE__ */ i(_c, { children: s("select-and-assign-ingredients-for", {
|
|
5588
5592
|
data: { name: o(`macros.${t.name}`) }
|
|
5589
5593
|
}) }),
|
|
5590
|
-
/* @__PURE__ */ i(
|
|
5591
|
-
|
|
5594
|
+
/* @__PURE__ */ i(kc, { children: /* @__PURE__ */ i(Sc, { children: n.macroIngredients.map((u) => /* @__PURE__ */ i(
|
|
5595
|
+
Tc,
|
|
5592
5596
|
{
|
|
5593
5597
|
selected: (a == null ? void 0 : a.id) === u.id,
|
|
5594
5598
|
onPointerDown: () => {
|
|
@@ -5598,9 +5602,9 @@ const uc = ["water", "carb", "ns", "nns"], mc = S.div`
|
|
|
5598
5602
|
},
|
|
5599
5603
|
u.id
|
|
5600
5604
|
)) }) })
|
|
5601
|
-
] }) : /* @__PURE__ */ f(
|
|
5602
|
-
/* @__PURE__ */ i(
|
|
5603
|
-
/* @__PURE__ */ i(
|
|
5605
|
+
] }) : /* @__PURE__ */ f(Ic, { children: [
|
|
5606
|
+
/* @__PURE__ */ i(xc, {}),
|
|
5607
|
+
/* @__PURE__ */ i(Ec, { children: s("no-ingredients-available-for-assignment") })
|
|
5604
5608
|
] }) }),
|
|
5605
5609
|
/* @__PURE__ */ i(Q, { children: n.hasMacroIngredients ? /* @__PURE__ */ f(N, { children: [
|
|
5606
5610
|
c === "standard" && r && /* @__PURE__ */ i(
|
|
@@ -5721,7 +5725,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5721
5725
|
}
|
|
5722
5726
|
)
|
|
5723
5727
|
] });
|
|
5724
|
-
}),
|
|
5728
|
+
}), Pc = S.div`
|
|
5725
5729
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5726
5730
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5727
5731
|
`, tu = D((t) => {
|
|
@@ -5730,7 +5734,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5730
5734
|
return /* @__PURE__ */ f(N, { children: [
|
|
5731
5735
|
/* @__PURE__ */ i(Ke, { size: "small", status: "completed" }),
|
|
5732
5736
|
/* @__PURE__ */ i(
|
|
5733
|
-
|
|
5737
|
+
Pc,
|
|
5734
5738
|
{
|
|
5735
5739
|
style: {
|
|
5736
5740
|
visibility: t.cardModel.isAgitating ? "visible" : "hidden"
|
|
@@ -5744,23 +5748,23 @@ ${e("agitator:agitate-after-without", {
|
|
|
5744
5748
|
flex-direction: column;
|
|
5745
5749
|
gap: 24px;
|
|
5746
5750
|
padding: 24px;
|
|
5747
|
-
`, ru =
|
|
5751
|
+
`, ru = ti(
|
|
5748
5752
|
({ assembly: t, showHeading: e }) => /* @__PURE__ */ i(
|
|
5749
|
-
|
|
5753
|
+
Dc,
|
|
5750
5754
|
{
|
|
5751
5755
|
iceAgitator: t.iceAgitator,
|
|
5752
5756
|
showHeading: e
|
|
5753
5757
|
}
|
|
5754
5758
|
)
|
|
5755
|
-
),
|
|
5759
|
+
), Dc = D(
|
|
5756
5760
|
({ iceAgitator: t, showHeading: e }) => {
|
|
5757
|
-
const { t: n } = I("about"), r =
|
|
5761
|
+
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
5762
|
(t == null ? void 0 : t.type.value) !== void 0 && (t == null || t.updateIceType(t.type.value));
|
|
5759
5763
|
}, [t]);
|
|
5760
5764
|
return t ? /* @__PURE__ */ f(rt, { children: [
|
|
5761
5765
|
e && /* @__PURE__ */ i(st, { children: n("ice-settings", "Ice Settings") }),
|
|
5762
5766
|
s === "compact" ? /* @__PURE__ */ i(
|
|
5763
|
-
|
|
5767
|
+
Hi,
|
|
5764
5768
|
{
|
|
5765
5769
|
configProperty: t.type,
|
|
5766
5770
|
onChange: (a) => t.updateIceType(a),
|
|
@@ -5801,7 +5805,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5801
5805
|
] }) : "Ice model not loaded...";
|
|
5802
5806
|
}
|
|
5803
5807
|
), su = D(({ showHeading: t }) => {
|
|
5804
|
-
var u,
|
|
5808
|
+
var u, p, m, v, y;
|
|
5805
5809
|
const { t: e } = I("region"), { allLocales: n } = ho(), { model: r } = On(), { regionModel: s } = be(), o = V(
|
|
5806
5810
|
(h) => ({
|
|
5807
5811
|
id: h,
|
|
@@ -5832,7 +5836,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5832
5836
|
xt,
|
|
5833
5837
|
{
|
|
5834
5838
|
label: e("units-of-measurement", "Units of Measurement"),
|
|
5835
|
-
options: (
|
|
5839
|
+
options: (p = s == null ? void 0 : s.unitSystemOptions) == null ? void 0 : p.map((h) => ({
|
|
5836
5840
|
id: h.id,
|
|
5837
5841
|
label: `${e(`locale.unit.${h.id}`)}/${e(
|
|
5838
5842
|
`locale.units.${h.id}`
|
|
@@ -5847,7 +5851,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5847
5851
|
{
|
|
5848
5852
|
cancelButtonLabel: e("discard-changes", "Discard Changes") || void 0,
|
|
5849
5853
|
closeButtonLabel: e("close", "Close") || void 0,
|
|
5850
|
-
displayValue: c[((
|
|
5854
|
+
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
5855
|
items: n == null ? void 0 : n.map(({ locale: h, label: _ }) => ({
|
|
5852
5856
|
id: h,
|
|
5853
5857
|
label: _
|
|
@@ -5899,17 +5903,17 @@ S.div`
|
|
|
5899
5903
|
justify-content: flex-end;
|
|
5900
5904
|
}
|
|
5901
5905
|
`;
|
|
5902
|
-
const
|
|
5906
|
+
const Nc = S.div`
|
|
5903
5907
|
display: flex;
|
|
5904
5908
|
align-items: center;
|
|
5905
5909
|
justify-content: flex-end;
|
|
5906
|
-
`,
|
|
5910
|
+
`, Ac = ({ item: t, valueKey: e }) => {
|
|
5907
5911
|
const { label: n, value: r } = t;
|
|
5908
5912
|
if (e === "label")
|
|
5909
5913
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("b", { children: n }) });
|
|
5910
5914
|
if (e === "value")
|
|
5911
|
-
return /* @__PURE__ */ i(
|
|
5912
|
-
},
|
|
5915
|
+
return /* @__PURE__ */ i(Nc, { children: r });
|
|
5916
|
+
}, Oc = ({
|
|
5913
5917
|
groupName: t,
|
|
5914
5918
|
networkTestContainer: e
|
|
5915
5919
|
}) => {
|
|
@@ -5923,7 +5927,7 @@ const Dc = S.div`
|
|
|
5923
5927
|
return o ? /* @__PURE__ */ i(
|
|
5924
5928
|
Vr,
|
|
5925
5929
|
{
|
|
5926
|
-
CellRenderer:
|
|
5930
|
+
CellRenderer: Ac,
|
|
5927
5931
|
data: c,
|
|
5928
5932
|
dataKeys: ["label", "value"],
|
|
5929
5933
|
heading: s.name
|
|
@@ -5941,9 +5945,9 @@ const Dc = S.div`
|
|
|
5941
5945
|
s.id
|
|
5942
5946
|
);
|
|
5943
5947
|
})) || [];
|
|
5944
|
-
}, ou =
|
|
5945
|
-
|
|
5946
|
-
),
|
|
5948
|
+
}, ou = Fa(
|
|
5949
|
+
Oc
|
|
5950
|
+
), Rc = S.div`
|
|
5947
5951
|
background-color: var(--ddk-generic-color-grey-80);
|
|
5948
5952
|
color: var(--ddk-generic-color-grey-5);
|
|
5949
5953
|
border-radius: 5px;
|
|
@@ -5952,9 +5956,9 @@ const Dc = S.div`
|
|
|
5952
5956
|
align-items: center;
|
|
5953
5957
|
justify-content: center;
|
|
5954
5958
|
font-size: var(--ddk-generic-font-size-xx-small);
|
|
5955
|
-
`,
|
|
5959
|
+
`, $c = D(({ showAction: t = !0, trouble: e, showHolder: n }) => {
|
|
5956
5960
|
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:
|
|
5961
|
+
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
5962
|
return /* @__PURE__ */ f(N, { children: [
|
|
5959
5963
|
/* @__PURE__ */ i(
|
|
5960
5964
|
To,
|
|
@@ -5963,21 +5967,21 @@ const Dc = S.div`
|
|
|
5963
5967
|
indicatorColor: v,
|
|
5964
5968
|
buttonLabel: t ? h ? "Queued" : y ? "Queue" : r(a, { context: o, defaultValue: "" }) : void 0,
|
|
5965
5969
|
date: e.createTime,
|
|
5966
|
-
prefix: n ?
|
|
5970
|
+
prefix: n ? m : void 0,
|
|
5967
5971
|
onAction: t && u && !h ? () => {
|
|
5968
5972
|
e.resolve();
|
|
5969
5973
|
} : void 0
|
|
5970
5974
|
}
|
|
5971
5975
|
),
|
|
5972
|
-
|
|
5976
|
+
p && /* @__PURE__ */ i(
|
|
5973
5977
|
q,
|
|
5974
5978
|
{
|
|
5975
5979
|
title: r(l, { context: o }),
|
|
5976
|
-
future: h ? void 0 :
|
|
5980
|
+
future: h ? void 0 : p,
|
|
5977
5981
|
failureMessage: r(`troubles.${e.type}.error`, {
|
|
5978
|
-
context:
|
|
5982
|
+
context: p != null && p.reason ? "reason" : void 0,
|
|
5979
5983
|
data: {
|
|
5980
|
-
reason:
|
|
5984
|
+
reason: p != null && p.reason ? `__troubles.errors.${p == null ? void 0 : p.reason}__` : void 0
|
|
5981
5985
|
}
|
|
5982
5986
|
})
|
|
5983
5987
|
}
|
|
@@ -5989,8 +5993,8 @@ const Dc = S.div`
|
|
|
5989
5993
|
tabs: n,
|
|
5990
5994
|
...r
|
|
5991
5995
|
}) => {
|
|
5992
|
-
const { getExtensions: s } = Yr(), o = s(t), c = s(e).reduce((
|
|
5993
|
-
const
|
|
5996
|
+
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) => {
|
|
5997
|
+
const m = p.data, v = [...m.settings].map((y) => {
|
|
5994
5998
|
const h = c[y], _ = h.data;
|
|
5995
5999
|
return /* @__PURE__ */ f(rt, { children: [
|
|
5996
6000
|
/* @__PURE__ */ i(st, { children: d(`${_.namespace}:${_.title}`) }),
|
|
@@ -6004,19 +6008,19 @@ const Dc = S.div`
|
|
|
6004
6008
|
] }, h.id);
|
|
6005
6009
|
});
|
|
6006
6010
|
return {
|
|
6007
|
-
id:
|
|
6008
|
-
label: d(`${
|
|
6011
|
+
id: p.id,
|
|
6012
|
+
label: d(`${m.namespace}:${m.title}`),
|
|
6009
6013
|
content: /* @__PURE__ */ i(Io, { children: v })
|
|
6010
6014
|
};
|
|
6011
6015
|
}), u = [...n, ...l];
|
|
6012
6016
|
return /* @__PURE__ */ i(Eo, { ...r, tabs: u });
|
|
6013
6017
|
}, Kt = D(
|
|
6014
6018
|
({ 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,
|
|
6019
|
+
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
6020
|
(L) => {
|
|
6017
|
-
|
|
6021
|
+
m ? p == null || p.resolve() : h(L);
|
|
6018
6022
|
},
|
|
6019
|
-
[h,
|
|
6023
|
+
[h, m, p]
|
|
6020
6024
|
);
|
|
6021
6025
|
return a && o && r ? /* @__PURE__ */ f(N, { children: [
|
|
6022
6026
|
d ? /* @__PURE__ */ i(
|
|
@@ -6053,7 +6057,7 @@ const Dc = S.div`
|
|
|
6053
6057
|
}) => {
|
|
6054
6058
|
const { componentModeOverride: n } = J(), r = n === "standard", { visibleTroubles: s, initialized: o } = dt(t), c = e ? s == null ? void 0 : s.filter(e) : s;
|
|
6055
6059
|
return ((c == null ? void 0 : c.length) ?? 0) > 0 && o && (s == null ? void 0 : s.map((l) => /* @__PURE__ */ i(
|
|
6056
|
-
|
|
6060
|
+
$c,
|
|
6057
6061
|
{
|
|
6058
6062
|
showAction: r,
|
|
6059
6063
|
trouble: l
|
|
@@ -6072,11 +6076,11 @@ const Dc = S.div`
|
|
|
6072
6076
|
}
|
|
6073
6077
|
y();
|
|
6074
6078
|
}, [t, t.ingredientId]);
|
|
6075
|
-
const c = t.ingredientId !== void 0, a = s && s > 0, { holderExperience: d, setHolderExperience: l, currentExperienceId: u } = at(t),
|
|
6076
|
-
return
|
|
6079
|
+
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);
|
|
6080
|
+
return p ? /* @__PURE__ */ f(N, { children: [
|
|
6077
6081
|
/* @__PURE__ */ f(se, { contain: !0, children: [
|
|
6078
6082
|
/* @__PURE__ */ i(Ee, { holder: t }),
|
|
6079
|
-
/* @__PURE__ */ i(
|
|
6083
|
+
/* @__PURE__ */ i(Lc, { children: /* @__PURE__ */ i(ns, { probeAware: v }) })
|
|
6080
6084
|
] }),
|
|
6081
6085
|
/* @__PURE__ */ f(Q, { children: [
|
|
6082
6086
|
/* @__PURE__ */ i(
|
|
@@ -6099,7 +6103,7 @@ const Dc = S.div`
|
|
|
6099
6103
|
n && /* @__PURE__ */ i(q, { ...n })
|
|
6100
6104
|
] }) : /* @__PURE__ */ i($n, { showCloseButton: !1, holder: t });
|
|
6101
6105
|
}
|
|
6102
|
-
),
|
|
6106
|
+
), Lc = S.div`
|
|
6103
6107
|
width: 100%;
|
|
6104
6108
|
height: 100%;
|
|
6105
6109
|
display: flex;
|
|
@@ -6110,13 +6114,13 @@ const Dc = S.div`
|
|
|
6110
6114
|
({ holder: t }) => {
|
|
6111
6115
|
const { t: e } = I("common"), [n, r] = He(t), [s, o] = T();
|
|
6112
6116
|
H(() => {
|
|
6113
|
-
async function
|
|
6117
|
+
async function m() {
|
|
6114
6118
|
if (t.ingredientId !== void 0) {
|
|
6115
6119
|
const v = await t.resolveIntentVolume("CALIBRATE");
|
|
6116
6120
|
o(Math.round(v.volume));
|
|
6117
6121
|
}
|
|
6118
6122
|
}
|
|
6119
|
-
|
|
6123
|
+
m();
|
|
6120
6124
|
}, [t, t.ingredientId]);
|
|
6121
6125
|
const c = t.ingredientId !== void 0, a = s && s > 0, { holderExperience: d, setHolderExperience: l, currentExperienceId: u } = at(t);
|
|
6122
6126
|
return c || u === "replace-line" ? /* @__PURE__ */ f(N, { children: [
|
|
@@ -6176,31 +6180,31 @@ const Dc = S.div`
|
|
|
6176
6180
|
n && /* @__PURE__ */ i(q, { ...n })
|
|
6177
6181
|
] }) : /* @__PURE__ */ i($n, { showCloseButton: !1, holder: t });
|
|
6178
6182
|
}
|
|
6179
|
-
),
|
|
6183
|
+
), Vc = S.div`
|
|
6180
6184
|
display: flex;
|
|
6181
6185
|
flex-direction: column;
|
|
6182
6186
|
gap: var(--ddk-component-super-pump-container-gap);
|
|
6183
|
-
`,
|
|
6187
|
+
`, Fc = S.div`
|
|
6184
6188
|
display: flex;
|
|
6185
6189
|
flex-direction: column;
|
|
6186
6190
|
gap: var(--ddk-component-cartridge-container-gap);
|
|
6187
|
-
`,
|
|
6188
|
-
const e =
|
|
6191
|
+
`, Mc = D(({ holder: t }) => {
|
|
6192
|
+
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
6193
|
t,
|
|
6190
6194
|
Xr.type
|
|
6191
|
-
), l = !!(d != null && d.agitated), { holderExperience: u, setHolderExperience:
|
|
6195
|
+
), l = !!(d != null && d.agitated), { holderExperience: u, setHolderExperience: p } = at(
|
|
6192
6196
|
t,
|
|
6193
6197
|
a
|
|
6194
|
-
), { calibrateVolume:
|
|
6198
|
+
), { calibrateVolume: m, canCalibrate: v, action: y, handleAction: h } = Xa(a), _ = V((x) => {
|
|
6195
6199
|
s(x.id);
|
|
6196
6200
|
}, []), L = t.hasFuelGuage, R = t.fillPercent, { future: P } = _e(o), E = V(
|
|
6197
6201
|
(x) => x.data.pumpPath === (a == null ? void 0 : a.path),
|
|
6198
6202
|
[a == null ? void 0 : a.path]
|
|
6199
6203
|
);
|
|
6200
6204
|
return /* @__PURE__ */ f(N, { children: [
|
|
6201
|
-
/* @__PURE__ */ f(
|
|
6205
|
+
/* @__PURE__ */ f(Vc, { children: [
|
|
6202
6206
|
/* @__PURE__ */ f(se, { contain: !0, children: [
|
|
6203
|
-
c && L && /* @__PURE__ */ f(
|
|
6207
|
+
c && L && /* @__PURE__ */ f(Fc, { children: [
|
|
6204
6208
|
/* @__PURE__ */ i(
|
|
6205
6209
|
Br,
|
|
6206
6210
|
{
|
|
@@ -6244,14 +6248,14 @@ const Dc = S.div`
|
|
|
6244
6248
|
/* @__PURE__ */ i(
|
|
6245
6249
|
w,
|
|
6246
6250
|
{
|
|
6247
|
-
onPointerDown: () =>
|
|
6251
|
+
onPointerDown: () => p("replace-pump"),
|
|
6248
6252
|
children: n("replace-pump")
|
|
6249
6253
|
}
|
|
6250
6254
|
),
|
|
6251
6255
|
/* @__PURE__ */ i(
|
|
6252
6256
|
w,
|
|
6253
6257
|
{
|
|
6254
|
-
onPointerDown: () =>
|
|
6258
|
+
onPointerDown: () => p("calibrateSPM"),
|
|
6255
6259
|
children: n("calibrate")
|
|
6256
6260
|
}
|
|
6257
6261
|
),
|
|
@@ -6262,7 +6266,7 @@ const Dc = S.div`
|
|
|
6262
6266
|
onPointerDown: () => h("calibrate"),
|
|
6263
6267
|
children: n("intentPour", {
|
|
6264
6268
|
data: {
|
|
6265
|
-
volume:
|
|
6269
|
+
volume: m
|
|
6266
6270
|
}
|
|
6267
6271
|
})
|
|
6268
6272
|
}
|
|
@@ -6271,14 +6275,14 @@ const Dc = S.div`
|
|
|
6271
6275
|
!c && /* @__PURE__ */ i(
|
|
6272
6276
|
w,
|
|
6273
6277
|
{
|
|
6274
|
-
onPointerDown: () =>
|
|
6278
|
+
onPointerDown: () => p("rfid-override"),
|
|
6275
6279
|
children: n("rfid-override")
|
|
6276
6280
|
}
|
|
6277
6281
|
),
|
|
6278
6282
|
/* @__PURE__ */ i(
|
|
6279
6283
|
w,
|
|
6280
6284
|
{
|
|
6281
|
-
onPointerDown: () =>
|
|
6285
|
+
onPointerDown: () => p("replace-line"),
|
|
6282
6286
|
children: n("replace-line")
|
|
6283
6287
|
}
|
|
6284
6288
|
),
|
|
@@ -6327,25 +6331,25 @@ const Dc = S.div`
|
|
|
6327
6331
|
n && /* @__PURE__ */ i(q, { ...n })
|
|
6328
6332
|
] });
|
|
6329
6333
|
}
|
|
6330
|
-
),
|
|
6334
|
+
), Bc = S.section`
|
|
6331
6335
|
align-items: center;
|
|
6332
6336
|
display: flex;
|
|
6333
6337
|
flex-direction: column;
|
|
6334
6338
|
gap: 32px;
|
|
6335
6339
|
height: 100%;
|
|
6336
6340
|
justify-content: space-between;
|
|
6337
|
-
`,
|
|
6341
|
+
`, zc = S.div`
|
|
6338
6342
|
display: flex;
|
|
6339
6343
|
gap: 32px;
|
|
6340
6344
|
flex-direction: column;
|
|
6341
6345
|
align-items: center;
|
|
6342
6346
|
padding: 32px;
|
|
6343
|
-
`,
|
|
6347
|
+
`, jc = S.div`
|
|
6344
6348
|
display: flex;
|
|
6345
6349
|
flex-direction: column;
|
|
6346
6350
|
gap: 12px;
|
|
6347
6351
|
text-align: center;
|
|
6348
|
-
`,
|
|
6352
|
+
`, pu = ({ onComplete: t }) => {
|
|
6349
6353
|
const { t: e } = I("reboot"), [n, r] = T(!1), { model: s } = An(), { componentModeOverride: o } = J();
|
|
6350
6354
|
return /* @__PURE__ */ f(
|
|
6351
6355
|
Ze,
|
|
@@ -6364,10 +6368,10 @@ const Dc = S.div`
|
|
|
6364
6368
|
CloseButton: Do
|
|
6365
6369
|
}
|
|
6366
6370
|
),
|
|
6367
|
-
/* @__PURE__ */ f(
|
|
6368
|
-
/* @__PURE__ */ f(
|
|
6371
|
+
/* @__PURE__ */ f(Bc, { children: [
|
|
6372
|
+
/* @__PURE__ */ f(zc, { children: [
|
|
6369
6373
|
/* @__PURE__ */ i(No, {}),
|
|
6370
|
-
/* @__PURE__ */ i(
|
|
6374
|
+
/* @__PURE__ */ i(jc, { children: /* @__PURE__ */ i(zr, { children: e("modal-heading", "Are you sure you want to reboot dispenser?") }) })
|
|
6371
6375
|
] }),
|
|
6372
6376
|
/* @__PURE__ */ i(
|
|
6373
6377
|
Ao,
|
|
@@ -6384,9 +6388,9 @@ const Dc = S.div`
|
|
|
6384
6388
|
);
|
|
6385
6389
|
}, qe = S(z)`
|
|
6386
6390
|
text-align: center;
|
|
6387
|
-
`,
|
|
6391
|
+
`, mu = D(
|
|
6388
6392
|
({ 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),
|
|
6393
|
+
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
6394
|
const P = o[R.name];
|
|
6391
6395
|
return P != null && P !== "";
|
|
6392
6396
|
}), v = V((R, P) => {
|
|
@@ -6397,8 +6401,8 @@ const Dc = S.div`
|
|
|
6397
6401
|
},
|
|
6398
6402
|
[v]
|
|
6399
6403
|
), h = V(async () => {
|
|
6400
|
-
t.remoteTrayEnabled.updateProperty(!
|
|
6401
|
-
}, [
|
|
6404
|
+
t.remoteTrayEnabled.updateProperty(!p), s(p ? "disableSuccess" : "success");
|
|
6405
|
+
}, [p, t.remoteTrayEnabled]), _ = V(async () => {
|
|
6402
6406
|
s("progress"), d({});
|
|
6403
6407
|
let R = !1;
|
|
6404
6408
|
await Promise.all(
|
|
@@ -6417,22 +6421,22 @@ const Dc = S.div`
|
|
|
6417
6421
|
})
|
|
6418
6422
|
), R ? s("pump") : h();
|
|
6419
6423
|
}, [
|
|
6420
|
-
|
|
6424
|
+
p,
|
|
6421
6425
|
o,
|
|
6422
6426
|
u,
|
|
6423
6427
|
t.remoteTrayEnabled,
|
|
6424
6428
|
h
|
|
6425
6429
|
]), L = F(() => ({
|
|
6426
6430
|
idle: {
|
|
6427
|
-
title: n(
|
|
6428
|
-
information: /* @__PURE__ */ i(qe, { children: n(
|
|
6431
|
+
title: n(p ? "disable-title" : "idle-title"),
|
|
6432
|
+
information: /* @__PURE__ */ i(qe, { children: n(p ? "disable-info" : "idle-info") }),
|
|
6429
6433
|
footer: /* @__PURE__ */ i(
|
|
6430
6434
|
w,
|
|
6431
6435
|
{
|
|
6432
6436
|
onPointerDown: () => {
|
|
6433
|
-
|
|
6437
|
+
p ? h() : s("pump");
|
|
6434
6438
|
},
|
|
6435
|
-
children: n(
|
|
6439
|
+
children: n(p ? "disable" : "enable")
|
|
6436
6440
|
}
|
|
6437
6441
|
),
|
|
6438
6442
|
status: "information"
|
|
@@ -6454,7 +6458,7 @@ const Dc = S.div`
|
|
|
6454
6458
|
))
|
|
6455
6459
|
] }),
|
|
6456
6460
|
footer: /* @__PURE__ */ f(N, { children: [
|
|
6457
|
-
/* @__PURE__ */ i(w, { disabled: !
|
|
6461
|
+
/* @__PURE__ */ i(w, { disabled: !m(), onPointerDown: _, children: n("enter") }),
|
|
6458
6462
|
/* @__PURE__ */ i(w, { onPointerDown: e, children: n("cancel") })
|
|
6459
6463
|
] })
|
|
6460
6464
|
},
|
|
@@ -6475,7 +6479,7 @@ const Dc = S.div`
|
|
|
6475
6479
|
}
|
|
6476
6480
|
}), [
|
|
6477
6481
|
v,
|
|
6478
|
-
|
|
6482
|
+
p,
|
|
6479
6483
|
e,
|
|
6480
6484
|
o,
|
|
6481
6485
|
a,
|
|
@@ -6485,19 +6489,19 @@ const Dc = S.div`
|
|
|
6485
6489
|
]);
|
|
6486
6490
|
return /* @__PURE__ */ i(Nt, { ...L[r], onClose: () => e() });
|
|
6487
6491
|
}
|
|
6488
|
-
), hu = D(({ cardModel: t }) => (W.debug("RemoteTray", t.name), /* @__PURE__ */ i(
|
|
6492
|
+
), hu = D(({ cardModel: t }) => (W.debug("RemoteTray", t.name), /* @__PURE__ */ i(Mc, { holder: t.holder }))), Zc = S.div`
|
|
6489
6493
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
6490
6494
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
6491
6495
|
position: absolute;
|
|
6492
6496
|
bottom: 6px;
|
|
6493
6497
|
`, fu = D((t) => {
|
|
6494
6498
|
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(
|
|
6499
|
+
const { t: e } = I("troubles"), n = t.cardModel, { hasTroubles: r, highestTrouble: s } = Ja(n), o = Zt(s), c = Ut(s);
|
|
6500
|
+
return r ? /* @__PURE__ */ i(Zc, { children: e(o.summary, {
|
|
6497
6501
|
context: s != null && s.deferred ? "queued" : void 0,
|
|
6498
6502
|
data: c
|
|
6499
6503
|
}) }) : /* @__PURE__ */ i(Ke, { size: "small", status: "completed" });
|
|
6500
|
-
}),
|
|
6504
|
+
}), Uc = D(
|
|
6501
6505
|
({ holder: t, onComplete: e }) => {
|
|
6502
6506
|
const { t: n } = I("replace-line"), [r, s] = T(), [o, c] = T();
|
|
6503
6507
|
return H(() => {
|
|
@@ -6512,16 +6516,9 @@ const Dc = S.div`
|
|
|
6512
6516
|
e();
|
|
6513
6517
|
}, children: r === "failure" ? /* @__PURE__ */ i(kt, { children: n(o || "unknownError") }) : r === "success" ? /* @__PURE__ */ i(In, { children: n("success") }) : null });
|
|
6514
6518
|
}
|
|
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(
|
|
6519
|
+
), Kc = D(
|
|
6523
6520
|
({ 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,
|
|
6521
|
+
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
6522
|
t,
|
|
6526
6523
|
qr.type
|
|
6527
6524
|
), v = t.name, y = V(
|
|
@@ -6533,9 +6530,9 @@ const Dc = S.div`
|
|
|
6533
6530
|
), h = V(async () => {
|
|
6534
6531
|
if (c === void 0)
|
|
6535
6532
|
return;
|
|
6536
|
-
const [L] = await
|
|
6537
|
-
L ? (l("failure"),
|
|
6538
|
-
}, [
|
|
6533
|
+
const [L] = await m.replacePump(c);
|
|
6534
|
+
L ? (l("failure"), p(L)) : l("success");
|
|
6535
|
+
}, [m, c]), _ = () => {
|
|
6539
6536
|
if (u) {
|
|
6540
6537
|
l(void 0);
|
|
6541
6538
|
return;
|
|
@@ -6549,7 +6546,7 @@ const Dc = S.div`
|
|
|
6549
6546
|
contain: o !== "compact",
|
|
6550
6547
|
onClosed: e,
|
|
6551
6548
|
show: !n,
|
|
6552
|
-
children: /* @__PURE__ */ f(
|
|
6549
|
+
children: /* @__PURE__ */ f(Oo, { children: [
|
|
6553
6550
|
/* @__PURE__ */ i(
|
|
6554
6551
|
Ue,
|
|
6555
6552
|
{
|
|
@@ -6571,7 +6568,7 @@ const Dc = S.div`
|
|
|
6571
6568
|
layout: "hex",
|
|
6572
6569
|
value: c,
|
|
6573
6570
|
onChange: (L) => {
|
|
6574
|
-
|
|
6571
|
+
p(void 0), a(L);
|
|
6575
6572
|
}
|
|
6576
6573
|
}
|
|
6577
6574
|
) }),
|
|
@@ -6598,7 +6595,7 @@ const Dc = S.div`
|
|
|
6598
6595
|
height: 100%;
|
|
6599
6596
|
`, Xc = D(
|
|
6600
6597
|
({ 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(), [
|
|
6598
|
+
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
6599
|
if (E !== void 0 && E.length !== 12)
|
|
6603
6600
|
return o("errIdLen");
|
|
6604
6601
|
if (!Ar(E))
|
|
@@ -6626,7 +6623,7 @@ const Dc = S.div`
|
|
|
6626
6623
|
break;
|
|
6627
6624
|
case "errVerify":
|
|
6628
6625
|
case "errBadJson":
|
|
6629
|
-
|
|
6626
|
+
m(E.type);
|
|
6630
6627
|
break;
|
|
6631
6628
|
}
|
|
6632
6629
|
}
|
|
@@ -6654,7 +6651,7 @@ const Dc = S.div`
|
|
|
6654
6651
|
),
|
|
6655
6652
|
/* @__PURE__ */ f(Wc, { children: [
|
|
6656
6653
|
/* @__PURE__ */ f(se, { align: "top", children: [
|
|
6657
|
-
/* @__PURE__ */ i(
|
|
6654
|
+
/* @__PURE__ */ i(Ro, { children: o("info") }),
|
|
6658
6655
|
/* @__PURE__ */ i(
|
|
6659
6656
|
ln,
|
|
6660
6657
|
{
|
|
@@ -6691,15 +6688,15 @@ const Dc = S.div`
|
|
|
6691
6688
|
children: o("override")
|
|
6692
6689
|
}
|
|
6693
6690
|
) }),
|
|
6694
|
-
|
|
6691
|
+
p && /* @__PURE__ */ i(
|
|
6695
6692
|
Lr,
|
|
6696
6693
|
{
|
|
6697
|
-
onClose: () =>
|
|
6694
|
+
onClose: () => m(void 0),
|
|
6698
6695
|
renderFailure: /* @__PURE__ */ i(
|
|
6699
|
-
|
|
6696
|
+
$o,
|
|
6700
6697
|
{
|
|
6701
6698
|
heading: o("rfid-override"),
|
|
6702
|
-
message: o(
|
|
6699
|
+
message: o(p, { holder: t.name })
|
|
6703
6700
|
}
|
|
6704
6701
|
),
|
|
6705
6702
|
show: !0,
|
|
@@ -6715,7 +6712,7 @@ const Dc = S.div`
|
|
|
6715
6712
|
}
|
|
6716
6713
|
), gu = D(
|
|
6717
6714
|
({ setupPath: t }) => {
|
|
6718
|
-
const { model: e } = Rn(), [n, r] = T(!1), [s] =
|
|
6715
|
+
const { model: e } = Rn(), [n, r] = T(!1), [s] = di(), o = !!s.get("skipSetup"), c = Lo();
|
|
6719
6716
|
return H(() => {
|
|
6720
6717
|
!n && (e != null && e.setupRequired) && (r(!0), o || c(t));
|
|
6721
6718
|
}, [e == null ? void 0 : e.setupRequired, n, c, t, o]), null;
|
|
@@ -6725,17 +6722,18 @@ const Dc = S.div`
|
|
|
6725
6722
|
display: flex;
|
|
6726
6723
|
gap: 8px;
|
|
6727
6724
|
align-items: center;
|
|
6725
|
+
padding: var(--ddk-component-setup-sidebar-step-item-padding);
|
|
6728
6726
|
`, 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:
|
|
6727
|
+
color: var(--ddk-component-step-title-color);
|
|
6728
|
+
font-size: var(--ddk-component-step-title-font-weight);
|
|
6729
|
+
font-style: var(--ddk-component-step-title-font-weight);
|
|
6730
|
+
font-weight: var(--ddk-component-step-title-font-weight);
|
|
6731
|
+
line-height: var(--ddk-component-step-title-line-height);
|
|
6732
|
+
letter-spacing: var(--ddk-component-step-title-letter-spacing);
|
|
6733
|
+
white-space: var(--ddk-component-step-title-white-space);
|
|
6736
6734
|
overflow: hidden;
|
|
6737
6735
|
`, Gc = D(({ setupStepContainer: t, onStepSelected: e, ...n }) => {
|
|
6738
|
-
const { t: r, labelMap: s } =
|
|
6736
|
+
const { t: r, labelMap: s } = $a({
|
|
6739
6737
|
defaultNamespace: "setup",
|
|
6740
6738
|
extensionPoint: Bt.id
|
|
6741
6739
|
}), o = t == null ? void 0 : t.currentStep, c = (t == null ? void 0 : t.data.map((a) => /* @__PURE__ */ f(
|
|
@@ -6757,8 +6755,8 @@ const Dc = S.div`
|
|
|
6757
6755
|
},
|
|
6758
6756
|
a.id
|
|
6759
6757
|
))) || [];
|
|
6760
|
-
return /* @__PURE__ */ i(
|
|
6761
|
-
}), yu =
|
|
6758
|
+
return /* @__PURE__ */ i(Vo, { ...n, children: c });
|
|
6759
|
+
}), yu = Wa(Gc), vu = D(() => {
|
|
6762
6760
|
const { model: t } = fo();
|
|
6763
6761
|
return (t == null ? void 0 : t.nodes) && t.nodes.map((e, n) => /* @__PURE__ */ f(jr, { name: e.nodeName, children: [
|
|
6764
6762
|
/* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
|
|
@@ -6788,9 +6786,9 @@ const Dc = S.div`
|
|
|
6788
6786
|
bt.toString()
|
|
6789
6787
|
), [l, u] = T(
|
|
6790
6788
|
bt.toString()
|
|
6791
|
-
), { clearFuture:
|
|
6789
|
+
), { clearFuture: p, future: m } = _e(t);
|
|
6792
6790
|
H(() => {
|
|
6793
|
-
switch (
|
|
6791
|
+
switch (m == null ? void 0 : m.endState) {
|
|
6794
6792
|
case "CANCEL":
|
|
6795
6793
|
switch (r) {
|
|
6796
6794
|
case "preparation-in-progress":
|
|
@@ -6818,7 +6816,7 @@ const Dc = S.div`
|
|
|
6818
6816
|
c(""), s("failure");
|
|
6819
6817
|
break;
|
|
6820
6818
|
}
|
|
6821
|
-
}, [
|
|
6819
|
+
}, [m == null ? void 0 : m.endState, m == null ? void 0 : m.reason, r]);
|
|
6822
6820
|
const v = F(() => ({
|
|
6823
6821
|
"preparation-idle": {
|
|
6824
6822
|
information: /* @__PURE__ */ f(N, { children: [
|
|
@@ -6835,7 +6833,7 @@ const Dc = S.div`
|
|
|
6835
6833
|
w,
|
|
6836
6834
|
{
|
|
6837
6835
|
onPointerDown: () => {
|
|
6838
|
-
|
|
6836
|
+
p(), t.performPreCalibrate(), s("preparation-in-progress");
|
|
6839
6837
|
},
|
|
6840
6838
|
children: n("preparation-action")
|
|
6841
6839
|
}
|
|
@@ -6865,7 +6863,7 @@ const Dc = S.div`
|
|
|
6865
6863
|
w,
|
|
6866
6864
|
{
|
|
6867
6865
|
onPointerDown: () => {
|
|
6868
|
-
|
|
6866
|
+
p(), t.performCalibrate(), s("calibration-in-progress");
|
|
6869
6867
|
},
|
|
6870
6868
|
children: n("calibrate")
|
|
6871
6869
|
}
|
|
@@ -6928,7 +6926,7 @@ const Dc = S.div`
|
|
|
6928
6926
|
w,
|
|
6929
6927
|
{
|
|
6930
6928
|
onPointerDown: async () => {
|
|
6931
|
-
a !== void 0 && (
|
|
6929
|
+
a !== void 0 && (p(), t.performVerify(a, m == null ? void 0 : m.clientData), s("verification-in-progress"));
|
|
6932
6930
|
},
|
|
6933
6931
|
children: n("initiate-verification-pour")
|
|
6934
6932
|
}
|
|
@@ -6979,11 +6977,11 @@ const Dc = S.div`
|
|
|
6979
6977
|
onPointerDown: async () => {
|
|
6980
6978
|
if (a === void 0 || l === void 0)
|
|
6981
6979
|
return;
|
|
6982
|
-
|
|
6980
|
+
p();
|
|
6983
6981
|
const [h, _] = await t.performComplete(
|
|
6984
6982
|
a,
|
|
6985
6983
|
l,
|
|
6986
|
-
|
|
6984
|
+
m == null ? void 0 : m.clientData
|
|
6987
6985
|
);
|
|
6988
6986
|
h ? (c(h), s("failure")) : s("verification-success");
|
|
6989
6987
|
},
|
|
@@ -7014,9 +7012,9 @@ const Dc = S.div`
|
|
|
7014
7012
|
status: "error"
|
|
7015
7013
|
}
|
|
7016
7014
|
}), [
|
|
7017
|
-
|
|
7015
|
+
p,
|
|
7018
7016
|
o,
|
|
7019
|
-
|
|
7017
|
+
m == null ? void 0 : m.clientData,
|
|
7020
7018
|
e,
|
|
7021
7019
|
t,
|
|
7022
7020
|
n,
|
|
@@ -7046,11 +7044,11 @@ const Dc = S.div`
|
|
|
7046
7044
|
onClose: () => e()
|
|
7047
7045
|
}
|
|
7048
7046
|
),
|
|
7049
|
-
|
|
7047
|
+
m && /* @__PURE__ */ i(
|
|
7050
7048
|
q,
|
|
7051
7049
|
{
|
|
7052
7050
|
title: n(y),
|
|
7053
|
-
future:
|
|
7051
|
+
future: m
|
|
7054
7052
|
}
|
|
7055
7053
|
)
|
|
7056
7054
|
] });
|
|
@@ -7078,14 +7076,14 @@ const ed = S.div``, bu = D(
|
|
|
7078
7076
|
}, v;
|
|
7079
7077
|
},
|
|
7080
7078
|
{}
|
|
7081
|
-
), d = e == null ? void 0 : e.activeTroubleType, l = e == null ? void 0 : e.activeTrouble, u = d ? c(d) : void 0,
|
|
7079
|
+
), 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
7080
|
Gr,
|
|
7083
7081
|
{
|
|
7084
|
-
...
|
|
7082
|
+
...p,
|
|
7085
7083
|
props: { trouble: l }
|
|
7086
7084
|
}
|
|
7087
7085
|
) : null;
|
|
7088
|
-
r(
|
|
7086
|
+
r(m);
|
|
7089
7087
|
}), [t, e]), /* @__PURE__ */ i(ed, { children: n });
|
|
7090
7088
|
}
|
|
7091
7089
|
), td = [0, 6], nd = () => {
|
|
@@ -7118,17 +7116,17 @@ const ed = S.div``, bu = D(
|
|
|
7118
7116
|
), a = V(() => {
|
|
7119
7117
|
o.dateActions.setYear(n.getFullYear()), o.dateActions.setMonth(n.getMonth()), o.dateActions.setDay(n.getDate());
|
|
7120
7118
|
}, [n, o.dateActions]), d = V(
|
|
7121
|
-
async ({ day: l, month: u, year:
|
|
7122
|
-
o.dateActions.setYear(
|
|
7119
|
+
async ({ day: l, month: u, year: p }) => {
|
|
7120
|
+
o.dateActions.setYear(p), o.dateActions.setMonth(u), o.dateActions.setDay(l), await (e == null ? void 0 : e.updateSystemDate({
|
|
7123
7121
|
day: l,
|
|
7124
7122
|
month: u,
|
|
7125
|
-
year:
|
|
7123
|
+
year: p
|
|
7126
7124
|
})), r(/* @__PURE__ */ new Date());
|
|
7127
7125
|
},
|
|
7128
7126
|
[o.dateActions, e]
|
|
7129
7127
|
);
|
|
7130
7128
|
return /* @__PURE__ */ i(
|
|
7131
|
-
|
|
7129
|
+
Yi,
|
|
7132
7130
|
{
|
|
7133
7131
|
onDiscard: a,
|
|
7134
7132
|
onChange: c,
|
|
@@ -7151,7 +7149,7 @@ const ed = S.div``, bu = D(
|
|
|
7151
7149
|
}
|
|
7152
7150
|
];
|
|
7153
7151
|
return /* @__PURE__ */ i(
|
|
7154
|
-
|
|
7152
|
+
Fo,
|
|
7155
7153
|
{
|
|
7156
7154
|
...t,
|
|
7157
7155
|
label: r("time-zone"),
|
|
@@ -7175,7 +7173,7 @@ const ed = S.div``, bu = D(
|
|
|
7175
7173
|
minuteOptions: a,
|
|
7176
7174
|
setTime: d,
|
|
7177
7175
|
time: l
|
|
7178
|
-
} = Rr(), u = l.getHours(),
|
|
7176
|
+
} = Rr(), u = l.getHours(), p = F(
|
|
7179
7177
|
() => [
|
|
7180
7178
|
{
|
|
7181
7179
|
id: "hr",
|
|
@@ -7196,7 +7194,7 @@ const ed = S.div``, bu = D(
|
|
|
7196
7194
|
}
|
|
7197
7195
|
],
|
|
7198
7196
|
[s, c, a, l, u]
|
|
7199
|
-
),
|
|
7197
|
+
), m = F(
|
|
7200
7198
|
() => [
|
|
7201
7199
|
{
|
|
7202
7200
|
id: "hr",
|
|
@@ -7249,7 +7247,7 @@ const ed = S.div``, bu = D(
|
|
|
7249
7247
|
/* @__PURE__ */ i(
|
|
7250
7248
|
kn,
|
|
7251
7249
|
{
|
|
7252
|
-
data: n != null && n.is12HourTimeFormat ?
|
|
7250
|
+
data: n != null && n.is12HourTimeFormat ? p : m,
|
|
7253
7251
|
icon: Kr,
|
|
7254
7252
|
displayValue: o,
|
|
7255
7253
|
label: e("current-time", "Current Time"),
|
|
@@ -7307,7 +7305,7 @@ export {
|
|
|
7307
7305
|
ku as ActionRow,
|
|
7308
7306
|
wd as AgitationControlView,
|
|
7309
7307
|
kd as AgitatorDetail,
|
|
7310
|
-
|
|
7308
|
+
ki as AgitatorModal,
|
|
7311
7309
|
Cd as AgitatorSummary,
|
|
7312
7310
|
Ds as AnimationContext,
|
|
7313
7311
|
Cl as AnimationProvider,
|
|
@@ -7315,32 +7313,32 @@ export {
|
|
|
7315
7313
|
Ns as ApplicationContext,
|
|
7316
7314
|
Il as ApplicationProvider,
|
|
7317
7315
|
au as CGPPumpCard,
|
|
7318
|
-
|
|
7319
|
-
|
|
7316
|
+
li as CalibrateAction,
|
|
7317
|
+
Pi as CalibrateModal,
|
|
7320
7318
|
xd as CarbTankDetail,
|
|
7321
7319
|
_d as CarbTankSummary,
|
|
7322
|
-
|
|
7320
|
+
$i as ConfigPropInfoCard,
|
|
7323
7321
|
En as ConfigPropInputCard,
|
|
7324
7322
|
Ge as ConfigPropInputRangeCard,
|
|
7325
|
-
|
|
7323
|
+
Ki as ConfigPropMultiInputEnableCard,
|
|
7326
7324
|
Pn as ConfigPropPickerCard,
|
|
7327
7325
|
Td as ConfigPropSingleInputEnableCard,
|
|
7328
|
-
|
|
7329
|
-
|
|
7326
|
+
Hi as ConfigPropSwitchCard,
|
|
7327
|
+
Xi as ConfigPropTimePickerCard,
|
|
7330
7328
|
Ct as ConfigPropToggleCard,
|
|
7331
7329
|
Nn as CuiExtension,
|
|
7332
|
-
|
|
7330
|
+
ms as DashboardDetailExtension,
|
|
7333
7331
|
Dt as DashboardMacroSummaryExtension,
|
|
7334
7332
|
As as DashboardOperationsContext,
|
|
7335
7333
|
El as DashboardOperationsProvider,
|
|
7336
7334
|
ze as DashboardPumpDetailExtension,
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7335
|
+
ps as DashboardSummaryExtension,
|
|
7336
|
+
Yi as DatePickerCard,
|
|
7337
|
+
Gi as DiagnosticsModal,
|
|
7340
7338
|
Os as DispenserInfoContext,
|
|
7341
7339
|
Dl as DispenserInfoProvider,
|
|
7342
7340
|
xl as DispenserInfoSettings,
|
|
7343
|
-
|
|
7341
|
+
Qa as DispenserSerialNumber,
|
|
7344
7342
|
_l as DispenserSettings,
|
|
7345
7343
|
Te as EXTENSION_PLUGIN_VISIBILITY,
|
|
7346
7344
|
Wd as EXTENSION_POINT_CUI,
|
|
@@ -7372,61 +7370,61 @@ export {
|
|
|
7372
7370
|
al as EXTENSION_POINT_VIEW_VIEW,
|
|
7373
7371
|
Ps as EnjoyByDate,
|
|
7374
7372
|
kt as FailureMessage,
|
|
7375
|
-
|
|
7376
|
-
|
|
7373
|
+
ui as Fixed45FlowTestAction,
|
|
7374
|
+
pi as FlushAction,
|
|
7377
7375
|
q as FutureProgressBar,
|
|
7378
|
-
|
|
7376
|
+
xi as GenericTroubleAction,
|
|
7379
7377
|
kl as HardwareInfo,
|
|
7380
7378
|
mi as HighFlowTestAction,
|
|
7381
|
-
|
|
7379
|
+
hi as HoldToPourAction,
|
|
7382
7380
|
We as HoldToPourButton,
|
|
7383
7381
|
Kt as HolderActions,
|
|
7384
|
-
|
|
7382
|
+
dc as HolderCard,
|
|
7385
7383
|
gs as HolderContentContext,
|
|
7386
7384
|
cl as HolderContentProvider,
|
|
7387
7385
|
Ks as HolderGroup,
|
|
7388
7386
|
Jl as HolderGroupView,
|
|
7389
7387
|
Ee as HolderNotifications,
|
|
7390
7388
|
eu as IceAgitatorDetail,
|
|
7391
|
-
|
|
7389
|
+
Dc as IceAgitatorSettings,
|
|
7392
7390
|
nu as IceAgitatorSettingsContainer,
|
|
7393
7391
|
ru as IceAgitatorSettingsView,
|
|
7394
7392
|
tu as IceAgitatorSummary,
|
|
7395
7393
|
Rs as IngredientSummaryContext,
|
|
7396
7394
|
Al as IngredientSummaryProvider,
|
|
7397
7395
|
ae as IntentAction,
|
|
7398
|
-
|
|
7396
|
+
Za as KosPluginExtensionManager,
|
|
7399
7397
|
cu as LFCVPumpCard,
|
|
7400
7398
|
su as LocalizationSettings,
|
|
7401
|
-
|
|
7399
|
+
fi as LowFlowTestAction,
|
|
7402
7400
|
du as MSVPumpCard,
|
|
7403
|
-
|
|
7401
|
+
yi as MSVResetAction,
|
|
7404
7402
|
$s as MacroAssignmentContext,
|
|
7405
7403
|
Rl as MacroAssignmentProvider,
|
|
7406
|
-
|
|
7404
|
+
wc as MacroHolderCard,
|
|
7407
7405
|
Ql as MacroHolderGroupView,
|
|
7408
7406
|
$n as MacroSetupStepCard,
|
|
7409
|
-
|
|
7407
|
+
gi as ManualOverrideAction,
|
|
7410
7408
|
hs as NavViewExtension,
|
|
7411
7409
|
Vs as NetworkTestContainerContext,
|
|
7412
7410
|
Fl as NetworkTestContainerProvider,
|
|
7413
7411
|
Ls as NetworkTestContext,
|
|
7414
7412
|
Ll as NetworkTestProvider,
|
|
7415
7413
|
ou as NetworkTestResults,
|
|
7416
|
-
|
|
7417
|
-
|
|
7414
|
+
$c as NotificationCardView,
|
|
7415
|
+
ja as PluginExtensionManager,
|
|
7418
7416
|
iu as PluginTabs,
|
|
7419
|
-
|
|
7417
|
+
vi as PrimeAction,
|
|
7420
7418
|
ns as ProbeView,
|
|
7421
|
-
|
|
7419
|
+
bi as PurgeAction,
|
|
7422
7420
|
Xc as RFIDOverride,
|
|
7423
7421
|
Fs as RebootContext,
|
|
7424
7422
|
Bl as RebootProvider,
|
|
7425
|
-
|
|
7426
|
-
|
|
7423
|
+
pu as RebootView,
|
|
7424
|
+
mu as RemoteNNSModal,
|
|
7427
7425
|
hu as RemoteTrayDetail,
|
|
7428
7426
|
fu as RemoteTraySummary,
|
|
7429
|
-
|
|
7427
|
+
Uc as ReplaceLine,
|
|
7430
7428
|
Kc as ReplacePump,
|
|
7431
7429
|
Jc as SPMFieldCalibrationModal,
|
|
7432
7430
|
Ms as SettingsContext,
|
|
@@ -7440,19 +7438,19 @@ export {
|
|
|
7440
7438
|
Bs as SetupStepContext,
|
|
7441
7439
|
Ul as SetupStepProvider,
|
|
7442
7440
|
vu as Software,
|
|
7443
|
-
|
|
7441
|
+
Ri as StagedChangesProvider,
|
|
7444
7442
|
bu as StateExperience,
|
|
7445
7443
|
qc as StepItem,
|
|
7446
7444
|
Yc as StepTitle,
|
|
7447
7445
|
In as SuccessMessage,
|
|
7448
|
-
|
|
7446
|
+
Mc as SuperPumpCard,
|
|
7449
7447
|
nd as SystemDatePickerCard,
|
|
7450
7448
|
vd as TROUBLE_PRIME,
|
|
7451
7449
|
bd as TROUBLE_PURGE,
|
|
7452
|
-
|
|
7450
|
+
Wi as TimePickerCard,
|
|
7453
7451
|
wu as TimeSettings,
|
|
7454
7452
|
rd as TimeZonePickerCard,
|
|
7455
|
-
|
|
7453
|
+
wi as TroubleAction,
|
|
7456
7454
|
tt as TroubleActionExtension,
|
|
7457
7455
|
Zs as UtilitiesContainerContext,
|
|
7458
7456
|
Yl as UtilitiesContainerProvider,
|
|
@@ -7462,23 +7460,23 @@ export {
|
|
|
7462
7460
|
fs as ViewExtension,
|
|
7463
7461
|
uu as WaterPumpCard,
|
|
7464
7462
|
xu as WaterSettings,
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7463
|
+
ml as initDDKRegistration,
|
|
7464
|
+
za as pumpTypeFactory,
|
|
7465
|
+
Ha as troubleLabelByType,
|
|
7468
7466
|
Zt as troubleLabelFactory,
|
|
7469
7467
|
Jr as useAgitationControl,
|
|
7470
7468
|
is as useAnimation,
|
|
7471
7469
|
Sl as useAnimationContext,
|
|
7472
7470
|
At as useApplication,
|
|
7473
7471
|
Rn as useApplicationContext,
|
|
7474
|
-
|
|
7472
|
+
ra as useCarbWater,
|
|
7475
7473
|
Id as useCombinedActions,
|
|
7476
|
-
|
|
7474
|
+
sa as useCopyLogs,
|
|
7477
7475
|
as as useDashboardOperations,
|
|
7478
7476
|
Pl as useDashboardOperationsContext,
|
|
7479
7477
|
cs as useDispenserInfo,
|
|
7480
7478
|
Nl as useDispenserInfoContext,
|
|
7481
|
-
|
|
7479
|
+
ia as useDoor,
|
|
7482
7480
|
_e as useFutureContainer,
|
|
7483
7481
|
ys as useHolderContent,
|
|
7484
7482
|
at as useHolderExperience,
|
|
@@ -7490,11 +7488,11 @@ export {
|
|
|
7490
7488
|
xs as useNetworkTestContainer,
|
|
7491
7489
|
Ml as useNetworkTestContainerContext,
|
|
7492
7490
|
Vl as useNetworkTestContext,
|
|
7493
|
-
|
|
7494
|
-
|
|
7491
|
+
Ma as useNutritiveSweetener,
|
|
7492
|
+
Ba as usePlainWater,
|
|
7495
7493
|
ct as usePluginExtensions,
|
|
7496
7494
|
He as usePumpAction,
|
|
7497
|
-
|
|
7495
|
+
Xa as usePumpCalibration,
|
|
7498
7496
|
An as useReboot,
|
|
7499
7497
|
zl as useRebootContext,
|
|
7500
7498
|
On as useSettings,
|
|
@@ -7504,36 +7502,36 @@ export {
|
|
|
7504
7502
|
Wl as useSetupStepContainerContext,
|
|
7505
7503
|
Kl as useSetupStepContext,
|
|
7506
7504
|
ss as useStagedChanges,
|
|
7507
|
-
|
|
7505
|
+
qa as useStart,
|
|
7508
7506
|
Ed as useTroubleAction,
|
|
7509
7507
|
Ss as useTroubleActionState,
|
|
7510
7508
|
Ut as useTroubleData,
|
|
7511
|
-
|
|
7509
|
+
Ja as useTroubleDecoration,
|
|
7512
7510
|
vl as useTroubleVisibility,
|
|
7513
7511
|
Ts as useUtilities,
|
|
7514
7512
|
Is as useUtilitiesContainer,
|
|
7515
7513
|
Gl as useUtilitiesContainerContext,
|
|
7516
7514
|
ql as useUtilitiesContext,
|
|
7517
|
-
|
|
7515
|
+
$a as useViewExtensions,
|
|
7518
7516
|
dt as useVisibleTroubles,
|
|
7519
7517
|
Pd as withAgitationControl,
|
|
7520
|
-
|
|
7518
|
+
na as withAnimation,
|
|
7521
7519
|
Dd as withApplication,
|
|
7522
7520
|
Nd as withCarbWater,
|
|
7523
7521
|
Ad as withCopyLogs,
|
|
7524
7522
|
Od as withDashboardOperations,
|
|
7525
|
-
|
|
7523
|
+
oa as withDispenserInfo,
|
|
7526
7524
|
Rd as withDoor,
|
|
7527
7525
|
dl as withIngredientSummary,
|
|
7528
|
-
|
|
7526
|
+
Va as withMacroAssignment,
|
|
7529
7527
|
ll as withNetworkTest,
|
|
7530
|
-
|
|
7528
|
+
Fa as withNetworkTestContainer,
|
|
7531
7529
|
ul as withNutritiveSweetener,
|
|
7532
|
-
|
|
7530
|
+
pl as withPlainWater,
|
|
7533
7531
|
hl as withReboot,
|
|
7534
7532
|
_s as withSettings,
|
|
7535
7533
|
fl as withSetupStep,
|
|
7536
|
-
|
|
7534
|
+
Wa as withSetupStepContainer,
|
|
7537
7535
|
Sd as withStagedChanges,
|
|
7538
7536
|
gl as withStart,
|
|
7539
7537
|
yl as withTroubleAction,
|