@pepperdash/mobile-control-react-app-core 1.15.0 → 1.16.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 (87) hide show
  1. package/README.md +31 -22
  2. package/dist/mobile-control-react-app-core.es.js +387 -386
  3. package/dist/mobile-control-react-app-core.umd.js +9 -9
  4. package/dist/shared/hooks/interfaces/index.d.ts +4 -3
  5. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  6. package/dist/shared/hooks/interfaces/useAvrControl.d.ts +5 -0
  7. package/dist/shared/hooks/interfaces/useAvrControl.d.ts.map +1 -1
  8. package/dist/shared/hooks/interfaces/useCameraBase.d.ts +4 -0
  9. package/dist/shared/hooks/interfaces/useCameraBase.d.ts.map +1 -1
  10. package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts +8 -0
  11. package/dist/shared/hooks/interfaces/useDevicePresetsModel.d.ts.map +1 -0
  12. package/dist/shared/hooks/interfaces/useEndpoint.d.ts +5 -0
  13. package/dist/shared/hooks/interfaces/useEndpoint.d.ts.map +1 -1
  14. package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts +6 -0
  15. package/dist/shared/hooks/interfaces/useIBasicVolumeWithFeedback.d.ts.map +1 -1
  16. package/dist/shared/hooks/interfaces/{useIChannelMessenger.d.ts → useIChannel.d.ts} +7 -2
  17. package/dist/shared/hooks/interfaces/useIChannel.d.ts.map +1 -0
  18. package/dist/shared/hooks/interfaces/useIColor.d.ts +5 -0
  19. package/dist/shared/hooks/interfaces/useIColor.d.ts.map +1 -1
  20. package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts +5 -0
  21. package/dist/shared/hooks/interfaces/useICommunicationMonitor.d.ts.map +1 -1
  22. package/dist/shared/hooks/interfaces/useIDPad.d.ts +5 -0
  23. package/dist/shared/hooks/interfaces/useIDPad.d.ts.map +1 -1
  24. package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts +5 -0
  25. package/dist/shared/hooks/interfaces/useIDeviceInfoMessenger.d.ts.map +1 -1
  26. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +5 -0
  27. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
  28. package/dist/shared/hooks/interfaces/useIDvr.d.ts +5 -0
  29. package/dist/shared/hooks/interfaces/useIDvr.d.ts.map +1 -1
  30. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts +5 -0
  31. package/dist/shared/hooks/interfaces/useIEssentialsRoomCombiner.d.ts.map +1 -1
  32. package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts +5 -0
  33. package/dist/shared/hooks/interfaces/useIHasPowerControl.d.ts.map +1 -1
  34. package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts +2 -0
  35. package/dist/shared/hooks/interfaces/useIHasSelectableItems.d.ts.map +1 -1
  36. package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts +5 -0
  37. package/dist/shared/hooks/interfaces/useIHasSurroundChannels.d.ts.map +1 -1
  38. package/dist/shared/hooks/interfaces/useILevelControls.d.ts +5 -0
  39. package/dist/shared/hooks/interfaces/useILevelControls.d.ts.map +1 -1
  40. package/dist/shared/hooks/interfaces/useILightingScenes.d.ts +5 -0
  41. package/dist/shared/hooks/interfaces/useILightingScenes.d.ts.map +1 -1
  42. package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts +5 -0
  43. package/dist/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.d.ts.map +1 -1
  44. package/dist/shared/hooks/interfaces/useINumeric.d.ts +1 -1
  45. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts +5 -0
  46. package/dist/shared/hooks/interfaces/useIProjectorScreenLiftControl.d.ts.map +1 -1
  47. package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts +5 -0
  48. package/dist/shared/hooks/interfaces/useIRoomEventSchedule.d.ts.map +1 -1
  49. package/dist/shared/hooks/interfaces/useIRunDefaultPresentRoute.d.ts +6 -1
  50. package/dist/shared/hooks/interfaces/useIRunDefaultPresentRoute.d.ts.map +1 -1
  51. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +5 -0
  52. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -1
  53. package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts +6 -1
  54. package/dist/shared/hooks/interfaces/useIRunRouteAction.d.ts.map +1 -1
  55. package/dist/shared/hooks/interfaces/useISetTopBoxcontrols.d.ts +5 -0
  56. package/dist/shared/hooks/interfaces/useISetTopBoxcontrols.d.ts.map +1 -1
  57. package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts +5 -0
  58. package/dist/shared/hooks/interfaces/useIShadesOpenCloseStop.d.ts.map +1 -1
  59. package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +6 -1
  60. package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -1
  61. package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts +5 -0
  62. package/dist/shared/hooks/interfaces/useISwitchedOutput.d.ts.map +1 -1
  63. package/dist/shared/hooks/interfaces/useITechPassword.d.ts +6 -1
  64. package/dist/shared/hooks/interfaces/useITechPassword.d.ts.map +1 -1
  65. package/dist/shared/hooks/interfaces/useITheme.d.ts +5 -0
  66. package/dist/shared/hooks/interfaces/useITheme.d.ts.map +1 -1
  67. package/dist/shared/hooks/interfaces/useITransport.d.ts +5 -0
  68. package/dist/shared/hooks/interfaces/useITransport.d.ts.map +1 -1
  69. package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts +5 -0
  70. package/dist/shared/hooks/interfaces/useMobileControlTouchpanelController.d.ts.map +1 -1
  71. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts +5 -0
  72. package/dist/shared/hooks/interfaces/useTwoWayDisplayBase.d.ts.map +1 -1
  73. package/dist/types/state/state/DevicePresetsState.d.ts +10 -0
  74. package/dist/types/state/state/DevicePresetsState.d.ts.map +1 -0
  75. package/dist/types/state/state/index.d.ts +1 -2
  76. package/dist/types/state/state/index.d.ts.map +1 -1
  77. package/dist/utils/WebsocketProvider.d.ts +1 -1
  78. package/dist/utils/useWebsocketContext.d.ts +4 -0
  79. package/dist/utils/useWebsocketContext.d.ts.map +1 -1
  80. package/package.json +1 -1
  81. package/dist/shared/hooks/interfaces/useIChannelMessenger.d.ts.map +0 -1
  82. package/dist/shared/hooks/interfaces/useISurroundSoundModes.d.ts +0 -1
  83. package/dist/shared/hooks/interfaces/useISurroundSoundModes.d.ts.map +0 -1
  84. package/dist/types/state/state/PresetChannel.d.ts +0 -6
  85. package/dist/types/state/state/PresetChannel.d.ts.map +0 -1
  86. package/dist/types/state/state/TunerState.d.ts +0 -6
  87. package/dist/types/state/state/TunerState.d.ts.map +0 -1
@@ -1,8 +1,9 @@
1
1
  export * from "./interfaceNames";
2
2
  export * from "./useAvrControl";
3
+ export * from "./useDevicePresetsModel";
3
4
  export * from "./useEndpoint";
4
5
  export * from "./useIBasicVolumeWithFeedback";
5
- export * from "./useIChannelMessenger";
6
+ export * from "./useIChannel";
6
7
  export * from "./useIColor";
7
8
  export * from "./useICommunicationMonitor";
8
9
  export * from "./useIDPad";
@@ -19,6 +20,7 @@ export * from "./useIMcCiscoCodecUserInterfaceAppControl";
19
20
  export * from "./useINumeric";
20
21
  export * from "./useIProjectorScreenLiftControl";
21
22
  export * from "./useIRoomEventSchedule";
23
+ export * from "./useIRunDefaultPresentRoute";
22
24
  export * from "./useIRunDirectRouteAction";
23
25
  export * from "./useIRunRouteAction";
24
26
  export * from "./useISetTopBoxcontrols";
@@ -26,9 +28,8 @@ export * from "./useIShadesOpenCloseStop";
26
28
  export * from "./useIShutdownPromptTimer";
27
29
  export * from "./useISwitchedOutput";
28
30
  export * from "./useITechPassword";
31
+ export * from "./useITheme";
29
32
  export * from "./useITransport";
30
33
  export * from "./useMobileControlTouchpanelController";
31
34
  export * from "./useTwoWayDisplayBase";
32
- export * from "./useIRunDefaultPresentRoute";
33
- export * from "./useITheme";
34
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,eAAe,CAAC;AAC9B,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,eAAe,CAAC;AAC9B,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC"}
@@ -5,6 +5,11 @@ import { IBasicVolumeWithFeedbackReturn } from './useIBasicVolumeWithFeedback';
5
5
  import { IHasPowerWithFeedbackProps } from './useIHasPowerControl';
6
6
  import { IHasSelectableItemsReturn } from './useIHasSelectableItems';
7
7
  import { IHasSurroundChannelsReturn } from './useIHasSurroundChannels';
8
+ /**
9
+ * Provides a set of hooks to control an AVR device
10
+ * @param key key of the device
11
+ * @returns
12
+ */
8
13
  export declare function useAvrControl(key: string): AvrReturn | undefined;
9
14
  interface AvrReturn {
10
15
  avrState: PowerState;
@@ -1 +1 @@
1
- {"version":3,"file":"useAvrControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useAvrControl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AAEpG,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAuB,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,yBAAyB,EAA0B,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAA2B,MAAM,2BAA2B,CAAC;AAEhG,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAkBhE;AAED,UAAU,SAAS;IACf,QAAQ,EAAE,UAAU,CAAC;IACrB,YAAY,EAAE,0BAA0B,CAAC;IACzC,YAAY,EAAE,yBAAyB,CAAC,eAAe,CAAC,CAAC;IACzD,kBAAkB,EAAE,yBAAyB,CAAC,2BAA2B,CAAC,CAAC;IAC3E,gBAAgB,EAAE,0BAA0B,CAAC;IAC7C,iBAAiB,EAAE,8BAA8B,CAAC;CACrD"}
1
+ {"version":3,"file":"useAvrControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useAvrControl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,uDAAuD,CAAC;AAEpG,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAuB,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,yBAAyB,EAA0B,MAAM,0BAA0B,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAA2B,MAAM,2BAA2B,CAAC;AAGhG;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAkBhE;AAED,UAAU,SAAS;IACf,QAAQ,EAAE,UAAU,CAAC;IACrB,YAAY,EAAE,0BAA0B,CAAC;IACzC,YAAY,EAAE,yBAAyB,CAAC,eAAe,CAAC,CAAC;IACzD,kBAAkB,EAAE,yBAAyB,CAAC,2BAA2B,CAAC,CAAC;IAC3E,gBAAgB,EAAE,0BAA0B,CAAC;IAC7C,iBAAiB,EAAE,8BAA8B,CAAC;CACrD"}
@@ -1,4 +1,8 @@
1
1
  import { CameraState, PressHoldReleaseReturn } from 'src/lib';
2
+ /**
3
+ * Provides a set of hooks to control a device that extends the CameraBase class
4
+ * @param key key of the device
5
+ */
2
6
  export declare function useCameraBase(key: string): CameraBaseProps | undefined;
3
7
  export interface CameraBaseProps {
4
8
  state: CameraState;
@@ -1 +1 @@
1
- {"version":3,"file":"useCameraBase.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useCameraBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAqC,MAAM,SAAS,CAAC;AAIjG,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAmBtE;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,OAAO,EAAE,sBAAsB,CAAC;IAChC,EAAE,EAAE,sBAAsB,CAAC;IAC3B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C"}
1
+ {"version":3,"file":"useCameraBase.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useCameraBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,sBAAsB,EAAqC,MAAM,SAAS,CAAC;AAGjG;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAmBtE;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,OAAO,EAAE,sBAAsB,CAAC;IAChC,EAAE,EAAE,sBAAsB,CAAC;IAC3B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C"}
@@ -0,0 +1,8 @@
1
+ import { DevicePresetsState, PresetChannel } from 'src/lib';
2
+ export declare function useIDevicePresetsModel(key: string): IDevicePresetsModelProps | undefined;
3
+ export interface IDevicePresetsModelProps {
4
+ state: DevicePresetsState;
5
+ recallPreset: (deviceKey: string, preset: PresetChannel) => void;
6
+ savePresets: (presets: PresetChannel[]) => void;
7
+ }
8
+ //# sourceMappingURL=useDevicePresetsModel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDevicePresetsModel.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useDevicePresetsModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAgB,MAAM,SAAS,CAAC;AAI1E,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAiBxF;AAED,MAAM,WAAW,wBAAwB;IACrC,KAAK,EAAE,kBAAkB,CAAC;IAC1B,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IACjE,WAAW,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;CACnD"}
@@ -1,4 +1,9 @@
1
1
  import { EndpointState } from 'src/lib/types/state/state/endpointState/endpointState';
2
+ /**
3
+ * A hook that provides access to the endpoint state
4
+ * @param key the key of the endpoint
5
+ * @returns
6
+ */
2
7
  export declare function useEndpoint(key: string): IEndpointReturn | undefined;
3
8
  export interface IEndpointReturn {
4
9
  endpointState: EndpointState;
@@ -1 +1 @@
1
- {"version":3,"file":"useEndpoint.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useEndpoint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AAGtF,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAOpE;AAED,MAAM,WAAW,eAAe;IAC5B,aAAa,EAAE,aAAa,CAAC;CAChC"}
1
+ {"version":3,"file":"useEndpoint.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useEndpoint.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,uDAAuD,CAAC;AAEtF;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAOpE;AAED,MAAM,WAAW,eAAe;IAC5B,aAAa,EAAE,aAAa,CAAC;CAChC"}
@@ -1,5 +1,11 @@
1
1
  import { Volume } from "src/lib/types";
2
2
  import { PressHoldReleaseReturn } from "../usePressHoldRelease";
3
+ /**
4
+ * hook to control a volume device that implements the IBasicVolumeWithFeedback interface
5
+ * @param path path prefix to for the device. i.e. /device/{key} or /room/{key}
6
+ * @param volumeState
7
+ * @returns
8
+ */
3
9
  export declare function useIBasicVolumeWithFeedback(path: string, volumeState: Volume | undefined): IBasicVolumeWithFeedbackReturn | undefined;
4
10
  export interface IBasicVolumeWithFeedbackReturn {
5
11
  volumeState: Volume;
@@ -1 +1 @@
1
- {"version":3,"file":"useIBasicVolumeWithFeedback.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIBasicVolumeWithFeedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAGvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAC5C,8BAA8B,GAAG,SAAS,CA0B5C;AAED,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,sBAAsB,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAC5C,8BAA8B,GAAG,SAAS,CA0B5C"}
1
+ {"version":3,"file":"useIBasicVolumeWithFeedback.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIBasicVolumeWithFeedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAGvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAC5C,8BAA8B,GAAG,SAAS,CA0B5C;AAED,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,sBAAsB,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAGD,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAC5C,8BAA8B,GAAG,SAAS,CA0B5C"}
@@ -1,5 +1,10 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
- export declare function useIChannelMessenger(key: string): IChannelMessengerProps | undefined;
2
+ /**
3
+ * hook to control a channel messenger device that implements the IChannelMessenger interface
4
+ * @param key the key of the device
5
+ * @returns
6
+ */
7
+ export declare function useIChannel(key: string): IChannelMessengerProps | undefined;
3
8
  export interface IChannelMessengerProps {
4
9
  channelUp: PressHoldReleaseReturn;
5
10
  channelDown: PressHoldReleaseReturn;
@@ -8,4 +13,4 @@ export interface IChannelMessengerProps {
8
13
  info: PressHoldReleaseReturn;
9
14
  exit: PressHoldReleaseReturn;
10
15
  }
11
- //# sourceMappingURL=useIChannelMessenger.d.ts.map
16
+ //# sourceMappingURL=useIChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIChannel.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIChannel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB,GAAG,SAAS,CAiB3E;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,sBAAsB,CAAC;IAClC,WAAW,EAAE,sBAAsB,CAAC;IACpC,WAAW,EAAE,sBAAsB,CAAC;IACpC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,sBAAsB,CAAC;CAC9B"}
@@ -1,4 +1,9 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+ /**
3
+ * hook to control a device that implements the IColor interface
4
+ * @param key
5
+ * @returns
6
+ */
2
7
  export declare function useIColor(key: string): IColorProps | undefined;
3
8
  export interface IColorProps {
4
9
  red: PressHoldReleaseReturn;
@@ -1 +1 @@
1
- {"version":3,"file":"useIColor.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIColor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAY9D;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,sBAAsB,CAAC;IAC5B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,IAAI,EAAE,sBAAsB,CAAC;CAC9B"}
1
+ {"version":3,"file":"useIColor.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIColor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAY9D;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,sBAAsB,CAAC;IAC5B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,IAAI,EAAE,sBAAsB,CAAC;CAC9B"}
@@ -1,4 +1,9 @@
1
1
  import { CommunicationMonitorState } from 'src/lib';
2
+ /**
3
+ * hook to control a device that implements the ICommunicationMonitor interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useICommunicationMonitor(key: string): ICommunicationMonitorReturn | undefined;
3
8
  export interface ICommunicationMonitorReturn {
4
9
  communicationMonitorState: CommunicationMonitorState;
@@ -1 +1 @@
1
- {"version":3,"file":"useICommunicationMonitor.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useICommunicationMonitor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAgB,MAAM,SAAS,CAAC;AAElE,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,GAAG,SAAS,CAQ7F;AAED,MAAM,WAAW,2BAA2B;IAC1C,yBAAyB,EAAE,yBAAyB,CAAC;CACtD"}
1
+ {"version":3,"file":"useICommunicationMonitor.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useICommunicationMonitor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAgB,MAAM,SAAS,CAAC;AAGlE;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,2BAA2B,GAAG,SAAS,CAQ7F;AAED,MAAM,WAAW,2BAA2B;IAC1C,yBAAyB,EAAE,yBAAyB,CAAC;CACtD"}
@@ -1,4 +1,9 @@
1
1
  import { PressHoldReleaseReturn } from "../usePressHoldRelease";
2
+ /**
3
+ * hook to control a device that implements the IDPad interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIDPad(key: string): IDPadProps | undefined;
3
8
  export interface IDPadProps {
4
9
  up: PressHoldReleaseReturn;
@@ -1 +1 @@
1
- {"version":3,"file":"useIDPad.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDPad.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAY5D;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,sBAAsB,CAAC;IAC3B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,sBAAsB,CAAC;CAC9B"}
1
+ {"version":3,"file":"useIDPad.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDPad.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAY5D;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,sBAAsB,CAAC;IAC3B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,MAAM,EAAE,sBAAsB,CAAC;IAC/B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,sBAAsB,CAAC;CAC9B"}
@@ -1,3 +1,8 @@
1
1
  import { DeviceInfo } from 'src/lib';
2
+ /**
3
+ * hook that returns the info for a device that implements the IDeviceInfo interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIDeviceInfoMessenger(key: string): DeviceInfo | undefined;
3
8
  //# sourceMappingURL=useIDeviceInfoMessenger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIDeviceInfoMessenger.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDeviceInfoMessenger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiC,MAAM,SAAS,CAAC;AAGpE,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAO3E"}
1
+ {"version":3,"file":"useIDeviceInfoMessenger.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDeviceInfoMessenger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiC,MAAM,SAAS,CAAC;AAEpE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAO3E"}
@@ -1,4 +1,9 @@
1
1
  import { IKeyName } from 'src/lib';
2
+ /**
3
+ * hook to control a device that implements the IDspPresets interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIDspPresets(key: string): {
3
8
  recallPreset: (preset: IKeyName) => void;
4
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useIDspPresets.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDspPresets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAuB,MAAM,SAAS,CAAC;AAExD,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM;2BAGR,QAAQ;EAKzC"}
1
+ {"version":3,"file":"useIDspPresets.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDspPresets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAuB,MAAM,SAAS,CAAC;AAExD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM;2BAGR,QAAQ;EAKzC"}
@@ -1,4 +1,9 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+ /**
3
+ * hook to control a device that implements the IDvr interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIDvr(key: string): IDvrProps | undefined;
3
8
  interface IDvrProps {
4
9
  dvrList: PressHoldReleaseReturn;
@@ -1 +1 @@
1
- {"version":3,"file":"useIDvr.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDvr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAS1D;AAED,UAAU,SAAS;IACjB,OAAO,EAAE,sBAAsB,CAAC;IAChC,MAAM,EAAE,sBAAsB,CAAC;CAChC"}
1
+ {"version":3,"file":"useIDvr.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIDvr.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAS1D;AAED,UAAU,SAAS;IACjB,OAAO,EAAE,sBAAsB,CAAC;IAChC,MAAM,EAAE,sBAAsB,CAAC;CAChC"}
@@ -1,4 +1,9 @@
1
1
  import { IEssentialsRoomCombinerState } from 'src/lib/types/state/state/IEssentialsRoomCombinerState';
2
+ /**
3
+ * hook to control a device that implements the IEssentialsRoomCombiner interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIEssentialsRoomCombiner(key: string): IEssentialsRoomCombinerReturn | undefined;
3
8
  export interface IEssentialsRoomCombinerReturn {
4
9
  roomCombinerState: IEssentialsRoomCombinerState;
@@ -1 +1 @@
1
- {"version":3,"file":"useIEssentialsRoomCombiner.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIEssentialsRoomCombiner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAGtG,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,6BAA6B,GAAG,SAAS,CA2BjG;AAED,MAAM,WAAW,6BAA6B;IAC5C,iBAAiB,EAAE,4BAA4B,CAAC;IAChD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,oBAAoB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,0BAA0B,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3D"}
1
+ {"version":3,"file":"useIEssentialsRoomCombiner.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIEssentialsRoomCombiner.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAGtG;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAG,6BAA6B,GAAG,SAAS,CA2BjG;AAED,MAAM,WAAW,6BAA6B;IAC5C,iBAAiB,EAAE,4BAA4B,CAAC;IAChD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,oBAAoB,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,0BAA0B,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3D"}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * hook to control a device that implements the IHasPowerControl interface
3
+ * @param key key of the device
4
+ * @returns
5
+ */
1
6
  export declare function useIHasPowerControl(key: string): IHasPowerWithFeedbackProps;
2
7
  export interface IHasPowerWithFeedbackProps {
3
8
  powerOn: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useIHasPowerControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIHasPowerControl.ts"],"names":[],"mappings":"AAEA,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,CAgB3E;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB"}
1
+ {"version":3,"file":"useIHasPowerControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIHasPowerControl.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,CAgB3E;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB"}
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * Hook for devices that have selectable items
3
3
  * TState is the type of the expected state of the device
4
+ * @param key key of the device
5
+ * @returns
4
6
  */
5
7
  export declare function useIHasSelectableItems<TState>(key: string): IHasSelectableItemsReturn<TState> | undefined;
6
8
  export interface IHasSelectableItemsReturn<TState> {
@@ -1 +1 @@
1
- {"version":3,"file":"useIHasSelectableItems.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIHasSelectableItems.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC,GAAG,SAAS,CAazG;AAED,MAAM,WAAW,yBAAyB,CAAC,MAAM;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC"}
1
+ {"version":3,"file":"useIHasSelectableItems.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIHasSelectableItems.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,yBAAyB,CAAC,MAAM,CAAC,GAAG,SAAS,CAazG;AAED,MAAM,WAAW,yBAAyB,CAAC,MAAM;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC"}
@@ -1,4 +1,9 @@
1
1
  import { Volume } from 'src/lib';
2
+ /**
3
+ * hook to control a device that implements the IHasSurroundChannels interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIHasSurroundChannels(key: string): IHasSurroundChannelsReturn | undefined;
3
8
  export interface IHasSurroundChannelsReturn {
4
9
  levelControls: Record<string, Volume>;
@@ -1 +1 @@
1
- {"version":3,"file":"useIHasSurroundChannels.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIHasSurroundChannels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,EAAgB,MAAM,SAAS,CAAC;AAInE,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAsB3F;AAED,MAAM,WAAW,0BAA0B;IAEzC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B"}
1
+ {"version":3,"file":"useIHasSurroundChannels.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIHasSurroundChannels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,EAAgB,MAAM,SAAS,CAAC;AAGnE;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAsB3F;AAED,MAAM,WAAW,0BAA0B;IAEzC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B"}
@@ -1,4 +1,9 @@
1
1
  import { LevelControlsState } from 'src/lib/types/state/state/LevelControlsState';
2
+ /**
3
+ * hook that controls a device that implements the ILevelControls interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useILevelControls(key: string): ILevelControlsReturn | undefined;
3
8
  export interface ILevelControlsReturn {
4
9
  levelState: LevelControlsState;
@@ -1 +1 @@
1
- {"version":3,"file":"useILevelControls.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useILevelControls.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAIlF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAyB/E;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC"}
1
+ {"version":3,"file":"useILevelControls.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useILevelControls.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAGlF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAyB/E;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC"}
@@ -1,4 +1,9 @@
1
1
  import { LightingScene, LightingState } from 'src/lib/types';
2
+ /**
3
+ * hook to control a device that implements the ILightingScenes interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useILightingScenes(key: string): ILightingScenesReturn | undefined;
3
8
  export interface ILightingScenesReturn {
4
9
  lightingState: LightingState;
@@ -1 +1 @@
1
- {"version":3,"file":"useILightingScenes.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useILightingScenes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG7D,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAWjF;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC7C"}
1
+ {"version":3,"file":"useILightingScenes.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useILightingScenes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG7D;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAWjF;AAED,MAAM,WAAW,qBAAqB;IACpC,aAAa,EAAE,aAAa,CAAC;IAC7B,WAAW,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC7C"}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * hook to control a device that implements the IMcCiscoCodecUserInterfaceAppControl interface
3
+ * @param key key of the device
4
+ * @returns
5
+ */
1
6
  export declare function useIMcCiscoCodecUserInterfaceAppControl(key: string): {
2
7
  closeApp: () => void;
3
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useIMcCiscoCodecUserInterfaceAppControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.ts"],"names":[],"mappings":"AAEA,wBAAgB,uCAAuC,CAAC,GAAG,EAAE,MAAM;;EAQlE"}
1
+ {"version":3,"file":"useIMcCiscoCodecUserInterfaceAppControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIMcCiscoCodecUserInterfaceAppControl.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,uCAAuC,CAAC,GAAG,EAAE,MAAM;;EAQlE"}
@@ -1,6 +1,6 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
2
  /**
3
- * hook to return the functions to trigger for a numeric keypad
3
+ * hook to return the functions to trigger for a numeric keypad for a device that implements the INumeric interface
4
4
  * @param key device key
5
5
  * @returns
6
6
  */
@@ -1,4 +1,9 @@
1
1
  import { IProjectorScreenLiftControlState } from 'src/lib';
2
+ /**
3
+ * hook to control a device that implements the IProjectorScreenLiftControl interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIProjectorScreenLiftControl(key: string): IProjectorScreenLiftControlReturn | undefined;
3
8
  export interface IProjectorScreenLiftControlReturn {
4
9
  projectorScreenLiftControlState: IProjectorScreenLiftControlState;
@@ -1 +1 @@
1
- {"version":3,"file":"useIProjectorScreenLiftControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIProjectorScreenLiftControl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAqC,MAAM,SAAS,CAAC;AAG9F,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,MAAM,GAAG,iCAAiC,GAAG,SAAS,CAezG;AAED,MAAM,WAAW,iCAAiC;IAC9C,+BAA+B,EAAE,gCAAgC,CAAC;IAClE,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB"}
1
+ {"version":3,"file":"useIProjectorScreenLiftControl.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIProjectorScreenLiftControl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAqC,MAAM,SAAS,CAAC;AAE9F;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,MAAM,GAAG,iCAAiC,GAAG,SAAS,CAezG;AAED,MAAM,WAAW,iCAAiC;IAC9C,+BAA+B,EAAE,gCAAgC,CAAC;IAClE,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB"}
@@ -1,4 +1,9 @@
1
1
  import { ScheduleEvent, ScheduleState } from 'src/lib';
2
+ /**
3
+ * hook to control a device that implements the IRoomEventSchedule interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIRoomEventSchedule(key: string): IRoomEventScheduleReturn | undefined;
3
8
  export interface IRoomEventScheduleReturn {
4
9
  roomEventScheduleState: ScheduleState;
@@ -1 +1 @@
1
- {"version":3,"file":"useIRoomEventSchedule.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRoomEventSchedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAgB,MAAM,SAAS,CAAC;AAGrE,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAWvF;AAED,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,aAAa,CAAC;IACtC,IAAI,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;CAC3C"}
1
+ {"version":3,"file":"useIRoomEventSchedule.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRoomEventSchedule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAgB,MAAM,SAAS,CAAC;AAIrE;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAWvF;AAED,MAAM,WAAW,wBAAwB;IACrC,sBAAsB,EAAE,aAAa,CAAC;IACtC,IAAI,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;CAC3C"}
@@ -1,4 +1,9 @@
1
- export declare function useIRunDefaultPresentRoute(key: string): IRunDefaultPresentRouteProps;
1
+ /**
2
+ * hook to control a room that implements the IRunDefaultPresentRoute interface
3
+ * @param roomKey key of the room
4
+ * @returns
5
+ */
6
+ export declare function useIRunDefaultPresentRoute(roomKey: string): IRunDefaultPresentRouteProps;
2
7
  export interface IRunDefaultPresentRouteProps {
3
8
  runDefaultPresentRoute: () => void;
4
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useIRunDefaultPresentRoute.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRunDefaultPresentRoute.ts"],"names":[],"mappings":"AAEA,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,MAAM,GAAE,4BAA4B,CAQnF;AAED,MAAM,WAAW,4BAA4B;IAC3C,sBAAsB,EAAE,MAAM,IAAI,CAAC;CACpC"}
1
+ {"version":3,"file":"useIRunDefaultPresentRoute.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRunDefaultPresentRoute.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAE,4BAA4B,CAQvF;AAED,MAAM,WAAW,4BAA4B;IAC3C,sBAAsB,EAAE,MAAM,IAAI,CAAC;CACpC"}
@@ -1,3 +1,8 @@
1
+ /**
2
+ *
3
+ * @param roomKey key of the room
4
+ * @returns
5
+ */
1
6
  export declare function useIRunDirectRouteAction(roomKey: string): IRunDirectRouteActionProps;
2
7
  interface IRunDirectRouteActionProps {
3
8
  runDirectRoute: (route: DirectRoute) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useIRunDirectRouteAction.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRunDirectRouteAction.ts"],"names":[],"mappings":"AAEA,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,0BAA0B,CAQpF;AAED,UAAU,0BAA0B;IAChC,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CAChD;AAED,UAAU,WAAW;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CAC1B;AAED,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"useIRunDirectRouteAction.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRunDirectRouteAction.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,0BAA0B,CAQpF;AAED,UAAU,0BAA0B;IAChC,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CAChD;AAED,UAAU,WAAW;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CAC1B;AAED,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,WAAW,GAAG,UAAU,CAAC"}
@@ -1,5 +1,10 @@
1
1
  import { RoutingState } from 'src/lib/types';
2
- export declare function useIRunRouteAction(key: string): IRunRouteActionProps | undefined;
2
+ /**
3
+ * hook to control a room that implements the IRunRouteAction interface
4
+ * @param roomKey key of the room
5
+ * @returns
6
+ */
7
+ export declare function useIRunRouteAction(roomKey: string): IRunRouteActionProps | undefined;
3
8
  export interface IRunRouteActionProps {
4
9
  routingState: RoutingState | undefined;
5
10
  runRoute: (request: RouteRequest) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useIRunRouteAction.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRunRouteAction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAShF;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,YAAY,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
1
+ {"version":3,"file":"useIRunRouteAction.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRunRouteAction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAG7C;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CASpF;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,YAAY,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,4 +1,9 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+ /**
3
+ * hook to control a device that implements the ISetTopBoxControls interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useISetTopBoxControls(key: string): ISetTopBoxControlsProps;
3
8
  interface ISetTopBoxControlsProps {
4
9
  dvrList: PressHoldReleaseReturn;
@@ -1 +1 @@
1
- {"version":3,"file":"useISetTopBoxcontrols.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useISetTopBoxcontrols.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAS1E;AAED,UAAU,uBAAuB;IAC/B,OAAO,EAAE,sBAAsB,CAAC;IAChC,MAAM,EAAE,sBAAsB,CAAC;CAChC"}
1
+ {"version":3,"file":"useISetTopBoxcontrols.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useISetTopBoxcontrols.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAS1E;AAED,UAAU,uBAAuB;IAC/B,OAAO,EAAE,sBAAsB,CAAC;IAChC,MAAM,EAAE,sBAAsB,CAAC;CAChC"}
@@ -1,4 +1,9 @@
1
1
  import { ShadeState } from 'src/lib/types';
2
+ /**
3
+ * hook that controls a device that implements the IShadesOpenCloseStop interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useIShadesOpenCloseStop(key: string): IShadesOpenCloseStopProps | undefined;
3
8
  export interface IShadesOpenCloseStopProps {
4
9
  shadeState: ShadeState;
@@ -1 +1 @@
1
- {"version":3,"file":"useIShadesOpenCloseStop.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIShadesOpenCloseStop.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAmB1F;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B"}
1
+ {"version":3,"file":"useIShadesOpenCloseStop.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIShadesOpenCloseStop.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAmB1F;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B"}
@@ -1,5 +1,10 @@
1
1
  import { IShutdownPromptTimerState } from 'src/lib/types/state/state/IShutdownPromptTimerState';
2
- export declare function useIShutdownPromptTimer(key: string): IShutdownPromptTimerReturn | undefined;
2
+ /**
3
+ * hook that controls a room that implements the IShutdownPromptTimer interface
4
+ * @param roomKey key of the room
5
+ * @returns
6
+ */
7
+ export declare function useIShutdownPromptTimer(roomKey: string): IShutdownPromptTimerReturn | undefined;
3
8
  export interface IShutdownPromptTimerReturn {
4
9
  shutdownPromptTimerState: IShutdownPromptTimerState;
5
10
  setShutdownPromptSeconds: (time: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useIShutdownPromptTimer.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIShutdownPromptTimer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAGhG,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAuB3F;AAED,MAAM,WAAW,0BAA0B;IACvC,wBAAwB,EAAE,yBAAyB,CAAC;IACpD,wBAAwB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,MAAM,MAAM,8BAA8B,GAAG,cAAc,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"useIShutdownPromptTimer.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIShutdownPromptTimer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAGhG;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAuB/F;AAED,MAAM,WAAW,0BAA0B;IACvC,wBAAwB,EAAE,yBAAyB,CAAC;IACpD,wBAAwB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,MAAM,MAAM,8BAA8B,GAAG,cAAc,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
@@ -1,4 +1,9 @@
1
1
  import { SwitchedOutputState } from 'src/lib/types';
2
+ /**
3
+ * hook that controls a device that implements the ISwitchedOutput interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useISwitchedOutput(key: string): ISwitchedOutputReturn | undefined;
3
8
  export interface ISwitchedOutputReturn {
4
9
  switchedOutputState: SwitchedOutputState;
@@ -1 +1 @@
1
- {"version":3,"file":"useISwitchedOutput.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useISwitchedOutput.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAIpD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAejF;AAED,MAAM,WAAW,qBAAqB;IAClC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,EAAE,EAAE,MAAM,IAAI,CAAC;IACf,GAAG,EAAE,MAAM,IAAI,CAAC;CACnB"}
1
+ {"version":3,"file":"useISwitchedOutput.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useISwitchedOutput.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAGpD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAejF;AAED,MAAM,WAAW,qBAAqB;IAClC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,EAAE,EAAE,MAAM,IAAI,CAAC;IACf,GAAG,EAAE,MAAM,IAAI,CAAC;CACnB"}
@@ -1,5 +1,10 @@
1
1
  import { ITechPasswordState } from 'src/lib/types/state/state/ITechPasswordState';
2
- export declare function useITechPassword(key: string): ITechPasswordReturn | undefined;
2
+ /**
3
+ * hook that controls a room that implements the ITechPassword interface
4
+ * @param roomKey key of the room
5
+ * @returns
6
+ */
7
+ export declare function useITechPassword(roomKey: string): ITechPasswordReturn | undefined;
3
8
  export interface ITechPasswordReturn {
4
9
  techPasswordState: ITechPasswordState;
5
10
  validatePassword: (password: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useITechPassword.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useITechPassword.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAIlF,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAe7E;AAED,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,WAAW,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACjE;AAED,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,GAAG,0BAA0B,CAAC"}
1
+ {"version":3,"file":"useITechPassword.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useITechPassword.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAGlF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAejF;AAED,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,EAAE,kBAAkB,CAAC;IACtC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,WAAW,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;CACjE;AAED,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,GAAG,0BAA0B,CAAC"}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * hook that controls a device that implements the ITheme interface
3
+ * @param touchpanelKey key of the touchpanel
4
+ * @returns
5
+ */
1
6
  export declare function useITheme(touchpanelKey: string): IThemeReturn;
2
7
  interface IThemeReturn {
3
8
  currentTheme?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useITheme.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useITheme.ts"],"names":[],"mappings":"AAIA,wBAAgB,SAAS,CAAC,aAAa,EAAE,MAAM,GAAE,YAAY,CAY5D;AAED,UAAU,YAAY;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC"}
1
+ {"version":3,"file":"useITheme.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useITheme.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,aAAa,EAAE,MAAM,GAAE,YAAY,CAY5D;AAED,UAAU,YAAY;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC"}
@@ -1,4 +1,9 @@
1
1
  import { PressHoldReleaseReturn } from '../usePressHoldRelease';
2
+ /**
3
+ * hook that controls a device that implements the ITransport interface
4
+ * @param key key of the device
5
+ * @returns
6
+ */
2
7
  export declare function useITransport(key: string): ITransportProps | undefined;
3
8
  interface ITransportProps {
4
9
  play: PressHoldReleaseReturn;
@@ -1 +1 @@
1
- {"version":3,"file":"useITransport.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useITransport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAoBtE;AAED,UAAU,eAAe;IACvB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,SAAS,EAAE,sBAAsB,CAAC;IAClC,SAAS,EAAE,sBAAsB,CAAC;IAClC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,WAAW,EAAE,sBAAsB,CAAC;IACpC,MAAM,EAAE,sBAAsB,CAAC;CAChC"}
1
+ {"version":3,"file":"useITransport.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useITransport.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAoBtE;AAED,UAAU,eAAe;IACvB,IAAI,EAAE,sBAAsB,CAAC;IAC7B,KAAK,EAAE,sBAAsB,CAAC;IAC9B,IAAI,EAAE,sBAAsB,CAAC;IAC7B,SAAS,EAAE,sBAAsB,CAAC;IAClC,SAAS,EAAE,sBAAsB,CAAC;IAClC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,WAAW,EAAE,sBAAsB,CAAC;IACpC,MAAM,EAAE,sBAAsB,CAAC;CAChC"}