@kosdev-code/kos-ui-sdk 0.1.0-next.979 → 0.1.0-next.991
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/common/events/async-event-bus.d.ts.map +1 -1
- package/common/events/eventBus.d.ts.map +1 -1
- package/core/core/decorators/index.d.ts +0 -1
- package/core/core/decorators/index.d.ts.map +1 -1
- package/core/core/decorators/kos-logger-aware.d.ts.map +1 -1
- package/core/core/decorators/kosModel.d.ts.map +1 -1
- package/core/core/decorators/propKeys.d.ts +0 -1
- package/core/core/decorators/propKeys.d.ts.map +1 -1
- package/core/core/extension/extension-manager.d.ts.map +1 -1
- package/core/core/kos-container-index.d.ts.map +1 -1
- package/core/core/kos-registration.d.ts.map +1 -1
- package/core/core/kosModel.d.ts.map +1 -1
- package/core/core/lifecycle/kosCoreLifecycle.d.ts.map +1 -1
- package/core/core/lifecycle/model-machine.d.ts.map +1 -1
- package/core/core/log/index.d.ts +1 -0
- package/core/core/log/index.d.ts.map +1 -1
- package/core/core/log/log-groups.d.ts +25 -0
- package/core/core/log/log-groups.d.ts.map +1 -0
- package/core/core/log/log.d.ts +10 -6
- package/core/core/log/log.d.ts.map +1 -1
- package/core/core/model/kos-logger-factory.d.ts +6 -4
- package/core/core/model/kos-logger-factory.d.ts.map +1 -1
- package/core/core/model/kos-model-component-factory.d.ts.map +1 -1
- package/core/core/model/kos-service-request-manager.d.ts.map +1 -1
- package/core/core/registration/registration-manager.d.ts.map +1 -1
- package/core/core/transport/base-message-transport.d.ts.map +1 -1
- package/core/core/transport/bridge-transport.d.ts.map +1 -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-fixtures.d.ts.map +1 -1
- package/core/core/transport/mock/mock-playback.d.ts.map +1 -1
- package/core/core/transport/mock/mock-recorder.d.ts.map +1 -1
- package/core/core/transport/mock/mock-registry.d.ts.map +1 -1
- package/core/core/transport/mock/mock-setups.d.ts.map +1 -1
- package/core/core/transport/mock/standalone-mock-socket.d.ts.map +1 -1
- package/core/core/transport/transport-factory.d.ts.map +1 -1
- package/core/core/transport/webSocketTransport.d.ts.map +1 -1
- package/core/types/global.d.ts +0 -6
- package/core/util/feature-flags.d.ts.map +1 -1
- package/core/util/kos-message-utils.d.ts.map +1 -1
- package/core/util/kos-model-utils.d.ts.map +1 -1
- package/core/util/kos-model-visitor.d.ts.map +1 -1
- package/core/util/log-utils.d.ts +0 -10
- package/core/util/log-utils.d.ts.map +1 -1
- package/core/util/model-error-utils.d.ts.map +1 -1
- package/core/util/model-utils.d.ts.map +1 -1
- package/core/util/promise-utils.d.ts.map +1 -1
- package/core/util/retry-with-exponential-backoff.d.ts.map +1 -1
- package/core/util/wait-for-request.d.ts.map +1 -1
- package/index.cjs +60 -312
- package/index.cjs.map +1 -1
- package/index.js +236 -488
- package/index.js.map +1 -1
- package/models/decorators/future-service.d.ts.map +1 -1
- package/models/models/config-bean/config-bean-model.d.ts.map +1 -1
- package/models/models/config-bean-prop/config-bean-prop-model.d.ts.map +1 -1
- package/models/models/future/future-aware.d.ts.map +1 -1
- package/models/models/future/future-model-builder.d.ts.map +1 -1
- package/models/models/future/future-model.d.ts.map +1 -1
- package/models/models/future-container/future-container-model.d.ts.map +1 -1
- package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
- package/models/models/kos-log-manager/services/kos-log-manager-services.d.ts.map +1 -1
- package/models/models/log-stream/services/log-stream-services.d.ts.map +1 -1
- package/models/models/network-interface/services/network-interface-services.d.ts.map +1 -1
- package/models/models/ota/services/ota-services.d.ts.map +1 -1
- package/models/models/software-info/services/software-info-services.d.ts.map +1 -1
- package/models/models/state-bean/services/state-bean-services.d.ts.map +1 -1
- package/models/models/state-prop/services/state-prop-services.d.ts.map +1 -1
- package/models/models/storage-device/services/storage-device-services.d.ts.map +1 -1
- package/models/models/studio-properties/services/studio-properties-services.d.ts.map +1 -1
- package/models/models/studio-properties/studio-properties-model.d.ts.map +1 -1
- package/models/models/translation/services/translation-services.d.ts.map +1 -1
- package/models/models/trouble/utils/trouble-data-extension.d.ts.map +1 -1
- package/models/models/trouble/utils/trouble-extension.d.ts.map +1 -1
- package/models/models/usb-update/services/usb-update-services.d.ts.map +1 -1
- package/models/models/ws-event/ws-event-model.d.ts.map +1 -1
- package/models/services/config-bean/index.d.ts.map +1 -1
- package/models/services/login/index.d.ts.map +1 -1
- package/models/utils/await-future-call.d.ts.map +1 -1
- package/models/utils/cancellable-future-call.d.ts.map +1 -1
- package/models/utils/core-registration-manager.d.ts +13 -2
- package/models/utils/core-registration-manager.d.ts.map +1 -1
- package/models/utils/get-kos-connection-id.d.ts.map +1 -1
- package/models/utils/timer-manager.d.ts.map +1 -1
- package/package.json +3 -3
- package/{software-info-registration-Cbvzr2Q-.js → software-info-registration-Bz_s3zOp.js} +1244 -925
- package/software-info-registration-Bz_s3zOp.js.map +1 -0
- package/{software-info-registration-rg4pjrxg.cjs → software-info-registration-CagrRzH8.cjs} +978 -659
- package/software-info-registration-CagrRzH8.cjs.map +1 -0
- package/testing.cjs +1 -2
- package/testing.cjs.map +1 -1
- package/testing.js +1 -2
- package/testing.js.map +1 -1
- package/ui/components/kos-model-loader/contexts/kos-model-hierarchy-context.d.ts.map +1 -1
- package/ui/components/kos-model-loader/kos-model-loader.d.ts.map +1 -1
- package/ui/contexts/kos-model-context.d.ts.map +1 -1
- package/ui/contexts/translation-container/kos-translations-provider.d.ts.map +1 -1
- package/ui/hooks/translation-container/use-translation.d.ts.map +1 -1
- package/ui/hooks/use-mutation-observer.d.ts.map +1 -1
- package/ui/hooks/use-press-gesture/use-press-gesture.d.ts.map +1 -1
- package/ui/policies/reload-on-disconnect-policy.d.ts.map +1 -1
- package/core/core/decorators/kos-log.d.ts +0 -14
- package/core/core/decorators/kos-log.d.ts.map +0 -1
- package/software-info-registration-Cbvzr2Q-.js.map +0 -1
- package/software-info-registration-rg4pjrxg.cjs.map +0 -1
package/index.cjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const service$8 = require("./software-info-registration-
|
|
3
|
+
const service$8 = require("./software-info-registration-CagrRzH8.cjs");
|
|
4
4
|
const mobx = require("mobx");
|
|
5
|
-
const log$6 = require("loglevel");
|
|
6
5
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
7
6
|
const styled = require("@emotion/styled");
|
|
8
7
|
const reactDom = require("react-dom");
|
|
@@ -397,10 +396,6 @@ function kosMultipleFutureAware(options) {
|
|
|
397
396
|
return target;
|
|
398
397
|
};
|
|
399
398
|
}
|
|
400
|
-
const kosLogger = ({ group } = { group: "" }) => (constructor) => {
|
|
401
|
-
constructor[service$8.LogConfig] = constructor[service$8.LogConfig] || {};
|
|
402
|
-
constructor[service$8.LogConfig] = { group };
|
|
403
|
-
};
|
|
404
399
|
function kosMixin(mixin, options) {
|
|
405
400
|
return (target, propertyKey) => {
|
|
406
401
|
const companion = mixin.class.prototype[service$8.CompanionParentModel];
|
|
@@ -961,33 +956,6 @@ const pairedClientHeartbeat = ({
|
|
|
961
956
|
controller.signal.addEventListener("abort", handleAbort);
|
|
962
957
|
return { cleanUpHeartbeat };
|
|
963
958
|
};
|
|
964
|
-
const BASE_OPTIONS = {
|
|
965
|
-
maxAttempts: 5,
|
|
966
|
-
baseDelayMs: 100,
|
|
967
|
-
backoffFactor: 1.5
|
|
968
|
-
};
|
|
969
|
-
async function retryWithExponentialBackoff(operation, options) {
|
|
970
|
-
let attempt = 1;
|
|
971
|
-
const _options = { ...BASE_OPTIONS, ...options };
|
|
972
|
-
const { maxAttempts, baseDelayMs, backoffFactor } = _options;
|
|
973
|
-
let delayMs = baseDelayMs;
|
|
974
|
-
while (attempt <= maxAttempts) {
|
|
975
|
-
try {
|
|
976
|
-
const result = await operation();
|
|
977
|
-
return result;
|
|
978
|
-
} catch (error) {
|
|
979
|
-
service$8.KosLog.error(`Attempt ${attempt} failed: ${error}`);
|
|
980
|
-
if (attempt < maxAttempts) {
|
|
981
|
-
delayMs = baseDelayMs * Math.pow(backoffFactor, attempt);
|
|
982
|
-
await new Promise((resolve) => setTimeout(resolve, delayMs));
|
|
983
|
-
attempt++;
|
|
984
|
-
} else {
|
|
985
|
-
throw error;
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
}
|
|
989
|
-
throw new Error("All attempts failed");
|
|
990
|
-
}
|
|
991
959
|
function getServiceResponse(model, path, method = "get") {
|
|
992
960
|
const store = model.serviceResponses;
|
|
993
961
|
if (!store) {
|
|
@@ -1023,58 +991,6 @@ function clearAllServiceResponses(model) {
|
|
|
1023
991
|
}
|
|
1024
992
|
store.clear();
|
|
1025
993
|
}
|
|
1026
|
-
const waitForRequest = async (requestId, timeout = 6e4) => new Promise((resolve, reject) => {
|
|
1027
|
-
const { unsubscribe } = service$8.subscribe(requestId, (op) => {
|
|
1028
|
-
log$6.debug(`recieved response for refId ${requestId}: ${op}`);
|
|
1029
|
-
unsubscribe();
|
|
1030
|
-
clearTimeout(cancel);
|
|
1031
|
-
try {
|
|
1032
|
-
const body = op?.body ? JSON.parse(op.body) : {};
|
|
1033
|
-
resolve(body);
|
|
1034
|
-
} catch {
|
|
1035
|
-
const body = op?.body || {};
|
|
1036
|
-
resolve(body);
|
|
1037
|
-
}
|
|
1038
|
-
});
|
|
1039
|
-
const cancel = setTimeout(() => {
|
|
1040
|
-
unsubscribe();
|
|
1041
|
-
reject(Error(`Request with ID ${requestId} timed out. Cancelling.`));
|
|
1042
|
-
}, timeout);
|
|
1043
|
-
});
|
|
1044
|
-
const sendRequest = async (requestPromise, params, refId) => {
|
|
1045
|
-
const op = waitForRequest(refId);
|
|
1046
|
-
const result = await Promise.allSettled([requestPromise(params), op]);
|
|
1047
|
-
if (result[0].status === "fulfilled") {
|
|
1048
|
-
if (result[1].status === "rejected") {
|
|
1049
|
-
throw Error(result[1].reason);
|
|
1050
|
-
} else {
|
|
1051
|
-
if (result[0].value) {
|
|
1052
|
-
if (result[1].value.error) {
|
|
1053
|
-
throw Error(result[1].value.error);
|
|
1054
|
-
}
|
|
1055
|
-
result[0].value.data = result[1].value;
|
|
1056
|
-
return result[0].value;
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
} else {
|
|
1060
|
-
throw Error(result[0].reason);
|
|
1061
|
-
}
|
|
1062
|
-
return void 0;
|
|
1063
|
-
};
|
|
1064
|
-
const syncPublish = async ({
|
|
1065
|
-
topic,
|
|
1066
|
-
msg,
|
|
1067
|
-
requestId
|
|
1068
|
-
}) => {
|
|
1069
|
-
const _requestId = requestId ?? service$8.uuid();
|
|
1070
|
-
const responsePromise = waitForRequest(_requestId);
|
|
1071
|
-
service$8.publish(topic, msg, { sync: _requestId });
|
|
1072
|
-
const response = await responsePromise;
|
|
1073
|
-
if (response.error) {
|
|
1074
|
-
throw Error(response.error);
|
|
1075
|
-
}
|
|
1076
|
-
return response;
|
|
1077
|
-
};
|
|
1078
994
|
function kosIndexAware(options) {
|
|
1079
995
|
return (target) => {
|
|
1080
996
|
const collection = options?.collection;
|
|
@@ -1399,185 +1315,6 @@ const index$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
1399
1315
|
getTroubles: service$8.getTroubles,
|
|
1400
1316
|
resolveTrouble: service$8.resolveTrouble
|
|
1401
1317
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1402
|
-
function createCancellablePromise(promiseOrOptions, abortController, cancelFuture, future) {
|
|
1403
|
-
const options = promiseOrOptions instanceof Promise ? { promise: promiseOrOptions, abortController, cancelFuture, future } : promiseOrOptions;
|
|
1404
|
-
const {
|
|
1405
|
-
promise,
|
|
1406
|
-
abortController: controller,
|
|
1407
|
-
cancelFuture: cancelFn,
|
|
1408
|
-
future: futureRef
|
|
1409
|
-
} = options;
|
|
1410
|
-
const cancellablePromise = promise;
|
|
1411
|
-
let currentProgress = 0;
|
|
1412
|
-
let currentStatus = "PENDING";
|
|
1413
|
-
let isRunning = true;
|
|
1414
|
-
const progressCallbacks = /* @__PURE__ */ new Set();
|
|
1415
|
-
let effectDisposer;
|
|
1416
|
-
if (futureRef && typeof futureRef === "object") {
|
|
1417
|
-
effectDisposer = mobx.autorun(() => {
|
|
1418
|
-
const newProgress = futureRef.progress || 0;
|
|
1419
|
-
const newStatus = futureRef.status || "PENDING";
|
|
1420
|
-
const newIsRunning = !futureRef.endState;
|
|
1421
|
-
if (newProgress !== currentProgress || newStatus !== currentStatus || newIsRunning !== isRunning) {
|
|
1422
|
-
currentProgress = newProgress;
|
|
1423
|
-
currentStatus = newStatus;
|
|
1424
|
-
isRunning = newIsRunning;
|
|
1425
|
-
progressCallbacks.forEach((callback) => {
|
|
1426
|
-
try {
|
|
1427
|
-
callback(currentProgress, currentStatus);
|
|
1428
|
-
} catch (error) {
|
|
1429
|
-
console.warn("Progress callback error:", error);
|
|
1430
|
-
}
|
|
1431
|
-
});
|
|
1432
|
-
}
|
|
1433
|
-
});
|
|
1434
|
-
}
|
|
1435
|
-
promise.finally(() => {
|
|
1436
|
-
isRunning = false;
|
|
1437
|
-
if (!controller?.signal.aborted) {
|
|
1438
|
-
currentStatus = "COMPLETED";
|
|
1439
|
-
progressCallbacks.forEach((callback) => {
|
|
1440
|
-
try {
|
|
1441
|
-
callback(currentProgress, currentStatus);
|
|
1442
|
-
} catch (error) {
|
|
1443
|
-
console.warn("Progress callback error:", error);
|
|
1444
|
-
}
|
|
1445
|
-
});
|
|
1446
|
-
}
|
|
1447
|
-
if (effectDisposer) {
|
|
1448
|
-
effectDisposer();
|
|
1449
|
-
}
|
|
1450
|
-
progressCallbacks.clear();
|
|
1451
|
-
});
|
|
1452
|
-
cancellablePromise.cancel = async () => {
|
|
1453
|
-
if (controller && !controller.signal.aborted) {
|
|
1454
|
-
controller.abort();
|
|
1455
|
-
}
|
|
1456
|
-
if (cancelFn) {
|
|
1457
|
-
await cancelFn();
|
|
1458
|
-
}
|
|
1459
|
-
isRunning = false;
|
|
1460
|
-
currentStatus = "CANCELLED";
|
|
1461
|
-
progressCallbacks.forEach((callback) => {
|
|
1462
|
-
try {
|
|
1463
|
-
callback(currentProgress, currentStatus);
|
|
1464
|
-
} catch (error) {
|
|
1465
|
-
console.warn("Progress callback error:", error);
|
|
1466
|
-
}
|
|
1467
|
-
});
|
|
1468
|
-
if (effectDisposer) {
|
|
1469
|
-
effectDisposer();
|
|
1470
|
-
}
|
|
1471
|
-
};
|
|
1472
|
-
cancellablePromise.getController = () => controller;
|
|
1473
|
-
cancellablePromise.isCancelled = () => controller?.signal.aborted ?? false;
|
|
1474
|
-
Object.defineProperty(cancellablePromise, "progress", {
|
|
1475
|
-
get: () => currentProgress,
|
|
1476
|
-
enumerable: true
|
|
1477
|
-
});
|
|
1478
|
-
Object.defineProperty(cancellablePromise, "status", {
|
|
1479
|
-
get: () => currentStatus,
|
|
1480
|
-
enumerable: true
|
|
1481
|
-
});
|
|
1482
|
-
Object.defineProperty(cancellablePromise, "isRunning", {
|
|
1483
|
-
get: () => isRunning,
|
|
1484
|
-
enumerable: true
|
|
1485
|
-
});
|
|
1486
|
-
cancellablePromise.onProgressUpdate = (callback) => {
|
|
1487
|
-
progressCallbacks.add(callback);
|
|
1488
|
-
callback(currentProgress, currentStatus);
|
|
1489
|
-
return () => progressCallbacks.delete(callback);
|
|
1490
|
-
};
|
|
1491
|
-
return cancellablePromise;
|
|
1492
|
-
}
|
|
1493
|
-
function makeCancellable(model, methodCall) {
|
|
1494
|
-
const initialFuture = model.futureHandler.future;
|
|
1495
|
-
const promise = methodCall(model);
|
|
1496
|
-
let newFuture = null;
|
|
1497
|
-
setTimeout(() => {
|
|
1498
|
-
newFuture = model.futureHandler.future;
|
|
1499
|
-
if (newFuture === initialFuture) {
|
|
1500
|
-
newFuture = null;
|
|
1501
|
-
}
|
|
1502
|
-
}, 0);
|
|
1503
|
-
return createCancellablePromise({
|
|
1504
|
-
promise,
|
|
1505
|
-
abortController: void 0,
|
|
1506
|
-
// No direct AbortController access
|
|
1507
|
-
cancelFuture: async () => {
|
|
1508
|
-
if (newFuture) {
|
|
1509
|
-
await newFuture.cancelFuture();
|
|
1510
|
-
} else {
|
|
1511
|
-
const currentFuture = model.futureHandler.future;
|
|
1512
|
-
if (currentFuture) {
|
|
1513
|
-
await currentFuture.cancelFuture();
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
},
|
|
1517
|
-
future: newFuture
|
|
1518
|
-
// Pass the future for progress tracking
|
|
1519
|
-
});
|
|
1520
|
-
}
|
|
1521
|
-
function withCancellation(model, methodName, ...args) {
|
|
1522
|
-
const method = model[methodName];
|
|
1523
|
-
if (typeof method !== "function") {
|
|
1524
|
-
throw new Error(`${String(methodName)} is not a method`);
|
|
1525
|
-
}
|
|
1526
|
-
const initialFuture = model.futureHandler.future;
|
|
1527
|
-
const promise = method.apply(model, args);
|
|
1528
|
-
let targetFuture = null;
|
|
1529
|
-
setTimeout(() => {
|
|
1530
|
-
const currentFuture = model.futureHandler.future;
|
|
1531
|
-
if (currentFuture && currentFuture !== initialFuture) {
|
|
1532
|
-
targetFuture = currentFuture;
|
|
1533
|
-
}
|
|
1534
|
-
}, 0);
|
|
1535
|
-
return createCancellablePromise({
|
|
1536
|
-
promise,
|
|
1537
|
-
abortController: void 0,
|
|
1538
|
-
cancelFuture: async () => {
|
|
1539
|
-
if (targetFuture) {
|
|
1540
|
-
await targetFuture.cancelFuture();
|
|
1541
|
-
} else {
|
|
1542
|
-
const fallbackFuture = model.futureHandler.future;
|
|
1543
|
-
if (fallbackFuture) {
|
|
1544
|
-
await fallbackFuture.cancelFuture();
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
},
|
|
1548
|
-
future: targetFuture
|
|
1549
|
-
// Pass the future for progress tracking
|
|
1550
|
-
});
|
|
1551
|
-
}
|
|
1552
|
-
class CancellationBatch {
|
|
1553
|
-
operations = [];
|
|
1554
|
-
add(model, methodCall) {
|
|
1555
|
-
const cancellable = makeCancellable(model, methodCall);
|
|
1556
|
-
this.operations.push(cancellable);
|
|
1557
|
-
return cancellable;
|
|
1558
|
-
}
|
|
1559
|
-
async cancelAll() {
|
|
1560
|
-
await Promise.all(
|
|
1561
|
-
this.operations.map(
|
|
1562
|
-
(op) => op.cancel().catch(() => {
|
|
1563
|
-
service$8.KosLog.warn("Cancellation failed for operation:", op);
|
|
1564
|
-
})
|
|
1565
|
-
)
|
|
1566
|
-
);
|
|
1567
|
-
}
|
|
1568
|
-
getAllControllers() {
|
|
1569
|
-
return this.operations.map((op) => op.getController());
|
|
1570
|
-
}
|
|
1571
|
-
getActiveCount() {
|
|
1572
|
-
return this.operations.filter((op) => !op.isCancelled()).length;
|
|
1573
|
-
}
|
|
1574
|
-
clear() {
|
|
1575
|
-
this.operations = [];
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1578
|
-
function createCancellationBatch() {
|
|
1579
|
-
return new CancellationBatch();
|
|
1580
|
-
}
|
|
1581
1318
|
const index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1582
1319
|
__proto__: null,
|
|
1583
1320
|
sendCanvasData: service$8.sendCanvasData
|
|
@@ -1777,7 +1514,7 @@ const updateRegion = async (region) => {
|
|
|
1777
1514
|
regionInfo.updateProperty(region);
|
|
1778
1515
|
};
|
|
1779
1516
|
async function getKosServiceApi() {
|
|
1780
|
-
const { default: API } = await Promise.resolve().then(() => require("./software-info-registration-
|
|
1517
|
+
const { default: API } = await Promise.resolve().then(() => require("./software-info-registration-CagrRzH8.cjs")).then((n) => n.service);
|
|
1781
1518
|
return API;
|
|
1782
1519
|
}
|
|
1783
1520
|
function kosServiceRequest$7(params) {
|
|
@@ -1905,7 +1642,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
1905
1642
|
function isTroubleAware(obj) {
|
|
1906
1643
|
return obj?.troubles !== void 0 && obj?.troubles instanceof Array && obj?.troublesByType !== void 0 && typeof obj?.troublesByType === "object";
|
|
1907
1644
|
}
|
|
1908
|
-
const log$
|
|
1645
|
+
const log$9 = service$8.KosLog.createLogger({ group: service$8.LogGroup.service, name: "services" });
|
|
1909
1646
|
const studioLogin = async (username, password) => login(username, password, `${service$8.BASE_URL}/api/server/login`);
|
|
1910
1647
|
const login = async (username, password, url = `${service$8.BASE_URL}/api/login`) => {
|
|
1911
1648
|
const response = await service$8.kosFetch(`${url}`, {
|
|
@@ -1939,7 +1676,7 @@ const startPasswordReset = async (userId, url = `${service$8.BASE_URL}/api/start
|
|
|
1939
1676
|
};
|
|
1940
1677
|
const studioResetPassword = async (token2, password) => resetPassword(token2, password, `${service$8.BASE_URL}/api/server/resetPassword`);
|
|
1941
1678
|
const resetPassword = async (token2, password, url = `${service$8.BASE_URL}/api/resetPassword`) => {
|
|
1942
|
-
log$
|
|
1679
|
+
log$9.debug(
|
|
1943
1680
|
`resetting password with token ${token2} and password ${password.replace(
|
|
1944
1681
|
/./g,
|
|
1945
1682
|
"*"
|
|
@@ -1953,9 +1690,9 @@ const resetPassword = async (token2, password, url = `${service$8.BASE_URL}/api/
|
|
|
1953
1690
|
password
|
|
1954
1691
|
})
|
|
1955
1692
|
});
|
|
1956
|
-
log$
|
|
1693
|
+
log$9.debug(`password reset returned status ${response.status}`);
|
|
1957
1694
|
if (!response.ok) {
|
|
1958
|
-
log$
|
|
1695
|
+
log$9.error(`password reset failed with message ${response.statusText}`);
|
|
1959
1696
|
const configResponse2 = await response.json();
|
|
1960
1697
|
throw Error(
|
|
1961
1698
|
`${configResponse2?.error}:There was a problem resetting the password.`
|
|
@@ -1971,7 +1708,7 @@ const studioAcceptOrgInvitation = async (token2, password, name) => acceptOrgInv
|
|
|
1971
1708
|
`${service$8.BASE_URL}/api/server/acceptInvite`
|
|
1972
1709
|
);
|
|
1973
1710
|
const acceptOrgInvitation = async (token2, password, name, url = `${service$8.BASE_URL}/api/server/acceptInvite`) => {
|
|
1974
|
-
log$
|
|
1711
|
+
log$9.debug(
|
|
1975
1712
|
`accepting invite with token ${token2} and password ${password.replace(
|
|
1976
1713
|
/./g,
|
|
1977
1714
|
"*"
|
|
@@ -1986,9 +1723,9 @@ const acceptOrgInvitation = async (token2, password, name, url = `${service$8.BA
|
|
|
1986
1723
|
name
|
|
1987
1724
|
})
|
|
1988
1725
|
});
|
|
1989
|
-
log$
|
|
1726
|
+
log$9.debug(`invitation accept returned status ${response.status}`);
|
|
1990
1727
|
if (!response.ok) {
|
|
1991
|
-
log$
|
|
1728
|
+
log$9.error(`invite failed with message ${response.statusText}`);
|
|
1992
1729
|
const configResponse2 = await response.json();
|
|
1993
1730
|
throw Error(
|
|
1994
1731
|
`${configResponse2?.error}:There was a problem accepting the invite.`
|
|
@@ -2310,15 +2047,12 @@ GpioChipContainerModelImpl = __decorateClass$1([
|
|
|
2310
2047
|
], GpioChipContainerModelImpl);
|
|
2311
2048
|
const GpioChipContainer = GpioChipContainerModelImpl.Registration;
|
|
2312
2049
|
GpioChipContainer.addRelatedModel(GpioChip);
|
|
2313
|
-
const log$
|
|
2314
|
-
name: "studio-properties-service",
|
|
2315
|
-
group: "Services"
|
|
2316
|
-
});
|
|
2050
|
+
const log$8 = service$8.KosLog.createLogger({ group: service$8.LogGroup.service, name: "studio-properties-service" });
|
|
2317
2051
|
const SERVICE_PATH = "/api/kos/studio/properties";
|
|
2318
2052
|
const getStudioProperties = async (connectionId) => {
|
|
2319
|
-
log$
|
|
2053
|
+
log$8.debug("sending GET for studio-properties");
|
|
2320
2054
|
if (!connectionId) {
|
|
2321
|
-
log$
|
|
2055
|
+
log$8.error("connectionId is undefined");
|
|
2322
2056
|
throw new Error("connectionId is undefined");
|
|
2323
2057
|
}
|
|
2324
2058
|
return await service$8.api.get(
|
|
@@ -2407,7 +2141,10 @@ let StudioPropertiesModelImpl = class {
|
|
|
2407
2141
|
}, {});
|
|
2408
2142
|
this.data.setValues(update ?? DEFAULT_STUDIO_PROPERTIES);
|
|
2409
2143
|
service$8.KosLog.ifDebug(
|
|
2410
|
-
() => this.logger.debug(
|
|
2144
|
+
() => this.logger.debug(
|
|
2145
|
+
`studio-properties loaded: ${JSON.stringify(update)}`
|
|
2146
|
+
),
|
|
2147
|
+
this.logger
|
|
2411
2148
|
);
|
|
2412
2149
|
}
|
|
2413
2150
|
}
|
|
@@ -2480,7 +2217,7 @@ const MessageContainer = styled.div`
|
|
|
2480
2217
|
color: ${({ theme }) => theme === "light" ? "black" : "white"};
|
|
2481
2218
|
z-index: 10000;
|
|
2482
2219
|
`;
|
|
2483
|
-
const log$
|
|
2220
|
+
const log$7 = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "error-boundary" });
|
|
2484
2221
|
class ErrorBoundary extends React.Component {
|
|
2485
2222
|
constructor(props) {
|
|
2486
2223
|
super(props);
|
|
@@ -2497,7 +2234,7 @@ class ErrorBoundary extends React.Component {
|
|
|
2497
2234
|
}
|
|
2498
2235
|
componentDidCatch(error, errorInfo) {
|
|
2499
2236
|
const seam = this.props.name ? ` in ${this.props.name}` : "";
|
|
2500
|
-
log$
|
|
2237
|
+
log$7.error(
|
|
2501
2238
|
`Error boundary caught${seam}: ${error?.message ?? error}`,
|
|
2502
2239
|
error,
|
|
2503
2240
|
errorInfo.componentStack
|
|
@@ -2607,11 +2344,11 @@ const KosModelProvider = ({
|
|
|
2607
2344
|
);
|
|
2608
2345
|
return /* @__PURE__ */ jsxRuntime.jsx(KosModelContext.Provider, { value: { model, setModel: setKosModel }, children });
|
|
2609
2346
|
};
|
|
2610
|
-
const log$
|
|
2347
|
+
const log$6 = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "kos-model-hierarchy-context" });
|
|
2611
2348
|
const defaultNestedProps = {
|
|
2612
2349
|
models: [],
|
|
2613
2350
|
addModel: () => {
|
|
2614
|
-
log$
|
|
2351
|
+
log$6.debug("Default implementation being used. Do Nothing.");
|
|
2615
2352
|
}
|
|
2616
2353
|
};
|
|
2617
2354
|
const NestedModelContext = React.createContext(defaultNestedProps);
|
|
@@ -2620,7 +2357,7 @@ const KosModelCollectionProvider = ({ children }) => {
|
|
|
2620
2357
|
const addModel = React.useCallback(
|
|
2621
2358
|
(model) => {
|
|
2622
2359
|
if (!models.includes(model)) {
|
|
2623
|
-
log$
|
|
2360
|
+
log$6.debug("adding to hierarchy context", model.id);
|
|
2624
2361
|
setModels((prevModels) => [...prevModels, model]);
|
|
2625
2362
|
}
|
|
2626
2363
|
},
|
|
@@ -2652,7 +2389,7 @@ const useModelFromHierarchy = (type) => {
|
|
|
2652
2389
|
});
|
|
2653
2390
|
return context[0];
|
|
2654
2391
|
};
|
|
2655
|
-
const log$
|
|
2392
|
+
const log$5 = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "kos-model-loader" });
|
|
2656
2393
|
const DefaultLoader = () => /* @__PURE__ */ jsxRuntime.jsx("div", {});
|
|
2657
2394
|
const KosModelLoader = ({ fallback, children, ...modelProps }) => /* @__PURE__ */ jsxRuntime.jsx(KosModelProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(ErrorBoundary, { fallback, children: /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { children: /* @__PURE__ */ jsxRuntime.jsx(KosModelLoaderDisplay, { ...modelProps, children }) }) }) });
|
|
2658
2395
|
const KosModelLoaderDisplay = (props) => {
|
|
@@ -2671,7 +2408,7 @@ const KosModelLoaderDisplay = (props) => {
|
|
|
2671
2408
|
}
|
|
2672
2409
|
}, [hierarchyContext, props.model, setModel]);
|
|
2673
2410
|
if (props.error) {
|
|
2674
|
-
log$
|
|
2411
|
+
log$5.error(props.error);
|
|
2675
2412
|
throw new Error(props.error);
|
|
2676
2413
|
}
|
|
2677
2414
|
const loader = props.loading || /* @__PURE__ */ jsxRuntime.jsx(DefaultLoader, {});
|
|
@@ -2711,6 +2448,10 @@ const useKosCore = () => {
|
|
|
2711
2448
|
return context;
|
|
2712
2449
|
};
|
|
2713
2450
|
const KOS_RECOVERING_SESSION_KEY = "kos:recovering";
|
|
2451
|
+
const log$4 = service$8.KosLog.createLogger({
|
|
2452
|
+
group: service$8.LogGroup.ui,
|
|
2453
|
+
name: "reload-on-disconnect-policy"
|
|
2454
|
+
});
|
|
2714
2455
|
const DEFAULT_GRACE_MS = 3e3;
|
|
2715
2456
|
const defaultReloadFn = () => {
|
|
2716
2457
|
window.location.reload();
|
|
@@ -2744,12 +2485,12 @@ const ReloadOnDisconnectPolicy = ({
|
|
|
2744
2485
|
JSON.stringify(info)
|
|
2745
2486
|
);
|
|
2746
2487
|
} catch (err) {
|
|
2747
|
-
|
|
2488
|
+
log$4.warn(
|
|
2748
2489
|
"ReloadOnDisconnectPolicy: failed to write sessionStorage",
|
|
2749
2490
|
err
|
|
2750
2491
|
);
|
|
2751
2492
|
}
|
|
2752
|
-
|
|
2493
|
+
log$4.warn(
|
|
2753
2494
|
`ReloadOnDisconnectPolicy: scheduling reload in ${graceMs}ms (code=${info.code}, wasClean=${info.wasClean})`
|
|
2754
2495
|
);
|
|
2755
2496
|
pendingReloadRef.current = setTimeout(() => {
|
|
@@ -2757,7 +2498,7 @@ const ReloadOnDisconnectPolicy = ({
|
|
|
2757
2498
|
try {
|
|
2758
2499
|
onBeforeReload?.(info);
|
|
2759
2500
|
} catch (err) {
|
|
2760
|
-
|
|
2501
|
+
log$4.error("ReloadOnDisconnectPolicy: onBeforeReload threw", err);
|
|
2761
2502
|
}
|
|
2762
2503
|
reloadFn();
|
|
2763
2504
|
}, graceMs);
|
|
@@ -3212,6 +2953,10 @@ const TokenContext = React.createContext(token);
|
|
|
3212
2953
|
function TokenProvider({ children }) {
|
|
3213
2954
|
return /* @__PURE__ */ jsxRuntime.jsx(TokenContext.Provider, { value: token, children });
|
|
3214
2955
|
}
|
|
2956
|
+
const log$3 = service$8.KosLog.createLogger({
|
|
2957
|
+
group: service$8.LogGroup.ui,
|
|
2958
|
+
name: "kos-translations-provider"
|
|
2959
|
+
});
|
|
3215
2960
|
const TranslationContainerContext = React.createContext(void 0);
|
|
3216
2961
|
const getDefaultHost = () => {
|
|
3217
2962
|
const defaultHost = window.location.origin;
|
|
@@ -3245,7 +2990,7 @@ const KosTranslationProvider = ({
|
|
|
3245
2990
|
const descriptorsResults = await Promise.allSettled(descriptorPromises);
|
|
3246
2991
|
const descriptors = descriptorsResults.map((d) => {
|
|
3247
2992
|
if (d.status === "rejected") {
|
|
3248
|
-
|
|
2993
|
+
log$3.warn("Failed to load localization descriptor", d.reason);
|
|
3249
2994
|
return void 0;
|
|
3250
2995
|
}
|
|
3251
2996
|
return d.value;
|
|
@@ -3351,8 +3096,8 @@ function renderDecodedPreview({
|
|
|
3351
3096
|
ctx.clearRect(0, 0, width * pixelSize, height * pixelSize);
|
|
3352
3097
|
ctx.drawImage(tempCanvas, 0, 0, width * pixelSize, height * pixelSize);
|
|
3353
3098
|
}
|
|
3354
|
-
const log = service$8.KosLog.createLogger({ name: "canvas-streamer" });
|
|
3355
|
-
log.debug("main-view component loaded");
|
|
3099
|
+
const log$2 = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "canvas-streamer" });
|
|
3100
|
+
log$2.debug("main-view component loaded");
|
|
3356
3101
|
const PIXEL_SIZE = 10;
|
|
3357
3102
|
const CanvasStreamerBase = mobxReactLite.observer(
|
|
3358
3103
|
({
|
|
@@ -3579,7 +3324,7 @@ function withStorageDeviceContainer(WrappedComponent) {
|
|
|
3579
3324
|
return /* @__PURE__ */ jsxRuntime.jsx(KosModelLoader2, { ...status, children: /* @__PURE__ */ jsxRuntime.jsx(WrappedComponent, { ...props, storageDeviceContainer: model }) });
|
|
3580
3325
|
};
|
|
3581
3326
|
}
|
|
3582
|
-
const LOG = service$8.KosLog.createLogger({ name: "use-timer" });
|
|
3327
|
+
const LOG = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "use-timer" });
|
|
3583
3328
|
const useTimer = ({
|
|
3584
3329
|
timerName,
|
|
3585
3330
|
onTimerExpired,
|
|
@@ -3701,6 +3446,10 @@ const Trans = (props) => {
|
|
|
3701
3446
|
const element = substituteBlocks(translated, components || {});
|
|
3702
3447
|
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: props.className, children: element });
|
|
3703
3448
|
};
|
|
3449
|
+
const log$1 = service$8.KosLog.createLogger({
|
|
3450
|
+
group: service$8.LogGroup.ui,
|
|
3451
|
+
name: "use-translation"
|
|
3452
|
+
});
|
|
3704
3453
|
const cache = /* @__PURE__ */ new Map();
|
|
3705
3454
|
function fetchData(key, fetcher) {
|
|
3706
3455
|
if (cache.has(key)) {
|
|
@@ -3775,7 +3524,7 @@ const useKosTranslation = (namespace, baseOptions) => {
|
|
|
3775
3524
|
if (translationModel) {
|
|
3776
3525
|
return translationModel.resolveKey(expandedKey, options);
|
|
3777
3526
|
}
|
|
3778
|
-
|
|
3527
|
+
log$1.debug(
|
|
3779
3528
|
`Translation model ${namespace} not ready for key: ${expandedKey}`
|
|
3780
3529
|
);
|
|
3781
3530
|
return expandedKey;
|
|
@@ -4819,6 +4568,10 @@ const useKosTimeFormats = (timeFormatMap = DEFAULT_FORMAT_MAP) => {
|
|
|
4819
4568
|
};
|
|
4820
4569
|
};
|
|
4821
4570
|
const useLocalComputed = (callback, dependencies) => React.useMemo(() => service$8.kosComputed(callback), dependencies);
|
|
4571
|
+
const log = service$8.KosLog.createLogger({
|
|
4572
|
+
group: service$8.LogGroup.ui,
|
|
4573
|
+
name: "use-mutation-observer"
|
|
4574
|
+
});
|
|
4822
4575
|
const DEFAULT_OPTIONS = {
|
|
4823
4576
|
config: { attributes: true, childList: true, subtree: true }
|
|
4824
4577
|
};
|
|
@@ -4841,7 +4594,7 @@ function useMutationObserver(targetEl, cb, options = DEFAULT_OPTIONS) {
|
|
|
4841
4594
|
try {
|
|
4842
4595
|
observer.observe(targetEl, config);
|
|
4843
4596
|
} catch (e) {
|
|
4844
|
-
|
|
4597
|
+
log.error(e);
|
|
4845
4598
|
}
|
|
4846
4599
|
return () => {
|
|
4847
4600
|
if (observer) {
|
|
@@ -4861,10 +4614,7 @@ const DomIntersectionStrategy = {
|
|
|
4861
4614
|
return isOutside;
|
|
4862
4615
|
}
|
|
4863
4616
|
};
|
|
4864
|
-
const logger = service$8.KosLog.createLogger({
|
|
4865
|
-
name: "usePressGesture",
|
|
4866
|
-
group: "kos-hooks"
|
|
4867
|
-
});
|
|
4617
|
+
const logger = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "usePressGesture" });
|
|
4868
4618
|
function usePressGesture({
|
|
4869
4619
|
onPressed,
|
|
4870
4620
|
onRelease,
|
|
@@ -5123,6 +4873,7 @@ Object.defineProperty(exports, "BASE_URL", {
|
|
|
5123
4873
|
exports.BrowserKosRouter = service$8.BrowserKosRouter;
|
|
5124
4874
|
exports.BrowserRouter = service$8.BrowserRouter;
|
|
5125
4875
|
exports.CancellableServiceManager = service$8.CancellableServiceManager;
|
|
4876
|
+
exports.CancellationBatch = service$8.CancellationBatch;
|
|
5126
4877
|
exports.CanvasDispatcher = service$8.CanvasDispatcher;
|
|
5127
4878
|
exports.CanvasRenderer = service$8.CanvasRenderer;
|
|
5128
4879
|
exports.ChildModels = service$8.ChildModels;
|
|
@@ -5221,10 +4972,11 @@ exports.LOGIN_HOST = service$8.LOGIN_HOST;
|
|
|
5221
4972
|
exports.LOGIN_URL = service$8.LOGIN_URL;
|
|
5222
4973
|
exports.LogBlock = service$8.LogBlock;
|
|
5223
4974
|
exports.LogBlockContainer = service$8.LogBlockContainer;
|
|
5224
|
-
exports.
|
|
4975
|
+
exports.LogGroup = service$8.LogGroup;
|
|
5225
4976
|
exports.LogStream = service$8.LogStream;
|
|
5226
4977
|
exports.LogStreamContainer = service$8.LogStreamContainer;
|
|
5227
4978
|
exports.LoggerSetup = service$8.LoggerSetup;
|
|
4979
|
+
exports.MESSAGE_LOGGER_NAME = service$8.MESSAGE_LOGGER_NAME;
|
|
5228
4980
|
exports.MODEL_DELETION_DELAY = service$8.MODEL_DELETION_DELAY;
|
|
5229
4981
|
exports.MixinModels = service$8.MixinModels;
|
|
5230
4982
|
exports.ModelEffects = service$8.ModelEffects;
|
|
@@ -5308,7 +5060,9 @@ exports.convert = service$8.convert;
|
|
|
5308
5060
|
exports.convertWithUnits = service$8.convertWithUnits;
|
|
5309
5061
|
exports.createBaseMessage = service$8.createBaseMessage;
|
|
5310
5062
|
exports.createBroadcastMessageResponse = service$8.createBroadcastMessageResponse;
|
|
5063
|
+
exports.createCancellablePromise = service$8.createCancellablePromise;
|
|
5311
5064
|
exports.createCancellableService = service$8.createCancellableService;
|
|
5065
|
+
exports.createCancellationBatch = service$8.createCancellationBatch;
|
|
5312
5066
|
exports.createClient = service$8.createClient;
|
|
5313
5067
|
exports.createFosBaseMessage = service$8.createFosBaseMessage;
|
|
5314
5068
|
exports.createHeaders = service$8.createHeaders;
|
|
@@ -5342,7 +5096,6 @@ exports.getHttpRouteHandlers = service$8.getHttpRouteHandlers;
|
|
|
5342
5096
|
exports.getKosCompanionModel = service$8.getKosCompanionModel;
|
|
5343
5097
|
exports.getKosConnectionId = service$8.getKosConnectionId;
|
|
5344
5098
|
exports.getKosLocalizationDescriptor = service$8.getKosLocalizationDescriptor;
|
|
5345
|
-
exports.getKosMessageLogging = service$8.getKosMessageLogging;
|
|
5346
5099
|
exports.getKosModel = service$8.getKosModel;
|
|
5347
5100
|
exports.getKosModelActivationState = service$8.getKosModelActivationState;
|
|
5348
5101
|
exports.getKosModelSync = service$8.getKosModelSync;
|
|
@@ -5350,7 +5103,6 @@ exports.getKosModelType = service$8.getKosModelType;
|
|
|
5350
5103
|
exports.getKosSessionKey = service$8.getKosSessionKey;
|
|
5351
5104
|
exports.getLocalizationDescriptor = service$8.getLocalizationDescriptor;
|
|
5352
5105
|
exports.getLogLevel = service$8.getLogLevel;
|
|
5353
|
-
exports.getLogMessageToStudio = service$8.getLogMessageToStudio;
|
|
5354
5106
|
exports.getMessageBody = service$8.getMessageBody;
|
|
5355
5107
|
exports.getObservableCompanions = service$8.getObservableCompanions;
|
|
5356
5108
|
exports.getQueryParams = service$8.getQueryParams;
|
|
@@ -5402,6 +5154,7 @@ exports.kosStateGuard = service$8.kosStateGuard;
|
|
|
5402
5154
|
exports.kosStateMachine = service$8.kosStateMachine;
|
|
5403
5155
|
exports.kosTopicHandler = service$8.kosTopicHandler;
|
|
5404
5156
|
exports.kosWhen = service$8.kosWhen;
|
|
5157
|
+
exports.makeCancellable = service$8.makeCancellable;
|
|
5405
5158
|
exports.mapConfigBeanModelToDto = service$8.mapConfigBeanModelToDto;
|
|
5406
5159
|
exports.mapDataToModel = service$8.mapDataToModel;
|
|
5407
5160
|
exports.mapDtoToConfigBeanModel = service$8.mapDtoToConfigBeanModel;
|
|
@@ -5437,21 +5190,26 @@ exports.resolveKosProfiles = service$8.resolveKosProfiles;
|
|
|
5437
5190
|
exports.resolveListDeltas = service$8.resolveListDeltas;
|
|
5438
5191
|
exports.resolveServiceRequestParameters = service$8.resolveServiceRequestParameters;
|
|
5439
5192
|
exports.resolveServiceUrl = service$8.resolveServiceUrl;
|
|
5193
|
+
exports.retryWithExponentialBackoff = service$8.retryWithExponentialBackoff;
|
|
5440
5194
|
exports.sendAsyncIntent = service$8.sendAsyncIntent;
|
|
5441
5195
|
exports.sendBroadcastMessage = service$8.sendBroadcastMessage;
|
|
5442
5196
|
exports.sendIntent = service$8.sendIntent;
|
|
5443
5197
|
exports.sendKosHttpMessageResponse = service$8.sendKosHttpMessageResponse;
|
|
5444
5198
|
exports.sendKosMessage = service$8.sendKosMessage;
|
|
5445
5199
|
exports.sendKosMessageResponse = service$8.sendKosMessageResponse;
|
|
5200
|
+
exports.sendRequest = service$8.sendRequest;
|
|
5446
5201
|
exports.sendStudioMessage = service$8.sendStudioMessage;
|
|
5447
5202
|
exports.sendStudioMessageRequest = service$8.sendStudioMessageRequest;
|
|
5203
|
+
exports.syncPublish = service$8.syncPublish;
|
|
5448
5204
|
exports.troubleByTypeReducer = service$8.troubleByTypeReducer;
|
|
5449
5205
|
exports.troubleDataFactory = service$8.troubleDataFactory;
|
|
5450
5206
|
exports.unloadKosModel = service$8.unloadKosModel;
|
|
5451
5207
|
exports.uuid = service$8.uuid;
|
|
5452
5208
|
exports.waitForAppToStart = service$8.waitForAppToStart;
|
|
5453
5209
|
exports.waitForAppsToStart = service$8.waitForAppsToStart;
|
|
5210
|
+
exports.waitForRequest = service$8.waitForRequest;
|
|
5454
5211
|
exports.whenReady = service$8.whenReady;
|
|
5212
|
+
exports.withCancellation = service$8.withCancellation;
|
|
5455
5213
|
exports.wrapWithFutureLifecycle = service$8.wrapWithFutureLifecycle;
|
|
5456
5214
|
Object.defineProperty(exports, "makeAutoObservable", {
|
|
5457
5215
|
enumerable: true,
|
|
@@ -5466,7 +5224,6 @@ Object.defineProperty(exports, "kosComponent", {
|
|
|
5466
5224
|
get: () => mobxReactLite.observer
|
|
5467
5225
|
});
|
|
5468
5226
|
exports.AncestorPathVisitor = AncestorPathVisitor;
|
|
5469
|
-
exports.CancellationBatch = CancellationBatch;
|
|
5470
5227
|
exports.CanvasDispatcherServices = index$7;
|
|
5471
5228
|
exports.CanvasStreamer = CanvasStreamer;
|
|
5472
5229
|
exports.CanvasStreamerBase = CanvasStreamerBase;
|
|
@@ -5548,8 +5305,6 @@ exports.clearPath = clearPath;
|
|
|
5548
5305
|
exports.clearServiceResponse = clearServiceResponse;
|
|
5549
5306
|
exports.collectLocaleOptions = collectLocaleOptions;
|
|
5550
5307
|
exports.convertFileSizeRaw = convertFileSizeRaw;
|
|
5551
|
-
exports.createCancellablePromise = createCancellablePromise;
|
|
5552
|
-
exports.createCancellationBatch = createCancellationBatch;
|
|
5553
5308
|
exports.debounce = debounce;
|
|
5554
5309
|
exports.executeServiceRequest = executeServiceRequest;
|
|
5555
5310
|
exports.fetchModel = fetchModel;
|
|
@@ -5587,7 +5342,6 @@ exports.kosConfigProperty = kosConfigProperty;
|
|
|
5587
5342
|
exports.kosContainerIndexAware = kosContainerIndexAware;
|
|
5588
5343
|
exports.kosContext = kosContext;
|
|
5589
5344
|
exports.kosIndexAware = kosIndexAware;
|
|
5590
|
-
exports.kosLogger = kosLogger;
|
|
5591
5345
|
exports.kosMixin = kosMixin;
|
|
5592
5346
|
exports.kosMultipleFutureAware = kosMultipleFutureAware;
|
|
5593
5347
|
exports.kosReference = kosReference;
|
|
@@ -5597,15 +5351,12 @@ exports.kosSubscribe = kosSubscribe;
|
|
|
5597
5351
|
exports.kosTroubleAware = kosTroubleAware;
|
|
5598
5352
|
exports.kosViewModel = kosViewModel;
|
|
5599
5353
|
exports.login = login;
|
|
5600
|
-
exports.makeCancellable = makeCancellable;
|
|
5601
5354
|
exports.mergeLocalizationDescriptors = mergeLocalizationDescriptors;
|
|
5602
5355
|
exports.pairedClientHeartbeat = pairedClientHeartbeat;
|
|
5603
5356
|
exports.processMiddleware = processMiddleware;
|
|
5604
5357
|
exports.readModelHookEntry = readModelHookEntry;
|
|
5605
5358
|
exports.resetPassword = resetPassword;
|
|
5606
5359
|
exports.resolveVariable = resolveVariable;
|
|
5607
|
-
exports.retryWithExponentialBackoff = retryWithExponentialBackoff;
|
|
5608
|
-
exports.sendRequest = sendRequest;
|
|
5609
5360
|
exports.startPasswordReset = startPasswordReset;
|
|
5610
5361
|
exports.stringComponentInsert = stringComponentInsert;
|
|
5611
5362
|
exports.studioAcceptOrgInvitation = studioAcceptOrgInvitation;
|
|
@@ -5613,7 +5364,6 @@ exports.studioLogin = studioLogin;
|
|
|
5613
5364
|
exports.studioResetPassword = studioResetPassword;
|
|
5614
5365
|
exports.studioStartPasswordReset = studioStartPasswordReset;
|
|
5615
5366
|
exports.subscribeStore = subscribeStore;
|
|
5616
|
-
exports.syncPublish = syncPublish;
|
|
5617
5367
|
exports.updateCompanionModelRegistration = updateCompanionModelRegistration;
|
|
5618
5368
|
exports.updateModelRegistration = updateModelRegistration;
|
|
5619
5369
|
exports.updateRegion = updateRegion;
|
|
@@ -5678,8 +5428,6 @@ exports.useViewModel = useViewModel;
|
|
|
5678
5428
|
exports.useYears = useYears;
|
|
5679
5429
|
exports.useYearsOptions = useYearsOptions;
|
|
5680
5430
|
exports.variableToHex = variableToHex;
|
|
5681
|
-
exports.waitForRequest = waitForRequest;
|
|
5682
|
-
exports.withCancellation = withCancellation;
|
|
5683
5431
|
exports.withDevice = withDevice;
|
|
5684
5432
|
exports.withKosTime = withKosTime;
|
|
5685
5433
|
exports.withNetworkInterfaceContainer = withNetworkInterfaceContainer;
|