@pepperdash/mobile-control-react-app-core 1.24.0-feat-essentials-v3.2 → 1.24.0-feat-essentials-v3.4
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 +471 -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,29 @@ 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, c = () => {
|
|
1718
|
+
t(`/device/${e}/cameraMuteOn`, null);
|
|
1719
|
+
}, r = () => {
|
|
1720
|
+
t(`/device/${e}/cameraMuteOff`, null);
|
|
1721
|
+
}, l = () => {
|
|
1722
|
+
t(`/device/${e}/cameraMuteToggle`, null);
|
|
1723
|
+
};
|
|
1724
|
+
if (o)
|
|
1725
|
+
return { cameraMuteOn: c, cameraMuteOff: r, cameraMuteToggle: l, cameraIsMuted: o };
|
|
1726
|
+
}
|
|
1727
|
+
function ot(e) {
|
|
1728
|
+
var l;
|
|
1729
|
+
const { sendMessage: t } = I(), o = (l = D(e)) == null ? void 0 : l.presets, c = (a) => {
|
|
1730
|
+
t(`/device/${e}/recallPreset`, a);
|
|
1731
|
+
}, r = (a) => {
|
|
1732
|
+
t(`/device/${e}/savePreset`, a);
|
|
1733
|
+
};
|
|
1734
|
+
if (o)
|
|
1735
|
+
return { recallPreset: c, savePreset: r, presets: o };
|
|
1736
|
+
}
|
|
1737
|
+
function st(e) {
|
|
1738
|
+
const { sendMessage: t } = I(), o = `/device/${e}`, c = D(e);
|
|
1717
1739
|
return c ? {
|
|
1718
1740
|
state: c,
|
|
1719
1741
|
selectCamera: (l) => {
|
|
@@ -1721,94 +1743,94 @@ function nt(e) {
|
|
|
1721
1743
|
}
|
|
1722
1744
|
} : void 0;
|
|
1723
1745
|
}
|
|
1724
|
-
function
|
|
1725
|
-
const t =
|
|
1746
|
+
function ct(e) {
|
|
1747
|
+
const t = D(e);
|
|
1726
1748
|
if (t)
|
|
1727
1749
|
return { state: t };
|
|
1728
1750
|
}
|
|
1729
|
-
function
|
|
1730
|
-
const { sendMessage: t, sendSimpleMessage: o } =
|
|
1751
|
+
function rt(e) {
|
|
1752
|
+
const { sendMessage: t, sendSimpleMessage: o } = I(), c = D(e), r = ne(e), l = c || r;
|
|
1731
1753
|
return l ? {
|
|
1732
1754
|
levelState: l,
|
|
1733
|
-
setLevel: (d,
|
|
1755
|
+
setLevel: (d, P) => o(`${d}/level`, P),
|
|
1734
1756
|
muteToggle: (d) => t(`${d}/muteToggle`, null),
|
|
1735
1757
|
muteOn: (d) => t(`${d}/muteOn`, null),
|
|
1736
1758
|
muteOff: (d) => t(`${d}/muteOff`, null)
|
|
1737
1759
|
} : void 0;
|
|
1738
1760
|
}
|
|
1739
|
-
function
|
|
1740
|
-
const { sendMessage: t } =
|
|
1761
|
+
function lt(e) {
|
|
1762
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1741
1763
|
return o ? { lightingState: o, selectScene: (r) => {
|
|
1742
1764
|
t(`/device/${e}/selectScene`, r);
|
|
1743
1765
|
} } : void 0;
|
|
1744
1766
|
}
|
|
1745
|
-
function
|
|
1746
|
-
const { sendMessage: t } =
|
|
1767
|
+
function it(e) {
|
|
1768
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1747
1769
|
return o ? { matrixRoutingState: o, setRoute: (r) => {
|
|
1748
1770
|
t(`/device/${e}/route`, r);
|
|
1749
1771
|
} } : void 0;
|
|
1750
1772
|
}
|
|
1751
|
-
function
|
|
1752
|
-
const { sendMessage: t } =
|
|
1773
|
+
function at(e) {
|
|
1774
|
+
const { sendMessage: t } = I();
|
|
1753
1775
|
return { closeApp: () => {
|
|
1754
1776
|
t(`/device/${e}/closeWebViewController`, null);
|
|
1755
1777
|
} };
|
|
1756
1778
|
}
|
|
1757
|
-
function
|
|
1758
|
-
const t = `/device/${e}`, o = w(t, "num0"), c = w(t, "num1"), r = w(t, "num2"), l = w(t, "num3"),
|
|
1779
|
+
function ut(e) {
|
|
1780
|
+
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
1781
|
return {
|
|
1760
1782
|
digit0: o,
|
|
1761
1783
|
digit1: c,
|
|
1762
1784
|
digit2: r,
|
|
1763
1785
|
digit3: l,
|
|
1764
|
-
digit4:
|
|
1786
|
+
digit4: a,
|
|
1765
1787
|
digit5: g,
|
|
1766
1788
|
digit6: h,
|
|
1767
1789
|
digit7: f,
|
|
1768
1790
|
digit8: d,
|
|
1769
|
-
digit9:
|
|
1791
|
+
digit9: P,
|
|
1770
1792
|
keypadAccessoryButton1: F,
|
|
1771
|
-
keypadAccessoryButton2:
|
|
1793
|
+
keypadAccessoryButton2: u
|
|
1772
1794
|
};
|
|
1773
1795
|
}
|
|
1774
|
-
function
|
|
1775
|
-
const { sendMessage: t } =
|
|
1796
|
+
function dt(e) {
|
|
1797
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1776
1798
|
return o ? { projectorScreenLiftControlState: o, raise: () => {
|
|
1777
1799
|
t(`/device/${e}/raise`, null);
|
|
1778
1800
|
}, lower: () => {
|
|
1779
1801
|
t(`/device/${e}/lower`, null);
|
|
1780
1802
|
} } : void 0;
|
|
1781
1803
|
}
|
|
1782
|
-
function
|
|
1783
|
-
const { sendMessage: t } =
|
|
1804
|
+
function vt(e) {
|
|
1805
|
+
const { sendMessage: t } = I(), o = j1(e);
|
|
1784
1806
|
return o ? { roomEventScheduleState: o, save: (r) => {
|
|
1785
1807
|
t(`/room/${e}/saveScheduledEvents`, r);
|
|
1786
1808
|
} } : void 0;
|
|
1787
1809
|
}
|
|
1788
|
-
function
|
|
1789
|
-
const { sendMessage: t } =
|
|
1810
|
+
function ht(e) {
|
|
1811
|
+
const { sendMessage: t } = I();
|
|
1790
1812
|
return { runDefaultPresentRoute: () => {
|
|
1791
1813
|
t(`/room/${e}/defaultsource`, {});
|
|
1792
1814
|
} };
|
|
1793
1815
|
}
|
|
1794
|
-
function
|
|
1795
|
-
const { sendMessage: t } =
|
|
1816
|
+
function gt(e) {
|
|
1817
|
+
const { sendMessage: t } = I();
|
|
1796
1818
|
return { runDirectRoute: (c) => {
|
|
1797
1819
|
t(`/room/${e}/directRoute`, c);
|
|
1798
1820
|
} };
|
|
1799
1821
|
}
|
|
1800
|
-
function
|
|
1801
|
-
const { sendMessage: t } =
|
|
1802
|
-
return { routingState:
|
|
1822
|
+
function ft(e) {
|
|
1823
|
+
const { sendMessage: t } = I();
|
|
1824
|
+
return { routingState: D(e), runRoute: (r) => {
|
|
1803
1825
|
t(`/room/${e}/source`, r);
|
|
1804
1826
|
} };
|
|
1805
1827
|
}
|
|
1806
|
-
function
|
|
1828
|
+
function wt(e) {
|
|
1807
1829
|
const t = `/device/${e}`, o = w(t, "chanUp"), c = w(t, "chanDown");
|
|
1808
1830
|
return { dvrList: o, replay: c };
|
|
1809
1831
|
}
|
|
1810
|
-
function
|
|
1811
|
-
const { sendMessage: t } =
|
|
1832
|
+
function mt(e) {
|
|
1833
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1812
1834
|
return o ? { shadeState: o, shadeUp: () => {
|
|
1813
1835
|
t(`/device/${e}/shadeUp`, null);
|
|
1814
1836
|
}, shadeDown: () => {
|
|
@@ -1817,8 +1839,8 @@ function ft(e) {
|
|
|
1817
1839
|
t(`/device/${e}/stopOrPreset`, null);
|
|
1818
1840
|
} } : void 0;
|
|
1819
1841
|
}
|
|
1820
|
-
function
|
|
1821
|
-
const { sendMessage: t } =
|
|
1842
|
+
function pt(e) {
|
|
1843
|
+
const { sendMessage: t } = I(), o = j1(e);
|
|
1822
1844
|
return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (g) => {
|
|
1823
1845
|
t(`/room/${e}/setShutdownPromptSeconds`, g);
|
|
1824
1846
|
}, shutdownStart: () => {
|
|
@@ -1829,28 +1851,28 @@ function wt(e) {
|
|
|
1829
1851
|
t(`/room/${e}/shutdownCancel`, null);
|
|
1830
1852
|
} } : void 0;
|
|
1831
1853
|
}
|
|
1832
|
-
function
|
|
1833
|
-
const { sendMessage: t } =
|
|
1854
|
+
function Mt(e) {
|
|
1855
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1834
1856
|
return o ? { switchedOutputState: o, on: () => {
|
|
1835
1857
|
t(`/device/${e}/on`, null);
|
|
1836
1858
|
}, off: () => {
|
|
1837
1859
|
t(`/device/${e}/off`, null);
|
|
1838
1860
|
} } : void 0;
|
|
1839
1861
|
}
|
|
1840
|
-
function
|
|
1841
|
-
const { sendMessage: t } =
|
|
1862
|
+
function xt(e) {
|
|
1863
|
+
const { sendMessage: t } = I(), o = j1(e);
|
|
1842
1864
|
return o ? { techPasswordState: o, validatePassword: (l) => {
|
|
1843
1865
|
t(`/room/${e}/validateTechPassword`, { password: l });
|
|
1844
|
-
}, setPassword: (l,
|
|
1845
|
-
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword:
|
|
1866
|
+
}, setPassword: (l, a) => {
|
|
1867
|
+
t(`/room/${e}/setTechPassword`, { oldPassword: l, newPassword: a });
|
|
1846
1868
|
} } : void 0;
|
|
1847
1869
|
}
|
|
1848
|
-
function
|
|
1849
|
-
const { sendMessage: t } =
|
|
1870
|
+
function Zt(e) {
|
|
1871
|
+
const { sendMessage: t } = I(), o = D(e);
|
|
1850
1872
|
return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
|
|
1851
1873
|
}
|
|
1852
|
-
function
|
|
1853
|
-
const { sendMessage: t } =
|
|
1874
|
+
function St(e) {
|
|
1875
|
+
const { sendMessage: t } = I(), o = D(e), c = (r) => {
|
|
1854
1876
|
t(`/device/${e}/saveTheme`, { value: r });
|
|
1855
1877
|
};
|
|
1856
1878
|
return {
|
|
@@ -1858,21 +1880,21 @@ function xt(e) {
|
|
|
1858
1880
|
saveTheme: c
|
|
1859
1881
|
};
|
|
1860
1882
|
}
|
|
1861
|
-
function
|
|
1862
|
-
const t = `/device/${e}`, o = w(t, "play"), c = w(t, "pause"), r = w(t, "stop"), l = w(t, "prevTrack"),
|
|
1883
|
+
function jt(e) {
|
|
1884
|
+
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
1885
|
return {
|
|
1864
1886
|
play: o,
|
|
1865
1887
|
pause: c,
|
|
1866
1888
|
stop: r,
|
|
1867
1889
|
prevTrack: l,
|
|
1868
|
-
nextTrack:
|
|
1890
|
+
nextTrack: a,
|
|
1869
1891
|
rewind: g,
|
|
1870
1892
|
fastForward: h,
|
|
1871
1893
|
record: f
|
|
1872
1894
|
};
|
|
1873
1895
|
}
|
|
1874
|
-
function
|
|
1875
|
-
const t =
|
|
1896
|
+
function Ct(e) {
|
|
1897
|
+
const t = D(e), { sendMessage: o } = I();
|
|
1876
1898
|
return t ? {
|
|
1877
1899
|
touchpanelState: t,
|
|
1878
1900
|
appControl: { hideApp: () => {
|
|
@@ -1887,8 +1909,8 @@ function St(e) {
|
|
|
1887
1909
|
} }
|
|
1888
1910
|
} : void 0;
|
|
1889
1911
|
}
|
|
1890
|
-
function
|
|
1891
|
-
const t =
|
|
1912
|
+
function bt(e) {
|
|
1913
|
+
const t = D(e), o = V3(e), c = k1(e);
|
|
1892
1914
|
if (!t) return;
|
|
1893
1915
|
const r = (t.powerState || t.isWarming) && !t.isCooling, l = (!t.powerState || t.isCooling) && !t.isWarming;
|
|
1894
1916
|
return {
|
|
@@ -1898,15 +1920,15 @@ function jt(e) {
|
|
|
1898
1920
|
powerFb: { powerOnFb: r, powerOffFb: l }
|
|
1899
1921
|
};
|
|
1900
1922
|
}
|
|
1901
|
-
function
|
|
1923
|
+
function yt(e) {
|
|
1902
1924
|
const t = `/device/${e}`;
|
|
1903
1925
|
return C1(t);
|
|
1904
1926
|
}
|
|
1905
|
-
const
|
|
1927
|
+
const It = ({
|
|
1906
1928
|
config: e
|
|
1907
1929
|
}, t = !0) => {
|
|
1908
|
-
const { sendMessage: o } =
|
|
1909
|
-
var
|
|
1930
|
+
const { sendMessage: o } = I(), c = d1(!1), r = n1(() => {
|
|
1931
|
+
var a, g, h, f;
|
|
1910
1932
|
if (!e)
|
|
1911
1933
|
return;
|
|
1912
1934
|
const l = /* @__PURE__ */ new Set();
|
|
@@ -1914,7 +1936,7 @@ const bt = ({
|
|
|
1914
1936
|
l.add(d);
|
|
1915
1937
|
}), e.destinationList && Object.values(e.destinationList).forEach((d) => {
|
|
1916
1938
|
l.add(d.sinkKey);
|
|
1917
|
-
}), e.audioControlPointList && Object.values((
|
|
1939
|
+
}), e.audioControlPointList && Object.values((a = e.audioControlPointList) == null ? void 0 : a.levelControls).forEach(
|
|
1918
1940
|
(d) => {
|
|
1919
1941
|
d.itemKey ? l.add(d.parentDeviceKey + "--" + d.itemKey) : l.add(d.parentDeviceKey);
|
|
1920
1942
|
}
|
|
@@ -1937,30 +1959,30 @@ const bt = ({
|
|
|
1937
1959
|
}), c.current = !0);
|
|
1938
1960
|
}, [r, t, o]), r;
|
|
1939
1961
|
};
|
|
1940
|
-
function
|
|
1962
|
+
function Rt(e, t) {
|
|
1941
1963
|
const [o, c] = Y(!1), [r, l] = Y(!1);
|
|
1942
1964
|
return Z3(() => {
|
|
1943
|
-
const { current:
|
|
1944
|
-
const h =
|
|
1965
|
+
const { current: a } = e, g = () => {
|
|
1966
|
+
const h = a && a.scrollHeight > a.clientHeight, f = a && a.scrollWidth > a.clientWidth;
|
|
1945
1967
|
l(h ?? !1), c(f ?? !1), t && t(h ?? !1, f ?? !1);
|
|
1946
1968
|
};
|
|
1947
|
-
|
|
1969
|
+
a && g();
|
|
1948
1970
|
}, [e, t]), { overflowHorizontal: o, overflowVertical: r };
|
|
1949
1971
|
}
|
|
1950
|
-
function
|
|
1972
|
+
function Et(e, t) {
|
|
1951
1973
|
const o = `/room/${e}/volumes/${t}`;
|
|
1952
1974
|
return C1(o);
|
|
1953
1975
|
}
|
|
1954
|
-
function
|
|
1976
|
+
function Tt(e, t) {
|
|
1955
1977
|
const o = te(e, t), c = `/room/${e}/volumes/${t}`;
|
|
1956
1978
|
return W3(c, o);
|
|
1957
1979
|
}
|
|
1958
|
-
function
|
|
1980
|
+
function Dt(e) {
|
|
1959
1981
|
var g, h;
|
|
1960
1982
|
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
1983
|
const { current: d } = e;
|
|
1962
1984
|
d && (console.log(d.scrollLeft), d.scrollLeft += f, console.log(d.scrollLeft));
|
|
1963
|
-
},
|
|
1985
|
+
}, a = (f) => {
|
|
1964
1986
|
const { current: d } = e;
|
|
1965
1987
|
d && (console.log(d.scrollTop), d.scrollTop += f, console.log(d.scrollTop));
|
|
1966
1988
|
};
|
|
@@ -1969,9 +1991,9 @@ function Et(e) {
|
|
|
1969
1991
|
o((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
|
|
1970
1992
|
};
|
|
1971
1993
|
f && d();
|
|
1972
|
-
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical:
|
|
1994
|
+
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: l, scrollVertical: a };
|
|
1973
1995
|
}
|
|
1974
|
-
function
|
|
1996
|
+
function _t(e) {
|
|
1975
1997
|
const t = W1();
|
|
1976
1998
|
return [() => {
|
|
1977
1999
|
t(W.addSyncState(e));
|
|
@@ -1979,8 +2001,8 @@ function Tt(e) {
|
|
|
1979
2001
|
t(W.removeSyncState(e));
|
|
1980
2002
|
}, Ze(e)];
|
|
1981
2003
|
}
|
|
1982
|
-
function
|
|
1983
|
-
const { sendMessage: e } =
|
|
2004
|
+
function Pt() {
|
|
2005
|
+
const { sendMessage: e } = I();
|
|
1984
2006
|
return {
|
|
1985
2007
|
reboot: () => {
|
|
1986
2008
|
e("/system/reboot", null);
|
|
@@ -1990,7 +2012,7 @@ function Dt() {
|
|
|
1990
2012
|
}
|
|
1991
2013
|
};
|
|
1992
2014
|
}
|
|
1993
|
-
function
|
|
2015
|
+
function $t() {
|
|
1994
2016
|
const [e, t] = Y(), [o, c] = Y();
|
|
1995
2017
|
function r() {
|
|
1996
2018
|
t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
|
|
@@ -2028,7 +2050,7 @@ const Lt = () => {
|
|
|
2028
2050
|
),
|
|
2029
2051
|
e && /* @__PURE__ */ n.jsx("p", { children: r })
|
|
2030
2052
|
] });
|
|
2031
|
-
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18",
|
|
2053
|
+
}, Je = "_iconbtn_16qss_1", Xe = "_iconbtnvert_16qss_7", Qe = "_iconsm_16qss_18", L1 = {
|
|
2032
2054
|
iconbtn: Je,
|
|
2033
2055
|
iconbtnvert: Xe,
|
|
2034
2056
|
iconsm: Qe
|
|
@@ -2039,22 +2061,22 @@ const Lt = () => {
|
|
|
2039
2061
|
className: c,
|
|
2040
2062
|
iconClassName: r = "",
|
|
2041
2063
|
otherContentClassName: l = "",
|
|
2042
|
-
disabled:
|
|
2064
|
+
disabled: a,
|
|
2043
2065
|
feedback: g,
|
|
2044
2066
|
feedbackClassName: h,
|
|
2045
2067
|
onPointerDown: f,
|
|
2046
2068
|
onPointerUp: d,
|
|
2047
|
-
onPointerLeave:
|
|
2069
|
+
onPointerLeave: P,
|
|
2048
2070
|
...F
|
|
2049
2071
|
}) => {
|
|
2050
|
-
const [
|
|
2072
|
+
const [u, Z] = Y(!1), j = !a && g ? h : "", S = !a && (u || g);
|
|
2051
2073
|
return /* @__PURE__ */ n.jsxs(
|
|
2052
2074
|
"button",
|
|
2053
2075
|
{
|
|
2054
2076
|
type: "button",
|
|
2055
|
-
className: `${
|
|
2077
|
+
className: `${L1.iconbtn} ${o ? L1.iconbtnvert : ""} ${c} ${j}`,
|
|
2056
2078
|
...F,
|
|
2057
|
-
disabled:
|
|
2079
|
+
disabled: a,
|
|
2058
2080
|
onPointerDown: (C) => {
|
|
2059
2081
|
Z(!0), f == null || f(C);
|
|
2060
2082
|
},
|
|
@@ -2062,22 +2084,22 @@ const Lt = () => {
|
|
|
2062
2084
|
Z(!1), d == null || d(C);
|
|
2063
2085
|
},
|
|
2064
2086
|
onPointerLeave: (C) => {
|
|
2065
|
-
Z(!1),
|
|
2087
|
+
Z(!1), P == null || P(C);
|
|
2066
2088
|
},
|
|
2067
2089
|
children: [
|
|
2068
2090
|
e && /* @__PURE__ */ n.jsx(
|
|
2069
2091
|
e,
|
|
2070
2092
|
{
|
|
2071
|
-
className: `${r ||
|
|
2093
|
+
className: `${r || L1.iconsm}`,
|
|
2072
2094
|
active: S,
|
|
2073
|
-
disabled:
|
|
2095
|
+
disabled: a
|
|
2074
2096
|
}
|
|
2075
2097
|
),
|
|
2076
2098
|
l ? /* @__PURE__ */ n.jsx("div", { className: l, children: t }) : /* @__PURE__ */ n.jsx("div", { children: t })
|
|
2077
2099
|
]
|
|
2078
2100
|
}
|
|
2079
2101
|
);
|
|
2080
|
-
},
|
|
2102
|
+
}, R = ({
|
|
2081
2103
|
ActiveImage: e,
|
|
2082
2104
|
DisabledImage: t,
|
|
2083
2105
|
EnabledImage: o,
|
|
@@ -2088,7 +2110,7 @@ const Lt = () => {
|
|
|
2088
2110
|
className: t = "",
|
|
2089
2111
|
disabled: o
|
|
2090
2112
|
}) => /* @__PURE__ */ n.jsx(
|
|
2091
|
-
|
|
2113
|
+
R,
|
|
2092
2114
|
{
|
|
2093
2115
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2094
2116
|
"svg",
|
|
@@ -2140,7 +2162,7 @@ const Lt = () => {
|
|
|
2140
2162
|
className: t = "",
|
|
2141
2163
|
disabled: o
|
|
2142
2164
|
}) => /* @__PURE__ */ n.jsx(
|
|
2143
|
-
|
|
2165
|
+
R,
|
|
2144
2166
|
{
|
|
2145
2167
|
ActiveImage: (
|
|
2146
2168
|
/* icon-ban-active.svg */
|
|
@@ -2189,7 +2211,7 @@ const Lt = () => {
|
|
|
2189
2211
|
className: t = "",
|
|
2190
2212
|
disabled: o
|
|
2191
2213
|
}) => /* @__PURE__ */ n.jsx(
|
|
2192
|
-
|
|
2214
|
+
R,
|
|
2193
2215
|
{
|
|
2194
2216
|
ActiveImage: /* @__PURE__ */ n.jsx(
|
|
2195
2217
|
"svg",
|
|
@@ -2229,7 +2251,7 @@ const Lt = () => {
|
|
|
2229
2251
|
className: t = "",
|
|
2230
2252
|
disabled: o
|
|
2231
2253
|
}) => /* @__PURE__ */ n.jsx(
|
|
2232
|
-
|
|
2254
|
+
R,
|
|
2233
2255
|
{
|
|
2234
2256
|
ActiveImage: (
|
|
2235
2257
|
/* icon-check-active.svg */
|
|
@@ -2279,7 +2301,7 @@ const Lt = () => {
|
|
|
2279
2301
|
className: t = "",
|
|
2280
2302
|
disabled: o
|
|
2281
2303
|
}) => /* @__PURE__ */ n.jsx(
|
|
2282
|
-
|
|
2304
|
+
R,
|
|
2283
2305
|
{
|
|
2284
2306
|
ActiveImage: (
|
|
2285
2307
|
/* icon-controller-active.svg */
|
|
@@ -2346,7 +2368,7 @@ const Lt = () => {
|
|
|
2346
2368
|
className: t = "",
|
|
2347
2369
|
disabled: o
|
|
2348
2370
|
}) => /* @__PURE__ */ n.jsx(
|
|
2349
|
-
|
|
2371
|
+
R,
|
|
2350
2372
|
{
|
|
2351
2373
|
ActiveImage: (
|
|
2352
2374
|
/* icon-down-active.svg */
|
|
@@ -2395,7 +2417,7 @@ const Lt = () => {
|
|
|
2395
2417
|
className: t = "",
|
|
2396
2418
|
disabled: o
|
|
2397
2419
|
}) => /* @__PURE__ */ n.jsx(
|
|
2398
|
-
|
|
2420
|
+
R,
|
|
2399
2421
|
{
|
|
2400
2422
|
ActiveImage: (
|
|
2401
2423
|
/* icon-elipses-active.svg */
|
|
@@ -2444,7 +2466,7 @@ const Lt = () => {
|
|
|
2444
2466
|
className: t = "",
|
|
2445
2467
|
disabled: o
|
|
2446
2468
|
}) => /* @__PURE__ */ n.jsx(
|
|
2447
|
-
|
|
2469
|
+
R,
|
|
2448
2470
|
{
|
|
2449
2471
|
ActiveImage: (
|
|
2450
2472
|
/* icon-flag-active.svg */
|
|
@@ -2493,7 +2515,7 @@ const Lt = () => {
|
|
|
2493
2515
|
className: t = "",
|
|
2494
2516
|
disabled: o
|
|
2495
2517
|
}) => /* @__PURE__ */ n.jsx(
|
|
2496
|
-
|
|
2518
|
+
R,
|
|
2497
2519
|
{
|
|
2498
2520
|
ActiveImage: (
|
|
2499
2521
|
/* /Users/hvolmer/Downloads/SVG/icon-gear-active.svg */
|
|
@@ -2542,7 +2564,7 @@ const Lt = () => {
|
|
|
2542
2564
|
className: t = "",
|
|
2543
2565
|
disabled: o
|
|
2544
2566
|
}) => /* @__PURE__ */ n.jsx(
|
|
2545
|
-
|
|
2567
|
+
R,
|
|
2546
2568
|
{
|
|
2547
2569
|
ActiveImage: (
|
|
2548
2570
|
/* icon-glass-active.svg */
|
|
@@ -2592,7 +2614,7 @@ const Lt = () => {
|
|
|
2592
2614
|
className: t = "",
|
|
2593
2615
|
disabled: o
|
|
2594
2616
|
}) => /* @__PURE__ */ n.jsx(
|
|
2595
|
-
|
|
2617
|
+
R,
|
|
2596
2618
|
{
|
|
2597
2619
|
ActiveImage: (
|
|
2598
2620
|
/* icon-hdmi-active.svg */
|
|
@@ -2659,7 +2681,7 @@ const Lt = () => {
|
|
|
2659
2681
|
className: t = "",
|
|
2660
2682
|
disabled: o
|
|
2661
2683
|
}) => /* @__PURE__ */ n.jsx(
|
|
2662
|
-
|
|
2684
|
+
R,
|
|
2663
2685
|
{
|
|
2664
2686
|
ActiveImage: (
|
|
2665
2687
|
/* icon-laptop-active.svg */
|
|
@@ -2708,7 +2730,7 @@ const Lt = () => {
|
|
|
2708
2730
|
className: t = "",
|
|
2709
2731
|
disabled: o
|
|
2710
2732
|
}) => /* @__PURE__ */ n.jsx(
|
|
2711
|
-
|
|
2733
|
+
R,
|
|
2712
2734
|
{
|
|
2713
2735
|
ActiveImage: (
|
|
2714
2736
|
/* icon-left-active.svg */
|
|
@@ -2757,7 +2779,7 @@ const Lt = () => {
|
|
|
2757
2779
|
className: t = "",
|
|
2758
2780
|
disabled: o
|
|
2759
2781
|
}) => /* @__PURE__ */ n.jsx(
|
|
2760
|
-
|
|
2782
|
+
R,
|
|
2761
2783
|
{
|
|
2762
2784
|
ActiveImage: (
|
|
2763
2785
|
/* icon-light-active.svg */
|
|
@@ -2806,7 +2828,7 @@ const Lt = () => {
|
|
|
2806
2828
|
className: t = "",
|
|
2807
2829
|
disabled: o
|
|
2808
2830
|
}) => /* @__PURE__ */ n.jsx(
|
|
2809
|
-
|
|
2831
|
+
R,
|
|
2810
2832
|
{
|
|
2811
2833
|
ActiveImage: (
|
|
2812
2834
|
/* icon-moon-active.svg */
|
|
@@ -2855,7 +2877,7 @@ const Lt = () => {
|
|
|
2855
2877
|
className: t = "",
|
|
2856
2878
|
disabled: o
|
|
2857
2879
|
}) => /* @__PURE__ */ n.jsx(
|
|
2858
|
-
|
|
2880
|
+
R,
|
|
2859
2881
|
{
|
|
2860
2882
|
ActiveImage: (
|
|
2861
2883
|
/* icon-playstation-active.svg */
|
|
@@ -2877,7 +2899,7 @@ const Lt = () => {
|
|
|
2877
2899
|
className: t = "",
|
|
2878
2900
|
disabled: o
|
|
2879
2901
|
}) => /* @__PURE__ */ n.jsx(
|
|
2880
|
-
|
|
2902
|
+
R,
|
|
2881
2903
|
{
|
|
2882
2904
|
ActiveImage: (
|
|
2883
2905
|
/* icon-podium-active.svg */
|
|
@@ -2926,7 +2948,7 @@ const Lt = () => {
|
|
|
2926
2948
|
className: t = "",
|
|
2927
2949
|
disabled: o
|
|
2928
2950
|
}) => /* @__PURE__ */ n.jsx(
|
|
2929
|
-
|
|
2951
|
+
R,
|
|
2930
2952
|
{
|
|
2931
2953
|
ActiveImage: (
|
|
2932
2954
|
/* icon-power-active.svg */
|
|
@@ -2975,7 +2997,7 @@ const Lt = () => {
|
|
|
2975
2997
|
className: t = "",
|
|
2976
2998
|
disabled: o
|
|
2977
2999
|
}) => /* @__PURE__ */ n.jsx(
|
|
2978
|
-
|
|
3000
|
+
R,
|
|
2979
3001
|
{
|
|
2980
3002
|
ActiveImage: (
|
|
2981
3003
|
/* icon-privacy-active.svg */
|
|
@@ -3024,7 +3046,7 @@ const Lt = () => {
|
|
|
3024
3046
|
className: t = "",
|
|
3025
3047
|
disabled: o
|
|
3026
3048
|
}) => /* @__PURE__ */ n.jsx(
|
|
3027
|
-
|
|
3049
|
+
R,
|
|
3028
3050
|
{
|
|
3029
3051
|
ActiveImage: (
|
|
3030
3052
|
/* icon-question-active.svg */
|
|
@@ -3073,7 +3095,7 @@ const Lt = () => {
|
|
|
3073
3095
|
className: t = "",
|
|
3074
3096
|
disabled: o
|
|
3075
3097
|
}) => /* @__PURE__ */ n.jsx(
|
|
3076
|
-
|
|
3098
|
+
R,
|
|
3077
3099
|
{
|
|
3078
3100
|
ActiveImage: (
|
|
3079
3101
|
/* icon-right-active.svg */
|
|
@@ -3123,7 +3145,7 @@ const Lt = () => {
|
|
|
3123
3145
|
className: t = "",
|
|
3124
3146
|
disabled: o
|
|
3125
3147
|
}) => /* @__PURE__ */ n.jsx(
|
|
3126
|
-
|
|
3148
|
+
R,
|
|
3127
3149
|
{
|
|
3128
3150
|
ActiveImage: (
|
|
3129
3151
|
/* icon-roomPC-active.svg */
|
|
@@ -3190,7 +3212,7 @@ const Lt = () => {
|
|
|
3190
3212
|
className: t = "",
|
|
3191
3213
|
disabled: o
|
|
3192
3214
|
}) => /* @__PURE__ */ n.jsx(
|
|
3193
|
-
|
|
3215
|
+
R,
|
|
3194
3216
|
{
|
|
3195
3217
|
ActiveImage: (
|
|
3196
3218
|
/* icon-shade-active.svg */
|
|
@@ -3239,7 +3261,7 @@ const Lt = () => {
|
|
|
3239
3261
|
className: t = "",
|
|
3240
3262
|
disabled: o
|
|
3241
3263
|
}) => /* @__PURE__ */ n.jsx(
|
|
3242
|
-
|
|
3264
|
+
R,
|
|
3243
3265
|
{
|
|
3244
3266
|
ActiveImage: (
|
|
3245
3267
|
/* icon-sun-active.svg */
|
|
@@ -3283,14 +3305,14 @@ const Lt = () => {
|
|
|
3283
3305
|
active: e,
|
|
3284
3306
|
disabled: o
|
|
3285
3307
|
}
|
|
3286
|
-
),
|
|
3308
|
+
), At = ({
|
|
3287
3309
|
active: e,
|
|
3288
3310
|
// Just to shut up the linter on this template. Prefer deleting this lint rule
|
|
3289
3311
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
3290
3312
|
className: t = "",
|
|
3291
3313
|
disabled: o
|
|
3292
3314
|
}) => /* @__PURE__ */ n.jsx(
|
|
3293
|
-
|
|
3315
|
+
R,
|
|
3294
3316
|
{
|
|
3295
3317
|
ActiveImage: void 0,
|
|
3296
3318
|
DisabledImage: void 0,
|
|
@@ -3303,7 +3325,7 @@ const Lt = () => {
|
|
|
3303
3325
|
className: t = "",
|
|
3304
3326
|
disabled: o
|
|
3305
3327
|
}) => /* @__PURE__ */ n.jsx(
|
|
3306
|
-
|
|
3328
|
+
R,
|
|
3307
3329
|
{
|
|
3308
3330
|
ActiveImage: (
|
|
3309
3331
|
/* icon-up-active.svg */
|
|
@@ -3352,7 +3374,7 @@ const Lt = () => {
|
|
|
3352
3374
|
className: t = "",
|
|
3353
3375
|
disabled: o
|
|
3354
3376
|
}) => /* @__PURE__ */ n.jsx(
|
|
3355
|
-
|
|
3377
|
+
R,
|
|
3356
3378
|
{
|
|
3357
3379
|
ActiveImage: (
|
|
3358
3380
|
/* icon-volDown-active.svg */
|
|
@@ -3401,7 +3423,7 @@ const Lt = () => {
|
|
|
3401
3423
|
className: t = "",
|
|
3402
3424
|
disabled: o
|
|
3403
3425
|
}) => /* @__PURE__ */ n.jsx(
|
|
3404
|
-
|
|
3426
|
+
R,
|
|
3405
3427
|
{
|
|
3406
3428
|
ActiveImage: (
|
|
3407
3429
|
/* icon-volMute-active.svg */
|
|
@@ -3450,7 +3472,7 @@ const Lt = () => {
|
|
|
3450
3472
|
className: t = "",
|
|
3451
3473
|
disabled: o
|
|
3452
3474
|
}) => /* @__PURE__ */ n.jsx(
|
|
3453
|
-
|
|
3475
|
+
R,
|
|
3454
3476
|
{
|
|
3455
3477
|
ActiveImage: (
|
|
3456
3478
|
/* icon-volUp-active.svg */
|
|
@@ -3499,7 +3521,7 @@ const Lt = () => {
|
|
|
3499
3521
|
className: t = "",
|
|
3500
3522
|
disabled: o
|
|
3501
3523
|
}) => /* @__PURE__ */ n.jsx(
|
|
3502
|
-
|
|
3524
|
+
R,
|
|
3503
3525
|
{
|
|
3504
3526
|
ActiveImage: (
|
|
3505
3527
|
/* icon-wireless-active.svg */
|
|
@@ -3548,7 +3570,7 @@ const Lt = () => {
|
|
|
3548
3570
|
className: t = "",
|
|
3549
3571
|
disabled: o
|
|
3550
3572
|
}) => /* @__PURE__ */ n.jsx(
|
|
3551
|
-
|
|
3573
|
+
R,
|
|
3552
3574
|
{
|
|
3553
3575
|
ActiveImage: (
|
|
3554
3576
|
/* icon-x-active.svg */
|
|
@@ -3597,7 +3619,7 @@ const Lt = () => {
|
|
|
3597
3619
|
className: t = "",
|
|
3598
3620
|
disabled: o
|
|
3599
3621
|
}) => /* @__PURE__ */ n.jsx(
|
|
3600
|
-
|
|
3622
|
+
R,
|
|
3601
3623
|
{
|
|
3602
3624
|
ActiveImage: (
|
|
3603
3625
|
/* icon-xbox-active.svg */
|
|
@@ -3646,7 +3668,7 @@ const Lt = () => {
|
|
|
3646
3668
|
className: t = "",
|
|
3647
3669
|
disabled: o
|
|
3648
3670
|
}) => /* @__PURE__ */ n.jsx(
|
|
3649
|
-
|
|
3671
|
+
R,
|
|
3650
3672
|
{
|
|
3651
3673
|
ActiveImage: (
|
|
3652
3674
|
/* icon-mic-active.svg */
|
|
@@ -3724,7 +3746,7 @@ const Lt = () => {
|
|
|
3724
3746
|
X: E8,
|
|
3725
3747
|
Xbox: T8
|
|
3726
3748
|
};
|
|
3727
|
-
function
|
|
3749
|
+
function Ot({
|
|
3728
3750
|
name: e,
|
|
3729
3751
|
iconsDictionary: t = _8,
|
|
3730
3752
|
...o
|
|
@@ -3732,20 +3754,20 @@ function $t({
|
|
|
3732
3754
|
const c = t[e] ?? null;
|
|
3733
3755
|
return c || console.error(`Icon ${e} not found in dictionary`), /* @__PURE__ */ n.jsx(Ne, { multiIcon: c, ...o });
|
|
3734
3756
|
}
|
|
3735
|
-
const
|
|
3736
|
-
grid:
|
|
3737
|
-
header:
|
|
3738
|
-
content:
|
|
3757
|
+
const P8 = "_grid_1cmpp_1", $8 = "_header_1cmpp_11", L8 = "_content_1cmpp_17", A8 = "_footer_1cmpp_23", O8 = "_volume_1cmpp_29", u1 = {
|
|
3758
|
+
grid: P8,
|
|
3759
|
+
header: $8,
|
|
3760
|
+
content: L8,
|
|
3739
3761
|
footer: A8,
|
|
3740
|
-
volume:
|
|
3741
|
-
},
|
|
3762
|
+
volume: O8
|
|
3763
|
+
}, Bt = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ n.jsxs("div", { className: u1.grid, children: [
|
|
3742
3764
|
/* @__PURE__ */ n.jsx("div", { className: u1.header, children: e }),
|
|
3743
3765
|
/* @__PURE__ */ n.jsx("div", { className: u1.content, children: o }),
|
|
3744
3766
|
r && /* @__PURE__ */ n.jsx("div", { className: u1.volume, children: c }),
|
|
3745
3767
|
/* @__PURE__ */ n.jsx("div", { className: u1.footer, children: t })
|
|
3746
|
-
] }),
|
|
3747
|
-
grid:
|
|
3748
|
-
header:
|
|
3768
|
+
] }), B8 = "_grid_11w5q_1", k8 = "_header_11w5q_11", W8 = "_content_11w5q_17", x1 = {
|
|
3769
|
+
grid: B8,
|
|
3770
|
+
header: k8,
|
|
3749
3771
|
content: W8
|
|
3750
3772
|
}, kt = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${x1.grid}`, children: [
|
|
3751
3773
|
/* @__PURE__ */ n.jsx("div", { className: x1.header, children: t }),
|
|
@@ -3755,31 +3777,31 @@ const L8 = "_grid_1cmpp_1", P8 = "_header_1cmpp_11", $8 = "_content_1cmpp_17", A
|
|
|
3755
3777
|
grid: V8,
|
|
3756
3778
|
header: U8,
|
|
3757
3779
|
content: F8
|
|
3758
|
-
},
|
|
3780
|
+
}, Wt = ({ className: e, header: t, content: o }) => /* @__PURE__ */ n.jsxs("div", { className: `${e} ${A1.grid}`, children: [
|
|
3759
3781
|
/* @__PURE__ */ n.jsx("div", { className: A1.header, children: t }),
|
|
3760
3782
|
/* @__PURE__ */ n.jsx("div", { className: A1.content, children: o })
|
|
3761
3783
|
] });
|
|
3762
|
-
class
|
|
3784
|
+
class Vt {
|
|
3763
3785
|
constructor() {
|
|
3764
3786
|
q(this, "currentShareText");
|
|
3765
3787
|
q(this, "enabled");
|
|
3766
3788
|
q(this, "isSharing");
|
|
3767
3789
|
}
|
|
3768
3790
|
}
|
|
3769
|
-
function
|
|
3791
|
+
function Ut() {
|
|
3770
3792
|
return console.log(location.pathname), location.pathname;
|
|
3771
3793
|
}
|
|
3772
3794
|
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
|
|
3795
|
+
class Ft {
|
|
3774
3796
|
constructor(t, o) {
|
|
3775
3797
|
q(this, "path");
|
|
3776
3798
|
q(this, "handler");
|
|
3777
3799
|
this.path = t, this.handler = o;
|
|
3778
3800
|
}
|
|
3779
3801
|
}
|
|
3780
|
-
const
|
|
3802
|
+
const Ht = "$off";
|
|
3781
3803
|
export {
|
|
3782
|
-
|
|
3804
|
+
K6 as Clock,
|
|
3783
3805
|
H8 as DaysOfWeek,
|
|
3784
3806
|
Lt as ErrorBox,
|
|
3785
3807
|
Ne as IconButton,
|
|
@@ -3808,7 +3830,7 @@ export {
|
|
|
3808
3830
|
Z8 as IconMultiRoomPC,
|
|
3809
3831
|
S8 as IconMultiShade,
|
|
3810
3832
|
j8 as IconMultiSun,
|
|
3811
|
-
|
|
3833
|
+
At as IconMultiTemplate,
|
|
3812
3834
|
C8 as IconMultiUpArrow,
|
|
3813
3835
|
b8 as IconMultiVolDown,
|
|
3814
3836
|
y8 as IconMultiVolMute,
|
|
@@ -3816,28 +3838,28 @@ export {
|
|
|
3816
3838
|
R8 as IconMultiWireless,
|
|
3817
3839
|
E8 as IconMultiX,
|
|
3818
3840
|
T8 as IconMultiXbox,
|
|
3819
|
-
|
|
3820
|
-
|
|
3841
|
+
Bt as MainLayout,
|
|
3842
|
+
Ft as MessageHandler,
|
|
3821
3843
|
W6 as MobileControlProvider,
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3844
|
+
R as MultiStateIconContainer,
|
|
3845
|
+
Ot as NamedIconButton,
|
|
3846
|
+
Vt as ShareState,
|
|
3825
3847
|
kt as TechLayout,
|
|
3826
|
-
|
|
3827
|
-
|
|
3848
|
+
Wt as TechPinLayout,
|
|
3849
|
+
L3 as WS_ADD_EVENT_HANDLER,
|
|
3828
3850
|
_3 as WS_CONNECT,
|
|
3829
|
-
|
|
3830
|
-
|
|
3851
|
+
P3 as WS_DISCONNECT,
|
|
3852
|
+
O3 as WS_RECONNECT,
|
|
3831
3853
|
A3 as WS_REMOVE_EVENT_HANDLER,
|
|
3832
|
-
|
|
3833
|
-
|
|
3854
|
+
$3 as WS_SEND_MESSAGE,
|
|
3855
|
+
k3 as WebsocketContext,
|
|
3834
3856
|
T3 as appConfigActions,
|
|
3835
|
-
|
|
3857
|
+
Oe as createWebSocketMiddleware,
|
|
3836
3858
|
m1 as devicesActions,
|
|
3837
|
-
|
|
3859
|
+
Ut as getBaseLocation,
|
|
3838
3860
|
f3 as httpClient,
|
|
3839
3861
|
_8 as iconsDictionary,
|
|
3840
|
-
|
|
3862
|
+
Ht as roomOffSourceKey,
|
|
3841
3863
|
p1 as roomsActions,
|
|
3842
3864
|
U as runtimeConfigActions,
|
|
3843
3865
|
C3 as selectAllDevices,
|
|
@@ -3845,7 +3867,7 @@ export {
|
|
|
3845
3867
|
E2 as selectAppConfig,
|
|
3846
3868
|
ce as selectClientId,
|
|
3847
3869
|
he as selectCurrentPopoverIdForGroup,
|
|
3848
|
-
|
|
3870
|
+
P2 as selectDeviceByKey,
|
|
3849
3871
|
b3 as selectDeviceInterfaceSupport,
|
|
3850
3872
|
ve as selectDeviceSupportsInterface,
|
|
3851
3873
|
fe as selectError,
|
|
@@ -3859,7 +3881,7 @@ export {
|
|
|
3859
3881
|
V2 as selectRoomAudioControlPointList,
|
|
3860
3882
|
A2 as selectRoomByKey,
|
|
3861
3883
|
q2 as selectRoomCodecContentDestinationKey,
|
|
3862
|
-
|
|
3884
|
+
$2 as selectRoomConfiguration,
|
|
3863
3885
|
F2 as selectRoomDestinationList,
|
|
3864
3886
|
U2 as selectRoomDestinations,
|
|
3865
3887
|
ee as selectRoomDisplayStates,
|
|
@@ -3869,13 +3891,13 @@ export {
|
|
|
3869
3891
|
J2 as selectRoomIsOn,
|
|
3870
3892
|
Y2 as selectRoomIsWarmingUp,
|
|
3871
3893
|
se as selectRoomKey,
|
|
3872
|
-
|
|
3873
|
-
|
|
3894
|
+
k2 as selectRoomLevelControls,
|
|
3895
|
+
O2 as selectRoomName,
|
|
3874
3896
|
K2 as selectRoomProgramAudioDestinationKey,
|
|
3875
3897
|
Q2 as selectRoomShareState,
|
|
3876
3898
|
W2 as selectRoomSourceList,
|
|
3877
|
-
|
|
3878
|
-
|
|
3899
|
+
B2 as selectRoomVolume,
|
|
3900
|
+
L2 as selectRooms,
|
|
3879
3901
|
ae as selectRuntimeInfo,
|
|
3880
3902
|
ie as selectServerIsRunningOnProcessorHardware,
|
|
3881
3903
|
ge as selectShowPopoverById,
|
|
@@ -3886,7 +3908,7 @@ export {
|
|
|
3886
3908
|
le as selectUserCode,
|
|
3887
3909
|
oe as selectWsIsConnected,
|
|
3888
3910
|
N2 as selectZoomRoomControllerKey,
|
|
3889
|
-
|
|
3911
|
+
ke as store,
|
|
3890
3912
|
W as uiActions,
|
|
3891
3913
|
je as uiReducer,
|
|
3892
3914
|
Q8 as useApiPath,
|
|
@@ -3895,20 +3917,20 @@ export {
|
|
|
3895
3917
|
m as useAppSelector,
|
|
3896
3918
|
F6 as useAvrControl,
|
|
3897
3919
|
w as useButtonHeldHeartbeat,
|
|
3898
|
-
|
|
3920
|
+
H6 as useCameraBase,
|
|
3899
3921
|
S6 as useClientId,
|
|
3900
|
-
|
|
3922
|
+
yt as useDeviceIBasicVolume,
|
|
3901
3923
|
Ye as useDeviceIBasicVolumeWithFeedback,
|
|
3902
3924
|
E6 as useDeviceInterfaceSupport,
|
|
3903
|
-
|
|
3925
|
+
q6 as useDevicePresetsModel,
|
|
3904
3926
|
D6 as useDeviceSupportsInterface,
|
|
3905
|
-
|
|
3927
|
+
G6 as useEndpoint,
|
|
3906
3928
|
Me as useError,
|
|
3907
|
-
|
|
3929
|
+
It as useGetAllDeviceStateFromRoomConfiguration,
|
|
3908
3930
|
t6 as useGetAllDevices,
|
|
3909
3931
|
o6 as useGetAllRooms,
|
|
3910
|
-
|
|
3911
|
-
|
|
3932
|
+
L6 as useGetCurrentPopoverIdForGroup,
|
|
3933
|
+
D as useGetDevice,
|
|
3912
3934
|
V6 as useGetIBasicVolume,
|
|
3913
3935
|
U6 as useGetIBasicVolumeWithFeedback,
|
|
3914
3936
|
s6 as useGetRoom,
|
|
@@ -3916,43 +3938,45 @@ export {
|
|
|
3916
3938
|
x6 as useGetZoomRoomControllerKey,
|
|
3917
3939
|
C1 as useIBasicVolume,
|
|
3918
3940
|
W3 as useIBasicVolumeWithFeedback,
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3941
|
+
Y6 as useIChannel,
|
|
3942
|
+
z6 as useIColor,
|
|
3943
|
+
J6 as useICommunicationMonitor,
|
|
3944
|
+
Q6 as useIDPad,
|
|
3945
|
+
X6 as useIDeviceInfoMessenger,
|
|
3924
3946
|
N6 as useIDspPresets,
|
|
3925
3947
|
et as useIDvr,
|
|
3926
3948
|
tt as useIEssentialsRoomCombiner,
|
|
3927
|
-
nt as
|
|
3949
|
+
nt as useIHasCameraMute,
|
|
3950
|
+
ot as useIHasCameraPresets,
|
|
3951
|
+
st as useIHasCameras,
|
|
3928
3952
|
V3 as useIHasPowerControl,
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3953
|
+
k1 as useIHasSelectableItems,
|
|
3954
|
+
ct as useIHumiditySensor,
|
|
3955
|
+
rt as useILevelControls,
|
|
3956
|
+
lt as useILightingScenes,
|
|
3957
|
+
it as useIMatrixRouting,
|
|
3958
|
+
at as useIMcCiscoCodecUserInterfaceAppControl,
|
|
3959
|
+
ut as useINumeric,
|
|
3960
|
+
dt as useIProjectorScreenLiftControl,
|
|
3961
|
+
vt as useIRoomEventSchedule,
|
|
3962
|
+
ht as useIRunDefaultPresentRoute,
|
|
3963
|
+
gt as useIRunDirectRouteAction,
|
|
3964
|
+
ft as useIRunRouteAction,
|
|
3965
|
+
wt as useISetTopBoxControls,
|
|
3966
|
+
mt as useIShadesOpenCloseStop,
|
|
3967
|
+
pt as useIShutdownPromptTimer,
|
|
3968
|
+
Mt as useISwitchedOutput,
|
|
3969
|
+
xt as useITechPassword,
|
|
3970
|
+
Zt as useITemperatureSensor,
|
|
3971
|
+
St as useITheme,
|
|
3972
|
+
jt as useITransport,
|
|
3973
|
+
k6 as useInitialize,
|
|
3950
3974
|
T6 as useInterfacesForDevice,
|
|
3951
3975
|
Ze as useIsSyncStateValuePresent,
|
|
3952
3976
|
R6 as useIsTouchpanel,
|
|
3953
3977
|
N8 as useLogoPath,
|
|
3954
|
-
|
|
3955
|
-
|
|
3978
|
+
Ct as useMobileControlTouchpanelController,
|
|
3979
|
+
Rt as useOverflow,
|
|
3956
3980
|
e6 as usePartnerMetadata,
|
|
3957
3981
|
Ge as usePressHoldRelease,
|
|
3958
3982
|
m6 as useRoomAdvancedSharingActive,
|
|
@@ -3962,8 +3986,8 @@ export {
|
|
|
3962
3986
|
a6 as useRoomDestinationList,
|
|
3963
3987
|
i6 as useRoomDestinations,
|
|
3964
3988
|
u6 as useRoomEnvironmentalDevices,
|
|
3965
|
-
|
|
3966
|
-
|
|
3989
|
+
Et as useRoomIBasicVolume,
|
|
3990
|
+
Tt as useRoomIBasicVolumeWithFeedback,
|
|
3967
3991
|
h6 as useRoomInCall,
|
|
3968
3992
|
f6 as useRoomIsCoolingDown,
|
|
3969
3993
|
w6 as useRoomIsOn,
|
|
@@ -3977,27 +4001,27 @@ export {
|
|
|
3977
4001
|
j1 as useRoomState,
|
|
3978
4002
|
te as useRoomVolume,
|
|
3979
4003
|
y6 as useRuntimeInfo,
|
|
3980
|
-
|
|
4004
|
+
Dt as useScroll,
|
|
3981
4005
|
b6 as useServerIsRunningOnProcessorHardware,
|
|
3982
|
-
|
|
3983
|
-
|
|
4006
|
+
P6 as useShowIncomingCallModal,
|
|
4007
|
+
$6 as useShowModal,
|
|
3984
4008
|
A6 as useShowPopoverById,
|
|
3985
4009
|
xe as useShowReconnect,
|
|
3986
4010
|
_6 as useShowShutdownModal,
|
|
3987
|
-
|
|
3988
|
-
|
|
4011
|
+
_t as useStateIsSynced,
|
|
4012
|
+
Pt as useSystemControl,
|
|
3989
4013
|
j6 as useSystemUuid,
|
|
3990
|
-
|
|
3991
|
-
|
|
4014
|
+
O6 as useTheme,
|
|
4015
|
+
$t as useTimeAndDate,
|
|
3992
4016
|
I6 as useTouchpanelKey,
|
|
3993
|
-
|
|
4017
|
+
bt as useTwoWayDisplayBase,
|
|
3994
4018
|
C6 as useUserCode,
|
|
3995
|
-
|
|
4019
|
+
I as useWebsocketContext,
|
|
3996
4020
|
I3 as useWsIsConnected,
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4021
|
+
$e as wsAddEventHandler,
|
|
4022
|
+
B3 as wsConnect,
|
|
4023
|
+
B6 as wsDisconnect,
|
|
4000
4024
|
Ae as wsReconnect,
|
|
4001
|
-
|
|
4002
|
-
|
|
4025
|
+
Le as wsRemoveEventHandler,
|
|
4026
|
+
Pe as wsSendMessage
|
|
4003
4027
|
};
|