@pepperdash/mobile-control-react-app-core 1.21.0-ibasic-volume.4 → 1.21.0-ibasic-volume.5
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.
|
@@ -191,7 +191,7 @@ const K6 = S1, G6 = (e) => f(
|
|
|
191
191
|
), t8 = w(
|
|
192
192
|
J,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
), S3 = () => f(q2), s8 = () => f(Y2), o8 = () => f(z2), n8 = () => f(J2), c8 = () => f(X2), r8 = () => f(Q2), ie = () => f(N2), ae = () => f(e8), ue = () => f(t8), c1 = (e) => e.ui,
|
|
194
|
+
), S3 = () => f(q2), s8 = () => f(Y2), o8 = () => f(z2), n8 = () => f(J2), c8 = () => f(X2), r8 = () => f(Q2), ie = () => f(N2), ae = () => f(e8), ue = () => f(t8), c1 = (e) => e.ui, W1 = (e) => w(
|
|
195
195
|
c1,
|
|
196
196
|
(t) => t.modalVisibility[e]
|
|
197
197
|
), l8 = (e) => w(
|
|
@@ -216,7 +216,7 @@ const K6 = S1, G6 = (e) => f(
|
|
|
216
216
|
), d8 = w(
|
|
217
217
|
c1,
|
|
218
218
|
(e) => e.theme
|
|
219
|
-
), de = () => f(
|
|
219
|
+
), de = () => f(W1("showShutdownModal")), he = () => f(W1("showIncomingCallModal")), ve = (e) => f(W1(e)), ge = (e) => f(l8(e)), fe = (e, t) => f(i8(e, t)), h8 = () => f(a8), v8 = () => f(u8), pe = () => f(d8), g8 = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -275,7 +275,7 @@ const K6 = S1, G6 = (e) => f(
|
|
|
275
275
|
e.config = t.payload;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
}), w8 = b3.actions, x8 = b3.reducer, h3 = {},
|
|
278
|
+
}), w8 = b3.actions, x8 = b3.reducer, h3 = {}, O1 = g1({
|
|
279
279
|
name: "devices",
|
|
280
280
|
initialState: h3,
|
|
281
281
|
reducers: {
|
|
@@ -290,9 +290,9 @@ const K6 = S1, G6 = (e) => f(
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
}), N = {
|
|
293
|
-
setDeviceState:
|
|
294
|
-
clearDevices:
|
|
295
|
-
}, M8 =
|
|
293
|
+
setDeviceState: O1.actions.setDeviceState,
|
|
294
|
+
clearDevices: O1.actions.clearDevices
|
|
295
|
+
}, M8 = O1.reducer, v3 = {}, V1 = g1({
|
|
296
296
|
name: "rooms",
|
|
297
297
|
initialState: v3,
|
|
298
298
|
reducers: {
|
|
@@ -307,9 +307,9 @@ const K6 = S1, G6 = (e) => f(
|
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
}), e1 = {
|
|
310
|
-
setRoomState:
|
|
311
|
-
clearRooms:
|
|
312
|
-
}, m8 =
|
|
310
|
+
setRoomState: V1.actions.setRoomState,
|
|
311
|
+
clearRooms: V1.actions.clearRooms
|
|
312
|
+
}, m8 = V1.reducer, Z8 = {
|
|
313
313
|
apiVersion: "",
|
|
314
314
|
serverIsRunningOnProcessorHardware: !1,
|
|
315
315
|
websocket: {
|
|
@@ -376,18 +376,18 @@ const K6 = S1, G6 = (e) => f(
|
|
|
376
376
|
ui: f8
|
|
377
377
|
}), m = d2({
|
|
378
378
|
reducer: S8
|
|
379
|
-
}),
|
|
379
|
+
}), k1 = c2.create();
|
|
380
380
|
function C8() {
|
|
381
381
|
const e = w2();
|
|
382
382
|
return async () => {
|
|
383
383
|
try {
|
|
384
384
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
385
385
|
t.length >= 5 ? t.length = 5 : t.length = 2;
|
|
386
|
-
const o = `/${t.join("/")}`, c = await
|
|
386
|
+
const o = `/${t.join("/")}`, c = await k1.get("/_local-config/_config.local.json", { baseURL: o });
|
|
387
387
|
if (c.status == 200 && c.data) {
|
|
388
388
|
const r = c.data.apiPath;
|
|
389
389
|
e(w8.setAppConfig(c.data));
|
|
390
|
-
const i = await
|
|
390
|
+
const i = await k1.get(`${r}/version`);
|
|
391
391
|
i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
|
|
392
392
|
}
|
|
393
393
|
} catch (t) {
|
|
@@ -445,10 +445,10 @@ function I8() {
|
|
|
445
445
|
{
|
|
446
446
|
for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), v = 1; v < l; v++)
|
|
447
447
|
u[v - 1] = arguments[v];
|
|
448
|
-
|
|
448
|
+
b1("error", n, u);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
function
|
|
451
|
+
function b1(n, l, u) {
|
|
452
452
|
{
|
|
453
453
|
var v = $.ReactDebugCurrentFrame, C = v.getStackAddendum();
|
|
454
454
|
C !== "" && (l += "%s", u = u.concat([C]));
|
|
@@ -458,10 +458,10 @@ function I8() {
|
|
|
458
458
|
I.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, I);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
var
|
|
461
|
+
var I1 = !1, y = !1, S = !1, f1 = !1, R1 = !1, Y;
|
|
462
462
|
Y = Symbol.for("react.module.reference");
|
|
463
463
|
function B(n) {
|
|
464
|
-
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i ||
|
|
464
|
+
return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || R1 || n === r || n === x || n === g || f1 || n === F || I1 || y || S || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === R || n.$$typeof === d || n.$$typeof === a || n.$$typeof === h || // This needs to include all possible module reference object
|
|
465
465
|
// types supported by any Flight configuration anywhere since
|
|
466
466
|
// we don't know which Flight build this will end up being used
|
|
467
467
|
// with.
|
|
@@ -584,27 +584,27 @@ function I8() {
|
|
|
584
584
|
l1 < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
var
|
|
587
|
+
var y1 = $.ReactCurrentDispatcher, E1;
|
|
588
588
|
function p1(n, l, u) {
|
|
589
589
|
{
|
|
590
|
-
if (
|
|
590
|
+
if (E1 === void 0)
|
|
591
591
|
try {
|
|
592
592
|
throw Error();
|
|
593
593
|
} catch (C) {
|
|
594
594
|
var v = C.stack.trim().match(/\n( *(at )?)/);
|
|
595
|
-
|
|
595
|
+
E1 = v && v[1] || "";
|
|
596
596
|
}
|
|
597
597
|
return `
|
|
598
|
-
` +
|
|
598
|
+
` + E1 + n;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
var
|
|
601
|
+
var _1 = !1, w1;
|
|
602
602
|
{
|
|
603
603
|
var T3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
604
604
|
w1 = new T3();
|
|
605
605
|
}
|
|
606
606
|
function X1(n, l) {
|
|
607
|
-
if (!n ||
|
|
607
|
+
if (!n || _1)
|
|
608
608
|
return "";
|
|
609
609
|
{
|
|
610
610
|
var u = w1.get(n);
|
|
@@ -612,11 +612,11 @@ function I8() {
|
|
|
612
612
|
return u;
|
|
613
613
|
}
|
|
614
614
|
var v;
|
|
615
|
-
|
|
615
|
+
_1 = !0;
|
|
616
616
|
var C = Error.prepareStackTrace;
|
|
617
617
|
Error.prepareStackTrace = void 0;
|
|
618
618
|
var I;
|
|
619
|
-
I =
|
|
619
|
+
I = y1.current, y1.current = null, _3();
|
|
620
620
|
try {
|
|
621
621
|
if (l) {
|
|
622
622
|
var Z = function() {
|
|
@@ -669,7 +669,7 @@ function I8() {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
} finally {
|
|
672
|
-
|
|
672
|
+
_1 = !1, y1.current = I, P3(), Error.prepareStackTrace = C;
|
|
673
673
|
}
|
|
674
674
|
var o1 = n ? n.displayName || n.name : "", Q = o1 ? p1(o1) : "";
|
|
675
675
|
return typeof n == "function" && w1.set(n, Q), Q;
|
|
@@ -738,7 +738,7 @@ function I8() {
|
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
740
|
var A3 = Array.isArray;
|
|
741
|
-
function
|
|
741
|
+
function P1(n) {
|
|
742
742
|
return A3(n);
|
|
743
743
|
}
|
|
744
744
|
function B3(n) {
|
|
@@ -855,7 +855,7 @@ function I8() {
|
|
|
855
855
|
return K3(n, M, O, C, v, s3.current, Z);
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
var
|
|
858
|
+
var T1 = $.ReactCurrentOwner, c3 = $.ReactDebugCurrentFrame;
|
|
859
859
|
function s1(n) {
|
|
860
860
|
if (n) {
|
|
861
861
|
var l = n._owner, u = x1(n.type, n._source, l ? l.type : null);
|
|
@@ -863,15 +863,15 @@ function I8() {
|
|
|
863
863
|
} else
|
|
864
864
|
c3.setExtraStackFrame(null);
|
|
865
865
|
}
|
|
866
|
-
var
|
|
867
|
-
|
|
868
|
-
function
|
|
866
|
+
var L1;
|
|
867
|
+
L1 = !1;
|
|
868
|
+
function D1(n) {
|
|
869
869
|
return typeof n == "object" && n !== null && n.$$typeof === t;
|
|
870
870
|
}
|
|
871
871
|
function r3() {
|
|
872
872
|
{
|
|
873
|
-
if (
|
|
874
|
-
var n = K(
|
|
873
|
+
if (T1.current) {
|
|
874
|
+
var n = K(T1.current.type);
|
|
875
875
|
if (n)
|
|
876
876
|
return `
|
|
877
877
|
|
|
@@ -906,25 +906,25 @@ Check the top-level render call using <` + u + ">.");
|
|
|
906
906
|
return;
|
|
907
907
|
l3[u] = !0;
|
|
908
908
|
var v = "";
|
|
909
|
-
n && n._owner && n._owner !==
|
|
909
|
+
n && n._owner && n._owner !== T1.current && (v = " It was passed a child from " + K(n._owner.type) + "."), s1(n), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, v), s1(null);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
function a3(n, l) {
|
|
913
913
|
{
|
|
914
914
|
if (typeof n != "object")
|
|
915
915
|
return;
|
|
916
|
-
if (
|
|
916
|
+
if (P1(n))
|
|
917
917
|
for (var u = 0; u < n.length; u++) {
|
|
918
918
|
var v = n[u];
|
|
919
|
-
|
|
919
|
+
D1(v) && i3(v, l);
|
|
920
920
|
}
|
|
921
|
-
else if (
|
|
921
|
+
else if (D1(n))
|
|
922
922
|
n._store && (n._store.validated = !0);
|
|
923
923
|
else if (n) {
|
|
924
924
|
var C = r1(n);
|
|
925
925
|
if (typeof C == "function" && C !== n.entries)
|
|
926
926
|
for (var I = C.call(n), Z; !(Z = I.next()).done; )
|
|
927
|
-
|
|
927
|
+
D1(Z.value) && i3(Z.value, l);
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
930
|
}
|
|
@@ -945,8 +945,8 @@ Check the top-level render call using <` + u + ">.");
|
|
|
945
945
|
if (u) {
|
|
946
946
|
var v = K(l);
|
|
947
947
|
$3(u, n.props, "prop", v, n);
|
|
948
|
-
} else if (l.PropTypes !== void 0 && !
|
|
949
|
-
|
|
948
|
+
} else if (l.PropTypes !== void 0 && !L1) {
|
|
949
|
+
L1 = !0;
|
|
950
950
|
var C = K(l);
|
|
951
951
|
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
|
|
952
952
|
}
|
|
@@ -975,7 +975,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
975
975
|
var O = q3();
|
|
976
976
|
O ? M += O : M += r3();
|
|
977
977
|
var _;
|
|
978
|
-
n === null ? _ = "null" :
|
|
978
|
+
n === null ? _ = "null" : P1(n) ? _ = "array" : n !== void 0 && n.$$typeof === t ? (_ = "<" + (K(n.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof n, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, M);
|
|
979
979
|
}
|
|
980
980
|
var T = G3(n, l, u, C, I);
|
|
981
981
|
if (T == null)
|
|
@@ -984,7 +984,7 @@ Check the top-level render call using <` + u + ">.");
|
|
|
984
984
|
var U = l.children;
|
|
985
985
|
if (U !== void 0)
|
|
986
986
|
if (v)
|
|
987
|
-
if (
|
|
987
|
+
if (P1(U)) {
|
|
988
988
|
for (var o1 = 0; o1 < U.length; o1++)
|
|
989
989
|
a3(U[o1], n);
|
|
990
990
|
Object.freeze && Object.freeze(U);
|
|
@@ -996,15 +996,15 @@ Check the top-level render call using <` + u + ">.");
|
|
|
996
996
|
if (i1.call(l, "key")) {
|
|
997
997
|
var Q = K(n), V = Object.keys(l).filter(function(s2) {
|
|
998
998
|
return s2 !== "key";
|
|
999
|
-
}),
|
|
1000
|
-
if (!u3[Q +
|
|
999
|
+
}), $1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1000
|
+
if (!u3[Q + $1]) {
|
|
1001
1001
|
var t2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1002
1002
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1003
1003
|
let props = %s;
|
|
1004
1004
|
<%s {...props} />
|
|
1005
1005
|
React keys must be passed directly to JSX without using spread:
|
|
1006
1006
|
let props = %s;
|
|
1007
|
-
<%s key={someKey} {...props} />`,
|
|
1007
|
+
<%s key={someKey} {...props} />`, $1, Q, t2, Q), u3[Q + $1] = !0;
|
|
1008
1008
|
}
|
|
1009
1009
|
}
|
|
1010
1010
|
return n === c ? J3(T) : z3(T), T;
|
|
@@ -1066,7 +1066,7 @@ const D8 = ({ children: e }) => {
|
|
|
1066
1066
|
const [t, o] = H(), c = S3(), r = s8(), i = o8(), d = C8(), a = j2(), h = n8(), x = c8(), g = r8(), R = v1(null), [D, F] = H(), k = v1({}), X = a1(
|
|
1067
1067
|
async (y) => {
|
|
1068
1068
|
try {
|
|
1069
|
-
const S = await
|
|
1069
|
+
const S = await k1.get(`${y}/ui/joinroom?token=${t}`);
|
|
1070
1070
|
return S.status === 200 && S.data ? (m.dispatch(W.setRoomData(S.data)), !0) : !1;
|
|
1071
1071
|
} catch (S) {
|
|
1072
1072
|
return console.log(S), g ? !0 : S instanceof r2 && S.response && S.response.status === 498 ? (console.error("Invalid token. Unable to join room"), m.dispatch(q.setErrorMessage(`Token ${t} is invalid. Unable to join room`)), !1) : (console.error("Error getting room data", S), S instanceof Error ? m.dispatch(q.setErrorMessage(S.message)) : m.dispatch(q.setErrorMessage("Error getting room data")), !1);
|
|
@@ -1083,12 +1083,12 @@ const D8 = ({ children: e }) => {
|
|
|
1083
1083
|
[c, i]
|
|
1084
1084
|
), A = (y, S) => {
|
|
1085
1085
|
$(y, { value: S });
|
|
1086
|
-
},
|
|
1086
|
+
}, b1 = a1(
|
|
1087
1087
|
(y, S, f1) => {
|
|
1088
1088
|
k.current[y] || (k.current[y] = {}), k.current[y][S] = f1, console.log("event handler added", y, S);
|
|
1089
1089
|
},
|
|
1090
1090
|
[]
|
|
1091
|
-
),
|
|
1091
|
+
), I1 = a1((y, S) => {
|
|
1092
1092
|
k.current[y] && (delete k.current[y][S], console.log("event handler removed", y, S));
|
|
1093
1093
|
}, []);
|
|
1094
1094
|
return n1(() => {
|
|
@@ -1102,7 +1102,7 @@ const D8 = ({ children: e }) => {
|
|
|
1102
1102
|
return;
|
|
1103
1103
|
}
|
|
1104
1104
|
console.log("connecting to websocket");
|
|
1105
|
-
const
|
|
1105
|
+
const R1 = `${a.apiPath.replace("http", "ws")}/ui/join/${t}`, Y = new WebSocket(R1);
|
|
1106
1106
|
R.current = Y, Y.onopen = (B) => {
|
|
1107
1107
|
console.log("connected", B.type, B.target), m.dispatch(W.setWebsocketIsConnected(!0));
|
|
1108
1108
|
}, Y.onerror = (B) => {
|
|
@@ -1196,8 +1196,8 @@ const D8 = ({ children: e }) => {
|
|
|
1196
1196
|
value: {
|
|
1197
1197
|
sendMessage: $,
|
|
1198
1198
|
sendSimpleMessage: A,
|
|
1199
|
-
addEventHandler:
|
|
1200
|
-
removeEventHandler:
|
|
1199
|
+
addEventHandler: b1,
|
|
1200
|
+
removeEventHandler: I1,
|
|
1201
1201
|
reconnect: r1
|
|
1202
1202
|
},
|
|
1203
1203
|
children: c ? e : /* @__PURE__ */ s.jsx(_8, {})
|
|
@@ -1243,7 +1243,7 @@ function p(e, t) {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
return $8({ onPress: i, onRelease: d });
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function C1(e) {
|
|
1247
1247
|
const { sendMessage: t } = b(), o = p(`${e}`, "volumeUp"), c = p(`${e}`, "volumeDown");
|
|
1248
1248
|
return {
|
|
1249
1249
|
volumeUp: o,
|
|
@@ -1252,7 +1252,7 @@ function W1(e) {
|
|
|
1252
1252
|
};
|
|
1253
1253
|
}
|
|
1254
1254
|
function y3(e, t) {
|
|
1255
|
-
const { sendMessage: o, sendSimpleMessage: c } = b(), r =
|
|
1255
|
+
const { sendMessage: o, sendSimpleMessage: c } = b(), r = C1(e);
|
|
1256
1256
|
if (!r) {
|
|
1257
1257
|
console.log("baseVolume is undefined");
|
|
1258
1258
|
return;
|
|
@@ -1270,7 +1270,7 @@ function y3(e, t) {
|
|
|
1270
1270
|
};
|
|
1271
1271
|
}
|
|
1272
1272
|
function xe(e, t) {
|
|
1273
|
-
const { sendMessage: o, sendSimpleMessage: c } = b(), r =
|
|
1273
|
+
const { sendMessage: o, sendSimpleMessage: c } = b(), r = C1(e);
|
|
1274
1274
|
if (!r) {
|
|
1275
1275
|
console.log("baseVolume is undefined");
|
|
1276
1276
|
return;
|
|
@@ -1301,7 +1301,7 @@ function E3(e) {
|
|
|
1301
1301
|
t(`/device/${e}/powerToggle`, null);
|
|
1302
1302
|
} };
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1304
|
+
function U1(e) {
|
|
1305
1305
|
const { sendMessage: t } = b(), o = P(e);
|
|
1306
1306
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1307
1307
|
t(`/device/${e}/${r}`, null);
|
|
@@ -1319,7 +1319,7 @@ function B8(e) {
|
|
|
1319
1319
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1320
1320
|
}
|
|
1321
1321
|
function Me(e) {
|
|
1322
|
-
const t = P(e), o = E3(e), c =
|
|
1322
|
+
const t = P(e), o = E3(e), c = U1(e), r = U1(e), i = A8(e), d = B8(e);
|
|
1323
1323
|
if (t)
|
|
1324
1324
|
return {
|
|
1325
1325
|
avrState: t,
|
|
@@ -1570,7 +1570,7 @@ function Je(e) {
|
|
|
1570
1570
|
} : void 0;
|
|
1571
1571
|
}
|
|
1572
1572
|
function Xe(e) {
|
|
1573
|
-
const t = P(e), o = E3(e), c =
|
|
1573
|
+
const t = P(e), o = E3(e), c = U1(e);
|
|
1574
1574
|
if (!t) return;
|
|
1575
1575
|
const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1576
1576
|
return {
|
|
@@ -1582,7 +1582,7 @@ function Xe(e) {
|
|
|
1582
1582
|
}
|
|
1583
1583
|
function Qe(e) {
|
|
1584
1584
|
const t = `/device/${e}`;
|
|
1585
|
-
return
|
|
1585
|
+
return C1(t);
|
|
1586
1586
|
}
|
|
1587
1587
|
const Ne = ({
|
|
1588
1588
|
config: e
|
|
@@ -1628,10 +1628,14 @@ function e5(e, t) {
|
|
|
1628
1628
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1629
1629
|
}
|
|
1630
1630
|
function t5(e, t) {
|
|
1631
|
+
const o = `/room/${e}/volumes/${t}`;
|
|
1632
|
+
return C1(o);
|
|
1633
|
+
}
|
|
1634
|
+
function s5(e, t) {
|
|
1631
1635
|
const o = K2(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1632
1636
|
return y3(c, o);
|
|
1633
1637
|
}
|
|
1634
|
-
function
|
|
1638
|
+
function o5(e) {
|
|
1635
1639
|
var a, h;
|
|
1636
1640
|
const [t, o] = H(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = H(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), i = (x) => {
|
|
1637
1641
|
const { current: g } = e;
|
|
@@ -1647,7 +1651,7 @@ function s5(e) {
|
|
|
1647
1651
|
x && g();
|
|
1648
1652
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
|
|
1649
1653
|
}
|
|
1650
|
-
function
|
|
1654
|
+
function n5() {
|
|
1651
1655
|
const { sendMessage: e } = b();
|
|
1652
1656
|
return {
|
|
1653
1657
|
reboot: () => {
|
|
@@ -1658,7 +1662,7 @@ function o5() {
|
|
|
1658
1662
|
}
|
|
1659
1663
|
};
|
|
1660
1664
|
}
|
|
1661
|
-
function
|
|
1665
|
+
function c5() {
|
|
1662
1666
|
const [e, t] = H(), [o, c] = H();
|
|
1663
1667
|
function r() {
|
|
1664
1668
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -1673,7 +1677,7 @@ function n5() {
|
|
|
1673
1677
|
return () => clearInterval(i);
|
|
1674
1678
|
}, []), { date: e, time: o };
|
|
1675
1679
|
}
|
|
1676
|
-
const
|
|
1680
|
+
const r5 = () => {
|
|
1677
1681
|
const [e, t] = H(!1), o = g2(), c = f2();
|
|
1678
1682
|
let r;
|
|
1679
1683
|
return p2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
|
|
@@ -1682,7 +1686,7 @@ const c5 = () => {
|
|
|
1682
1686
|
/* @__PURE__ */ s.jsx("button", { className: "btn btn-primary p-2", onClick: () => t(!e), children: e ? "Hide error message" : "Show error message" }),
|
|
1683
1687
|
e && /* @__PURE__ */ s.jsx("p", { children: r })
|
|
1684
1688
|
] });
|
|
1685
|
-
}, O8 = "_iconbtn_16qss_1", V8 = "_iconbtnvert_16qss_7", k8 = "_iconsm_16qss_18",
|
|
1689
|
+
}, O8 = "_iconbtn_16qss_1", V8 = "_iconbtnvert_16qss_7", k8 = "_iconsm_16qss_18", A1 = {
|
|
1686
1690
|
iconbtn: O8,
|
|
1687
1691
|
iconbtnvert: V8,
|
|
1688
1692
|
iconsm: k8
|
|
@@ -1706,7 +1710,7 @@ const c5 = () => {
|
|
|
1706
1710
|
"button",
|
|
1707
1711
|
{
|
|
1708
1712
|
type: "button",
|
|
1709
|
-
className: `${
|
|
1713
|
+
className: `${A1.iconbtn} ${o ? A1.iconbtnvert : ""} ${c} ${X}`,
|
|
1710
1714
|
...D,
|
|
1711
1715
|
disabled: d,
|
|
1712
1716
|
onPointerDown: ($) => {
|
|
@@ -1722,7 +1726,7 @@ const c5 = () => {
|
|
|
1722
1726
|
e && /* @__PURE__ */ s.jsx(
|
|
1723
1727
|
e,
|
|
1724
1728
|
{
|
|
1725
|
-
className: `${r ||
|
|
1729
|
+
className: `${r || A1.iconsm}`,
|
|
1726
1730
|
active: r1,
|
|
1727
1731
|
disabled: d
|
|
1728
1732
|
}
|
|
@@ -2937,7 +2941,7 @@ const c5 = () => {
|
|
|
2937
2941
|
active: e,
|
|
2938
2942
|
disabled: o
|
|
2939
2943
|
}
|
|
2940
|
-
),
|
|
2944
|
+
), l5 = ({
|
|
2941
2945
|
active: e,
|
|
2942
2946
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
2943
2947
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3378,7 +3382,7 @@ const c5 = () => {
|
|
|
3378
3382
|
X: w6,
|
|
3379
3383
|
Xbox: x6
|
|
3380
3384
|
};
|
|
3381
|
-
function
|
|
3385
|
+
function i5({
|
|
3382
3386
|
name: e,
|
|
3383
3387
|
iconsDictionary: t = m6,
|
|
3384
3388
|
...o
|
|
@@ -3392,7 +3396,7 @@ const Z6 = "_grid_1cmpp_1", j6 = "_header_1cmpp_11", S6 = "_content_1cmpp_17", C
|
|
|
3392
3396
|
content: S6,
|
|
3393
3397
|
footer: C6,
|
|
3394
3398
|
volume: b6
|
|
3395
|
-
},
|
|
3399
|
+
}, a5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
|
|
3396
3400
|
/* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
|
|
3397
3401
|
/* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
|
|
3398
3402
|
r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
|
|
@@ -3401,31 +3405,31 @@ const Z6 = "_grid_1cmpp_1", j6 = "_header_1cmpp_11", S6 = "_content_1cmpp_17", C
|
|
|
3401
3405
|
grid: I6,
|
|
3402
3406
|
header: R6,
|
|
3403
3407
|
content: y6
|
|
3404
|
-
},
|
|
3408
|
+
}, u5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
|
|
3405
3409
|
/* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
|
|
3406
3410
|
c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
|
|
3407
3411
|
/* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
|
|
3408
|
-
] }), E6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", P6 = "_content_1uwfo_17",
|
|
3412
|
+
] }), E6 = "_grid_1uwfo_1", _6 = "_header_1uwfo_11", P6 = "_content_1uwfo_17", B1 = {
|
|
3409
3413
|
grid: E6,
|
|
3410
3414
|
header: _6,
|
|
3411
3415
|
content: P6
|
|
3412
|
-
},
|
|
3413
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3414
|
-
/* @__PURE__ */ s.jsx("div", { className:
|
|
3416
|
+
}, d5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${B1.grid}`, children: [
|
|
3417
|
+
/* @__PURE__ */ s.jsx("div", { className: B1.header, children: t }),
|
|
3418
|
+
/* @__PURE__ */ s.jsx("div", { className: B1.content, children: o })
|
|
3415
3419
|
] });
|
|
3416
|
-
function
|
|
3420
|
+
function h5() {
|
|
3417
3421
|
return console.log(location.pathname), location.pathname;
|
|
3418
3422
|
}
|
|
3419
3423
|
var T6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(T6 || {});
|
|
3420
|
-
class
|
|
3424
|
+
class v5 {
|
|
3421
3425
|
constructor(t, o) {
|
|
3422
3426
|
G(this, "path");
|
|
3423
3427
|
G(this, "handler");
|
|
3424
3428
|
this.path = t, this.handler = o;
|
|
3425
3429
|
}
|
|
3426
3430
|
}
|
|
3427
|
-
const
|
|
3428
|
-
class
|
|
3431
|
+
const g5 = "$off";
|
|
3432
|
+
class f5 {
|
|
3429
3433
|
constructor() {
|
|
3430
3434
|
G(this, "currentShareText");
|
|
3431
3435
|
G(this, "enabled");
|
|
@@ -3435,7 +3439,7 @@ class g5 {
|
|
|
3435
3439
|
export {
|
|
3436
3440
|
me as Clock,
|
|
3437
3441
|
T6 as DaysOfWeek,
|
|
3438
|
-
|
|
3442
|
+
r5 as ErrorBox,
|
|
3439
3443
|
U8 as IconButton,
|
|
3440
3444
|
W8 as IconMultiAlert,
|
|
3441
3445
|
F8 as IconMultiBan,
|
|
@@ -3462,7 +3466,7 @@ export {
|
|
|
3462
3466
|
a6 as IconMultiRoomPC,
|
|
3463
3467
|
u6 as IconMultiShade,
|
|
3464
3468
|
d6 as IconMultiSun,
|
|
3465
|
-
|
|
3469
|
+
l5 as IconMultiTemplate,
|
|
3466
3470
|
h6 as IconMultiUpArrow,
|
|
3467
3471
|
v6 as IconMultiVolDown,
|
|
3468
3472
|
g6 as IconMultiVolMute,
|
|
@@ -3470,18 +3474,18 @@ export {
|
|
|
3470
3474
|
p6 as IconMultiWireless,
|
|
3471
3475
|
w6 as IconMultiX,
|
|
3472
3476
|
x6 as IconMultiXbox,
|
|
3473
|
-
|
|
3474
|
-
|
|
3477
|
+
a5 as MainLayout,
|
|
3478
|
+
v5 as MessageHandler,
|
|
3475
3479
|
we as MobileControlProvider,
|
|
3476
3480
|
j as MultiStateIconContainer,
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3481
|
+
i5 as NamedIconButton,
|
|
3482
|
+
f5 as ShareState,
|
|
3483
|
+
u5 as TechLayout,
|
|
3484
|
+
d5 as TechPinLayout,
|
|
3485
|
+
h5 as getBaseLocation,
|
|
3486
|
+
k1 as httpClient,
|
|
3483
3487
|
m6 as iconsDictionary,
|
|
3484
|
-
|
|
3488
|
+
g5 as roomOffSourceKey,
|
|
3485
3489
|
j3 as selectAllDevices,
|
|
3486
3490
|
M2 as selectApiPath,
|
|
3487
3491
|
x2 as selectAppConfig,
|
|
@@ -3491,7 +3495,7 @@ export {
|
|
|
3491
3495
|
a8 as selectError,
|
|
3492
3496
|
t8 as selectIsTouchpanel,
|
|
3493
3497
|
m2 as selectLogoPath,
|
|
3494
|
-
|
|
3498
|
+
W1 as selectModalVisibility,
|
|
3495
3499
|
Z2 as selectPartnerMetadata,
|
|
3496
3500
|
U2 as selectRoomAdvancedSharingActive,
|
|
3497
3501
|
P2 as selectRoomAudioControlPointList,
|
|
@@ -3558,7 +3562,7 @@ export {
|
|
|
3558
3562
|
Ee as useIDvr,
|
|
3559
3563
|
_e as useIEssentialsRoomCombiner,
|
|
3560
3564
|
E3 as useIHasPowerControl,
|
|
3561
|
-
|
|
3565
|
+
U1 as useIHasSelectableItems,
|
|
3562
3566
|
Pe as useIHumiditySensor,
|
|
3563
3567
|
Te as useILevelControls,
|
|
3564
3568
|
Le as useILightingScenes,
|
|
@@ -3592,7 +3596,8 @@ export {
|
|
|
3592
3596
|
J6 as useRoomDestinationList,
|
|
3593
3597
|
z6 as useRoomDestinations,
|
|
3594
3598
|
X6 as useRoomEnvironmentalDevices,
|
|
3595
|
-
t5 as
|
|
3599
|
+
t5 as useRoomIBasicVolume,
|
|
3600
|
+
s5 as useRoomIBasicVolumeWithFeedback,
|
|
3596
3601
|
ee as useRoomInCall,
|
|
3597
3602
|
se as useRoomIsCoolingDown,
|
|
3598
3603
|
oe as useRoomIsOn,
|
|
@@ -3606,17 +3611,17 @@ export {
|
|
|
3606
3611
|
S1 as useRoomState,
|
|
3607
3612
|
K2 as useRoomVolume,
|
|
3608
3613
|
ie as useRuntimeInfo,
|
|
3609
|
-
|
|
3614
|
+
o5 as useScroll,
|
|
3610
3615
|
r8 as useServerIsRunningOnProcessorHardware,
|
|
3611
3616
|
he as useShowIncomingCallModal,
|
|
3612
3617
|
ve as useShowModal,
|
|
3613
3618
|
fe as useShowPopoverById,
|
|
3614
3619
|
v8 as useShowReconnect,
|
|
3615
3620
|
de as useShowShutdownModal,
|
|
3616
|
-
|
|
3621
|
+
n5 as useSystemControl,
|
|
3617
3622
|
n8 as useSystemUuid,
|
|
3618
3623
|
pe as useTheme,
|
|
3619
|
-
|
|
3624
|
+
c5 as useTimeAndDate,
|
|
3620
3625
|
ae as useTouchpanelKey,
|
|
3621
3626
|
Xe as useTwoWayDisplayBase,
|
|
3622
3627
|
c8 as useUserCode,
|