@kosdev-code/kos-ddk-models 2.0.5 → 2.1.1
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 +503 -494
- package/lib/agitation-control/agitation-control-model.d.ts +2 -2
- package/lib/agitation-control/agitation-control-model.d.ts.map +1 -1
- package/lib/copy-logs/copy-logs-model.d.ts +5 -5
- package/lib/copy-logs/copy-logs-model.d.ts.map +1 -1
- package/lib/copy-logs/index.d.ts +1 -1
- package/lib/copy-logs/index.d.ts.map +1 -1
- package/lib/dashboard-operations/dashboard-operations-model.d.ts +8 -8
- package/lib/dashboard-operations/dashboard-operations-model.d.ts.map +1 -1
- package/lib/dashboard-operations/services/dashboard-operations-services.d.ts.map +1 -1
- package/lib/fcm-pump/fcm-pump-model.d.ts +1 -1
- package/lib/fcm-pump/services/fcm-pump-services.d.ts +1 -1
- package/lib/fcm-pump/services/fcm-pump-services.d.ts.map +1 -1
- package/lib/ingredient-summary/ingredient-summary-model.d.ts.map +1 -1
- package/lib/macro-assignment/services/macro-assignment-services.d.ts.map +1 -1
- package/lib/trouble-action/trouble-action-model.d.ts +2 -2
- package/lib/trouble-action/trouble-action-model.d.ts.map +1 -1
- package/package.json +5 -5
- package/lib/copy-logs/copy-logs-registration.d.ts +0 -91
- package/lib/copy-logs/copy-logs-registration.d.ts.map +0 -1
package/index.mjs
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
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
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
|
|
5
|
-
import { AGITATION_REQUIRED_TROUBLE as Tt, CartridgeAgitatorEvents as Pt } from "@kosdev-code/kos-freestyle-sdk";
|
|
6
|
-
import { Assembly as Fe, HolderContainer as
|
|
7
|
-
const
|
|
8
|
-
basePath: `${
|
|
9
|
-
}), Ot = g.createLogger({ name: "auth-service", group: "Services" }), Mt = async () => (Ot.debug("sending GET for auth"), await
|
|
10
|
-
urlOverride: `${
|
|
11
|
-
})), St = async (e) => (Ot.debug("sending POST for auth"), await
|
|
12
|
-
urlOverride: `${
|
|
4
|
+
import { resolveServiceUrl as h, ServiceFactory as f, KosLog as g, kosTopicHandler as we, kosModel as l, kosAction as _, Kos as c, isKosModel as u, createPropKey as Ur, kosStateProp as Vr, KosModelRegistrationFactory as Ee, kosDependency as m, KosModelContainer as tt, resolveContainerDeltas as pt, kosChild as Le, Device as Hr, kosConfigProperty as d, kosFuture as v, kosModelEffect as $t, MultipleFutureHandler as Wr, FutureEndState as b, TroubleServices as De, Troubles as gt, SingletonKosModelRegistrationFactory as ke, FetchError as Re, FutureManager as T, FutureHandler as pe, getKosCompanionModel as rt, StorageDeviceContainer as Nr, kosFutureAware as zr, kosLoggerAware as Br, KosDataContainer as Kr, TroubleContainer as ot, troubleByTypeReducer as Yr, registerExtensionPoint as qr, ExtensionManager as Ie, kosConfigBean as Gr, ObservableData as Qr, kosAutoEffect as Xr } from "@kosdev-code/kos-ui-sdk";
|
|
5
|
+
import { AGITATION_REQUIRED_TROUBLE as Tt, CartridgeAgitatorEvents as Pt, FreestyleHolder as Jr } from "@kosdev-code/kos-freestyle-sdk";
|
|
6
|
+
import { Assembly as Fe, HolderContainer as Zr, IngredientContainer as eo } from "@kosdev-code/kos-dispense-sdk";
|
|
7
|
+
const ht = "PurgeTrouble", to = "PrimeTrouble", { URL: it } = h("AUTH_SERVICE"), { getOne: ro, postModel: oo } = f.build({
|
|
8
|
+
basePath: `${it}/api/auth`
|
|
9
|
+
}), Ot = g.createLogger({ name: "auth-service", group: "Services" }), Mt = async () => (Ot.debug("sending GET for auth"), await ro({
|
|
10
|
+
urlOverride: `${it}/api/app/kosdev.ddk/auth/role`
|
|
11
|
+
})), St = async (e) => (Ot.debug("sending POST for auth"), await oo({
|
|
12
|
+
urlOverride: `${it}/api/app/kosdev.ddk/auth/pincode/${e}`,
|
|
13
13
|
model: {}
|
|
14
|
-
})),
|
|
14
|
+
})), Ss = /* @__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
|
-
var
|
|
20
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
19
|
+
var io = Object.defineProperty, so = Object.getOwnPropertyDescriptor, Ct = (e, t, r, i) => {
|
|
20
|
+
for (var o = i > 1 ? void 0 : i ? so(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
21
21
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
22
|
-
return i && o &&
|
|
22
|
+
return i && o && io(t, r, o), o;
|
|
23
23
|
};
|
|
24
|
-
const
|
|
25
|
-
let
|
|
24
|
+
const z = "auth-model", ft = (e) => e.toLowerCase();
|
|
25
|
+
let be = class {
|
|
26
26
|
constructor(e, t, r) {
|
|
27
27
|
s(this, "id");
|
|
28
28
|
s(this, "logger");
|
|
@@ -43,43 +43,43 @@ let ve = class {
|
|
|
43
43
|
this.logger.debug(`loading auth ${this.id}`);
|
|
44
44
|
const e = await Mt();
|
|
45
45
|
(e == null ? void 0 : e.status) === 200 && (this.logger.debug(`response ${e.data}`), _(() => {
|
|
46
|
-
this.currentRole =
|
|
46
|
+
this.currentRole = ft(e.data);
|
|
47
47
|
}));
|
|
48
48
|
}
|
|
49
49
|
handleRoleChange(e) {
|
|
50
|
-
this.currentRole =
|
|
50
|
+
this.currentRole = ft(e);
|
|
51
51
|
}
|
|
52
52
|
forceRole(e) {
|
|
53
53
|
this.currentRole = e;
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
Ct([
|
|
57
|
-
|
|
57
|
+
we({
|
|
58
58
|
topic: "/app/kosdev.ddk/auth/role",
|
|
59
59
|
websocket: !0
|
|
60
60
|
})
|
|
61
|
-
],
|
|
62
|
-
|
|
63
|
-
l(
|
|
64
|
-
],
|
|
65
|
-
const
|
|
61
|
+
], be.prototype, "handleRoleChange", 1);
|
|
62
|
+
be = Ct([
|
|
63
|
+
l(z)
|
|
64
|
+
], be);
|
|
65
|
+
const st = {
|
|
66
66
|
registration: {
|
|
67
|
-
[
|
|
68
|
-
class:
|
|
67
|
+
[z]: {
|
|
68
|
+
class: be,
|
|
69
69
|
singleton: !1
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
|
-
type:
|
|
73
|
-
predicate: u(
|
|
74
|
-
factory: c.Factory.create(
|
|
72
|
+
type: z,
|
|
73
|
+
predicate: u(z),
|
|
74
|
+
factory: c.Factory.create(z)
|
|
75
75
|
};
|
|
76
|
-
var
|
|
77
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
76
|
+
var ao = Object.defineProperty, no = Object.getOwnPropertyDescriptor, wt = (e, t, r, i) => {
|
|
77
|
+
for (var o = i > 1 ? void 0 : i ? no(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
78
78
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
79
|
-
return i && o &&
|
|
79
|
+
return i && o && ao(t, r, o), o;
|
|
80
80
|
};
|
|
81
|
-
const Et = "door-model",
|
|
82
|
-
let
|
|
81
|
+
const Et = "door-model", lo = Ur("doorPath");
|
|
82
|
+
let ve = class {
|
|
83
83
|
constructor(e, t, r) {
|
|
84
84
|
s(this, "id");
|
|
85
85
|
s(this, "logger");
|
|
@@ -95,31 +95,31 @@ let _e = class {
|
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
wt([
|
|
98
|
-
Vr({ path:
|
|
99
|
-
],
|
|
100
|
-
|
|
98
|
+
Vr({ path: lo, attribute: "state" })
|
|
99
|
+
], ve.prototype, "open", 2);
|
|
100
|
+
ve = wt([
|
|
101
101
|
l(Et)
|
|
102
|
-
],
|
|
103
|
-
const
|
|
104
|
-
class:
|
|
102
|
+
], ve);
|
|
103
|
+
const co = new Ee({
|
|
104
|
+
class: ve,
|
|
105
105
|
type: Et
|
|
106
|
-
}), { URL:
|
|
107
|
-
basePath: `${
|
|
106
|
+
}), { URL: at } = h("SETUP-STEP_SERVICE"), { getAll: uo, postModel: po } = f.build({
|
|
107
|
+
basePath: `${at}/api/setup-step`
|
|
108
108
|
}), Lt = g.createLogger({
|
|
109
109
|
name: "setup-step-service",
|
|
110
110
|
group: "Services"
|
|
111
|
-
}), Dt = async () => (Lt.debug("sending GET for setup-step"), await
|
|
112
|
-
urlOverride: `${
|
|
113
|
-
})), kt = async (e) => (Lt.debug("sending POST for setup-step"), await
|
|
114
|
-
urlOverride: `${
|
|
111
|
+
}), Dt = async () => (Lt.debug("sending GET for setup-step"), await uo({
|
|
112
|
+
urlOverride: `${at}/api/app/kosdev.ddk/setup/steps`
|
|
113
|
+
})), kt = async (e) => (Lt.debug("sending POST for setup-step"), await po({
|
|
114
|
+
urlOverride: `${at}/api/app/kosdev.ddk/setup/complete/${e}`,
|
|
115
115
|
model: {}
|
|
116
|
-
})),
|
|
116
|
+
})), Cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
117
117
|
__proto__: null,
|
|
118
118
|
getSetupSteps: Dt,
|
|
119
119
|
markStepComplete: kt
|
|
120
120
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
121
|
-
var
|
|
122
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
121
|
+
var go = Object.getOwnPropertyDescriptor, ho = (e, t, r, i) => {
|
|
122
|
+
for (var o = i > 1 ? void 0 : i ? go(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
123
123
|
(a = e[n]) && (o = a(o) || o);
|
|
124
124
|
return o;
|
|
125
125
|
};
|
|
@@ -158,7 +158,7 @@ let Ke = class {
|
|
|
158
158
|
this.logger.debug(`loading setup-step ${this.id}`);
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
|
-
Ke =
|
|
161
|
+
Ke = ho([
|
|
162
162
|
l(B)
|
|
163
163
|
], Ke);
|
|
164
164
|
const Rt = {
|
|
@@ -172,19 +172,19 @@ const Rt = {
|
|
|
172
172
|
predicate: u(B),
|
|
173
173
|
factory: c.Factory.create(B)
|
|
174
174
|
};
|
|
175
|
-
var
|
|
176
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
175
|
+
var fo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, xe = (e, t, r, i) => {
|
|
176
|
+
for (var o = i > 1 ? void 0 : i ? mo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
177
177
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
178
|
-
return i && o &&
|
|
178
|
+
return i && o && fo(t, r, o), o;
|
|
179
179
|
};
|
|
180
180
|
const K = "setup-step-container-model";
|
|
181
|
-
function
|
|
181
|
+
function mt(e) {
|
|
182
182
|
return (t) => {
|
|
183
183
|
const r = Rt.factory(t.id)(t);
|
|
184
184
|
r.updateModel(t), e.addModel(r);
|
|
185
185
|
};
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function yt(e) {
|
|
188
188
|
return (t) => {
|
|
189
189
|
e.removeModel(t);
|
|
190
190
|
};
|
|
@@ -256,10 +256,10 @@ let R = class {
|
|
|
256
256
|
id: `setup-${r.name}`
|
|
257
257
|
})
|
|
258
258
|
);
|
|
259
|
-
|
|
259
|
+
pt({
|
|
260
260
|
container: this.models,
|
|
261
|
-
onAddItem:
|
|
262
|
-
onRemoveItem:
|
|
261
|
+
onAddItem: mt(this),
|
|
262
|
+
onRemoveItem: yt(this)
|
|
263
263
|
})(t);
|
|
264
264
|
}
|
|
265
265
|
this.nextStep();
|
|
@@ -270,21 +270,21 @@ let R = class {
|
|
|
270
270
|
idx: i,
|
|
271
271
|
id: `setup-${r.name}`
|
|
272
272
|
}));
|
|
273
|
-
|
|
273
|
+
pt({
|
|
274
274
|
container: this.models,
|
|
275
|
-
onAddItem:
|
|
276
|
-
onRemoveItem:
|
|
275
|
+
onAddItem: mt(this),
|
|
276
|
+
onRemoveItem: yt(this)
|
|
277
277
|
})(t);
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
xe([
|
|
281
|
-
|
|
281
|
+
Le
|
|
282
282
|
], R.prototype, "models", 2);
|
|
283
283
|
xe([
|
|
284
|
-
m({ modelType:
|
|
284
|
+
m({ modelType: st.type })
|
|
285
285
|
], R.prototype, "authModel", 2);
|
|
286
286
|
xe([
|
|
287
|
-
|
|
287
|
+
we({
|
|
288
288
|
topic: "/app/kosdev.ddk/setup/steps",
|
|
289
289
|
websocket: !0
|
|
290
290
|
})
|
|
@@ -303,33 +303,33 @@ const It = {
|
|
|
303
303
|
type: K,
|
|
304
304
|
predicate: u(K),
|
|
305
305
|
factory: c.Singleton.create(K)
|
|
306
|
-
}, { URL:
|
|
307
|
-
basePath: `${
|
|
308
|
-
}), Ae = g.createLogger({ name: "auth-service", group: "Services" }),
|
|
306
|
+
}, { URL: ge } = h("AUTH_SERVICE"), { getOne: Ft, getAll: xt } = f.build({
|
|
307
|
+
basePath: `${ge}/api/app/kosdev.ddk/ncui/`
|
|
308
|
+
}), Ae = g.createLogger({ name: "auth-service", group: "Services" }), yo = async () => {
|
|
309
309
|
Ae.debug("sending GET for cuis");
|
|
310
310
|
const e = await xt({
|
|
311
|
-
urlOverride: `${
|
|
311
|
+
urlOverride: `${ge}/api/app/kosdev.ddk/cui`
|
|
312
312
|
});
|
|
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
|
+
}, bo = async () => {
|
|
317
317
|
Ae.debug("sending GET for navigation");
|
|
318
318
|
const e = await xt({
|
|
319
|
-
urlOverride: `${
|
|
319
|
+
urlOverride: `${ge}/api/kos/descriptor/system:app/kondra.ncui.navigations`
|
|
320
320
|
});
|
|
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
|
-
},
|
|
325
|
-
urlOverride: `${
|
|
326
|
-
})),
|
|
327
|
-
urlOverride: `${
|
|
324
|
+
}, vo = async () => (Ae.debug("navigating to CUI"), await Ft({
|
|
325
|
+
urlOverride: `${ge}/api/app/kosdev.ddk/cui/open`
|
|
326
|
+
})), _o = async () => (Ae.debug("navigating to NCUI"), await Ft({
|
|
327
|
+
urlOverride: `${ge}/api/app/kosdev.ddk/ncui/open`
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
329
|
+
var $o = Object.defineProperty, To = Object.getOwnPropertyDescriptor, L = (e, t, r, i) => {
|
|
330
|
+
for (var o = i > 1 ? void 0 : i ? To(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
331
331
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
332
|
-
return i && o &&
|
|
332
|
+
return i && o && $o(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;
|
|
@@ -370,7 +370,7 @@ let M = class {
|
|
|
370
370
|
// enableSidebarAnimation!: KosConfigProperty<boolean>;
|
|
371
371
|
s(this, "languages");
|
|
372
372
|
s(this, "logger");
|
|
373
|
-
this.id = e, this.languages = [], this._cuis = [], this.logger = r.logger, this.door =
|
|
373
|
+
this.id = e, this.languages = [], this._cuis = [], this.logger = r.logger, this.door = co.instance("app:kosdev.ddk:service:door:door").options({
|
|
374
374
|
doorPath: "app:kosdev.ddk:service:door:door"
|
|
375
375
|
}).build();
|
|
376
376
|
}
|
|
@@ -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 _o();
|
|
397
397
|
}
|
|
398
398
|
async exit() {
|
|
399
|
-
this.logger.info("navigating to CUI"), await
|
|
399
|
+
this.logger.info("navigating to CUI"), await vo();
|
|
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 bo();
|
|
406
406
|
this._navigationItems = e;
|
|
407
|
-
const t = await
|
|
407
|
+
const t = await yo();
|
|
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",
|
|
@@ -417,13 +417,13 @@ L([
|
|
|
417
417
|
m({ modelType: Hr.type })
|
|
418
418
|
], M.prototype, "device", 2);
|
|
419
419
|
L([
|
|
420
|
-
m({ modelType:
|
|
420
|
+
m({ modelType: st.type })
|
|
421
421
|
], M.prototype, "authModel", 2);
|
|
422
422
|
L([
|
|
423
423
|
m({ modelType: It.type })
|
|
424
424
|
], M.prototype, "setupStepContainer", 2);
|
|
425
425
|
L([
|
|
426
|
-
|
|
426
|
+
Le
|
|
427
427
|
], M.prototype, "door", 2);
|
|
428
428
|
L([
|
|
429
429
|
d({
|
|
@@ -447,7 +447,7 @@ L([
|
|
|
447
447
|
M = L([
|
|
448
448
|
l(Y)
|
|
449
449
|
], M);
|
|
450
|
-
const
|
|
450
|
+
const nt = {
|
|
451
451
|
registration: {
|
|
452
452
|
[Y]: {
|
|
453
453
|
class: M,
|
|
@@ -459,7 +459,7 @@ const at = {
|
|
|
459
459
|
factory: c.Singleton.create(
|
|
460
460
|
Y
|
|
461
461
|
)
|
|
462
|
-
},
|
|
462
|
+
}, ye = {
|
|
463
463
|
none: 999,
|
|
464
464
|
crew: 0,
|
|
465
465
|
technician: 1,
|
|
@@ -469,18 +469,18 @@ const at = {
|
|
|
469
469
|
return !1;
|
|
470
470
|
const r = (t == null ? void 0 : t.role) || "technician";
|
|
471
471
|
if (e && r) {
|
|
472
|
-
const i =
|
|
472
|
+
const i = ye[e.toLowerCase()] ?? ye.crew, o = ye[r.toLowerCase()] ?? ye.crew;
|
|
473
473
|
return i >= o;
|
|
474
474
|
}
|
|
475
475
|
return !1;
|
|
476
476
|
};
|
|
477
|
-
var
|
|
478
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
477
|
+
var Po = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, U = (e, t, r, i) => {
|
|
478
|
+
for (var o = i > 1 ? void 0 : i ? Oo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
479
479
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
480
|
-
return i && o &&
|
|
480
|
+
return i && o && Po(t, r, o), o;
|
|
481
481
|
};
|
|
482
|
-
const Ut = "agitation-control-model", Ye = "resolve",
|
|
483
|
-
let
|
|
482
|
+
const Ut = "agitation-control-model", Ye = "resolve", Mo = "agitate";
|
|
483
|
+
let w = class {
|
|
484
484
|
constructor(e, t, r) {
|
|
485
485
|
s(this, "id");
|
|
486
486
|
s(this, "futureHandler");
|
|
@@ -538,8 +538,9 @@ 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 De.bulkResolveTroubles(
|
|
542
542
|
t,
|
|
543
|
+
void 0,
|
|
543
544
|
e
|
|
544
545
|
);
|
|
545
546
|
}
|
|
@@ -548,8 +549,8 @@ let C = class {
|
|
|
548
549
|
}
|
|
549
550
|
get queuedTroubles() {
|
|
550
551
|
return this.troubleContainer.troubles.getIndexByKey(
|
|
551
|
-
|
|
552
|
-
|
|
552
|
+
gt.INDEX_TROUBLES_BY_DEFERRED,
|
|
553
|
+
gt.TROUBLES_DEFERRED
|
|
553
554
|
);
|
|
554
555
|
}
|
|
555
556
|
get visibleTroubles() {
|
|
@@ -564,7 +565,7 @@ let C = class {
|
|
|
564
565
|
return this.futureHandler.getFuture(Ye);
|
|
565
566
|
}
|
|
566
567
|
get agitateFuture() {
|
|
567
|
-
return this.futureHandler.getFuture(
|
|
568
|
+
return this.futureHandler.getFuture(Mo);
|
|
568
569
|
}
|
|
569
570
|
handleAgitationStarted(e) {
|
|
570
571
|
this.logger.info(`Agitation started for ${e.path}`), this._agitationFutureId = String(e.futureId);
|
|
@@ -586,33 +587,33 @@ let C = class {
|
|
|
586
587
|
}
|
|
587
588
|
};
|
|
588
589
|
U([
|
|
589
|
-
m({ modelType:
|
|
590
|
-
],
|
|
590
|
+
m({ modelType: nt.type })
|
|
591
|
+
], w.prototype, "application", 2);
|
|
591
592
|
U([
|
|
592
593
|
v({ alias: Ye })
|
|
593
|
-
],
|
|
594
|
+
], w.prototype, "resolveDeferredTroubles", 1);
|
|
594
595
|
U([
|
|
595
|
-
|
|
596
|
-
],
|
|
596
|
+
we({ topic: Pt.TOPIC_AGITATION_STARTED })
|
|
597
|
+
], w.prototype, "handleAgitationStarted", 1);
|
|
597
598
|
U([
|
|
598
|
-
|
|
599
|
-
],
|
|
599
|
+
we({ topic: Pt.TOPIC_AGITATION_ENDED })
|
|
600
|
+
], w.prototype, "handleAgitationEnded", 1);
|
|
600
601
|
U([
|
|
601
|
-
|
|
602
|
+
$t({
|
|
602
603
|
dependencies: (e) => [e.readyToResolve, e._agitationFutureId]
|
|
603
604
|
})
|
|
604
|
-
],
|
|
605
|
-
|
|
605
|
+
], w.prototype, "handleReadyToResolve", 1);
|
|
606
|
+
w = U([
|
|
606
607
|
l(Ut)
|
|
607
|
-
],
|
|
608
|
-
const
|
|
609
|
-
class:
|
|
608
|
+
], w);
|
|
609
|
+
const ws = new ke({
|
|
610
|
+
class: w,
|
|
610
611
|
type: Ut
|
|
611
612
|
});
|
|
612
|
-
var
|
|
613
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
613
|
+
var So = Object.defineProperty, Co = Object.getOwnPropertyDescriptor, he = (e, t, r, i) => {
|
|
614
|
+
for (var o = i > 1 ? void 0 : i ? Co(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
614
615
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
615
|
-
return i && o &&
|
|
616
|
+
return i && o && So(t, r, o), o;
|
|
616
617
|
};
|
|
617
618
|
const q = "animation-model";
|
|
618
619
|
let k = class {
|
|
@@ -626,34 +627,34 @@ let k = class {
|
|
|
626
627
|
this.id = e, this.logger = r.logger;
|
|
627
628
|
}
|
|
628
629
|
};
|
|
629
|
-
|
|
630
|
+
he([
|
|
630
631
|
d({
|
|
631
632
|
path: "app:kosdev.ddk:app",
|
|
632
633
|
attribute: "ncui.uiConfig.animations.disableAll"
|
|
633
634
|
})
|
|
634
635
|
], k.prototype, "disableAll", 2);
|
|
635
|
-
|
|
636
|
+
he([
|
|
636
637
|
d({
|
|
637
638
|
path: "app:kosdev.ddk:app",
|
|
638
639
|
attribute: "ncui.uiConfig.animations.enableDial"
|
|
639
640
|
})
|
|
640
641
|
], k.prototype, "enableDial", 2);
|
|
641
|
-
|
|
642
|
+
he([
|
|
642
643
|
d({
|
|
643
644
|
path: "app:kosdev.ddk:app",
|
|
644
645
|
attribute: "ncui.uiConfig.animations.enableModal"
|
|
645
646
|
})
|
|
646
647
|
], k.prototype, "enableModal", 2);
|
|
647
|
-
|
|
648
|
+
he([
|
|
648
649
|
d({
|
|
649
650
|
path: "app:kosdev.ddk:app",
|
|
650
651
|
attribute: "ncui.uiConfig.animations.enableSideBar"
|
|
651
652
|
})
|
|
652
653
|
], k.prototype, "enableSideBar", 2);
|
|
653
|
-
k =
|
|
654
|
+
k = he([
|
|
654
655
|
l(q)
|
|
655
656
|
], k);
|
|
656
|
-
const
|
|
657
|
+
const wo = {
|
|
657
658
|
registration: {
|
|
658
659
|
[q]: {
|
|
659
660
|
class: k,
|
|
@@ -663,15 +664,15 @@ const So = {
|
|
|
663
664
|
type: q,
|
|
664
665
|
predicate: u(q),
|
|
665
666
|
factory: c.Singleton.create(q)
|
|
666
|
-
}, { URL:
|
|
667
|
-
basePath: `${
|
|
668
|
-
}),
|
|
667
|
+
}, { URL: Eo } = h("ANIMATION_SERVICE"), { getAll: Lo } = f.build({
|
|
668
|
+
basePath: `${Eo}/api/animation`
|
|
669
|
+
}), Do = g.createLogger({
|
|
669
670
|
name: "animation-service",
|
|
670
671
|
group: "Services"
|
|
671
|
-
}),
|
|
672
|
+
}), ko = async () => (Do.debug("sending GET for animation"), await Lo({})), Es = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
672
673
|
__proto__: null,
|
|
673
|
-
getAnimations:
|
|
674
|
-
}, Symbol.toStringTag, { value: "Module" })), { URL: V } = h("FCM-PUMP_SERVICE"), { postModel:
|
|
674
|
+
getAnimations: ko
|
|
675
|
+
}, Symbol.toStringTag, { value: "Module" })), { URL: V } = h("FCM-PUMP_SERVICE"), { postModel: fe } = f.build({
|
|
675
676
|
basePath: `${V}/api/fcm-pump`
|
|
676
677
|
}), y = g.createLogger({
|
|
677
678
|
name: "fcm-pump-service",
|
|
@@ -682,7 +683,7 @@ const So = {
|
|
|
682
683
|
`performElectricalTest - sending POST request to /api/ext/freestyle/fcm/diagnostics/${e}/electricalTest`
|
|
683
684
|
);
|
|
684
685
|
try {
|
|
685
|
-
const a = await
|
|
686
|
+
const a = await fe({
|
|
686
687
|
model: {},
|
|
687
688
|
urlOverride: `${V}/api/ext/freestyle/fcm/diagnostics/${e}/electricalTest`
|
|
688
689
|
});
|
|
@@ -702,7 +703,7 @@ const So = {
|
|
|
702
703
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/preCalibrate`
|
|
703
704
|
);
|
|
704
705
|
try {
|
|
705
|
-
const r = await
|
|
706
|
+
const r = await fe({
|
|
706
707
|
model: {},
|
|
707
708
|
urlOverride: `${V}/api/ext/freestyle/fcm/calibration/${e}/preCalibrate`,
|
|
708
709
|
tracker: t
|
|
@@ -726,7 +727,7 @@ const So = {
|
|
|
726
727
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/calibrate`
|
|
727
728
|
);
|
|
728
729
|
try {
|
|
729
|
-
const r = await
|
|
730
|
+
const r = await fe({
|
|
730
731
|
model: {},
|
|
731
732
|
urlOverride: `${V}/api/ext/freestyle/fcm/calibration/${e}/calibrate`,
|
|
732
733
|
tracker: t
|
|
@@ -745,12 +746,12 @@ const So = {
|
|
|
745
746
|
};
|
|
746
747
|
return T.initiateFuture(i), i;
|
|
747
748
|
}
|
|
748
|
-
},
|
|
749
|
+
}, Nt = async (e, t, r) => {
|
|
749
750
|
y.debug(
|
|
750
751
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/verify/${t}`
|
|
751
752
|
);
|
|
752
753
|
try {
|
|
753
|
-
const i = await
|
|
754
|
+
const i = await fe({
|
|
754
755
|
model: {},
|
|
755
756
|
urlOverride: `${V}/api/ext/freestyle/fcm/calibration/${e}/verify/${t}`,
|
|
756
757
|
tracker: r
|
|
@@ -769,16 +770,16 @@ const So = {
|
|
|
769
770
|
};
|
|
770
771
|
return T.initiateFuture(o), o;
|
|
771
772
|
}
|
|
772
|
-
},
|
|
773
|
+
}, Ro = (e) => e ? e.data === "success" || !e.data ? "success" : e.data : "error", zt = async (e, t, r) => {
|
|
773
774
|
y.debug(
|
|
774
775
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/complete/${t}/${r}`
|
|
775
776
|
);
|
|
776
777
|
try {
|
|
777
|
-
const i = await
|
|
778
|
+
const i = await fe({
|
|
778
779
|
model: {},
|
|
779
780
|
urlOverride: `${V}/api/ext/freestyle/fcm/calibration/${e}/complete/${t}/${r}`
|
|
780
781
|
});
|
|
781
|
-
return y.debug("performPreCalibrate - response:", i), i == null ? void 0 : i.data;
|
|
782
|
+
return y.debug("performPreCalibrate - response:", i), Ro(i == null ? void 0 : i.data);
|
|
782
783
|
} catch (i) {
|
|
783
784
|
y.error(
|
|
784
785
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/fcm/calibration/${e}/complete/${t}/${r}`,
|
|
@@ -786,27 +787,27 @@ const So = {
|
|
|
786
787
|
);
|
|
787
788
|
return;
|
|
788
789
|
}
|
|
789
|
-
},
|
|
790
|
+
}, Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
790
791
|
__proto__: null,
|
|
791
792
|
performCalibrate: Wt,
|
|
792
|
-
performComplete:
|
|
793
|
+
performComplete: zt,
|
|
793
794
|
performElectricalTest: Vt,
|
|
794
795
|
performPreCalibrate: Ht,
|
|
795
|
-
performVerify:
|
|
796
|
+
performVerify: Nt
|
|
796
797
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
797
|
-
var
|
|
798
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
798
|
+
var Io = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, je = (e, t, r, i) => {
|
|
799
|
+
for (var o = i > 1 ? void 0 : i ? Fo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
799
800
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
800
|
-
return i && o &&
|
|
801
|
+
return i && o && Io(t, r, o), o;
|
|
801
802
|
};
|
|
802
|
-
const Bt = "fcm-pump-model",
|
|
803
|
+
const Bt = "fcm-pump-model", xo = g.createLogger({ name: "fcm-pump-model" });
|
|
803
804
|
let I = class {
|
|
804
805
|
constructor(e, t, r) {
|
|
805
806
|
s(this, "id");
|
|
806
807
|
s(this, "logger");
|
|
807
808
|
s(this, "pumpModel");
|
|
808
809
|
s(this, "futureHandler");
|
|
809
|
-
this.id = e, this.logger = r.logger, this.pumpModel = t.companionParent, this.futureHandler = new
|
|
810
|
+
this.id = e, this.logger = r.logger, this.pumpModel = t.companionParent, this.futureHandler = new pe(this);
|
|
810
811
|
}
|
|
811
812
|
get future() {
|
|
812
813
|
return this.futureHandler.future;
|
|
@@ -828,7 +829,7 @@ let I = class {
|
|
|
828
829
|
}
|
|
829
830
|
async performElectricalTest() {
|
|
830
831
|
const [e, t] = await Vt(this.pumpModel.path);
|
|
831
|
-
return e &&
|
|
832
|
+
return e && xo.error(`Failed to perform electrical test on pump ${this.id}`, e), t;
|
|
832
833
|
}
|
|
833
834
|
getChildren() {
|
|
834
835
|
return [...this.futureHandler.allFutures];
|
|
@@ -840,10 +841,10 @@ let I = class {
|
|
|
840
841
|
return Wt(this.pumpModel.path, e);
|
|
841
842
|
}
|
|
842
843
|
async performVerify(e, t) {
|
|
843
|
-
return
|
|
844
|
+
return Nt(this.pumpModel.path, e, t);
|
|
844
845
|
}
|
|
845
846
|
async performComplete(e, t) {
|
|
846
|
-
return
|
|
847
|
+
return zt(this.pumpModel.path, e, t);
|
|
847
848
|
}
|
|
848
849
|
// -------------------LIFECYCLE----------------------------
|
|
849
850
|
async init() {
|
|
@@ -865,17 +866,17 @@ je([
|
|
|
865
866
|
I = je([
|
|
866
867
|
l(Bt)
|
|
867
868
|
], I);
|
|
868
|
-
const Kt = new
|
|
869
|
+
const Kt = new Ee({
|
|
869
870
|
class: I,
|
|
870
871
|
type: Bt
|
|
871
872
|
});
|
|
872
|
-
var
|
|
873
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
873
|
+
var Ao = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Yt = (e, t, r, i) => {
|
|
874
|
+
for (var o = i > 1 ? void 0 : i ? jo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
874
875
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
875
|
-
return i && o &&
|
|
876
|
+
return i && o && Ao(t, r, o), o;
|
|
876
877
|
};
|
|
877
878
|
const G = "carb-water-model";
|
|
878
|
-
let
|
|
879
|
+
let _e = class {
|
|
879
880
|
constructor(e, t, r) {
|
|
880
881
|
s(this, "id");
|
|
881
882
|
s(this, "assemblyModel");
|
|
@@ -884,7 +885,7 @@ let $e = class {
|
|
|
884
885
|
}
|
|
885
886
|
getPump() {
|
|
886
887
|
const t = this.assemblyModel.getHoldersByGroup("carb")[0].pumps.data[0];
|
|
887
|
-
return
|
|
888
|
+
return rt(t, Kt.type);
|
|
888
889
|
}
|
|
889
890
|
// -------------------LIFECYCLE----------------------------
|
|
890
891
|
async init() {
|
|
@@ -896,27 +897,27 @@ let $e = class {
|
|
|
896
897
|
};
|
|
897
898
|
Yt([
|
|
898
899
|
m({ modelType: Fe.type })
|
|
899
|
-
],
|
|
900
|
-
|
|
900
|
+
], _e.prototype, "assemblyModel", 2);
|
|
901
|
+
_e = Yt([
|
|
901
902
|
l(G)
|
|
902
|
-
],
|
|
903
|
-
const
|
|
903
|
+
], _e);
|
|
904
|
+
const Uo = {
|
|
904
905
|
registration: {
|
|
905
906
|
[G]: {
|
|
906
|
-
class:
|
|
907
|
+
class: _e,
|
|
907
908
|
singleton: !1
|
|
908
909
|
}
|
|
909
910
|
},
|
|
910
911
|
type: G,
|
|
911
912
|
predicate: u(G),
|
|
912
913
|
factory: c.Factory.create(G)
|
|
913
|
-
}, { URL: H } = h("COPY-LOGS_SERVICE"), { getAll:
|
|
914
|
+
}, { URL: H } = h("COPY-LOGS_SERVICE"), { getAll: Vo, getOne: Ho, postModel: qt, deleteModel: Wo } = f.build({
|
|
914
915
|
basePath: `${H}/api/copy-logs`
|
|
915
|
-
}),
|
|
916
|
+
}), $e = g.createLogger({
|
|
916
917
|
name: "copy-logs-service",
|
|
917
918
|
group: "Services"
|
|
918
919
|
}), Gt = async (e, t) => {
|
|
919
|
-
const r = await
|
|
920
|
+
const r = await Wo({
|
|
920
921
|
tracker: t,
|
|
921
922
|
id: e,
|
|
922
923
|
urlOverride: `${H}/api/app/kosdev.ddk/copyLogs/${e}`
|
|
@@ -943,30 +944,30 @@ const xo = {
|
|
|
943
944
|
throw new Error("No response from server");
|
|
944
945
|
return r.data;
|
|
945
946
|
}, Jt = async () => {
|
|
946
|
-
|
|
947
|
+
$e.debug("sending GET for copy-logs");
|
|
947
948
|
try {
|
|
948
|
-
const e = await
|
|
949
|
+
const e = await Vo({
|
|
949
950
|
urlOverride: `${H}/api/app/kosdev.ddk/copyLogs/volumes/size`
|
|
950
951
|
});
|
|
951
952
|
return [void 0, e == null ? void 0 : e.data];
|
|
952
953
|
} catch (e) {
|
|
953
954
|
if (e instanceof Re)
|
|
954
|
-
return
|
|
955
|
+
return $e.error(`Error fetching log file size: ${e.payload.error}`), [e.payload.error, void 0];
|
|
955
956
|
}
|
|
956
957
|
return ["unknownError", void 0];
|
|
957
958
|
}, Zt = async () => {
|
|
958
|
-
|
|
959
|
+
$e.debug("sending GET for log file size");
|
|
959
960
|
try {
|
|
960
|
-
const e = await
|
|
961
|
+
const e = await Ho({
|
|
961
962
|
urlOverride: `${H}/api/app/kosdev.ddk/copyLogs/files/size`
|
|
962
963
|
});
|
|
963
964
|
return [void 0, e == null ? void 0 : e.data];
|
|
964
965
|
} catch (e) {
|
|
965
966
|
if (e instanceof Re)
|
|
966
|
-
return
|
|
967
|
+
return $e.error(`Error fetching log file size: ${e.payload.error}`), [e.payload.error, void 0];
|
|
967
968
|
}
|
|
968
969
|
return ["unknownError", void 0];
|
|
969
|
-
},
|
|
970
|
+
}, Ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
970
971
|
__proto__: null,
|
|
971
972
|
copyLogFromVolume: Xt,
|
|
972
973
|
eraseAndCopyLogsToVolume: Qt,
|
|
@@ -974,31 +975,27 @@ const xo = {
|
|
|
974
975
|
getLogFileSize: Zt,
|
|
975
976
|
getVolumes: Jt
|
|
976
977
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
977
|
-
var
|
|
978
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
978
|
+
var er = Object.defineProperty, No = Object.getOwnPropertyDescriptor, zo = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, W = (e, t, r, i) => {
|
|
979
|
+
for (var o = i > 1 ? void 0 : i ? No(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
979
980
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
980
|
-
return i && o &&
|
|
981
|
-
};
|
|
982
|
-
const
|
|
983
|
-
let
|
|
984
|
-
constructor(e
|
|
981
|
+
return i && o && er(t, r, o), o;
|
|
982
|
+
}, Bo = (e, t, r) => (zo(e, t + "", r), r);
|
|
983
|
+
const Ko = "copy-logs-model";
|
|
984
|
+
let S = class {
|
|
985
|
+
constructor(e) {
|
|
985
986
|
s(this, "id");
|
|
986
|
-
s(this, "logger");
|
|
987
987
|
s(this, "_volumes");
|
|
988
|
-
// Only declare what's needed internally - setupCompleteFutureSupport() handles the rest
|
|
989
|
-
s(this, "futureHandler");
|
|
990
|
-
s(this, "future");
|
|
991
988
|
s(this, "storageDeviceContainer");
|
|
992
989
|
s(this, "_activeVolume");
|
|
993
990
|
s(this, "_logFileSize", 0);
|
|
994
991
|
s(this, "_actionState", "idle");
|
|
995
992
|
s(this, "copyProgress");
|
|
996
|
-
this.id = e, this.
|
|
993
|
+
this.id = e, this._volumes = new Kr(), this._activeVolume = void 0, this.copyProgress = {
|
|
997
994
|
bytesCopied: 0,
|
|
998
995
|
bytesToCopy: 0,
|
|
999
996
|
filesCopied: 0,
|
|
1000
997
|
filesSkipped: 0
|
|
1001
|
-
}
|
|
998
|
+
};
|
|
1002
999
|
}
|
|
1003
1000
|
// -------------------LIFECYCLE----------------------------
|
|
1004
1001
|
get volumes() {
|
|
@@ -1120,50 +1117,55 @@ let w = class {
|
|
|
1120
1117
|
this.logger.debug(`loading copy-logs ${this.id}`);
|
|
1121
1118
|
}
|
|
1122
1119
|
};
|
|
1120
|
+
Bo(S, "Registration");
|
|
1123
1121
|
W([
|
|
1124
|
-
m({ modelType:
|
|
1125
|
-
],
|
|
1122
|
+
m({ modelType: Nr.type })
|
|
1123
|
+
], S.prototype, "storageDeviceContainer", 2);
|
|
1126
1124
|
W([
|
|
1127
1125
|
v()
|
|
1128
|
-
],
|
|
1126
|
+
], S.prototype, "eraseAndCopyVolume", 1);
|
|
1129
1127
|
W([
|
|
1130
1128
|
v()
|
|
1131
|
-
],
|
|
1129
|
+
], S.prototype, "eraseVolume", 1);
|
|
1132
1130
|
W([
|
|
1133
1131
|
v()
|
|
1134
|
-
],
|
|
1132
|
+
], S.prototype, "copyLogs", 1);
|
|
1135
1133
|
W([
|
|
1136
|
-
|
|
1134
|
+
$t({
|
|
1137
1135
|
dependencies: (e) => [e.inserted]
|
|
1138
1136
|
})
|
|
1139
|
-
],
|
|
1140
|
-
|
|
1141
|
-
l(
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
}), tr = g.createLogger({
|
|
1137
|
+
], S.prototype, "handleInsertion", 1);
|
|
1138
|
+
S = W([
|
|
1139
|
+
l({ modelTypeId: Ko, singleton: !0 }),
|
|
1140
|
+
zr(),
|
|
1141
|
+
Br()
|
|
1142
|
+
], S);
|
|
1143
|
+
const ks = S.Registration, tr = g.createLogger({
|
|
1147
1144
|
name: "dashboard-operations-service",
|
|
1148
1145
|
group: "Services"
|
|
1149
|
-
}), rr = async (e, t) => (tr.debug("resolveAll"), await
|
|
1146
|
+
}), rr = async (e, t) => (tr.debug("resolveAll"), await De.bulkResolveTroubles(
|
|
1150
1147
|
e,
|
|
1148
|
+
void 0,
|
|
1151
1149
|
t
|
|
1152
|
-
)), or = async (e, t) => (tr.debug("resolveTrouble"), await
|
|
1150
|
+
)), or = async (e, t) => (tr.debug("resolveTrouble"), await De.resolveTrouble(
|
|
1151
|
+
e,
|
|
1152
|
+
void 0,
|
|
1153
|
+
t
|
|
1154
|
+
)), Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1153
1155
|
__proto__: null,
|
|
1154
1156
|
resolveAll: rr,
|
|
1155
1157
|
resolveTrouble: or
|
|
1156
1158
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1157
|
-
var
|
|
1158
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1159
|
+
var Yo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, Ue = (e, t, r, i) => {
|
|
1160
|
+
for (var o = i > 1 ? void 0 : i ? qo(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1159
1161
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1160
|
-
return i && o &&
|
|
1162
|
+
return i && o && Yo(t, r, o), o;
|
|
1161
1163
|
};
|
|
1162
1164
|
const Q = "dashboard-operations-model";
|
|
1163
|
-
function
|
|
1165
|
+
function bt(e) {
|
|
1164
1166
|
return !e.deferred;
|
|
1165
1167
|
}
|
|
1166
|
-
function
|
|
1168
|
+
function vt(e) {
|
|
1167
1169
|
return e.deferred;
|
|
1168
1170
|
}
|
|
1169
1171
|
let F = class {
|
|
@@ -1172,25 +1174,25 @@ let F = class {
|
|
|
1172
1174
|
s(this, "troubles");
|
|
1173
1175
|
s(this, "futureHandler");
|
|
1174
1176
|
s(this, "logger");
|
|
1175
|
-
this.id = e, this.futureHandler = new
|
|
1177
|
+
this.id = e, this.futureHandler = new pe(this), this.logger = r.logger;
|
|
1176
1178
|
}
|
|
1177
1179
|
get troublesByType() {
|
|
1178
1180
|
return this.troubles.troubles.data.reduce(
|
|
1179
|
-
|
|
1181
|
+
Yr,
|
|
1180
1182
|
{}
|
|
1181
1183
|
);
|
|
1182
1184
|
}
|
|
1183
1185
|
get queuedPurgeTroubles() {
|
|
1184
|
-
return this.purgeTroubles.filter(
|
|
1186
|
+
return this.purgeTroubles.filter(vt);
|
|
1185
1187
|
}
|
|
1186
1188
|
get queuedPrimeTroubles() {
|
|
1187
|
-
return this.primeTroubles.filter(
|
|
1189
|
+
return this.primeTroubles.filter(vt);
|
|
1188
1190
|
}
|
|
1189
1191
|
get resolvablePrimeTroubles() {
|
|
1190
|
-
return this.primeTroubles.filter(
|
|
1192
|
+
return this.primeTroubles.filter(bt);
|
|
1191
1193
|
}
|
|
1192
1194
|
get resolvablePurgeTroubles() {
|
|
1193
|
-
return this.purgeTroubles.filter(
|
|
1195
|
+
return this.purgeTroubles.filter(bt);
|
|
1194
1196
|
}
|
|
1195
1197
|
get hasResolvablePurgeTroubles() {
|
|
1196
1198
|
return this.resolvablePurgeTroubles.length > 0;
|
|
@@ -1205,10 +1207,10 @@ let F = class {
|
|
|
1205
1207
|
return this.primeTroubles.length > 0;
|
|
1206
1208
|
}
|
|
1207
1209
|
get purgeTroubles() {
|
|
1208
|
-
return this.troublesByType[
|
|
1210
|
+
return this.troublesByType[ht] || [];
|
|
1209
1211
|
}
|
|
1210
1212
|
get primeTroubles() {
|
|
1211
|
-
return this.troublesByType[
|
|
1213
|
+
return this.troublesByType[to] || [];
|
|
1212
1214
|
}
|
|
1213
1215
|
get future() {
|
|
1214
1216
|
return this.futureHandler.getFuture();
|
|
@@ -1216,7 +1218,7 @@ let F = class {
|
|
|
1216
1218
|
async resolveAllTroubles(e, t) {
|
|
1217
1219
|
if (!t)
|
|
1218
1220
|
throw new Error("No tracker provided");
|
|
1219
|
-
const r = e ===
|
|
1221
|
+
const r = e === ht ? this.purgeTroubles : this.primeTroubles;
|
|
1220
1222
|
r.filter((a) => a.shouldDefer).forEach((a) => {
|
|
1221
1223
|
this.logger.info(`Deferring trouble ${a.rawId}`), a.defer();
|
|
1222
1224
|
});
|
|
@@ -1237,7 +1239,7 @@ let F = class {
|
|
|
1237
1239
|
}
|
|
1238
1240
|
};
|
|
1239
1241
|
Ue([
|
|
1240
|
-
m({ modelType:
|
|
1242
|
+
m({ modelType: ot.type })
|
|
1241
1243
|
], F.prototype, "troubles", 2);
|
|
1242
1244
|
Ue([
|
|
1243
1245
|
v()
|
|
@@ -1248,7 +1250,7 @@ Ue([
|
|
|
1248
1250
|
F = Ue([
|
|
1249
1251
|
l(Q)
|
|
1250
1252
|
], F);
|
|
1251
|
-
const
|
|
1253
|
+
const lt = {
|
|
1252
1254
|
registration: {
|
|
1253
1255
|
[Q]: {
|
|
1254
1256
|
class: F,
|
|
@@ -1259,8 +1261,8 @@ const nt = {
|
|
|
1259
1261
|
predicate: u(Q),
|
|
1260
1262
|
factory: c.Singleton.create(Q)
|
|
1261
1263
|
};
|
|
1262
|
-
var
|
|
1263
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1264
|
+
var Go = Object.getOwnPropertyDescriptor, Qo = (e, t, r, i) => {
|
|
1265
|
+
for (var o = i > 1 ? void 0 : i ? Go(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1264
1266
|
(a = e[n]) && (o = a(o) || o);
|
|
1265
1267
|
return o;
|
|
1266
1268
|
};
|
|
@@ -1281,10 +1283,10 @@ let qe = class {
|
|
|
1281
1283
|
this.logger.debug(`loading dispenser ${this.id}`);
|
|
1282
1284
|
}
|
|
1283
1285
|
};
|
|
1284
|
-
qe =
|
|
1286
|
+
qe = Qo([
|
|
1285
1287
|
l(X)
|
|
1286
1288
|
], qe);
|
|
1287
|
-
const
|
|
1289
|
+
const Xo = {
|
|
1288
1290
|
registration: {
|
|
1289
1291
|
[X]: {
|
|
1290
1292
|
class: qe,
|
|
@@ -1294,22 +1296,22 @@ const Ko = {
|
|
|
1294
1296
|
type: X,
|
|
1295
1297
|
predicate: u(X),
|
|
1296
1298
|
factory: c.Singleton.create(X)
|
|
1297
|
-
}, { URL:
|
|
1298
|
-
basePath: `${
|
|
1299
|
-
}),
|
|
1299
|
+
}, { URL: Jo } = h("DISPENSER_SERVICE"), { getAll: Zo } = f.build({
|
|
1300
|
+
basePath: `${Jo}/api/dispenser`
|
|
1301
|
+
}), ei = g.createLogger({
|
|
1300
1302
|
name: "dispenser-service",
|
|
1301
1303
|
group: "Services"
|
|
1302
|
-
}),
|
|
1304
|
+
}), ti = async () => (ei.debug("sending GET for dispenser"), await Zo({})), Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1303
1305
|
__proto__: null,
|
|
1304
|
-
getDispensers:
|
|
1306
|
+
getDispensers: ti
|
|
1305
1307
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1306
|
-
var
|
|
1307
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1308
|
+
var ri = Object.defineProperty, oi = Object.getOwnPropertyDescriptor, ir = (e, t, r, i) => {
|
|
1309
|
+
for (var o = i > 1 ? void 0 : i ? oi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1308
1310
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1309
|
-
return i && o &&
|
|
1311
|
+
return i && o && ri(t, r, o), o;
|
|
1310
1312
|
};
|
|
1311
1313
|
const J = "dispenser-info-model";
|
|
1312
|
-
let
|
|
1314
|
+
let Te = class {
|
|
1313
1315
|
constructor(e, t, r) {
|
|
1314
1316
|
s(this, "logger");
|
|
1315
1317
|
s(this, "id");
|
|
@@ -1329,14 +1331,14 @@ ir([
|
|
|
1329
1331
|
path: "kos:device",
|
|
1330
1332
|
attribute: "name"
|
|
1331
1333
|
})
|
|
1332
|
-
],
|
|
1333
|
-
|
|
1334
|
+
], Te.prototype, "name", 2);
|
|
1335
|
+
Te = ir([
|
|
1334
1336
|
l(J)
|
|
1335
|
-
],
|
|
1336
|
-
const
|
|
1337
|
+
], Te);
|
|
1338
|
+
const ii = {
|
|
1337
1339
|
registration: {
|
|
1338
1340
|
[J]: {
|
|
1339
|
-
class:
|
|
1341
|
+
class: Te,
|
|
1340
1342
|
singleton: !1
|
|
1341
1343
|
}
|
|
1342
1344
|
},
|
|
@@ -1345,17 +1347,17 @@ const Zo = {
|
|
|
1345
1347
|
factory: c.Factory.create(
|
|
1346
1348
|
J
|
|
1347
1349
|
)
|
|
1348
|
-
}, { URL:
|
|
1349
|
-
basePath: `${
|
|
1350
|
-
}),
|
|
1350
|
+
}, { URL: si } = h("DISPENSER-INFO_SERVICE"), { getAll: ai } = f.build({
|
|
1351
|
+
basePath: `${si}/api/dispenser-info`
|
|
1352
|
+
}), ni = g.createLogger({
|
|
1351
1353
|
name: "dispenser-info-service",
|
|
1352
1354
|
group: "Services"
|
|
1353
|
-
}),
|
|
1355
|
+
}), li = async () => (ni.debug("sending GET for dispenser-info"), await ai({})), Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1354
1356
|
__proto__: null,
|
|
1355
|
-
getDispenserInfos:
|
|
1357
|
+
getDispenserInfos: li
|
|
1356
1358
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1357
|
-
var
|
|
1358
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1359
|
+
var ci = Object.getOwnPropertyDescriptor, ui = (e, t, r, i) => {
|
|
1360
|
+
for (var o = i > 1 ? void 0 : i ? ci(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1359
1361
|
(a = e[n]) && (o = a(o) || o);
|
|
1360
1362
|
return o;
|
|
1361
1363
|
};
|
|
@@ -1378,10 +1380,10 @@ let Ge = class {
|
|
|
1378
1380
|
this.logger.debug(`loading enrollment ${this.id}`);
|
|
1379
1381
|
}
|
|
1380
1382
|
};
|
|
1381
|
-
Ge =
|
|
1383
|
+
Ge = ui([
|
|
1382
1384
|
l(Z)
|
|
1383
1385
|
], Ge);
|
|
1384
|
-
const
|
|
1386
|
+
const di = {
|
|
1385
1387
|
registration: {
|
|
1386
1388
|
[Z]: {
|
|
1387
1389
|
class: Ge,
|
|
@@ -1391,19 +1393,19 @@ const ai = {
|
|
|
1391
1393
|
type: Z,
|
|
1392
1394
|
predicate: u(Z),
|
|
1393
1395
|
factory: c.Singleton.create(Z)
|
|
1394
|
-
}, { URL:
|
|
1395
|
-
basePath: `${
|
|
1396
|
-
}),
|
|
1396
|
+
}, { URL: pi } = h("ENROLLMENT_SERVICE"), { getAll: gi } = f.build({
|
|
1397
|
+
basePath: `${pi}/api/enrollment`
|
|
1398
|
+
}), hi = g.createLogger({
|
|
1397
1399
|
name: "enrollment-service",
|
|
1398
1400
|
group: "Services"
|
|
1399
|
-
}),
|
|
1401
|
+
}), fi = async () => (hi.debug("sending GET for enrollment"), await gi({})), xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1400
1402
|
__proto__: null,
|
|
1401
|
-
getEnrollments:
|
|
1402
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1403
|
+
getEnrollments: fi
|
|
1404
|
+
}, Symbol.toStringTag, { value: "Module" })), As = (e) => e.toLowerCase().includes("micros"), js = (e) => !e.toLowerCase().includes("micros"), Us = (e) => (t) => {
|
|
1403
1405
|
const r = e == null ? void 0 : e.getHoldersByGroup(t);
|
|
1404
1406
|
return r ? r.map((i) => ({ id: i.id, name: i.ingredientName, path: i.path })) : null;
|
|
1405
|
-
},
|
|
1406
|
-
|
|
1407
|
+
}, Vs = ["water", "carb", "ns", "nss"], ue = "dashboardKeyFactory", Be = [];
|
|
1408
|
+
qr(ue, {
|
|
1407
1409
|
register: (e, t) => {
|
|
1408
1410
|
Be.includes(t) || Be.push(t);
|
|
1409
1411
|
},
|
|
@@ -1416,29 +1418,29 @@ Yr(ue, {
|
|
|
1416
1418
|
}
|
|
1417
1419
|
}
|
|
1418
1420
|
});
|
|
1419
|
-
const
|
|
1421
|
+
const mi = (e) => {
|
|
1420
1422
|
Ie[ue].register(
|
|
1421
1423
|
ue,
|
|
1422
1424
|
e
|
|
1423
1425
|
);
|
|
1424
|
-
},
|
|
1426
|
+
}, yi = (e) => Ie[ue].execute(
|
|
1425
1427
|
ue,
|
|
1426
1428
|
e
|
|
1427
1429
|
);
|
|
1428
|
-
Ie.registerDashboardKeyFactory =
|
|
1429
|
-
Ie.executeDashboardKeyFactory =
|
|
1430
|
-
const Qe = 3600, sr = 60,
|
|
1430
|
+
Ie.registerDashboardKeyFactory = mi;
|
|
1431
|
+
Ie.executeDashboardKeyFactory = yi;
|
|
1432
|
+
const Qe = 3600, sr = 60, Hs = (e) => {
|
|
1431
1433
|
const t = Math.floor(e / Qe), r = Math.floor(e % Qe / sr);
|
|
1432
1434
|
return { hours: t, minutes: r };
|
|
1433
|
-
},
|
|
1435
|
+
}, Ws = (e, t) => e * Qe + t * sr, bi = (e) => {
|
|
1434
1436
|
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
1437
|
let D = "";
|
|
1436
1438
|
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
1439
|
};
|
|
1438
|
-
var
|
|
1439
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1440
|
+
var vi = Object.defineProperty, _i = Object.getOwnPropertyDescriptor, Ve = (e, t, r, i) => {
|
|
1441
|
+
for (var o = i > 1 ? void 0 : i ? _i(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1440
1442
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1441
|
-
return i && o &&
|
|
1443
|
+
return i && o && vi(t, r, o), o;
|
|
1442
1444
|
};
|
|
1443
1445
|
const ee = "ingredient-summary-model";
|
|
1444
1446
|
let x = class {
|
|
@@ -1448,7 +1450,7 @@ let x = class {
|
|
|
1448
1450
|
s(this, "dashboardOperationModel");
|
|
1449
1451
|
s(this, "appModel");
|
|
1450
1452
|
s(this, "logger");
|
|
1451
|
-
this.id = e, this.logger = r.logger, this.dashboardOperationModel =
|
|
1453
|
+
this.id = e, this.logger = r.logger, this.dashboardOperationModel = lt.factory({});
|
|
1452
1454
|
}
|
|
1453
1455
|
get highPriorityHolders() {
|
|
1454
1456
|
return this.assemblyModel.allHolders.filter(
|
|
@@ -1458,8 +1460,14 @@ let x = class {
|
|
|
1458
1460
|
get actionRequiredHolders() {
|
|
1459
1461
|
const e = this.appModel.currentRole, t = jt(e);
|
|
1460
1462
|
return this.assemblyModel.allHolders.filter((r) => {
|
|
1461
|
-
const i =
|
|
1462
|
-
|
|
1463
|
+
const i = rt(
|
|
1464
|
+
r,
|
|
1465
|
+
Jr.type
|
|
1466
|
+
);
|
|
1467
|
+
if (i != null && i.isRemote)
|
|
1468
|
+
return !1;
|
|
1469
|
+
const o = r.troubles.filter(t);
|
|
1470
|
+
return o.length > 0 && o.find((n) => n.resolvable);
|
|
1463
1471
|
});
|
|
1464
1472
|
}
|
|
1465
1473
|
get lowLevelHolders() {
|
|
@@ -1480,15 +1488,15 @@ Ve([
|
|
|
1480
1488
|
m({ modelType: Fe.type })
|
|
1481
1489
|
], x.prototype, "assemblyModel", 2);
|
|
1482
1490
|
Ve([
|
|
1483
|
-
m({ modelType:
|
|
1491
|
+
m({ modelType: lt.type })
|
|
1484
1492
|
], x.prototype, "dashboardOperationModel", 2);
|
|
1485
1493
|
Ve([
|
|
1486
|
-
m({ modelType:
|
|
1494
|
+
m({ modelType: nt.type })
|
|
1487
1495
|
], x.prototype, "appModel", 2);
|
|
1488
1496
|
x = Ve([
|
|
1489
1497
|
l(ee)
|
|
1490
1498
|
], x);
|
|
1491
|
-
const
|
|
1499
|
+
const $i = {
|
|
1492
1500
|
registration: {
|
|
1493
1501
|
[ee]: {
|
|
1494
1502
|
class: x,
|
|
@@ -1501,8 +1509,8 @@ const mi = {
|
|
|
1501
1509
|
ee
|
|
1502
1510
|
)
|
|
1503
1511
|
};
|
|
1504
|
-
var
|
|
1505
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1512
|
+
var Ti = Object.getOwnPropertyDescriptor, Pi = (e, t, r, i) => {
|
|
1513
|
+
for (var o = i > 1 ? void 0 : i ? Ti(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1506
1514
|
(a = e[n]) && (o = a(o) || o);
|
|
1507
1515
|
return o;
|
|
1508
1516
|
};
|
|
@@ -1537,43 +1545,43 @@ let Xe = class {
|
|
|
1537
1545
|
this.logger.debug(`loading lfcv-pump ${this.id}`);
|
|
1538
1546
|
}
|
|
1539
1547
|
};
|
|
1540
|
-
Xe =
|
|
1548
|
+
Xe = Pi([
|
|
1541
1549
|
l(ar)
|
|
1542
1550
|
], Xe);
|
|
1543
|
-
const
|
|
1551
|
+
const Ns = new Ee({
|
|
1544
1552
|
class: Xe,
|
|
1545
1553
|
type: ar
|
|
1546
|
-
}), { URL:
|
|
1547
|
-
basePath: `${
|
|
1548
|
-
}),
|
|
1554
|
+
}), { URL: Oi } = h("LFCV-PUMP_SERVICE"), { getAll: Mi } = f.build({
|
|
1555
|
+
basePath: `${Oi}/api/lfcv-pump`
|
|
1556
|
+
}), Si = g.createLogger({
|
|
1549
1557
|
name: "lfcv-pump-service",
|
|
1550
1558
|
group: "Services"
|
|
1551
|
-
}),
|
|
1559
|
+
}), Ci = async () => (Si.debug("sending GET for lfcv-pump"), await Mi({})), zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1552
1560
|
__proto__: null,
|
|
1553
|
-
getLfcvPumps:
|
|
1554
|
-
}, Symbol.toStringTag, { value: "Module" })), { URL:
|
|
1555
|
-
basePath: `${
|
|
1556
|
-
}), lr = g.createLogger({ name: "lockout-service", group: "Services" }),
|
|
1561
|
+
getLfcvPumps: Ci
|
|
1562
|
+
}, Symbol.toStringTag, { value: "Module" })), { URL: ct } = h("LOCKOUT_SERVICE"), { postModel: nr } = f.build({
|
|
1563
|
+
basePath: `${ct}/api/app/kosdev.ddk/lockout`
|
|
1564
|
+
}), lr = g.createLogger({ name: "lockout-service", group: "Services" }), wi = async () => (lr.info("lock"), await nr({
|
|
1557
1565
|
model: {},
|
|
1558
|
-
urlOverride: `${
|
|
1566
|
+
urlOverride: `${ct}/api/app/kosdev.ddk/lockout/lockNow`
|
|
1559
1567
|
})), cr = async (e) => {
|
|
1560
1568
|
lr.info("unlock");
|
|
1561
1569
|
const t = await nr({
|
|
1562
1570
|
model: {},
|
|
1563
|
-
urlOverride: `${
|
|
1571
|
+
urlOverride: `${ct}/api/app/kosdev.ddk/lockout/unlock/${e}`
|
|
1564
1572
|
});
|
|
1565
1573
|
return t == null ? void 0 : t.data;
|
|
1566
|
-
},
|
|
1574
|
+
}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1567
1575
|
__proto__: null,
|
|
1568
|
-
lock:
|
|
1576
|
+
lock: wi,
|
|
1569
1577
|
unlock: cr
|
|
1570
1578
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1571
|
-
var
|
|
1572
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1579
|
+
var Ei = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, N = (e, t, r, i) => {
|
|
1580
|
+
for (var o = i > 1 ? void 0 : i ? Li(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1573
1581
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1574
|
-
return i && o &&
|
|
1582
|
+
return i && o && Ei(t, r, o), o;
|
|
1575
1583
|
};
|
|
1576
|
-
const ur = "lockout-model",
|
|
1584
|
+
const ur = "lockout-model", Di = [
|
|
1577
1585
|
{ day: "monday", lock: "dayWiseLockConfigMap.Mon.enabled", open: "dayWiseLockConfigMap.Mon.unlockTime", close: "dayWiseLockConfigMap.Mon.lockTime" },
|
|
1578
1586
|
{ day: "tuesday", lock: "dayWiseLockConfigMap.Tue.enabled", open: "dayWiseLockConfigMap.Tue.unlockTime", close: "dayWiseLockConfigMap.Tue.lockTime" },
|
|
1579
1587
|
{ day: "wednesday", lock: "dayWiseLockConfigMap.Wed.enabled", open: "dayWiseLockConfigMap.Wed.unlockTime", close: "dayWiseLockConfigMap.Wed.lockTime" },
|
|
@@ -1628,7 +1636,7 @@ let E = class {
|
|
|
1628
1636
|
return t || r;
|
|
1629
1637
|
}
|
|
1630
1638
|
get schedule() {
|
|
1631
|
-
return
|
|
1639
|
+
return Di;
|
|
1632
1640
|
}
|
|
1633
1641
|
getProp(e) {
|
|
1634
1642
|
return this.saveMap.get(e);
|
|
@@ -1667,49 +1675,50 @@ let E = class {
|
|
|
1667
1675
|
this.logger.debug(`loading lockout ${this.id}`);
|
|
1668
1676
|
}
|
|
1669
1677
|
};
|
|
1670
|
-
|
|
1678
|
+
N([
|
|
1671
1679
|
d({
|
|
1672
1680
|
path: "app:kosdev.ddk:service:cuiLockout",
|
|
1673
1681
|
attribute: "pin"
|
|
1674
1682
|
})
|
|
1675
1683
|
], E.prototype, "pin", 2);
|
|
1676
|
-
|
|
1684
|
+
N([
|
|
1677
1685
|
d({
|
|
1678
1686
|
path: "app:kosdev.ddk:service:cuiLockout",
|
|
1679
1687
|
attribute: "nextLockSkipped"
|
|
1680
1688
|
})
|
|
1681
1689
|
], E.prototype, "nextLockSkipped", 2);
|
|
1682
|
-
|
|
1690
|
+
N([
|
|
1683
1691
|
d({
|
|
1684
1692
|
path: "app:kosdev.ddk:service:cuiLockout",
|
|
1685
1693
|
attribute: "nextLockTime"
|
|
1686
1694
|
})
|
|
1687
1695
|
], E.prototype, "nextLockTime", 2);
|
|
1688
|
-
|
|
1696
|
+
N([
|
|
1689
1697
|
d({
|
|
1690
1698
|
path: "app:kosdev.ddk:service:cuiLockout",
|
|
1691
1699
|
attribute: "nextUnLockTime"
|
|
1692
1700
|
})
|
|
1693
1701
|
], E.prototype, "nextUnLockTime", 2);
|
|
1694
|
-
|
|
1695
|
-
|
|
1702
|
+
N([
|
|
1703
|
+
Gr({ path: "app:kosdev.ddk:service:cuiLockout" })
|
|
1696
1704
|
], E.prototype, "cuiLockout", 2);
|
|
1697
|
-
E =
|
|
1705
|
+
E = N([
|
|
1698
1706
|
l(ur)
|
|
1699
1707
|
], E);
|
|
1700
|
-
const
|
|
1708
|
+
const Ks = new ke({
|
|
1701
1709
|
class: E,
|
|
1702
1710
|
type: ur
|
|
1703
|
-
}),
|
|
1711
|
+
}), ki = async (e, t) => await De.bulkResolveTroubles(
|
|
1704
1712
|
e,
|
|
1713
|
+
void 0,
|
|
1705
1714
|
t
|
|
1706
1715
|
);
|
|
1707
|
-
var
|
|
1708
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1716
|
+
var Ri = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, He = (e, t, r, i) => {
|
|
1717
|
+
for (var o = i > 1 ? void 0 : i ? Ii(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1709
1718
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1710
|
-
return i && o &&
|
|
1719
|
+
return i && o && Ri(t, r, o), o;
|
|
1711
1720
|
};
|
|
1712
|
-
const te = "macro-assignment-model",
|
|
1721
|
+
const te = "macro-assignment-model", _t = "PurgeTrouble", Fi = "PrimeTrouble";
|
|
1713
1722
|
let A = class {
|
|
1714
1723
|
constructor(e, t, r) {
|
|
1715
1724
|
s(this, "id");
|
|
@@ -1720,7 +1729,7 @@ let A = class {
|
|
|
1720
1729
|
s(this, "futureHandler");
|
|
1721
1730
|
s(this, "holders");
|
|
1722
1731
|
s(this, "ingredients");
|
|
1723
|
-
this.id = e, this.futureHandler = new
|
|
1732
|
+
this.id = e, this.futureHandler = new pe(), this.logger = r.logger;
|
|
1724
1733
|
}
|
|
1725
1734
|
/**
|
|
1726
1735
|
* shortcut to the current running future
|
|
@@ -1750,13 +1759,13 @@ let A = class {
|
|
|
1750
1759
|
*/
|
|
1751
1760
|
get holderPurgeTroubles() {
|
|
1752
1761
|
return this.macroHolders.reduce((t, r) => {
|
|
1753
|
-
const i = r.troublesByType[
|
|
1762
|
+
const i = r.troublesByType[_t] || [];
|
|
1754
1763
|
return t = [...t, ...i], t;
|
|
1755
1764
|
}, []);
|
|
1756
1765
|
}
|
|
1757
1766
|
get holderPrimeTroubles() {
|
|
1758
1767
|
return this.macroHolders.reduce((t, r) => {
|
|
1759
|
-
const i = r.troublesByType[
|
|
1768
|
+
const i = r.troublesByType[Fi] || [];
|
|
1760
1769
|
return t = [...t, ...i], t;
|
|
1761
1770
|
}, []);
|
|
1762
1771
|
}
|
|
@@ -1792,15 +1801,15 @@ let A = class {
|
|
|
1792
1801
|
async resolveAll(e, t) {
|
|
1793
1802
|
if (!t)
|
|
1794
1803
|
throw new Error("No tracker provided");
|
|
1795
|
-
const i = (e ===
|
|
1796
|
-
return await
|
|
1804
|
+
const i = (e === _t ? this.holderPurgeTroubles : this.holderPrimeTroubles).map((n) => n.rawId);
|
|
1805
|
+
return await ki(i, t);
|
|
1797
1806
|
}
|
|
1798
1807
|
};
|
|
1799
1808
|
He([
|
|
1800
|
-
m({ modelType:
|
|
1809
|
+
m({ modelType: Zr.type })
|
|
1801
1810
|
], A.prototype, "holders", 2);
|
|
1802
1811
|
He([
|
|
1803
|
-
m({ modelType:
|
|
1812
|
+
m({ modelType: eo.type })
|
|
1804
1813
|
], A.prototype, "ingredients", 2);
|
|
1805
1814
|
He([
|
|
1806
1815
|
v()
|
|
@@ -1808,7 +1817,7 @@ He([
|
|
|
1808
1817
|
A = He([
|
|
1809
1818
|
l(te)
|
|
1810
1819
|
], A);
|
|
1811
|
-
const
|
|
1820
|
+
const xi = {
|
|
1812
1821
|
registration: {
|
|
1813
1822
|
[te]: {
|
|
1814
1823
|
class: A,
|
|
@@ -1821,8 +1830,8 @@ const Di = {
|
|
|
1821
1830
|
te
|
|
1822
1831
|
)
|
|
1823
1832
|
};
|
|
1824
|
-
var
|
|
1825
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1833
|
+
var Ai = Object.getOwnPropertyDescriptor, ji = (e, t, r, i) => {
|
|
1834
|
+
for (var o = i > 1 ? void 0 : i ? Ai(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1826
1835
|
(a = e[n]) && (o = a(o) || o);
|
|
1827
1836
|
return o;
|
|
1828
1837
|
};
|
|
@@ -1851,7 +1860,7 @@ let Je = class {
|
|
|
1851
1860
|
this.logger.debug(`loading network-test ${this.id}`);
|
|
1852
1861
|
}
|
|
1853
1862
|
};
|
|
1854
|
-
Je =
|
|
1863
|
+
Je = ji([
|
|
1855
1864
|
l(re)
|
|
1856
1865
|
], Je);
|
|
1857
1866
|
const dr = {
|
|
@@ -1864,14 +1873,14 @@ const dr = {
|
|
|
1864
1873
|
type: re,
|
|
1865
1874
|
predicate: u(re),
|
|
1866
1875
|
factory: c.Factory.create(re)
|
|
1867
|
-
}, { URL: We } = h("NETWORK-TEST_SERVICE"), { getAll:
|
|
1876
|
+
}, { URL: We } = h("NETWORK-TEST_SERVICE"), { getAll: Ui, getOne: pr } = f.build({
|
|
1868
1877
|
basePath: `${We}/api/app/ncui/network/tests`
|
|
1869
|
-
}),
|
|
1878
|
+
}), Vi = g.createLogger({
|
|
1870
1879
|
name: "network-test-service",
|
|
1871
1880
|
group: "Services"
|
|
1872
1881
|
}), gr = async () => {
|
|
1873
|
-
|
|
1874
|
-
const e = await
|
|
1882
|
+
Vi.debug("sending GET for network-test");
|
|
1883
|
+
const e = await Ui({
|
|
1875
1884
|
urlOverride: `${We}/api/app/kosdev.ddk/network/tests`
|
|
1876
1885
|
});
|
|
1877
1886
|
return e == null ? void 0 : e.data;
|
|
@@ -1883,16 +1892,16 @@ const dr = {
|
|
|
1883
1892
|
}, fr = async (e, t) => await pr({
|
|
1884
1893
|
urlOverride: `${We}/api/app/kosdev.ddk/network/tests/run/group/${e}`,
|
|
1885
1894
|
tracker: t
|
|
1886
|
-
}),
|
|
1895
|
+
}), Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1887
1896
|
__proto__: null,
|
|
1888
1897
|
getNetworkTests: gr,
|
|
1889
1898
|
getTestsReports: hr,
|
|
1890
1899
|
performGroupTest: fr
|
|
1891
1900
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1892
|
-
var
|
|
1893
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
1901
|
+
var Hi = Object.defineProperty, Wi = Object.getOwnPropertyDescriptor, ut = (e, t, r, i) => {
|
|
1902
|
+
for (var o = i > 1 ? void 0 : i ? Wi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
1894
1903
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
1895
|
-
return i && o &&
|
|
1904
|
+
return i && o && Hi(t, r, o), o;
|
|
1896
1905
|
};
|
|
1897
1906
|
const oe = "network-test-container-model";
|
|
1898
1907
|
let de = class {
|
|
@@ -1902,7 +1911,7 @@ let de = class {
|
|
|
1902
1911
|
s(this, "lastTested");
|
|
1903
1912
|
s(this, "futureHandler");
|
|
1904
1913
|
s(this, "models");
|
|
1905
|
-
this.id = e, this.logger = r.logger, this.futureHandler = new
|
|
1914
|
+
this.id = e, this.logger = r.logger, this.futureHandler = new pe(this), this.models = new tt({
|
|
1906
1915
|
parentId: e,
|
|
1907
1916
|
indexMap: {
|
|
1908
1917
|
group: "group"
|
|
@@ -1931,7 +1940,7 @@ let de = class {
|
|
|
1931
1940
|
const t = this.models.getIndexByKey("group", e).map((i) => i.timestamp && new Date(i.timestamp)), r = Math.max(
|
|
1932
1941
|
...t.map((i) => i ? i.getTime() : 0)
|
|
1933
1942
|
);
|
|
1934
|
-
return r ?
|
|
1943
|
+
return r ? bi(new Date(r)) : "";
|
|
1935
1944
|
}
|
|
1936
1945
|
async load() {
|
|
1937
1946
|
this.logger.debug(`loading network-test-container container ${this.id}`);
|
|
@@ -1984,16 +1993,16 @@ let de = class {
|
|
|
1984
1993
|
});
|
|
1985
1994
|
}
|
|
1986
1995
|
};
|
|
1987
|
-
|
|
1988
|
-
|
|
1996
|
+
ut([
|
|
1997
|
+
Le
|
|
1989
1998
|
], de.prototype, "models", 2);
|
|
1990
|
-
|
|
1999
|
+
ut([
|
|
1991
2000
|
v()
|
|
1992
2001
|
], de.prototype, "performTest", 1);
|
|
1993
|
-
de =
|
|
2002
|
+
de = ut([
|
|
1994
2003
|
l(oe)
|
|
1995
2004
|
], de);
|
|
1996
|
-
const
|
|
2005
|
+
const Ni = {
|
|
1997
2006
|
registration: {
|
|
1998
2007
|
[oe]: {
|
|
1999
2008
|
class: de,
|
|
@@ -2005,13 +2014,13 @@ const ji = {
|
|
|
2005
2014
|
predicate: u(oe),
|
|
2006
2015
|
factory: c.Singleton.create(oe)
|
|
2007
2016
|
};
|
|
2008
|
-
var
|
|
2009
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2017
|
+
var zi = Object.defineProperty, Bi = Object.getOwnPropertyDescriptor, mr = (e, t, r, i) => {
|
|
2018
|
+
for (var o = i > 1 ? void 0 : i ? Bi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2010
2019
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2011
|
-
return i && o &&
|
|
2020
|
+
return i && o && zi(t, r, o), o;
|
|
2012
2021
|
};
|
|
2013
2022
|
const ie = "nutritive-sweetener-model";
|
|
2014
|
-
let
|
|
2023
|
+
let Pe = class {
|
|
2015
2024
|
constructor(e, t, r) {
|
|
2016
2025
|
s(this, "id");
|
|
2017
2026
|
s(this, "assemblyModel");
|
|
@@ -2034,14 +2043,14 @@ let Oe = class {
|
|
|
2034
2043
|
};
|
|
2035
2044
|
mr([
|
|
2036
2045
|
m({ modelType: Fe.type })
|
|
2037
|
-
],
|
|
2038
|
-
|
|
2046
|
+
], Pe.prototype, "assemblyModel", 2);
|
|
2047
|
+
Pe = mr([
|
|
2039
2048
|
l(ie)
|
|
2040
|
-
],
|
|
2041
|
-
const
|
|
2049
|
+
], Pe);
|
|
2050
|
+
const Ki = {
|
|
2042
2051
|
registration: {
|
|
2043
2052
|
[ie]: {
|
|
2044
|
-
class:
|
|
2053
|
+
class: Pe,
|
|
2045
2054
|
singleton: !1
|
|
2046
2055
|
}
|
|
2047
2056
|
},
|
|
@@ -2049,13 +2058,13 @@ const Hi = {
|
|
|
2049
2058
|
predicate: u(ie),
|
|
2050
2059
|
factory: c.Factory.create(ie)
|
|
2051
2060
|
};
|
|
2052
|
-
var
|
|
2053
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2061
|
+
var Yi = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, yr = (e, t, r, i) => {
|
|
2062
|
+
for (var o = i > 1 ? void 0 : i ? qi(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2054
2063
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2055
|
-
return i && o &&
|
|
2064
|
+
return i && o && Yi(t, r, o), o;
|
|
2056
2065
|
};
|
|
2057
2066
|
const se = "plain-water-model";
|
|
2058
|
-
let
|
|
2067
|
+
let Oe = class {
|
|
2059
2068
|
constructor(e, t, r) {
|
|
2060
2069
|
s(this, "id");
|
|
2061
2070
|
s(this, "assemblyModel");
|
|
@@ -2068,7 +2077,7 @@ let Me = class {
|
|
|
2068
2077
|
getPump() {
|
|
2069
2078
|
var i, o;
|
|
2070
2079
|
const e = this.getHolder(), t = (o = (i = e == null ? void 0 : e.pumps) == null ? void 0 : i.data) == null ? void 0 : o[0];
|
|
2071
|
-
return
|
|
2080
|
+
return rt(t, Kt.type);
|
|
2072
2081
|
}
|
|
2073
2082
|
// -------------------LIFECYCLE----------------------------
|
|
2074
2083
|
async init() {
|
|
@@ -2080,31 +2089,31 @@ let Me = class {
|
|
|
2080
2089
|
};
|
|
2081
2090
|
yr([
|
|
2082
2091
|
m({ modelType: Fe.type })
|
|
2083
|
-
],
|
|
2084
|
-
|
|
2092
|
+
], Oe.prototype, "assemblyModel", 2);
|
|
2093
|
+
Oe = yr([
|
|
2085
2094
|
l(se)
|
|
2086
|
-
],
|
|
2087
|
-
const
|
|
2095
|
+
], Oe);
|
|
2096
|
+
const Gi = {
|
|
2088
2097
|
registration: {
|
|
2089
2098
|
[se]: {
|
|
2090
|
-
class:
|
|
2099
|
+
class: Oe,
|
|
2091
2100
|
singleton: !1
|
|
2092
2101
|
}
|
|
2093
2102
|
},
|
|
2094
2103
|
type: se,
|
|
2095
2104
|
predicate: u(se),
|
|
2096
2105
|
factory: c.Factory.create(se)
|
|
2097
|
-
}, { URL: br } = h("REBOOT_SERVICE"), { postModel:
|
|
2106
|
+
}, { URL: br } = h("REBOOT_SERVICE"), { postModel: Qi } = f.build({
|
|
2098
2107
|
basePath: `${br}/api/reboot`
|
|
2099
|
-
}),
|
|
2108
|
+
}), Xi = g.createLogger({ name: "reboot-service", group: "Services" }), vr = async () => (Xi.debug("sending POST call for Reboot Dispenser"), await Qi({
|
|
2100
2109
|
urlOverride: `${br}/api/app/kosdev.ddk/ncui/reboot`,
|
|
2101
2110
|
model: {}
|
|
2102
|
-
})),
|
|
2111
|
+
})), qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2103
2112
|
__proto__: null,
|
|
2104
2113
|
rebootDispenser: vr
|
|
2105
2114
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2106
|
-
var
|
|
2107
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2115
|
+
var Ji = Object.getOwnPropertyDescriptor, Zi = (e, t, r, i) => {
|
|
2116
|
+
for (var o = i > 1 ? void 0 : i ? Ji(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2108
2117
|
(a = e[n]) && (o = a(o) || o);
|
|
2109
2118
|
return o;
|
|
2110
2119
|
};
|
|
@@ -2128,10 +2137,10 @@ let Ze = class {
|
|
|
2128
2137
|
this.logger.debug(`loading reboot ${this.id}`);
|
|
2129
2138
|
}
|
|
2130
2139
|
};
|
|
2131
|
-
Ze =
|
|
2140
|
+
Ze = Zi([
|
|
2132
2141
|
l(ae)
|
|
2133
2142
|
], Ze);
|
|
2134
|
-
const
|
|
2143
|
+
const es = {
|
|
2135
2144
|
registration: {
|
|
2136
2145
|
[ae]: {
|
|
2137
2146
|
class: Ze,
|
|
@@ -2142,10 +2151,10 @@ const Gi = {
|
|
|
2142
2151
|
predicate: u(ae),
|
|
2143
2152
|
factory: c.Factory.create(ae)
|
|
2144
2153
|
};
|
|
2145
|
-
var
|
|
2146
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2154
|
+
var ts = Object.defineProperty, rs = Object.getOwnPropertyDescriptor, C = (e, t, r, i) => {
|
|
2155
|
+
for (var o = i > 1 ? void 0 : i ? rs(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2147
2156
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2148
|
-
return i && o &&
|
|
2157
|
+
return i && o && ts(t, r, o), o;
|
|
2149
2158
|
};
|
|
2150
2159
|
const ne = "settings-model";
|
|
2151
2160
|
let P = class {
|
|
@@ -2196,61 +2205,61 @@ let P = class {
|
|
|
2196
2205
|
};
|
|
2197
2206
|
}
|
|
2198
2207
|
};
|
|
2199
|
-
|
|
2208
|
+
C([
|
|
2200
2209
|
d({
|
|
2201
2210
|
path: "system:app",
|
|
2202
2211
|
attribute: "resolveDelaysMs"
|
|
2203
2212
|
// optionsExpander: () => [],
|
|
2204
2213
|
})
|
|
2205
2214
|
], P.prototype, "resolveDelaysMs", 2);
|
|
2206
|
-
|
|
2215
|
+
C([
|
|
2207
2216
|
d({
|
|
2208
2217
|
path: "system:app",
|
|
2209
2218
|
attribute: "dateFormat"
|
|
2210
2219
|
// optionsExpander: () => [],
|
|
2211
2220
|
})
|
|
2212
2221
|
], P.prototype, "dateFormat", 2);
|
|
2213
|
-
|
|
2222
|
+
C([
|
|
2214
2223
|
d({
|
|
2215
2224
|
path: "system:app",
|
|
2216
2225
|
attribute: "timeFormat"
|
|
2217
2226
|
// optionsExpander: () => [],
|
|
2218
2227
|
})
|
|
2219
2228
|
], P.prototype, "timeFormat", 2);
|
|
2220
|
-
|
|
2229
|
+
C([
|
|
2221
2230
|
d({
|
|
2222
2231
|
path: "app:kosdev.ddk:app",
|
|
2223
2232
|
attribute: "ncui.hidePlainWaterBev"
|
|
2224
2233
|
})
|
|
2225
2234
|
], P.prototype, "hidePlainWaterBev", 2);
|
|
2226
|
-
|
|
2235
|
+
C([
|
|
2227
2236
|
d({
|
|
2228
2237
|
path: "app:kosdev.ddk:app",
|
|
2229
2238
|
attribute: "ncui.hideCarbWaterBev"
|
|
2230
2239
|
})
|
|
2231
2240
|
], P.prototype, "hideCarbWaterBev", 2);
|
|
2232
|
-
|
|
2241
|
+
C([
|
|
2233
2242
|
d({
|
|
2234
2243
|
path: "app:kosdev.ddk:app",
|
|
2235
2244
|
attribute: "ncui.ncuiLanguage"
|
|
2236
2245
|
})
|
|
2237
2246
|
], P.prototype, "ncuiLanguage", 2);
|
|
2238
|
-
|
|
2247
|
+
C([
|
|
2239
2248
|
d({
|
|
2240
2249
|
path: "kos:device",
|
|
2241
2250
|
attribute: "name"
|
|
2242
2251
|
})
|
|
2243
2252
|
], P.prototype, "name", 2);
|
|
2244
|
-
|
|
2253
|
+
C([
|
|
2245
2254
|
d({
|
|
2246
2255
|
path: "kos:service:OTA",
|
|
2247
2256
|
attribute: "activateAndRebootTime"
|
|
2248
2257
|
})
|
|
2249
2258
|
], P.prototype, "activateAndRebootTime", 2);
|
|
2250
|
-
P =
|
|
2259
|
+
P = C([
|
|
2251
2260
|
l(ne)
|
|
2252
2261
|
], P);
|
|
2253
|
-
const
|
|
2262
|
+
const os = {
|
|
2254
2263
|
registration: {
|
|
2255
2264
|
[ne]: {
|
|
2256
2265
|
class: P,
|
|
@@ -2262,18 +2271,18 @@ const Ji = {
|
|
|
2262
2271
|
factory: c.Singleton.create(ne)
|
|
2263
2272
|
}, { URL: _r } = h("SETTINGS_SERVICE"), { getAll: $r } = f.build({
|
|
2264
2273
|
basePath: `${_r}/api/settings`
|
|
2265
|
-
}),
|
|
2274
|
+
}), is = g.createLogger({
|
|
2266
2275
|
name: "settings-service",
|
|
2267
2276
|
group: "Services"
|
|
2268
|
-
}),
|
|
2277
|
+
}), ss = async () => (is.debug("sending GET for settings"), await $r({})), as = async () => await $r({
|
|
2269
2278
|
urlOverride: `${_r}api/app/kosdev.ddk/ncui/languages`
|
|
2270
|
-
}),
|
|
2279
|
+
}), Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2271
2280
|
__proto__: null,
|
|
2272
|
-
getNcuiLanguage:
|
|
2273
|
-
getSettings:
|
|
2281
|
+
getNcuiLanguage: as,
|
|
2282
|
+
getSettings: ss
|
|
2274
2283
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2275
|
-
var
|
|
2276
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2284
|
+
var ns = Object.getOwnPropertyDescriptor, ls = (e, t, r, i) => {
|
|
2285
|
+
for (var o = i > 1 ? void 0 : i ? ns(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2277
2286
|
(a = e[n]) && (o = a(o) || o);
|
|
2278
2287
|
return o;
|
|
2279
2288
|
};
|
|
@@ -2305,7 +2314,7 @@ let et = class {
|
|
|
2305
2314
|
this.logger.debug(`loading utilities ${this.id}`);
|
|
2306
2315
|
}
|
|
2307
2316
|
};
|
|
2308
|
-
et =
|
|
2317
|
+
et = ls([
|
|
2309
2318
|
l(le)
|
|
2310
2319
|
], et);
|
|
2311
2320
|
const Tr = {
|
|
@@ -2318,28 +2327,28 @@ const Tr = {
|
|
|
2318
2327
|
type: le,
|
|
2319
2328
|
predicate: u(le),
|
|
2320
2329
|
factory: c.Factory.create(le)
|
|
2321
|
-
}, { URL: Pr } = h("UTILITIES_SERVICE"), { getAll:
|
|
2330
|
+
}, { URL: Pr } = h("UTILITIES_SERVICE"), { getAll: cs } = f.build({
|
|
2322
2331
|
basePath: `${Pr}/api/utilities`
|
|
2323
|
-
}),
|
|
2332
|
+
}), us = g.createLogger({
|
|
2324
2333
|
name: "utilities-service",
|
|
2325
2334
|
group: "Services"
|
|
2326
2335
|
}), Or = async () => {
|
|
2327
|
-
|
|
2328
|
-
const e = await
|
|
2336
|
+
us.debug("sending GET for utilities");
|
|
2337
|
+
const e = await cs({
|
|
2329
2338
|
urlOverride: `${Pr}/api/kos/descriptor/system:app/kondra.ncui.utilities`
|
|
2330
2339
|
});
|
|
2331
2340
|
return e == null ? void 0 : e.data;
|
|
2332
|
-
},
|
|
2341
|
+
}, Qs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2333
2342
|
__proto__: null,
|
|
2334
2343
|
getUtilities: Or
|
|
2335
2344
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2336
|
-
var
|
|
2337
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2345
|
+
var ds = Object.defineProperty, ps = Object.getOwnPropertyDescriptor, Mr = (e, t, r, i) => {
|
|
2346
|
+
for (var o = i > 1 ? void 0 : i ? ps(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2338
2347
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2339
|
-
return i && o &&
|
|
2348
|
+
return i && o && ds(t, r, o), o;
|
|
2340
2349
|
};
|
|
2341
2350
|
const ce = "utilities-container-model";
|
|
2342
|
-
let
|
|
2351
|
+
let Me = class {
|
|
2343
2352
|
constructor(e, t, r) {
|
|
2344
2353
|
s(this, "id");
|
|
2345
2354
|
s(this, "logger");
|
|
@@ -2391,15 +2400,15 @@ let Se = class {
|
|
|
2391
2400
|
}
|
|
2392
2401
|
};
|
|
2393
2402
|
Mr([
|
|
2394
|
-
|
|
2395
|
-
],
|
|
2396
|
-
|
|
2403
|
+
Le
|
|
2404
|
+
], Me.prototype, "_models", 2);
|
|
2405
|
+
Me = Mr([
|
|
2397
2406
|
l(ce)
|
|
2398
|
-
],
|
|
2399
|
-
const
|
|
2407
|
+
], Me);
|
|
2408
|
+
const gs = {
|
|
2400
2409
|
registration: {
|
|
2401
2410
|
[ce]: {
|
|
2402
|
-
class:
|
|
2411
|
+
class: Me,
|
|
2403
2412
|
singleton: !0
|
|
2404
2413
|
},
|
|
2405
2414
|
...Tr.registration
|
|
@@ -2407,32 +2416,32 @@ const ls = {
|
|
|
2407
2416
|
type: ce,
|
|
2408
2417
|
predicate: u(ce),
|
|
2409
2418
|
factory: c.Singleton.create(ce)
|
|
2410
|
-
},
|
|
2411
|
-
...
|
|
2412
|
-
...at.registration,
|
|
2413
|
-
...it.registration,
|
|
2414
|
-
...xo.registration,
|
|
2419
|
+
}, Xs = {
|
|
2420
|
+
...wo.registration,
|
|
2415
2421
|
...nt.registration,
|
|
2416
|
-
...
|
|
2417
|
-
...
|
|
2418
|
-
...
|
|
2419
|
-
...
|
|
2420
|
-
...
|
|
2421
|
-
...
|
|
2422
|
-
|
|
2422
|
+
...st.registration,
|
|
2423
|
+
...Uo.registration,
|
|
2424
|
+
...lt.registration,
|
|
2425
|
+
...Xo.registration,
|
|
2426
|
+
...ii.registration,
|
|
2427
|
+
...di.registration,
|
|
2428
|
+
...$i.registration,
|
|
2429
|
+
...xi.registration,
|
|
2423
2430
|
...Ni.registration,
|
|
2431
|
+
...Ki.registration,
|
|
2424
2432
|
...Gi.registration,
|
|
2425
|
-
...
|
|
2433
|
+
...es.registration,
|
|
2434
|
+
...os.registration,
|
|
2426
2435
|
...It.registration,
|
|
2427
|
-
...
|
|
2436
|
+
...gs.registration
|
|
2428
2437
|
};
|
|
2429
|
-
var
|
|
2430
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2438
|
+
var hs = Object.defineProperty, fs = Object.getOwnPropertyDescriptor, Sr = (e, t, r, i) => {
|
|
2439
|
+
for (var o = i > 1 ? void 0 : i ? fs(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2431
2440
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2432
|
-
return i && o &&
|
|
2441
|
+
return i && o && hs(t, r, o), o;
|
|
2433
2442
|
};
|
|
2434
2443
|
const Cr = "trouble-action-model";
|
|
2435
|
-
let
|
|
2444
|
+
let Se = class {
|
|
2436
2445
|
constructor(e, t, r) {
|
|
2437
2446
|
s(this, "id");
|
|
2438
2447
|
s(this, "logger");
|
|
@@ -2440,7 +2449,7 @@ let Ce = class {
|
|
|
2440
2449
|
s(this, "disposer");
|
|
2441
2450
|
s(this, "state");
|
|
2442
2451
|
s(this, "troubleActionData");
|
|
2443
|
-
this.id = e, this.logger = r.logger, this.state =
|
|
2452
|
+
this.id = e, this.logger = r.logger, this.state = Qr(), this.troubleActionData = t.definitions.reduce((i, o) => (i[o.troubleType] = o, i), {});
|
|
2444
2453
|
}
|
|
2445
2454
|
// -------------------LIFECYCLE----------------------------
|
|
2446
2455
|
get activeTrouble() {
|
|
@@ -2458,7 +2467,7 @@ let Ce = class {
|
|
|
2458
2467
|
return (e = this.activeTrouble) == null ? void 0 : e.type;
|
|
2459
2468
|
}
|
|
2460
2469
|
async init() {
|
|
2461
|
-
this.logger.debug(`initializing trouble-action ${this.id}`), this.disposer =
|
|
2470
|
+
this.logger.debug(`initializing trouble-action ${this.id}`), this.disposer = Xr(() => {
|
|
2462
2471
|
const e = this.troubleContainer.troubles.data.reduce((t, r) => {
|
|
2463
2472
|
const i = r.type;
|
|
2464
2473
|
if (this.troubleActionData[i]) {
|
|
@@ -2484,29 +2493,29 @@ let Ce = class {
|
|
|
2484
2493
|
}
|
|
2485
2494
|
};
|
|
2486
2495
|
Sr([
|
|
2487
|
-
m({ modelType:
|
|
2488
|
-
],
|
|
2489
|
-
|
|
2496
|
+
m({ modelType: ot.type })
|
|
2497
|
+
], Se.prototype, "troubleContainer", 2);
|
|
2498
|
+
Se = Sr([
|
|
2490
2499
|
l(Cr)
|
|
2491
|
-
],
|
|
2492
|
-
const
|
|
2493
|
-
class:
|
|
2500
|
+
], Se);
|
|
2501
|
+
const Js = new ke({
|
|
2502
|
+
class: Se,
|
|
2494
2503
|
type: Cr
|
|
2495
|
-
}), { URL: wr } = h("START_SERVICE"), { getOne:
|
|
2504
|
+
}), { URL: wr } = h("START_SERVICE"), { getOne: ms } = f.build({
|
|
2496
2505
|
basePath: `${wr}/api/start`
|
|
2497
|
-
}),
|
|
2506
|
+
}), ys = g.createLogger({ name: "start-service", group: "Services" }), Er = async () => (ys.debug("navigating to NCUI"), await ms({
|
|
2498
2507
|
urlOverride: `${wr}/api/app/kosdev.ddk/ncui/open`
|
|
2499
|
-
})),
|
|
2508
|
+
})), Zs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2500
2509
|
__proto__: null,
|
|
2501
2510
|
navigateToNCui: Er
|
|
2502
2511
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2503
|
-
var
|
|
2504
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2512
|
+
var bs = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, Lr = (e, t, r, i) => {
|
|
2513
|
+
for (var o = i > 1 ? void 0 : i ? vs(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2505
2514
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2506
|
-
return i && o &&
|
|
2515
|
+
return i && o && bs(t, r, o), o;
|
|
2507
2516
|
};
|
|
2508
2517
|
const Dr = "start-model";
|
|
2509
|
-
let
|
|
2518
|
+
let Ce = class {
|
|
2510
2519
|
constructor(e, t, r) {
|
|
2511
2520
|
s(this, "id");
|
|
2512
2521
|
s(this, "logger");
|
|
@@ -2537,16 +2546,16 @@ let we = class {
|
|
|
2537
2546
|
}
|
|
2538
2547
|
};
|
|
2539
2548
|
Lr([
|
|
2540
|
-
m({ modelType:
|
|
2541
|
-
],
|
|
2542
|
-
|
|
2549
|
+
m({ modelType: ot.type })
|
|
2550
|
+
], Ce.prototype, "troubles", 2);
|
|
2551
|
+
Ce = Lr([
|
|
2543
2552
|
l(Dr)
|
|
2544
|
-
],
|
|
2545
|
-
const
|
|
2546
|
-
class:
|
|
2553
|
+
], Ce);
|
|
2554
|
+
const ea = new ke({
|
|
2555
|
+
class: Ce,
|
|
2547
2556
|
type: Dr
|
|
2548
|
-
}), { URL:
|
|
2549
|
-
basePath: `${
|
|
2557
|
+
}), { URL: me } = h("SPM-PUMP_SERVICE"), { postModel: Ne } = f.build({
|
|
2558
|
+
basePath: `${me}/api/spm-pump`
|
|
2550
2559
|
}), $ = g.createLogger({
|
|
2551
2560
|
name: "spm-pump-service",
|
|
2552
2561
|
group: "Services"
|
|
@@ -2555,9 +2564,9 @@ const Gs = new pe({
|
|
|
2555
2564
|
`performPreCalibrate - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/preCalibrate`
|
|
2556
2565
|
);
|
|
2557
2566
|
try {
|
|
2558
|
-
const r = await
|
|
2567
|
+
const r = await Ne({
|
|
2559
2568
|
model: {},
|
|
2560
|
-
urlOverride: `${
|
|
2569
|
+
urlOverride: `${me}/api/ext/freestyle/microCalibration/pour/${e}/preCalibrate`,
|
|
2561
2570
|
tracker: t
|
|
2562
2571
|
});
|
|
2563
2572
|
return $.debug("performPreCalibrate - response:", r), r != null && r.data && T.initiateFuture(r.data), r == null ? void 0 : r.data;
|
|
@@ -2579,9 +2588,9 @@ const Gs = new pe({
|
|
|
2579
2588
|
`performCalibrate - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/calibrate`
|
|
2580
2589
|
);
|
|
2581
2590
|
try {
|
|
2582
|
-
const r = await
|
|
2591
|
+
const r = await Ne({
|
|
2583
2592
|
model: {},
|
|
2584
|
-
urlOverride: `${
|
|
2593
|
+
urlOverride: `${me}/api/ext/freestyle/microCalibration/pour/${e}/calibrate`,
|
|
2585
2594
|
tracker: t
|
|
2586
2595
|
});
|
|
2587
2596
|
return $.debug("performCalibrate - response:", r), r != null && r.data && T.initiateFuture(r.data), r == null ? void 0 : r.data;
|
|
@@ -2603,7 +2612,7 @@ const Gs = new pe({
|
|
|
2603
2612
|
`performVerify - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/verify`
|
|
2604
2613
|
);
|
|
2605
2614
|
try {
|
|
2606
|
-
const o = await
|
|
2615
|
+
const o = await Ne({
|
|
2607
2616
|
model: {
|
|
2608
2617
|
...r,
|
|
2609
2618
|
// commandedCalibrationVolume: 0,
|
|
@@ -2612,7 +2621,7 @@ const Gs = new pe({
|
|
|
2612
2621
|
// newCalibrationValue: 0,
|
|
2613
2622
|
// pouredCalibrationVolume: 0,
|
|
2614
2623
|
},
|
|
2615
|
-
urlOverride: `${
|
|
2624
|
+
urlOverride: `${me}/api/ext/freestyle/microCalibration/pour/${e}/verify`,
|
|
2616
2625
|
tracker: i
|
|
2617
2626
|
});
|
|
2618
2627
|
return $.debug("performVerify - response:", o), o != null && o.data && T.initiateFuture(o.data), o == null ? void 0 : o.data;
|
|
@@ -2635,7 +2644,7 @@ const Gs = new pe({
|
|
|
2635
2644
|
`performComplete - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/complete`
|
|
2636
2645
|
);
|
|
2637
2646
|
try {
|
|
2638
|
-
const p = await
|
|
2647
|
+
const p = await Ne({
|
|
2639
2648
|
model: {
|
|
2640
2649
|
...i,
|
|
2641
2650
|
// commandedCalibrationVolume: 0,
|
|
@@ -2644,7 +2653,7 @@ const Gs = new pe({
|
|
|
2644
2653
|
// newCalibrationValue: 0,
|
|
2645
2654
|
// pouredCalibrationVolume: 0,
|
|
2646
2655
|
},
|
|
2647
|
-
urlOverride: `${
|
|
2656
|
+
urlOverride: `${me}/api/ext/freestyle/microCalibration/pour/${e}/complete`
|
|
2648
2657
|
});
|
|
2649
2658
|
return $.debug("performComplete - response:", p), ((p == null ? void 0 : p.status) === 200 || (p == null ? void 0 : p.status) === 499) && ((o = p.data) != null && o.error) ? [p.data.error || "unknownError", p.data] : [void 0, p == null ? void 0 : p.data];
|
|
2650
2659
|
} catch (p) {
|
|
@@ -2652,22 +2661,22 @@ const Gs = new pe({
|
|
|
2652
2661
|
`performComplete - sending POST request to /api/ext/freestyle/microCalibration/pour/${e}/complete`,
|
|
2653
2662
|
p
|
|
2654
2663
|
), p instanceof Re) {
|
|
2655
|
-
const
|
|
2656
|
-
return [
|
|
2664
|
+
const dt = ((a = (n = p.payload) == null ? void 0 : n.data) == null ? void 0 : a.error) || ((O = p.payload) == null ? void 0 : O.error) || "unknownError";
|
|
2665
|
+
return [dt, ((D = p.payload) == null ? void 0 : D.data) || { error: dt }];
|
|
2657
2666
|
}
|
|
2658
2667
|
}
|
|
2659
2668
|
return ["unknownError", { error: "unknownError" }];
|
|
2660
|
-
},
|
|
2669
|
+
}, ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2661
2670
|
__proto__: null,
|
|
2662
2671
|
performCalibrate: Rr,
|
|
2663
2672
|
performComplete: Fr,
|
|
2664
2673
|
performPreCalibrate: kr,
|
|
2665
2674
|
performVerify: Ir
|
|
2666
2675
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2667
|
-
var
|
|
2668
|
-
for (var o = i > 1 ? void 0 : i ?
|
|
2676
|
+
var _s = Object.defineProperty, $s = Object.getOwnPropertyDescriptor, ze = (e, t, r, i) => {
|
|
2677
|
+
for (var o = i > 1 ? void 0 : i ? $s(t, r) : t, n = e.length - 1, a; n >= 0; n--)
|
|
2669
2678
|
(a = e[n]) && (o = (i ? a(t, r, o) : a(o)) || o);
|
|
2670
|
-
return i && o &&
|
|
2679
|
+
return i && o && _s(t, r, o), o;
|
|
2671
2680
|
};
|
|
2672
2681
|
const xr = "spm-pump-model";
|
|
2673
2682
|
let j = class {
|
|
@@ -2676,7 +2685,7 @@ let j = class {
|
|
|
2676
2685
|
s(this, "logger");
|
|
2677
2686
|
s(this, "pump");
|
|
2678
2687
|
s(this, "futureHandler");
|
|
2679
|
-
this.id = e, this.logger = r.logger, this.pump = t.companionParent, this.futureHandler = new
|
|
2688
|
+
this.id = e, this.logger = r.logger, this.pump = t.companionParent, this.futureHandler = new pe(this);
|
|
2680
2689
|
}
|
|
2681
2690
|
get name() {
|
|
2682
2691
|
return this.pump.name;
|
|
@@ -2716,81 +2725,81 @@ let j = class {
|
|
|
2716
2725
|
this.logger.debug(`loading spm-pump ${this.id}`);
|
|
2717
2726
|
}
|
|
2718
2727
|
};
|
|
2719
|
-
|
|
2728
|
+
ze([
|
|
2720
2729
|
v()
|
|
2721
2730
|
], j.prototype, "performPreCalibrate", 1);
|
|
2722
|
-
|
|
2731
|
+
ze([
|
|
2723
2732
|
v()
|
|
2724
2733
|
], j.prototype, "performCalibrate", 1);
|
|
2725
|
-
|
|
2734
|
+
ze([
|
|
2726
2735
|
v()
|
|
2727
2736
|
], j.prototype, "performVerify", 1);
|
|
2728
|
-
j =
|
|
2737
|
+
j = ze([
|
|
2729
2738
|
l(xr)
|
|
2730
2739
|
], j);
|
|
2731
|
-
const
|
|
2740
|
+
const ra = new Ee({
|
|
2732
2741
|
class: j,
|
|
2733
2742
|
type: xr
|
|
2734
2743
|
});
|
|
2735
2744
|
export {
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2745
|
+
ws as AgitationControl,
|
|
2746
|
+
wo as Animation,
|
|
2747
|
+
Es as AnimationServices,
|
|
2748
|
+
nt as Application,
|
|
2749
|
+
st as Auth,
|
|
2750
|
+
Ss as AuthServices,
|
|
2751
|
+
Uo as CarbWater,
|
|
2752
|
+
ks as CopyLogs,
|
|
2753
|
+
Ds as CopyLogsServices,
|
|
2754
|
+
Xs as DDKModels,
|
|
2755
|
+
lt as DashboardOperations,
|
|
2756
|
+
Rs as DashboardOperationsServices,
|
|
2757
|
+
Xo as Dispenser,
|
|
2758
|
+
ii as DispenserInfo,
|
|
2759
|
+
Fs as DispenserInfoServices,
|
|
2760
|
+
Is as DispenserServices,
|
|
2761
|
+
co as Door,
|
|
2753
2762
|
ue as EXTENSION_POINT_DASHBOARD_KEY_FACTORY,
|
|
2754
|
-
|
|
2755
|
-
|
|
2763
|
+
di as Enrollment,
|
|
2764
|
+
xs as EnrollmentServices,
|
|
2756
2765
|
Kt as FcmPump,
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2766
|
+
Ls as FcmPumpServices,
|
|
2767
|
+
$i as IngredientSummary,
|
|
2768
|
+
Ns as LfcvPump,
|
|
2769
|
+
zs as LfcvPumpServices,
|
|
2770
|
+
Ks as Lockout,
|
|
2771
|
+
Bs as LockoutServices,
|
|
2772
|
+
Vs as MACRO_KEYS,
|
|
2773
|
+
xi as MacroAssignment,
|
|
2765
2774
|
dr as NetworkTest,
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2775
|
+
Ni as NetworkTestContainer,
|
|
2776
|
+
Ys as NetworkTestServices,
|
|
2777
|
+
Ki as NutritiveSweetener,
|
|
2778
|
+
Gi as PlainWater,
|
|
2779
|
+
es as Reboot,
|
|
2780
|
+
qs as RebootServices,
|
|
2781
|
+
os as Settings,
|
|
2782
|
+
Gs as SettingsServices,
|
|
2774
2783
|
Rt as SetupStep,
|
|
2775
2784
|
It as SetupStepContainer,
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2785
|
+
Cs as SetupStepServices,
|
|
2786
|
+
ra as SpmPump,
|
|
2787
|
+
ta as SpmPumpServices,
|
|
2788
|
+
ea as Start,
|
|
2789
|
+
Zs as StartServices,
|
|
2790
|
+
to as TROUBLE_TYPE_PRIME,
|
|
2791
|
+
ht as TROUBLE_TYPE_PURGE,
|
|
2792
|
+
Js as TroubleActionManager,
|
|
2784
2793
|
Tr as Utilities,
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2794
|
+
gs as UtilitiesContainer,
|
|
2795
|
+
Qs as UtilitiesServices,
|
|
2796
|
+
bi as calculateTimeDifference,
|
|
2797
|
+
yi as executeDashboardKeyFactory,
|
|
2798
|
+
js as isMacroGroup,
|
|
2799
|
+
As as isMicroGroup,
|
|
2800
|
+
Us as macroHolderMap,
|
|
2801
|
+
mi as registerDashboardKeyFactory,
|
|
2802
|
+
Ws as toSeconds,
|
|
2803
|
+
Hs as toTimeComponents,
|
|
2795
2804
|
jt as troubleVisibilityFilter
|
|
2796
2805
|
};
|