@kosdev-code/kos-ui-sdk 2.1.29 → 2.1.31

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 CHANGED
@@ -900,7 +900,7 @@ const gd = window.KosFeatureFlags, md = (t, e, s) => {
900
900
  X(() => {
901
901
  Object.assign(e, r);
902
902
  });
903
- }, ae = Symbol("SubscriptionHandlers"), F = Symbol("DependencyModels"), nr = Symbol("FutureService"), ut = Symbol("ChildModels"), or = Symbol("ParentModel"), ir = Symbol("LogConfig"), bn = Symbol("ReferenceConfig"), La = Symbol("KosModelSymbol"), At = Symbol("ModelEffects"), ht = Symbol("CompanionParentModel"), Fa = Symbol("FutureContainerSetup"), Na = Symbol(
903
+ }, ae = Symbol("SubscriptionHandlers"), N = Symbol("DependencyModels"), nr = Symbol("FutureService"), ut = Symbol("ChildModels"), or = Symbol("ParentModel"), ir = Symbol("LogConfig"), bn = Symbol("ReferenceConfig"), La = Symbol("KosModelSymbol"), At = Symbol("ModelEffects"), ht = Symbol("CompanionParentModel"), Fa = Symbol("FutureContainerSetup"), Na = Symbol(
904
904
  "MultipleFutureContainerSetup"
905
905
  ), ar = Symbol("FutureAliases"), Ua = Symbol("TroubleAwareSetup"), ja = Symbol("LoggerSetup"), Ba = Symbol("ContainerAwareSetup"), Zr = Symbol("StateMachineSetup"), ps = Symbol("StateEntryHandlers"), cr = Symbol("StateExitHandlers"), tE = Symbol("StateActionHandlers"), Jr = Symbol("OptionsRequired"), wd = g.createLogger({ group: "decorators", name: "fsm-injection" });
906
906
  function Md(t) {
@@ -1148,7 +1148,7 @@ function Xr(t) {
1148
1148
  path: s,
1149
1149
  handler: n
1150
1150
  };
1151
- return r[Ze].push(i), r[F] = r[F] || {}, r[F][Zo] || (r[F][Zo] = {
1151
+ return r[Ze].push(i), r[N] = r[N] || {}, r[N][Zo] || (r[N][Zo] = {
1152
1152
  modelType: "browser-router-model",
1153
1153
  // This is the MODEL_TYPE from BrowserRouter
1154
1154
  lifecycle: x.INIT
@@ -1396,7 +1396,7 @@ function mE(t) {
1396
1396
  const s = (t == null ? void 0 : t.pathProperty) || "path";
1397
1397
  return e.prototype[Ua] = {
1398
1398
  pathProperty: s
1399
- }, e.prototype[F] = e.prototype[F] || {}, e.prototype[F].troubleContainer = {
1399
+ }, e.prototype[N] = e.prototype[N] || {}, e.prototype[N].troubleContainer = {
1400
1400
  modelType: "trouble-container-model",
1401
1401
  id: "trouble-container-model",
1402
1402
  // TroubleContainer is a singleton
@@ -1414,7 +1414,7 @@ const ks = ({
1414
1414
  lifecycle: r,
1415
1415
  resolutionPolicy: n
1416
1416
  }) => (o, i) => {
1417
- o[F] = o[F] || {}, o[F][i] = {
1417
+ o[N] = o[N] || {}, o[N][i] = {
1418
1418
  modelType: t,
1419
1419
  id: e,
1420
1420
  options: s,
@@ -2355,7 +2355,7 @@ function dh(t) {
2355
2355
  });
2356
2356
  }
2357
2357
  function hh(t, e) {
2358
- const s = t[F] || {};
2358
+ const s = t[N] || {};
2359
2359
  Object.entries(s).forEach(([r, n]) => {
2360
2360
  const o = Te({
2361
2361
  value: n.id || n.modelType,
@@ -2677,7 +2677,7 @@ function R(t) {
2677
2677
  return (e) => {
2678
2678
  var o, i;
2679
2679
  const s = e, r = typeof t == "string" ? { modelTypeId: t, autoRegister: !1 } : { autoRegister: !1, ...t };
2680
- s.prototype.modelTypeId = r.modelTypeId, s.prototype[La] = !0, (o = s.prototype)[ae] ?? (o[ae] = {}), (i = s.prototype)[F] ?? (i[F] = {}), r.optionsRequired && (s.prototype[Jr] = !0), g.ifDebug(() => {
2680
+ s.prototype.modelTypeId = r.modelTypeId, s.prototype[La] = !0, (o = s.prototype)[ae] ?? (o[ae] = {}), (i = s.prototype)[N] ?? (i[N] = {}), r.optionsRequired && (s.prototype[Jr] = !0), g.ifDebug(() => {
2681
2681
  g.debug(`Registering model with id ${r.modelTypeId}`);
2682
2682
  });
2683
2683
  const n = new Proxy(s, vh);
@@ -3208,7 +3208,7 @@ const Qa = (t, e, s) => {
3208
3208
  }), cancel: () => {
3209
3209
  r && clearTimeout(r);
3210
3210
  } };
3211
- }, IE = (t) => typeof t.toJSON == "function", dr = (t) => t[F] !== void 0, Za = (t) => t.revision !== void 0 && t.index !== void 0, Wh = (t) => {
3211
+ }, IE = (t) => typeof t.toJSON == "function", dr = (t) => t[N] !== void 0, Za = (t) => t.revision !== void 0 && t.index !== void 0, Wh = (t) => {
3212
3212
  if (t) {
3213
3213
  if (dr(t))
3214
3214
  return t;
@@ -3333,7 +3333,7 @@ const Qa = (t, e, s) => {
3333
3333
  }
3334
3334
  }, Zh = (t, e = x.READY) => {
3335
3335
  var n;
3336
- const s = ((n = t.modelData) == null ? void 0 : n[F]) || {};
3336
+ const s = ((n = t.modelData) == null ? void 0 : n[N]) || {};
3337
3337
  return Object.keys(s).length === 0 ? (g.debug(`${t.modelId} has no dependencies. Returning`), []) : Object.keys(s).filter((o) => s[o].lifecycle === e).map((o) => {
3338
3338
  const i = s[o], a = Qh(t, i);
3339
3339
  if (!a.success || !a.dependentModel)
@@ -3533,7 +3533,7 @@ function tf(t, e, s, r) {
3533
3533
  configurable: !0,
3534
3534
  get() {
3535
3535
  var a, c, u;
3536
- const n = ((a = r.getChildren) == null ? void 0 : a.call(r)) || [], o = ((c = r.companionManager) == null ? void 0 : c.all()) || [], i = r.modelData[F] || {};
3536
+ const n = ((a = r.getChildren) == null ? void 0 : a.call(r)) || [], o = ((c = r.companionManager) == null ? void 0 : c.all()) || [], i = r.modelData[N] || {};
3537
3537
  return {
3538
3538
  id: s,
3539
3539
  type: e,
@@ -4250,7 +4250,11 @@ async function Vs(t, e, s, r, n) {
4250
4250
  const o = r != null && r.path ? Object.keys(r.path).reduce(
4251
4251
  (h, f) => String(h).replace(`{${f}}`, r == null ? void 0 : r.path[f]),
4252
4252
  String(t)
4253
- ) : String(t), i = r != null && r.query ? Object.keys(r.query).map((h) => `${h}=${r.query[h]}`).join("&") : "", a = `${gf().URL}${o}${i ? `?${encodeURIComponent(i)}` : ""}`;
4253
+ ) : String(t), i = r != null && r.query ? Object.keys(r.query).map(
4254
+ (h) => `${encodeURIComponent(h)}=${encodeURIComponent(
4255
+ r.query[h]
4256
+ )}`
4257
+ ).join("&") : "", a = `${gf().URL}${o}${i ? `?${i}` : ""}`;
4254
4258
  mf.debug(`fullUrl: ${a}`);
4255
4259
  const c = {
4256
4260
  method: String(e).toUpperCase(),
@@ -6147,7 +6151,7 @@ class rp {
6147
6151
  )), h;
6148
6152
  }
6149
6153
  }
6150
- const N = C.getLogger("kos-model"), np = "kos.extension.model.loader";
6154
+ const F = C.getLogger("kos-model"), np = "kos.extension.model.loader";
6151
6155
  class op {
6152
6156
  constructor({ modelTypeName: e, id: s, modelData: r }) {
6153
6157
  l(this, "_id");
@@ -6158,6 +6162,7 @@ class op {
6158
6162
  l(this, "modelTypeName");
6159
6163
  l(this, "initialized");
6160
6164
  l(this, "loaded");
6165
+ l(this, "_isLoadExecuting");
6161
6166
  l(this, "offlineQueue");
6162
6167
  l(this, "subscriptionManager");
6163
6168
  l(this, "effectManager");
@@ -6170,7 +6175,7 @@ class op {
6170
6175
  l(this, "companionManager");
6171
6176
  l(this, "childResolver");
6172
6177
  l(this, "fsm");
6173
- this._id = typeof s < "u" ? `${s}` : e, this.modelTypeName = e, this.initialized = !1, this.loaded = !1, this.modelData = r, this._status = y.CREATED, this._activeStatus = y.INACTIVE, this._onlineStatus = y.OFFLINE;
6178
+ this._id = typeof s < "u" ? `${s}` : e, this.modelTypeName = e, this.initialized = !1, this.loaded = !1, this._isLoadExecuting = !1, this.modelData = r, this._status = y.CREATED, this._activeStatus = y.INACTIVE, this._onlineStatus = y.OFFLINE;
6174
6179
  const n = rp.createAll(this);
6175
6180
  this.fsm = n.fsm, this.offlineQueue = n.offlineQueue, this.companionManager = n.companionManager, this.childResolver = n.childResolver, this.serviceResponses = n.serviceResponseStore, n.effectManager && (this.effectManager = n.effectManager), n.subscriptionManager && (this.subscriptionManager = n.subscriptionManager), n.httpRouteManager && (this.httpRouteManager = n.httpRouteManager), n.onlineLifecycleManager && (this.onlineLifecycleManager = n.onlineLifecycleManager), n.serviceRequestManager && (this.serviceRequestManager = n.serviceRequestManager), Pe(this, {
6176
6181
  fsm: !1,
@@ -6225,33 +6230,33 @@ class op {
6225
6230
  }
6226
6231
  async deactivate() {
6227
6232
  var e, s, r;
6228
- N.debug(
6233
+ F.debug(
6229
6234
  `deactivating model ${this.modelTypeName} with id ${this.modelId}`
6230
6235
  );
6231
6236
  try {
6232
6237
  const n = J.getContext(this.modelId);
6233
- await ((s = (e = this.modelData) == null ? void 0 : e.deactivate) == null ? void 0 : s.call(e, n)), N.debug(
6238
+ await ((s = (e = this.modelData) == null ? void 0 : e.deactivate) == null ? void 0 : s.call(e, n)), F.debug(
6234
6239
  `Model ${this.modelTypeName} with id ${this.modelId} deactivated`
6235
6240
  ), (r = this.subscriptionManager) == null || r.deactivate();
6236
6241
  } catch (n) {
6237
- throw N.debug(`Model ${this.modelId} failed to deactivated`), n;
6242
+ throw F.debug(`Model ${this.modelId} failed to deactivated`), n;
6238
6243
  }
6239
6244
  }
6240
6245
  async activate() {
6241
6246
  var e, s, r, n;
6242
- N.debug(`activating model ${this.modelTypeName} with id ${this.modelId}`), await Ks(this, x.ACTIVATE);
6247
+ F.debug(`activating model ${this.modelTypeName} with id ${this.modelId}`), await Ks(this, x.ACTIVATE);
6243
6248
  try {
6244
6249
  await ((e = this.serviceRequestManager) == null ? void 0 : e.executeForLifecycle(
6245
6250
  x.ACTIVATE
6246
6251
  ));
6247
6252
  const o = J.getContext(this.modelId);
6248
- await ((r = (s = this.modelData) == null ? void 0 : s.activate) == null ? void 0 : r.call(s, o)), this.initializeStateMachineForLifecycle(x.ACTIVATE), N.debug(
6253
+ await ((r = (s = this.modelData) == null ? void 0 : s.activate) == null ? void 0 : r.call(s, o)), this.initializeStateMachineForLifecycle(x.ACTIVATE), F.debug(
6249
6254
  `Model ${this.modelTypeName} with id ${this.modelId} subscribing to all topics`
6250
- ), (n = this.subscriptionManager) == null || n.registerAll(x.ACTIVATE), this.createLifecycleCompanions(x.ACTIVATE), N.debug(
6255
+ ), (n = this.subscriptionManager) == null || n.registerAll(x.ACTIVATE), this.createLifecycleCompanions(x.ACTIVATE), F.debug(
6251
6256
  `Model ${this.modelTypeName} with id ${this.modelId} activated`
6252
6257
  );
6253
6258
  } catch (o) {
6254
- throw N.debug(`Model ${this.modelId} failed to activate`), o;
6259
+ throw F.debug(`Model ${this.modelId} failed to activate`), o;
6255
6260
  }
6256
6261
  }
6257
6262
  async whenLoaded() {
@@ -6265,7 +6270,7 @@ class op {
6265
6270
  {
6266
6271
  condition: () => this.loaded,
6267
6272
  onMatch: () => {
6268
- N.debug(`Model ${this.modelId} is loaded`);
6273
+ F.debug(`Model ${this.modelId} is loaded`);
6269
6274
  }
6270
6275
  }
6271
6276
  ]);
@@ -6281,7 +6286,7 @@ class op {
6281
6286
  {
6282
6287
  condition: () => this.initialized,
6283
6288
  onMatch: () => {
6284
- N.debug(`Model ${this.modelId} is initialized`);
6289
+ F.debug(`Model ${this.modelId} is initialized`);
6285
6290
  }
6286
6291
  }
6287
6292
  ]);
@@ -6297,7 +6302,7 @@ class op {
6297
6302
  {
6298
6303
  condition: () => this.status === y.READY,
6299
6304
  onMatch: () => {
6300
- N.debug(`Model ${this.modelId} is ready`);
6305
+ F.debug(`Model ${this.modelId} is ready`);
6301
6306
  }
6302
6307
  }
6303
6308
  ]);
@@ -6305,13 +6310,13 @@ class op {
6305
6310
  async ready() {
6306
6311
  var e, s, r, n;
6307
6312
  if (this.fsm.current === y.READY) {
6308
- N.debug(
6313
+ F.debug(
6309
6314
  `already readying model ${this.modelTypeName} with id ${this.modelId} returning`
6310
6315
  );
6311
6316
  return;
6312
6317
  }
6313
6318
  try {
6314
- N.debug(`readying model ${this.modelTypeName} with id ${this.modelId}`), await Ks(this, x.READY), await Xh(
6319
+ F.debug(`readying model ${this.modelTypeName} with id ${this.modelId}`), await Ks(this, x.READY), await Xh(
6315
6320
  this,
6316
6321
  Wa.READY,
6317
6322
  x.READY
@@ -6319,7 +6324,7 @@ class op {
6319
6324
  x.READY
6320
6325
  ));
6321
6326
  const o = J.getContext(this.modelId);
6322
- await ((r = (s = this.modelData) == null ? void 0 : s.ready) == null ? void 0 : r.call(s, o)), this.offlineQueue.flush(), this.initializeStateMachineForLifecycle(x.READY), (n = this.subscriptionManager) == null || n.registerAll(x.READY), this.createLifecycleCompanions(x.READY), N.debug(`Model ${this.modelId} is ready`);
6327
+ await ((r = (s = this.modelData) == null ? void 0 : s.ready) == null ? void 0 : r.call(s, o)), this.offlineQueue.flush(), this.initializeStateMachineForLifecycle(x.READY), (n = this.subscriptionManager) == null || n.registerAll(x.READY), this.createLifecycleCompanions(x.READY), F.debug(`Model ${this.modelId} is ready`);
6323
6328
  const i = {
6324
6329
  modelId: this.modelId,
6325
6330
  modelType: this.modelTypeName
@@ -6329,7 +6334,7 @@ class op {
6329
6334
  i
6330
6335
  ), G(Hh(this.modelTypeName), i);
6331
6336
  } catch (o) {
6332
- throw N.error(o), Error(o);
6337
+ throw F.error(o), Error(o);
6333
6338
  }
6334
6339
  }
6335
6340
  async load() {
@@ -6337,34 +6342,41 @@ class op {
6337
6342
  const e = this[ht];
6338
6343
  e && await e.whenLoaded();
6339
6344
  const { modelTypeName: s, modelId: r } = this;
6340
- if (this.fsm.current === y.LOADED || this.fsm.current === y.LOADING) {
6341
- N.debug(
6342
- `Model ${s} with id ${r} already loaded or loading`
6345
+ if (this.fsm.current === y.LOADED) {
6346
+ F.debug(`Model ${s} with id ${r} already loaded`);
6347
+ return;
6348
+ }
6349
+ if (this._isLoadExecuting) {
6350
+ F.debug(
6351
+ `Model ${s} with id ${r} is currently executing load`
6343
6352
  );
6344
6353
  return;
6345
6354
  }
6346
- N.debug(`Loading model ${s} with id ${r}`), await Ks(this, x.LOAD);
6355
+ this._isLoadExecuting = !0;
6347
6356
  try {
6357
+ F.debug(`Loading model ${s} with id ${r}`), await Ks(this, x.LOAD);
6348
6358
  const d = J.getContext(r), h = `${np}.${s}`, f = await I.loader.executeLoader(
6349
6359
  h,
6350
6360
  {}
6351
6361
  );
6352
- f && (N.info(
6362
+ f && (F.info(
6353
6363
  `Setting loaded context for ${r}, type: ${s}`
6354
6364
  ), d == null || d.set(h, f)), await ((n = this.serviceRequestManager) == null ? void 0 : n.executeForLifecycle(
6355
6365
  x.LOAD
6356
6366
  )), await ((i = (o = this.modelData) == null ? void 0 : o.load) == null ? void 0 : i.call(o, d)), oe(() => {
6357
6367
  this.loaded = !0;
6358
- }), N.debug(
6368
+ }), F.debug(
6359
6369
  `Model ${s} with id ${r} successfully loaded`
6360
6370
  ), this.initializeStateMachineForLifecycle(x.LOAD), (a = this.subscriptionManager) == null || a.registerAll(x.LOAD), (c = this.httpRouteManager) == null || c.registerAll(), (u = this.effectManager) == null || u.setup(), this.createLifecycleCompanions(x.LOAD);
6361
6371
  } catch (d) {
6362
- throw N.error(`Model ${r} failed to load`, d), d;
6372
+ throw F.error(`Model ${r} failed to load`, d), d;
6373
+ } finally {
6374
+ this._isLoadExecuting = !1;
6363
6375
  }
6364
6376
  }
6365
6377
  async unload() {
6366
6378
  var e, s, r, n, o, i, a;
6367
- N.debug(`unloading model ${this.modelTypeName} with id ${this.modelId}`);
6379
+ F.debug(`unloading model ${this.modelTypeName} with id ${this.modelId}`);
6368
6380
  try {
6369
6381
  const c = this.getChildren().map((d) => {
6370
6382
  var h;
@@ -6380,9 +6392,9 @@ class op {
6380
6392
  }
6381
6393
  d.stateHistory && (d.stateHistory = []);
6382
6394
  }
6383
- N.debug(`Model ${this.modelTypeName} with id ${this.modelId} unloaded`), (o = this.effectManager) == null || o.disposeAll(), (i = this.subscriptionManager) == null || i.disposeAll(), (a = this.httpRouteManager) == null || a.dispose();
6395
+ F.debug(`Model ${this.modelTypeName} with id ${this.modelId} unloaded`), (o = this.effectManager) == null || o.disposeAll(), (i = this.subscriptionManager) == null || i.disposeAll(), (a = this.httpRouteManager) == null || a.dispose();
6384
6396
  } catch (c) {
6385
- throw N.debug(`Model ${this.modelId} failed to unload`), c;
6397
+ throw F.debug(`Model ${this.modelId} failed to unload`), c;
6386
6398
  }
6387
6399
  }
6388
6400
  async init() {
@@ -6390,18 +6402,18 @@ class op {
6390
6402
  const e = this[ht];
6391
6403
  e && await e.whenInitialized();
6392
6404
  const { modelId: s, modelTypeName: r } = this, n = J.getContext(s);
6393
- N.debug(`Initializing model ${r} with id ${s}`), await Ks(this, x.INIT);
6405
+ F.debug(`Initializing model ${r} with id ${s}`), await Ks(this, x.INIT);
6394
6406
  try {
6395
6407
  await ((o = this.serviceRequestManager) == null ? void 0 : o.executeForLifecycle(
6396
6408
  x.INIT
6397
- )), await ((a = (i = this.modelData) == null ? void 0 : i.init) == null ? void 0 : a.call(i, n)), this.initialized = !0, N.debug(`Model ${r} with id ${s} initialized`), (c = this.onlineLifecycleManager) == null || c.register(), this.initializeStateMachineForLifecycle(x.INIT), this.registerSubscribers(x.INIT), this.createLifecycleCompanions(x.INIT);
6409
+ )), await ((a = (i = this.modelData) == null ? void 0 : i.init) == null ? void 0 : a.call(i, n)), this.initialized = !0, F.debug(`Model ${r} with id ${s} initialized`), (c = this.onlineLifecycleManager) == null || c.register(), this.initializeStateMachineForLifecycle(x.INIT), this.registerSubscribers(x.INIT), this.createLifecycleCompanions(x.INIT);
6398
6410
  } catch (u) {
6399
- throw N.error(`Model ${s} failed to initialize`, u), u;
6411
+ throw F.error(`Model ${s} failed to initialize`, u), u;
6400
6412
  }
6401
6413
  }
6402
6414
  async registerSubscribers(e) {
6403
6415
  var s;
6404
- N.debug(
6416
+ F.debug(
6405
6417
  `registering subscribers in ${this.modelTypeName} with id ${this.modelId}`
6406
6418
  ), (s = this.subscriptionManager) == null || s.registerAll(e);
6407
6419
  }
@@ -6423,13 +6435,13 @@ class op {
6423
6435
  }
6424
6436
  async online() {
6425
6437
  var s, r;
6426
- N.debug(`online model ${this.modelTypeName} with id ${this.modelId}`), this.registerSubscribers();
6438
+ F.debug(`online model ${this.modelTypeName} with id ${this.modelId}`), this.registerSubscribers();
6427
6439
  const e = J.getContext(this.modelId);
6428
6440
  await ((r = (s = this.modelData) == null ? void 0 : s.online) == null ? void 0 : r.call(s, e)), this.createLifecycleCompanions(x.ONLINE);
6429
6441
  }
6430
6442
  async offline() {
6431
6443
  var s, r, n;
6432
- N.debug(`offline model ${this.modelTypeName} with id ${this.modelId}`), (s = this.subscriptionManager) == null || s.disposeAll();
6444
+ F.debug(`offline model ${this.modelTypeName} with id ${this.modelId}`), (s = this.subscriptionManager) == null || s.disposeAll();
6433
6445
  const e = J.getContext(this.modelId);
6434
6446
  await ((n = (r = this.modelData) == null ? void 0 : r.offline) == null ? void 0 : n.call(r, e));
6435
6447
  }
@@ -8283,7 +8295,7 @@ class rc {
8283
8295
  * @private
8284
8296
  */
8285
8297
  _logDataCapacityWarning(e) {
8286
- nt.warn(
8298
+ nt.info(
8287
8299
  `Data container capacity exceeded (${this._data.size}/${this._maxCapacity}). Evicting ${e} items using ${this._evictionStrategy} strategy. This may indicate missing cleanup handlers or data inconsistency.`
8288
8300
  );
8289
8301
  }
@@ -8342,7 +8354,7 @@ class rc {
8342
8354
  e.forEach((s) => {
8343
8355
  var n;
8344
8356
  const r = this._data.get(s);
8345
- nt.warn(`Evicting data item: ${s}`, {
8357
+ nt.info(`Evicting data item: ${s}`, {
8346
8358
  itemId: s,
8347
8359
  itemType: r ? (n = r.constructor) == null ? void 0 : n.name : "unknown",
8348
8360
  strategy: this._evictionStrategy
@@ -8885,7 +8897,7 @@ const Mr = new Se({
8885
8897
  class: wr,
8886
8898
  type: Mo
8887
8899
  }), Eo = ({ path: t, lazy: e, serviceBasePath: s }) => (r, n) => {
8888
- r[F] = r[F] || {}, r[F][n] = {
8900
+ r[N] = r[N] || {}, r[N][n] = {
8889
8901
  modelType: Mr.type,
8890
8902
  id: `${Mr.type}-${t}`,
8891
8903
  options: {
@@ -9908,7 +9920,7 @@ function i_(t) {
9908
9920
  serviceBasePath: a
9909
9921
  } = t, c = r;
9910
9922
  return c && (typeof c != "function" && typeof c.from == "string" && (c.from = { unit: c.from }), typeof c != "function" && typeof c.to == "string" && (c.to = { unit: c.to })), (u, d) => {
9911
- u[F] = u[F] || {}, u[F][d] = {
9923
+ u[N] = u[N] || {}, u[N][d] = {
9912
9924
  modelType: Zt.type,
9913
9925
  id: `${e}-${s}`,
9914
9926
  options: {
@@ -16640,7 +16652,7 @@ function tu(t = {}) {
16640
16652
  };
16641
16653
  }
16642
16654
  const R_ = ({ path: t }) => (e, s) => {
16643
- e[F] = e[F] || {}, e[F][s] = {
16655
+ e[N] = e[N] || {}, e[N][s] = {
16644
16656
  modelType: Pr.type,
16645
16657
  id: `${Pr.type}-${t}`,
16646
16658
  options: {
@@ -16652,7 +16664,7 @@ const R_ = ({ path: t }) => (e, s) => {
16652
16664
  function k_(t) {
16653
16665
  const { path: e, attribute: s } = t;
16654
16666
  return (r, n) => {
16655
- r[F] = r[F] || {}, r[F][n] = {
16667
+ r[N] = r[N] || {}, r[N][n] = {
16656
16668
  modelType: hl.type,
16657
16669
  id: `${e}-${s}`,
16658
16670
  options: {
@@ -18630,7 +18642,7 @@ export {
18630
18642
  Zw as DateDisplayFormat,
18631
18643
  GM as DateHelpers,
18632
18644
  x as DependencyLifecycle,
18633
- F as DependencyModels,
18645
+ N as DependencyModels,
18634
18646
  it as DependencyResolutionPolicy,
18635
18647
  Zn as Device,
18636
18648
  M_ as DeviceServices,