@kosdev-code/kos-ddk-models 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.mjs +596 -596
- package/package.json +5 -5
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Ar = Object.defineProperty;
|
|
2
2
|
var jr = (e, t, r) => t in e ? Ar(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
-
var
|
|
4
|
-
import { resolveServiceUrl as h, ServiceFactory as f, KosLog as g, kosTopicHandler as Ee, kosModel as l, kosAction as _,
|
|
5
|
-
import { AGITATION_REQUIRED_TROUBLE as
|
|
3
|
+
var s = (e, t, r) => (jr(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
+
import { resolveServiceUrl as h, ServiceFactory as f, KosLog as g, kosTopicHandler as Ee, kosModel as l, kosAction as _, Kos as c, isKosModel as u, createPropKey as Ur, kosStateProp as Vr, KosModelRegistrationFactory as Le, kosDependency as m, KosModelContainer as tt, resolveContainerDeltas as dt, kosChild as De, Device as Hr, kosConfigProperty as d, kosFuture as v, kosModelEffect as _t, MultipleFutureHandler as Wr, FutureEndState as b, TroubleServices as ke, Troubles as pt, SingletonKosModelRegistrationFactory as pe, FetchError as Re, FutureManager as T, FutureHandler as ge, getKosCompanionModel as $t, StorageDeviceContainer as zr, KosDataContainer as Nr, setupCompleteFutureSupport as Br, TroubleContainer as rt, troubleByTypeReducer as Kr, registerExtensionPoint as Yr, ExtensionManager as Ie, kosConfigBean as qr, ObservableData as Gr, kosAutoEffect as Qr } from "@kosdev-code/kos-ui-sdk";
|
|
5
|
+
import { AGITATION_REQUIRED_TROUBLE as Tt, CartridgeAgitatorEvents as Pt } from "@kosdev-code/kos-freestyle-sdk";
|
|
6
6
|
import { Assembly as Fe, HolderContainer as Xr, IngredientContainer as Jr } from "@kosdev-code/kos-dispense-sdk";
|
|
7
7
|
const gt = "PurgeTrouble", Zr = "PrimeTrouble", { URL: ot } = h("AUTH_SERVICE"), { getOne: eo, postModel: to } = f.build({
|
|
8
8
|
basePath: `${ot}/api/auth`
|
|
@@ -11,22 +11,22 @@ const gt = "PurgeTrouble", Zr = "PrimeTrouble", { URL: ot } = h("AUTH_SERVICE"),
|
|
|
11
11
|
})), St = async (e) => (Ot.debug("sending POST for auth"), await to({
|
|
12
12
|
urlOverride: `${ot}/api/app/kosdev.ddk/auth/pincode/${e}`,
|
|
13
13
|
model: {}
|
|
14
|
-
})),
|
|
14
|
+
})), $s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
15
|
__proto__: null,
|
|
16
16
|
getCurrentRole: Mt,
|
|
17
17
|
sendPinCode: St
|
|
18
18
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
19
19
|
var ro = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, Ct = (e, t, r, i) => {
|
|
20
|
-
for (var o = i > 1 ? void 0 : i ? oo(t, r) : t, n = e.length - 1,
|
|
21
|
-
(
|
|
20
|
+
for (var o = i > 1 ? void 0 : i ? oo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
21
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
22
22
|
return i && o && ro(t, r, o), o;
|
|
23
23
|
};
|
|
24
24
|
const N = "auth-model", ht = (e) => e.toLowerCase();
|
|
25
25
|
let ve = class {
|
|
26
26
|
constructor(e, t, r) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
s(this, "id");
|
|
28
|
+
s(this, "logger");
|
|
29
|
+
s(this, "currentRole");
|
|
30
30
|
this.id = e, this.logger = r.logger, this.currentRole = "crew";
|
|
31
31
|
}
|
|
32
32
|
async authorize(e) {
|
|
@@ -70,21 +70,21 @@ const it = {
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
type: N,
|
|
73
|
-
predicate:
|
|
74
|
-
factory:
|
|
73
|
+
predicate: u(N),
|
|
74
|
+
factory: c.Factory.create(N)
|
|
75
75
|
};
|
|
76
76
|
var io = Object.defineProperty, so = Object.getOwnPropertyDescriptor, wt = (e, t, r, i) => {
|
|
77
|
-
for (var o = i > 1 ? void 0 : i ? so(t, r) : t, n = e.length - 1,
|
|
78
|
-
(
|
|
77
|
+
for (var o = i > 1 ? void 0 : i ? so(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
78
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
79
79
|
return i && o && io(t, r, o), o;
|
|
80
80
|
};
|
|
81
81
|
const Et = "door-model", ao = Ur("doorPath");
|
|
82
82
|
let _e = class {
|
|
83
83
|
constructor(e, t, r) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
s(this, "id");
|
|
85
|
+
s(this, "logger");
|
|
86
|
+
s(this, "doorPath");
|
|
87
|
+
s(this, "open");
|
|
88
88
|
this.id = e, this.logger = r.logger, this.doorPath = t.doorPath;
|
|
89
89
|
}
|
|
90
90
|
get currentState() {
|
|
@@ -110,29 +110,29 @@ const no = new Le({
|
|
|
110
110
|
group: "Services"
|
|
111
111
|
}), Dt = async () => (Lt.debug("sending GET for setup-step"), await lo({
|
|
112
112
|
urlOverride: `${st}/api/app/kosdev.ddk/setup/steps`
|
|
113
|
-
})),
|
|
113
|
+
})), kt = async (e) => (Lt.debug("sending POST for setup-step"), await co({
|
|
114
114
|
urlOverride: `${st}/api/app/kosdev.ddk/setup/complete/${e}`,
|
|
115
115
|
model: {}
|
|
116
|
-
})),
|
|
116
|
+
})), Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
117
117
|
__proto__: null,
|
|
118
118
|
getSetupSteps: Dt,
|
|
119
|
-
markStepComplete:
|
|
119
|
+
markStepComplete: kt
|
|
120
120
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
121
|
-
var uo = Object.
|
|
122
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
123
|
-
(
|
|
124
|
-
return
|
|
121
|
+
var uo = Object.getOwnPropertyDescriptor, po = (e, t, r, i) => {
|
|
122
|
+
for (var o = i > 1 ? void 0 : i ? uo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
123
|
+
(a = e[n]) && (o = a(o) || o);
|
|
124
|
+
return o;
|
|
125
125
|
};
|
|
126
126
|
const B = "setup-step-model";
|
|
127
127
|
let Ke = class {
|
|
128
128
|
constructor(e, t, r) {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
129
|
+
s(this, "id");
|
|
130
|
+
s(this, "idx");
|
|
131
|
+
s(this, "name");
|
|
132
|
+
s(this, "complete");
|
|
133
|
+
s(this, "preStep");
|
|
134
|
+
s(this, "exclusive");
|
|
135
|
+
s(this, "logger");
|
|
136
136
|
this.id = e, this.idx = t.idx, this.logger = r.logger, this.name = t.name, this.complete = t.complete, this.preStep = t.preStep, this.exclusive = t.exclusive;
|
|
137
137
|
}
|
|
138
138
|
updateModel(e) {
|
|
@@ -145,7 +145,7 @@ let Ke = class {
|
|
|
145
145
|
return `setup.${this.name}.body`;
|
|
146
146
|
}
|
|
147
147
|
async completeStep() {
|
|
148
|
-
const e = await
|
|
148
|
+
const e = await kt(this.name);
|
|
149
149
|
(e == null ? void 0 : e.status) === 200 && _(() => {
|
|
150
150
|
this.complete = !0;
|
|
151
151
|
});
|
|
@@ -158,10 +158,10 @@ let Ke = class {
|
|
|
158
158
|
this.logger.debug(`loading setup-step ${this.id}`);
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
|
-
Ke =
|
|
161
|
+
Ke = po([
|
|
162
162
|
l(B)
|
|
163
163
|
], Ke);
|
|
164
|
-
const
|
|
164
|
+
const Rt = {
|
|
165
165
|
registration: {
|
|
166
166
|
[B]: {
|
|
167
167
|
class: Ke,
|
|
@@ -169,18 +169,18 @@ const It = {
|
|
|
169
169
|
}
|
|
170
170
|
},
|
|
171
171
|
type: B,
|
|
172
|
-
predicate:
|
|
173
|
-
factory:
|
|
172
|
+
predicate: u(B),
|
|
173
|
+
factory: c.Factory.create(B)
|
|
174
174
|
};
|
|
175
|
-
var
|
|
176
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
177
|
-
(
|
|
178
|
-
return i && o &&
|
|
175
|
+
var go = Object.defineProperty, ho = Object.getOwnPropertyDescriptor, xe = (e, t, r, i) => {
|
|
176
|
+
for (var o = i > 1 ? void 0 : i ? ho(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
177
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
178
|
+
return i && o && go(t, r, o), o;
|
|
179
179
|
};
|
|
180
180
|
const K = "setup-step-container-model";
|
|
181
181
|
function ft(e) {
|
|
182
182
|
return (t) => {
|
|
183
|
-
const r =
|
|
183
|
+
const r = Rt.factory(t.id)(t);
|
|
184
184
|
r.updateModel(t), e.addModel(r);
|
|
185
185
|
};
|
|
186
186
|
}
|
|
@@ -189,13 +189,13 @@ function mt(e) {
|
|
|
189
189
|
e.removeModel(t);
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
|
-
let
|
|
192
|
+
let R = class {
|
|
193
193
|
constructor(e, t, r) {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
194
|
+
s(this, "id");
|
|
195
|
+
s(this, "_currentStep");
|
|
196
|
+
s(this, "logger");
|
|
197
|
+
s(this, "models");
|
|
198
|
+
s(this, "authModel");
|
|
199
199
|
this.id = e, this.logger = r.logger, this._currentStep = void 0, this.models = new tt({
|
|
200
200
|
parentId: e,
|
|
201
201
|
sortKey: "idx"
|
|
@@ -279,33 +279,33 @@ let I = class {
|
|
|
279
279
|
};
|
|
280
280
|
xe([
|
|
281
281
|
De
|
|
282
|
-
],
|
|
282
|
+
], R.prototype, "models", 2);
|
|
283
283
|
xe([
|
|
284
284
|
m({ modelType: it.type })
|
|
285
|
-
],
|
|
285
|
+
], R.prototype, "authModel", 2);
|
|
286
286
|
xe([
|
|
287
287
|
Ee({
|
|
288
288
|
topic: "/app/kosdev.ddk/setup/steps",
|
|
289
289
|
websocket: !0
|
|
290
290
|
})
|
|
291
|
-
],
|
|
292
|
-
|
|
291
|
+
], R.prototype, "handleStepChanges", 1);
|
|
292
|
+
R = xe([
|
|
293
293
|
l(K)
|
|
294
|
-
],
|
|
295
|
-
const
|
|
294
|
+
], R);
|
|
295
|
+
const It = {
|
|
296
296
|
registration: {
|
|
297
297
|
[K]: {
|
|
298
|
-
class:
|
|
298
|
+
class: R,
|
|
299
299
|
singleton: !0
|
|
300
300
|
},
|
|
301
|
-
...
|
|
301
|
+
...Rt.registration
|
|
302
302
|
},
|
|
303
303
|
type: K,
|
|
304
|
-
predicate:
|
|
305
|
-
factory:
|
|
304
|
+
predicate: u(K),
|
|
305
|
+
factory: c.Singleton.create(K)
|
|
306
306
|
}, { URL: he } = h("AUTH_SERVICE"), { getOne: Ft, getAll: xt } = f.build({
|
|
307
307
|
basePath: `${he}/api/app/kosdev.ddk/ncui/`
|
|
308
|
-
}), Ae = g.createLogger({ name: "auth-service", group: "Services" }),
|
|
308
|
+
}), Ae = g.createLogger({ name: "auth-service", group: "Services" }), fo = async () => {
|
|
309
309
|
Ae.debug("sending GET for cuis");
|
|
310
310
|
const e = await xt({
|
|
311
311
|
urlOverride: `${he}/api/app/kosdev.ddk/cui`
|
|
@@ -313,7 +313,7 @@ const kt = {
|
|
|
313
313
|
if ((e == null ? void 0 : e.status) !== 200)
|
|
314
314
|
throw new Error("Failed to retrieve cuis");
|
|
315
315
|
return e.data;
|
|
316
|
-
},
|
|
316
|
+
}, mo = async () => {
|
|
317
317
|
Ae.debug("sending GET for navigation");
|
|
318
318
|
const e = await xt({
|
|
319
319
|
urlOverride: `${he}/api/kos/descriptor/system:app/kondra.ncui.navigations`
|
|
@@ -321,38 +321,38 @@ const kt = {
|
|
|
321
321
|
if ((e == null ? void 0 : e.status) !== 200)
|
|
322
322
|
throw new Error("Failed to retrieve navigation data");
|
|
323
323
|
return e.data;
|
|
324
|
-
},
|
|
324
|
+
}, yo = async () => (Ae.debug("navigating to CUI"), await Ft({
|
|
325
325
|
urlOverride: `${he}/api/app/kosdev.ddk/cui/open`
|
|
326
|
-
})),
|
|
326
|
+
})), bo = async () => (Ae.debug("navigating to NCUI"), await Ft({
|
|
327
327
|
urlOverride: `${he}/api/app/kosdev.ddk/ncui/open`
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
331
|
-
(
|
|
332
|
-
return i && o &&
|
|
329
|
+
var vo = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, L = (e, t, r, i) => {
|
|
330
|
+
for (var o = i > 1 ? void 0 : i ? _o(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
331
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
332
|
+
return i && o && vo(t, r, o), o;
|
|
333
333
|
};
|
|
334
334
|
const Y = "application-model", At = (e, t = "") => e.reduce((r, i) => {
|
|
335
335
|
const o = t ? `${t}.${i.name}` : i.name;
|
|
336
336
|
if (r[o] = { ...i, root: !t }, i.children) {
|
|
337
337
|
const n = At(i.children, o);
|
|
338
|
-
Object.keys(n).forEach((
|
|
339
|
-
r[
|
|
338
|
+
Object.keys(n).forEach((a) => {
|
|
339
|
+
r[a] = n[a];
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
342
|
return r;
|
|
343
343
|
}, {});
|
|
344
344
|
let M = class {
|
|
345
345
|
constructor(e, t, r) {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
346
|
+
s(this, "id");
|
|
347
|
+
s(this, "device");
|
|
348
|
+
s(this, "authModel");
|
|
349
|
+
s(this, "setupStepContainer");
|
|
350
|
+
s(this, "door");
|
|
351
|
+
s(this, "ncuiLanguage");
|
|
352
|
+
s(this, "activeCui");
|
|
353
|
+
s(this, "fallbackCui");
|
|
354
|
+
s(this, "_cuis", []);
|
|
355
|
+
s(this, "_navigationItems", []);
|
|
356
356
|
// @kosConfigProperty({
|
|
357
357
|
// path: 'somewhere.enable.dial.animation',
|
|
358
358
|
// attribute: 'enableDialAnimation',
|
|
@@ -368,8 +368,8 @@ let M = class {
|
|
|
368
368
|
// attribute: 'enableSidebarAnimation',
|
|
369
369
|
// })
|
|
370
370
|
// enableSidebarAnimation!: KosConfigProperty<boolean>;
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
s(this, "languages");
|
|
372
|
+
s(this, "logger");
|
|
373
373
|
this.id = e, this.languages = [], this._cuis = [], this.logger = r.logger, this.door = no.instance("app:kosdev.ddk:service:door:door").options({
|
|
374
374
|
doorPath: "app:kosdev.ddk:service:door:door"
|
|
375
375
|
}).build();
|
|
@@ -393,18 +393,18 @@ let M = class {
|
|
|
393
393
|
return this.door.isOpen;
|
|
394
394
|
}
|
|
395
395
|
async enter() {
|
|
396
|
-
this.logger.info("navigating to NCUI"), await
|
|
396
|
+
this.logger.info("navigating to NCUI"), await bo();
|
|
397
397
|
}
|
|
398
398
|
async exit() {
|
|
399
|
-
this.logger.info("navigating to CUI"), await
|
|
399
|
+
this.logger.info("navigating to CUI"), await yo();
|
|
400
400
|
}
|
|
401
401
|
// -------------------LIFECYCLE----------------------------
|
|
402
402
|
async load() {
|
|
403
403
|
var r, i;
|
|
404
404
|
this.logger.debug(`loading application ${this.id}`);
|
|
405
|
-
const e = await
|
|
405
|
+
const e = await mo();
|
|
406
406
|
this._navigationItems = e;
|
|
407
|
-
const t = await
|
|
407
|
+
const t = await fo();
|
|
408
408
|
this._cuis = t, (r = this.setupStepContainer) != null && r.hasIncompletePreSteps && ((i = this.authModel) == null || i.forceRole("technician")), this.languages = [
|
|
409
409
|
{
|
|
410
410
|
name: "English",
|
|
@@ -420,7 +420,7 @@ L([
|
|
|
420
420
|
m({ modelType: it.type })
|
|
421
421
|
], M.prototype, "authModel", 2);
|
|
422
422
|
L([
|
|
423
|
-
m({ modelType:
|
|
423
|
+
m({ modelType: It.type })
|
|
424
424
|
], M.prototype, "setupStepContainer", 2);
|
|
425
425
|
L([
|
|
426
426
|
De
|
|
@@ -455,8 +455,8 @@ const at = {
|
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
457
|
type: Y,
|
|
458
|
-
predicate:
|
|
459
|
-
factory:
|
|
458
|
+
predicate: u(Y),
|
|
459
|
+
factory: c.Singleton.create(
|
|
460
460
|
Y
|
|
461
461
|
)
|
|
462
462
|
}, be = {
|
|
@@ -465,7 +465,7 @@ const at = {
|
|
|
465
465
|
technician: 1,
|
|
466
466
|
manager: 2
|
|
467
467
|
}, jt = (e) => (t) => {
|
|
468
|
-
if (t.type ===
|
|
468
|
+
if (t.type === Tt)
|
|
469
469
|
return !1;
|
|
470
470
|
const r = (t == null ? void 0 : t.role) || "technician";
|
|
471
471
|
if (e && r) {
|
|
@@ -474,25 +474,25 @@ const at = {
|
|
|
474
474
|
}
|
|
475
475
|
return !1;
|
|
476
476
|
};
|
|
477
|
-
var
|
|
478
|
-
for (var o = i > 1 ? void 0 : i ? To(t, r) : t, n = e.length - 1,
|
|
479
|
-
(
|
|
480
|
-
return i && o &&
|
|
477
|
+
var $o = Object.defineProperty, To = Object.getOwnPropertyDescriptor, U = (e, t, r, i) => {
|
|
478
|
+
for (var o = i > 1 ? void 0 : i ? To(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
479
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
480
|
+
return i && o && $o(t, r, o), o;
|
|
481
481
|
};
|
|
482
|
-
const Ut = "agitation-control-model", Ye = "resolve",
|
|
482
|
+
const Ut = "agitation-control-model", Ye = "resolve", Po = "agitate";
|
|
483
483
|
let C = class {
|
|
484
484
|
constructor(e, t, r) {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
485
|
+
s(this, "id");
|
|
486
|
+
s(this, "futureHandler");
|
|
487
|
+
s(this, "logger");
|
|
488
|
+
s(this, "troubleContainer");
|
|
489
|
+
s(this, "_agitationFutureId");
|
|
490
|
+
s(this, "_canExit", !0);
|
|
491
|
+
s(this, "_exiting", !1);
|
|
492
|
+
s(this, "_isFailed", !1);
|
|
493
|
+
s(this, "disposer");
|
|
494
|
+
s(this, "application");
|
|
495
|
+
s(this, "inProgress", []);
|
|
496
496
|
this.id = e, this.logger = r.logger, this.troubleContainer = t.companionParent, this.futureHandler = new Wr(this, Ye);
|
|
497
497
|
}
|
|
498
498
|
set isFailed(e) {
|
|
@@ -538,7 +538,7 @@ let C = class {
|
|
|
538
538
|
}
|
|
539
539
|
async resolveDeferredTroubles(e) {
|
|
540
540
|
const t = this.queuedTroubles.filter((i) => !i.shouldDefer).map((i) => i.rawId).filter((i) => !this.inProgress.includes(i));
|
|
541
|
-
return this.inProgress.push(...t), t.length === 0 ? void 0 : await
|
|
541
|
+
return this.inProgress.push(...t), t.length === 0 ? void 0 : await ke.bulkResolveTroubles(
|
|
542
542
|
t,
|
|
543
543
|
e
|
|
544
544
|
);
|
|
@@ -554,7 +554,7 @@ let C = class {
|
|
|
554
554
|
}
|
|
555
555
|
get visibleTroubles() {
|
|
556
556
|
const e = this.application.currentRole;
|
|
557
|
-
return this.troubleContainer.troubles.data.filter(jt(e)).filter((t) => t.type !==
|
|
557
|
+
return this.troubleContainer.troubles.data.filter(jt(e)).filter((t) => t.type !== Tt);
|
|
558
558
|
}
|
|
559
559
|
// -------------------LIFECYCLE----------------------------
|
|
560
560
|
get future() {
|
|
@@ -564,7 +564,7 @@ let C = class {
|
|
|
564
564
|
return this.futureHandler.getFuture(Ye);
|
|
565
565
|
}
|
|
566
566
|
get agitateFuture() {
|
|
567
|
-
return this.futureHandler.getFuture(
|
|
567
|
+
return this.futureHandler.getFuture(Po);
|
|
568
568
|
}
|
|
569
569
|
handleAgitationStarted(e) {
|
|
570
570
|
this.logger.info(`Agitation started for ${e.path}`), this._agitationFutureId = String(e.futureId);
|
|
@@ -592,10 +592,10 @@ U([
|
|
|
592
592
|
v({ alias: Ye })
|
|
593
593
|
], C.prototype, "resolveDeferredTroubles", 1);
|
|
594
594
|
U([
|
|
595
|
-
Ee({ topic:
|
|
595
|
+
Ee({ topic: Pt.TOPIC_AGITATION_STARTED })
|
|
596
596
|
], C.prototype, "handleAgitationStarted", 1);
|
|
597
597
|
U([
|
|
598
|
-
Ee({ topic:
|
|
598
|
+
Ee({ topic: Pt.TOPIC_AGITATION_ENDED })
|
|
599
599
|
], C.prototype, "handleAgitationEnded", 1);
|
|
600
600
|
U([
|
|
601
601
|
_t({
|
|
@@ -605,24 +605,24 @@ U([
|
|
|
605
605
|
C = U([
|
|
606
606
|
l(Ut)
|
|
607
607
|
], C);
|
|
608
|
-
const
|
|
608
|
+
const Ps = new pe({
|
|
609
609
|
class: C,
|
|
610
610
|
type: Ut
|
|
611
611
|
});
|
|
612
|
-
var
|
|
613
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
614
|
-
(
|
|
615
|
-
return i && o &&
|
|
612
|
+
var Oo = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, fe = (e, t, r, i) => {
|
|
613
|
+
for (var o = i > 1 ? void 0 : i ? Mo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
614
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
615
|
+
return i && o && Oo(t, r, o), o;
|
|
616
616
|
};
|
|
617
617
|
const q = "animation-model";
|
|
618
|
-
let
|
|
618
|
+
let k = class {
|
|
619
619
|
constructor(e, t, r) {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
620
|
+
s(this, "id");
|
|
621
|
+
s(this, "logger");
|
|
622
|
+
s(this, "disableAll");
|
|
623
|
+
s(this, "enableDial");
|
|
624
|
+
s(this, "enableModal");
|
|
625
|
+
s(this, "enableSideBar");
|
|
626
626
|
this.id = e, this.logger = r.logger;
|
|
627
627
|
}
|
|
628
628
|
};
|
|
@@ -631,46 +631,46 @@ fe([
|
|
|
631
631
|
path: "app:kosdev.ddk:app",
|
|
632
632
|
attribute: "ncui.uiConfig.animations.disableAll"
|
|
633
633
|
})
|
|
634
|
-
],
|
|
634
|
+
], k.prototype, "disableAll", 2);
|
|
635
635
|
fe([
|
|
636
636
|
d({
|
|
637
637
|
path: "app:kosdev.ddk:app",
|
|
638
638
|
attribute: "ncui.uiConfig.animations.enableDial"
|
|
639
639
|
})
|
|
640
|
-
],
|
|
640
|
+
], k.prototype, "enableDial", 2);
|
|
641
641
|
fe([
|
|
642
642
|
d({
|
|
643
643
|
path: "app:kosdev.ddk:app",
|
|
644
644
|
attribute: "ncui.uiConfig.animations.enableModal"
|
|
645
645
|
})
|
|
646
|
-
],
|
|
646
|
+
], k.prototype, "enableModal", 2);
|
|
647
647
|
fe([
|
|
648
648
|
d({
|
|
649
649
|
path: "app:kosdev.ddk:app",
|
|
650
650
|
attribute: "ncui.uiConfig.animations.enableSideBar"
|
|
651
651
|
})
|
|
652
|
-
],
|
|
653
|
-
|
|
652
|
+
], k.prototype, "enableSideBar", 2);
|
|
653
|
+
k = fe([
|
|
654
654
|
l(q)
|
|
655
|
-
],
|
|
656
|
-
const
|
|
655
|
+
], k);
|
|
656
|
+
const So = {
|
|
657
657
|
registration: {
|
|
658
658
|
[q]: {
|
|
659
|
-
class:
|
|
659
|
+
class: k,
|
|
660
660
|
singleton: !0
|
|
661
661
|
}
|
|
662
662
|
},
|
|
663
663
|
type: q,
|
|
664
|
-
predicate:
|
|
665
|
-
factory:
|
|
666
|
-
}, { URL:
|
|
667
|
-
basePath: `${
|
|
668
|
-
}),
|
|
664
|
+
predicate: u(q),
|
|
665
|
+
factory: c.Singleton.create(q)
|
|
666
|
+
}, { URL: Co } = h("ANIMATION_SERVICE"), { getAll: wo } = f.build({
|
|
667
|
+
basePath: `${Co}/api/animation`
|
|
668
|
+
}), Eo = g.createLogger({
|
|
669
669
|
name: "animation-service",
|
|
670
670
|
group: "Services"
|
|
671
|
-
}),
|
|
671
|
+
}), Lo = async () => (Eo.debug("sending GET for animation"), await wo({})), Os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
672
672
|
__proto__: null,
|
|
673
|
-
getAnimations:
|
|
673
|
+
getAnimations: Lo
|
|
674
674
|
}, Symbol.toStringTag, { value: "Module" })), { URL: V } = h("FCM-PUMP_SERVICE"), { postModel: me } = f.build({
|
|
675
675
|
basePath: `${V}/api/fcm-pump`
|
|
676
676
|
}), y = g.createLogger({
|
|
@@ -682,18 +682,18 @@ const Co = {
|
|
|
682
682
|
`performElectricalTest - sending POST request to /api/ext/freestyle/fcm/diagnostics/${e}/electricalTest`
|
|
683
683
|
);
|
|
684
684
|
try {
|
|
685
|
-
const
|
|
685
|
+
const a = await me({
|
|
686
686
|
model: {},
|
|
687
687
|
urlOverride: `${V}/api/ext/freestyle/fcm/diagnostics/${e}/electricalTest`
|
|
688
688
|
});
|
|
689
|
-
return y.debug("performElectricalTest - response:",
|
|
690
|
-
} catch (
|
|
689
|
+
return y.debug("performElectricalTest - response:", a), ((a == null ? void 0 : a.status) === 200 || (a == null ? void 0 : a.status) === 499) && ((t = a.data) != null && t.error) ? [a.data.error || "unknownError", a.data] : [void 0, a == null ? void 0 : a.data];
|
|
690
|
+
} catch (a) {
|
|
691
691
|
if (y.error(
|
|
692
692
|
`performElectricalTest - sending POST request to /api/ext/freestyle/fcm/diagnostics/${e}/electricalTest`,
|
|
693
|
-
|
|
694
|
-
),
|
|
695
|
-
const O = ((i = (r =
|
|
696
|
-
return [O, ((n =
|
|
693
|
+
a
|
|
694
|
+
), a instanceof Re) {
|
|
695
|
+
const O = ((i = (r = a.payload) == null ? void 0 : r.data) == null ? void 0 : i.error) || ((o = a.payload) == null ? void 0 : o.error) || "unknownError";
|
|
696
|
+
return [O, ((n = a.payload) == null ? void 0 : n.data) || { error: O }];
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
699
|
return ["unknownError", { error: "unknownError" }];
|
|
@@ -707,7 +707,7 @@ const Co = {
|
|
|
707
707
|
urlOverride: `${V}/api/ext/freestyle/fcm/calibration/${e}/preCalibrate`,
|
|
708
708
|
tracker: t
|
|
709
709
|
});
|
|
710
|
-
return y.debug("performPreCalibrate - response:", r), r != null && r.data &&
|
|
710
|
+
return y.debug("performPreCalibrate - response:", r), r != null && r.data && T.initiateFuture(r.data), r == null ? void 0 : r.data;
|
|
711
711
|
} catch (r) {
|
|
712
712
|
y.error(
|
|
713
713
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/preCalibrate`,
|
|
@@ -719,7 +719,7 @@ const Co = {
|
|
|
719
719
|
tracker: t,
|
|
720
720
|
reason: "Failed to resolve trouble"
|
|
721
721
|
};
|
|
722
|
-
return
|
|
722
|
+
return T.initiateFuture(i), i;
|
|
723
723
|
}
|
|
724
724
|
}, Wt = async (e, t) => {
|
|
725
725
|
y.debug(
|
|
@@ -731,7 +731,7 @@ const Co = {
|
|
|
731
731
|
urlOverride: `${V}/api/ext/freestyle/fcm/calibration/${e}/calibrate`,
|
|
732
732
|
tracker: t
|
|
733
733
|
});
|
|
734
|
-
return y.debug("performPreCalibrate - response:", r), r != null && r.data &&
|
|
734
|
+
return y.debug("performPreCalibrate - response:", r), r != null && r.data && T.initiateFuture(r.data), r == null ? void 0 : r.data;
|
|
735
735
|
} catch (r) {
|
|
736
736
|
y.error(
|
|
737
737
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/calibrate`,
|
|
@@ -743,7 +743,7 @@ const Co = {
|
|
|
743
743
|
tracker: t,
|
|
744
744
|
reason: "Failed to resolve trouble"
|
|
745
745
|
};
|
|
746
|
-
return
|
|
746
|
+
return T.initiateFuture(i), i;
|
|
747
747
|
}
|
|
748
748
|
}, zt = async (e, t, r) => {
|
|
749
749
|
y.debug(
|
|
@@ -755,7 +755,7 @@ const Co = {
|
|
|
755
755
|
urlOverride: `${V}/api/ext/freestyle/fcm/calibration/${e}/verify/${t}`,
|
|
756
756
|
tracker: r
|
|
757
757
|
});
|
|
758
|
-
return y.debug("performVerify - response:", i), i != null && i.data &&
|
|
758
|
+
return y.debug("performVerify - response:", i), i != null && i.data && T.initiateFuture(i.data), i == null ? void 0 : i.data;
|
|
759
759
|
} catch (i) {
|
|
760
760
|
y.error(
|
|
761
761
|
`performVerify - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/verify/${t}`,
|
|
@@ -767,7 +767,7 @@ const Co = {
|
|
|
767
767
|
tracker: r,
|
|
768
768
|
reason: "Failed to resolve trouble"
|
|
769
769
|
};
|
|
770
|
-
return
|
|
770
|
+
return T.initiateFuture(o), o;
|
|
771
771
|
}
|
|
772
772
|
}, Nt = async (e, t, r) => {
|
|
773
773
|
y.debug(
|
|
@@ -786,7 +786,7 @@ const Co = {
|
|
|
786
786
|
);
|
|
787
787
|
return;
|
|
788
788
|
}
|
|
789
|
-
},
|
|
789
|
+
}, Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
790
790
|
__proto__: null,
|
|
791
791
|
performCalibrate: Wt,
|
|
792
792
|
performComplete: Nt,
|
|
@@ -794,18 +794,18 @@ const Co = {
|
|
|
794
794
|
performPreCalibrate: Ht,
|
|
795
795
|
performVerify: zt
|
|
796
796
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
797
|
-
var
|
|
798
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
799
|
-
(
|
|
800
|
-
return i && o &&
|
|
797
|
+
var Do = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, je = (e, t, r, i) => {
|
|
798
|
+
for (var o = i > 1 ? void 0 : i ? ko(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
799
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
800
|
+
return i && o && Do(t, r, o), o;
|
|
801
801
|
};
|
|
802
|
-
const Bt = "fcm-pump-model",
|
|
803
|
-
let
|
|
802
|
+
const Bt = "fcm-pump-model", Ro = g.createLogger({ name: "fcm-pump-model" });
|
|
803
|
+
let I = class {
|
|
804
804
|
constructor(e, t, r) {
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
805
|
+
s(this, "id");
|
|
806
|
+
s(this, "logger");
|
|
807
|
+
s(this, "pumpModel");
|
|
808
|
+
s(this, "futureHandler");
|
|
809
809
|
this.id = e, this.logger = r.logger, this.pumpModel = t.companionParent, this.futureHandler = new ge(this);
|
|
810
810
|
}
|
|
811
811
|
get future() {
|
|
@@ -828,7 +828,7 @@ let k = class {
|
|
|
828
828
|
}
|
|
829
829
|
async performElectricalTest() {
|
|
830
830
|
const [e, t] = await Vt(this.pumpModel.path);
|
|
831
|
-
return e &&
|
|
831
|
+
return e && Ro.error(`Failed to perform electrical test on pump ${this.id}`, e), t;
|
|
832
832
|
}
|
|
833
833
|
getChildren() {
|
|
834
834
|
return [...this.futureHandler.allFutures];
|
|
@@ -855,31 +855,31 @@ let k = class {
|
|
|
855
855
|
};
|
|
856
856
|
je([
|
|
857
857
|
v()
|
|
858
|
-
],
|
|
858
|
+
], I.prototype, "performPreCalibrate", 1);
|
|
859
859
|
je([
|
|
860
860
|
v()
|
|
861
|
-
],
|
|
861
|
+
], I.prototype, "performCalibrate", 1);
|
|
862
862
|
je([
|
|
863
863
|
v()
|
|
864
|
-
],
|
|
865
|
-
|
|
864
|
+
], I.prototype, "performVerify", 1);
|
|
865
|
+
I = je([
|
|
866
866
|
l(Bt)
|
|
867
|
-
],
|
|
867
|
+
], I);
|
|
868
868
|
const Kt = new Le({
|
|
869
|
-
class:
|
|
869
|
+
class: I,
|
|
870
870
|
type: Bt
|
|
871
871
|
});
|
|
872
|
-
var
|
|
873
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
874
|
-
(
|
|
875
|
-
return i && o &&
|
|
872
|
+
var Io = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, Yt = (e, t, r, i) => {
|
|
873
|
+
for (var o = i > 1 ? void 0 : i ? Fo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
874
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
875
|
+
return i && o && Io(t, r, o), o;
|
|
876
876
|
};
|
|
877
877
|
const G = "carb-water-model";
|
|
878
878
|
let $e = class {
|
|
879
879
|
constructor(e, t, r) {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
880
|
+
s(this, "id");
|
|
881
|
+
s(this, "assemblyModel");
|
|
882
|
+
s(this, "logger");
|
|
883
883
|
this.id = e, this.logger = r.logger;
|
|
884
884
|
}
|
|
885
885
|
getPump() {
|
|
@@ -900,7 +900,7 @@ Yt([
|
|
|
900
900
|
$e = Yt([
|
|
901
901
|
l(G)
|
|
902
902
|
], $e);
|
|
903
|
-
const
|
|
903
|
+
const xo = {
|
|
904
904
|
registration: {
|
|
905
905
|
[G]: {
|
|
906
906
|
class: $e,
|
|
@@ -908,15 +908,15 @@ const Ao = {
|
|
|
908
908
|
}
|
|
909
909
|
},
|
|
910
910
|
type: G,
|
|
911
|
-
predicate:
|
|
912
|
-
factory:
|
|
913
|
-
}, { URL: H } = h("COPY-LOGS_SERVICE"), { getAll:
|
|
911
|
+
predicate: u(G),
|
|
912
|
+
factory: c.Factory.create(G)
|
|
913
|
+
}, { URL: H } = h("COPY-LOGS_SERVICE"), { getAll: Ao, getOne: jo, postModel: qt, deleteModel: Uo } = f.build({
|
|
914
914
|
basePath: `${H}/api/copy-logs`
|
|
915
|
-
}),
|
|
915
|
+
}), Te = g.createLogger({
|
|
916
916
|
name: "copy-logs-service",
|
|
917
917
|
group: "Services"
|
|
918
918
|
}), Gt = async (e, t) => {
|
|
919
|
-
const r = await
|
|
919
|
+
const r = await Uo({
|
|
920
920
|
tracker: t,
|
|
921
921
|
id: e,
|
|
922
922
|
urlOverride: `${H}/api/app/kosdev.ddk/copyLogs/${e}`
|
|
@@ -943,30 +943,30 @@ const Ao = {
|
|
|
943
943
|
throw new Error("No response from server");
|
|
944
944
|
return r.data;
|
|
945
945
|
}, Jt = async () => {
|
|
946
|
-
|
|
946
|
+
Te.debug("sending GET for copy-logs");
|
|
947
947
|
try {
|
|
948
|
-
const e = await
|
|
948
|
+
const e = await Ao({
|
|
949
949
|
urlOverride: `${H}/api/app/kosdev.ddk/copyLogs/volumes/size`
|
|
950
950
|
});
|
|
951
951
|
return [void 0, e == null ? void 0 : e.data];
|
|
952
952
|
} catch (e) {
|
|
953
|
-
if (e instanceof
|
|
954
|
-
return
|
|
953
|
+
if (e instanceof Re)
|
|
954
|
+
return Te.error(`Error fetching log file size: ${e.payload.error}`), [e.payload.error, void 0];
|
|
955
955
|
}
|
|
956
956
|
return ["unknownError", void 0];
|
|
957
957
|
}, Zt = async () => {
|
|
958
|
-
|
|
958
|
+
Te.debug("sending GET for log file size");
|
|
959
959
|
try {
|
|
960
|
-
const e = await
|
|
960
|
+
const e = await jo({
|
|
961
961
|
urlOverride: `${H}/api/app/kosdev.ddk/copyLogs/files/size`
|
|
962
962
|
});
|
|
963
963
|
return [void 0, e == null ? void 0 : e.data];
|
|
964
964
|
} catch (e) {
|
|
965
|
-
if (e instanceof
|
|
966
|
-
return
|
|
965
|
+
if (e instanceof Re)
|
|
966
|
+
return Te.error(`Error fetching log file size: ${e.payload.error}`), [e.payload.error, void 0];
|
|
967
967
|
}
|
|
968
968
|
return ["unknownError", void 0];
|
|
969
|
-
},
|
|
969
|
+
}, Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
970
970
|
__proto__: null,
|
|
971
971
|
copyLogFromVolume: Xt,
|
|
972
972
|
eraseAndCopyLogsToVolume: Qt,
|
|
@@ -974,25 +974,25 @@ const Ao = {
|
|
|
974
974
|
getLogFileSize: Zt,
|
|
975
975
|
getVolumes: Jt
|
|
976
976
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
977
|
-
var
|
|
978
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
979
|
-
(
|
|
980
|
-
return i && o &&
|
|
977
|
+
var Vo = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, W = (e, t, r, i) => {
|
|
978
|
+
for (var o = i > 1 ? void 0 : i ? Ho(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
979
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
980
|
+
return i && o && Vo(t, r, o), o;
|
|
981
981
|
};
|
|
982
982
|
const er = "copy-logs-model";
|
|
983
983
|
let w = class {
|
|
984
984
|
constructor(e, t, r) {
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
985
|
+
s(this, "id");
|
|
986
|
+
s(this, "logger");
|
|
987
|
+
s(this, "_volumes");
|
|
988
988
|
// Only declare what's needed internally - setupCompleteFutureSupport() handles the rest
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
989
|
+
s(this, "futureHandler");
|
|
990
|
+
s(this, "future");
|
|
991
|
+
s(this, "storageDeviceContainer");
|
|
992
|
+
s(this, "_activeVolume");
|
|
993
|
+
s(this, "_logFileSize", 0);
|
|
994
|
+
s(this, "_actionState", "idle");
|
|
995
|
+
s(this, "copyProgress");
|
|
996
996
|
this.id = e, this.logger = r.logger, this._volumes = new Nr(), this._activeVolume = void 0, this.copyProgress = {
|
|
997
997
|
bytesCopied: 0,
|
|
998
998
|
bytesToCopy: 0,
|
|
@@ -1103,13 +1103,13 @@ let w = class {
|
|
|
1103
1103
|
t && (t.forEach((o) => {
|
|
1104
1104
|
const n = this.storageDeviceContainer.getModel(o.id);
|
|
1105
1105
|
if (n) {
|
|
1106
|
-
const
|
|
1106
|
+
const a = {
|
|
1107
1107
|
id: o.id,
|
|
1108
1108
|
name: n.label,
|
|
1109
1109
|
freeBytes: o.info.freeBytes,
|
|
1110
1110
|
totalBytes: o.info.totalBytes
|
|
1111
1111
|
};
|
|
1112
|
-
this._volumes.addModel(
|
|
1112
|
+
this._volumes.addModel(a);
|
|
1113
1113
|
}
|
|
1114
1114
|
}), t.length === 1 ? this.updateActiveVolume(this._volumes.data[0]) : this.clearActiveVolume()), i && (this.logger.info(`Log file size: ${i}`), this.updateLogFileSize(parseInt(i, 10)));
|
|
1115
1115
|
}
|
|
@@ -1140,24 +1140,24 @@ W([
|
|
|
1140
1140
|
w = W([
|
|
1141
1141
|
l(er)
|
|
1142
1142
|
], w);
|
|
1143
|
-
const
|
|
1143
|
+
const Cs = new pe({
|
|
1144
1144
|
class: w,
|
|
1145
1145
|
type: er
|
|
1146
1146
|
}), tr = g.createLogger({
|
|
1147
1147
|
name: "dashboard-operations-service",
|
|
1148
1148
|
group: "Services"
|
|
1149
|
-
}), rr = async (e, t) => (tr.debug("resolveAll"), await
|
|
1149
|
+
}), rr = async (e, t) => (tr.debug("resolveAll"), await ke.bulkResolveTroubles(
|
|
1150
1150
|
e,
|
|
1151
1151
|
t
|
|
1152
|
-
)), or = async (e, t) => (tr.debug("resolveTrouble"), await
|
|
1152
|
+
)), or = async (e, t) => (tr.debug("resolveTrouble"), await ke.resolveTrouble(e, t)), ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1153
1153
|
__proto__: null,
|
|
1154
1154
|
resolveAll: rr,
|
|
1155
1155
|
resolveTrouble: or
|
|
1156
1156
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1157
|
-
var
|
|
1158
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1159
|
-
(
|
|
1160
|
-
return i && o &&
|
|
1157
|
+
var Wo = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, Ue = (e, t, r, i) => {
|
|
1158
|
+
for (var o = i > 1 ? void 0 : i ? zo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1159
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1160
|
+
return i && o && Wo(t, r, o), o;
|
|
1161
1161
|
};
|
|
1162
1162
|
const Q = "dashboard-operations-model";
|
|
1163
1163
|
function yt(e) {
|
|
@@ -1168,10 +1168,10 @@ function bt(e) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
let F = class {
|
|
1170
1170
|
constructor(e, t, r) {
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1171
|
+
s(this, "id");
|
|
1172
|
+
s(this, "troubles");
|
|
1173
|
+
s(this, "futureHandler");
|
|
1174
|
+
s(this, "logger");
|
|
1175
1175
|
this.id = e, this.futureHandler = new ge(this), this.logger = r.logger;
|
|
1176
1176
|
}
|
|
1177
1177
|
get troublesByType() {
|
|
@@ -1217,10 +1217,10 @@ let F = class {
|
|
|
1217
1217
|
if (!t)
|
|
1218
1218
|
throw new Error("No tracker provided");
|
|
1219
1219
|
const r = e === gt ? this.purgeTroubles : this.primeTroubles;
|
|
1220
|
-
r.filter((
|
|
1221
|
-
this.logger.info(`Deferring trouble ${
|
|
1220
|
+
r.filter((a) => a.shouldDefer).forEach((a) => {
|
|
1221
|
+
this.logger.info(`Deferring trouble ${a.rawId}`), a.defer();
|
|
1222
1222
|
});
|
|
1223
|
-
const o = r.filter((
|
|
1223
|
+
const o = r.filter((a) => !a.shouldDefer).map((a) => a.rawId);
|
|
1224
1224
|
return o.length === 0 ? void 0 : await rr(o, t);
|
|
1225
1225
|
}
|
|
1226
1226
|
async resolveTrouble(e, t) {
|
|
@@ -1256,19 +1256,19 @@ const nt = {
|
|
|
1256
1256
|
}
|
|
1257
1257
|
},
|
|
1258
1258
|
type: Q,
|
|
1259
|
-
predicate:
|
|
1260
|
-
factory:
|
|
1259
|
+
predicate: u(Q),
|
|
1260
|
+
factory: c.Singleton.create(Q)
|
|
1261
1261
|
};
|
|
1262
|
-
var
|
|
1263
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1264
|
-
(
|
|
1265
|
-
return
|
|
1262
|
+
var No = Object.getOwnPropertyDescriptor, Bo = (e, t, r, i) => {
|
|
1263
|
+
for (var o = i > 1 ? void 0 : i ? No(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1264
|
+
(a = e[n]) && (o = a(o) || o);
|
|
1265
|
+
return o;
|
|
1266
1266
|
};
|
|
1267
1267
|
const X = "dispenser-model";
|
|
1268
1268
|
let qe = class {
|
|
1269
1269
|
constructor(e, t, r) {
|
|
1270
|
-
|
|
1271
|
-
|
|
1270
|
+
s(this, "id");
|
|
1271
|
+
s(this, "logger");
|
|
1272
1272
|
this.id = e, this.logger = r.logger;
|
|
1273
1273
|
}
|
|
1274
1274
|
updateModel() {
|
|
@@ -1281,10 +1281,10 @@ let qe = class {
|
|
|
1281
1281
|
this.logger.debug(`loading dispenser ${this.id}`);
|
|
1282
1282
|
}
|
|
1283
1283
|
};
|
|
1284
|
-
qe =
|
|
1284
|
+
qe = Bo([
|
|
1285
1285
|
l(X)
|
|
1286
1286
|
], qe);
|
|
1287
|
-
const
|
|
1287
|
+
const Ko = {
|
|
1288
1288
|
registration: {
|
|
1289
1289
|
[X]: {
|
|
1290
1290
|
class: qe,
|
|
@@ -1292,28 +1292,28 @@ const qo = {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
},
|
|
1294
1294
|
type: X,
|
|
1295
|
-
predicate:
|
|
1296
|
-
factory:
|
|
1297
|
-
}, { URL:
|
|
1298
|
-
basePath: `${
|
|
1299
|
-
}),
|
|
1295
|
+
predicate: u(X),
|
|
1296
|
+
factory: c.Singleton.create(X)
|
|
1297
|
+
}, { URL: Yo } = h("DISPENSER_SERVICE"), { getAll: qo } = f.build({
|
|
1298
|
+
basePath: `${Yo}/api/dispenser`
|
|
1299
|
+
}), Go = g.createLogger({
|
|
1300
1300
|
name: "dispenser-service",
|
|
1301
1301
|
group: "Services"
|
|
1302
|
-
}),
|
|
1302
|
+
}), Qo = async () => (Go.debug("sending GET for dispenser"), await qo({})), Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1303
1303
|
__proto__: null,
|
|
1304
|
-
getDispensers:
|
|
1304
|
+
getDispensers: Qo
|
|
1305
1305
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1306
|
-
var
|
|
1307
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1308
|
-
(
|
|
1309
|
-
return i && o &&
|
|
1306
|
+
var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, ir = (e, t, r, i) => {
|
|
1307
|
+
for (var o = i > 1 ? void 0 : i ? Jo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1308
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1309
|
+
return i && o && Xo(t, r, o), o;
|
|
1310
1310
|
};
|
|
1311
1311
|
const J = "dispenser-info-model";
|
|
1312
|
-
let
|
|
1312
|
+
let Pe = class {
|
|
1313
1313
|
constructor(e, t, r) {
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1314
|
+
s(this, "logger");
|
|
1315
|
+
s(this, "id");
|
|
1316
|
+
s(this, "name");
|
|
1317
1317
|
this.id = e, this.logger = r.logger;
|
|
1318
1318
|
}
|
|
1319
1319
|
// -------------------LIFECYCLE----------------------------
|
|
@@ -1329,42 +1329,42 @@ ir([
|
|
|
1329
1329
|
path: "kos:device",
|
|
1330
1330
|
attribute: "name"
|
|
1331
1331
|
})
|
|
1332
|
-
],
|
|
1333
|
-
|
|
1332
|
+
], Pe.prototype, "name", 2);
|
|
1333
|
+
Pe = ir([
|
|
1334
1334
|
l(J)
|
|
1335
|
-
],
|
|
1336
|
-
const
|
|
1335
|
+
], Pe);
|
|
1336
|
+
const Zo = {
|
|
1337
1337
|
registration: {
|
|
1338
1338
|
[J]: {
|
|
1339
|
-
class:
|
|
1339
|
+
class: Pe,
|
|
1340
1340
|
singleton: !1
|
|
1341
1341
|
}
|
|
1342
1342
|
},
|
|
1343
1343
|
type: J,
|
|
1344
|
-
predicate:
|
|
1345
|
-
factory:
|
|
1344
|
+
predicate: u(J),
|
|
1345
|
+
factory: c.Factory.create(
|
|
1346
1346
|
J
|
|
1347
1347
|
)
|
|
1348
|
-
}, { URL:
|
|
1349
|
-
basePath: `${
|
|
1350
|
-
}),
|
|
1348
|
+
}, { URL: ei } = h("DISPENSER-INFO_SERVICE"), { getAll: ti } = f.build({
|
|
1349
|
+
basePath: `${ei}/api/dispenser-info`
|
|
1350
|
+
}), ri = g.createLogger({
|
|
1351
1351
|
name: "dispenser-info-service",
|
|
1352
1352
|
group: "Services"
|
|
1353
|
-
}),
|
|
1353
|
+
}), oi = async () => (ri.debug("sending GET for dispenser-info"), await ti({})), Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1354
1354
|
__proto__: null,
|
|
1355
|
-
getDispenserInfos:
|
|
1355
|
+
getDispenserInfos: oi
|
|
1356
1356
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1357
|
-
var
|
|
1358
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1359
|
-
(
|
|
1360
|
-
return
|
|
1357
|
+
var ii = Object.getOwnPropertyDescriptor, si = (e, t, r, i) => {
|
|
1358
|
+
for (var o = i > 1 ? void 0 : i ? ii(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1359
|
+
(a = e[n]) && (o = a(o) || o);
|
|
1360
|
+
return o;
|
|
1361
1361
|
};
|
|
1362
1362
|
const Z = "enrollment-model";
|
|
1363
1363
|
let Ge = class {
|
|
1364
1364
|
constructor(e, t, r) {
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1365
|
+
s(this, "id");
|
|
1366
|
+
s(this, "logger");
|
|
1367
|
+
s(this, "enrolled");
|
|
1368
1368
|
this.id = e, this.logger = r.logger, this.enrolled = !1;
|
|
1369
1369
|
}
|
|
1370
1370
|
updateModel(e) {
|
|
@@ -1378,10 +1378,10 @@ let Ge = class {
|
|
|
1378
1378
|
this.logger.debug(`loading enrollment ${this.id}`);
|
|
1379
1379
|
}
|
|
1380
1380
|
};
|
|
1381
|
-
Ge =
|
|
1381
|
+
Ge = si([
|
|
1382
1382
|
l(Z)
|
|
1383
1383
|
], Ge);
|
|
1384
|
-
const
|
|
1384
|
+
const ai = {
|
|
1385
1385
|
registration: {
|
|
1386
1386
|
[Z]: {
|
|
1387
1387
|
class: Ge,
|
|
@@ -1389,20 +1389,20 @@ const ci = {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
},
|
|
1391
1391
|
type: Z,
|
|
1392
|
-
predicate:
|
|
1393
|
-
factory:
|
|
1394
|
-
}, { URL:
|
|
1395
|
-
basePath: `${
|
|
1396
|
-
}),
|
|
1392
|
+
predicate: u(Z),
|
|
1393
|
+
factory: c.Singleton.create(Z)
|
|
1394
|
+
}, { URL: ni } = h("ENROLLMENT_SERVICE"), { getAll: li } = f.build({
|
|
1395
|
+
basePath: `${ni}/api/enrollment`
|
|
1396
|
+
}), ci = g.createLogger({
|
|
1397
1397
|
name: "enrollment-service",
|
|
1398
1398
|
group: "Services"
|
|
1399
|
-
}),
|
|
1399
|
+
}), ui = async () => (ci.debug("sending GET for enrollment"), await li({})), Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1400
1400
|
__proto__: null,
|
|
1401
|
-
getEnrollments:
|
|
1402
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1401
|
+
getEnrollments: ui
|
|
1402
|
+
}, Symbol.toStringTag, { value: "Module" })), ks = (e) => e.toLowerCase().includes("micros"), Rs = (e) => !e.toLowerCase().includes("micros"), Is = (e) => (t) => {
|
|
1403
1403
|
const r = e == null ? void 0 : e.getHoldersByGroup(t);
|
|
1404
1404
|
return r ? r.map((i) => ({ id: i.id, name: i.ingredientName, path: i.path })) : null;
|
|
1405
|
-
},
|
|
1405
|
+
}, Fs = ["water", "carb", "ns", "nss"], ue = "dashboardKeyFactory", Be = [];
|
|
1406
1406
|
Yr(ue, {
|
|
1407
1407
|
register: (e, t) => {
|
|
1408
1408
|
Be.includes(t) || Be.push(t);
|
|
@@ -1416,38 +1416,38 @@ Yr(ue, {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
});
|
|
1419
|
-
const
|
|
1420
|
-
|
|
1419
|
+
const di = (e) => {
|
|
1420
|
+
Ie[ue].register(
|
|
1421
1421
|
ue,
|
|
1422
1422
|
e
|
|
1423
1423
|
);
|
|
1424
|
-
},
|
|
1424
|
+
}, pi = (e) => Ie[ue].execute(
|
|
1425
1425
|
ue,
|
|
1426
1426
|
e
|
|
1427
1427
|
);
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
const Qe = 3600, sr = 60,
|
|
1428
|
+
Ie.registerDashboardKeyFactory = di;
|
|
1429
|
+
Ie.executeDashboardKeyFactory = pi;
|
|
1430
|
+
const Qe = 3600, sr = 60, xs = (e) => {
|
|
1431
1431
|
const t = Math.floor(e / Qe), r = Math.floor(e % Qe / sr);
|
|
1432
1432
|
return { hours: t, minutes: r };
|
|
1433
|
-
},
|
|
1434
|
-
const r = (/* @__PURE__ */ new Date()).valueOf() - e.valueOf(), i = Math.floor(r / (1e3 * 60)), o = Math.floor(i / 60), n = Math.floor(o / 24),
|
|
1433
|
+
}, As = (e, t) => e * Qe + t * sr, gi = (e) => {
|
|
1434
|
+
const r = (/* @__PURE__ */ new Date()).valueOf() - e.valueOf(), i = Math.floor(r / (1e3 * 60)), o = Math.floor(i / 60), n = Math.floor(o / 24), a = i % 60, O = o % 24;
|
|
1435
1435
|
let D = "";
|
|
1436
|
-
return n > 0 && (D += `${n} day${n > 1 ? "s" : ""} `), O > 0 && (D += `${O} hour${O > 1 ? "s" : ""} `), (
|
|
1436
|
+
return n > 0 && (D += `${n} day${n > 1 ? "s" : ""} `), O > 0 && (D += `${O} hour${O > 1 ? "s" : ""} `), (a > 0 || n === 0 && O === 0) && (D += `${a} minute${a > 1 ? "s" : ""} `), D;
|
|
1437
1437
|
};
|
|
1438
|
-
var
|
|
1439
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1440
|
-
(
|
|
1441
|
-
return i && o &&
|
|
1438
|
+
var hi = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, Ve = (e, t, r, i) => {
|
|
1439
|
+
for (var o = i > 1 ? void 0 : i ? fi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1440
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1441
|
+
return i && o && hi(t, r, o), o;
|
|
1442
1442
|
};
|
|
1443
1443
|
const ee = "ingredient-summary-model";
|
|
1444
1444
|
let x = class {
|
|
1445
1445
|
constructor(e, t, r) {
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1446
|
+
s(this, "id");
|
|
1447
|
+
s(this, "assemblyModel");
|
|
1448
|
+
s(this, "dashboardOperationModel");
|
|
1449
|
+
s(this, "appModel");
|
|
1450
|
+
s(this, "logger");
|
|
1451
1451
|
this.id = e, this.logger = r.logger, this.dashboardOperationModel = nt.factory({});
|
|
1452
1452
|
}
|
|
1453
1453
|
get highPriorityHolders() {
|
|
@@ -1488,7 +1488,7 @@ Ve([
|
|
|
1488
1488
|
x = Ve([
|
|
1489
1489
|
l(ee)
|
|
1490
1490
|
], x);
|
|
1491
|
-
const
|
|
1491
|
+
const mi = {
|
|
1492
1492
|
registration: {
|
|
1493
1493
|
[ee]: {
|
|
1494
1494
|
class: x,
|
|
@@ -1496,22 +1496,22 @@ const vi = {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
},
|
|
1498
1498
|
type: ee,
|
|
1499
|
-
predicate:
|
|
1500
|
-
factory:
|
|
1499
|
+
predicate: u(ee),
|
|
1500
|
+
factory: c.Factory.create(
|
|
1501
1501
|
ee
|
|
1502
1502
|
)
|
|
1503
1503
|
};
|
|
1504
|
-
var
|
|
1505
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1506
|
-
(
|
|
1507
|
-
return
|
|
1504
|
+
var yi = Object.getOwnPropertyDescriptor, bi = (e, t, r, i) => {
|
|
1505
|
+
for (var o = i > 1 ? void 0 : i ? yi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1506
|
+
(a = e[n]) && (o = a(o) || o);
|
|
1507
|
+
return o;
|
|
1508
1508
|
};
|
|
1509
1509
|
const ar = "lfcv-pump-model";
|
|
1510
1510
|
let Xe = class {
|
|
1511
1511
|
constructor(e, t, r) {
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1512
|
+
s(this, "id");
|
|
1513
|
+
s(this, "logger");
|
|
1514
|
+
s(this, "pumpModel");
|
|
1515
1515
|
this.id = e, this.logger = r.logger, this.pumpModel = t.companionParent;
|
|
1516
1516
|
}
|
|
1517
1517
|
get name() {
|
|
@@ -1537,23 +1537,23 @@ let Xe = class {
|
|
|
1537
1537
|
this.logger.debug(`loading lfcv-pump ${this.id}`);
|
|
1538
1538
|
}
|
|
1539
1539
|
};
|
|
1540
|
-
Xe =
|
|
1540
|
+
Xe = bi([
|
|
1541
1541
|
l(ar)
|
|
1542
1542
|
], Xe);
|
|
1543
|
-
const
|
|
1543
|
+
const js = new Le({
|
|
1544
1544
|
class: Xe,
|
|
1545
1545
|
type: ar
|
|
1546
|
-
}), { URL:
|
|
1547
|
-
basePath: `${
|
|
1548
|
-
}),
|
|
1546
|
+
}), { URL: vi } = h("LFCV-PUMP_SERVICE"), { getAll: _i } = f.build({
|
|
1547
|
+
basePath: `${vi}/api/lfcv-pump`
|
|
1548
|
+
}), $i = g.createLogger({
|
|
1549
1549
|
name: "lfcv-pump-service",
|
|
1550
1550
|
group: "Services"
|
|
1551
|
-
}),
|
|
1551
|
+
}), Ti = async () => ($i.debug("sending GET for lfcv-pump"), await _i({})), Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1552
1552
|
__proto__: null,
|
|
1553
|
-
getLfcvPumps:
|
|
1553
|
+
getLfcvPumps: Ti
|
|
1554
1554
|
}, Symbol.toStringTag, { value: "Module" })), { URL: lt } = h("LOCKOUT_SERVICE"), { postModel: nr } = f.build({
|
|
1555
1555
|
basePath: `${lt}/api/app/kosdev.ddk/lockout`
|
|
1556
|
-
}), lr = g.createLogger({ name: "lockout-service", group: "Services" }),
|
|
1556
|
+
}), lr = g.createLogger({ name: "lockout-service", group: "Services" }), Pi = async () => (lr.info("lock"), await nr({
|
|
1557
1557
|
model: {},
|
|
1558
1558
|
urlOverride: `${lt}/api/app/kosdev.ddk/lockout/lockNow`
|
|
1559
1559
|
})), cr = async (e) => {
|
|
@@ -1563,17 +1563,17 @@ const Bs = new Le({
|
|
|
1563
1563
|
urlOverride: `${lt}/api/app/kosdev.ddk/lockout/unlock/${e}`
|
|
1564
1564
|
});
|
|
1565
1565
|
return t == null ? void 0 : t.data;
|
|
1566
|
-
},
|
|
1566
|
+
}, Vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1567
1567
|
__proto__: null,
|
|
1568
|
-
lock:
|
|
1568
|
+
lock: Pi,
|
|
1569
1569
|
unlock: cr
|
|
1570
1570
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1571
|
-
var
|
|
1572
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1573
|
-
(
|
|
1574
|
-
return i && o &&
|
|
1571
|
+
var Oi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, z = (e, t, r, i) => {
|
|
1572
|
+
for (var o = i > 1 ? void 0 : i ? Mi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1573
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1574
|
+
return i && o && Oi(t, r, o), o;
|
|
1575
1575
|
};
|
|
1576
|
-
const ur = "lockout-model",
|
|
1576
|
+
const ur = "lockout-model", Si = [
|
|
1577
1577
|
{ day: "monday", lock: "dayWiseLockConfigMap.Mon.enabled", open: "dayWiseLockConfigMap.Mon.unlockTime", close: "dayWiseLockConfigMap.Mon.lockTime" },
|
|
1578
1578
|
{ day: "tuesday", lock: "dayWiseLockConfigMap.Tue.enabled", open: "dayWiseLockConfigMap.Tue.unlockTime", close: "dayWiseLockConfigMap.Tue.lockTime" },
|
|
1579
1579
|
{ day: "wednesday", lock: "dayWiseLockConfigMap.Wed.enabled", open: "dayWiseLockConfigMap.Wed.unlockTime", close: "dayWiseLockConfigMap.Wed.lockTime" },
|
|
@@ -1584,9 +1584,9 @@ const ur = "lockout-model", Li = [
|
|
|
1584
1584
|
];
|
|
1585
1585
|
let E = class {
|
|
1586
1586
|
constructor(e, t, r) {
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1587
|
+
s(this, "id");
|
|
1588
|
+
s(this, "logger");
|
|
1589
|
+
s(this, "dayEnabledList", [
|
|
1590
1590
|
"dayWiseLockConfigMap.Sun.enabled",
|
|
1591
1591
|
"dayWiseLockConfigMap.Mon.enabled",
|
|
1592
1592
|
"dayWiseLockConfigMap.Tue.enabled",
|
|
@@ -1595,7 +1595,7 @@ let E = class {
|
|
|
1595
1595
|
"dayWiseLockConfigMap.Fri.enabled",
|
|
1596
1596
|
"dayWiseLockConfigMap.Sat.enabled"
|
|
1597
1597
|
]);
|
|
1598
|
-
|
|
1598
|
+
s(this, "dayOpenAtList", [
|
|
1599
1599
|
"dayWiseLockConfigMap.Sun.unlockTime",
|
|
1600
1600
|
"dayWiseLockConfigMap.Mon.unlockTime",
|
|
1601
1601
|
"dayWiseLockConfigMap.Tue.unlockTime",
|
|
@@ -1604,7 +1604,7 @@ let E = class {
|
|
|
1604
1604
|
"dayWiseLockConfigMap.Fri.unlockTime",
|
|
1605
1605
|
"dayWiseLockConfigMap.Sat.unlockTime"
|
|
1606
1606
|
]);
|
|
1607
|
-
|
|
1607
|
+
s(this, "dayCloseAtList", [
|
|
1608
1608
|
"dayWiseLockConfigMap.Sun.lockTime",
|
|
1609
1609
|
"dayWiseLockConfigMap.Mon.lockTime",
|
|
1610
1610
|
"dayWiseLockConfigMap.Tue.lockTime",
|
|
@@ -1613,12 +1613,12 @@ let E = class {
|
|
|
1613
1613
|
"dayWiseLockConfigMap.Fri.lockTime",
|
|
1614
1614
|
"dayWiseLockConfigMap.Sat.lockTime"
|
|
1615
1615
|
]);
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1616
|
+
s(this, "saveMap");
|
|
1617
|
+
s(this, "pin");
|
|
1618
|
+
s(this, "nextLockSkipped");
|
|
1619
|
+
s(this, "nextLockTime");
|
|
1620
|
+
s(this, "nextUnLockTime");
|
|
1621
|
+
s(this, "cuiLockout");
|
|
1622
1622
|
this.id = e, this.logger = r.logger, this.saveMap = /* @__PURE__ */ new Map();
|
|
1623
1623
|
}
|
|
1624
1624
|
get enabled() {
|
|
@@ -1628,7 +1628,7 @@ let E = class {
|
|
|
1628
1628
|
return t || r;
|
|
1629
1629
|
}
|
|
1630
1630
|
get schedule() {
|
|
1631
|
-
return
|
|
1631
|
+
return Si;
|
|
1632
1632
|
}
|
|
1633
1633
|
getProp(e) {
|
|
1634
1634
|
return this.saveMap.get(e);
|
|
@@ -1697,29 +1697,29 @@ z([
|
|
|
1697
1697
|
E = z([
|
|
1698
1698
|
l(ur)
|
|
1699
1699
|
], E);
|
|
1700
|
-
const
|
|
1700
|
+
const Hs = new pe({
|
|
1701
1701
|
class: E,
|
|
1702
1702
|
type: ur
|
|
1703
|
-
}),
|
|
1703
|
+
}), Ci = async (e, t) => await ke.bulkResolveTroubles(
|
|
1704
1704
|
e,
|
|
1705
1705
|
t
|
|
1706
1706
|
);
|
|
1707
|
-
var
|
|
1708
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1709
|
-
(
|
|
1710
|
-
return i && o &&
|
|
1707
|
+
var wi = Object.defineProperty, Ei = Object.getOwnPropertyDescriptor, He = (e, t, r, i) => {
|
|
1708
|
+
for (var o = i > 1 ? void 0 : i ? Ei(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1709
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1710
|
+
return i && o && wi(t, r, o), o;
|
|
1711
1711
|
};
|
|
1712
|
-
const te = "macro-assignment-model", vt = "PurgeTrouble",
|
|
1712
|
+
const te = "macro-assignment-model", vt = "PurgeTrouble", Li = "PrimeTrouble";
|
|
1713
1713
|
let A = class {
|
|
1714
1714
|
constructor(e, t, r) {
|
|
1715
|
-
|
|
1716
|
-
|
|
1715
|
+
s(this, "id");
|
|
1716
|
+
s(this, "logger");
|
|
1717
1717
|
/**
|
|
1718
1718
|
* futureHandler is used to handle async operations
|
|
1719
1719
|
*/
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1720
|
+
s(this, "futureHandler");
|
|
1721
|
+
s(this, "holders");
|
|
1722
|
+
s(this, "ingredients");
|
|
1723
1723
|
this.id = e, this.futureHandler = new ge(), this.logger = r.logger;
|
|
1724
1724
|
}
|
|
1725
1725
|
/**
|
|
@@ -1756,7 +1756,7 @@ let A = class {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
get holderPrimeTroubles() {
|
|
1758
1758
|
return this.macroHolders.reduce((t, r) => {
|
|
1759
|
-
const i = r.troublesByType[
|
|
1759
|
+
const i = r.troublesByType[Li] || [];
|
|
1760
1760
|
return t = [...t, ...i], t;
|
|
1761
1761
|
}, []);
|
|
1762
1762
|
}
|
|
@@ -1793,7 +1793,7 @@ let A = class {
|
|
|
1793
1793
|
if (!t)
|
|
1794
1794
|
throw new Error("No tracker provided");
|
|
1795
1795
|
const i = (e === vt ? this.holderPurgeTroubles : this.holderPrimeTroubles).map((n) => n.rawId);
|
|
1796
|
-
return await
|
|
1796
|
+
return await Ci(i, t);
|
|
1797
1797
|
}
|
|
1798
1798
|
};
|
|
1799
1799
|
He([
|
|
@@ -1808,7 +1808,7 @@ He([
|
|
|
1808
1808
|
A = He([
|
|
1809
1809
|
l(te)
|
|
1810
1810
|
], A);
|
|
1811
|
-
const
|
|
1811
|
+
const Di = {
|
|
1812
1812
|
registration: {
|
|
1813
1813
|
[te]: {
|
|
1814
1814
|
class: A,
|
|
@@ -1816,28 +1816,28 @@ const Fi = {
|
|
|
1816
1816
|
}
|
|
1817
1817
|
},
|
|
1818
1818
|
type: te,
|
|
1819
|
-
predicate:
|
|
1820
|
-
factory:
|
|
1819
|
+
predicate: u(te),
|
|
1820
|
+
factory: c.Singleton.create(
|
|
1821
1821
|
te
|
|
1822
1822
|
)
|
|
1823
1823
|
};
|
|
1824
|
-
var
|
|
1825
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1826
|
-
(
|
|
1827
|
-
return
|
|
1824
|
+
var ki = Object.getOwnPropertyDescriptor, Ri = (e, t, r, i) => {
|
|
1825
|
+
for (var o = i > 1 ? void 0 : i ? ki(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1826
|
+
(a = e[n]) && (o = a(o) || o);
|
|
1827
|
+
return o;
|
|
1828
1828
|
};
|
|
1829
1829
|
const re = "network-test-model";
|
|
1830
1830
|
let Je = class {
|
|
1831
1831
|
constructor(e, t, r) {
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1832
|
+
s(this, "id");
|
|
1833
|
+
s(this, "group");
|
|
1834
|
+
s(this, "passed");
|
|
1835
|
+
s(this, "inProgress");
|
|
1836
|
+
s(this, "failureTime");
|
|
1837
|
+
s(this, "timestamp");
|
|
1838
|
+
s(this, "name");
|
|
1839
|
+
s(this, "results");
|
|
1840
|
+
s(this, "logger");
|
|
1841
1841
|
this.id = e, this.logger = r.logger, this.group = t.group, this.passed = !1, this.inProgress = !1, this.name = t.name, this.results = [];
|
|
1842
1842
|
}
|
|
1843
1843
|
updateModel(e) {
|
|
@@ -1851,7 +1851,7 @@ let Je = class {
|
|
|
1851
1851
|
this.logger.debug(`loading network-test ${this.id}`);
|
|
1852
1852
|
}
|
|
1853
1853
|
};
|
|
1854
|
-
Je =
|
|
1854
|
+
Je = Ri([
|
|
1855
1855
|
l(re)
|
|
1856
1856
|
], Je);
|
|
1857
1857
|
const dr = {
|
|
@@ -1862,16 +1862,16 @@ const dr = {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
},
|
|
1864
1864
|
type: re,
|
|
1865
|
-
predicate:
|
|
1866
|
-
factory:
|
|
1867
|
-
}, { URL: We } = h("NETWORK-TEST_SERVICE"), { getAll:
|
|
1865
|
+
predicate: u(re),
|
|
1866
|
+
factory: c.Factory.create(re)
|
|
1867
|
+
}, { URL: We } = h("NETWORK-TEST_SERVICE"), { getAll: Ii, getOne: pr } = f.build({
|
|
1868
1868
|
basePath: `${We}/api/app/ncui/network/tests`
|
|
1869
|
-
}),
|
|
1869
|
+
}), Fi = g.createLogger({
|
|
1870
1870
|
name: "network-test-service",
|
|
1871
1871
|
group: "Services"
|
|
1872
1872
|
}), gr = async () => {
|
|
1873
|
-
|
|
1874
|
-
const e = await
|
|
1873
|
+
Fi.debug("sending GET for network-test");
|
|
1874
|
+
const e = await Ii({
|
|
1875
1875
|
urlOverride: `${We}/api/app/kosdev.ddk/network/tests`
|
|
1876
1876
|
});
|
|
1877
1877
|
return e == null ? void 0 : e.data;
|
|
@@ -1883,25 +1883,25 @@ const dr = {
|
|
|
1883
1883
|
}, fr = async (e, t) => await pr({
|
|
1884
1884
|
urlOverride: `${We}/api/app/kosdev.ddk/network/tests/run/group/${e}`,
|
|
1885
1885
|
tracker: t
|
|
1886
|
-
}),
|
|
1886
|
+
}), Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1887
1887
|
__proto__: null,
|
|
1888
1888
|
getNetworkTests: gr,
|
|
1889
1889
|
getTestsReports: hr,
|
|
1890
1890
|
performGroupTest: fr
|
|
1891
1891
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1892
|
-
var
|
|
1893
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1894
|
-
(
|
|
1895
|
-
return i && o &&
|
|
1892
|
+
var xi = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, ct = (e, t, r, i) => {
|
|
1893
|
+
for (var o = i > 1 ? void 0 : i ? Ai(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1894
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1895
|
+
return i && o && xi(t, r, o), o;
|
|
1896
1896
|
};
|
|
1897
1897
|
const oe = "network-test-container-model";
|
|
1898
1898
|
let de = class {
|
|
1899
1899
|
constructor(e, t, r) {
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1900
|
+
s(this, "id");
|
|
1901
|
+
s(this, "logger");
|
|
1902
|
+
s(this, "lastTested");
|
|
1903
|
+
s(this, "futureHandler");
|
|
1904
|
+
s(this, "models");
|
|
1905
1905
|
this.id = e, this.logger = r.logger, this.futureHandler = new ge(this), this.models = new tt({
|
|
1906
1906
|
parentId: e,
|
|
1907
1907
|
indexMap: {
|
|
@@ -1931,7 +1931,7 @@ let de = class {
|
|
|
1931
1931
|
const t = this.models.getIndexByKey("group", e).map((i) => i.timestamp && new Date(i.timestamp)), r = Math.max(
|
|
1932
1932
|
...t.map((i) => i ? i.getTime() : 0)
|
|
1933
1933
|
);
|
|
1934
|
-
return r ?
|
|
1934
|
+
return r ? gi(new Date(r)) : "";
|
|
1935
1935
|
}
|
|
1936
1936
|
async load() {
|
|
1937
1937
|
this.logger.debug(`loading network-test-container container ${this.id}`);
|
|
@@ -1942,7 +1942,7 @@ let de = class {
|
|
|
1942
1942
|
}), e && t && e.forEach((r) => {
|
|
1943
1943
|
const i = t == null ? void 0 : t[r.group], o = i == null ? void 0 : i[r.id], n = this.getModel(r.id);
|
|
1944
1944
|
if (n && o) {
|
|
1945
|
-
const
|
|
1945
|
+
const a = {
|
|
1946
1946
|
group: o.group,
|
|
1947
1947
|
name: o.name,
|
|
1948
1948
|
passed: o.passed,
|
|
@@ -1951,7 +1951,7 @@ let de = class {
|
|
|
1951
1951
|
timestamp: new Date(o.timestamp),
|
|
1952
1952
|
results: o.results
|
|
1953
1953
|
};
|
|
1954
|
-
n.updateModel(
|
|
1954
|
+
n.updateModel(a);
|
|
1955
1955
|
}
|
|
1956
1956
|
});
|
|
1957
1957
|
}
|
|
@@ -1993,7 +1993,7 @@ ct([
|
|
|
1993
1993
|
de = ct([
|
|
1994
1994
|
l(oe)
|
|
1995
1995
|
], de);
|
|
1996
|
-
const
|
|
1996
|
+
const ji = {
|
|
1997
1997
|
registration: {
|
|
1998
1998
|
[oe]: {
|
|
1999
1999
|
class: de,
|
|
@@ -2002,20 +2002,20 @@ const zi = {
|
|
|
2002
2002
|
...dr.registration
|
|
2003
2003
|
},
|
|
2004
2004
|
type: oe,
|
|
2005
|
-
predicate:
|
|
2006
|
-
factory:
|
|
2005
|
+
predicate: u(oe),
|
|
2006
|
+
factory: c.Singleton.create(oe)
|
|
2007
2007
|
};
|
|
2008
|
-
var
|
|
2009
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2010
|
-
(
|
|
2011
|
-
return i && o &&
|
|
2008
|
+
var Ui = Object.defineProperty, Vi = Object.getOwnPropertyDescriptor, mr = (e, t, r, i) => {
|
|
2009
|
+
for (var o = i > 1 ? void 0 : i ? Vi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2010
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2011
|
+
return i && o && Ui(t, r, o), o;
|
|
2012
2012
|
};
|
|
2013
2013
|
const ie = "nutritive-sweetener-model";
|
|
2014
2014
|
let Oe = class {
|
|
2015
2015
|
constructor(e, t, r) {
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2016
|
+
s(this, "id");
|
|
2017
|
+
s(this, "assemblyModel");
|
|
2018
|
+
s(this, "logger");
|
|
2019
2019
|
this.id = e, this.logger = r.logger;
|
|
2020
2020
|
}
|
|
2021
2021
|
getHolder() {
|
|
@@ -2038,7 +2038,7 @@ mr([
|
|
|
2038
2038
|
Oe = mr([
|
|
2039
2039
|
l(ie)
|
|
2040
2040
|
], Oe);
|
|
2041
|
-
const
|
|
2041
|
+
const Hi = {
|
|
2042
2042
|
registration: {
|
|
2043
2043
|
[ie]: {
|
|
2044
2044
|
class: Oe,
|
|
@@ -2046,20 +2046,20 @@ const Ki = {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
},
|
|
2048
2048
|
type: ie,
|
|
2049
|
-
predicate:
|
|
2050
|
-
factory:
|
|
2049
|
+
predicate: u(ie),
|
|
2050
|
+
factory: c.Factory.create(ie)
|
|
2051
2051
|
};
|
|
2052
|
-
var
|
|
2053
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2054
|
-
(
|
|
2055
|
-
return i && o &&
|
|
2052
|
+
var Wi = Object.defineProperty, zi = Object.getOwnPropertyDescriptor, yr = (e, t, r, i) => {
|
|
2053
|
+
for (var o = i > 1 ? void 0 : i ? zi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2054
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2055
|
+
return i && o && Wi(t, r, o), o;
|
|
2056
2056
|
};
|
|
2057
2057
|
const se = "plain-water-model";
|
|
2058
2058
|
let Me = class {
|
|
2059
2059
|
constructor(e, t, r) {
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2060
|
+
s(this, "id");
|
|
2061
|
+
s(this, "assemblyModel");
|
|
2062
|
+
s(this, "logger");
|
|
2063
2063
|
this.id = e, this.logger = r.logger;
|
|
2064
2064
|
}
|
|
2065
2065
|
getHolder() {
|
|
@@ -2084,7 +2084,7 @@ yr([
|
|
|
2084
2084
|
Me = yr([
|
|
2085
2085
|
l(se)
|
|
2086
2086
|
], Me);
|
|
2087
|
-
const
|
|
2087
|
+
const Ni = {
|
|
2088
2088
|
registration: {
|
|
2089
2089
|
[se]: {
|
|
2090
2090
|
class: Me,
|
|
@@ -2092,27 +2092,27 @@ const Gi = {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
},
|
|
2094
2094
|
type: se,
|
|
2095
|
-
predicate:
|
|
2096
|
-
factory:
|
|
2097
|
-
}, { URL: br } = h("REBOOT_SERVICE"), { postModel:
|
|
2095
|
+
predicate: u(se),
|
|
2096
|
+
factory: c.Factory.create(se)
|
|
2097
|
+
}, { URL: br } = h("REBOOT_SERVICE"), { postModel: Bi } = f.build({
|
|
2098
2098
|
basePath: `${br}/api/reboot`
|
|
2099
|
-
}),
|
|
2099
|
+
}), Ki = g.createLogger({ name: "reboot-service", group: "Services" }), vr = async () => (Ki.debug("sending POST call for Reboot Dispenser"), await Bi({
|
|
2100
2100
|
urlOverride: `${br}/api/app/kosdev.ddk/ncui/reboot`,
|
|
2101
2101
|
model: {}
|
|
2102
|
-
})),
|
|
2102
|
+
})), zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2103
2103
|
__proto__: null,
|
|
2104
2104
|
rebootDispenser: vr
|
|
2105
2105
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2106
|
-
var
|
|
2107
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2108
|
-
(
|
|
2109
|
-
return
|
|
2106
|
+
var Yi = Object.getOwnPropertyDescriptor, qi = (e, t, r, i) => {
|
|
2107
|
+
for (var o = i > 1 ? void 0 : i ? Yi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2108
|
+
(a = e[n]) && (o = a(o) || o);
|
|
2109
|
+
return o;
|
|
2110
2110
|
};
|
|
2111
2111
|
const ae = "reboot-model";
|
|
2112
2112
|
let Ze = class {
|
|
2113
2113
|
constructor(e, t, r) {
|
|
2114
|
-
|
|
2115
|
-
|
|
2114
|
+
s(this, "id");
|
|
2115
|
+
s(this, "logger");
|
|
2116
2116
|
this.id = e, this.logger = r.logger;
|
|
2117
2117
|
}
|
|
2118
2118
|
async completeReboot() {
|
|
@@ -2128,10 +2128,10 @@ let Ze = class {
|
|
|
2128
2128
|
this.logger.debug(`loading reboot ${this.id}`);
|
|
2129
2129
|
}
|
|
2130
2130
|
};
|
|
2131
|
-
Ze =
|
|
2131
|
+
Ze = qi([
|
|
2132
2132
|
l(ae)
|
|
2133
2133
|
], Ze);
|
|
2134
|
-
const
|
|
2134
|
+
const Gi = {
|
|
2135
2135
|
registration: {
|
|
2136
2136
|
[ae]: {
|
|
2137
2137
|
class: Ze,
|
|
@@ -2139,28 +2139,28 @@ const ts = {
|
|
|
2139
2139
|
}
|
|
2140
2140
|
},
|
|
2141
2141
|
type: ae,
|
|
2142
|
-
predicate:
|
|
2143
|
-
factory:
|
|
2142
|
+
predicate: u(ae),
|
|
2143
|
+
factory: c.Factory.create(ae)
|
|
2144
2144
|
};
|
|
2145
|
-
var
|
|
2146
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2147
|
-
(
|
|
2148
|
-
return i && o &&
|
|
2145
|
+
var Qi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, S = (e, t, r, i) => {
|
|
2146
|
+
for (var o = i > 1 ? void 0 : i ? Xi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2147
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2148
|
+
return i && o && Qi(t, r, o), o;
|
|
2149
2149
|
};
|
|
2150
2150
|
const ne = "settings-model";
|
|
2151
|
-
let
|
|
2151
|
+
let P = class {
|
|
2152
2152
|
constructor(e, t, r) {
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2153
|
+
s(this, "id");
|
|
2154
|
+
s(this, "logger");
|
|
2155
|
+
s(this, "ncuiLanguageData");
|
|
2156
|
+
s(this, "resolveDelaysMs");
|
|
2157
|
+
s(this, "dateFormat");
|
|
2158
|
+
s(this, "timeFormat");
|
|
2159
|
+
s(this, "hidePlainWaterBev");
|
|
2160
|
+
s(this, "hideCarbWaterBev");
|
|
2161
|
+
s(this, "ncuiLanguage");
|
|
2162
|
+
s(this, "name");
|
|
2163
|
+
s(this, "activateAndRebootTime");
|
|
2164
2164
|
this.id = e, this.logger = r.logger;
|
|
2165
2165
|
}
|
|
2166
2166
|
updateModel(e) {
|
|
@@ -2202,90 +2202,90 @@ S([
|
|
|
2202
2202
|
attribute: "resolveDelaysMs"
|
|
2203
2203
|
// optionsExpander: () => [],
|
|
2204
2204
|
})
|
|
2205
|
-
],
|
|
2205
|
+
], P.prototype, "resolveDelaysMs", 2);
|
|
2206
2206
|
S([
|
|
2207
2207
|
d({
|
|
2208
2208
|
path: "system:app",
|
|
2209
2209
|
attribute: "dateFormat"
|
|
2210
2210
|
// optionsExpander: () => [],
|
|
2211
2211
|
})
|
|
2212
|
-
],
|
|
2212
|
+
], P.prototype, "dateFormat", 2);
|
|
2213
2213
|
S([
|
|
2214
2214
|
d({
|
|
2215
2215
|
path: "system:app",
|
|
2216
2216
|
attribute: "timeFormat"
|
|
2217
2217
|
// optionsExpander: () => [],
|
|
2218
2218
|
})
|
|
2219
|
-
],
|
|
2219
|
+
], P.prototype, "timeFormat", 2);
|
|
2220
2220
|
S([
|
|
2221
2221
|
d({
|
|
2222
2222
|
path: "app:kosdev.ddk:app",
|
|
2223
2223
|
attribute: "ncui.hidePlainWaterBev"
|
|
2224
2224
|
})
|
|
2225
|
-
],
|
|
2225
|
+
], P.prototype, "hidePlainWaterBev", 2);
|
|
2226
2226
|
S([
|
|
2227
2227
|
d({
|
|
2228
2228
|
path: "app:kosdev.ddk:app",
|
|
2229
2229
|
attribute: "ncui.hideCarbWaterBev"
|
|
2230
2230
|
})
|
|
2231
|
-
],
|
|
2231
|
+
], P.prototype, "hideCarbWaterBev", 2);
|
|
2232
2232
|
S([
|
|
2233
2233
|
d({
|
|
2234
2234
|
path: "app:kosdev.ddk:app",
|
|
2235
2235
|
attribute: "ncui.ncuiLanguage"
|
|
2236
2236
|
})
|
|
2237
|
-
],
|
|
2237
|
+
], P.prototype, "ncuiLanguage", 2);
|
|
2238
2238
|
S([
|
|
2239
2239
|
d({
|
|
2240
2240
|
path: "kos:device",
|
|
2241
2241
|
attribute: "name"
|
|
2242
2242
|
})
|
|
2243
|
-
],
|
|
2243
|
+
], P.prototype, "name", 2);
|
|
2244
2244
|
S([
|
|
2245
2245
|
d({
|
|
2246
2246
|
path: "kos:service:OTA",
|
|
2247
2247
|
attribute: "activateAndRebootTime"
|
|
2248
2248
|
})
|
|
2249
|
-
],
|
|
2250
|
-
|
|
2249
|
+
], P.prototype, "activateAndRebootTime", 2);
|
|
2250
|
+
P = S([
|
|
2251
2251
|
l(ne)
|
|
2252
|
-
],
|
|
2253
|
-
const
|
|
2252
|
+
], P);
|
|
2253
|
+
const Ji = {
|
|
2254
2254
|
registration: {
|
|
2255
2255
|
[ne]: {
|
|
2256
|
-
class:
|
|
2256
|
+
class: P,
|
|
2257
2257
|
singleton: !0
|
|
2258
2258
|
}
|
|
2259
2259
|
},
|
|
2260
2260
|
type: ne,
|
|
2261
|
-
predicate:
|
|
2262
|
-
factory:
|
|
2261
|
+
predicate: u(ne),
|
|
2262
|
+
factory: c.Singleton.create(ne)
|
|
2263
2263
|
}, { URL: _r } = h("SETTINGS_SERVICE"), { getAll: $r } = f.build({
|
|
2264
2264
|
basePath: `${_r}/api/settings`
|
|
2265
|
-
}),
|
|
2265
|
+
}), Zi = g.createLogger({
|
|
2266
2266
|
name: "settings-service",
|
|
2267
2267
|
group: "Services"
|
|
2268
|
-
}),
|
|
2268
|
+
}), es = async () => (Zi.debug("sending GET for settings"), await $r({})), ts = async () => await $r({
|
|
2269
2269
|
urlOverride: `${_r}api/app/kosdev.ddk/ncui/languages`
|
|
2270
|
-
}),
|
|
2270
|
+
}), Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2271
2271
|
__proto__: null,
|
|
2272
|
-
getNcuiLanguage:
|
|
2273
|
-
getSettings:
|
|
2272
|
+
getNcuiLanguage: ts,
|
|
2273
|
+
getSettings: es
|
|
2274
2274
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2275
|
-
var
|
|
2276
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2277
|
-
(
|
|
2278
|
-
return
|
|
2275
|
+
var rs = Object.getOwnPropertyDescriptor, os = (e, t, r, i) => {
|
|
2276
|
+
for (var o = i > 1 ? void 0 : i ? rs(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2277
|
+
(a = e[n]) && (o = a(o) || o);
|
|
2278
|
+
return o;
|
|
2279
2279
|
};
|
|
2280
2280
|
const le = "utilities-model";
|
|
2281
2281
|
let et = class {
|
|
2282
2282
|
constructor(e, t, r) {
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2283
|
+
s(this, "id");
|
|
2284
|
+
s(this, "name");
|
|
2285
|
+
s(this, "options");
|
|
2286
|
+
s(this, "roles");
|
|
2287
|
+
s(this, "columnId");
|
|
2288
|
+
s(this, "logger");
|
|
2289
2289
|
this.id = e, this.logger = r.logger, this.name = t.name, this.options = t.options, this.roles = t == null ? void 0 : t.roles, this.columnId = t.columnId;
|
|
2290
2290
|
}
|
|
2291
2291
|
updateModel(e) {
|
|
@@ -2305,10 +2305,10 @@ let et = class {
|
|
|
2305
2305
|
this.logger.debug(`loading utilities ${this.id}`);
|
|
2306
2306
|
}
|
|
2307
2307
|
};
|
|
2308
|
-
et =
|
|
2308
|
+
et = os([
|
|
2309
2309
|
l(le)
|
|
2310
2310
|
], et);
|
|
2311
|
-
const
|
|
2311
|
+
const Tr = {
|
|
2312
2312
|
registration: {
|
|
2313
2313
|
[le]: {
|
|
2314
2314
|
class: et,
|
|
@@ -2316,34 +2316,34 @@ const Pr = {
|
|
|
2316
2316
|
}
|
|
2317
2317
|
},
|
|
2318
2318
|
type: le,
|
|
2319
|
-
predicate:
|
|
2320
|
-
factory:
|
|
2321
|
-
}, { URL:
|
|
2322
|
-
basePath: `${
|
|
2323
|
-
}),
|
|
2319
|
+
predicate: u(le),
|
|
2320
|
+
factory: c.Factory.create(le)
|
|
2321
|
+
}, { URL: Pr } = h("UTILITIES_SERVICE"), { getAll: is } = f.build({
|
|
2322
|
+
basePath: `${Pr}/api/utilities`
|
|
2323
|
+
}), ss = g.createLogger({
|
|
2324
2324
|
name: "utilities-service",
|
|
2325
2325
|
group: "Services"
|
|
2326
2326
|
}), Or = async () => {
|
|
2327
|
-
|
|
2328
|
-
const e = await
|
|
2329
|
-
urlOverride: `${
|
|
2327
|
+
ss.debug("sending GET for utilities");
|
|
2328
|
+
const e = await is({
|
|
2329
|
+
urlOverride: `${Pr}/api/kos/descriptor/system:app/kondra.ncui.utilities`
|
|
2330
2330
|
});
|
|
2331
2331
|
return e == null ? void 0 : e.data;
|
|
2332
|
-
},
|
|
2332
|
+
}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2333
2333
|
__proto__: null,
|
|
2334
2334
|
getUtilities: Or
|
|
2335
2335
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2336
|
-
var
|
|
2337
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2338
|
-
(
|
|
2339
|
-
return i && o &&
|
|
2336
|
+
var as = Object.defineProperty, ns = Object.getOwnPropertyDescriptor, Mr = (e, t, r, i) => {
|
|
2337
|
+
for (var o = i > 1 ? void 0 : i ? ns(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2338
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2339
|
+
return i && o && as(t, r, o), o;
|
|
2340
2340
|
};
|
|
2341
2341
|
const ce = "utilities-container-model";
|
|
2342
2342
|
let Se = class {
|
|
2343
2343
|
constructor(e, t, r) {
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2344
|
+
s(this, "id");
|
|
2345
|
+
s(this, "logger");
|
|
2346
|
+
s(this, "_models");
|
|
2347
2347
|
this.id = e, this.logger = r.logger, this._models = new tt({
|
|
2348
2348
|
parentId: e,
|
|
2349
2349
|
sortKey: "id",
|
|
@@ -2382,7 +2382,7 @@ let Se = class {
|
|
|
2382
2382
|
const o = {
|
|
2383
2383
|
...i,
|
|
2384
2384
|
columnId: String(r)
|
|
2385
|
-
}, n =
|
|
2385
|
+
}, n = Tr.factory(i.name)(
|
|
2386
2386
|
o
|
|
2387
2387
|
);
|
|
2388
2388
|
this.addModel(n);
|
|
@@ -2396,50 +2396,50 @@ Mr([
|
|
|
2396
2396
|
Se = Mr([
|
|
2397
2397
|
l(ce)
|
|
2398
2398
|
], Se);
|
|
2399
|
-
const
|
|
2399
|
+
const ls = {
|
|
2400
2400
|
registration: {
|
|
2401
2401
|
[ce]: {
|
|
2402
2402
|
class: Se,
|
|
2403
2403
|
singleton: !0
|
|
2404
2404
|
},
|
|
2405
|
-
...
|
|
2405
|
+
...Tr.registration
|
|
2406
2406
|
},
|
|
2407
2407
|
type: ce,
|
|
2408
|
-
predicate:
|
|
2409
|
-
factory:
|
|
2410
|
-
},
|
|
2411
|
-
...
|
|
2408
|
+
predicate: u(ce),
|
|
2409
|
+
factory: c.Singleton.create(ce)
|
|
2410
|
+
}, Ks = {
|
|
2411
|
+
...So.registration,
|
|
2412
2412
|
...at.registration,
|
|
2413
2413
|
...it.registration,
|
|
2414
|
-
...
|
|
2414
|
+
...xo.registration,
|
|
2415
2415
|
...nt.registration,
|
|
2416
|
-
...
|
|
2417
|
-
...
|
|
2418
|
-
...
|
|
2419
|
-
...
|
|
2420
|
-
...
|
|
2421
|
-
...
|
|
2422
|
-
...
|
|
2416
|
+
...Ko.registration,
|
|
2417
|
+
...Zo.registration,
|
|
2418
|
+
...ai.registration,
|
|
2419
|
+
...mi.registration,
|
|
2420
|
+
...Di.registration,
|
|
2421
|
+
...ji.registration,
|
|
2422
|
+
...Hi.registration,
|
|
2423
|
+
...Ni.registration,
|
|
2423
2424
|
...Gi.registration,
|
|
2424
|
-
...
|
|
2425
|
-
...
|
|
2426
|
-
...
|
|
2427
|
-
...fs.registration
|
|
2425
|
+
...Ji.registration,
|
|
2426
|
+
...It.registration,
|
|
2427
|
+
...ls.registration
|
|
2428
2428
|
};
|
|
2429
|
-
var
|
|
2430
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2431
|
-
(
|
|
2432
|
-
return i && o &&
|
|
2429
|
+
var cs = Object.defineProperty, us = Object.getOwnPropertyDescriptor, Sr = (e, t, r, i) => {
|
|
2430
|
+
for (var o = i > 1 ? void 0 : i ? us(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2431
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2432
|
+
return i && o && cs(t, r, o), o;
|
|
2433
2433
|
};
|
|
2434
2434
|
const Cr = "trouble-action-model";
|
|
2435
2435
|
let Ce = class {
|
|
2436
2436
|
constructor(e, t, r) {
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2437
|
+
s(this, "id");
|
|
2438
|
+
s(this, "logger");
|
|
2439
|
+
s(this, "troubleContainer");
|
|
2440
|
+
s(this, "disposer");
|
|
2441
|
+
s(this, "state");
|
|
2442
|
+
s(this, "troubleActionData");
|
|
2443
2443
|
this.id = e, this.logger = r.logger, this.state = Gr(), this.troubleActionData = t.definitions.reduce((i, o) => (i[o.troubleType] = o, i), {});
|
|
2444
2444
|
}
|
|
2445
2445
|
// -------------------LIFECYCLE----------------------------
|
|
@@ -2489,28 +2489,28 @@ Sr([
|
|
|
2489
2489
|
Ce = Sr([
|
|
2490
2490
|
l(Cr)
|
|
2491
2491
|
], Ce);
|
|
2492
|
-
const
|
|
2492
|
+
const Ys = new pe({
|
|
2493
2493
|
class: Ce,
|
|
2494
2494
|
type: Cr
|
|
2495
|
-
}), { URL: wr } = h("START_SERVICE"), { getOne:
|
|
2495
|
+
}), { URL: wr } = h("START_SERVICE"), { getOne: ds } = f.build({
|
|
2496
2496
|
basePath: `${wr}/api/start`
|
|
2497
|
-
}),
|
|
2497
|
+
}), ps = g.createLogger({ name: "start-service", group: "Services" }), Er = async () => (ps.debug("navigating to NCUI"), await ds({
|
|
2498
2498
|
urlOverride: `${wr}/api/app/kosdev.ddk/ncui/open`
|
|
2499
|
-
})),
|
|
2499
|
+
})), qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2500
2500
|
__proto__: null,
|
|
2501
2501
|
navigateToNCui: Er
|
|
2502
2502
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2503
|
-
var
|
|
2504
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2505
|
-
(
|
|
2506
|
-
return i && o &&
|
|
2503
|
+
var gs = Object.defineProperty, hs = Object.getOwnPropertyDescriptor, Lr = (e, t, r, i) => {
|
|
2504
|
+
for (var o = i > 1 ? void 0 : i ? hs(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2505
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2506
|
+
return i && o && gs(t, r, o), o;
|
|
2507
2507
|
};
|
|
2508
2508
|
const Dr = "start-model";
|
|
2509
2509
|
let we = class {
|
|
2510
2510
|
constructor(e, t, r) {
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2511
|
+
s(this, "id");
|
|
2512
|
+
s(this, "logger");
|
|
2513
|
+
s(this, "troubles");
|
|
2514
2514
|
this.id = e, this.logger = r.logger;
|
|
2515
2515
|
}
|
|
2516
2516
|
get firmwareFailed() {
|
|
@@ -2542,7 +2542,7 @@ Lr([
|
|
|
2542
2542
|
we = Lr([
|
|
2543
2543
|
l(Dr)
|
|
2544
2544
|
], we);
|
|
2545
|
-
const
|
|
2545
|
+
const Gs = new pe({
|
|
2546
2546
|
class: we,
|
|
2547
2547
|
type: Dr
|
|
2548
2548
|
}), { URL: ye } = h("SPM-PUMP_SERVICE"), { postModel: ze } = f.build({
|
|
@@ -2550,7 +2550,7 @@ const ra = new pe({
|
|
|
2550
2550
|
}), $ = g.createLogger({
|
|
2551
2551
|
name: "spm-pump-service",
|
|
2552
2552
|
group: "Services"
|
|
2553
|
-
}),
|
|
2553
|
+
}), kr = async (e, t) => {
|
|
2554
2554
|
$.debug(
|
|
2555
2555
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/preCalibrate`
|
|
2556
2556
|
);
|
|
@@ -2560,7 +2560,7 @@ const ra = new pe({
|
|
|
2560
2560
|
urlOverride: `${ye}/api/ext/freestyle/microCalibration/pour/${e}/preCalibrate`,
|
|
2561
2561
|
tracker: t
|
|
2562
2562
|
});
|
|
2563
|
-
return $.debug("performPreCalibrate - response:", r), r != null && r.data &&
|
|
2563
|
+
return $.debug("performPreCalibrate - response:", r), r != null && r.data && T.initiateFuture(r.data), r == null ? void 0 : r.data;
|
|
2564
2564
|
} catch (r) {
|
|
2565
2565
|
$.error(
|
|
2566
2566
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/preCalibrate`,
|
|
@@ -2572,9 +2572,9 @@ const ra = new pe({
|
|
|
2572
2572
|
tracker: t,
|
|
2573
2573
|
reason: "Failed to resolve trouble"
|
|
2574
2574
|
};
|
|
2575
|
-
return
|
|
2575
|
+
return T.initiateFuture(i), i;
|
|
2576
2576
|
}
|
|
2577
|
-
},
|
|
2577
|
+
}, Rr = async (e, t) => {
|
|
2578
2578
|
$.debug(
|
|
2579
2579
|
`performCalibrate - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/calibrate`
|
|
2580
2580
|
);
|
|
@@ -2584,7 +2584,7 @@ const ra = new pe({
|
|
|
2584
2584
|
urlOverride: `${ye}/api/ext/freestyle/microCalibration/pour/${e}/calibrate`,
|
|
2585
2585
|
tracker: t
|
|
2586
2586
|
});
|
|
2587
|
-
return $.debug("performCalibrate - response:", r), r != null && r.data &&
|
|
2587
|
+
return $.debug("performCalibrate - response:", r), r != null && r.data && T.initiateFuture(r.data), r == null ? void 0 : r.data;
|
|
2588
2588
|
} catch (r) {
|
|
2589
2589
|
$.error(
|
|
2590
2590
|
`performCalibrate - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/calibrate`,
|
|
@@ -2596,9 +2596,9 @@ const ra = new pe({
|
|
|
2596
2596
|
tracker: t,
|
|
2597
2597
|
reason: "Failed to resolve trouble"
|
|
2598
2598
|
};
|
|
2599
|
-
return
|
|
2599
|
+
return T.initiateFuture(i), i;
|
|
2600
2600
|
}
|
|
2601
|
-
},
|
|
2601
|
+
}, Ir = async (e, t, r, i) => {
|
|
2602
2602
|
$.debug(
|
|
2603
2603
|
`performVerify - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/verify`
|
|
2604
2604
|
);
|
|
@@ -2615,7 +2615,7 @@ const ra = new pe({
|
|
|
2615
2615
|
urlOverride: `${ye}/api/ext/freestyle/microCalibration/pour/${e}/verify`,
|
|
2616
2616
|
tracker: i
|
|
2617
2617
|
});
|
|
2618
|
-
return $.debug("performVerify - response:", o), o != null && o.data &&
|
|
2618
|
+
return $.debug("performVerify - response:", o), o != null && o.data && T.initiateFuture(o.data), o == null ? void 0 : o.data;
|
|
2619
2619
|
} catch (o) {
|
|
2620
2620
|
$.error(
|
|
2621
2621
|
`performVerify - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/verify`,
|
|
@@ -2627,10 +2627,10 @@ const ra = new pe({
|
|
|
2627
2627
|
tracker: i,
|
|
2628
2628
|
reason: "Failed to resolve trouble"
|
|
2629
2629
|
};
|
|
2630
|
-
return
|
|
2630
|
+
return T.initiateFuture(n), n;
|
|
2631
2631
|
}
|
|
2632
2632
|
}, Fr = async (e, t, r, i) => {
|
|
2633
|
-
var o, n,
|
|
2633
|
+
var o, n, a, O, D;
|
|
2634
2634
|
$.debug(
|
|
2635
2635
|
`performComplete - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/complete`
|
|
2636
2636
|
);
|
|
@@ -2651,31 +2651,31 @@ const ra = new pe({
|
|
|
2651
2651
|
if ($.error(
|
|
2652
2652
|
`performComplete - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/complete`,
|
|
2653
2653
|
p
|
|
2654
|
-
), p instanceof
|
|
2655
|
-
const ut = ((
|
|
2654
|
+
), p instanceof Re) {
|
|
2655
|
+
const ut = ((a = (n = p.payload) == null ? void 0 : n.data) == null ? void 0 : a.error) || ((O = p.payload) == null ? void 0 : O.error) || "unknownError";
|
|
2656
2656
|
return [ut, ((D = p.payload) == null ? void 0 : D.data) || { error: ut }];
|
|
2657
2657
|
}
|
|
2658
2658
|
}
|
|
2659
2659
|
return ["unknownError", { error: "unknownError" }];
|
|
2660
|
-
},
|
|
2660
|
+
}, Qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2661
2661
|
__proto__: null,
|
|
2662
|
-
performCalibrate:
|
|
2662
|
+
performCalibrate: Rr,
|
|
2663
2663
|
performComplete: Fr,
|
|
2664
|
-
performPreCalibrate:
|
|
2665
|
-
performVerify:
|
|
2664
|
+
performPreCalibrate: kr,
|
|
2665
|
+
performVerify: Ir
|
|
2666
2666
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2667
|
-
var
|
|
2668
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2669
|
-
(
|
|
2670
|
-
return i && o &&
|
|
2667
|
+
var fs = Object.defineProperty, ms = Object.getOwnPropertyDescriptor, Ne = (e, t, r, i) => {
|
|
2668
|
+
for (var o = i > 1 ? void 0 : i ? ms(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2669
|
+
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2670
|
+
return i && o && fs(t, r, o), o;
|
|
2671
2671
|
};
|
|
2672
2672
|
const xr = "spm-pump-model";
|
|
2673
2673
|
let j = class {
|
|
2674
2674
|
constructor(e, t, r) {
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2675
|
+
s(this, "id");
|
|
2676
|
+
s(this, "logger");
|
|
2677
|
+
s(this, "pump");
|
|
2678
|
+
s(this, "futureHandler");
|
|
2679
2679
|
this.id = e, this.logger = r.logger, this.pump = t.companionParent, this.futureHandler = new ge(this);
|
|
2680
2680
|
}
|
|
2681
2681
|
get name() {
|
|
@@ -2697,13 +2697,13 @@ let j = class {
|
|
|
2697
2697
|
return this.futureHandler.future;
|
|
2698
2698
|
}
|
|
2699
2699
|
async performPreCalibrate(e) {
|
|
2700
|
-
return
|
|
2700
|
+
return kr(this.pump.path, e);
|
|
2701
2701
|
}
|
|
2702
2702
|
async performCalibrate(e) {
|
|
2703
|
-
return
|
|
2703
|
+
return Rr(this.pump.path, e);
|
|
2704
2704
|
}
|
|
2705
2705
|
async performVerify(e, t, r) {
|
|
2706
|
-
return
|
|
2706
|
+
return Ir(this.pump.path, e, t, r);
|
|
2707
2707
|
}
|
|
2708
2708
|
async performComplete(e, t, r) {
|
|
2709
2709
|
return Fr(this.pump.path, e, t, r);
|
|
@@ -2728,69 +2728,69 @@ Ne([
|
|
|
2728
2728
|
j = Ne([
|
|
2729
2729
|
l(xr)
|
|
2730
2730
|
], j);
|
|
2731
|
-
const
|
|
2731
|
+
const Xs = new Le({
|
|
2732
2732
|
class: j,
|
|
2733
2733
|
type: xr
|
|
2734
2734
|
});
|
|
2735
2735
|
export {
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2736
|
+
Ps as AgitationControl,
|
|
2737
|
+
So as Animation,
|
|
2738
|
+
Os as AnimationServices,
|
|
2739
2739
|
at as Application,
|
|
2740
2740
|
it as Auth,
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2741
|
+
$s as AuthServices,
|
|
2742
|
+
xo as CarbWater,
|
|
2743
|
+
Cs as CopyLogs,
|
|
2744
|
+
Ss as CopyLogsServices,
|
|
2745
|
+
Ks as DDKModels,
|
|
2746
2746
|
nt as DashboardOperations,
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2747
|
+
ws as DashboardOperationsServices,
|
|
2748
|
+
Ko as Dispenser,
|
|
2749
|
+
Zo as DispenserInfo,
|
|
2750
|
+
Ls as DispenserInfoServices,
|
|
2751
|
+
Es as DispenserServices,
|
|
2752
2752
|
no as Door,
|
|
2753
2753
|
ue as EXTENSION_POINT_DASHBOARD_KEY_FACTORY,
|
|
2754
|
-
|
|
2755
|
-
|
|
2754
|
+
ai as Enrollment,
|
|
2755
|
+
Ds as EnrollmentServices,
|
|
2756
2756
|
Kt as FcmPump,
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2757
|
+
Ms as FcmPumpServices,
|
|
2758
|
+
mi as IngredientSummary,
|
|
2759
|
+
js as LfcvPump,
|
|
2760
|
+
Us as LfcvPumpServices,
|
|
2761
|
+
Hs as Lockout,
|
|
2762
|
+
Vs as LockoutServices,
|
|
2763
|
+
Fs as MACRO_KEYS,
|
|
2764
|
+
Di as MacroAssignment,
|
|
2765
2765
|
dr as NetworkTest,
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2766
|
+
ji as NetworkTestContainer,
|
|
2767
|
+
Ws as NetworkTestServices,
|
|
2768
|
+
Hi as NutritiveSweetener,
|
|
2769
|
+
Ni as PlainWater,
|
|
2770
|
+
Gi as Reboot,
|
|
2771
|
+
zs as RebootServices,
|
|
2772
|
+
Ji as Settings,
|
|
2773
|
+
Ns as SettingsServices,
|
|
2774
|
+
Rt as SetupStep,
|
|
2775
|
+
It as SetupStepContainer,
|
|
2776
|
+
Ts as SetupStepServices,
|
|
2777
|
+
Xs as SpmPump,
|
|
2778
|
+
Qs as SpmPumpServices,
|
|
2779
|
+
Gs as Start,
|
|
2780
|
+
qs as StartServices,
|
|
2781
2781
|
Zr as TROUBLE_TYPE_PRIME,
|
|
2782
2782
|
gt as TROUBLE_TYPE_PURGE,
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2783
|
+
Ys as TroubleActionManager,
|
|
2784
|
+
Tr as Utilities,
|
|
2785
|
+
ls as UtilitiesContainer,
|
|
2786
|
+
Bs as UtilitiesServices,
|
|
2787
|
+
gi as calculateTimeDifference,
|
|
2788
|
+
pi as executeDashboardKeyFactory,
|
|
2789
|
+
Rs as isMacroGroup,
|
|
2790
|
+
ks as isMicroGroup,
|
|
2791
|
+
Is as macroHolderMap,
|
|
2792
|
+
di as registerDashboardKeyFactory,
|
|
2793
|
+
As as toSeconds,
|
|
2794
|
+
xs as toTimeComponents,
|
|
2795
2795
|
jt as troubleVisibilityFilter
|
|
2796
2796
|
};
|