@pepperdash/mobile-control-react-app-core 1.22.11 → 1.23.0

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 (211) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/dist/mobile-control-react-app-core.es.js +352 -351
  3. package/dist/mobile-control-react-app-core.umd.js +8 -8
  4. package/dist/services/useInitialize.d.ts +1 -1
  5. package/dist/shared/Buttons/IconButton/IconButton.d.ts +1 -0
  6. package/dist/shared/Buttons/IconButton/IconButton.d.ts.map +1 -1
  7. package/dist/shared/Buttons/MultiStateIconContainer/MultiStateIconContainer.d.ts +2 -1
  8. package/dist/shared/Buttons/MultiStateIconContainer/MultiStateIconContainer.d.ts.map +1 -1
  9. package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts +1 -0
  10. package/dist/shared/Icons/MultiStateIcons/IconMultMic.d.ts +2 -1
  11. package/dist/shared/Icons/MultiStateIcons/IconMultMic.d.ts.map +1 -1
  12. package/dist/shared/Icons/MultiStateIcons/IconMultiAlert.d.ts +2 -1
  13. package/dist/shared/Icons/MultiStateIcons/IconMultiAlert.d.ts.map +1 -1
  14. package/dist/shared/Icons/MultiStateIcons/IconMultiBan.d.ts +2 -1
  15. package/dist/shared/Icons/MultiStateIcons/IconMultiBan.d.ts.map +1 -1
  16. package/dist/shared/Icons/MultiStateIcons/IconMultiCamera.d.ts +1 -0
  17. package/dist/shared/Icons/MultiStateIcons/IconMultiCamera.d.ts.map +1 -1
  18. package/dist/shared/Icons/MultiStateIcons/IconMultiCheck.d.ts +2 -1
  19. package/dist/shared/Icons/MultiStateIcons/IconMultiCheck.d.ts.map +1 -1
  20. package/dist/shared/Icons/MultiStateIcons/IconMultiController.d.ts +2 -1
  21. package/dist/shared/Icons/MultiStateIcons/IconMultiController.d.ts.map +1 -1
  22. package/dist/shared/Icons/MultiStateIcons/IconMultiDownArrow.d.ts +2 -1
  23. package/dist/shared/Icons/MultiStateIcons/IconMultiDownArrow.d.ts.map +1 -1
  24. package/dist/shared/Icons/MultiStateIcons/IconMultiElipses.d.ts +2 -1
  25. package/dist/shared/Icons/MultiStateIcons/IconMultiElipses.d.ts.map +1 -1
  26. package/dist/shared/Icons/MultiStateIcons/IconMultiFlag.d.ts +2 -1
  27. package/dist/shared/Icons/MultiStateIcons/IconMultiFlag.d.ts.map +1 -1
  28. package/dist/shared/Icons/MultiStateIcons/IconMultiGear.d.ts +1 -0
  29. package/dist/shared/Icons/MultiStateIcons/IconMultiGear.d.ts.map +1 -1
  30. package/dist/shared/Icons/MultiStateIcons/IconMultiGlass.d.ts +2 -1
  31. package/dist/shared/Icons/MultiStateIcons/IconMultiGlass.d.ts.map +1 -1
  32. package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts +2 -1
  33. package/dist/shared/Icons/MultiStateIcons/IconMultiHdmi.d.ts.map +1 -1
  34. package/dist/shared/Icons/MultiStateIcons/IconMultiLaptop.d.ts +2 -1
  35. package/dist/shared/Icons/MultiStateIcons/IconMultiLaptop.d.ts.map +1 -1
  36. package/dist/shared/Icons/MultiStateIcons/IconMultiLeftArrow.d.ts +2 -1
  37. package/dist/shared/Icons/MultiStateIcons/IconMultiLeftArrow.d.ts.map +1 -1
  38. package/dist/shared/Icons/MultiStateIcons/IconMultiLight.d.ts +2 -1
  39. package/dist/shared/Icons/MultiStateIcons/IconMultiLight.d.ts.map +1 -1
  40. package/dist/shared/Icons/MultiStateIcons/IconMultiMoon.d.ts +2 -1
  41. package/dist/shared/Icons/MultiStateIcons/IconMultiMoon.d.ts.map +1 -1
  42. package/dist/shared/Icons/MultiStateIcons/IconMultiPlaystation.d.ts +1 -0
  43. package/dist/shared/Icons/MultiStateIcons/IconMultiPlaystation.d.ts.map +1 -1
  44. package/dist/shared/Icons/MultiStateIcons/IconMultiPodium.d.ts +2 -1
  45. package/dist/shared/Icons/MultiStateIcons/IconMultiPodium.d.ts.map +1 -1
  46. package/dist/shared/Icons/MultiStateIcons/IconMultiPower.d.ts +2 -1
  47. package/dist/shared/Icons/MultiStateIcons/IconMultiPower.d.ts.map +1 -1
  48. package/dist/shared/Icons/MultiStateIcons/IconMultiPrivacy.d.ts +2 -1
  49. package/dist/shared/Icons/MultiStateIcons/IconMultiPrivacy.d.ts.map +1 -1
  50. package/dist/shared/Icons/MultiStateIcons/IconMultiQuestion.d.ts +2 -1
  51. package/dist/shared/Icons/MultiStateIcons/IconMultiQuestion.d.ts.map +1 -1
  52. package/dist/shared/Icons/MultiStateIcons/IconMultiRightArrow.d.ts +2 -1
  53. package/dist/shared/Icons/MultiStateIcons/IconMultiRightArrow.d.ts.map +1 -1
  54. package/dist/shared/Icons/MultiStateIcons/IconMultiRoomPC.d.ts +2 -1
  55. package/dist/shared/Icons/MultiStateIcons/IconMultiRoomPC.d.ts.map +1 -1
  56. package/dist/shared/Icons/MultiStateIcons/IconMultiShade.d.ts +2 -1
  57. package/dist/shared/Icons/MultiStateIcons/IconMultiShade.d.ts.map +1 -1
  58. package/dist/shared/Icons/MultiStateIcons/IconMultiSun.d.ts +2 -1
  59. package/dist/shared/Icons/MultiStateIcons/IconMultiSun.d.ts.map +1 -1
  60. package/dist/shared/Icons/MultiStateIcons/IconMultiTemplate.d.ts +1 -0
  61. package/dist/shared/Icons/MultiStateIcons/IconMultiTemplate.d.ts.map +1 -1
  62. package/dist/shared/Icons/MultiStateIcons/IconMultiUpArrow.d.ts +2 -1
  63. package/dist/shared/Icons/MultiStateIcons/IconMultiUpArrow.d.ts.map +1 -1
  64. package/dist/shared/Icons/MultiStateIcons/IconMultiVolDown.d.ts +2 -1
  65. package/dist/shared/Icons/MultiStateIcons/IconMultiVolDown.d.ts.map +1 -1
  66. package/dist/shared/Icons/MultiStateIcons/IconMultiVolMute.d.ts +2 -1
  67. package/dist/shared/Icons/MultiStateIcons/IconMultiVolMute.d.ts.map +1 -1
  68. package/dist/shared/Icons/MultiStateIcons/IconMultiVolUp.d.ts +2 -1
  69. package/dist/shared/Icons/MultiStateIcons/IconMultiVolUp.d.ts.map +1 -1
  70. package/dist/shared/Icons/MultiStateIcons/IconMultiWireless.d.ts +2 -1
  71. package/dist/shared/Icons/MultiStateIcons/IconMultiWireless.d.ts.map +1 -1
  72. package/dist/shared/Icons/MultiStateIcons/IconMultiX.d.ts +2 -1
  73. package/dist/shared/Icons/MultiStateIcons/IconMultiX.d.ts.map +1 -1
  74. package/dist/shared/Icons/MultiStateIcons/IconMultiXbox.d.ts +2 -1
  75. package/dist/shared/Icons/MultiStateIcons/IconMultiXbox.d.ts.map +1 -1
  76. package/dist/shared/Icons/iconsDictionary.d.ts +2 -1
  77. package/dist/shared/MobileControlProvider/MobileControlProvider.d.ts.map +1 -1
  78. package/dist/shared/hooks/interfaces/index.d.ts +11 -11
  79. package/dist/shared/hooks/interfaces/useAvrControl.d.ts +1 -0
  80. package/dist/shared/hooks/interfaces/useCameraBase.d.ts +1 -0
  81. package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts +1 -0
  82. package/dist/shared/hooks/interfaces/useEndpoint.d.ts +1 -0
  83. package/dist/shared/hooks/interfaces/useIBasicVolume.d.ts +1 -0
  84. package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +1 -0
  85. package/dist/shared/hooks/interfaces/useIChannel.d.ts +1 -0
  86. package/dist/shared/hooks/interfaces/useIColor.d.ts +1 -0
  87. package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts +1 -0
  88. package/dist/shared/hooks/interfaces/useIDPad.d.ts +1 -0
  89. package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts +1 -0
  90. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -0
  91. package/dist/shared/hooks/interfaces/useIDvr.d.ts +1 -0
  92. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +1 -0
  93. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +1 -0
  94. package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts +1 -0
  95. package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts +1 -0
  96. package/dist/shared/hooks/interfaces/useIHumiditySensor.d.ts +1 -0
  97. package/dist/shared/hooks/interfaces/useILevelControls.d.ts +1 -0
  98. package/dist/shared/hooks/interfaces/useILightingScenes.d.ts +1 -0
  99. package/dist/shared/hooks/interfaces/useIMatrixRouting.d.ts +1 -0
  100. package/dist/shared/hooks/interfaces/useINumeric.d.ts +1 -0
  101. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +1 -0
  102. package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts +1 -0
  103. package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts +1 -0
  104. package/dist/shared/hooks/interfaces/useISetTopBoxcontrols.d.ts +1 -0
  105. package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts +1 -0
  106. package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +1 -0
  107. package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts +1 -0
  108. package/dist/shared/hooks/interfaces/useITechPassword.d.ts +1 -0
  109. package/dist/shared/hooks/interfaces/useITemperatureSensor.d.ts +1 -0
  110. package/dist/shared/hooks/interfaces/useITransport.d.ts +1 -0
  111. package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts +2 -1
  112. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +3 -2
  113. package/dist/shared/hooks/useDeviceIBasicVolume.d.ts +1 -1
  114. package/dist/shared/hooks/useDeviceIBasicVolumeWithFeedback.d.ts +1 -1
  115. package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts +1 -0
  116. package/dist/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.d.ts.map +1 -1
  117. package/dist/shared/hooks/useOverflow.d.ts +2 -1
  118. package/dist/shared/hooks/usePressHoldRelease.d.ts +4 -1
  119. package/dist/shared/hooks/usePressHoldRelease.d.ts.map +1 -1
  120. package/dist/shared/hooks/useRoomIBasicVolume.d.ts +2 -1
  121. package/dist/shared/hooks/useRoomIBasicVolumeWithFeedback.d.ts +2 -1
  122. package/dist/shared/hooks/useScroll.d.ts +2 -1
  123. package/dist/shared/index.d.ts +6 -6
  124. package/dist/shared/layout/habanero/MainLayout/MainLayout.d.ts +2 -1
  125. package/dist/shared/layout/habanero/MainLayout/MainLayout.d.ts.map +1 -1
  126. package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts +2 -1
  127. package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts.map +1 -1
  128. package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts +0 -1
  129. package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts.map +1 -1
  130. package/dist/shared/layout/habanero/index.d.ts +3 -3
  131. package/dist/store/appConfig/appConfig.hooks.d.ts +2 -2
  132. package/dist/store/appConfig/appConfig.selectors.d.ts +43 -42
  133. package/dist/store/appConfig/appConfig.slice.d.ts +4 -20
  134. package/dist/store/appConfig/appConfig.slice.d.ts.map +1 -1
  135. package/dist/store/devices/devices.hooks.d.ts +1 -0
  136. package/dist/store/devices/devices.selectors.d.ts +25 -24
  137. package/dist/store/devices/devices.selectors.d.ts.map +1 -1
  138. package/dist/store/devices/devices.slice.d.ts +4 -3
  139. package/dist/store/hooks.d.ts +13 -13
  140. package/dist/store/middleware/websocketMiddleware.d.ts +1 -0
  141. package/dist/store/middleware/websocketMiddleware.d.ts.map +1 -1
  142. package/dist/store/rooms/rooms.hooks.d.ts +11 -10
  143. package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
  144. package/dist/store/rooms/rooms.selectors.d.ts +271 -288
  145. package/dist/store/rooms/rooms.selectors.d.ts.map +1 -1
  146. package/dist/store/rooms/rooms.slice.d.ts +4 -3
  147. package/dist/store/runtimeConfig/runtime.hooks.d.ts +1 -1
  148. package/dist/store/runtimeConfig/runtime.hooks.d.ts.map +1 -1
  149. package/dist/store/runtimeConfig/runtime.selectors.d.ts +158 -157
  150. package/dist/store/runtimeConfig/runtime.selectors.d.ts.map +1 -1
  151. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +14 -457
  152. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
  153. package/dist/store/store.d.ts +15 -15
  154. package/dist/store/ui/ui.hooks.d.ts.map +1 -1
  155. package/dist/store/ui/ui.selectors.d.ts +71 -70
  156. package/dist/store/ui/ui.selectors.d.ts.map +1 -1
  157. package/dist/store/ui/ui.slice.d.ts +14 -156
  158. package/dist/store/ui/ui.slice.d.ts.map +1 -1
  159. package/dist/types/classes/app-config.d.ts +1 -0
  160. package/dist/types/classes/room-data.d.ts +1 -0
  161. package/dist/types/interfaces/ISelectableItem.d.ts +1 -0
  162. package/dist/types/state/CameraListItem.d.ts +1 -0
  163. package/dist/types/state/DestinationListItem.d.ts +1 -0
  164. package/dist/types/state/LevelControlListItem.d.ts +1 -0
  165. package/dist/types/state/PresetListItem.d.ts +1 -0
  166. package/dist/types/state/config.d.ts +1 -0
  167. package/dist/types/state/message-handler.d.ts +1 -0
  168. package/dist/types/state/sourceListItem.d.ts +1 -0
  169. package/dist/types/state/state/CameraState.d.ts +1 -0
  170. package/dist/types/state/state/CommunicationMonitorState.d.ts +1 -0
  171. package/dist/types/state/state/DeviceInfoState.d.ts +1 -0
  172. package/dist/types/state/state/DevicePresetsState.d.ts +1 -0
  173. package/dist/types/state/state/DeviceState.d.ts +1 -0
  174. package/dist/types/state/state/DisplayState.d.ts +1 -0
  175. package/dist/types/state/state/EnvironmentState.d.ts +1 -0
  176. package/dist/types/state/state/IBasicVolumeWithFeedbackState.d.ts +1 -0
  177. package/dist/types/state/state/ICurrentSourcesState.d.ts +1 -0
  178. package/dist/types/state/state/IEssentialsRoomCombinerState.d.ts +1 -0
  179. package/dist/types/state/state/IHasCamerasState.d.ts +1 -0
  180. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +1 -0
  181. package/dist/types/state/state/IHasInputsState.d.ts +1 -0
  182. package/dist/types/state/state/IHasSelectableItemsState.d.ts +1 -0
  183. package/dist/types/state/state/IHasSurroundChannelsState.d.ts +1 -0
  184. package/dist/types/state/state/IHasSurroundSoundModesState.d.ts +1 -0
  185. package/dist/types/state/state/IHumiditySensorState.d.ts +1 -0
  186. package/dist/types/state/state/IProjectorScreenLiftControlState.d.ts +1 -0
  187. package/dist/types/state/state/IShutdownPromptTimerState.d.ts +1 -0
  188. package/dist/types/state/state/ITechPasswordState.d.ts +1 -0
  189. package/dist/types/state/state/ITemperatureSensorState.d.ts +1 -0
  190. package/dist/types/state/state/LevelControlsState.d.ts +1 -0
  191. package/dist/types/state/state/LightingState.d.ts +1 -0
  192. package/dist/types/state/state/MatrixRoutingState.d.ts +1 -0
  193. package/dist/types/state/state/MobileControlTouchpanelState.d.ts +1 -0
  194. package/dist/types/state/state/PowerState.d.ts +1 -0
  195. package/dist/types/state/state/RoomState.d.ts +1 -0
  196. package/dist/types/state/state/RoutingState.d.ts +1 -0
  197. package/dist/types/state/state/ScheduleEvent.d.ts +1 -0
  198. package/dist/types/state/state/ScheduleState.d.ts +1 -0
  199. package/dist/types/state/state/ShadeState.d.ts +1 -0
  200. package/dist/types/state/state/SurroundSoundModeState.d.ts +1 -0
  201. package/dist/types/state/state/SwitchedOutputState.d.ts +1 -0
  202. package/dist/types/state/state/endpointState/endpointState.d.ts +1 -0
  203. package/dist/types/state/volume/volumes.d.ts +1 -0
  204. package/dist/utils/Clock.d.ts.map +1 -1
  205. package/dist/utils/WebsocketContext.d.ts +2 -2
  206. package/dist/utils/WebsocketContext.d.ts.map +1 -1
  207. package/dist/utils/WebsocketProvider.d.ts +1 -0
  208. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  209. package/dist/utils/joinParamsService.d.ts +2 -1
  210. package/dist/utils/useWebsocketContext.d.ts +1 -1
  211. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
1
  import { CommunicationMonitorState } from '../../..';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the ICommunicationMonitor interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the IDPad interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { DeviceInfo } from '../../..';
2
+
2
3
  /**
3
4
  * hook that returns the info for a device that implements the IDeviceInfo interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { IKeyName } from '../../..';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the IDspPresets interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the IDvr interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { IEssentialsRoomCombinerState } from '../../../types/state/state/IEssentialsRoomCombinerState';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the IEssentialsRoomCombiner interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { IHasCamerasState } from '../../../';
2
+
2
3
  export declare function useIHasCameras(key: string): IHasCamerasReturn | undefined;
3
4
  export interface IHasCamerasReturn {
4
5
  state: IHasCamerasState;
@@ -1,4 +1,5 @@
1
1
  import { DeviceState } from '../../..';
2
+
2
3
  /**
3
4
  * Hook for devices that have selectable items
4
5
  * TState is the type of the expected state of the device
@@ -1,4 +1,5 @@
1
1
  import { Volume } from '../../..';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the IHasSurroundChannels interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { ITHumiditySensorState } from '../../../types/state/state/IHumiditySensorState';
2
+
2
3
  /**
3
4
  * A hook that provides access to the humidity sensor state
4
5
  * @param key the key of the temperature sensor
@@ -1,4 +1,5 @@
1
1
  import { LevelControlsState } from '../../../types/state/state/LevelControlsState';
2
+
2
3
  /**
3
4
  * hook that controls a device that implements the ILevelControls interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { LightingScene, LightingState } from '../../../types';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the ILightingScenes interface
4
5
  * @param key key of the device
@@ -1,5 +1,6 @@
1
1
  import { MatrixRoutingState } from '../../../types/state/state/MatrixRoutingState';
2
2
  import { SignalType } from './useIRunDirectRouteAction';
3
+
3
4
  /**
4
5
  * Hook to allow routing and feedback of a matrix switcher that implements IMatrixRouting
5
6
  * @param key key of matrix routing device
@@ -1,4 +1,5 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+
2
3
  /**
3
4
  * hook to return the functions to trigger for a numeric keypad for a device that implements the INumeric interface
4
5
  * @param key device key
@@ -1,4 +1,5 @@
1
1
  import { IProjectorScreenLiftControlState } from '../../..';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the IProjectorScreenLiftControl interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { ScheduleEvent, ScheduleState } from '../../..';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the IRoomEventSchedule interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { RoutingState } from '../../../types';
2
+
2
3
  /**
3
4
  * hook to control a room that implements the IRunRouteAction interface
4
5
  * @param roomKey key of the room
@@ -1,4 +1,5 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+
2
3
  /**
3
4
  * hook to control a device that implements the ISetTopBoxControls interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { ShadeState } from '../../../types';
2
+
2
3
  /**
3
4
  * hook that controls a device that implements the IShadesOpenCloseStop interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { IShutdownPromptTimerState } from '../../../types/state/state/IShutdownPromptTimerState';
2
+
2
3
  /**
3
4
  * hook that controls a room that implements the IShutdownPromptTimer interface
4
5
  * @param roomKey key of the room
@@ -1,4 +1,5 @@
1
1
  import { SwitchedOutputState } from '../../../types';
2
+
2
3
  /**
3
4
  * hook that controls a device that implements the ISwitchedOutput interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
1
  import { ITechPasswordState } from '../../../types/state/state/ITechPasswordState';
2
+
2
3
  /**
3
4
  * hook that controls a room that implements the ITechPassword interface
4
5
  * @param roomKey key of the room
@@ -1,4 +1,5 @@
1
1
  import { ITemperatureSensorState } from '../../../types/state/state/ITemperatureSensorState';
2
+
2
3
  /**
3
4
  * A hook that provides access to the temperature sensor state
4
5
  * @param key the key of the temperature sensor
@@ -1,4 +1,5 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+
2
3
  /**
3
4
  * hook that controls a device that implements the ITransport interface
4
5
  * @param key key of the device
@@ -1,4 +1,5 @@
1
- import { MobileControlTouchpanelState } from "../../../types/state/state/MobileControlTouchpanelState";
1
+ import { MobileControlTouchpanelState } from '../../../types/state/state/MobileControlTouchpanelState';
2
+
2
3
  /**
3
4
  * hook that controls a device that implements the MobileControlTouchpanelController interface
4
5
  * @param key key of the device
@@ -1,7 +1,8 @@
1
- import { DisplayState } from "../../../types";
1
+ import { DisplayState } from '../../../types';
2
2
  import { IHasInputsState } from '../../../types/state/state/IHasInputsState';
3
- import { IHasPowerWithFeedbackProps } from "./useIHasPowerControl";
3
+ import { IHasPowerWithFeedbackProps } from './useIHasPowerControl';
4
4
  import { IHasSelectableItemsReturn } from './useIHasSelectableItems';
5
+
5
6
  /**
6
7
  * Provides a set of hooks to control a device that extends the TwoWayDisplayBase class
7
8
  * @param key key of the device
@@ -3,5 +3,5 @@
3
3
  * @param deviceKey
4
4
  * @returns
5
5
  */
6
- export declare function useDeviceIBasicVolume(deviceKey: string): import("./interfaces/useIBasicVolume").IBasicVolumeReturn | undefined;
6
+ export declare function useDeviceIBasicVolume(deviceKey: string): import('./interfaces/useIBasicVolume').IBasicVolumeReturn | undefined;
7
7
  //# sourceMappingURL=useDeviceIBasicVolume.d.ts.map
@@ -3,5 +3,5 @@
3
3
  * @param deviceKey
4
4
  * @returns
5
5
  */
6
- export declare function useDeviceIBasicVolumeWithFeedback(deviceKey: string): import("./interfaces/useIBasicVolumeWithFeedback").IBasicVolumeWithFeedbackReturn | undefined;
6
+ export declare function useDeviceIBasicVolumeWithFeedback(deviceKey: string): import('./interfaces/useIBasicVolumeWithFeedback').IBasicVolumeWithFeedbackReturn | undefined;
7
7
  //# sourceMappingURL=useDeviceIBasicVolumeWithFeedback.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { RoomConfiguration } from '../../types/state/state';
2
+
2
3
  /**
3
4
  * This hook will gather up all the keys for devices in the room
4
5
  * and send messages to the websocket to get the initial state
@@ -1 +1 @@
1
- {"version":3,"file":"useGetAllDeviceStateFromRoomConfiguration.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;;;;;;GAQG;AACH,eAAO,MAAM,yCAAyC;YAI1C,iBAAiB,GAAG,SAAS;mBAExB,OAAO,4BAwGvB,CAAC"}
1
+ {"version":3,"file":"useGetAllDeviceStateFromRoomConfiguration.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useGetAllDeviceStateFromRoomConfiguration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;;;;;;GAQG;AACH,eAAO,MAAM,yCAAyC,GACpD,aAEG;IACD,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAAC;CACvC,EACD,gBAAe,OAAc,4BAwG9B,CAAC"}
@@ -1,4 +1,5 @@
1
- import { RefObject } from "react";
1
+ import { RefObject } from 'react';
2
+
2
3
  export declare function useOverflow<T extends HTMLElement | undefined>(ref: RefObject<T | undefined>, callback?: (hasOverflowVertical: boolean, hasOverflowHorizontal: boolean) => void): UseIsOverflowProps;
3
4
  export interface UseIsOverflowProps {
4
5
  overflowHorizontal: boolean;
@@ -3,6 +3,7 @@
3
3
  * @param onPress function to call when the pointer is pressed
4
4
  * @param onRelease function to call when the pointer is released
5
5
  * @param onHold function to call when the pointer is held
6
+ * @param onPressedButNotHeld function to call when the button is pressed and released before the hold time elapses
6
7
  * @param holdTimeMs time in milliseconds to hold before onHold is called
7
8
  * @returns an object that can be easily applied to a button or other element using a spread operator to attach to the element events
8
9
  * @example
@@ -10,13 +11,14 @@
10
11
  * onPress: () => console.log('pressed'),
11
12
  * onRelease: () => console.log('released'),
12
13
  * onHold: () => console.log('held'),
14
+ * onPressedButNotHeld: () => console.log('short press'),
13
15
  * holdTimeMs: 2000
14
16
  * });
15
17
  *
16
18
  * // use the spread operator to attach the events to the button
17
19
  * <button {...button1}>Press and Hold</button>
18
20
  */
19
- export declare function usePressHoldRelease({ onPress, onRelease, onHold, holdTimeMs, }: PressHoldReleaseParams): {
21
+ export declare function usePressHoldRelease({ onPress, onRelease, onHold, onPressedButNotHeld, holdTimeMs, }: PressHoldReleaseParams): {
20
22
  onPointerDown: () => void;
21
23
  onPointerUp: () => void;
22
24
  onPointerLeave: () => void;
@@ -25,6 +27,7 @@ interface PressHoldReleaseParams {
25
27
  onPress?: () => void;
26
28
  onRelease?: () => void;
27
29
  onHold?: () => void;
30
+ onPressedButNotHeld?: () => void;
28
31
  /** Defaults to 500ms */
29
32
  holdTimeMs?: number;
30
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"usePressHoldRelease.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/usePressHoldRelease.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAgB,GACjB,EAAE,sBAAsB;;;;EAmCxB;AAED,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,wBAAwB;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAI,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"usePressHoldRelease.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/usePressHoldRelease.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,SAAS,EACT,MAAM,EACN,mBAAmB,EACnB,UAAgB,GACjB,EAAE,sBAAsB;;;;EA0CxB;AAED,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,wBAAwB;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAI,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import { RoomVolumeType } from '../../types';
2
+
2
3
  /**
3
4
  * Wrapper hook for the room volumes
4
5
  * @param roomKey
5
6
  * @param type either master or they key of the aux volume
6
7
  * @returns
7
8
  */
8
- export declare function useRoomIBasicVolume(roomKey: string, type: RoomVolumeType): import("./interfaces/useIBasicVolume").IBasicVolumeReturn | undefined;
9
+ export declare function useRoomIBasicVolume(roomKey: string, type: RoomVolumeType): import('./interfaces/useIBasicVolume').IBasicVolumeReturn | undefined;
9
10
  //# sourceMappingURL=useRoomIBasicVolume.d.ts.map
@@ -1,9 +1,10 @@
1
1
  import { RoomVolumeType } from '../../types';
2
+
2
3
  /**
3
4
  * Wrapper hook for the room volumes
4
5
  * @param roomKey
5
6
  * @param type either master or they key of the aux volume
6
7
  * @returns
7
8
  */
8
- export declare function useRoomIBasicVolumeWithFeedback(roomKey: string, type: RoomVolumeType): import("./interfaces/useIBasicVolumeWithFeedback").IBasicVolumeWithFeedbackReturn | undefined;
9
+ export declare function useRoomIBasicVolumeWithFeedback(roomKey: string, type: RoomVolumeType): import('./interfaces/useIBasicVolumeWithFeedback').IBasicVolumeWithFeedbackReturn | undefined;
9
10
  //# sourceMappingURL=useRoomIBasicVolumeWithFeedback.d.ts.map
@@ -1,4 +1,5 @@
1
- import { RefObject } from "react";
1
+ import { RefObject } from 'react';
2
+
2
3
  export declare function useScroll<T extends HTMLElement | undefined>(ref: RefObject<T | undefined>): UseScrollProps;
3
4
  export default useScroll;
4
5
  export interface UseScrollProps {
@@ -1,7 +1,7 @@
1
- export * from "./MobileControlProvider/MobileControlProvider";
2
- export * from "./hooks";
3
- export * from "./layout/ErrorBox";
4
- export * from "./Buttons";
5
- export * from "./Icons";
6
- export * from "./layout/habanero";
1
+ export * from './MobileControlProvider/MobileControlProvider';
2
+ export * from './hooks';
3
+ export * from './layout/ErrorBox';
4
+ export * from './Buttons';
5
+ export * from './Icons';
6
+ export * from './layout/habanero';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  /**
3
4
  * The main layout, based on Habanero with a header, footer and content area with volume on the right side.
4
5
  * Uses CSS grid
@@ -1 +1 @@
1
- {"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/MainLayout/MainLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;GAKG;AACH,eAAO,MAAM,UAAU,oDAAmD,eAAe,4CASxF,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/MainLayout/MainLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GAAI,iDAA+C,eAAe,4CASxF,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -1,4 +1,5 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare const TechLayout: ({ className, header, content, leftNav }: TechLayoutProps) => import("react/jsx-runtime").JSX.Element;
3
4
  interface TechLayoutProps {
4
5
  header: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"TechLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/TechLayout/TechLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,UAAU,4CAA2C,eAAe,4CAShF,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"TechLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/TechLayout/TechLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,UAAU,GAAI,yCAAuC,eAAe,4CAShF,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const TechPinLayout: ({ className, header, content }: TechLayoutProps) => import("react/jsx-runtime").JSX.Element;
3
2
  interface TechLayoutProps {
4
3
  header: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"TechPinLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/TechPinLayout/TechPinLayout.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,aAAa,mCAAkC,eAAe,4CAQ1E,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"TechPinLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/TechPinLayout/TechPinLayout.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,GAAI,gCAA8B,eAAe,4CAQ1E,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -1,4 +1,4 @@
1
- export * from "./MainLayout/MainLayout";
2
- export * from "./TechLayout/TechLayout";
3
- export * from "./TechPinLayout/TechPinLayout";
1
+ export * from './MainLayout/MainLayout';
2
+ export * from './TechLayout/TechLayout';
3
+ export * from './TechPinLayout/TechPinLayout';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- export declare const useAppConfig: () => import("../..").AppConfigExtras;
1
+ export declare const useAppConfig: () => import('../..').AppConfigExtras;
2
2
  export declare const useApiPath: () => string;
3
3
  export declare const useLogoPath: () => string;
4
- export declare const usePartnerMetadata: () => import("./appConfig.slice").PartnerMetadata[] | undefined;
4
+ export declare const usePartnerMetadata: () => import('./appConfig.slice').PartnerMetadata[] | undefined;
5
5
  //# sourceMappingURL=appConfig.hooks.d.ts.map
@@ -1,110 +1,111 @@
1
1
  import { AppConfigExtras, RootState } from '../..';
2
+
2
3
  export declare const selectAppConfig: ((state: {
3
- appConfig: import("./appConfig.slice").AppConfigState;
4
- runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
5
- rooms: Record<string, import("../..").RoomState>;
6
- devices: Record<string, import("../..").DeviceState>;
7
- ui: import("../..").UiConfigState;
4
+ appConfig: import('./appConfig.slice').AppConfigState;
5
+ runtimeConfig: import('../runtimeConfig/runtimeConfig.slice').RuntimeConfigState;
6
+ rooms: Record<string, import('../..').RoomState>;
7
+ devices: Record<string, import('../..').DeviceState>;
8
+ ui: import('../..').UiConfigState;
8
9
  }) => AppConfigExtras) & {
9
10
  clearCache: () => void;
10
11
  resultsCount: () => number;
11
12
  resetResultsCount: () => void;
12
13
  } & {
13
- resultFunc: (resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => AppConfigExtras;
14
- memoizedResultFunc: ((resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => AppConfigExtras) & {
14
+ resultFunc: (resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => AppConfigExtras;
15
+ memoizedResultFunc: ((resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => AppConfigExtras) & {
15
16
  clearCache: () => void;
16
17
  resultsCount: () => number;
17
18
  resetResultsCount: () => void;
18
19
  };
19
20
  lastResult: () => AppConfigExtras;
20
- dependencies: [(state: RootState) => import("./appConfig.slice").AppConfigState];
21
+ dependencies: [(state: RootState) => import('./appConfig.slice').AppConfigState];
21
22
  recomputations: () => number;
22
23
  resetRecomputations: () => void;
23
24
  dependencyRecomputations: () => number;
24
25
  resetDependencyRecomputations: () => void;
25
26
  } & {
26
- argsMemoize: typeof import("reselect").weakMapMemoize;
27
- memoize: typeof import("reselect").weakMapMemoize;
27
+ argsMemoize: typeof import('reselect').weakMapMemoize;
28
+ memoize: typeof import('reselect').weakMapMemoize;
28
29
  };
29
30
  export declare const selectApiPath: ((state: {
30
- appConfig: import("./appConfig.slice").AppConfigState;
31
- runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
32
- rooms: Record<string, import("../..").RoomState>;
33
- devices: Record<string, import("../..").DeviceState>;
34
- ui: import("../..").UiConfigState;
31
+ appConfig: import('./appConfig.slice').AppConfigState;
32
+ runtimeConfig: import('../runtimeConfig/runtimeConfig.slice').RuntimeConfigState;
33
+ rooms: Record<string, import('../..').RoomState>;
34
+ devices: Record<string, import('../..').DeviceState>;
35
+ ui: import('../..').UiConfigState;
35
36
  }) => string) & {
36
37
  clearCache: () => void;
37
38
  resultsCount: () => number;
38
39
  resetResultsCount: () => void;
39
40
  } & {
40
- resultFunc: (resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => string;
41
- memoizedResultFunc: ((resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => string) & {
41
+ resultFunc: (resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => string;
42
+ memoizedResultFunc: ((resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => string) & {
42
43
  clearCache: () => void;
43
44
  resultsCount: () => number;
44
45
  resetResultsCount: () => void;
45
46
  };
46
47
  lastResult: () => string;
47
- dependencies: [(state: RootState) => import("./appConfig.slice").AppConfigState];
48
+ dependencies: [(state: RootState) => import('./appConfig.slice').AppConfigState];
48
49
  recomputations: () => number;
49
50
  resetRecomputations: () => void;
50
51
  dependencyRecomputations: () => number;
51
52
  resetDependencyRecomputations: () => void;
52
53
  } & {
53
- argsMemoize: typeof import("reselect").weakMapMemoize;
54
- memoize: typeof import("reselect").weakMapMemoize;
54
+ argsMemoize: typeof import('reselect').weakMapMemoize;
55
+ memoize: typeof import('reselect').weakMapMemoize;
55
56
  };
56
57
  export declare const selectLogoPath: ((state: {
57
- appConfig: import("./appConfig.slice").AppConfigState;
58
- runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
59
- rooms: Record<string, import("../..").RoomState>;
60
- devices: Record<string, import("../..").DeviceState>;
61
- ui: import("../..").UiConfigState;
58
+ appConfig: import('./appConfig.slice').AppConfigState;
59
+ runtimeConfig: import('../runtimeConfig/runtimeConfig.slice').RuntimeConfigState;
60
+ rooms: Record<string, import('../..').RoomState>;
61
+ devices: Record<string, import('../..').DeviceState>;
62
+ ui: import('../..').UiConfigState;
62
63
  }) => string) & {
63
64
  clearCache: () => void;
64
65
  resultsCount: () => number;
65
66
  resetResultsCount: () => void;
66
67
  } & {
67
- resultFunc: (resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => string;
68
- memoizedResultFunc: ((resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => string) & {
68
+ resultFunc: (resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => string;
69
+ memoizedResultFunc: ((resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => string) & {
69
70
  clearCache: () => void;
70
71
  resultsCount: () => number;
71
72
  resetResultsCount: () => void;
72
73
  };
73
74
  lastResult: () => string;
74
- dependencies: [(state: RootState) => import("./appConfig.slice").AppConfigState];
75
+ dependencies: [(state: RootState) => import('./appConfig.slice').AppConfigState];
75
76
  recomputations: () => number;
76
77
  resetRecomputations: () => void;
77
78
  dependencyRecomputations: () => number;
78
79
  resetDependencyRecomputations: () => void;
79
80
  } & {
80
- argsMemoize: typeof import("reselect").weakMapMemoize;
81
- memoize: typeof import("reselect").weakMapMemoize;
81
+ argsMemoize: typeof import('reselect').weakMapMemoize;
82
+ memoize: typeof import('reselect').weakMapMemoize;
82
83
  };
83
84
  export declare const selectPartnerMetadata: ((state: {
84
- appConfig: import("./appConfig.slice").AppConfigState;
85
- runtimeConfig: import("../runtimeConfig/runtimeConfig.slice").RuntimeConfigState;
86
- rooms: Record<string, import("../..").RoomState>;
87
- devices: Record<string, import("../..").DeviceState>;
88
- ui: import("../..").UiConfigState;
89
- }) => import("./appConfig.slice").PartnerMetadata[] | undefined) & {
85
+ appConfig: import('./appConfig.slice').AppConfigState;
86
+ runtimeConfig: import('../runtimeConfig/runtimeConfig.slice').RuntimeConfigState;
87
+ rooms: Record<string, import('../..').RoomState>;
88
+ devices: Record<string, import('../..').DeviceState>;
89
+ ui: import('../..').UiConfigState;
90
+ }) => import('./appConfig.slice').PartnerMetadata[] | undefined) & {
90
91
  clearCache: () => void;
91
92
  resultsCount: () => number;
92
93
  resetResultsCount: () => void;
93
94
  } & {
94
- resultFunc: (resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => import("./appConfig.slice").PartnerMetadata[] | undefined;
95
- memoizedResultFunc: ((resultFuncArgs_0: import("./appConfig.slice").AppConfigState) => import("./appConfig.slice").PartnerMetadata[] | undefined) & {
95
+ resultFunc: (resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => import('./appConfig.slice').PartnerMetadata[] | undefined;
96
+ memoizedResultFunc: ((resultFuncArgs_0: import('./appConfig.slice').AppConfigState) => import('./appConfig.slice').PartnerMetadata[] | undefined) & {
96
97
  clearCache: () => void;
97
98
  resultsCount: () => number;
98
99
  resetResultsCount: () => void;
99
100
  };
100
- lastResult: () => import("./appConfig.slice").PartnerMetadata[] | undefined;
101
- dependencies: [(state: RootState) => import("./appConfig.slice").AppConfigState];
101
+ lastResult: () => import('./appConfig.slice').PartnerMetadata[] | undefined;
102
+ dependencies: [(state: RootState) => import('./appConfig.slice').AppConfigState];
102
103
  recomputations: () => number;
103
104
  resetRecomputations: () => void;
104
105
  dependencyRecomputations: () => number;
105
106
  resetDependencyRecomputations: () => void;
106
107
  } & {
107
- argsMemoize: typeof import("reselect").weakMapMemoize;
108
- memoize: typeof import("reselect").weakMapMemoize;
108
+ argsMemoize: typeof import('reselect').weakMapMemoize;
109
+ memoize: typeof import('reselect').weakMapMemoize;
109
110
  };
110
111
  //# sourceMappingURL=appConfig.selectors.d.ts.map
@@ -1,4 +1,5 @@
1
1
  import { PayloadAction } from '@reduxjs/toolkit';
2
+
2
3
  export interface AppConfigState {
3
4
  config: AppConfig;
4
5
  }
@@ -24,25 +25,8 @@ export interface PartnerMetadata {
24
25
  description: string;
25
26
  logoPath: string;
26
27
  }
27
- export declare const appConfigActions: import("@reduxjs/toolkit").CaseReducerActions<{
28
- setAppConfig(state: {
29
- config: {
30
- enableDev: boolean;
31
- apiPath: string;
32
- gatewayAppPath: string;
33
- logoPath: string;
34
- iconSet: IconType;
35
- loginMode: string;
36
- modes: {
37
- [x: string]: unknown;
38
- };
39
- partnerMetadata?: {
40
- role: string;
41
- description: string;
42
- logoPath: string;
43
- }[] | undefined;
44
- };
45
- }, action: PayloadAction<AppConfig>): void;
28
+ export declare const appConfigActions: import('@reduxjs/toolkit').CaseReducerActions<{
29
+ setAppConfig(state: import('immer').WritableDraft<AppConfigState>, action: PayloadAction<AppConfig>): void;
46
30
  }, "appConfig">;
47
- export declare const appConfigReducer: import("redux").Reducer<AppConfigState>;
31
+ export declare const appConfigReducer: import('redux').Reducer<AppConfigState>;
48
32
  //# sourceMappingURL=appConfig.slice.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appConfig.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/appConfig/appConfig.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAwB9D,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAClC,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;CACrC;AAEH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,KAAK,CAAC;AAErD,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,gBAAgB;;;uBAnBd,OAAO;qBACT,MAAM;4BACC,MAAM;sBACZ,MAAM;qBACP,QAAQ;uBACN,MAAM;;;;;sBAQX,MAAM;6BACC,MAAM;0BACT,MAAM;;;eA9Be,cAAc,SAAS,CAAC;eAkCL,CAAC;AACvD,eAAO,MAAM,gBAAgB,yCAA0B,CAAC"}
1
+ {"version":3,"file":"appConfig.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/appConfig/appConfig.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAwB9D,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,QAAQ,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAClC,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;CACrC;AAEH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,KAAK,CAAC;AAErD,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,gBAAgB;+EAlCM,aAAa,CAAC,SAAS,CAAC;eAkCL,CAAC;AACvD,eAAO,MAAM,gBAAgB,yCAA0B,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { DeviceState } from '../..';
2
+
2
3
  /**
3
4
  * Selector for all devices
4
5
  * @returns Record<string, DeviceState>