@kosdev-code/kos-freestyle-sdk 2.1.3 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- var Fe = Object.defineProperty;
2
- var Le = (e, t, r) => t in e ? Fe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var o = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { kosModel as f, KosModelRegistrationFactory as b, KosModelContainer as Ge, kosChild as de, resolveServiceUrl as L, ServiceFactory as G, createPropKey as j, kosStateProp as J, kosFuture as U, kosModelEffect as k, kosFutureAware as je, kosLoggerAware as ue, EventBus as M, SingletonKosModelRegistrationFactory as ee, kosParentAware as ce, KosFeatureFlags as x, kosConfigProperty as p, getKosModelSync as v, kosContainerAware as Ue, KosContextManager as Be, KosLog as $, FutureManager as He, kosAction as w, FetchError as xe, KOS_MODEL_ID as m, MultipleFutureHandler as Ke, kosTopicHandler as Ye, DependencyLifecycle as qe, modelTypeEventTopicFactory as Ve, RegistrationManager as h, registerCoreModels as We, Trouble as Ze, ExtensionManager as K, EXTENSION_TROUBLE_DATA_MAPPER as Y } from "@kosdev-code/kos-ui-sdk";
5
- import { PourState as u, Assembly as ge, KosModelRegistry as Qe, registerDispenseModels as Xe, Nozzle as Je, Pump as ke, Holder as et, PumpContainer as tt, PumpIndex as rt } from "@kosdev-code/kos-dispense-sdk";
1
+ var Le = Object.defineProperty;
2
+ var Fe = (e, t, r) => t in e ? Le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var o = (e, t, r) => (Fe(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ import { kosModel as f, KosModelRegistrationFactory as b, KosModelContainer as Ge, kosChild as de, resolveServiceUrl as F, ServiceFactory as G, createPropKey as j, kosStateProp as J, kosFuture as U, kosModelEffect as k, kosFutureAware as je, kosLoggerAware as ce, EventBus as M, SingletonKosModelRegistrationFactory as ee, kosParentAware as ge, KosFeatureFlags as H, kosConfigProperty as p, getKosModelSync as v, kosContainerAware as Ue, KosContextManager as Be, KosLog as $, FutureManager as xe, kosAction as w, FetchError as He, KOS_MODEL_ID as m, kosMultipleFutureAware as Ke, kosTopicHandler as Ye, DependencyLifecycle as qe, modelTypeEventTopicFactory as Ve, RegistrationManager as h, registerCoreModels as We, Trouble as Ze, ExtensionManager as K, EXTENSION_TROUBLE_DATA_MAPPER as Y } from "@kosdev-code/kos-ui-sdk";
5
+ import { PourState as c, Assembly as ue, KosModelRegistry as Qe, registerDispenseModels as Xe, Nozzle as Je, Pump as ke, Holder as et, PumpContainer as tt, PumpIndex as rt } from "@kosdev-code/kos-dispense-sdk";
6
6
  var at = Object.getOwnPropertyDescriptor, ot = (e, t, r, s) => {
7
7
  for (var a = s > 1 ? void 0 : s ? at(t, r) : t, i = e.length - 1, n; i >= 0; i--)
8
8
  (n = e[i]) && (a = n(a) || a);
@@ -80,7 +80,7 @@ ye([
80
80
  S = ye([
81
81
  f(fe)
82
82
  ], S);
83
- const { URL: me } = L("CARTRIDGE_AGITATOR_SERVICE"), { postModel: nt } = G.build({
83
+ const { URL: me } = F("CARTRIDGE_AGITATOR_SERVICE"), { postModel: nt } = G.build({
84
84
  basePath: `${me}/api/ext/freestyle/freestyle/ice`
85
85
  }), lt = async (e, t) => {
86
86
  const r = await nt({
@@ -92,8 +92,8 @@ const { URL: me } = L("CARTRIDGE_AGITATOR_SERVICE"), { postModel: nt } = G.build
92
92
  throw new Error("No response from server");
93
93
  return r.data;
94
94
  };
95
- var dt = Object.defineProperty, ut = Object.getOwnPropertyDescriptor, B = (e, t, r, s) => {
96
- for (var a = s > 1 ? void 0 : s ? ut(t, r) : t, i = e.length - 1, n; i >= 0; i--)
95
+ var dt = Object.defineProperty, ct = Object.getOwnPropertyDescriptor, B = (e, t, r, s) => {
96
+ for (var a = s > 1 ? void 0 : s ? ct(t, r) : t, i = e.length - 1, n; i >= 0; i--)
97
97
  (n = e[i]) && (a = (s ? n(t, r, a) : n(a)) || a);
98
98
  return s && a && dt(t, r, a), a;
99
99
  };
@@ -101,7 +101,7 @@ const Pe = "cartridge-agitator-model";
101
101
  class R {
102
102
  }
103
103
  o(R, "TOPIC_AGITATION_STARTED", "/kos/events/ddk/agitation-started"), o(R, "TOPIC_AGITATION_ENDED", "/kos/events/ddk/agitation-ended");
104
- const ct = j("statePath");
104
+ const gt = j("statePath");
105
105
  let T = class {
106
106
  constructor(e, t) {
107
107
  o(this, "id");
@@ -130,7 +130,7 @@ let T = class {
130
130
  }
131
131
  };
132
132
  B([
133
- J({ path: ct, attribute: "agitating" })
133
+ J({ path: gt, attribute: "agitating" })
134
134
  ], T.prototype, "agitating", 2);
135
135
  B([
136
136
  U()
@@ -143,7 +143,7 @@ B([
143
143
  T = B([
144
144
  f(Pe),
145
145
  je(),
146
- ue()
146
+ ce()
147
147
  ], T);
148
148
  const be = new b({
149
149
  class: T,
@@ -153,10 +153,10 @@ const be = new b({
153
153
  type: fe
154
154
  });
155
155
  te.addRelatedModel(be);
156
- var gt = Object.defineProperty, ht = Object.getOwnPropertyDescriptor, _e = (e, t, r, s) => {
156
+ var ut = Object.defineProperty, ht = Object.getOwnPropertyDescriptor, _e = (e, t, r, s) => {
157
157
  for (var a = s > 1 ? void 0 : s ? ht(t, r) : t, i = e.length - 1, n; i >= 0; i--)
158
158
  (n = e[i]) && (a = (s ? n(t, r, a) : n(a)) || a);
159
- return s && a && gt(t, r, a), a;
159
+ return s && a && ut(t, r, a), a;
160
160
  };
161
161
  const ve = "freestyle-assembly-model", pt = "iceAgitator", yt = "carbAgitator", ft = "remoteTrays";
162
162
  let D = class {
@@ -220,13 +220,13 @@ let D = class {
220
220
  }
221
221
  // -------------------LIFECYCLE----------------------------
222
222
  get supportsRemoteTrays() {
223
- return x.isFeatureEnabled(ft);
223
+ return H.isFeatureEnabled(ft);
224
224
  }
225
225
  get supportsIce() {
226
- return x.isFeatureEnabled(pt);
226
+ return H.isFeatureEnabled(pt);
227
227
  }
228
228
  get supportsCarb() {
229
- return x.isFeatureEnabled(yt);
229
+ return H.isFeatureEnabled(yt);
230
230
  }
231
231
  async init() {
232
232
  this.logger.debug(`initializing freestyle-assembly ${this.id}`);
@@ -236,7 +236,7 @@ _e([
236
236
  de
237
237
  ], D.prototype, "_remoteTrays", 2);
238
238
  D = _e([
239
- ce(),
239
+ ge(),
240
240
  f(ve)
241
241
  ], D);
242
242
  const W = new ee({
@@ -368,7 +368,7 @@ let Z = class {
368
368
  };
369
369
  Z = vt([
370
370
  f(Oe),
371
- ue(),
371
+ ce(),
372
372
  Ue()
373
373
  ], Z);
374
374
  const re = new ee({
@@ -397,7 +397,7 @@ async function At(e, t) {
397
397
  return;
398
398
  const r = await e[t]();
399
399
  if (r != null && r.tracker)
400
- return He.getFuture(r.tracker);
400
+ return xe.getFuture(r.tracker);
401
401
  }
402
402
  let Q = class {
403
403
  constructor(e, t, r) {
@@ -445,7 +445,7 @@ Q = Tt([
445
445
  const se = new b({
446
446
  class: Q,
447
447
  type: Ae
448
- }), { URL: Et } = L("FREESTYLE-NOZZLE_SERVICE"), { getOne: $t } = G.build({
448
+ }), { URL: Et } = F("FREESTYLE-NOZZLE_SERVICE"), { getOne: $t } = G.build({
449
449
  basePath: `${Et}/api/freestyle-nozzle`
450
450
  }), C = $.createLogger({
451
451
  name: "freestyle-nozzle-service",
@@ -540,13 +540,13 @@ Ee([
540
540
  })
541
541
  ], N.prototype, "handleBeverageSelection", 1);
542
542
  N = Ee([
543
- ce(),
543
+ ge(),
544
544
  f($e)
545
545
  ], N);
546
546
  const ne = new b({
547
547
  class: N,
548
548
  type: $e
549
- }), { URL: Ce } = L("PUMP_SERVICE"), { postModel: Rt } = G.build({
549
+ }), { URL: Ce } = F("PUMP_SERVICE"), { postModel: Rt } = G.build({
550
550
  basePath: `${Ce}/api/ext/freestyle/microCalibration`
551
551
  }), q = $.createLogger({
552
552
  name: "freestyle-pump-service",
@@ -566,7 +566,7 @@ const ne = new b({
566
566
  if (q.error(
567
567
  `replacePump - sending POST request to /api/cal/${e}/code/${t}`,
568
568
  l
569
- ), l instanceof xe) {
569
+ ), l instanceof He) {
570
570
  const O = ((a = (s = l.payload) == null ? void 0 : s.data) == null ? void 0 : a.error) || ((i = l.payload) == null ? void 0 : i.error) || "unknownError";
571
571
  return [O, ((n = l.payload) == null ? void 0 : n.data) || { error: O }];
572
572
  }
@@ -598,20 +598,20 @@ X = Nt([
598
598
  const le = new b({
599
599
  class: X,
600
600
  type: we
601
- }), { URL: I } = L("ICE_AGITATOR_SERVICE"), { getAll: Me, postModel: H } = G.build({
601
+ }), { URL: I } = F("ICE_AGITATOR_SERVICE"), { getAll: Me, postModel: x } = G.build({
602
602
  basePath: `${I}/api/ext/freestyle/ice`
603
603
  }), Se = $.createLogger({
604
604
  name: "ice-agitator-service",
605
605
  group: "Services"
606
- }), Ft = async (e) => (Se.debug("sending GET for ice types"), await Me({
606
+ }), Lt = async (e) => (Se.debug("sending GET for ice types"), await Me({
607
607
  urlOverride: `${I}/api/handle/${e}/types`
608
- })), Lt = async (e, t) => (Se.debug("sending POST for ice types"), await H({
608
+ })), Ft = async (e, t) => (Se.debug("sending POST for ice types"), await x({
609
609
  urlOverride: `${I}/api/handle/${e}/type/${t}`,
610
610
  model: {}
611
611
  })), Gt = async (e) => await Me({
612
612
  urlOverride: `${I}/api/kos/config/details/${e}/4`
613
613
  }), jt = async (e, t) => {
614
- const r = await H({
614
+ const r = await x({
615
615
  model: {},
616
616
  tracker: t,
617
617
  urlOverride: `${I}/api/handle/${e}/pour`
@@ -620,7 +620,7 @@ const le = new b({
620
620
  throw new Error("No response from server");
621
621
  return r == null ? void 0 : r.data;
622
622
  }, Ut = async (e, t) => {
623
- const r = await H({
623
+ const r = await x({
624
624
  model: {},
625
625
  tracker: t,
626
626
  urlOverride: `${I}/api/handle/${e}/test/agitation`
@@ -629,7 +629,7 @@ const le = new b({
629
629
  throw new Error("No response from server");
630
630
  return r == null ? void 0 : r.data;
631
631
  }, Bt = async (e, t) => {
632
- const r = await H({
632
+ const r = await x({
633
633
  model: {},
634
634
  tracker: t,
635
635
  urlOverride: `${I}/api/handle/${e}/test/gate`
@@ -638,21 +638,20 @@ const le = new b({
638
638
  throw new Error("No response from server");
639
639
  return r == null ? void 0 : r.data;
640
640
  };
641
- var Ht = Object.defineProperty, xt = Object.getOwnPropertyDescriptor, c = (e, t, r, s) => {
642
- for (var a = s > 1 ? void 0 : s ? xt(t, r) : t, i = e.length - 1, n; i >= 0; i--)
641
+ var xt = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, g = (e, t, r, s) => {
642
+ for (var a = s > 1 ? void 0 : s ? Ht(t, r) : t, i = e.length - 1, n; i >= 0; i--)
643
643
  (n = e[i]) && (a = (s ? n(t, r, a) : n(a)) || a);
644
- return s && a && Ht(t, r, a), a;
644
+ return s && a && xt(t, r, a), a;
645
645
  };
646
- class F {
646
+ class L {
647
647
  }
648
- o(F, "TOPIC_AGITATION_STARTED", "/kos/events/ddk/ice-agitation-started"), o(F, "TOPIC_AGITATION_ENDED", "/kos/events/ddk/ice-agitation-ended");
648
+ o(L, "TOPIC_AGITATION_STARTED", "/kos/events/ddk/ice-agitation-started"), o(L, "TOPIC_AGITATION_ENDED", "/kos/events/ddk/ice-agitation-ended");
649
649
  const Re = "ice-agitator-model", De = j("statePath");
650
650
  let d = class {
651
651
  constructor(e, t, r) {
652
652
  o(this, "id");
653
653
  o(this, "name");
654
654
  o(this, "path");
655
- o(this, "futureHandler");
656
655
  o(this, "volWithoutIceMl");
657
656
  o(this, "durationSec");
658
657
  o(this, "enableIceChuteClear");
@@ -668,9 +667,9 @@ let d = class {
668
667
  o(this, "statePath");
669
668
  o(this, "_allIceTypes");
670
669
  o(this, "logger");
671
- o(this, "currentState", u.IDLE);
670
+ o(this, "currentState", c.IDLE);
672
671
  o(this, "resetDefaultValues", async () => await Gt(this.path));
673
- this.id = e, this.name = t.name, this.path = t.path, this.statePath = t.statePath, this._allIceTypes = [], this.logger = r.logger, this.futureHandler = new Ke(this);
672
+ this.id = e, this.name = t.name, this.path = t.path, this.statePath = t.statePath, this._allIceTypes = [], this.logger = r.logger;
674
673
  }
675
674
  get iceTypes() {
676
675
  return this._allIceTypes;
@@ -681,25 +680,14 @@ let d = class {
681
680
  get isIceChuteOpen() {
682
681
  return !!this.iceChuteOpen.value;
683
682
  }
684
- get future() {
685
- return this.futureHandler.future;
686
- }
687
- get pourFuture() {
688
- return this.futureHandler.futureMap.get("pour");
689
- }
690
- get agitateFuture() {
691
- return this.futureHandler.futureMap.get("agitate");
692
- }
693
- get gateFuture() {
694
- return this.futureHandler.futureMap.get("gate");
695
- }
683
+ // future, pourFuture, agitateFuture, gateFuture getters are now provided by @kosMultipleFutureAware decorator
696
684
  /**
697
685
  * A derived value that indicates if the nozzle is currently pouring a beverage.
698
686
  * @readonly
699
687
  */
700
688
  get isPouring() {
701
689
  var e;
702
- return !!(this.pourFuture && !((e = this.pourFuture) != null && e.endState)) || this.currentState === u.POUR_STARTING || this.currentState === u.POURING || this.currentState === u.POUR_CANCELING;
690
+ return !!(this.pourFuture && !((e = this.pourFuture) != null && e.endState)) || this.currentState === c.POUR_STARTING || this.currentState === c.POURING || this.currentState === c.POUR_CANCELING;
703
691
  }
704
692
  /**
705
693
  * A derived value that indicates if it is possible to dispense ice.
@@ -708,7 +696,7 @@ let d = class {
708
696
  * @readonly
709
697
  * */
710
698
  get canPour() {
711
- return this.currentState === u.IDLE;
699
+ return this.currentState === c.IDLE;
712
700
  }
713
701
  updateIfCurrent(e, t) {
714
702
  this.currentState === e && w(() => {
@@ -717,15 +705,15 @@ let d = class {
717
705
  }
718
706
  async pourIce(e) {
719
707
  try {
720
- if (this.currentState === u.IDLE) {
721
- if (this.updateIfCurrent(u.IDLE, u.POUR_STARTING), !e)
708
+ if (this.currentState === c.IDLE) {
709
+ if (this.updateIfCurrent(c.IDLE, c.POUR_STARTING), !e)
722
710
  throw new Error("No tracker provided");
723
711
  const t = await jt(this.path, e);
724
- return this.updateIfCurrent(u.POUR_STARTING, u.POURING), t != null && t.endState && this.updateIfCurrent(u.POURING, u.IDLE), t;
712
+ return this.updateIfCurrent(c.POUR_STARTING, c.POURING), t != null && t.endState && this.updateIfCurrent(c.POURING, c.IDLE), t;
725
713
  } else
726
714
  throw new Error(`Cannot pour in state ${this.currentState}`);
727
715
  } catch (t) {
728
- throw this.logger.error(t), this.currentState = u.IDLE, t;
716
+ throw this.logger.error(t), this.currentState = c.IDLE, t;
729
717
  }
730
718
  }
731
719
  /**
@@ -733,8 +721,8 @@ let d = class {
733
721
  * */
734
722
  async cancelIceDispense() {
735
723
  var e;
736
- this.currentState === u.POURING || this.currentState === u.POUR_STARTING ? (this.currentState = u.POUR_CANCELING, await ((e = this.pourFuture) == null ? void 0 : e.cancelFuture()), w(() => {
737
- this.currentState = u.IDLE;
724
+ this.currentState === c.POURING || this.currentState === c.POUR_STARTING ? (this.currentState = c.POUR_CANCELING, await ((e = this.pourFuture) == null ? void 0 : e.cancelFuture()), w(() => {
725
+ this.currentState = c.IDLE;
738
726
  })) : this.logger.warn(
739
727
  `Cannot cancel ice dispense in state ${this.currentState}`
740
728
  );
@@ -751,34 +739,34 @@ let d = class {
751
739
  }
752
740
  handleAgitationChange() {
753
741
  var e;
754
- this.isAgitating ? (this.logger.info(`agitating ice-agitator ${this.id}`), M.publish(F.TOPIC_AGITATION_STARTED, {
742
+ this.isAgitating ? (this.logger.info(`agitating ice-agitator ${this.id}`), M.publish(L.TOPIC_AGITATION_STARTED, {
755
743
  path: this.path,
756
744
  futureId: (e = this.futureHandler.future) == null ? void 0 : e.futureId
757
- })) : M.publish(F.TOPIC_AGITATION_ENDED, {
745
+ })) : M.publish(L.TOPIC_AGITATION_ENDED, {
758
746
  path: this.path
759
747
  });
760
748
  }
761
749
  async updateIceType(e) {
762
- await Lt(this.path, e);
750
+ await Ft(this.path, e);
763
751
  }
764
752
  async init() {
765
753
  this.logger.debug(`initializing ice-agitator ${this.id}`);
766
754
  }
767
755
  async load() {
768
756
  this.logger.debug(`loading ice-agitator ${this.id}`);
769
- const e = await Ft(this.path);
757
+ const e = await Lt(this.path);
770
758
  (e == null ? void 0 : e.status) === 200 && w(() => {
771
759
  this._allIceTypes = e.data || [];
772
760
  });
773
761
  }
774
762
  };
775
- c([
763
+ g([
776
764
  p({
777
765
  path: m,
778
766
  attribute: "settings.volWithoutIceMl"
779
767
  })
780
768
  ], d.prototype, "volWithoutIceMl", 2);
781
- c([
769
+ g([
782
770
  p({
783
771
  path: m,
784
772
  attribute: "settings.durationSec",
@@ -787,49 +775,49 @@ c([
787
775
  }
788
776
  })
789
777
  ], d.prototype, "durationSec", 2);
790
- c([
778
+ g([
791
779
  p({
792
780
  path: m,
793
781
  attribute: "enableIceChuteClear"
794
782
  })
795
783
  ], d.prototype, "enableIceChuteClear", 2);
796
- c([
784
+ g([
797
785
  p({
798
786
  path: m,
799
787
  attribute: "iceChuteClearDurationMs"
800
788
  })
801
789
  ], d.prototype, "iceChuteClearDurationMs", 2);
802
- c([
790
+ g([
803
791
  p({
804
792
  path: m,
805
793
  attribute: "iceChuteClearIntervalSec"
806
794
  })
807
795
  ], d.prototype, "iceChuteClearIntervalSec", 2);
808
- c([
796
+ g([
809
797
  p({
810
798
  path: m,
811
799
  attribute: "iceChuteClearRetryIntervalSec"
812
800
  })
813
801
  ], d.prototype, "iceChuteClearRetryIntervalSec", 2);
814
- c([
802
+ g([
815
803
  p({
816
804
  path: m,
817
805
  attribute: "maxDispenseSec"
818
806
  })
819
807
  ], d.prototype, "maxDispenseSec", 2);
820
- c([
808
+ g([
821
809
  p({
822
810
  path: m,
823
811
  attribute: "type"
824
812
  })
825
813
  ], d.prototype, "type", 2);
826
- c([
814
+ g([
827
815
  p({
828
816
  path: m,
829
817
  attribute: "settings.dilutionOffset"
830
818
  })
831
819
  ], d.prototype, "dilutionOffset", 2);
832
- c([
820
+ g([
833
821
  p({
834
822
  path: m,
835
823
  attribute: "settings.inactivitySec",
@@ -838,30 +826,31 @@ c([
838
826
  }
839
827
  })
840
828
  ], d.prototype, "inactivitySec", 2);
841
- c([
829
+ g([
842
830
  J({ path: De, attribute: "agitating" })
843
831
  ], d.prototype, "agitating", 2);
844
- c([
832
+ g([
845
833
  J({ path: De, attribute: "iceChuteOpen" })
846
834
  ], d.prototype, "iceChuteOpen", 2);
847
- c([
835
+ g([
848
836
  U({ alias: "pour" })
849
837
  ], d.prototype, "pourIce", 1);
850
- c([
838
+ g([
851
839
  U({ alias: "agitate" })
852
840
  ], d.prototype, "testAgitate", 1);
853
- c([
841
+ g([
854
842
  U({
855
843
  alias: "gate"
856
844
  })
857
845
  ], d.prototype, "testGate", 1);
858
- c([
846
+ g([
859
847
  k({
860
848
  dependencies: (e) => [e.isAgitating]
861
849
  })
862
850
  ], d.prototype, "handleAgitationChange", 1);
863
- d = c([
864
- f(Re)
851
+ d = g([
852
+ f(Re),
853
+ Ke()
865
854
  ], d);
866
855
  const ze = new b({
867
856
  class: d,
@@ -925,7 +914,7 @@ ae([
925
914
  ], E.prototype, "agitateBeforePour", 2);
926
915
  ae([
927
916
  Ye({
928
- topic: Ve(ge.type),
917
+ topic: Ve(ue.type),
929
918
  lifecycle: qe.INIT
930
919
  })
931
920
  ], E.prototype, "updateHolder", 1);
@@ -941,33 +930,33 @@ const Wt = new b({
941
930
  }, Xt = $.createLogger({ name: "freestyle-assembly-data-mapper" }), rr = async (e) => {
942
931
  const t = te.instance().options({}).build(), r = re.instance().options({}).build(), s = e.assemblies.reduce((n, l) => {
943
932
  var O;
944
- return Zt.forEach((g) => {
933
+ return Zt.forEach((u) => {
945
934
  var _;
946
- const P = l[g];
935
+ const P = l[u];
947
936
  if (P) {
948
- const Ne = Qt[g](P.path);
949
- n[g] = Ne({
937
+ const Ne = Qt[u](P.path);
938
+ n[u] = Ne({
950
939
  name: P.name,
951
940
  path: P.path,
952
941
  statePath: ((_ = P.state) == null ? void 0 : _.path) || ""
953
942
  });
954
943
  }
955
- }), (O = l.cartridgeAgitators) == null || O.forEach((g) => {
944
+ }), (O = l.cartridgeAgitators) == null || O.forEach((u) => {
956
945
  var _;
957
946
  const P = be.instance(
958
- g.path
947
+ u.path
959
948
  ).options({
960
- name: g.name,
961
- path: g.path,
962
- statePath: ((_ = g.state) == null ? void 0 : _.path) || ""
949
+ name: u.name,
950
+ path: u.path,
951
+ statePath: ((_ = u.state) == null ? void 0 : _.path) || ""
963
952
  }).build();
964
953
  t.addModel(P);
965
- }), l.remoteTrays && l.remoteTrays.forEach((g) => {
966
- Xt.info(`Found remote tray ${g.name} with path ${g.path}`);
967
- const P = `${A.type}-${g.holderPath}`, _ = A.instance(P).options({
968
- holderPath: g.holderPath,
969
- configPath: g.path,
970
- name: g.name
954
+ }), l.remoteTrays && l.remoteTrays.forEach((u) => {
955
+ Xt.info(`Found remote tray ${u.name} with path ${u.path}`);
956
+ const P = `${A.type}-${u.holderPath}`, _ = A.instance(P).options({
957
+ holderPath: u.holderPath,
958
+ configPath: u.path,
959
+ name: u.name
971
960
  }).build();
972
961
  r.addModel(_);
973
962
  }), n;
@@ -983,7 +972,7 @@ const Wt = new b({
983
972
  Je.type,
984
973
  ne.type
985
974
  ), h.companion.register(e)(
986
- ge.type,
975
+ ue.type,
987
976
  W.type
988
977
  ), Wt.register(), h.companion.register(e)(
989
978
  Ze.type,
@@ -1057,7 +1046,7 @@ export {
1057
1046
  Vt as A,
1058
1047
  pe as C,
1059
1048
  W as F,
1060
- F as I,
1049
+ L as I,
1061
1050
  ar as K,
1062
1051
  Ct as N,
1063
1052
  re as R,
@@ -1077,4 +1066,4 @@ export {
1077
1066
  pt as n,
1078
1067
  Jt as r
1079
1068
  };
1080
- //# sourceMappingURL=freestyle-registration-manager-CClN6mVr.js.map
1069
+ //# sourceMappingURL=freestyle-registration-manager-z0aYdMcC.js.map