@pepperdash/mobile-control-react-app-core 1.25.0-feat-essentials-v3.15 → 1.25.0-feat-essentials-v3.16
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.
|
@@ -80,8 +80,8 @@ const O = (e) => e.rooms, L2 = (e) => x(
|
|
|
80
80
|
), q2 = (e) => x(
|
|
81
81
|
O,
|
|
82
82
|
(t) => {
|
|
83
|
-
var n, s, r, l, i, g,
|
|
84
|
-
return (s = (n = t[e]) == null ? void 0 : n.configuration) != null && s.destinationList.programAudio ? (i = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((f = (
|
|
83
|
+
var n, s, r, l, i, g, d, f;
|
|
84
|
+
return (s = (n = t[e]) == null ? void 0 : n.configuration) != null && s.destinationList.programAudio ? (i = (l = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : l.destinationList.programAudio) == null ? void 0 : i.sinkKey : ((f = (d = (g = t[e]) == null ? void 0 : g.configuration) == null ? void 0 : d.destinationList.defaultDisplay) == null ? void 0 : f.sinkKey) || "";
|
|
85
85
|
}
|
|
86
86
|
), G2 = (e) => x(
|
|
87
87
|
O,
|
|
@@ -300,8 +300,8 @@ const s8 = C1, c8 = (e) => w(
|
|
|
300
300
|
{},
|
|
301
301
|
l,
|
|
302
302
|
r,
|
|
303
|
-
(g,
|
|
304
|
-
if (Array.isArray(
|
|
303
|
+
(g, d) => {
|
|
304
|
+
if (Array.isArray(d)) return d.slice();
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
307
|
e[s] = i;
|
|
@@ -336,8 +336,8 @@ const h3 = {}, O1 = v1({
|
|
|
336
336
|
setRoomState(e, t) {
|
|
337
337
|
const n = t.payload.type, s = n.slice(n.lastIndexOf("/") + 1);
|
|
338
338
|
if (!s) return;
|
|
339
|
-
const r = t.payload.content, l = e[s] ?? {}, i = Z3.mergeWith({}, l, r, (g,
|
|
340
|
-
if (Array.isArray(
|
|
339
|
+
const r = t.payload.content, l = e[s] ?? {}, i = Z3.mergeWith({}, l, r, (g, d) => {
|
|
340
|
+
if (Array.isArray(d)) return d;
|
|
341
341
|
});
|
|
342
342
|
e[s] = i;
|
|
343
343
|
},
|
|
@@ -674,14 +674,14 @@ const h3 = {}, O1 = v1({
|
|
|
674
674
|
} catch (Z) {
|
|
675
675
|
console.error("WebSocket middleware: Connection error", Z), e.waitingToReconnect = !1, e.client = null;
|
|
676
676
|
}
|
|
677
|
-
},
|
|
677
|
+
}, d = () => {
|
|
678
678
|
e.client && (console.log("WebSocket middleware: Disconnecting"), r(), e.client.close(4100, "Client requested disconnect"), e.client = null);
|
|
679
679
|
}, f = (v, C, b) => {
|
|
680
680
|
const j = b(), I = j.runtimeConfig.websocket.isConnected, Z = j.runtimeConfig.roomData.clientId;
|
|
681
681
|
e.client && I ? e.client.send(
|
|
682
682
|
JSON.stringify({ type: v, clientId: Z, content: C })
|
|
683
683
|
) : console.warn("WebSocket middleware: Cannot send message - not connected");
|
|
684
|
-
},
|
|
684
|
+
}, u = (v, C, b) => {
|
|
685
685
|
e.eventHandlers[v] || (e.eventHandlers[v] = {}), e.eventHandlers[v][C] = b, console.log("WebSocket middleware: Event handler added", v, C);
|
|
686
686
|
}, L = (v, C) => {
|
|
687
687
|
e.eventHandlers[v] && (delete e.eventHandlers[v][C], console.log(
|
|
@@ -706,7 +706,7 @@ const h3 = {}, O1 = v1({
|
|
|
706
706
|
break;
|
|
707
707
|
}
|
|
708
708
|
case A3:
|
|
709
|
-
|
|
709
|
+
d();
|
|
710
710
|
break;
|
|
711
711
|
case L3:
|
|
712
712
|
f(
|
|
@@ -716,7 +716,7 @@ const h3 = {}, O1 = v1({
|
|
|
716
716
|
);
|
|
717
717
|
break;
|
|
718
718
|
case _3:
|
|
719
|
-
|
|
719
|
+
u(
|
|
720
720
|
I.payload.eventType,
|
|
721
721
|
I.payload.key,
|
|
722
722
|
I.payload.callback
|
|
@@ -809,11 +809,11 @@ function Ve() {
|
|
|
809
809
|
if (m3) return i1;
|
|
810
810
|
m3 = 1;
|
|
811
811
|
var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = 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 };
|
|
812
|
-
function i(g,
|
|
813
|
-
var
|
|
814
|
-
f !== void 0 && (A = "" + f),
|
|
815
|
-
for (
|
|
816
|
-
if (g && g.defaultProps) for (
|
|
812
|
+
function i(g, d, f) {
|
|
813
|
+
var u, L = {}, A = null, v = null;
|
|
814
|
+
f !== void 0 && (A = "" + f), d.key !== void 0 && (A = "" + d.key), d.ref !== void 0 && (v = d.ref);
|
|
815
|
+
for (u in d) s.call(d, u) && !l.hasOwnProperty(u) && (L[u] = d[u]);
|
|
816
|
+
if (g && g.defaultProps) for (u in d = g.defaultProps, d) L[u] === void 0 && (L[u] = d[u]);
|
|
817
817
|
return { $$typeof: t, type: g, key: A, ref: v, props: L, _owner: r.current };
|
|
818
818
|
}
|
|
819
819
|
return i1.Fragment = n, i1.jsx = i, i1.jsxs = i, i1;
|
|
@@ -831,7 +831,7 @@ var a1 = {};
|
|
|
831
831
|
var p3;
|
|
832
832
|
function ke() {
|
|
833
833
|
return p3 || (p3 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
834
|
-
var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"),
|
|
834
|
+
var e = x3, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), g = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), C = Symbol.iterator, b = "@@iterator";
|
|
835
835
|
function j(c) {
|
|
836
836
|
if (c === null || typeof c != "object")
|
|
837
837
|
return null;
|
|
@@ -859,7 +859,7 @@ function ke() {
|
|
|
859
859
|
var o1 = !1, K = !1, k = !1, D = !1, J = !1, s1;
|
|
860
860
|
s1 = Symbol.for("react.module.reference");
|
|
861
861
|
function b1(c) {
|
|
862
|
-
return !!(typeof c == "string" || typeof c == "function" || c === s || c === l || J || c === r || c === f || c ===
|
|
862
|
+
return !!(typeof c == "string" || typeof c == "function" || c === s || c === l || J || c === r || c === f || c === u || D || c === v || o1 || K || k || typeof c == "object" && c !== null && (c.$$typeof === A || c.$$typeof === L || c.$$typeof === i || c.$$typeof === g || c.$$typeof === d || // This needs to include all possible module reference object
|
|
863
863
|
// types supported by any Flight configuration anywhere since
|
|
864
864
|
// we don't know which Flight build this will end up being used
|
|
865
865
|
// with.
|
|
@@ -893,7 +893,7 @@ function ke() {
|
|
|
893
893
|
return "StrictMode";
|
|
894
894
|
case f:
|
|
895
895
|
return "Suspense";
|
|
896
|
-
case
|
|
896
|
+
case u:
|
|
897
897
|
return "SuspenseList";
|
|
898
898
|
}
|
|
899
899
|
if (typeof c == "object")
|
|
@@ -904,7 +904,7 @@ function ke() {
|
|
|
904
904
|
case i:
|
|
905
905
|
var h = c;
|
|
906
906
|
return F1(h._context) + ".Provider";
|
|
907
|
-
case
|
|
907
|
+
case d:
|
|
908
908
|
return H3(c, c.render, "ForwardRef");
|
|
909
909
|
case L:
|
|
910
910
|
var M = c.displayName || null;
|
|
@@ -1089,12 +1089,12 @@ function ke() {
|
|
|
1089
1089
|
switch (c) {
|
|
1090
1090
|
case f:
|
|
1091
1091
|
return g1("Suspense");
|
|
1092
|
-
case
|
|
1092
|
+
case u:
|
|
1093
1093
|
return g1("SuspenseList");
|
|
1094
1094
|
}
|
|
1095
1095
|
if (typeof c == "object")
|
|
1096
1096
|
switch (c.$$typeof) {
|
|
1097
|
-
case
|
|
1097
|
+
case d:
|
|
1098
1098
|
return G3(c.render);
|
|
1099
1099
|
case L:
|
|
1100
1100
|
return f1(c.type, a, h);
|
|
@@ -1334,7 +1334,7 @@ Check the top-level render call using <` + h + ">.");
|
|
|
1334
1334
|
var h;
|
|
1335
1335
|
if (typeof a == "function")
|
|
1336
1336
|
h = a.propTypes;
|
|
1337
|
-
else if (typeof a == "object" && (a.$$typeof ===
|
|
1337
|
+
else if (typeof a == "object" && (a.$$typeof === d || // Note: Memo only checks outer props here.
|
|
1338
1338
|
// Inner props are checked in the reconciler.
|
|
1339
1339
|
a.$$typeof === L))
|
|
1340
1340
|
h = a.propTypes;
|
|
@@ -1446,23 +1446,23 @@ const He = "_mwfit_ppa3l_1", Ue = {
|
|
|
1446
1446
|
t(W3());
|
|
1447
1447
|
}, [t]);
|
|
1448
1448
|
const s = l1(
|
|
1449
|
-
(
|
|
1450
|
-
t(De(
|
|
1449
|
+
(d, f) => {
|
|
1450
|
+
t(De(d, f));
|
|
1451
1451
|
},
|
|
1452
1452
|
[t]
|
|
1453
1453
|
), r = l1(
|
|
1454
|
-
(
|
|
1455
|
-
s(
|
|
1454
|
+
(d, f) => {
|
|
1455
|
+
s(d, { value: f });
|
|
1456
1456
|
},
|
|
1457
1457
|
[s]
|
|
1458
1458
|
), l = l1(
|
|
1459
|
-
(
|
|
1460
|
-
t(Ae(
|
|
1459
|
+
(d, f, u) => {
|
|
1460
|
+
t(Ae(d, f, u));
|
|
1461
1461
|
},
|
|
1462
1462
|
[t]
|
|
1463
1463
|
), i = l1(
|
|
1464
|
-
(
|
|
1465
|
-
t(Le(
|
|
1464
|
+
(d, f) => {
|
|
1465
|
+
t(Le(d, f));
|
|
1466
1466
|
},
|
|
1467
1467
|
[t]
|
|
1468
1468
|
), g = l1(() => {
|
|
@@ -1493,7 +1493,7 @@ function Ge({
|
|
|
1493
1493
|
holdTimeMs: r = 500
|
|
1494
1494
|
}) {
|
|
1495
1495
|
const l = d1(null), i = d1(!1), g = d1(!1);
|
|
1496
|
-
function
|
|
1496
|
+
function d() {
|
|
1497
1497
|
i.current = !0, g.current = !1, e == null || e(), l.current = setTimeout(() => {
|
|
1498
1498
|
g.current = !0, n == null || n(), l.current = null;
|
|
1499
1499
|
}, r);
|
|
@@ -1501,13 +1501,13 @@ function Ge({
|
|
|
1501
1501
|
function f() {
|
|
1502
1502
|
i.current = !1, t == null || t(), l.current && (clearTimeout(l.current), l.current = null, g.current || s == null || s());
|
|
1503
1503
|
}
|
|
1504
|
-
function
|
|
1504
|
+
function u() {
|
|
1505
1505
|
i.current && f();
|
|
1506
1506
|
}
|
|
1507
1507
|
return {
|
|
1508
|
-
onPointerDown:
|
|
1508
|
+
onPointerDown: d,
|
|
1509
1509
|
onPointerUp: f,
|
|
1510
|
-
onPointerLeave:
|
|
1510
|
+
onPointerLeave: u
|
|
1511
1511
|
};
|
|
1512
1512
|
}
|
|
1513
1513
|
function p(e, t) {
|
|
@@ -1552,7 +1552,7 @@ function k3(e, t) {
|
|
|
1552
1552
|
return {
|
|
1553
1553
|
...r,
|
|
1554
1554
|
volumeState: t,
|
|
1555
|
-
setLevel: (
|
|
1555
|
+
setLevel: (d) => s(`${e}/level`, d),
|
|
1556
1556
|
muteOn: () => n(`${e}/muteOn`, null),
|
|
1557
1557
|
muteOff: () => n(`${e}/muteOff`, null)
|
|
1558
1558
|
};
|
|
@@ -1563,7 +1563,7 @@ function H8(e, t) {
|
|
|
1563
1563
|
return T(() => !r || !t ? void 0 : {
|
|
1564
1564
|
...r,
|
|
1565
1565
|
volumeState: t,
|
|
1566
|
-
setLevel: (
|
|
1566
|
+
setLevel: (d) => s(`${e}/level`, d),
|
|
1567
1567
|
muteOn: () => n(`${e}/muteOn`, null),
|
|
1568
1568
|
muteOff: () => n(`${e}/muteOff`, null)
|
|
1569
1569
|
}, [r, t, e, n, s]);
|
|
@@ -1616,17 +1616,17 @@ function U8(e) {
|
|
|
1616
1616
|
};
|
|
1617
1617
|
}
|
|
1618
1618
|
function K8(e) {
|
|
1619
|
-
const { sendMessage: t } = m(), n = `/device/${e}`, s = S(e), r = p(n, "cameraUp"), l = p(n, "cameraDown"), i = p(n, "cameraLeft"), g = p(n, "cameraRight"),
|
|
1619
|
+
const { sendMessage: t } = m(), n = `/device/${e}`, s = S(e), r = p(n, "cameraUp"), l = p(n, "cameraDown"), i = p(n, "cameraLeft"), g = p(n, "cameraRight"), d = p(n, "cameraZoomIn"), f = p(n, "cameraZoomOut"), u = (L) => t("/camera/recallPreset", L);
|
|
1620
1620
|
if (s)
|
|
1621
1621
|
return {
|
|
1622
1622
|
state: s,
|
|
1623
|
-
zoomIn:
|
|
1623
|
+
zoomIn: d,
|
|
1624
1624
|
zoomOut: f,
|
|
1625
1625
|
up: r,
|
|
1626
1626
|
down: l,
|
|
1627
1627
|
left: i,
|
|
1628
1628
|
right: g,
|
|
1629
|
-
recallPreset:
|
|
1629
|
+
recallPreset: u
|
|
1630
1630
|
};
|
|
1631
1631
|
}
|
|
1632
1632
|
const q8 = ({ className: e }) => {
|
|
@@ -1664,7 +1664,7 @@ function Y8(e) {
|
|
|
1664
1664
|
function J8(e) {
|
|
1665
1665
|
const { sendMessage: t } = m(), n = S(e), s = T(() => {
|
|
1666
1666
|
const r = `/device/${e}`;
|
|
1667
|
-
return { setEntry: (g,
|
|
1667
|
+
return { setEntry: (g, d, f) => t(`${r}/setEntry`, { index: g, name: d, number: f }), dialEntry: (g) => t(`${r}/dialEntry`, { value: g }) };
|
|
1668
1668
|
}, [e, t]);
|
|
1669
1669
|
if (n)
|
|
1670
1670
|
return {
|
|
@@ -1706,18 +1706,18 @@ function n6(e) {
|
|
|
1706
1706
|
const s = `/device/${e}`;
|
|
1707
1707
|
return {
|
|
1708
1708
|
state: n,
|
|
1709
|
-
dial: (
|
|
1710
|
-
endCallById: (
|
|
1709
|
+
dial: (u) => t(`${s}/dial`, { value: u }),
|
|
1710
|
+
endCallById: (u) => t(`${s}/endCallById`, { value: u }),
|
|
1711
1711
|
endAllCalls: () => t(`${s}/endAllCalls`, null),
|
|
1712
|
-
sendDtmf: (
|
|
1713
|
-
acceptById: (
|
|
1714
|
-
rejectById: (
|
|
1712
|
+
sendDtmf: (u) => t(`${s}/dtmf`, { value: u }),
|
|
1713
|
+
acceptById: (u) => t(`${s}/acceptById`, { value: u }),
|
|
1714
|
+
rejectById: (u) => t(`${s}/rejectById`, { value: u })
|
|
1715
1715
|
};
|
|
1716
1716
|
}, [e, t, n]);
|
|
1717
1717
|
}
|
|
1718
1718
|
function o6(e) {
|
|
1719
|
-
const t = `/device/${e}`, n = p(t, "up"), s = p(t, "down"), r = p(t, "left"), l = p(t, "right"), i = p(t, "select"), g = p(t, "menu"),
|
|
1720
|
-
return { up: n, down: s, left: r, right: l, select: i, menu: g, exit:
|
|
1719
|
+
const t = `/device/${e}`, n = p(t, "up"), s = p(t, "down"), r = p(t, "left"), l = p(t, "right"), i = p(t, "select"), g = p(t, "menu"), d = p(t, "exit");
|
|
1720
|
+
return { up: n, down: s, left: r, right: l, select: i, menu: g, exit: d };
|
|
1721
1721
|
}
|
|
1722
1722
|
function s6(e) {
|
|
1723
1723
|
const { sendMessage: t } = m();
|
|
@@ -1740,10 +1740,10 @@ function r6(e) {
|
|
|
1740
1740
|
t(`/device/${e}/setManualMode`, null);
|
|
1741
1741
|
}, toggleMode: () => {
|
|
1742
1742
|
t(`/device/${e}/toggleMode`, null);
|
|
1743
|
-
}, togglePartitionState: (
|
|
1744
|
-
t(`/device/${e}/togglePartitionState`,
|
|
1745
|
-
}, setRoomCombinationScenario: (
|
|
1746
|
-
t(`/device/${e}/setRoomCombinationScenario`,
|
|
1743
|
+
}, togglePartitionState: (d) => {
|
|
1744
|
+
t(`/device/${e}/togglePartitionState`, d);
|
|
1745
|
+
}, setRoomCombinationScenario: (d) => {
|
|
1746
|
+
t(`/device/${e}/setRoomCombinationScenario`, d);
|
|
1747
1747
|
} } : void 0;
|
|
1748
1748
|
}
|
|
1749
1749
|
function l6(e) {
|
|
@@ -1815,11 +1815,11 @@ function g6(e) {
|
|
|
1815
1815
|
const { sendMessage: t } = m(), n = S(e);
|
|
1816
1816
|
return T(() => n ? {
|
|
1817
1817
|
state: n,
|
|
1818
|
-
dial: (
|
|
1818
|
+
dial: (d) => t(`/device/${e}/dial`, { value: d }),
|
|
1819
1819
|
endAllCalls: () => t(`/device/${e}/endAllCalls`, null),
|
|
1820
|
-
sendDtmf: (
|
|
1821
|
-
acceptCall: (
|
|
1822
|
-
rejectCall: (
|
|
1820
|
+
sendDtmf: (d) => t(`/device/${e}/dtmf`, { value: d }),
|
|
1821
|
+
acceptCall: (d) => t(`/device/${e}/acceptCall`, d),
|
|
1822
|
+
rejectCall: (d) => t(`/device/${e}/rejectCall`, d)
|
|
1823
1823
|
} : void 0, [e, t, n]);
|
|
1824
1824
|
}
|
|
1825
1825
|
function h6(e) {
|
|
@@ -1830,9 +1830,11 @@ function h6(e) {
|
|
|
1830
1830
|
return {
|
|
1831
1831
|
state: n,
|
|
1832
1832
|
getDirectory: () => t(`${s}/getDirectory`, null),
|
|
1833
|
+
setDirectoryToRoot: () => t(`${s}/setCurrentDirectoryToRoot`, null),
|
|
1833
1834
|
directoryById: (u) => t(`${s}/directoryById`, { value: u }),
|
|
1834
1835
|
directorySearch: (u) => t(`${s}/directorySearch`, { value: u }),
|
|
1835
|
-
directoryBack: () => t(`${s}/directoryBack`, null)
|
|
1836
|
+
directoryBack: () => t(`${s}/directoryBack`, null),
|
|
1837
|
+
getDirectoryParentFolderContents: () => t(`${s}/getDirectoryParentFolderContents`, null)
|
|
1836
1838
|
};
|
|
1837
1839
|
}, [e, t, n]);
|
|
1838
1840
|
}
|
|
@@ -1859,7 +1861,7 @@ function m6(e) {
|
|
|
1859
1861
|
startRecording: () => t(`${s}/startRecording`, null),
|
|
1860
1862
|
stopRecording: () => t(`${s}/stopRecording`, null),
|
|
1861
1863
|
toggleRecording: () => t(`${s}/toggleRecording`, null),
|
|
1862
|
-
recordPromptAcknowledge: (
|
|
1864
|
+
recordPromptAcknowledge: (d) => t(`${s}/recordPromptAcknowledge`, { value: d })
|
|
1863
1865
|
};
|
|
1864
1866
|
}, [e, t, n]);
|
|
1865
1867
|
}
|
|
@@ -1881,9 +1883,9 @@ function w6(e) {
|
|
|
1881
1883
|
const s = `/device/${e}`;
|
|
1882
1884
|
return {
|
|
1883
1885
|
state: n,
|
|
1884
|
-
pinParticipant: (g,
|
|
1886
|
+
pinParticipant: (g, d) => t(`${s}/pinParticipant`, { userId: g, screenIndex: d }),
|
|
1885
1887
|
unpinParticipant: (g) => t(`${s}/unpinParticipant`, { value: g }),
|
|
1886
|
-
toggleParticipantPin: (g,
|
|
1888
|
+
toggleParticipantPin: (g, d) => t(`${s}/toggleParticipantPin`, { userId: g, screenIndex: d })
|
|
1887
1889
|
};
|
|
1888
1890
|
}, [e, t, n]);
|
|
1889
1891
|
}
|
|
@@ -1894,11 +1896,11 @@ function M6(e) {
|
|
|
1894
1896
|
const s = `/device/${e}`;
|
|
1895
1897
|
return {
|
|
1896
1898
|
state: n,
|
|
1897
|
-
removeParticipant: (
|
|
1898
|
-
setParticipantAsHost: (
|
|
1899
|
-
admitParticipantFromWaitingRoom: (
|
|
1899
|
+
removeParticipant: (u) => t(`${s}/removeParticipant`, { value: u }),
|
|
1900
|
+
setParticipantAsHost: (u) => t(`${s}/setParticipantAsHost`, { value: u }),
|
|
1901
|
+
admitParticipantFromWaitingRoom: (u) => t(`${s}/admitParticipantFromWaitingRoom`, { value: u }),
|
|
1900
1902
|
admitAllFromWaitingRoom: () => t(`${s}/admitAllFromWaitingRoom`, null),
|
|
1901
|
-
removeFromWaitingRoom: (
|
|
1903
|
+
removeFromWaitingRoom: (u) => t(`${s}/removeFromWaitingRoom`, { value: u }),
|
|
1902
1904
|
removeAllFromWaitingRoom: () => t(`${s}/removeAllFromWaitingRoom`, null)
|
|
1903
1905
|
};
|
|
1904
1906
|
}, [e, t, n]);
|
|
@@ -1980,7 +1982,7 @@ function I6(e) {
|
|
|
1980
1982
|
const s = `/device/${e}`;
|
|
1981
1983
|
return {
|
|
1982
1984
|
state: n,
|
|
1983
|
-
selectLayout: (
|
|
1985
|
+
selectLayout: (d) => t(`${s}/selectLayout`, { value: d }),
|
|
1984
1986
|
participantsNextPage: () => t(`${s}/participantsNextPage`, null),
|
|
1985
1987
|
participantsPreviousPage: () => t(`${s}/participantsPreviousPage`, null),
|
|
1986
1988
|
swapContentWithThumbnail: () => t(`${s}/swapContentWithThumbnail`, null)
|
|
@@ -1991,10 +1993,10 @@ function y6(e) {
|
|
|
1991
1993
|
const { sendMessage: t, sendSimpleMessage: n } = m(), s = S(e), r = oe(e), l = s || r;
|
|
1992
1994
|
return l ? {
|
|
1993
1995
|
levelState: l,
|
|
1994
|
-
setLevel: (
|
|
1995
|
-
muteToggle: (
|
|
1996
|
-
muteOn: (
|
|
1997
|
-
muteOff: (
|
|
1996
|
+
setLevel: (u, L) => n(`${u}/level`, L),
|
|
1997
|
+
muteToggle: (u) => t(`${u}/muteToggle`, null),
|
|
1998
|
+
muteOn: (u) => t(`${u}/muteOn`, null),
|
|
1999
|
+
muteOff: (u) => t(`${u}/muteOff`, null)
|
|
1998
2000
|
} : void 0;
|
|
1999
2001
|
}
|
|
2000
2002
|
function R6(e) {
|
|
@@ -2016,7 +2018,7 @@ function $6(e) {
|
|
|
2016
2018
|
} };
|
|
2017
2019
|
}
|
|
2018
2020
|
function E6(e) {
|
|
2019
|
-
const t = `/device/${e}`, n = p(t, "num0"), s = p(t, "num1"), r = p(t, "num2"), l = p(t, "num3"), i = p(t, "num4"), g = p(t, "num5"),
|
|
2021
|
+
const t = `/device/${e}`, n = p(t, "num0"), s = p(t, "num1"), r = p(t, "num2"), l = p(t, "num3"), i = p(t, "num4"), g = p(t, "num5"), d = p(t, "num6"), f = p(t, "num7"), u = p(t, "num8"), L = p(t, "num9"), A = p(t, "numDash"), v = p(t, "numEnter");
|
|
2020
2022
|
return {
|
|
2021
2023
|
digit0: n,
|
|
2022
2024
|
digit1: s,
|
|
@@ -2024,9 +2026,9 @@ function E6(e) {
|
|
|
2024
2026
|
digit3: l,
|
|
2025
2027
|
digit4: i,
|
|
2026
2028
|
digit5: g,
|
|
2027
|
-
digit6:
|
|
2029
|
+
digit6: d,
|
|
2028
2030
|
digit7: f,
|
|
2029
|
-
digit8:
|
|
2031
|
+
digit8: u,
|
|
2030
2032
|
digit9: L,
|
|
2031
2033
|
keypadAccessoryButton1: A,
|
|
2032
2034
|
keypadAccessoryButton2: v
|
|
@@ -2120,7 +2122,7 @@ function H6(e) {
|
|
|
2120
2122
|
};
|
|
2121
2123
|
}
|
|
2122
2124
|
function U6(e) {
|
|
2123
|
-
const t = `/device/${e}`, n = p(t, "play"), s = p(t, "pause"), r = p(t, "stop"), l = p(t, "prevTrack"), i = p(t, "nextTrack"), g = p(t, "rewind"),
|
|
2125
|
+
const t = `/device/${e}`, n = p(t, "play"), s = p(t, "pause"), r = p(t, "stop"), l = p(t, "prevTrack"), i = p(t, "nextTrack"), g = p(t, "rewind"), d = p(t, "ffwd"), f = p(t, "record");
|
|
2124
2126
|
return {
|
|
2125
2127
|
play: n,
|
|
2126
2128
|
pause: s,
|
|
@@ -2128,7 +2130,7 @@ function U6(e) {
|
|
|
2128
2130
|
prevTrack: l,
|
|
2129
2131
|
nextTrack: i,
|
|
2130
2132
|
rewind: g,
|
|
2131
|
-
fastForward:
|
|
2133
|
+
fastForward: d,
|
|
2132
2134
|
record: f
|
|
2133
2135
|
};
|
|
2134
2136
|
}
|
|
@@ -2192,29 +2194,29 @@ const J6 = ({
|
|
|
2192
2194
|
config: e
|
|
2193
2195
|
}, t = !0) => {
|
|
2194
2196
|
const { sendMessage: n } = m(), s = d1(!1), r = T(() => {
|
|
2195
|
-
var i, g,
|
|
2197
|
+
var i, g, d, f;
|
|
2196
2198
|
if (!e)
|
|
2197
2199
|
return;
|
|
2198
2200
|
const l = /* @__PURE__ */ new Set();
|
|
2199
|
-
if (e.destinations && Object.values(e.destinations).forEach((
|
|
2200
|
-
l.add(
|
|
2201
|
-
}), e.destinationList && Object.values(e.destinationList).forEach((
|
|
2202
|
-
l.add(
|
|
2201
|
+
if (e.destinations && Object.values(e.destinations).forEach((u) => {
|
|
2202
|
+
l.add(u);
|
|
2203
|
+
}), e.destinationList && Object.values(e.destinationList).forEach((u) => {
|
|
2204
|
+
l.add(u.sinkKey);
|
|
2203
2205
|
}), e.audioControlPointList && Object.values((i = e.audioControlPointList) == null ? void 0 : i.levelControls).forEach(
|
|
2204
|
-
(
|
|
2205
|
-
|
|
2206
|
+
(u) => {
|
|
2207
|
+
u.itemKey ? l.add(u.parentDeviceKey + "--" + u.itemKey) : l.add(u.parentDeviceKey);
|
|
2206
2208
|
}
|
|
2207
|
-
), (g = e.touchpanelKeys) == null || g.forEach((
|
|
2208
|
-
l.add(
|
|
2209
|
-
}), (
|
|
2210
|
-
|
|
2211
|
-
}), (f = e.accessoryDeviceKeys) == null || f.forEach((
|
|
2212
|
-
l.add(
|
|
2213
|
-
}), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((
|
|
2214
|
-
l.add(
|
|
2209
|
+
), (g = e.touchpanelKeys) == null || g.forEach((u) => {
|
|
2210
|
+
l.add(u);
|
|
2211
|
+
}), (d = e.environmentalDevices) == null || d.forEach((u) => {
|
|
2212
|
+
u.deviceKey && l.add(u.deviceKey);
|
|
2213
|
+
}), (f = e.accessoryDeviceKeys) == null || f.forEach((u) => {
|
|
2214
|
+
l.add(u);
|
|
2215
|
+
}), e.audioCodecKey && l.add(e.audioCodecKey), e.videoCodecKey && l.add(e.videoCodecKey), e.matrixRoutingKey && l.add(e.matrixRoutingKey), e.roomCombinerKey && l.add(e.roomCombinerKey), e.endpointKeys && e.endpointKeys.forEach((u) => {
|
|
2216
|
+
l.add(u);
|
|
2215
2217
|
}), e.sourceList)
|
|
2216
|
-
for (const
|
|
2217
|
-
|
|
2218
|
+
for (const u of Object.values(e.sourceList))
|
|
2219
|
+
u.sourceKey && u.sourceKey !== "$off" && l.add(u.sourceKey);
|
|
2218
2220
|
return l;
|
|
2219
2221
|
}, [e]);
|
|
2220
2222
|
return S1(() => {
|
|
@@ -2228,8 +2230,8 @@ function X6(e, t) {
|
|
|
2228
2230
|
const [n, s] = Y(!1), [r, l] = Y(!1);
|
|
2229
2231
|
return S3(() => {
|
|
2230
2232
|
const { current: i } = e, g = () => {
|
|
2231
|
-
const
|
|
2232
|
-
l(
|
|
2233
|
+
const d = i && i.scrollHeight > i.clientHeight, f = i && i.scrollWidth > i.clientWidth;
|
|
2234
|
+
l(d ?? !1), s(f ?? !1), t && t(d ?? !1, f ?? !1);
|
|
2233
2235
|
};
|
|
2234
2236
|
i && g();
|
|
2235
2237
|
}, [e, t]), { overflowHorizontal: n, overflowVertical: r };
|
|
@@ -2243,19 +2245,19 @@ function N6(e, t) {
|
|
|
2243
2245
|
return k3(s, n);
|
|
2244
2246
|
}
|
|
2245
2247
|
function en(e) {
|
|
2246
|
-
var g,
|
|
2247
|
-
const [t, n] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [s, r] = Y(((
|
|
2248
|
-
const { current:
|
|
2249
|
-
|
|
2248
|
+
var g, d;
|
|
2249
|
+
const [t, n] = Y(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollLeft) ?? 0), [s, r] = Y(((d = e == null ? void 0 : e.current) == null ? void 0 : d.scrollTop) ?? 0), l = (f) => {
|
|
2250
|
+
const { current: u } = e;
|
|
2251
|
+
u && (console.log(u.scrollLeft), u.scrollLeft += f, console.log(u.scrollLeft));
|
|
2250
2252
|
}, i = (f) => {
|
|
2251
|
-
const { current:
|
|
2252
|
-
|
|
2253
|
+
const { current: u } = e;
|
|
2254
|
+
u && (console.log(u.scrollTop), u.scrollTop += f, console.log(u.scrollTop));
|
|
2253
2255
|
};
|
|
2254
2256
|
return S3(() => {
|
|
2255
|
-
const { current: f } = e,
|
|
2257
|
+
const { current: f } = e, u = () => {
|
|
2256
2258
|
n((f == null ? void 0 : f.scrollLeft) ?? 0), r((f == null ? void 0 : f.scrollTop) ?? 0);
|
|
2257
2259
|
};
|
|
2258
|
-
f &&
|
|
2260
|
+
f && u();
|
|
2259
2261
|
}, [e]), { horizontalScrollPosition: t, verticalScrollPosition: s, scrollHorizontal: l, scrollVertical: i };
|
|
2260
2262
|
}
|
|
2261
2263
|
function tn(e) {
|
|
@@ -2328,13 +2330,13 @@ const sn = () => {
|
|
|
2328
2330
|
otherContentClassName: l = "",
|
|
2329
2331
|
disabled: i,
|
|
2330
2332
|
feedback: g,
|
|
2331
|
-
feedbackClassName:
|
|
2333
|
+
feedbackClassName: d,
|
|
2332
2334
|
onPointerDown: f,
|
|
2333
|
-
onPointerUp:
|
|
2335
|
+
onPointerUp: u,
|
|
2334
2336
|
onPointerLeave: L,
|
|
2335
2337
|
...A
|
|
2336
2338
|
}) => {
|
|
2337
|
-
const [v, C] = Y(!1), b = !i && g ?
|
|
2339
|
+
const [v, C] = Y(!1), b = !i && g ? d : "", j = !i && (v || g);
|
|
2338
2340
|
return /* @__PURE__ */ o.jsxs(
|
|
2339
2341
|
"button",
|
|
2340
2342
|
{
|
|
@@ -2346,7 +2348,7 @@ const sn = () => {
|
|
|
2346
2348
|
C(!0), f == null || f(I);
|
|
2347
2349
|
},
|
|
2348
2350
|
onPointerUp: (I) => {
|
|
2349
|
-
C(!1),
|
|
2351
|
+
C(!1), u == null || u(I);
|
|
2350
2352
|
},
|
|
2351
2353
|
onPointerLeave: (I) => {
|
|
2352
2354
|
C(!1), L == null || L(I);
|