@kosdev-code/kos-dispense-sdk 2.0.40 → 2.0.41
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/dispense-registration-manager-DFEU9oXa.cjs +2 -0
- package/{dispense-registration-manager-BZeOXyYn.cjs.map → dispense-registration-manager-DFEU9oXa.cjs.map} +1 -1
- package/{dispense-registration-manager-eOOE05xT.js → dispense-registration-manager-DZWwSdsc.js} +248 -248
- package/{dispense-registration-manager-eOOE05xT.js.map → dispense-registration-manager-DZWwSdsc.js.map} +1 -1
- package/{extension-utils-B9gziKDQ.js → extension-utils-C-QjbNHU.js} +2 -2
- package/{extension-utils-B9gziKDQ.js.map → extension-utils-C-QjbNHU.js.map} +1 -1
- package/{extension-utils-DcOOx69a.cjs → extension-utils-CKGiF5Qr.cjs} +2 -2
- package/{extension-utils-DcOOx69a.cjs.map → extension-utils-CKGiF5Qr.cjs.map} +1 -1
- package/index.cjs +1 -1
- package/index.js +3 -3
- package/models.cjs +1 -1
- package/models.js +2 -2
- package/package.json +3 -3
- package/pump-provider-B7qOq1di.cjs +2 -0
- package/pump-provider-B7qOq1di.cjs.map +1 -0
- package/{pump-provider--hQGuh_w.js → pump-provider-BO5BamvM.js} +276 -277
- package/pump-provider-BO5BamvM.js.map +1 -0
- package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts +1 -0
- package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts.map +1 -1
- package/ui.cjs +1 -1
- package/ui.js +2 -2
- package/dispense-registration-manager-BZeOXyYn.cjs +0 -2
- package/pump-provider--hQGuh_w.js.map +0 -1
- package/pump-provider-5w04Zi8j.cjs +0 -2
- package/pump-provider-5w04Zi8j.cjs.map +0 -1
package/{dispense-registration-manager-eOOE05xT.js → dispense-registration-manager-DZWwSdsc.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var pt = Object.defineProperty;
|
|
2
2
|
var ut = (e, t, r) => t in e ? pt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var o = (e, t, r) => (ut(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
-
import { kosModel as I,
|
|
4
|
+
import { kosModel as I, Kos as b, isKosModel as v, resolveServiceUrl as S, ServiceFactory as C, KosLog as f, KosModelContainer as R, KosExtensionUtils as N, kosChild as M, FetchError as gt, ExtensionManager as g, EXTENSION_TROUBLE_MAPPER as Me, EXTENSION_TROUBLE_DATA_MAPPER as W, getKosModelSync as z, kosDependency as ce, TroubleContainer as xe, troubleByTypeReducer as Ae, kosAction as h, kosTopicHandler as Q, DependencyLifecycle as Be, getKosModel as Ue, FutureManager as pe, kosFuture as ue, FutureHandler as Ge, EXTENSION_FEATURE_FLAG_RESOLVER as ht, isKosDataModel as yt, ChildModels as It, KosFeatureFlags as mt, kosParentAware as ft, createPropKey as Pt, MultipleFutureHandler as bt, arraysEqual as vt, getAllKosCompanionModels as E, EventBus as _, KosContextManager as _t, destroyKosModel as Mt, SingletonKosModelRegistrationFactory as Ot, KosModelRegistrationFactory as Et, KosModelRegistry as wt, RegistrationManager as O, registerCoreModels as $t, registerLegacyModel as St } from "@kosdev-code/kos-ui-sdk";
|
|
5
5
|
import "react";
|
|
6
|
-
var u = /* @__PURE__ */ ((e) => (e.IngredientLoader = "kos.ingredient.loader", e.IngredientMapper = "kos.ingredient.mapper", e.IngredientIndex = "kos.ingredient.index", e.IngredientTypeMapper = "kos.ingredient.type.mapper", e.HolderTypeMapper = "kos.holder.type.mapper", e.HolderMapper = "kos.holder.mapper", e.HolderIndex = "kos.holder.index", e.HolderIngredientMapper = "kos.holder.ingredient.mapper", e.AvailabilityMapper = "kos.availability.mapper", e.AvailabilityLoader = "kos.availability.loader", e.SelectedPourableMapper = "kos.selected.pourable.mapper", e.AssemblyMapper = "kos.assembly.mapper", e.BoardMapper = "kos.board.mapper", e.BoardIndex = "kos.board.index", e.PumpIndex = "kos.pump.index", e.AssemblyFeatureFlags = "kos.assembly.feature.flags", e))(u || {}), D = /* @__PURE__ */ ((e) => (e.Nozzle = "nozzle-model", e.Availability = "availability-model", e.Holder = "holder-model", e.HolderContainer = "holder-container-model", e.IngredientContainer = "ingredient-container-model", e.Ingredient = "ingredient-model", e.Pump = "pump-model", e.PumpContainer = "pump-container-model", e))(D || {}), Ct = Object.
|
|
7
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
8
|
-
(n = e[a]) && (i =
|
|
9
|
-
return
|
|
6
|
+
var u = /* @__PURE__ */ ((e) => (e.IngredientLoader = "kos.ingredient.loader", e.IngredientMapper = "kos.ingredient.mapper", e.IngredientIndex = "kos.ingredient.index", e.IngredientTypeMapper = "kos.ingredient.type.mapper", e.HolderTypeMapper = "kos.holder.type.mapper", e.HolderMapper = "kos.holder.mapper", e.HolderIndex = "kos.holder.index", e.HolderIngredientMapper = "kos.holder.ingredient.mapper", e.AvailabilityMapper = "kos.availability.mapper", e.AvailabilityLoader = "kos.availability.loader", e.SelectedPourableMapper = "kos.selected.pourable.mapper", e.AssemblyMapper = "kos.assembly.mapper", e.BoardMapper = "kos.board.mapper", e.BoardIndex = "kos.board.index", e.PumpIndex = "kos.pump.index", e.AssemblyFeatureFlags = "kos.assembly.feature.flags", e))(u || {}), D = /* @__PURE__ */ ((e) => (e.Nozzle = "nozzle-model", e.Availability = "availability-model", e.Holder = "holder-model", e.HolderContainer = "holder-container-model", e.IngredientContainer = "ingredient-container-model", e.Ingredient = "ingredient-model", e.Pump = "pump-model", e.PumpContainer = "pump-container-model", e))(D || {}), Ct = Object.getOwnPropertyDescriptor, Rt = (e, t, r, s) => {
|
|
7
|
+
for (var i = s > 1 ? void 0 : s ? Ct(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
8
|
+
(n = e[a]) && (i = n(i) || i);
|
|
9
|
+
return i;
|
|
10
10
|
};
|
|
11
11
|
const G = "ingredient-model";
|
|
12
12
|
let Pe = class {
|
|
@@ -36,7 +36,7 @@ let Pe = class {
|
|
|
36
36
|
// -------------------LIFECYCLE----------------------------
|
|
37
37
|
// -------------------ENTITY----------------------------
|
|
38
38
|
};
|
|
39
|
-
Pe =
|
|
39
|
+
Pe = Rt([
|
|
40
40
|
I(G)
|
|
41
41
|
], Pe);
|
|
42
42
|
const je = {
|
|
@@ -47,19 +47,19 @@ const je = {
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
type: G,
|
|
50
|
-
predicate:
|
|
51
|
-
factory:
|
|
52
|
-
}, { URL: Fe } = S("INGREDIENT_SERVICE"), { getOne:
|
|
50
|
+
predicate: v(G),
|
|
51
|
+
factory: b.Factory.create(G)
|
|
52
|
+
}, { URL: Fe } = S("INGREDIENT_SERVICE"), { getOne: Dt } = C.build({
|
|
53
53
|
basePath: `${Fe}/api/ext/dispense/ingredients`
|
|
54
|
-
}),
|
|
54
|
+
}), Tt = async () => await Dt({
|
|
55
55
|
urlOverride: `${Fe}/api/ext/dispense/ingredients`
|
|
56
56
|
});
|
|
57
|
-
var
|
|
58
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
57
|
+
var Nt = Object.defineProperty, zt = Object.getOwnPropertyDescriptor, He = (e, t, r, s) => {
|
|
58
|
+
for (var i = s > 1 ? void 0 : s ? zt(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
59
59
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
60
|
-
return s && i &&
|
|
60
|
+
return s && i && Nt(t, r, i), i;
|
|
61
61
|
};
|
|
62
|
-
const j = "ingredient-container-model",
|
|
62
|
+
const j = "ingredient-container-model", Lt = f.createLogger({ name: "ingredient-container-model" });
|
|
63
63
|
let se = class {
|
|
64
64
|
constructor(e, t) {
|
|
65
65
|
o(this, "id");
|
|
@@ -80,8 +80,8 @@ let se = class {
|
|
|
80
80
|
}
|
|
81
81
|
async load(e) {
|
|
82
82
|
var i;
|
|
83
|
-
|
|
84
|
-
const t = await
|
|
83
|
+
Lt.debug(`loading ingredient container ${this.id}`);
|
|
84
|
+
const t = await Tt();
|
|
85
85
|
if ((t == null ? void 0 : t.status) !== 200)
|
|
86
86
|
throw new Error("Failed to load ingredients");
|
|
87
87
|
const r = await N.executeLoaderExtension({
|
|
@@ -125,78 +125,78 @@ const Ke = {
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
type: j,
|
|
128
|
-
predicate:
|
|
129
|
-
factory:
|
|
130
|
-
}, { URL:
|
|
131
|
-
basePath: `${
|
|
132
|
-
}),
|
|
128
|
+
predicate: v(j),
|
|
129
|
+
factory: b.Singleton.create(j)
|
|
130
|
+
}, { URL: ge } = S("HOLDER_SERVICE"), { getAll: xt, postModel: Ve, deleteModel: At } = C.build({
|
|
131
|
+
basePath: `${ge}/api/kos/holders`
|
|
132
|
+
}), Bt = f.createLogger({
|
|
133
133
|
name: "holder-service",
|
|
134
134
|
group: "Services"
|
|
135
|
-
}),
|
|
135
|
+
}), ri = async () => await xt({}), Ut = async (e, t) => {
|
|
136
136
|
if (!e || !t)
|
|
137
137
|
throw new Error("Missing holderPath or ingredientId");
|
|
138
138
|
return await Ve({
|
|
139
139
|
model: { holderPath: e, ingredientId: t },
|
|
140
|
-
urlOverride: `${
|
|
140
|
+
urlOverride: `${ge}/api/ext/dispense/assignments`
|
|
141
141
|
});
|
|
142
|
-
},
|
|
142
|
+
}, Gt = async (e) => {
|
|
143
143
|
if (!e)
|
|
144
144
|
throw new Error("Missing holderPath");
|
|
145
|
-
return await
|
|
145
|
+
return await At({
|
|
146
146
|
id: e,
|
|
147
|
-
urlOverride: `${
|
|
147
|
+
urlOverride: `${ge}/api/ext/dispense/assignments/${e}`
|
|
148
148
|
});
|
|
149
|
-
},
|
|
149
|
+
}, jt = async (e) => {
|
|
150
150
|
if (!e)
|
|
151
151
|
throw new Error("Missing holderPath");
|
|
152
|
-
return
|
|
152
|
+
return Bt.debug(
|
|
153
153
|
`sending POST request to /api/ext/dispense/pumpEvents/replaceLine/${e}`
|
|
154
154
|
), await Ve({
|
|
155
155
|
model: {},
|
|
156
|
-
urlOverride: `${
|
|
156
|
+
urlOverride: `${ge}/api/ext/dispense/pumpEvents/replaceLine/${e}`
|
|
157
157
|
});
|
|
158
|
-
}, { URL: ae } = S("ASSIGNMENT_SERVICE"), { getAll:
|
|
158
|
+
}, { URL: ae } = S("ASSIGNMENT_SERVICE"), { getAll: Ft, postModel: ke, deleteModel: Ht } = C.build({
|
|
159
159
|
destinationAddress: "",
|
|
160
160
|
basePath: `${ae}/api/ext/dispense/assignments`
|
|
161
|
-
}), ne = window.kosUseFos,
|
|
161
|
+
}), ne = window.kosUseFos, ii = async () => await Ft({ fos: ne }), Kt = async (e, t) => {
|
|
162
162
|
var i, a, n, c;
|
|
163
163
|
const r = JSON.stringify(t), s = `${ae}/api/ext/dispense/assignments`;
|
|
164
164
|
try {
|
|
165
|
-
const l = await
|
|
165
|
+
const l = await ke({
|
|
166
166
|
model: { holderPath: e, factoryJson: r },
|
|
167
167
|
urlOverride: s
|
|
168
168
|
});
|
|
169
169
|
return (l == null ? void 0 : l.status) === 200 && ((i = l == null ? void 0 : l.data) != null && i.error) ? [l.data.error || "unknownError", l.data] : [void 0, l == null ? void 0 : l.data];
|
|
170
170
|
} catch (l) {
|
|
171
|
-
if (l instanceof
|
|
171
|
+
if (l instanceof gt)
|
|
172
172
|
return [
|
|
173
173
|
((n = (a = l.payload) == null ? void 0 : a.data) == null ? void 0 : n.error) || "unknownError",
|
|
174
174
|
(c = l.payload) == null ? void 0 : c.data
|
|
175
175
|
];
|
|
176
176
|
}
|
|
177
177
|
return ["unknownError", void 0];
|
|
178
|
-
},
|
|
178
|
+
}, si = async (e) => {
|
|
179
179
|
const t = ne ? `${ae}/api/ingredients/assignments/${e.holderPath}` : `${ae}/api/ext/dispense/assignments`;
|
|
180
|
-
return await
|
|
180
|
+
return await ke({
|
|
181
181
|
model: { ...e, fuelGauge: 680 },
|
|
182
182
|
fos: ne,
|
|
183
183
|
urlOverride: t
|
|
184
184
|
});
|
|
185
|
-
},
|
|
186
|
-
var
|
|
185
|
+
}, ai = async (e) => await Ht({ id: e, fos: ne });
|
|
186
|
+
var Vt = Object.defineProperty, kt = Object.getOwnPropertyDescriptor, he = (e, t, r, s) => {
|
|
187
187
|
for (var i = s > 1 ? void 0 : s ? kt(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
188
188
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
189
|
-
return s && i &&
|
|
189
|
+
return s && i && Vt(t, r, i), i;
|
|
190
190
|
};
|
|
191
|
-
const F = D.Holder, De =
|
|
192
|
-
|
|
191
|
+
const F = D.Holder, De = f.createLogger({ name: "holder-model" });
|
|
192
|
+
g[Me].register(
|
|
193
193
|
"holder",
|
|
194
194
|
async (e) => {
|
|
195
195
|
const t = [];
|
|
196
196
|
return t.push(...e.data.holderPaths), t;
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
|
-
|
|
199
|
+
g[W].register(
|
|
200
200
|
"pump",
|
|
201
201
|
async (e) => {
|
|
202
202
|
if (e.data.pumpPath) {
|
|
@@ -215,13 +215,13 @@ h[W].register(
|
|
|
215
215
|
return {};
|
|
216
216
|
}
|
|
217
217
|
);
|
|
218
|
-
|
|
218
|
+
g[W].register(
|
|
219
219
|
"holder",
|
|
220
220
|
async (e) => e.data.holderNames.length > 0 ? {
|
|
221
221
|
holderName: e.data.holderNames[0] || ""
|
|
222
222
|
} : {}
|
|
223
223
|
);
|
|
224
|
-
|
|
224
|
+
g[W].register(
|
|
225
225
|
"container",
|
|
226
226
|
async (e) => {
|
|
227
227
|
if (e.data.ingredients.length > 0) {
|
|
@@ -235,7 +235,7 @@ h[W].register(
|
|
|
235
235
|
return {};
|
|
236
236
|
}
|
|
237
237
|
);
|
|
238
|
-
class
|
|
238
|
+
class Yt extends Error {
|
|
239
239
|
constructor(r, s) {
|
|
240
240
|
super(s);
|
|
241
241
|
o(this, "type");
|
|
@@ -384,7 +384,7 @@ let L = class {
|
|
|
384
384
|
return this.hasMaxVolume && this.hasRemainingVolume;
|
|
385
385
|
}
|
|
386
386
|
updateIngredient(e) {
|
|
387
|
-
this.ingredientId !== e &&
|
|
387
|
+
this.ingredientId !== e && h(() => {
|
|
388
388
|
this.ingredientId = e;
|
|
389
389
|
});
|
|
390
390
|
}
|
|
@@ -396,13 +396,13 @@ let L = class {
|
|
|
396
396
|
if (!e)
|
|
397
397
|
throw new Error("Invalid override");
|
|
398
398
|
try {
|
|
399
|
-
const [t, r] = await
|
|
399
|
+
const [t, r] = await Kt(this.path, e);
|
|
400
400
|
if (t)
|
|
401
|
-
throw new
|
|
401
|
+
throw new Yt(
|
|
402
402
|
t,
|
|
403
403
|
`Failed to perform rfid override on holder ${this.id}`
|
|
404
404
|
);
|
|
405
|
-
return
|
|
405
|
+
return h(() => {
|
|
406
406
|
this.ingredientId = r == null ? void 0 : r.ingredientId;
|
|
407
407
|
}), r;
|
|
408
408
|
} catch (t) {
|
|
@@ -411,7 +411,7 @@ let L = class {
|
|
|
411
411
|
}
|
|
412
412
|
async assignIngredient(e) {
|
|
413
413
|
try {
|
|
414
|
-
e ? await
|
|
414
|
+
e ? await Ut(this.path, e) : await Gt(this.path), h(() => {
|
|
415
415
|
this.ingredientId = e;
|
|
416
416
|
});
|
|
417
417
|
} catch (t) {
|
|
@@ -422,7 +422,7 @@ let L = class {
|
|
|
422
422
|
return this.troubles.some((e) => e.shouldDefer);
|
|
423
423
|
}
|
|
424
424
|
async replaceLine() {
|
|
425
|
-
await
|
|
425
|
+
await jt(this.path);
|
|
426
426
|
}
|
|
427
427
|
// -------------------LIFECYCLE----------------------------
|
|
428
428
|
// ----------------------------------
|
|
@@ -444,19 +444,19 @@ let L = class {
|
|
|
444
444
|
// }
|
|
445
445
|
// -------------------ENTITY----------------------------
|
|
446
446
|
};
|
|
447
|
-
|
|
447
|
+
he([
|
|
448
448
|
M
|
|
449
449
|
], L.prototype, "pumps", 2);
|
|
450
|
-
|
|
450
|
+
he([
|
|
451
451
|
ce({ modelType: Ke.type })
|
|
452
452
|
], L.prototype, "ingredientContainer", 2);
|
|
453
|
-
|
|
453
|
+
he([
|
|
454
454
|
ce({ modelType: xe.type })
|
|
455
455
|
], L.prototype, "troubleContainer", 2);
|
|
456
|
-
L =
|
|
456
|
+
L = he([
|
|
457
457
|
I(F)
|
|
458
458
|
], L);
|
|
459
|
-
const
|
|
459
|
+
const Ye = {
|
|
460
460
|
registration: {
|
|
461
461
|
[F]: {
|
|
462
462
|
class: L,
|
|
@@ -464,21 +464,21 @@ const ke = {
|
|
|
464
464
|
}
|
|
465
465
|
},
|
|
466
466
|
type: F,
|
|
467
|
-
predicate:
|
|
468
|
-
factory:
|
|
469
|
-
},
|
|
467
|
+
predicate: v(F),
|
|
468
|
+
factory: b.Factory.create(F)
|
|
469
|
+
}, Zt = async (e, t) => {
|
|
470
470
|
var Re;
|
|
471
|
-
const r =
|
|
471
|
+
const r = g.propertyMapper.executeMapper(
|
|
472
472
|
u.HolderIngredientMapper,
|
|
473
473
|
t
|
|
474
|
-
), s =
|
|
474
|
+
), s = g.propertyMapper.executeMapper(
|
|
475
475
|
u.HolderTypeMapper,
|
|
476
476
|
t
|
|
477
477
|
) || t.ingType, i = await N.executeDataMapperExtension({
|
|
478
478
|
extension: u.HolderMapper,
|
|
479
479
|
data: t,
|
|
480
480
|
contextData: {}
|
|
481
|
-
}), { name: a, path: n, ingredientId: c, ingType: l, ingSource: p, slice: y, ...U } = t,
|
|
481
|
+
}), { name: a, path: n, ingredientId: c, ingType: l, ingSource: p, slice: y, ...U } = t, m = { ...U, ...i }, T = y || { pos: 0 }, re = {
|
|
482
482
|
name: a,
|
|
483
483
|
path: n,
|
|
484
484
|
ingredientId: r || c,
|
|
@@ -487,19 +487,19 @@ const ke = {
|
|
|
487
487
|
enjoyByDate: (Re = t.container) != null && Re.enjoyByDate ? new Date(t.container.enjoyByDate) : void 0,
|
|
488
488
|
slice: T,
|
|
489
489
|
group: e,
|
|
490
|
-
data:
|
|
490
|
+
data: m
|
|
491
491
|
};
|
|
492
|
-
return
|
|
493
|
-
}, { URL:
|
|
494
|
-
basePath: `${
|
|
495
|
-
}),
|
|
492
|
+
return Ye.factory(t.path)(re);
|
|
493
|
+
}, { URL: Xt } = S("ASSEMBLY_SERVICE"), { getOne: Jt } = C.build({
|
|
494
|
+
basePath: `${Xt}/api/kos/device/assemblies`
|
|
495
|
+
}), qt = f.createLogger({
|
|
496
496
|
name: "assembly-service",
|
|
497
497
|
group: "Services"
|
|
498
|
-
}), Ze = async () => (
|
|
499
|
-
var
|
|
500
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
498
|
+
}), Ze = async () => (qt.debug("sending GET for assembly"), await Jt({}));
|
|
499
|
+
var Wt = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, ye = (e, t, r, s) => {
|
|
500
|
+
for (var i = s > 1 ? void 0 : s ? Qt(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
501
501
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
502
|
-
return s && i &&
|
|
502
|
+
return s && i && Wt(t, r, i), i;
|
|
503
503
|
};
|
|
504
504
|
const H = "board-container-model", Xe = "/kos/hardware/board/linked", Je = "/kos/hardware/board/unlinked";
|
|
505
505
|
let x = class {
|
|
@@ -560,16 +560,16 @@ ye([
|
|
|
560
560
|
x = ye([
|
|
561
561
|
I(H)
|
|
562
562
|
], x);
|
|
563
|
-
const
|
|
563
|
+
const er = async (e) => {
|
|
564
564
|
const t = e.data.boardPath, { model: r } = z(t);
|
|
565
565
|
return {
|
|
566
566
|
boardName: (r == null ? void 0 : r.name) || ""
|
|
567
567
|
};
|
|
568
568
|
};
|
|
569
|
-
var
|
|
570
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
569
|
+
var tr = Object.defineProperty, rr = Object.getOwnPropertyDescriptor, qe = (e, t, r, s) => {
|
|
570
|
+
for (var i = s > 1 ? void 0 : s ? rr(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
571
571
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
572
|
-
return s && i &&
|
|
572
|
+
return s && i && tr(t, r, i), i;
|
|
573
573
|
};
|
|
574
574
|
const K = D.PumpContainer;
|
|
575
575
|
var We = /* @__PURE__ */ ((e) => (e.byBoard = "byBoard", e.byType = "byType", e.byNozzle = "byNozzle", e))(We || {});
|
|
@@ -635,19 +635,19 @@ const Oe = {
|
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
type: K,
|
|
638
|
-
predicate:
|
|
639
|
-
factory:
|
|
638
|
+
predicate: v(K),
|
|
639
|
+
factory: b.Singleton.create(
|
|
640
640
|
K
|
|
641
641
|
)
|
|
642
642
|
}, Qe = async (e) => {
|
|
643
643
|
const t = [], { model: r } = await Ue(e);
|
|
644
644
|
return r && (t.push(r.boardPath), t.push(r.nozzlePath), t.push(r.holderPath)), t;
|
|
645
|
-
},
|
|
645
|
+
}, ir = async (e) => {
|
|
646
646
|
const t = [], r = e.data.pumpPath;
|
|
647
647
|
t.push(r);
|
|
648
648
|
const s = await Qe(r);
|
|
649
649
|
return [...t, ...s];
|
|
650
|
-
},
|
|
650
|
+
}, sr = async (e) => {
|
|
651
651
|
const t = [], r = e.data.boardPath;
|
|
652
652
|
t.push(e.data.boardPath);
|
|
653
653
|
const s = await Ue(
|
|
@@ -666,22 +666,22 @@ const Oe = {
|
|
|
666
666
|
}
|
|
667
667
|
return Array.from(new Set(t));
|
|
668
668
|
};
|
|
669
|
-
var
|
|
670
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
671
|
-
(n = e[a]) && (i =
|
|
672
|
-
return
|
|
669
|
+
var ar = Object.getOwnPropertyDescriptor, nr = (e, t, r, s) => {
|
|
670
|
+
for (var i = s > 1 ? void 0 : s ? ar(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
671
|
+
(n = e[a]) && (i = n(i) || i);
|
|
672
|
+
return i;
|
|
673
673
|
};
|
|
674
674
|
const V = "board-model", Te = (e, t) => {
|
|
675
675
|
const { type: r, name: s, path: i, linked: a, instanceId: n, link: c, ...l } = e;
|
|
676
676
|
t.type = r, t.name = s, t.path = i, t.linked = a, t.link = Object.freeze(c), t.instanceId = n, Object.assign(t, l);
|
|
677
677
|
};
|
|
678
|
-
|
|
678
|
+
g[Me].register(
|
|
679
679
|
"board",
|
|
680
|
-
|
|
680
|
+
sr
|
|
681
681
|
);
|
|
682
|
-
|
|
682
|
+
g[W].register(
|
|
683
683
|
"board",
|
|
684
|
-
|
|
684
|
+
er
|
|
685
685
|
);
|
|
686
686
|
let be = class {
|
|
687
687
|
constructor(e, t, r) {
|
|
@@ -705,7 +705,7 @@ let be = class {
|
|
|
705
705
|
this.logger.debug(`loading board ${this.id}`);
|
|
706
706
|
}
|
|
707
707
|
};
|
|
708
|
-
be =
|
|
708
|
+
be = nr([
|
|
709
709
|
I(V)
|
|
710
710
|
], be);
|
|
711
711
|
const et = {
|
|
@@ -716,8 +716,8 @@ const et = {
|
|
|
716
716
|
}
|
|
717
717
|
},
|
|
718
718
|
type: V,
|
|
719
|
-
predicate:
|
|
720
|
-
factory:
|
|
719
|
+
predicate: v(V),
|
|
720
|
+
factory: b.Factory.create(V)
|
|
721
721
|
}, tt = {
|
|
722
722
|
registration: {
|
|
723
723
|
[H]: {
|
|
@@ -727,17 +727,17 @@ const et = {
|
|
|
727
727
|
...et.registration
|
|
728
728
|
},
|
|
729
729
|
type: H,
|
|
730
|
-
predicate:
|
|
731
|
-
factory:
|
|
730
|
+
predicate: v(H),
|
|
731
|
+
factory: b.Singleton.create(
|
|
732
732
|
H
|
|
733
733
|
)
|
|
734
734
|
};
|
|
735
|
-
var
|
|
736
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
735
|
+
var or = Object.defineProperty, dr = Object.getOwnPropertyDescriptor, Ie = (e, t, r, s) => {
|
|
736
|
+
for (var i = s > 1 ? void 0 : s ? dr(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
737
737
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
738
|
-
return s && i &&
|
|
738
|
+
return s && i && or(t, r, i), i;
|
|
739
739
|
};
|
|
740
|
-
const
|
|
740
|
+
const k = D.HolderContainer, lr = "/kos/insertion/insert/start", cr = "/kos/insertion/insert/complete", pr = "/kos/insertion/insert/update", ur = "/kos/insertion/remove", gr = "/kos/pumpEvent/replaceLine", hr = "/kos/handle/*";
|
|
741
741
|
let A = class {
|
|
742
742
|
constructor(e, t, r) {
|
|
743
743
|
o(this, "id");
|
|
@@ -756,7 +756,7 @@ let A = class {
|
|
|
756
756
|
}
|
|
757
757
|
handleHolderEvents(e) {
|
|
758
758
|
var r, s, i;
|
|
759
|
-
|
|
759
|
+
f.ifDebug(
|
|
760
760
|
() => this.logger.debug("Received holder change event", JSON.stringify(e))
|
|
761
761
|
);
|
|
762
762
|
const t = this.holders.getModel(e.path);
|
|
@@ -765,16 +765,16 @@ let A = class {
|
|
|
765
765
|
), t.slice.currentVolMl = (r = e.slice) == null ? void 0 : r.currentVolMl, t.slice.maxVolMl = (s = e.slice) == null ? void 0 : s.maxVolMl, (i = e == null ? void 0 : e.container) != null && i.enjoyByDate ? t.enjoyByDate = new Date(e.container.enjoyByDate) : t.enjoyByDate = void 0);
|
|
766
766
|
}
|
|
767
767
|
handleInsertion(e) {
|
|
768
|
-
|
|
768
|
+
f.ifDebug(
|
|
769
769
|
() => this.logger.debug("Received insertion event", JSON.stringify(e))
|
|
770
770
|
), (Array.isArray(e) ? e : [e]).forEach((r) => {
|
|
771
|
-
|
|
771
|
+
h(() => {
|
|
772
772
|
var a, n, c;
|
|
773
773
|
const s = r.ingredientId, i = this.holders.getModel(r.path);
|
|
774
774
|
i && (this.logger.info(
|
|
775
775
|
`Received insertion event for holder ${i.path}`
|
|
776
776
|
), i.updateIngredient(s), i.slice.currentVolMl = (a = r.slice) == null ? void 0 : a.currentVolMl, i.slice.maxVolMl = (n = r.slice) == null ? void 0 : n.maxVolMl, (c = r == null ? void 0 : r.container) != null && c.enjoyByDate ? i.enjoyByDate = new Date(r.container.enjoyByDate) : i.enjoyByDate = void 0, r.pumps.forEach((l) => {
|
|
777
|
-
|
|
777
|
+
h(() => {
|
|
778
778
|
const p = i.pumps.getModel(l.path);
|
|
779
779
|
p && (p.ingredientId = l.ingredientId, p.inserted = l.inserted, p.prevIngredientId = l.prevIngredientId);
|
|
780
780
|
});
|
|
@@ -789,7 +789,7 @@ Ie([
|
|
|
789
789
|
], A.prototype, "holders", 2);
|
|
790
790
|
Ie([
|
|
791
791
|
Q({
|
|
792
|
-
topic:
|
|
792
|
+
topic: hr,
|
|
793
793
|
websocket: !0,
|
|
794
794
|
condition: (e, t) => t.holders.getModel(e.path) !== void 0
|
|
795
795
|
})
|
|
@@ -797,31 +797,31 @@ Ie([
|
|
|
797
797
|
Ie([
|
|
798
798
|
Q({
|
|
799
799
|
topic: [
|
|
800
|
+
lr,
|
|
801
|
+
cr,
|
|
800
802
|
pr,
|
|
801
803
|
ur,
|
|
802
|
-
|
|
803
|
-
gr,
|
|
804
|
-
yr
|
|
804
|
+
gr
|
|
805
805
|
],
|
|
806
806
|
websocket: !0
|
|
807
807
|
})
|
|
808
808
|
], A.prototype, "handleInsertion", 1);
|
|
809
809
|
A = Ie([
|
|
810
|
-
I(
|
|
810
|
+
I(k)
|
|
811
811
|
], A);
|
|
812
812
|
const rt = {
|
|
813
813
|
registration: {
|
|
814
|
-
[
|
|
814
|
+
[k]: {
|
|
815
815
|
class: A,
|
|
816
816
|
singleton: !0
|
|
817
817
|
}
|
|
818
818
|
},
|
|
819
|
-
type:
|
|
820
|
-
predicate:
|
|
821
|
-
factory:
|
|
822
|
-
|
|
819
|
+
type: k,
|
|
820
|
+
predicate: v(k),
|
|
821
|
+
factory: b.Singleton.create(
|
|
822
|
+
k
|
|
823
823
|
)
|
|
824
|
-
},
|
|
824
|
+
}, yr = f.createLogger({ name: "board-utils" }), Ir = async (e) => {
|
|
825
825
|
const t = await N.executeDataMapperExtension({
|
|
826
826
|
extension: u.BoardMapper,
|
|
827
827
|
data: e,
|
|
@@ -835,39 +835,39 @@ const rt = {
|
|
|
835
835
|
...l
|
|
836
836
|
}, y = et.factory(e.path)(p);
|
|
837
837
|
return y.updateModel(p), y;
|
|
838
|
-
},
|
|
839
|
-
|
|
840
|
-
const r = await
|
|
838
|
+
}, mr = (e) => async (t) => {
|
|
839
|
+
yr.debug(`adding board ${t.name}`);
|
|
840
|
+
const r = await Ir(t);
|
|
841
841
|
e.addModel(r);
|
|
842
842
|
};
|
|
843
843
|
var d = /* @__PURE__ */ ((e) => (e.IDLE = "IDLE", e.POURING = "POURING", e.POUR_STARTING = "POUR_STARTING", e.POUR_CANCELING = "POUR_CANCELING", e.POUR_CANCELED = "POUR_CANCELED", e.POUR_COMPLETE = "POUR_COMPLETE", e))(d || {});
|
|
844
|
-
const { URL: Ee } = S("PUMP_SERVICE"), { postModel:
|
|
844
|
+
const { URL: Ee } = S("PUMP_SERVICE"), { postModel: fr, getOne: Pr } = C.build({
|
|
845
845
|
basePath: `${Ee}/api/kos/holders`
|
|
846
846
|
});
|
|
847
|
-
|
|
847
|
+
f.createLogger({
|
|
848
848
|
name: "pump-service",
|
|
849
849
|
group: "Services"
|
|
850
850
|
});
|
|
851
|
-
const
|
|
851
|
+
const br = async ({
|
|
852
852
|
intent: e,
|
|
853
853
|
pumpId: t,
|
|
854
854
|
tracker: r
|
|
855
855
|
}) => {
|
|
856
|
-
const s = `${Ee}/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/pour/${t}/${e}`, i = await
|
|
856
|
+
const s = `${Ee}/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/pour/${t}/${e}`, i = await fr({ model: {}, urlOverride: s, tracker: r });
|
|
857
857
|
return i != null && i.data && pe.initiateFuture(i.data), i;
|
|
858
|
-
},
|
|
859
|
-
const r = `${Ee}/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/intent/${e}/${t}/volume`, s = await
|
|
858
|
+
}, vr = async (e, t) => {
|
|
859
|
+
const r = `${Ee}/api/ext/dispense/nozzle/nozzle/pipeline/ingredient/intent/${e}/${t}/volume`, s = await Pr({ urlOverride: r });
|
|
860
860
|
return s != null && s.data ? s.data : { volume: -1 };
|
|
861
861
|
};
|
|
862
|
-
var
|
|
863
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
862
|
+
var _r = Object.defineProperty, Mr = Object.getOwnPropertyDescriptor, we = (e, t, r, s) => {
|
|
863
|
+
for (var i = s > 1 ? void 0 : s ? Mr(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
864
864
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
865
|
-
return s && i &&
|
|
865
|
+
return s && i && _r(t, r, i), i;
|
|
866
866
|
};
|
|
867
|
-
const
|
|
868
|
-
|
|
867
|
+
const Y = D.Pump;
|
|
868
|
+
g[Me].register(
|
|
869
869
|
"pump",
|
|
870
|
-
|
|
870
|
+
ir
|
|
871
871
|
);
|
|
872
872
|
let q = class {
|
|
873
873
|
constructor(e, t) {
|
|
@@ -939,21 +939,21 @@ let q = class {
|
|
|
939
939
|
return !!this.ingredientId && !this.isPouring;
|
|
940
940
|
}
|
|
941
941
|
onFutureUpdate(e) {
|
|
942
|
-
e.endState &&
|
|
942
|
+
e.endState && h(() => {
|
|
943
943
|
this.currentState = d.IDLE;
|
|
944
944
|
});
|
|
945
945
|
}
|
|
946
946
|
async cancelPour() {
|
|
947
947
|
var e;
|
|
948
|
-
this.currentState === d.POURING || this.currentState === d.POUR_STARTING ? (this.currentState = d.POUR_CANCELING, await ((e = this.future) == null ? void 0 : e.cancelFuture()),
|
|
948
|
+
this.currentState === d.POURING || this.currentState === d.POUR_STARTING ? (this.currentState = d.POUR_CANCELING, await ((e = this.future) == null ? void 0 : e.cancelFuture()), h(() => {
|
|
949
949
|
this.currentState = d.IDLE;
|
|
950
|
-
})) :
|
|
950
|
+
})) : f.warn(`Cannot cancel pour in state ${this.currentState}`);
|
|
951
951
|
}
|
|
952
952
|
get future() {
|
|
953
953
|
return this.futureHandler.future;
|
|
954
954
|
}
|
|
955
955
|
async resolveIntentVolume(e) {
|
|
956
|
-
return await
|
|
956
|
+
return await vr(this.path, e);
|
|
957
957
|
}
|
|
958
958
|
async performIntent(e, t) {
|
|
959
959
|
const r = typeof e == "string" ? e : e.intent;
|
|
@@ -963,18 +963,18 @@ let q = class {
|
|
|
963
963
|
if (this.currentState === d.IDLE) {
|
|
964
964
|
if (this.currentState = d.POUR_STARTING, !t)
|
|
965
965
|
throw new Error("No tracker provided");
|
|
966
|
-
const s = await
|
|
966
|
+
const s = await br({
|
|
967
967
|
tracker: t,
|
|
968
968
|
intent: r,
|
|
969
969
|
pumpId: this.path
|
|
970
970
|
});
|
|
971
|
-
return this.currentState === d.POUR_STARTING &&
|
|
971
|
+
return this.currentState === d.POUR_STARTING && h(() => {
|
|
972
972
|
this.currentState = d.POURING;
|
|
973
973
|
}), s == null ? void 0 : s.data;
|
|
974
974
|
} else
|
|
975
975
|
throw new Error(`Cannot pour in state ${this.currentState}`);
|
|
976
976
|
} catch (s) {
|
|
977
|
-
throw
|
|
977
|
+
throw f.error(s), this.currentState = d.IDLE, s;
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
// -------------------ENTITY----------------------------
|
|
@@ -986,19 +986,19 @@ we([
|
|
|
986
986
|
ue()
|
|
987
987
|
], q.prototype, "performIntent", 1);
|
|
988
988
|
q = we([
|
|
989
|
-
I(
|
|
989
|
+
I(Y)
|
|
990
990
|
], q);
|
|
991
991
|
const it = {
|
|
992
992
|
registration: {
|
|
993
|
-
[
|
|
993
|
+
[Y]: {
|
|
994
994
|
class: q,
|
|
995
995
|
singleton: !1
|
|
996
996
|
}
|
|
997
997
|
},
|
|
998
|
-
type:
|
|
999
|
-
predicate:
|
|
1000
|
-
factory:
|
|
1001
|
-
},
|
|
998
|
+
type: Y,
|
|
999
|
+
predicate: v(Y),
|
|
1000
|
+
factory: b.Factory.create(Y)
|
|
1001
|
+
}, Or = f.createLogger({ name: "pump-utils" }), Er = (e, t) => {
|
|
1002
1002
|
const r = (t.pumps ?? []).length > 1, s = {
|
|
1003
1003
|
boardPath: t.boardPath,
|
|
1004
1004
|
holderPath: t.holderPath,
|
|
@@ -1015,8 +1015,8 @@ const it = {
|
|
|
1015
1015
|
return i.updateModel(s), i;
|
|
1016
1016
|
}, st = (e) => (t) => (r) => (s) => {
|
|
1017
1017
|
var c;
|
|
1018
|
-
|
|
1019
|
-
const i =
|
|
1018
|
+
Or.debug(`adding pump ${s.name}`);
|
|
1019
|
+
const i = Er(r.path, s);
|
|
1020
1020
|
e.addModel(i);
|
|
1021
1021
|
const a = i.holderPath, n = t.holders.getModel(a);
|
|
1022
1022
|
n == null || n.pumps.addModel(i), n != null && n.nozzlePaths.includes(r.path) || n == null || n.nozzlePaths.push(r.path), (c = s == null ? void 0 : s.pumps) == null || c.forEach((l) => {
|
|
@@ -1029,12 +1029,12 @@ const it = {
|
|
|
1029
1029
|
st(e)(t)(r)(y);
|
|
1030
1030
|
});
|
|
1031
1031
|
};
|
|
1032
|
-
var
|
|
1033
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
1032
|
+
var wr = Object.defineProperty, $r = Object.getOwnPropertyDescriptor, ee = (e, t, r, s) => {
|
|
1033
|
+
for (var i = s > 1 ? void 0 : s ? $r(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
1034
1034
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
1035
|
-
return s && i &&
|
|
1035
|
+
return s && i && wr(t, r, i), i;
|
|
1036
1036
|
};
|
|
1037
|
-
const Z = "assembly-model",
|
|
1037
|
+
const Z = "assembly-model", Sr = "assembly-data", Cr = "assembly-raw-data";
|
|
1038
1038
|
let w = class {
|
|
1039
1039
|
constructor(e, t, r) {
|
|
1040
1040
|
o(this, "id");
|
|
@@ -1087,7 +1087,7 @@ let w = class {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
async ready() {
|
|
1089
1089
|
var e;
|
|
1090
|
-
(e = this.troubleContainer) == null || e.troubles.increment(),
|
|
1090
|
+
(e = this.troubleContainer) == null || e.troubles.increment(), g[ht].execute(
|
|
1091
1091
|
u.AssemblyFeatureFlags,
|
|
1092
1092
|
this
|
|
1093
1093
|
);
|
|
@@ -1101,9 +1101,9 @@ let w = class {
|
|
|
1101
1101
|
data: t.data,
|
|
1102
1102
|
contextData: {}
|
|
1103
1103
|
});
|
|
1104
|
-
e.set(
|
|
1104
|
+
e.set(Sr, r), Object.assign(this, r), Object.entries(r).forEach(([s, i]) => {
|
|
1105
1105
|
yt(i) && (this.logger.debug(`adding child model ${s} from extension data`), this[It][s] = !0);
|
|
1106
|
-
}), e.set(
|
|
1106
|
+
}), e.set(Cr, t.data);
|
|
1107
1107
|
for await (const s of t.data.assemblies) {
|
|
1108
1108
|
const {
|
|
1109
1109
|
boards: i = [],
|
|
@@ -1114,26 +1114,26 @@ let w = class {
|
|
|
1114
1114
|
path: p,
|
|
1115
1115
|
...y
|
|
1116
1116
|
} = s;
|
|
1117
|
-
this.logger.debug(`adding assembly ${l}`), Object.keys(y).forEach((
|
|
1118
|
-
|
|
1117
|
+
this.logger.debug(`adding assembly ${l}`), Object.keys(y).forEach((m) => {
|
|
1118
|
+
mt.enableFeature(m);
|
|
1119
1119
|
});
|
|
1120
|
-
for await (const
|
|
1121
|
-
this.logger.debug(`adding board ${
|
|
1122
|
-
for await (const [
|
|
1120
|
+
for await (const m of i)
|
|
1121
|
+
this.logger.debug(`adding board ${m.name}`), await mr(this.boardContainer)(m);
|
|
1122
|
+
for await (const [m, T] of Object.entries(
|
|
1123
1123
|
a ?? {}
|
|
1124
1124
|
))
|
|
1125
1125
|
for await (const re of T) {
|
|
1126
1126
|
this.logger.debug(`adding holder ${re.name}`);
|
|
1127
|
-
const Ce = await
|
|
1127
|
+
const Ce = await Zt(m, re);
|
|
1128
1128
|
this.holderContainer.holders.addModel(Ce);
|
|
1129
1129
|
}
|
|
1130
1130
|
const U = st(this.pumpContainer)(
|
|
1131
1131
|
this.holderContainer
|
|
1132
1132
|
);
|
|
1133
|
-
n.forEach((
|
|
1134
|
-
this._nozzlePaths.add(
|
|
1135
|
-
const T = U(
|
|
1136
|
-
|
|
1133
|
+
n.forEach((m) => {
|
|
1134
|
+
this._nozzlePaths.add(m.path);
|
|
1135
|
+
const T = U(m);
|
|
1136
|
+
m.pumps.forEach(T);
|
|
1137
1137
|
});
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
@@ -1164,13 +1164,13 @@ const at = {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
},
|
|
1166
1166
|
type: Z,
|
|
1167
|
-
predicate:
|
|
1168
|
-
factory:
|
|
1167
|
+
predicate: v(Z),
|
|
1168
|
+
factory: b.Singleton.create(Z)
|
|
1169
1169
|
};
|
|
1170
|
-
var
|
|
1171
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
1172
|
-
(n = e[a]) && (i =
|
|
1173
|
-
return
|
|
1170
|
+
var Rr = Object.getOwnPropertyDescriptor, Dr = (e, t, r, s) => {
|
|
1171
|
+
for (var i = s > 1 ? void 0 : s ? Rr(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
1172
|
+
(n = e[a]) && (i = n(i) || i);
|
|
1173
|
+
return i;
|
|
1174
1174
|
};
|
|
1175
1175
|
const X = D.Availability;
|
|
1176
1176
|
let ve = class {
|
|
@@ -1199,8 +1199,8 @@ let ve = class {
|
|
|
1199
1199
|
// -------------------LIFECYCLE----------------------------
|
|
1200
1200
|
// -------------------ENTITY----------------------------
|
|
1201
1201
|
};
|
|
1202
|
-
ve =
|
|
1203
|
-
|
|
1202
|
+
ve = Dr([
|
|
1203
|
+
ft(),
|
|
1204
1204
|
I(X)
|
|
1205
1205
|
], ve);
|
|
1206
1206
|
const _e = {
|
|
@@ -1211,13 +1211,13 @@ const _e = {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
},
|
|
1213
1213
|
type: X,
|
|
1214
|
-
predicate:
|
|
1215
|
-
factory:
|
|
1214
|
+
predicate: v(X),
|
|
1215
|
+
factory: b.Factory.create(
|
|
1216
1216
|
X
|
|
1217
1217
|
)
|
|
1218
|
-
}, { URL: B } = S("NOZZLE_SERVICE"), { postModel: $e, deleteModel:
|
|
1218
|
+
}, { URL: B } = S("NOZZLE_SERVICE"), { postModel: $e, deleteModel: Tr, getOne: Nr } = C.build({
|
|
1219
1219
|
basePath: `${B}/api/nozzle`
|
|
1220
|
-
}),
|
|
1220
|
+
}), zr = async (e, t) => {
|
|
1221
1221
|
const r = await $e({
|
|
1222
1222
|
model: {},
|
|
1223
1223
|
urlOverride: `${B}/api/ext/dispense/nozzle/${e}/pipeline/beverage/pour`,
|
|
@@ -1225,7 +1225,7 @@ const _e = {
|
|
|
1225
1225
|
tracker: t
|
|
1226
1226
|
});
|
|
1227
1227
|
return r != null && r.data && pe.initiateFuture(r.data), r;
|
|
1228
|
-
},
|
|
1228
|
+
}, Lr = async (e, t, r) => {
|
|
1229
1229
|
const s = await $e({
|
|
1230
1230
|
model: {},
|
|
1231
1231
|
urlOverride: `${B}/api/ext/dispense/nozzle/${t}/pipeline/beverage/fixed/${e}`,
|
|
@@ -1233,23 +1233,23 @@ const _e = {
|
|
|
1233
1233
|
tracker: r
|
|
1234
1234
|
});
|
|
1235
1235
|
return s != null && s.data && pe.initiateFuture(s.data), s;
|
|
1236
|
-
},
|
|
1236
|
+
}, xr = async (e) => await Nr({
|
|
1237
1237
|
urlOverride: `${B}${e}/pipeline/beverage/availability`
|
|
1238
|
-
}),
|
|
1238
|
+
}), Ar = async (e, t) => await $e({
|
|
1239
1239
|
model: t,
|
|
1240
1240
|
urlOverride: `${B}/api/ext/dispense/nozzle/${e}/pipeline/beverage/select`
|
|
1241
|
-
}),
|
|
1241
|
+
}), Br = async (e) => await Tr({
|
|
1242
1242
|
id: e,
|
|
1243
1243
|
urlOverride: `${B}/api/ext/dispense/nozzle/${e}/pipeline/beverage/select`
|
|
1244
1244
|
});
|
|
1245
|
-
var
|
|
1246
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
1245
|
+
var Ur = Object.defineProperty, Gr = Object.getOwnPropertyDescriptor, te = (e, t, r, s) => {
|
|
1246
|
+
for (var i = s > 1 ? void 0 : s ? Gr(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
1247
1247
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
1248
|
-
return s && i &&
|
|
1248
|
+
return s && i && Ur(t, r, i), i;
|
|
1249
1249
|
};
|
|
1250
|
-
const J = D.Nozzle,
|
|
1250
|
+
const J = D.Nozzle, jr = Pt(
|
|
1251
1251
|
"beverageTopicPrefix"
|
|
1252
|
-
), ie = (e) => e.onPourStart !== void 0 && e.onPourCancel !== void 0 && e.onPourProgress !== void 0, Ne = "/kos/nozzle/pour/started",
|
|
1252
|
+
), ie = (e) => e.onPourStart !== void 0 && e.onPourCancel !== void 0 && e.onPourProgress !== void 0, Ne = "/kos/nozzle/pour/started", Fr = "/kos/nozzle/pour/progress", me = "/kos/nozzle/pour/cancel";
|
|
1253
1253
|
let $ = class {
|
|
1254
1254
|
constructor(e, t, r) {
|
|
1255
1255
|
/** the unique identifier for this nozzle.*/
|
|
@@ -1358,7 +1358,7 @@ let $ = class {
|
|
|
1358
1358
|
context: r
|
|
1359
1359
|
}) {
|
|
1360
1360
|
if (!e) {
|
|
1361
|
-
const c = await
|
|
1361
|
+
const c = await Br(this.name);
|
|
1362
1362
|
if ((c == null ? void 0 : c.status) !== 200)
|
|
1363
1363
|
throw new Error("Failed to clear pourable");
|
|
1364
1364
|
this._selectedBeverage = void 0;
|
|
@@ -1369,7 +1369,7 @@ let $ = class {
|
|
|
1369
1369
|
return;
|
|
1370
1370
|
}
|
|
1371
1371
|
this._selectedBeverage = e, this._additionalItems = t;
|
|
1372
|
-
let s = await
|
|
1372
|
+
let s = await g.dataMapper.executeMapper(
|
|
1373
1373
|
u.SelectedPourableMapper,
|
|
1374
1374
|
{
|
|
1375
1375
|
beverage: e,
|
|
@@ -1383,7 +1383,7 @@ let $ = class {
|
|
|
1383
1383
|
(!s || Object.keys(s).length === 0) && (this.logger.info(
|
|
1384
1384
|
`No selected pourable mapper defined, using the default payload ${i}`
|
|
1385
1385
|
), s = i);
|
|
1386
|
-
const a = s ?? i, n = await
|
|
1386
|
+
const a = s ?? i, n = await Ar(this.name, a);
|
|
1387
1387
|
if ((n == null ? void 0 : n.status) !== 200)
|
|
1388
1388
|
throw new Error("Failed to select pourable");
|
|
1389
1389
|
}
|
|
@@ -1418,7 +1418,7 @@ let $ = class {
|
|
|
1418
1418
|
);
|
|
1419
1419
|
}
|
|
1420
1420
|
updateIfCurrent(e, t) {
|
|
1421
|
-
this.currentState === e &&
|
|
1421
|
+
this.currentState === e && h(() => {
|
|
1422
1422
|
this.currentState = t;
|
|
1423
1423
|
});
|
|
1424
1424
|
}
|
|
@@ -1437,7 +1437,7 @@ let $ = class {
|
|
|
1437
1437
|
reason: e.reason,
|
|
1438
1438
|
timeRemaining: e.timeRemaining
|
|
1439
1439
|
};
|
|
1440
|
-
_.publish(
|
|
1440
|
+
_.publish(Fr, r), e.endState && h(() => {
|
|
1441
1441
|
this.currentState = d.IDLE;
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
@@ -1447,7 +1447,7 @@ let $ = class {
|
|
|
1447
1447
|
if (this.currentState === d.IDLE) {
|
|
1448
1448
|
if (this.updateIfCurrent(d.IDLE, d.POUR_STARTING), !e)
|
|
1449
1449
|
throw new Error("No tracker provided");
|
|
1450
|
-
const r = await
|
|
1450
|
+
const r = await zr(this.name, e);
|
|
1451
1451
|
this.updateIfCurrent(d.POUR_STARTING, d.POURING), E(this).forEach((i) => {
|
|
1452
1452
|
var a;
|
|
1453
1453
|
ie(i) && ((a = i.onPourStart) == null || a.call(i));
|
|
@@ -1461,7 +1461,7 @@ let $ = class {
|
|
|
1461
1461
|
const i = {
|
|
1462
1462
|
nozzleId: this.id
|
|
1463
1463
|
};
|
|
1464
|
-
_.publish(
|
|
1464
|
+
_.publish(me, i);
|
|
1465
1465
|
}
|
|
1466
1466
|
return r;
|
|
1467
1467
|
} else
|
|
@@ -1476,8 +1476,8 @@ let $ = class {
|
|
|
1476
1476
|
if (this.currentState === d.IDLE) {
|
|
1477
1477
|
if (this.currentState = d.POUR_STARTING, !t)
|
|
1478
1478
|
throw new Error("No tracker provided");
|
|
1479
|
-
const s = await
|
|
1480
|
-
this.currentState === d.POUR_STARTING &&
|
|
1479
|
+
const s = await Lr(e, this.name, t);
|
|
1480
|
+
this.currentState === d.POUR_STARTING && h(() => {
|
|
1481
1481
|
this.currentState = d.POURING;
|
|
1482
1482
|
}), E(this).forEach((a) => {
|
|
1483
1483
|
var n;
|
|
@@ -1492,7 +1492,7 @@ let $ = class {
|
|
|
1492
1492
|
const a = {
|
|
1493
1493
|
nozzleId: this.id
|
|
1494
1494
|
};
|
|
1495
|
-
_.publish(
|
|
1495
|
+
_.publish(me, a);
|
|
1496
1496
|
}
|
|
1497
1497
|
return s;
|
|
1498
1498
|
} else
|
|
@@ -1507,7 +1507,7 @@ let $ = class {
|
|
|
1507
1507
|
async cancelPour() {
|
|
1508
1508
|
var e;
|
|
1509
1509
|
if (this.currentState === d.POURING || this.currentState === d.POUR_STARTING) {
|
|
1510
|
-
this.currentState = d.POUR_CANCELING, await ((e = this.futureHandler.getFuture()) == null ? void 0 : e.cancelFuture()),
|
|
1510
|
+
this.currentState = d.POUR_CANCELING, await ((e = this.futureHandler.getFuture()) == null ? void 0 : e.cancelFuture()), h(() => {
|
|
1511
1511
|
this.currentState = d.IDLE;
|
|
1512
1512
|
}), E(this).forEach((r) => {
|
|
1513
1513
|
var s;
|
|
@@ -1516,7 +1516,7 @@ let $ = class {
|
|
|
1516
1516
|
const t = {
|
|
1517
1517
|
nozzleId: this.id
|
|
1518
1518
|
};
|
|
1519
|
-
_.publish(
|
|
1519
|
+
_.publish(me, t);
|
|
1520
1520
|
} else
|
|
1521
1521
|
this.logger.warn(`Cannot cancel pour in state ${this.currentState}`);
|
|
1522
1522
|
}
|
|
@@ -1534,17 +1534,17 @@ let $ = class {
|
|
|
1534
1534
|
async load(e) {
|
|
1535
1535
|
var s, i;
|
|
1536
1536
|
this.logger.debug(`loading nozzle ${this.id}`);
|
|
1537
|
-
const t = await
|
|
1537
|
+
const t = await xr(this.urlPrefix);
|
|
1538
1538
|
if ((t == null ? void 0 : t.status) !== 200)
|
|
1539
1539
|
throw new Error("Failed to load nozzle availability");
|
|
1540
|
-
const r = await
|
|
1540
|
+
const r = await g.loader.executeLoader(
|
|
1541
1541
|
u.AvailabilityLoader,
|
|
1542
1542
|
{}
|
|
1543
1543
|
);
|
|
1544
1544
|
e == null || e.set(u.AvailabilityLoader, r), e == null || e.set(Se.type, this);
|
|
1545
1545
|
for (const a of Object.keys((s = t.data) == null ? void 0 : s.groups) || [])
|
|
1546
1546
|
for (const n of ((i = t.data) == null ? void 0 : i.groups[a]) || []) {
|
|
1547
|
-
const c = await
|
|
1547
|
+
const c = await g.dataMapper.executeMapper(
|
|
1548
1548
|
u.AvailabilityMapper,
|
|
1549
1549
|
{ ...n, groupId: a },
|
|
1550
1550
|
r
|
|
@@ -1575,7 +1575,7 @@ let $ = class {
|
|
|
1575
1575
|
this._availabilityItems.removeModel(a.id), Mt(a);
|
|
1576
1576
|
});
|
|
1577
1577
|
for (const a of (e == null ? void 0 : e.groups[s]) || []) {
|
|
1578
|
-
const n = await
|
|
1578
|
+
const n = await g.dataMapper.executeMapper(
|
|
1579
1579
|
u.AvailabilityMapper,
|
|
1580
1580
|
{ ...a, groupId: s },
|
|
1581
1581
|
r
|
|
@@ -1604,7 +1604,7 @@ let $ = class {
|
|
|
1604
1604
|
else
|
|
1605
1605
|
for (const s of Object.keys(e == null ? void 0 : e.groups) || [])
|
|
1606
1606
|
for (const i of (e == null ? void 0 : e.groups[s]) || []) {
|
|
1607
|
-
const a = await
|
|
1607
|
+
const a = await g.dataMapper.executeMapper(
|
|
1608
1608
|
u.AvailabilityMapper,
|
|
1609
1609
|
{ ...i, groupId: s },
|
|
1610
1610
|
r
|
|
@@ -1638,7 +1638,7 @@ te([
|
|
|
1638
1638
|
], $.prototype, "fixedPour", 1);
|
|
1639
1639
|
te([
|
|
1640
1640
|
Q({
|
|
1641
|
-
topic: `${
|
|
1641
|
+
topic: `${jr}/availability`,
|
|
1642
1642
|
websocket: !0
|
|
1643
1643
|
})
|
|
1644
1644
|
], $.prototype, "updateAvailability", 1);
|
|
@@ -1653,13 +1653,13 @@ const Se = {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
},
|
|
1655
1655
|
type: J,
|
|
1656
|
-
predicate:
|
|
1657
|
-
factory:
|
|
1656
|
+
predicate: v(J),
|
|
1657
|
+
factory: b.Factory.create(J)
|
|
1658
1658
|
};
|
|
1659
|
-
var
|
|
1660
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
1659
|
+
var Hr = Object.defineProperty, Kr = Object.getOwnPropertyDescriptor, nt = (e, t, r, s) => {
|
|
1660
|
+
for (var i = s > 1 ? void 0 : s ? Kr(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
1661
1661
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
1662
|
-
return s && i &&
|
|
1662
|
+
return s && i && Hr(t, r, i), i;
|
|
1663
1663
|
};
|
|
1664
1664
|
const ot = "device-assembly-model";
|
|
1665
1665
|
let de = class {
|
|
@@ -1701,13 +1701,13 @@ nt([
|
|
|
1701
1701
|
de = nt([
|
|
1702
1702
|
I(ot)
|
|
1703
1703
|
], de);
|
|
1704
|
-
const
|
|
1704
|
+
const Vr = new Ot({
|
|
1705
1705
|
class: de,
|
|
1706
1706
|
type: ot
|
|
1707
|
-
}), { URL: dt } = S("GENERIC_POUR_SERVICE"), { postModel:
|
|
1707
|
+
}), { URL: dt } = S("GENERIC_POUR_SERVICE"), { postModel: kr } = C.build({
|
|
1708
1708
|
basePath: `${dt}/api/nozzle`
|
|
1709
|
-
}),
|
|
1710
|
-
const r = await
|
|
1709
|
+
}), Yr = async (e, t) => {
|
|
1710
|
+
const r = await kr({
|
|
1711
1711
|
model: {},
|
|
1712
1712
|
urlOverride: `${dt}${e}`,
|
|
1713
1713
|
ordered: !0,
|
|
@@ -1715,12 +1715,12 @@ const Zr = new Ot({
|
|
|
1715
1715
|
});
|
|
1716
1716
|
return r != null && r.data && pe.initiateFuture(r.data), r;
|
|
1717
1717
|
};
|
|
1718
|
-
var
|
|
1719
|
-
for (var i = s > 1 ? void 0 : s ?
|
|
1718
|
+
var Zr = Object.defineProperty, Xr = Object.getOwnPropertyDescriptor, lt = (e, t, r, s) => {
|
|
1719
|
+
for (var i = s > 1 ? void 0 : s ? Xr(t, r) : t, a = e.length - 1, n; a >= 0; a--)
|
|
1720
1720
|
(n = e[a]) && (i = (s ? n(t, r, i) : n(i)) || i);
|
|
1721
|
-
return s && i &&
|
|
1721
|
+
return s && i && Zr(t, r, i), i;
|
|
1722
1722
|
};
|
|
1723
|
-
const ct = "generic-pour-model",
|
|
1723
|
+
const ct = "generic-pour-model", Jr = "/kos/generic/pour/started", qr = "/kos/generic/pour/progress", ze = "/kos/generic/pour/cancel", fe = (e) => e.onPourStart !== void 0 && e.onPourCancel !== void 0 && e.onPourProgress !== void 0;
|
|
1724
1724
|
let le = class {
|
|
1725
1725
|
constructor(e, t, r) {
|
|
1726
1726
|
o(this, "id");
|
|
@@ -1741,16 +1741,16 @@ let le = class {
|
|
|
1741
1741
|
if (this.currentState === d.IDLE) {
|
|
1742
1742
|
if (this.updateIfCurrent(d.IDLE, d.POUR_STARTING), !e)
|
|
1743
1743
|
throw new Error("No tracker provided");
|
|
1744
|
-
const r = await
|
|
1744
|
+
const r = await Yr(this.servicePath, e);
|
|
1745
1745
|
this.updateIfCurrent(d.POUR_STARTING, d.POURING), E(this).forEach((i) => {
|
|
1746
1746
|
var a;
|
|
1747
|
-
|
|
1747
|
+
fe(i) && ((a = i.onPourStart) == null || a.call(i));
|
|
1748
1748
|
});
|
|
1749
1749
|
const s = {
|
|
1750
1750
|
pourTarget: this.id,
|
|
1751
1751
|
type: this.pourType
|
|
1752
1752
|
};
|
|
1753
|
-
if (_.publish(
|
|
1753
|
+
if (_.publish(Jr, s), (t = r == null ? void 0 : r.data) != null && t.endState) {
|
|
1754
1754
|
this.updateIfCurrent(d.POURING, d.IDLE);
|
|
1755
1755
|
const i = {
|
|
1756
1756
|
pourTarget: this.id
|
|
@@ -1767,11 +1767,11 @@ let le = class {
|
|
|
1767
1767
|
async cancelPour() {
|
|
1768
1768
|
var e;
|
|
1769
1769
|
if (this.currentState === d.POURING || this.currentState === d.POUR_STARTING) {
|
|
1770
|
-
this.currentState = d.POUR_CANCELING, await ((e = this.futureHandler.getFuture()) == null ? void 0 : e.cancelFuture()),
|
|
1770
|
+
this.currentState = d.POUR_CANCELING, await ((e = this.futureHandler.getFuture()) == null ? void 0 : e.cancelFuture()), h(() => {
|
|
1771
1771
|
this.currentState = d.IDLE;
|
|
1772
1772
|
}), E(this).forEach((r) => {
|
|
1773
1773
|
var s;
|
|
1774
|
-
|
|
1774
|
+
fe(r) && ((s = r.onPourCancel) == null || s.call(r));
|
|
1775
1775
|
});
|
|
1776
1776
|
const t = {
|
|
1777
1777
|
pourTarget: this.id
|
|
@@ -1781,7 +1781,7 @@ let le = class {
|
|
|
1781
1781
|
this.currentState === d.IDLE ? this.logger.info("Pour already idle, nothing to cancel.") : this.logger.warn(`Cannot cancel pour in state ${this.currentState}`);
|
|
1782
1782
|
}
|
|
1783
1783
|
updateIfCurrent(e, t) {
|
|
1784
|
-
this.currentState === e &&
|
|
1784
|
+
this.currentState === e && h(() => {
|
|
1785
1785
|
this.currentState = t;
|
|
1786
1786
|
});
|
|
1787
1787
|
}
|
|
@@ -1813,7 +1813,7 @@ let le = class {
|
|
|
1813
1813
|
}
|
|
1814
1814
|
onFutureUpdate(e) {
|
|
1815
1815
|
E(this).forEach((r) => {
|
|
1816
|
-
|
|
1816
|
+
fe(r) && r.onPourProgress(e);
|
|
1817
1817
|
});
|
|
1818
1818
|
const t = {
|
|
1819
1819
|
pourTarget: this.id,
|
|
@@ -1826,7 +1826,7 @@ let le = class {
|
|
|
1826
1826
|
reason: e.reason,
|
|
1827
1827
|
timeRemaining: e.timeRemaining
|
|
1828
1828
|
};
|
|
1829
|
-
_.publish(
|
|
1829
|
+
_.publish(qr, t), e.endState && h(() => {
|
|
1830
1830
|
this.currentState = d.IDLE;
|
|
1831
1831
|
});
|
|
1832
1832
|
}
|
|
@@ -1844,24 +1844,24 @@ lt([
|
|
|
1844
1844
|
le = lt([
|
|
1845
1845
|
I(ct)
|
|
1846
1846
|
], le);
|
|
1847
|
-
const
|
|
1847
|
+
const ni = new Et({
|
|
1848
1848
|
class: le,
|
|
1849
1849
|
type: ct
|
|
1850
1850
|
}), Le = {
|
|
1851
1851
|
...Ke.registration,
|
|
1852
1852
|
...je.registration,
|
|
1853
1853
|
...rt.registration,
|
|
1854
|
-
...
|
|
1854
|
+
...Ye.registration,
|
|
1855
1855
|
...Se.registration,
|
|
1856
1856
|
...it.registration,
|
|
1857
1857
|
...Oe.registration,
|
|
1858
1858
|
..._e.registration,
|
|
1859
1859
|
...at.registration,
|
|
1860
1860
|
...tt.registration
|
|
1861
|
-
},
|
|
1861
|
+
}, Wr = (e) => () => ($t(e)(), Vr.register(), Object.keys(Le).forEach((t) => {
|
|
1862
1862
|
const r = Le[t];
|
|
1863
1863
|
St(e)(t, r);
|
|
1864
|
-
}),
|
|
1864
|
+
}), g[W].register(
|
|
1865
1865
|
"FirmwareUpdateInProgressTrouble",
|
|
1866
1866
|
async (t) => {
|
|
1867
1867
|
var r;
|
|
@@ -1889,56 +1889,56 @@ const li = new Et({
|
|
|
1889
1889
|
...wt
|
|
1890
1890
|
};
|
|
1891
1891
|
P.dispense = {
|
|
1892
|
-
models:
|
|
1892
|
+
models: Wr(P)
|
|
1893
1893
|
};
|
|
1894
1894
|
P.preload = O.model.preloadModel(P);
|
|
1895
1895
|
P.model = O.model.register(P);
|
|
1896
1896
|
P.companion = O.companion.register(P);
|
|
1897
1897
|
P.legacy = O.model.registerLegacyModel(P);
|
|
1898
|
-
const
|
|
1898
|
+
const oi = P;
|
|
1899
1899
|
export {
|
|
1900
1900
|
at as A,
|
|
1901
1901
|
x as B,
|
|
1902
|
-
|
|
1902
|
+
Sr as C,
|
|
1903
1903
|
D,
|
|
1904
1904
|
u as E,
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1905
|
+
xr as F,
|
|
1906
|
+
ni as G,
|
|
1907
|
+
Ye as H,
|
|
1908
1908
|
je as I,
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1909
|
+
Lr as J,
|
|
1910
|
+
oi as K,
|
|
1911
|
+
zr as L,
|
|
1912
|
+
Ar as M,
|
|
1913
1913
|
Se as N,
|
|
1914
|
-
|
|
1914
|
+
Yr as O,
|
|
1915
1915
|
it as P,
|
|
1916
1916
|
Xe as T,
|
|
1917
|
-
|
|
1917
|
+
Cr as a,
|
|
1918
1918
|
_e as b,
|
|
1919
1919
|
Je as c,
|
|
1920
1920
|
tt as d,
|
|
1921
1921
|
et as e,
|
|
1922
|
-
|
|
1922
|
+
Vr as f,
|
|
1923
1923
|
rt as g,
|
|
1924
1924
|
Ke as h,
|
|
1925
1925
|
Oe as i,
|
|
1926
1926
|
We as j,
|
|
1927
1927
|
Le as k,
|
|
1928
1928
|
d as l,
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1929
|
+
Tt as m,
|
|
1930
|
+
si as n,
|
|
1931
|
+
Ut as o,
|
|
1932
|
+
ai as p,
|
|
1933
|
+
ii as q,
|
|
1934
|
+
Wr as r,
|
|
1935
|
+
ri as s,
|
|
1936
|
+
jt as t,
|
|
1937
|
+
Kt as u,
|
|
1938
|
+
Gt as v,
|
|
1939
1939
|
Ze as w,
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1940
|
+
vr as x,
|
|
1941
|
+
br as y,
|
|
1942
|
+
Br as z
|
|
1943
1943
|
};
|
|
1944
|
-
//# sourceMappingURL=dispense-registration-manager-
|
|
1944
|
+
//# sourceMappingURL=dispense-registration-manager-DZWwSdsc.js.map
|