@kosdev-code/kos-ui-sdk 3.0.35 → 3.0.37
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/model/kos-subscription-manager.d.ts.map +1 -1
- package/core/core/transport/mock/future-simulator.d.ts +5 -1
- package/core/core/transport/mock/future-simulator.d.ts.map +1 -1
- package/core/core/transport/mock/mock-config.d.ts.map +1 -1
- package/core/core/transport/mock/mock-interceptor.d.ts.map +1 -1
- package/core/core/transport/mock/mock-registry.d.ts +14 -5
- package/core/core/transport/mock/mock-registry.d.ts.map +1 -1
- package/core/core/transport/mock/mock-types.d.ts +63 -0
- package/core/core/transport/mock/mock-types.d.ts.map +1 -1
- package/core/util/index.d.ts +2 -0
- package/core/util/index.d.ts.map +1 -1
- package/core/util/kos-local-topic.d.ts +73 -0
- package/core/util/kos-local-topic.d.ts.map +1 -0
- package/core/util/kos-topic-client.d.ts +79 -0
- package/core/util/kos-topic-client.d.ts.map +1 -0
- package/index.cjs +77 -7
- package/index.cjs.map +1 -1
- package/index.js +286 -216
- package/index.js.map +1 -1
- package/models/models/storage-device/storage-device-container-model.d.ts +4 -3
- package/models/models/storage-device/storage-device-container-model.d.ts.map +1 -1
- package/models/utils/index.d.ts +1 -0
- package/models/utils/index.d.ts.map +1 -1
- package/models/utils/topics/kos/daily/topic.d.ts +74 -0
- package/models/utils/topics/kos/daily/topic.d.ts.map +1 -0
- package/models/utils/topics/kos/daily/topics.d.ts +1026 -0
- package/models/utils/topics-index.d.ts +8 -0
- package/models/utils/topics-index.d.ts.map +1 -0
- package/package.json +2 -2
- package/{software-info-registration-Co9Wq_-n.js → software-info-registration-BqhJP3ww.js} +457 -328
- package/software-info-registration-BqhJP3ww.js.map +1 -0
- package/{software-info-registration-C-fplY8u.cjs → software-info-registration-DTbgaSeR.cjs} +156 -27
- package/software-info-registration-DTbgaSeR.cjs.map +1 -0
- package/testing.cjs +1 -1
- package/testing.js +1 -1
- package/software-info-registration-C-fplY8u.cjs.map +0 -1
- package/software-info-registration-Co9Wq_-n.js.map +0 -1
|
@@ -7572,6 +7572,43 @@ class KosMockFutureSimulator {
|
|
|
7572
7572
|
}
|
|
7573
7573
|
return void 0;
|
|
7574
7574
|
}
|
|
7575
|
+
endWith(method, pattern, options) {
|
|
7576
|
+
const ended = /* @__PURE__ */ new Set();
|
|
7577
|
+
return this.deps.transformFuture(
|
|
7578
|
+
method,
|
|
7579
|
+
pattern,
|
|
7580
|
+
(future) => {
|
|
7581
|
+
if (ended.has(future.id)) {
|
|
7582
|
+
if (future.endState) {
|
|
7583
|
+
ended.delete(future.id);
|
|
7584
|
+
}
|
|
7585
|
+
return null;
|
|
7586
|
+
}
|
|
7587
|
+
if (future.endState === "CANCEL") {
|
|
7588
|
+
return void 0;
|
|
7589
|
+
}
|
|
7590
|
+
const reached = !!future.endState || options.atProgress !== void 0 && (future.progress ?? 0) >= options.atProgress;
|
|
7591
|
+
if (!reached) {
|
|
7592
|
+
return void 0;
|
|
7593
|
+
}
|
|
7594
|
+
if (!future.endState) {
|
|
7595
|
+
const simulated = this.futures.get(future.id);
|
|
7596
|
+
if (simulated) {
|
|
7597
|
+
simulated.dispose();
|
|
7598
|
+
} else {
|
|
7599
|
+
ended.add(future.id);
|
|
7600
|
+
}
|
|
7601
|
+
}
|
|
7602
|
+
return {
|
|
7603
|
+
...future,
|
|
7604
|
+
endState: options.endState,
|
|
7605
|
+
reason: options.reason,
|
|
7606
|
+
remainingTimeMs: 0
|
|
7607
|
+
};
|
|
7608
|
+
},
|
|
7609
|
+
{ description: `futures end with ${options.endState}` }
|
|
7610
|
+
);
|
|
7611
|
+
}
|
|
7575
7612
|
get active() {
|
|
7576
7613
|
return [...this.futures.values()].filter((handle) => !handle.done);
|
|
7577
7614
|
}
|
|
@@ -8310,6 +8347,8 @@ const log$M = KosLog.createLogger({
|
|
|
8310
8347
|
});
|
|
8311
8348
|
const asWireValue = (value) => typeof value === "string" ? value : JSON.stringify(value);
|
|
8312
8349
|
const configTopic = (beanId) => `/kos/config/${beanId}`;
|
|
8350
|
+
const DEVICE_CONFIG_BASE = "/api/kos/config";
|
|
8351
|
+
const STUDIO_CONFIG_BASE = "/api/config";
|
|
8313
8352
|
const changeEnvelope = (props, previousValues = {}) => {
|
|
8314
8353
|
return {
|
|
8315
8354
|
changes: Object.entries(props).map(([attr, value]) => {
|
|
@@ -8333,9 +8372,10 @@ function createConfigFacade(registry) {
|
|
|
8333
8372
|
const inject = (beanId, injection) => {
|
|
8334
8373
|
const current = { ...injection.props };
|
|
8335
8374
|
const schema = injection.schema ?? {};
|
|
8375
|
+
const base = injection.studio ? STUDIO_CONFIG_BASE : DEVICE_CONFIG_BASE;
|
|
8336
8376
|
const transformerHandle = registry.transformResponse(
|
|
8337
8377
|
"GET",
|
|
8338
|
-
|
|
8378
|
+
`${base}/details/${beanId}/:depth`,
|
|
8339
8379
|
(body) => {
|
|
8340
8380
|
if (!body || typeof body !== "object") {
|
|
8341
8381
|
return void 0;
|
|
@@ -8363,7 +8403,7 @@ function createConfigFacade(registry) {
|
|
|
8363
8403
|
{ description: `config.inject ${beanId}` }
|
|
8364
8404
|
);
|
|
8365
8405
|
const routeHandle = registry.post(
|
|
8366
|
-
|
|
8406
|
+
`${base}/${beanId}`,
|
|
8367
8407
|
(req) => {
|
|
8368
8408
|
const requested = req.json();
|
|
8369
8409
|
if (!requested) {
|
|
@@ -8429,7 +8469,8 @@ class KosMockRegistry {
|
|
|
8429
8469
|
state = /* @__PURE__ */ new Map();
|
|
8430
8470
|
futures = new KosMockFutureSimulator({
|
|
8431
8471
|
emitFrame: (frame) => this.publishFrame(frame),
|
|
8432
|
-
ensureCancelRoutes: () => this.ensureFutureCancelRoutes()
|
|
8472
|
+
ensureCancelRoutes: () => this.ensureFutureCancelRoutes(),
|
|
8473
|
+
transformFuture: (method, pattern, transform, options) => this.transformFuture(method, pattern, transform, options)
|
|
8433
8474
|
});
|
|
8434
8475
|
recorder = new KosMockRecorder();
|
|
8435
8476
|
config = createConfigFacade(this);
|
|
@@ -8466,13 +8507,85 @@ class KosMockRegistry {
|
|
|
8466
8507
|
disable: remove
|
|
8467
8508
|
};
|
|
8468
8509
|
}
|
|
8510
|
+
futureTransformers = [];
|
|
8511
|
+
// Requests by tracker: the only link from a future frame to its endpoint.
|
|
8512
|
+
trackedRequests = /* @__PURE__ */ new Map();
|
|
8513
|
+
transformFuture(method, pattern, transform, options = {}) {
|
|
8514
|
+
const registered = {
|
|
8515
|
+
id: options.id ?? uuid(),
|
|
8516
|
+
method,
|
|
8517
|
+
pattern,
|
|
8518
|
+
compiled: compileRoutePattern(pattern),
|
|
8519
|
+
transform,
|
|
8520
|
+
description: options.description
|
|
8521
|
+
};
|
|
8522
|
+
this.futureTransformers.push(registered);
|
|
8523
|
+
const remove = () => {
|
|
8524
|
+
this.futureTransformers = this.futureTransformers.filter(
|
|
8525
|
+
(candidate) => candidate.id !== registered.id
|
|
8526
|
+
);
|
|
8527
|
+
};
|
|
8528
|
+
return {
|
|
8529
|
+
id: registered.id,
|
|
8530
|
+
remove,
|
|
8531
|
+
enable: () => void 0,
|
|
8532
|
+
disable: remove
|
|
8533
|
+
};
|
|
8534
|
+
}
|
|
8535
|
+
/** Runs a `kos.future` frame through the future transformers. */
|
|
8536
|
+
transformFutureFrame(frame, headers, body) {
|
|
8537
|
+
let future;
|
|
8538
|
+
try {
|
|
8539
|
+
future = JSON.parse(body);
|
|
8540
|
+
} catch {
|
|
8541
|
+
return frame;
|
|
8542
|
+
}
|
|
8543
|
+
const tracker = future?.tracker;
|
|
8544
|
+
const request = tracker ? this.trackedRequests.get(tracker) : void 0;
|
|
8545
|
+
if (!tracker || !request) {
|
|
8546
|
+
return frame;
|
|
8547
|
+
}
|
|
8548
|
+
if (future.endState) {
|
|
8549
|
+
this.trackedRequests.delete(tracker);
|
|
8550
|
+
}
|
|
8551
|
+
const matching = this.futureTransformers.filter(
|
|
8552
|
+
(transformer) => methodMatches(transformer.method, request.method) && matchRoutePattern(transformer.compiled, request.path) !== void 0
|
|
8553
|
+
);
|
|
8554
|
+
let current = future;
|
|
8555
|
+
let changed = false;
|
|
8556
|
+
for (const transformer of matching) {
|
|
8557
|
+
try {
|
|
8558
|
+
const result = transformer.transform(current, { request });
|
|
8559
|
+
if (result === null) {
|
|
8560
|
+
return void 0;
|
|
8561
|
+
}
|
|
8562
|
+
if (result !== void 0) {
|
|
8563
|
+
current = result;
|
|
8564
|
+
changed = true;
|
|
8565
|
+
}
|
|
8566
|
+
} catch (error) {
|
|
8567
|
+
log$L.error(
|
|
8568
|
+
`KosMock future transformer for ${transformer.method} ${transformer.pattern} threw`,
|
|
8569
|
+
error?.message
|
|
8570
|
+
);
|
|
8571
|
+
}
|
|
8572
|
+
}
|
|
8573
|
+
if (!changed) {
|
|
8574
|
+
return frame;
|
|
8575
|
+
}
|
|
8576
|
+
return encodeRawFrame(
|
|
8577
|
+
{ ...headers, [KOS_MOCK_TRANSFORMED_HEADER]: "true" },
|
|
8578
|
+
JSON.stringify(current)
|
|
8579
|
+
);
|
|
8580
|
+
}
|
|
8469
8581
|
/**
|
|
8470
|
-
* Interceptor seam: patches a matching inbound response
|
|
8471
|
-
* transformer chain before it reaches the app. Returns the
|
|
8472
|
-
* modified) frame
|
|
8582
|
+
* Interceptor seam: patches a matching inbound response or future frame
|
|
8583
|
+
* through its transformer chain before it reaches the app. Returns the
|
|
8584
|
+
* (possibly modified) frame, or undefined when a future transformer dropped
|
|
8585
|
+
* it. Internal.
|
|
8473
8586
|
*/
|
|
8474
8587
|
transformInboundFrame(frame) {
|
|
8475
|
-
if (this.transformers.length === 0) {
|
|
8588
|
+
if (this.transformers.length === 0 && this.futureTransformers.length === 0) {
|
|
8476
8589
|
return frame;
|
|
8477
8590
|
}
|
|
8478
8591
|
let headers;
|
|
@@ -8484,7 +8597,7 @@ class KosMockRegistry {
|
|
|
8484
8597
|
}
|
|
8485
8598
|
const responseId = headers["response-id"];
|
|
8486
8599
|
if (!responseId) {
|
|
8487
|
-
return frame;
|
|
8600
|
+
return headers["type"] === KOS_FUTURE_TYPE && this.futureTransformers.length > 0 ? this.transformFutureFrame(frame, headers, body) : frame;
|
|
8488
8601
|
}
|
|
8489
8602
|
const request = this.pendingRequests.get(responseId);
|
|
8490
8603
|
this.pendingRequests.delete(responseId);
|
|
@@ -8565,7 +8678,7 @@ class KosMockRegistry {
|
|
|
8565
8678
|
const hasRequestObservers = [...this.observers].some(
|
|
8566
8679
|
(observer) => observer.onRequest
|
|
8567
8680
|
);
|
|
8568
|
-
if (!hasRequestObservers && this.transformers.length === 0) {
|
|
8681
|
+
if (!hasRequestObservers && this.transformers.length === 0 && this.futureTransformers.length === 0) {
|
|
8569
8682
|
return;
|
|
8570
8683
|
}
|
|
8571
8684
|
const frame = decodeRequestFrame(data);
|
|
@@ -8582,6 +8695,15 @@ class KosMockRegistry {
|
|
|
8582
8695
|
tracker: frame.tracker,
|
|
8583
8696
|
rawBody: frame.rawBody
|
|
8584
8697
|
};
|
|
8698
|
+
if (this.futureTransformers.length > 0 && frame.tracker) {
|
|
8699
|
+
if (this.trackedRequests.size >= PENDING_REQUEST_CAP) {
|
|
8700
|
+
const oldest = this.trackedRequests.keys().next().value;
|
|
8701
|
+
if (oldest !== void 0) {
|
|
8702
|
+
this.trackedRequests.delete(oldest);
|
|
8703
|
+
}
|
|
8704
|
+
}
|
|
8705
|
+
this.trackedRequests.set(frame.tracker, observation);
|
|
8706
|
+
}
|
|
8585
8707
|
if (this.transformers.length > 0) {
|
|
8586
8708
|
if (this.pendingRequests.size >= PENDING_REQUEST_CAP) {
|
|
8587
8709
|
const oldest = this.pendingRequests.keys().next().value;
|
|
@@ -8827,14 +8949,16 @@ class KosMockRegistry {
|
|
|
8827
8949
|
enabled: this.enabled,
|
|
8828
8950
|
standalone: this.standalone,
|
|
8829
8951
|
routes: this.list(),
|
|
8830
|
-
transformers: this.transformers.map(
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8952
|
+
transformers: [...this.transformers, ...this.futureTransformers].map(
|
|
8953
|
+
(transformer) => {
|
|
8954
|
+
return {
|
|
8955
|
+
id: transformer.id,
|
|
8956
|
+
method: transformer.method,
|
|
8957
|
+
pattern: transformer.pattern,
|
|
8958
|
+
description: transformer.description
|
|
8959
|
+
};
|
|
8960
|
+
}
|
|
8961
|
+
),
|
|
8838
8962
|
setups: this.setups.active().map((setup) => {
|
|
8839
8963
|
return { name: setup.name, url: setup.url };
|
|
8840
8964
|
}),
|
|
@@ -8850,6 +8974,8 @@ class KosMockRegistry {
|
|
|
8850
8974
|
[...this.playbacks].forEach((playback) => playback.stop());
|
|
8851
8975
|
this.routes = [];
|
|
8852
8976
|
this.transformers = [];
|
|
8977
|
+
this.futureTransformers = [];
|
|
8978
|
+
this.trackedRequests.clear();
|
|
8853
8979
|
this.pendingRequests.clear();
|
|
8854
8980
|
this.cancelRoutesRegistered = false;
|
|
8855
8981
|
this.emitters.forEach((timer) => clearInterval(timer));
|
|
@@ -9164,6 +9290,9 @@ class MockInterceptorTransport {
|
|
|
9164
9290
|
*/
|
|
9165
9291
|
deliver(frame) {
|
|
9166
9292
|
const transformed = this.registry.transformInboundFrame(frame);
|
|
9293
|
+
if (transformed === void 0) {
|
|
9294
|
+
return;
|
|
9295
|
+
}
|
|
9167
9296
|
this.messageHandler?.({ data: transformed });
|
|
9168
9297
|
this.registry.noteInboundFrame(transformed);
|
|
9169
9298
|
}
|
|
@@ -10203,13 +10332,11 @@ class KosSubscriptionManager {
|
|
|
10203
10332
|
};
|
|
10204
10333
|
}
|
|
10205
10334
|
resolvePropKey(template) {
|
|
10206
|
-
const
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
}
|
|
10212
|
-
return topic;
|
|
10335
|
+
const topic = template.includes("{MODEL_ID}") ? template.replace("{MODEL_ID}", this.modelId) : template;
|
|
10336
|
+
return topic.replace(
|
|
10337
|
+
/{PROP_([^}]+)}/g,
|
|
10338
|
+
(placeholder, propName) => propName in this.modelData ? this.modelData[propName] : placeholder
|
|
10339
|
+
);
|
|
10213
10340
|
}
|
|
10214
10341
|
// ===== FLOW CONTROL METHODS =====
|
|
10215
10342
|
async subscribeWithFlowControl(config2, resolvedTopic, lifecycle) {
|
|
@@ -23651,6 +23778,7 @@ var __decorateClass$6 = (decorators, target, key, kind) => {
|
|
|
23651
23778
|
};
|
|
23652
23779
|
const MODEL_TYPE$5 = "storage-device-container-model";
|
|
23653
23780
|
const TOPIC_STORAGE_AVAILABILITY = "/kos/storage";
|
|
23781
|
+
const isInsertedStorage = (device) => !device.local;
|
|
23654
23782
|
let StorageDeviceContainerModelImpl = class {
|
|
23655
23783
|
id;
|
|
23656
23784
|
logger;
|
|
@@ -23689,7 +23817,8 @@ let StorageDeviceContainerModelImpl = class {
|
|
|
23689
23817
|
get volumes() {
|
|
23690
23818
|
return this.data;
|
|
23691
23819
|
}
|
|
23692
|
-
handleStorageAvailability(
|
|
23820
|
+
handleStorageAvailability(payload) {
|
|
23821
|
+
const devices = payload.filter(isInsertedStorage);
|
|
23693
23822
|
const toRemove = this._models.data.filter(
|
|
23694
23823
|
(model) => !devices.find((device) => device.id === model.id)
|
|
23695
23824
|
);
|
|
@@ -23717,7 +23846,7 @@ let StorageDeviceContainerModelImpl = class {
|
|
|
23717
23846
|
async load() {
|
|
23718
23847
|
this.logger.debug(`loading storage-device-container container ${this.id}`);
|
|
23719
23848
|
const storageDevices = await getStorageDevices();
|
|
23720
|
-
storageDevices.forEach((storageDevice) => {
|
|
23849
|
+
storageDevices.filter(isInsertedStorage).forEach((storageDevice) => {
|
|
23721
23850
|
if (storageDevice.deviceType !== "disk") {
|
|
23722
23851
|
const options = {
|
|
23723
23852
|
...storageDevice,
|
|
@@ -25035,305 +25164,305 @@ const SoftwareInfo = {
|
|
|
25035
25164
|
)
|
|
25036
25165
|
};
|
|
25037
25166
|
export {
|
|
25038
|
-
|
|
25039
|
-
|
|
25040
|
-
|
|
25167
|
+
getLogStreamBlock as $,
|
|
25168
|
+
StateBean as A,
|
|
25169
|
+
getStateProps as B,
|
|
25041
25170
|
CompanionParentModel as C,
|
|
25042
25171
|
DependencyModels as D,
|
|
25043
25172
|
ExtensionManager as E,
|
|
25044
|
-
|
|
25045
|
-
|
|
25046
|
-
|
|
25173
|
+
StateProp as F,
|
|
25174
|
+
deleteKeyValue as G,
|
|
25175
|
+
deleteKeyValueNamespace as H,
|
|
25047
25176
|
INDEX_RECORD_SYMBOL as I,
|
|
25048
|
-
|
|
25177
|
+
getKeyValue as J,
|
|
25049
25178
|
KosContextManager as K,
|
|
25050
|
-
|
|
25179
|
+
updateKeyValue as L,
|
|
25051
25180
|
MultipleFutureContainerSetup as M,
|
|
25052
|
-
|
|
25053
|
-
|
|
25054
|
-
|
|
25055
|
-
|
|
25181
|
+
addLogOverride as N,
|
|
25182
|
+
getLogGroups as O,
|
|
25183
|
+
getLogOverrides as P,
|
|
25184
|
+
removeLogOverride as Q,
|
|
25056
25185
|
ReferenceConfig as R,
|
|
25057
25186
|
SubscriptionHandlers as S,
|
|
25058
25187
|
TroubleAwareSetup as T,
|
|
25059
|
-
|
|
25188
|
+
getTimezone as U,
|
|
25060
25189
|
ViewModelConfig as V,
|
|
25061
|
-
|
|
25062
|
-
|
|
25063
|
-
|
|
25064
|
-
|
|
25065
|
-
|
|
25190
|
+
WebSocketTransport as W,
|
|
25191
|
+
setDate as X,
|
|
25192
|
+
setTime as Y,
|
|
25193
|
+
setTimezone as Z,
|
|
25194
|
+
createOverride as _,
|
|
25066
25195
|
MixinModels as a,
|
|
25067
|
-
|
|
25068
|
-
|
|
25069
|
-
|
|
25070
|
-
|
|
25071
|
-
|
|
25072
|
-
|
|
25073
|
-
|
|
25074
|
-
|
|
25075
|
-
|
|
25076
|
-
|
|
25077
|
-
|
|
25078
|
-
|
|
25079
|
-
|
|
25080
|
-
|
|
25081
|
-
|
|
25082
|
-
|
|
25083
|
-
|
|
25084
|
-
|
|
25085
|
-
|
|
25086
|
-
|
|
25087
|
-
|
|
25088
|
-
|
|
25089
|
-
|
|
25090
|
-
|
|
25091
|
-
|
|
25092
|
-
|
|
25093
|
-
|
|
25094
|
-
|
|
25095
|
-
|
|
25096
|
-
|
|
25097
|
-
|
|
25098
|
-
|
|
25099
|
-
|
|
25100
|
-
|
|
25101
|
-
|
|
25102
|
-
|
|
25103
|
-
|
|
25104
|
-
|
|
25105
|
-
|
|
25106
|
-
|
|
25107
|
-
|
|
25108
|
-
|
|
25109
|
-
|
|
25110
|
-
|
|
25111
|
-
|
|
25112
|
-
|
|
25113
|
-
|
|
25114
|
-
|
|
25115
|
-
|
|
25116
|
-
|
|
25117
|
-
|
|
25118
|
-
|
|
25119
|
-
|
|
25120
|
-
|
|
25121
|
-
|
|
25122
|
-
|
|
25123
|
-
|
|
25124
|
-
|
|
25125
|
-
|
|
25126
|
-
|
|
25127
|
-
|
|
25128
|
-
|
|
25129
|
-
|
|
25130
|
-
|
|
25196
|
+
BrowserRouter as a$,
|
|
25197
|
+
getLogStreamBlocks as a0,
|
|
25198
|
+
getLogStreams as a1,
|
|
25199
|
+
subscribeToLogStream as a2,
|
|
25200
|
+
unsubscribeFromLogStream as a3,
|
|
25201
|
+
bulkResolveTroubles as a4,
|
|
25202
|
+
getTroubles as a5,
|
|
25203
|
+
resolveTrouble as a6,
|
|
25204
|
+
sendCanvasData as a7,
|
|
25205
|
+
getDeviceDetails as a8,
|
|
25206
|
+
getSerialNumber as a9,
|
|
25207
|
+
getKosModelSync as aA,
|
|
25208
|
+
kosAutoEffect as aB,
|
|
25209
|
+
WebSocketEvents as aC,
|
|
25210
|
+
modelHookCache as aD,
|
|
25211
|
+
isUpdateable as aE,
|
|
25212
|
+
KosModelState as aF,
|
|
25213
|
+
KosModelEvents as aG,
|
|
25214
|
+
clearModelHookCacheEntry as aH,
|
|
25215
|
+
KosTime as aI,
|
|
25216
|
+
SoftwareInfo as aJ,
|
|
25217
|
+
getQueryParams as aK,
|
|
25218
|
+
getKosLocalizationDescriptor as aL,
|
|
25219
|
+
Device as aM,
|
|
25220
|
+
NetworkInterfaceContainer as aN,
|
|
25221
|
+
Ota as aO,
|
|
25222
|
+
StorageDeviceContainer as aP,
|
|
25223
|
+
TimerManager as aQ,
|
|
25224
|
+
TIMER_END as aR,
|
|
25225
|
+
TIMER_EVENT as aS,
|
|
25226
|
+
TOPIC_TIMER_TICK_EVENT as aT,
|
|
25227
|
+
getKosModel$1 as aU,
|
|
25228
|
+
Trouble as aV,
|
|
25229
|
+
TroubleContainer as aW,
|
|
25230
|
+
UsbUpdateContainer as aX,
|
|
25231
|
+
Registration$1 as aY,
|
|
25232
|
+
AuthState as aZ,
|
|
25233
|
+
BrowserKosRouter as a_,
|
|
25234
|
+
getNetworkInterfaces as aa,
|
|
25235
|
+
getStorageDevices as ab,
|
|
25236
|
+
getAvailableUpdates as ac,
|
|
25237
|
+
installUpdate as ad,
|
|
25238
|
+
TranslationContainer as ae,
|
|
25239
|
+
whenReady as af,
|
|
25240
|
+
KosCoreModelPropertyMapper as ag,
|
|
25241
|
+
CanvasDispatcher as ah,
|
|
25242
|
+
KeyValue as ai,
|
|
25243
|
+
destroyKosModel as aj,
|
|
25244
|
+
createClient as ak,
|
|
25245
|
+
kosServiceRequest$1 as al,
|
|
25246
|
+
getSoftwareInfos as am,
|
|
25247
|
+
getSoftwareInfosWithCancel as an,
|
|
25248
|
+
KosLog as ao,
|
|
25249
|
+
LogGroup as ap,
|
|
25250
|
+
BASE_URL as aq,
|
|
25251
|
+
kosFetch as ar,
|
|
25252
|
+
kosModel as as,
|
|
25253
|
+
kosLoggerAware as at,
|
|
25254
|
+
kosContainerAware as au,
|
|
25255
|
+
kosChild as av,
|
|
25256
|
+
api$1 as aw,
|
|
25257
|
+
ObservableData as ax,
|
|
25258
|
+
kosComputed as ay,
|
|
25259
|
+
KosModelRegistrationFactory as az,
|
|
25131
25260
|
KosViewModelSymbol as b,
|
|
25132
|
-
|
|
25133
|
-
|
|
25134
|
-
|
|
25135
|
-
|
|
25136
|
-
|
|
25137
|
-
|
|
25138
|
-
|
|
25139
|
-
|
|
25140
|
-
|
|
25141
|
-
|
|
25142
|
-
|
|
25143
|
-
|
|
25144
|
-
|
|
25145
|
-
|
|
25146
|
-
|
|
25147
|
-
|
|
25148
|
-
|
|
25149
|
-
|
|
25150
|
-
|
|
25151
|
-
|
|
25152
|
-
|
|
25153
|
-
|
|
25154
|
-
|
|
25155
|
-
|
|
25156
|
-
|
|
25157
|
-
|
|
25158
|
-
|
|
25159
|
-
|
|
25160
|
-
|
|
25161
|
-
|
|
25162
|
-
|
|
25163
|
-
|
|
25164
|
-
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
|
|
25168
|
-
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25172
|
-
|
|
25173
|
-
|
|
25174
|
-
|
|
25175
|
-
|
|
25176
|
-
|
|
25177
|
-
|
|
25178
|
-
|
|
25179
|
-
|
|
25180
|
-
|
|
25181
|
-
|
|
25182
|
-
|
|
25183
|
-
|
|
25184
|
-
|
|
25185
|
-
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
|
|
25191
|
-
|
|
25192
|
-
|
|
25193
|
-
|
|
25194
|
-
|
|
25195
|
-
|
|
25261
|
+
KosModelContainer as b$,
|
|
25262
|
+
CancellableServiceManager as b0,
|
|
25263
|
+
CancellationBatch as b1,
|
|
25264
|
+
CanvasRenderer as b2,
|
|
25265
|
+
ChildModels as b3,
|
|
25266
|
+
ContainerAwareSetup as b4,
|
|
25267
|
+
CoreModels as b5,
|
|
25268
|
+
DependencyResolutionPolicy as b6,
|
|
25269
|
+
ERROR_TRANSPORT_NOT_READY as b7,
|
|
25270
|
+
EVENT_KOS_MODEL_READY as b8,
|
|
25271
|
+
EVENT_TROUBLE_ADDED as b9,
|
|
25272
|
+
HEADER_CONTENT_TYPE as bA,
|
|
25273
|
+
HEADER_DESTINATION_ADDR as bB,
|
|
25274
|
+
HEADER_FOS_REQUEST_ID as bC,
|
|
25275
|
+
HEADER_METHOD as bD,
|
|
25276
|
+
HEADER_ORDERED as bE,
|
|
25277
|
+
HEADER_REQUEST_ID as bF,
|
|
25278
|
+
HEADER_REQUEST_TYPE as bG,
|
|
25279
|
+
HEADER_RESPONSE_ID as bH,
|
|
25280
|
+
HEADER_SOURCE_ADDR as bI,
|
|
25281
|
+
HEADER_TOPIC as bJ,
|
|
25282
|
+
HEADER_URL as bK,
|
|
25283
|
+
HEADER_WORK_TRACKER as bL,
|
|
25284
|
+
HttpRouteHandlers as bM,
|
|
25285
|
+
KOS_EXECUTION_CONTEXT as bN,
|
|
25286
|
+
KOS_MODEL_ID as bO,
|
|
25287
|
+
KosContainerIndex as bP,
|
|
25288
|
+
KosContextBean as bQ,
|
|
25289
|
+
KosDataContainer as bR,
|
|
25290
|
+
kosDependency$1 as bS,
|
|
25291
|
+
KosExpressionEvaluator as bT,
|
|
25292
|
+
KosFeatureFlags as bU,
|
|
25293
|
+
KosGlobalConfig as bV,
|
|
25294
|
+
KosHttpRouteManager as bW,
|
|
25295
|
+
KosLogManager as bX,
|
|
25296
|
+
KosLoggerFactory as bY,
|
|
25297
|
+
KosMock as bZ,
|
|
25298
|
+
KosModel as b_,
|
|
25299
|
+
EVENT_TROUBLE_REMOVED as ba,
|
|
25300
|
+
EXTENSION_CANVAS_RENDERER as bb,
|
|
25301
|
+
EXTENSION_FEATURE_FLAG_RESOLVER as bc,
|
|
25302
|
+
EXTENSION_FUTURE_LIFECYCLE_WRAPPER as bd,
|
|
25303
|
+
EXTENSION_TROUBLE_DATA_MAPPER as be,
|
|
25304
|
+
EXTENSION_TROUBLE_MAPPER as bf,
|
|
25305
|
+
eventBus as bg,
|
|
25306
|
+
eventBus_state as bh,
|
|
25307
|
+
ExtensionException as bi,
|
|
25308
|
+
FUTURE_CONTAINER_MODEL_TYPE as bj,
|
|
25309
|
+
FUTURE_MODEL_TYPE as bk,
|
|
25310
|
+
FUTURE_NOT_ASSIGNED as bl,
|
|
25311
|
+
FeatureFlagService as bm,
|
|
25312
|
+
FetchError as bn,
|
|
25313
|
+
FutureAliases as bo,
|
|
25314
|
+
FutureCallError as bp,
|
|
25315
|
+
FutureContainerFactory as bq,
|
|
25316
|
+
FutureContainerModel$1 as br,
|
|
25317
|
+
FutureContainerSetup as bs,
|
|
25318
|
+
FutureEndState as bt,
|
|
25319
|
+
FutureFactory as bu,
|
|
25320
|
+
FutureHandler as bv,
|
|
25321
|
+
FutureManager as bw,
|
|
25322
|
+
FutureModel$1 as bx,
|
|
25323
|
+
FutureService as by,
|
|
25324
|
+
HEADER_CACHE_CONTROL as bz,
|
|
25196
25325
|
StateMachineSetup as c,
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
|
-
|
|
25201
|
-
|
|
25202
|
-
|
|
25203
|
-
|
|
25204
|
-
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25219
|
-
|
|
25220
|
-
|
|
25221
|
-
|
|
25222
|
-
|
|
25223
|
-
|
|
25224
|
-
|
|
25225
|
-
|
|
25226
|
-
|
|
25227
|
-
|
|
25228
|
-
|
|
25229
|
-
|
|
25230
|
-
|
|
25231
|
-
|
|
25232
|
-
|
|
25233
|
-
|
|
25234
|
-
|
|
25235
|
-
|
|
25236
|
-
|
|
25237
|
-
|
|
25238
|
-
|
|
25239
|
-
|
|
25240
|
-
|
|
25241
|
-
|
|
25242
|
-
|
|
25243
|
-
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25258
|
-
|
|
25259
|
-
|
|
25260
|
-
|
|
25326
|
+
cancelFuture as c$,
|
|
25327
|
+
KosModelFactory as c0,
|
|
25328
|
+
KosModelManager as c1,
|
|
25329
|
+
KosModelRegistry2 as c2,
|
|
25330
|
+
KosModelSymbol as c3,
|
|
25331
|
+
KosObservableData as c4,
|
|
25332
|
+
KosTimer as c5,
|
|
25333
|
+
KosWSTransportStatus as c6,
|
|
25334
|
+
KosWsEvents as c7,
|
|
25335
|
+
LOADER_FEATURE_FLAG as c8,
|
|
25336
|
+
LOGIN_HOST as c9,
|
|
25337
|
+
ServiceFactory as cA,
|
|
25338
|
+
ServiceRequestError as cB,
|
|
25339
|
+
ServiceRequestHandlers as cC,
|
|
25340
|
+
SingletonKosModelRegistrationFactory as cD,
|
|
25341
|
+
StateActionHandlers as cE,
|
|
25342
|
+
StateEntryHandlers as cF,
|
|
25343
|
+
StateExitHandlers as cG,
|
|
25344
|
+
StorageDevice as cH,
|
|
25345
|
+
TRANSPORT_NOT_READY as cI,
|
|
25346
|
+
Topics as cJ,
|
|
25347
|
+
TransitionMap as cK,
|
|
25348
|
+
Transitions as cL,
|
|
25349
|
+
Translation as cM,
|
|
25350
|
+
TransportFactory as cN,
|
|
25351
|
+
TransportNotReadyError as cO,
|
|
25352
|
+
Troubles as cP,
|
|
25353
|
+
UsbUpdate as cQ,
|
|
25354
|
+
WS_EVENT_TYPE as cR,
|
|
25355
|
+
WsEventFactory as cS,
|
|
25356
|
+
WsEventModel as cT,
|
|
25357
|
+
addFuture as cU,
|
|
25358
|
+
api as cV,
|
|
25359
|
+
applyFunctionalEnhancements as cW,
|
|
25360
|
+
awaitFutureCall as cX,
|
|
25361
|
+
buildConfigBeanModel as cY,
|
|
25362
|
+
buildFuture as cZ,
|
|
25363
|
+
buildFutureModel$1 as c_,
|
|
25364
|
+
LOGIN_URL as ca,
|
|
25365
|
+
LogBlock as cb,
|
|
25366
|
+
LogBlockContainer as cc,
|
|
25367
|
+
LogStream as cd,
|
|
25368
|
+
LogStreamContainer as ce,
|
|
25369
|
+
LoggerSetup as cf,
|
|
25370
|
+
MESSAGE_LOGGER_NAME as cg,
|
|
25371
|
+
MODEL_DELETION_DELAY as ch,
|
|
25372
|
+
ModelError as ci,
|
|
25373
|
+
MultipleFutureHandler as cj,
|
|
25374
|
+
NetworkInterface as ck,
|
|
25375
|
+
OptionsRequired as cl,
|
|
25376
|
+
PORT as cm,
|
|
25377
|
+
PROFILE_ENABLE_RELEASES as cn,
|
|
25378
|
+
PROFILE_LOG_DEBUG as co,
|
|
25379
|
+
PROFILE_LOG_INFO as cp,
|
|
25380
|
+
PROFILE_RELAX_STORE_VALIDATION as cq,
|
|
25381
|
+
PROFILE_TOOLS_PREVIEW as cr,
|
|
25382
|
+
ParentModel as cs,
|
|
25383
|
+
RegistrationManager as ct,
|
|
25384
|
+
Registry as cu,
|
|
25385
|
+
ReloadAwareSetup as cv,
|
|
25386
|
+
ReplayStrategy as cw,
|
|
25387
|
+
ResponseRetention as cx,
|
|
25388
|
+
STATUS as cy,
|
|
25389
|
+
SelfManagedReload as cz,
|
|
25261
25390
|
DependencyLifecycle as d,
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
|
|
25272
|
-
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25277
|
-
|
|
25278
|
-
|
|
25279
|
-
|
|
25280
|
-
|
|
25281
|
-
|
|
25282
|
-
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
|
|
25286
|
-
|
|
25287
|
-
|
|
25288
|
-
|
|
25289
|
-
|
|
25290
|
-
|
|
25291
|
-
|
|
25292
|
-
|
|
25293
|
-
|
|
25294
|
-
|
|
25295
|
-
|
|
25296
|
-
|
|
25297
|
-
|
|
25298
|
-
|
|
25299
|
-
|
|
25300
|
-
|
|
25301
|
-
|
|
25302
|
-
|
|
25303
|
-
|
|
25304
|
-
|
|
25305
|
-
|
|
25306
|
-
|
|
25307
|
-
|
|
25308
|
-
|
|
25309
|
-
|
|
25310
|
-
|
|
25311
|
-
|
|
25312
|
-
|
|
25313
|
-
|
|
25314
|
-
|
|
25315
|
-
|
|
25316
|
-
|
|
25317
|
-
|
|
25318
|
-
|
|
25319
|
-
|
|
25320
|
-
|
|
25321
|
-
|
|
25322
|
-
|
|
25323
|
-
|
|
25324
|
-
|
|
25391
|
+
isTransportNotReadyError as d$,
|
|
25392
|
+
checkAppsStarted as d0,
|
|
25393
|
+
checkWildcardPattern as d1,
|
|
25394
|
+
convert as d2,
|
|
25395
|
+
convertWithUnits as d3,
|
|
25396
|
+
createBaseMessage as d4,
|
|
25397
|
+
createBroadcastMessageResponse as d5,
|
|
25398
|
+
createCancellablePromise as d6,
|
|
25399
|
+
createCancellableService as d7,
|
|
25400
|
+
createCancellationBatch as d8,
|
|
25401
|
+
createFosBaseMessage as d9,
|
|
25402
|
+
getFutures as dA,
|
|
25403
|
+
getHttpRouteHandlers as dB,
|
|
25404
|
+
getKosCompanionModel as dC,
|
|
25405
|
+
getKosConnectionId as dD,
|
|
25406
|
+
getKosModelActivationState as dE,
|
|
25407
|
+
getKosModelType as dF,
|
|
25408
|
+
getKosSessionKey as dG,
|
|
25409
|
+
getLocalizationDescriptor as dH,
|
|
25410
|
+
getLogLevel as dI,
|
|
25411
|
+
getObservableCompanions as dJ,
|
|
25412
|
+
getStartedApps as dK,
|
|
25413
|
+
getTranslations as dL,
|
|
25414
|
+
handleServiceRequestError as dM,
|
|
25415
|
+
hasDecimals as dN,
|
|
25416
|
+
hasHttpRouteHandlers$1 as dO,
|
|
25417
|
+
hasKosProfile as dP,
|
|
25418
|
+
httpDelete as dQ,
|
|
25419
|
+
isBoolean as dR,
|
|
25420
|
+
isKosCompanionTypeFactory as dS,
|
|
25421
|
+
isKosDataModel as dT,
|
|
25422
|
+
isKosExecutionContext as dU,
|
|
25423
|
+
isKosLoggingEnabled as dV,
|
|
25424
|
+
isKosModelContainer as dW,
|
|
25425
|
+
isKosModelReady as dX,
|
|
25426
|
+
isLocalRefId as dY,
|
|
25427
|
+
isNumber as dZ,
|
|
25428
|
+
isPrintable as d_,
|
|
25429
|
+
createHeaders as da,
|
|
25430
|
+
createKosHtpMessageResponse as db,
|
|
25431
|
+
createKosMessage as dc,
|
|
25432
|
+
createKosMessageResponse as dd,
|
|
25433
|
+
createMessageBody as de,
|
|
25434
|
+
createModelDependency as df,
|
|
25435
|
+
createOptionKey as dg,
|
|
25436
|
+
createPropKey as dh,
|
|
25437
|
+
createReadableStream as di,
|
|
25438
|
+
createStudioMessage as dj,
|
|
25439
|
+
createStudioMessageRequest as dk,
|
|
25440
|
+
createStudioMessageResponse as dl,
|
|
25441
|
+
del as dm,
|
|
25442
|
+
deleteFuture as dn,
|
|
25443
|
+
evaluateScopes as dp,
|
|
25444
|
+
executeApiMethod as dq,
|
|
25445
|
+
executeChildrenModelLifecycle as dr,
|
|
25446
|
+
executeDependentModelLifecycle as ds,
|
|
25447
|
+
executeListLifecycle as dt,
|
|
25448
|
+
findModel as du,
|
|
25449
|
+
findModels as dv,
|
|
25450
|
+
get as dw,
|
|
25451
|
+
getAllKosCompanionModels as dx,
|
|
25452
|
+
getConfigBean as dy,
|
|
25453
|
+
getDependenciesByLifecycle as dz,
|
|
25325
25454
|
initializeStateMachine as e,
|
|
25326
25455
|
waitForAppsToStart as e$,
|
|
25327
|
-
|
|
25328
|
-
|
|
25329
|
-
|
|
25330
|
-
|
|
25331
|
-
|
|
25332
|
-
|
|
25333
|
-
|
|
25334
|
-
|
|
25335
|
-
|
|
25336
|
-
|
|
25456
|
+
kosAction as e0,
|
|
25457
|
+
kosDependency as e1,
|
|
25458
|
+
kosEffect as e2,
|
|
25459
|
+
kosFuture as e3,
|
|
25460
|
+
kosFutureAware as e4,
|
|
25461
|
+
kosModelEffect as e5,
|
|
25462
|
+
kosObservable as e6,
|
|
25463
|
+
kosReloadAware as e7,
|
|
25464
|
+
kosStateEntry as e8,
|
|
25465
|
+
kosStateExit as e9,
|
|
25337
25466
|
registerLegacyModel as eA,
|
|
25338
25467
|
resetKosModel as eB,
|
|
25339
25468
|
resolveBaseUrl as eC,
|
|
@@ -25361,8 +25490,8 @@ export {
|
|
|
25361
25490
|
unloadKosModel as eY,
|
|
25362
25491
|
uuid as eZ,
|
|
25363
25492
|
waitForAppToStart as e_,
|
|
25364
|
-
|
|
25365
|
-
|
|
25493
|
+
kosStateGuard as ea,
|
|
25494
|
+
kosStateMachine as eb,
|
|
25366
25495
|
kosWhen as ec,
|
|
25367
25496
|
makeCancellable as ed,
|
|
25368
25497
|
mapConfigBeanModelToDto as ee,
|
|
@@ -25393,24 +25522,24 @@ export {
|
|
|
25393
25522
|
wrapWithFutureLifecycle as f2,
|
|
25394
25523
|
service as f3,
|
|
25395
25524
|
KosModelVisitor as g,
|
|
25396
|
-
|
|
25525
|
+
kosTopicHandler as h,
|
|
25397
25526
|
injectStateMachineSupport as i,
|
|
25398
|
-
|
|
25527
|
+
getMessageBody as j,
|
|
25399
25528
|
kosParentAware as k,
|
|
25400
|
-
|
|
25401
|
-
|
|
25402
|
-
|
|
25403
|
-
|
|
25529
|
+
KosCore as l,
|
|
25530
|
+
sendKosMessageResponse as m,
|
|
25531
|
+
INDEX_COLLECTION_KEY as n,
|
|
25532
|
+
KosContainerIndexEvents as o,
|
|
25404
25533
|
publish as p,
|
|
25405
|
-
|
|
25406
|
-
|
|
25534
|
+
isIndexableItem as q,
|
|
25535
|
+
Kos as r,
|
|
25407
25536
|
subscribe as s,
|
|
25408
|
-
|
|
25409
|
-
|
|
25410
|
-
|
|
25411
|
-
|
|
25412
|
-
|
|
25413
|
-
|
|
25414
|
-
|
|
25415
|
-
};
|
|
25416
|
-
//# sourceMappingURL=software-info-registration-
|
|
25537
|
+
isKosModel as t,
|
|
25538
|
+
ConfigBean as u,
|
|
25539
|
+
configBeanModelId as v,
|
|
25540
|
+
getRegionInfo as w,
|
|
25541
|
+
getRegions as x,
|
|
25542
|
+
Registration as y,
|
|
25543
|
+
getStateBeanData as z
|
|
25544
|
+
};
|
|
25545
|
+
//# sourceMappingURL=software-info-registration-BqhJP3ww.js.map
|