@kosdev-code/kos-ui-sdk 0.1.0-next.975 → 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-override-match.d.ts +24 -0
- package/core/core/log/log-override-match.d.ts.map +1 -0
- package/core/core/log/log.d.ts +13 -9
- 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/kos-service-request.d.ts +6 -1
- package/core/util/kos-service-request.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 +64 -313
- package/index.cjs.map +1 -1
- package/index.js +318 -567
- 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/gpio-chip/services/gpio-chip-services.d.ts +1 -1
- package/models/models/key-value/services/key-value-services.d.ts.map +1 -1
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts +43 -24
- package/models/models/kos-log-manager/kos-log-manager-model.d.ts.map +1 -1
- package/models/models/kos-log-manager/services/kos-log-manager-services.d.ts +20 -1
- package/models/models/kos-log-manager/services/kos-log-manager-services.d.ts.map +1 -1
- package/models/models/kos-log-manager/types/index.d.ts +71 -6
- 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/client.d.ts +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/service-accessor.d.ts +1 -1
- package/models/utils/service.d.ts +1 -1
- package/models/utils/services/kos/1.6.5/service.d.ts +1 -1
- package/models/utils/services/kos/1.8.1/service.d.ts +1 -1
- package/models/utils/services/kos/1.9.x/service.d.ts +1 -1
- package/models/utils/services/kos/daily/service.d.ts +1 -1
- package/models/utils/services/vfs/1.6.5/service.d.ts +1 -1
- package/models/utils/services/vfs/1.8.1/service.d.ts +1 -1
- package/models/utils/services/vfs/1.9.x/service.d.ts +1 -1
- package/models/utils/services/vfs/daily/service.d.ts +1 -1
- package/models/utils/timer-manager.d.ts.map +1 -1
- package/package.json +3 -3
- package/{software-info-registration-kSGacOka.js → software-info-registration-Bz_s3zOp.js} +1463 -1027
- package/software-info-registration-Bz_s3zOp.js.map +1 -0
- package/{software-info-registration-Le3V0a6v.cjs → software-info-registration-CagrRzH8.cjs} +1152 -716
- 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-Le3V0a6v.cjs.map +0 -1
- package/software-info-registration-kSGacOka.js.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;
|
|
@@ -1372,7 +1288,10 @@ const index$c = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
1372
1288
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1373
1289
|
const index$b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1374
1290
|
__proto__: null,
|
|
1375
|
-
|
|
1291
|
+
addLogOverride: service$8.addLogOverride,
|
|
1292
|
+
getLogGroups: service$8.getLogGroups,
|
|
1293
|
+
getLogOverrides: service$8.getLogOverrides,
|
|
1294
|
+
removeLogOverride: service$8.removeLogOverride
|
|
1376
1295
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1377
1296
|
const index$a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1378
1297
|
__proto__: null,
|
|
@@ -1396,185 +1315,6 @@ const index$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
1396
1315
|
getTroubles: service$8.getTroubles,
|
|
1397
1316
|
resolveTrouble: service$8.resolveTrouble
|
|
1398
1317
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1399
|
-
function createCancellablePromise(promiseOrOptions, abortController, cancelFuture, future) {
|
|
1400
|
-
const options = promiseOrOptions instanceof Promise ? { promise: promiseOrOptions, abortController, cancelFuture, future } : promiseOrOptions;
|
|
1401
|
-
const {
|
|
1402
|
-
promise,
|
|
1403
|
-
abortController: controller,
|
|
1404
|
-
cancelFuture: cancelFn,
|
|
1405
|
-
future: futureRef
|
|
1406
|
-
} = options;
|
|
1407
|
-
const cancellablePromise = promise;
|
|
1408
|
-
let currentProgress = 0;
|
|
1409
|
-
let currentStatus = "PENDING";
|
|
1410
|
-
let isRunning = true;
|
|
1411
|
-
const progressCallbacks = /* @__PURE__ */ new Set();
|
|
1412
|
-
let effectDisposer;
|
|
1413
|
-
if (futureRef && typeof futureRef === "object") {
|
|
1414
|
-
effectDisposer = mobx.autorun(() => {
|
|
1415
|
-
const newProgress = futureRef.progress || 0;
|
|
1416
|
-
const newStatus = futureRef.status || "PENDING";
|
|
1417
|
-
const newIsRunning = !futureRef.endState;
|
|
1418
|
-
if (newProgress !== currentProgress || newStatus !== currentStatus || newIsRunning !== isRunning) {
|
|
1419
|
-
currentProgress = newProgress;
|
|
1420
|
-
currentStatus = newStatus;
|
|
1421
|
-
isRunning = newIsRunning;
|
|
1422
|
-
progressCallbacks.forEach((callback) => {
|
|
1423
|
-
try {
|
|
1424
|
-
callback(currentProgress, currentStatus);
|
|
1425
|
-
} catch (error) {
|
|
1426
|
-
console.warn("Progress callback error:", error);
|
|
1427
|
-
}
|
|
1428
|
-
});
|
|
1429
|
-
}
|
|
1430
|
-
});
|
|
1431
|
-
}
|
|
1432
|
-
promise.finally(() => {
|
|
1433
|
-
isRunning = false;
|
|
1434
|
-
if (!controller?.signal.aborted) {
|
|
1435
|
-
currentStatus = "COMPLETED";
|
|
1436
|
-
progressCallbacks.forEach((callback) => {
|
|
1437
|
-
try {
|
|
1438
|
-
callback(currentProgress, currentStatus);
|
|
1439
|
-
} catch (error) {
|
|
1440
|
-
console.warn("Progress callback error:", error);
|
|
1441
|
-
}
|
|
1442
|
-
});
|
|
1443
|
-
}
|
|
1444
|
-
if (effectDisposer) {
|
|
1445
|
-
effectDisposer();
|
|
1446
|
-
}
|
|
1447
|
-
progressCallbacks.clear();
|
|
1448
|
-
});
|
|
1449
|
-
cancellablePromise.cancel = async () => {
|
|
1450
|
-
if (controller && !controller.signal.aborted) {
|
|
1451
|
-
controller.abort();
|
|
1452
|
-
}
|
|
1453
|
-
if (cancelFn) {
|
|
1454
|
-
await cancelFn();
|
|
1455
|
-
}
|
|
1456
|
-
isRunning = false;
|
|
1457
|
-
currentStatus = "CANCELLED";
|
|
1458
|
-
progressCallbacks.forEach((callback) => {
|
|
1459
|
-
try {
|
|
1460
|
-
callback(currentProgress, currentStatus);
|
|
1461
|
-
} catch (error) {
|
|
1462
|
-
console.warn("Progress callback error:", error);
|
|
1463
|
-
}
|
|
1464
|
-
});
|
|
1465
|
-
if (effectDisposer) {
|
|
1466
|
-
effectDisposer();
|
|
1467
|
-
}
|
|
1468
|
-
};
|
|
1469
|
-
cancellablePromise.getController = () => controller;
|
|
1470
|
-
cancellablePromise.isCancelled = () => controller?.signal.aborted ?? false;
|
|
1471
|
-
Object.defineProperty(cancellablePromise, "progress", {
|
|
1472
|
-
get: () => currentProgress,
|
|
1473
|
-
enumerable: true
|
|
1474
|
-
});
|
|
1475
|
-
Object.defineProperty(cancellablePromise, "status", {
|
|
1476
|
-
get: () => currentStatus,
|
|
1477
|
-
enumerable: true
|
|
1478
|
-
});
|
|
1479
|
-
Object.defineProperty(cancellablePromise, "isRunning", {
|
|
1480
|
-
get: () => isRunning,
|
|
1481
|
-
enumerable: true
|
|
1482
|
-
});
|
|
1483
|
-
cancellablePromise.onProgressUpdate = (callback) => {
|
|
1484
|
-
progressCallbacks.add(callback);
|
|
1485
|
-
callback(currentProgress, currentStatus);
|
|
1486
|
-
return () => progressCallbacks.delete(callback);
|
|
1487
|
-
};
|
|
1488
|
-
return cancellablePromise;
|
|
1489
|
-
}
|
|
1490
|
-
function makeCancellable(model, methodCall) {
|
|
1491
|
-
const initialFuture = model.futureHandler.future;
|
|
1492
|
-
const promise = methodCall(model);
|
|
1493
|
-
let newFuture = null;
|
|
1494
|
-
setTimeout(() => {
|
|
1495
|
-
newFuture = model.futureHandler.future;
|
|
1496
|
-
if (newFuture === initialFuture) {
|
|
1497
|
-
newFuture = null;
|
|
1498
|
-
}
|
|
1499
|
-
}, 0);
|
|
1500
|
-
return createCancellablePromise({
|
|
1501
|
-
promise,
|
|
1502
|
-
abortController: void 0,
|
|
1503
|
-
// No direct AbortController access
|
|
1504
|
-
cancelFuture: async () => {
|
|
1505
|
-
if (newFuture) {
|
|
1506
|
-
await newFuture.cancelFuture();
|
|
1507
|
-
} else {
|
|
1508
|
-
const currentFuture = model.futureHandler.future;
|
|
1509
|
-
if (currentFuture) {
|
|
1510
|
-
await currentFuture.cancelFuture();
|
|
1511
|
-
}
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
future: newFuture
|
|
1515
|
-
// Pass the future for progress tracking
|
|
1516
|
-
});
|
|
1517
|
-
}
|
|
1518
|
-
function withCancellation(model, methodName, ...args) {
|
|
1519
|
-
const method = model[methodName];
|
|
1520
|
-
if (typeof method !== "function") {
|
|
1521
|
-
throw new Error(`${String(methodName)} is not a method`);
|
|
1522
|
-
}
|
|
1523
|
-
const initialFuture = model.futureHandler.future;
|
|
1524
|
-
const promise = method.apply(model, args);
|
|
1525
|
-
let targetFuture = null;
|
|
1526
|
-
setTimeout(() => {
|
|
1527
|
-
const currentFuture = model.futureHandler.future;
|
|
1528
|
-
if (currentFuture && currentFuture !== initialFuture) {
|
|
1529
|
-
targetFuture = currentFuture;
|
|
1530
|
-
}
|
|
1531
|
-
}, 0);
|
|
1532
|
-
return createCancellablePromise({
|
|
1533
|
-
promise,
|
|
1534
|
-
abortController: void 0,
|
|
1535
|
-
cancelFuture: async () => {
|
|
1536
|
-
if (targetFuture) {
|
|
1537
|
-
await targetFuture.cancelFuture();
|
|
1538
|
-
} else {
|
|
1539
|
-
const fallbackFuture = model.futureHandler.future;
|
|
1540
|
-
if (fallbackFuture) {
|
|
1541
|
-
await fallbackFuture.cancelFuture();
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
},
|
|
1545
|
-
future: targetFuture
|
|
1546
|
-
// Pass the future for progress tracking
|
|
1547
|
-
});
|
|
1548
|
-
}
|
|
1549
|
-
class CancellationBatch {
|
|
1550
|
-
operations = [];
|
|
1551
|
-
add(model, methodCall) {
|
|
1552
|
-
const cancellable = makeCancellable(model, methodCall);
|
|
1553
|
-
this.operations.push(cancellable);
|
|
1554
|
-
return cancellable;
|
|
1555
|
-
}
|
|
1556
|
-
async cancelAll() {
|
|
1557
|
-
await Promise.all(
|
|
1558
|
-
this.operations.map(
|
|
1559
|
-
(op) => op.cancel().catch(() => {
|
|
1560
|
-
service$8.KosLog.warn("Cancellation failed for operation:", op);
|
|
1561
|
-
})
|
|
1562
|
-
)
|
|
1563
|
-
);
|
|
1564
|
-
}
|
|
1565
|
-
getAllControllers() {
|
|
1566
|
-
return this.operations.map((op) => op.getController());
|
|
1567
|
-
}
|
|
1568
|
-
getActiveCount() {
|
|
1569
|
-
return this.operations.filter((op) => !op.isCancelled()).length;
|
|
1570
|
-
}
|
|
1571
|
-
clear() {
|
|
1572
|
-
this.operations = [];
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
function createCancellationBatch() {
|
|
1576
|
-
return new CancellationBatch();
|
|
1577
|
-
}
|
|
1578
1318
|
const index$7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1579
1319
|
__proto__: null,
|
|
1580
1320
|
sendCanvasData: service$8.sendCanvasData
|
|
@@ -1774,7 +1514,7 @@ const updateRegion = async (region) => {
|
|
|
1774
1514
|
regionInfo.updateProperty(region);
|
|
1775
1515
|
};
|
|
1776
1516
|
async function getKosServiceApi() {
|
|
1777
|
-
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);
|
|
1778
1518
|
return API;
|
|
1779
1519
|
}
|
|
1780
1520
|
function kosServiceRequest$7(params) {
|
|
@@ -1902,7 +1642,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
1902
1642
|
function isTroubleAware(obj) {
|
|
1903
1643
|
return obj?.troubles !== void 0 && obj?.troubles instanceof Array && obj?.troublesByType !== void 0 && typeof obj?.troublesByType === "object";
|
|
1904
1644
|
}
|
|
1905
|
-
const log$
|
|
1645
|
+
const log$9 = service$8.KosLog.createLogger({ group: service$8.LogGroup.service, name: "services" });
|
|
1906
1646
|
const studioLogin = async (username, password) => login(username, password, `${service$8.BASE_URL}/api/server/login`);
|
|
1907
1647
|
const login = async (username, password, url = `${service$8.BASE_URL}/api/login`) => {
|
|
1908
1648
|
const response = await service$8.kosFetch(`${url}`, {
|
|
@@ -1936,7 +1676,7 @@ const startPasswordReset = async (userId, url = `${service$8.BASE_URL}/api/start
|
|
|
1936
1676
|
};
|
|
1937
1677
|
const studioResetPassword = async (token2, password) => resetPassword(token2, password, `${service$8.BASE_URL}/api/server/resetPassword`);
|
|
1938
1678
|
const resetPassword = async (token2, password, url = `${service$8.BASE_URL}/api/resetPassword`) => {
|
|
1939
|
-
log$
|
|
1679
|
+
log$9.debug(
|
|
1940
1680
|
`resetting password with token ${token2} and password ${password.replace(
|
|
1941
1681
|
/./g,
|
|
1942
1682
|
"*"
|
|
@@ -1950,9 +1690,9 @@ const resetPassword = async (token2, password, url = `${service$8.BASE_URL}/api/
|
|
|
1950
1690
|
password
|
|
1951
1691
|
})
|
|
1952
1692
|
});
|
|
1953
|
-
log$
|
|
1693
|
+
log$9.debug(`password reset returned status ${response.status}`);
|
|
1954
1694
|
if (!response.ok) {
|
|
1955
|
-
log$
|
|
1695
|
+
log$9.error(`password reset failed with message ${response.statusText}`);
|
|
1956
1696
|
const configResponse2 = await response.json();
|
|
1957
1697
|
throw Error(
|
|
1958
1698
|
`${configResponse2?.error}:There was a problem resetting the password.`
|
|
@@ -1968,7 +1708,7 @@ const studioAcceptOrgInvitation = async (token2, password, name) => acceptOrgInv
|
|
|
1968
1708
|
`${service$8.BASE_URL}/api/server/acceptInvite`
|
|
1969
1709
|
);
|
|
1970
1710
|
const acceptOrgInvitation = async (token2, password, name, url = `${service$8.BASE_URL}/api/server/acceptInvite`) => {
|
|
1971
|
-
log$
|
|
1711
|
+
log$9.debug(
|
|
1972
1712
|
`accepting invite with token ${token2} and password ${password.replace(
|
|
1973
1713
|
/./g,
|
|
1974
1714
|
"*"
|
|
@@ -1983,9 +1723,9 @@ const acceptOrgInvitation = async (token2, password, name, url = `${service$8.BA
|
|
|
1983
1723
|
name
|
|
1984
1724
|
})
|
|
1985
1725
|
});
|
|
1986
|
-
log$
|
|
1726
|
+
log$9.debug(`invitation accept returned status ${response.status}`);
|
|
1987
1727
|
if (!response.ok) {
|
|
1988
|
-
log$
|
|
1728
|
+
log$9.error(`invite failed with message ${response.statusText}`);
|
|
1989
1729
|
const configResponse2 = await response.json();
|
|
1990
1730
|
throw Error(
|
|
1991
1731
|
`${configResponse2?.error}:There was a problem accepting the invite.`
|
|
@@ -2307,15 +2047,12 @@ GpioChipContainerModelImpl = __decorateClass$1([
|
|
|
2307
2047
|
], GpioChipContainerModelImpl);
|
|
2308
2048
|
const GpioChipContainer = GpioChipContainerModelImpl.Registration;
|
|
2309
2049
|
GpioChipContainer.addRelatedModel(GpioChip);
|
|
2310
|
-
const log$
|
|
2311
|
-
name: "studio-properties-service",
|
|
2312
|
-
group: "Services"
|
|
2313
|
-
});
|
|
2050
|
+
const log$8 = service$8.KosLog.createLogger({ group: service$8.LogGroup.service, name: "studio-properties-service" });
|
|
2314
2051
|
const SERVICE_PATH = "/api/kos/studio/properties";
|
|
2315
2052
|
const getStudioProperties = async (connectionId) => {
|
|
2316
|
-
log$
|
|
2053
|
+
log$8.debug("sending GET for studio-properties");
|
|
2317
2054
|
if (!connectionId) {
|
|
2318
|
-
log$
|
|
2055
|
+
log$8.error("connectionId is undefined");
|
|
2319
2056
|
throw new Error("connectionId is undefined");
|
|
2320
2057
|
}
|
|
2321
2058
|
return await service$8.api.get(
|
|
@@ -2404,7 +2141,10 @@ let StudioPropertiesModelImpl = class {
|
|
|
2404
2141
|
}, {});
|
|
2405
2142
|
this.data.setValues(update ?? DEFAULT_STUDIO_PROPERTIES);
|
|
2406
2143
|
service$8.KosLog.ifDebug(
|
|
2407
|
-
() => this.logger.debug(
|
|
2144
|
+
() => this.logger.debug(
|
|
2145
|
+
`studio-properties loaded: ${JSON.stringify(update)}`
|
|
2146
|
+
),
|
|
2147
|
+
this.logger
|
|
2408
2148
|
);
|
|
2409
2149
|
}
|
|
2410
2150
|
}
|
|
@@ -2477,7 +2217,7 @@ const MessageContainer = styled.div`
|
|
|
2477
2217
|
color: ${({ theme }) => theme === "light" ? "black" : "white"};
|
|
2478
2218
|
z-index: 10000;
|
|
2479
2219
|
`;
|
|
2480
|
-
const log$
|
|
2220
|
+
const log$7 = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "error-boundary" });
|
|
2481
2221
|
class ErrorBoundary extends React.Component {
|
|
2482
2222
|
constructor(props) {
|
|
2483
2223
|
super(props);
|
|
@@ -2494,7 +2234,7 @@ class ErrorBoundary extends React.Component {
|
|
|
2494
2234
|
}
|
|
2495
2235
|
componentDidCatch(error, errorInfo) {
|
|
2496
2236
|
const seam = this.props.name ? ` in ${this.props.name}` : "";
|
|
2497
|
-
log$
|
|
2237
|
+
log$7.error(
|
|
2498
2238
|
`Error boundary caught${seam}: ${error?.message ?? error}`,
|
|
2499
2239
|
error,
|
|
2500
2240
|
errorInfo.componentStack
|
|
@@ -2604,11 +2344,11 @@ const KosModelProvider = ({
|
|
|
2604
2344
|
);
|
|
2605
2345
|
return /* @__PURE__ */ jsxRuntime.jsx(KosModelContext.Provider, { value: { model, setModel: setKosModel }, children });
|
|
2606
2346
|
};
|
|
2607
|
-
const log$
|
|
2347
|
+
const log$6 = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "kos-model-hierarchy-context" });
|
|
2608
2348
|
const defaultNestedProps = {
|
|
2609
2349
|
models: [],
|
|
2610
2350
|
addModel: () => {
|
|
2611
|
-
log$
|
|
2351
|
+
log$6.debug("Default implementation being used. Do Nothing.");
|
|
2612
2352
|
}
|
|
2613
2353
|
};
|
|
2614
2354
|
const NestedModelContext = React.createContext(defaultNestedProps);
|
|
@@ -2617,7 +2357,7 @@ const KosModelCollectionProvider = ({ children }) => {
|
|
|
2617
2357
|
const addModel = React.useCallback(
|
|
2618
2358
|
(model) => {
|
|
2619
2359
|
if (!models.includes(model)) {
|
|
2620
|
-
log$
|
|
2360
|
+
log$6.debug("adding to hierarchy context", model.id);
|
|
2621
2361
|
setModels((prevModels) => [...prevModels, model]);
|
|
2622
2362
|
}
|
|
2623
2363
|
},
|
|
@@ -2649,7 +2389,7 @@ const useModelFromHierarchy = (type) => {
|
|
|
2649
2389
|
});
|
|
2650
2390
|
return context[0];
|
|
2651
2391
|
};
|
|
2652
|
-
const log$
|
|
2392
|
+
const log$5 = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "kos-model-loader" });
|
|
2653
2393
|
const DefaultLoader = () => /* @__PURE__ */ jsxRuntime.jsx("div", {});
|
|
2654
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 }) }) }) });
|
|
2655
2395
|
const KosModelLoaderDisplay = (props) => {
|
|
@@ -2668,7 +2408,7 @@ const KosModelLoaderDisplay = (props) => {
|
|
|
2668
2408
|
}
|
|
2669
2409
|
}, [hierarchyContext, props.model, setModel]);
|
|
2670
2410
|
if (props.error) {
|
|
2671
|
-
log$
|
|
2411
|
+
log$5.error(props.error);
|
|
2672
2412
|
throw new Error(props.error);
|
|
2673
2413
|
}
|
|
2674
2414
|
const loader = props.loading || /* @__PURE__ */ jsxRuntime.jsx(DefaultLoader, {});
|
|
@@ -2708,6 +2448,10 @@ const useKosCore = () => {
|
|
|
2708
2448
|
return context;
|
|
2709
2449
|
};
|
|
2710
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
|
+
});
|
|
2711
2455
|
const DEFAULT_GRACE_MS = 3e3;
|
|
2712
2456
|
const defaultReloadFn = () => {
|
|
2713
2457
|
window.location.reload();
|
|
@@ -2741,12 +2485,12 @@ const ReloadOnDisconnectPolicy = ({
|
|
|
2741
2485
|
JSON.stringify(info)
|
|
2742
2486
|
);
|
|
2743
2487
|
} catch (err) {
|
|
2744
|
-
|
|
2488
|
+
log$4.warn(
|
|
2745
2489
|
"ReloadOnDisconnectPolicy: failed to write sessionStorage",
|
|
2746
2490
|
err
|
|
2747
2491
|
);
|
|
2748
2492
|
}
|
|
2749
|
-
|
|
2493
|
+
log$4.warn(
|
|
2750
2494
|
`ReloadOnDisconnectPolicy: scheduling reload in ${graceMs}ms (code=${info.code}, wasClean=${info.wasClean})`
|
|
2751
2495
|
);
|
|
2752
2496
|
pendingReloadRef.current = setTimeout(() => {
|
|
@@ -2754,7 +2498,7 @@ const ReloadOnDisconnectPolicy = ({
|
|
|
2754
2498
|
try {
|
|
2755
2499
|
onBeforeReload?.(info);
|
|
2756
2500
|
} catch (err) {
|
|
2757
|
-
|
|
2501
|
+
log$4.error("ReloadOnDisconnectPolicy: onBeforeReload threw", err);
|
|
2758
2502
|
}
|
|
2759
2503
|
reloadFn();
|
|
2760
2504
|
}, graceMs);
|
|
@@ -3209,6 +2953,10 @@ const TokenContext = React.createContext(token);
|
|
|
3209
2953
|
function TokenProvider({ children }) {
|
|
3210
2954
|
return /* @__PURE__ */ jsxRuntime.jsx(TokenContext.Provider, { value: token, children });
|
|
3211
2955
|
}
|
|
2956
|
+
const log$3 = service$8.KosLog.createLogger({
|
|
2957
|
+
group: service$8.LogGroup.ui,
|
|
2958
|
+
name: "kos-translations-provider"
|
|
2959
|
+
});
|
|
3212
2960
|
const TranslationContainerContext = React.createContext(void 0);
|
|
3213
2961
|
const getDefaultHost = () => {
|
|
3214
2962
|
const defaultHost = window.location.origin;
|
|
@@ -3242,7 +2990,7 @@ const KosTranslationProvider = ({
|
|
|
3242
2990
|
const descriptorsResults = await Promise.allSettled(descriptorPromises);
|
|
3243
2991
|
const descriptors = descriptorsResults.map((d) => {
|
|
3244
2992
|
if (d.status === "rejected") {
|
|
3245
|
-
|
|
2993
|
+
log$3.warn("Failed to load localization descriptor", d.reason);
|
|
3246
2994
|
return void 0;
|
|
3247
2995
|
}
|
|
3248
2996
|
return d.value;
|
|
@@ -3348,8 +3096,8 @@ function renderDecodedPreview({
|
|
|
3348
3096
|
ctx.clearRect(0, 0, width * pixelSize, height * pixelSize);
|
|
3349
3097
|
ctx.drawImage(tempCanvas, 0, 0, width * pixelSize, height * pixelSize);
|
|
3350
3098
|
}
|
|
3351
|
-
const log = service$8.KosLog.createLogger({ name: "canvas-streamer" });
|
|
3352
|
-
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");
|
|
3353
3101
|
const PIXEL_SIZE = 10;
|
|
3354
3102
|
const CanvasStreamerBase = mobxReactLite.observer(
|
|
3355
3103
|
({
|
|
@@ -3576,7 +3324,7 @@ function withStorageDeviceContainer(WrappedComponent) {
|
|
|
3576
3324
|
return /* @__PURE__ */ jsxRuntime.jsx(KosModelLoader2, { ...status, children: /* @__PURE__ */ jsxRuntime.jsx(WrappedComponent, { ...props, storageDeviceContainer: model }) });
|
|
3577
3325
|
};
|
|
3578
3326
|
}
|
|
3579
|
-
const LOG = service$8.KosLog.createLogger({ name: "use-timer" });
|
|
3327
|
+
const LOG = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "use-timer" });
|
|
3580
3328
|
const useTimer = ({
|
|
3581
3329
|
timerName,
|
|
3582
3330
|
onTimerExpired,
|
|
@@ -3698,6 +3446,10 @@ const Trans = (props) => {
|
|
|
3698
3446
|
const element = substituteBlocks(translated, components || {});
|
|
3699
3447
|
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: props.className, children: element });
|
|
3700
3448
|
};
|
|
3449
|
+
const log$1 = service$8.KosLog.createLogger({
|
|
3450
|
+
group: service$8.LogGroup.ui,
|
|
3451
|
+
name: "use-translation"
|
|
3452
|
+
});
|
|
3701
3453
|
const cache = /* @__PURE__ */ new Map();
|
|
3702
3454
|
function fetchData(key, fetcher) {
|
|
3703
3455
|
if (cache.has(key)) {
|
|
@@ -3772,7 +3524,7 @@ const useKosTranslation = (namespace, baseOptions) => {
|
|
|
3772
3524
|
if (translationModel) {
|
|
3773
3525
|
return translationModel.resolveKey(expandedKey, options);
|
|
3774
3526
|
}
|
|
3775
|
-
|
|
3527
|
+
log$1.debug(
|
|
3776
3528
|
`Translation model ${namespace} not ready for key: ${expandedKey}`
|
|
3777
3529
|
);
|
|
3778
3530
|
return expandedKey;
|
|
@@ -4816,6 +4568,10 @@ const useKosTimeFormats = (timeFormatMap = DEFAULT_FORMAT_MAP) => {
|
|
|
4816
4568
|
};
|
|
4817
4569
|
};
|
|
4818
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
|
+
});
|
|
4819
4575
|
const DEFAULT_OPTIONS = {
|
|
4820
4576
|
config: { attributes: true, childList: true, subtree: true }
|
|
4821
4577
|
};
|
|
@@ -4838,7 +4594,7 @@ function useMutationObserver(targetEl, cb, options = DEFAULT_OPTIONS) {
|
|
|
4838
4594
|
try {
|
|
4839
4595
|
observer.observe(targetEl, config);
|
|
4840
4596
|
} catch (e) {
|
|
4841
|
-
|
|
4597
|
+
log.error(e);
|
|
4842
4598
|
}
|
|
4843
4599
|
return () => {
|
|
4844
4600
|
if (observer) {
|
|
@@ -4858,10 +4614,7 @@ const DomIntersectionStrategy = {
|
|
|
4858
4614
|
return isOutside;
|
|
4859
4615
|
}
|
|
4860
4616
|
};
|
|
4861
|
-
const logger = service$8.KosLog.createLogger({
|
|
4862
|
-
name: "usePressGesture",
|
|
4863
|
-
group: "kos-hooks"
|
|
4864
|
-
});
|
|
4617
|
+
const logger = service$8.KosLog.createLogger({ group: service$8.LogGroup.ui, name: "usePressGesture" });
|
|
4865
4618
|
function usePressGesture({
|
|
4866
4619
|
onPressed,
|
|
4867
4620
|
onRelease,
|
|
@@ -5120,6 +4873,7 @@ Object.defineProperty(exports, "BASE_URL", {
|
|
|
5120
4873
|
exports.BrowserKosRouter = service$8.BrowserKosRouter;
|
|
5121
4874
|
exports.BrowserRouter = service$8.BrowserRouter;
|
|
5122
4875
|
exports.CancellableServiceManager = service$8.CancellableServiceManager;
|
|
4876
|
+
exports.CancellationBatch = service$8.CancellationBatch;
|
|
5123
4877
|
exports.CanvasDispatcher = service$8.CanvasDispatcher;
|
|
5124
4878
|
exports.CanvasRenderer = service$8.CanvasRenderer;
|
|
5125
4879
|
exports.ChildModels = service$8.ChildModels;
|
|
@@ -5218,10 +4972,11 @@ exports.LOGIN_HOST = service$8.LOGIN_HOST;
|
|
|
5218
4972
|
exports.LOGIN_URL = service$8.LOGIN_URL;
|
|
5219
4973
|
exports.LogBlock = service$8.LogBlock;
|
|
5220
4974
|
exports.LogBlockContainer = service$8.LogBlockContainer;
|
|
5221
|
-
exports.
|
|
4975
|
+
exports.LogGroup = service$8.LogGroup;
|
|
5222
4976
|
exports.LogStream = service$8.LogStream;
|
|
5223
4977
|
exports.LogStreamContainer = service$8.LogStreamContainer;
|
|
5224
4978
|
exports.LoggerSetup = service$8.LoggerSetup;
|
|
4979
|
+
exports.MESSAGE_LOGGER_NAME = service$8.MESSAGE_LOGGER_NAME;
|
|
5225
4980
|
exports.MODEL_DELETION_DELAY = service$8.MODEL_DELETION_DELAY;
|
|
5226
4981
|
exports.MixinModels = service$8.MixinModels;
|
|
5227
4982
|
exports.ModelEffects = service$8.ModelEffects;
|
|
@@ -5305,7 +5060,9 @@ exports.convert = service$8.convert;
|
|
|
5305
5060
|
exports.convertWithUnits = service$8.convertWithUnits;
|
|
5306
5061
|
exports.createBaseMessage = service$8.createBaseMessage;
|
|
5307
5062
|
exports.createBroadcastMessageResponse = service$8.createBroadcastMessageResponse;
|
|
5063
|
+
exports.createCancellablePromise = service$8.createCancellablePromise;
|
|
5308
5064
|
exports.createCancellableService = service$8.createCancellableService;
|
|
5065
|
+
exports.createCancellationBatch = service$8.createCancellationBatch;
|
|
5309
5066
|
exports.createClient = service$8.createClient;
|
|
5310
5067
|
exports.createFosBaseMessage = service$8.createFosBaseMessage;
|
|
5311
5068
|
exports.createHeaders = service$8.createHeaders;
|
|
@@ -5339,7 +5096,6 @@ exports.getHttpRouteHandlers = service$8.getHttpRouteHandlers;
|
|
|
5339
5096
|
exports.getKosCompanionModel = service$8.getKosCompanionModel;
|
|
5340
5097
|
exports.getKosConnectionId = service$8.getKosConnectionId;
|
|
5341
5098
|
exports.getKosLocalizationDescriptor = service$8.getKosLocalizationDescriptor;
|
|
5342
|
-
exports.getKosMessageLogging = service$8.getKosMessageLogging;
|
|
5343
5099
|
exports.getKosModel = service$8.getKosModel;
|
|
5344
5100
|
exports.getKosModelActivationState = service$8.getKosModelActivationState;
|
|
5345
5101
|
exports.getKosModelSync = service$8.getKosModelSync;
|
|
@@ -5347,7 +5103,6 @@ exports.getKosModelType = service$8.getKosModelType;
|
|
|
5347
5103
|
exports.getKosSessionKey = service$8.getKosSessionKey;
|
|
5348
5104
|
exports.getLocalizationDescriptor = service$8.getLocalizationDescriptor;
|
|
5349
5105
|
exports.getLogLevel = service$8.getLogLevel;
|
|
5350
|
-
exports.getLogMessageToStudio = service$8.getLogMessageToStudio;
|
|
5351
5106
|
exports.getMessageBody = service$8.getMessageBody;
|
|
5352
5107
|
exports.getObservableCompanions = service$8.getObservableCompanions;
|
|
5353
5108
|
exports.getQueryParams = service$8.getQueryParams;
|
|
@@ -5399,6 +5154,7 @@ exports.kosStateGuard = service$8.kosStateGuard;
|
|
|
5399
5154
|
exports.kosStateMachine = service$8.kosStateMachine;
|
|
5400
5155
|
exports.kosTopicHandler = service$8.kosTopicHandler;
|
|
5401
5156
|
exports.kosWhen = service$8.kosWhen;
|
|
5157
|
+
exports.makeCancellable = service$8.makeCancellable;
|
|
5402
5158
|
exports.mapConfigBeanModelToDto = service$8.mapConfigBeanModelToDto;
|
|
5403
5159
|
exports.mapDataToModel = service$8.mapDataToModel;
|
|
5404
5160
|
exports.mapDtoToConfigBeanModel = service$8.mapDtoToConfigBeanModel;
|
|
@@ -5434,21 +5190,26 @@ exports.resolveKosProfiles = service$8.resolveKosProfiles;
|
|
|
5434
5190
|
exports.resolveListDeltas = service$8.resolveListDeltas;
|
|
5435
5191
|
exports.resolveServiceRequestParameters = service$8.resolveServiceRequestParameters;
|
|
5436
5192
|
exports.resolveServiceUrl = service$8.resolveServiceUrl;
|
|
5193
|
+
exports.retryWithExponentialBackoff = service$8.retryWithExponentialBackoff;
|
|
5437
5194
|
exports.sendAsyncIntent = service$8.sendAsyncIntent;
|
|
5438
5195
|
exports.sendBroadcastMessage = service$8.sendBroadcastMessage;
|
|
5439
5196
|
exports.sendIntent = service$8.sendIntent;
|
|
5440
5197
|
exports.sendKosHttpMessageResponse = service$8.sendKosHttpMessageResponse;
|
|
5441
5198
|
exports.sendKosMessage = service$8.sendKosMessage;
|
|
5442
5199
|
exports.sendKosMessageResponse = service$8.sendKosMessageResponse;
|
|
5200
|
+
exports.sendRequest = service$8.sendRequest;
|
|
5443
5201
|
exports.sendStudioMessage = service$8.sendStudioMessage;
|
|
5444
5202
|
exports.sendStudioMessageRequest = service$8.sendStudioMessageRequest;
|
|
5203
|
+
exports.syncPublish = service$8.syncPublish;
|
|
5445
5204
|
exports.troubleByTypeReducer = service$8.troubleByTypeReducer;
|
|
5446
5205
|
exports.troubleDataFactory = service$8.troubleDataFactory;
|
|
5447
5206
|
exports.unloadKosModel = service$8.unloadKosModel;
|
|
5448
5207
|
exports.uuid = service$8.uuid;
|
|
5449
5208
|
exports.waitForAppToStart = service$8.waitForAppToStart;
|
|
5450
5209
|
exports.waitForAppsToStart = service$8.waitForAppsToStart;
|
|
5210
|
+
exports.waitForRequest = service$8.waitForRequest;
|
|
5451
5211
|
exports.whenReady = service$8.whenReady;
|
|
5212
|
+
exports.withCancellation = service$8.withCancellation;
|
|
5452
5213
|
exports.wrapWithFutureLifecycle = service$8.wrapWithFutureLifecycle;
|
|
5453
5214
|
Object.defineProperty(exports, "makeAutoObservable", {
|
|
5454
5215
|
enumerable: true,
|
|
@@ -5463,7 +5224,6 @@ Object.defineProperty(exports, "kosComponent", {
|
|
|
5463
5224
|
get: () => mobxReactLite.observer
|
|
5464
5225
|
});
|
|
5465
5226
|
exports.AncestorPathVisitor = AncestorPathVisitor;
|
|
5466
|
-
exports.CancellationBatch = CancellationBatch;
|
|
5467
5227
|
exports.CanvasDispatcherServices = index$7;
|
|
5468
5228
|
exports.CanvasStreamer = CanvasStreamer;
|
|
5469
5229
|
exports.CanvasStreamerBase = CanvasStreamerBase;
|
|
@@ -5545,8 +5305,6 @@ exports.clearPath = clearPath;
|
|
|
5545
5305
|
exports.clearServiceResponse = clearServiceResponse;
|
|
5546
5306
|
exports.collectLocaleOptions = collectLocaleOptions;
|
|
5547
5307
|
exports.convertFileSizeRaw = convertFileSizeRaw;
|
|
5548
|
-
exports.createCancellablePromise = createCancellablePromise;
|
|
5549
|
-
exports.createCancellationBatch = createCancellationBatch;
|
|
5550
5308
|
exports.debounce = debounce;
|
|
5551
5309
|
exports.executeServiceRequest = executeServiceRequest;
|
|
5552
5310
|
exports.fetchModel = fetchModel;
|
|
@@ -5584,7 +5342,6 @@ exports.kosConfigProperty = kosConfigProperty;
|
|
|
5584
5342
|
exports.kosContainerIndexAware = kosContainerIndexAware;
|
|
5585
5343
|
exports.kosContext = kosContext;
|
|
5586
5344
|
exports.kosIndexAware = kosIndexAware;
|
|
5587
|
-
exports.kosLogger = kosLogger;
|
|
5588
5345
|
exports.kosMixin = kosMixin;
|
|
5589
5346
|
exports.kosMultipleFutureAware = kosMultipleFutureAware;
|
|
5590
5347
|
exports.kosReference = kosReference;
|
|
@@ -5594,15 +5351,12 @@ exports.kosSubscribe = kosSubscribe;
|
|
|
5594
5351
|
exports.kosTroubleAware = kosTroubleAware;
|
|
5595
5352
|
exports.kosViewModel = kosViewModel;
|
|
5596
5353
|
exports.login = login;
|
|
5597
|
-
exports.makeCancellable = makeCancellable;
|
|
5598
5354
|
exports.mergeLocalizationDescriptors = mergeLocalizationDescriptors;
|
|
5599
5355
|
exports.pairedClientHeartbeat = pairedClientHeartbeat;
|
|
5600
5356
|
exports.processMiddleware = processMiddleware;
|
|
5601
5357
|
exports.readModelHookEntry = readModelHookEntry;
|
|
5602
5358
|
exports.resetPassword = resetPassword;
|
|
5603
5359
|
exports.resolveVariable = resolveVariable;
|
|
5604
|
-
exports.retryWithExponentialBackoff = retryWithExponentialBackoff;
|
|
5605
|
-
exports.sendRequest = sendRequest;
|
|
5606
5360
|
exports.startPasswordReset = startPasswordReset;
|
|
5607
5361
|
exports.stringComponentInsert = stringComponentInsert;
|
|
5608
5362
|
exports.studioAcceptOrgInvitation = studioAcceptOrgInvitation;
|
|
@@ -5610,7 +5364,6 @@ exports.studioLogin = studioLogin;
|
|
|
5610
5364
|
exports.studioResetPassword = studioResetPassword;
|
|
5611
5365
|
exports.studioStartPasswordReset = studioStartPasswordReset;
|
|
5612
5366
|
exports.subscribeStore = subscribeStore;
|
|
5613
|
-
exports.syncPublish = syncPublish;
|
|
5614
5367
|
exports.updateCompanionModelRegistration = updateCompanionModelRegistration;
|
|
5615
5368
|
exports.updateModelRegistration = updateModelRegistration;
|
|
5616
5369
|
exports.updateRegion = updateRegion;
|
|
@@ -5675,8 +5428,6 @@ exports.useViewModel = useViewModel;
|
|
|
5675
5428
|
exports.useYears = useYears;
|
|
5676
5429
|
exports.useYearsOptions = useYearsOptions;
|
|
5677
5430
|
exports.variableToHex = variableToHex;
|
|
5678
|
-
exports.waitForRequest = waitForRequest;
|
|
5679
|
-
exports.withCancellation = withCancellation;
|
|
5680
5431
|
exports.withDevice = withDevice;
|
|
5681
5432
|
exports.withKosTime = withKosTime;
|
|
5682
5433
|
exports.withNetworkInterfaceContainer = withNetworkInterfaceContainer;
|