@kosdev-code/kos-ddk-model-components 0.1.0-dev.5101 → 0.1.0-dev.5112
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/hooks/plugin-extensions/use-plugin-extensions.d.ts.map +1 -1
- package/index.cjs +1 -1
- package/index.js +789 -777
- package/package.json +7 -7
package/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var Rs = Object.defineProperty;
|
|
2
2
|
var Ls = (t, e, n) => e in t ? Rs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
3
|
var M = (t, e, n) => (Ls(t, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { FutureManager as
|
|
4
|
+
import { FutureManager as wr, kosComponent as D, useKosTranslation as E, useKosModel as Z, kosAutoEffect as Fe, FutureEndState as Cn, KosLog as H, useConfigProperty as ae, useKosRegions as me, useRegionTimeProps as _r, useDateProps as xr, getKosCompanionModel as ue, registerExtensionPoint as Vs, ExtensionManager as Ye, CoreExtensionManager as Fs, troubleDataFactory as Bs, isTroubleAware as zs, useTroubleContainerModel as js, withDevice as Ms, useFormattedDate as Zs, useSoftwareInfo as Us, useKosTime as cn } from "@kosdev-code/kos-ui-sdk";
|
|
5
5
|
import { jsx as i, jsxs as v, Fragment as L } from "@emotion/react/jsx-runtime";
|
|
6
6
|
import k from "@emotion/styled";
|
|
7
|
-
import { useComponentConfigurationContext as G, Modal as Be, Header as ze, BackButton as tt, Content as ne, InfoCard as Ne, Footer as J, Button as S, CloseButton as Hs, ProgressBar as
|
|
8
|
-
import
|
|
9
|
-
import { AgitationControl as
|
|
10
|
-
import { SuccessIcon as xo, MessageErrorIcon as ko, TimeIcon as
|
|
11
|
-
import { DispenseExtensionManager as To, useBoardContainer as Io, withAssembly as
|
|
12
|
-
import { FcmPump as Jt, SpmPump as
|
|
13
|
-
import { useKosPluginsContext as
|
|
14
|
-
import { createExtensionSchema as ge, extensionPointId as ve, defineExtensionPoint as ye, createViewAwareTransform as be, validateWithSchema as we, validateRankIfPresent as Me, validateDescriptorFormat as
|
|
15
|
-
import { useLocation as
|
|
7
|
+
import { useComponentConfigurationContext as G, Modal as Be, Header as ze, BackButton as tt, Content as ne, InfoCard as Ne, Footer as J, Button as S, CloseButton as Hs, ProgressBar as kr, LabelInformation as j, BodyMediumInformation as ke, InputCard as Oe, WorkflowModal as Tt, StatusIndicator as je, InputRangeCard as Ws, ToggleCard as Ks, PickerCard as qt, Card as Xs, SwitchCard as vt, MultiPickerCard as dn, LabelDate as ln, Table as Cr, LabelInformationExtraSmall as qs, getItemData as Gs, TapAndHoldButton as Ys, ComponentConfigurationProvider as Js, useAbbreviation as Sr, getFillColor as Qs, HolderDashboardCard as Tr, FuelGauge as Ir, UtilityModalHeading as Er, FrameContainer as Pr, FrameBody as Gt, TabContainer as nt, SettingsSubheading as rt, StatusCard as eo, NotificationCard as to, TabViewLayout as no, TabRouter as ro, Tabs as so, CompactCloseButton as oo, QuestionIconStyle as io, CancelProceedFooter as ao, ErrorInputCard as Yt, StatusBar as Ar, InfoContainer as co, FailureCard as lo, useNavigate as uo, Sidebar as po, SwitchPickerCard as mo } from "@kosdev-code/kos-ddk-components";
|
|
8
|
+
import Sn, { useState as I, useEffect as W, useCallback as V, useMemo as z, createContext as X, useContext as q, useRef as Tn, useLayoutEffect as ho, Suspense as st } from "react";
|
|
9
|
+
import { AgitationControl as In, toTimeComponents as fo, toSeconds as go, Animation as En, Application as Pn, CarbWater as An, CopyLogs as Dn, DashboardOperations as Nn, DispenserInfo as On, Door as vo, IngredientSummary as $n, MacroAssignment as Rn, NetworkTest as yo, NetworkTestContainer as Ln, NutritiveSweetener as Vn, PlainWater as Fn, Reboot as Bn, Settings as zn, SetupStep as bo, SetupStepContainer as jn, Start as Mn, TroubleActionManager as Zn, Utilities as wo, UtilitiesContainer as Un, troubleVisibilityFilter as _o } from "@kosdev-code/kos-ddk-models";
|
|
10
|
+
import { SuccessIcon as xo, MessageErrorIcon as ko, TimeIcon as Dr, CalendarIcon as Co, MessageInformationIconWithBackground as So } from "@kosdev-code/kos-ddk-styles";
|
|
11
|
+
import { DispenseExtensionManager as To, useBoardContainer as Io, withAssembly as Eo } from "@kosdev-code/kos-dispense-sdk";
|
|
12
|
+
import { FcmPump as Jt, SpmPump as Nr, CgpPump as Or, LfcvPump as Po, FreestyleHolder as $r, useFreestyleAssemblyContext as Ao, FreestylePump as Rr } from "@kosdev-code/kos-freestyle-sdk";
|
|
13
|
+
import { useKosPluginsContext as Lr, useReactiveExtensionRegistry as Do, useExtensionComponent as Vr, DynamicComponent as Fr } from "@kosdev-code/kos-ui-plugin";
|
|
14
|
+
import { createExtensionSchema as ge, extensionPointId as ve, defineExtensionPoint as ye, createViewAwareTransform as be, validateWithSchema as we, validateRankIfPresent as Me, validateDescriptorFormat as un } from "@kosdev-code/kos-ui-plugin/utilities";
|
|
15
|
+
import { useLocation as No, useSearchParams as Oo } from "react-router-dom";
|
|
16
16
|
class oe {
|
|
17
17
|
constructor(e, n) {
|
|
18
18
|
M(this, "future");
|
|
@@ -30,10 +30,10 @@ class oe {
|
|
|
30
30
|
}
|
|
31
31
|
async performAction() {
|
|
32
32
|
const e = await this.intentContainer.performIntent(this.intent);
|
|
33
|
-
e != null && e.tracker && (this.future =
|
|
33
|
+
e != null && e.tracker && (this.future = wr.getFuture(e.tracker));
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
class
|
|
36
|
+
class $o extends oe {
|
|
37
37
|
constructor(e) {
|
|
38
38
|
super(e, {
|
|
39
39
|
title: "Calibrate",
|
|
@@ -46,7 +46,7 @@ class Oo extends oe {
|
|
|
46
46
|
return !0;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
class
|
|
49
|
+
class Ro extends oe {
|
|
50
50
|
constructor(e) {
|
|
51
51
|
super(e, {
|
|
52
52
|
title: "45ml Flow Test",
|
|
@@ -59,7 +59,7 @@ class $o extends oe {
|
|
|
59
59
|
return !0;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
class
|
|
62
|
+
class Lo extends oe {
|
|
63
63
|
constructor(e) {
|
|
64
64
|
super(e, {
|
|
65
65
|
title: "Flush",
|
|
@@ -72,7 +72,7 @@ class Ro extends oe {
|
|
|
72
72
|
return !0;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
class
|
|
75
|
+
class Vo extends oe {
|
|
76
76
|
constructor(e) {
|
|
77
77
|
super(e, {
|
|
78
78
|
title: "High Flow Test",
|
|
@@ -85,7 +85,7 @@ class Lo extends oe {
|
|
|
85
85
|
return !0;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
class
|
|
88
|
+
class Fo extends oe {
|
|
89
89
|
constructor(e) {
|
|
90
90
|
super(e, {
|
|
91
91
|
title: "Hold to Pour",
|
|
@@ -98,7 +98,7 @@ class Vo extends oe {
|
|
|
98
98
|
return !0;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
class
|
|
101
|
+
class Bo extends oe {
|
|
102
102
|
constructor(e) {
|
|
103
103
|
super(e, {
|
|
104
104
|
title: "Low Flow Test",
|
|
@@ -111,7 +111,7 @@ class Fo extends oe {
|
|
|
111
111
|
return !0;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
class
|
|
114
|
+
class zo extends oe {
|
|
115
115
|
constructor(e) {
|
|
116
116
|
super(e, {
|
|
117
117
|
title: "Manual Override",
|
|
@@ -124,7 +124,7 @@ class Bo extends oe {
|
|
|
124
124
|
return !0;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
class
|
|
127
|
+
class jo extends oe {
|
|
128
128
|
constructor(e) {
|
|
129
129
|
super(e, {
|
|
130
130
|
title: "Reset",
|
|
@@ -137,7 +137,7 @@ class zo extends oe {
|
|
|
137
137
|
return !0;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
class
|
|
140
|
+
class Mo extends oe {
|
|
141
141
|
constructor(e) {
|
|
142
142
|
super(e, {
|
|
143
143
|
title: "Prime",
|
|
@@ -150,7 +150,7 @@ class jo extends oe {
|
|
|
150
150
|
return !0;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
class
|
|
153
|
+
class Zo extends oe {
|
|
154
154
|
constructor(e) {
|
|
155
155
|
super(e, {
|
|
156
156
|
title: "Purge",
|
|
@@ -163,7 +163,7 @@ class Mo extends oe {
|
|
|
163
163
|
return !0;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
|
-
class
|
|
166
|
+
class Uo {
|
|
167
167
|
constructor(e, n) {
|
|
168
168
|
M(this, "future");
|
|
169
169
|
M(this, "troubleAware");
|
|
@@ -183,10 +183,10 @@ class Zo {
|
|
|
183
183
|
if (!e)
|
|
184
184
|
return;
|
|
185
185
|
const r = await e[0].resolve();
|
|
186
|
-
r != null && r.tracker && (this.future =
|
|
186
|
+
r != null && r.tracker && (this.future = wr.getFuture(r.tracker));
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
class
|
|
189
|
+
class Ho extends Uo {
|
|
190
190
|
constructor(e, n) {
|
|
191
191
|
super(e, {
|
|
192
192
|
trouble: n
|
|
@@ -196,23 +196,23 @@ class Uo extends Zo {
|
|
|
196
196
|
return !0;
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
const
|
|
199
|
+
const Rc = "PrimeTrouble", Lc = "PurgeTrouble", Wo = k.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
|
+
`, Ko = D(
|
|
207
207
|
({ holder: t, onComplete: e }) => {
|
|
208
|
-
const [n, r] = I(!1), { t: s } =
|
|
208
|
+
const [n, r] = I(!1), { t: s } = E("common"), { componentModeOverride: o } = G(), c = t.data.agitated;
|
|
209
209
|
return /* @__PURE__ */ i(
|
|
210
210
|
Be,
|
|
211
211
|
{
|
|
212
212
|
contain: o !== "compact",
|
|
213
213
|
onClosed: e,
|
|
214
214
|
show: !n,
|
|
215
|
-
children: /* @__PURE__ */ v(
|
|
215
|
+
children: /* @__PURE__ */ v(Wo, { children: [
|
|
216
216
|
/* @__PURE__ */ i(
|
|
217
217
|
ze,
|
|
218
218
|
{
|
|
@@ -246,10 +246,10 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
246
246
|
);
|
|
247
247
|
}
|
|
248
248
|
), Br = () => {
|
|
249
|
-
const t =
|
|
249
|
+
const t = In.type;
|
|
250
250
|
return Z({
|
|
251
251
|
modelId: t,
|
|
252
|
-
modelType:
|
|
252
|
+
modelType: In.type,
|
|
253
253
|
options: {}
|
|
254
254
|
});
|
|
255
255
|
}, _e = (t) => {
|
|
@@ -272,10 +272,10 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
272
272
|
return {
|
|
273
273
|
future: e,
|
|
274
274
|
clearFuture: o,
|
|
275
|
-
success: r ===
|
|
276
|
-
failure: r && r !==
|
|
275
|
+
success: r === Cn.Success,
|
|
276
|
+
failure: r && r !== Cn.Success
|
|
277
277
|
};
|
|
278
|
-
},
|
|
278
|
+
}, Xo = H.createLogger({ name: "future-progress-bar" }), zr = k(Hs)`
|
|
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 $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.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
|
+
`, qo = k.div`
|
|
292
292
|
display: flex;
|
|
293
293
|
flex-direction: column;
|
|
294
294
|
width: 100%;
|
|
@@ -305,14 +305,14 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
305
305
|
display: flex;
|
|
306
306
|
gap: var(--ddk-component-status-bar-gap);
|
|
307
307
|
align-items: center;
|
|
308
|
-
`,
|
|
308
|
+
`, Go = k.div`
|
|
309
309
|
border-top: solid 1px #888888;
|
|
310
310
|
padding-top: 8px;
|
|
311
311
|
width: calc(100% - 10px);
|
|
312
312
|
`, yt = ({ children: t, onPointerDown: e, title: n, subtitle: r }) => {
|
|
313
|
-
const { componentModeOverride: s } = G(), { t: o } =
|
|
313
|
+
const { componentModeOverride: s } = G(), { t: o } = E("common");
|
|
314
314
|
return /* @__PURE__ */ v(jr, { children: [
|
|
315
|
-
/* @__PURE__ */ v(
|
|
315
|
+
/* @__PURE__ */ v(qo, { children: [
|
|
316
316
|
/* @__PURE__ */ v(
|
|
317
317
|
Mr,
|
|
318
318
|
{
|
|
@@ -333,7 +333,7 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
333
333
|
]
|
|
334
334
|
}
|
|
335
335
|
),
|
|
336
|
-
r && /* @__PURE__ */ i(
|
|
336
|
+
r && /* @__PURE__ */ i(Go, { children: r })
|
|
337
337
|
] }),
|
|
338
338
|
s === "compact" ? /* @__PURE__ */ i(S, { mode: "primary", onPointerDown: e, children: o("close", "Close") }) : /* @__PURE__ */ i(
|
|
339
339
|
zr,
|
|
@@ -344,8 +344,8 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
344
344
|
}
|
|
345
345
|
)
|
|
346
346
|
] });
|
|
347
|
-
},
|
|
348
|
-
const { componentModeOverride: n } = G(), { t: r } =
|
|
347
|
+
}, pn = ({ children: t, onPointerDown: e }) => {
|
|
348
|
+
const { componentModeOverride: n } = G(), { t: r } = E("common");
|
|
349
349
|
return /* @__PURE__ */ v(jr, { children: [
|
|
350
350
|
/* @__PURE__ */ v(Mr, { children: [
|
|
351
351
|
/* @__PURE__ */ i(
|
|
@@ -368,7 +368,7 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
368
368
|
}
|
|
369
369
|
)
|
|
370
370
|
] });
|
|
371
|
-
},
|
|
371
|
+
}, Hn = (t) => (t == null ? void 0 : t.title) && (t == null ? void 0 : t.subtitle), K = D(
|
|
372
372
|
({
|
|
373
373
|
title: t,
|
|
374
374
|
future: e,
|
|
@@ -379,7 +379,7 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
379
379
|
onSuccess: c,
|
|
380
380
|
onClose: a
|
|
381
381
|
}) => {
|
|
382
|
-
const { t: d } =
|
|
382
|
+
const { t: d } = E("common"), [l, p] = Sn.useState(!0), [u, m] = Sn.useState(), g = `${e == null ? void 0 : e.timeRemaining} ${d(
|
|
383
383
|
"remaining",
|
|
384
384
|
"remaining"
|
|
385
385
|
)}`, y = V(() => {
|
|
@@ -388,7 +388,7 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
388
388
|
y(), c == null || c();
|
|
389
389
|
}, [y, c]);
|
|
390
390
|
W(() => {
|
|
391
|
-
(e == null ? void 0 : e.status) === "IN_PROGRESS" || (e == null ? void 0 : e.status) === "NOT_ACTIVE" ? (m("in-progress"), p(!0)) : (e == null ? void 0 : e.status) === "SUCCESS" ? (m("success"), p(!!r), r || (y(), c == null || c())) : (e == null ? void 0 : e.status) === "FAIL" || (e == null ? void 0 : e.status) === "ABORT" ? (m("failure"), p(!!n)) : (e == null ? void 0 : e.status) === "CANCEL" ? (m("cancelled"), p(!!s)) : e &&
|
|
391
|
+
(e == null ? void 0 : e.status) === "IN_PROGRESS" || (e == null ? void 0 : e.status) === "NOT_ACTIVE" ? (m("in-progress"), p(!0)) : (e == null ? void 0 : e.status) === "SUCCESS" ? (m("success"), p(!!r), r || (y(), c == null || c())) : (e == null ? void 0 : e.status) === "FAIL" || (e == null ? void 0 : e.status) === "ABORT" ? (m("failure"), p(!!n)) : (e == null ? void 0 : e.status) === "CANCEL" ? (m("cancelled"), p(!!s)) : e && Xo.error("unknown status", e == null ? void 0 : e.status);
|
|
392
392
|
}, [
|
|
393
393
|
n,
|
|
394
394
|
e,
|
|
@@ -398,9 +398,9 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
398
398
|
y,
|
|
399
399
|
c
|
|
400
400
|
]);
|
|
401
|
-
const w =
|
|
401
|
+
const w = Hn(n) ? n.subtitle : void 0, A = Hn(n) ? n.title : n ?? d("something-went-wrong", "Something went wrong");
|
|
402
402
|
return e && /* @__PURE__ */ i(
|
|
403
|
-
|
|
403
|
+
kr,
|
|
404
404
|
{
|
|
405
405
|
isCancelable: o,
|
|
406
406
|
onCancel: () => {
|
|
@@ -410,7 +410,7 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
410
410
|
onClose: y,
|
|
411
411
|
renderFailure: n && /* @__PURE__ */ i(yt, { subtitle: w, onPointerDown: y, children: A }),
|
|
412
412
|
renderCancel: s && /* @__PURE__ */ i(yt, { onPointerDown: y, children: s }),
|
|
413
|
-
renderSuccess: r && /* @__PURE__ */ i(
|
|
413
|
+
renderSuccess: r && /* @__PURE__ */ i(pn, { onPointerDown: f, children: r }),
|
|
414
414
|
show: l,
|
|
415
415
|
status: u,
|
|
416
416
|
subtitle: g,
|
|
@@ -419,13 +419,13 @@ const $c = "PrimeTrouble", Rc = "PurgeTrouble", Ho = k.div`
|
|
|
419
419
|
}
|
|
420
420
|
);
|
|
421
421
|
}
|
|
422
|
-
),
|
|
423
|
-
|
|
424
|
-
const
|
|
425
|
-
const { model: t } = Br(), { t: e, i18n: n } =
|
|
422
|
+
), Yo = H.createLogger({ name: "agitation-control-view" });
|
|
423
|
+
Yo.debug("agitation-control-view component loaded");
|
|
424
|
+
const Jo = k.div``, Vc = D(() => {
|
|
425
|
+
const { model: t } = Br(), { t: e, i18n: n } = E("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(Jo, { children: /* @__PURE__ */ i(
|
|
429
429
|
K,
|
|
430
430
|
{
|
|
431
431
|
title: e("troubles.agitation.title"),
|
|
@@ -440,9 +440,9 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
440
440
|
})
|
|
441
441
|
}
|
|
442
442
|
) });
|
|
443
|
-
}),
|
|
443
|
+
}), Qo = D(
|
|
444
444
|
({ pump: t, onComplete: e }) => {
|
|
445
|
-
const { t: n } =
|
|
445
|
+
const { t: n } = E("common", { keyPrefix: "fcm-calibration" }), [r, s] = I("high-flow-test-idle"), [o, c] = I(), [a, d] = I(), [l, p] = I(), { future: u } = _e(t);
|
|
446
446
|
W(() => {
|
|
447
447
|
switch (u == null ? void 0 : u.endState) {
|
|
448
448
|
case "CANCEL":
|
|
@@ -629,7 +629,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
629
629
|
if (!t)
|
|
630
630
|
return null;
|
|
631
631
|
const e = t.highProbeWet.value, n = t.lowProbeWet.value, r = t.filling.value;
|
|
632
|
-
return /* @__PURE__ */ v(
|
|
632
|
+
return /* @__PURE__ */ v(ei, { children: [
|
|
633
633
|
/* @__PURE__ */ v(Ut, { children: [
|
|
634
634
|
/* @__PURE__ */ i(Ht, { children: "High Probe" }),
|
|
635
635
|
/* @__PURE__ */ i(Wt, { children: e ? "Wet" : "Dry" })
|
|
@@ -644,7 +644,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
644
644
|
] })
|
|
645
645
|
] });
|
|
646
646
|
}
|
|
647
|
-
),
|
|
647
|
+
), ei = k.div`
|
|
648
648
|
display: grid;
|
|
649
649
|
grid-template-columns: repeat(3, 1fr);
|
|
650
650
|
gap: 16px;
|
|
@@ -666,9 +666,9 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
666
666
|
color: var(--ddk-generic-color-grey-90);
|
|
667
667
|
text-align: center;
|
|
668
668
|
font-size: var(--ddk-generic-font-size-large);
|
|
669
|
-
`,
|
|
669
|
+
`, Fc = D(({ cardModel: t }) => {
|
|
670
670
|
H.debug("Agitator", t.path);
|
|
671
|
-
const { t: e } =
|
|
671
|
+
const { t: e } = E("carb-tank", {
|
|
672
672
|
keyPrefix: "dashboard.detail"
|
|
673
673
|
}), { future: n } = _e(t), r = V(
|
|
674
674
|
(s) => {
|
|
@@ -699,12 +699,12 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
699
699
|
}
|
|
700
700
|
)
|
|
701
701
|
] });
|
|
702
|
-
}),
|
|
702
|
+
}), ti = k.div`
|
|
703
703
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
704
704
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
705
|
-
`,
|
|
705
|
+
`, Bc = D((t) => {
|
|
706
706
|
H.debug(`summary component loaded for holder ${t}`), H.info(`render agitator summary for holder ${t.cardModel.path}`);
|
|
707
|
-
const { t: e } =
|
|
707
|
+
const { t: e } = E("common");
|
|
708
708
|
return /* @__PURE__ */ v(L, { children: [
|
|
709
709
|
/* @__PURE__ */ i(
|
|
710
710
|
je,
|
|
@@ -713,11 +713,11 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
713
713
|
status: t.cardModel.isCarbInitialized ? "completed" : "incomplete"
|
|
714
714
|
}
|
|
715
715
|
),
|
|
716
|
-
t.cardModel.isFilling && /* @__PURE__ */ i(
|
|
716
|
+
t.cardModel.isFilling && /* @__PURE__ */ i(ti, { children: e("agitating") })
|
|
717
717
|
] });
|
|
718
|
-
}),
|
|
718
|
+
}), zc = D(({ cardModel: t }) => {
|
|
719
719
|
H.debug("Agitator", t.path);
|
|
720
|
-
const { t: e } =
|
|
720
|
+
const { t: e } = E(["agitator", "common"]), { future: n } = _e(t), r = V(
|
|
721
721
|
(s) => {
|
|
722
722
|
s === "agitate" && (t == null || t.testAgitate());
|
|
723
723
|
},
|
|
@@ -740,22 +740,22 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
740
740
|
}
|
|
741
741
|
)
|
|
742
742
|
] });
|
|
743
|
-
}),
|
|
743
|
+
}), ni = k.div`
|
|
744
744
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
745
745
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
746
|
-
`,
|
|
746
|
+
`, jc = D((t) => {
|
|
747
747
|
H.debug(`summary component loaded for holder ${t}`), H.info(`render agitator summary for holder ${t.cardModel.path}`);
|
|
748
|
-
const { t: e } =
|
|
748
|
+
const { t: e } = E("common");
|
|
749
749
|
return /* @__PURE__ */ v(L, { children: [
|
|
750
750
|
/* @__PURE__ */ i(je, { size: "small", status: "completed" }),
|
|
751
|
-
t.cardModel.isAgitating && /* @__PURE__ */ i(
|
|
751
|
+
t.cardModel.isAgitating && /* @__PURE__ */ i(ni, { children: e("agitating") })
|
|
752
752
|
] });
|
|
753
|
-
}),
|
|
753
|
+
}), ri = {
|
|
754
754
|
getStagedChange: void 0,
|
|
755
755
|
updateStagedChange: void 0,
|
|
756
756
|
saveChanges: void 0,
|
|
757
757
|
clearStagedChanges: void 0
|
|
758
|
-
}, Ur = X(
|
|
758
|
+
}, Ur = X(ri), si = ({
|
|
759
759
|
children: t
|
|
760
760
|
}) => {
|
|
761
761
|
const [e, n] = I({}), r = (a) => e[a], s = (a, d) => {
|
|
@@ -779,12 +779,12 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
779
779
|
children: t
|
|
780
780
|
}
|
|
781
781
|
);
|
|
782
|
-
}, Hr = () => q(Ur),
|
|
782
|
+
}, Hr = () => q(Ur), Mc = (t) => (e) => /* @__PURE__ */ i(si, { children: /* @__PURE__ */ i(t, { ...e }) }), oi = ({ label: t, configProperty: e }) => {
|
|
783
783
|
const { value: n } = ae({ configProperty: e });
|
|
784
784
|
return /* @__PURE__ */ i(Ne, { label: t, value: n });
|
|
785
|
-
},
|
|
785
|
+
}, mn = ({ configProperty: t, hideUnits: e, isValid: n, ...r }) => {
|
|
786
786
|
var p, u;
|
|
787
|
-
const { t: s } =
|
|
787
|
+
const { t: s } = E("common", { keyPrefix: "validation" }), { significantValue: o } = ae({
|
|
788
788
|
configProperty: t
|
|
789
789
|
}), c = (m) => {
|
|
790
790
|
m || (m = ""), t.updateProperty(m);
|
|
@@ -807,7 +807,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
807
807
|
);
|
|
808
808
|
}, Ge = ({ configProperty: t, label: e, onChange: n, ...r }) => {
|
|
809
809
|
var c, a;
|
|
810
|
-
const { t: s } =
|
|
810
|
+
const { t: s } = E(["config-properties", "common"]), o = ae({ configProperty: t });
|
|
811
811
|
return /* @__PURE__ */ i(
|
|
812
812
|
Ws,
|
|
813
813
|
{
|
|
@@ -838,7 +838,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
838
838
|
checked: e !== void 0 ? e : c === "true"
|
|
839
839
|
}
|
|
840
840
|
);
|
|
841
|
-
},
|
|
841
|
+
}, ii = (t) => (t == null ? void 0 : t.map((e) => ({ id: e.value, label: e.label }))) || [], hn = ({
|
|
842
842
|
collapse: t,
|
|
843
843
|
cancelButtonLabel: e,
|
|
844
844
|
configProperty: n,
|
|
@@ -854,9 +854,9 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
854
854
|
unitValue: m,
|
|
855
855
|
...g
|
|
856
856
|
}) => {
|
|
857
|
-
const { t: y } =
|
|
857
|
+
const { t: y } = E(["config-properties", "common"]), f = ae({
|
|
858
858
|
configProperty: n,
|
|
859
|
-
optionsTransformer:
|
|
859
|
+
optionsTransformer: ii
|
|
860
860
|
});
|
|
861
861
|
return /* @__PURE__ */ i(
|
|
862
862
|
qt,
|
|
@@ -877,7 +877,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
877
877
|
unitValue: m ?? f.unit
|
|
878
878
|
}
|
|
879
879
|
);
|
|
880
|
-
},
|
|
880
|
+
}, ai = k(mn)`
|
|
881
881
|
border-top: var(--ddk-component-input-enable-card-input-container-border);
|
|
882
882
|
border-radius: 0;
|
|
883
883
|
cursor: pointer;
|
|
@@ -913,7 +913,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
913
913
|
--ddk-component-input-enable-card-input-font-weight
|
|
914
914
|
);
|
|
915
915
|
}
|
|
916
|
-
`,
|
|
916
|
+
`, ci = k(hn)`
|
|
917
917
|
border-top: var(--ddk-component-input-enable-card-input-container-border);
|
|
918
918
|
border-radius: 0;
|
|
919
919
|
cursor: pointer;
|
|
@@ -950,9 +950,9 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
950
950
|
--ddk-component-input-enable-card-input-font-weight
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
|
-
`,
|
|
953
|
+
`, di = (t, e, n, r, s) => {
|
|
954
954
|
let o;
|
|
955
|
-
const c = s === "compact" ?
|
|
955
|
+
const c = s === "compact" ? ai : mn, a = s === "compact" ? ci : hn, d = r.label ?? n(t.id);
|
|
956
956
|
switch (t.schemaType) {
|
|
957
957
|
case "boolean":
|
|
958
958
|
o = /* @__PURE__ */ i(
|
|
@@ -1006,18 +1006,18 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1006
1006
|
break;
|
|
1007
1007
|
}
|
|
1008
1008
|
return o;
|
|
1009
|
-
},
|
|
1009
|
+
}, li = (t) => (t == null ? void 0 : t.map((e) => ({ id: e.value, label: e.label }))) || [], Wr = ({
|
|
1010
1010
|
configProperty: t,
|
|
1011
1011
|
factory: e,
|
|
1012
1012
|
mappedOptions: n,
|
|
1013
1013
|
t: r,
|
|
1014
1014
|
...s
|
|
1015
1015
|
}) => {
|
|
1016
|
-
const { t: o } =
|
|
1016
|
+
const { t: o } = E(["config-properties", "common"]), { componentModeOverride: c } = G(), a = ae({
|
|
1017
1017
|
configProperty: t,
|
|
1018
|
-
optionsTransformer:
|
|
1018
|
+
optionsTransformer: li
|
|
1019
1019
|
});
|
|
1020
|
-
return e = e ??
|
|
1020
|
+
return e = e ?? di, e(
|
|
1021
1021
|
t,
|
|
1022
1022
|
{
|
|
1023
1023
|
...a,
|
|
@@ -1027,14 +1027,14 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1027
1027
|
s,
|
|
1028
1028
|
c
|
|
1029
1029
|
);
|
|
1030
|
-
},
|
|
1030
|
+
}, ui = k(Xs)`
|
|
1031
1031
|
align-items: ${(t) => t.mode === "compact" ? "flex-start" : void 0};
|
|
1032
1032
|
flex-direction: var(
|
|
1033
1033
|
--ddk-component-input-enable-card-container-flex-direction
|
|
1034
1034
|
);
|
|
1035
1035
|
padding: var(--ddk-component-input-enable-card-container-padding);
|
|
1036
1036
|
gap: var(--ddk-component-input-enable-card-container-gap);
|
|
1037
|
-
`,
|
|
1037
|
+
`, pi = k.div`
|
|
1038
1038
|
box-sizing: border-box;
|
|
1039
1039
|
display: flex;
|
|
1040
1040
|
flex-direction: var(
|
|
@@ -1042,27 +1042,27 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1042
1042
|
);
|
|
1043
1043
|
gap: var(--ddk-component-input-enable-card-input-container-gap);
|
|
1044
1044
|
width: 100%;
|
|
1045
|
-
`,
|
|
1045
|
+
`, mi = k(Wr)`
|
|
1046
1046
|
width: 100%;
|
|
1047
|
-
`,
|
|
1047
|
+
`, hi = k.div`
|
|
1048
1048
|
box-sizing: border-box;
|
|
1049
1049
|
padding: ${(t) => t.compact ? "var(--ddk-component-input-enable-card-toggle-container-padding)" : "0"};
|
|
1050
1050
|
width: var(--ddk-component-input-enable-card-toggle-container-width);
|
|
1051
|
-
`,
|
|
1051
|
+
`, fi = ({
|
|
1052
1052
|
configProperties: t,
|
|
1053
1053
|
disabled: e,
|
|
1054
1054
|
enabledConfigProperty: n
|
|
1055
1055
|
}) => {
|
|
1056
1056
|
const { value: r } = ae({
|
|
1057
1057
|
configProperty: n
|
|
1058
|
-
}), s = r === "true", { componentModeOverride: o } = G(), c = t.length === 1, a = c ?
|
|
1058
|
+
}), s = r === "true", { componentModeOverride: o } = G(), c = t.length === 1, a = c ? mi : Wr;
|
|
1059
1059
|
return /* @__PURE__ */ v(
|
|
1060
|
-
|
|
1060
|
+
ui,
|
|
1061
1061
|
{
|
|
1062
1062
|
disabled: !s || e,
|
|
1063
1063
|
mode: o,
|
|
1064
1064
|
children: [
|
|
1065
|
-
/* @__PURE__ */ i(
|
|
1065
|
+
/* @__PURE__ */ i(pi, { children: t.map((d) => /* @__PURE__ */ i(
|
|
1066
1066
|
a,
|
|
1067
1067
|
{
|
|
1068
1068
|
disabled: !s || e,
|
|
@@ -1076,7 +1076,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1076
1076
|
d.configProperty.id
|
|
1077
1077
|
)) }),
|
|
1078
1078
|
/* @__PURE__ */ i(
|
|
1079
|
-
|
|
1079
|
+
hi,
|
|
1080
1080
|
{
|
|
1081
1081
|
compact: !c || o === "compact",
|
|
1082
1082
|
children: /* @__PURE__ */ i(
|
|
@@ -1094,7 +1094,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1094
1094
|
]
|
|
1095
1095
|
}
|
|
1096
1096
|
);
|
|
1097
|
-
},
|
|
1097
|
+
}, Zc = ({
|
|
1098
1098
|
configProperty: t,
|
|
1099
1099
|
disabled: e,
|
|
1100
1100
|
enabledConfigProperty: n,
|
|
@@ -1105,14 +1105,14 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1105
1105
|
[t, r]
|
|
1106
1106
|
);
|
|
1107
1107
|
return /* @__PURE__ */ i(
|
|
1108
|
-
|
|
1108
|
+
fi,
|
|
1109
1109
|
{
|
|
1110
1110
|
configProperties: s,
|
|
1111
1111
|
disabled: e,
|
|
1112
1112
|
enabledConfigProperty: n
|
|
1113
1113
|
}
|
|
1114
1114
|
);
|
|
1115
|
-
},
|
|
1115
|
+
}, gi = ({
|
|
1116
1116
|
configProperty: t,
|
|
1117
1117
|
...e
|
|
1118
1118
|
}) => {
|
|
@@ -1120,7 +1120,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1120
1120
|
return /* @__PURE__ */ i(vt, { ...e, onChange: (s) => {
|
|
1121
1121
|
s !== void 0 && (t == null || t.updateProperty(String(s)));
|
|
1122
1122
|
}, value: n });
|
|
1123
|
-
},
|
|
1123
|
+
}, vi = ({
|
|
1124
1124
|
description: t,
|
|
1125
1125
|
float: e,
|
|
1126
1126
|
label: n,
|
|
@@ -1129,14 +1129,14 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1129
1129
|
time: o,
|
|
1130
1130
|
...c
|
|
1131
1131
|
}) => {
|
|
1132
|
-
const { regionModel: a } = me(), { t: d } =
|
|
1132
|
+
const { regionModel: a } = me(), { t: d } = E("common", { keyPrefix: "schedule" }), {
|
|
1133
1133
|
amPmOptions: l,
|
|
1134
1134
|
formattedTime: p,
|
|
1135
1135
|
hourOptions: u,
|
|
1136
1136
|
minuteOptions: m,
|
|
1137
1137
|
setTime: g,
|
|
1138
1138
|
time: y
|
|
1139
|
-
} =
|
|
1139
|
+
} = _r({ initialDate: o }), f = y.getHours(), w = z(
|
|
1140
1140
|
() => [
|
|
1141
1141
|
{
|
|
1142
1142
|
id: "hr",
|
|
@@ -1184,27 +1184,27 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1184
1184
|
description: t,
|
|
1185
1185
|
displayValue: p,
|
|
1186
1186
|
float: e,
|
|
1187
|
-
icon:
|
|
1187
|
+
icon: Dr,
|
|
1188
1188
|
label: n,
|
|
1189
1189
|
modalTitle: r,
|
|
1190
1190
|
proceedButtonLabel: d("save", "Save") || void 0,
|
|
1191
1191
|
onSave: ($) => {
|
|
1192
|
-
const
|
|
1193
|
-
_.setHours(
|
|
1192
|
+
const P = a != null && a.is12HourTimeFormat ? $.ampm === "AM" ? $.hr : $.hr + 12 : $.hr, T = $.min, _ = new Date(y);
|
|
1193
|
+
_.setHours(P), _.setMinutes(T), g(_), s == null || s({ hours: P, minutes: T });
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
1196
|
);
|
|
1197
|
-
},
|
|
1197
|
+
}, yi = ({ configProperty: t, ...e }) => {
|
|
1198
1198
|
var p;
|
|
1199
1199
|
const { getStagedChange: n, updateStagedChange: r } = Hr(), { value: s } = ae({ configProperty: t }), o = ((p = n == null ? void 0 : n(t.id)) == null ? void 0 : p.value) ?? s, { hours: c, minutes: a } = fo(Number(o)), d = /* @__PURE__ */ new Date();
|
|
1200
|
-
return d.setHours(c), d.setMinutes(a), /* @__PURE__ */ i(
|
|
1200
|
+
return d.setHours(c), d.setMinutes(a), /* @__PURE__ */ i(vi, { ...e, onSave: (u) => {
|
|
1201
1201
|
const m = go(u.hours, u.minutes);
|
|
1202
1202
|
r ? r(t.id, {
|
|
1203
1203
|
configProperty: t,
|
|
1204
1204
|
value: m
|
|
1205
1205
|
}) : t.updateProperty(m);
|
|
1206
1206
|
}, time: d });
|
|
1207
|
-
},
|
|
1207
|
+
}, bi = [0, 6], wi = ({
|
|
1208
1208
|
day: t = (/* @__PURE__ */ new Date()).getDate(),
|
|
1209
1209
|
month: e = (/* @__PURE__ */ new Date()).getMonth(),
|
|
1210
1210
|
onSave: n,
|
|
@@ -1212,7 +1212,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1212
1212
|
...s
|
|
1213
1213
|
}) => {
|
|
1214
1214
|
var g, y, f, w, A, $;
|
|
1215
|
-
const { t: o } =
|
|
1215
|
+
const { t: o } = E("region"), { regionModel: c } = me(), a = xr({
|
|
1216
1216
|
date: { year: r, month: e, day: t },
|
|
1217
1217
|
formatOptions: {
|
|
1218
1218
|
dayFormat: "short",
|
|
@@ -1221,13 +1221,13 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1221
1221
|
formatString: (c == null ? void 0 : c.selectedDateFormat) || "yyyy/MM/dd"
|
|
1222
1222
|
},
|
|
1223
1223
|
filterOptions: {
|
|
1224
|
-
daysOfWeekFilter:
|
|
1224
|
+
daysOfWeekFilter: bi,
|
|
1225
1225
|
yearsRange: [r - 10, r + 10]
|
|
1226
1226
|
}
|
|
1227
1227
|
}), d = z(
|
|
1228
1228
|
() => {
|
|
1229
|
-
var
|
|
1230
|
-
return (T = (
|
|
1229
|
+
var P, T;
|
|
1230
|
+
return (T = (P = a == null ? void 0 : a.dateState) == null ? void 0 : P.yearsOptionsArray) == null ? void 0 : T.map((_) => ({
|
|
1231
1231
|
id: _.value,
|
|
1232
1232
|
label: _.label
|
|
1233
1233
|
}));
|
|
@@ -1235,8 +1235,8 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1235
1235
|
[(g = a == null ? void 0 : a.dateState) == null ? void 0 : g.yearsOptionsArray]
|
|
1236
1236
|
), l = z(
|
|
1237
1237
|
() => {
|
|
1238
|
-
var
|
|
1239
|
-
return (T = (
|
|
1238
|
+
var P, T;
|
|
1239
|
+
return (T = (P = a == null ? void 0 : a.dateState) == null ? void 0 : P.daysOptionsArray) == null ? void 0 : T.map((_) => ({
|
|
1240
1240
|
id: _.value,
|
|
1241
1241
|
label: _.label
|
|
1242
1242
|
}));
|
|
@@ -1244,33 +1244,33 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1244
1244
|
[(y = a == null ? void 0 : a.dateState) == null ? void 0 : y.daysOptionsArray]
|
|
1245
1245
|
), p = z(
|
|
1246
1246
|
() => {
|
|
1247
|
-
var
|
|
1248
|
-
return (T = (
|
|
1247
|
+
var P, T;
|
|
1248
|
+
return (T = (P = a == null ? void 0 : a.dateState) == null ? void 0 : P.monthsOptionsArray) == null ? void 0 : T.map((_) => ({
|
|
1249
1249
|
id: _.value,
|
|
1250
1250
|
label: String(_.label)
|
|
1251
1251
|
}));
|
|
1252
1252
|
},
|
|
1253
1253
|
[(f = a == null ? void 0 : a.dateState) == null ? void 0 : f.monthsOptionsArray]
|
|
1254
1254
|
), u = z(() => {
|
|
1255
|
-
const
|
|
1255
|
+
const P = [];
|
|
1256
1256
|
return c == null || c.selectedDateOrder.split("").forEach((T) => {
|
|
1257
1257
|
var _, Y, ee;
|
|
1258
|
-
T === "y" ?
|
|
1258
|
+
T === "y" ? P.push({
|
|
1259
1259
|
id: "year",
|
|
1260
1260
|
items: d,
|
|
1261
1261
|
selectedItemId: (_ = a == null ? void 0 : a.dateState) == null ? void 0 : _.year,
|
|
1262
1262
|
loop: !1
|
|
1263
|
-
}) : T === "m" ?
|
|
1263
|
+
}) : T === "m" ? P.push({
|
|
1264
1264
|
id: "month",
|
|
1265
1265
|
items: p,
|
|
1266
1266
|
selectedItemId: (Y = a == null ? void 0 : a.dateState) == null ? void 0 : Y.month
|
|
1267
|
-
}) : T === "d" &&
|
|
1267
|
+
}) : T === "d" && P.push({
|
|
1268
1268
|
id: "day",
|
|
1269
1269
|
items: l,
|
|
1270
1270
|
selectedItemId: (ee = a == null ? void 0 : a.dateState) == null ? void 0 : ee.day,
|
|
1271
1271
|
loop: !1
|
|
1272
1272
|
});
|
|
1273
|
-
}),
|
|
1273
|
+
}), P;
|
|
1274
1274
|
}, [
|
|
1275
1275
|
(w = a == null ? void 0 : a.dateState) == null ? void 0 : w.day,
|
|
1276
1276
|
(A = a == null ? void 0 : a.dateState) == null ? void 0 : A.month,
|
|
@@ -1280,12 +1280,12 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1280
1280
|
c == null ? void 0 : c.selectedDateOrder,
|
|
1281
1281
|
d
|
|
1282
1282
|
]), m = V(
|
|
1283
|
-
async (
|
|
1284
|
-
const _ = new Date(
|
|
1283
|
+
async (P) => {
|
|
1284
|
+
const _ = new Date(P.year, P.month + 1, 0).getDate(), Y = P.day > _ ? 1 : P.day;
|
|
1285
1285
|
n({
|
|
1286
1286
|
day: Y,
|
|
1287
|
-
month:
|
|
1288
|
-
year:
|
|
1287
|
+
month: P.month,
|
|
1288
|
+
year: P.year
|
|
1289
1289
|
});
|
|
1290
1290
|
},
|
|
1291
1291
|
[n]
|
|
@@ -1304,9 +1304,9 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1304
1304
|
...s
|
|
1305
1305
|
}
|
|
1306
1306
|
);
|
|
1307
|
-
},
|
|
1307
|
+
}, _i = D(
|
|
1308
1308
|
({ pump: t, onComplete: e }) => {
|
|
1309
|
-
const { t: n } =
|
|
1309
|
+
const { t: n } = E("common", {
|
|
1310
1310
|
keyPrefix: "fcm-diagnostics"
|
|
1311
1311
|
}), [r, s] = I("idle"), [o, c] = I(), a = V(async () => {
|
|
1312
1312
|
s("test"), c(void 0);
|
|
@@ -1351,7 +1351,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1351
1351
|
successMessage: "",
|
|
1352
1352
|
failureMessage: "",
|
|
1353
1353
|
actionLabel: ""
|
|
1354
|
-
},
|
|
1354
|
+
}, Uc = (t) => {
|
|
1355
1355
|
const [e, n] = I(null), [r, s] = I(Qt), o = t.map((c) => {
|
|
1356
1356
|
const [a, , d] = c;
|
|
1357
1357
|
return [a == null ? void 0 : a.future, a, d];
|
|
@@ -1363,43 +1363,43 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1363
1363
|
});
|
|
1364
1364
|
c ? (n(c[0]), s(c[2])) : (n(null), s(Qt));
|
|
1365
1365
|
}, [...o, t]), [e, r];
|
|
1366
|
-
},
|
|
1366
|
+
}, xi = (t) => {
|
|
1367
1367
|
switch (t) {
|
|
1368
1368
|
case "calibrate":
|
|
1369
|
-
return Oo;
|
|
1370
|
-
case "fixed-45":
|
|
1371
1369
|
return $o;
|
|
1372
|
-
case "
|
|
1370
|
+
case "fixed-45":
|
|
1373
1371
|
return Ro;
|
|
1374
|
-
case "
|
|
1372
|
+
case "flush":
|
|
1375
1373
|
return Lo;
|
|
1376
|
-
case "
|
|
1374
|
+
case "high-flow-test":
|
|
1377
1375
|
return Vo;
|
|
1378
|
-
case "
|
|
1376
|
+
case "hold-to-pour":
|
|
1379
1377
|
return Fo;
|
|
1380
|
-
case "
|
|
1378
|
+
case "low-flow-test":
|
|
1381
1379
|
return Bo;
|
|
1382
|
-
case "
|
|
1380
|
+
case "manual-override":
|
|
1383
1381
|
return zo;
|
|
1384
|
-
case "
|
|
1382
|
+
case "msv-reset":
|
|
1385
1383
|
return jo;
|
|
1386
|
-
case "
|
|
1384
|
+
case "prime":
|
|
1387
1385
|
return Mo;
|
|
1386
|
+
case "purge":
|
|
1387
|
+
return Zo;
|
|
1388
1388
|
default:
|
|
1389
1389
|
return;
|
|
1390
1390
|
}
|
|
1391
|
-
},
|
|
1391
|
+
}, ki = (t) => (e, n = "intents") => ({
|
|
1392
1392
|
title: t(`${n}:troubles.${e}.progress`),
|
|
1393
1393
|
summary: t(`${n}:troubles.${e}.summary`),
|
|
1394
1394
|
successMessage: t(`${n}:troubles.${e}.success`),
|
|
1395
1395
|
failureMessage: t(`${n}:troubles.${e}.error`),
|
|
1396
1396
|
actionLabel: t(`${n}:troubles.${e}.action`)
|
|
1397
|
-
}), ot = (t, e =
|
|
1398
|
-
const { t: n } =
|
|
1397
|
+
}), ot = (t, e = xi) => {
|
|
1398
|
+
const { t: n } = E("troubles"), [r, s] = I(null), [o, c] = I(Qt), a = V(
|
|
1399
1399
|
async (d) => {
|
|
1400
1400
|
const l = e(d);
|
|
1401
1401
|
if (l) {
|
|
1402
|
-
const p =
|
|
1402
|
+
const p = ki(n)(d);
|
|
1403
1403
|
c(p);
|
|
1404
1404
|
const u = new l(t);
|
|
1405
1405
|
await u.performAction(), s(u);
|
|
@@ -1408,14 +1408,14 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1408
1408
|
[e, t, n]
|
|
1409
1409
|
);
|
|
1410
1410
|
return [r, a, o];
|
|
1411
|
-
},
|
|
1411
|
+
}, Ci = (t) => (H.debug(`pumpActionFactory: actionId=${t}`), Ho), Si = (t) => (e, n = "troubles") => ({
|
|
1412
1412
|
title: t(`${n}:troubles.${e}.progress`),
|
|
1413
1413
|
summary: t(`${n}:troubles.${e}.summary`),
|
|
1414
1414
|
successMessage: t(`${n}:troubles.${e}.success`),
|
|
1415
1415
|
failureMessage: t(`${n}:troubles.${e}.error`),
|
|
1416
1416
|
actionLabel: t(`${n}:troubles.${e}.action`)
|
|
1417
|
-
}),
|
|
1418
|
-
const { t: r } =
|
|
1417
|
+
}), Hc = (t, e, n = Ci) => {
|
|
1418
|
+
const { t: r } = E("troubles"), [s, o] = I(null), [c] = I(Si(r)(e)), a = V(async () => {
|
|
1419
1419
|
const d = n(e);
|
|
1420
1420
|
if (d) {
|
|
1421
1421
|
const l = new d(t, e);
|
|
@@ -1424,7 +1424,7 @@ const Yo = k.div``, Lc = D(() => {
|
|
|
1424
1424
|
}, [n, t, e]);
|
|
1425
1425
|
return [s, a, c];
|
|
1426
1426
|
};
|
|
1427
|
-
function
|
|
1427
|
+
function Wc(t) {
|
|
1428
1428
|
return (e) => {
|
|
1429
1429
|
const { model: n, status: r, KosModelLoader: s } = Br();
|
|
1430
1430
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, agitationControl: n }) });
|
|
@@ -1438,75 +1438,75 @@ const Kr = () => {
|
|
|
1438
1438
|
options: {}
|
|
1439
1439
|
});
|
|
1440
1440
|
};
|
|
1441
|
-
function
|
|
1441
|
+
function Ti(t) {
|
|
1442
1442
|
return (e) => {
|
|
1443
1443
|
const { model: n, status: r, KosModelLoader: s } = Kr();
|
|
1444
1444
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, animation: n }) });
|
|
1445
1445
|
};
|
|
1446
1446
|
}
|
|
1447
1447
|
const It = () => {
|
|
1448
|
-
const t =
|
|
1448
|
+
const t = Pn.type;
|
|
1449
1449
|
return Z({
|
|
1450
1450
|
modelId: t,
|
|
1451
|
-
modelType:
|
|
1451
|
+
modelType: Pn.type,
|
|
1452
1452
|
options: {}
|
|
1453
1453
|
});
|
|
1454
1454
|
};
|
|
1455
|
-
function
|
|
1455
|
+
function Kc(t) {
|
|
1456
1456
|
return (e) => {
|
|
1457
1457
|
const { model: n, status: r, KosModelLoader: s } = It();
|
|
1458
1458
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, application: n }) });
|
|
1459
1459
|
};
|
|
1460
1460
|
}
|
|
1461
|
-
const
|
|
1462
|
-
const t =
|
|
1461
|
+
const Ii = () => {
|
|
1462
|
+
const t = An.type;
|
|
1463
1463
|
return Z({
|
|
1464
1464
|
modelId: t,
|
|
1465
|
-
modelType:
|
|
1465
|
+
modelType: An.type,
|
|
1466
1466
|
options: {}
|
|
1467
1467
|
});
|
|
1468
1468
|
};
|
|
1469
|
-
function
|
|
1469
|
+
function Xc(t) {
|
|
1470
1470
|
return (e) => {
|
|
1471
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1471
|
+
const { model: n, status: r, KosModelLoader: s } = Ii();
|
|
1472
1472
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, carbWater: n }) });
|
|
1473
1473
|
};
|
|
1474
1474
|
}
|
|
1475
|
-
const
|
|
1476
|
-
const t =
|
|
1475
|
+
const Ei = () => {
|
|
1476
|
+
const t = Dn.type;
|
|
1477
1477
|
return Z({
|
|
1478
1478
|
modelId: t,
|
|
1479
|
-
modelType:
|
|
1479
|
+
modelType: Dn.type,
|
|
1480
1480
|
options: {},
|
|
1481
1481
|
activate: !0,
|
|
1482
1482
|
destroyOnUnmount: !0
|
|
1483
1483
|
});
|
|
1484
1484
|
};
|
|
1485
|
-
function
|
|
1485
|
+
function qc(t) {
|
|
1486
1486
|
return (e) => {
|
|
1487
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1487
|
+
const { model: n, status: r, KosModelLoader: s } = Ei();
|
|
1488
1488
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, copyLogs: n }) });
|
|
1489
1489
|
};
|
|
1490
1490
|
}
|
|
1491
1491
|
const Xr = () => {
|
|
1492
|
-
const t =
|
|
1492
|
+
const t = Nn.type;
|
|
1493
1493
|
return Z({
|
|
1494
1494
|
modelId: t,
|
|
1495
|
-
modelType:
|
|
1495
|
+
modelType: Nn.type,
|
|
1496
1496
|
options: {}
|
|
1497
1497
|
});
|
|
1498
1498
|
};
|
|
1499
|
-
function
|
|
1499
|
+
function Gc(t) {
|
|
1500
1500
|
return (e) => {
|
|
1501
1501
|
const { model: n, status: r, KosModelLoader: s } = Xr();
|
|
1502
1502
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, dashboardOperations: n }) });
|
|
1503
1503
|
};
|
|
1504
1504
|
}
|
|
1505
1505
|
const qr = () => {
|
|
1506
|
-
const t =
|
|
1506
|
+
const t = On.type;
|
|
1507
1507
|
return Z({
|
|
1508
1508
|
modelId: t,
|
|
1509
|
-
modelType:
|
|
1509
|
+
modelType: On.type,
|
|
1510
1510
|
options: {}
|
|
1511
1511
|
});
|
|
1512
1512
|
};
|
|
@@ -1516,14 +1516,14 @@ function Pi(t) {
|
|
|
1516
1516
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, dispenserInfo: n }) });
|
|
1517
1517
|
};
|
|
1518
1518
|
}
|
|
1519
|
-
const
|
|
1519
|
+
const Ai = (t) => Z({
|
|
1520
1520
|
modelId: t,
|
|
1521
1521
|
modelType: vo.type,
|
|
1522
1522
|
options: {}
|
|
1523
1523
|
});
|
|
1524
|
-
function
|
|
1524
|
+
function Yc(t) {
|
|
1525
1525
|
return (e) => {
|
|
1526
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
1526
|
+
const { model: n, status: r, KosModelLoader: s } = Ai(e.id);
|
|
1527
1527
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, door: n }) });
|
|
1528
1528
|
};
|
|
1529
1529
|
}
|
|
@@ -1564,14 +1564,14 @@ var B;
|
|
|
1564
1564
|
}
|
|
1565
1565
|
t.joinValues = r, t.jsonStringifyReplacer = (s, o) => typeof o == "bigint" ? o.toString() : o;
|
|
1566
1566
|
})(B || (B = {}));
|
|
1567
|
-
var
|
|
1567
|
+
var Wn;
|
|
1568
1568
|
(function(t) {
|
|
1569
1569
|
t.mergeShapes = (e, n) => ({
|
|
1570
1570
|
...e,
|
|
1571
1571
|
...n
|
|
1572
1572
|
// second overwrites first
|
|
1573
1573
|
});
|
|
1574
|
-
})(
|
|
1574
|
+
})(Wn || (Wn = {}));
|
|
1575
1575
|
const x = B.arrayToEnum([
|
|
1576
1576
|
"string",
|
|
1577
1577
|
"nan",
|
|
@@ -1752,11 +1752,11 @@ const en = (t, e) => {
|
|
|
1752
1752
|
}
|
|
1753
1753
|
return { message: n };
|
|
1754
1754
|
};
|
|
1755
|
-
let
|
|
1756
|
-
function
|
|
1757
|
-
return
|
|
1755
|
+
let Di = en;
|
|
1756
|
+
function Ni() {
|
|
1757
|
+
return Di;
|
|
1758
1758
|
}
|
|
1759
|
-
const
|
|
1759
|
+
const Oi = (t) => {
|
|
1760
1760
|
const { data: e, path: n, errorMaps: r, issueData: s } = t, o = [...n, ...s.path || []], c = {
|
|
1761
1761
|
...s,
|
|
1762
1762
|
path: o
|
|
@@ -1778,7 +1778,7 @@ const Ni = (t) => {
|
|
|
1778
1778
|
};
|
|
1779
1779
|
};
|
|
1780
1780
|
function b(t, e) {
|
|
1781
|
-
const n =
|
|
1781
|
+
const n = Ni(), r = Oi({
|
|
1782
1782
|
issueData: e,
|
|
1783
1783
|
data: t.data,
|
|
1784
1784
|
path: t.path,
|
|
@@ -1838,7 +1838,7 @@ class Q {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
const N = Object.freeze({
|
|
1840
1840
|
status: "aborted"
|
|
1841
|
-
}), qe = (t) => ({ status: "dirty", value: t }), te = (t) => ({ status: "valid", value: t }),
|
|
1841
|
+
}), qe = (t) => ({ status: "dirty", value: t }), te = (t) => ({ status: "valid", value: t }), Kn = (t) => t.status === "aborted", Xn = (t) => t.status === "dirty", $e = (t) => t.status === "valid", wt = (t) => typeof Promise < "u" && t instanceof Promise;
|
|
1842
1842
|
var C;
|
|
1843
1843
|
(function(t) {
|
|
1844
1844
|
t.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, t.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
|
|
@@ -1851,7 +1851,7 @@ class he {
|
|
|
1851
1851
|
return this._cachedPath.length || (Array.isArray(this._key) ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
|
|
1852
1852
|
}
|
|
1853
1853
|
}
|
|
1854
|
-
const
|
|
1854
|
+
const qn = (t, e) => {
|
|
1855
1855
|
if ($e(e))
|
|
1856
1856
|
return { success: !0, data: e.value };
|
|
1857
1857
|
if (!t.common.issues.length)
|
|
@@ -1936,7 +1936,7 @@ class F {
|
|
|
1936
1936
|
data: e,
|
|
1937
1937
|
parsedType: de(e)
|
|
1938
1938
|
}, s = this._parseSync({ data: e, path: r.path, parent: r });
|
|
1939
|
-
return
|
|
1939
|
+
return qn(r, s);
|
|
1940
1940
|
}
|
|
1941
1941
|
"~validate"(e) {
|
|
1942
1942
|
var r, s;
|
|
@@ -1990,7 +1990,7 @@ class F {
|
|
|
1990
1990
|
data: e,
|
|
1991
1991
|
parsedType: de(e)
|
|
1992
1992
|
}, s = this._parse({ data: e, path: r.path, parent: r }), o = await (wt(s) ? s : Promise.resolve(s));
|
|
1993
|
-
return
|
|
1993
|
+
return qn(r, o);
|
|
1994
1994
|
}
|
|
1995
1995
|
refine(e, n) {
|
|
1996
1996
|
const r = (s) => typeof n == "string" || typeof n > "u" ? { message: n } : typeof n == "function" ? n(s) : n;
|
|
@@ -2061,7 +2061,7 @@ class F {
|
|
|
2061
2061
|
});
|
|
2062
2062
|
}
|
|
2063
2063
|
brand() {
|
|
2064
|
-
return new
|
|
2064
|
+
return new na({
|
|
2065
2065
|
typeName: O.ZodBranded,
|
|
2066
2066
|
type: this,
|
|
2067
2067
|
...R(this._def)
|
|
@@ -2084,7 +2084,7 @@ class F {
|
|
|
2084
2084
|
});
|
|
2085
2085
|
}
|
|
2086
2086
|
pipe(e) {
|
|
2087
|
-
return
|
|
2087
|
+
return fn.create(this, e);
|
|
2088
2088
|
}
|
|
2089
2089
|
readonly() {
|
|
2090
2090
|
return on.create(this);
|
|
@@ -2096,28 +2096,28 @@ class F {
|
|
|
2096
2096
|
return this.safeParse(null).success;
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
|
-
const
|
|
2099
|
+
const $i = /^c[^\s-]{8,}$/i, Ri = /^[0-9a-z]+$/, Li = /^[0-9A-HJKMNP-TV-Z]{26}$/i, Vi = /^[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, Fi = /^[a-z0-9_-]{21}$/i, Bi = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, zi = /^[-+]?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)?)??$/, ji = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Mi = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
2100
2100
|
let Kt;
|
|
2101
|
-
const
|
|
2101
|
+
const Zi = /^(?:(?: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])$/, Ui = /^(?:(?: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])$/, Hi = /^(([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]))$/, Wi = /^(([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])$/, Ki = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, Xi = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, Gr = "((\\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])))", qi = new RegExp(`^${Gr}$`);
|
|
2102
2102
|
function Yr(t) {
|
|
2103
2103
|
let e = "[0-5]\\d";
|
|
2104
2104
|
t.precision ? e = `${e}\\.\\d{${t.precision}}` : t.precision == null && (e = `${e}(\\.\\d+)?`);
|
|
2105
2105
|
const n = t.precision ? "+" : "?";
|
|
2106
2106
|
return `([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`;
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2108
|
+
function Gi(t) {
|
|
2109
2109
|
return new RegExp(`^${Yr(t)}$`);
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function Yi(t) {
|
|
2112
2112
|
let e = `${Gr}T${Yr(t)}`;
|
|
2113
2113
|
const n = [];
|
|
2114
2114
|
return n.push(t.local ? "Z?" : "Z"), t.offset && n.push("([+-]\\d{2}:?\\d{2})"), e = `${e}(${n.join("|")})`, new RegExp(`^${e}$`);
|
|
2115
2115
|
}
|
|
2116
|
-
function Yi(t, e) {
|
|
2117
|
-
return !!((e === "v4" || !e) && Mi.test(t) || (e === "v6" || !e) && Ui.test(t));
|
|
2118
|
-
}
|
|
2119
2116
|
function Ji(t, e) {
|
|
2120
|
-
|
|
2117
|
+
return !!((e === "v4" || !e) && Zi.test(t) || (e === "v6" || !e) && Hi.test(t));
|
|
2118
|
+
}
|
|
2119
|
+
function Qi(t, e) {
|
|
2120
|
+
if (!Bi.test(t))
|
|
2121
2121
|
return !1;
|
|
2122
2122
|
try {
|
|
2123
2123
|
const [n] = t.split(".");
|
|
@@ -2129,8 +2129,8 @@ function Ji(t, e) {
|
|
|
2129
2129
|
return !1;
|
|
2130
2130
|
}
|
|
2131
2131
|
}
|
|
2132
|
-
function
|
|
2133
|
-
return !!((e === "v4" || !e) &&
|
|
2132
|
+
function ea(t, e) {
|
|
2133
|
+
return !!((e === "v4" || !e) && Ui.test(t) || (e === "v6" || !e) && Wi.test(t));
|
|
2134
2134
|
}
|
|
2135
2135
|
class le extends F {
|
|
2136
2136
|
_parse(e) {
|
|
@@ -2181,43 +2181,43 @@ class le extends F {
|
|
|
2181
2181
|
message: o.message
|
|
2182
2182
|
}), r.dirty());
|
|
2183
2183
|
} else if (o.kind === "email")
|
|
2184
|
-
|
|
2184
|
+
ji.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2185
2185
|
validation: "email",
|
|
2186
2186
|
code: h.invalid_string,
|
|
2187
2187
|
message: o.message
|
|
2188
2188
|
}), r.dirty());
|
|
2189
2189
|
else if (o.kind === "emoji")
|
|
2190
|
-
Kt || (Kt = new RegExp(
|
|
2190
|
+
Kt || (Kt = new RegExp(Mi, "u")), Kt.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2191
2191
|
validation: "emoji",
|
|
2192
2192
|
code: h.invalid_string,
|
|
2193
2193
|
message: o.message
|
|
2194
2194
|
}), r.dirty());
|
|
2195
2195
|
else if (o.kind === "uuid")
|
|
2196
|
-
|
|
2196
|
+
Vi.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2197
2197
|
validation: "uuid",
|
|
2198
2198
|
code: h.invalid_string,
|
|
2199
2199
|
message: o.message
|
|
2200
2200
|
}), r.dirty());
|
|
2201
2201
|
else if (o.kind === "nanoid")
|
|
2202
|
-
|
|
2202
|
+
Fi.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2203
2203
|
validation: "nanoid",
|
|
2204
2204
|
code: h.invalid_string,
|
|
2205
2205
|
message: o.message
|
|
2206
2206
|
}), r.dirty());
|
|
2207
2207
|
else if (o.kind === "cuid")
|
|
2208
|
-
|
|
2208
|
+
$i.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2209
2209
|
validation: "cuid",
|
|
2210
2210
|
code: h.invalid_string,
|
|
2211
2211
|
message: o.message
|
|
2212
2212
|
}), r.dirty());
|
|
2213
2213
|
else if (o.kind === "cuid2")
|
|
2214
|
-
|
|
2214
|
+
Ri.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2215
2215
|
validation: "cuid2",
|
|
2216
2216
|
code: h.invalid_string,
|
|
2217
2217
|
message: o.message
|
|
2218
2218
|
}), r.dirty());
|
|
2219
2219
|
else if (o.kind === "ulid")
|
|
2220
|
-
|
|
2220
|
+
Li.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2221
2221
|
validation: "ulid",
|
|
2222
2222
|
code: h.invalid_string,
|
|
2223
2223
|
message: o.message
|
|
@@ -2249,39 +2249,39 @@ class le extends F {
|
|
|
2249
2249
|
code: h.invalid_string,
|
|
2250
2250
|
validation: { endsWith: o.value },
|
|
2251
2251
|
message: o.message
|
|
2252
|
-
}), r.dirty()) : o.kind === "datetime" ?
|
|
2252
|
+
}), r.dirty()) : o.kind === "datetime" ? Yi(o).test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2253
2253
|
code: h.invalid_string,
|
|
2254
2254
|
validation: "datetime",
|
|
2255
2255
|
message: o.message
|
|
2256
|
-
}), r.dirty()) : o.kind === "date" ?
|
|
2256
|
+
}), r.dirty()) : o.kind === "date" ? qi.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2257
2257
|
code: h.invalid_string,
|
|
2258
2258
|
validation: "date",
|
|
2259
2259
|
message: o.message
|
|
2260
|
-
}), r.dirty()) : o.kind === "time" ?
|
|
2260
|
+
}), r.dirty()) : o.kind === "time" ? Gi(o).test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2261
2261
|
code: h.invalid_string,
|
|
2262
2262
|
validation: "time",
|
|
2263
2263
|
message: o.message
|
|
2264
|
-
}), r.dirty()) : o.kind === "duration" ?
|
|
2264
|
+
}), r.dirty()) : o.kind === "duration" ? zi.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2265
2265
|
validation: "duration",
|
|
2266
2266
|
code: h.invalid_string,
|
|
2267
2267
|
message: o.message
|
|
2268
|
-
}), r.dirty()) : o.kind === "ip" ?
|
|
2268
|
+
}), r.dirty()) : o.kind === "ip" ? Ji(e.data, o.version) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2269
2269
|
validation: "ip",
|
|
2270
2270
|
code: h.invalid_string,
|
|
2271
2271
|
message: o.message
|
|
2272
|
-
}), r.dirty()) : o.kind === "jwt" ?
|
|
2272
|
+
}), r.dirty()) : o.kind === "jwt" ? Qi(e.data, o.alg) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2273
2273
|
validation: "jwt",
|
|
2274
2274
|
code: h.invalid_string,
|
|
2275
2275
|
message: o.message
|
|
2276
|
-
}), r.dirty()) : o.kind === "cidr" ?
|
|
2276
|
+
}), r.dirty()) : o.kind === "cidr" ? ea(e.data, o.version) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2277
2277
|
validation: "cidr",
|
|
2278
2278
|
code: h.invalid_string,
|
|
2279
2279
|
message: o.message
|
|
2280
|
-
}), r.dirty()) : o.kind === "base64" ?
|
|
2280
|
+
}), r.dirty()) : o.kind === "base64" ? Ki.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2281
2281
|
validation: "base64",
|
|
2282
2282
|
code: h.invalid_string,
|
|
2283
2283
|
message: o.message
|
|
2284
|
-
}), r.dirty()) : o.kind === "base64url" ?
|
|
2284
|
+
}), r.dirty()) : o.kind === "base64url" ? Xi.test(e.data) || (s = this._getOrReturnCtx(e, s), b(s, {
|
|
2285
2285
|
validation: "base64url",
|
|
2286
2286
|
code: h.invalid_string,
|
|
2287
2287
|
message: o.message
|
|
@@ -2516,7 +2516,7 @@ le.create = (t) => new le({
|
|
|
2516
2516
|
coerce: (t == null ? void 0 : t.coerce) ?? !1,
|
|
2517
2517
|
...R(t)
|
|
2518
2518
|
});
|
|
2519
|
-
function
|
|
2519
|
+
function ta(t, e) {
|
|
2520
2520
|
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(".", ""));
|
|
2521
2521
|
return o % c / 10 ** s;
|
|
2522
2522
|
}
|
|
@@ -2555,7 +2555,7 @@ class Je extends F {
|
|
|
2555
2555
|
inclusive: o.inclusive,
|
|
2556
2556
|
exact: !1,
|
|
2557
2557
|
message: o.message
|
|
2558
|
-
}), s.dirty()) : o.kind === "multipleOf" ?
|
|
2558
|
+
}), s.dirty()) : o.kind === "multipleOf" ? ta(e.data, o.value) !== 0 && (r = this._getOrReturnCtx(e, r), b(r, {
|
|
2559
2559
|
code: h.not_multiple_of,
|
|
2560
2560
|
multipleOf: o.value,
|
|
2561
2561
|
message: o.message
|
|
@@ -2825,7 +2825,7 @@ Qe.create = (t) => new Qe({
|
|
|
2825
2825
|
coerce: (t == null ? void 0 : t.coerce) ?? !1,
|
|
2826
2826
|
...R(t)
|
|
2827
2827
|
});
|
|
2828
|
-
class
|
|
2828
|
+
class Gn extends F {
|
|
2829
2829
|
_parse(e) {
|
|
2830
2830
|
if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== x.boolean) {
|
|
2831
2831
|
const r = this._getOrReturnCtx(e);
|
|
@@ -2838,7 +2838,7 @@ class Yn extends F {
|
|
|
2838
2838
|
return te(e.data);
|
|
2839
2839
|
}
|
|
2840
2840
|
}
|
|
2841
|
-
|
|
2841
|
+
Gn.create = (t) => new Gn({
|
|
2842
2842
|
typeName: O.ZodBoolean,
|
|
2843
2843
|
coerce: (t == null ? void 0 : t.coerce) || !1,
|
|
2844
2844
|
...R(t)
|
|
@@ -2921,7 +2921,7 @@ _t.create = (t) => new _t({
|
|
|
2921
2921
|
typeName: O.ZodDate,
|
|
2922
2922
|
...R(t)
|
|
2923
2923
|
});
|
|
2924
|
-
class
|
|
2924
|
+
class Yn extends F {
|
|
2925
2925
|
_parse(e) {
|
|
2926
2926
|
if (this._getType(e) !== x.symbol) {
|
|
2927
2927
|
const r = this._getOrReturnCtx(e);
|
|
@@ -2934,11 +2934,11 @@ class Jn extends F {
|
|
|
2934
2934
|
return te(e.data);
|
|
2935
2935
|
}
|
|
2936
2936
|
}
|
|
2937
|
-
|
|
2937
|
+
Yn.create = (t) => new Yn({
|
|
2938
2938
|
typeName: O.ZodSymbol,
|
|
2939
2939
|
...R(t)
|
|
2940
2940
|
});
|
|
2941
|
-
class
|
|
2941
|
+
class Jn extends F {
|
|
2942
2942
|
_parse(e) {
|
|
2943
2943
|
if (this._getType(e) !== x.undefined) {
|
|
2944
2944
|
const r = this._getOrReturnCtx(e);
|
|
@@ -2951,11 +2951,11 @@ class Qn extends F {
|
|
|
2951
2951
|
return te(e.data);
|
|
2952
2952
|
}
|
|
2953
2953
|
}
|
|
2954
|
-
|
|
2954
|
+
Jn.create = (t) => new Jn({
|
|
2955
2955
|
typeName: O.ZodUndefined,
|
|
2956
2956
|
...R(t)
|
|
2957
2957
|
});
|
|
2958
|
-
class
|
|
2958
|
+
class Qn extends F {
|
|
2959
2959
|
_parse(e) {
|
|
2960
2960
|
if (this._getType(e) !== x.null) {
|
|
2961
2961
|
const r = this._getOrReturnCtx(e);
|
|
@@ -2968,11 +2968,11 @@ class er extends F {
|
|
|
2968
2968
|
return te(e.data);
|
|
2969
2969
|
}
|
|
2970
2970
|
}
|
|
2971
|
-
|
|
2971
|
+
Qn.create = (t) => new Qn({
|
|
2972
2972
|
typeName: O.ZodNull,
|
|
2973
2973
|
...R(t)
|
|
2974
2974
|
});
|
|
2975
|
-
class
|
|
2975
|
+
class er extends F {
|
|
2976
2976
|
constructor() {
|
|
2977
2977
|
super(...arguments), this._any = !0;
|
|
2978
2978
|
}
|
|
@@ -2980,11 +2980,11 @@ class tr extends F {
|
|
|
2980
2980
|
return te(e.data);
|
|
2981
2981
|
}
|
|
2982
2982
|
}
|
|
2983
|
-
|
|
2983
|
+
er.create = (t) => new er({
|
|
2984
2984
|
typeName: O.ZodAny,
|
|
2985
2985
|
...R(t)
|
|
2986
2986
|
});
|
|
2987
|
-
class
|
|
2987
|
+
class tr extends F {
|
|
2988
2988
|
constructor() {
|
|
2989
2989
|
super(...arguments), this._unknown = !0;
|
|
2990
2990
|
}
|
|
@@ -2992,7 +2992,7 @@ class nr extends F {
|
|
|
2992
2992
|
return te(e.data);
|
|
2993
2993
|
}
|
|
2994
2994
|
}
|
|
2995
|
-
|
|
2995
|
+
tr.create = (t) => new tr({
|
|
2996
2996
|
typeName: O.ZodUnknown,
|
|
2997
2997
|
...R(t)
|
|
2998
2998
|
});
|
|
@@ -3010,7 +3010,7 @@ fe.create = (t) => new fe({
|
|
|
3010
3010
|
typeName: O.ZodNever,
|
|
3011
3011
|
...R(t)
|
|
3012
3012
|
});
|
|
3013
|
-
class
|
|
3013
|
+
class nr extends F {
|
|
3014
3014
|
_parse(e) {
|
|
3015
3015
|
if (this._getType(e) !== x.undefined) {
|
|
3016
3016
|
const r = this._getOrReturnCtx(e);
|
|
@@ -3023,7 +3023,7 @@ class rr extends F {
|
|
|
3023
3023
|
return te(e.data);
|
|
3024
3024
|
}
|
|
3025
3025
|
}
|
|
3026
|
-
|
|
3026
|
+
nr.create = (t) => new nr({
|
|
3027
3027
|
typeName: O.ZodVoid,
|
|
3028
3028
|
...R(t)
|
|
3029
3029
|
});
|
|
@@ -3509,10 +3509,10 @@ function tn(t, e) {
|
|
|
3509
3509
|
class kt extends F {
|
|
3510
3510
|
_parse(e) {
|
|
3511
3511
|
const { status: n, ctx: r } = this._processInputParams(e), s = (o, c) => {
|
|
3512
|
-
if (
|
|
3512
|
+
if (Kn(o) || Kn(c))
|
|
3513
3513
|
return N;
|
|
3514
3514
|
const a = tn(o.value, c.value);
|
|
3515
|
-
return a.valid ? ((
|
|
3515
|
+
return a.valid ? ((Xn(o) || Xn(c)) && n.dirty(), { status: n.value, value: a.data }) : (b(r, {
|
|
3516
3516
|
code: h.invalid_intersection_types
|
|
3517
3517
|
}), N);
|
|
3518
3518
|
};
|
|
@@ -3594,7 +3594,7 @@ Se.create = (t, e) => {
|
|
|
3594
3594
|
...R(e)
|
|
3595
3595
|
});
|
|
3596
3596
|
};
|
|
3597
|
-
class
|
|
3597
|
+
class rr extends F {
|
|
3598
3598
|
get keySchema() {
|
|
3599
3599
|
return this._def.keyType;
|
|
3600
3600
|
}
|
|
@@ -3636,7 +3636,7 @@ class sr extends F {
|
|
|
3636
3636
|
}
|
|
3637
3637
|
}
|
|
3638
3638
|
}
|
|
3639
|
-
|
|
3639
|
+
rr.create = (t, e, n) => new rr({
|
|
3640
3640
|
valueType: e,
|
|
3641
3641
|
keyType: t,
|
|
3642
3642
|
typeName: O.ZodMap,
|
|
@@ -3706,7 +3706,7 @@ et.create = (t, e) => new et({
|
|
|
3706
3706
|
typeName: O.ZodSet,
|
|
3707
3707
|
...R(e)
|
|
3708
3708
|
});
|
|
3709
|
-
class
|
|
3709
|
+
class sr extends F {
|
|
3710
3710
|
get schema() {
|
|
3711
3711
|
return this._def.getter();
|
|
3712
3712
|
}
|
|
@@ -3715,7 +3715,7 @@ class or extends F {
|
|
|
3715
3715
|
return this._def.getter()._parse({ data: n.data, path: n.path, parent: n });
|
|
3716
3716
|
}
|
|
3717
3717
|
}
|
|
3718
|
-
|
|
3718
|
+
sr.create = (t, e) => new sr({
|
|
3719
3719
|
getter: t,
|
|
3720
3720
|
typeName: O.ZodLazy,
|
|
3721
3721
|
...R(e)
|
|
@@ -3803,7 +3803,7 @@ class Re extends F {
|
|
|
3803
3803
|
}
|
|
3804
3804
|
}
|
|
3805
3805
|
Re.create = Jr;
|
|
3806
|
-
class
|
|
3806
|
+
class or extends F {
|
|
3807
3807
|
_parse(e) {
|
|
3808
3808
|
const n = B.getValidEnumValues(this._def.values), r = this._getOrReturnCtx(e);
|
|
3809
3809
|
if (r.parsedType !== x.string && r.parsedType !== x.number) {
|
|
@@ -3828,7 +3828,7 @@ class ir extends F {
|
|
|
3828
3828
|
return this._def.values;
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
|
-
|
|
3831
|
+
or.create = (t, e) => new or({
|
|
3832
3832
|
values: t,
|
|
3833
3833
|
typeName: O.ZodNativeEnum,
|
|
3834
3834
|
...R(e)
|
|
@@ -4038,7 +4038,7 @@ sn.create = (t, e) => new sn({
|
|
|
4038
4038
|
catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
|
|
4039
4039
|
...R(e)
|
|
4040
4040
|
});
|
|
4041
|
-
class
|
|
4041
|
+
class ir extends F {
|
|
4042
4042
|
_parse(e) {
|
|
4043
4043
|
if (this._getType(e) !== x.nan) {
|
|
4044
4044
|
const r = this._getOrReturnCtx(e);
|
|
@@ -4051,11 +4051,11 @@ class ar extends F {
|
|
|
4051
4051
|
return { status: "valid", value: e.data };
|
|
4052
4052
|
}
|
|
4053
4053
|
}
|
|
4054
|
-
|
|
4054
|
+
ir.create = (t) => new ir({
|
|
4055
4055
|
typeName: O.ZodNaN,
|
|
4056
4056
|
...R(t)
|
|
4057
4057
|
});
|
|
4058
|
-
class
|
|
4058
|
+
class na extends F {
|
|
4059
4059
|
_parse(e) {
|
|
4060
4060
|
const { ctx: n } = this._processInputParams(e), r = n.data;
|
|
4061
4061
|
return this._def.type._parse({
|
|
@@ -4068,7 +4068,7 @@ class ta extends F {
|
|
|
4068
4068
|
return this._def.type;
|
|
4069
4069
|
}
|
|
4070
4070
|
}
|
|
4071
|
-
class
|
|
4071
|
+
class fn extends F {
|
|
4072
4072
|
_parse(e) {
|
|
4073
4073
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
4074
4074
|
if (r.common.async)
|
|
@@ -4101,7 +4101,7 @@ class gn extends F {
|
|
|
4101
4101
|
}
|
|
4102
4102
|
}
|
|
4103
4103
|
static create(e, n) {
|
|
4104
|
-
return new
|
|
4104
|
+
return new fn({
|
|
4105
4105
|
in: e,
|
|
4106
4106
|
out: n,
|
|
4107
4107
|
typeName: O.ZodPipeline
|
|
@@ -4132,59 +4132,59 @@ re.create;
|
|
|
4132
4132
|
xt.create;
|
|
4133
4133
|
kt.create;
|
|
4134
4134
|
Se.create;
|
|
4135
|
-
const
|
|
4135
|
+
const Et = nn.create, ra = Re.create;
|
|
4136
4136
|
Ct.create;
|
|
4137
4137
|
pe.create;
|
|
4138
4138
|
Ve.create;
|
|
4139
|
-
const
|
|
4139
|
+
const ar = ge(
|
|
4140
4140
|
{
|
|
4141
|
-
type:
|
|
4141
|
+
type: Et("dashboard.summary").describe("Extension type, must be 'dashboard.summary'"),
|
|
4142
4142
|
dashboardKey: se().min(1, "Dashboard key is required").describe("Key used to identify which dashboard this summary belongs to")
|
|
4143
4143
|
},
|
|
4144
4144
|
{ rankable: !0 }
|
|
4145
|
-
),
|
|
4146
|
-
id:
|
|
4145
|
+
), Pt = ve("ddk", "dashboard", "summary"), Jc = ye({
|
|
4146
|
+
id: Pt,
|
|
4147
4147
|
contributionKey: "dashboardSummary",
|
|
4148
4148
|
displayName: "Dashboard Summary",
|
|
4149
4149
|
description: "Extension point for dashboard summary plugin configurations with view support",
|
|
4150
4150
|
hasView: !0,
|
|
4151
4151
|
isRankable: !0,
|
|
4152
|
-
schema:
|
|
4152
|
+
schema: ar,
|
|
4153
4153
|
metadata: {
|
|
4154
4154
|
exportName: "DashboardSummaryExtension",
|
|
4155
4155
|
category: "Dashboard",
|
|
4156
4156
|
tags: ["dashboard", "summary", "visualization"]
|
|
4157
4157
|
},
|
|
4158
4158
|
validate: (t, e) => {
|
|
4159
|
-
we(
|
|
4159
|
+
we(ar, t, e) && Me(t, e);
|
|
4160
4160
|
},
|
|
4161
4161
|
transform: be()
|
|
4162
|
-
}),
|
|
4162
|
+
}), Qc = Pt, ed = `${Pt}.def`, td = `${Pt}.view`, cr = ge(
|
|
4163
4163
|
{
|
|
4164
|
-
type:
|
|
4164
|
+
type: Et("dashboard.detail").describe("Extension type, must be 'dashboard.detail'"),
|
|
4165
4165
|
dashboardKey: se().min(1, "Dashboard key is required").describe("Key used to identify which dashboard this detail belongs to")
|
|
4166
4166
|
},
|
|
4167
4167
|
{ rankable: !0 }
|
|
4168
|
-
), At = ve("ddk", "dashboard", "detail"),
|
|
4168
|
+
), At = ve("ddk", "dashboard", "detail"), nd = ye({
|
|
4169
4169
|
id: At,
|
|
4170
4170
|
contributionKey: "dashboardDetail",
|
|
4171
4171
|
displayName: "Dashboard Detail",
|
|
4172
4172
|
description: "Extension point for dashboard detail plugin configurations with view support",
|
|
4173
4173
|
hasView: !0,
|
|
4174
4174
|
isRankable: !0,
|
|
4175
|
-
schema:
|
|
4175
|
+
schema: cr,
|
|
4176
4176
|
metadata: {
|
|
4177
4177
|
exportName: "DashboardDetailExtension",
|
|
4178
4178
|
category: "Dashboard",
|
|
4179
4179
|
tags: ["dashboard", "detail", "visualization"]
|
|
4180
4180
|
},
|
|
4181
4181
|
validate: (t, e) => {
|
|
4182
|
-
we(
|
|
4182
|
+
we(cr, t, e) && Me(t, e);
|
|
4183
4183
|
},
|
|
4184
4184
|
transform: be()
|
|
4185
|
-
}),
|
|
4185
|
+
}), rd = At, sd = `${At}.def`, od = `${At}.view`, dr = ge(
|
|
4186
4186
|
{
|
|
4187
|
-
type:
|
|
4187
|
+
type: Et("dashboard.detail.pump").describe("Extension type, must be 'dashboard.detail.pump'"),
|
|
4188
4188
|
dashboardKey: se().min(1, "Dashboard key is required").describe(
|
|
4189
4189
|
"Key used to match this extension with specific dashboard pumps"
|
|
4190
4190
|
)
|
|
@@ -4197,62 +4197,62 @@ const cr = ge(
|
|
|
4197
4197
|
description: "Extension point for dashboard pump detail plugin configurations with view support",
|
|
4198
4198
|
hasView: !0,
|
|
4199
4199
|
isRankable: !0,
|
|
4200
|
-
schema:
|
|
4200
|
+
schema: dr,
|
|
4201
4201
|
metadata: {
|
|
4202
4202
|
exportName: "DashboardPumpDetailExtension"
|
|
4203
4203
|
},
|
|
4204
4204
|
validate: (t, e) => {
|
|
4205
|
-
we(
|
|
4205
|
+
we(dr, t, e) && Me(t, e);
|
|
4206
4206
|
},
|
|
4207
4207
|
transform: be()
|
|
4208
|
-
}),
|
|
4208
|
+
}), id = Dt, ad = `${Dt}.def`, cd = `${Dt}.view`, lr = ge({
|
|
4209
4209
|
cuiDescriptor: se().min(1, "CUI descriptor is required").describe(
|
|
4210
4210
|
"Descriptor used to identify and categorize the CUI functionality"
|
|
4211
4211
|
),
|
|
4212
|
-
modalMode:
|
|
4213
|
-
}), Nt = ve("ddk", "cui"),
|
|
4212
|
+
modalMode: ra(["fullscreen", "maximized"]).optional().describe("Modal display mode for the CUI interface")
|
|
4213
|
+
}), Nt = ve("ddk", "cui"), sa = ye({
|
|
4214
4214
|
id: Nt,
|
|
4215
4215
|
contributionKey: "cui",
|
|
4216
4216
|
displayName: "CUI (Consumer User Interface)",
|
|
4217
4217
|
description: "Extension point for CUI plugin configurations with view support",
|
|
4218
4218
|
hasView: !0,
|
|
4219
4219
|
isRankable: !1,
|
|
4220
|
-
schema:
|
|
4220
|
+
schema: lr,
|
|
4221
4221
|
metadata: {
|
|
4222
4222
|
exportName: "CuiExtension",
|
|
4223
4223
|
category: "Interface",
|
|
4224
4224
|
tags: ["cui", "user-interface", "consumer"]
|
|
4225
4225
|
},
|
|
4226
4226
|
validate: (t, e) => {
|
|
4227
|
-
we(
|
|
4227
|
+
we(lr, t, e) && un("CUI descriptor", t.cuiDescriptor, e);
|
|
4228
4228
|
},
|
|
4229
4229
|
transform: be()
|
|
4230
|
-
}),
|
|
4230
|
+
}), dd = Nt, ld = `${Nt}.def`, ud = `${Nt}.view`, ur = ge({
|
|
4231
4231
|
navDescriptor: se().min(1, "Navigation descriptor is required").describe(
|
|
4232
4232
|
"Descriptor used to identify and map the navigation functionality"
|
|
4233
4233
|
)
|
|
4234
|
-
}), Ot = ve("ddk", "nav", "view"),
|
|
4234
|
+
}), Ot = ve("ddk", "nav", "view"), pd = ye({
|
|
4235
4235
|
id: Ot,
|
|
4236
4236
|
contributionKey: "navViews",
|
|
4237
4237
|
displayName: "Navigation Views",
|
|
4238
4238
|
description: "Extension point for navigation view plugin configurations with view support",
|
|
4239
4239
|
hasView: !0,
|
|
4240
4240
|
isRankable: !1,
|
|
4241
|
-
schema:
|
|
4241
|
+
schema: ur,
|
|
4242
4242
|
metadata: {
|
|
4243
4243
|
exportName: "NavViewExtension",
|
|
4244
4244
|
category: "Navigation",
|
|
4245
4245
|
tags: ["navigation", "nav", "views", "routing"]
|
|
4246
4246
|
},
|
|
4247
4247
|
validate: (t, e) => {
|
|
4248
|
-
we(
|
|
4248
|
+
we(ur, t, e) && un(
|
|
4249
4249
|
"Navigation descriptor",
|
|
4250
4250
|
t.navDescriptor,
|
|
4251
4251
|
e
|
|
4252
4252
|
);
|
|
4253
4253
|
},
|
|
4254
4254
|
transform: be()
|
|
4255
|
-
}),
|
|
4255
|
+
}), md = Ot, hd = `${Ot}.def`, fd = `${Ot}.view`, pr = ge(
|
|
4256
4256
|
{
|
|
4257
4257
|
setupDescriptor: se().min(1, "Setup descriptor is required").describe("Descriptor used to identify and categorize the setup step")
|
|
4258
4258
|
},
|
|
@@ -4264,19 +4264,19 @@ const cr = ge(
|
|
|
4264
4264
|
description: "Extension point for setup step plugin configurations with view support",
|
|
4265
4265
|
hasView: !0,
|
|
4266
4266
|
isRankable: !0,
|
|
4267
|
-
schema:
|
|
4267
|
+
schema: pr,
|
|
4268
4268
|
metadata: {
|
|
4269
4269
|
exportName: "SetupExtension",
|
|
4270
4270
|
category: "Setup",
|
|
4271
4271
|
tags: ["setup", "configuration", "steps", "wizard"]
|
|
4272
4272
|
},
|
|
4273
4273
|
validate: (t, e) => {
|
|
4274
|
-
we(
|
|
4274
|
+
we(pr, t, e) && (un("Setup descriptor", t.setupDescriptor, e), Me(t, e));
|
|
4275
4275
|
},
|
|
4276
4276
|
transform: be()
|
|
4277
|
-
}),
|
|
4277
|
+
}), gd = $t, vd = `${$t}.def`, yd = `${$t}.view`, mr = ge(
|
|
4278
4278
|
{
|
|
4279
|
-
type:
|
|
4279
|
+
type: Et("trouble.action").describe("Extension type, must be 'trouble.action'"),
|
|
4280
4280
|
troubleType: se().min(1, "Trouble type is required").describe(
|
|
4281
4281
|
"Specific trouble type from TroubleContainer that triggers this action (e.g., 'pump-motor-fault', 'sensor-calibration-error'). This must match the exact trouble type string emitted by the device/system."
|
|
4282
4282
|
),
|
|
@@ -4295,56 +4295,56 @@ const cr = ge(
|
|
|
4295
4295
|
description: "Extension point for trouble action plugin configurations with view support",
|
|
4296
4296
|
hasView: !0,
|
|
4297
4297
|
isRankable: !0,
|
|
4298
|
-
schema:
|
|
4298
|
+
schema: mr,
|
|
4299
4299
|
metadata: {
|
|
4300
4300
|
exportName: "TroubleActionExtension",
|
|
4301
4301
|
category: "Trouble Management",
|
|
4302
4302
|
tags: ["trouble", "action", "state", "error-handling"]
|
|
4303
4303
|
},
|
|
4304
4304
|
validate: (t, e) => {
|
|
4305
|
-
we(
|
|
4305
|
+
we(mr, t, e) && Me(t, e);
|
|
4306
4306
|
},
|
|
4307
4307
|
transform: be()
|
|
4308
|
-
}),
|
|
4308
|
+
}), bd = Rt, wd = `${Rt}.def`, _d = `${Rt}.view`, hr = ge(
|
|
4309
4309
|
{
|
|
4310
4310
|
viewKey: se().min(1, "View key is required").describe(
|
|
4311
4311
|
"Key identifying the UI region where this component should be rendered (e.g., 'settings.config', 'dashboard.sidebar'). Multiple plugins can contribute to the same viewKey, and all will be rendered in the designated region."
|
|
4312
4312
|
)
|
|
4313
4313
|
},
|
|
4314
4314
|
{ rankable: !0 }
|
|
4315
|
-
), Lt = ve("ddk", "view"),
|
|
4315
|
+
), Lt = ve("ddk", "view"), xd = ye({
|
|
4316
4316
|
id: Lt,
|
|
4317
4317
|
contributionKey: "views",
|
|
4318
4318
|
displayName: "Views",
|
|
4319
4319
|
description: "Extension point for view plugin configurations with regional rendering support",
|
|
4320
4320
|
hasView: !0,
|
|
4321
4321
|
isRankable: !0,
|
|
4322
|
-
schema:
|
|
4322
|
+
schema: hr,
|
|
4323
4323
|
metadata: {
|
|
4324
4324
|
exportName: "ViewExtension",
|
|
4325
4325
|
category: "UI Layout",
|
|
4326
4326
|
tags: ["views", "ui", "rendering", "layout", "regions"]
|
|
4327
4327
|
},
|
|
4328
4328
|
validate: (t, e) => {
|
|
4329
|
-
we(
|
|
4329
|
+
we(hr, t, e) && (t.viewKey && (t.viewKey.includes(".") || e.addInfo(
|
|
4330
4330
|
`ViewKey '${t.viewKey}' might benefit from dot notation (e.g., 'settings.config', 'dashboard.sidebar') for better organization`
|
|
4331
4331
|
), ["view", "content", "main"].includes(t.viewKey) && e.addWarning(
|
|
4332
4332
|
`ViewKey '${t.viewKey}' is very generic - consider using more specific keys like 'settings.main' or 'dashboard.content'`
|
|
4333
4333
|
)), Me(t, e));
|
|
4334
4334
|
},
|
|
4335
4335
|
transform: be()
|
|
4336
|
-
}),
|
|
4336
|
+
}), kd = Lt, Cd = `${Lt}.def`, Sd = `${Lt}.view`, oa = "ddk.ncui.utilities", fr = {
|
|
4337
4337
|
[Qr.id]: "setupDescriptor",
|
|
4338
|
-
[
|
|
4339
|
-
[
|
|
4340
|
-
},
|
|
4338
|
+
[sa.id]: "cuiDescriptor",
|
|
4339
|
+
[oa]: "utilDescriptor"
|
|
4340
|
+
}, ia = ({
|
|
4341
4341
|
defaultNamespace: t,
|
|
4342
4342
|
extensionPoint: e
|
|
4343
4343
|
}) => {
|
|
4344
|
-
const { getExtensions: n } =
|
|
4344
|
+
const { getExtensions: n } = Lr(), r = n(e), s = r.map((d) => d.data.namespace) || [], { t: o } = E([t, ...new Set(s)]), c = r.reduce(
|
|
4345
4345
|
(d, l) => {
|
|
4346
4346
|
const p = l, u = p.data;
|
|
4347
|
-
return d[u[
|
|
4347
|
+
return d[u[fr[e]]] = {
|
|
4348
4348
|
extension: e,
|
|
4349
4349
|
module: p.id,
|
|
4350
4350
|
namespace: u.namespace,
|
|
@@ -4354,26 +4354,26 @@ const cr = ge(
|
|
|
4354
4354
|
{}
|
|
4355
4355
|
), a = r.reduce((d, l) => {
|
|
4356
4356
|
const u = l.data;
|
|
4357
|
-
return d[u[
|
|
4357
|
+
return d[u[fr[e]]] = `${u.namespace}:${u.title}`, d;
|
|
4358
4358
|
}, {});
|
|
4359
4359
|
return { namespaces: s, t: o, labelMap: a, contributionMap: c };
|
|
4360
4360
|
}, it = (t, e) => {
|
|
4361
4361
|
const n = z(() => ({
|
|
4362
|
-
agitate:
|
|
4362
|
+
agitate: Ko,
|
|
4363
4363
|
calibrate: ({ holder: c, pump: a, onComplete: d }) => {
|
|
4364
4364
|
const l = ue(
|
|
4365
4365
|
a ?? c.pumps.data[0],
|
|
4366
4366
|
Jt.type
|
|
4367
4367
|
);
|
|
4368
|
-
return /* @__PURE__ */ i(
|
|
4368
|
+
return /* @__PURE__ */ i(Qo, { pump: l, onComplete: d });
|
|
4369
4369
|
},
|
|
4370
4370
|
calibrateSPM: ({ holder: c, pump: a, onComplete: d }) => {
|
|
4371
4371
|
const l = ue(
|
|
4372
4372
|
a ?? c.pumps.data[0],
|
|
4373
|
-
|
|
4373
|
+
Nr.type
|
|
4374
4374
|
);
|
|
4375
4375
|
return /* @__PURE__ */ i(
|
|
4376
|
-
|
|
4376
|
+
gc,
|
|
4377
4377
|
{
|
|
4378
4378
|
pump: l,
|
|
4379
4379
|
onComplete: d
|
|
@@ -4385,17 +4385,17 @@ const cr = ge(
|
|
|
4385
4385
|
a ?? c.pumps.data[0],
|
|
4386
4386
|
Jt.type
|
|
4387
4387
|
);
|
|
4388
|
-
return /* @__PURE__ */ i(
|
|
4388
|
+
return /* @__PURE__ */ i(_i, { pump: l, onComplete: d });
|
|
4389
4389
|
},
|
|
4390
4390
|
"replace-pump": ({ holder: c, pump: a, onComplete: d }) => /* @__PURE__ */ i(
|
|
4391
|
-
|
|
4391
|
+
dc,
|
|
4392
4392
|
{
|
|
4393
4393
|
pump: a ?? c.pumps.data[0],
|
|
4394
4394
|
onComplete: d
|
|
4395
4395
|
}
|
|
4396
4396
|
),
|
|
4397
|
-
"rfid-override":
|
|
4398
|
-
"replace-line": ({ holder: c, onComplete: a }) => /* @__PURE__ */ i(
|
|
4397
|
+
"rfid-override": pc,
|
|
4398
|
+
"replace-line": ({ holder: c, onComplete: a }) => /* @__PURE__ */ i(ac, { holder: c, onComplete: a })
|
|
4399
4399
|
}), []), [r, s] = I(void 0), o = r ? n[r] : void 0;
|
|
4400
4400
|
return {
|
|
4401
4401
|
holderExperience: o ? /* @__PURE__ */ i(
|
|
@@ -4411,32 +4411,32 @@ const cr = ge(
|
|
|
4411
4411
|
setHolderExperience: s,
|
|
4412
4412
|
currentExperienceId: r
|
|
4413
4413
|
};
|
|
4414
|
-
}, es = X(void 0),
|
|
4414
|
+
}, es = X(void 0), Td = ({ children: t, value: e }) => /* @__PURE__ */ i(es.Provider, { value: e, children: t }), aa = (t) => ({ HolderContent: void 0 }), ts = (t, e = aa) => {
|
|
4415
4415
|
const n = q(es);
|
|
4416
4416
|
return e = (n == null ? void 0 : n.actionFactory) || e, e(t);
|
|
4417
4417
|
}, ns = () => {
|
|
4418
|
-
const t =
|
|
4418
|
+
const t = $n.type;
|
|
4419
4419
|
return Z({
|
|
4420
4420
|
modelId: t,
|
|
4421
|
-
modelType:
|
|
4421
|
+
modelType: $n.type,
|
|
4422
4422
|
options: {}
|
|
4423
4423
|
});
|
|
4424
4424
|
};
|
|
4425
|
-
function
|
|
4425
|
+
function Id(t) {
|
|
4426
4426
|
return () => (e) => {
|
|
4427
4427
|
const { model: n, status: r, KosModelLoader: s } = ns();
|
|
4428
4428
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, ingredientSummary: n }) });
|
|
4429
4429
|
};
|
|
4430
4430
|
}
|
|
4431
4431
|
const rs = () => {
|
|
4432
|
-
const t =
|
|
4432
|
+
const t = Rn.type;
|
|
4433
4433
|
return Z({
|
|
4434
4434
|
modelId: t,
|
|
4435
|
-
modelType:
|
|
4435
|
+
modelType: Rn.type,
|
|
4436
4436
|
options: {}
|
|
4437
4437
|
});
|
|
4438
4438
|
};
|
|
4439
|
-
function
|
|
4439
|
+
function ca(t) {
|
|
4440
4440
|
return (e) => {
|
|
4441
4441
|
const { model: n, status: r, KosModelLoader: s } = rs();
|
|
4442
4442
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, macroAssignment: n }) });
|
|
@@ -4447,65 +4447,65 @@ const ss = (t) => Z({
|
|
|
4447
4447
|
modelType: yo.type,
|
|
4448
4448
|
options: {}
|
|
4449
4449
|
});
|
|
4450
|
-
function
|
|
4450
|
+
function Ed(t) {
|
|
4451
4451
|
return (e) => (n) => {
|
|
4452
4452
|
const { model: r, status: s, KosModelLoader: o } = ss(e);
|
|
4453
4453
|
return /* @__PURE__ */ i(o, { ...s, children: /* @__PURE__ */ i(t, { ...n, networkTest: r }) });
|
|
4454
4454
|
};
|
|
4455
4455
|
}
|
|
4456
4456
|
const os = () => {
|
|
4457
|
-
const t =
|
|
4457
|
+
const t = Ln.type;
|
|
4458
4458
|
return Z({
|
|
4459
4459
|
modelId: t,
|
|
4460
|
-
modelType:
|
|
4460
|
+
modelType: Ln.type,
|
|
4461
4461
|
options: {}
|
|
4462
4462
|
});
|
|
4463
4463
|
};
|
|
4464
|
-
function
|
|
4464
|
+
function da(t) {
|
|
4465
4465
|
return (e) => {
|
|
4466
4466
|
const { model: n, status: r, KosModelLoader: s } = os();
|
|
4467
4467
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, networkTestContainer: n }) });
|
|
4468
4468
|
};
|
|
4469
4469
|
}
|
|
4470
|
-
const
|
|
4471
|
-
const t =
|
|
4470
|
+
const la = () => {
|
|
4471
|
+
const t = Vn.type;
|
|
4472
4472
|
return Z({
|
|
4473
4473
|
modelId: t,
|
|
4474
|
-
modelType:
|
|
4474
|
+
modelType: Vn.type,
|
|
4475
4475
|
options: {}
|
|
4476
4476
|
});
|
|
4477
4477
|
};
|
|
4478
4478
|
function Pd(t) {
|
|
4479
4479
|
return (e) => {
|
|
4480
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4480
|
+
const { model: n, status: r, KosModelLoader: s } = la();
|
|
4481
4481
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, nutritiveSweetener: n }) });
|
|
4482
4482
|
};
|
|
4483
4483
|
}
|
|
4484
|
-
const
|
|
4485
|
-
const t =
|
|
4484
|
+
const ua = () => {
|
|
4485
|
+
const t = Fn.type;
|
|
4486
4486
|
return Z({
|
|
4487
4487
|
modelId: t,
|
|
4488
|
-
modelType:
|
|
4488
|
+
modelType: Fn.type,
|
|
4489
4489
|
options: {},
|
|
4490
4490
|
destroyOnUnmount: !0
|
|
4491
4491
|
});
|
|
4492
4492
|
};
|
|
4493
|
-
function
|
|
4493
|
+
function Ad(t) {
|
|
4494
4494
|
return (e) => {
|
|
4495
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4495
|
+
const { model: n, status: r, KosModelLoader: s } = ua();
|
|
4496
4496
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, plainWater: n }) });
|
|
4497
4497
|
};
|
|
4498
4498
|
}
|
|
4499
|
-
const
|
|
4499
|
+
const Dd = (t) => {
|
|
4500
4500
|
switch (t.type) {
|
|
4501
4501
|
case "fcm":
|
|
4502
4502
|
return Jt.type;
|
|
4503
4503
|
case "lfcv":
|
|
4504
|
-
return
|
|
4504
|
+
return Po.type;
|
|
4505
4505
|
case "micro":
|
|
4506
|
-
return
|
|
4506
|
+
return Nr.type;
|
|
4507
4507
|
case "cgp":
|
|
4508
|
-
return
|
|
4508
|
+
return Or.type;
|
|
4509
4509
|
default:
|
|
4510
4510
|
return;
|
|
4511
4511
|
}
|
|
@@ -4523,7 +4523,7 @@ Vs(Ce, {
|
|
|
4523
4523
|
return s.length === 0 ? !0 : !s.includes(!1);
|
|
4524
4524
|
}
|
|
4525
4525
|
});
|
|
4526
|
-
class
|
|
4526
|
+
class pa {
|
|
4527
4527
|
constructor(e, n) {
|
|
4528
4528
|
M(this, "core");
|
|
4529
4529
|
M(this, "dispense");
|
|
@@ -4545,20 +4545,20 @@ class ua {
|
|
|
4545
4545
|
), this;
|
|
4546
4546
|
}
|
|
4547
4547
|
}
|
|
4548
|
-
class
|
|
4548
|
+
class Nd {
|
|
4549
4549
|
constructor() {
|
|
4550
4550
|
M(this, "dispense");
|
|
4551
4551
|
M(this, "core");
|
|
4552
4552
|
M(this, "plugin");
|
|
4553
|
-
this.dispense = new To(), this.core = new Fs(), this.plugin = new
|
|
4553
|
+
this.dispense = new To(), this.core = new Fs(), this.plugin = new pa(this.core, this.dispense);
|
|
4554
4554
|
}
|
|
4555
4555
|
}
|
|
4556
|
-
const Vt = (t) => t ?
|
|
4556
|
+
const Vt = (t) => t ? ma(t.type) : {
|
|
4557
4557
|
action: "",
|
|
4558
4558
|
label: "",
|
|
4559
4559
|
progress: "",
|
|
4560
4560
|
summary: ""
|
|
4561
|
-
},
|
|
4561
|
+
}, ma = (t) => {
|
|
4562
4562
|
const e = `troubles:troubles.${t}`;
|
|
4563
4563
|
return {
|
|
4564
4564
|
action: `${e}.action`,
|
|
@@ -4567,45 +4567,57 @@ const Vt = (t) => t ? pa(t.type) : {
|
|
|
4567
4567
|
summary: `${e}.summary`
|
|
4568
4568
|
};
|
|
4569
4569
|
}, Ft = (t) => {
|
|
4570
|
-
const
|
|
4571
|
-
return {
|
|
4570
|
+
const e = Do(), [, n] = I({}), [r] = I(/* @__PURE__ */ new Set());
|
|
4571
|
+
return W(() => {
|
|
4572
|
+
const o = [];
|
|
4573
|
+
return r.forEach((c) => {
|
|
4574
|
+
const a = e.subscribe(c, () => {
|
|
4575
|
+
n({});
|
|
4576
|
+
});
|
|
4577
|
+
o.push(a);
|
|
4578
|
+
}), () => {
|
|
4579
|
+
o.forEach((c) => c());
|
|
4580
|
+
};
|
|
4581
|
+
}, [e, r]), {
|
|
4572
4582
|
getExtensions: V(
|
|
4573
|
-
(
|
|
4574
|
-
|
|
4583
|
+
(o) => (r.add(o), Object.values(
|
|
4584
|
+
e.getExtensions(o, !1)
|
|
4585
|
+
).filter((d) => {
|
|
4586
|
+
const l = d.id;
|
|
4575
4587
|
return Ye[Ce].execute(
|
|
4576
4588
|
Ce,
|
|
4577
|
-
|
|
4589
|
+
l,
|
|
4578
4590
|
t
|
|
4579
4591
|
);
|
|
4580
|
-
}),
|
|
4581
|
-
[e, t]
|
|
4592
|
+
})),
|
|
4593
|
+
[e, t, r]
|
|
4582
4594
|
)
|
|
4583
4595
|
};
|
|
4584
|
-
},
|
|
4585
|
-
const t =
|
|
4596
|
+
}, gn = () => {
|
|
4597
|
+
const t = Bn.type;
|
|
4586
4598
|
return Z({
|
|
4587
4599
|
modelId: t,
|
|
4588
|
-
modelType:
|
|
4600
|
+
modelType: Bn.type,
|
|
4589
4601
|
options: {}
|
|
4590
4602
|
});
|
|
4591
4603
|
};
|
|
4592
|
-
function
|
|
4604
|
+
function Od(t) {
|
|
4593
4605
|
return () => (e) => {
|
|
4594
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4606
|
+
const { model: n, status: r, KosModelLoader: s } = gn();
|
|
4595
4607
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, reboot: n }) });
|
|
4596
4608
|
};
|
|
4597
4609
|
}
|
|
4598
|
-
const
|
|
4599
|
-
const t =
|
|
4610
|
+
const vn = () => {
|
|
4611
|
+
const t = zn.type;
|
|
4600
4612
|
return Z({
|
|
4601
4613
|
modelId: t,
|
|
4602
|
-
modelType:
|
|
4614
|
+
modelType: zn.type,
|
|
4603
4615
|
options: {}
|
|
4604
4616
|
});
|
|
4605
4617
|
};
|
|
4606
4618
|
function is(t) {
|
|
4607
4619
|
return (e) => {
|
|
4608
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4620
|
+
const { model: n, status: r, KosModelLoader: s } = vn();
|
|
4609
4621
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, settings: n }) });
|
|
4610
4622
|
};
|
|
4611
4623
|
}
|
|
@@ -4614,59 +4626,59 @@ const as = (t) => Z({
|
|
|
4614
4626
|
modelType: bo.type,
|
|
4615
4627
|
options: {}
|
|
4616
4628
|
});
|
|
4617
|
-
function
|
|
4629
|
+
function $d(t) {
|
|
4618
4630
|
return (e) => (n) => {
|
|
4619
4631
|
const { model: r, status: s, KosModelLoader: o } = as(e);
|
|
4620
4632
|
return /* @__PURE__ */ i(o, { ...s, children: /* @__PURE__ */ i(t, { ...n, setupStep: r }) });
|
|
4621
4633
|
};
|
|
4622
4634
|
}
|
|
4623
4635
|
const cs = () => {
|
|
4624
|
-
const t =
|
|
4636
|
+
const t = jn.type;
|
|
4625
4637
|
return Z({
|
|
4626
4638
|
modelId: t,
|
|
4627
|
-
modelType:
|
|
4639
|
+
modelType: jn.type,
|
|
4628
4640
|
options: {}
|
|
4629
4641
|
});
|
|
4630
4642
|
};
|
|
4631
|
-
function
|
|
4643
|
+
function ha(t) {
|
|
4632
4644
|
return (e) => {
|
|
4633
4645
|
const { model: n, status: r, KosModelLoader: s } = cs();
|
|
4634
4646
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, setupStepContainer: n }) });
|
|
4635
4647
|
};
|
|
4636
4648
|
}
|
|
4637
|
-
const
|
|
4638
|
-
const t =
|
|
4649
|
+
const fa = () => {
|
|
4650
|
+
const t = Mn.type;
|
|
4639
4651
|
return Z({
|
|
4640
4652
|
modelId: t,
|
|
4641
|
-
modelType:
|
|
4653
|
+
modelType: Mn.type,
|
|
4642
4654
|
options: {}
|
|
4643
4655
|
});
|
|
4644
4656
|
};
|
|
4645
|
-
function
|
|
4657
|
+
function Rd(t) {
|
|
4646
4658
|
return (e) => {
|
|
4647
|
-
const { model: n, status: r, KosModelLoader: s } =
|
|
4659
|
+
const { model: n, status: r, KosModelLoader: s } = fa();
|
|
4648
4660
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, start: n }) });
|
|
4649
4661
|
};
|
|
4650
4662
|
}
|
|
4651
4663
|
const ds = () => {
|
|
4652
|
-
const t =
|
|
4664
|
+
const t = Zn.type, { getExtensions: e } = Ft(), n = e(an.id).map(
|
|
4653
4665
|
(s) => s.data
|
|
4654
4666
|
);
|
|
4655
4667
|
return Z({
|
|
4656
4668
|
modelId: t,
|
|
4657
|
-
modelType:
|
|
4669
|
+
modelType: Zn.type,
|
|
4658
4670
|
options: {
|
|
4659
4671
|
definitions: n
|
|
4660
4672
|
}
|
|
4661
4673
|
});
|
|
4662
4674
|
};
|
|
4663
|
-
function
|
|
4675
|
+
function Ld(t) {
|
|
4664
4676
|
return (e) => {
|
|
4665
4677
|
const { model: n, status: r, KosModelLoader: s } = ds();
|
|
4666
4678
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, troubleAction: n }) });
|
|
4667
4679
|
};
|
|
4668
4680
|
}
|
|
4669
|
-
const
|
|
4681
|
+
const yn = (t) => {
|
|
4670
4682
|
const [e, n] = I({});
|
|
4671
4683
|
return W(() => {
|
|
4672
4684
|
async function r() {
|
|
@@ -4677,10 +4689,10 @@ const bn = (t) => {
|
|
|
4677
4689
|
}
|
|
4678
4690
|
r();
|
|
4679
4691
|
}, [t]), e;
|
|
4680
|
-
},
|
|
4692
|
+
}, ga = (t) => !t || t === "white", va = (t) => t ? void 0 : "white", ya = (t) => {
|
|
4681
4693
|
if (!zs(t))
|
|
4682
4694
|
return {};
|
|
4683
|
-
const e = t, { visibleTroubles: n, initialized: r } = at(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 =
|
|
4695
|
+
const e = t, { visibleTroubles: n, initialized: r } = at(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 = ga(a), l = c ? va(d) : void 0;
|
|
4684
4696
|
return {
|
|
4685
4697
|
backgroundColor: a,
|
|
4686
4698
|
fontColor: l,
|
|
@@ -4689,7 +4701,7 @@ const bn = (t) => {
|
|
|
4689
4701
|
troubleCount: s,
|
|
4690
4702
|
hasTroubles: c
|
|
4691
4703
|
};
|
|
4692
|
-
},
|
|
4704
|
+
}, Vd = ({
|
|
4693
4705
|
troubleType: t,
|
|
4694
4706
|
condition: e
|
|
4695
4707
|
}) => {
|
|
@@ -4703,54 +4715,54 @@ const bn = (t) => {
|
|
|
4703
4715
|
modelType: wo.type,
|
|
4704
4716
|
options: {}
|
|
4705
4717
|
});
|
|
4706
|
-
function
|
|
4718
|
+
function Fd(t) {
|
|
4707
4719
|
return (e) => (n) => {
|
|
4708
4720
|
const { model: r, status: s, KosModelLoader: o } = ls(e);
|
|
4709
4721
|
return /* @__PURE__ */ i(o, { ...s, children: /* @__PURE__ */ i(t, { ...n, utilities: r }) });
|
|
4710
4722
|
};
|
|
4711
4723
|
}
|
|
4712
4724
|
const us = () => {
|
|
4713
|
-
const t =
|
|
4725
|
+
const t = Un.type;
|
|
4714
4726
|
return Z({
|
|
4715
4727
|
modelId: t,
|
|
4716
|
-
modelType:
|
|
4728
|
+
modelType: Un.type,
|
|
4717
4729
|
options: {}
|
|
4718
4730
|
});
|
|
4719
4731
|
};
|
|
4720
|
-
function
|
|
4732
|
+
function Bd(t) {
|
|
4721
4733
|
return (e) => {
|
|
4722
4734
|
const { model: n, status: r, KosModelLoader: s } = us();
|
|
4723
4735
|
return /* @__PURE__ */ i(s, { ...r, children: /* @__PURE__ */ i(t, { ...e, utilitiesContainer: n }) });
|
|
4724
4736
|
};
|
|
4725
4737
|
}
|
|
4726
|
-
const
|
|
4738
|
+
const ba = Ms(
|
|
4727
4739
|
D(({ device: t }) => {
|
|
4728
|
-
const { t: e } =
|
|
4740
|
+
const { t: e } = E("dispenser-profile"), r = t.serialNumber === "unassigned" ? void 0 : t.serialNumber;
|
|
4729
4741
|
return /* @__PURE__ */ i(Ne, { label: e("dispenser-serial"), value: r });
|
|
4730
4742
|
})
|
|
4731
|
-
),
|
|
4743
|
+
), zd = Pi(
|
|
4732
4744
|
D(({ dispenserInfo: t }) => {
|
|
4733
|
-
const { t: e } =
|
|
4745
|
+
const { t: e } = E("dispenser-profile");
|
|
4734
4746
|
return /* @__PURE__ */ v(L, { children: [
|
|
4735
4747
|
/* @__PURE__ */ i(
|
|
4736
|
-
|
|
4748
|
+
oi,
|
|
4737
4749
|
{
|
|
4738
4750
|
label: e("dispenser-name", "Dispenser Name"),
|
|
4739
4751
|
configProperty: t.name
|
|
4740
4752
|
}
|
|
4741
4753
|
),
|
|
4742
|
-
/* @__PURE__ */ i(
|
|
4754
|
+
/* @__PURE__ */ i(ba, {})
|
|
4743
4755
|
] });
|
|
4744
4756
|
})
|
|
4745
|
-
),
|
|
4757
|
+
), jd = is(
|
|
4746
4758
|
D(({ settings: t }) => {
|
|
4747
|
-
const { t: e } =
|
|
4759
|
+
const { t: e } = E("dispenser-profile"), n = (r) => {
|
|
4748
4760
|
if (r && r.length >= 25)
|
|
4749
4761
|
return "The name shouldn’t exceed 25 characters.";
|
|
4750
4762
|
};
|
|
4751
4763
|
return /* @__PURE__ */ v(L, { children: [
|
|
4752
4764
|
/* @__PURE__ */ i(
|
|
4753
|
-
|
|
4765
|
+
mn,
|
|
4754
4766
|
{
|
|
4755
4767
|
closeButtonLabel: e("close", "Close") || void 0,
|
|
4756
4768
|
configProperty: t == null ? void 0 : t.name,
|
|
@@ -4761,7 +4773,7 @@ const ya = Ms(
|
|
|
4761
4773
|
}
|
|
4762
4774
|
),
|
|
4763
4775
|
/* @__PURE__ */ i(
|
|
4764
|
-
|
|
4776
|
+
yi,
|
|
4765
4777
|
{
|
|
4766
4778
|
label: e("activate-and-reboot-time"),
|
|
4767
4779
|
configProperty: t.activateAndRebootTime
|
|
@@ -4773,32 +4785,32 @@ const ya = Ms(
|
|
|
4773
4785
|
color: var(--ddk-generic-color-grey-60);
|
|
4774
4786
|
font-size: var(--ddk-component-enjoy-by-font-size-small);
|
|
4775
4787
|
font-weight: var(--ddk-component-enjoy-by-font-weight-small);
|
|
4776
|
-
`,
|
|
4788
|
+
`, wa = k(ln)`
|
|
4777
4789
|
color: var(--ddk-component-dashboard-enjoy-by-trouble-warning-color);
|
|
4778
|
-
`,
|
|
4790
|
+
`, _a = k(ps)`
|
|
4779
4791
|
color: var(--ddk-component-dashboard-enjoy-by-trouble-warning-color);
|
|
4780
4792
|
`, ms = ({ holder: t, size: e }) => {
|
|
4781
|
-
const { t: n } =
|
|
4793
|
+
const { t: n } = E("common"), { regionModel: r } = me(), s = !!t.enjoyByDate, o = t.enjoyByDate ?? /* @__PURE__ */ new Date(), { formattedDate: c } = Zs({
|
|
4782
4794
|
year: o.getFullYear(),
|
|
4783
4795
|
month: o.getMonth(),
|
|
4784
4796
|
day: o.getDate(),
|
|
4785
4797
|
formatString: (r == null ? void 0 : r.selectedDateFormat) || ""
|
|
4786
|
-
}), a = t.hasEnjoyByWarning ? e === "small" ?
|
|
4798
|
+
}), a = t.hasEnjoyByWarning ? e === "small" ? _a : wa : e === "small" ? ps : ln;
|
|
4787
4799
|
return s && /* @__PURE__ */ i(a, { children: n("enjoy-by", { data: { date: c } }) });
|
|
4788
|
-
},
|
|
4789
|
-
const { t: n } =
|
|
4800
|
+
}, xa = ({ item: t, valueKey: e }) => {
|
|
4801
|
+
const { t: n } = E("hardware-info"), { linked: r } = t;
|
|
4790
4802
|
if (e === "link.serialNum" && !r)
|
|
4791
4803
|
return /* @__PURE__ */ i(qs, { children: n("not-connected") });
|
|
4792
4804
|
const s = Gs(t, e);
|
|
4793
4805
|
return s || "—";
|
|
4794
|
-
},
|
|
4806
|
+
}, ka = k(Cr)`
|
|
4795
4807
|
& ul {
|
|
4796
4808
|
list-style-type: none;
|
|
4797
4809
|
margin: 0;
|
|
4798
4810
|
padding: 0;
|
|
4799
4811
|
}
|
|
4800
|
-
`,
|
|
4801
|
-
const { model: t } = Io(), { t: e } =
|
|
4812
|
+
`, Md = D(() => {
|
|
4813
|
+
const { model: t } = Io(), { t: e } = E("hardware-info"), n = (t == null ? void 0 : t.boardList.map((r) => {
|
|
4802
4814
|
var s, o, c;
|
|
4803
4815
|
return {
|
|
4804
4816
|
...r,
|
|
@@ -4809,9 +4821,9 @@ const ya = Ms(
|
|
|
4809
4821
|
};
|
|
4810
4822
|
})) || [];
|
|
4811
4823
|
return t && t.boardList && /* @__PURE__ */ i(
|
|
4812
|
-
|
|
4824
|
+
ka,
|
|
4813
4825
|
{
|
|
4814
|
-
CellRenderer:
|
|
4826
|
+
CellRenderer: xa,
|
|
4815
4827
|
data: n,
|
|
4816
4828
|
dataKeys: [
|
|
4817
4829
|
"name",
|
|
@@ -4837,9 +4849,9 @@ const ya = Ms(
|
|
|
4837
4849
|
onPourCancel: r,
|
|
4838
4850
|
...s
|
|
4839
4851
|
}) => {
|
|
4840
|
-
const { t: o } =
|
|
4852
|
+
const { t: o } = E("common"), [c, a] = I(
|
|
4841
4853
|
e.isPouring ? "halt" : "idle"
|
|
4842
|
-
), d =
|
|
4854
|
+
), d = Tn(), l = Tn(!1), p = 250;
|
|
4843
4855
|
W(() => Fe(() => {
|
|
4844
4856
|
e.isPouring || (l.current = !1, clearTimeout(d.current), d.current = void 0, a("idle"));
|
|
4845
4857
|
}), [e]), W(
|
|
@@ -4879,17 +4891,17 @@ const ya = Ms(
|
|
|
4879
4891
|
);
|
|
4880
4892
|
}, hs = X(
|
|
4881
4893
|
void 0
|
|
4882
|
-
),
|
|
4894
|
+
), Zd = ({ children: t }) => {
|
|
4883
4895
|
const { model: e, ready: n } = Kr(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
4884
4896
|
return /* @__PURE__ */ i(hs.Provider, { value: r, children: t });
|
|
4885
|
-
},
|
|
4897
|
+
}, Ud = () => {
|
|
4886
4898
|
const t = q(hs);
|
|
4887
4899
|
if (!t)
|
|
4888
4900
|
throw new Error(
|
|
4889
4901
|
"useAnimationContext must be used within a AnimationProvider"
|
|
4890
4902
|
);
|
|
4891
4903
|
return t;
|
|
4892
|
-
},
|
|
4904
|
+
}, Hd = Ti(
|
|
4893
4905
|
({
|
|
4894
4906
|
animation: t,
|
|
4895
4907
|
animationOverrides: e,
|
|
@@ -4928,50 +4940,50 @@ const ya = Ms(
|
|
|
4928
4940
|
}
|
|
4929
4941
|
), fs = X(
|
|
4930
4942
|
void 0
|
|
4931
|
-
),
|
|
4943
|
+
), Wd = ({ children: t }) => {
|
|
4932
4944
|
const { model: e, ready: n } = It(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
4933
4945
|
return /* @__PURE__ */ i(fs.Provider, { value: r, children: t });
|
|
4934
|
-
},
|
|
4946
|
+
}, bn = () => {
|
|
4935
4947
|
const t = q(fs);
|
|
4936
4948
|
if (!t)
|
|
4937
4949
|
throw new Error(
|
|
4938
4950
|
"useApplicationContext must be used within a ApplicationProvider"
|
|
4939
4951
|
);
|
|
4940
4952
|
return t;
|
|
4941
|
-
}, gs = X(void 0),
|
|
4953
|
+
}, gs = X(void 0), Kd = ({ children: t }) => {
|
|
4942
4954
|
const { model: e, ready: n } = Xr(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
4943
4955
|
return /* @__PURE__ */ i(gs.Provider, { value: r, children: t });
|
|
4944
|
-
},
|
|
4956
|
+
}, Xd = () => {
|
|
4945
4957
|
const t = q(gs);
|
|
4946
4958
|
if (!t)
|
|
4947
4959
|
throw new Error(
|
|
4948
4960
|
"useDashboardOperationsContext must be used within a DashboardOperationsProvider"
|
|
4949
4961
|
);
|
|
4950
4962
|
return t;
|
|
4951
|
-
}, vs = X(void 0),
|
|
4963
|
+
}, vs = X(void 0), qd = ({ children: t }) => {
|
|
4952
4964
|
const { model: e, ready: n } = qr(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
4953
4965
|
return /* @__PURE__ */ i(vs.Provider, { value: r, children: t });
|
|
4954
|
-
},
|
|
4966
|
+
}, Gd = () => {
|
|
4955
4967
|
const t = q(vs);
|
|
4956
4968
|
if (!t)
|
|
4957
4969
|
throw new Error(
|
|
4958
4970
|
"useDispenserInfoContext must be used within a DispenserInfoProvider"
|
|
4959
4971
|
);
|
|
4960
4972
|
return t;
|
|
4961
|
-
}, ys = X(void 0),
|
|
4973
|
+
}, ys = X(void 0), Yd = ({ children: t }) => {
|
|
4962
4974
|
const { model: e, ready: n } = ns(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
4963
4975
|
return /* @__PURE__ */ i(ys.Provider, { value: r, children: t });
|
|
4964
|
-
},
|
|
4976
|
+
}, Jd = () => {
|
|
4965
4977
|
const t = q(ys);
|
|
4966
4978
|
if (!t)
|
|
4967
4979
|
throw new Error(
|
|
4968
4980
|
"useIngredientSummaryContext must be used within a IngredientSummaryProvider"
|
|
4969
4981
|
);
|
|
4970
4982
|
return t;
|
|
4971
|
-
}, bs = X(void 0),
|
|
4983
|
+
}, bs = X(void 0), Qd = ({ children: t }) => {
|
|
4972
4984
|
const { model: e, ready: n } = rs(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
4973
4985
|
return /* @__PURE__ */ i(bs.Provider, { value: r, children: t });
|
|
4974
|
-
},
|
|
4986
|
+
}, el = () => {
|
|
4975
4987
|
const t = q(bs);
|
|
4976
4988
|
if (!t)
|
|
4977
4989
|
throw new Error(
|
|
@@ -4980,40 +4992,40 @@ const ya = Ms(
|
|
|
4980
4992
|
return t;
|
|
4981
4993
|
}, ws = X(
|
|
4982
4994
|
void 0
|
|
4983
|
-
),
|
|
4995
|
+
), tl = ({ children: t, id: e }) => {
|
|
4984
4996
|
const { model: n, ready: r } = ss(e), s = z(() => r && n ? { model: n } : {}, [r, n]);
|
|
4985
4997
|
return /* @__PURE__ */ i(ws.Provider, { value: s, children: t });
|
|
4986
|
-
},
|
|
4998
|
+
}, nl = () => {
|
|
4987
4999
|
const t = q(ws);
|
|
4988
5000
|
if (!t)
|
|
4989
5001
|
throw new Error(
|
|
4990
5002
|
"useNetworkTestContext must be used within a NetworkTestProvider"
|
|
4991
5003
|
);
|
|
4992
5004
|
return t;
|
|
4993
|
-
}, _s = X(void 0),
|
|
5005
|
+
}, _s = X(void 0), rl = ({ children: t }) => {
|
|
4994
5006
|
const { model: e, ready: n } = os(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
4995
5007
|
return /* @__PURE__ */ i(_s.Provider, { value: r, children: t });
|
|
4996
|
-
},
|
|
5008
|
+
}, sl = () => {
|
|
4997
5009
|
const t = q(_s);
|
|
4998
5010
|
if (!t)
|
|
4999
5011
|
throw new Error(
|
|
5000
5012
|
"useNetworkTestContainerContext must be used within a NetworkTestContainerProvider"
|
|
5001
5013
|
);
|
|
5002
5014
|
return t;
|
|
5003
|
-
}, xs = X(void 0),
|
|
5004
|
-
const { model: e, ready: n } =
|
|
5015
|
+
}, xs = X(void 0), ol = ({ children: t }) => {
|
|
5016
|
+
const { model: e, ready: n } = gn(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
5005
5017
|
return /* @__PURE__ */ i(xs.Provider, { value: r, children: t });
|
|
5006
|
-
},
|
|
5018
|
+
}, il = () => {
|
|
5007
5019
|
const t = q(xs);
|
|
5008
5020
|
if (!t)
|
|
5009
5021
|
throw new Error("useRebootContext must be used within a RebootProvider");
|
|
5010
5022
|
return t;
|
|
5011
5023
|
}, ks = X(
|
|
5012
5024
|
void 0
|
|
5013
|
-
),
|
|
5014
|
-
const { model: e, ready: n } =
|
|
5025
|
+
), al = ({ children: t }) => {
|
|
5026
|
+
const { model: e, ready: n } = vn(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
5015
5027
|
return /* @__PURE__ */ i(ks.Provider, { value: r, children: t });
|
|
5016
|
-
},
|
|
5028
|
+
}, cl = () => {
|
|
5017
5029
|
const t = q(ks);
|
|
5018
5030
|
if (!t)
|
|
5019
5031
|
throw new Error(
|
|
@@ -5022,20 +5034,20 @@ const ya = Ms(
|
|
|
5022
5034
|
return t;
|
|
5023
5035
|
}, Cs = X(
|
|
5024
5036
|
void 0
|
|
5025
|
-
),
|
|
5037
|
+
), dl = ({ children: t, id: e }) => {
|
|
5026
5038
|
const { model: n, ready: r } = as(e), s = z(() => r && n ? { model: n } : {}, [r, n]);
|
|
5027
5039
|
return /* @__PURE__ */ i(Cs.Provider, { value: s, children: t });
|
|
5028
|
-
},
|
|
5040
|
+
}, ll = () => {
|
|
5029
5041
|
const t = q(Cs);
|
|
5030
5042
|
if (!t)
|
|
5031
5043
|
throw new Error(
|
|
5032
5044
|
"useSetupStepContext must be used within a SetupStepProvider"
|
|
5033
5045
|
);
|
|
5034
5046
|
return t;
|
|
5035
|
-
}, Ss = X(void 0),
|
|
5047
|
+
}, Ss = X(void 0), ul = ({ children: t }) => {
|
|
5036
5048
|
const { model: e, ready: n } = cs(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
5037
5049
|
return /* @__PURE__ */ i(Ss.Provider, { value: r, children: t });
|
|
5038
|
-
},
|
|
5050
|
+
}, pl = () => {
|
|
5039
5051
|
const t = q(Ss);
|
|
5040
5052
|
if (!t)
|
|
5041
5053
|
throw new Error(
|
|
@@ -5044,20 +5056,20 @@ const ya = Ms(
|
|
|
5044
5056
|
return t;
|
|
5045
5057
|
}, Ts = X(
|
|
5046
5058
|
void 0
|
|
5047
|
-
),
|
|
5059
|
+
), ml = ({ children: t, id: e }) => {
|
|
5048
5060
|
const { model: n, ready: r } = ls(e), s = z(() => r && n ? { model: n } : {}, [r, n]);
|
|
5049
5061
|
return /* @__PURE__ */ i(Ts.Provider, { value: s, children: t });
|
|
5050
|
-
},
|
|
5062
|
+
}, hl = () => {
|
|
5051
5063
|
const t = q(Ts);
|
|
5052
5064
|
if (!t)
|
|
5053
5065
|
throw new Error(
|
|
5054
5066
|
"useUtilitiesContext must be used within a UtilitiesProvider"
|
|
5055
5067
|
);
|
|
5056
5068
|
return t;
|
|
5057
|
-
}, Is = X(void 0),
|
|
5069
|
+
}, Is = X(void 0), fl = ({ children: t }) => {
|
|
5058
5070
|
const { model: e, ready: n } = us(), r = z(() => n && e ? { model: e } : {}, [n, e]);
|
|
5059
5071
|
return /* @__PURE__ */ i(Is.Provider, { value: r, children: t });
|
|
5060
|
-
},
|
|
5072
|
+
}, gl = () => {
|
|
5061
5073
|
const t = q(Is);
|
|
5062
5074
|
if (!t)
|
|
5063
5075
|
throw new Error(
|
|
@@ -5065,7 +5077,7 @@ const ya = Ms(
|
|
|
5065
5077
|
);
|
|
5066
5078
|
return t;
|
|
5067
5079
|
}, at = (t) => {
|
|
5068
|
-
const { model: e } =
|
|
5080
|
+
const { model: e } = bn(), [n, r] = I(), s = e == null ? void 0 : e.currentRole, o = !!n;
|
|
5069
5081
|
return ho(() => {
|
|
5070
5082
|
const c = Fe(() => {
|
|
5071
5083
|
const a = t.troubles.filter(_o(s));
|
|
@@ -5078,9 +5090,9 @@ const ya = Ms(
|
|
|
5078
5090
|
c();
|
|
5079
5091
|
};
|
|
5080
5092
|
}, [t, s]), { visibleTroubles: n, initialized: o };
|
|
5081
|
-
},
|
|
5082
|
-
|
|
5083
|
-
const
|
|
5093
|
+
}, Es = H.createLogger({ name: "holder-group-view" });
|
|
5094
|
+
Es.debug("holder-group-view component loaded");
|
|
5095
|
+
const gr = k.div`
|
|
5084
5096
|
align-items: start;
|
|
5085
5097
|
|
|
5086
5098
|
display: flex;
|
|
@@ -5090,31 +5102,31 @@ const vr = k.div`
|
|
|
5090
5102
|
text-overflow: ellipsis;
|
|
5091
5103
|
width: 100%;
|
|
5092
5104
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5093
|
-
`,
|
|
5105
|
+
`, Ca = k.div`
|
|
5094
5106
|
display: flex;
|
|
5095
5107
|
align-items: center;
|
|
5096
5108
|
justify-content: center;
|
|
5097
5109
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5098
|
-
`,
|
|
5110
|
+
`, Sa = k.div`
|
|
5099
5111
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5100
5112
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5101
|
-
`,
|
|
5113
|
+
`, Ta = (t) => !t || t === "white", Ia = (t) => t ? void 0 : "white", Ea = (t, e) => e && e.hasEnjoyByWarning ? "var(--ddk-component-dashboard-enjoy-by-trouble-warning-color)" : t ? void 0 : "white", Pa = D(
|
|
5102
5114
|
({ holder: t, onHolderSelect: e, showNavIcon: n, summaryBody: r }) => {
|
|
5103
|
-
const { model: s } = It(), { visibleTroubles: o, initialized: c } = at(t), a = s == null ? void 0 : s.currentRole, { t: d } =
|
|
5115
|
+
const { model: s } = It(), { visibleTroubles: o, initialized: c } = at(t), a = s == null ? void 0 : s.currentRole, { t: d } = E("troubles"), { t: l } = E("common"), { componentModeOverride: p } = G(), u = p === "compact", { getExtensions: m } = Ft();
|
|
5104
5116
|
let g = !1;
|
|
5105
5117
|
const y = ue(
|
|
5106
5118
|
t,
|
|
5107
|
-
|
|
5119
|
+
$r.type
|
|
5108
5120
|
);
|
|
5109
|
-
y != null && y.isRemote && (
|
|
5121
|
+
y != null && y.isRemote && (Es.warn("Holder is remote, skipping rendering"), g = !0);
|
|
5110
5122
|
const [f, w] = I(!1), A = !!t.ingredientId, $ = V(() => {
|
|
5111
5123
|
w(!1);
|
|
5112
|
-
}, []),
|
|
5124
|
+
}, []), P = (o == null ? void 0 : o.length) ?? 0, T = o == null ? void 0 : o[0], _ = P > 0, Y = yn(T), ee = t.hasFuelGuage, ce = t.fillPercent, ct = t.removed ? "var(--ddk-component-dashboard-card-background-color-unassigned)" : g ? "var(--ddk-generic-color-grey-50)" : _ ? `${T == null ? void 0 : T.color}` : A ? void 0 : "var(--ddk-component-dashboard-card-background-color-unassigned)", zt = t.removed ? "var(--ddk-component-dashboard-card-header-background-color)" : void 0, dt = Ta(ct), Ie = g ? "white" : t.unassigned ? "var(--ddk-generic-color-grey-30)" : _ ? Ia(dt) : A ? void 0 : "var(--ddk-component-dashboard-card-color-unassigned)", lt = g ? "white" : _ ? Ea(dt, t) : A ? void 0 : "var(--ddk-component-dashboard-card-color-unassigned)", _n = Sr(t.name, u), Ue = g ? l("disabled") : t.removed ? l(t.previousIngredientName) : t.unassigned ? l("unassigned") : l(t.ingredientName), ut = /* @__PURE__ */ i(gr, { color: Ie, children: Ue }), pt = /* @__PURE__ */ i(Ca, { color: Ie, children: _n }), jt = /* @__PURE__ */ v(gr, { children: [
|
|
5113
5125
|
t.name,
|
|
5114
5126
|
" ",
|
|
5115
5127
|
Ue
|
|
5116
5128
|
] }), mt = A && ee && !_ && c ? r ?? /* @__PURE__ */ i(
|
|
5117
|
-
|
|
5129
|
+
Ir,
|
|
5118
5130
|
{
|
|
5119
5131
|
color: _ ? "var(--ddk-generic-color-white)" : void 0,
|
|
5120
5132
|
size: "small",
|
|
@@ -5124,17 +5136,17 @@ const vr = k.div`
|
|
|
5124
5136
|
() => m(St.id),
|
|
5125
5137
|
[m]
|
|
5126
5138
|
), We = z(
|
|
5127
|
-
() => ht.filter((xe) => !!xe.data).reduce((xe,
|
|
5128
|
-
const $s =
|
|
5129
|
-
return xe[$s.dashboardKey] =
|
|
5139
|
+
() => ht.filter((xe) => !!xe.data).reduce((xe, kn) => {
|
|
5140
|
+
const $s = kn.data;
|
|
5141
|
+
return xe[$s.dashboardKey] = kn.data, xe;
|
|
5130
5142
|
}, {}),
|
|
5131
5143
|
[ht]
|
|
5132
|
-
), Ke = !!We[He], { HolderContent:
|
|
5144
|
+
), Ke = !!We[He], { HolderContent: Ee, modalOptions: Pe } = ts(t), Ae = Vr(
|
|
5133
5145
|
St
|
|
5134
5146
|
), Zt = z(
|
|
5135
5147
|
() => {
|
|
5136
5148
|
var xe;
|
|
5137
|
-
return
|
|
5149
|
+
return Ee ? /* @__PURE__ */ i(Ee, { holder: t, onComplete: $ }) : Ke && Ae ? /* @__PURE__ */ i(
|
|
5138
5150
|
Ae,
|
|
5139
5151
|
{
|
|
5140
5152
|
module: (xe = We[He]) == null ? void 0 : xe.id,
|
|
@@ -5143,7 +5155,7 @@ const vr = k.div`
|
|
|
5143
5155
|
) : void 0;
|
|
5144
5156
|
},
|
|
5145
5157
|
[
|
|
5146
|
-
|
|
5158
|
+
Ee,
|
|
5147
5159
|
$,
|
|
5148
5160
|
We,
|
|
5149
5161
|
Ke,
|
|
@@ -5151,16 +5163,16 @@ const vr = k.div`
|
|
|
5151
5163
|
He,
|
|
5152
5164
|
Ae
|
|
5153
5165
|
]
|
|
5154
|
-
), As = Vt(T), Ds = /* @__PURE__ */ i(
|
|
5166
|
+
), As = Vt(T), Ds = /* @__PURE__ */ i(Sa, { color: _ ? Ie : lt, children: y != null && y.isRemote ? l("remote-nns-active") : _ ? d(As.summary, {
|
|
5155
5167
|
context: T != null && T.deferred ? "queued" : void 0,
|
|
5156
5168
|
data: Y
|
|
5157
|
-
}) : !u && /* @__PURE__ */ i(ms, { size: "small", holder: t }) }), { holderExperience: Ns, setHolderExperience:
|
|
5158
|
-
g || t.sortedPumps.length <= 0 || (a === "technician" ? w(!0) : t.unassigned || t.removed ?
|
|
5169
|
+
}) : !u && /* @__PURE__ */ i(ms, { size: "small", holder: t }) }), { holderExperience: Ns, setHolderExperience: xn } = it(t), { future: ft } = _e(T), Os = V(() => {
|
|
5170
|
+
g || t.sortedPumps.length <= 0 || (a === "technician" ? w(!0) : t.unassigned || t.removed ? xn("rfid-override") : _ && (e == null || e(t)));
|
|
5159
5171
|
}, [
|
|
5160
5172
|
g,
|
|
5161
5173
|
t,
|
|
5162
5174
|
a,
|
|
5163
|
-
|
|
5175
|
+
xn,
|
|
5164
5176
|
_,
|
|
5165
5177
|
e
|
|
5166
5178
|
]);
|
|
@@ -5169,7 +5181,7 @@ const vr = k.div`
|
|
|
5169
5181
|
Be,
|
|
5170
5182
|
{
|
|
5171
5183
|
contain: !u,
|
|
5172
|
-
...
|
|
5184
|
+
...Pe,
|
|
5173
5185
|
show: f,
|
|
5174
5186
|
onClose: $,
|
|
5175
5187
|
children: [
|
|
@@ -5189,14 +5201,14 @@ const vr = k.div`
|
|
|
5189
5201
|
),
|
|
5190
5202
|
/* @__PURE__ */ i(st, { children: Ns }),
|
|
5191
5203
|
/* @__PURE__ */ i(
|
|
5192
|
-
|
|
5204
|
+
Tr,
|
|
5193
5205
|
{
|
|
5194
5206
|
avatar: pt,
|
|
5195
5207
|
headerBackgroundColor: zt,
|
|
5196
5208
|
backgroundColor: ct,
|
|
5197
5209
|
footer: Ds,
|
|
5198
5210
|
cardId: t.path,
|
|
5199
|
-
errors:
|
|
5211
|
+
errors: P,
|
|
5200
5212
|
title: ut,
|
|
5201
5213
|
indicatorColor: Mt,
|
|
5202
5214
|
disabled: g,
|
|
@@ -5218,7 +5230,7 @@ const vr = k.div`
|
|
|
5218
5230
|
)
|
|
5219
5231
|
] });
|
|
5220
5232
|
}
|
|
5221
|
-
),
|
|
5233
|
+
), Ps = k.div`
|
|
5222
5234
|
display: flex;
|
|
5223
5235
|
flex-direction: var(--ddk-component-dashboard-card-flex-direction);
|
|
5224
5236
|
flex-wrap: nowrap;
|
|
@@ -5227,7 +5239,7 @@ const vr = k.div`
|
|
|
5227
5239
|
height: 100%;
|
|
5228
5240
|
user-select: none;
|
|
5229
5241
|
overflow: visible;
|
|
5230
|
-
`,
|
|
5242
|
+
`, Aa = D(({ holder: t, showNavIcons: e }) => {
|
|
5231
5243
|
const n = t.troubles[0];
|
|
5232
5244
|
return /* @__PURE__ */ i(
|
|
5233
5245
|
Pa,
|
|
@@ -5240,11 +5252,11 @@ const vr = k.div`
|
|
|
5240
5252
|
},
|
|
5241
5253
|
t.id
|
|
5242
5254
|
);
|
|
5243
|
-
}),
|
|
5255
|
+
}), vl = D(
|
|
5244
5256
|
({ holders: t, showNavIcons: e, ...n }) => {
|
|
5245
5257
|
const r = z(
|
|
5246
5258
|
() => t.map((s) => /* @__PURE__ */ i(
|
|
5247
|
-
|
|
5259
|
+
Aa,
|
|
5248
5260
|
{
|
|
5249
5261
|
holder: s,
|
|
5250
5262
|
showNavIcons: !!e
|
|
@@ -5253,18 +5265,18 @@ const vr = k.div`
|
|
|
5253
5265
|
)),
|
|
5254
5266
|
[t, e]
|
|
5255
5267
|
);
|
|
5256
|
-
return /* @__PURE__ */ i(
|
|
5268
|
+
return /* @__PURE__ */ i(Ps, { ...n, children: r });
|
|
5257
5269
|
}
|
|
5258
|
-
),
|
|
5259
|
-
|
|
5260
|
-
const
|
|
5270
|
+
), Da = H.createLogger({ name: "holder-group-view" });
|
|
5271
|
+
Da.debug("holder-group-view component loaded");
|
|
5272
|
+
const vr = ["water", "carb", "ns", "nns"], Na = k.div`
|
|
5261
5273
|
display: flex;
|
|
5262
5274
|
flex-direction: column;
|
|
5263
5275
|
overflow-y: auto;
|
|
5264
5276
|
overflow-x: hidden;
|
|
5265
5277
|
justify-content: space-between;
|
|
5266
5278
|
height: 100%;
|
|
5267
|
-
`,
|
|
5279
|
+
`, yr = k.div`
|
|
5268
5280
|
align-items: start;
|
|
5269
5281
|
|
|
5270
5282
|
display: flex;
|
|
@@ -5274,31 +5286,31 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5274
5286
|
text-overflow: ellipsis;
|
|
5275
5287
|
width: 100%;
|
|
5276
5288
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5277
|
-
`,
|
|
5289
|
+
`, Oa = k.div`
|
|
5278
5290
|
display: flex;
|
|
5279
5291
|
align-items: center;
|
|
5280
5292
|
justify-content: center;
|
|
5281
5293
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5282
|
-
`,
|
|
5294
|
+
`, $a = k.div`
|
|
5283
5295
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5284
5296
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5285
|
-
`,
|
|
5297
|
+
`, Ra = (t) => !t || t === "white", La = (t) => t ? void 0 : "white", Va = D(
|
|
5286
5298
|
({ holder: t, onHolderSelect: e, showNavIcon: n }) => {
|
|
5287
|
-
var Ke,
|
|
5288
|
-
const { model: r } = It(), { visibleTroubles: s, initialized: o } = at(t), { t: c } =
|
|
5299
|
+
var Ke, Ee;
|
|
5300
|
+
const { model: r } = It(), { visibleTroubles: s, initialized: o } = at(t), { t: c } = E(["troubles", "common"]), { componentModeOverride: a } = G(), d = a === "compact", { getExtensions: l } = Ft(), p = (Ke = r == null ? void 0 : r.currentRole) == null ? void 0 : Ke.toLowerCase(), [u, m] = I(!1), g = !!t.ingredientId, y = (s == null ? void 0 : s.length) ?? 0, f = s == null ? void 0 : s[0], w = s ? s.length > 0 : !1, A = w ? `${f == null ? void 0 : f.color}` : void 0, $ = Ra(A), P = w ? La($) : g ? void 0 : "var(--ddk-component-dashboard-card-color-unassigned)", T = Sr(
|
|
5289
5301
|
t.name,
|
|
5290
5302
|
a === "compact"
|
|
5291
|
-
), _ = c(`common:macros.${t.name}`), Y = c(`common:${t.ingredientName}`), ee = g ?
|
|
5303
|
+
), _ = c(`common:macros.${t.name}`), Y = c(`common:${t.ingredientName}`), ee = g ? vr.includes(t.name) ? "" : ` ${Y}` : ` ${c("common:macros.unassigned")}`, ce = `${_}${ee}`, ct = d ? vr.includes(t.name) ? _ : ee : `${_} ${ee}`, zt = a === "compact" && /* @__PURE__ */ i(Oa, { color: P, children: T }), dt = /* @__PURE__ */ i(yr, { color: P, children: ct }), Ie = /* @__PURE__ */ i(yr, { children: ce }), lt = Ye.executeDashboardKeyFactory(t) || "", Ue = l(St.id).filter((Pe) => !!Pe.data).reduce((Pe, Ae) => {
|
|
5292
5304
|
const Zt = Ae.data;
|
|
5293
|
-
return
|
|
5305
|
+
return Pe[Zt.dashboardKey] = Ae.data, Pe;
|
|
5294
5306
|
}, {}), ut = !!Ue[lt], { HolderContent: pt, modalOptions: jt } = ts(t), mt = Vr(
|
|
5295
5307
|
St
|
|
5296
|
-
), Mt = pt ? /* @__PURE__ */ i(pt, { holder: t, onComplete: () => m(!1) }) : ut && mt ? /* @__PURE__ */ i(mt, { module: (
|
|
5308
|
+
), Mt = pt ? /* @__PURE__ */ i(pt, { holder: t, onComplete: () => m(!1) }) : ut && mt ? /* @__PURE__ */ i(mt, { module: (Ee = Ue[lt]) == null ? void 0 : Ee.id, holder: t }) : null, He = Vt(f), ht = w ? /* @__PURE__ */ i($a, { color: P, children: c(He.summary) }) : null, We = V(() => {
|
|
5297
5309
|
t.sortedPumps.length > 0 && (p === "technician" ? m(!0) : w && (e == null || e(t)));
|
|
5298
5310
|
}, [w, t, e, p]);
|
|
5299
5311
|
return /* @__PURE__ */ v(L, { children: [
|
|
5300
5312
|
/* @__PURE__ */ i(
|
|
5301
|
-
|
|
5313
|
+
Tr,
|
|
5302
5314
|
{
|
|
5303
5315
|
avatar: zt,
|
|
5304
5316
|
backgroundColor: A,
|
|
@@ -5325,7 +5337,7 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5325
5337
|
...jt,
|
|
5326
5338
|
show: u,
|
|
5327
5339
|
onClose: () => m(!1),
|
|
5328
|
-
children: /* @__PURE__ */ v(
|
|
5340
|
+
children: /* @__PURE__ */ v(Na, { children: [
|
|
5329
5341
|
/* @__PURE__ */ i(
|
|
5330
5342
|
ze,
|
|
5331
5343
|
{
|
|
@@ -5343,11 +5355,11 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5343
5355
|
(f == null ? void 0 : f.future) && /* @__PURE__ */ i(K, { title: Ie, future: f == null ? void 0 : f.future })
|
|
5344
5356
|
] });
|
|
5345
5357
|
}
|
|
5346
|
-
),
|
|
5347
|
-
({ holders: t, showNavIcons: e, ...n }) => /* @__PURE__ */ i(
|
|
5358
|
+
), yl = D(
|
|
5359
|
+
({ holders: t, showNavIcons: e, ...n }) => /* @__PURE__ */ i(Ps, { ...n, children: t.map((r) => {
|
|
5348
5360
|
const s = r.troubles[0];
|
|
5349
5361
|
return /* @__PURE__ */ i(
|
|
5350
|
-
|
|
5362
|
+
Va,
|
|
5351
5363
|
{
|
|
5352
5364
|
holder: r,
|
|
5353
5365
|
showNavIcon: e,
|
|
@@ -5358,17 +5370,17 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5358
5370
|
r.id
|
|
5359
5371
|
);
|
|
5360
5372
|
}) })
|
|
5361
|
-
),
|
|
5373
|
+
), Fa = k(So)`
|
|
5362
5374
|
width: var(--ddk-component-macro-card-unavailable-icon-size);
|
|
5363
5375
|
height: var(--ddk-component-macro-card-unavailable-icon-size);
|
|
5364
|
-
`,
|
|
5376
|
+
`, Ba = k(Er)`
|
|
5365
5377
|
text-align: center;
|
|
5366
5378
|
font-size: var(--ddk-component-sub-modal-heading-font-size-medium);
|
|
5367
|
-
`,
|
|
5379
|
+
`, za = k.div`
|
|
5368
5380
|
height: 100%;
|
|
5369
5381
|
overflow-y: auto;
|
|
5370
5382
|
width: 100%;
|
|
5371
|
-
`,
|
|
5383
|
+
`, ja = k.div`
|
|
5372
5384
|
display: grid;
|
|
5373
5385
|
gap: var(--ddk-component-macro-setup-card-gap);
|
|
5374
5386
|
|
|
@@ -5378,16 +5390,16 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5378
5390
|
justify-content: center;
|
|
5379
5391
|
width: 100%;
|
|
5380
5392
|
user-select: none;
|
|
5381
|
-
`,
|
|
5393
|
+
`, Ma = (t) => {
|
|
5382
5394
|
const { componentModeOverride: e } = G();
|
|
5383
5395
|
return /* @__PURE__ */ i(
|
|
5384
|
-
|
|
5396
|
+
ja,
|
|
5385
5397
|
{
|
|
5386
5398
|
compact: e === "compact",
|
|
5387
5399
|
...t
|
|
5388
5400
|
}
|
|
5389
5401
|
);
|
|
5390
|
-
},
|
|
5402
|
+
}, Za = k.div`
|
|
5391
5403
|
align-items: center;
|
|
5392
5404
|
|
|
5393
5405
|
background: ${(t) => t.selected ? "var(--ddk-generic-color-grey-5)" : "var(--ddk-generic-color-white)"};
|
|
@@ -5410,19 +5422,19 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5410
5422
|
overflow-wrap: anywhere;
|
|
5411
5423
|
padding: var(--ddk-component-macro-setup-card-header-padding-md);
|
|
5412
5424
|
text-align: center;
|
|
5413
|
-
`,
|
|
5425
|
+
`, Ua = k.div`
|
|
5414
5426
|
align-items: center;
|
|
5415
5427
|
display: flex;
|
|
5416
5428
|
flex-direction: column;
|
|
5417
5429
|
gap: 32px;
|
|
5418
5430
|
height: 100%;
|
|
5419
5431
|
justify-content: center;
|
|
5420
|
-
`,
|
|
5432
|
+
`, Ha = k.div`
|
|
5421
5433
|
color: var(--ddk-component-macro-card-unavailable-font-color);
|
|
5422
5434
|
font-size: var(--ddk-component-macro-card-unavailable-font-size);
|
|
5423
5435
|
font-weight: var(--ddk-component-macro-card-unavailable-font-weight);
|
|
5424
|
-
`,
|
|
5425
|
-
const { t: s } =
|
|
5436
|
+
`, wn = ca(({ holder: t, onComplete: e, macroAssignment: n, showCloseButton: r = !0 }) => {
|
|
5437
|
+
const { t: s } = E("setup"), { t: o } = E("common"), { componentModeOverride: c } = G(), [a, d] = I(t.ingredient), l = k.div`
|
|
5426
5438
|
display: flex;
|
|
5427
5439
|
flex-direction: column;
|
|
5428
5440
|
gap: 24px;
|
|
@@ -5430,11 +5442,11 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5430
5442
|
`;
|
|
5431
5443
|
return /* @__PURE__ */ v(l, { children: [
|
|
5432
5444
|
/* @__PURE__ */ i(ne, { children: n.hasMacroIngredients ? /* @__PURE__ */ v(L, { children: [
|
|
5433
|
-
c === "standard" && /* @__PURE__ */ i(
|
|
5445
|
+
c === "standard" && /* @__PURE__ */ i(Ba, { children: s("select-and-assign-ingredients-for", {
|
|
5434
5446
|
data: { name: o(`macros.${t.name}`) }
|
|
5435
5447
|
}) }),
|
|
5436
|
-
/* @__PURE__ */ i(
|
|
5437
|
-
|
|
5448
|
+
/* @__PURE__ */ i(za, { children: /* @__PURE__ */ i(Ma, { children: n.macroIngredients.map((p) => /* @__PURE__ */ i(
|
|
5449
|
+
Za,
|
|
5438
5450
|
{
|
|
5439
5451
|
selected: (a == null ? void 0 : a.id) === p.id,
|
|
5440
5452
|
onPointerDown: () => {
|
|
@@ -5444,9 +5456,9 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5444
5456
|
},
|
|
5445
5457
|
p.id
|
|
5446
5458
|
)) }) })
|
|
5447
|
-
] }) : /* @__PURE__ */ v(
|
|
5448
|
-
/* @__PURE__ */ i(
|
|
5449
|
-
/* @__PURE__ */ i(
|
|
5459
|
+
] }) : /* @__PURE__ */ v(Ua, { children: [
|
|
5460
|
+
/* @__PURE__ */ i(Fa, {}),
|
|
5461
|
+
/* @__PURE__ */ i(Ha, { children: s("no-ingredients-available-for-assignment") })
|
|
5450
5462
|
] }) }),
|
|
5451
5463
|
/* @__PURE__ */ i(J, { children: n.hasMacroIngredients ? /* @__PURE__ */ v(L, { children: [
|
|
5452
5464
|
c === "standard" && r && /* @__PURE__ */ i(
|
|
@@ -5480,9 +5492,9 @@ const yr = ["water", "carb", "ns", "nns"], Da = k.div`
|
|
|
5480
5492
|
}
|
|
5481
5493
|
) })
|
|
5482
5494
|
] });
|
|
5483
|
-
}),
|
|
5495
|
+
}), bl = D(({ cardModel: t }) => {
|
|
5484
5496
|
H.debug("Agitator", t.path);
|
|
5485
|
-
const { t: e } =
|
|
5497
|
+
const { t: e } = E(["agitator", "common"]), n = V(
|
|
5486
5498
|
(c) => {
|
|
5487
5499
|
c === "agitate" ? t == null || t.testAgitate() : c === "gate" ? t == null || t.testGate() : c === "pour" ? t == null || t.pourIce() : c === "cancelPour" && (t == null || t.cancelIceDispense());
|
|
5488
5500
|
},
|
|
@@ -5509,7 +5521,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5509
5521
|
], s = t.isAgitating || t.isIceChuteOpen, o = t.agitateIsRunning || t.gateIsRunning;
|
|
5510
5522
|
return /* @__PURE__ */ v(L, { children: [
|
|
5511
5523
|
/* @__PURE__ */ v(ne, { children: [
|
|
5512
|
-
/* @__PURE__ */ i(
|
|
5524
|
+
/* @__PURE__ */ i(Pr, { name: "Ice Properties", children: /* @__PURE__ */ i(Gt, { keyList: ["name", "value"], tableData: r }) }),
|
|
5513
5525
|
/* @__PURE__ */ i(
|
|
5514
5526
|
Ne,
|
|
5515
5527
|
{
|
|
@@ -5567,38 +5579,38 @@ ${e("agitator:agitate-after-without", {
|
|
|
5567
5579
|
}
|
|
5568
5580
|
)
|
|
5569
5581
|
] });
|
|
5570
|
-
}),
|
|
5582
|
+
}), Wa = k.div`
|
|
5571
5583
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
5572
5584
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
5573
|
-
`,
|
|
5585
|
+
`, wl = D((t) => {
|
|
5574
5586
|
H.debug(`summary component loaded for holder ${t}`), H.info(`render agitator summary for holder ${t.cardModel.path}`);
|
|
5575
|
-
const { t: e } =
|
|
5587
|
+
const { t: e } = E("common");
|
|
5576
5588
|
return /* @__PURE__ */ v(L, { children: [
|
|
5577
5589
|
/* @__PURE__ */ i(je, { size: "small", status: "completed" }),
|
|
5578
|
-
t.cardModel.isAgitating && /* @__PURE__ */ i(
|
|
5590
|
+
t.cardModel.isAgitating && /* @__PURE__ */ i(Wa, { children: e("agitating") })
|
|
5579
5591
|
] });
|
|
5580
|
-
}),
|
|
5592
|
+
}), _l = k.div`
|
|
5581
5593
|
display: flex;
|
|
5582
5594
|
flex-direction: column;
|
|
5583
5595
|
gap: 24px;
|
|
5584
5596
|
padding: 24px;
|
|
5585
|
-
`,
|
|
5597
|
+
`, xl = Eo(
|
|
5586
5598
|
({ assembly: t, showHeading: e }) => /* @__PURE__ */ i(
|
|
5587
|
-
|
|
5599
|
+
Ka,
|
|
5588
5600
|
{
|
|
5589
5601
|
iceAgitator: t.iceAgitator,
|
|
5590
5602
|
showHeading: e
|
|
5591
5603
|
}
|
|
5592
5604
|
)
|
|
5593
|
-
),
|
|
5605
|
+
), Ka = D(
|
|
5594
5606
|
({ iceAgitator: t, showHeading: e }) => {
|
|
5595
|
-
const { t: n } =
|
|
5607
|
+
const { t: n } = E("about"), r = No(), { componentModeOverride: s } = G(), o = (t == null ? void 0 : t.iceTypes.map((a) => ({ id: a, label: a }))) || [], c = V(async () => {
|
|
5596
5608
|
(t == null ? void 0 : t.type.value) !== void 0 && (t == null || t.updateIceType(t.type.value));
|
|
5597
5609
|
}, [t]);
|
|
5598
5610
|
return t ? /* @__PURE__ */ v(nt, { children: [
|
|
5599
5611
|
e && /* @__PURE__ */ i(rt, { children: n("ice-settings", "Ice Settings") }),
|
|
5600
5612
|
s === "compact" ? /* @__PURE__ */ i(
|
|
5601
|
-
|
|
5613
|
+
gi,
|
|
5602
5614
|
{
|
|
5603
5615
|
configProperty: t.type,
|
|
5604
5616
|
onChange: (a) => t.updateIceType(a),
|
|
@@ -5606,7 +5618,7 @@ ${e("agitator:agitate-after-without", {
|
|
|
5606
5618
|
label: n("ice-type", "Ice Type")
|
|
5607
5619
|
}
|
|
5608
5620
|
) : /* @__PURE__ */ i(
|
|
5609
|
-
|
|
5621
|
+
hn,
|
|
5610
5622
|
{
|
|
5611
5623
|
configProperty: t.type,
|
|
5612
5624
|
onSave: (a) => t.updateIceType(a),
|
|
@@ -5638,9 +5650,9 @@ ${e("agitator:agitate-after-without", {
|
|
|
5638
5650
|
s !== "compact" && (r == null ? void 0 : r.pathname.includes("/settings")) && /* @__PURE__ */ i(J, { children: /* @__PURE__ */ i(S, { onPointerDown: c, children: n("reset") }) })
|
|
5639
5651
|
] }) : "Ice model not loaded...";
|
|
5640
5652
|
}
|
|
5641
|
-
),
|
|
5653
|
+
), kl = D(({ showHeading: t }) => {
|
|
5642
5654
|
var d, l, p, u, m, g, y, f;
|
|
5643
|
-
const { t: e } =
|
|
5655
|
+
const { t: e } = E("region"), { model: n } = vn(), { regionModel: r } = me(), s = V(
|
|
5644
5656
|
(w) => ({
|
|
5645
5657
|
id: w,
|
|
5646
5658
|
label: e(`locale.country.${w}`)
|
|
@@ -5738,31 +5750,31 @@ k.div`
|
|
|
5738
5750
|
justify-content: flex-end;
|
|
5739
5751
|
}
|
|
5740
5752
|
`;
|
|
5741
|
-
const
|
|
5753
|
+
const Xa = k.div`
|
|
5742
5754
|
display: flex;
|
|
5743
5755
|
align-items: center;
|
|
5744
5756
|
justify-content: flex-end;
|
|
5745
|
-
`,
|
|
5757
|
+
`, qa = ({ item: t, valueKey: e }) => {
|
|
5746
5758
|
const { label: n, value: r } = t;
|
|
5747
5759
|
if (e === "label")
|
|
5748
5760
|
return /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i("b", { children: n }) });
|
|
5749
5761
|
if (e === "value")
|
|
5750
|
-
return /* @__PURE__ */ i(
|
|
5751
|
-
},
|
|
5762
|
+
return /* @__PURE__ */ i(Xa, { children: r });
|
|
5763
|
+
}, Ga = ({
|
|
5752
5764
|
groupName: t,
|
|
5753
5765
|
networkTestContainer: e
|
|
5754
5766
|
}) => {
|
|
5755
5767
|
var r;
|
|
5756
|
-
const { t: n } =
|
|
5768
|
+
const { t: n } = E("connectivity");
|
|
5757
5769
|
return ((r = e == null ? void 0 : e.models.getIndexByKey("group", t)) == null ? void 0 : r.map((s) => {
|
|
5758
5770
|
const o = t === "interface", c = o ? s.results.map((a) => ({
|
|
5759
5771
|
label: a.name,
|
|
5760
5772
|
value: a.val
|
|
5761
5773
|
})) : [];
|
|
5762
5774
|
return o ? /* @__PURE__ */ i(
|
|
5763
|
-
|
|
5775
|
+
Cr,
|
|
5764
5776
|
{
|
|
5765
|
-
CellRenderer:
|
|
5777
|
+
CellRenderer: qa,
|
|
5766
5778
|
data: c,
|
|
5767
5779
|
dataKeys: ["label", "value"],
|
|
5768
5780
|
heading: s.name
|
|
@@ -5780,9 +5792,9 @@ const Ka = k.div`
|
|
|
5780
5792
|
s.id
|
|
5781
5793
|
);
|
|
5782
5794
|
})) || [];
|
|
5783
|
-
},
|
|
5784
|
-
|
|
5785
|
-
),
|
|
5795
|
+
}, Cl = da(
|
|
5796
|
+
Ga
|
|
5797
|
+
), Ya = k.div`
|
|
5786
5798
|
background-color: var(--ddk-generic-color-grey-80);
|
|
5787
5799
|
color: var(--ddk-generic-color-grey-5);
|
|
5788
5800
|
border-radius: 5px;
|
|
@@ -5791,9 +5803,9 @@ const Ka = k.div`
|
|
|
5791
5803
|
align-items: center;
|
|
5792
5804
|
justify-content: center;
|
|
5793
5805
|
font-size: var(--ddk-generic-font-size-xx-small);
|
|
5794
|
-
`,
|
|
5806
|
+
`, Ja = D(({ showAction: t = !0, trouble: e, showHolder: n }) => {
|
|
5795
5807
|
var w;
|
|
5796
|
-
const { t: r } =
|
|
5808
|
+
const { t: r } = E(["troubles"]), { model: s } = bn(), o = s == null ? void 0 : s.currentRole, c = yn(e), { action: a, label: d, progress: l } = Vt(e), p = e.resolvable ?? !1, { future: u } = _e(e), m = (w = e == null ? void 0 : e.data) != null && w.holderNames && e.data.holderNames.length > 0 ? /* @__PURE__ */ i(Ya, { children: e.data.holderNames[0] }) : null, g = (e == null ? void 0 : e.color) ?? "orange", y = (e == null ? void 0 : e.shouldDefer) ?? !1, f = (e == null ? void 0 : e.deferred) ?? !1;
|
|
5797
5809
|
return /* @__PURE__ */ v(L, { children: [
|
|
5798
5810
|
/* @__PURE__ */ i(
|
|
5799
5811
|
to,
|
|
@@ -5822,13 +5834,13 @@ const Ka = k.div`
|
|
|
5822
5834
|
}
|
|
5823
5835
|
)
|
|
5824
5836
|
] });
|
|
5825
|
-
}),
|
|
5837
|
+
}), Sl = ({
|
|
5826
5838
|
viewContainerId: t,
|
|
5827
5839
|
extensionPointId: e,
|
|
5828
5840
|
tabs: n,
|
|
5829
5841
|
...r
|
|
5830
5842
|
}) => {
|
|
5831
|
-
const { getExtensions: s } =
|
|
5843
|
+
const { getExtensions: s } = Lr(), o = s(t), c = s(e).reduce((u, m) => (u[m.id] = m, u), {}), a = o.map((u) => u.data.namespace), { t: d } = E(["", ...new Set(a)]), l = o.map((u) => {
|
|
5832
5844
|
const m = u.data, g = [...m.settings].map((y) => {
|
|
5833
5845
|
const f = c[y], w = f.data;
|
|
5834
5846
|
return /* @__PURE__ */ v(nt, { children: [
|
|
@@ -5851,7 +5863,7 @@ const Ka = k.div`
|
|
|
5851
5863
|
return /* @__PURE__ */ i(ro, { ...r, tabs: p });
|
|
5852
5864
|
}, Bt = D(
|
|
5853
5865
|
({ holder: t }) => {
|
|
5854
|
-
const { t: e } =
|
|
5866
|
+
const { t: e } = E("common"), { componentModeOverride: n } = G(), r = n === "compact", { visibleTroubles: s, initialized: o } = at(t), a = ((s == null ? void 0 : s.length) ?? 0) > 0, d = !!t.troublesByType.FlushTrouble, l = !!t.troublesByType.PrimeTrouble, p = !!t.troublesByType.PurgeTrouble, u = d ? t.troublesByType.FlushTrouble[0] : l ? t.troublesByType.PrimeTrouble[0] : p ? t.troublesByType.PurgeTrouble[0] : null, m = (u == null ? void 0 : u.shouldDefer) ?? !1, g = (u == null ? void 0 : u.deferred) ?? !1, [y, f] = ot(t), w = V(
|
|
5855
5867
|
(A) => {
|
|
5856
5868
|
m ? u == null || u.resolve() : f(A);
|
|
5857
5869
|
},
|
|
@@ -5892,16 +5904,16 @@ const Ka = k.div`
|
|
|
5892
5904
|
}) => {
|
|
5893
5905
|
const { componentModeOverride: n } = G(), r = n === "standard", { visibleTroubles: s, initialized: o } = at(t), c = e ? s == null ? void 0 : s.filter(e) : s;
|
|
5894
5906
|
return ((c == null ? void 0 : c.length) ?? 0) > 0 && o && (s == null ? void 0 : s.map((l) => /* @__PURE__ */ i(
|
|
5895
|
-
|
|
5907
|
+
Ja,
|
|
5896
5908
|
{
|
|
5897
5909
|
showAction: r,
|
|
5898
5910
|
trouble: l
|
|
5899
5911
|
},
|
|
5900
5912
|
l.id
|
|
5901
5913
|
)));
|
|
5902
|
-
},
|
|
5914
|
+
}, Tl = D(
|
|
5903
5915
|
({ holder: t }) => {
|
|
5904
|
-
const { t: e } =
|
|
5916
|
+
const { t: e } = E("common"), [n, r] = ot(t), [s, o] = I();
|
|
5905
5917
|
W(() => {
|
|
5906
5918
|
async function y() {
|
|
5907
5919
|
if (t.ingredientId !== void 0) {
|
|
@@ -5911,11 +5923,11 @@ const Ka = k.div`
|
|
|
5911
5923
|
}
|
|
5912
5924
|
y();
|
|
5913
5925
|
}, [t, t.ingredientId]);
|
|
5914
|
-
const c = t.ingredientId !== void 0, a = s && s > 0, { holderExperience: d, setHolderExperience: l, currentExperienceId: p } = it(t), u = c || p === "replace-line", m = t.pumps.data[0], g = ue(m,
|
|
5926
|
+
const c = t.ingredientId !== void 0, a = s && s > 0, { holderExperience: d, setHolderExperience: l, currentExperienceId: p } = it(t), u = c || p === "replace-line", m = t.pumps.data[0], g = ue(m, Or.type);
|
|
5915
5927
|
return u ? /* @__PURE__ */ v(L, { children: [
|
|
5916
5928
|
/* @__PURE__ */ v(ne, { contain: !0, children: [
|
|
5917
5929
|
/* @__PURE__ */ i(Te, { holder: t }),
|
|
5918
|
-
/* @__PURE__ */ i(
|
|
5930
|
+
/* @__PURE__ */ i(Qa, { children: /* @__PURE__ */ i(Zr, { probeAware: g }) })
|
|
5919
5931
|
] }),
|
|
5920
5932
|
/* @__PURE__ */ v(J, { children: [
|
|
5921
5933
|
/* @__PURE__ */ i(
|
|
@@ -5936,18 +5948,18 @@ const Ka = k.div`
|
|
|
5936
5948
|
] }),
|
|
5937
5949
|
/* @__PURE__ */ i(st, { children: d }),
|
|
5938
5950
|
n && /* @__PURE__ */ i(K, { ...n })
|
|
5939
|
-
] }) : /* @__PURE__ */ i(
|
|
5951
|
+
] }) : /* @__PURE__ */ i(wn, { showCloseButton: !1, holder: t });
|
|
5940
5952
|
}
|
|
5941
|
-
),
|
|
5953
|
+
), Qa = k.div`
|
|
5942
5954
|
width: 100%;
|
|
5943
5955
|
height: 100%;
|
|
5944
5956
|
display: flex;
|
|
5945
5957
|
justify-content: center;
|
|
5946
5958
|
align-items: center;
|
|
5947
5959
|
padding: 32px 0px;
|
|
5948
|
-
`,
|
|
5960
|
+
`, Il = D(
|
|
5949
5961
|
({ holder: t }) => {
|
|
5950
|
-
const { t: e } =
|
|
5962
|
+
const { t: e } = E("common"), [n, r] = ot(t), [s, o] = I();
|
|
5951
5963
|
W(() => {
|
|
5952
5964
|
async function m() {
|
|
5953
5965
|
if (t.ingredientId !== void 0) {
|
|
@@ -5979,11 +5991,11 @@ const Ka = k.div`
|
|
|
5979
5991
|
] }),
|
|
5980
5992
|
/* @__PURE__ */ i(st, { children: d }),
|
|
5981
5993
|
n && /* @__PURE__ */ i(K, { ...n })
|
|
5982
|
-
] }) : /* @__PURE__ */ i(
|
|
5994
|
+
] }) : /* @__PURE__ */ i(wn, { showCloseButton: !1, holder: t });
|
|
5983
5995
|
}
|
|
5984
|
-
),
|
|
5996
|
+
), El = D(
|
|
5985
5997
|
({ holder: t }) => {
|
|
5986
|
-
const { t: e } =
|
|
5998
|
+
const { t: e } = E("common"), [n, r] = ot(t), [s, o] = I();
|
|
5987
5999
|
W(() => {
|
|
5988
6000
|
async function d() {
|
|
5989
6001
|
if (t.ingredientId !== void 0) {
|
|
@@ -6013,20 +6025,20 @@ const Ka = k.div`
|
|
|
6013
6025
|
/* @__PURE__ */ i(Bt, { holder: t })
|
|
6014
6026
|
] }),
|
|
6015
6027
|
n && /* @__PURE__ */ i(K, { ...n })
|
|
6016
|
-
] }) : /* @__PURE__ */ i(
|
|
6028
|
+
] }) : /* @__PURE__ */ i(wn, { showCloseButton: !1, holder: t });
|
|
6017
6029
|
}
|
|
6018
|
-
),
|
|
6030
|
+
), ec = k.div`
|
|
6019
6031
|
display: flex;
|
|
6020
6032
|
flex-direction: column;
|
|
6021
6033
|
gap: var(--ddk-component-super-pump-container-gap);
|
|
6022
|
-
`,
|
|
6034
|
+
`, tc = k.div`
|
|
6023
6035
|
display: flex;
|
|
6024
6036
|
flex-direction: column;
|
|
6025
6037
|
gap: var(--ddk-component-cartridge-container-gap);
|
|
6026
|
-
`,
|
|
6027
|
-
const e = Ao(), { t: n } =
|
|
6038
|
+
`, nc = D(({ holder: t }) => {
|
|
6039
|
+
const e = Ao(), { t: n } = E("common"), [r, s] = I("all"), o = e == null ? void 0 : e.cartridgeAgitatorModels[0], c = !!t.ingredientId, a = t.pumps.getModel(r), d = ue(
|
|
6028
6040
|
t,
|
|
6029
|
-
|
|
6041
|
+
$r.type
|
|
6030
6042
|
), l = !!(d != null && d.agitated), { holderExperience: p, setHolderExperience: u } = it(
|
|
6031
6043
|
t,
|
|
6032
6044
|
a
|
|
@@ -6037,11 +6049,11 @@ const Ka = k.div`
|
|
|
6037
6049
|
[a == null ? void 0 : a.path]
|
|
6038
6050
|
);
|
|
6039
6051
|
return /* @__PURE__ */ v(L, { children: [
|
|
6040
|
-
/* @__PURE__ */ v(
|
|
6052
|
+
/* @__PURE__ */ v(ec, { children: [
|
|
6041
6053
|
/* @__PURE__ */ v(ne, { contain: !0, children: [
|
|
6042
|
-
c && g && /* @__PURE__ */ v(
|
|
6054
|
+
c && g && /* @__PURE__ */ v(tc, { children: [
|
|
6043
6055
|
/* @__PURE__ */ i(
|
|
6044
|
-
|
|
6056
|
+
Ir,
|
|
6045
6057
|
{
|
|
6046
6058
|
size: "large",
|
|
6047
6059
|
value: y,
|
|
@@ -6137,9 +6149,9 @@ const Ka = k.div`
|
|
|
6137
6149
|
/* @__PURE__ */ i(Bt, { holder: t })
|
|
6138
6150
|
] })
|
|
6139
6151
|
] })
|
|
6140
|
-
),
|
|
6152
|
+
), Al = D(
|
|
6141
6153
|
({ holder: t }) => {
|
|
6142
|
-
const { t: e } =
|
|
6154
|
+
const { t: e } = E("common"), [n, r] = ot(t), { holderExperience: s, setHolderExperience: o } = it(t);
|
|
6143
6155
|
return /* @__PURE__ */ v(L, { children: [
|
|
6144
6156
|
/* @__PURE__ */ i(Te, { holder: t }),
|
|
6145
6157
|
/* @__PURE__ */ v(J, { children: [
|
|
@@ -6153,26 +6165,26 @@ const Ka = k.div`
|
|
|
6153
6165
|
n && /* @__PURE__ */ i(K, { ...n })
|
|
6154
6166
|
] });
|
|
6155
6167
|
}
|
|
6156
|
-
),
|
|
6168
|
+
), rc = k.section`
|
|
6157
6169
|
align-items: center;
|
|
6158
6170
|
display: flex;
|
|
6159
6171
|
flex-direction: column;
|
|
6160
6172
|
gap: 32px;
|
|
6161
6173
|
height: 100%;
|
|
6162
6174
|
justify-content: space-between;
|
|
6163
|
-
`,
|
|
6175
|
+
`, sc = k.div`
|
|
6164
6176
|
display: flex;
|
|
6165
6177
|
gap: 32px;
|
|
6166
6178
|
flex-direction: column;
|
|
6167
6179
|
align-items: center;
|
|
6168
6180
|
padding: 32px;
|
|
6169
|
-
`,
|
|
6181
|
+
`, oc = k.div`
|
|
6170
6182
|
display: flex;
|
|
6171
6183
|
flex-direction: column;
|
|
6172
6184
|
gap: 12px;
|
|
6173
6185
|
text-align: center;
|
|
6174
|
-
`,
|
|
6175
|
-
const { t: e } =
|
|
6186
|
+
`, Dl = ({ onComplete: t }) => {
|
|
6187
|
+
const { t: e } = E("reboot"), [n, r] = I(!1), { model: s } = gn(), { componentModeOverride: o } = G();
|
|
6176
6188
|
return /* @__PURE__ */ v(
|
|
6177
6189
|
Be,
|
|
6178
6190
|
{
|
|
@@ -6190,10 +6202,10 @@ const Ka = k.div`
|
|
|
6190
6202
|
CloseButton: oo
|
|
6191
6203
|
}
|
|
6192
6204
|
),
|
|
6193
|
-
/* @__PURE__ */ v(
|
|
6194
|
-
/* @__PURE__ */ v(
|
|
6205
|
+
/* @__PURE__ */ v(rc, { children: [
|
|
6206
|
+
/* @__PURE__ */ v(sc, { children: [
|
|
6195
6207
|
/* @__PURE__ */ i(io, {}),
|
|
6196
|
-
/* @__PURE__ */ i(
|
|
6208
|
+
/* @__PURE__ */ i(oc, { children: /* @__PURE__ */ i(Er, { children: e("modal-heading", "Are you sure you want to reboot dispenser?") }) })
|
|
6197
6209
|
] }),
|
|
6198
6210
|
/* @__PURE__ */ i(
|
|
6199
6211
|
ao,
|
|
@@ -6210,16 +6222,16 @@ const Ka = k.div`
|
|
|
6210
6222
|
);
|
|
6211
6223
|
}, Xe = k(j)`
|
|
6212
6224
|
text-align: center;
|
|
6213
|
-
`,
|
|
6225
|
+
`, Nl = D(
|
|
6214
6226
|
({ remoteTray: t, onComplete: e }) => {
|
|
6215
|
-
const { t: n } =
|
|
6216
|
-
const
|
|
6217
|
-
return
|
|
6218
|
-
}), g = V(($,
|
|
6219
|
-
c((T) => ({ ...T, [$]:
|
|
6227
|
+
const { t: n } = E("common", { keyPrefix: "remote-nns" }), [r, s] = I("idle"), [o, c] = I({}), [a, d] = I({}), p = t.holder.pumps.data.filter(($) => $.childPump), u = t.remoteTrayEnabled.value === !0, m = () => p.every(($) => {
|
|
6228
|
+
const P = o[$.name];
|
|
6229
|
+
return P != null && P !== "";
|
|
6230
|
+
}), g = V(($, P) => {
|
|
6231
|
+
c((T) => ({ ...T, [$]: P }));
|
|
6220
6232
|
}, []), y = V(
|
|
6221
|
-
($) => (
|
|
6222
|
-
g($,
|
|
6233
|
+
($) => (P = "") => {
|
|
6234
|
+
g($, P);
|
|
6223
6235
|
},
|
|
6224
6236
|
[g]
|
|
6225
6237
|
), f = V(async () => {
|
|
@@ -6228,17 +6240,17 @@ const Ka = k.div`
|
|
|
6228
6240
|
s("progress"), d({});
|
|
6229
6241
|
let $ = !1;
|
|
6230
6242
|
await Promise.all(
|
|
6231
|
-
p.map(async (
|
|
6243
|
+
p.map(async (P) => {
|
|
6232
6244
|
try {
|
|
6233
6245
|
const T = ue(
|
|
6234
|
-
|
|
6235
|
-
|
|
6246
|
+
P,
|
|
6247
|
+
Rr.type
|
|
6236
6248
|
), [_] = await T.replacePump(
|
|
6237
|
-
o[
|
|
6249
|
+
o[P.name]
|
|
6238
6250
|
);
|
|
6239
|
-
_ && (d((Y) => ({ ...Y, [
|
|
6251
|
+
_ && (d((Y) => ({ ...Y, [P.name]: _ })), $ = !0);
|
|
6240
6252
|
} catch (T) {
|
|
6241
|
-
console.error(T), d((_) => ({ ..._, [
|
|
6253
|
+
console.error(T), d((_) => ({ ..._, [P.name]: "unknownError" })), $ = !0;
|
|
6242
6254
|
}
|
|
6243
6255
|
})
|
|
6244
6256
|
), $ ? s("pump") : f();
|
|
@@ -6311,45 +6323,45 @@ const Ka = k.div`
|
|
|
6311
6323
|
]);
|
|
6312
6324
|
return /* @__PURE__ */ i(Tt, { ...A[r], onClose: () => e() });
|
|
6313
6325
|
}
|
|
6314
|
-
),
|
|
6326
|
+
), Ol = D(({ cardModel: t }) => (H.debug("RemoteTray", t.name), /* @__PURE__ */ i(nc, { holder: t.holder }))), ic = k.div`
|
|
6315
6327
|
font-size: var(--ddk-component-holder-card-footer-font-size);
|
|
6316
6328
|
color: ${(t) => t.color ?? "var(--ddk-generic-color-black)"};
|
|
6317
6329
|
position: absolute;
|
|
6318
6330
|
bottom: 6px;
|
|
6319
|
-
`,
|
|
6331
|
+
`, $l = D((t) => {
|
|
6320
6332
|
H.debug(`summary component loaded for holder ${t}`), H.info(`render agitator summary for holder ${t.cardModel.name}`);
|
|
6321
|
-
const { t: e } =
|
|
6322
|
-
return r ? /* @__PURE__ */ i(
|
|
6333
|
+
const { t: e } = E("troubles"), n = t.cardModel, { hasTroubles: r, highestTrouble: s } = ya(n), o = Vt(s), c = yn(s);
|
|
6334
|
+
return r ? /* @__PURE__ */ i(ic, { children: e(o.summary, {
|
|
6323
6335
|
context: s != null && s.deferred ? "queued" : void 0,
|
|
6324
6336
|
data: c
|
|
6325
6337
|
}) }) : /* @__PURE__ */ i(je, { size: "small", status: "completed" });
|
|
6326
|
-
}),
|
|
6338
|
+
}), ac = D(
|
|
6327
6339
|
({ holder: t, onComplete: e }) => {
|
|
6328
|
-
const { t: n } =
|
|
6340
|
+
const { t: n } = E("replace-line"), [r, s] = I(), [o, c] = I();
|
|
6329
6341
|
return W(() => {
|
|
6330
6342
|
t.replaceLine().then(() => {
|
|
6331
6343
|
s("success");
|
|
6332
6344
|
});
|
|
6333
|
-
}, [t]), /* @__PURE__ */ i(
|
|
6345
|
+
}, [t]), /* @__PURE__ */ i(Ar, { show: r !== void 0, onClose: () => {
|
|
6334
6346
|
if (o) {
|
|
6335
6347
|
s(void 0);
|
|
6336
6348
|
return;
|
|
6337
6349
|
}
|
|
6338
6350
|
e();
|
|
6339
|
-
}, children: r === "failure" ? /* @__PURE__ */ i(yt, { children: n(o || "unknownError") }) : r === "success" ? /* @__PURE__ */ i(
|
|
6351
|
+
}, children: r === "failure" ? /* @__PURE__ */ i(yt, { children: n(o || "unknownError") }) : r === "success" ? /* @__PURE__ */ i(pn, { children: n("success") }) : null });
|
|
6340
6352
|
}
|
|
6341
|
-
),
|
|
6353
|
+
), cc = k.div`
|
|
6342
6354
|
display: flex;
|
|
6343
6355
|
flex-direction: column;
|
|
6344
6356
|
overflow-y: auto;
|
|
6345
6357
|
overflow-x: hidden;
|
|
6346
6358
|
gap: 32px;
|
|
6347
6359
|
height: 100%;
|
|
6348
|
-
`,
|
|
6360
|
+
`, dc = D(
|
|
6349
6361
|
({ pump: t, onComplete: e }) => {
|
|
6350
|
-
const [n, r] = I(!1), { t: s } =
|
|
6362
|
+
const [n, r] = I(!1), { t: s } = E("replace-pump"), { componentModeOverride: o } = G(), [c, a] = I(), [d, l] = I(), [p, u] = I(), m = ue(
|
|
6351
6363
|
t,
|
|
6352
|
-
|
|
6364
|
+
Rr.type
|
|
6353
6365
|
), g = t.name, y = V(
|
|
6354
6366
|
(A) => {
|
|
6355
6367
|
if (A !== void 0 && A.length === 0)
|
|
@@ -6375,7 +6387,7 @@ const Ka = k.div`
|
|
|
6375
6387
|
contain: o !== "compact",
|
|
6376
6388
|
onClosed: e,
|
|
6377
6389
|
show: !n,
|
|
6378
|
-
children: /* @__PURE__ */ v(
|
|
6390
|
+
children: /* @__PURE__ */ v(cc, { children: [
|
|
6379
6391
|
/* @__PURE__ */ i(
|
|
6380
6392
|
ze,
|
|
6381
6393
|
{
|
|
@@ -6413,28 +6425,28 @@ const Ka = k.div`
|
|
|
6413
6425
|
] })
|
|
6414
6426
|
}
|
|
6415
6427
|
),
|
|
6416
|
-
/* @__PURE__ */ i(
|
|
6428
|
+
/* @__PURE__ */ i(Ar, { show: d !== void 0, onClose: w, children: d === "failure" ? /* @__PURE__ */ i(yt, { children: s(p || "unknownError") }) : d === "success" ? /* @__PURE__ */ i(pn, { children: s("success") }) : null })
|
|
6417
6429
|
] });
|
|
6418
6430
|
}
|
|
6419
|
-
),
|
|
6431
|
+
), lc = /^[0-9a-fA-F]+$/, br = (t) => lc.test(t), uc = k.div`
|
|
6420
6432
|
display: flex;
|
|
6421
6433
|
flex-direction: column;
|
|
6422
6434
|
overflow-y: auto;
|
|
6423
6435
|
overflow-x: hidden;
|
|
6424
6436
|
height: 100%;
|
|
6425
|
-
`,
|
|
6437
|
+
`, pc = D(
|
|
6426
6438
|
({ holder: t, onComplete: e }) => {
|
|
6427
|
-
const n = t.name, [r, s] = I(!1), { t: o } =
|
|
6439
|
+
const n = t.name, [r, s] = I(!1), { t: o } = E("rfid-override"), { componentModeOverride: c } = G(), [a, d] = I(), [l, p] = I(), [u, m] = I(), [g, y] = I(), [f, w] = I(), A = (T) => {
|
|
6428
6440
|
if (T !== void 0 && T.length !== 12)
|
|
6429
6441
|
return o("errIdLen");
|
|
6430
|
-
if (!
|
|
6442
|
+
if (!br(T))
|
|
6431
6443
|
return o("errIdFormat");
|
|
6432
6444
|
}, $ = (T) => {
|
|
6433
6445
|
if (T !== void 0 && T.length !== 8)
|
|
6434
6446
|
return o("errCodeLen");
|
|
6435
|
-
if (!
|
|
6447
|
+
if (!br(T))
|
|
6436
6448
|
return o("errCodeFormat");
|
|
6437
|
-
},
|
|
6449
|
+
}, P = async () => {
|
|
6438
6450
|
try {
|
|
6439
6451
|
await t.overrideRfidCode({
|
|
6440
6452
|
stickerId: a,
|
|
@@ -6478,7 +6490,7 @@ const Ka = k.div`
|
|
|
6478
6490
|
CloseButton: c === "compact" ? tt : void 0
|
|
6479
6491
|
}
|
|
6480
6492
|
),
|
|
6481
|
-
/* @__PURE__ */ v(
|
|
6493
|
+
/* @__PURE__ */ v(uc, { children: [
|
|
6482
6494
|
/* @__PURE__ */ v(ne, { align: "top", children: [
|
|
6483
6495
|
/* @__PURE__ */ i(co, { children: o("info") }),
|
|
6484
6496
|
/* @__PURE__ */ i(
|
|
@@ -6513,12 +6525,12 @@ const Ka = k.div`
|
|
|
6513
6525
|
{
|
|
6514
6526
|
mode: "primary",
|
|
6515
6527
|
disabled: !a || !l,
|
|
6516
|
-
onPointerDown:
|
|
6528
|
+
onPointerDown: P,
|
|
6517
6529
|
children: o("override")
|
|
6518
6530
|
}
|
|
6519
6531
|
) }),
|
|
6520
6532
|
u && /* @__PURE__ */ i(
|
|
6521
|
-
|
|
6533
|
+
kr,
|
|
6522
6534
|
{
|
|
6523
6535
|
onClose: () => m(void 0),
|
|
6524
6536
|
renderFailure: /* @__PURE__ */ i(
|
|
@@ -6539,19 +6551,19 @@ const Ka = k.div`
|
|
|
6539
6551
|
}
|
|
6540
6552
|
);
|
|
6541
6553
|
}
|
|
6542
|
-
),
|
|
6554
|
+
), Rl = D(
|
|
6543
6555
|
({ setupPath: t }) => {
|
|
6544
|
-
const { model: e } =
|
|
6556
|
+
const { model: e } = bn(), [n, r] = I(!1), [s] = Oo(), o = !!s.get("skipSetup"), c = uo();
|
|
6545
6557
|
return W(() => {
|
|
6546
6558
|
!n && (e != null && e.setupRequired) && (r(!0), o || c(t));
|
|
6547
6559
|
}, [e == null ? void 0 : e.setupRequired, n, c, t, o]), null;
|
|
6548
6560
|
}
|
|
6549
|
-
),
|
|
6561
|
+
), mc = k.div`
|
|
6550
6562
|
cursor: pointer;
|
|
6551
6563
|
display: flex;
|
|
6552
6564
|
gap: 8px;
|
|
6553
6565
|
align-items: center;
|
|
6554
|
-
`,
|
|
6566
|
+
`, hc = k.div`
|
|
6555
6567
|
color: var(--ddk-generic-color-grey-100, #171717);
|
|
6556
6568
|
font-size: var(--ddk-component-sidebar-font-size-medium);
|
|
6557
6569
|
font-style: normal;
|
|
@@ -6560,12 +6572,12 @@ const Ka = k.div`
|
|
|
6560
6572
|
letter-spacing: 0.44px;
|
|
6561
6573
|
white-space: nowrap;
|
|
6562
6574
|
overflow: hidden;
|
|
6563
|
-
`,
|
|
6564
|
-
const { t: r, labelMap: s } =
|
|
6575
|
+
`, fc = D(({ setupStepContainer: t, onStepSelected: e, ...n }) => {
|
|
6576
|
+
const { t: r, labelMap: s } = ia({
|
|
6565
6577
|
defaultNamespace: "setup",
|
|
6566
6578
|
extensionPoint: Qr.id
|
|
6567
6579
|
}), o = t == null ? void 0 : t.currentStep, c = (t == null ? void 0 : t.data.map((a) => /* @__PURE__ */ v(
|
|
6568
|
-
|
|
6580
|
+
mc,
|
|
6569
6581
|
{
|
|
6570
6582
|
onPointerDown: () => {
|
|
6571
6583
|
t.setCurrentStep(a.id), e(a.id);
|
|
@@ -6578,15 +6590,15 @@ const Ka = k.div`
|
|
|
6578
6590
|
status: o === a ? "active" : a.complete ? "completed" : "pending"
|
|
6579
6591
|
}
|
|
6580
6592
|
),
|
|
6581
|
-
/* @__PURE__ */ i(
|
|
6593
|
+
/* @__PURE__ */ i(hc, { children: r(s[a.name] ?? a.titleKey) })
|
|
6582
6594
|
]
|
|
6583
6595
|
},
|
|
6584
6596
|
a.id
|
|
6585
6597
|
))) || [];
|
|
6586
6598
|
return /* @__PURE__ */ i(po, { ...n, children: c });
|
|
6587
|
-
}),
|
|
6599
|
+
}), Ll = ha(fc), Vl = D(() => {
|
|
6588
6600
|
const { model: t } = Us();
|
|
6589
|
-
return (t == null ? void 0 : t.nodes) && t.nodes.map((e, n) => /* @__PURE__ */ v(
|
|
6601
|
+
return (t == null ? void 0 : t.nodes) && t.nodes.map((e, n) => /* @__PURE__ */ v(Pr, { name: e.nodeName, children: [
|
|
6590
6602
|
/* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
|
|
6591
6603
|
Gt,
|
|
6592
6604
|
{
|
|
@@ -6608,9 +6620,9 @@ const Ka = k.div`
|
|
|
6608
6620
|
] }, n));
|
|
6609
6621
|
}), Xt = k(j)`
|
|
6610
6622
|
white-space: pre-wrap;
|
|
6611
|
-
`,
|
|
6623
|
+
`, gc = D(
|
|
6612
6624
|
({ pump: t, onComplete: e }) => {
|
|
6613
|
-
const { t: n } =
|
|
6625
|
+
const { t: n } = E("common", {
|
|
6614
6626
|
keyPrefix: "spm-field-calibration"
|
|
6615
6627
|
}), [r, s] = I("preparation-idle"), [o, c] = I(), [a, d] = I(), [l, p] = I(), { clearFuture: u, future: m } = _e(t);
|
|
6616
6628
|
W(() => {
|
|
@@ -6833,9 +6845,9 @@ const Ka = k.div`
|
|
|
6833
6845
|
)
|
|
6834
6846
|
] });
|
|
6835
6847
|
}
|
|
6836
|
-
),
|
|
6837
|
-
|
|
6838
|
-
const
|
|
6848
|
+
), vc = H.createLogger({ name: "state-experience" });
|
|
6849
|
+
vc.debug("state-experience component loaded");
|
|
6850
|
+
const yc = k.div``, Fl = D(
|
|
6839
6851
|
() => {
|
|
6840
6852
|
const { getExtensions: t } = Ft(), { model: e } = ds(), [n, r] = I(null);
|
|
6841
6853
|
return W(() => Fe(() => {
|
|
@@ -6862,10 +6874,10 @@ const vc = k.div``, Vl = D(
|
|
|
6862
6874
|
}
|
|
6863
6875
|
) : null;
|
|
6864
6876
|
r(m);
|
|
6865
|
-
}), [t, e]), /* @__PURE__ */ i(
|
|
6877
|
+
}), [t, e]), /* @__PURE__ */ i(yc, { children: n });
|
|
6866
6878
|
}
|
|
6867
|
-
),
|
|
6868
|
-
const { regionModel: t } = me(), { model: e } = cn(), [n, r] = I(/* @__PURE__ */ new Date()), s = n.getFullYear(), o =
|
|
6879
|
+
), bc = [0, 6], wc = () => {
|
|
6880
|
+
const { regionModel: t } = me(), { model: e } = cn(), [n, r] = I(/* @__PURE__ */ new Date()), s = n.getFullYear(), o = xr({
|
|
6869
6881
|
formatOptions: {
|
|
6870
6882
|
dayFormat: "short",
|
|
6871
6883
|
yearFormat: "long",
|
|
@@ -6873,7 +6885,7 @@ const vc = k.div``, Vl = D(
|
|
|
6873
6885
|
formatString: (t == null ? void 0 : t.selectedDateFormat) || "yyyy/MM/dd"
|
|
6874
6886
|
},
|
|
6875
6887
|
filterOptions: {
|
|
6876
|
-
daysOfWeekFilter:
|
|
6888
|
+
daysOfWeekFilter: bc,
|
|
6877
6889
|
yearsRange: [s - 10, s + 10]
|
|
6878
6890
|
}
|
|
6879
6891
|
}), c = V(
|
|
@@ -6904,17 +6916,17 @@ const vc = k.div``, Vl = D(
|
|
|
6904
6916
|
[o.dateActions, e]
|
|
6905
6917
|
);
|
|
6906
6918
|
return /* @__PURE__ */ i(
|
|
6907
|
-
|
|
6919
|
+
wi,
|
|
6908
6920
|
{
|
|
6909
6921
|
onDiscard: a,
|
|
6910
6922
|
onChange: c,
|
|
6911
6923
|
onSave: d
|
|
6912
6924
|
}
|
|
6913
6925
|
);
|
|
6914
|
-
},
|
|
6926
|
+
}, _c = D(
|
|
6915
6927
|
({ ...t }) => {
|
|
6916
6928
|
var a;
|
|
6917
|
-
const { regionModel: e } = me(), { model: n } = cn(), { t: r } =
|
|
6929
|
+
const { regionModel: e } = me(), { model: n } = cn(), { t: r } = E("common"), s = e == null ? void 0 : e.allTimeZones.map((d) => ({ id: d, label: d.replace(/_/g, " ") })), o = (a = e == null ? void 0 : e.timeZones) == null ? void 0 : a.map((d) => ({ id: d, label: d.replace(/_/g, " ") })), c = [
|
|
6918
6930
|
{
|
|
6919
6931
|
id: "region",
|
|
6920
6932
|
label: r("suggested"),
|
|
@@ -6942,16 +6954,16 @@ const vc = k.div``, Vl = D(
|
|
|
6942
6954
|
}
|
|
6943
6955
|
);
|
|
6944
6956
|
}
|
|
6945
|
-
),
|
|
6946
|
-
var g, y, f, w, A, $,
|
|
6947
|
-
const { t: e } =
|
|
6957
|
+
), Bl = D(({ showHeading: t }) => {
|
|
6958
|
+
var g, y, f, w, A, $, P, T;
|
|
6959
|
+
const { t: e } = E("region"), { regionModel: n } = me(), { model: r } = cn(), {
|
|
6948
6960
|
amPmOptions: s,
|
|
6949
6961
|
formattedTime: o,
|
|
6950
6962
|
hourOptions: c,
|
|
6951
6963
|
minuteOptions: a,
|
|
6952
6964
|
setTime: d,
|
|
6953
6965
|
time: l
|
|
6954
|
-
} =
|
|
6966
|
+
} = _r(), p = l.getHours(), u = z(
|
|
6955
6967
|
() => [
|
|
6956
6968
|
{
|
|
6957
6969
|
id: "hr",
|
|
@@ -7009,15 +7021,15 @@ const vc = k.div``, Vl = D(
|
|
|
7009
7021
|
onChange: (_) => _ && (n == null ? void 0 : n.setSelectedDateFormat(String(_)))
|
|
7010
7022
|
}
|
|
7011
7023
|
),
|
|
7012
|
-
/* @__PURE__ */ i(bc, {}),
|
|
7013
7024
|
/* @__PURE__ */ i(wc, {}),
|
|
7025
|
+
/* @__PURE__ */ i(_c, {}),
|
|
7014
7026
|
((A = n == null ? void 0 : n.timeFormatOptions) == null ? void 0 : A.length) && /* @__PURE__ */ i(
|
|
7015
7027
|
vt,
|
|
7016
7028
|
{
|
|
7017
7029
|
label: e("time-format", "Time Format"),
|
|
7018
|
-
value: (
|
|
7030
|
+
value: (P = ($ = n == null ? void 0 : n.timeFormatOptions) == null ? void 0 : $.find(
|
|
7019
7031
|
(_) => _.format === n.selectedTimeFormat
|
|
7020
|
-
)) == null ? void 0 :
|
|
7032
|
+
)) == null ? void 0 : P.id,
|
|
7021
7033
|
options: (T = n == null ? void 0 : n.timeFormatOptions) == null ? void 0 : T.map((_) => ({ label: _ != null && _.ampm ? "12 HR" : "24 HR", ..._ })).reverse(),
|
|
7022
7034
|
onChange: (_) => _ && (n == null ? void 0 : n.setSelectedTimeFormat(String(_)))
|
|
7023
7035
|
}
|
|
@@ -7026,7 +7038,7 @@ const vc = k.div``, Vl = D(
|
|
|
7026
7038
|
dn,
|
|
7027
7039
|
{
|
|
7028
7040
|
data: n != null && n.is12HourTimeFormat ? u : m,
|
|
7029
|
-
icon:
|
|
7041
|
+
icon: Dr,
|
|
7030
7042
|
displayValue: o,
|
|
7031
7043
|
label: e("current-time", "Current Time"),
|
|
7032
7044
|
closeButtonLabel: e("close", "Close") || void 0,
|
|
@@ -7043,9 +7055,9 @@ const vc = k.div``, Vl = D(
|
|
|
7043
7055
|
}
|
|
7044
7056
|
)
|
|
7045
7057
|
] });
|
|
7046
|
-
}),
|
|
7058
|
+
}), zl = is(
|
|
7047
7059
|
D(({ settings: t, showHeading: e }) => {
|
|
7048
|
-
const { t: n } =
|
|
7060
|
+
const { t: n } = E("dispenser-profile");
|
|
7049
7061
|
return /* @__PURE__ */ v(nt, { children: [
|
|
7050
7062
|
e && /* @__PURE__ */ i(rt, { children: n("water-settings", "Water Settings") }),
|
|
7051
7063
|
/* @__PURE__ */ i(
|
|
@@ -7064,249 +7076,249 @@ const vc = k.div``, Vl = D(
|
|
|
7064
7076
|
)
|
|
7065
7077
|
] });
|
|
7066
7078
|
})
|
|
7067
|
-
),
|
|
7079
|
+
), jl = k.div`
|
|
7068
7080
|
display: flex;
|
|
7069
7081
|
flex-direction: column;
|
|
7070
7082
|
gap: 12px;
|
|
7071
|
-
`,
|
|
7083
|
+
`, Ml = k.div`
|
|
7072
7084
|
display: flex;
|
|
7073
7085
|
flex-direction: row;
|
|
7074
7086
|
gap: 12px;
|
|
7075
7087
|
align-items: center;
|
|
7076
7088
|
justify-content: center;
|
|
7077
|
-
`,
|
|
7089
|
+
`, Zl = k(S)`
|
|
7078
7090
|
display: block;
|
|
7079
7091
|
`;
|
|
7080
7092
|
export {
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7087
|
-
|
|
7093
|
+
Zl as ActionButton,
|
|
7094
|
+
jl as ActionContainer,
|
|
7095
|
+
Ml as ActionRow,
|
|
7096
|
+
Vc as AgitationControlView,
|
|
7097
|
+
zc as AgitatorDetail,
|
|
7098
|
+
Ko as AgitatorModal,
|
|
7099
|
+
jc as AgitatorSummary,
|
|
7088
7100
|
hs as AnimationContext,
|
|
7089
|
-
|
|
7090
|
-
|
|
7101
|
+
Zd as AnimationProvider,
|
|
7102
|
+
Hd as ApplicationComponentConfigurationProvider,
|
|
7091
7103
|
fs as ApplicationContext,
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7104
|
+
Wd as ApplicationProvider,
|
|
7105
|
+
Tl as CGPPumpCard,
|
|
7106
|
+
$o as CalibrateAction,
|
|
7107
|
+
Qo as CalibrateModal,
|
|
7108
|
+
Fc as CarbTankDetail,
|
|
7109
|
+
Bc as CarbTankSummary,
|
|
7110
|
+
oi as ConfigPropInfoCard,
|
|
7111
|
+
mn as ConfigPropInputCard,
|
|
7100
7112
|
Ge as ConfigPropInputRangeCard,
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7113
|
+
fi as ConfigPropMultiInputEnableCard,
|
|
7114
|
+
hn as ConfigPropPickerCard,
|
|
7115
|
+
Zc as ConfigPropSingleInputEnableCard,
|
|
7116
|
+
gi as ConfigPropSwitchCard,
|
|
7117
|
+
yi as ConfigPropTimePickerCard,
|
|
7106
7118
|
bt as ConfigPropToggleCard,
|
|
7107
|
-
|
|
7108
|
-
|
|
7119
|
+
sa as CuiExtension,
|
|
7120
|
+
nd as DashboardDetailExtension,
|
|
7109
7121
|
gs as DashboardOperationsContext,
|
|
7110
|
-
|
|
7122
|
+
Kd as DashboardOperationsProvider,
|
|
7111
7123
|
St as DashboardPumpDetailExtension,
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7124
|
+
Jc as DashboardSummaryExtension,
|
|
7125
|
+
wi as DatePickerCard,
|
|
7126
|
+
_i as DiagnosticsModal,
|
|
7115
7127
|
vs as DispenserInfoContext,
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7128
|
+
qd as DispenserInfoProvider,
|
|
7129
|
+
zd as DispenserInfoSettings,
|
|
7130
|
+
ba as DispenserSerialNumber,
|
|
7131
|
+
jd as DispenserSettings,
|
|
7120
7132
|
Ce as EXTENSION_PLUGIN_VISIBILITY,
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7133
|
+
dd as EXTENSION_POINT_CUI,
|
|
7134
|
+
ld as EXTENSION_POINT_CUI_DEF,
|
|
7135
|
+
ud as EXTENSION_POINT_CUI_VIEW,
|
|
7136
|
+
rd as EXTENSION_POINT_DASHBOARD_DETAIL,
|
|
7137
|
+
sd as EXTENSION_POINT_DASHBOARD_DETAIL_DEF,
|
|
7138
|
+
od as EXTENSION_POINT_DASHBOARD_DETAIL_VIEW,
|
|
7139
|
+
id as EXTENSION_POINT_DASHBOARD_PUMP_DETAIL,
|
|
7140
|
+
ad as EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_DEF,
|
|
7141
|
+
cd as EXTENSION_POINT_DASHBOARD_PUMP_DETAIL_VIEW,
|
|
7142
|
+
Qc as EXTENSION_POINT_DASHBOARD_SUMMARY,
|
|
7143
|
+
ed as EXTENSION_POINT_DASHBOARD_SUMMARY_DEF,
|
|
7144
|
+
td as EXTENSION_POINT_DASHBOARD_SUMMARY_VIEW,
|
|
7145
|
+
md as EXTENSION_POINT_NAV_VIEW,
|
|
7146
|
+
hd as EXTENSION_POINT_NAV_VIEW_DEF,
|
|
7147
|
+
fd as EXTENSION_POINT_NAV_VIEW_VIEW,
|
|
7148
|
+
gd as EXTENSION_POINT_SETUP,
|
|
7149
|
+
vd as EXTENSION_POINT_SETUP_DEF,
|
|
7150
|
+
yd as EXTENSION_POINT_SETUP_VIEW,
|
|
7151
|
+
bd as EXTENSION_POINT_TROUBLE_ACTION,
|
|
7152
|
+
wd as EXTENSION_POINT_TROUBLE_ACTION_DEF,
|
|
7153
|
+
_d as EXTENSION_POINT_TROUBLE_ACTION_VIEW,
|
|
7154
|
+
kd as EXTENSION_POINT_VIEW,
|
|
7155
|
+
Cd as EXTENSION_POINT_VIEW_DEF,
|
|
7156
|
+
Sd as EXTENSION_POINT_VIEW_VIEW,
|
|
7145
7157
|
ms as EnjoyByDate,
|
|
7146
7158
|
yt as FailureMessage,
|
|
7147
|
-
|
|
7148
|
-
|
|
7159
|
+
Ro as Fixed45FlowTestAction,
|
|
7160
|
+
Lo as FlushAction,
|
|
7149
7161
|
K as FutureProgressBar,
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7162
|
+
Ho as GenericTroubleAction,
|
|
7163
|
+
Md as HardwareInfo,
|
|
7164
|
+
Vo as HighFlowTestAction,
|
|
7165
|
+
Fo as HoldToPourAction,
|
|
7154
7166
|
Ze as HoldToPourButton,
|
|
7155
7167
|
Bt as HolderActions,
|
|
7156
7168
|
Pa as HolderCard,
|
|
7157
7169
|
es as HolderContentContext,
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7170
|
+
Td as HolderContentProvider,
|
|
7171
|
+
Ps as HolderGroup,
|
|
7172
|
+
vl as HolderGroupView,
|
|
7161
7173
|
Te as HolderNotifications,
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7174
|
+
bl as IceAgitatorDetail,
|
|
7175
|
+
Ka as IceAgitatorSettings,
|
|
7176
|
+
_l as IceAgitatorSettingsContainer,
|
|
7177
|
+
xl as IceAgitatorSettingsView,
|
|
7178
|
+
wl as IceAgitatorSummary,
|
|
7167
7179
|
ys as IngredientSummaryContext,
|
|
7168
|
-
|
|
7180
|
+
Yd as IngredientSummaryProvider,
|
|
7169
7181
|
oe as IntentAction,
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7182
|
+
Nd as KosPluginExtensionManager,
|
|
7183
|
+
Il as LFCVPumpCard,
|
|
7184
|
+
kl as LocalizationSettings,
|
|
7185
|
+
Bo as LowFlowTestAction,
|
|
7186
|
+
El as MSVPumpCard,
|
|
7187
|
+
jo as MSVResetAction,
|
|
7176
7188
|
bs as MacroAssignmentContext,
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7189
|
+
Qd as MacroAssignmentProvider,
|
|
7190
|
+
Va as MacroHolderCard,
|
|
7191
|
+
yl as MacroHolderGroupView,
|
|
7192
|
+
wn as MacroSetupStepCard,
|
|
7193
|
+
zo as ManualOverrideAction,
|
|
7194
|
+
pd as NavViewExtension,
|
|
7183
7195
|
_s as NetworkTestContainerContext,
|
|
7184
|
-
|
|
7196
|
+
rl as NetworkTestContainerProvider,
|
|
7185
7197
|
ws as NetworkTestContext,
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7198
|
+
tl as NetworkTestProvider,
|
|
7199
|
+
Cl as NetworkTestResults,
|
|
7200
|
+
Ja as NotificationCardView,
|
|
7201
|
+
pa as PluginExtensionManager,
|
|
7202
|
+
Sl as PluginTabs,
|
|
7203
|
+
Mo as PrimeAction,
|
|
7192
7204
|
Zr as ProbeView,
|
|
7193
|
-
|
|
7194
|
-
|
|
7205
|
+
Zo as PurgeAction,
|
|
7206
|
+
pc as RFIDOverride,
|
|
7195
7207
|
xs as RebootContext,
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7208
|
+
ol as RebootProvider,
|
|
7209
|
+
Dl as RebootView,
|
|
7210
|
+
Nl as RemoteNNSModal,
|
|
7211
|
+
Ol as RemoteTrayDetail,
|
|
7212
|
+
$l as RemoteTraySummary,
|
|
7213
|
+
ac as ReplaceLine,
|
|
7214
|
+
dc as ReplacePump,
|
|
7215
|
+
gc as SPMFieldCalibrationModal,
|
|
7204
7216
|
ks as SettingsContext,
|
|
7205
|
-
|
|
7217
|
+
al as SettingsProvider,
|
|
7206
7218
|
Qr as SetupExtension,
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7219
|
+
Rl as SetupRequired,
|
|
7220
|
+
Ll as SetupSidebar,
|
|
7221
|
+
fc as SetupSidebarComp,
|
|
7210
7222
|
Ss as SetupStepContainerContext,
|
|
7211
|
-
|
|
7223
|
+
ul as SetupStepContainerProvider,
|
|
7212
7224
|
Cs as SetupStepContext,
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7225
|
+
dl as SetupStepProvider,
|
|
7226
|
+
Vl as Software,
|
|
7227
|
+
si as StagedChangesProvider,
|
|
7228
|
+
Fl as StateExperience,
|
|
7229
|
+
mc as StepItem,
|
|
7230
|
+
hc as StepTitle,
|
|
7231
|
+
pn as SuccessMessage,
|
|
7232
|
+
nc as SuperPumpCard,
|
|
7233
|
+
wc as SystemDatePickerCard,
|
|
7234
|
+
Rc as TROUBLE_PRIME,
|
|
7235
|
+
Lc as TROUBLE_PURGE,
|
|
7236
|
+
vi as TimePickerCard,
|
|
7237
|
+
Bl as TimeSettings,
|
|
7238
|
+
_c as TimeZonePickerCard,
|
|
7239
|
+
Uo as TroubleAction,
|
|
7228
7240
|
an as TroubleActionExtension,
|
|
7229
7241
|
Is as UtilitiesContainerContext,
|
|
7230
|
-
|
|
7242
|
+
fl as UtilitiesContainerProvider,
|
|
7231
7243
|
Ts as UtilitiesContext,
|
|
7232
|
-
|
|
7244
|
+
ml as UtilitiesProvider,
|
|
7233
7245
|
Pl as ValveCard,
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7246
|
+
xd as ViewExtension,
|
|
7247
|
+
Al as WaterPumpCard,
|
|
7248
|
+
zl as WaterSettings,
|
|
7249
|
+
Dd as pumpTypeFactory,
|
|
7250
|
+
ma as troubleLabelByType,
|
|
7239
7251
|
Vt as troubleLabelFactory,
|
|
7240
7252
|
Br as useAgitationControl,
|
|
7241
7253
|
Kr as useAnimation,
|
|
7242
|
-
|
|
7254
|
+
Ud as useAnimationContext,
|
|
7243
7255
|
It as useApplication,
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7256
|
+
bn as useApplicationContext,
|
|
7257
|
+
Ii as useCarbWater,
|
|
7258
|
+
Uc as useCombinedActions,
|
|
7259
|
+
Ei as useCopyLogs,
|
|
7248
7260
|
Xr as useDashboardOperations,
|
|
7249
|
-
|
|
7261
|
+
Xd as useDashboardOperationsContext,
|
|
7250
7262
|
qr as useDispenserInfo,
|
|
7251
|
-
|
|
7252
|
-
|
|
7263
|
+
Gd as useDispenserInfoContext,
|
|
7264
|
+
Ai as useDoor,
|
|
7253
7265
|
_e as useFutureContainer,
|
|
7254
7266
|
ts as useHolderContent,
|
|
7255
7267
|
it as useHolderExperience,
|
|
7256
7268
|
ns as useIngredientSummary,
|
|
7257
|
-
|
|
7269
|
+
Jd as useIngredientSummaryContext,
|
|
7258
7270
|
rs as useMacroAssignment,
|
|
7259
|
-
|
|
7271
|
+
el as useMacroAssignmentContext,
|
|
7260
7272
|
ss as useNetworkTest,
|
|
7261
7273
|
os as useNetworkTestContainer,
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7274
|
+
sl as useNetworkTestContainerContext,
|
|
7275
|
+
nl as useNetworkTestContext,
|
|
7276
|
+
la as useNutritiveSweetener,
|
|
7277
|
+
ua as usePlainWater,
|
|
7266
7278
|
Ft as usePluginExtensions,
|
|
7267
7279
|
ot as usePumpAction,
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7280
|
+
gn as useReboot,
|
|
7281
|
+
il as useRebootContext,
|
|
7282
|
+
vn as useSettings,
|
|
7283
|
+
cl as useSettingsContext,
|
|
7272
7284
|
as as useSetupStep,
|
|
7273
7285
|
cs as useSetupStepContainer,
|
|
7274
|
-
|
|
7275
|
-
|
|
7286
|
+
pl as useSetupStepContainerContext,
|
|
7287
|
+
ll as useSetupStepContext,
|
|
7276
7288
|
Hr as useStagedChanges,
|
|
7277
|
-
|
|
7278
|
-
|
|
7289
|
+
fa as useStart,
|
|
7290
|
+
Hc as useTroubleAction,
|
|
7279
7291
|
ds as useTroubleActionState,
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7292
|
+
yn as useTroubleData,
|
|
7293
|
+
ya as useTroubleDecoration,
|
|
7294
|
+
Vd as useTroubleVisibility,
|
|
7283
7295
|
ls as useUtilities,
|
|
7284
7296
|
us as useUtilitiesContainer,
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7297
|
+
gl as useUtilitiesContainerContext,
|
|
7298
|
+
hl as useUtilitiesContext,
|
|
7299
|
+
ia as useViewExtensions,
|
|
7288
7300
|
at as useVisibleTroubles,
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7301
|
+
Wc as withAgitationControl,
|
|
7302
|
+
Ti as withAnimation,
|
|
7303
|
+
Kc as withApplication,
|
|
7304
|
+
Xc as withCarbWater,
|
|
7305
|
+
qc as withCopyLogs,
|
|
7306
|
+
Gc as withDashboardOperations,
|
|
7295
7307
|
Pi as withDispenserInfo,
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7308
|
+
Yc as withDoor,
|
|
7309
|
+
Id as withIngredientSummary,
|
|
7310
|
+
ca as withMacroAssignment,
|
|
7311
|
+
Ed as withNetworkTest,
|
|
7312
|
+
da as withNetworkTestContainer,
|
|
7301
7313
|
Pd as withNutritiveSweetener,
|
|
7302
|
-
|
|
7303
|
-
|
|
7314
|
+
Ad as withPlainWater,
|
|
7315
|
+
Od as withReboot,
|
|
7304
7316
|
is as withSettings,
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7317
|
+
$d as withSetupStep,
|
|
7318
|
+
ha as withSetupStepContainer,
|
|
7319
|
+
Mc as withStagedChanges,
|
|
7320
|
+
Rd as withStart,
|
|
7321
|
+
Ld as withTroubleAction,
|
|
7322
|
+
Fd as withUtilities,
|
|
7323
|
+
Bd as withUtilitiesContainer
|
|
7312
7324
|
};
|