@pepperdash/mobile-control-react-app-core 1.24.0-feat-essentials-v3.2 → 1.24.0-feat-essentials-v3.3
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/dist/mobile-control-react-app-core.es.js +469 -447
- package/dist/mobile-control-react-app-core.umd.js +9 -9
- package/dist/shared/hooks/interfaces/index.d.ts +3 -11
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasCameraMute.d.ts +13 -0
- package/dist/shared/hooks/interfaces/useIHasCameraMute.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useIHasCameraPresets.d.ts +14 -0
- package/dist/shared/hooks/interfaces/useIHasCameraPresets.d.ts.map +1 -0
- package/dist/types/state/state/IHasCameraMuteState.d.ts +6 -0
- package/dist/types/state/state/IHasCameraMuteState.d.ts.map +1 -0
- package/dist/types/state/state/IHasCameraPresetsState.d.ts +12 -0
- package/dist/types/state/state/IHasCameraPresetsState.d.ts.map +1 -0
- package/dist/types/state/state/index.d.ts +2 -0
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -22,29 +22,29 @@ const W1 = M2.withTypes(), m = x2.withTypes(), S1 = (e) => e.appConfig, E2 = M(
|
|
|
22
22
|
), X8 = () => m(E2), Q8 = () => m(T2), N8 = () => m(D2), e6 = () => m(_2), j3 = (e) => e.devices, C3 = M(
|
|
23
23
|
j3,
|
|
24
24
|
(e) => e
|
|
25
|
-
),
|
|
25
|
+
), P2 = (e) => M(
|
|
26
26
|
j3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
28
|
), t6 = () => m(C3);
|
|
29
|
-
function
|
|
30
|
-
return m(
|
|
29
|
+
function D(e) {
|
|
30
|
+
return m(P2(e));
|
|
31
31
|
}
|
|
32
|
-
const A = (e) => e.rooms,
|
|
32
|
+
const A = (e) => e.rooms, $2 = (e) => M(
|
|
33
33
|
A,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
),
|
|
35
|
+
), L2 = M(
|
|
36
36
|
A,
|
|
37
37
|
(e) => e
|
|
38
38
|
), A2 = (e) => M(
|
|
39
39
|
A,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
),
|
|
41
|
+
), O2 = (e) => M(
|
|
42
42
|
A,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
),
|
|
44
|
+
), B2 = (e, t) => M(
|
|
45
45
|
A,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
|
-
),
|
|
47
|
+
), k2 = (e) => M(
|
|
48
48
|
A,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
50
|
), W2 = (e) => M(
|
|
@@ -80,8 +80,8 @@ const A = (e) => e.rooms, P2 = (e) => M(
|
|
|
80
80
|
), K2 = (e) => M(
|
|
81
81
|
A,
|
|
82
82
|
(t) => {
|
|
83
|
-
var o, c, r, l,
|
|
84
|
-
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (
|
|
83
|
+
var o, c, r, l, a, g, h, f;
|
|
84
|
+
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (a = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : a.sinkKey : ((f = (h = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : h.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), q2 = (e) => M(
|
|
87
87
|
A,
|
|
@@ -148,20 +148,20 @@ const A = (e) => e.rooms, P2 = (e) => M(
|
|
|
148
148
|
);
|
|
149
149
|
function n6(e) {
|
|
150
150
|
return m(
|
|
151
|
-
|
|
151
|
+
$2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function o6() {
|
|
155
|
-
return m(
|
|
155
|
+
return m(L2);
|
|
156
156
|
}
|
|
157
157
|
function j1(e) {
|
|
158
158
|
return m(A2(e));
|
|
159
159
|
}
|
|
160
160
|
const s6 = j1, c6 = (e) => m(
|
|
161
|
-
|
|
161
|
+
O2(e)
|
|
162
162
|
), te = (e, t) => m(
|
|
163
|
-
|
|
164
|
-
), ne = (e) => m(
|
|
163
|
+
B2(e, t)
|
|
164
|
+
), ne = (e) => m(k2(e)) || void 0, r6 = (e) => m(W2(e)), l6 = (e) => m(V2(e)), i6 = (e) => m(U2(e)), a6 = (e) => m(F2(e)), u6 = (e) => m(H2(e)), d6 = (e) => m(K2(e)), v6 = (e) => m(q2(e)), h6 = (e) => m(G2(e)), g6 = (e) => m(Y2(e)), f6 = (e) => m(z2(e)), w6 = (e) => m(J2(e)), m6 = (e) => m(X2(e)), p6 = (e) => m(Q2(e)), M6 = (e) => m((t) => ee(t, e)), x6 = (e) => m(N2(e)), G = (e) => e.runtimeConfig, oe = M(
|
|
165
165
|
G,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
167
|
), se = M(
|
|
@@ -216,7 +216,7 @@ const s6 = j1, c6 = (e) => m(
|
|
|
216
216
|
), fe = M(N, (e) => e.error), we = M(
|
|
217
217
|
N,
|
|
218
218
|
(e) => e.showReconnect
|
|
219
|
-
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")),
|
|
219
|
+
), me = M(N, (e) => e.theme), pe = (e) => M(N, (t) => t.syncState.includes(e)), _6 = () => m(V1("showShutdownModal")), P6 = () => m(V1("showIncomingCallModal")), $6 = (e) => m(V1(e)), L6 = (e) => m(he(e)), A6 = (e, t) => m(ge(e, t)), Me = () => m(fe), xe = () => m(we), O6 = () => m(me), Ze = (e) => m(pe(e)), Se = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -289,14 +289,14 @@ const s6 = j1, c6 = (e) => m(
|
|
|
289
289
|
e.config = t.payload;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
}), T3 = E3.actions, be = E3.reducer, v3 = {},
|
|
292
|
+
}), T3 = E3.actions, be = E3.reducer, v3 = {}, O1 = v1({
|
|
293
293
|
name: "devices",
|
|
294
294
|
initialState: v3,
|
|
295
295
|
reducers: {
|
|
296
296
|
setDeviceState(e, t) {
|
|
297
297
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
298
298
|
if (!c) return;
|
|
299
|
-
const r = t.payload.content, l = e[c] ?? {},
|
|
299
|
+
const r = t.payload.content, l = e[c] ?? {}, a = S3.mergeWith(
|
|
300
300
|
{},
|
|
301
301
|
l,
|
|
302
302
|
r,
|
|
@@ -304,16 +304,16 @@ const s6 = j1, c6 = (e) => m(
|
|
|
304
304
|
if (Array.isArray(h)) return h.slice();
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
|
-
e[c] =
|
|
307
|
+
e[c] = a;
|
|
308
308
|
},
|
|
309
309
|
clearDevices() {
|
|
310
310
|
return v3;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}), m1 = {
|
|
314
|
-
setDeviceState:
|
|
315
|
-
clearDevices:
|
|
316
|
-
}, ye =
|
|
314
|
+
setDeviceState: O1.actions.setDeviceState,
|
|
315
|
+
clearDevices: O1.actions.clearDevices
|
|
316
|
+
}, ye = O1.reducer;
|
|
317
317
|
class Ie {
|
|
318
318
|
constructor() {
|
|
319
319
|
q(this, "uuid", "current-uuid");
|
|
@@ -329,26 +329,26 @@ function Re(e) {
|
|
|
329
329
|
function Ee(e, t) {
|
|
330
330
|
sessionStorage.setItem(e, t);
|
|
331
331
|
}
|
|
332
|
-
const g3 = {},
|
|
332
|
+
const g3 = {}, B1 = v1({
|
|
333
333
|
name: "rooms",
|
|
334
334
|
initialState: g3,
|
|
335
335
|
reducers: {
|
|
336
336
|
setRoomState(e, t) {
|
|
337
337
|
const o = t.payload.type, c = o.slice(o.lastIndexOf("/") + 1);
|
|
338
338
|
if (!c) return;
|
|
339
|
-
const r = t.payload.content, l = e[c] ?? {},
|
|
339
|
+
const r = t.payload.content, l = e[c] ?? {}, a = S3.mergeWith({}, l, r, (g, h) => {
|
|
340
340
|
if (Array.isArray(h)) return h;
|
|
341
341
|
});
|
|
342
|
-
e[c] =
|
|
342
|
+
e[c] = a;
|
|
343
343
|
},
|
|
344
344
|
clearRooms() {
|
|
345
345
|
return g3;
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}), p1 = {
|
|
349
|
-
setRoomState:
|
|
350
|
-
clearRooms:
|
|
351
|
-
}, Te =
|
|
349
|
+
setRoomState: B1.actions.setRoomState,
|
|
350
|
+
clearRooms: B1.actions.clearRooms
|
|
351
|
+
}, Te = B1.reducer, De = {
|
|
352
352
|
apiVersion: "",
|
|
353
353
|
serverIsRunningOnProcessorHardware: !1,
|
|
354
354
|
websocket: {
|
|
@@ -414,46 +414,46 @@ const g3 = {}, O1 = v1({
|
|
|
414
414
|
e.touchpanelKey = t.payload;
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
|
-
}), U = D3.actions, _e = D3.reducer,
|
|
418
|
-
type: P3,
|
|
419
|
-
payload: { messageType: e, content: t }
|
|
420
|
-
}), Pe = (e, t, o) => ({
|
|
417
|
+
}), U = D3.actions, _e = D3.reducer, $1 = M3.create(), _3 = "websocket/connect", P3 = "websocket/disconnect", $3 = "websocket/sendMessage", L3 = "websocket/addEventHandler", A3 = "websocket/removeEventHandler", O3 = "websocket/reconnect", B3 = () => ({ type: _3 }), B6 = () => ({ type: P3 }), Pe = (e, t) => ({
|
|
421
418
|
type: $3,
|
|
419
|
+
payload: { messageType: e, content: t }
|
|
420
|
+
}), $e = (e, t, o) => ({
|
|
421
|
+
type: L3,
|
|
422
422
|
payload: { eventType: e, key: t, callback: o }
|
|
423
|
-
}),
|
|
423
|
+
}), Le = (e, t) => ({
|
|
424
424
|
type: A3,
|
|
425
425
|
payload: { eventType: e, key: t }
|
|
426
|
-
}), Ae = () => ({ type:
|
|
426
|
+
}), Ae = () => ({ type: O3 }), Oe = () => {
|
|
427
427
|
const e = {
|
|
428
428
|
client: null,
|
|
429
429
|
token: null,
|
|
430
430
|
waitingToReconnect: !1,
|
|
431
431
|
reconnectTimer: null,
|
|
432
432
|
eventHandlers: {}
|
|
433
|
-
}, t = async (
|
|
433
|
+
}, t = async (u) => {
|
|
434
434
|
try {
|
|
435
435
|
const Z = location.pathname.split("/").filter((C) => C.length > 0);
|
|
436
436
|
Z.length >= 5 ? Z.length = 5 : Z.length = 2;
|
|
437
|
-
const j = `/${Z.join("/")}`, S = await
|
|
437
|
+
const j = `/${Z.join("/")}`, S = await $1.get(
|
|
438
438
|
"/_local-config/_config.local.json",
|
|
439
439
|
{ baseURL: j }
|
|
440
440
|
);
|
|
441
441
|
if (S.status === 200 && S.data) {
|
|
442
442
|
const C = S.data.apiPath;
|
|
443
|
-
|
|
444
|
-
const x = await
|
|
443
|
+
u(T3.setAppConfig(S.data));
|
|
444
|
+
const x = await $1.get(
|
|
445
445
|
`${C}/version`
|
|
446
446
|
);
|
|
447
|
-
x.status === 200 && x.data &&
|
|
447
|
+
x.status === 200 && x.data && u(U.setRuntimeConfig(x.data));
|
|
448
448
|
}
|
|
449
449
|
} catch (Z) {
|
|
450
450
|
console.error("Error getting config", Z);
|
|
451
451
|
}
|
|
452
452
|
return !0;
|
|
453
|
-
}, o = async (
|
|
453
|
+
}, o = async (u, Z, j) => {
|
|
454
454
|
try {
|
|
455
|
-
const S = await
|
|
456
|
-
`${
|
|
455
|
+
const S = await $1.get(
|
|
456
|
+
`${u}/ui/joinroom?token=${Z}`
|
|
457
457
|
);
|
|
458
458
|
return S.status === 200 && S.data ? (j(U.setRoomData(S.data)), S.data) : null;
|
|
459
459
|
} catch (S) {
|
|
@@ -463,21 +463,21 @@ const g3 = {}, O1 = v1({
|
|
|
463
463
|
)
|
|
464
464
|
), null) : (console.error("Error getting room data", S), S instanceof Error ? j(W.setErrorMessage(S.message)) : j(W.setErrorMessage("Error getting room data")), null);
|
|
465
465
|
}
|
|
466
|
-
}, c = (
|
|
466
|
+
}, c = (u) => {
|
|
467
467
|
e.reconnectTimer && (clearTimeout(e.reconnectTimer), e.reconnectTimer = null), console.log("WebSocket middleware: Starting reconnection loop..."), e.reconnectTimer = setTimeout(() => {
|
|
468
|
-
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."),
|
|
468
|
+
e.waitingToReconnect = !1, e.reconnectTimer = null, console.log("WebSocket middleware: Attempting automatic reconnection..."), u(B3());
|
|
469
469
|
}, 5e3);
|
|
470
470
|
}, r = () => {
|
|
471
471
|
e.reconnectTimer && (console.log("WebSocket middleware: Stopping reconnection loop"), clearTimeout(e.reconnectTimer), e.reconnectTimer = null);
|
|
472
|
-
}, l = (
|
|
473
|
-
|
|
474
|
-
},
|
|
472
|
+
}, l = (u) => {
|
|
473
|
+
u(W.setShowReconnect(!0)), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState());
|
|
474
|
+
}, a = (u, Z) => {
|
|
475
475
|
var H;
|
|
476
|
-
const j =
|
|
476
|
+
const j = u(), S = Z ?? j.runtimeConfig.roomData.roomKey, { clientId: C } = j.runtimeConfig.roomData, x = j.runtimeConfig.websocket.isConnected, O = (H = j.runtimeConfig.roomData.config) == null ? void 0 : H.runtimeInfo.essentialsVersion;
|
|
477
477
|
console.log("WebSocket middleware: Essentials version", {
|
|
478
|
-
essentialsVersion:
|
|
478
|
+
essentialsVersion: O
|
|
479
479
|
});
|
|
480
|
-
const o1 =
|
|
480
|
+
const o1 = O == null ? void 0 : O.startsWith("3.");
|
|
481
481
|
if (!Z || !x || !C) {
|
|
482
482
|
console.log("WebSocket middleware: Cannot request room status", {
|
|
483
483
|
hasRoomKey: !!Z,
|
|
@@ -501,7 +501,7 @@ const g3 = {}, O1 = v1({
|
|
|
501
501
|
content: null
|
|
502
502
|
})
|
|
503
503
|
));
|
|
504
|
-
}, g = async (
|
|
504
|
+
}, g = async (u, Z) => {
|
|
505
505
|
console.log("WebSocket middleware: Attempting to connect...");
|
|
506
506
|
const j = Z(), { apiPath: S } = j.appConfig.config, { serverIsRunningOnProcessorHardware: C } = j.runtimeConfig;
|
|
507
507
|
if (!S || !e.token) {
|
|
@@ -526,51 +526,51 @@ const g3 = {}, O1 = v1({
|
|
|
526
526
|
}
|
|
527
527
|
e.waitingToReconnect = !0;
|
|
528
528
|
try {
|
|
529
|
-
const x = await o(S, e.token,
|
|
529
|
+
const x = await o(S, e.token, u);
|
|
530
530
|
if (!x) {
|
|
531
531
|
console.log(
|
|
532
532
|
"WebSocket middleware: Failed to get room data, will retry..."
|
|
533
|
-
), c(
|
|
533
|
+
), c(u);
|
|
534
534
|
return;
|
|
535
535
|
}
|
|
536
536
|
console.log("WebSocket middleware: Connecting to websocket");
|
|
537
537
|
const o1 = `${S.replace("http", "ws")}/ui/join/${e.token}?clientId=${x.clientId}`, H = new WebSocket(o1);
|
|
538
|
-
e.client = H, H.onopen = (
|
|
539
|
-
console.log("WebSocket middleware: Connected",
|
|
540
|
-
e.client === H && H.readyState === WebSocket.OPEN &&
|
|
538
|
+
e.client = H, H.onopen = (B) => {
|
|
539
|
+
console.log("WebSocket middleware: Connected", B.type, B.target), e.waitingToReconnect = !1, r(), setTimeout(() => {
|
|
540
|
+
e.client === H && H.readyState === WebSocket.OPEN && u(U.setWebsocketIsConnected(!0));
|
|
541
541
|
}, 100);
|
|
542
|
-
}, H.onerror = (
|
|
543
|
-
console.error("WebSocket middleware: Error",
|
|
544
|
-
}, H.onclose = (
|
|
545
|
-
var
|
|
542
|
+
}, H.onerror = (B) => {
|
|
543
|
+
console.error("WebSocket middleware: Error", B), l(u);
|
|
544
|
+
}, H.onclose = (B) => {
|
|
545
|
+
var _;
|
|
546
546
|
if (console.log(
|
|
547
547
|
"WebSocket middleware: Disconnected",
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
),
|
|
551
|
-
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(
|
|
548
|
+
B.reason,
|
|
549
|
+
B.code
|
|
550
|
+
), B.code === 4100) {
|
|
551
|
+
console.log("WebSocket middleware: Closed by client (cleanup)"), r(), l(u);
|
|
552
552
|
return;
|
|
553
553
|
}
|
|
554
|
-
if (e.waitingToReconnect = !0,
|
|
555
|
-
console.log("WebSocket middleware: User code changed"), r(),
|
|
554
|
+
if (e.waitingToReconnect = !0, B.code === 4e3) {
|
|
555
|
+
console.log("WebSocket middleware: User code changed"), r(), u(
|
|
556
556
|
U.setUserCode({ userCode: "", qrUrl: "" })
|
|
557
|
-
),
|
|
557
|
+
), u(
|
|
558
558
|
W.setErrorMessage(
|
|
559
559
|
"User code changed. Click reconnect to enter the new code"
|
|
560
560
|
)
|
|
561
|
-
), l(
|
|
561
|
+
), l(u);
|
|
562
562
|
return;
|
|
563
563
|
}
|
|
564
|
-
if (
|
|
565
|
-
console.log("WebSocket middleware: Room combination changed"), r(),
|
|
564
|
+
if (B.code === 4002) {
|
|
565
|
+
console.log("WebSocket middleware: Room combination changed"), r(), u(
|
|
566
566
|
W.setErrorMessage(
|
|
567
567
|
"Room combination changed. Click Reconnect to re-join the room"
|
|
568
568
|
)
|
|
569
|
-
), l(
|
|
569
|
+
), l(u);
|
|
570
570
|
return;
|
|
571
571
|
}
|
|
572
|
-
if (
|
|
573
|
-
if (!!((
|
|
572
|
+
if (B.code === 4001)
|
|
573
|
+
if (!!((_ = Z().runtimeConfig) != null && _.touchpanelKey))
|
|
574
574
|
console.log(
|
|
575
575
|
"WebSocket middleware: Code 4001 received with touchpanel key present, will auto-reconnect"
|
|
576
576
|
);
|
|
@@ -581,11 +581,11 @@ const g3 = {}, O1 = v1({
|
|
|
581
581
|
else {
|
|
582
582
|
console.log(
|
|
583
583
|
"WebSocket middleware: Processor disconnected (no touchpanel key, not on processor hardware)"
|
|
584
|
-
), r(),
|
|
584
|
+
), r(), u(
|
|
585
585
|
W.setErrorMessage(
|
|
586
586
|
"Processor has disconnected. Click Reconnect to continue."
|
|
587
587
|
)
|
|
588
|
-
), l(
|
|
588
|
+
), l(u);
|
|
589
589
|
return;
|
|
590
590
|
}
|
|
591
591
|
if (e.client)
|
|
@@ -596,45 +596,45 @@ const g3 = {}, O1 = v1({
|
|
|
596
596
|
console.log("WebSocket middleware: Closed by client");
|
|
597
597
|
return;
|
|
598
598
|
}
|
|
599
|
-
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"),
|
|
599
|
+
e.client = null, console.log("WebSocket middleware: Clearing state on disconnect"), u(
|
|
600
600
|
W.setErrorMessage(
|
|
601
601
|
"Connection lost. Attempting to reconnect..."
|
|
602
602
|
)
|
|
603
|
-
),
|
|
604
|
-
}, H.onmessage = (
|
|
603
|
+
), u(U.setWebsocketIsConnected(!1)), u(m1.clearDevices()), u(p1.clearRooms()), u(W.clearAllModals()), u(W.clearSyncState()), c(u);
|
|
604
|
+
}, H.onmessage = (B) => {
|
|
605
605
|
try {
|
|
606
|
-
const
|
|
607
|
-
if (
|
|
608
|
-
H.close(4001,
|
|
606
|
+
const _ = JSON.parse(B.data);
|
|
607
|
+
if (_.type === "close") {
|
|
608
|
+
H.close(4001, _.content);
|
|
609
609
|
return;
|
|
610
610
|
}
|
|
611
|
-
if (
|
|
612
|
-
switch (
|
|
611
|
+
if (_.type.startsWith("/system/"))
|
|
612
|
+
switch (_.type) {
|
|
613
613
|
case "/system/touchpanelKey":
|
|
614
|
-
|
|
614
|
+
u(
|
|
615
615
|
U.setTouchpanelKey(
|
|
616
|
-
|
|
616
|
+
_.content
|
|
617
617
|
)
|
|
618
618
|
);
|
|
619
619
|
break;
|
|
620
620
|
case "/system/roomKey":
|
|
621
|
-
|
|
621
|
+
u(p1.clearRooms()), u(m1.clearDevices()), u(W.clearSyncState()), u(
|
|
622
622
|
U.setCurrentRoomKey(
|
|
623
|
-
|
|
623
|
+
_.content
|
|
624
624
|
)
|
|
625
625
|
);
|
|
626
626
|
break;
|
|
627
627
|
case "/system/userCodeChanged":
|
|
628
|
-
|
|
629
|
-
U.setUserCode(
|
|
628
|
+
u(
|
|
629
|
+
U.setUserCode(_.content)
|
|
630
630
|
);
|
|
631
631
|
break;
|
|
632
632
|
case "/system/roomCombinationChanged":
|
|
633
633
|
window.location.reload();
|
|
634
634
|
break;
|
|
635
635
|
case "/system/deviceInterfaces": {
|
|
636
|
-
const z =
|
|
637
|
-
|
|
636
|
+
const z = _.content;
|
|
637
|
+
u(
|
|
638
638
|
U.setDeviceInterfaces(
|
|
639
639
|
z.deviceInterfaces
|
|
640
640
|
)
|
|
@@ -644,18 +644,18 @@ const g3 = {}, O1 = v1({
|
|
|
644
644
|
default:
|
|
645
645
|
console.log(
|
|
646
646
|
"WebSocket middleware: Unhandled system message",
|
|
647
|
-
|
|
647
|
+
_
|
|
648
648
|
);
|
|
649
649
|
break;
|
|
650
650
|
}
|
|
651
|
-
else if (
|
|
652
|
-
const z = e.eventHandlers[
|
|
651
|
+
else if (_.type.startsWith("/event/")) {
|
|
652
|
+
const z = e.eventHandlers[_.type];
|
|
653
653
|
z || console.log(
|
|
654
654
|
"WebSocket middleware: No handlers found for event type",
|
|
655
|
-
|
|
655
|
+
_.type
|
|
656
656
|
), z && Object.values(z).forEach((s1) => {
|
|
657
657
|
try {
|
|
658
|
-
s1(
|
|
658
|
+
s1(_);
|
|
659
659
|
} catch (b1) {
|
|
660
660
|
console.error(
|
|
661
661
|
"WebSocket middleware: Event handler error",
|
|
@@ -663,9 +663,9 @@ const g3 = {}, O1 = v1({
|
|
|
663
663
|
);
|
|
664
664
|
}
|
|
665
665
|
});
|
|
666
|
-
} else
|
|
667
|
-
} catch (
|
|
668
|
-
console.error("WebSocket middleware: Message handling error",
|
|
666
|
+
} else _.type.startsWith("/room/") ? u(p1.setRoomState(_)) : _.type.startsWith("/device/") && u(m1.setDeviceState(_));
|
|
667
|
+
} catch (_) {
|
|
668
|
+
console.error("WebSocket middleware: Message handling error", _);
|
|
669
669
|
}
|
|
670
670
|
}, e.waitingToReconnect = !1;
|
|
671
671
|
} catch (x) {
|
|
@@ -673,24 +673,24 @@ const g3 = {}, O1 = v1({
|
|
|
673
673
|
}
|
|
674
674
|
}, h = () => {
|
|
675
675
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
676
|
-
}, f = (
|
|
676
|
+
}, f = (u, Z, j) => {
|
|
677
677
|
const S = j(), C = S.runtimeConfig.websocket.isConnected, x = S.runtimeConfig.roomData.clientId;
|
|
678
678
|
e.client && C ? e.client.send(
|
|
679
|
-
JSON.stringify({ type:
|
|
679
|
+
JSON.stringify({ type: u, clientId: x, content: Z })
|
|
680
680
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
681
|
-
}, d = (
|
|
682
|
-
e.eventHandlers[
|
|
683
|
-
},
|
|
684
|
-
e.eventHandlers[
|
|
681
|
+
}, d = (u, Z, j) => {
|
|
682
|
+
e.eventHandlers[u] || (e.eventHandlers[u] = {}), e.eventHandlers[u][Z] = j, console.log("WebSocket middleware: Event handler added", u, Z);
|
|
683
|
+
}, P = (u, Z) => {
|
|
684
|
+
e.eventHandlers[u] && (delete e.eventHandlers[u][Z], console.log(
|
|
685
685
|
"WebSocket middleware: Event handler removed",
|
|
686
|
-
|
|
686
|
+
u,
|
|
687
687
|
Z
|
|
688
688
|
));
|
|
689
|
-
}, F = (
|
|
690
|
-
const Z =
|
|
691
|
-
window.location.href = x ? `${
|
|
689
|
+
}, F = (u) => {
|
|
690
|
+
const Z = u(), { gatewayAppPath: j } = Z.appConfig.config, S = Z.runtimeConfig.roomData.roomKey, C = Z.runtimeConfig.roomData.systemUuid, x = Z.runtimeConfig.roomData.userCode, O = `${j}?uuid=${C}&roomKey=${S}`;
|
|
691
|
+
window.location.href = x ? `${O}&Code=${x}` : O;
|
|
692
692
|
};
|
|
693
|
-
return (
|
|
693
|
+
return (u) => (Z) => (j) => {
|
|
694
694
|
const S = Z(j);
|
|
695
695
|
if (!j || typeof j != "object" || !("type" in j))
|
|
696
696
|
return S;
|
|
@@ -698,21 +698,21 @@ const g3 = {}, O1 = v1({
|
|
|
698
698
|
return (async () => {
|
|
699
699
|
switch (C.type) {
|
|
700
700
|
case _3: {
|
|
701
|
-
let
|
|
702
|
-
|
|
701
|
+
let O = new URLSearchParams(window.location.search).get("token");
|
|
702
|
+
O ? (console.log("WebSocket middleware: Saving token"), Ee(h3.uuid, O)) : (O = Re(h3.uuid), console.log("WebSocket middleware: Loading token")), e.token = O, await t(u.dispatch), await g(u.dispatch, u.getState);
|
|
703
703
|
break;
|
|
704
704
|
}
|
|
705
|
-
case
|
|
705
|
+
case P3:
|
|
706
706
|
h();
|
|
707
707
|
break;
|
|
708
|
-
case
|
|
708
|
+
case $3:
|
|
709
709
|
f(
|
|
710
710
|
C.payload.messageType,
|
|
711
711
|
C.payload.content,
|
|
712
|
-
|
|
712
|
+
u.getState
|
|
713
713
|
);
|
|
714
714
|
break;
|
|
715
|
-
case
|
|
715
|
+
case L3:
|
|
716
716
|
d(
|
|
717
717
|
C.payload.eventType,
|
|
718
718
|
C.payload.key,
|
|
@@ -720,31 +720,31 @@ const g3 = {}, O1 = v1({
|
|
|
720
720
|
);
|
|
721
721
|
break;
|
|
722
722
|
case A3:
|
|
723
|
-
|
|
723
|
+
P(
|
|
724
724
|
C.payload.eventType,
|
|
725
725
|
C.payload.key
|
|
726
726
|
);
|
|
727
727
|
break;
|
|
728
|
-
case
|
|
729
|
-
F(
|
|
728
|
+
case O3:
|
|
729
|
+
F(u.getState);
|
|
730
730
|
break;
|
|
731
731
|
default:
|
|
732
732
|
if (j.type === U.setWebsocketIsConnected.type)
|
|
733
733
|
j.payload === !0 && (console.log(
|
|
734
734
|
"[WebSocket Middleware] Connection established, requesting room status..."
|
|
735
|
-
), setTimeout(() => u
|
|
735
|
+
), setTimeout(() => a(u.getState), 100));
|
|
736
736
|
else if (j.type === U.setRoomData.type) {
|
|
737
|
-
const x =
|
|
738
|
-
x.runtimeConfig.websocket.isConnected && (
|
|
737
|
+
const x = u.getState(), O = j.payload;
|
|
738
|
+
x.runtimeConfig.websocket.isConnected && (O != null && O.clientId) && (console.log(
|
|
739
739
|
"[WebSocket Middleware] Room data received, requesting room status..."
|
|
740
|
-
), setTimeout(() => u
|
|
740
|
+
), setTimeout(() => a(u.getState), 100));
|
|
741
741
|
} else if (j.type === U.setCurrentRoomKey.type) {
|
|
742
742
|
const x = j.payload;
|
|
743
743
|
x && (console.log(
|
|
744
744
|
"[WebSocket Middleware] Room changed to:",
|
|
745
745
|
x,
|
|
746
746
|
", requesting room status..."
|
|
747
|
-
), setTimeout(() => u
|
|
747
|
+
), setTimeout(() => a(u.getState, x), 100));
|
|
748
748
|
}
|
|
749
749
|
break;
|
|
750
750
|
}
|
|
@@ -752,22 +752,22 @@ const g3 = {}, O1 = v1({
|
|
|
752
752
|
console.error("WebSocket middleware: Error handling action", x);
|
|
753
753
|
}), S;
|
|
754
754
|
};
|
|
755
|
-
},
|
|
755
|
+
}, Be = S2({
|
|
756
756
|
appConfig: be,
|
|
757
757
|
runtimeConfig: _e,
|
|
758
758
|
rooms: Te,
|
|
759
759
|
devices: ye,
|
|
760
760
|
ui: je
|
|
761
|
-
}),
|
|
762
|
-
reducer:
|
|
761
|
+
}), ke = j2({
|
|
762
|
+
reducer: Be,
|
|
763
763
|
middleware: (e) => e({
|
|
764
764
|
serializableCheck: {
|
|
765
765
|
// Ignore WebSocket actions with callbacks
|
|
766
766
|
ignoredActions: ["websocket/addEventHandler"]
|
|
767
767
|
}
|
|
768
|
-
}).concat(
|
|
768
|
+
}).concat(Oe())
|
|
769
769
|
}), f3 = M3.create();
|
|
770
|
-
function
|
|
770
|
+
function k6() {
|
|
771
771
|
const e = W1();
|
|
772
772
|
return async () => {
|
|
773
773
|
try {
|
|
@@ -806,14 +806,14 @@ function We() {
|
|
|
806
806
|
if (w3) return i1;
|
|
807
807
|
w3 = 1;
|
|
808
808
|
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
809
|
-
function
|
|
810
|
-
var d,
|
|
811
|
-
f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (
|
|
812
|
-
for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && (
|
|
813
|
-
if (g && g.defaultProps) for (d in h = g.defaultProps, h)
|
|
814
|
-
return { $$typeof: t, type: g, key: F, ref:
|
|
809
|
+
function a(g, h, f) {
|
|
810
|
+
var d, P = {}, F = null, u = null;
|
|
811
|
+
f !== void 0 && (F = "" + f), h.key !== void 0 && (F = "" + h.key), h.ref !== void 0 && (u = h.ref);
|
|
812
|
+
for (d in h) c.call(h, d) && !l.hasOwnProperty(d) && (P[d] = h[d]);
|
|
813
|
+
if (g && g.defaultProps) for (d in h = g.defaultProps, h) P[d] === void 0 && (P[d] = h[d]);
|
|
814
|
+
return { $$typeof: t, type: g, key: F, ref: u, props: P, _owner: r.current };
|
|
815
815
|
}
|
|
816
|
-
return i1.Fragment = o, i1.jsx =
|
|
816
|
+
return i1.Fragment = o, i1.jsx = a, i1.jsxs = a, i1;
|
|
817
817
|
}
|
|
818
818
|
var a1 = {};
|
|
819
819
|
/**
|
|
@@ -828,7 +828,7 @@ var a1 = {};
|
|
|
828
828
|
var m3;
|
|
829
829
|
function Ve() {
|
|
830
830
|
return m3 || (m3 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
831
|
-
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"),
|
|
831
|
+
var e = x3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), g = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), Z = Symbol.iterator, j = "@@iterator";
|
|
832
832
|
function S(s) {
|
|
833
833
|
if (s === null || typeof s != "object")
|
|
834
834
|
return null;
|
|
@@ -840,10 +840,10 @@ function Ve() {
|
|
|
840
840
|
{
|
|
841
841
|
for (var i = arguments.length, v = new Array(i > 1 ? i - 1 : 0), p = 1; p < i; p++)
|
|
842
842
|
v[p - 1] = arguments[p];
|
|
843
|
-
|
|
843
|
+
O("error", s, v);
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
|
-
function
|
|
846
|
+
function O(s, i, v) {
|
|
847
847
|
{
|
|
848
848
|
var p = C.ReactDebugCurrentFrame, E = p.getStackAddendum();
|
|
849
849
|
E !== "" && (i += "%s", v = v.concat([E]));
|
|
@@ -853,10 +853,10 @@ function Ve() {
|
|
|
853
853
|
T.unshift("Warning: " + i), Function.prototype.apply.call(console[s], console, T);
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
var o1 = !1, H = !1,
|
|
856
|
+
var o1 = !1, H = !1, B = !1, _ = !1, z = !1, s1;
|
|
857
857
|
s1 = Symbol.for("react.module.reference");
|
|
858
858
|
function b1(s) {
|
|
859
|
-
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d ||
|
|
859
|
+
return !!(typeof s == "string" || typeof s == "function" || s === c || s === l || z || s === r || s === f || s === d || _ || s === u || o1 || H || B || typeof s == "object" && s !== null && (s.$$typeof === F || s.$$typeof === P || s.$$typeof === a || s.$$typeof === g || s.$$typeof === h || // This needs to include all possible module reference object
|
|
860
860
|
// types supported by any Flight configuration anywhere since
|
|
861
861
|
// we don't know which Flight build this will end up being used
|
|
862
862
|
// with.
|
|
@@ -898,12 +898,12 @@ function Ve() {
|
|
|
898
898
|
case g:
|
|
899
899
|
var i = s;
|
|
900
900
|
return U1(i) + ".Consumer";
|
|
901
|
-
case
|
|
901
|
+
case a:
|
|
902
902
|
var v = s;
|
|
903
903
|
return U1(v._context) + ".Provider";
|
|
904
904
|
case h:
|
|
905
905
|
return U3(s, s.render, "ForwardRef");
|
|
906
|
-
case
|
|
906
|
+
case P:
|
|
907
907
|
var p = s.displayName || null;
|
|
908
908
|
return p !== null ? p : J(s.type) || "Memo";
|
|
909
909
|
case F: {
|
|
@@ -1047,19 +1047,19 @@ function Ve() {
|
|
|
1047
1047
|
} catch (V) {
|
|
1048
1048
|
if (V && p && typeof V.stack == "string") {
|
|
1049
1049
|
for (var b = V.stack.split(`
|
|
1050
|
-
`),
|
|
1051
|
-
`),
|
|
1052
|
-
|
|
1053
|
-
for (;
|
|
1054
|
-
if (b[
|
|
1055
|
-
if (
|
|
1050
|
+
`), k = p.stack.split(`
|
|
1051
|
+
`), $ = b.length - 1, L = k.length - 1; $ >= 1 && L >= 0 && b[$] !== k[L]; )
|
|
1052
|
+
L--;
|
|
1053
|
+
for (; $ >= 1 && L >= 0; $--, L--)
|
|
1054
|
+
if (b[$] !== k[L]) {
|
|
1055
|
+
if ($ !== 1 || L !== 1)
|
|
1056
1056
|
do
|
|
1057
|
-
if (
|
|
1057
|
+
if ($--, L--, L < 0 || b[$] !== k[L]) {
|
|
1058
1058
|
var K = `
|
|
1059
|
-
` + b[
|
|
1059
|
+
` + b[$].replace(" at new ", " at ");
|
|
1060
1060
|
return s.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", s.displayName)), typeof s == "function" && g1.set(s, K), K;
|
|
1061
1061
|
}
|
|
1062
|
-
while (
|
|
1062
|
+
while ($ >= 1 && L >= 0);
|
|
1063
1063
|
break;
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
@@ -1093,7 +1093,7 @@ function Ve() {
|
|
|
1093
1093
|
switch (s.$$typeof) {
|
|
1094
1094
|
case h:
|
|
1095
1095
|
return q3(s.render);
|
|
1096
|
-
case
|
|
1096
|
+
case P:
|
|
1097
1097
|
return f1(s.type, i, v);
|
|
1098
1098
|
case F: {
|
|
1099
1099
|
var p = s, E = p._payload, T = p._init;
|
|
@@ -1121,12 +1121,12 @@ function Ve() {
|
|
|
1121
1121
|
var b = void 0;
|
|
1122
1122
|
try {
|
|
1123
1123
|
if (typeof s[y] != "function") {
|
|
1124
|
-
var
|
|
1125
|
-
throw
|
|
1124
|
+
var k = Error((p || "React class") + ": " + v + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1125
|
+
throw k.name = "Invariant Violation", k;
|
|
1126
1126
|
}
|
|
1127
1127
|
b = s[y](i, y, p, v, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1128
|
-
} catch (
|
|
1129
|
-
b =
|
|
1128
|
+
} catch ($) {
|
|
1129
|
+
b = $;
|
|
1130
1130
|
}
|
|
1131
1131
|
b && !(b instanceof Error) && (w1(E), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", v, y, typeof b), w1(null)), b instanceof Error && !(b.message in Q1) && (Q1[b.message] = !0, w1(E), x("Failed %s type: %s", v, b.message), w1(null));
|
|
1132
1132
|
}
|
|
@@ -1234,20 +1234,20 @@ function Ve() {
|
|
|
1234
1234
|
};
|
|
1235
1235
|
function c2(s, i, v, p, E) {
|
|
1236
1236
|
{
|
|
1237
|
-
var T, y = {}, b = null,
|
|
1238
|
-
v !== void 0 && (t3(v), b = "" + v), e2(i) && (t3(i.key), b = "" + i.key), N3(i) && (
|
|
1237
|
+
var T, y = {}, b = null, k = null;
|
|
1238
|
+
v !== void 0 && (t3(v), b = "" + v), e2(i) && (t3(i.key), b = "" + i.key), N3(i) && (k = i.ref, t2(i, E));
|
|
1239
1239
|
for (T in i)
|
|
1240
1240
|
r1.call(i, T) && !Q3.hasOwnProperty(T) && (y[T] = i[T]);
|
|
1241
1241
|
if (s && s.defaultProps) {
|
|
1242
|
-
var
|
|
1243
|
-
for (T in
|
|
1244
|
-
y[T] === void 0 && (y[T] =
|
|
1242
|
+
var $ = s.defaultProps;
|
|
1243
|
+
for (T in $)
|
|
1244
|
+
y[T] === void 0 && (y[T] = $[T]);
|
|
1245
1245
|
}
|
|
1246
|
-
if (b ||
|
|
1247
|
-
var
|
|
1248
|
-
b && n2(y,
|
|
1246
|
+
if (b || k) {
|
|
1247
|
+
var L = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
1248
|
+
b && n2(y, L), k && o2(y, L);
|
|
1249
1249
|
}
|
|
1250
|
-
return s2(s, b,
|
|
1250
|
+
return s2(s, b, k, E, p, n3.current, y);
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
1253
|
var T1 = C.ReactCurrentOwner, c3 = C.ReactDebugCurrentFrame;
|
|
@@ -1333,7 +1333,7 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1333
1333
|
v = i.propTypes;
|
|
1334
1334
|
else if (typeof i == "object" && (i.$$typeof === h || // Note: Memo only checks outer props here.
|
|
1335
1335
|
// Inner props are checked in the reconciler.
|
|
1336
|
-
i.$$typeof ===
|
|
1336
|
+
i.$$typeof === P))
|
|
1337
1337
|
v = i.propTypes;
|
|
1338
1338
|
else
|
|
1339
1339
|
return;
|
|
@@ -1367,14 +1367,14 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1367
1367
|
if (!y) {
|
|
1368
1368
|
var b = "";
|
|
1369
1369
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1370
|
-
var
|
|
1371
|
-
|
|
1372
|
-
var
|
|
1373
|
-
s === null ?
|
|
1374
|
-
}
|
|
1375
|
-
var
|
|
1376
|
-
if (
|
|
1377
|
-
return
|
|
1370
|
+
var k = r2();
|
|
1371
|
+
k ? b += k : b += r3();
|
|
1372
|
+
var $;
|
|
1373
|
+
s === null ? $ = "null" : E1(s) ? $ = "array" : s !== void 0 && s.$$typeof === t ? ($ = "<" + (J(s.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof s, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, b);
|
|
1374
|
+
}
|
|
1375
|
+
var L = c2(s, i, v, E, T);
|
|
1376
|
+
if (L == null)
|
|
1377
|
+
return L;
|
|
1378
1378
|
if (y) {
|
|
1379
1379
|
var K = i.children;
|
|
1380
1380
|
if (K !== void 0)
|
|
@@ -1391,18 +1391,18 @@ Check the top-level render call using <` + v + ">.");
|
|
|
1391
1391
|
if (r1.call(i, "key")) {
|
|
1392
1392
|
var Q = J(s), V = Object.keys(i).filter(function(f2) {
|
|
1393
1393
|
return f2 !== "key";
|
|
1394
|
-
}),
|
|
1395
|
-
if (!u3[Q +
|
|
1394
|
+
}), P1 = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1395
|
+
if (!u3[Q + P1]) {
|
|
1396
1396
|
var g2 = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
1397
1397
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
1398
1398
|
let props = %s;
|
|
1399
1399
|
<%s {...props} />
|
|
1400
1400
|
React keys must be passed directly to JSX without using spread:
|
|
1401
1401
|
let props = %s;
|
|
1402
|
-
<%s key={someKey} {...props} />`,
|
|
1402
|
+
<%s key={someKey} {...props} />`, P1, Q, g2, Q), u3[Q + P1] = !0;
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
return s === c ? a2(
|
|
1405
|
+
return s === c ? a2(L) : i2(L), L;
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
function u2(s, i, v) {
|
|
@@ -1423,7 +1423,7 @@ var n = Ue();
|
|
|
1423
1423
|
const Fe = "_mwfit_ppa3l_1", He = {
|
|
1424
1424
|
mwfit: Fe
|
|
1425
1425
|
}, Ke = () => {
|
|
1426
|
-
const { reconnect: e } =
|
|
1426
|
+
const { reconnect: e } = I(), t = I3(), o = Me(), c = xe();
|
|
1427
1427
|
return /* @__PURE__ */ n.jsxs("div", { className: "vh-100 d-flex flex-column flex-grow-1 justify-content-center align-items-center gap-5 ", children: [
|
|
1428
1428
|
/* @__PURE__ */ n.jsxs("div", { className: `${He.mwfit} mx-auto text-center`, children: [
|
|
1429
1429
|
t === void 0 ? /* @__PURE__ */ n.jsx("h2", { children: "Connecting..." }) : /* @__PURE__ */ n.jsx("h2", { children: "Disconnected" }),
|
|
@@ -1431,7 +1431,7 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1431
1431
|
] }),
|
|
1432
1432
|
c && /* @__PURE__ */ n.jsx("button", { className: "btn btn-secondary btn-lg", onPointerDown: e, children: "Reconnect" })
|
|
1433
1433
|
] });
|
|
1434
|
-
},
|
|
1434
|
+
}, k3 = C2({
|
|
1435
1435
|
sendMessage: () => null,
|
|
1436
1436
|
sendSimpleMessage: () => null,
|
|
1437
1437
|
addEventHandler: () => null,
|
|
@@ -1440,11 +1440,11 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1440
1440
|
}), qe = ({ children: e }) => {
|
|
1441
1441
|
const t = W1(), o = I3();
|
|
1442
1442
|
Z1(() => {
|
|
1443
|
-
t(
|
|
1443
|
+
t(B3());
|
|
1444
1444
|
}, [t]);
|
|
1445
1445
|
const c = l1(
|
|
1446
1446
|
(h, f) => {
|
|
1447
|
-
t(
|
|
1447
|
+
t(Pe(h, f));
|
|
1448
1448
|
},
|
|
1449
1449
|
[t]
|
|
1450
1450
|
), r = l1(
|
|
@@ -1454,33 +1454,33 @@ const Fe = "_mwfit_ppa3l_1", He = {
|
|
|
1454
1454
|
[c]
|
|
1455
1455
|
), l = l1(
|
|
1456
1456
|
(h, f, d) => {
|
|
1457
|
-
t(
|
|
1457
|
+
t($e(h, f, d));
|
|
1458
1458
|
},
|
|
1459
1459
|
[t]
|
|
1460
|
-
),
|
|
1460
|
+
), a = l1(
|
|
1461
1461
|
(h, f) => {
|
|
1462
|
-
t(
|
|
1462
|
+
t(Le(h, f));
|
|
1463
1463
|
},
|
|
1464
1464
|
[t]
|
|
1465
1465
|
), g = l1(() => {
|
|
1466
1466
|
t(Ae());
|
|
1467
1467
|
}, [t]);
|
|
1468
1468
|
return /* @__PURE__ */ n.jsx(
|
|
1469
|
-
|
|
1469
|
+
k3.Provider,
|
|
1470
1470
|
{
|
|
1471
1471
|
value: {
|
|
1472
1472
|
sendMessage: c,
|
|
1473
1473
|
sendSimpleMessage: r,
|
|
1474
1474
|
addEventHandler: l,
|
|
1475
|
-
removeEventHandler:
|
|
1475
|
+
removeEventHandler: a,
|
|
1476
1476
|
reconnect: g
|
|
1477
1477
|
},
|
|
1478
1478
|
children: o ? e : /* @__PURE__ */ n.jsx(Ke, {})
|
|
1479
1479
|
}
|
|
1480
1480
|
);
|
|
1481
|
-
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store:
|
|
1482
|
-
function
|
|
1483
|
-
return b2(
|
|
1481
|
+
}, W6 = ({ children: e }) => /* @__PURE__ */ n.jsx(Z2, { store: ke, children: /* @__PURE__ */ n.jsx(qe, { children: e }) });
|
|
1482
|
+
function I() {
|
|
1483
|
+
return b2(k3);
|
|
1484
1484
|
}
|
|
1485
1485
|
function Ge({
|
|
1486
1486
|
onPress: e,
|
|
@@ -1489,17 +1489,17 @@ function Ge({
|
|
|
1489
1489
|
onPressedButNotHeld: c,
|
|
1490
1490
|
holdTimeMs: r = 500
|
|
1491
1491
|
}) {
|
|
1492
|
-
const l = d1(null),
|
|
1492
|
+
const l = d1(null), a = d1(!1), g = d1(!1);
|
|
1493
1493
|
function h() {
|
|
1494
|
-
|
|
1494
|
+
a.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
|
|
1495
1495
|
g.current = !0, o == null || o(), l.current = null;
|
|
1496
1496
|
}, r);
|
|
1497
1497
|
}
|
|
1498
1498
|
function f() {
|
|
1499
|
-
|
|
1499
|
+
a.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || c == null || c());
|
|
1500
1500
|
}
|
|
1501
1501
|
function d() {
|
|
1502
|
-
|
|
1502
|
+
a.current && f();
|
|
1503
1503
|
}
|
|
1504
1504
|
return {
|
|
1505
1505
|
onPointerDown: h,
|
|
@@ -1508,19 +1508,19 @@ function Ge({
|
|
|
1508
1508
|
};
|
|
1509
1509
|
}
|
|
1510
1510
|
function w(e, t) {
|
|
1511
|
-
const { sendMessage: c } =
|
|
1511
|
+
const { sendMessage: c } = I(), r = d1(null);
|
|
1512
1512
|
function l() {
|
|
1513
1513
|
c(`${e}/${t}`, { value: "pressed" }), r.current || (r.current = setInterval(() => {
|
|
1514
1514
|
c(`${e}/${t}`, { value: "held" });
|
|
1515
1515
|
}, 250));
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function a() {
|
|
1518
1518
|
r.current && (clearInterval(r.current), r.current = null), c(`${e}/${t}`, { value: "released" });
|
|
1519
1519
|
}
|
|
1520
|
-
return Ge({ onPress: l, onRelease:
|
|
1520
|
+
return Ge({ onPress: l, onRelease: a });
|
|
1521
1521
|
}
|
|
1522
1522
|
function C1(e) {
|
|
1523
|
-
const { sendMessage: t } =
|
|
1523
|
+
const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1524
1524
|
return n1(() => ({
|
|
1525
1525
|
volumeUp: o,
|
|
1526
1526
|
volumeDown: c,
|
|
@@ -1528,7 +1528,7 @@ function C1(e) {
|
|
|
1528
1528
|
}), [e, t, o, c]);
|
|
1529
1529
|
}
|
|
1530
1530
|
function V6(e) {
|
|
1531
|
-
const { sendMessage: t } =
|
|
1531
|
+
const { sendMessage: t } = I(), o = w(`${e}`, "volumeUp"), c = w(`${e}`, "volumeDown");
|
|
1532
1532
|
return n1(() => ({
|
|
1533
1533
|
volumeUp: o,
|
|
1534
1534
|
volumeDown: c,
|
|
@@ -1536,7 +1536,7 @@ function V6(e) {
|
|
|
1536
1536
|
}), [e, t, o, c]);
|
|
1537
1537
|
}
|
|
1538
1538
|
function W3(e, t) {
|
|
1539
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1539
|
+
const { sendMessage: o, sendSimpleMessage: c } = I(), r = C1(e);
|
|
1540
1540
|
return n1(() => {
|
|
1541
1541
|
if (!r) {
|
|
1542
1542
|
console.log("baseVolume is undefined");
|
|
@@ -1556,7 +1556,7 @@ function W3(e, t) {
|
|
|
1556
1556
|
}, [r, t, e, o, c]);
|
|
1557
1557
|
}
|
|
1558
1558
|
function U6(e, t) {
|
|
1559
|
-
const { sendMessage: o, sendSimpleMessage: c } =
|
|
1559
|
+
const { sendMessage: o, sendSimpleMessage: c } = I(), r = C1(e);
|
|
1560
1560
|
return n1(() => {
|
|
1561
1561
|
if (!r) {
|
|
1562
1562
|
console.log("baseVolume is undefined");
|
|
@@ -1576,15 +1576,15 @@ function U6(e, t) {
|
|
|
1576
1576
|
}, [r, t, e, o, c]);
|
|
1577
1577
|
}
|
|
1578
1578
|
function Ye(e) {
|
|
1579
|
-
const t =
|
|
1579
|
+
const t = D(e), o = `/device/${e}`, c = n1(() => {
|
|
1580
1580
|
if (t)
|
|
1581
1581
|
return t.volume;
|
|
1582
1582
|
}, [t]);
|
|
1583
1583
|
return W3(o, c);
|
|
1584
1584
|
}
|
|
1585
1585
|
function V3(e) {
|
|
1586
|
-
var
|
|
1587
|
-
const { sendMessage: t } =
|
|
1586
|
+
var a;
|
|
1587
|
+
const { sendMessage: t } = I(), o = (a = D(e)) == null ? void 0 : a.powerState;
|
|
1588
1588
|
return { powerOn: () => {
|
|
1589
1589
|
t(`/device/${e}/powerOn`, null);
|
|
1590
1590
|
}, powerOff: () => {
|
|
@@ -1593,14 +1593,14 @@ function V3(e) {
|
|
|
1593
1593
|
t(`/device/${e}/powerToggle`, null);
|
|
1594
1594
|
}, powerState: o };
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1597
|
-
const { sendMessage: t } =
|
|
1596
|
+
function k1(e) {
|
|
1597
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1598
1598
|
return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
|
|
1599
1599
|
t(`/device/${e}/${r}`, null);
|
|
1600
1600
|
} } : void 0;
|
|
1601
1601
|
}
|
|
1602
1602
|
function ze(e) {
|
|
1603
|
-
const { sendMessage: t } =
|
|
1603
|
+
const { sendMessage: t } = I(), o = D(e), c = () => {
|
|
1604
1604
|
t(`/device/${e}/setDefaultChannelLevels`, null);
|
|
1605
1605
|
}, r = () => {
|
|
1606
1606
|
if ((o == null ? void 0 : o.levelControls) === void 0) return;
|
|
@@ -1611,18 +1611,32 @@ function ze(e) {
|
|
|
1611
1611
|
return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
|
|
1612
1612
|
}
|
|
1613
1613
|
function F6(e) {
|
|
1614
|
-
const t =
|
|
1614
|
+
const t = D(e), o = V3(e), c = k1(e), r = k1(e), l = Ye(e), a = ze(e);
|
|
1615
1615
|
if (t)
|
|
1616
1616
|
return {
|
|
1617
1617
|
avrState: t,
|
|
1618
1618
|
powerControl: o,
|
|
1619
1619
|
inputControl: c,
|
|
1620
1620
|
surroundSoundModes: r,
|
|
1621
|
-
surroundChannels:
|
|
1621
|
+
surroundChannels: a,
|
|
1622
1622
|
mainVolumeControl: l
|
|
1623
1623
|
};
|
|
1624
1624
|
}
|
|
1625
|
-
|
|
1625
|
+
function H6(e) {
|
|
1626
|
+
const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e), r = w(o, "cameraUp"), l = w(o, "cameraDown"), a = w(o, "cameraLeft"), g = w(o, "cameraRight"), h = w(o, "cameraZoomIn"), f = w(o, "cameraZoomOut"), d = (P) => t("/camera/recallPreset", P);
|
|
1627
|
+
if (c)
|
|
1628
|
+
return {
|
|
1629
|
+
state: c,
|
|
1630
|
+
zoomIn: h,
|
|
1631
|
+
zoomOut: f,
|
|
1632
|
+
up: r,
|
|
1633
|
+
down: l,
|
|
1634
|
+
left: a,
|
|
1635
|
+
right: g,
|
|
1636
|
+
recallPreset: d
|
|
1637
|
+
};
|
|
1638
|
+
}
|
|
1639
|
+
const K6 = ({ className: e }) => {
|
|
1626
1640
|
const [t, o] = Y();
|
|
1627
1641
|
return Z1(() => {
|
|
1628
1642
|
setInterval(() => {
|
|
@@ -1634,59 +1648,45 @@ const H6 = ({ className: e }) => {
|
|
|
1634
1648
|
" new change"
|
|
1635
1649
|
] });
|
|
1636
1650
|
};
|
|
1637
|
-
function
|
|
1638
|
-
const { sendMessage: t } =
|
|
1639
|
-
return o ? { state: o, recallPreset: (
|
|
1640
|
-
t(`${c}/presets/recall`, { deviceKey:
|
|
1641
|
-
}, savePresets: (
|
|
1642
|
-
t(`${c}/presets/save`,
|
|
1651
|
+
function q6(e) {
|
|
1652
|
+
const { sendMessage: t } = I(), o = D(e), c = `/device/${e}`;
|
|
1653
|
+
return o ? { state: o, recallPreset: (a, g) => {
|
|
1654
|
+
t(`${c}/presets/recall`, { deviceKey: a, preset: g });
|
|
1655
|
+
}, savePresets: (a) => {
|
|
1656
|
+
t(`${c}/presets/save`, a);
|
|
1643
1657
|
} } : void 0;
|
|
1644
1658
|
}
|
|
1645
|
-
function
|
|
1646
|
-
const t =
|
|
1659
|
+
function G6(e) {
|
|
1660
|
+
const t = D(e);
|
|
1647
1661
|
if (t)
|
|
1648
1662
|
return { endpointState: t };
|
|
1649
1663
|
}
|
|
1650
|
-
function G6(e) {
|
|
1651
|
-
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), u = w(t, "info"), g = w(t, "exit");
|
|
1652
|
-
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: u, exit: g };
|
|
1653
|
-
}
|
|
1654
1664
|
function Y6(e) {
|
|
1665
|
+
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown"), r = w(t, "lastChan"), l = w(t, "guide"), a = w(t, "info"), g = w(t, "exit");
|
|
1666
|
+
return { channelUp: o, channelDown: c, lastChannel: r, guide: l, info: a, exit: g };
|
|
1667
|
+
}
|
|
1668
|
+
function z6(e) {
|
|
1655
1669
|
const t = `/device/${e}`, o = w(t, "red"), c = w(t, "green"), r = w(t, "yellow"), l = w(t, "blue");
|
|
1656
1670
|
return { red: o, green: c, yellow: r, blue: l };
|
|
1657
1671
|
}
|
|
1658
|
-
function
|
|
1659
|
-
const t =
|
|
1672
|
+
function J6(e) {
|
|
1673
|
+
const t = D(e);
|
|
1660
1674
|
if (t)
|
|
1661
1675
|
return {
|
|
1662
1676
|
communicationMonitorState: t
|
|
1663
1677
|
};
|
|
1664
1678
|
}
|
|
1665
|
-
function
|
|
1666
|
-
const t =
|
|
1679
|
+
function X6(e) {
|
|
1680
|
+
const t = D(e);
|
|
1667
1681
|
if (t)
|
|
1668
1682
|
return t.deviceInfo || void 0;
|
|
1669
1683
|
}
|
|
1670
|
-
function X6(e) {
|
|
1671
|
-
const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), u = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
|
|
1672
|
-
return { up: o, down: c, left: r, right: l, select: u, menu: g, exit: h };
|
|
1673
|
-
}
|
|
1674
1684
|
function Q6(e) {
|
|
1675
|
-
const
|
|
1676
|
-
|
|
1677
|
-
return {
|
|
1678
|
-
state: c,
|
|
1679
|
-
zoomIn: h,
|
|
1680
|
-
zoomOut: f,
|
|
1681
|
-
up: r,
|
|
1682
|
-
down: l,
|
|
1683
|
-
left: u,
|
|
1684
|
-
right: g,
|
|
1685
|
-
recallPreset: d
|
|
1686
|
-
};
|
|
1685
|
+
const t = `/device/${e}`, o = w(t, "up"), c = w(t, "down"), r = w(t, "left"), l = w(t, "right"), a = w(t, "select"), g = w(t, "menu"), h = w(t, "exit");
|
|
1686
|
+
return { up: o, down: c, left: r, right: l, select: a, menu: g, exit: h };
|
|
1687
1687
|
}
|
|
1688
1688
|
function N6(e) {
|
|
1689
|
-
const { sendMessage: t } =
|
|
1689
|
+
const { sendMessage: t } = I();
|
|
1690
1690
|
return { recallPreset: (c) => {
|
|
1691
1691
|
t(
|
|
1692
1692
|
`/device/${e}/recallPreset`,
|
|
@@ -1699,7 +1699,7 @@ function et(e) {
|
|
|
1699
1699
|
return { dvrList: o, record: c };
|
|
1700
1700
|
}
|
|
1701
1701
|
function tt(e) {
|
|
1702
|
-
const { sendMessage: t } =
|
|
1702
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1703
1703
|
return o ? { roomCombinerState: o, setAutoMode: () => {
|
|
1704
1704
|
t(`/device/${e}/setAutoMode`, null);
|
|
1705
1705
|
}, setManualMode: () => {
|
|
@@ -1713,7 +1713,27 @@ function tt(e) {
|
|
|
1713
1713
|
} } : void 0;
|
|
1714
1714
|
}
|
|
1715
1715
|
function nt(e) {
|
|
1716
|
-
|
|
1716
|
+
var a;
|
|
1717
|
+
const { sendMessage: t } = I(), o = (a = D(e)) == null ? void 0 : a.cameraIsMuted;
|
|
1718
|
+
return { cameraMuteOn: () => {
|
|
1719
|
+
t(`/device/${e}/cameraMuteOn`, null);
|
|
1720
|
+
}, cameraMuteOff: () => {
|
|
1721
|
+
t(`/device/${e}/cameraMuteOff`, null);
|
|
1722
|
+
}, cameraMuteToggle: () => {
|
|
1723
|
+
t(`/device/${e}/cameraMuteToggle`, null);
|
|
1724
|
+
}, cameraIsMuted: o };
|
|
1725
|
+
}
|
|
1726
|
+
function ot(e) {
|
|
1727
|
+
var l;
|
|
1728
|
+
const { sendMessage: t } = I(), o = (l = D(e)) == null ? void 0 : l.presets;
|
|
1729
|
+
return { recallPreset: (a) => {
|
|
1730
|
+
t(`/device/${e}/recallPreset`, a);
|
|
1731
|
+
}, savePreset: (a) => {
|
|
1732
|
+
t(`/device/${e}/savePreset`, a);
|
|
1733
|
+
}, presets: o };
|
|
1734
|
+
}
|
|
1735
|
+
function st(e) {
|
|
1736
|
+
const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e);
|
|
1717
1737
|
return c ? {
|
|
1718
1738
|
state: c,
|
|
1719
1739
|
selectCamera: (l) => {
|
|
@@ -1721,94 +1741,94 @@ function nt(e) {
|
|
|
1721
1741
|
}
|
|
1722
1742
|
} : void 0;
|
|
1723
1743
|
}
|
|
1724
|
-
function
|
|
1725
|
-
const t =
|
|
1744
|
+
function ct(e) {
|
|
1745
|
+
const t = D(e);
|
|
1726
1746
|
if (t)
|
|
1727
1747
|
return { state: t };
|
|
1728
1748
|
}
|
|
1729
|
-
function
|
|
1730
|
-
const { sendMessage: t, sendSimpleMessage: o } =
|
|
1749
|
+
function rt(e) {
|
|
1750
|
+
const { sendMessage: t, sendSimpleMessage: o } = I(), c = D(e), r = ne(e), l = c || r;
|
|
1731
1751
|
return l ? {
|
|
1732
1752
|
levelState: l,
|
|
1733
|
-
setLevel: (d,
|
|
1753
|
+
setLevel: (d, P) => o(`${d}/level`, P),
|
|
1734
1754
|
muteToggle: (d) => t(`${d}/muteToggle`, null),
|
|
1735
1755
|
muteOn: (d) => t(`${d}/muteOn`, null),
|
|
1736
1756
|
muteOff: (d) => t(`${d}/muteOff`, null)
|
|
1737
1757
|
} : void 0;
|
|
1738
1758
|
}
|
|
1739
|
-
function
|
|
1740
|
-
const { sendMessage: t } =
|
|
1759
|
+
function lt(e) {
|
|
1760
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1741
1761
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1742
1762
|
t(`/device/${e}/selectScene`, r);
|
|
1743
1763
|
} } : void 0;
|
|
1744
1764
|
}
|
|
1745
|
-
function
|
|
1746
|
-
const { sendMessage: t } =
|
|
1765
|
+
function it(e) {
|
|
1766
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1747
1767
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1748
1768
|
t(`/device/${e}/route`, r);
|
|
1749
1769
|
} } : void 0;
|
|
1750
1770
|
}
|
|
1751
|
-
function
|
|
1752
|
-
const { sendMessage: t } =
|
|
1771
|
+
function at(e) {
|
|
1772
|
+
const { sendMessage: t } = I();
|
|
1753
1773
|
return { closeApp: () => {
|
|
1754
1774
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1755
1775
|
} };
|
|
1756
1776
|
}
|
|
1757
|
-
function
|
|
1758
|
-
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"),
|
|
1777
|
+
function ut(e) {
|
|
1778
|
+
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"), a = w(t, "num4"), g = w(t, "num5"), h = w(t, "num6"), f = w(t, "num7"), d = w(t, "num8"), P = w(t, "num9"), F = w(t, "numDash"), u = w(t, "numEnter");
|
|
1759
1779
|
return {
|
|
1760
1780
|
digit0: o,
|
|
1761
1781
|
digit1: c,
|
|
1762
1782
|
digit2: r,
|
|
1763
1783
|
digit3: l,
|
|
1764
|
-
digit4:
|
|
1784
|
+
digit4: a,
|
|
1765
1785
|
digit5: g,
|
|
1766
1786
|
digit6: h,
|
|
1767
1787
|
digit7: f,
|
|
1768
1788
|
digit8: d,
|
|
1769
|
-
digit9:
|
|
1789
|
+
digit9: P,
|
|
1770
1790
|
keypadAccessoryButton1: F,
|
|
1771
|
-
keypadAccessoryButton2:
|
|
1791
|
+
keypadAccessoryButton2: u
|
|
1772
1792
|
};
|
|
1773
1793
|
}
|
|
1774
|
-
function
|
|
1775
|
-
const { sendMessage: t } =
|
|
1794
|
+
function dt(e) {
|
|
1795
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1776
1796
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1777
1797
|
t(`/device/${e}/raise`, null);
|
|
1778
1798
|
}, lower: () => {
|
|
1779
1799
|
t(`/device/${e}/lower`, null);
|
|
1780
1800
|
} } : void 0;
|
|
1781
1801
|
}
|
|
1782
|
-
function
|
|
1783
|
-
const { sendMessage: t } =
|
|
1802
|
+
function vt(e) {
|
|
1803
|
+
const { sendMessage: t } = I(), o = j1(e);
|
|
1784
1804
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1785
1805
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1786
1806
|
} } : void 0;
|
|
1787
1807
|
}
|
|
1788
|
-
function
|
|
1789
|
-
const { sendMessage: t } =
|
|
1808
|
+
function ht(e) {
|
|
1809
|
+
const { sendMessage: t } = I();
|
|
1790
1810
|
return { runDefaultPresentRoute: () => {
|
|
1791
1811
|
t(`/room/${e}/defaultsource`, {});
|
|
1792
1812
|
} };
|
|
1793
1813
|
}
|
|
1794
|
-
function
|
|
1795
|
-
const { sendMessage: t } =
|
|
1814
|
+
function gt(e) {
|
|
1815
|
+
const { sendMessage: t } = I();
|
|
1796
1816
|
return { runDirectRoute: (c) => {
|
|
1797
1817
|
t(`/room/${e}/directRoute`, c);
|
|
1798
1818
|
} };
|
|
1799
1819
|
}
|
|
1800
|
-
function
|
|
1801
|
-
const { sendMessage: t } =
|
|
1802
|
-
return { routingState:
|
|
1820
|
+
function ft(e) {
|
|
1821
|
+
const { sendMessage: t } = I();
|
|
1822
|
+
return { routingState: D(e), runRoute: (r) => {
|
|
1803
1823
|
t(`/room/${e}/source`, r);
|
|
1804
1824
|
} };
|
|
1805
1825
|
}
|
|
1806
|
-
function
|
|
1826
|
+
function wt(e) {
|
|
1807
1827
|
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
|
|
1808
1828
|
return { dvrList: o, replay: c };
|
|
1809
1829
|
}
|
|
1810
|
-
function
|
|
1811
|
-
const { sendMessage: t } =
|
|
1830
|
+
function mt(e) {
|
|
1831
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1812
1832
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1813
1833
|
t(`/device/${e}/shadeUp`, null);
|
|
1814
1834
|
}, shadeDown: () => {
|
|
@@ -1817,8 +1837,8 @@ function ft(e) {
|
|
|
1817
1837
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1818
1838
|
} } : void 0;
|
|
1819
1839
|
}
|
|
1820
|
-
function
|
|
1821
|
-
const { sendMessage: t } =
|
|
1840
|
+
function pt(e) {
|
|
1841
|
+
const { sendMessage: t } = I(), o = j1(e);
|
|
1822
1842
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
|
|
1823
1843
|
t(`/room/${e}/setShutdownPromptSeconds`, g);
|
|
1824
1844
|
}, shutdownStart: () => {
|
|
@@ -1829,28 +1849,28 @@ function wt(e) {
|
|
|
1829
1849
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1830
1850
|
} } : void 0;
|
|
1831
1851
|
}
|
|
1832
|
-
function
|
|
1833
|
-
const { sendMessage: t } =
|
|
1852
|
+
function Mt(e) {
|
|
1853
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1834
1854
|
return o ? { switchedOutputState: o, on: () => {
|
|
1835
1855
|
t(`/device/${e}/on`, null);
|
|
1836
1856
|
}, off: () => {
|
|
1837
1857
|
t(`/device/${e}/off`, null);
|
|
1838
1858
|
} } : void 0;
|
|
1839
1859
|
}
|
|
1840
|
-
function
|
|
1841
|
-
const { sendMessage: t } =
|
|
1860
|
+
function xt(e) {
|
|
1861
|
+
const { sendMessage: t } = I(), o = j1(e);
|
|
1842
1862
|
return o ? { techPasswordState: o, validatePassword: (l) => {
|
|
1843
1863
|
t(`/room/${e}/validateTechPassword`, { password: l });
|
|
1844
|
-
}, setPassword: (l,
|
|
1845
|
-
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword:
|
|
1864
|
+
}, setPassword: (l, a) => {
|
|
1865
|
+
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: a });
|
|
1846
1866
|
} } : void 0;
|
|
1847
1867
|
}
|
|
1848
|
-
function
|
|
1849
|
-
const { sendMessage: t } =
|
|
1868
|
+
function Zt(e) {
|
|
1869
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1850
1870
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1851
1871
|
}
|
|
1852
|
-
function
|
|
1853
|
-
const { sendMessage: t } =
|
|
1872
|
+
function St(e) {
|
|
1873
|
+
const { sendMessage: t } = I(), o = D(e), c = (r) => {
|
|
1854
1874
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1855
1875
|
};
|
|
1856
1876
|
return {
|
|
@@ -1858,21 +1878,21 @@ function xt(e) {
|
|
|
1858
1878
|
saveTheme: c
|
|
1859
1879
|
};
|
|
1860
1880
|
}
|
|
1861
|
-
function
|
|
1862
|
-
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"),
|
|
1881
|
+
function jt(e) {
|
|
1882
|
+
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"), a = w(t, "nextTrack"), g = w(t, "rewind"), h = w(t, "ffwd"), f = w(t, "record");
|
|
1863
1883
|
return {
|
|
1864
1884
|
play: o,
|
|
1865
1885
|
pause: c,
|
|
1866
1886
|
stop: r,
|
|
1867
1887
|
prevTrack: l,
|
|
1868
|
-
nextTrack:
|
|
1888
|
+
nextTrack: a,
|
|
1869
1889
|
rewind: g,
|
|
1870
1890
|
fastForward: h,
|
|
1871
1891
|
record: f
|
|
1872
1892
|
};
|
|
1873
1893
|
}
|
|
1874
|
-
function
|
|
1875
|
-
const t =
|
|
1894
|
+
function Ct(e) {
|
|
1895
|
+
const t = D(e), { sendMessage: o } = I();
|
|
1876
1896
|
return t ? {
|
|
1877
1897
|
touchpanelState: t,
|
|
1878
1898
|
appControl: { hideApp: () => {
|
|
@@ -1887,8 +1907,8 @@ function St(e) {
|
|
|
1887
1907
|
} }
|
|
1888
1908
|
} : void 0;
|
|
1889
1909
|
}
|
|
1890
|
-
function
|
|
1891
|
-
const t =
|
|
1910
|
+
function bt(e) {
|
|
1911
|
+
const t = D(e), o = V3(e), c = k1(e);
|
|
1892
1912
|
if (!t) return;
|
|
1893
1913
|
const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1894
1914
|
return {
|
|
@@ -1898,15 +1918,15 @@ function jt(e) {
|
|
|
1898
1918
|
powerFb: { powerOnFb: r, powerOffFb: l }
|
|
1899
1919
|
};
|
|
1900
1920
|
}
|
|
1901
|
-
function
|
|
1921
|
+
function yt(e) {
|
|
1902
1922
|
const t = `/device/${e}`;
|
|
1903
1923
|
return C1(t);
|
|
1904
1924
|
}
|
|
1905
|
-
const
|
|
1925
|
+
const It = ({
|
|
1906
1926
|
config: e
|
|
1907
1927
|
}, t = !0) => {
|
|
1908
|
-
const { sendMessage: o } =
|
|
1909
|
-
var
|
|
1928
|
+
const { sendMessage: o } = I(), c = d1(!1), r = n1(() => {
|
|
1929
|
+
var a, g, h, f;
|
|
1910
1930
|
if (!e)
|
|
1911
1931
|
return;
|
|
1912
1932
|
const l = /* @__PURE__ */ new Set();
|
|
@@ -1914,7 +1934,7 @@ const bt = ({
|
|
|
1914
1934
|
l.add(d);
|
|
1915
1935
|
}), e.destinationList && Object.values(e.destinationList).forEach((d) => {
|
|
1916
1936
|
l.add(d.sinkKey);
|
|
1917
|
-
}), e.audioControlPointList && Object.values((
|
|
1937
|
+
}), e.audioControlPointList && Object.values((a = e.audioControlPointList) == null ? void 0 : a.levelControls).forEach(
|
|
1918
1938
|
(d) => {
|
|
1919
1939
|
d.itemKey ? l.add(d.parentDeviceKey + "--" + d.itemKey) : l.add(d.parentDeviceKey);
|
|
1920
1940
|
}
|
|
@@ -1937,30 +1957,30 @@ const bt = ({
|
|
|
1937
1957
|
}), c.current = !0);
|
|
1938
1958
|
}, [r, t, o]), r;
|
|
1939
1959
|
};
|
|
1940
|
-
function
|
|
1960
|
+
function Rt(e, t) {
|
|
1941
1961
|
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1942
1962
|
return Z3(() => {
|
|
1943
|
-
const { current:
|
|
1944
|
-
const h =
|
|
1963
|
+
const { current: a } = e, g = () => {
|
|
1964
|
+
const h = a && a.scrollHeight > a.clientHeight, f = a && a.scrollWidth > a.clientWidth;
|
|
1945
1965
|
l(h ?? !1), c(f ?? !1), t && t(h ?? !1, f ?? !1);
|
|
1946
1966
|
};
|
|
1947
|
-
|
|
1967
|
+
a && g();
|
|
1948
1968
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1949
1969
|
}
|
|
1950
|
-
function
|
|
1970
|
+
function Et(e, t) {
|
|
1951
1971
|
const o = `/room/${e}/volumes/${t}`;
|
|
1952
1972
|
return C1(o);
|
|
1953
1973
|
}
|
|
1954
|
-
function
|
|
1974
|
+
function Tt(e, t) {
|
|
1955
1975
|
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1956
1976
|
return W3(c, o);
|
|
1957
1977
|
}
|
|
1958
|
-
function
|
|
1978
|
+
function Dt(e) {
|
|
1959
1979
|
var g, h;
|
|
1960
1980
|
const [t, o] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [c, r] = Y(((h = e == null ? void 0 : e.current) == null ? void 0 : h.scrollTop) ?? 0), l = (f) => {
|
|
1961
1981
|
const { current: d } = e;
|
|
1962
1982
|
d && (console.log(d.scrollLeft), d.scrollLeft += f, console.log(d.scrollLeft));
|
|
1963
|
-
},
|
|
1983
|
+
}, a = (f) => {
|
|
1964
1984
|
const { current: d } = e;
|
|
1965
1985
|
d && (console.log(d.scrollTop), d.scrollTop += f, console.log(d.scrollTop));
|
|
1966
1986
|
};
|
|
@@ -1969,9 +1989,9 @@ function Et(e) {
|
|
|
1969
1989
|
o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
|
|
1970
1990
|
};
|
|
1971
1991
|
f && d();
|
|
1972
|
-
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical:
|
|
1992
|
+
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: a };
|
|
1973
1993
|
}
|
|
1974
|
-
function
|
|
1994
|
+
function _t(e) {
|
|
1975
1995
|
const t = W1();
|
|
1976
1996
|
return [() => {
|
|
1977
1997
|
t(W.addSyncState(e));
|
|
@@ -1979,8 +1999,8 @@ function Tt(e) {
|
|
|
1979
1999
|
t(W.removeSyncState(e));
|
|
1980
2000
|
}, Ze(e)];
|
|
1981
2001
|
}
|
|
1982
|
-
function
|
|
1983
|
-
const { sendMessage: e } =
|
|
2002
|
+
function Pt() {
|
|
2003
|
+
const { sendMessage: e } = I();
|
|
1984
2004
|
return {
|
|
1985
2005
|
reboot: () => {
|
|
1986
2006
|
e("/system/reboot", null);
|
|
@@ -1990,7 +2010,7 @@ function Dt() {
|
|
|
1990
2010
|
}
|
|
1991
2011
|
};
|
|
1992
2012
|
}
|
|
1993
|
-
function
|
|
2013
|
+
function $t() {
|
|
1994
2014
|
const [e, t] = Y(), [o, c] = Y();
|
|
1995
2015
|
function r() {
|
|
1996
2016
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -2028,7 +2048,7 @@ const Lt = () => {
|
|
|
2028
2048
|
),
|
|
2029
2049
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2030
2050
|
] });
|
|
2031
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2051
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", L1 = {
|
|
2032
2052
|
iconbtn: Je,
|
|
2033
2053
|
iconbtnvert: Xe,
|
|
2034
2054
|
iconsm: Qe
|
|
@@ -2039,22 +2059,22 @@ const Lt = () => {
|
|
|
2039
2059
|
className: c,
|
|
2040
2060
|
iconClassName: r = "",
|
|
2041
2061
|
otherContentClassName: l = "",
|
|
2042
|
-
disabled:
|
|
2062
|
+
disabled: a,
|
|
2043
2063
|
feedback: g,
|
|
2044
2064
|
feedbackClassName: h,
|
|
2045
2065
|
onPointerDown: f,
|
|
2046
2066
|
onPointerUp: d,
|
|
2047
|
-
onPointerLeave:
|
|
2067
|
+
onPointerLeave: P,
|
|
2048
2068
|
...F
|
|
2049
2069
|
}) => {
|
|
2050
|
-
const [
|
|
2070
|
+
const [u, Z] = Y(!1), j = !a && g ? h : "", S = !a && (u || g);
|
|
2051
2071
|
return /* @__PURE__ */ n.jsxs(
|
|
2052
2072
|
"button",
|
|
2053
2073
|
{
|
|
2054
2074
|
type: "button",
|
|
2055
|
-
className: `${
|
|
2075
|
+
className: `${L1.iconbtn} ${o ? L1.iconbtnvert : ""} ${c} ${j}`,
|
|
2056
2076
|
...F,
|
|
2057
|
-
disabled:
|
|
2077
|
+
disabled: a,
|
|
2058
2078
|
onPointerDown: (C) => {
|
|
2059
2079
|
Z(!0), f == null || f(C);
|
|
2060
2080
|
},
|
|
@@ -2062,22 +2082,22 @@ const Lt = () => {
|
|
|
2062
2082
|
Z(!1), d == null || d(C);
|
|
2063
2083
|
},
|
|
2064
2084
|
onPointerLeave: (C) => {
|
|
2065
|
-
Z(!1),
|
|
2085
|
+
Z(!1), P == null || P(C);
|
|
2066
2086
|
},
|
|
2067
2087
|
children: [
|
|
2068
2088
|
e && /* @__PURE__ */ n.jsx(
|
|
2069
2089
|
e,
|
|
2070
2090
|
{
|
|
2071
|
-
className: `${r ||
|
|
2091
|
+
className: `${r || L1.iconsm}`,
|
|
2072
2092
|
active: S,
|
|
2073
|
-
disabled:
|
|
2093
|
+
disabled: a
|
|
2074
2094
|
}
|
|
2075
2095
|
),
|
|
2076
2096
|
l ? /* @__PURE__ */ n.jsx("div", { className: l, children: t }) : /* @__PURE__ */ n.jsx("div", { children: t })
|
|
2077
2097
|
]
|
|
2078
2098
|
}
|
|
2079
2099
|
);
|
|
2080
|
-
},
|
|
2100
|
+
}, R = ({
|
|
2081
2101
|
ActiveImage: e,
|
|
2082
2102
|
DisabledImage: t,
|
|
2083
2103
|
EnabledImage: o,
|
|
@@ -2088,7 +2108,7 @@ const Lt = () => {
|
|
|
2088
2108
|
className: t = "",
|
|
2089
2109
|
disabled: o
|
|
2090
2110
|
}) => /* @__PURE__ */ n.jsx(
|
|
2091
|
-
|
|
2111
|
+
R,
|
|
2092
2112
|
{
|
|
2093
2113
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2094
2114
|
"svg",
|
|
@@ -2140,7 +2160,7 @@ const Lt = () => {
|
|
|
2140
2160
|
className: t = "",
|
|
2141
2161
|
disabled: o
|
|
2142
2162
|
}) => /* @__PURE__ */ n.jsx(
|
|
2143
|
-
|
|
2163
|
+
R,
|
|
2144
2164
|
{
|
|
2145
2165
|
ActiveImage: (
|
|
2146
2166
|
/* icon-ban-active.svg */
|
|
@@ -2189,7 +2209,7 @@ const Lt = () => {
|
|
|
2189
2209
|
className: t = "",
|
|
2190
2210
|
disabled: o
|
|
2191
2211
|
}) => /* @__PURE__ */ n.jsx(
|
|
2192
|
-
|
|
2212
|
+
R,
|
|
2193
2213
|
{
|
|
2194
2214
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2195
2215
|
"svg",
|
|
@@ -2229,7 +2249,7 @@ const Lt = () => {
|
|
|
2229
2249
|
className: t = "",
|
|
2230
2250
|
disabled: o
|
|
2231
2251
|
}) => /* @__PURE__ */ n.jsx(
|
|
2232
|
-
|
|
2252
|
+
R,
|
|
2233
2253
|
{
|
|
2234
2254
|
ActiveImage: (
|
|
2235
2255
|
/* icon-check-active.svg */
|
|
@@ -2279,7 +2299,7 @@ const Lt = () => {
|
|
|
2279
2299
|
className: t = "",
|
|
2280
2300
|
disabled: o
|
|
2281
2301
|
}) => /* @__PURE__ */ n.jsx(
|
|
2282
|
-
|
|
2302
|
+
R,
|
|
2283
2303
|
{
|
|
2284
2304
|
ActiveImage: (
|
|
2285
2305
|
/* icon-controller-active.svg */
|
|
@@ -2346,7 +2366,7 @@ const Lt = () => {
|
|
|
2346
2366
|
className: t = "",
|
|
2347
2367
|
disabled: o
|
|
2348
2368
|
}) => /* @__PURE__ */ n.jsx(
|
|
2349
|
-
|
|
2369
|
+
R,
|
|
2350
2370
|
{
|
|
2351
2371
|
ActiveImage: (
|
|
2352
2372
|
/* icon-down-active.svg */
|
|
@@ -2395,7 +2415,7 @@ const Lt = () => {
|
|
|
2395
2415
|
className: t = "",
|
|
2396
2416
|
disabled: o
|
|
2397
2417
|
}) => /* @__PURE__ */ n.jsx(
|
|
2398
|
-
|
|
2418
|
+
R,
|
|
2399
2419
|
{
|
|
2400
2420
|
ActiveImage: (
|
|
2401
2421
|
/* icon-elipses-active.svg */
|
|
@@ -2444,7 +2464,7 @@ const Lt = () => {
|
|
|
2444
2464
|
className: t = "",
|
|
2445
2465
|
disabled: o
|
|
2446
2466
|
}) => /* @__PURE__ */ n.jsx(
|
|
2447
|
-
|
|
2467
|
+
R,
|
|
2448
2468
|
{
|
|
2449
2469
|
ActiveImage: (
|
|
2450
2470
|
/* icon-flag-active.svg */
|
|
@@ -2493,7 +2513,7 @@ const Lt = () => {
|
|
|
2493
2513
|
className: t = "",
|
|
2494
2514
|
disabled: o
|
|
2495
2515
|
}) => /* @__PURE__ */ n.jsx(
|
|
2496
|
-
|
|
2516
|
+
R,
|
|
2497
2517
|
{
|
|
2498
2518
|
ActiveImage: (
|
|
2499
2519
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -2542,7 +2562,7 @@ const Lt = () => {
|
|
|
2542
2562
|
className: t = "",
|
|
2543
2563
|
disabled: o
|
|
2544
2564
|
}) => /* @__PURE__ */ n.jsx(
|
|
2545
|
-
|
|
2565
|
+
R,
|
|
2546
2566
|
{
|
|
2547
2567
|
ActiveImage: (
|
|
2548
2568
|
/* icon-glass-active.svg */
|
|
@@ -2592,7 +2612,7 @@ const Lt = () => {
|
|
|
2592
2612
|
className: t = "",
|
|
2593
2613
|
disabled: o
|
|
2594
2614
|
}) => /* @__PURE__ */ n.jsx(
|
|
2595
|
-
|
|
2615
|
+
R,
|
|
2596
2616
|
{
|
|
2597
2617
|
ActiveImage: (
|
|
2598
2618
|
/* icon-hdmi-active.svg */
|
|
@@ -2659,7 +2679,7 @@ const Lt = () => {
|
|
|
2659
2679
|
className: t = "",
|
|
2660
2680
|
disabled: o
|
|
2661
2681
|
}) => /* @__PURE__ */ n.jsx(
|
|
2662
|
-
|
|
2682
|
+
R,
|
|
2663
2683
|
{
|
|
2664
2684
|
ActiveImage: (
|
|
2665
2685
|
/* icon-laptop-active.svg */
|
|
@@ -2708,7 +2728,7 @@ const Lt = () => {
|
|
|
2708
2728
|
className: t = "",
|
|
2709
2729
|
disabled: o
|
|
2710
2730
|
}) => /* @__PURE__ */ n.jsx(
|
|
2711
|
-
|
|
2731
|
+
R,
|
|
2712
2732
|
{
|
|
2713
2733
|
ActiveImage: (
|
|
2714
2734
|
/* icon-left-active.svg */
|
|
@@ -2757,7 +2777,7 @@ const Lt = () => {
|
|
|
2757
2777
|
className: t = "",
|
|
2758
2778
|
disabled: o
|
|
2759
2779
|
}) => /* @__PURE__ */ n.jsx(
|
|
2760
|
-
|
|
2780
|
+
R,
|
|
2761
2781
|
{
|
|
2762
2782
|
ActiveImage: (
|
|
2763
2783
|
/* icon-light-active.svg */
|
|
@@ -2806,7 +2826,7 @@ const Lt = () => {
|
|
|
2806
2826
|
className: t = "",
|
|
2807
2827
|
disabled: o
|
|
2808
2828
|
}) => /* @__PURE__ */ n.jsx(
|
|
2809
|
-
|
|
2829
|
+
R,
|
|
2810
2830
|
{
|
|
2811
2831
|
ActiveImage: (
|
|
2812
2832
|
/* icon-moon-active.svg */
|
|
@@ -2855,7 +2875,7 @@ const Lt = () => {
|
|
|
2855
2875
|
className: t = "",
|
|
2856
2876
|
disabled: o
|
|
2857
2877
|
}) => /* @__PURE__ */ n.jsx(
|
|
2858
|
-
|
|
2878
|
+
R,
|
|
2859
2879
|
{
|
|
2860
2880
|
ActiveImage: (
|
|
2861
2881
|
/* icon-playstation-active.svg */
|
|
@@ -2877,7 +2897,7 @@ const Lt = () => {
|
|
|
2877
2897
|
className: t = "",
|
|
2878
2898
|
disabled: o
|
|
2879
2899
|
}) => /* @__PURE__ */ n.jsx(
|
|
2880
|
-
|
|
2900
|
+
R,
|
|
2881
2901
|
{
|
|
2882
2902
|
ActiveImage: (
|
|
2883
2903
|
/* icon-podium-active.svg */
|
|
@@ -2926,7 +2946,7 @@ const Lt = () => {
|
|
|
2926
2946
|
className: t = "",
|
|
2927
2947
|
disabled: o
|
|
2928
2948
|
}) => /* @__PURE__ */ n.jsx(
|
|
2929
|
-
|
|
2949
|
+
R,
|
|
2930
2950
|
{
|
|
2931
2951
|
ActiveImage: (
|
|
2932
2952
|
/* icon-power-active.svg */
|
|
@@ -2975,7 +2995,7 @@ const Lt = () => {
|
|
|
2975
2995
|
className: t = "",
|
|
2976
2996
|
disabled: o
|
|
2977
2997
|
}) => /* @__PURE__ */ n.jsx(
|
|
2978
|
-
|
|
2998
|
+
R,
|
|
2979
2999
|
{
|
|
2980
3000
|
ActiveImage: (
|
|
2981
3001
|
/* icon-privacy-active.svg */
|
|
@@ -3024,7 +3044,7 @@ const Lt = () => {
|
|
|
3024
3044
|
className: t = "",
|
|
3025
3045
|
disabled: o
|
|
3026
3046
|
}) => /* @__PURE__ */ n.jsx(
|
|
3027
|
-
|
|
3047
|
+
R,
|
|
3028
3048
|
{
|
|
3029
3049
|
ActiveImage: (
|
|
3030
3050
|
/* icon-question-active.svg */
|
|
@@ -3073,7 +3093,7 @@ const Lt = () => {
|
|
|
3073
3093
|
className: t = "",
|
|
3074
3094
|
disabled: o
|
|
3075
3095
|
}) => /* @__PURE__ */ n.jsx(
|
|
3076
|
-
|
|
3096
|
+
R,
|
|
3077
3097
|
{
|
|
3078
3098
|
ActiveImage: (
|
|
3079
3099
|
/* icon-right-active.svg */
|
|
@@ -3123,7 +3143,7 @@ const Lt = () => {
|
|
|
3123
3143
|
className: t = "",
|
|
3124
3144
|
disabled: o
|
|
3125
3145
|
}) => /* @__PURE__ */ n.jsx(
|
|
3126
|
-
|
|
3146
|
+
R,
|
|
3127
3147
|
{
|
|
3128
3148
|
ActiveImage: (
|
|
3129
3149
|
/* icon-roomPC-active.svg */
|
|
@@ -3190,7 +3210,7 @@ const Lt = () => {
|
|
|
3190
3210
|
className: t = "",
|
|
3191
3211
|
disabled: o
|
|
3192
3212
|
}) => /* @__PURE__ */ n.jsx(
|
|
3193
|
-
|
|
3213
|
+
R,
|
|
3194
3214
|
{
|
|
3195
3215
|
ActiveImage: (
|
|
3196
3216
|
/* icon-shade-active.svg */
|
|
@@ -3239,7 +3259,7 @@ const Lt = () => {
|
|
|
3239
3259
|
className: t = "",
|
|
3240
3260
|
disabled: o
|
|
3241
3261
|
}) => /* @__PURE__ */ n.jsx(
|
|
3242
|
-
|
|
3262
|
+
R,
|
|
3243
3263
|
{
|
|
3244
3264
|
ActiveImage: (
|
|
3245
3265
|
/* icon-sun-active.svg */
|
|
@@ -3283,14 +3303,14 @@ const Lt = () => {
|
|
|
3283
3303
|
active: e,
|
|
3284
3304
|
disabled: o
|
|
3285
3305
|
}
|
|
3286
|
-
),
|
|
3306
|
+
), At = ({
|
|
3287
3307
|
active: e,
|
|
3288
3308
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3289
3309
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3290
3310
|
className: t = "",
|
|
3291
3311
|
disabled: o
|
|
3292
3312
|
}) => /* @__PURE__ */ n.jsx(
|
|
3293
|
-
|
|
3313
|
+
R,
|
|
3294
3314
|
{
|
|
3295
3315
|
ActiveImage: void 0,
|
|
3296
3316
|
DisabledImage: void 0,
|
|
@@ -3303,7 +3323,7 @@ const Lt = () => {
|
|
|
3303
3323
|
className: t = "",
|
|
3304
3324
|
disabled: o
|
|
3305
3325
|
}) => /* @__PURE__ */ n.jsx(
|
|
3306
|
-
|
|
3326
|
+
R,
|
|
3307
3327
|
{
|
|
3308
3328
|
ActiveImage: (
|
|
3309
3329
|
/* icon-up-active.svg */
|
|
@@ -3352,7 +3372,7 @@ const Lt = () => {
|
|
|
3352
3372
|
className: t = "",
|
|
3353
3373
|
disabled: o
|
|
3354
3374
|
}) => /* @__PURE__ */ n.jsx(
|
|
3355
|
-
|
|
3375
|
+
R,
|
|
3356
3376
|
{
|
|
3357
3377
|
ActiveImage: (
|
|
3358
3378
|
/* icon-volDown-active.svg */
|
|
@@ -3401,7 +3421,7 @@ const Lt = () => {
|
|
|
3401
3421
|
className: t = "",
|
|
3402
3422
|
disabled: o
|
|
3403
3423
|
}) => /* @__PURE__ */ n.jsx(
|
|
3404
|
-
|
|
3424
|
+
R,
|
|
3405
3425
|
{
|
|
3406
3426
|
ActiveImage: (
|
|
3407
3427
|
/* icon-volMute-active.svg */
|
|
@@ -3450,7 +3470,7 @@ const Lt = () => {
|
|
|
3450
3470
|
className: t = "",
|
|
3451
3471
|
disabled: o
|
|
3452
3472
|
}) => /* @__PURE__ */ n.jsx(
|
|
3453
|
-
|
|
3473
|
+
R,
|
|
3454
3474
|
{
|
|
3455
3475
|
ActiveImage: (
|
|
3456
3476
|
/* icon-volUp-active.svg */
|
|
@@ -3499,7 +3519,7 @@ const Lt = () => {
|
|
|
3499
3519
|
className: t = "",
|
|
3500
3520
|
disabled: o
|
|
3501
3521
|
}) => /* @__PURE__ */ n.jsx(
|
|
3502
|
-
|
|
3522
|
+
R,
|
|
3503
3523
|
{
|
|
3504
3524
|
ActiveImage: (
|
|
3505
3525
|
/* icon-wireless-active.svg */
|
|
@@ -3548,7 +3568,7 @@ const Lt = () => {
|
|
|
3548
3568
|
className: t = "",
|
|
3549
3569
|
disabled: o
|
|
3550
3570
|
}) => /* @__PURE__ */ n.jsx(
|
|
3551
|
-
|
|
3571
|
+
R,
|
|
3552
3572
|
{
|
|
3553
3573
|
ActiveImage: (
|
|
3554
3574
|
/* icon-x-active.svg */
|
|
@@ -3597,7 +3617,7 @@ const Lt = () => {
|
|
|
3597
3617
|
className: t = "",
|
|
3598
3618
|
disabled: o
|
|
3599
3619
|
}) => /* @__PURE__ */ n.jsx(
|
|
3600
|
-
|
|
3620
|
+
R,
|
|
3601
3621
|
{
|
|
3602
3622
|
ActiveImage: (
|
|
3603
3623
|
/* icon-xbox-active.svg */
|
|
@@ -3646,7 +3666,7 @@ const Lt = () => {
|
|
|
3646
3666
|
className: t = "",
|
|
3647
3667
|
disabled: o
|
|
3648
3668
|
}) => /* @__PURE__ */ n.jsx(
|
|
3649
|
-
|
|
3669
|
+
R,
|
|
3650
3670
|
{
|
|
3651
3671
|
ActiveImage: (
|
|
3652
3672
|
/* icon-mic-active.svg */
|
|
@@ -3724,7 +3744,7 @@ const Lt = () => {
|
|
|
3724
3744
|
X: E8,
|
|
3725
3745
|
Xbox: T8
|
|
3726
3746
|
};
|
|
3727
|
-
function
|
|
3747
|
+
function Ot({
|
|
3728
3748
|
name: e,
|
|
3729
3749
|
iconsDictionary: t = _8,
|
|
3730
3750
|
...o
|
|
@@ -3732,20 +3752,20 @@ function $t({
|
|
|
3732
3752
|
const c = t[e] ?? null;
|
|
3733
3753
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3734
3754
|
}
|
|
3735
|
-
const
|
|
3736
|
-
grid:
|
|
3737
|
-
header:
|
|
3738
|
-
content:
|
|
3755
|
+
const P8 = "_grid_1cmpp_1", $8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", O8 = "_volume_1cmpp_29", u1 = {
|
|
3756
|
+
grid: P8,
|
|
3757
|
+
header: $8,
|
|
3758
|
+
content: L8,
|
|
3739
3759
|
footer: A8,
|
|
3740
|
-
volume:
|
|
3741
|
-
},
|
|
3760
|
+
volume: O8
|
|
3761
|
+
}, Bt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: u1.grid, children: [
|
|
3742
3762
|
/* @__PURE__ */ n.jsx("div", { className: u1.header, children: e }),
|
|
3743
3763
|
/* @__PURE__ */ n.jsx("div", { className: u1.content, children: o }),
|
|
3744
3764
|
r && /* @__PURE__ */ n.jsx("div", { className: u1.volume, children: c }),
|
|
3745
3765
|
/* @__PURE__ */ n.jsx("div", { className: u1.footer, children: t })
|
|
3746
|
-
] }),
|
|
3747
|
-
grid:
|
|
3748
|
-
header:
|
|
3766
|
+
] }), B8 = "_grid_11w5q_1", k8 = "_header_11w5q_11", W8 = "_content_11w5q_17", x1 = {
|
|
3767
|
+
grid: B8,
|
|
3768
|
+
header: k8,
|
|
3749
3769
|
content: W8
|
|
3750
3770
|
}, kt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${x1.grid}`, children: [
|
|
3751
3771
|
/* @__PURE__ */ n.jsx("div", { className: x1.header, children: t }),
|
|
@@ -3755,31 +3775,31 @@ const L8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A
|
|
|
3755
3775
|
grid: V8,
|
|
3756
3776
|
header: U8,
|
|
3757
3777
|
content: F8
|
|
3758
|
-
},
|
|
3778
|
+
}, Wt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3759
3779
|
/* @__PURE__ */ n.jsx("div", { className: A1.header, children: t }),
|
|
3760
3780
|
/* @__PURE__ */ n.jsx("div", { className: A1.content, children: o })
|
|
3761
3781
|
] });
|
|
3762
|
-
class
|
|
3782
|
+
class Vt {
|
|
3763
3783
|
constructor() {
|
|
3764
3784
|
q(this, "currentShareText");
|
|
3765
3785
|
q(this, "enabled");
|
|
3766
3786
|
q(this, "isSharing");
|
|
3767
3787
|
}
|
|
3768
3788
|
}
|
|
3769
|
-
function
|
|
3789
|
+
function Ut() {
|
|
3770
3790
|
return console.log(location.pathname), location.pathname;
|
|
3771
3791
|
}
|
|
3772
3792
|
var H8 = /* @__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))(H8 || {});
|
|
3773
|
-
class
|
|
3793
|
+
class Ft {
|
|
3774
3794
|
constructor(t, o) {
|
|
3775
3795
|
q(this, "path");
|
|
3776
3796
|
q(this, "handler");
|
|
3777
3797
|
this.path = t, this.handler = o;
|
|
3778
3798
|
}
|
|
3779
3799
|
}
|
|
3780
|
-
const
|
|
3800
|
+
const Ht = "$off";
|
|
3781
3801
|
export {
|
|
3782
|
-
|
|
3802
|
+
K6 as Clock,
|
|
3783
3803
|
H8 as DaysOfWeek,
|
|
3784
3804
|
Lt as ErrorBox,
|
|
3785
3805
|
Ne as IconButton,
|
|
@@ -3808,7 +3828,7 @@ export {
|
|
|
3808
3828
|
Z8 as IconMultiRoomPC,
|
|
3809
3829
|
S8 as IconMultiShade,
|
|
3810
3830
|
j8 as IconMultiSun,
|
|
3811
|
-
|
|
3831
|
+
At as IconMultiTemplate,
|
|
3812
3832
|
C8 as IconMultiUpArrow,
|
|
3813
3833
|
b8 as IconMultiVolDown,
|
|
3814
3834
|
y8 as IconMultiVolMute,
|
|
@@ -3816,28 +3836,28 @@ export {
|
|
|
3816
3836
|
R8 as IconMultiWireless,
|
|
3817
3837
|
E8 as IconMultiX,
|
|
3818
3838
|
T8 as IconMultiXbox,
|
|
3819
|
-
|
|
3820
|
-
|
|
3839
|
+
Bt as MainLayout,
|
|
3840
|
+
Ft as MessageHandler,
|
|
3821
3841
|
W6 as MobileControlProvider,
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3842
|
+
R as MultiStateIconContainer,
|
|
3843
|
+
Ot as NamedIconButton,
|
|
3844
|
+
Vt as ShareState,
|
|
3825
3845
|
kt as TechLayout,
|
|
3826
|
-
|
|
3827
|
-
|
|
3846
|
+
Wt as TechPinLayout,
|
|
3847
|
+
L3 as WS_ADD_EVENT_HANDLER,
|
|
3828
3848
|
_3 as WS_CONNECT,
|
|
3829
|
-
|
|
3830
|
-
|
|
3849
|
+
P3 as WS_DISCONNECT,
|
|
3850
|
+
O3 as WS_RECONNECT,
|
|
3831
3851
|
A3 as WS_REMOVE_EVENT_HANDLER,
|
|
3832
|
-
|
|
3833
|
-
|
|
3852
|
+
$3 as WS_SEND_MESSAGE,
|
|
3853
|
+
k3 as WebsocketContext,
|
|
3834
3854
|
T3 as appConfigActions,
|
|
3835
|
-
|
|
3855
|
+
Oe as createWebSocketMiddleware,
|
|
3836
3856
|
m1 as devicesActions,
|
|
3837
|
-
|
|
3857
|
+
Ut as getBaseLocation,
|
|
3838
3858
|
f3 as httpClient,
|
|
3839
3859
|
_8 as iconsDictionary,
|
|
3840
|
-
|
|
3860
|
+
Ht as roomOffSourceKey,
|
|
3841
3861
|
p1 as roomsActions,
|
|
3842
3862
|
U as runtimeConfigActions,
|
|
3843
3863
|
C3 as selectAllDevices,
|
|
@@ -3845,7 +3865,7 @@ export {
|
|
|
3845
3865
|
E2 as selectAppConfig,
|
|
3846
3866
|
ce as selectClientId,
|
|
3847
3867
|
he as selectCurrentPopoverIdForGroup,
|
|
3848
|
-
|
|
3868
|
+
P2 as selectDeviceByKey,
|
|
3849
3869
|
b3 as selectDeviceInterfaceSupport,
|
|
3850
3870
|
ve as selectDeviceSupportsInterface,
|
|
3851
3871
|
fe as selectError,
|
|
@@ -3859,7 +3879,7 @@ export {
|
|
|
3859
3879
|
V2 as selectRoomAudioControlPointList,
|
|
3860
3880
|
A2 as selectRoomByKey,
|
|
3861
3881
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3862
|
-
|
|
3882
|
+
$2 as selectRoomConfiguration,
|
|
3863
3883
|
F2 as selectRoomDestinationList,
|
|
3864
3884
|
U2 as selectRoomDestinations,
|
|
3865
3885
|
ee as selectRoomDisplayStates,
|
|
@@ -3869,13 +3889,13 @@ export {
|
|
|
3869
3889
|
J2 as selectRoomIsOn,
|
|
3870
3890
|
Y2 as selectRoomIsWarmingUp,
|
|
3871
3891
|
se as selectRoomKey,
|
|
3872
|
-
|
|
3873
|
-
|
|
3892
|
+
k2 as selectRoomLevelControls,
|
|
3893
|
+
O2 as selectRoomName,
|
|
3874
3894
|
K2 as selectRoomProgramAudioDestinationKey,
|
|
3875
3895
|
Q2 as selectRoomShareState,
|
|
3876
3896
|
W2 as selectRoomSourceList,
|
|
3877
|
-
|
|
3878
|
-
|
|
3897
|
+
B2 as selectRoomVolume,
|
|
3898
|
+
L2 as selectRooms,
|
|
3879
3899
|
ae as selectRuntimeInfo,
|
|
3880
3900
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
3881
3901
|
ge as selectShowPopoverById,
|
|
@@ -3886,7 +3906,7 @@ export {
|
|
|
3886
3906
|
le as selectUserCode,
|
|
3887
3907
|
oe as selectWsIsConnected,
|
|
3888
3908
|
N2 as selectZoomRoomControllerKey,
|
|
3889
|
-
|
|
3909
|
+
ke as store,
|
|
3890
3910
|
W as uiActions,
|
|
3891
3911
|
je as uiReducer,
|
|
3892
3912
|
Q8 as useApiPath,
|
|
@@ -3895,20 +3915,20 @@ export {
|
|
|
3895
3915
|
m as useAppSelector,
|
|
3896
3916
|
F6 as useAvrControl,
|
|
3897
3917
|
w as useButtonHeldHeartbeat,
|
|
3898
|
-
|
|
3918
|
+
H6 as useCameraBase,
|
|
3899
3919
|
S6 as useClientId,
|
|
3900
|
-
|
|
3920
|
+
yt as useDeviceIBasicVolume,
|
|
3901
3921
|
Ye as useDeviceIBasicVolumeWithFeedback,
|
|
3902
3922
|
E6 as useDeviceInterfaceSupport,
|
|
3903
|
-
|
|
3923
|
+
q6 as useDevicePresetsModel,
|
|
3904
3924
|
D6 as useDeviceSupportsInterface,
|
|
3905
|
-
|
|
3925
|
+
G6 as useEndpoint,
|
|
3906
3926
|
Me as useError,
|
|
3907
|
-
|
|
3927
|
+
It as useGetAllDeviceStateFromRoomConfiguration,
|
|
3908
3928
|
t6 as useGetAllDevices,
|
|
3909
3929
|
o6 as useGetAllRooms,
|
|
3910
|
-
|
|
3911
|
-
|
|
3930
|
+
L6 as useGetCurrentPopoverIdForGroup,
|
|
3931
|
+
D as useGetDevice,
|
|
3912
3932
|
V6 as useGetIBasicVolume,
|
|
3913
3933
|
U6 as useGetIBasicVolumeWithFeedback,
|
|
3914
3934
|
s6 as useGetRoom,
|
|
@@ -3916,43 +3936,45 @@ export {
|
|
|
3916
3936
|
x6 as useGetZoomRoomControllerKey,
|
|
3917
3937
|
C1 as useIBasicVolume,
|
|
3918
3938
|
W3 as useIBasicVolumeWithFeedback,
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3939
|
+
Y6 as useIChannel,
|
|
3940
|
+
z6 as useIColor,
|
|
3941
|
+
J6 as useICommunicationMonitor,
|
|
3942
|
+
Q6 as useIDPad,
|
|
3943
|
+
X6 as useIDeviceInfoMessenger,
|
|
3924
3944
|
N6 as useIDspPresets,
|
|
3925
3945
|
et as useIDvr,
|
|
3926
3946
|
tt as useIEssentialsRoomCombiner,
|
|
3927
|
-
nt as
|
|
3947
|
+
nt as useIHasCameraMute,
|
|
3948
|
+
ot as useIHasCameraPresets,
|
|
3949
|
+
st as useIHasCameras,
|
|
3928
3950
|
V3 as useIHasPowerControl,
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3951
|
+
k1 as useIHasSelectableItems,
|
|
3952
|
+
ct as useIHumiditySensor,
|
|
3953
|
+
rt as useILevelControls,
|
|
3954
|
+
lt as useILightingScenes,
|
|
3955
|
+
it as useIMatrixRouting,
|
|
3956
|
+
at as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3957
|
+
ut as useINumeric,
|
|
3958
|
+
dt as useIProjectorScreenLiftControl,
|
|
3959
|
+
vt as useIRoomEventSchedule,
|
|
3960
|
+
ht as useIRunDefaultPresentRoute,
|
|
3961
|
+
gt as useIRunDirectRouteAction,
|
|
3962
|
+
ft as useIRunRouteAction,
|
|
3963
|
+
wt as useISetTopBoxControls,
|
|
3964
|
+
mt as useIShadesOpenCloseStop,
|
|
3965
|
+
pt as useIShutdownPromptTimer,
|
|
3966
|
+
Mt as useISwitchedOutput,
|
|
3967
|
+
xt as useITechPassword,
|
|
3968
|
+
Zt as useITemperatureSensor,
|
|
3969
|
+
St as useITheme,
|
|
3970
|
+
jt as useITransport,
|
|
3971
|
+
k6 as useInitialize,
|
|
3950
3972
|
T6 as useInterfacesForDevice,
|
|
3951
3973
|
Ze as useIsSyncStateValuePresent,
|
|
3952
3974
|
R6 as useIsTouchpanel,
|
|
3953
3975
|
N8 as useLogoPath,
|
|
3954
|
-
|
|
3955
|
-
|
|
3976
|
+
Ct as useMobileControlTouchpanelController,
|
|
3977
|
+
Rt as useOverflow,
|
|
3956
3978
|
e6 as usePartnerMetadata,
|
|
3957
3979
|
Ge as usePressHoldRelease,
|
|
3958
3980
|
m6 as useRoomAdvancedSharingActive,
|
|
@@ -3962,8 +3984,8 @@ export {
|
|
|
3962
3984
|
a6 as useRoomDestinationList,
|
|
3963
3985
|
i6 as useRoomDestinations,
|
|
3964
3986
|
u6 as useRoomEnvironmentalDevices,
|
|
3965
|
-
|
|
3966
|
-
|
|
3987
|
+
Et as useRoomIBasicVolume,
|
|
3988
|
+
Tt as useRoomIBasicVolumeWithFeedback,
|
|
3967
3989
|
h6 as useRoomInCall,
|
|
3968
3990
|
f6 as useRoomIsCoolingDown,
|
|
3969
3991
|
w6 as useRoomIsOn,
|
|
@@ -3977,27 +3999,27 @@ export {
|
|
|
3977
3999
|
j1 as useRoomState,
|
|
3978
4000
|
te as useRoomVolume,
|
|
3979
4001
|
y6 as useRuntimeInfo,
|
|
3980
|
-
|
|
4002
|
+
Dt as useScroll,
|
|
3981
4003
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
3982
|
-
|
|
3983
|
-
|
|
4004
|
+
P6 as useShowIncomingCallModal,
|
|
4005
|
+
$6 as useShowModal,
|
|
3984
4006
|
A6 as useShowPopoverById,
|
|
3985
4007
|
xe as useShowReconnect,
|
|
3986
4008
|
_6 as useShowShutdownModal,
|
|
3987
|
-
|
|
3988
|
-
|
|
4009
|
+
_t as useStateIsSynced,
|
|
4010
|
+
Pt as useSystemControl,
|
|
3989
4011
|
j6 as useSystemUuid,
|
|
3990
|
-
|
|
3991
|
-
|
|
4012
|
+
O6 as useTheme,
|
|
4013
|
+
$t as useTimeAndDate,
|
|
3992
4014
|
I6 as useTouchpanelKey,
|
|
3993
|
-
|
|
4015
|
+
bt as useTwoWayDisplayBase,
|
|
3994
4016
|
C6 as useUserCode,
|
|
3995
|
-
|
|
4017
|
+
I as useWebsocketContext,
|
|
3996
4018
|
I3 as useWsIsConnected,
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4019
|
+
$e as wsAddEventHandler,
|
|
4020
|
+
B3 as wsConnect,
|
|
4021
|
+
B6 as wsDisconnect,
|
|
4000
4022
|
Ae as wsReconnect,
|
|
4001
|
-
|
|
4002
|
-
|
|
4023
|
+
Le as wsRemoveEventHandler,
|
|
4024
|
+
Pe as wsSendMessage
|
|
4003
4025
|
};
|