@kosdev-code/kos-ui-sdk 2.0.32 → 2.0.33
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/services/app-startup-service.d.ts.map +1 -1
- package/index.cjs +10 -10
- package/index.cjs.map +1 -1
- package/index.js +701 -698
- package/index.js.map +1 -1
- package/models/utils/service.d.ts +5 -5
- package/models/utils/service.d.ts.map +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var wc = (e, t, s) => t in e ? bc(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var l = (e, t, s) => (wc(e, typeof t != "symbol" ? t + "" : t, s), s);
|
|
4
4
|
import O from "loglevel";
|
|
5
5
|
import { runInAction as H, observable as ee, when as Ht, makeAutoObservable as Me, action as Mo, ObservableMap as Yr, reaction as Gt, autorun as zt, makeObservable as _o, computed as Io, createAtom as vc, observe as Eo, isComputedProp as Mc, isObservable as _c } from "mobx";
|
|
6
|
-
import { makeAutoObservable as
|
|
6
|
+
import { makeAutoObservable as rv, makeObservable as nv } from "mobx";
|
|
7
7
|
import { createMachine as At, state as B, transition as T, invoke as be, action as L, interpret as Ct, immediate as Xe } from "robot3";
|
|
8
8
|
import { format as Ne, parseISO as Ic } from "date-fns";
|
|
9
9
|
import { jsx as v, jsxs as Pt, Fragment as Ec } from "@emotion/react/jsx-runtime";
|
|
@@ -12,9 +12,9 @@ import { createPortal as $o } from "react-dom";
|
|
|
12
12
|
import { keyframes as $c, css as Ze } from "@emotion/react";
|
|
13
13
|
import He, { createContext as Vt, useContext as Ue, useState as M, useCallback as Z, useMemo as U, Suspense as Tc, useEffect as $, useRef as Qs, useReducer as Oc } from "react";
|
|
14
14
|
import { observer as To } from "mobx-react-lite";
|
|
15
|
-
import { observer as
|
|
15
|
+
import { observer as iv } from "mobx-react-lite";
|
|
16
16
|
import { useGesture as Sc } from "@use-gesture/react";
|
|
17
|
-
const Wr = "method", Dc = "topic", Yt = "url", Xs = "request-id", Zr = "response-id", Oo = "status", Pe = "dst-addr", Ac = "src-addr", Se = "type", So = "ordered", Do = "tracker", Cc = "Content-Type", Pc = "Cache-Control", Rc = "requestId", Lc = process.env.KOS_LOGIN_URL || "http://localhost", xc = process.env.KOS_APP_PORT || "8080",
|
|
17
|
+
const Wr = "method", Dc = "topic", Yt = "url", Xs = "request-id", Zr = "response-id", Oo = "status", Pe = "dst-addr", Ac = "src-addr", Se = "type", So = "ordered", Do = "tracker", Cc = "Content-Type", Pc = "Cache-Control", Rc = "requestId", Lc = process.env.KOS_LOGIN_URL || "http://localhost", xc = process.env.KOS_APP_PORT || "8080", py = `${Lc}:${xc}`, Dr = "{MODEL_ID}";
|
|
18
18
|
var er = /* @__PURE__ */ ((e) => (e.SEND = "/ws/log/msg/send", e.RECEIVED = "/ws/log/msg/receive", e))(er || {}), Fc = /* @__PURE__ */ ((e) => (e.MSG_RECEIVE = "/mock/msg/receive", e))(Fc || {});
|
|
19
19
|
const Ao = "/kos/model/ready/";
|
|
20
20
|
O.info("Initializing event bus");
|
|
@@ -79,7 +79,7 @@ function Qr(e, t) {
|
|
|
79
79
|
}, t));
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
-
const
|
|
82
|
+
const my = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
83
83
|
__proto__: null,
|
|
84
84
|
hasEventSubscriptions: Jr,
|
|
85
85
|
once: Co,
|
|
@@ -251,7 +251,7 @@ const Uc = {
|
|
|
251
251
|
stateMachine: jo,
|
|
252
252
|
request: Bo,
|
|
253
253
|
eventIterator: Ko
|
|
254
|
-
},
|
|
254
|
+
}, yy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
255
255
|
__proto__: null,
|
|
256
256
|
EventBusFunctional: Uc,
|
|
257
257
|
buffer: No,
|
|
@@ -436,7 +436,7 @@ const jc = {
|
|
|
436
436
|
waitForAllWithState: en,
|
|
437
437
|
createResilientEventHandler: zo,
|
|
438
438
|
createConnectionStateManager: Vo
|
|
439
|
-
},
|
|
439
|
+
}, by = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
440
440
|
__proto__: null,
|
|
441
441
|
EventBusState: jc,
|
|
442
442
|
createConnectionStateManager: Vo,
|
|
@@ -445,7 +445,7 @@ const jc = {
|
|
|
445
445
|
subscribeWithInitialState: Ho,
|
|
446
446
|
waitForAllWithState: en,
|
|
447
447
|
waitForOrGetState: rr
|
|
448
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
448
|
+
}, Symbol.toStringTag, { value: "Module" })), wy = (e, t = 0) => {
|
|
449
449
|
if (!+e)
|
|
450
450
|
return {
|
|
451
451
|
value: 0,
|
|
@@ -486,7 +486,7 @@ function qt() {
|
|
|
486
486
|
return (e == "x" ? t : t & 3 | 8).toString(16);
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function vy(e, t) {
|
|
490
490
|
t.forEach((s) => {
|
|
491
491
|
Object.getOwnPropertyNames(s.prototype).forEach((r) => {
|
|
492
492
|
const n = Object.getOwnPropertyDescriptor(
|
|
@@ -501,14 +501,14 @@ function wy(e, t) {
|
|
|
501
501
|
});
|
|
502
502
|
});
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function My(e, t) {
|
|
505
505
|
const s = e ?? [], r = t ?? [];
|
|
506
506
|
return s.length !== r.length ? !1 : s.every((n, o) => n === r[o]);
|
|
507
507
|
}
|
|
508
508
|
const tn = (e, t) => {
|
|
509
509
|
const s = e.map((o) => o.id);
|
|
510
510
|
return t.map((o) => o.id).filter((o) => !s.includes(o));
|
|
511
|
-
},
|
|
511
|
+
}, _y = ({
|
|
512
512
|
container: e,
|
|
513
513
|
onAddItem: t,
|
|
514
514
|
onRemoveItem: s,
|
|
@@ -518,7 +518,7 @@ const tn = (e, t) => {
|
|
|
518
518
|
e.removeAll(a);
|
|
519
519
|
const c = o.map(t).filter(Boolean);
|
|
520
520
|
e.addAll(c);
|
|
521
|
-
},
|
|
521
|
+
}, Iy = ({
|
|
522
522
|
container: e,
|
|
523
523
|
onAddItem: t,
|
|
524
524
|
onRemoveItem: s,
|
|
@@ -526,7 +526,7 @@ const tn = (e, t) => {
|
|
|
526
526
|
}) => (n) => {
|
|
527
527
|
const o = n.map(r);
|
|
528
528
|
tn(o, e.models).forEach(s), o.forEach(t);
|
|
529
|
-
},
|
|
529
|
+
}, Ey = ({
|
|
530
530
|
items: e,
|
|
531
531
|
onAddItem: t,
|
|
532
532
|
onRemoveItem: s,
|
|
@@ -534,7 +534,7 @@ const tn = (e, t) => {
|
|
|
534
534
|
}) => (n) => {
|
|
535
535
|
const o = n.map(r);
|
|
536
536
|
tn(o, e).forEach(s), o.forEach(t);
|
|
537
|
-
},
|
|
537
|
+
}, $y = (e, t = "parent-") => {
|
|
538
538
|
let s = e;
|
|
539
539
|
return s.startsWith(t) && (s = s.replace(t, "")), s;
|
|
540
540
|
}, Dn = new Intl.RelativeTimeFormat(void 0, {
|
|
@@ -621,7 +621,7 @@ const qo = (e) => e % 4 === 0 && e % 100 !== 0 || e % 400 === 0, Wo = (e, t) =>
|
|
|
621
621
|
...r && Jo[r]
|
|
622
622
|
};
|
|
623
623
|
return new Intl.DateTimeFormat(s, n).format(e);
|
|
624
|
-
},
|
|
624
|
+
}, Ty = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
625
625
|
__proto__: null,
|
|
626
626
|
addDaysToDate: Hc,
|
|
627
627
|
addMonthsToDate: Kc,
|
|
@@ -667,7 +667,7 @@ class qc {
|
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
window.KosFeatureFlags = window.KosFeatureFlags ?? new qc();
|
|
670
|
-
const
|
|
670
|
+
const Oy = window.KosFeatureFlags, pe = (e = null) => (e || window.location.search.replace("?", "")).split("&").map((t) => {
|
|
671
671
|
const [s, r] = t.split("=");
|
|
672
672
|
return [s, decodeURIComponent(r || "")];
|
|
673
673
|
}).reduce((t, [s, r]) => (t[s] = r, t), {}), Wc = (e, t, s) => {
|
|
@@ -682,13 +682,13 @@ const Ty = window.KosFeatureFlags, pe = (e = null) => (e || window.location.sear
|
|
|
682
682
|
if (!s)
|
|
683
683
|
throw Error("Invalid HSL string");
|
|
684
684
|
return Wc(parseInt(s[1]), parseInt(s[2]), parseInt(s[3]));
|
|
685
|
-
}, Jc = (e, t) => getComputedStyle(e).getPropertyValue(t),
|
|
685
|
+
}, Jc = (e, t) => getComputedStyle(e).getPropertyValue(t), Sy = (e, t) => Zc(Jc(e, t)), Qc = "studio.tools.preview", Dy = "studio.relax.store.validation", Xc = "studio.log.debug", el = "studio.log.info", tl = {
|
|
686
686
|
profiles: [Qc]
|
|
687
687
|
};
|
|
688
688
|
var vo;
|
|
689
689
|
const sl = ((vo = globalThis.getKosConfig) == null ? void 0 : vo.call(globalThis)) || JSON.stringify(tl), Qo = JSON.parse(sl);
|
|
690
690
|
globalThis.kosConfig = Qo;
|
|
691
|
-
const Xo = Qo, rl = () => Xo.profiles || [], Cn = (e) => rl().includes(e),
|
|
691
|
+
const Xo = Qo, rl = () => Xo.profiles || [], Cn = (e) => rl().includes(e), Ay = () => Xo.logging || !1, nl = (e, t) => {
|
|
692
692
|
const s = { ...e };
|
|
693
693
|
return s.id && delete s.id, s;
|
|
694
694
|
}, Pn = (e, t, s = nl) => {
|
|
@@ -914,7 +914,7 @@ function yl(e) {
|
|
|
914
914
|
return `${Ao}${e}`;
|
|
915
915
|
}
|
|
916
916
|
var V = /* @__PURE__ */ ((e) => (e.INIT = "init", e.LOAD = "load", e.READY = "ready", e.ACTIVATE = "activate", e.ONLINE = "online", e))(V || {});
|
|
917
|
-
const
|
|
917
|
+
const Cy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
918
918
|
__proto__: null,
|
|
919
919
|
DependencyLifecycle: V
|
|
920
920
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -936,7 +936,7 @@ function xn(e) {
|
|
|
936
936
|
}
|
|
937
937
|
const te = Symbol("SubscriptionHandlers"), N = Symbol("DependencyModels"), ys = Symbol("FutureService"), bs = Symbol("ChildModels"), ws = Symbol("ParentModel"), vs = Symbol("LogConfig"), yr = Symbol("ReferenceConfig"), bl = Symbol("KosModelSymbol"), et = Symbol("ModelEffects"), _e = (e, t) => {
|
|
938
938
|
e[bs] = e[bs] || {}, e[bs][t] = !0;
|
|
939
|
-
}, dt = (e) => `{PROP_${String(e)}}`,
|
|
939
|
+
}, dt = (e) => `{PROP_${String(e)}}`, Py = (e) => `{PROP_${String(e)}}`, wl = dt("kosParentId"), rn = (e) => (t) => {
|
|
940
940
|
t[ws] = t[ws] || {};
|
|
941
941
|
const s = (e == null ? void 0 : e.parentId) || wl;
|
|
942
942
|
t[ws] = { parentId: s };
|
|
@@ -1048,17 +1048,17 @@ function A(e) {
|
|
|
1048
1048
|
}), new Proxy(s, $l);
|
|
1049
1049
|
};
|
|
1050
1050
|
}
|
|
1051
|
-
const
|
|
1051
|
+
const Ry = ({ modelType: e }) => (t) => {
|
|
1052
1052
|
rn()(t), A(e)(t);
|
|
1053
1053
|
};
|
|
1054
|
-
function
|
|
1054
|
+
function Ly(e, t, s) {
|
|
1055
1055
|
const r = s.value;
|
|
1056
1056
|
s.value = function(...n) {
|
|
1057
1057
|
const o = K.getContext(this.id);
|
|
1058
1058
|
return n.push(o), r.apply(this, n);
|
|
1059
1059
|
};
|
|
1060
1060
|
}
|
|
1061
|
-
const
|
|
1061
|
+
const xy = ({ group: e } = { group: "" }) => (t) => {
|
|
1062
1062
|
t[vs] = t[vs] || {}, t[vs] = { group: e };
|
|
1063
1063
|
};
|
|
1064
1064
|
function Tl(e) {
|
|
@@ -1071,7 +1071,7 @@ function Tl(e) {
|
|
|
1071
1071
|
};
|
|
1072
1072
|
};
|
|
1073
1073
|
}
|
|
1074
|
-
const
|
|
1074
|
+
const Fy = (e) => (t, s) => {
|
|
1075
1075
|
t[yr] = t[yr] || {}, t[yr][s] = e;
|
|
1076
1076
|
}, ut = ({
|
|
1077
1077
|
/** The type of the model to be injected. */
|
|
@@ -1086,7 +1086,7 @@ const xy = (e) => (t, s) => {
|
|
|
1086
1086
|
options: s,
|
|
1087
1087
|
lifecycle: r || V.INIT
|
|
1088
1088
|
};
|
|
1089
|
-
},
|
|
1089
|
+
}, ky = ({
|
|
1090
1090
|
topic: e,
|
|
1091
1091
|
handler: t,
|
|
1092
1092
|
websocket: s = !1,
|
|
@@ -1215,7 +1215,7 @@ const ii = (e, t, s) => {
|
|
|
1215
1215
|
}), cancel: () => {
|
|
1216
1216
|
r && clearTimeout(r);
|
|
1217
1217
|
} };
|
|
1218
|
-
}, Rl = (e) => e.fsm.transitionTo(C.GO_ACTIVE, m.ACTIVE), Ll = (e) => e.whenReady(), xl = (e) => e.fsm.transitionTo(C.LOAD, m.LOADED),
|
|
1218
|
+
}, Rl = (e) => e.fsm.transitionTo(C.GO_ACTIVE, m.ACTIVE), Ll = (e) => e.whenReady(), xl = (e) => e.fsm.transitionTo(C.LOAD, m.LOADED), Ny = (e) => e.fsm.transitionTo(C.UNLOAD, m.UNLOADED), Fl = (e) => e.fsm.transitionTo(C.INITIALIZE, m.INITIALIZED);
|
|
1219
1219
|
var ai = /* @__PURE__ */ ((e) => (e.ACTIVE = "active", e.READY = "ready", e.LOAD = "load", e.UNLOAD = "unload", e.INIT = "init", e))(ai || {});
|
|
1220
1220
|
const br = {
|
|
1221
1221
|
active: Rl,
|
|
@@ -1330,7 +1330,7 @@ const br = {
|
|
|
1330
1330
|
r.length && (g.error(
|
|
1331
1331
|
`There were ${r.length} failed dependent models on ${t}`
|
|
1332
1332
|
), g.error(r));
|
|
1333
|
-
},
|
|
1333
|
+
}, Uy = (e) => typeof e.toJSON == "function", Ms = (e) => e[N] !== void 0, ci = (e) => e.revision !== void 0 && e.index !== void 0, Bl = (e) => {
|
|
1334
1334
|
if (e) {
|
|
1335
1335
|
if (Ms(e))
|
|
1336
1336
|
return e;
|
|
@@ -2013,7 +2013,7 @@ const ad = ({
|
|
|
2013
2013
|
`;
|
|
2014
2014
|
}), n += `
|
|
2015
2015
|
`, n;
|
|
2016
|
-
},
|
|
2016
|
+
}, jy = (e, t) => {
|
|
2017
2017
|
const s = e, r = Ge(
|
|
2018
2018
|
cd(t),
|
|
2019
2019
|
typeof s == "string" ? s : JSON.stringify(s)
|
|
@@ -2034,13 +2034,13 @@ const ad = ({
|
|
|
2034
2034
|
`, n += `${Se}:kos.studio.response
|
|
2035
2035
|
`, n += `
|
|
2036
2036
|
`, n;
|
|
2037
|
-
},
|
|
2037
|
+
}, By = (e, t) => {
|
|
2038
2038
|
const s = e, r = Ge(
|
|
2039
2039
|
ad(t),
|
|
2040
2040
|
JSON.stringify(s)
|
|
2041
2041
|
), n = _.getInstance().transport.socket;
|
|
2042
2042
|
n ? n.socket.send(r) : g.error("socket transport is not initialized");
|
|
2043
|
-
},
|
|
2043
|
+
}, Ky = (e, t) => {
|
|
2044
2044
|
const s = t.responseId ? { status: t.status, data: e } : e, r = Ge(
|
|
2045
2045
|
ld(t),
|
|
2046
2046
|
JSON.stringify(s)
|
|
@@ -2084,7 +2084,7 @@ const ad = ({
|
|
|
2084
2084
|
`, n += `${Se}:${r ?? "kos.message.request"}
|
|
2085
2085
|
`, n += `
|
|
2086
2086
|
`, n;
|
|
2087
|
-
},
|
|
2087
|
+
}, Hy = ({
|
|
2088
2088
|
msg: e,
|
|
2089
2089
|
options: t
|
|
2090
2090
|
}) => {
|
|
@@ -3332,13 +3332,13 @@ const Ld = async ({
|
|
|
3332
3332
|
e,
|
|
3333
3333
|
s,
|
|
3334
3334
|
t
|
|
3335
|
-
),
|
|
3335
|
+
), zy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3336
3336
|
__proto__: null,
|
|
3337
3337
|
executeDataMapperExtension: xd,
|
|
3338
3338
|
executeLoaderExtension: Ld,
|
|
3339
3339
|
executePropertyMapperExtension: Fd
|
|
3340
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3341
|
-
class
|
|
3340
|
+
}, Symbol.toStringTag, { value: "Module" })), Vy = "Extensions";
|
|
3341
|
+
class Yy {
|
|
3342
3342
|
constructor() {
|
|
3343
3343
|
l(this, "extensions");
|
|
3344
3344
|
this.extensions = {};
|
|
@@ -3495,7 +3495,7 @@ const kd = (e) => {
|
|
|
3495
3495
|
return e;
|
|
3496
3496
|
}, nt = async (e) => {
|
|
3497
3497
|
await _.getInstance().whenReady(), await _.getInstance().modelManager.initiateDestroyModel(e);
|
|
3498
|
-
},
|
|
3498
|
+
}, qy = async (e) => {
|
|
3499
3499
|
if (await _.getInstance().whenReady(), !e.id)
|
|
3500
3500
|
throw new Error("Model ID is required");
|
|
3501
3501
|
const t = _.getInstance().modelManager.getModelById(e.id);
|
|
@@ -3506,7 +3506,7 @@ const kd = (e) => {
|
|
|
3506
3506
|
), await de(e), g.debug(
|
|
3507
3507
|
`reload model complete for model ${e.id}, model ready: ${Ar(e)} - ${Date.now()} `
|
|
3508
3508
|
);
|
|
3509
|
-
},
|
|
3509
|
+
}, Wy = async (e) => {
|
|
3510
3510
|
if (await _.getInstance().whenReady(), !e)
|
|
3511
3511
|
throw new Error("Model ID is required");
|
|
3512
3512
|
const t = _.getInstance().modelManager.getModelById(e);
|
|
@@ -3527,7 +3527,7 @@ const kd = (e) => {
|
|
|
3527
3527
|
return _.getInstance().modelManager.getModelsByType(e).filter(
|
|
3528
3528
|
(n) => Object.keys(t).every((o) => n[o] === t[o])
|
|
3529
3529
|
);
|
|
3530
|
-
},
|
|
3530
|
+
}, Zy = (e, t) => jd(e, t)[0], Jy = (e, t) => {
|
|
3531
3531
|
if (!e.id)
|
|
3532
3532
|
throw new Error("Model ID is required");
|
|
3533
3533
|
const s = _.getInstance().modelManager.getModelById(e.id);
|
|
@@ -3535,7 +3535,7 @@ const kd = (e) => {
|
|
|
3535
3535
|
throw new Error("Model not found");
|
|
3536
3536
|
const r = s.companionModels.get(t);
|
|
3537
3537
|
return r == null ? void 0 : r.modelData;
|
|
3538
|
-
},
|
|
3538
|
+
}, Qy = (e) => {
|
|
3539
3539
|
if (!e.id)
|
|
3540
3540
|
throw new Error("Model ID is required");
|
|
3541
3541
|
const t = _.getInstance().modelManager.getModelById(e.id);
|
|
@@ -3544,7 +3544,7 @@ const kd = (e) => {
|
|
|
3544
3544
|
return Array.from(t.companionModels.all()).map(
|
|
3545
3545
|
(r) => r.modelData
|
|
3546
3546
|
);
|
|
3547
|
-
},
|
|
3547
|
+
}, Xy = (e) => {
|
|
3548
3548
|
if (!e)
|
|
3549
3549
|
throw new Error("Model ID is required");
|
|
3550
3550
|
const t = _.getInstance().modelManager.getModelById(e);
|
|
@@ -3652,7 +3652,7 @@ const Gn = window.KosRegistry.coreModels, wr = window.KosRegistry.preloadModels,
|
|
|
3652
3652
|
},
|
|
3653
3653
|
getAll: () => Array.from(vr.entries())
|
|
3654
3654
|
}
|
|
3655
|
-
}, Kd = D.model.registerLegacyModel, Hd = D.model.register,
|
|
3655
|
+
}, Kd = D.model.registerLegacyModel, Hd = D.model.register, eb = D.companion.register, tb = D.model.preloadModel, li = (e) => typeof e.updateModel == "function", Mr = (e) => e.registration !== void 0 && typeof e.registration == "function";
|
|
3656
3656
|
class di {
|
|
3657
3657
|
constructor(t) {
|
|
3658
3658
|
l(this, "singleton");
|
|
@@ -4291,7 +4291,7 @@ const au = g.createLogger({
|
|
|
4291
4291
|
name: "kos-model-visitor",
|
|
4292
4292
|
group: "kos-ui-core"
|
|
4293
4293
|
});
|
|
4294
|
-
class
|
|
4294
|
+
class sb {
|
|
4295
4295
|
/**
|
|
4296
4296
|
* Initializes a new instance of the KosModelVisitor class.
|
|
4297
4297
|
*/
|
|
@@ -4376,7 +4376,7 @@ class uu {
|
|
|
4376
4376
|
await this.middlewares[s](t, r);
|
|
4377
4377
|
}
|
|
4378
4378
|
}
|
|
4379
|
-
const
|
|
4379
|
+
const rb = async (e, t) => {
|
|
4380
4380
|
const s = new uu();
|
|
4381
4381
|
t.forEach((n) => s.use(n));
|
|
4382
4382
|
const r = { data: e, result: {} };
|
|
@@ -4392,9 +4392,9 @@ const sb = async (e, t) => {
|
|
|
4392
4392
|
const r = _.getInstance().modelManager.createModelInstance(e, t, s);
|
|
4393
4393
|
return await r.model.whenInitialized(), r.data;
|
|
4394
4394
|
}
|
|
4395
|
-
}),
|
|
4395
|
+
}), nb = (e) => {
|
|
4396
4396
|
_.getInstance().modelManager.registerModel(e);
|
|
4397
|
-
},
|
|
4397
|
+
}, ob = (e, t) => {
|
|
4398
4398
|
_.getInstance().modelManager.registerCompanionModel(
|
|
4399
4399
|
e,
|
|
4400
4400
|
t
|
|
@@ -4462,7 +4462,7 @@ function fu(e, t) {
|
|
|
4462
4462
|
const je = (e) => {
|
|
4463
4463
|
const t = fu(hi, e);
|
|
4464
4464
|
return new t(e);
|
|
4465
|
-
}, Vn = "/kos/ui/internal/heartbeat/",
|
|
4465
|
+
}, Vn = "/kos/ui/internal/heartbeat/", ib = ({
|
|
4466
4466
|
relationshipId: e,
|
|
4467
4467
|
destinationAddress: t,
|
|
4468
4468
|
onAbort: s,
|
|
@@ -4498,7 +4498,7 @@ const je = (e) => {
|
|
|
4498
4498
|
baseDelayMs: 100,
|
|
4499
4499
|
backoffFactor: 1.5
|
|
4500
4500
|
};
|
|
4501
|
-
async function
|
|
4501
|
+
async function ab(e, t) {
|
|
4502
4502
|
let s = 1;
|
|
4503
4503
|
const r = { ...pu, ...t }, { maxAttempts: n, baseDelayMs: o, backoffFactor: i } = r;
|
|
4504
4504
|
let a = o;
|
|
@@ -4845,7 +4845,7 @@ const Yn = (e, t, s) => async ({
|
|
|
4845
4845
|
postModel: Yn(e, o || t, c)
|
|
4846
4846
|
};
|
|
4847
4847
|
}
|
|
4848
|
-
}, Mu = qt(), _u = () => `kos-${Mu}`,
|
|
4848
|
+
}, Mu = qt(), _u = () => `kos-${Mu}`, cb = (e) => !!e && !e.includes("VM_SERVICE") && e.startsWith(_u()), fi = async (e, t = 6e4) => new Promise((s, r) => {
|
|
4849
4849
|
const { unsubscribe: n } = E(e, (i) => {
|
|
4850
4850
|
O.debug(`recieved response for refId ${e}: ${i}`), n(), clearTimeout(o);
|
|
4851
4851
|
try {
|
|
@@ -4858,7 +4858,7 @@ const Yn = (e, t, s) => async ({
|
|
|
4858
4858
|
}), o = setTimeout(() => {
|
|
4859
4859
|
n(), r(Error(`Request with ID ${e} timed out. Cancelling.`));
|
|
4860
4860
|
}, t);
|
|
4861
|
-
}),
|
|
4861
|
+
}), lb = async (e, t, s) => {
|
|
4862
4862
|
const r = fi(s), n = await Promise.allSettled([e(t), r]);
|
|
4863
4863
|
if (n[0].status === "fulfilled") {
|
|
4864
4864
|
if (n[1].status === "rejected")
|
|
@@ -4870,7 +4870,7 @@ const Yn = (e, t, s) => async ({
|
|
|
4870
4870
|
}
|
|
4871
4871
|
} else
|
|
4872
4872
|
throw Error(n[0].reason);
|
|
4873
|
-
},
|
|
4873
|
+
}, db = async ({
|
|
4874
4874
|
topic: e,
|
|
4875
4875
|
msg: t,
|
|
4876
4876
|
requestId: s
|
|
@@ -4946,7 +4946,7 @@ const K = {
|
|
|
4946
4946
|
rootContext: () => $e.get("root")
|
|
4947
4947
|
};
|
|
4948
4948
|
K.createContext("root");
|
|
4949
|
-
const
|
|
4949
|
+
const ub = (e) => K.getContext(e.id);
|
|
4950
4950
|
function Eu(e, t) {
|
|
4951
4951
|
return e.length !== t.length ? !1 : e.every((s) => t.includes(s));
|
|
4952
4952
|
}
|
|
@@ -5294,7 +5294,7 @@ class Tu {
|
|
|
5294
5294
|
};
|
|
5295
5295
|
}
|
|
5296
5296
|
}
|
|
5297
|
-
class
|
|
5297
|
+
class hb {
|
|
5298
5298
|
constructor({ type: t, model: s, childRegistration: r }) {
|
|
5299
5299
|
l(this, "type");
|
|
5300
5300
|
l(this, "childRegistration");
|
|
@@ -5318,7 +5318,7 @@ class ub {
|
|
|
5318
5318
|
return me(this.type);
|
|
5319
5319
|
}
|
|
5320
5320
|
}
|
|
5321
|
-
class
|
|
5321
|
+
class fb {
|
|
5322
5322
|
constructor({ type: t, model: s, childRegistration: r }) {
|
|
5323
5323
|
l(this, "type");
|
|
5324
5324
|
l(this, "model");
|
|
@@ -5448,11 +5448,11 @@ class Su {
|
|
|
5448
5448
|
}, {}) : {};
|
|
5449
5449
|
}
|
|
5450
5450
|
}
|
|
5451
|
-
const pi = g.createLogger({ name: "intent-service" }),
|
|
5451
|
+
const pi = g.createLogger({ name: "intent-service" }), gb = (e) => {
|
|
5452
5452
|
Jr(`/kos/intent/${e.type}`) ? j(`/kos/intent/${e.type}`, e.options, {
|
|
5453
5453
|
"kos.intent.type": e.type
|
|
5454
5454
|
}) : pi.info(`No subscribers for intent ${e.type}. Intent not sent.`);
|
|
5455
|
-
},
|
|
5455
|
+
}, pb = async (e) => new Promise((t) => {
|
|
5456
5456
|
const { type: s, options: r } = e;
|
|
5457
5457
|
if (Jr(`/kos/intent/${e.type}`)) {
|
|
5458
5458
|
const n = qt(), { unsubscribe: o } = E(
|
|
@@ -5469,7 +5469,7 @@ const pi = g.createLogger({ name: "intent-service" }), fb = (e) => {
|
|
|
5469
5469
|
});
|
|
5470
5470
|
} else
|
|
5471
5471
|
pi.info(`No subscribers for intent ${e.type}. Intent not sent.`), t([null, { body: void 0, payload: void 0 }]);
|
|
5472
|
-
}),
|
|
5472
|
+
}), Te = g.createLogger({ name: "app-startup-service" });
|
|
5473
5473
|
async function Du(e, t = {}) {
|
|
5474
5474
|
const {
|
|
5475
5475
|
timeout: s = 3e4,
|
|
@@ -5483,8 +5483,8 @@ async function Du(e, t = {}) {
|
|
|
5483
5483
|
const o = e.map((c) => `/kos/app/started/${c}`), i = await en(o, {
|
|
5484
5484
|
getCurrentState: async () => {
|
|
5485
5485
|
try {
|
|
5486
|
-
const
|
|
5487
|
-
return
|
|
5486
|
+
const { default: c } = await Promise.resolve().then(() => Gh), [d, u] = await c.get("/api/kos/apps/started");
|
|
5487
|
+
return d ? (Te.error("Error fetching started apps:", d), []) : u;
|
|
5488
5488
|
} catch (c) {
|
|
5489
5489
|
Te.error("Failed to fetch app startup status:", c);
|
|
5490
5490
|
}
|
|
@@ -5515,10 +5515,10 @@ async function Du(e, t = {}) {
|
|
|
5515
5515
|
return !1;
|
|
5516
5516
|
}
|
|
5517
5517
|
}
|
|
5518
|
-
async function
|
|
5518
|
+
async function mb(e, t = {}) {
|
|
5519
5519
|
return Du([e], t);
|
|
5520
5520
|
}
|
|
5521
|
-
async function
|
|
5521
|
+
async function yb(e, t = !1) {
|
|
5522
5522
|
const s = {};
|
|
5523
5523
|
try {
|
|
5524
5524
|
const r = await Ee("kos:///api/kos/apps/started");
|
|
@@ -5534,7 +5534,7 @@ async function mb(e, t = !1) {
|
|
|
5534
5534
|
}
|
|
5535
5535
|
return s;
|
|
5536
5536
|
}
|
|
5537
|
-
async function
|
|
5537
|
+
async function bb() {
|
|
5538
5538
|
try {
|
|
5539
5539
|
const e = await Ee("kos:///api/kos/apps/started");
|
|
5540
5540
|
if (!e.ok)
|
|
@@ -5545,7 +5545,7 @@ async function yb() {
|
|
|
5545
5545
|
return Te.error("Failed to fetch started apps:", e), [];
|
|
5546
5546
|
}
|
|
5547
5547
|
}
|
|
5548
|
-
const Wn = Ht, mi = Io, ae = H, G = zt, Au = Gt, yi = ee, bi = "Not Assigned",
|
|
5548
|
+
const Wn = Ht, mi = Io, ae = H, G = zt, Au = Gt, yi = ee, bi = "Not Assigned", wb = "kos.trouble.added", vb = "kos.trouble.removed";
|
|
5549
5549
|
var we = /* @__PURE__ */ ((e) => (e.TroubleRank = "kos.trouble.rank.mapper", e.TroubleColor = "kos.trouble.color.mapper", e.TroubleRole = "kos.trouble.role.mapper", e))(we || {}), $s = /* @__PURE__ */ ((e) => (e.TIME_CHANGE = "/kos/internal/time/time", e.DAY_CHANGE = "/kos/internal/time/day", e.TIMEZONE_CHANGE = "/kos/internal/time/timezone", e))($s || {});
|
|
5550
5550
|
const wi = g.createLogger({
|
|
5551
5551
|
name: "config-bean-service",
|
|
@@ -5596,7 +5596,7 @@ const ku = (e, t) => {
|
|
|
5596
5596
|
typeof n == "string" && vi(n) && (n = n.toLowerCase() == "true", o = (o == null ? void 0 : o.toLowerCase()) == "true"), typeof n == "string" && an(n) && (n = Number(n), o = Number(o)), t.props[r] = n, t.prevProps[r] = o;
|
|
5597
5597
|
});
|
|
5598
5598
|
});
|
|
5599
|
-
}, Uu = (e) => Object.fromEntries(e.props.entries),
|
|
5599
|
+
}, Uu = (e) => Object.fromEntries(e.props.entries), Mb = (e) => (t) => (s) => e.build(t, s);
|
|
5600
5600
|
var ju = Object.defineProperty, Bu = Object.getOwnPropertyDescriptor, _i = (e, t, s, r) => {
|
|
5601
5601
|
for (var n = r > 1 ? void 0 : r ? Bu(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
5602
5602
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
@@ -5722,7 +5722,7 @@ const Ps = new Ie({
|
|
|
5722
5722
|
basePath: `${Ii}/api/kos/regions/info`
|
|
5723
5723
|
}), Ei = async () => await Gu({}), $i = async () => await zu({
|
|
5724
5724
|
urlOverride: `${Ii}/api/kos/regions`
|
|
5725
|
-
}),
|
|
5725
|
+
}), _b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5726
5726
|
__proto__: null,
|
|
5727
5727
|
getRegionInfo: Ei,
|
|
5728
5728
|
getRegions: $i
|
|
@@ -6170,7 +6170,7 @@ function Zn(e, t, s) {
|
|
|
6170
6170
|
return t;
|
|
6171
6171
|
}
|
|
6172
6172
|
}
|
|
6173
|
-
const
|
|
6173
|
+
const Ib = (e, t, s, r) => {
|
|
6174
6174
|
const n = Oi(e, t, s), o = Rs({ source: t }), { model: i } = ht(
|
|
6175
6175
|
se.type
|
|
6176
6176
|
);
|
|
@@ -6598,7 +6598,7 @@ const gt = {
|
|
|
6598
6598
|
Os
|
|
6599
6599
|
)
|
|
6600
6600
|
};
|
|
6601
|
-
function
|
|
6601
|
+
function Eb(e) {
|
|
6602
6602
|
const {
|
|
6603
6603
|
path: t,
|
|
6604
6604
|
attribute: s,
|
|
@@ -6625,7 +6625,7 @@ function Ib(e) {
|
|
|
6625
6625
|
};
|
|
6626
6626
|
};
|
|
6627
6627
|
}
|
|
6628
|
-
class
|
|
6628
|
+
class $b {
|
|
6629
6629
|
constructor(t, s) {
|
|
6630
6630
|
l(this, "futures");
|
|
6631
6631
|
l(this, "defaultContext");
|
|
@@ -6717,13 +6717,13 @@ const { getAll: ch, modifyModel: lh, addModel: dh, deleteModel: uh, postModel: h
|
|
|
6717
6717
|
destinationAddress: "",
|
|
6718
6718
|
basePath: `${Jt}/api/future`,
|
|
6719
6719
|
mock: ah
|
|
6720
|
-
}),
|
|
6720
|
+
}), Tb = async () => await ch({}), fh = async (e, t = "/api/kos/future") => (or.info(`sending delete request for Future: ${e}`), await uh({
|
|
6721
6721
|
id: e,
|
|
6722
6722
|
urlOverride: `${Jt}${t}/${e}`
|
|
6723
6723
|
})), gh = async (e, t = "/api/kos/future") => (or.info("sending add request for Future"), await dh({
|
|
6724
6724
|
model: e,
|
|
6725
6725
|
urlOverride: `${Jt}${t}`
|
|
6726
|
-
})),
|
|
6726
|
+
})), Ob = async (e, t, s = "/api/kos/future") => (or.info(`sending modify request for Future: ${e}`), lh({
|
|
6727
6727
|
model: t,
|
|
6728
6728
|
id: e,
|
|
6729
6729
|
urlOverride: `${Jt}${s}/${e}`
|
|
@@ -7129,7 +7129,7 @@ const Ah = xt, { URL: Qt } = le(), { getOne: Ch, postModel: Ph, deleteModel: xi
|
|
|
7129
7129
|
urlOverride: `${Qt}/api/keyVal/${e}}`,
|
|
7130
7130
|
id: ""
|
|
7131
7131
|
});
|
|
7132
|
-
},
|
|
7132
|
+
}, Sb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7133
7133
|
__proto__: null,
|
|
7134
7134
|
deleteKeyValue: Fi,
|
|
7135
7135
|
deleteKeyValueNamespace: Rh,
|
|
@@ -7219,7 +7219,7 @@ const Bi = async (e) => {
|
|
|
7219
7219
|
if ((e == null ? void 0 : e.status) !== 200)
|
|
7220
7220
|
throw Error("Failed to set timezone");
|
|
7221
7221
|
return e.data.timeZone;
|
|
7222
|
-
},
|
|
7222
|
+
}, Db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7223
7223
|
__proto__: null,
|
|
7224
7224
|
getTimezone: Gi,
|
|
7225
7225
|
setDate: Ki,
|
|
@@ -7354,15 +7354,18 @@ zi([
|
|
|
7354
7354
|
Fs = zi([
|
|
7355
7355
|
A(Vi)
|
|
7356
7356
|
], Fs);
|
|
7357
|
-
const Gh =
|
|
7357
|
+
const Le = ui(), Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7358
|
+
__proto__: null,
|
|
7359
|
+
default: Le
|
|
7360
|
+
}, Symbol.toStringTag, { value: "Module" })), zh = g.createLogger({
|
|
7358
7361
|
name: "log-stream-container-service",
|
|
7359
7362
|
group: "Services"
|
|
7360
7363
|
}), Yi = () => {
|
|
7361
7364
|
var r;
|
|
7362
7365
|
const e = pe(), s = (e == null ? void 0 : e.connId) || ((r = window == null ? void 0 : window.kosBridge) == null ? void 0 : r.call(window, "connId"));
|
|
7363
7366
|
return g.error(`getKosConnectionId: ${s}`), s;
|
|
7364
|
-
}, pt = Yi(),
|
|
7365
|
-
|
|
7367
|
+
}, pt = Yi(), Vh = "/api/kos/logs/node/{nodeId}/streams", qi = async () => (zh.debug("sending GET for log-stream-container"), await Le.get(
|
|
7368
|
+
Vh,
|
|
7366
7369
|
{
|
|
7367
7370
|
path: {
|
|
7368
7371
|
nodeId: "primary"
|
|
@@ -7394,7 +7397,7 @@ const Gh = g.createLogger({
|
|
|
7394
7397
|
destinationAddress: pt
|
|
7395
7398
|
}
|
|
7396
7399
|
);
|
|
7397
|
-
},
|
|
7400
|
+
}, Yh = async () => {
|
|
7398
7401
|
await Le.post(
|
|
7399
7402
|
"/api/kos/logs/overrides",
|
|
7400
7403
|
{},
|
|
@@ -7431,9 +7434,9 @@ const Gh = g.createLogger({
|
|
|
7431
7434
|
{
|
|
7432
7435
|
destinationAddress: pt
|
|
7433
7436
|
}
|
|
7434
|
-
),
|
|
7437
|
+
), Ab = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7435
7438
|
__proto__: null,
|
|
7436
|
-
createOverride:
|
|
7439
|
+
createOverride: Yh,
|
|
7437
7440
|
getKosConnectionId: Yi,
|
|
7438
7441
|
getLogStreamBlock: Qi,
|
|
7439
7442
|
getLogStreamBlocks: Ji,
|
|
@@ -7441,10 +7444,10 @@ const Gh = g.createLogger({
|
|
|
7441
7444
|
subscribeToLogStream: Wi,
|
|
7442
7445
|
unsubscribeFromLogStream: Zi
|
|
7443
7446
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
7444
|
-
var
|
|
7445
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
7447
|
+
var qh = Object.defineProperty, Wh = Object.getOwnPropertyDescriptor, Zh = (e, t, s, r) => {
|
|
7448
|
+
for (var n = r > 1 ? void 0 : r ? Wh(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
7446
7449
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
7447
|
-
return r && n &&
|
|
7450
|
+
return r && n && qh(t, s, n), n;
|
|
7448
7451
|
};
|
|
7449
7452
|
const Xi = "log-block-model";
|
|
7450
7453
|
let Lr = class {
|
|
@@ -7489,7 +7492,7 @@ let Lr = class {
|
|
|
7489
7492
|
this.logger.debug(`loading log-block ${this.id}`);
|
|
7490
7493
|
}
|
|
7491
7494
|
};
|
|
7492
|
-
Lr =
|
|
7495
|
+
Lr = Zh([
|
|
7493
7496
|
A(Xi)
|
|
7494
7497
|
], Lr);
|
|
7495
7498
|
const ks = new Ie({
|
|
@@ -7500,10 +7503,10 @@ const ks = new Ie({
|
|
|
7500
7503
|
type: Vi
|
|
7501
7504
|
});
|
|
7502
7505
|
yn.addRelatedModel(ks);
|
|
7503
|
-
var
|
|
7504
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
7506
|
+
var Jh = Object.defineProperty, Qh = Object.getOwnPropertyDescriptor, ea = (e, t, s, r) => {
|
|
7507
|
+
for (var n = r > 1 ? void 0 : r ? Qh(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
7505
7508
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
7506
|
-
return r && n &&
|
|
7509
|
+
return r && n && Jh(t, s, n), n;
|
|
7507
7510
|
};
|
|
7508
7511
|
const ta = "log-stream-model";
|
|
7509
7512
|
let Ns = class {
|
|
@@ -7668,12 +7671,12 @@ const Ss = new Ie({
|
|
|
7668
7671
|
class: Ns,
|
|
7669
7672
|
type: ta
|
|
7670
7673
|
});
|
|
7671
|
-
var
|
|
7672
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
7674
|
+
var Xh = Object.defineProperty, ef = Object.getOwnPropertyDescriptor, ze = (e, t, s, r) => {
|
|
7675
|
+
for (var n = r > 1 ? void 0 : r ? ef(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
7673
7676
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
7674
|
-
return r && n &&
|
|
7677
|
+
return r && n && Xh(t, s, n), n;
|
|
7675
7678
|
};
|
|
7676
|
-
const sa = "log-stream-container-model",
|
|
7679
|
+
const sa = "log-stream-container-model", tf = "/kos/logs/subscription/addBlock/*", sf = "/kos/logs/subscription/updateBlock/*", rf = "/kos/logs/subscription/removeBlock/*", nf = "/kos/logs/subscription/lines/*", ra = "/kos/logs/streams/add/*";
|
|
7677
7680
|
let Oe = class {
|
|
7678
7681
|
constructor(e, t, s) {
|
|
7679
7682
|
l(this, "id");
|
|
@@ -7769,25 +7772,25 @@ ze([
|
|
|
7769
7772
|
], Oe.prototype, "handleStreamAdded", 1);
|
|
7770
7773
|
ze([
|
|
7771
7774
|
F({
|
|
7772
|
-
topic: [
|
|
7775
|
+
topic: [tf],
|
|
7773
7776
|
websocket: !0
|
|
7774
7777
|
})
|
|
7775
7778
|
], Oe.prototype, "handleAddBlock", 1);
|
|
7776
7779
|
ze([
|
|
7777
7780
|
F({
|
|
7778
|
-
topic: [
|
|
7781
|
+
topic: [rf],
|
|
7779
7782
|
websocket: !0
|
|
7780
7783
|
})
|
|
7781
7784
|
], Oe.prototype, "handleRemoveBlock", 1);
|
|
7782
7785
|
ze([
|
|
7783
7786
|
F({
|
|
7784
|
-
topic: [
|
|
7787
|
+
topic: [sf],
|
|
7785
7788
|
websocket: !0
|
|
7786
7789
|
})
|
|
7787
7790
|
], Oe.prototype, "handleUpdateBlock", 1);
|
|
7788
7791
|
ze([
|
|
7789
7792
|
F({
|
|
7790
|
-
topic: [
|
|
7793
|
+
topic: [nf],
|
|
7791
7794
|
websocket: !0
|
|
7792
7795
|
})
|
|
7793
7796
|
], Oe.prototype, "handleLogLine", 1);
|
|
@@ -7801,18 +7804,18 @@ const ar = new Re({
|
|
|
7801
7804
|
ar.addRelatedModel(Ss);
|
|
7802
7805
|
ar.addRelatedModel(yn);
|
|
7803
7806
|
ar.addRelatedModel(ks);
|
|
7804
|
-
const
|
|
7805
|
-
const t = e.info;
|
|
7806
|
-
return nf(t) ? t.rank : 0;
|
|
7807
|
-
}, lf = (e) => {
|
|
7807
|
+
const of = (e) => e.rank !== void 0, af = (e) => e.visibleRole !== void 0, cf = (e) => e.color !== void 0, lf = (e) => {
|
|
7808
7808
|
const t = e.info;
|
|
7809
|
-
return
|
|
7809
|
+
return of(t) ? t.rank : 0;
|
|
7810
7810
|
}, df = (e) => {
|
|
7811
7811
|
const t = e.info;
|
|
7812
|
-
return
|
|
7813
|
-
},
|
|
7812
|
+
return cf(t) ? t.color : "orange";
|
|
7813
|
+
}, uf = (e) => {
|
|
7814
|
+
const t = e.info;
|
|
7815
|
+
return af(t) ? t.visibleRole : "TECHNICIAN";
|
|
7816
|
+
}, { URL: bn } = le(), { getAll: hf, postModel: na } = ne.build({
|
|
7814
7817
|
basePath: `${bn}/api/kos/troubles`
|
|
7815
|
-
}), oa = async () => await
|
|
7818
|
+
}), oa = async () => await hf({}), ia = async (e, t) => {
|
|
7816
7819
|
try {
|
|
7817
7820
|
const s = await na({
|
|
7818
7821
|
model: {},
|
|
@@ -7829,7 +7832,7 @@ const nf = (e) => e.rank !== void 0, of = (e) => e.visibleRole !== void 0, af =
|
|
|
7829
7832
|
};
|
|
7830
7833
|
return ot.initiateFuture(r), r;
|
|
7831
7834
|
}
|
|
7832
|
-
},
|
|
7835
|
+
}, ff = async (e, t) => {
|
|
7833
7836
|
try {
|
|
7834
7837
|
const s = await na({
|
|
7835
7838
|
model: e,
|
|
@@ -7846,9 +7849,9 @@ const nf = (e) => e.rank !== void 0, of = (e) => e.visibleRole !== void 0, af =
|
|
|
7846
7849
|
};
|
|
7847
7850
|
return ot.initiateFuture(r), r;
|
|
7848
7851
|
}
|
|
7849
|
-
},
|
|
7852
|
+
}, Cb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7850
7853
|
__proto__: null,
|
|
7851
|
-
bulkResolveTroubles:
|
|
7854
|
+
bulkResolveTroubles: ff,
|
|
7852
7855
|
getTroubles: oa,
|
|
7853
7856
|
resolveTrouble: ia
|
|
7854
7857
|
}, Symbol.toStringTag, { value: "Module" })), xr = "troubleDataMapper", ds = /* @__PURE__ */ new Map();
|
|
@@ -7892,7 +7895,7 @@ S[cr].register(
|
|
|
7892
7895
|
"path",
|
|
7893
7896
|
async (e) => [e.data.path]
|
|
7894
7897
|
);
|
|
7895
|
-
const
|
|
7898
|
+
const gf = async (e) => {
|
|
7896
7899
|
const t = /* @__PURE__ */ new Set(), s = e.ifaces, r = s == null ? void 0 : s.map(
|
|
7897
7900
|
(o) => S[cr].execute(
|
|
7898
7901
|
o,
|
|
@@ -7902,7 +7905,7 @@ const ff = async (e) => {
|
|
|
7902
7905
|
return (await Promise.allSettled(r)).forEach((o) => {
|
|
7903
7906
|
o.status === "fulfilled" && o.value.forEach((i) => t.add(i));
|
|
7904
7907
|
}), Array.from(t);
|
|
7905
|
-
},
|
|
7908
|
+
}, pf = async (e) => {
|
|
7906
7909
|
const t = e.ifaces, s = t == null ? void 0 : t.map(
|
|
7907
7910
|
(i) => S[xr].execute(
|
|
7908
7911
|
i,
|
|
@@ -7913,14 +7916,14 @@ const ff = async (e) => {
|
|
|
7913
7916
|
const o = (await Promise.allSettled(s)).reduce((i, a) => (a.status === "fulfilled" && (i = { ...i, ...a.value }), i), {});
|
|
7914
7917
|
return { ...e.data, ...o };
|
|
7915
7918
|
};
|
|
7916
|
-
class
|
|
7919
|
+
class mf {
|
|
7917
7920
|
constructor() {
|
|
7918
7921
|
l(this, "type", "ResolvableTrouble");
|
|
7919
7922
|
l(this, "title", "Resolvable Trouble");
|
|
7920
7923
|
l(this, "subtitle", "Trouble");
|
|
7921
7924
|
}
|
|
7922
7925
|
}
|
|
7923
|
-
class
|
|
7926
|
+
class yf {
|
|
7924
7927
|
constructor() {
|
|
7925
7928
|
l(this, "type", "BlockPumpTrouble");
|
|
7926
7929
|
l(this, "title", "Block Pump Trouble");
|
|
@@ -7931,18 +7934,18 @@ class qe {
|
|
|
7931
7934
|
static getHandler(t) {
|
|
7932
7935
|
switch (t) {
|
|
7933
7936
|
case "ResolvableTrouble":
|
|
7934
|
-
return new pf();
|
|
7935
|
-
case "BlockPumpTrouble":
|
|
7936
7937
|
return new mf();
|
|
7938
|
+
case "BlockPumpTrouble":
|
|
7939
|
+
return new yf();
|
|
7937
7940
|
default:
|
|
7938
7941
|
return;
|
|
7939
7942
|
}
|
|
7940
7943
|
}
|
|
7941
7944
|
}
|
|
7942
|
-
var
|
|
7943
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
7945
|
+
var bf = Object.defineProperty, wf = Object.getOwnPropertyDescriptor, aa = (e, t, s, r) => {
|
|
7946
|
+
for (var n = r > 1 ? void 0 : r ? wf(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
7944
7947
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
7945
|
-
return r && n &&
|
|
7948
|
+
return r && n && bf(t, s, n), n;
|
|
7946
7949
|
};
|
|
7947
7950
|
const Mt = "trouble-model";
|
|
7948
7951
|
function hs(e) {
|
|
@@ -8015,7 +8018,7 @@ let Us = class {
|
|
|
8015
8018
|
return this.futureHandler.future;
|
|
8016
8019
|
}
|
|
8017
8020
|
async resolveMappedData() {
|
|
8018
|
-
return await
|
|
8021
|
+
return await pf(this);
|
|
8019
8022
|
}
|
|
8020
8023
|
get deferredCompanion() {
|
|
8021
8024
|
const e = Hn(this.id, (t) => hs(t));
|
|
@@ -8070,10 +8073,10 @@ const js = {
|
|
|
8070
8073
|
predicate: me(Mt),
|
|
8071
8074
|
factory: re.Factory.create(Mt)
|
|
8072
8075
|
};
|
|
8073
|
-
var
|
|
8074
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8076
|
+
var vf = Object.defineProperty, Mf = Object.getOwnPropertyDescriptor, lr = (e, t, s, r) => {
|
|
8077
|
+
for (var n = r > 1 ? void 0 : r ? Mf(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8075
8078
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8076
|
-
return r && n &&
|
|
8079
|
+
return r && n && vf(t, s, n), n;
|
|
8077
8080
|
};
|
|
8078
8081
|
const Xn = g.createLogger({ name: "trouble-container-model" });
|
|
8079
8082
|
function eo(e) {
|
|
@@ -8082,7 +8085,7 @@ function eo(e) {
|
|
|
8082
8085
|
) ? S.propertyMapper.executeMapper(
|
|
8083
8086
|
we.TroubleRank,
|
|
8084
8087
|
e
|
|
8085
|
-
) :
|
|
8088
|
+
) : lf(e);
|
|
8086
8089
|
}
|
|
8087
8090
|
function to(e) {
|
|
8088
8091
|
return (S.propertyMapper.hasMapper(
|
|
@@ -8090,7 +8093,7 @@ function to(e) {
|
|
|
8090
8093
|
) ? S.propertyMapper.executeMapper(
|
|
8091
8094
|
we.TroubleColor,
|
|
8092
8095
|
e
|
|
8093
|
-
) :
|
|
8096
|
+
) : df(e)).toLowerCase();
|
|
8094
8097
|
}
|
|
8095
8098
|
function so(e) {
|
|
8096
8099
|
return (S.propertyMapper.hasMapper(
|
|
@@ -8098,9 +8101,9 @@ function so(e) {
|
|
|
8098
8101
|
) ? S.propertyMapper.executeMapper(
|
|
8099
8102
|
we.TroubleRole,
|
|
8100
8103
|
e
|
|
8101
|
-
) :
|
|
8104
|
+
) : uf(e)).toLowerCase();
|
|
8102
8105
|
}
|
|
8103
|
-
const
|
|
8106
|
+
const _f = "trouble-container-model";
|
|
8104
8107
|
class he {
|
|
8105
8108
|
}
|
|
8106
8109
|
l(he, "INDEX_TROUBLES_BY_IFACE", "byIface"), l(he, "INDEX_TROUBLES_BY_TYPE", "byType"), l(he, "INDEX_TROUBLES_BY_GROUP", "byGroup"), l(he, "INDEX_TROUBLES_BY_DEFERRED", "byDeferred"), l(he, "SORT_KEY_RANK", "rank"), l(he, "TROUBLES_DEFERRED", "true");
|
|
@@ -8110,7 +8113,7 @@ let at = class {
|
|
|
8110
8113
|
l(this, "troubles");
|
|
8111
8114
|
this.id = e, this.troubles = new De({
|
|
8112
8115
|
indexMap: {
|
|
8113
|
-
[he.INDEX_TROUBLES_BY_IFACE]:
|
|
8116
|
+
[he.INDEX_TROUBLES_BY_IFACE]: gf,
|
|
8114
8117
|
[he.INDEX_TROUBLES_BY_TYPE]: "type",
|
|
8115
8118
|
[he.INDEX_TROUBLES_BY_GROUP]: "group",
|
|
8116
8119
|
[he.INDEX_TROUBLES_BY_DEFERRED]: "deferred"
|
|
@@ -8170,7 +8173,7 @@ lr([
|
|
|
8170
8173
|
F({ topic: "/kos/trouble/add", websocket: !0 })
|
|
8171
8174
|
], at.prototype, "handleTroubleAdded", 1);
|
|
8172
8175
|
at = lr([
|
|
8173
|
-
A(
|
|
8176
|
+
A(_f)
|
|
8174
8177
|
], at);
|
|
8175
8178
|
const fs = "trouble-container-model", kt = {
|
|
8176
8179
|
registration: {
|
|
@@ -8184,24 +8187,24 @@ const fs = "trouble-container-model", kt = {
|
|
|
8184
8187
|
factory: re.Singleton.create(
|
|
8185
8188
|
fs
|
|
8186
8189
|
)
|
|
8187
|
-
}, { URL: ca } = le(), { getAll:
|
|
8190
|
+
}, { URL: ca } = le(), { getAll: If } = ne.build({
|
|
8188
8191
|
basePath: `${ca}/api/kos/ota`
|
|
8189
8192
|
}), ro = g.createLogger({
|
|
8190
8193
|
name: "ota-service",
|
|
8191
8194
|
group: "Services"
|
|
8192
|
-
}),
|
|
8195
|
+
}), Ef = async () => {
|
|
8193
8196
|
ro.debug("sending GET request to /api/kos/ota/artifacts");
|
|
8194
|
-
const e = await
|
|
8197
|
+
const e = await If({
|
|
8195
8198
|
urlOverride: `${ca}/api/kos/ota/artifacts`
|
|
8196
8199
|
});
|
|
8197
8200
|
return ro.debug("getArtifacts - response:", e), e == null ? void 0 : e.data;
|
|
8198
8201
|
};
|
|
8199
|
-
var
|
|
8200
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8202
|
+
var $f = Object.defineProperty, Tf = Object.getOwnPropertyDescriptor, dr = (e, t, s, r) => {
|
|
8203
|
+
for (var n = r > 1 ? void 0 : r ? Tf(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8201
8204
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8202
|
-
return r && n &&
|
|
8205
|
+
return r && n && $f(t, s, n), n;
|
|
8203
8206
|
};
|
|
8204
|
-
const la = "ota-model",
|
|
8207
|
+
const la = "ota-model", Of = (e) => {
|
|
8205
8208
|
let t = null;
|
|
8206
8209
|
for (const s in e) {
|
|
8207
8210
|
const r = e[s], n = r.lastUpdateTime;
|
|
@@ -8209,7 +8212,7 @@ const la = "ota-model", Tf = (e) => {
|
|
|
8209
8212
|
}
|
|
8210
8213
|
return t;
|
|
8211
8214
|
}, Er = (e) => {
|
|
8212
|
-
const t = e.artifactInfo, s =
|
|
8215
|
+
const t = e.artifactInfo, s = Of(e.requests), r = (t == null ? void 0 : t.identifier) || (s == null ? void 0 : s.kabId);
|
|
8213
8216
|
if (!r)
|
|
8214
8217
|
return;
|
|
8215
8218
|
let n;
|
|
@@ -8287,7 +8290,7 @@ let ct = class {
|
|
|
8287
8290
|
async load() {
|
|
8288
8291
|
this.logger.debug(`loading ota ${this.id}`);
|
|
8289
8292
|
try {
|
|
8290
|
-
const e = await
|
|
8293
|
+
const e = await Ef();
|
|
8291
8294
|
e && e.forEach((t) => {
|
|
8292
8295
|
const s = Er(t);
|
|
8293
8296
|
s && this.data.addModel(s);
|
|
@@ -8341,7 +8344,7 @@ const Fr = new Re({
|
|
|
8341
8344
|
class: ct,
|
|
8342
8345
|
type: la
|
|
8343
8346
|
});
|
|
8344
|
-
function
|
|
8347
|
+
function Sf(e) {
|
|
8345
8348
|
let t;
|
|
8346
8349
|
const s = async (...r) => {
|
|
8347
8350
|
t && t.abort(), t = new AbortController();
|
|
@@ -8367,15 +8370,15 @@ const $r = g.createLogger({
|
|
|
8367
8370
|
if (!s)
|
|
8368
8371
|
throw e != null && e.aborted ? ($r.debug("Request was aborted"), new fe("Request was aborted")) : ($r.error("Failed to fetch software-info", t), new fe("Failed to fetch software-info"));
|
|
8369
8372
|
return s;
|
|
8370
|
-
},
|
|
8373
|
+
}, Df = Sf(wn), Pb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8371
8374
|
__proto__: null,
|
|
8372
8375
|
getSoftwareInfos: wn,
|
|
8373
|
-
getSoftwareInfosWithCancel:
|
|
8376
|
+
getSoftwareInfosWithCancel: Df
|
|
8374
8377
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8375
|
-
var
|
|
8376
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8378
|
+
var Af = Object.defineProperty, Cf = Object.getOwnPropertyDescriptor, Pf = (e, t, s, r) => {
|
|
8379
|
+
for (var n = r > 1 ? void 0 : r ? Cf(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8377
8380
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8378
|
-
return r && n &&
|
|
8381
|
+
return r && n && Af(t, s, n), n;
|
|
8379
8382
|
};
|
|
8380
8383
|
const _t = "software-info-model";
|
|
8381
8384
|
let kr = class {
|
|
@@ -8412,7 +8415,7 @@ let kr = class {
|
|
|
8412
8415
|
}
|
|
8413
8416
|
}
|
|
8414
8417
|
};
|
|
8415
|
-
kr =
|
|
8418
|
+
kr = Pf([
|
|
8416
8419
|
A(_t)
|
|
8417
8420
|
], kr);
|
|
8418
8421
|
const Nr = {
|
|
@@ -8427,23 +8430,23 @@ const Nr = {
|
|
|
8427
8430
|
factory: re.Factory.create(
|
|
8428
8431
|
_t
|
|
8429
8432
|
)
|
|
8430
|
-
}, { URL: da } = le(), { getOne:
|
|
8433
|
+
}, { URL: da } = le(), { getOne: Rf } = ne.build({
|
|
8431
8434
|
basePath: `${da}/api/kos/state`
|
|
8432
|
-
}),
|
|
8435
|
+
}), Lf = g.createLogger({
|
|
8433
8436
|
name: "state-bean-service",
|
|
8434
8437
|
group: "Services"
|
|
8435
|
-
}), ua = async ({ path: e }) => (
|
|
8438
|
+
}), ua = async ({ path: e }) => (Lf.debug("sending GET for state-bean"), await Rf({
|
|
8436
8439
|
urlOverride: `${da}/api/kos/state/${e}`
|
|
8437
|
-
})),
|
|
8440
|
+
})), Rb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8438
8441
|
__proto__: null,
|
|
8439
8442
|
getStateBeanData: ua
|
|
8440
8443
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
8441
|
-
var
|
|
8442
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8444
|
+
var xf = Object.defineProperty, Ff = Object.getOwnPropertyDescriptor, ha = (e, t, s, r) => {
|
|
8445
|
+
for (var n = r > 1 ? void 0 : r ? Ff(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8443
8446
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8444
|
-
return r && n &&
|
|
8447
|
+
return r && n && xf(t, s, n), n;
|
|
8445
8448
|
};
|
|
8446
|
-
const It = "state-bean-model",
|
|
8449
|
+
const It = "state-bean-model", kf = dt("path");
|
|
8447
8450
|
let Bs = class {
|
|
8448
8451
|
constructor(e, t, s) {
|
|
8449
8452
|
l(this, "id");
|
|
@@ -8478,7 +8481,7 @@ let Bs = class {
|
|
|
8478
8481
|
};
|
|
8479
8482
|
ha([
|
|
8480
8483
|
F({
|
|
8481
|
-
topic: `/kos/state/${
|
|
8484
|
+
topic: `/kos/state/${kf}`,
|
|
8482
8485
|
websocket: !0
|
|
8483
8486
|
})
|
|
8484
8487
|
], Bs.prototype, "handleConfigBeanUpdated", 1);
|
|
@@ -8496,10 +8499,10 @@ const Ks = {
|
|
|
8496
8499
|
predicate: me(It),
|
|
8497
8500
|
factory: re.Factory.create(It)
|
|
8498
8501
|
};
|
|
8499
|
-
var
|
|
8500
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8502
|
+
var Nf = Object.defineProperty, Uf = Object.getOwnPropertyDescriptor, fa = (e, t, s, r) => {
|
|
8503
|
+
for (var n = r > 1 ? void 0 : r ? Uf(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8501
8504
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8502
|
-
return r && n &&
|
|
8505
|
+
return r && n && Nf(t, s, n), n;
|
|
8503
8506
|
};
|
|
8504
8507
|
const Et = "state-prop-model", no = dt("path");
|
|
8505
8508
|
let Hs = class {
|
|
@@ -8546,32 +8549,32 @@ const ga = {
|
|
|
8546
8549
|
type: Et,
|
|
8547
8550
|
predicate: me(Et),
|
|
8548
8551
|
factory: re.Factory.create(Et)
|
|
8549
|
-
}, { URL:
|
|
8550
|
-
basePath: `${
|
|
8551
|
-
}),
|
|
8552
|
+
}, { URL: jf } = le(), { getAll: Bf } = ne.build({
|
|
8553
|
+
basePath: `${jf}/api/state-prop`
|
|
8554
|
+
}), Kf = g.createLogger({
|
|
8552
8555
|
name: "state-prop-service",
|
|
8553
8556
|
group: "Services"
|
|
8554
|
-
}),
|
|
8557
|
+
}), Hf = async () => (Kf.debug("sending GET for state-prop"), await Bf({})), Lb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8555
8558
|
__proto__: null,
|
|
8556
|
-
getStateProps:
|
|
8559
|
+
getStateProps: Hf
|
|
8557
8560
|
}, Symbol.toStringTag, { value: "Module" })), { URL: vn } = le(), { getOne: pa } = ne.build({
|
|
8558
8561
|
basePath: `${vn}/api/translation`
|
|
8559
8562
|
}), Dt = g.createLogger({
|
|
8560
8563
|
name: "translation-service",
|
|
8561
8564
|
group: "Services"
|
|
8562
|
-
}),
|
|
8565
|
+
}), Gf = () => {
|
|
8563
8566
|
const e = window.location.origin, t = pe();
|
|
8564
8567
|
return (t == null ? void 0 : t.host) || e;
|
|
8565
|
-
},
|
|
8568
|
+
}, zf = async (e, t) => {
|
|
8566
8569
|
Dt.debug("sending GET for translation");
|
|
8567
|
-
const s = t ??
|
|
8570
|
+
const s = t ?? Gf();
|
|
8568
8571
|
try {
|
|
8569
8572
|
const r = await fetch(`${s}${e}`);
|
|
8570
8573
|
return r.status !== 200 ? (Dt.warn(`Failed to fetch translations at ${e}: ${r.status}`), {}) : await r.json();
|
|
8571
8574
|
} catch (r) {
|
|
8572
8575
|
throw Dt.error("Error fetching translations", r), r;
|
|
8573
8576
|
}
|
|
8574
|
-
},
|
|
8577
|
+
}, xb = async () => {
|
|
8575
8578
|
Dt.debug("getting localization descriptor");
|
|
8576
8579
|
const e = await pa({
|
|
8577
8580
|
urlOverride: `${vn}/api/system/kos/localization`
|
|
@@ -8581,7 +8584,7 @@ const ga = {
|
|
|
8581
8584
|
`Failed to get tool localization descriptor ${e == null ? void 0 : e.status}`
|
|
8582
8585
|
);
|
|
8583
8586
|
return e.data;
|
|
8584
|
-
},
|
|
8587
|
+
}, Vf = (e) => async () => {
|
|
8585
8588
|
Dt.debug("getting kos localization descriptor");
|
|
8586
8589
|
const t = await pa({
|
|
8587
8590
|
urlOverride: `${vn}/api/kos/localization/contexts`
|
|
@@ -8592,13 +8595,13 @@ const ga = {
|
|
|
8592
8595
|
);
|
|
8593
8596
|
return t.data[e];
|
|
8594
8597
|
}, ma = "langResolver";
|
|
8595
|
-
var
|
|
8596
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8598
|
+
var Yf = Object.defineProperty, qf = Object.getOwnPropertyDescriptor, Wf = (e, t, s, r) => {
|
|
8599
|
+
for (var n = r > 1 ? void 0 : r ? qf(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8597
8600
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8598
|
-
return r && n &&
|
|
8601
|
+
return r && n && Yf(t, s, n), n;
|
|
8599
8602
|
};
|
|
8600
8603
|
const $t = "translation-model";
|
|
8601
|
-
function
|
|
8604
|
+
function Zf(e) {
|
|
8602
8605
|
const t = typeof e == "string", s = t ? !1 : !!(e != null && e.data) && typeof (e == null ? void 0 : e.data) != "string", r = t ? e : e == null ? void 0 : e.defaultValue, n = t || e == null ? void 0 : e.context, o = t ? void 0 : s ? e == null ? void 0 : e.data : e;
|
|
8603
8606
|
return { isBasicOptions: t, defaultValue: r, context: n, data: o };
|
|
8604
8607
|
}
|
|
@@ -8679,7 +8682,7 @@ let jr = class {
|
|
|
8679
8682
|
}
|
|
8680
8683
|
try {
|
|
8681
8684
|
const n = this.resolver(this.namespace, r);
|
|
8682
|
-
return
|
|
8685
|
+
return zf(n, this.rootUrl);
|
|
8683
8686
|
} catch {
|
|
8684
8687
|
return Promise.resolve({});
|
|
8685
8688
|
}
|
|
@@ -8708,7 +8711,7 @@ let jr = class {
|
|
|
8708
8711
|
resolveKey(e, t) {
|
|
8709
8712
|
if (!e)
|
|
8710
8713
|
return this.logger.debug("key is empty"), "";
|
|
8711
|
-
const { defaultValue: s, context: r, data: n } =
|
|
8714
|
+
const { defaultValue: s, context: r, data: n } = Zf(t), { namespace: o, key: i } = oo(this.namespace, e), a = `${i}_${r}`;
|
|
8712
8715
|
if (o !== this.namespace) {
|
|
8713
8716
|
const c = this.context.getModel(o);
|
|
8714
8717
|
return c ? c.resolveKey(i, t) : i;
|
|
@@ -8740,7 +8743,7 @@ let jr = class {
|
|
|
8740
8743
|
);
|
|
8741
8744
|
}
|
|
8742
8745
|
};
|
|
8743
|
-
jr =
|
|
8746
|
+
jr = Wf([
|
|
8744
8747
|
rn(),
|
|
8745
8748
|
A($t)
|
|
8746
8749
|
], jr);
|
|
@@ -8755,18 +8758,18 @@ const Br = {
|
|
|
8755
8758
|
predicate: me($t),
|
|
8756
8759
|
factory: re.Factory.create($t)
|
|
8757
8760
|
};
|
|
8758
|
-
var
|
|
8759
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8761
|
+
var Jf = Object.defineProperty, Qf = Object.getOwnPropertyDescriptor, wa = (e, t, s, r) => {
|
|
8762
|
+
for (var n = r > 1 ? void 0 : r ? Qf(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8760
8763
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8761
|
-
return r && n &&
|
|
8764
|
+
return r && n && Jf(t, s, n), n;
|
|
8762
8765
|
};
|
|
8763
|
-
const Tt = "translation-container-model",
|
|
8764
|
-
function
|
|
8766
|
+
const Tt = "translation-container-model", Xf = (e, t = "/") => e.join(t).replace(new RegExp(t + "{1,}", "g"), t);
|
|
8767
|
+
function eg(e, t) {
|
|
8765
8768
|
const s = this.descriptor.namespaces[e];
|
|
8766
8769
|
if (!s)
|
|
8767
8770
|
throw new Error(`namespace ${e} not found in descriptor`);
|
|
8768
8771
|
const r = s.basePath, n = s.locales[t].file;
|
|
8769
|
-
return
|
|
8772
|
+
return Xf([r, n]);
|
|
8770
8773
|
}
|
|
8771
8774
|
let Gs = class {
|
|
8772
8775
|
constructor(e, t, s) {
|
|
@@ -8780,7 +8783,7 @@ let Gs = class {
|
|
|
8780
8783
|
l(this, "descriptorUrl");
|
|
8781
8784
|
l(this, "namespaces", []);
|
|
8782
8785
|
l(this, "_models");
|
|
8783
|
-
this.id = e, this.lang = t.lang || "en", this.descriptor = t.descriptor, this._defaultNamespace = t.defaultNamespace, this.descriptorUrl = t.descriptorUrl, this.rootUrl = t.rootUrl, this.resolver = t.resolver ||
|
|
8786
|
+
this.id = e, this.lang = t.lang || "en", this.descriptor = t.descriptor, this._defaultNamespace = t.defaultNamespace, this.descriptorUrl = t.descriptorUrl, this.rootUrl = t.rootUrl, this.resolver = t.resolver || eg.bind(this), s.kosContext.set(ma, this.resolver), this.logger = s.logger, this._models = new De({
|
|
8784
8787
|
parentId: e
|
|
8785
8788
|
});
|
|
8786
8789
|
}
|
|
@@ -8871,7 +8874,7 @@ const Ce = {
|
|
|
8871
8874
|
type: Tt,
|
|
8872
8875
|
predicate: me(Tt),
|
|
8873
8876
|
factory: re.Singleton.create(Tt)
|
|
8874
|
-
},
|
|
8877
|
+
}, Fb = {
|
|
8875
8878
|
set(e, t) {
|
|
8876
8879
|
const s = K.getContext(Ce.type);
|
|
8877
8880
|
s && s.set(e, t);
|
|
@@ -8880,23 +8883,23 @@ const Ce = {
|
|
|
8880
8883
|
const t = K.getContext(Ce.type);
|
|
8881
8884
|
return t == null ? void 0 : t.get(e);
|
|
8882
8885
|
}
|
|
8883
|
-
},
|
|
8886
|
+
}, tg = {
|
|
8884
8887
|
async init(e) {
|
|
8885
8888
|
const t = Ce.factory(e);
|
|
8886
8889
|
return await de(t), { translations: t };
|
|
8887
8890
|
}
|
|
8888
|
-
},
|
|
8891
|
+
}, kb = (e, t) => {
|
|
8889
8892
|
const s = t.type;
|
|
8890
8893
|
return e[s] || (e[s] = []), e[s].push(t), e;
|
|
8891
|
-
},
|
|
8892
|
-
|
|
8894
|
+
}, sg = "kos-ws-event", va = Wt(
|
|
8895
|
+
sg
|
|
8893
8896
|
);
|
|
8894
|
-
var
|
|
8895
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8897
|
+
var rg = Object.defineProperty, ng = Object.getOwnPropertyDescriptor, Mn = (e, t, s, r) => {
|
|
8898
|
+
for (var n = r > 1 ? void 0 : r ? ng(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8896
8899
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8897
|
-
return r && n &&
|
|
8900
|
+
return r && n && rg(t, s, n), n;
|
|
8898
8901
|
};
|
|
8899
|
-
const
|
|
8902
|
+
const og = ({ headers: e, body: t }) => Object.entries(e).map(([r, n]) => `${r}:${n}`).join("\\n") + "\\n\\n" + t;
|
|
8900
8903
|
let Nt = class {
|
|
8901
8904
|
constructor(e) {
|
|
8902
8905
|
l(this, "id");
|
|
@@ -8929,7 +8932,7 @@ let Nt = class {
|
|
|
8929
8932
|
content: s,
|
|
8930
8933
|
headers: r,
|
|
8931
8934
|
timestamp: Date.now(),
|
|
8932
|
-
raw:
|
|
8935
|
+
raw: og({ headers: r, body: s }),
|
|
8933
8936
|
direction: t ? "send" : "receive",
|
|
8934
8937
|
mocked: !!r.mocked
|
|
8935
8938
|
};
|
|
@@ -8950,34 +8953,34 @@ Mn([
|
|
|
8950
8953
|
Nt = Mn([
|
|
8951
8954
|
A(va.type)
|
|
8952
8955
|
], Nt);
|
|
8953
|
-
const io = pe(),
|
|
8954
|
-
const r = `${ce}${t ||
|
|
8956
|
+
const io = pe(), ig = io.debug === "true" || io.debug === !0, ag = "/api/system/canvas", Ma = async (e, t) => {
|
|
8957
|
+
const r = `${ce}${t || ag}`;
|
|
8955
8958
|
await Ee(r, {
|
|
8956
8959
|
method: "POST",
|
|
8957
8960
|
headers: {
|
|
8958
|
-
hide:
|
|
8961
|
+
hide: ig ? "false" : "true"
|
|
8959
8962
|
},
|
|
8960
8963
|
body: e
|
|
8961
8964
|
});
|
|
8962
|
-
},
|
|
8965
|
+
}, Nb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8963
8966
|
__proto__: null,
|
|
8964
8967
|
sendCanvasData: Ma
|
|
8965
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
8966
|
-
function
|
|
8968
|
+
}, Symbol.toStringTag, { value: "Module" })), cg = (e, t, s) => e >> 5 << 5 | t >> 5 << 2 | s >> 6;
|
|
8969
|
+
function lg(e, t, s) {
|
|
8967
8970
|
if (t === "base64") {
|
|
8968
8971
|
const r = s ? e.filter((n, o) => o % 4 !== 3) : Array.from(e);
|
|
8969
8972
|
return btoa(String.fromCharCode(...r));
|
|
8970
8973
|
} else {
|
|
8971
8974
|
const r = [];
|
|
8972
8975
|
for (let n = 0; n < e.length; n += 4)
|
|
8973
|
-
r.push(
|
|
8976
|
+
r.push(cg(e[n], e[n + 1], e[n + 2]));
|
|
8974
8977
|
return String.fromCharCode(...r);
|
|
8975
8978
|
}
|
|
8976
8979
|
}
|
|
8977
|
-
var
|
|
8978
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
8980
|
+
var dg = Object.defineProperty, ug = Object.getOwnPropertyDescriptor, _a = (e, t, s, r) => {
|
|
8981
|
+
for (var n = r > 1 ? void 0 : r ? ug(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
8979
8982
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
8980
|
-
return r && n &&
|
|
8983
|
+
return r && n && dg(t, s, n), n;
|
|
8981
8984
|
};
|
|
8982
8985
|
const Ia = "canvas-renderer-model";
|
|
8983
8986
|
function ao(e) {
|
|
@@ -9031,7 +9034,7 @@ let zs = class {
|
|
|
9031
9034
|
}
|
|
9032
9035
|
handleFrame(e) {
|
|
9033
9036
|
var s;
|
|
9034
|
-
const t =
|
|
9037
|
+
const t = lg(e, "base64", !0);
|
|
9035
9038
|
this.sendDataFrame(t, this.apiPath), (s = this._onFrame) == null || s.call(this, t);
|
|
9036
9039
|
}
|
|
9037
9040
|
stopStreaming() {
|
|
@@ -9112,7 +9115,7 @@ const Ea = new Ie({
|
|
|
9112
9115
|
class: zs,
|
|
9113
9116
|
type: Ia
|
|
9114
9117
|
});
|
|
9115
|
-
class
|
|
9118
|
+
class hg {
|
|
9116
9119
|
/**
|
|
9117
9120
|
* Constructs a video renderer that will play and extract pixels from the provided source.
|
|
9118
9121
|
*
|
|
@@ -9197,7 +9200,7 @@ class ug {
|
|
|
9197
9200
|
return s - this.lastUpdate >= t ? (this.lastUpdate = s, !0) : !1;
|
|
9198
9201
|
}
|
|
9199
9202
|
}
|
|
9200
|
-
class
|
|
9203
|
+
class fg {
|
|
9201
9204
|
constructor() {
|
|
9202
9205
|
/** The internal offscreen canvas used for rendering */
|
|
9203
9206
|
l(this, "canvas");
|
|
@@ -9252,7 +9255,7 @@ class hg {
|
|
|
9252
9255
|
return n;
|
|
9253
9256
|
}
|
|
9254
9257
|
}
|
|
9255
|
-
class
|
|
9258
|
+
class gg extends fg {
|
|
9256
9259
|
// vertical scroll speed in pixels per update
|
|
9257
9260
|
/**
|
|
9258
9261
|
* Creates a new DropRenderer with the specified scroll speed.
|
|
@@ -9431,8 +9434,8 @@ function _n(e) {
|
|
|
9431
9434
|
}
|
|
9432
9435
|
return t;
|
|
9433
9436
|
}
|
|
9434
|
-
const
|
|
9435
|
-
class
|
|
9437
|
+
const pg = _n(es);
|
|
9438
|
+
class mg extends pg {
|
|
9436
9439
|
constructor({
|
|
9437
9440
|
colors: s = ["red", "yellow", "green"],
|
|
9438
9441
|
direction: r = "horizontal",
|
|
@@ -9460,8 +9463,8 @@ class pg extends gg {
|
|
|
9460
9463
|
}), this.ctx.fillStyle = i, this.ctx.fillRect(0, 0, s, r), !this.loop && !this.isOneShotDone && this.signalDoneIfNeeded();
|
|
9461
9464
|
}
|
|
9462
9465
|
}
|
|
9463
|
-
const
|
|
9464
|
-
class
|
|
9466
|
+
const yg = _n(es);
|
|
9467
|
+
class bg extends yg {
|
|
9465
9468
|
constructor({ src: s }) {
|
|
9466
9469
|
super();
|
|
9467
9470
|
l(this, "img");
|
|
@@ -9477,7 +9480,7 @@ class yg extends mg {
|
|
|
9477
9480
|
!this.loaded || this.isOneShotDone || (this.canvas.width = s, this.canvas.height = r, this.ctx.drawImage(this.img, 0, 0, s, r), this.signalDoneIfNeeded());
|
|
9478
9481
|
}
|
|
9479
9482
|
}
|
|
9480
|
-
class
|
|
9483
|
+
class wg extends es {
|
|
9481
9484
|
/**
|
|
9482
9485
|
* Constructs a Matrix-style renderer.
|
|
9483
9486
|
*
|
|
@@ -9526,8 +9529,8 @@ class bg extends es {
|
|
|
9526
9529
|
this.ctx.putImageData(n, 0, 0);
|
|
9527
9530
|
}
|
|
9528
9531
|
}
|
|
9529
|
-
const
|
|
9530
|
-
class
|
|
9532
|
+
const vg = _n(es);
|
|
9533
|
+
class Mg extends vg {
|
|
9531
9534
|
constructor({ r: s, g: r, b: n } = { r: 0, g: 0, b: 0 }) {
|
|
9532
9535
|
super();
|
|
9533
9536
|
l(this, "color");
|
|
@@ -9543,7 +9546,7 @@ class vg extends wg {
|
|
|
9543
9546
|
this.isOneShotDone || (this.canvas.width = s, this.canvas.height = r, this.ctx.fillStyle = this.color, this.ctx.fillRect(0, 0, s, r), this.signalDoneIfNeeded());
|
|
9544
9547
|
}
|
|
9545
9548
|
}
|
|
9546
|
-
class
|
|
9549
|
+
class _g extends es {
|
|
9547
9550
|
/**
|
|
9548
9551
|
* Constructs a sweep renderer.
|
|
9549
9552
|
*
|
|
@@ -9619,19 +9622,19 @@ sn(ve, {
|
|
|
9619
9622
|
return s ? new s(t) : null;
|
|
9620
9623
|
}
|
|
9621
9624
|
});
|
|
9622
|
-
S.canvas.registerRenderer("video",
|
|
9623
|
-
S[ve].register("image",
|
|
9625
|
+
S.canvas.registerRenderer("video", hg);
|
|
9626
|
+
S[ve].register("image", bg);
|
|
9624
9627
|
S[ve].register(
|
|
9625
9628
|
"color",
|
|
9626
|
-
|
|
9629
|
+
Mg
|
|
9627
9630
|
);
|
|
9628
|
-
S[ve].register("matrix",
|
|
9629
|
-
S[ve].register("sweep",
|
|
9631
|
+
S[ve].register("matrix", wg);
|
|
9632
|
+
S[ve].register("sweep", _g);
|
|
9630
9633
|
S[ve].register(
|
|
9631
9634
|
"gradient",
|
|
9632
|
-
|
|
9635
|
+
mg
|
|
9633
9636
|
);
|
|
9634
|
-
S[ve].register("drop",
|
|
9637
|
+
S[ve].register("drop", gg);
|
|
9635
9638
|
const lo = ({
|
|
9636
9639
|
mode: e,
|
|
9637
9640
|
data: t
|
|
@@ -9641,13 +9644,13 @@ const lo = ({
|
|
|
9641
9644
|
return s;
|
|
9642
9645
|
throw new Error(`Unknown mode: ${e}`);
|
|
9643
9646
|
};
|
|
9644
|
-
var
|
|
9645
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
9647
|
+
var Ig = Object.defineProperty, Eg = Object.getOwnPropertyDescriptor, In = (e, t, s, r) => {
|
|
9648
|
+
for (var n = r > 1 ? void 0 : r ? Eg(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
9646
9649
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
9647
|
-
return r && n &&
|
|
9650
|
+
return r && n && Ig(t, s, n), n;
|
|
9648
9651
|
};
|
|
9649
9652
|
const $a = "canvas-dispatcher-model";
|
|
9650
|
-
function
|
|
9653
|
+
function $g(e) {
|
|
9651
9654
|
if (e = e.replace(/^#/, ""), e.length === 3 && (e = e.split("").map((s) => s + s).join("")), e.length !== 6)
|
|
9652
9655
|
return null;
|
|
9653
9656
|
const t = parseInt(e, 16);
|
|
@@ -9734,7 +9737,7 @@ let Ut = class {
|
|
|
9734
9737
|
"/api/ui/canvas/color/:endpoint/:color",
|
|
9735
9738
|
async (r, n) => {
|
|
9736
9739
|
var f, p, b;
|
|
9737
|
-
const o = r.params.color, i =
|
|
9740
|
+
const o = r.params.color, i = $g(o);
|
|
9738
9741
|
if (!i) {
|
|
9739
9742
|
(f = n.status) == null || f.call(n, 400).send({ error: "Invalid color format" });
|
|
9740
9743
|
return;
|
|
@@ -9805,17 +9808,17 @@ const jt = new Re({
|
|
|
9805
9808
|
return Vs.error(`Error fetching device serial number: ${e.payload.error}`), [e.payload.error, void 0];
|
|
9806
9809
|
}
|
|
9807
9810
|
return ["unknownError", void 0];
|
|
9808
|
-
},
|
|
9811
|
+
}, Ub = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9809
9812
|
__proto__: null,
|
|
9810
9813
|
getDeviceDetails: Sa,
|
|
9811
9814
|
getSerialNumber: Oa
|
|
9812
9815
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9813
|
-
var
|
|
9814
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
9816
|
+
var Tg = Object.defineProperty, Og = Object.getOwnPropertyDescriptor, Da = (e, t, s, r) => {
|
|
9817
|
+
for (var n = r > 1 ? void 0 : r ? Og(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
9815
9818
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
9816
|
-
return r && n &&
|
|
9819
|
+
return r && n && Tg(t, s, n), n;
|
|
9817
9820
|
};
|
|
9818
|
-
const Aa = "device-model",
|
|
9821
|
+
const Aa = "device-model", Sg = "/kos/criticalData/changed", Dg = "/kos/criticalData/available";
|
|
9819
9822
|
let Ys = class {
|
|
9820
9823
|
constructor(e, t, s) {
|
|
9821
9824
|
l(this, "id");
|
|
@@ -9887,7 +9890,7 @@ let Ys = class {
|
|
|
9887
9890
|
};
|
|
9888
9891
|
Da([
|
|
9889
9892
|
F({
|
|
9890
|
-
topic: [
|
|
9893
|
+
topic: [Sg, Dg],
|
|
9891
9894
|
websocket: !0
|
|
9892
9895
|
})
|
|
9893
9896
|
], Ys.prototype, "handleCriticalDataChanged", 1);
|
|
@@ -9898,10 +9901,10 @@ const Kr = new Re({
|
|
|
9898
9901
|
class: Ys,
|
|
9899
9902
|
type: Aa
|
|
9900
9903
|
});
|
|
9901
|
-
var
|
|
9902
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
9904
|
+
var Ag = Object.defineProperty, Cg = Object.getOwnPropertyDescriptor, Pg = (e, t, s, r) => {
|
|
9905
|
+
for (var n = r > 1 ? void 0 : r ? Cg(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
9903
9906
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
9904
|
-
return r && n &&
|
|
9907
|
+
return r && n && Ag(t, s, n), n;
|
|
9905
9908
|
};
|
|
9906
9909
|
const Ca = "network-interface-model";
|
|
9907
9910
|
let Hr = class {
|
|
@@ -9931,35 +9934,35 @@ let Hr = class {
|
|
|
9931
9934
|
this.logger.debug(`loading network-interface ${this.id}`);
|
|
9932
9935
|
}
|
|
9933
9936
|
};
|
|
9934
|
-
Hr =
|
|
9937
|
+
Hr = Pg([
|
|
9935
9938
|
A(Ca)
|
|
9936
9939
|
], Hr);
|
|
9937
9940
|
const Pa = new Ie({
|
|
9938
9941
|
class: Hr,
|
|
9939
9942
|
type: Ca
|
|
9940
|
-
}), { URL:
|
|
9941
|
-
basePath: `${
|
|
9943
|
+
}), { URL: Rg } = le(), { getAll: Lg } = ne.build({
|
|
9944
|
+
basePath: `${Rg}/api/kos/network/interfaces`
|
|
9942
9945
|
}), uo = g.createLogger({
|
|
9943
9946
|
name: "network-interface-service",
|
|
9944
9947
|
group: "Services"
|
|
9945
9948
|
}), Ra = async () => {
|
|
9946
9949
|
uo.debug("sending GET for copy-logs");
|
|
9947
9950
|
try {
|
|
9948
|
-
const e = await
|
|
9951
|
+
const e = await Lg({});
|
|
9949
9952
|
return [void 0, e == null ? void 0 : e.data];
|
|
9950
9953
|
} catch (e) {
|
|
9951
9954
|
if (e instanceof fe)
|
|
9952
9955
|
return uo.error(`Error fetching log file size: ${e.payload.error}`), [e.payload.error, void 0];
|
|
9953
9956
|
}
|
|
9954
9957
|
return ["unknownError", void 0];
|
|
9955
|
-
},
|
|
9958
|
+
}, jb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9956
9959
|
__proto__: null,
|
|
9957
9960
|
getNetworkInterfaces: Ra
|
|
9958
9961
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9959
|
-
var
|
|
9960
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
9962
|
+
var xg = Object.defineProperty, Fg = Object.getOwnPropertyDescriptor, La = (e, t, s, r) => {
|
|
9963
|
+
for (var n = r > 1 ? void 0 : r ? Fg(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
9961
9964
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
9962
|
-
return r && n &&
|
|
9965
|
+
return r && n && xg(t, s, n), n;
|
|
9963
9966
|
};
|
|
9964
9967
|
const xa = "network-interface-container-model";
|
|
9965
9968
|
let qs = class {
|
|
@@ -10026,23 +10029,23 @@ const Ws = new Re({
|
|
|
10026
10029
|
type: xa
|
|
10027
10030
|
});
|
|
10028
10031
|
Ws.addRelatedModel(Pa);
|
|
10029
|
-
const { URL:
|
|
10030
|
-
basePath: `${
|
|
10032
|
+
const { URL: kg } = le(), { getAll: Ng } = ne.build({
|
|
10033
|
+
basePath: `${kg}/api/kos/storage/devices`
|
|
10031
10034
|
}), ho = g.createLogger({
|
|
10032
10035
|
name: "storage-device-service",
|
|
10033
10036
|
group: "Services"
|
|
10034
10037
|
}), Fa = async () => {
|
|
10035
10038
|
ho.debug("sending GET for storage-device");
|
|
10036
|
-
const e = await
|
|
10039
|
+
const e = await Ng({});
|
|
10037
10040
|
return !(e != null && e.data) || e.status !== 200 ? (ho.error("Failed to retrieve storage-device data", e), []) : e.data;
|
|
10038
|
-
},
|
|
10041
|
+
}, Bb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10039
10042
|
__proto__: null,
|
|
10040
10043
|
getStorageDevices: Fa
|
|
10041
10044
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10042
|
-
var
|
|
10043
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
10045
|
+
var Ug = Object.defineProperty, jg = Object.getOwnPropertyDescriptor, Bg = (e, t, s, r) => {
|
|
10046
|
+
for (var n = r > 1 ? void 0 : r ? jg(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
10044
10047
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
10045
|
-
return r && n &&
|
|
10048
|
+
return r && n && Ug(t, s, n), n;
|
|
10046
10049
|
};
|
|
10047
10050
|
const ka = "storage-device-model";
|
|
10048
10051
|
let Gr = class {
|
|
@@ -10071,7 +10074,7 @@ let Gr = class {
|
|
|
10071
10074
|
this.logger.debug(`loading storage-device ${this.id}`);
|
|
10072
10075
|
}
|
|
10073
10076
|
};
|
|
10074
|
-
Gr =
|
|
10077
|
+
Gr = Bg([
|
|
10075
10078
|
rn(),
|
|
10076
10079
|
A(ka)
|
|
10077
10080
|
], Gr);
|
|
@@ -10079,12 +10082,12 @@ const zr = new Ie({
|
|
|
10079
10082
|
class: Gr,
|
|
10080
10083
|
type: ka
|
|
10081
10084
|
});
|
|
10082
|
-
var
|
|
10083
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
10085
|
+
var Kg = Object.defineProperty, Hg = Object.getOwnPropertyDescriptor, $n = (e, t, s, r) => {
|
|
10086
|
+
for (var n = r > 1 ? void 0 : r ? Hg(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
10084
10087
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
10085
|
-
return r && n &&
|
|
10088
|
+
return r && n && Kg(t, s, n), n;
|
|
10086
10089
|
};
|
|
10087
|
-
const Na = "storage-device-container-model",
|
|
10090
|
+
const Na = "storage-device-container-model", Gg = "/kos/storage";
|
|
10088
10091
|
let Bt = class {
|
|
10089
10092
|
constructor(e, t, s) {
|
|
10090
10093
|
l(this, "id");
|
|
@@ -10158,7 +10161,7 @@ $n([
|
|
|
10158
10161
|
], Bt.prototype, "_models", 2);
|
|
10159
10162
|
$n([
|
|
10160
10163
|
F({
|
|
10161
|
-
topic:
|
|
10164
|
+
topic: Gg,
|
|
10162
10165
|
websocket: !0
|
|
10163
10166
|
})
|
|
10164
10167
|
], Bt.prototype, "handleStorageAvailability", 1);
|
|
@@ -10170,19 +10173,19 @@ const Kt = new Re({
|
|
|
10170
10173
|
type: Na
|
|
10171
10174
|
});
|
|
10172
10175
|
Kt.addRelatedModel(zr);
|
|
10173
|
-
const { URL: Tn } = le(), { getAll:
|
|
10176
|
+
const { URL: Tn } = le(), { getAll: zg, postModel: Vg } = ne.build({
|
|
10174
10177
|
basePath: `${Tn}/api/kos/update/available`
|
|
10175
10178
|
}), fo = g.createLogger({
|
|
10176
10179
|
name: "usb-update-service",
|
|
10177
10180
|
group: "Services"
|
|
10178
10181
|
}), Ua = async () => {
|
|
10179
10182
|
fo.debug("sending GET for usb-update");
|
|
10180
|
-
const e = await
|
|
10183
|
+
const e = await zg({
|
|
10181
10184
|
urlOverride: `${Tn}/api/kos/update/available`
|
|
10182
10185
|
});
|
|
10183
10186
|
return !(e != null && e.data) || (e == null ? void 0 : e.status) !== 200 ? (fo.error("Failed to retrieve usb-update data", e), []) : e.data;
|
|
10184
10187
|
}, ja = async (e, t, s) => {
|
|
10185
|
-
const r = await
|
|
10188
|
+
const r = await Vg({
|
|
10186
10189
|
model: {
|
|
10187
10190
|
manifestId: e,
|
|
10188
10191
|
deviceId: t
|
|
@@ -10193,15 +10196,15 @@ const { URL: Tn } = le(), { getAll: Gg, postModel: zg } = ne.build({
|
|
|
10193
10196
|
if (!(r != null && r.data))
|
|
10194
10197
|
throw new Error("No response from server");
|
|
10195
10198
|
return r.data;
|
|
10196
|
-
},
|
|
10199
|
+
}, Kb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10197
10200
|
__proto__: null,
|
|
10198
10201
|
getAvailableUpdates: Ua,
|
|
10199
10202
|
installUpdate: ja
|
|
10200
10203
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10201
|
-
var
|
|
10202
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
10204
|
+
var Yg = Object.defineProperty, qg = Object.getOwnPropertyDescriptor, Ba = (e, t, s, r) => {
|
|
10205
|
+
for (var n = r > 1 ? void 0 : r ? qg(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
10203
10206
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
10204
|
-
return r && n &&
|
|
10207
|
+
return r && n && Yg(t, s, n), n;
|
|
10205
10208
|
};
|
|
10206
10209
|
const Ka = "usb-update-model";
|
|
10207
10210
|
let Zs = class {
|
|
@@ -10251,10 +10254,10 @@ const Ha = new Ie({
|
|
|
10251
10254
|
class: Zs,
|
|
10252
10255
|
type: Ka
|
|
10253
10256
|
});
|
|
10254
|
-
var
|
|
10255
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
10257
|
+
var Wg = Object.defineProperty, Zg = Object.getOwnPropertyDescriptor, ur = (e, t, s, r) => {
|
|
10258
|
+
for (var n = r > 1 ? void 0 : r ? Zg(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
10256
10259
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
10257
|
-
return r && n &&
|
|
10260
|
+
return r && n && Wg(t, s, n), n;
|
|
10258
10261
|
};
|
|
10259
10262
|
const Ga = "usb-update-container-model";
|
|
10260
10263
|
let lt = class {
|
|
@@ -10350,7 +10353,7 @@ const Js = new Re({
|
|
|
10350
10353
|
type: Ga
|
|
10351
10354
|
});
|
|
10352
10355
|
Js.addRelatedModel(Ha);
|
|
10353
|
-
const
|
|
10356
|
+
const Jg = () => ({ ...{
|
|
10354
10357
|
[Zt.type]: {
|
|
10355
10358
|
class: wh
|
|
10356
10359
|
},
|
|
@@ -10370,12 +10373,12 @@ const Zg = () => ({ ...{
|
|
|
10370
10373
|
...Ks.registration,
|
|
10371
10374
|
...ga.registration,
|
|
10372
10375
|
...Rr.registration
|
|
10373
|
-
} }), za =
|
|
10376
|
+
} }), za = Jg(), Hb = {
|
|
10374
10377
|
models: za,
|
|
10375
10378
|
preloadModels: []
|
|
10376
|
-
},
|
|
10379
|
+
}, Qg = !0, Xg = (e) => () => {
|
|
10377
10380
|
const t = za;
|
|
10378
|
-
return Hd(go)(js).model(kt).model(Kt).model(Js).model(Kr).model(Fr).model(Ps).model(Nr).model(ji).model(Ws).model(jt).model(Ea).model(fn,
|
|
10381
|
+
return Hd(go)(js).model(kt).model(Kt).model(Js).model(Kr).model(Fr).model(Ps).model(Nr).model(ji).model(Ws).model(jt).model(Ea).model(fn, Qg).model(ar), Object.keys(t).forEach((s) => {
|
|
10379
10382
|
const r = t[s];
|
|
10380
10383
|
Kd(go)(s, r);
|
|
10381
10384
|
}), {
|
|
@@ -10386,14 +10389,14 @@ const Zg = () => ({ ...{
|
|
|
10386
10389
|
};
|
|
10387
10390
|
}, ge = {};
|
|
10388
10391
|
ge.core = {
|
|
10389
|
-
models:
|
|
10392
|
+
models: Xg(ge)
|
|
10390
10393
|
};
|
|
10391
10394
|
ge.preload = D.model.preloadModel(ge);
|
|
10392
10395
|
ge.model = D.model.register(ge);
|
|
10393
10396
|
ge.companion = D.companion.register(ge);
|
|
10394
10397
|
ge.legacy = D.model.registerLegacyModel(ge);
|
|
10395
10398
|
const go = ge;
|
|
10396
|
-
class
|
|
10399
|
+
class Gb {
|
|
10397
10400
|
/**
|
|
10398
10401
|
* Maps the rank property of the trouble into the {@link TroubleModel}
|
|
10399
10402
|
* */
|
|
@@ -10455,7 +10458,7 @@ class hr {
|
|
|
10455
10458
|
this.future && await this.future.cancelFuture();
|
|
10456
10459
|
}
|
|
10457
10460
|
}
|
|
10458
|
-
function
|
|
10461
|
+
function zb(e) {
|
|
10459
10462
|
const t = new hr(e);
|
|
10460
10463
|
e.futureHandler = t.futureHandler, Object.defineProperty(e, "_futureMixin", {
|
|
10461
10464
|
value: t,
|
|
@@ -10464,7 +10467,7 @@ function Gb(e) {
|
|
|
10464
10467
|
writable: !1
|
|
10465
10468
|
});
|
|
10466
10469
|
}
|
|
10467
|
-
function
|
|
10470
|
+
function ep(e) {
|
|
10468
10471
|
const t = new hr(e), s = e;
|
|
10469
10472
|
s.futureHandler = t.futureHandler, Object.defineProperty(e, "_futureMixin", {
|
|
10470
10473
|
value: t,
|
|
@@ -10509,12 +10512,12 @@ function Xg(e) {
|
|
|
10509
10512
|
configurable: !0
|
|
10510
10513
|
}), s.cancelFuture = async () => t.cancelFuture();
|
|
10511
10514
|
}
|
|
10512
|
-
function
|
|
10515
|
+
function Vb() {
|
|
10513
10516
|
return function(e) {
|
|
10514
10517
|
const t = e;
|
|
10515
10518
|
function s(...r) {
|
|
10516
10519
|
const n = t.apply(this, r) || this;
|
|
10517
|
-
return
|
|
10520
|
+
return ep(n), n;
|
|
10518
10521
|
}
|
|
10519
10522
|
return s.prototype = t.prototype, Object.setPrototypeOf(s, t), Object.getOwnPropertyNames(t).forEach((r) => {
|
|
10520
10523
|
if (r !== "prototype" && r !== "length" && r !== "name") {
|
|
@@ -10527,10 +10530,10 @@ function zb() {
|
|
|
10527
10530
|
}), s;
|
|
10528
10531
|
};
|
|
10529
10532
|
}
|
|
10530
|
-
function
|
|
10533
|
+
function Yb(e) {
|
|
10531
10534
|
return new hr(e);
|
|
10532
10535
|
}
|
|
10533
|
-
function
|
|
10536
|
+
function qb(e) {
|
|
10534
10537
|
let t;
|
|
10535
10538
|
const s = () => (t || (t = new hr(e())), t);
|
|
10536
10539
|
return {
|
|
@@ -10557,10 +10560,10 @@ function Yb(e) {
|
|
|
10557
10560
|
}
|
|
10558
10561
|
};
|
|
10559
10562
|
}
|
|
10560
|
-
function
|
|
10563
|
+
function Wb(e) {
|
|
10561
10564
|
return e && typeof e == "object" && "futureHandler" in e && "future" in e && "_futureMixin" in e && typeof e.cancelFuture == "function";
|
|
10562
10565
|
}
|
|
10563
|
-
function
|
|
10566
|
+
function Zb(e) {
|
|
10564
10567
|
const t = [
|
|
10565
10568
|
"future",
|
|
10566
10569
|
"progress",
|
|
@@ -10586,7 +10589,7 @@ function Wb(e) {
|
|
|
10586
10589
|
}
|
|
10587
10590
|
return s;
|
|
10588
10591
|
}
|
|
10589
|
-
class
|
|
10592
|
+
class tp {
|
|
10590
10593
|
constructor(t, s) {
|
|
10591
10594
|
l(this, "parent");
|
|
10592
10595
|
l(this, "companion");
|
|
@@ -10665,8 +10668,8 @@ class ep {
|
|
|
10665
10668
|
}
|
|
10666
10669
|
}
|
|
10667
10670
|
}
|
|
10668
|
-
function
|
|
10669
|
-
const r = new
|
|
10671
|
+
function Jb(e, t, s = {}) {
|
|
10672
|
+
const r = new tp(e, t);
|
|
10670
10673
|
return e.getParent = () => r.getParent(), Object.defineProperty(e, "_companionMixin", {
|
|
10671
10674
|
value: r,
|
|
10672
10675
|
enumerable: !1,
|
|
@@ -10674,14 +10677,14 @@ function Zb(e, t, s = {}) {
|
|
|
10674
10677
|
writable: !1
|
|
10675
10678
|
}), r.setupProxy(s), r;
|
|
10676
10679
|
}
|
|
10677
|
-
function
|
|
10680
|
+
function sp(e) {
|
|
10678
10681
|
return e && typeof e == "object" && "_companionMixin" in e && typeof e.getParent == "function";
|
|
10679
10682
|
}
|
|
10680
|
-
function
|
|
10681
|
-
return
|
|
10683
|
+
function rp(e) {
|
|
10684
|
+
return sp(e) ? e._companionMixin : null;
|
|
10682
10685
|
}
|
|
10683
|
-
function
|
|
10684
|
-
const t =
|
|
10686
|
+
function Qb(e) {
|
|
10687
|
+
const t = rp(e);
|
|
10685
10688
|
if (!t)
|
|
10686
10689
|
return { error: "No companion mixin found" };
|
|
10687
10690
|
const s = t.getParent(), r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertyNames(s), o = r.filter(
|
|
@@ -10694,7 +10697,7 @@ function Jb(e) {
|
|
|
10694
10697
|
proxiedCount: o.length
|
|
10695
10698
|
};
|
|
10696
10699
|
}
|
|
10697
|
-
const
|
|
10700
|
+
const Xb = async (e, t) => {
|
|
10698
10701
|
const s = ji.instance(e).options({}).build(), r = t ? `${t}-` : "";
|
|
10699
10702
|
return await de(s), {
|
|
10700
10703
|
getState: (n) => s.data[`${r}${n}`],
|
|
@@ -10709,14 +10712,14 @@ const Qb = async (e, t) => {
|
|
|
10709
10712
|
nt(s);
|
|
10710
10713
|
}
|
|
10711
10714
|
};
|
|
10712
|
-
}, Va = "kos:service:region", Ya = "regionId",
|
|
10713
|
-
const t = gt.factory(
|
|
10715
|
+
}, Va = "kos:service:region", Ya = "regionId", np = `${Va}-${Ya}`, op = async (e) => {
|
|
10716
|
+
const t = gt.factory(np)({
|
|
10714
10717
|
path: Va,
|
|
10715
10718
|
attribute: Ya
|
|
10716
10719
|
});
|
|
10717
10720
|
await de(t), t.updateProperty(e);
|
|
10718
|
-
}, qa = "/kos-timer-event", Wa = "/kos-timer-event/tick", Za = "defaultTimerEnd", Ot = g.createLogger({ name: "timer-manager" }),
|
|
10719
|
-
class
|
|
10721
|
+
}, qa = "/kos-timer-event", Wa = "/kos-timer-event/tick", Za = "defaultTimerEnd", Ot = g.createLogger({ name: "timer-manager" }), ip = (e) => e.updateProperty !== void 0;
|
|
10722
|
+
class ap {
|
|
10720
10723
|
/**
|
|
10721
10724
|
* Creates a new timer.
|
|
10722
10725
|
* @param name - The name of the timer.
|
|
@@ -10733,7 +10736,7 @@ class ip {
|
|
|
10733
10736
|
l(this, "timeoutActions", /* @__PURE__ */ new Map());
|
|
10734
10737
|
this.name = t;
|
|
10735
10738
|
const n = typeof s == "number" ? s : s.value || 60;
|
|
10736
|
-
this.timeout = n, this.state = "inactive", this.remainingTime = n,
|
|
10739
|
+
this.timeout = n, this.state = "inactive", this.remainingTime = n, ip(s) && G(() => {
|
|
10737
10740
|
g.info(
|
|
10738
10741
|
`Updating config value timer ${t} with new timeout value ${s.value}`
|
|
10739
10742
|
);
|
|
@@ -10849,7 +10852,7 @@ const St = /* @__PURE__ */ new Map(), We = (e, t) => {
|
|
|
10849
10852
|
return;
|
|
10850
10853
|
}
|
|
10851
10854
|
t(s);
|
|
10852
|
-
},
|
|
10855
|
+
}, cp = {
|
|
10853
10856
|
/**
|
|
10854
10857
|
* Creates a new timer with a timeout relative to the current date.
|
|
10855
10858
|
* @param name - The name of the timer
|
|
@@ -10871,7 +10874,7 @@ const St = /* @__PURE__ */ new Map(), We = (e, t) => {
|
|
|
10871
10874
|
createTimer(e, t = 60, s) {
|
|
10872
10875
|
if (St.has(e))
|
|
10873
10876
|
return St.get(e);
|
|
10874
|
-
const r = new
|
|
10877
|
+
const r = new ap(e, t, s);
|
|
10875
10878
|
return St.set(e, r), r;
|
|
10876
10879
|
},
|
|
10877
10880
|
/**
|
|
@@ -10926,13 +10929,13 @@ const St = /* @__PURE__ */ new Map(), We = (e, t) => {
|
|
|
10926
10929
|
startTimer(e) {
|
|
10927
10930
|
We(e, (t) => t.start());
|
|
10928
10931
|
}
|
|
10929
|
-
}, Ja = "kos:service:region:settings", Qa = "timeZone",
|
|
10930
|
-
const t = gt.factory(
|
|
10932
|
+
}, Ja = "kos:service:region:settings", Qa = "timeZone", lp = `${Ja}-${Qa}`, po = async (e) => {
|
|
10933
|
+
const t = gt.factory(lp)({
|
|
10931
10934
|
path: Ja,
|
|
10932
10935
|
attribute: Qa
|
|
10933
10936
|
});
|
|
10934
10937
|
await de(t), t.updateProperty(e);
|
|
10935
|
-
},
|
|
10938
|
+
}, dp = (e) => !e || !e.data;
|
|
10936
10939
|
function Xa(e = {}) {
|
|
10937
10940
|
const { alias: t, namespace: s, abortController: r = !1 } = e;
|
|
10938
10941
|
return (n, o, i) => {
|
|
@@ -10983,7 +10986,7 @@ function Xa(e = {}) {
|
|
|
10983
10986
|
await a.apply(this, y)
|
|
10984
10987
|
);
|
|
10985
10988
|
g.debug(`received future response for ${u}`, w);
|
|
10986
|
-
const I =
|
|
10989
|
+
const I = dp(w) ? w : w == null ? void 0 : w.data;
|
|
10987
10990
|
return I ? (I.progress = 1, g.debug("mapping future response to future model"), p.endState ? g.debug(
|
|
10988
10991
|
`future ${p.id} has already completed. Not updating the model`
|
|
10989
10992
|
) : Di(I, p)) : this.futureHandler.removeFuture(t), b(), I;
|
|
@@ -11000,7 +11003,7 @@ function Xa(e = {}) {
|
|
|
11000
11003
|
};
|
|
11001
11004
|
};
|
|
11002
11005
|
}
|
|
11003
|
-
const
|
|
11006
|
+
const ew = ({ path: e }) => (t, s) => {
|
|
11004
11007
|
t[N] = t[N] || {}, t[N][s] = {
|
|
11005
11008
|
modelType: Ks.type,
|
|
11006
11009
|
id: `${Ks.type}-${e}`,
|
|
@@ -11010,7 +11013,7 @@ const Xb = ({ path: e }) => (t, s) => {
|
|
|
11010
11013
|
lifecycle: V.INIT
|
|
11011
11014
|
};
|
|
11012
11015
|
};
|
|
11013
|
-
function
|
|
11016
|
+
function tw(e) {
|
|
11014
11017
|
const { path: t, attribute: s } = e;
|
|
11015
11018
|
return (r, n) => {
|
|
11016
11019
|
r[N] = r[N] || {}, r[N][n] = {
|
|
@@ -11024,7 +11027,7 @@ function ew(e) {
|
|
|
11024
11027
|
};
|
|
11025
11028
|
};
|
|
11026
11029
|
}
|
|
11027
|
-
const tt = g.createLogger({ name: "services", group: "Services" }),
|
|
11030
|
+
const tt = g.createLogger({ name: "services", group: "Services" }), sw = async (e, t) => up(e, t, `${ce}/api/server/login`), up = async (e, t, s = `${ce}/api/login`) => {
|
|
11028
11031
|
const r = await Ee(`${s}`, {
|
|
11029
11032
|
method: "POST",
|
|
11030
11033
|
destinationAddress: "",
|
|
@@ -11038,7 +11041,7 @@ const tt = g.createLogger({ name: "services", group: "Services" }), tw = async (
|
|
|
11038
11041
|
throw Error(`${o == null ? void 0 : o.error}`);
|
|
11039
11042
|
}
|
|
11040
11043
|
return await r.json();
|
|
11041
|
-
},
|
|
11044
|
+
}, rw = async (e) => hp(e, `${ce}/api/server/startPasswordReset`, ""), hp = async (e, t = `${ce}/api/startPasswordReset`, s = "server") => {
|
|
11042
11045
|
const r = await Ee(`${t}?email=${e}`, {
|
|
11043
11046
|
method: "POST",
|
|
11044
11047
|
destinationAddress: s
|
|
@@ -11048,7 +11051,7 @@ const tt = g.createLogger({ name: "services", group: "Services" }), tw = async (
|
|
|
11048
11051
|
`There was a problem reseting config; returned status ${r.status}`
|
|
11049
11052
|
);
|
|
11050
11053
|
return await r.json();
|
|
11051
|
-
},
|
|
11054
|
+
}, nw = async (e, t) => fp(e, t, `${ce}/api/server/resetPassword`), fp = async (e, t, s = `${ce}/api/resetPassword`) => {
|
|
11052
11055
|
tt.debug(
|
|
11053
11056
|
`resetting password with token ${e} and password ${t.replace(
|
|
11054
11057
|
/./g,
|
|
@@ -11071,12 +11074,12 @@ const tt = g.createLogger({ name: "services", group: "Services" }), tw = async (
|
|
|
11071
11074
|
);
|
|
11072
11075
|
}
|
|
11073
11076
|
return await r.json();
|
|
11074
|
-
},
|
|
11077
|
+
}, ow = async (e, t, s) => gp(
|
|
11075
11078
|
e,
|
|
11076
11079
|
t,
|
|
11077
11080
|
s,
|
|
11078
11081
|
`${ce}/api/server/acceptInvite`
|
|
11079
|
-
),
|
|
11082
|
+
), gp = async (e, t, s, r = `${ce}/api/server/acceptInvite`) => {
|
|
11080
11083
|
tt.debug(
|
|
11081
11084
|
`accepting invite with token ${e} and password ${t.replace(
|
|
11082
11085
|
/./g,
|
|
@@ -11101,7 +11104,7 @@ const tt = g.createLogger({ name: "services", group: "Services" }), tw = async (
|
|
|
11101
11104
|
}
|
|
11102
11105
|
return await n.json();
|
|
11103
11106
|
};
|
|
11104
|
-
function
|
|
11107
|
+
function iw(e, t, s, r) {
|
|
11105
11108
|
const n = e instanceof Promise ? { promise: e, abortController: t, cancelFuture: s, future: r } : e, {
|
|
11106
11109
|
promise: o,
|
|
11107
11110
|
abortController: i,
|
|
@@ -11147,7 +11150,7 @@ function ow(e, t, s, r) {
|
|
|
11147
11150
|
enumerable: !0
|
|
11148
11151
|
}), d.onProgressUpdate = (y) => (p.add(y), y(u, h), () => p.delete(y)), d;
|
|
11149
11152
|
}
|
|
11150
|
-
const
|
|
11153
|
+
const pp = $c`
|
|
11151
11154
|
0% {
|
|
11152
11155
|
left: -90px;
|
|
11153
11156
|
color: #eee;
|
|
@@ -11159,23 +11162,23 @@ const gp = $c`
|
|
|
11159
11162
|
left: 90px;
|
|
11160
11163
|
color: #eee;
|
|
11161
11164
|
}
|
|
11162
|
-
`,
|
|
11165
|
+
`, mp = Ze`
|
|
11163
11166
|
font-size: 100px;
|
|
11164
11167
|
margin-top: -80px;
|
|
11165
11168
|
position: relative;
|
|
11166
|
-
animation: ${
|
|
11169
|
+
animation: ${pp} ease-in-out infinite alternate;
|
|
11167
11170
|
animation-duration: 1.2s;
|
|
11168
|
-
`,
|
|
11169
|
-
function
|
|
11171
|
+
`, yp = ({ children: e }) => $o(e, document.body);
|
|
11172
|
+
function bp({
|
|
11170
11173
|
message: e = "Wait a moment while we load your app.",
|
|
11171
11174
|
theme: t = "light"
|
|
11172
11175
|
}) {
|
|
11173
|
-
return /* @__PURE__ */ v(
|
|
11176
|
+
return /* @__PURE__ */ v(yp, { children: /* @__PURE__ */ Pt(wp, { theme: t, children: [
|
|
11174
11177
|
e,
|
|
11175
|
-
/* @__PURE__ */ v("div", { css:
|
|
11178
|
+
/* @__PURE__ */ v("div", { css: mp, children: "." })
|
|
11176
11179
|
] }) });
|
|
11177
11180
|
}
|
|
11178
|
-
const
|
|
11181
|
+
const wp = qr.div`
|
|
11179
11182
|
padding-inline: 20px;
|
|
11180
11183
|
width: 100%;
|
|
11181
11184
|
height: 100vh;
|
|
@@ -11190,7 +11193,7 @@ const bp = qr.div`
|
|
|
11190
11193
|
color: ${({ theme: e }) => e === "light" ? "black" : "white"};
|
|
11191
11194
|
z-index: 10000;
|
|
11192
11195
|
`;
|
|
11193
|
-
class
|
|
11196
|
+
class vp extends He.Component {
|
|
11194
11197
|
constructor(t) {
|
|
11195
11198
|
super(t), this.state = { error: null, errorInfo: null };
|
|
11196
11199
|
}
|
|
@@ -11211,11 +11214,11 @@ class wp extends He.Component {
|
|
|
11211
11214
|
] }) : this.props.children;
|
|
11212
11215
|
}
|
|
11213
11216
|
}
|
|
11214
|
-
const
|
|
11217
|
+
const Mp = {
|
|
11215
11218
|
normal: "#B5F7F6",
|
|
11216
11219
|
warn: "#F3D78A",
|
|
11217
11220
|
error: "#FC8486"
|
|
11218
|
-
},
|
|
11221
|
+
}, aw = ({
|
|
11219
11222
|
value: e = 0,
|
|
11220
11223
|
title: t,
|
|
11221
11224
|
status: s = "normal",
|
|
@@ -11241,7 +11244,7 @@ const vp = {
|
|
|
11241
11244
|
`, a = Ze`
|
|
11242
11245
|
width: ${e}%;
|
|
11243
11246
|
height: 35px;
|
|
11244
|
-
background-color: ${
|
|
11247
|
+
background-color: ${Mp[s]};
|
|
11245
11248
|
text-align: center;
|
|
11246
11249
|
line-height: 32px;
|
|
11247
11250
|
color: black;
|
|
@@ -11267,14 +11270,14 @@ const vp = {
|
|
|
11267
11270
|
] }),
|
|
11268
11271
|
/* @__PURE__ */ v("div", { children: r })
|
|
11269
11272
|
] });
|
|
11270
|
-
},
|
|
11273
|
+
}, _p = {
|
|
11271
11274
|
setModel: () => !1
|
|
11272
|
-
}, On = Vt(
|
|
11275
|
+
}, On = Vt(_p), cw = () => {
|
|
11273
11276
|
const e = Ue(On);
|
|
11274
11277
|
if (e == null)
|
|
11275
11278
|
throw new Error("useModels must be used within a KosModelProvider");
|
|
11276
11279
|
return e.model;
|
|
11277
|
-
},
|
|
11280
|
+
}, Ip = ({
|
|
11278
11281
|
children: e
|
|
11279
11282
|
}) => {
|
|
11280
11283
|
const [t, s] = M(), r = Z(
|
|
@@ -11282,12 +11285,12 @@ const vp = {
|
|
|
11282
11285
|
[s]
|
|
11283
11286
|
);
|
|
11284
11287
|
return /* @__PURE__ */ v(On.Provider, { value: { model: t, setModel: r }, children: e });
|
|
11285
|
-
}, ec = g.createLogger({ name: "kos-model-hierarchy-context" }),
|
|
11288
|
+
}, ec = g.createLogger({ name: "kos-model-hierarchy-context" }), Ep = {
|
|
11286
11289
|
models: [],
|
|
11287
11290
|
addModel: () => {
|
|
11288
11291
|
ec.debug("Default implementation being used. Do Nothing.");
|
|
11289
11292
|
}
|
|
11290
|
-
}, Sn = Vt(
|
|
11293
|
+
}, Sn = Vt(Ep), lw = ({ children: e }) => {
|
|
11291
11294
|
const [t, s] = M([]), r = Z(
|
|
11292
11295
|
(n) => {
|
|
11293
11296
|
t.includes(n) || (ec.debug("adding to hierarchy context", n.id), s((o) => [...o, n]));
|
|
@@ -11295,29 +11298,29 @@ const vp = {
|
|
|
11295
11298
|
[t]
|
|
11296
11299
|
);
|
|
11297
11300
|
return /* @__PURE__ */ v(Sn.Provider, { value: { models: t, addModel: r }, children: e });
|
|
11298
|
-
},
|
|
11301
|
+
}, $p = () => !0, Tp = (e) => {
|
|
11299
11302
|
const t = Ue(Sn);
|
|
11300
11303
|
if (!t)
|
|
11301
11304
|
throw new Error(
|
|
11302
11305
|
"useContextModelHierarchy must be used within a KosModelCollectionProvider"
|
|
11303
11306
|
);
|
|
11304
|
-
const s = (e == null ? void 0 : e.filter) ||
|
|
11307
|
+
const s = (e == null ? void 0 : e.filter) || $p;
|
|
11305
11308
|
return U(
|
|
11306
11309
|
() => t.models.filter(s),
|
|
11307
11310
|
[t.models, s]
|
|
11308
11311
|
);
|
|
11309
|
-
},
|
|
11312
|
+
}, dw = (e) => Tp({
|
|
11310
11313
|
filter: (s) => {
|
|
11311
11314
|
const r = ht(s.id);
|
|
11312
11315
|
return (r == null ? void 0 : r.type) === e;
|
|
11313
11316
|
}
|
|
11314
|
-
})[0],
|
|
11317
|
+
})[0], Op = g.createLogger({ name: "kos-model-loader" }), Sp = () => /* @__PURE__ */ v("div", {}), Dp = ({ fallback: e, children: t, ...s }) => /* @__PURE__ */ v(Ip, { children: /* @__PURE__ */ v(vp, { fallback: e, children: /* @__PURE__ */ v(Tc, { children: /* @__PURE__ */ v(Ap, { ...s, children: t }) }) }) }), Ap = (e) => {
|
|
11315
11318
|
const [t, s] = M(), [r, n] = M(!1), { setModel: o } = Ue(On), i = Ue(Sn);
|
|
11316
11319
|
if ($(() => {
|
|
11317
11320
|
e.model && (s(e.model), o(e.model), n(!0), i && i.addModel(e.model));
|
|
11318
11321
|
}, [i, e.model, o]), e.error)
|
|
11319
|
-
throw
|
|
11320
|
-
const a = e.loading || /* @__PURE__ */ v(
|
|
11322
|
+
throw Op.error(e.error), new Error(e.error);
|
|
11323
|
+
const a = e.loading || /* @__PURE__ */ v(Sp, {});
|
|
11321
11324
|
return /* @__PURE__ */ v(Ec, { children: t && r ? e.children : a });
|
|
11322
11325
|
}, Ds = {
|
|
11323
11326
|
header: {
|
|
@@ -11330,7 +11333,7 @@ const vp = {
|
|
|
11330
11333
|
cancelText: "Cancel",
|
|
11331
11334
|
title: "Create New Model"
|
|
11332
11335
|
}
|
|
11333
|
-
},
|
|
11336
|
+
}, Cp = He.createContext(Ds), uw = ({
|
|
11334
11337
|
translations: e = Ds,
|
|
11335
11338
|
children: t
|
|
11336
11339
|
}) => {
|
|
@@ -11341,14 +11344,14 @@ const vp = {
|
|
|
11341
11344
|
...e.createModal
|
|
11342
11345
|
}
|
|
11343
11346
|
};
|
|
11344
|
-
return /* @__PURE__ */ v(
|
|
11347
|
+
return /* @__PURE__ */ v(Cp.Provider, { value: s, children: t });
|
|
11345
11348
|
};
|
|
11346
|
-
function
|
|
11349
|
+
function Pp(e, t) {
|
|
11347
11350
|
const s = _.create(e, !1, t), r = s.whenReady().then(() => s);
|
|
11348
11351
|
return Yo(r);
|
|
11349
11352
|
}
|
|
11350
|
-
const tc = He.createContext(void 0),
|
|
11351
|
-
const s =
|
|
11353
|
+
const tc = He.createContext(void 0), hw = (e = { models: {}, preloadModels: [] }, t) => {
|
|
11354
|
+
const s = Pp(e, t);
|
|
11352
11355
|
return { KosCoreContextProvider: To(({ children: n }) => {
|
|
11353
11356
|
const o = s.read(), [i, a] = He.useState(o.isOnline);
|
|
11354
11357
|
return $(() => {
|
|
@@ -11360,17 +11363,17 @@ const tc = He.createContext(void 0), uw = (e = { models: {}, preloadModels: [] }
|
|
|
11360
11363
|
};
|
|
11361
11364
|
}, [o]), /* @__PURE__ */ v(tc.Provider, { value: { kosCore: o, online: i }, children: n });
|
|
11362
11365
|
}) };
|
|
11363
|
-
},
|
|
11366
|
+
}, Rp = () => {
|
|
11364
11367
|
const e = He.useContext(tc);
|
|
11365
11368
|
if (e === void 0)
|
|
11366
11369
|
throw new Error("useKosCore must be used within a KosCoreContextProvider");
|
|
11367
11370
|
return e;
|
|
11368
|
-
},
|
|
11371
|
+
}, Lp = 8, xp = (e = 0) => new Promise((t) => {
|
|
11369
11372
|
setTimeout(() => {
|
|
11370
11373
|
t(!0);
|
|
11371
11374
|
}, 2 ** e * 10);
|
|
11372
11375
|
}), ke = /* @__PURE__ */ new Map();
|
|
11373
|
-
function
|
|
11376
|
+
function Fp(e, t) {
|
|
11374
11377
|
if (ke.has(e)) {
|
|
11375
11378
|
const s = ke.get(e);
|
|
11376
11379
|
if (s.status === "finished") {
|
|
@@ -11390,10 +11393,10 @@ function xp(e, t) {
|
|
|
11390
11393
|
throw ke.set(e, r), s;
|
|
11391
11394
|
}
|
|
11392
11395
|
}
|
|
11393
|
-
function
|
|
11394
|
-
return
|
|
11396
|
+
function kp(e, t) {
|
|
11397
|
+
return Fp(e, t);
|
|
11395
11398
|
}
|
|
11396
|
-
async function
|
|
11399
|
+
async function Np(e, t) {
|
|
11397
11400
|
const { modelId: s, factory: r, modelType: n, options: o, activate: i } = t;
|
|
11398
11401
|
let a = 0;
|
|
11399
11402
|
await e.whenReady();
|
|
@@ -11406,16 +11409,16 @@ async function kp(e, t) {
|
|
|
11406
11409
|
}
|
|
11407
11410
|
const d = e.modelManager.getModelById(s);
|
|
11408
11411
|
if (!d) {
|
|
11409
|
-
if (a >
|
|
11412
|
+
if (a > Lp)
|
|
11410
11413
|
throw Error(`KOS Model ${s} has not been found`);
|
|
11411
|
-
await
|
|
11414
|
+
await xp(a), a = a + 1;
|
|
11412
11415
|
}
|
|
11413
11416
|
return await (d == null ? void 0 : d.whenReady()), d ? (c = d.modelData, { kosModel: d, model: c }) : { kosModel: void 0, model: void 0 };
|
|
11414
11417
|
}
|
|
11415
11418
|
const J = (e) => {
|
|
11416
|
-
const { modelId: t, modelType: s, activate: r, destroyOnUnmount: n } = e, o =
|
|
11419
|
+
const { modelId: t, modelType: s, activate: r, destroyOnUnmount: n } = e, o = Rp(), [i, a] = M(!1), [c, d] = M(), { kosModel: u, model: h } = kp(
|
|
11417
11420
|
t || s || "",
|
|
11418
|
-
() =>
|
|
11421
|
+
() => Np(o.kosCore, e)
|
|
11419
11422
|
);
|
|
11420
11423
|
return $(() => {
|
|
11421
11424
|
async function f() {
|
|
@@ -11472,7 +11475,7 @@ const J = (e) => {
|
|
|
11472
11475
|
ready: i,
|
|
11473
11476
|
error: c
|
|
11474
11477
|
},
|
|
11475
|
-
KosModelLoader:
|
|
11478
|
+
KosModelLoader: Dp
|
|
11476
11479
|
};
|
|
11477
11480
|
}, sc = () => {
|
|
11478
11481
|
const e = Rr.type;
|
|
@@ -11481,10 +11484,10 @@ const J = (e) => {
|
|
|
11481
11484
|
modelType: Rr.type,
|
|
11482
11485
|
options: {}
|
|
11483
11486
|
});
|
|
11484
|
-
}, rc = Vt(void 0),
|
|
11487
|
+
}, rc = Vt(void 0), fw = ({ children: e }) => {
|
|
11485
11488
|
const { model: t, ready: s } = sc(), r = U(() => s && t ? { model: t } : {}, [s, t]);
|
|
11486
11489
|
return /* @__PURE__ */ v(rc.Provider, { value: r, children: e });
|
|
11487
|
-
},
|
|
11490
|
+
}, gw = () => {
|
|
11488
11491
|
const e = Ue(rc);
|
|
11489
11492
|
if (!e)
|
|
11490
11493
|
throw new Error("useKosTimeContext must be used within a KosTimeProvider");
|
|
@@ -11497,7 +11500,7 @@ const J = (e) => {
|
|
|
11497
11500
|
options: {}
|
|
11498
11501
|
});
|
|
11499
11502
|
};
|
|
11500
|
-
function
|
|
11503
|
+
function pw(e) {
|
|
11501
11504
|
return () => (t) => {
|
|
11502
11505
|
const { model: s, status: r, KosModelLoader: n } = nc();
|
|
11503
11506
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, softwareInfo: s }) });
|
|
@@ -11505,24 +11508,24 @@ function gw(e) {
|
|
|
11505
11508
|
}
|
|
11506
11509
|
const oc = Vt(
|
|
11507
11510
|
void 0
|
|
11508
|
-
),
|
|
11511
|
+
), mw = ({ children: e }) => {
|
|
11509
11512
|
const { model: t, ready: s } = nc(), r = U(() => s && t ? { model: t } : {}, [s, t]);
|
|
11510
11513
|
return /* @__PURE__ */ v(oc.Provider, { value: r, children: e });
|
|
11511
|
-
},
|
|
11514
|
+
}, yw = () => {
|
|
11512
11515
|
const e = Ue(oc);
|
|
11513
11516
|
if (!e)
|
|
11514
11517
|
throw new Error(
|
|
11515
11518
|
"useSoftwareInfoContext must be used within a SoftwareInfoProvider"
|
|
11516
11519
|
);
|
|
11517
11520
|
return e;
|
|
11518
|
-
}, ic = new Ou(),
|
|
11519
|
-
function
|
|
11520
|
-
return /* @__PURE__ */ v(
|
|
11521
|
+
}, ic = new Ou(), Up = He.createContext(ic);
|
|
11522
|
+
function bw({ children: e }) {
|
|
11523
|
+
return /* @__PURE__ */ v(Up.Provider, { value: ic, children: e });
|
|
11521
11524
|
}
|
|
11522
|
-
const ac = Vt(void 0),
|
|
11525
|
+
const ac = Vt(void 0), jp = () => {
|
|
11523
11526
|
const e = window.location.origin, t = pe();
|
|
11524
11527
|
return (t == null ? void 0 : t.host) || e;
|
|
11525
|
-
},
|
|
11528
|
+
}, ww = ({
|
|
11526
11529
|
children: e,
|
|
11527
11530
|
appContext: t,
|
|
11528
11531
|
locale: s = "en",
|
|
@@ -11530,10 +11533,10 @@ const ac = Vt(void 0), Up = () => {
|
|
|
11530
11533
|
rootUrl: n,
|
|
11531
11534
|
descriptorResolver: o
|
|
11532
11535
|
}) => {
|
|
11533
|
-
const [i, a] = M(!1), [c, d] = M(), [u, h] = M(), f = n ||
|
|
11536
|
+
const [i, a] = M(!1), [c, d] = M(), [u, h] = M(), f = n || jp(), p = U(() => t ?? "app/system", [t]);
|
|
11534
11537
|
$(() => {
|
|
11535
11538
|
async function w() {
|
|
11536
|
-
const z = (Array.isArray(p) ? p : [p]).map((q) => (o ||
|
|
11539
|
+
const z = (Array.isArray(p) ? p : [p]).map((q) => (o || Vf(q))()), P = (await Promise.allSettled(z)).map((q) => {
|
|
11537
11540
|
if (q.status === "rejected") {
|
|
11538
11541
|
g.warn("Failed to load localization descriptor", q.reason);
|
|
11539
11542
|
return;
|
|
@@ -11555,7 +11558,7 @@ const ac = Vt(void 0), Up = () => {
|
|
|
11555
11558
|
}, [p, o]), $(() => {
|
|
11556
11559
|
async function w() {
|
|
11557
11560
|
if (c) {
|
|
11558
|
-
const I = f, { translations: z } = await
|
|
11561
|
+
const I = f, { translations: z } = await tg.init({
|
|
11559
11562
|
lang: s,
|
|
11560
11563
|
descriptor: c,
|
|
11561
11564
|
defaultNamespace: "common",
|
|
@@ -11577,14 +11580,14 @@ const ac = Vt(void 0), Up = () => {
|
|
|
11577
11580
|
}
|
|
11578
11581
|
}, [i, u]), y = i ? e : null;
|
|
11579
11582
|
return /* @__PURE__ */ v(ac.Provider, { value: b, children: y });
|
|
11580
|
-
},
|
|
11583
|
+
}, vw = () => {
|
|
11581
11584
|
const e = Ue(ac);
|
|
11582
11585
|
if (!e)
|
|
11583
11586
|
throw new Error(
|
|
11584
11587
|
"useTranslationContainerContext must be used within a TranslationContainerProvider"
|
|
11585
11588
|
);
|
|
11586
11589
|
return e;
|
|
11587
|
-
},
|
|
11590
|
+
}, Bp = () => {
|
|
11588
11591
|
const e = jt.type;
|
|
11589
11592
|
return J({
|
|
11590
11593
|
modelId: e,
|
|
@@ -11592,18 +11595,18 @@ const ac = Vt(void 0), Up = () => {
|
|
|
11592
11595
|
options: {}
|
|
11593
11596
|
});
|
|
11594
11597
|
};
|
|
11595
|
-
function
|
|
11598
|
+
function Kp(e) {
|
|
11596
11599
|
return (t) => {
|
|
11597
|
-
const { model: s, status: r, KosModelLoader: n } =
|
|
11600
|
+
const { model: s, status: r, KosModelLoader: n } = Bp();
|
|
11598
11601
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, canvasDispatcher: s }) });
|
|
11599
11602
|
};
|
|
11600
11603
|
}
|
|
11601
|
-
const
|
|
11604
|
+
const Hp = (e, t, s) => {
|
|
11602
11605
|
const r = atob(e), n = new Uint8ClampedArray(t * s * 4);
|
|
11603
11606
|
for (let o = 0, i = 0; o < r.length && i < n.length; o += 3, i += 4)
|
|
11604
11607
|
n[i] = r.charCodeAt(o), n[i + 1] = r.charCodeAt(o + 1), n[i + 2] = r.charCodeAt(o + 2), n[i + 3] = 255;
|
|
11605
11608
|
return n;
|
|
11606
|
-
},
|
|
11609
|
+
}, Gp = (e, t, s) => {
|
|
11607
11610
|
const r = new Uint8ClampedArray(t * s * 4);
|
|
11608
11611
|
for (let n = 0; n < e.length; n++) {
|
|
11609
11612
|
const o = e.charCodeAt(n), i = (o >> 5 & 7) * 255 / 7, a = (o >> 2 & 7) * 255 / 7, c = (o & 3) * 255 / 3, d = n * 4;
|
|
@@ -11611,7 +11614,7 @@ const Kp = (e, t, s) => {
|
|
|
11611
11614
|
}
|
|
11612
11615
|
return r;
|
|
11613
11616
|
};
|
|
11614
|
-
function
|
|
11617
|
+
function zp({
|
|
11615
11618
|
ctx: e,
|
|
11616
11619
|
format: t,
|
|
11617
11620
|
dataString: s,
|
|
@@ -11619,14 +11622,14 @@ function Gp({
|
|
|
11619
11622
|
height: n,
|
|
11620
11623
|
pixelSize: o
|
|
11621
11624
|
}) {
|
|
11622
|
-
const i = t === "base64" ?
|
|
11625
|
+
const i = t === "base64" ? Hp(s, r, n) : Gp(s, r, n), a = new ImageData(i, r, n), c = document.createElement("canvas");
|
|
11623
11626
|
c.width = r, c.height = n;
|
|
11624
11627
|
const d = c.getContext("2d");
|
|
11625
11628
|
d == null || d.putImageData(a, 0, 0), e.imageSmoothingEnabled = !1, e.clearRect(0, 0, r * o, n * o), e.drawImage(c, 0, 0, r * o, n * o);
|
|
11626
11629
|
}
|
|
11627
|
-
const
|
|
11628
|
-
|
|
11629
|
-
const Tr = 10,
|
|
11630
|
+
const Vp = g.createLogger({ name: "canvas-streamer" });
|
|
11631
|
+
Vp.debug("main-view component loaded");
|
|
11632
|
+
const Tr = 10, Yp = To(
|
|
11630
11633
|
({
|
|
11631
11634
|
canvasDispatcher: e,
|
|
11632
11635
|
height: t = 30,
|
|
@@ -11651,7 +11654,7 @@ const Tr = 10, Vp = To(
|
|
|
11651
11654
|
(h) => {
|
|
11652
11655
|
if (a.current && n) {
|
|
11653
11656
|
const f = a.current.getContext("2d");
|
|
11654
|
-
f &&
|
|
11657
|
+
f && zp({
|
|
11655
11658
|
ctx: f,
|
|
11656
11659
|
format: "base64",
|
|
11657
11660
|
dataString: h,
|
|
@@ -11666,7 +11669,7 @@ const Tr = 10, Vp = To(
|
|
|
11666
11669
|
return $(() => {
|
|
11667
11670
|
c && (c.onFrame = u, c.width = s, c.height = t, c.fps = r);
|
|
11668
11671
|
}, [c, u, s, t, r]), n && $o(
|
|
11669
|
-
/* @__PURE__ */ v(
|
|
11672
|
+
/* @__PURE__ */ v(qp, { children: /* @__PURE__ */ v(Wp, { children: /* @__PURE__ */ v(
|
|
11670
11673
|
"canvas",
|
|
11671
11674
|
{
|
|
11672
11675
|
ref: a,
|
|
@@ -11678,7 +11681,7 @@ const Tr = 10, Vp = To(
|
|
|
11678
11681
|
document.body
|
|
11679
11682
|
);
|
|
11680
11683
|
}
|
|
11681
|
-
),
|
|
11684
|
+
), Mw = Kp(Yp), qp = qr.div`
|
|
11682
11685
|
display: flex;
|
|
11683
11686
|
flex-direction: column;
|
|
11684
11687
|
gap: 8px;
|
|
@@ -11686,11 +11689,11 @@ const Tr = 10, Vp = To(
|
|
|
11686
11689
|
width: 100%;
|
|
11687
11690
|
justify-content: space-between;
|
|
11688
11691
|
align-items: center;
|
|
11689
|
-
`,
|
|
11692
|
+
`, Wp = qr.div`
|
|
11690
11693
|
display: flex;
|
|
11691
11694
|
flex-direction: column;
|
|
11692
11695
|
align-items: center;
|
|
11693
|
-
`,
|
|
11696
|
+
`, Zp = () => {
|
|
11694
11697
|
const e = Kr.type;
|
|
11695
11698
|
return J({
|
|
11696
11699
|
modelId: e,
|
|
@@ -11698,13 +11701,13 @@ const Tr = 10, Vp = To(
|
|
|
11698
11701
|
options: {}
|
|
11699
11702
|
});
|
|
11700
11703
|
};
|
|
11701
|
-
function
|
|
11704
|
+
function _w(e) {
|
|
11702
11705
|
return (t) => {
|
|
11703
|
-
const { model: s, status: r, KosModelLoader: n } =
|
|
11706
|
+
const { model: s, status: r, KosModelLoader: n } = Zp();
|
|
11704
11707
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, device: s }) });
|
|
11705
11708
|
};
|
|
11706
11709
|
}
|
|
11707
|
-
function
|
|
11710
|
+
function Iw(e, t, s) {
|
|
11708
11711
|
const r = new Promise((n) => {
|
|
11709
11712
|
_.getInstance().whenReady().then(() => {
|
|
11710
11713
|
const { model: o } = _.getInstance().modelManager.createModelInstance(
|
|
@@ -11719,13 +11722,13 @@ function _w(e, t, s) {
|
|
|
11719
11722
|
});
|
|
11720
11723
|
return Yo(r);
|
|
11721
11724
|
}
|
|
11722
|
-
function
|
|
11725
|
+
function Ew(e) {
|
|
11723
11726
|
return (t) => {
|
|
11724
11727
|
const { model: s, status: r, KosModelLoader: n } = sc();
|
|
11725
11728
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, kosTime: s }) });
|
|
11726
11729
|
};
|
|
11727
11730
|
}
|
|
11728
|
-
const
|
|
11731
|
+
const Jp = () => {
|
|
11729
11732
|
const e = Ws.type;
|
|
11730
11733
|
return J({
|
|
11731
11734
|
modelId: e,
|
|
@@ -11733,13 +11736,13 @@ const Zp = () => {
|
|
|
11733
11736
|
options: {}
|
|
11734
11737
|
});
|
|
11735
11738
|
};
|
|
11736
|
-
function
|
|
11739
|
+
function $w(e) {
|
|
11737
11740
|
return (t) => {
|
|
11738
|
-
const { model: s, status: r, KosModelLoader: n } =
|
|
11741
|
+
const { model: s, status: r, KosModelLoader: n } = Jp();
|
|
11739
11742
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, networkInterfaceContainer: s }) });
|
|
11740
11743
|
};
|
|
11741
11744
|
}
|
|
11742
|
-
const
|
|
11745
|
+
const Qp = () => {
|
|
11743
11746
|
const e = Fr.type;
|
|
11744
11747
|
return J({
|
|
11745
11748
|
modelId: e,
|
|
@@ -11747,13 +11750,13 @@ const Jp = () => {
|
|
|
11747
11750
|
options: {}
|
|
11748
11751
|
});
|
|
11749
11752
|
};
|
|
11750
|
-
function
|
|
11753
|
+
function Tw(e) {
|
|
11751
11754
|
return (t) => {
|
|
11752
|
-
const { model: s, status: r, KosModelLoader: n } =
|
|
11755
|
+
const { model: s, status: r, KosModelLoader: n } = Qp();
|
|
11753
11756
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, oTA: s }) });
|
|
11754
11757
|
};
|
|
11755
11758
|
}
|
|
11756
|
-
function
|
|
11759
|
+
function Xp(e, t) {
|
|
11757
11760
|
$(() => {
|
|
11758
11761
|
function s(n) {
|
|
11759
11762
|
e.current && !e.current.contains(n.target) && t();
|
|
@@ -11766,11 +11769,11 @@ function Qp(e, t) {
|
|
|
11766
11769
|
};
|
|
11767
11770
|
}, [e, t]);
|
|
11768
11771
|
}
|
|
11769
|
-
function
|
|
11772
|
+
function Ow(e) {
|
|
11770
11773
|
const t = Qs(null), s = e.onAlert;
|
|
11771
|
-
return
|
|
11774
|
+
return Xp(t, s), /* @__PURE__ */ v("div", { ref: t, style: { width: "100%" }, children: e.children });
|
|
11772
11775
|
}
|
|
11773
|
-
const
|
|
11776
|
+
const Sw = (e) => {
|
|
11774
11777
|
var d;
|
|
11775
11778
|
const { stateProp: t } = e, [s, r] = M((d = e.stateProp) == null ? void 0 : d.value), [n, o] = M(!1), [i, a] = M(void 0);
|
|
11776
11779
|
return $(() => {
|
|
@@ -11790,7 +11793,7 @@ const Ow = (e) => {
|
|
|
11790
11793
|
u();
|
|
11791
11794
|
};
|
|
11792
11795
|
}, [n, t]), [s, { ready: n, error: i }];
|
|
11793
|
-
},
|
|
11796
|
+
}, em = () => {
|
|
11794
11797
|
const [e, t] = M(!1), [s, r] = M([]), n = Kt.type, o = J({
|
|
11795
11798
|
modelId: n,
|
|
11796
11799
|
modelType: Kt.type,
|
|
@@ -11806,20 +11809,20 @@ const Ow = (e) => {
|
|
|
11806
11809
|
};
|
|
11807
11810
|
}, [o.model]), { ...o, inserted: e, devices: s };
|
|
11808
11811
|
};
|
|
11809
|
-
function
|
|
11812
|
+
function Dw(e) {
|
|
11810
11813
|
return (t) => {
|
|
11811
|
-
const { model: s, status: r, KosModelLoader: n } =
|
|
11814
|
+
const { model: s, status: r, KosModelLoader: n } = em();
|
|
11812
11815
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, storageDeviceContainer: s }) });
|
|
11813
11816
|
};
|
|
11814
11817
|
}
|
|
11815
|
-
const Or = g.createLogger({ name: "use-timer" }),
|
|
11818
|
+
const Or = g.createLogger({ name: "use-timer" }), Aw = ({
|
|
11816
11819
|
timerName: e,
|
|
11817
11820
|
onTimerExpired: t,
|
|
11818
11821
|
onTimerTick: s,
|
|
11819
11822
|
timerEventActions: r,
|
|
11820
11823
|
autoStart: n
|
|
11821
11824
|
}) => {
|
|
11822
|
-
const o =
|
|
11825
|
+
const o = cp.getTimer(e);
|
|
11823
11826
|
$(() => {
|
|
11824
11827
|
if (!o) {
|
|
11825
11828
|
console.warn(`Timer with name ${e} does not exist.`);
|
|
@@ -11856,41 +11859,41 @@ const Or = g.createLogger({ name: "use-timer" }), Dw = ({
|
|
|
11856
11859
|
reset: a,
|
|
11857
11860
|
pause: c
|
|
11858
11861
|
};
|
|
11859
|
-
},
|
|
11862
|
+
}, tm = (e) => {
|
|
11860
11863
|
const t = /[\\^$.*+?()[\]{}|]/g;
|
|
11861
11864
|
return RegExp(t.source).test(e) ? e.replace(t, "\\$&") : e;
|
|
11862
|
-
},
|
|
11865
|
+
}, sm = (e) => e instanceof RegExp, rm = (e) => typeof e == "string", nm = (e, t, s) => {
|
|
11863
11866
|
if (e === "" || t === "")
|
|
11864
11867
|
return e;
|
|
11865
11868
|
let r = t;
|
|
11866
|
-
|
|
11869
|
+
sm(r) || (r = new RegExp("(" + tm(r) + ")", "gi"));
|
|
11867
11870
|
const n = e.split(r);
|
|
11868
11871
|
for (let o = 1, i = n.length; o < i; o += 2)
|
|
11869
11872
|
n[o] = s(n[o], o);
|
|
11870
11873
|
return n;
|
|
11871
|
-
},
|
|
11874
|
+
}, om = (e, t, s) => {
|
|
11872
11875
|
let r = e;
|
|
11873
11876
|
return Array.isArray(r) || (r = [r]), r.flatMap(
|
|
11874
|
-
(n) =>
|
|
11877
|
+
(n) => rm(n) ? nm(n, t, s) : n
|
|
11875
11878
|
);
|
|
11876
11879
|
};
|
|
11877
|
-
function
|
|
11880
|
+
function im(e, t) {
|
|
11878
11881
|
let s = e;
|
|
11879
11882
|
return Object.entries(t).forEach(([r, n]) => {
|
|
11880
11883
|
const o = new RegExp(`<${r}>(.*?)</${r}>|<${r}/>`, "g");
|
|
11881
|
-
s =
|
|
11884
|
+
s = om(s, o, (i, a) => n.type === "br" ? /* @__PURE__ */ v("br", {}) : He.cloneElement(n, { key: `${r}-${a}` }, i));
|
|
11882
11885
|
}), s;
|
|
11883
11886
|
}
|
|
11884
|
-
const
|
|
11887
|
+
const Cw = (e) => {
|
|
11885
11888
|
const { i18nKey: t, t: s, defaults: r, components: n, values: o = {}, context: i } = e, a = s(t, {
|
|
11886
11889
|
defaultValue: r,
|
|
11887
11890
|
data: o,
|
|
11888
11891
|
context: i,
|
|
11889
11892
|
returnObjects: !0
|
|
11890
|
-
}), c =
|
|
11893
|
+
}), c = im(a, n || {});
|
|
11891
11894
|
return /* @__PURE__ */ v("span", { className: e.className, children: c });
|
|
11892
11895
|
}, Qe = /* @__PURE__ */ new Map();
|
|
11893
|
-
function
|
|
11896
|
+
function am(e, t) {
|
|
11894
11897
|
if (Qe.has(e)) {
|
|
11895
11898
|
const s = Qe.get(e);
|
|
11896
11899
|
if (s.status === "finished")
|
|
@@ -11909,12 +11912,12 @@ function im(e, t) {
|
|
|
11909
11912
|
}
|
|
11910
11913
|
}
|
|
11911
11914
|
function mo(e, t) {
|
|
11912
|
-
return
|
|
11915
|
+
return am(e, t);
|
|
11913
11916
|
}
|
|
11914
|
-
const
|
|
11917
|
+
const cm = async () => {
|
|
11915
11918
|
const e = await Ud(Ce.type);
|
|
11916
11919
|
return await de(e.model), e.model;
|
|
11917
|
-
},
|
|
11920
|
+
}, lm = async (e, t, s) => {
|
|
11918
11921
|
const r = e.resolveNamespace(t);
|
|
11919
11922
|
await de(r);
|
|
11920
11923
|
for (const n of s) {
|
|
@@ -11922,13 +11925,13 @@ const am = async () => {
|
|
|
11922
11925
|
await de(o), Qe.set(n, { status: "finished", result: o });
|
|
11923
11926
|
}
|
|
11924
11927
|
return r;
|
|
11925
|
-
},
|
|
11928
|
+
}, Pw = (e, t) => {
|
|
11926
11929
|
const s = [e].flat(), [r, ...n] = s, o = mo(
|
|
11927
11930
|
Ce.type,
|
|
11928
|
-
|
|
11931
|
+
cm
|
|
11929
11932
|
), i = s.join("__"), a = mo(
|
|
11930
11933
|
i,
|
|
11931
|
-
() =>
|
|
11934
|
+
() => lm(o, r, n)
|
|
11932
11935
|
), c = U(() => ({
|
|
11933
11936
|
exists: (u) => {
|
|
11934
11937
|
const h = t != null && t.keyPrefix ? `${t.keyPrefix}.${u}` : u;
|
|
@@ -11944,7 +11947,7 @@ const am = async () => {
|
|
|
11944
11947
|
},
|
|
11945
11948
|
[t == null ? void 0 : t.keyPrefix, e, a]
|
|
11946
11949
|
), i18n: c };
|
|
11947
|
-
},
|
|
11950
|
+
}, dm = () => {
|
|
11948
11951
|
const e = Ce.type;
|
|
11949
11952
|
return J({
|
|
11950
11953
|
modelId: e,
|
|
@@ -11952,20 +11955,20 @@ const am = async () => {
|
|
|
11952
11955
|
options: {}
|
|
11953
11956
|
});
|
|
11954
11957
|
};
|
|
11955
|
-
function
|
|
11958
|
+
function Rw(e) {
|
|
11956
11959
|
return (t) => {
|
|
11957
|
-
const { model: s, status: r, KosModelLoader: n } =
|
|
11960
|
+
const { model: s, status: r, KosModelLoader: n } = dm();
|
|
11958
11961
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, translationContainer: s }) });
|
|
11959
11962
|
};
|
|
11960
11963
|
}
|
|
11961
|
-
const
|
|
11964
|
+
const Lw = (e) => J({
|
|
11962
11965
|
modelId: e,
|
|
11963
11966
|
modelType: js.type
|
|
11964
11967
|
}), cc = () => J({
|
|
11965
11968
|
modelId: kt.type,
|
|
11966
11969
|
modelType: kt.type,
|
|
11967
11970
|
options: {}
|
|
11968
|
-
}),
|
|
11971
|
+
}), xw = ({
|
|
11969
11972
|
troubleType: e,
|
|
11970
11973
|
condition: t
|
|
11971
11974
|
}) => {
|
|
@@ -11983,13 +11986,13 @@ const Rw = (e) => J({
|
|
|
11983
11986
|
o
|
|
11984
11987
|
];
|
|
11985
11988
|
};
|
|
11986
|
-
function
|
|
11989
|
+
function Fw(e) {
|
|
11987
11990
|
return (t) => {
|
|
11988
11991
|
const { model: s, status: r, KosModelLoader: n } = cc();
|
|
11989
11992
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, troubleContainer: s }) });
|
|
11990
11993
|
};
|
|
11991
11994
|
}
|
|
11992
|
-
const
|
|
11995
|
+
const um = () => {
|
|
11993
11996
|
const e = Js.type, t = J({
|
|
11994
11997
|
modelId: e,
|
|
11995
11998
|
modelType: Js.type,
|
|
@@ -12007,13 +12010,13 @@ const dm = () => {
|
|
|
12007
12010
|
};
|
|
12008
12011
|
}, [t.model]), { ...t, inserted: s, updateAvailable: n, updates: i };
|
|
12009
12012
|
};
|
|
12010
|
-
function
|
|
12013
|
+
function kw(e) {
|
|
12011
12014
|
return (t) => {
|
|
12012
|
-
const { model: s, status: r, KosModelLoader: n } =
|
|
12015
|
+
const { model: s, status: r, KosModelLoader: n } = um();
|
|
12013
12016
|
return /* @__PURE__ */ v(n, { ...r, children: /* @__PURE__ */ v(e, { ...t, usbUpdateContainer: s }) });
|
|
12014
12017
|
};
|
|
12015
12018
|
}
|
|
12016
|
-
const
|
|
12019
|
+
const Nw = ({ path: e, propKey: t }) => {
|
|
12017
12020
|
const { status: s } = J({
|
|
12018
12021
|
modelType: Ps.type,
|
|
12019
12022
|
modelId: e,
|
|
@@ -12038,18 +12041,18 @@ const kw = ({ path: e, propKey: t }) => {
|
|
|
12038
12041
|
error: d,
|
|
12039
12042
|
updateValue: h
|
|
12040
12043
|
};
|
|
12041
|
-
},
|
|
12044
|
+
}, hm = (e, t) => {
|
|
12042
12045
|
switch (t.type) {
|
|
12043
12046
|
case "UPDATE":
|
|
12044
12047
|
return t.payload;
|
|
12045
12048
|
default:
|
|
12046
12049
|
return e;
|
|
12047
12050
|
}
|
|
12048
|
-
},
|
|
12051
|
+
}, fm = ({
|
|
12049
12052
|
configProperty: e,
|
|
12050
12053
|
optionsTransformer: t
|
|
12051
12054
|
}) => {
|
|
12052
|
-
const [s, r] = M(!1), [n, o] = M(""), [i, a] = Oc(
|
|
12055
|
+
const [s, r] = M(!1), [n, o] = M(""), [i, a] = Oc(hm, {
|
|
12053
12056
|
value: String(e == null ? void 0 : e.value),
|
|
12054
12057
|
displayValue: e == null ? void 0 : e.displayValue,
|
|
12055
12058
|
significantValue: e == null ? void 0 : e.significantValue,
|
|
@@ -12108,32 +12111,32 @@ const kw = ({ path: e, propKey: t }) => {
|
|
|
12108
12111
|
error: n
|
|
12109
12112
|
};
|
|
12110
12113
|
};
|
|
12111
|
-
function
|
|
12114
|
+
function gm(e, t) {
|
|
12112
12115
|
const s = t ?? (/* @__PURE__ */ new Date()).getFullYear(), r = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
12113
12116
|
return e === 1 && (s % 4 === 0 && s % 100 !== 0 || s % 400 === 0) ? 29 : r[e] ?? 0;
|
|
12114
12117
|
}
|
|
12115
|
-
function
|
|
12118
|
+
function Uw(e, t) {
|
|
12116
12119
|
return new Date(e, t, 0).getDate();
|
|
12117
12120
|
}
|
|
12118
|
-
function
|
|
12119
|
-
const s =
|
|
12121
|
+
function pm(e, t) {
|
|
12122
|
+
const s = gm(t, e), r = [];
|
|
12120
12123
|
for (let n = 1; n <= s; n++)
|
|
12121
12124
|
r.push(n);
|
|
12122
12125
|
return r;
|
|
12123
12126
|
}
|
|
12124
|
-
function
|
|
12127
|
+
function mm() {
|
|
12125
12128
|
return [...Array(12).keys()].map(
|
|
12126
12129
|
(t) => new Date(0, t).getMonth()
|
|
12127
12130
|
);
|
|
12128
12131
|
}
|
|
12129
|
-
function
|
|
12132
|
+
function ym(e = [2018, 2028]) {
|
|
12130
12133
|
const t = [];
|
|
12131
12134
|
for (let s = e[0]; s <= e[1]; s++)
|
|
12132
12135
|
t.push(s);
|
|
12133
12136
|
return t;
|
|
12134
12137
|
}
|
|
12135
|
-
function
|
|
12136
|
-
const s =
|
|
12138
|
+
function bm(e, t = [2018, 2028]) {
|
|
12139
|
+
const s = ym(t);
|
|
12137
12140
|
return e === "long" ? s : s.map((r) => Number(r.toString().substring(2)));
|
|
12138
12141
|
}
|
|
12139
12142
|
function lc(e = "numeric", t = "en-US") {
|
|
@@ -12143,7 +12146,7 @@ function lc(e = "numeric", t = "en-US") {
|
|
|
12143
12146
|
}).format;
|
|
12144
12147
|
return [...Array(12).keys()].map((r) => s(new Date(Date.UTC(0, r, 1))));
|
|
12145
12148
|
}
|
|
12146
|
-
function
|
|
12149
|
+
function jw({
|
|
12147
12150
|
locale: e = "en-US",
|
|
12148
12151
|
year: t,
|
|
12149
12152
|
month: s,
|
|
@@ -12168,10 +12171,10 @@ function Uw({
|
|
|
12168
12171
|
function ye(e) {
|
|
12169
12172
|
return e.toString().length === 2 ? new Date(Date.parse(`01 Jan 20${e}`)).getFullYear() : e;
|
|
12170
12173
|
}
|
|
12171
|
-
function
|
|
12174
|
+
function Bw(e) {
|
|
12172
12175
|
return typeof e == "string" ? new Date(Date.parse(`01 ${e.substring(0, 3)} 2023`)).getMonth() + 1 : e;
|
|
12173
12176
|
}
|
|
12174
|
-
function
|
|
12177
|
+
function wm(e, t, s) {
|
|
12175
12178
|
const r = ye(t), n = new Date(r, e, 1).getDay(), o = new Date(r, e + 1, 0).getDate();
|
|
12176
12179
|
return [...Array(42).keys()].map((a) => a < n || a > o + n - 1 ? { label: "", value: 0, disabled: !0 } : s[a - n]);
|
|
12177
12180
|
}
|
|
@@ -12182,13 +12185,13 @@ function ps(e, t, s) {
|
|
|
12182
12185
|
function ms(e, t) {
|
|
12183
12186
|
return new Date(e, t, 0).getDate();
|
|
12184
12187
|
}
|
|
12185
|
-
function
|
|
12188
|
+
function vm(e = "en-US", t = "short") {
|
|
12186
12189
|
const s = new Intl.DateTimeFormat(e, { weekday: t }).format;
|
|
12187
12190
|
return [...Array(7).keys()].map(
|
|
12188
12191
|
(r) => s(new Date(Date.UTC(2021, 5, r)))
|
|
12189
12192
|
);
|
|
12190
12193
|
}
|
|
12191
|
-
function
|
|
12194
|
+
function Mm({
|
|
12192
12195
|
locale: e = "en-US",
|
|
12193
12196
|
year: t = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
12194
12197
|
month: s = (/* @__PURE__ */ new Date()).getMonth(),
|
|
@@ -12200,7 +12203,7 @@ function vm({
|
|
|
12200
12203
|
dayFormat: a = "short"
|
|
12201
12204
|
} = {}
|
|
12202
12205
|
}) {
|
|
12203
|
-
const c = dc(o, r), d =
|
|
12206
|
+
const c = dc(o, r), d = _m(o, r, e), u = Im(i, e), h = Em(i, e), f = uc(t, s), p = Tm(t, s, e, n), b = Dm(s, t, p), y = Om(e, a);
|
|
12204
12207
|
return {
|
|
12205
12208
|
daysArray: f,
|
|
12206
12209
|
monthsArray: u,
|
|
@@ -12214,11 +12217,11 @@ function vm({
|
|
|
12214
12217
|
}
|
|
12215
12218
|
function dc(e = "long", t = [2018, 2028]) {
|
|
12216
12219
|
return U(
|
|
12217
|
-
() =>
|
|
12220
|
+
() => bm(e, t),
|
|
12218
12221
|
[e, t]
|
|
12219
12222
|
);
|
|
12220
12223
|
}
|
|
12221
|
-
function
|
|
12224
|
+
function _m(e = "long", t = [2018, 2028], s = "en-US") {
|
|
12222
12225
|
const r = dc(e, t);
|
|
12223
12226
|
return U(
|
|
12224
12227
|
() => r.map((o) => ({
|
|
@@ -12228,14 +12231,14 @@ function Mm(e = "long", t = [2018, 2028], s = "en-US") {
|
|
|
12228
12231
|
[s, r]
|
|
12229
12232
|
);
|
|
12230
12233
|
}
|
|
12231
|
-
function
|
|
12234
|
+
function Im(e, t = "en-US") {
|
|
12232
12235
|
return U(
|
|
12233
12236
|
() => lc(e, t),
|
|
12234
12237
|
[e, t]
|
|
12235
12238
|
);
|
|
12236
12239
|
}
|
|
12237
|
-
function
|
|
12238
|
-
const s = U(() =>
|
|
12240
|
+
function Em(e, t = "en-US") {
|
|
12241
|
+
const s = U(() => mm(), []), r = U(
|
|
12239
12242
|
() => lc(e, t),
|
|
12240
12243
|
[e, t]
|
|
12241
12244
|
);
|
|
@@ -12250,32 +12253,32 @@ function Im(e, t = "en-US") {
|
|
|
12250
12253
|
function uc(e, t) {
|
|
12251
12254
|
const s = ye(e);
|
|
12252
12255
|
return U(
|
|
12253
|
-
() =>
|
|
12256
|
+
() => pm(s, t),
|
|
12254
12257
|
[t, s]
|
|
12255
12258
|
);
|
|
12256
12259
|
}
|
|
12257
|
-
const
|
|
12260
|
+
const $m = (e, t, s, r = []) => {
|
|
12258
12261
|
const n = new Date(e, t, s).getDay();
|
|
12259
12262
|
return r.length > 0 && r.includes(n);
|
|
12260
12263
|
};
|
|
12261
|
-
function
|
|
12264
|
+
function Tm(e, t, s = "en-US", r = []) {
|
|
12262
12265
|
const n = uc(e, t);
|
|
12263
12266
|
return U(
|
|
12264
12267
|
() => n.map((i) => ({
|
|
12265
12268
|
label: i.toLocaleString(s),
|
|
12266
12269
|
value: i,
|
|
12267
|
-
disabled:
|
|
12270
|
+
disabled: $m(e, t, i, r)
|
|
12268
12271
|
})),
|
|
12269
12272
|
[r, s, t, n, e]
|
|
12270
12273
|
);
|
|
12271
12274
|
}
|
|
12272
|
-
function
|
|
12275
|
+
function Om(e = "en-US", t = "short") {
|
|
12273
12276
|
return U(
|
|
12274
|
-
() =>
|
|
12277
|
+
() => vm(e, t),
|
|
12275
12278
|
[e, t]
|
|
12276
12279
|
);
|
|
12277
12280
|
}
|
|
12278
|
-
function
|
|
12281
|
+
function Sm({
|
|
12279
12282
|
year: e = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
12280
12283
|
month: t = (/* @__PURE__ */ new Date()).getMonth(),
|
|
12281
12284
|
day: s = (/* @__PURE__ */ new Date()).getDate(),
|
|
@@ -12284,14 +12287,14 @@ function Om({
|
|
|
12284
12287
|
const n = t, o = new Date(e, n, s);
|
|
12285
12288
|
return { formattedDate: Ne(o, r) };
|
|
12286
12289
|
}
|
|
12287
|
-
function
|
|
12290
|
+
function Dm(e, t, s) {
|
|
12288
12291
|
return U(
|
|
12289
|
-
() =>
|
|
12292
|
+
() => wm(e, t, s),
|
|
12290
12293
|
[e, t, s]
|
|
12291
12294
|
);
|
|
12292
12295
|
}
|
|
12293
|
-
var
|
|
12294
|
-
function
|
|
12296
|
+
var Am = /* @__PURE__ */ ((e) => (e.MMDDYY = "MMDDYY", e.DDMMYY = "DDMMYY", e.YYMMDD = "YYMMDD", e.YYDDMM = "YYDDMM", e))(Am || {});
|
|
12297
|
+
function Kw({
|
|
12295
12298
|
locale: e = "en-US",
|
|
12296
12299
|
date: {
|
|
12297
12300
|
year: t = (/* @__PURE__ */ new Date()).getFullYear(),
|
|
@@ -12330,7 +12333,7 @@ function Bw({
|
|
|
12330
12333
|
daysOptionsArray: k,
|
|
12331
12334
|
calendarDayArray: Q,
|
|
12332
12335
|
dayNamesArray: Ae
|
|
12333
|
-
} =
|
|
12336
|
+
} = Mm({
|
|
12334
12337
|
locale: e,
|
|
12335
12338
|
year: u,
|
|
12336
12339
|
yearRange: f,
|
|
@@ -12341,7 +12344,7 @@ function Bw({
|
|
|
12341
12344
|
dayFormat: i
|
|
12342
12345
|
},
|
|
12343
12346
|
daysOfWeekFilter: d
|
|
12344
|
-
}), { formattedDate: mt } =
|
|
12347
|
+
}), { formattedDate: mt } = Sm({
|
|
12345
12348
|
year: u,
|
|
12346
12349
|
month: b,
|
|
12347
12350
|
day: w,
|
|
@@ -12405,7 +12408,7 @@ function Bw({
|
|
|
12405
12408
|
}
|
|
12406
12409
|
};
|
|
12407
12410
|
}
|
|
12408
|
-
function
|
|
12411
|
+
function Cm({
|
|
12409
12412
|
date: e = /* @__PURE__ */ new Date(),
|
|
12410
12413
|
dateFormat: t,
|
|
12411
12414
|
timeFormat: s,
|
|
@@ -12432,10 +12435,10 @@ function Am({
|
|
|
12432
12435
|
);
|
|
12433
12436
|
}, [e, s, h, d, u]), { formattedDate: i, formattedTime: n };
|
|
12434
12437
|
}
|
|
12435
|
-
const
|
|
12438
|
+
const Pm = ({
|
|
12436
12439
|
secondsFromMidnight: e = 0
|
|
12437
12440
|
}) => {
|
|
12438
|
-
const [t, s] = M(0), [r, n] = M(0), [o, i] = M(0), [a, c] = M(/* @__PURE__ */ new Date()), { formattedTime: d } =
|
|
12441
|
+
const [t, s] = M(0), [r, n] = M(0), [o, i] = M(0), [a, c] = M(/* @__PURE__ */ new Date()), { formattedTime: d } = Cm({
|
|
12439
12442
|
date: a,
|
|
12440
12443
|
options: {
|
|
12441
12444
|
ignoreDateFormat: !0
|
|
@@ -12459,10 +12462,10 @@ const Cm = ({
|
|
|
12459
12462
|
setSeconds: i
|
|
12460
12463
|
}
|
|
12461
12464
|
};
|
|
12462
|
-
},
|
|
12465
|
+
}, Hw = ({
|
|
12463
12466
|
configProperty: e
|
|
12464
12467
|
}) => {
|
|
12465
|
-
const { value: t } =
|
|
12468
|
+
const { value: t } = fm({ configProperty: e }), s = parseInt(t || "0", 10), { hours: r, minutes: n, seconds: o, formattedTime: i, timeActions: a } = Pm({
|
|
12466
12469
|
secondsFromMidnight: s
|
|
12467
12470
|
}), c = Qs();
|
|
12468
12471
|
return $(() => {
|
|
@@ -12480,7 +12483,7 @@ const Cm = ({
|
|
|
12480
12483
|
timeActions: a
|
|
12481
12484
|
};
|
|
12482
12485
|
};
|
|
12483
|
-
function
|
|
12486
|
+
function Gw(e, t = {}) {
|
|
12484
12487
|
const { intervalMs: s = 5 * 60 * 1e3, immediate: r = !0 } = t;
|
|
12485
12488
|
$(() => {
|
|
12486
12489
|
const n = () => {
|
|
@@ -12496,7 +12499,7 @@ function Hw(e, t = {}) {
|
|
|
12496
12499
|
};
|
|
12497
12500
|
}, [e, s, r]);
|
|
12498
12501
|
}
|
|
12499
|
-
const
|
|
12502
|
+
const Rm = (e) => /* @__PURE__ */ v("option", { title: e.id, value: e.format, children: e.format }, e.id), zw = (e = Rm) => {
|
|
12500
12503
|
const [t, s] = M([]), [r, n] = M(), { model: o, ready: i } = J({
|
|
12501
12504
|
modelType: se.type,
|
|
12502
12505
|
modelId: se.type,
|
|
@@ -12540,13 +12543,13 @@ const Pm = (e) => /* @__PURE__ */ v("option", { title: e.id, value: e.format, ch
|
|
|
12540
12543
|
options: t
|
|
12541
12544
|
}
|
|
12542
12545
|
};
|
|
12543
|
-
},
|
|
12546
|
+
}, Lm = (e) => /* @__PURE__ */ v("option", { title: e, value: e, children: e }, e), hc = "kos:service:region:settings", fc = "timeZone", xm = `${hc}-${fc}`, Vw = (e = Lm) => {
|
|
12544
12547
|
const [t, s] = M([]), [r, n] = M(""), { model: o, ready: i } = J({
|
|
12545
12548
|
modelType: se.type,
|
|
12546
12549
|
modelId: se.type,
|
|
12547
12550
|
options: {}
|
|
12548
12551
|
}), a = gt.factory(
|
|
12549
|
-
|
|
12552
|
+
xm
|
|
12550
12553
|
)({
|
|
12551
12554
|
path: hc,
|
|
12552
12555
|
attribute: fc
|
|
@@ -12584,13 +12587,13 @@ const Pm = (e) => /* @__PURE__ */ v("option", { title: e.id, value: e.format, ch
|
|
|
12584
12587
|
options: t
|
|
12585
12588
|
}
|
|
12586
12589
|
};
|
|
12587
|
-
}, gc = "kos:service:region", pc = "regionId",
|
|
12590
|
+
}, gc = "kos:service:region", pc = "regionId", Fm = `${gc}-${pc}`, km = (e) => /* @__PURE__ */ v("option", { title: e, value: e, children: e }, e), Nm = (e = km) => {
|
|
12588
12591
|
const [t, s] = M([]), [r, n] = M("factory"), { model: o, ready: i } = J({
|
|
12589
12592
|
modelType: se.type,
|
|
12590
12593
|
modelId: se.type,
|
|
12591
12594
|
options: {}
|
|
12592
12595
|
}), a = gt.factory(
|
|
12593
|
-
|
|
12596
|
+
Fm
|
|
12594
12597
|
)({
|
|
12595
12598
|
path: gc,
|
|
12596
12599
|
attribute: pc
|
|
@@ -12613,7 +12616,7 @@ const Pm = (e) => /* @__PURE__ */ v("option", { title: e.id, value: e.format, ch
|
|
|
12613
12616
|
const c = Z((d) => {
|
|
12614
12617
|
var h;
|
|
12615
12618
|
let u = "factory";
|
|
12616
|
-
typeof d == "string" ? u = d : (h = d == null ? void 0 : d.target) != null && h.value && (u = d.target.value), u &&
|
|
12619
|
+
typeof d == "string" ? u = d : (h = d == null ? void 0 : d.target) != null && h.value && (u = d.target.value), u && op(u);
|
|
12617
12620
|
}, []);
|
|
12618
12621
|
return {
|
|
12619
12622
|
raw: (o == null ? void 0 : o.availableRegions) ?? [],
|
|
@@ -12627,7 +12630,7 @@ const Pm = (e) => /* @__PURE__ */ v("option", { title: e.id, value: e.format, ch
|
|
|
12627
12630
|
options: t
|
|
12628
12631
|
}
|
|
12629
12632
|
};
|
|
12630
|
-
},
|
|
12633
|
+
}, Um = (e) => /* @__PURE__ */ v("option", { title: e.id, value: e.format, children: e.format }, e.id), Yw = (e = Um) => {
|
|
12631
12634
|
const [t, s] = M([]), [r, n] = M(), { model: o, ready: i } = J({
|
|
12632
12635
|
modelType: se.type,
|
|
12633
12636
|
modelId: se.type,
|
|
@@ -12671,10 +12674,10 @@ const Pm = (e) => /* @__PURE__ */ v("option", { title: e.id, value: e.format, ch
|
|
|
12671
12674
|
options: t
|
|
12672
12675
|
}
|
|
12673
12676
|
};
|
|
12674
|
-
},
|
|
12677
|
+
}, qw = (e, t) => U(() => mi(e), t), jm = {
|
|
12675
12678
|
config: { attributes: !0, childList: !0, subtree: !0 }
|
|
12676
12679
|
};
|
|
12677
|
-
function
|
|
12680
|
+
function Ww(e, t, s = jm) {
|
|
12678
12681
|
const [r, n] = M(null);
|
|
12679
12682
|
$(() => {
|
|
12680
12683
|
if (!t || typeof t != "function")
|
|
@@ -12698,7 +12701,7 @@ function qw(e, t, s = Um) {
|
|
|
12698
12701
|
};
|
|
12699
12702
|
}, [r, e, s]);
|
|
12700
12703
|
}
|
|
12701
|
-
const
|
|
12704
|
+
const Bm = {
|
|
12702
12705
|
validateStart: function(e) {
|
|
12703
12706
|
return !0;
|
|
12704
12707
|
},
|
|
@@ -12710,10 +12713,10 @@ const jm = {
|
|
|
12710
12713
|
name: "usePressGesture",
|
|
12711
12714
|
group: "kos-hooks"
|
|
12712
12715
|
});
|
|
12713
|
-
function
|
|
12716
|
+
function Zw({
|
|
12714
12717
|
onPressed: e,
|
|
12715
12718
|
onRelease: t,
|
|
12716
|
-
intersectionStrategy: s =
|
|
12719
|
+
intersectionStrategy: s = Bm
|
|
12717
12720
|
}) {
|
|
12718
12721
|
const r = Qs(!1), n = Sc({
|
|
12719
12722
|
onDragStart: (c) => {
|
|
@@ -12741,7 +12744,7 @@ function Ww({
|
|
|
12741
12744
|
})
|
|
12742
12745
|
};
|
|
12743
12746
|
}
|
|
12744
|
-
const
|
|
12747
|
+
const Km = () => {
|
|
12745
12748
|
const [e, t] = M(!1), s = _.getInstance();
|
|
12746
12749
|
return $(() => {
|
|
12747
12750
|
const r = G(() => {
|
|
@@ -12752,7 +12755,7 @@ const Bm = () => {
|
|
|
12752
12755
|
};
|
|
12753
12756
|
}, [s, e]), [e];
|
|
12754
12757
|
};
|
|
12755
|
-
function
|
|
12758
|
+
function Hm(e = !1, t = "2-digit") {
|
|
12756
12759
|
return U(() => {
|
|
12757
12760
|
const s = e ? 12 : 24;
|
|
12758
12761
|
return Array.from({ length: s }, (r, n) => {
|
|
@@ -12776,7 +12779,7 @@ function yo(e, t = "2-digit", s = 0, r = 0) {
|
|
|
12776
12779
|
[e, s, r, t]
|
|
12777
12780
|
);
|
|
12778
12781
|
}
|
|
12779
|
-
function
|
|
12782
|
+
function Gm(e = "en-US") {
|
|
12780
12783
|
return U(
|
|
12781
12784
|
() => ["AM", "PM"].map((t) => {
|
|
12782
12785
|
const s = new Intl.DateTimeFormat(e, {
|
|
@@ -12788,7 +12791,7 @@ function Hm(e = "en-US") {
|
|
|
12788
12791
|
[e]
|
|
12789
12792
|
);
|
|
12790
12793
|
}
|
|
12791
|
-
function
|
|
12794
|
+
function zm({
|
|
12792
12795
|
formatOptions: {
|
|
12793
12796
|
hour12: e = !0,
|
|
12794
12797
|
hour: t = "2-digit",
|
|
@@ -12797,7 +12800,7 @@ function Gm({
|
|
|
12797
12800
|
} = { hour12: !0, hour: "2-digit", minute: "2-digit", second: "2-digit" },
|
|
12798
12801
|
locale: n = "en-US"
|
|
12799
12802
|
}) {
|
|
12800
|
-
const o =
|
|
12803
|
+
const o = Hm(e, t), i = yo(60, s), a = yo(60, r), c = Gm(n);
|
|
12801
12804
|
return {
|
|
12802
12805
|
hourOptions: o,
|
|
12803
12806
|
minuteOptions: i,
|
|
@@ -12805,10 +12808,10 @@ function Gm({
|
|
|
12805
12808
|
amPmOptions: c
|
|
12806
12809
|
};
|
|
12807
12810
|
}
|
|
12808
|
-
function
|
|
12811
|
+
function Vm(e, t) {
|
|
12809
12812
|
return Ne(e, t);
|
|
12810
12813
|
}
|
|
12811
|
-
function
|
|
12814
|
+
function Ym({
|
|
12812
12815
|
formatOptions: e,
|
|
12813
12816
|
initialDate: t = /* @__PURE__ */ new Date(),
|
|
12814
12817
|
locale: s = "en-US",
|
|
@@ -12832,7 +12835,7 @@ function Vm({
|
|
|
12832
12835
|
}, []), d = Z((y) => {
|
|
12833
12836
|
const w = new Date(y);
|
|
12834
12837
|
o(w);
|
|
12835
|
-
}, []), u =
|
|
12838
|
+
}, []), u = Vm(n, r), { hourOptions: h, minuteOptions: f, secondOptions: p, amPmOptions: b } = zm({
|
|
12836
12839
|
formatOptions: e,
|
|
12837
12840
|
locale: s
|
|
12838
12841
|
});
|
|
@@ -12849,45 +12852,45 @@ function Vm({
|
|
|
12849
12852
|
time: new Date(n)
|
|
12850
12853
|
};
|
|
12851
12854
|
}
|
|
12852
|
-
const
|
|
12853
|
-
const { regionModel: t } =
|
|
12854
|
-
return
|
|
12855
|
+
const Jw = (e) => {
|
|
12856
|
+
const { regionModel: t } = Nm(), s = U(() => ({ hour12: t == null ? void 0 : t.is12HourTimeFormat }), [t == null ? void 0 : t.is12HourTimeFormat]);
|
|
12857
|
+
return Ym({
|
|
12855
12858
|
...e,
|
|
12856
12859
|
locale: t == null ? void 0 : t.regionId,
|
|
12857
12860
|
format: t == null ? void 0 : t.selectedTimeFormat,
|
|
12858
12861
|
formatOptions: s
|
|
12859
12862
|
});
|
|
12860
12863
|
};
|
|
12861
|
-
function
|
|
12864
|
+
function Qw(e) {
|
|
12862
12865
|
return (t) => {
|
|
12863
|
-
const [s] =
|
|
12864
|
-
return s ? /* @__PURE__ */ v(
|
|
12866
|
+
const [s] = Km();
|
|
12867
|
+
return s ? /* @__PURE__ */ v(bp, { message: "Wait a moment while your project reloads..." }) : /* @__PURE__ */ v(e, { ...t });
|
|
12865
12868
|
};
|
|
12866
12869
|
}
|
|
12867
12870
|
const bo = g.createLogger({
|
|
12868
12871
|
name: "studio-properties-service",
|
|
12869
12872
|
group: "Services"
|
|
12870
|
-
}),
|
|
12873
|
+
}), qm = "/api/kos/studio/properties", mc = async (e) => {
|
|
12871
12874
|
if (bo.debug("sending GET for studio-properties"), !e)
|
|
12872
12875
|
throw bo.error("connectionId is undefined"), new Error("connectionId is undefined");
|
|
12873
12876
|
return await Le.get(
|
|
12874
|
-
|
|
12877
|
+
qm,
|
|
12875
12878
|
{},
|
|
12876
12879
|
{
|
|
12877
12880
|
destinationAddress: e,
|
|
12878
12881
|
timeout: 500
|
|
12879
12882
|
}
|
|
12880
12883
|
);
|
|
12881
|
-
},
|
|
12884
|
+
}, Xw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12882
12885
|
__proto__: null,
|
|
12883
12886
|
getStudioProperties: mc
|
|
12884
12887
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12885
|
-
var
|
|
12886
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
12888
|
+
var Wm = Object.defineProperty, Zm = Object.getOwnPropertyDescriptor, Jm = (e, t, s, r) => {
|
|
12889
|
+
for (var n = r > 1 ? void 0 : r ? Zm(t, s) : t, o = e.length - 1, i; o >= 0; o--)
|
|
12887
12890
|
(i = e[o]) && (n = (r ? i(t, s, n) : i(n)) || n);
|
|
12888
|
-
return r && n &&
|
|
12891
|
+
return r && n && Wm(t, s, n), n;
|
|
12889
12892
|
};
|
|
12890
|
-
const yc = "studio-properties-model",
|
|
12893
|
+
const yc = "studio-properties-model", Qm = "/kos/studio/properties", wo = {
|
|
12891
12894
|
"kos.studio.tool.legacy": 1
|
|
12892
12895
|
};
|
|
12893
12896
|
let Vr = class {
|
|
@@ -12912,7 +12915,7 @@ let Vr = class {
|
|
|
12912
12915
|
}
|
|
12913
12916
|
async initializePropertiesSession() {
|
|
12914
12917
|
this.unsubscribe = nr.getInstance().subscribeTopic({
|
|
12915
|
-
topic:
|
|
12918
|
+
topic: Qm,
|
|
12916
12919
|
destinationAddress: this.connectionId,
|
|
12917
12920
|
callback: (s) => {
|
|
12918
12921
|
this.logger.error(
|
|
@@ -12940,10 +12943,10 @@ let Vr = class {
|
|
|
12940
12943
|
return mi(() => this.get(e));
|
|
12941
12944
|
}
|
|
12942
12945
|
};
|
|
12943
|
-
Vr =
|
|
12946
|
+
Vr = Jm([
|
|
12944
12947
|
A(yc)
|
|
12945
12948
|
], Vr);
|
|
12946
|
-
const
|
|
12949
|
+
const ev = new Ie({
|
|
12947
12950
|
class: Vr,
|
|
12948
12951
|
type: yc
|
|
12949
12952
|
});
|
|
@@ -12953,34 +12956,34 @@ export {
|
|
|
12953
12956
|
Su as BrowserKosRouter,
|
|
12954
12957
|
fn as BrowserRouter,
|
|
12955
12958
|
jt as CanvasDispatcher,
|
|
12956
|
-
|
|
12959
|
+
Nb as CanvasDispatcherServices,
|
|
12957
12960
|
Ea as CanvasRenderer,
|
|
12958
|
-
|
|
12959
|
-
|
|
12961
|
+
Mw as CanvasStreamer,
|
|
12962
|
+
Yp as CanvasStreamerBase,
|
|
12960
12963
|
bs as ChildModels,
|
|
12961
|
-
|
|
12964
|
+
tp as CompanionDecoratorMixin,
|
|
12962
12965
|
Ps as ConfigBean,
|
|
12963
|
-
|
|
12966
|
+
Gb as CoreExtensionManager,
|
|
12964
12967
|
za as CoreModels,
|
|
12965
|
-
|
|
12966
|
-
|
|
12967
|
-
|
|
12968
|
-
|
|
12968
|
+
Cp as CreateModelTranslationsContext,
|
|
12969
|
+
uw as CreateModelTranslationsProvider,
|
|
12970
|
+
Am as DateDisplayFormat,
|
|
12971
|
+
Ty as DateHelpers,
|
|
12969
12972
|
V as DependencyLifecycle,
|
|
12970
12973
|
N as DependencyModels,
|
|
12971
12974
|
Kr as Device,
|
|
12972
|
-
|
|
12973
|
-
|
|
12975
|
+
Ub as DeviceServices,
|
|
12976
|
+
Bm as DomIntersectionStrategy,
|
|
12974
12977
|
Ao as EVENT_KOS_MODEL_READY,
|
|
12975
|
-
|
|
12976
|
-
|
|
12978
|
+
wb as EVENT_TROUBLE_ADDED,
|
|
12979
|
+
vb as EVENT_TROUBLE_REMOVED,
|
|
12977
12980
|
ve as EXTENSION_CANVAS_RENDERER,
|
|
12978
12981
|
xr as EXTENSION_TROUBLE_DATA_MAPPER,
|
|
12979
12982
|
cr as EXTENSION_TROUBLE_MAPPER,
|
|
12980
|
-
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12983
|
+
vp as ErrorBoundaryWithFallback,
|
|
12984
|
+
my as EventBus,
|
|
12985
|
+
yy as EventBusFunctional,
|
|
12986
|
+
by as EventBusState,
|
|
12984
12987
|
S as ExtensionManager,
|
|
12985
12988
|
$h as FUTURE_CONTAINER_MODEL_TYPE,
|
|
12986
12989
|
ih as FUTURE_MODEL_TYPE,
|
|
@@ -13010,7 +13013,7 @@ export {
|
|
|
13010
13013
|
Do as HEADER_WORK_TRACKER,
|
|
13011
13014
|
Dr as KOS_MODEL_ID,
|
|
13012
13015
|
ji as KeyValue,
|
|
13013
|
-
|
|
13016
|
+
Sb as KeyValueServices,
|
|
13014
13017
|
re as Kos,
|
|
13015
13018
|
gt as KosConfigPropertySpec,
|
|
13016
13019
|
gi as KosContainerIndex,
|
|
@@ -13019,149 +13022,149 @@ export {
|
|
|
13019
13022
|
_ as KosCore,
|
|
13020
13023
|
we as KosCoreModelPropertyMapper,
|
|
13021
13024
|
Tu as KosDataContainer,
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
+
Cy as KosDependencyTypes,
|
|
13026
|
+
zy as KosExtensionUtils,
|
|
13027
|
+
Oy as KosFeatureFlags,
|
|
13025
13028
|
rd as KosFetchMethods,
|
|
13026
13029
|
Xo as KosGlobalConfig,
|
|
13027
13030
|
g as KosLog,
|
|
13028
13031
|
Fc as KosMockEvents,
|
|
13029
13032
|
Sd as KosModel,
|
|
13030
|
-
|
|
13033
|
+
lw as KosModelCollectionProvider,
|
|
13031
13034
|
De as KosModelContainer,
|
|
13032
13035
|
On as KosModelContext,
|
|
13033
13036
|
C as KosModelEvents,
|
|
13034
13037
|
Es as KosModelFactory,
|
|
13035
13038
|
hr as KosModelFutureContainerMixin,
|
|
13036
|
-
|
|
13037
|
-
|
|
13039
|
+
Dp as KosModelLoader,
|
|
13040
|
+
Ap as KosModelLoaderDisplay,
|
|
13038
13041
|
Rd as KosModelManager,
|
|
13039
|
-
|
|
13042
|
+
Ip as KosModelProvider,
|
|
13040
13043
|
Ie as KosModelRegistrationFactory,
|
|
13041
13044
|
go as KosModelRegistry,
|
|
13042
13045
|
m as KosModelState,
|
|
13043
13046
|
bl as KosModelSymbol,
|
|
13044
|
-
|
|
13047
|
+
sb as KosModelVisitor,
|
|
13045
13048
|
hu as KosObservableData,
|
|
13046
|
-
|
|
13047
|
-
|
|
13049
|
+
hb as KosRegistration,
|
|
13050
|
+
fb as KosSingletonRegistration,
|
|
13048
13051
|
Rr as KosTime,
|
|
13049
13052
|
rc as KosTimeContext,
|
|
13050
|
-
|
|
13051
|
-
|
|
13052
|
-
|
|
13053
|
+
fw as KosTimeProvider,
|
|
13054
|
+
Db as KosTimeServices,
|
|
13055
|
+
ap as KosTimer,
|
|
13053
13056
|
Ou as KosToken,
|
|
13054
|
-
|
|
13055
|
-
|
|
13057
|
+
ww as KosTranslationProvider,
|
|
13058
|
+
tg as KosTranslations,
|
|
13056
13059
|
_d as KosWSTransportStatus,
|
|
13057
13060
|
er as KosWsEvents,
|
|
13058
13061
|
Lc as LOGIN_HOST,
|
|
13059
|
-
|
|
13060
|
-
|
|
13062
|
+
py as LOGIN_URL,
|
|
13063
|
+
bp as LoadingMessage,
|
|
13061
13064
|
ks as LogBlock,
|
|
13062
13065
|
yn as LogBlockContainer,
|
|
13063
13066
|
vs as LogConfig,
|
|
13064
13067
|
Ss as LogStream,
|
|
13065
13068
|
ar as LogStreamContainer,
|
|
13066
|
-
|
|
13069
|
+
Ab as LogStreamServices,
|
|
13067
13070
|
Pd as MODEL_DELETION_DELAY,
|
|
13068
13071
|
uu as MiddlewareChain,
|
|
13069
13072
|
et as ModelEffects,
|
|
13070
|
-
|
|
13073
|
+
$b as MultipleFutureHandler,
|
|
13071
13074
|
Sn as NestedModelContext,
|
|
13072
13075
|
Pa as NetworkInterface,
|
|
13073
13076
|
Ws as NetworkInterfaceContainer,
|
|
13074
|
-
|
|
13077
|
+
jb as NetworkInterfaceServices,
|
|
13075
13078
|
je as ObservableData,
|
|
13076
13079
|
Fr as Ota,
|
|
13077
|
-
|
|
13078
|
-
|
|
13080
|
+
Ow as OutsideAlerter,
|
|
13081
|
+
Vy as PLUGIN_EXTENSION_NAME,
|
|
13079
13082
|
xc as PORT,
|
|
13080
13083
|
Xc as PROFILE_LOG_DEBUG,
|
|
13081
13084
|
el as PROFILE_LOG_INFO,
|
|
13082
|
-
|
|
13085
|
+
Dy as PROFILE_RELAX_STORE_VALIDATION,
|
|
13083
13086
|
Qc as PROFILE_TOOLS_PREVIEW,
|
|
13084
13087
|
ws as ParentModel,
|
|
13085
|
-
|
|
13086
|
-
|
|
13088
|
+
Yy as PluginExtensionManager,
|
|
13089
|
+
aw as ProgressBar,
|
|
13087
13090
|
yr as ReferenceConfig,
|
|
13088
13091
|
se as RegionInfo,
|
|
13089
|
-
|
|
13092
|
+
_b as RegionServices,
|
|
13090
13093
|
D as RegistrationManager,
|
|
13091
|
-
|
|
13094
|
+
Hb as Registry,
|
|
13092
13095
|
Oo as STATUS,
|
|
13093
13096
|
ne as ServiceFactory,
|
|
13094
13097
|
Re as SingletonKosModelRegistrationFactory,
|
|
13095
13098
|
Nr as SoftwareInfo,
|
|
13096
13099
|
oc as SoftwareInfoContext,
|
|
13097
|
-
|
|
13098
|
-
|
|
13100
|
+
mw as SoftwareInfoProvider,
|
|
13101
|
+
Pb as SoftwareInfoServices,
|
|
13099
13102
|
Ks as StateBean,
|
|
13100
|
-
|
|
13103
|
+
Rb as StateBeanServices,
|
|
13101
13104
|
ga as StateProp,
|
|
13102
|
-
|
|
13105
|
+
Lb as StatePropServices,
|
|
13103
13106
|
zr as StorageDevice,
|
|
13104
13107
|
Kt as StorageDeviceContainer,
|
|
13105
|
-
|
|
13106
|
-
|
|
13107
|
-
|
|
13108
|
+
Bb as StorageDeviceServices,
|
|
13109
|
+
ev as StudioProperties,
|
|
13110
|
+
Xw as StudioPropertiesServices,
|
|
13108
13111
|
te as SubscriptionHandlers,
|
|
13109
13112
|
Za as TIMER_END,
|
|
13110
13113
|
qa as TIMER_EVENT,
|
|
13111
13114
|
Wa as TOPIC_TIMER_TICK_EVENT,
|
|
13112
|
-
|
|
13113
|
-
|
|
13114
|
-
|
|
13115
|
+
cp as TimerManager,
|
|
13116
|
+
Up as TokenContext,
|
|
13117
|
+
bw as TokenProvider,
|
|
13115
13118
|
$s as Topics,
|
|
13116
|
-
|
|
13119
|
+
Cw as Trans,
|
|
13117
13120
|
br as TransitionMap,
|
|
13118
13121
|
ai as Transitions,
|
|
13119
13122
|
Br as Translation,
|
|
13120
13123
|
Ce as TranslationContainer,
|
|
13121
13124
|
ac as TranslationContainerContext,
|
|
13122
|
-
|
|
13125
|
+
Fb as TranslationContext,
|
|
13123
13126
|
Un as TransportFactory,
|
|
13124
13127
|
js as Trouble,
|
|
13125
13128
|
kt as TroubleContainer,
|
|
13126
|
-
|
|
13129
|
+
Cb as TroubleServices,
|
|
13127
13130
|
he as Troubles,
|
|
13128
13131
|
Ha as UsbUpdate,
|
|
13129
13132
|
Js as UsbUpdateContainer,
|
|
13130
|
-
|
|
13131
|
-
|
|
13133
|
+
Kb as UsbUpdateServices,
|
|
13134
|
+
sg as WS_EVENT_TYPE,
|
|
13132
13135
|
_s as WebSocketEvents,
|
|
13133
13136
|
nr as WebSocketTransport,
|
|
13134
13137
|
va as WsEventFactory,
|
|
13135
13138
|
Nt as WsEventModel,
|
|
13136
|
-
|
|
13139
|
+
gp as acceptOrgInvitation,
|
|
13137
13140
|
Hc as addDaysToDate,
|
|
13138
13141
|
gh as addFuture,
|
|
13139
13142
|
Kc as addMonthsToDate,
|
|
13140
13143
|
vh as api,
|
|
13141
|
-
|
|
13142
|
-
|
|
13143
|
-
|
|
13144
|
+
vy as applyMixins,
|
|
13145
|
+
My as arraysEqual,
|
|
13146
|
+
Mb as buildConfigBeanModel,
|
|
13144
13147
|
Ai as buildFuture,
|
|
13145
13148
|
mh as buildFutureModel,
|
|
13146
13149
|
ph as cancelFuture,
|
|
13147
|
-
|
|
13150
|
+
yb as checkAppsStarted,
|
|
13148
13151
|
Oi as convert,
|
|
13149
|
-
|
|
13150
|
-
|
|
13152
|
+
wy as convertFileSizeRaw,
|
|
13153
|
+
Ib as convertWithUnits,
|
|
13151
13154
|
id as createBaseMessage,
|
|
13152
13155
|
dd as createBroadcastMessageResponse,
|
|
13153
|
-
|
|
13156
|
+
iw as createCancellablePromise,
|
|
13154
13157
|
ui as createClient,
|
|
13155
13158
|
od as createFosBaseMessage,
|
|
13156
13159
|
rs as createHeaders,
|
|
13157
13160
|
ud as createKosHtpMessageResponse,
|
|
13158
13161
|
cd as createKosMessage,
|
|
13159
13162
|
hd as createKosMessageResponse,
|
|
13160
|
-
|
|
13161
|
-
|
|
13163
|
+
Yb as createKosModelFutureManager,
|
|
13164
|
+
qb as createLazyKosModelFutureManager,
|
|
13162
13165
|
Ge as createMessageBody,
|
|
13163
13166
|
kl as createModelDependency,
|
|
13164
|
-
|
|
13167
|
+
Py as createOptionKey,
|
|
13165
13168
|
dt as createPropKey,
|
|
13166
13169
|
ns as createReadableStream,
|
|
13167
13170
|
nd as createStudioMessage,
|
|
@@ -13174,94 +13177,94 @@ export {
|
|
|
13174
13177
|
jl as executeChildrenModelLifecycle,
|
|
13175
13178
|
ss as executeDependentModelLifecycle,
|
|
13176
13179
|
Ul as executeListLifecycle,
|
|
13177
|
-
|
|
13178
|
-
|
|
13180
|
+
Iw as fetchModel,
|
|
13181
|
+
Zy as findModel,
|
|
13179
13182
|
jd as findModels,
|
|
13180
13183
|
Gc as formatDate,
|
|
13181
13184
|
Bc as formatDateSince,
|
|
13182
13185
|
Vc as formatDateTime,
|
|
13183
13186
|
zc as formatTime,
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
+
Qy as getAllKosCompanionModels,
|
|
13188
|
+
wm as getCalendarMonthArray,
|
|
13189
|
+
rp as getCompanionMixin,
|
|
13187
13190
|
xu as getConfigBean,
|
|
13188
|
-
|
|
13189
|
-
|
|
13190
|
-
|
|
13191
|
+
vm as getDayStrings,
|
|
13192
|
+
Uw as getDays,
|
|
13193
|
+
pm as getDaysArray,
|
|
13191
13194
|
Wo as getDaysInMonth,
|
|
13192
13195
|
Nl as getDependenciesByLifecycle,
|
|
13193
|
-
|
|
13194
|
-
|
|
13196
|
+
jw as getFormattedDate,
|
|
13197
|
+
Bw as getFormattedMonth,
|
|
13195
13198
|
lc as getFormattedMonthsArray,
|
|
13196
13199
|
ye as getFormattedYear,
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
|
|
13200
|
-
|
|
13200
|
+
bm as getFormattedYearsArray,
|
|
13201
|
+
Tb as getFutures,
|
|
13202
|
+
Jy as getKosCompanionModel,
|
|
13203
|
+
Vf as getKosLocalizationDescriptor,
|
|
13201
13204
|
al as getKosMessageLogging,
|
|
13202
13205
|
Ud as getKosModel,
|
|
13203
13206
|
ht as getKosModelSync,
|
|
13204
|
-
|
|
13207
|
+
Wy as getKosModelType,
|
|
13205
13208
|
_u as getKosSessionKey,
|
|
13206
13209
|
ms as getLastDayOfMonth,
|
|
13207
|
-
|
|
13210
|
+
xb as getLocalizationDescriptor,
|
|
13208
13211
|
il as getLogLevel,
|
|
13209
13212
|
cl as getLogMessageToStudio,
|
|
13210
13213
|
kn as getMessageBody,
|
|
13211
|
-
|
|
13212
|
-
|
|
13214
|
+
mm as getMonthsArray,
|
|
13215
|
+
Xy as getObservableCompanions,
|
|
13213
13216
|
pe as getQueryParams,
|
|
13214
|
-
|
|
13215
|
-
|
|
13216
|
-
|
|
13217
|
-
|
|
13217
|
+
bb as getStartedApps,
|
|
13218
|
+
zf as getTranslations,
|
|
13219
|
+
ym as getYearsArray,
|
|
13220
|
+
sp as hasCompanionMixin,
|
|
13218
13221
|
Cu as hasDecimals,
|
|
13219
|
-
|
|
13222
|
+
Wb as hasKosModelFutureSupport,
|
|
13220
13223
|
Cn as hasKosProfile,
|
|
13221
13224
|
Zc as hslStringToHex,
|
|
13222
13225
|
Wc as hslToHex,
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
+
hw as initKosProvider,
|
|
13227
|
+
Qb as inspectCompanionMixin,
|
|
13228
|
+
Zb as inspectFutureObservability,
|
|
13226
13229
|
vi as isBoolean,
|
|
13227
13230
|
Dd as isKosCompanionTypeFactory,
|
|
13228
13231
|
Ms as isKosDataModel,
|
|
13229
|
-
|
|
13232
|
+
Ay as isKosLoggingEnabled,
|
|
13230
13233
|
me as isKosModel,
|
|
13231
13234
|
ci as isKosModelContainer,
|
|
13232
13235
|
Ar as isKosModelReady,
|
|
13233
13236
|
qo as isLeapYear,
|
|
13234
|
-
|
|
13237
|
+
cb as isLocalRefId,
|
|
13235
13238
|
an as isNumber,
|
|
13236
|
-
|
|
13239
|
+
Uy as isPrintable,
|
|
13237
13240
|
ps as isValidDate,
|
|
13238
13241
|
ae as kosAction,
|
|
13239
13242
|
G as kosAutoEffect,
|
|
13240
13243
|
_e as kosChild,
|
|
13241
|
-
|
|
13242
|
-
|
|
13244
|
+
Ry as kosCompanion,
|
|
13245
|
+
iv as kosComponent,
|
|
13243
13246
|
mi as kosComputed,
|
|
13244
13247
|
ln as kosConfigBean,
|
|
13245
|
-
|
|
13246
|
-
|
|
13248
|
+
Eb as kosConfigProperty,
|
|
13249
|
+
Ly as kosContext,
|
|
13247
13250
|
ut as kosDependency,
|
|
13248
13251
|
Au as kosEffect,
|
|
13249
13252
|
Ee as kosFetch,
|
|
13250
13253
|
Xa as kosFuture,
|
|
13251
|
-
|
|
13254
|
+
xy as kosLogger,
|
|
13252
13255
|
A as kosModel,
|
|
13253
13256
|
Tl as kosModelEffect,
|
|
13254
13257
|
yi as kosObservable,
|
|
13255
13258
|
rn as kosParentAware,
|
|
13256
|
-
|
|
13257
|
-
|
|
13258
|
-
|
|
13259
|
-
|
|
13259
|
+
Fy as kosReference,
|
|
13260
|
+
ew as kosStateBean,
|
|
13261
|
+
tw as kosStateProp,
|
|
13262
|
+
ky as kosSubscribe,
|
|
13260
13263
|
F as kosTopicHandler,
|
|
13261
13264
|
Wn as kosWhen,
|
|
13262
|
-
|
|
13263
|
-
|
|
13264
|
-
|
|
13265
|
+
up as login,
|
|
13266
|
+
rv as makeAutoObservable,
|
|
13267
|
+
nv as makeObservable,
|
|
13265
13268
|
Uu as mapConfigBeanModelToDto,
|
|
13266
13269
|
Pn as mapDataToModel,
|
|
13267
13270
|
ku as mapDtoToConfigBeanModel,
|
|
@@ -13272,134 +13275,134 @@ export {
|
|
|
13272
13275
|
Wt as modelFactory,
|
|
13273
13276
|
yl as modelTypeEventTopicFactory,
|
|
13274
13277
|
Lu as modifyConfigBean,
|
|
13275
|
-
|
|
13276
|
-
|
|
13278
|
+
Ob as modifyFuture,
|
|
13279
|
+
ib as pairedClientHeartbeat,
|
|
13277
13280
|
gu as pipe,
|
|
13278
|
-
|
|
13279
|
-
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
13281
|
+
tb as preloadKosModel,
|
|
13282
|
+
$y as processId,
|
|
13283
|
+
rb as processMiddleware,
|
|
13284
|
+
eb as registerCompanionModel,
|
|
13285
|
+
Xg as registerCoreModels,
|
|
13283
13286
|
sn as registerExtensionPoint,
|
|
13284
13287
|
Hd as registerKosModel,
|
|
13285
13288
|
Kd as registerLegacyModel,
|
|
13286
13289
|
Nd as resetKosModel,
|
|
13287
|
-
|
|
13290
|
+
fp as resetPassword,
|
|
13288
13291
|
cu as resolveBaseUrl,
|
|
13289
13292
|
Bl as resolveChild,
|
|
13290
|
-
|
|
13291
|
-
|
|
13293
|
+
_y as resolveContainerDeltas,
|
|
13294
|
+
Ey as resolveItemListDeltas,
|
|
13292
13295
|
Hn as resolveKosCompanion,
|
|
13293
|
-
|
|
13296
|
+
ub as resolveKosContext,
|
|
13294
13297
|
rl as resolveKosProfiles,
|
|
13295
|
-
|
|
13298
|
+
Iy as resolveListDeltas,
|
|
13296
13299
|
le as resolveServiceUrl,
|
|
13297
13300
|
Jc as resolveVariable,
|
|
13298
|
-
|
|
13299
|
-
|
|
13300
|
-
|
|
13301
|
-
|
|
13301
|
+
ab as retryWithExponentialBackoff,
|
|
13302
|
+
pb as sendAsyncIntent,
|
|
13303
|
+
Hy as sendBroadcastMessage,
|
|
13304
|
+
gb as sendIntent,
|
|
13302
13305
|
gd as sendKosHttpMessageResponse,
|
|
13303
|
-
|
|
13306
|
+
jy as sendKosMessage,
|
|
13304
13307
|
fd as sendKosMessageResponse,
|
|
13305
|
-
|
|
13306
|
-
|
|
13307
|
-
|
|
13308
|
-
|
|
13309
|
-
|
|
13310
|
-
|
|
13311
|
-
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
|
|
13318
|
-
|
|
13308
|
+
lb as sendRequest,
|
|
13309
|
+
Ky as sendStudioMessage,
|
|
13310
|
+
By as sendStudioMessageRequest,
|
|
13311
|
+
Jb as setupCompanionDecoratorMixin,
|
|
13312
|
+
ep as setupCompleteFutureSupport,
|
|
13313
|
+
zb as setupMinimalFutureSupport,
|
|
13314
|
+
hp as startPasswordReset,
|
|
13315
|
+
om as stringComponentInsert,
|
|
13316
|
+
ow as studioAcceptOrgInvitation,
|
|
13317
|
+
sw as studioLogin,
|
|
13318
|
+
nw as studioResetPassword,
|
|
13319
|
+
rw as studioStartPasswordReset,
|
|
13320
|
+
Xb as subscribeStore,
|
|
13321
|
+
db as syncPublish,
|
|
13319
13322
|
Rl as transitionToActive,
|
|
13320
13323
|
Fl as transitionToInit,
|
|
13321
13324
|
xl as transitionToLoad,
|
|
13322
13325
|
Ll as transitionToReady,
|
|
13323
|
-
|
|
13324
|
-
|
|
13325
|
-
|
|
13326
|
-
|
|
13327
|
-
|
|
13328
|
-
|
|
13329
|
-
|
|
13326
|
+
Ny as transitionToUnload,
|
|
13327
|
+
kb as troubleByTypeReducer,
|
|
13328
|
+
pf as troubleDataFactory,
|
|
13329
|
+
qy as unloadKosModel,
|
|
13330
|
+
ob as updateCompanionModelRegistration,
|
|
13331
|
+
nb as updateModelRegistration,
|
|
13332
|
+
op as updateRegion,
|
|
13330
13333
|
po as updateTimeZone,
|
|
13331
|
-
|
|
13332
|
-
|
|
13333
|
-
|
|
13334
|
-
|
|
13335
|
-
|
|
13336
|
-
|
|
13337
|
-
|
|
13338
|
-
|
|
13339
|
-
|
|
13340
|
-
|
|
13341
|
-
|
|
13342
|
-
|
|
13334
|
+
Gm as useAmPmValues,
|
|
13335
|
+
Dm as useCalendarDayArray,
|
|
13336
|
+
Nw as useConfigBean,
|
|
13337
|
+
fm as useConfigProperty,
|
|
13338
|
+
cw as useContextModel,
|
|
13339
|
+
Tp as useContextModelHierarchy,
|
|
13340
|
+
Mm as useDateArrays,
|
|
13341
|
+
Kw as useDateProps,
|
|
13342
|
+
Hw as useDateRelativeConfig,
|
|
13343
|
+
Pm as useDateRelativeData,
|
|
13344
|
+
Om as useDayNames,
|
|
13345
|
+
Tm as useDayOptions,
|
|
13343
13346
|
uc as useDays,
|
|
13344
|
-
|
|
13345
|
-
|
|
13346
|
-
|
|
13347
|
-
|
|
13348
|
-
|
|
13349
|
-
|
|
13350
|
-
|
|
13347
|
+
Zp as useDevice,
|
|
13348
|
+
Sm as useFormattedDate,
|
|
13349
|
+
Vm as useFormattedTime,
|
|
13350
|
+
Gw as useFunctionWarmup,
|
|
13351
|
+
Hm as useHourValues,
|
|
13352
|
+
Rp as useKosCore,
|
|
13353
|
+
zw as useKosDateFormats,
|
|
13351
13354
|
J as useKosModel,
|
|
13352
|
-
|
|
13355
|
+
Nm as useKosRegions,
|
|
13353
13356
|
sc as useKosTime,
|
|
13354
|
-
|
|
13355
|
-
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
-
|
|
13363
|
-
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13357
|
+
gw as useKosTimeContext,
|
|
13358
|
+
Yw as useKosTimeFormats,
|
|
13359
|
+
Vw as useKosTimeZones,
|
|
13360
|
+
Pw as useKosTranslation,
|
|
13361
|
+
vw as useKosTranslationContext,
|
|
13362
|
+
qw as useLocalComputed,
|
|
13363
|
+
dw as useModelFromHierarchy,
|
|
13364
|
+
Im as useMonths,
|
|
13365
|
+
Em as useMonthsOptions,
|
|
13366
|
+
Ww as useMutationObserver,
|
|
13367
|
+
Jp as useNetworkInterfaceContainer,
|
|
13368
|
+
Qp as useOta,
|
|
13369
|
+
Zw as usePressGesture,
|
|
13370
|
+
Km as useProjectReload,
|
|
13371
|
+
Jw as useRegionTimeProps,
|
|
13372
|
+
Cm as useRegionalTimeDate,
|
|
13370
13373
|
nc as useSoftwareInfo,
|
|
13371
|
-
|
|
13372
|
-
|
|
13373
|
-
|
|
13374
|
+
yw as useSoftwareInfoContext,
|
|
13375
|
+
Sw as useStateProperty,
|
|
13376
|
+
em as useStorageDeviceContainer,
|
|
13374
13377
|
mo as useSuspenseData,
|
|
13375
|
-
|
|
13376
|
-
|
|
13378
|
+
zm as useTimeOptions,
|
|
13379
|
+
Ym as useTimeProps,
|
|
13377
13380
|
yo as useTimeValues,
|
|
13378
|
-
|
|
13379
|
-
|
|
13381
|
+
Aw as useTimer,
|
|
13382
|
+
dm as useTranslationContainer,
|
|
13380
13383
|
cc as useTroubleContainerModel,
|
|
13381
|
-
|
|
13382
|
-
|
|
13383
|
-
|
|
13384
|
+
Lw as useTroubleModel,
|
|
13385
|
+
xw as useTroublePresence,
|
|
13386
|
+
um as useUsbUpdateContainer,
|
|
13384
13387
|
dc as useYears,
|
|
13385
|
-
|
|
13388
|
+
_m as useYearsOptions,
|
|
13386
13389
|
qt as uuid,
|
|
13387
|
-
|
|
13388
|
-
|
|
13390
|
+
Sy as variableToHex,
|
|
13391
|
+
mb as waitForAppToStart,
|
|
13389
13392
|
Du as waitForAppsToStart,
|
|
13390
13393
|
fi as waitForRequest,
|
|
13391
13394
|
de as whenReady,
|
|
13392
|
-
|
|
13393
|
-
|
|
13394
|
-
|
|
13395
|
-
|
|
13396
|
-
|
|
13397
|
-
|
|
13398
|
-
|
|
13399
|
-
|
|
13400
|
-
|
|
13401
|
-
|
|
13402
|
-
|
|
13395
|
+
_w as withDevice,
|
|
13396
|
+
Vb as withKosModelFutures,
|
|
13397
|
+
Ew as withKosTime,
|
|
13398
|
+
$w as withNetworkInterfaceContainer,
|
|
13399
|
+
Tw as withOta,
|
|
13400
|
+
Qw as withProjectReloading,
|
|
13401
|
+
pw as withSoftwareInfo,
|
|
13402
|
+
Dw as withStorageDeviceContainer,
|
|
13403
|
+
Rw as withTranslationContainer,
|
|
13404
|
+
Fw as withTroubleContainer,
|
|
13405
|
+
kw as withUsbUpdateContainer,
|
|
13403
13406
|
Yo as wrapPromise
|
|
13404
13407
|
};
|
|
13405
13408
|
//# sourceMappingURL=index.js.map
|