@kosdev-code/kos-ui-sdk 2.1.30 → 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/core/core/kosModel.d.ts +1 -0
- package/core/core/kosModel.d.ts.map +1 -1
- package/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.js +56 -48
- package/index.js.map +1 -1
- package/package.json +2 -2
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"),
|
|
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[
|
|
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[
|
|
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[
|
|
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[
|
|
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)[
|
|
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[
|
|
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[
|
|
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[
|
|
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,
|
|
@@ -6151,7 +6151,7 @@ class rp {
|
|
|
6151
6151
|
)), h;
|
|
6152
6152
|
}
|
|
6153
6153
|
}
|
|
6154
|
-
const
|
|
6154
|
+
const F = C.getLogger("kos-model"), np = "kos.extension.model.loader";
|
|
6155
6155
|
class op {
|
|
6156
6156
|
constructor({ modelTypeName: e, id: s, modelData: r }) {
|
|
6157
6157
|
l(this, "_id");
|
|
@@ -6162,6 +6162,7 @@ class op {
|
|
|
6162
6162
|
l(this, "modelTypeName");
|
|
6163
6163
|
l(this, "initialized");
|
|
6164
6164
|
l(this, "loaded");
|
|
6165
|
+
l(this, "_isLoadExecuting");
|
|
6165
6166
|
l(this, "offlineQueue");
|
|
6166
6167
|
l(this, "subscriptionManager");
|
|
6167
6168
|
l(this, "effectManager");
|
|
@@ -6174,7 +6175,7 @@ class op {
|
|
|
6174
6175
|
l(this, "companionManager");
|
|
6175
6176
|
l(this, "childResolver");
|
|
6176
6177
|
l(this, "fsm");
|
|
6177
|
-
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;
|
|
6178
6179
|
const n = rp.createAll(this);
|
|
6179
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, {
|
|
6180
6181
|
fsm: !1,
|
|
@@ -6229,33 +6230,33 @@ class op {
|
|
|
6229
6230
|
}
|
|
6230
6231
|
async deactivate() {
|
|
6231
6232
|
var e, s, r;
|
|
6232
|
-
|
|
6233
|
+
F.debug(
|
|
6233
6234
|
`deactivating model ${this.modelTypeName} with id ${this.modelId}`
|
|
6234
6235
|
);
|
|
6235
6236
|
try {
|
|
6236
6237
|
const n = J.getContext(this.modelId);
|
|
6237
|
-
await ((s = (e = this.modelData) == null ? void 0 : e.deactivate) == null ? void 0 : s.call(e, n)),
|
|
6238
|
+
await ((s = (e = this.modelData) == null ? void 0 : e.deactivate) == null ? void 0 : s.call(e, n)), F.debug(
|
|
6238
6239
|
`Model ${this.modelTypeName} with id ${this.modelId} deactivated`
|
|
6239
6240
|
), (r = this.subscriptionManager) == null || r.deactivate();
|
|
6240
6241
|
} catch (n) {
|
|
6241
|
-
throw
|
|
6242
|
+
throw F.debug(`Model ${this.modelId} failed to deactivated`), n;
|
|
6242
6243
|
}
|
|
6243
6244
|
}
|
|
6244
6245
|
async activate() {
|
|
6245
6246
|
var e, s, r, n;
|
|
6246
|
-
|
|
6247
|
+
F.debug(`activating model ${this.modelTypeName} with id ${this.modelId}`), await Ks(this, x.ACTIVATE);
|
|
6247
6248
|
try {
|
|
6248
6249
|
await ((e = this.serviceRequestManager) == null ? void 0 : e.executeForLifecycle(
|
|
6249
6250
|
x.ACTIVATE
|
|
6250
6251
|
));
|
|
6251
6252
|
const o = J.getContext(this.modelId);
|
|
6252
|
-
await ((r = (s = this.modelData) == null ? void 0 : s.activate) == null ? void 0 : r.call(s, o)), this.initializeStateMachineForLifecycle(x.ACTIVATE),
|
|
6253
|
+
await ((r = (s = this.modelData) == null ? void 0 : s.activate) == null ? void 0 : r.call(s, o)), this.initializeStateMachineForLifecycle(x.ACTIVATE), F.debug(
|
|
6253
6254
|
`Model ${this.modelTypeName} with id ${this.modelId} subscribing to all topics`
|
|
6254
|
-
), (n = this.subscriptionManager) == null || n.registerAll(x.ACTIVATE), this.createLifecycleCompanions(x.ACTIVATE),
|
|
6255
|
+
), (n = this.subscriptionManager) == null || n.registerAll(x.ACTIVATE), this.createLifecycleCompanions(x.ACTIVATE), F.debug(
|
|
6255
6256
|
`Model ${this.modelTypeName} with id ${this.modelId} activated`
|
|
6256
6257
|
);
|
|
6257
6258
|
} catch (o) {
|
|
6258
|
-
throw
|
|
6259
|
+
throw F.debug(`Model ${this.modelId} failed to activate`), o;
|
|
6259
6260
|
}
|
|
6260
6261
|
}
|
|
6261
6262
|
async whenLoaded() {
|
|
@@ -6269,7 +6270,7 @@ class op {
|
|
|
6269
6270
|
{
|
|
6270
6271
|
condition: () => this.loaded,
|
|
6271
6272
|
onMatch: () => {
|
|
6272
|
-
|
|
6273
|
+
F.debug(`Model ${this.modelId} is loaded`);
|
|
6273
6274
|
}
|
|
6274
6275
|
}
|
|
6275
6276
|
]);
|
|
@@ -6285,7 +6286,7 @@ class op {
|
|
|
6285
6286
|
{
|
|
6286
6287
|
condition: () => this.initialized,
|
|
6287
6288
|
onMatch: () => {
|
|
6288
|
-
|
|
6289
|
+
F.debug(`Model ${this.modelId} is initialized`);
|
|
6289
6290
|
}
|
|
6290
6291
|
}
|
|
6291
6292
|
]);
|
|
@@ -6301,7 +6302,7 @@ class op {
|
|
|
6301
6302
|
{
|
|
6302
6303
|
condition: () => this.status === y.READY,
|
|
6303
6304
|
onMatch: () => {
|
|
6304
|
-
|
|
6305
|
+
F.debug(`Model ${this.modelId} is ready`);
|
|
6305
6306
|
}
|
|
6306
6307
|
}
|
|
6307
6308
|
]);
|
|
@@ -6309,13 +6310,13 @@ class op {
|
|
|
6309
6310
|
async ready() {
|
|
6310
6311
|
var e, s, r, n;
|
|
6311
6312
|
if (this.fsm.current === y.READY) {
|
|
6312
|
-
|
|
6313
|
+
F.debug(
|
|
6313
6314
|
`already readying model ${this.modelTypeName} with id ${this.modelId} returning`
|
|
6314
6315
|
);
|
|
6315
6316
|
return;
|
|
6316
6317
|
}
|
|
6317
6318
|
try {
|
|
6318
|
-
|
|
6319
|
+
F.debug(`readying model ${this.modelTypeName} with id ${this.modelId}`), await Ks(this, x.READY), await Xh(
|
|
6319
6320
|
this,
|
|
6320
6321
|
Wa.READY,
|
|
6321
6322
|
x.READY
|
|
@@ -6323,7 +6324,7 @@ class op {
|
|
|
6323
6324
|
x.READY
|
|
6324
6325
|
));
|
|
6325
6326
|
const o = J.getContext(this.modelId);
|
|
6326
|
-
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),
|
|
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`);
|
|
6327
6328
|
const i = {
|
|
6328
6329
|
modelId: this.modelId,
|
|
6329
6330
|
modelType: this.modelTypeName
|
|
@@ -6333,7 +6334,7 @@ class op {
|
|
|
6333
6334
|
i
|
|
6334
6335
|
), G(Hh(this.modelTypeName), i);
|
|
6335
6336
|
} catch (o) {
|
|
6336
|
-
throw
|
|
6337
|
+
throw F.error(o), Error(o);
|
|
6337
6338
|
}
|
|
6338
6339
|
}
|
|
6339
6340
|
async load() {
|
|
@@ -6341,34 +6342,41 @@ class op {
|
|
|
6341
6342
|
const e = this[ht];
|
|
6342
6343
|
e && await e.whenLoaded();
|
|
6343
6344
|
const { modelTypeName: s, modelId: r } = this;
|
|
6344
|
-
if (this.fsm.current === y.LOADED
|
|
6345
|
-
|
|
6346
|
-
|
|
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`
|
|
6347
6352
|
);
|
|
6348
6353
|
return;
|
|
6349
6354
|
}
|
|
6350
|
-
|
|
6355
|
+
this._isLoadExecuting = !0;
|
|
6351
6356
|
try {
|
|
6357
|
+
F.debug(`Loading model ${s} with id ${r}`), await Ks(this, x.LOAD);
|
|
6352
6358
|
const d = J.getContext(r), h = `${np}.${s}`, f = await I.loader.executeLoader(
|
|
6353
6359
|
h,
|
|
6354
6360
|
{}
|
|
6355
6361
|
);
|
|
6356
|
-
f && (
|
|
6362
|
+
f && (F.info(
|
|
6357
6363
|
`Setting loaded context for ${r}, type: ${s}`
|
|
6358
6364
|
), d == null || d.set(h, f)), await ((n = this.serviceRequestManager) == null ? void 0 : n.executeForLifecycle(
|
|
6359
6365
|
x.LOAD
|
|
6360
6366
|
)), await ((i = (o = this.modelData) == null ? void 0 : o.load) == null ? void 0 : i.call(o, d)), oe(() => {
|
|
6361
6367
|
this.loaded = !0;
|
|
6362
|
-
}),
|
|
6368
|
+
}), F.debug(
|
|
6363
6369
|
`Model ${s} with id ${r} successfully loaded`
|
|
6364
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);
|
|
6365
6371
|
} catch (d) {
|
|
6366
|
-
throw
|
|
6372
|
+
throw F.error(`Model ${r} failed to load`, d), d;
|
|
6373
|
+
} finally {
|
|
6374
|
+
this._isLoadExecuting = !1;
|
|
6367
6375
|
}
|
|
6368
6376
|
}
|
|
6369
6377
|
async unload() {
|
|
6370
6378
|
var e, s, r, n, o, i, a;
|
|
6371
|
-
|
|
6379
|
+
F.debug(`unloading model ${this.modelTypeName} with id ${this.modelId}`);
|
|
6372
6380
|
try {
|
|
6373
6381
|
const c = this.getChildren().map((d) => {
|
|
6374
6382
|
var h;
|
|
@@ -6384,9 +6392,9 @@ class op {
|
|
|
6384
6392
|
}
|
|
6385
6393
|
d.stateHistory && (d.stateHistory = []);
|
|
6386
6394
|
}
|
|
6387
|
-
|
|
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();
|
|
6388
6396
|
} catch (c) {
|
|
6389
|
-
throw
|
|
6397
|
+
throw F.debug(`Model ${this.modelId} failed to unload`), c;
|
|
6390
6398
|
}
|
|
6391
6399
|
}
|
|
6392
6400
|
async init() {
|
|
@@ -6394,18 +6402,18 @@ class op {
|
|
|
6394
6402
|
const e = this[ht];
|
|
6395
6403
|
e && await e.whenInitialized();
|
|
6396
6404
|
const { modelId: s, modelTypeName: r } = this, n = J.getContext(s);
|
|
6397
|
-
|
|
6405
|
+
F.debug(`Initializing model ${r} with id ${s}`), await Ks(this, x.INIT);
|
|
6398
6406
|
try {
|
|
6399
6407
|
await ((o = this.serviceRequestManager) == null ? void 0 : o.executeForLifecycle(
|
|
6400
6408
|
x.INIT
|
|
6401
|
-
)), await ((a = (i = this.modelData) == null ? void 0 : i.init) == null ? void 0 : a.call(i, n)), this.initialized = !0,
|
|
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);
|
|
6402
6410
|
} catch (u) {
|
|
6403
|
-
throw
|
|
6411
|
+
throw F.error(`Model ${s} failed to initialize`, u), u;
|
|
6404
6412
|
}
|
|
6405
6413
|
}
|
|
6406
6414
|
async registerSubscribers(e) {
|
|
6407
6415
|
var s;
|
|
6408
|
-
|
|
6416
|
+
F.debug(
|
|
6409
6417
|
`registering subscribers in ${this.modelTypeName} with id ${this.modelId}`
|
|
6410
6418
|
), (s = this.subscriptionManager) == null || s.registerAll(e);
|
|
6411
6419
|
}
|
|
@@ -6427,13 +6435,13 @@ class op {
|
|
|
6427
6435
|
}
|
|
6428
6436
|
async online() {
|
|
6429
6437
|
var s, r;
|
|
6430
|
-
|
|
6438
|
+
F.debug(`online model ${this.modelTypeName} with id ${this.modelId}`), this.registerSubscribers();
|
|
6431
6439
|
const e = J.getContext(this.modelId);
|
|
6432
6440
|
await ((r = (s = this.modelData) == null ? void 0 : s.online) == null ? void 0 : r.call(s, e)), this.createLifecycleCompanions(x.ONLINE);
|
|
6433
6441
|
}
|
|
6434
6442
|
async offline() {
|
|
6435
6443
|
var s, r, n;
|
|
6436
|
-
|
|
6444
|
+
F.debug(`offline model ${this.modelTypeName} with id ${this.modelId}`), (s = this.subscriptionManager) == null || s.disposeAll();
|
|
6437
6445
|
const e = J.getContext(this.modelId);
|
|
6438
6446
|
await ((n = (r = this.modelData) == null ? void 0 : r.offline) == null ? void 0 : n.call(r, e));
|
|
6439
6447
|
}
|
|
@@ -8287,7 +8295,7 @@ class rc {
|
|
|
8287
8295
|
* @private
|
|
8288
8296
|
*/
|
|
8289
8297
|
_logDataCapacityWarning(e) {
|
|
8290
|
-
nt.
|
|
8298
|
+
nt.info(
|
|
8291
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.`
|
|
8292
8300
|
);
|
|
8293
8301
|
}
|
|
@@ -8346,7 +8354,7 @@ class rc {
|
|
|
8346
8354
|
e.forEach((s) => {
|
|
8347
8355
|
var n;
|
|
8348
8356
|
const r = this._data.get(s);
|
|
8349
|
-
nt.
|
|
8357
|
+
nt.info(`Evicting data item: ${s}`, {
|
|
8350
8358
|
itemId: s,
|
|
8351
8359
|
itemType: r ? (n = r.constructor) == null ? void 0 : n.name : "unknown",
|
|
8352
8360
|
strategy: this._evictionStrategy
|
|
@@ -8889,7 +8897,7 @@ const Mr = new Se({
|
|
|
8889
8897
|
class: wr,
|
|
8890
8898
|
type: Mo
|
|
8891
8899
|
}), Eo = ({ path: t, lazy: e, serviceBasePath: s }) => (r, n) => {
|
|
8892
|
-
r[
|
|
8900
|
+
r[N] = r[N] || {}, r[N][n] = {
|
|
8893
8901
|
modelType: Mr.type,
|
|
8894
8902
|
id: `${Mr.type}-${t}`,
|
|
8895
8903
|
options: {
|
|
@@ -9912,7 +9920,7 @@ function i_(t) {
|
|
|
9912
9920
|
serviceBasePath: a
|
|
9913
9921
|
} = t, c = r;
|
|
9914
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) => {
|
|
9915
|
-
u[
|
|
9923
|
+
u[N] = u[N] || {}, u[N][d] = {
|
|
9916
9924
|
modelType: Zt.type,
|
|
9917
9925
|
id: `${e}-${s}`,
|
|
9918
9926
|
options: {
|
|
@@ -16644,7 +16652,7 @@ function tu(t = {}) {
|
|
|
16644
16652
|
};
|
|
16645
16653
|
}
|
|
16646
16654
|
const R_ = ({ path: t }) => (e, s) => {
|
|
16647
|
-
e[
|
|
16655
|
+
e[N] = e[N] || {}, e[N][s] = {
|
|
16648
16656
|
modelType: Pr.type,
|
|
16649
16657
|
id: `${Pr.type}-${t}`,
|
|
16650
16658
|
options: {
|
|
@@ -16656,7 +16664,7 @@ const R_ = ({ path: t }) => (e, s) => {
|
|
|
16656
16664
|
function k_(t) {
|
|
16657
16665
|
const { path: e, attribute: s } = t;
|
|
16658
16666
|
return (r, n) => {
|
|
16659
|
-
r[
|
|
16667
|
+
r[N] = r[N] || {}, r[N][n] = {
|
|
16660
16668
|
modelType: hl.type,
|
|
16661
16669
|
id: `${e}-${s}`,
|
|
16662
16670
|
options: {
|
|
@@ -18634,7 +18642,7 @@ export {
|
|
|
18634
18642
|
Zw as DateDisplayFormat,
|
|
18635
18643
|
GM as DateHelpers,
|
|
18636
18644
|
x as DependencyLifecycle,
|
|
18637
|
-
|
|
18645
|
+
N as DependencyModels,
|
|
18638
18646
|
it as DependencyResolutionPolicy,
|
|
18639
18647
|
Zn as Device,
|
|
18640
18648
|
M_ as DeviceServices,
|