@pepperdash/mobile-control-react-app-core 1.21.0-feature-export-useCameraBase.5 → 1.21.0-feature-export-useCameraBase.7
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 +88 -85
- package/dist/mobile-control-react-app-core.umd.js +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +0 -16
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
- package/dist/types/interfaces/IKeyName.d.ts +0 -1
- package/dist/types/interfaces/IKeyName.d.ts.map +1 -1
- package/dist/types/state/state/DeviceState.d.ts +0 -5
- package/dist/types/state/state/DeviceState.d.ts.map +1 -1
- package/dist/types/state/state/MatrixRoutingState.d.ts +1 -1
- package/dist/types/state/state/MatrixRoutingState.d.ts.map +1 -1
- package/package.json +6 -3
- /package/dist/{mobile-control-react-app-core.css → style.css} +0 -0
|
@@ -3,135 +3,135 @@ var o2 = (e, t, o) => t in e ? s2(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var G = (e, t, o) => o2(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
4
|
import n2, { AxiosError as c2 } from "axios";
|
|
5
5
|
import { useDispatch as r2, useSelector as l2, Provider as i2 } from "react-redux";
|
|
6
|
-
import { createSelector as
|
|
7
|
-
import
|
|
6
|
+
import { createSelector as p, createSlice as g1, combineReducers as a2, configureStore as u2 } from "@reduxjs/toolkit";
|
|
7
|
+
import p3, { createContext as d2, useState as H, useRef as v1, useCallback as a1, useEffect as n1, useContext as h2, useLayoutEffect as x3 } from "react";
|
|
8
8
|
import * as M3 from "lodash";
|
|
9
9
|
import { useNavigate as v2, useRouteError as g2, isRouteErrorResponse as f2 } from "react-router-dom";
|
|
10
|
-
const
|
|
10
|
+
const w2 = r2.withTypes(), w = l2.withTypes(), j1 = (e) => e.appConfig, p2 = p(
|
|
11
11
|
j1,
|
|
12
12
|
(e) => e.config
|
|
13
|
-
), x2 =
|
|
13
|
+
), x2 = p(
|
|
14
14
|
j1,
|
|
15
15
|
(e) => e.config.apiPath
|
|
16
|
-
), M2 =
|
|
16
|
+
), M2 = p(
|
|
17
17
|
j1,
|
|
18
18
|
(e) => e.config.logoPath
|
|
19
|
-
), m2 =
|
|
19
|
+
), m2 = p(
|
|
20
20
|
j1,
|
|
21
21
|
(e) => e.config.partnerMetadata
|
|
22
|
-
), Z2 = () =>
|
|
22
|
+
), Z2 = () => w(p2), O6 = () => w(x2), V6 = () => w(M2), k6 = () => w(m2), m3 = (e) => e.devices, Z3 = p(
|
|
23
23
|
m3,
|
|
24
24
|
(e) => e
|
|
25
|
-
), j2 = (e) =>
|
|
25
|
+
), j2 = (e) => p(
|
|
26
26
|
m3,
|
|
27
27
|
(t) => t[e] ? t[e] : void 0
|
|
28
|
-
), U6 = () =>
|
|
28
|
+
), U6 = () => w(Z3);
|
|
29
29
|
function y(e) {
|
|
30
|
-
return
|
|
30
|
+
return w(j2(e));
|
|
31
31
|
}
|
|
32
|
-
const L = (e) => e.rooms, C2 = (e) =>
|
|
32
|
+
const L = (e) => e.rooms, C2 = (e) => p(
|
|
33
33
|
L,
|
|
34
34
|
(t) => t[e] ? t[e].configuration : void 0
|
|
35
|
-
), S2 =
|
|
35
|
+
), S2 = p(
|
|
36
36
|
L,
|
|
37
37
|
(e) => e
|
|
38
|
-
), b2 = (e) =>
|
|
38
|
+
), b2 = (e) => p(
|
|
39
39
|
L,
|
|
40
40
|
(t) => t[e] ? t[e] : void 0
|
|
41
|
-
), I2 = (e) =>
|
|
41
|
+
), I2 = (e) => p(
|
|
42
42
|
L,
|
|
43
43
|
(t) => t[e] ? t[e].name : void 0
|
|
44
|
-
), R2 = (e, t) =>
|
|
44
|
+
), R2 = (e, t) => p(
|
|
45
45
|
L,
|
|
46
46
|
(o) => o[e] ? o[e].volumes[t] : void 0
|
|
47
|
-
), y2 = (e) =>
|
|
47
|
+
), y2 = (e) => p(
|
|
48
48
|
L,
|
|
49
49
|
(t) => t[e] ? t[e] : void 0
|
|
50
|
-
), E2 = (e) =>
|
|
50
|
+
), E2 = (e) => p(
|
|
51
51
|
L,
|
|
52
52
|
(t) => {
|
|
53
53
|
var o, c;
|
|
54
54
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.sourceList : void 0;
|
|
55
55
|
}
|
|
56
|
-
), P2 = (e) =>
|
|
56
|
+
), P2 = (e) => p(
|
|
57
57
|
L,
|
|
58
58
|
(t) => {
|
|
59
59
|
var o, c;
|
|
60
60
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.audioControlPointList : void 0;
|
|
61
61
|
}
|
|
62
|
-
), T2 = (e) =>
|
|
62
|
+
), T2 = (e) => p(
|
|
63
63
|
L,
|
|
64
64
|
(t) => {
|
|
65
65
|
var o, c;
|
|
66
66
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinations : void 0;
|
|
67
67
|
}
|
|
68
|
-
), _2 = (e) =>
|
|
68
|
+
), _2 = (e) => p(
|
|
69
69
|
L,
|
|
70
70
|
(t) => {
|
|
71
71
|
var o, c;
|
|
72
72
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList : void 0;
|
|
73
73
|
}
|
|
74
|
-
), L2 = (e) =>
|
|
74
|
+
), L2 = (e) => p(
|
|
75
75
|
L,
|
|
76
76
|
(t) => {
|
|
77
77
|
var o, c;
|
|
78
78
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.environmentalDevices : void 0;
|
|
79
79
|
}
|
|
80
|
-
), D2 = (e) =>
|
|
80
|
+
), D2 = (e) => p(
|
|
81
81
|
L,
|
|
82
82
|
(t) => {
|
|
83
83
|
var o, c, r, i, d, a, g, x;
|
|
84
84
|
return (c = (o = t[e]) == null ? void 0 : o.configuration) != null && c.destinationList.programAudio ? (d = (i = (r = t[e]) == null ? void 0 : r.configuration) == null ? void 0 : i.destinationList.programAudio) == null ? void 0 : d.sinkKey : ((x = (g = (a = t[e]) == null ? void 0 : a.configuration) == null ? void 0 : g.destinationList.defaultDisplay) == null ? void 0 : x.sinkKey) || "";
|
|
85
85
|
}
|
|
86
|
-
), $2 = (e) =>
|
|
86
|
+
), $2 = (e) => p(
|
|
87
87
|
L,
|
|
88
88
|
(t) => {
|
|
89
89
|
var o, c, r;
|
|
90
90
|
return t[e] ? (r = (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.destinationList.codecContent) == null ? void 0 : r.sinkKey : void 0;
|
|
91
91
|
}
|
|
92
|
-
), A2 = (e) =>
|
|
92
|
+
), A2 = (e) => p(
|
|
93
93
|
L,
|
|
94
94
|
(t) => {
|
|
95
95
|
var o;
|
|
96
96
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isInCall : void 0;
|
|
97
97
|
}
|
|
98
|
-
), B2 = (e) =>
|
|
98
|
+
), B2 = (e) => p(
|
|
99
99
|
L,
|
|
100
100
|
(t) => {
|
|
101
101
|
var o;
|
|
102
102
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isWarmingUp : void 0;
|
|
103
103
|
}
|
|
104
|
-
), O2 = (e) =>
|
|
104
|
+
), O2 = (e) => p(
|
|
105
105
|
L,
|
|
106
106
|
(t) => {
|
|
107
107
|
var o;
|
|
108
108
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isCoolingDown : void 0;
|
|
109
109
|
}
|
|
110
|
-
), V2 = (e) =>
|
|
110
|
+
), V2 = (e) => p(
|
|
111
111
|
L,
|
|
112
112
|
(t) => {
|
|
113
113
|
var o;
|
|
114
114
|
return t[e] ? (o = t[e]) == null ? void 0 : o.isOn : void 0;
|
|
115
115
|
}
|
|
116
|
-
), k2 = (e) =>
|
|
116
|
+
), k2 = (e) => p(
|
|
117
117
|
L,
|
|
118
118
|
(t) => {
|
|
119
119
|
var o;
|
|
120
120
|
return t[e] ? (o = t[e]) == null ? void 0 : o.advancedSharingActive : void 0;
|
|
121
121
|
}
|
|
122
|
-
), U2 = (e) =>
|
|
122
|
+
), U2 = (e) => p(
|
|
123
123
|
L,
|
|
124
124
|
(t) => {
|
|
125
125
|
var o;
|
|
126
126
|
return t[e] ? (o = t[e]) == null ? void 0 : o.share : void 0;
|
|
127
127
|
}
|
|
128
|
-
), W2 = (e) =>
|
|
128
|
+
), W2 = (e) => p(
|
|
129
129
|
L,
|
|
130
130
|
(t) => {
|
|
131
131
|
var o, c;
|
|
132
132
|
return t[e] ? (c = (o = t[e]) == null ? void 0 : o.configuration) == null ? void 0 : c.zoomRoomControllerKey : void 0;
|
|
133
133
|
}
|
|
134
|
-
), F2 =
|
|
134
|
+
), F2 = p(
|
|
135
135
|
[
|
|
136
136
|
(e, t) => t,
|
|
137
137
|
() => Z3,
|
|
@@ -147,76 +147,76 @@ const L = (e) => e.rooms, C2 = (e) => w(
|
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
function W6(e) {
|
|
150
|
-
return
|
|
150
|
+
return w(
|
|
151
151
|
C2(e)
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
154
|
function F6() {
|
|
155
|
-
return
|
|
155
|
+
return w(S2);
|
|
156
156
|
}
|
|
157
157
|
function C1(e) {
|
|
158
|
-
return
|
|
158
|
+
return w(b2(e));
|
|
159
159
|
}
|
|
160
|
-
const H6 = C1, K6 = (e) =>
|
|
160
|
+
const H6 = C1, K6 = (e) => w(
|
|
161
161
|
I2(e)
|
|
162
|
-
), H2 = (e, t) =>
|
|
162
|
+
), H2 = (e, t) => w(
|
|
163
163
|
R2(e, t)
|
|
164
|
-
), K2 = (e) =>
|
|
164
|
+
), K2 = (e) => w(y2(e)) || void 0, G6 = (e) => w(E2(e)), q6 = (e) => w(P2(e)), Y6 = (e) => w(T2(e)), z6 = (e) => w(_2(e)), J6 = (e) => w(L2(e)), X6 = (e) => w(D2(e)), Q6 = (e) => w($2(e)), N6 = (e) => w(A2(e)), ee = (e) => w(B2(e)), te = (e) => w(O2(e)), se = (e) => w(V2(e)), oe = (e) => w(k2(e)), ne = (e) => w(U2(e)), ce = (e) => w((t) => F2(t, e)), re = (e) => w(W2(e)), J = (e) => e.runtimeConfig, G2 = p(
|
|
165
165
|
J,
|
|
166
166
|
(e) => e.websocket.isConnected
|
|
167
|
-
), q2 =
|
|
167
|
+
), q2 = p(
|
|
168
168
|
J,
|
|
169
169
|
(e) => e.currentRoomKey
|
|
170
|
-
), Y2 =
|
|
170
|
+
), Y2 = p(
|
|
171
171
|
J,
|
|
172
172
|
(e) => e.roomData.clientId
|
|
173
|
-
), z2 =
|
|
173
|
+
), z2 = p(
|
|
174
174
|
J,
|
|
175
175
|
(e) => e.roomData.systemUuid
|
|
176
|
-
), J2 =
|
|
176
|
+
), J2 = p(
|
|
177
177
|
J,
|
|
178
178
|
(e) => e.roomData.userCode
|
|
179
|
-
), X2 =
|
|
179
|
+
), X2 = p(
|
|
180
180
|
J,
|
|
181
181
|
(e) => e.serverIsRunningOnProcessorHardware
|
|
182
|
-
), Q2 =
|
|
182
|
+
), Q2 = p(
|
|
183
183
|
J,
|
|
184
184
|
(e) => {
|
|
185
185
|
var t;
|
|
186
186
|
return (t = e.roomData.config) == null ? void 0 : t.runtimeInfo;
|
|
187
187
|
}
|
|
188
|
-
), N2 =
|
|
188
|
+
), N2 = p(
|
|
189
189
|
J,
|
|
190
190
|
(e) => e.touchpanelKey
|
|
191
|
-
), e8 =
|
|
191
|
+
), e8 = p(
|
|
192
192
|
J,
|
|
193
193
|
(e) => e.touchpanelKey !== ""
|
|
194
|
-
), j3 = () =>
|
|
194
|
+
), j3 = () => w(G2), t8 = () => w(q2), s8 = () => w(Y2), o8 = () => w(z2), n8 = () => w(J2), c8 = () => w(X2), le = () => w(Q2), ie = () => w(N2), ae = () => w(e8), c1 = (e) => e.ui, U1 = (e) => p(
|
|
195
195
|
c1,
|
|
196
196
|
(t) => t.modalVisibility[e]
|
|
197
|
-
), r8 = (e) =>
|
|
197
|
+
), r8 = (e) => p(
|
|
198
198
|
c1,
|
|
199
199
|
(t) => {
|
|
200
200
|
const o = t.popoverVisibility[e];
|
|
201
201
|
if (o)
|
|
202
202
|
return Object.keys(o).find((c) => o[c]);
|
|
203
203
|
}
|
|
204
|
-
), l8 = (e, t) =>
|
|
204
|
+
), l8 = (e, t) => p(
|
|
205
205
|
c1,
|
|
206
206
|
(o) => {
|
|
207
207
|
var c;
|
|
208
208
|
return ((c = o.popoverVisibility[e]) == null ? void 0 : c[t]) ?? !1;
|
|
209
209
|
}
|
|
210
|
-
), i8 =
|
|
210
|
+
), i8 = p(
|
|
211
211
|
c1,
|
|
212
212
|
(e) => e.error
|
|
213
|
-
), a8 =
|
|
213
|
+
), a8 = p(
|
|
214
214
|
c1,
|
|
215
215
|
(e) => e.showReconnect
|
|
216
|
-
), u8 =
|
|
216
|
+
), u8 = p(
|
|
217
217
|
c1,
|
|
218
218
|
(e) => e.theme
|
|
219
|
-
), ue = () =>
|
|
219
|
+
), ue = () => w(U1("showShutdownModal")), de = () => w(U1("showIncomingCallModal")), he = (e) => w(U1(e)), ve = (e) => w(r8(e)), ge = (e, t) => w(l8(e, t)), d8 = () => w(i8), h8 = () => w(a8), fe = () => w(u8), v8 = {
|
|
220
220
|
showReconnect: !1,
|
|
221
221
|
error: "",
|
|
222
222
|
modalVisibility: {
|
|
@@ -275,7 +275,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
275
275
|
e.config = t.payload;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
}),
|
|
278
|
+
}), w8 = S3.actions, p8 = S3.reducer, d3 = {}, B1 = g1({
|
|
279
279
|
name: "devices",
|
|
280
280
|
initialState: d3,
|
|
281
281
|
reducers: {
|
|
@@ -369,7 +369,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}), W = b3.actions, Z8 = b3.reducer, j8 = a2({
|
|
372
|
-
appConfig:
|
|
372
|
+
appConfig: p8,
|
|
373
373
|
runtimeConfig: Z8,
|
|
374
374
|
rooms: M8,
|
|
375
375
|
devices: x8,
|
|
@@ -378,7 +378,7 @@ const H6 = C1, K6 = (e) => p(
|
|
|
378
378
|
reducer: j8
|
|
379
379
|
}), V1 = n2.create();
|
|
380
380
|
function C8() {
|
|
381
|
-
const e =
|
|
381
|
+
const e = w2();
|
|
382
382
|
return async () => {
|
|
383
383
|
try {
|
|
384
384
|
const t = location.pathname.split("/").filter((r) => r.length > 0);
|
|
@@ -386,7 +386,7 @@ function C8() {
|
|
|
386
386
|
const o = `/${t.join("/")}`, c = await V1.get("/_local-config/_config.local.json", { baseURL: o });
|
|
387
387
|
if (c.status == 200 && c.data) {
|
|
388
388
|
const r = c.data.apiPath;
|
|
389
|
-
e(
|
|
389
|
+
e(w8.setAppConfig(c.data));
|
|
390
390
|
const i = await V1.get(`${r}/version`);
|
|
391
391
|
i.status == 200 && i.data && e(W.setRuntimeConfig(i.data));
|
|
392
392
|
}
|
|
@@ -410,7 +410,7 @@ var v3;
|
|
|
410
410
|
function S8() {
|
|
411
411
|
if (v3) return u1;
|
|
412
412
|
v3 = 1;
|
|
413
|
-
var e =
|
|
413
|
+
var e = p3, 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, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
414
414
|
function d(a, g, x) {
|
|
415
415
|
var h, I = {}, D = null, F = null;
|
|
416
416
|
x !== void 0 && (D = "" + x), g.key !== void 0 && (D = "" + g.key), g.ref !== void 0 && (F = g.ref);
|
|
@@ -433,7 +433,7 @@ var d1 = {};
|
|
|
433
433
|
var g3;
|
|
434
434
|
function b8() {
|
|
435
435
|
return g3 || (g3 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
436
|
-
var e =
|
|
436
|
+
var e = p3, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), k = Symbol.iterator, X = "@@iterator";
|
|
437
437
|
function r1(n) {
|
|
438
438
|
if (n === null || typeof n != "object")
|
|
439
439
|
return null;
|
|
@@ -585,7 +585,7 @@ function b8() {
|
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
var R1 = $.ReactCurrentDispatcher, y1;
|
|
588
|
-
function
|
|
588
|
+
function w1(n, l, u) {
|
|
589
589
|
{
|
|
590
590
|
if (y1 === void 0)
|
|
591
591
|
try {
|
|
@@ -598,16 +598,16 @@ function b8() {
|
|
|
598
598
|
` + y1 + n;
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
var E1 = !1,
|
|
601
|
+
var E1 = !1, p1;
|
|
602
602
|
{
|
|
603
603
|
var T3 = typeof WeakMap == "function" ? WeakMap : Map;
|
|
604
|
-
|
|
604
|
+
p1 = new T3();
|
|
605
605
|
}
|
|
606
606
|
function J1(n, l) {
|
|
607
607
|
if (!n || E1)
|
|
608
608
|
return "";
|
|
609
609
|
{
|
|
610
|
-
var u =
|
|
610
|
+
var u = p1.get(n);
|
|
611
611
|
if (u !== void 0)
|
|
612
612
|
return u;
|
|
613
613
|
}
|
|
@@ -662,7 +662,7 @@ function b8() {
|
|
|
662
662
|
if (T--, _--, _ < 0 || M[T] !== O[_]) {
|
|
663
663
|
var U = `
|
|
664
664
|
` + M[T].replace(" at new ", " at ");
|
|
665
|
-
return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" &&
|
|
665
|
+
return n.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", n.displayName)), typeof n == "function" && p1.set(n, U), U;
|
|
666
666
|
}
|
|
667
667
|
while (T >= 1 && _ >= 0);
|
|
668
668
|
break;
|
|
@@ -671,8 +671,8 @@ function b8() {
|
|
|
671
671
|
} finally {
|
|
672
672
|
E1 = !1, R1.current = R, P3(), Error.prepareStackTrace = S;
|
|
673
673
|
}
|
|
674
|
-
var o1 = n ? n.displayName || n.name : "", Q = o1 ?
|
|
675
|
-
return typeof n == "function" &&
|
|
674
|
+
var o1 = n ? n.displayName || n.name : "", Q = o1 ? w1(o1) : "";
|
|
675
|
+
return typeof n == "function" && p1.set(n, Q), Q;
|
|
676
676
|
}
|
|
677
677
|
function _3(n, l, u) {
|
|
678
678
|
return J1(n, !1);
|
|
@@ -687,12 +687,12 @@ function b8() {
|
|
|
687
687
|
if (typeof n == "function")
|
|
688
688
|
return J1(n, L3(n));
|
|
689
689
|
if (typeof n == "string")
|
|
690
|
-
return
|
|
690
|
+
return w1(n);
|
|
691
691
|
switch (n) {
|
|
692
692
|
case x:
|
|
693
|
-
return
|
|
693
|
+
return w1("Suspense");
|
|
694
694
|
case h:
|
|
695
|
-
return
|
|
695
|
+
return w1("SuspenseList");
|
|
696
696
|
}
|
|
697
697
|
if (typeof n == "object")
|
|
698
698
|
switch (n.$$typeof) {
|
|
@@ -1049,7 +1049,7 @@ class P8 {
|
|
|
1049
1049
|
G(this, "expiry", "current-uuid-expires");
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
|
-
const
|
|
1052
|
+
const w3 = new P8(), I3 = d2({
|
|
1053
1053
|
sendMessage: () => null,
|
|
1054
1054
|
sendSimpleMessage: () => null,
|
|
1055
1055
|
addEventHandler: () => null,
|
|
@@ -1099,7 +1099,7 @@ const L8 = ({ children: e }) => {
|
|
|
1099
1099
|
}, []);
|
|
1100
1100
|
return n1(() => {
|
|
1101
1101
|
let C = new URLSearchParams(window.location.search).get("token");
|
|
1102
|
-
C ? (console.log("saving token: ", C), _8(
|
|
1102
|
+
C ? (console.log("saving token: ", C), _8(w3.uuid, C)) : (C = T8(w3.uuid), console.log("loading token: ", C)), o(C), d();
|
|
1103
1103
|
}, []), console.log(
|
|
1104
1104
|
"connection dependencies",
|
|
1105
1105
|
a.apiPath,
|
|
@@ -1234,7 +1234,7 @@ const L8 = ({ children: e }) => {
|
|
|
1234
1234
|
children: c ? e : /* @__PURE__ */ s.jsx(E8, {})
|
|
1235
1235
|
}
|
|
1236
1236
|
);
|
|
1237
|
-
},
|
|
1237
|
+
}, we = ({ children: e }) => /* @__PURE__ */ s.jsx(i2, { store: m, children: /* @__PURE__ */ s.jsx(L8, { children: e }) });
|
|
1238
1238
|
function b() {
|
|
1239
1239
|
return h2(I3);
|
|
1240
1240
|
}
|
|
@@ -1286,7 +1286,7 @@ function R3(e, t) {
|
|
|
1286
1286
|
muteOff: () => o(`${e}/muteOff`, null)
|
|
1287
1287
|
} : void 0;
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function pe(e, t) {
|
|
1290
1290
|
const { sendMessage: o, sendSimpleMessage: c } = b(), r = v(`${e}`, "volumeUp"), i = v(`${e}`, "volumeDown");
|
|
1291
1291
|
return t ? {
|
|
1292
1292
|
volumeState: t,
|
|
@@ -1407,7 +1407,10 @@ function Re(e) {
|
|
|
1407
1407
|
function ye(e) {
|
|
1408
1408
|
const { sendMessage: t } = b();
|
|
1409
1409
|
return { recallPreset: (c) => {
|
|
1410
|
-
t(
|
|
1410
|
+
t(
|
|
1411
|
+
`/device/${e}/recallPreset`,
|
|
1412
|
+
c.key || c
|
|
1413
|
+
);
|
|
1411
1414
|
} };
|
|
1412
1415
|
}
|
|
1413
1416
|
function Ee(e) {
|
|
@@ -3227,7 +3230,7 @@ const c5 = () => {
|
|
|
3227
3230
|
active: e,
|
|
3228
3231
|
disabled: o
|
|
3229
3232
|
}
|
|
3230
|
-
),
|
|
3233
|
+
), w6 = ({
|
|
3231
3234
|
active: e,
|
|
3232
3235
|
className: t = "",
|
|
3233
3236
|
disabled: o
|
|
@@ -3276,7 +3279,7 @@ const c5 = () => {
|
|
|
3276
3279
|
active: e,
|
|
3277
3280
|
disabled: o
|
|
3278
3281
|
}
|
|
3279
|
-
),
|
|
3282
|
+
), p6 = ({
|
|
3280
3283
|
active: e,
|
|
3281
3284
|
className: t = "",
|
|
3282
3285
|
disabled: o
|
|
@@ -3405,8 +3408,8 @@ const c5 = () => {
|
|
|
3405
3408
|
VolMute: v6,
|
|
3406
3409
|
VolUp: g6,
|
|
3407
3410
|
Wireless: f6,
|
|
3408
|
-
X:
|
|
3409
|
-
Xbox:
|
|
3411
|
+
X: w6,
|
|
3412
|
+
Xbox: p6
|
|
3410
3413
|
};
|
|
3411
3414
|
function l5({
|
|
3412
3415
|
name: e,
|
|
@@ -3498,18 +3501,18 @@ export {
|
|
|
3498
3501
|
v6 as IconMultiVolMute,
|
|
3499
3502
|
g6 as IconMultiVolUp,
|
|
3500
3503
|
f6 as IconMultiWireless,
|
|
3501
|
-
|
|
3502
|
-
|
|
3504
|
+
w6 as IconMultiX,
|
|
3505
|
+
p6 as IconMultiXbox,
|
|
3503
3506
|
i5 as MainLayout,
|
|
3504
3507
|
v5 as MessageHandler,
|
|
3505
|
-
|
|
3508
|
+
we as MobileControlProvider,
|
|
3506
3509
|
j as MultiStateIconContainer,
|
|
3507
3510
|
l5 as NamedIconButton,
|
|
3508
3511
|
d5 as ShareState,
|
|
3509
3512
|
a5 as TechLayout,
|
|
3510
3513
|
u5 as TechPinLayout,
|
|
3511
3514
|
I3 as WebsocketContext,
|
|
3512
|
-
|
|
3515
|
+
w8 as appConfigActions,
|
|
3513
3516
|
N as devicesActions,
|
|
3514
3517
|
h5 as getBaseLocation,
|
|
3515
3518
|
V1 as httpClient,
|
|
@@ -3519,7 +3522,7 @@ export {
|
|
|
3519
3522
|
W as runtimeConfigActions,
|
|
3520
3523
|
Z3 as selectAllDevices,
|
|
3521
3524
|
x2 as selectApiPath,
|
|
3522
|
-
|
|
3525
|
+
p2 as selectAppConfig,
|
|
3523
3526
|
Y2 as selectClientId,
|
|
3524
3527
|
r8 as selectCurrentPopoverIdForGroup,
|
|
3525
3528
|
j2 as selectDeviceByKey,
|
|
@@ -3564,8 +3567,8 @@ export {
|
|
|
3564
3567
|
g8 as uiReducer,
|
|
3565
3568
|
O6 as useApiPath,
|
|
3566
3569
|
Z2 as useAppConfig,
|
|
3567
|
-
|
|
3568
|
-
|
|
3570
|
+
w2 as useAppDispatch,
|
|
3571
|
+
w as useAppSelector,
|
|
3569
3572
|
xe as useAvrControl,
|
|
3570
3573
|
v as useButtonHeldHeartbeat,
|
|
3571
3574
|
Me as useCameraBase,
|
|
@@ -3579,7 +3582,7 @@ export {
|
|
|
3579
3582
|
F6 as useGetAllRooms,
|
|
3580
3583
|
ve as useGetCurrentPopoverIdForGroup,
|
|
3581
3584
|
y as useGetDevice,
|
|
3582
|
-
|
|
3585
|
+
pe as useGetIBasicVolumeWithFeedback,
|
|
3583
3586
|
H6 as useGetRoom,
|
|
3584
3587
|
ce as useGetRoomDisplayStates,
|
|
3585
3588
|
re as useGetZoomRoomControllerKey,
|