@pepperdash/mobile-control-react-app-core 1.20.17-roomCombinationChanged-handling.2 → 1.21.0-feature-export-useCameraBase.1

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.
Files changed (116) hide show
  1. package/dist/mobile-control-react-app-core.es.js +139 -111
  2. package/dist/mobile-control-react-app-core.umd.js +8 -8
  3. package/dist/shared/Icons/MultiStateIcons/index.d.ts +2 -0
  4. package/dist/shared/Icons/MultiStateIcons/index.d.ts.map +1 -1
  5. package/dist/shared/Icons/index.d.ts +1 -0
  6. package/dist/shared/Icons/index.d.ts.map +1 -1
  7. package/dist/shared/hooks/interfaces/index.d.ts +1 -0
  8. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  9. package/dist/shared/hooks/interfaces/useAvrControl.d.ts +3 -3
  10. package/dist/shared/hooks/interfaces/useAvrControl.d.ts.map +1 -1
  11. package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts +1 -1
  12. package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts.map +1 -1
  13. package/dist/shared/hooks/interfaces/useEndpoint.d.ts +1 -1
  14. package/dist/shared/hooks/interfaces/useEndpoint.d.ts.map +1 -1
  15. package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +1 -1
  16. package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts.map +1 -1
  17. package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts +1 -1
  18. package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts.map +1 -1
  19. package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts +1 -1
  20. package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts.map +1 -1
  21. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -1
  22. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
  23. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +1 -1
  24. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts.map +1 -1
  25. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +7 -0
  26. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts.map +1 -0
  27. package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts +1 -1
  28. package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts.map +1 -1
  29. package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts +1 -1
  30. package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts.map +1 -1
  31. package/dist/shared/hooks/interfaces/useIHumiditySensor.d.ts +1 -1
  32. package/dist/shared/hooks/interfaces/useIHumiditySensor.d.ts.map +1 -1
  33. package/dist/shared/hooks/interfaces/useILevelControls.d.ts +1 -1
  34. package/dist/shared/hooks/interfaces/useILevelControls.d.ts.map +1 -1
  35. package/dist/shared/hooks/interfaces/useILightingScenes.d.ts +1 -1
  36. package/dist/shared/hooks/interfaces/useILightingScenes.d.ts.map +1 -1
  37. package/dist/shared/hooks/interfaces/useIMatrixRouting.d.ts +1 -1
  38. package/dist/shared/hooks/interfaces/useIMatrixRouting.d.ts.map +1 -1
  39. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +1 -1
  40. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts.map +1 -1
  41. package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts +1 -1
  42. package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts.map +1 -1
  43. package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts +1 -1
  44. package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts.map +1 -1
  45. package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts +1 -1
  46. package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts.map +1 -1
  47. package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +1 -1
  48. package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -1
  49. package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts +1 -1
  50. package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts.map +1 -1
  51. package/dist/shared/hooks/interfaces/useITechPassword.d.ts +1 -1
  52. package/dist/shared/hooks/interfaces/useITechPassword.d.ts.map +1 -1
  53. package/dist/shared/hooks/interfaces/useITemperatureSensor.d.ts +1 -1
  54. package/dist/shared/hooks/interfaces/useITemperatureSensor.d.ts.map +1 -1
  55. package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts +1 -1
  56. package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts.map +1 -1
  57. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +2 -2
  58. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts.map +1 -1
  59. package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts +1 -1
  60. package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts.map +1 -1
  61. package/dist/shared/hooks/useRoomIBasicVolumeWithFeedback.d.ts +1 -1
  62. package/dist/shared/hooks/useRoomIBasicVolumeWithFeedback.d.ts.map +1 -1
  63. package/dist/shared/index.d.ts.map +1 -1
  64. package/dist/store/appConfig/appConfig.selectors.d.ts +13 -13
  65. package/dist/store/appConfig/appConfig.selectors.d.ts.map +1 -1
  66. package/dist/store/devices/devices.hooks.d.ts +1 -1
  67. package/dist/store/devices/devices.hooks.d.ts.map +1 -1
  68. package/dist/store/devices/devices.selectors.d.ts +17 -17
  69. package/dist/store/devices/devices.selectors.d.ts.map +1 -1
  70. package/dist/store/rooms/rooms.hooks.d.ts +10 -10
  71. package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
  72. package/dist/store/rooms/rooms.selectors.d.ts +182 -182
  73. package/dist/store/rooms/rooms.selectors.d.ts.map +1 -1
  74. package/dist/store/runtimeConfig/runtime.selectors.d.ts +28 -28
  75. package/dist/store/runtimeConfig/runtime.selectors.d.ts.map +1 -1
  76. package/dist/store/ui/ui.selectors.d.ts +37 -37
  77. package/dist/store/ui/ui.selectors.d.ts.map +1 -1
  78. package/dist/types/classes/app-config.d.ts +1 -1
  79. package/dist/types/classes/app-config.d.ts.map +1 -1
  80. package/dist/types/state/CameraListItem.d.ts +1 -1
  81. package/dist/types/state/CameraListItem.d.ts.map +1 -1
  82. package/dist/types/state/DestinationListItem.d.ts +1 -1
  83. package/dist/types/state/DestinationListItem.d.ts.map +1 -1
  84. package/dist/types/state/sourceListItem.d.ts +1 -1
  85. package/dist/types/state/sourceListItem.d.ts.map +1 -1
  86. package/dist/types/state/state/CommunicationMonitorState.d.ts +1 -1
  87. package/dist/types/state/state/CommunicationMonitorState.d.ts.map +1 -1
  88. package/dist/types/state/state/DeviceInfoState.d.ts +1 -1
  89. package/dist/types/state/state/DeviceInfoState.d.ts.map +1 -1
  90. package/dist/types/state/state/DeviceState.d.ts +1 -1
  91. package/dist/types/state/state/DeviceState.d.ts.map +1 -1
  92. package/dist/types/state/state/IBasicVolumeWithFeedbackState.d.ts +1 -1
  93. package/dist/types/state/state/IBasicVolumeWithFeedbackState.d.ts.map +1 -1
  94. package/dist/types/state/state/IHasCamerasState.d.ts +10 -0
  95. package/dist/types/state/state/IHasCamerasState.d.ts.map +1 -0
  96. package/dist/types/state/state/IHasInputsState.d.ts +1 -1
  97. package/dist/types/state/state/IHasInputsState.d.ts.map +1 -1
  98. package/dist/types/state/state/IHasSurroundSoundModesState.d.ts +1 -1
  99. package/dist/types/state/state/IHasSurroundSoundModesState.d.ts.map +1 -1
  100. package/dist/types/state/state/IHumiditySensorState.d.ts +1 -1
  101. package/dist/types/state/state/IHumiditySensorState.d.ts.map +1 -1
  102. package/dist/types/state/state/ITemperatureSensorState.d.ts +1 -1
  103. package/dist/types/state/state/ITemperatureSensorState.d.ts.map +1 -1
  104. package/dist/types/state/state/MatrixRoutingState.d.ts +1 -1
  105. package/dist/types/state/state/MatrixRoutingState.d.ts.map +1 -1
  106. package/dist/types/state/state/PowerState.d.ts +1 -1
  107. package/dist/types/state/state/PowerState.d.ts.map +1 -1
  108. package/dist/types/state/state/RoutingState.d.ts +1 -1
  109. package/dist/types/state/state/RoutingState.d.ts.map +1 -1
  110. package/dist/types/state/state/SwitchedOutputState.d.ts +1 -1
  111. package/dist/types/state/state/SwitchedOutputState.d.ts.map +1 -1
  112. package/dist/types/state/state/index.d.ts +2 -2
  113. package/dist/types/state/state/index.d.ts.map +1 -1
  114. package/package.json +10 -2
  115. package/dist/types/state/state/CamerasState.d.ts +0 -13
  116. package/dist/types/state/state/CamerasState.d.ts.map +0 -1
@@ -26,7 +26,7 @@ const p2 = r2.withTypes(), p = l2.withTypes(), j1 = (e) => e.appConfig, w2 = w(
26
26
  m3,
27
27
  (t) => t[e] ? t[e] : void 0
28
28
  ), U6 = () => p(Z3);
29
- function P(e) {
29
+ function E(e) {
30
30
  return p(j2(e));
31
31
  }
32
32
  const L = (e) => e.rooms, C2 = (e) => w(
@@ -458,10 +458,10 @@ function b8() {
458
458
  R.unshift("Warning: " + l), Function.prototype.apply.call(console[n], console, R);
459
459
  }
460
460
  }
461
- var b1 = !1, E = !1, C = !1, f1 = !1, I1 = !1, J;
461
+ var b1 = !1, P = !1, C = !1, f1 = !1, I1 = !1, J;
462
462
  J = Symbol.for("react.module.reference");
463
463
  function B(n) {
464
- return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === H || b1 || E || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === I || n.$$typeof === d || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
464
+ return !!(typeof n == "string" || typeof n == "function" || n === c || n === i || I1 || n === r || n === x || n === h || f1 || n === H || b1 || P || C || typeof n == "object" && n !== null && (n.$$typeof === D || n.$$typeof === I || n.$$typeof === d || n.$$typeof === a || n.$$typeof === g || // This needs to include all possible module reference object
465
465
  // types supported by any Flight configuration anywhere since
466
466
  // we don't know which Flight build this will end up being used
467
467
  // with.
@@ -1064,10 +1064,10 @@ function _8(e, t) {
1064
1064
  }
1065
1065
  const L8 = ({ children: e }) => {
1066
1066
  const [t, o] = G(), c = j3(), r = t8(), i = s8(), d = C8(), a = Z2(), g = o8(), x = n8(), h = c8(), I = v1(null), [D, H] = G(), V = v1({}), Q = a1(
1067
- async (E) => {
1067
+ async (P) => {
1068
1068
  try {
1069
1069
  const C = await V1.get(
1070
- `${E}/ui/joinroom?token=${t}`
1070
+ `${P}/ui/joinroom?token=${t}`
1071
1071
  );
1072
1072
  return C.status === 200 && C.data ? (m.dispatch(F.setRoomData(C.data)), !0) : !1;
1073
1073
  } catch (C) {
@@ -1080,22 +1080,22 @@ const L8 = ({ children: e }) => {
1080
1080
  },
1081
1081
  [t, h]
1082
1082
  ), r1 = a1(() => {
1083
- const E = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
1084
- window.location.href = x ? `${E}&Code=${x}` : E;
1083
+ const P = `${a.gatewayAppPath}?uuid=${g}&roomKey=${r}`;
1084
+ window.location.href = x ? `${P}&Code=${x}` : P;
1085
1085
  }, [a.gatewayAppPath, r, g, x]), $ = a1(
1086
- (E, C) => {
1087
- I.current && c && I.current.send(JSON.stringify({ type: E, clientId: i, content: C }));
1086
+ (P, C) => {
1087
+ I.current && c && I.current.send(JSON.stringify({ type: P, clientId: i, content: C }));
1088
1088
  },
1089
1089
  [c, i]
1090
- ), A = (E, C) => {
1091
- $(E, { value: C });
1090
+ ), A = (P, C) => {
1091
+ $(P, { value: C });
1092
1092
  }, S1 = a1(
1093
- (E, C, f1) => {
1094
- V.current[E] || (V.current[E] = {}), V.current[E][C] = f1, console.log("event handler added", E, C);
1093
+ (P, C, f1) => {
1094
+ V.current[P] || (V.current[P] = {}), V.current[P][C] = f1, console.log("event handler added", P, C);
1095
1095
  },
1096
1096
  []
1097
- ), b1 = a1((E, C) => {
1098
- V.current[E] && (delete V.current[E][C], console.log("event handler removed", E, C));
1097
+ ), b1 = a1((P, C) => {
1098
+ V.current[P] && (delete V.current[P][C], console.log("event handler removed", P, C));
1099
1099
  }, []);
1100
1100
  return n1(() => {
1101
1101
  let C = new URLSearchParams(window.location.search).get("token");
@@ -1108,7 +1108,7 @@ const L8 = ({ children: e }) => {
1108
1108
  D,
1109
1109
  h
1110
1110
  ), n1(() => {
1111
- async function E() {
1111
+ async function P() {
1112
1112
  if (console.log("Attempting to join websocket..."), !a.apiPath || D || !t || !await Q(a.apiPath)) return;
1113
1113
  if (I.current) {
1114
1114
  console.log("websocket exists");
@@ -1222,7 +1222,7 @@ const L8 = ({ children: e }) => {
1222
1222
  }
1223
1223
  };
1224
1224
  }
1225
- return E(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
1225
+ return P(), console.log("App mode: production"), console.log("Is dev mode: false"), () => {
1226
1226
  I.current && (console.log("closing websocket dev mode"), I.current.close(4100, "app running in dev mode"), I.current = null);
1227
1227
  };
1228
1228
  }, [
@@ -1311,7 +1311,7 @@ function we(e, t) {
1311
1311
  } : void 0;
1312
1312
  }
1313
1313
  function $8(e) {
1314
- const t = P(e), o = `/device/${e}`;
1314
+ const t = E(e), o = `/device/${e}`;
1315
1315
  return R3(o, t == null ? void 0 : t.volume);
1316
1316
  }
1317
1317
  function y3(e) {
@@ -1325,13 +1325,13 @@ function y3(e) {
1325
1325
  } };
1326
1326
  }
1327
1327
  function k1(e) {
1328
- const { sendMessage: t } = b(), o = P(e);
1328
+ const { sendMessage: t } = b(), o = E(e);
1329
1329
  return console.log("deviceState", o), o ? { itemsState: o, selectItem: (r) => {
1330
1330
  t(`/device/${e}/${r}`, null);
1331
1331
  } } : void 0;
1332
1332
  }
1333
1333
  function A8(e) {
1334
- const { sendMessage: t } = b(), o = P(e), c = () => {
1334
+ const { sendMessage: t } = b(), o = E(e), c = () => {
1335
1335
  t(`/device/${e}/setDefaultChannelLevels`, null);
1336
1336
  }, r = () => {
1337
1337
  if ((o == null ? void 0 : o.levelControls) === void 0) return;
@@ -1342,7 +1342,7 @@ function A8(e) {
1342
1342
  return o ? { levelControls: o.levelControls, setDefaultChannelLevels: c, getFullStatus: r } : void 0;
1343
1343
  }
1344
1344
  function xe(e) {
1345
- const t = P(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1345
+ const t = E(e), o = y3(e), c = k1(e), r = k1(e), i = $8(e), d = A8(e);
1346
1346
  if (t)
1347
1347
  return {
1348
1348
  avrState: t,
@@ -1354,7 +1354,7 @@ function xe(e) {
1354
1354
  };
1355
1355
  }
1356
1356
  function Me(e) {
1357
- const { sendMessage: t } = b(), o = `/device/${e}`, c = P(e), r = v(o, "cameraUp"), i = v(o, "cameraDown"), d = v(o, "cameraLeft"), a = v(o, "cameraRight"), g = v(o, "cameraZoomIn"), x = v(o, "cameraZoomOut"), h = (I) => t("/camera/recallPreset", I);
1357
+ const { sendMessage: t } = b(), o = `/device/${e}`, c = E(e), r = v(o, "cameraUp"), i = v(o, "cameraDown"), d = v(o, "cameraLeft"), a = v(o, "cameraRight"), g = v(o, "cameraZoomIn"), x = v(o, "cameraZoomOut"), h = (I) => t("/camera/recallPreset", I);
1358
1358
  if (c)
1359
1359
  return {
1360
1360
  state: c,
@@ -1380,7 +1380,7 @@ const me = ({ className: e }) => {
1380
1380
  ] });
1381
1381
  };
1382
1382
  function Ze(e) {
1383
- const { sendMessage: t } = b(), o = P(e), c = `/device/${e}`;
1383
+ const { sendMessage: t } = b(), o = E(e), c = `/device/${e}`;
1384
1384
  return o ? { state: o, recallPreset: (d, a) => {
1385
1385
  t(`${c}/presets/recall`, { deviceKey: d, preset: a });
1386
1386
  }, savePresets: (d) => {
@@ -1388,7 +1388,7 @@ function Ze(e) {
1388
1388
  } } : void 0;
1389
1389
  }
1390
1390
  function je(e) {
1391
- const t = P(e);
1391
+ const t = E(e);
1392
1392
  if (t)
1393
1393
  return { endpointState: t };
1394
1394
  }
@@ -1401,14 +1401,14 @@ function Se(e) {
1401
1401
  return { red: o, green: c, yellow: r, blue: i };
1402
1402
  }
1403
1403
  function be(e) {
1404
- const t = P(e);
1404
+ const t = E(e);
1405
1405
  if (t)
1406
1406
  return {
1407
1407
  communicationMonitorState: t
1408
1408
  };
1409
1409
  }
1410
1410
  function Ie(e) {
1411
- const t = P(e);
1411
+ const t = E(e);
1412
1412
  if (t)
1413
1413
  return t.deviceInfo || void 0;
1414
1414
  }
@@ -1427,7 +1427,7 @@ function Ee(e) {
1427
1427
  return { dvrList: o, record: c };
1428
1428
  }
1429
1429
  function Pe(e) {
1430
- const { sendMessage: t } = b(), o = P(e);
1430
+ const { sendMessage: t } = b(), o = E(e);
1431
1431
  return o ? { roomCombinerState: o, setAutoMode: () => {
1432
1432
  t(`/device/${e}/setAutoMode`, null);
1433
1433
  }, setManualMode: () => {
@@ -1441,12 +1441,21 @@ function Pe(e) {
1441
1441
  } } : void 0;
1442
1442
  }
1443
1443
  function Te(e) {
1444
- const t = P(e);
1444
+ const { sendMessage: t } = b(), o = `/device/${e}`, c = E(e);
1445
+ return c ? {
1446
+ state: c,
1447
+ selectCamera: (i) => {
1448
+ t(`${o}/selectCamera`, i);
1449
+ }
1450
+ } : void 0;
1451
+ }
1452
+ function _e(e) {
1453
+ const t = E(e);
1445
1454
  if (t)
1446
1455
  return { state: t };
1447
1456
  }
1448
- function _e(e) {
1449
- const { sendMessage: t, sendSimpleMessage: o } = b(), c = P(e), r = K2(e), i = c || r;
1457
+ function Le(e) {
1458
+ const { sendMessage: t, sendSimpleMessage: o } = b(), c = E(e), r = K2(e), i = c || r;
1450
1459
  return i ? {
1451
1460
  levelState: i,
1452
1461
  setLevel: (h, I) => o(`${h}/level`, I),
@@ -1455,25 +1464,25 @@ function _e(e) {
1455
1464
  muteOff: (h) => t(`${h}/muteOff`, null)
1456
1465
  } : void 0;
1457
1466
  }
1458
- function Le(e) {
1459
- const { sendMessage: t } = b(), o = P(e);
1467
+ function De(e) {
1468
+ const { sendMessage: t } = b(), o = E(e);
1460
1469
  return o ? { lightingState: o, selectScene: (r) => {
1461
1470
  t(`/device/${e}/selectScene`, r);
1462
1471
  } } : void 0;
1463
1472
  }
1464
- function De(e) {
1465
- const { sendMessage: t } = b(), o = P(e);
1473
+ function $e(e) {
1474
+ const { sendMessage: t } = b(), o = E(e);
1466
1475
  return o ? { matrixRoutingState: o, setRoute: (r) => {
1467
1476
  t(`/device/${e}/route`, r);
1468
1477
  } } : void 0;
1469
1478
  }
1470
- function $e(e) {
1479
+ function Ae(e) {
1471
1480
  const { sendMessage: t } = b();
1472
1481
  return { closeApp: () => {
1473
1482
  t(`/device/${e}/closeWebViewController`, null);
1474
1483
  } };
1475
1484
  }
1476
- function Ae(e) {
1485
+ function Be(e) {
1477
1486
  const t = `/device/${e}`, o = v(t, "num0"), c = v(t, "num1"), r = v(t, "num2"), i = v(t, "num3"), d = v(t, "num4"), a = v(t, "num5"), g = v(t, "num6"), x = v(t, "num7"), h = v(t, "num8"), I = v(t, "num9"), D = v(t, "numDash"), H = v(t, "numEnter");
1478
1487
  return {
1479
1488
  digit0: o,
@@ -1490,44 +1499,44 @@ function Ae(e) {
1490
1499
  keypadAccessoryButton2: H
1491
1500
  };
1492
1501
  }
1493
- function Be(e) {
1494
- const { sendMessage: t } = b(), o = P(e);
1502
+ function Oe(e) {
1503
+ const { sendMessage: t } = b(), o = E(e);
1495
1504
  return o ? { projectorScreenLiftControlState: o, raise: () => {
1496
1505
  t(`/device/${e}/raise`, null);
1497
1506
  }, lower: () => {
1498
1507
  t(`/device/${e}/lower`, null);
1499
1508
  } } : void 0;
1500
1509
  }
1501
- function Oe(e) {
1510
+ function Ve(e) {
1502
1511
  const { sendMessage: t } = b(), o = C1(e);
1503
1512
  return o ? { roomEventScheduleState: o, save: (r) => {
1504
1513
  t(`/room/${e}/saveScheduledEvents`, r);
1505
1514
  } } : void 0;
1506
1515
  }
1507
- function Ve(e) {
1516
+ function ke(e) {
1508
1517
  const { sendMessage: t } = b();
1509
1518
  return { runDefaultPresentRoute: () => {
1510
1519
  t(`/room/${e}/defaultsource`, {});
1511
1520
  } };
1512
1521
  }
1513
- function ke(e) {
1522
+ function Ue(e) {
1514
1523
  const { sendMessage: t } = b();
1515
1524
  return { runDirectRoute: (c) => {
1516
1525
  t(`/room/${e}/directRoute`, c);
1517
1526
  } };
1518
1527
  }
1519
- function Ue(e) {
1528
+ function We(e) {
1520
1529
  const { sendMessage: t } = b();
1521
- return { routingState: P(e), runRoute: (r) => {
1530
+ return { routingState: E(e), runRoute: (r) => {
1522
1531
  t(`/room/${e}/source`, r);
1523
1532
  } };
1524
1533
  }
1525
- function We(e) {
1534
+ function Fe(e) {
1526
1535
  const t = `/device/${e}`, o = v(t, "chanUp"), c = v(t, "chanDown");
1527
1536
  return { dvrList: o, replay: c };
1528
1537
  }
1529
- function Fe(e) {
1530
- const { sendMessage: t } = b(), o = P(e);
1538
+ function He(e) {
1539
+ const { sendMessage: t } = b(), o = E(e);
1531
1540
  return o ? { shadeState: o, shadeUp: () => {
1532
1541
  t(`/device/${e}/shadeUp`, null);
1533
1542
  }, shadeDown: () => {
@@ -1536,7 +1545,7 @@ function Fe(e) {
1536
1545
  t(`/device/${e}/stopOrPreset`, null);
1537
1546
  } } : void 0;
1538
1547
  }
1539
- function He(e) {
1548
+ function Ke(e) {
1540
1549
  const { sendMessage: t } = b(), o = C1(e);
1541
1550
  return o ? { shutdownPromptTimerState: o, setShutdownPromptSeconds: (a) => {
1542
1551
  t(`/room/${e}/setShutdownPromptSeconds`, a);
@@ -1548,15 +1557,15 @@ function He(e) {
1548
1557
  t(`/room/${e}/shutdownCancel`, null);
1549
1558
  } } : void 0;
1550
1559
  }
1551
- function Ke(e) {
1552
- const { sendMessage: t } = b(), o = P(e);
1560
+ function Ge(e) {
1561
+ const { sendMessage: t } = b(), o = E(e);
1553
1562
  return o ? { switchedOutputState: o, on: () => {
1554
1563
  t(`/device/${e}/on`, null);
1555
1564
  }, off: () => {
1556
1565
  t(`/device/${e}/off`, null);
1557
1566
  } } : void 0;
1558
1567
  }
1559
- function Ge(e) {
1568
+ function qe(e) {
1560
1569
  const { sendMessage: t } = b(), o = C1(e);
1561
1570
  return o ? { techPasswordState: o, validatePassword: (i) => {
1562
1571
  t(`/room/${e}/validateTechPassword`, { password: i });
@@ -1564,12 +1573,12 @@ function Ge(e) {
1564
1573
  t(`/room/${e}/setTechPassword`, { oldPassword: i, newPassword: d });
1565
1574
  } } : void 0;
1566
1575
  }
1567
- function qe(e) {
1568
- const { sendMessage: t } = b(), o = P(e);
1576
+ function Ye(e) {
1577
+ const { sendMessage: t } = b(), o = E(e);
1569
1578
  return o ? { state: o, setTemperatureUnitsToCelcius: () => t(`${e}/setTemperatureUnitsToCelcius`, null), setTemperatureUnitsToFahrenheit: () => t(`${e}/setTemperatureUnitsToFahrenheit`, null) } : void 0;
1570
1579
  }
1571
- function Ye(e) {
1572
- const { sendMessage: t } = b(), o = P(e), c = (r) => {
1580
+ function ze(e) {
1581
+ const { sendMessage: t } = b(), o = E(e), c = (r) => {
1573
1582
  t(`/device/${e}/saveTheme`, { value: r });
1574
1583
  };
1575
1584
  return {
@@ -1577,7 +1586,7 @@ function Ye(e) {
1577
1586
  saveTheme: c
1578
1587
  };
1579
1588
  }
1580
- function ze(e) {
1589
+ function Je(e) {
1581
1590
  const t = `/device/${e}`, o = v(t, "play"), c = v(t, "pause"), r = v(t, "stop"), i = v(t, "prevTrack"), d = v(t, "nextTrack"), a = v(t, "rewind"), g = v(t, "ffwd"), x = v(t, "record");
1582
1591
  return {
1583
1592
  play: o,
@@ -1590,8 +1599,8 @@ function ze(e) {
1590
1599
  record: x
1591
1600
  };
1592
1601
  }
1593
- function Je(e) {
1594
- const t = P(e), { sendMessage: o } = b();
1602
+ function Xe(e) {
1603
+ const t = E(e), { sendMessage: o } = b();
1595
1604
  return t ? {
1596
1605
  touchpanelState: t,
1597
1606
  appControl: { hideApp: () => {
@@ -1606,8 +1615,8 @@ function Je(e) {
1606
1615
  } }
1607
1616
  } : void 0;
1608
1617
  }
1609
- function Xe(e) {
1610
- const t = P(e), o = y3(e), c = k1(e);
1618
+ function Qe(e) {
1619
+ const t = E(e), o = y3(e), c = k1(e);
1611
1620
  if (!t) return;
1612
1621
  const r = (t.powerState || t.isWarming) && !t.isCooling, i = (!t.powerState || t.isCooling) && !t.isWarming;
1613
1622
  return {
@@ -1617,7 +1626,7 @@ function Xe(e) {
1617
1626
  powerFb: { powerOnFb: r, powerOffFb: i }
1618
1627
  };
1619
1628
  }
1620
- const Qe = ({
1629
+ const Ne = ({
1621
1630
  config: e
1622
1631
  }) => {
1623
1632
  const { sendMessage: t } = b();
@@ -1650,7 +1659,7 @@ const Qe = ({
1650
1659
  });
1651
1660
  }, [e, t]);
1652
1661
  };
1653
- function Ne(e, t) {
1662
+ function e5(e, t) {
1654
1663
  const [o, c] = G(!1), [r, i] = G(!1);
1655
1664
  return x3(() => {
1656
1665
  const { current: d } = e, a = () => {
@@ -1660,11 +1669,11 @@ function Ne(e, t) {
1660
1669
  d && a();
1661
1670
  }, [e, t]), { overflowHorizontal: o, overflowVertical: r };
1662
1671
  }
1663
- function e5(e, t) {
1672
+ function t5(e, t) {
1664
1673
  const o = H2(e, t), c = `/room/${e}/volumes/${t}`;
1665
1674
  return R3(c, o);
1666
1675
  }
1667
- function t5(e) {
1676
+ function s5(e) {
1668
1677
  var a, g;
1669
1678
  const [t, o] = G(((a = e == null ? void 0 : e.current) == null ? void 0 : a.scrollLeft) ?? 0), [c, r] = G(((g = e == null ? void 0 : e.current) == null ? void 0 : g.scrollTop) ?? 0), i = (x) => {
1670
1679
  const { current: h } = e;
@@ -1680,7 +1689,7 @@ function t5(e) {
1680
1689
  x && h();
1681
1690
  }, [e]), { horizontalScrollPosition: t, verticalScrollPosition: c, scrollHorizontal: i, scrollVertical: d };
1682
1691
  }
1683
- function s5() {
1692
+ function o5() {
1684
1693
  const { sendMessage: e } = b();
1685
1694
  return {
1686
1695
  reboot: () => {
@@ -1691,7 +1700,7 @@ function s5() {
1691
1700
  }
1692
1701
  };
1693
1702
  }
1694
- function o5() {
1703
+ function n5() {
1695
1704
  const [e, t] = G(), [o, c] = G();
1696
1705
  function r() {
1697
1706
  t((/* @__PURE__ */ new Date()).toLocaleDateString("en-US", { dateStyle: "long" }));
@@ -1706,7 +1715,7 @@ function o5() {
1706
1715
  return () => clearInterval(i);
1707
1716
  }, []), { date: e, time: o };
1708
1717
  }
1709
- const n5 = () => {
1718
+ const c5 = () => {
1710
1719
  const [e, t] = G(!1), o = v2(), c = g2();
1711
1720
  let r;
1712
1721
  return f2(c) ? r = c.statusText : c instanceof Error ? r = c.message : typeof c == "string" ? r = c : (console.error(c), r = "Unknown error"), /* @__PURE__ */ s.jsxs("div", { className: "d-flex flex-column align-items-center gap-5", children: [
@@ -2970,6 +2979,21 @@ const n5 = () => {
2970
2979
  active: e,
2971
2980
  disabled: o
2972
2981
  }
2982
+ ), r5 = ({
2983
+ active: e,
2984
+ // Just to shut up the linter on this template. Prefer deleting this lint rule
2985
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
2986
+ className: t = "",
2987
+ disabled: o
2988
+ }) => /* @__PURE__ */ s.jsx(
2989
+ j,
2990
+ {
2991
+ ActiveImage: void 0,
2992
+ DisabledImage: void 0,
2993
+ EnabledImage: void 0,
2994
+ active: e,
2995
+ disabled: o
2996
+ }
2973
2997
  ), d6 = ({
2974
2998
  active: e,
2975
2999
  className: t = "",
@@ -3396,7 +3420,7 @@ const n5 = () => {
3396
3420
  X: p6,
3397
3421
  Xbox: w6
3398
3422
  };
3399
- function c5({
3423
+ function l5({
3400
3424
  name: e,
3401
3425
  iconsDictionary: t = M6,
3402
3426
  ...o
@@ -3410,7 +3434,7 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
3410
3434
  content: j6,
3411
3435
  footer: C6,
3412
3436
  volume: S6
3413
- }, r5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3437
+ }, i5 = ({ header: e, footer: t, content: o, volume: c, showVolume: r }) => /* @__PURE__ */ s.jsxs("div", { className: h1.grid, children: [
3414
3438
  /* @__PURE__ */ s.jsx("div", { className: h1.header, children: e }),
3415
3439
  /* @__PURE__ */ s.jsx("div", { className: h1.content, children: o }),
3416
3440
  r && /* @__PURE__ */ s.jsx("div", { className: h1.volume, children: c }),
@@ -3419,7 +3443,7 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
3419
3443
  grid: b6,
3420
3444
  header: I6,
3421
3445
  content: R6
3422
- }, l5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3446
+ }, a5 = ({ className: e, header: t, content: o, leftNav: c }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${Z1.grid}`, children: [
3423
3447
  /* @__PURE__ */ s.jsx("div", { className: Z1.header, children: t }),
3424
3448
  c && /* @__PURE__ */ s.jsx("div", { className: Z1.leftNav, children: c }),
3425
3449
  /* @__PURE__ */ s.jsx("div", { className: Z1.content, children: o })
@@ -3427,23 +3451,23 @@ const m6 = "_grid_1cmpp_1", Z6 = "_header_1cmpp_11", j6 = "_content_1cmpp_17", C
3427
3451
  grid: y6,
3428
3452
  header: E6,
3429
3453
  content: P6
3430
- }, i5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3454
+ }, u5 = ({ className: e, header: t, content: o }) => /* @__PURE__ */ s.jsxs("div", { className: `${e} ${A1.grid}`, children: [
3431
3455
  /* @__PURE__ */ s.jsx("div", { className: A1.header, children: t }),
3432
3456
  /* @__PURE__ */ s.jsx("div", { className: A1.content, children: o })
3433
3457
  ] });
3434
- function a5() {
3458
+ function d5() {
3435
3459
  return console.log(location.pathname), location.pathname;
3436
3460
  }
3437
3461
  var T6 = /* @__PURE__ */ ((e) => (e[e.NotSet = 0] = "NotSet", e[e.Sunday = 1] = "Sunday", e[e.Monday = 2] = "Monday", e[e.Tuesday = 4] = "Tuesday", e[e.Wednesday = 8] = "Wednesday", e[e.Thursday = 16] = "Thursday", e[e.Friday = 32] = "Friday", e[e.Saturday = 64] = "Saturday", e))(T6 || {});
3438
- class u5 {
3462
+ class h5 {
3439
3463
  constructor(t, o) {
3440
3464
  Y(this, "path");
3441
3465
  Y(this, "handler");
3442
3466
  this.path = t, this.handler = o;
3443
3467
  }
3444
3468
  }
3445
- const d5 = "$off";
3446
- class h5 {
3469
+ const v5 = "$off";
3470
+ class g5 {
3447
3471
  constructor() {
3448
3472
  Y(this, "currentShareText");
3449
3473
  Y(this, "enabled");
@@ -3453,7 +3477,7 @@ class h5 {
3453
3477
  export {
3454
3478
  me as Clock,
3455
3479
  T6 as DaysOfWeek,
3456
- n5 as ErrorBox,
3480
+ c5 as ErrorBox,
3457
3481
  k8 as IconButton,
3458
3482
  U8 as IconMultiAlert,
3459
3483
  W8 as IconMultiBan,
@@ -3469,6 +3493,7 @@ export {
3469
3493
  Q8 as IconMultiLaptop,
3470
3494
  N8 as IconMultiLeftArrow,
3471
3495
  e6 as IconMultiLight,
3496
+ x6 as IconMultiMic,
3472
3497
  t6 as IconMultiMoon,
3473
3498
  s6 as IconMultiPlaystation,
3474
3499
  o6 as IconMultiPodium,
@@ -3479,6 +3504,7 @@ export {
3479
3504
  i6 as IconMultiRoomPC,
3480
3505
  a6 as IconMultiShade,
3481
3506
  u6 as IconMultiSun,
3507
+ r5 as IconMultiTemplate,
3482
3508
  d6 as IconMultiUpArrow,
3483
3509
  h6 as IconMultiVolDown,
3484
3510
  v6 as IconMultiVolMute,
@@ -3486,17 +3512,18 @@ export {
3486
3512
  f6 as IconMultiWireless,
3487
3513
  p6 as IconMultiX,
3488
3514
  w6 as IconMultiXbox,
3489
- r5 as MainLayout,
3490
- u5 as MessageHandler,
3515
+ i5 as MainLayout,
3516
+ h5 as MessageHandler,
3491
3517
  pe as MobileControlProvider,
3492
3518
  j as MultiStateIconContainer,
3493
- c5 as NamedIconButton,
3494
- h5 as ShareState,
3495
- l5 as TechLayout,
3496
- i5 as TechPinLayout,
3497
- a5 as getBaseLocation,
3519
+ l5 as NamedIconButton,
3520
+ g5 as ShareState,
3521
+ a5 as TechLayout,
3522
+ u5 as TechPinLayout,
3523
+ d5 as getBaseLocation,
3498
3524
  V1 as httpClient,
3499
- d5 as roomOffSourceKey,
3525
+ M6 as iconsDictionary,
3526
+ v5 as roomOffSourceKey,
3500
3527
  Z3 as selectAllDevices,
3501
3528
  x2 as selectApiPath,
3502
3529
  w2 as selectAppConfig,
@@ -3554,11 +3581,11 @@ export {
3554
3581
  Ze as useDevicePresetsModel,
3555
3582
  je as useEndpoint,
3556
3583
  d8 as useError,
3557
- Qe as useGetAllDeviceStateFromRoomConfiguration,
3584
+ Ne as useGetAllDeviceStateFromRoomConfiguration,
3558
3585
  U6 as useGetAllDevices,
3559
3586
  F6 as useGetAllRooms,
3560
3587
  ve as useGetCurrentPopoverIdForGroup,
3561
- P as useGetDevice,
3588
+ E as useGetDevice,
3562
3589
  we as useGetIBasicVolumeWithFeedback,
3563
3590
  H6 as useGetRoom,
3564
3591
  ce as useGetRoomDisplayStates,
@@ -3572,32 +3599,33 @@ export {
3572
3599
  ye as useIDspPresets,
3573
3600
  Ee as useIDvr,
3574
3601
  Pe as useIEssentialsRoomCombiner,
3602
+ Te as useIHasCameras,
3575
3603
  y3 as useIHasPowerControl,
3576
3604
  k1 as useIHasSelectableItems,
3577
- Te as useIHumiditySensor,
3578
- _e as useILevelControls,
3579
- Le as useILightingScenes,
3580
- De as useIMatrixRouting,
3581
- $e as useIMcCiscoCodecUserInterfaceAppControl,
3582
- Ae as useINumeric,
3583
- Be as useIProjectorScreenLiftControl,
3584
- Oe as useIRoomEventSchedule,
3585
- Ve as useIRunDefaultPresentRoute,
3586
- ke as useIRunDirectRouteAction,
3587
- Ue as useIRunRouteAction,
3588
- We as useISetTopBoxControls,
3589
- Fe as useIShadesOpenCloseStop,
3590
- He as useIShutdownPromptTimer,
3591
- Ke as useISwitchedOutput,
3592
- Ge as useITechPassword,
3593
- qe as useITemperatureSensor,
3594
- Ye as useITheme,
3595
- ze as useITransport,
3605
+ _e as useIHumiditySensor,
3606
+ Le as useILevelControls,
3607
+ De as useILightingScenes,
3608
+ $e as useIMatrixRouting,
3609
+ Ae as useIMcCiscoCodecUserInterfaceAppControl,
3610
+ Be as useINumeric,
3611
+ Oe as useIProjectorScreenLiftControl,
3612
+ Ve as useIRoomEventSchedule,
3613
+ ke as useIRunDefaultPresentRoute,
3614
+ Ue as useIRunDirectRouteAction,
3615
+ We as useIRunRouteAction,
3616
+ Fe as useISetTopBoxControls,
3617
+ He as useIShadesOpenCloseStop,
3618
+ Ke as useIShutdownPromptTimer,
3619
+ Ge as useISwitchedOutput,
3620
+ qe as useITechPassword,
3621
+ Ye as useITemperatureSensor,
3622
+ ze as useITheme,
3623
+ Je as useITransport,
3596
3624
  C8 as useInitialize,
3597
3625
  ae as useIsTouchpanel,
3598
3626
  V6 as useLogoPath,
3599
- Je as useMobileControlTouchpanelController,
3600
- Ne as useOverflow,
3627
+ Xe as useMobileControlTouchpanelController,
3628
+ e5 as useOverflow,
3601
3629
  k6 as usePartnerMetadata,
3602
3630
  D8 as usePressHoldRelease,
3603
3631
  oe as useRoomAdvancedSharingActive,
@@ -3607,7 +3635,7 @@ export {
3607
3635
  z6 as useRoomDestinationList,
3608
3636
  Y6 as useRoomDestinations,
3609
3637
  J6 as useRoomEnvironmentalDevices,
3610
- e5 as useRoomIBasicVolumeWithFeedback,
3638
+ t5 as useRoomIBasicVolumeWithFeedback,
3611
3639
  N6 as useRoomInCall,
3612
3640
  te as useRoomIsCoolingDown,
3613
3641
  se as useRoomIsOn,
@@ -3621,19 +3649,19 @@ export {
3621
3649
  C1 as useRoomState,
3622
3650
  H2 as useRoomVolume,
3623
3651
  le as useRuntimeInfo,
3624
- t5 as useScroll,
3652
+ s5 as useScroll,
3625
3653
  c8 as useServerIsRunningOnProcessorHardware,
3626
3654
  de as useShowIncomingCallModal,
3627
3655
  he as useShowModal,
3628
3656
  ge as useShowPopoverById,
3629
3657
  h8 as useShowReconnect,
3630
3658
  ue as useShowShutdownModal,
3631
- s5 as useSystemControl,
3659
+ o5 as useSystemControl,
3632
3660
  o8 as useSystemUuid,
3633
3661
  fe as useTheme,
3634
- o5 as useTimeAndDate,
3662
+ n5 as useTimeAndDate,
3635
3663
  ie as useTouchpanelKey,
3636
- Xe as useTwoWayDisplayBase,
3664
+ Qe as useTwoWayDisplayBase,
3637
3665
  n8 as useUserCode,
3638
3666
  b as useWebsocketContext,
3639
3667
  j3 as useWsIsConnected