@pepperdash/mobile-control-react-app-core 1.20.17 → 1.21.0-1.21.0-feature-useCameraBase-and-onPressedButNotHeld.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/mobile-control-react-app-core.es.js +381 -317
  2. package/dist/mobile-control-react-app-core.umd.js +9 -9
  3. package/dist/shared/hooks/interfaces/index.d.ts +37 -35
  4. package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
  5. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -1
  6. package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
  7. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +7 -0
  8. package/dist/shared/hooks/interfaces/useIHasCameras.d.ts.map +1 -0
  9. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +1 -1
  10. package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -1
  11. package/dist/store/index.d.ts +5 -0
  12. package/dist/store/index.d.ts.map +1 -1
  13. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +0 -16
  14. package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
  15. package/dist/types/interfaces/IKeyName.d.ts +0 -1
  16. package/dist/types/interfaces/IKeyName.d.ts.map +1 -1
  17. package/dist/types/state/DestinationListItem.d.ts +113 -0
  18. package/dist/types/state/DestinationListItem.d.ts.map +1 -1
  19. package/dist/types/state/LevelControlListItem.d.ts +1 -1
  20. package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
  21. package/dist/types/state/PresetListItem.d.ts +1 -1
  22. package/dist/types/state/PresetListItem.d.ts.map +1 -1
  23. package/dist/types/state/environment/index.d.ts +9 -0
  24. package/dist/types/state/environment/index.d.ts.map +1 -0
  25. package/dist/types/state/index.d.ts +12 -3
  26. package/dist/types/state/index.d.ts.map +1 -1
  27. package/dist/types/state/sourceListItem.d.ts +137 -0
  28. package/dist/types/state/sourceListItem.d.ts.map +1 -1
  29. package/dist/types/state/state/DeviceState.d.ts +0 -5
  30. package/dist/types/state/state/DeviceState.d.ts.map +1 -1
  31. package/dist/types/state/state/DisplayState.d.ts +98 -5
  32. package/dist/types/state/state/DisplayState.d.ts.map +1 -1
  33. package/dist/types/state/state/ICurrentSourcesState.d.ts +19 -0
  34. package/dist/types/state/state/ICurrentSourcesState.d.ts.map +1 -0
  35. package/dist/types/state/state/IHasCamerasState.d.ts +10 -0
  36. package/dist/types/state/state/IHasCamerasState.d.ts.map +1 -0
  37. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +14 -2
  38. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts.map +1 -1
  39. package/dist/types/state/state/IHasSelectableItemsState.d.ts +2 -1
  40. package/dist/types/state/state/IHasSelectableItemsState.d.ts.map +1 -1
  41. package/dist/types/state/state/MatrixRoutingState.d.ts +1 -1
  42. package/dist/types/state/state/MatrixRoutingState.d.ts.map +1 -1
  43. package/dist/types/state/state/RoomState.d.ts +2 -2
  44. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  45. package/dist/types/state/state/RoutingState.d.ts +1 -1
  46. package/dist/types/state/state/RoutingState.d.ts.map +1 -1
  47. package/dist/types/state/state/index.d.ts +4 -2
  48. package/dist/types/state/state/index.d.ts.map +1 -1
  49. package/dist/types/state/volume/index.d.ts +10 -0
  50. package/dist/types/state/volume/index.d.ts.map +1 -0
  51. package/dist/types/state/volume/volumes.d.ts +0 -1
  52. package/dist/types/state/volume/volumes.d.ts.map +1 -1
  53. package/dist/utils/WebsocketContext.d.ts +1 -2
  54. package/dist/utils/WebsocketContext.d.ts.map +1 -1
  55. package/dist/utils/WebsocketProvider.d.ts +1 -1
  56. package/dist/utils/WebsocketProvider.d.ts.map +1 -1
  57. package/dist/utils/index.d.ts +3 -2
  58. package/dist/utils/index.d.ts.map +1 -1
  59. package/dist/utils/useWebsocketContext.d.ts.map +1 -1
  60. package/package.json +6 -3
  61. package/dist/types/state/state/CamerasState.d.ts +0 -13
  62. package/dist/types/state/state/CamerasState.d.ts.map +0 -1
  63. /package/dist/{mobile-control-react-app-core.css → style.css} +0 -0
@@ -1,37 +1,39 @@
1
- export * from "./interfaceNames";
2
- export * from "./useAvrControl";
3
- export * from "./useDevicePresetsModel";
4
- export * from "./useEndpoint";
5
- export * from "./useIBasicVolumeWithFeedback";
6
- export * from "./useIChannel";
7
- export * from "./useIColor";
8
- export * from "./useICommunicationMonitor";
9
- export * from "./useIDeviceInfoMessenger";
10
- export * from "./useIDPad";
1
+ export * from './interfaceNames';
2
+ export * from './useAvrControl';
3
+ export * from './useCameraBase';
4
+ export * from './useDevicePresetsModel';
5
+ export * from './useEndpoint';
6
+ export * from './useIBasicVolumeWithFeedback';
7
+ export * from './useIChannel';
8
+ export * from './useIColor';
9
+ export * from './useICommunicationMonitor';
10
+ export * from './useIDeviceInfoMessenger';
11
+ export * from './useIDPad';
11
12
  export * from './useIDspPresets';
12
- export * from "./useIDvr";
13
- export * from "./useIEssentialsRoomCombiner";
14
- export * from "./useIHasPowerControl";
15
- export * from "./useIHasSelectableItems";
16
- export * from "./useIHumiditySensor";
17
- export * from "./useILevelControls";
18
- export * from "./useILightingScenes";
19
- export * from "./useIMatrixRouting";
20
- export * from "./useIMcCiscoCodecUserInterfaceAppControl";
21
- export * from "./useINumeric";
22
- export * from "./useIProjectorScreenLiftControl";
23
- export * from "./useIRoomEventSchedule";
24
- export * from "./useIRunDefaultPresentRoute";
25
- export * from "./useIRunDirectRouteAction";
26
- export * from "./useIRunRouteAction";
27
- export * from "./useISetTopBoxcontrols";
28
- export * from "./useIShadesOpenCloseStop";
29
- export * from "./useIShutdownPromptTimer";
30
- export * from "./useISwitchedOutput";
31
- export * from "./useITechPassword";
32
- export * from "./useITemperatureSensor";
33
- export * from "./useITheme";
34
- export * from "./useITransport";
35
- export * from "./useMobileControlTouchpanelController";
36
- export * from "./useTwoWayDisplayBase";
13
+ export * from './useIDvr';
14
+ export * from './useIEssentialsRoomCombiner';
15
+ export * from './useIHasCameras';
16
+ export * from './useIHasPowerControl';
17
+ export * from './useIHasSelectableItems';
18
+ export * from './useIHumiditySensor';
19
+ export * from './useILevelControls';
20
+ export * from './useILightingScenes';
21
+ export * from './useIMatrixRouting';
22
+ export * from './useIMcCiscoCodecUserInterfaceAppControl';
23
+ export * from './useINumeric';
24
+ export * from './useIProjectorScreenLiftControl';
25
+ export * from './useIRoomEventSchedule';
26
+ export * from './useIRunDefaultPresentRoute';
27
+ export * from './useIRunDirectRouteAction';
28
+ export * from './useIRunRouteAction';
29
+ export * from './useISetTopBoxcontrols';
30
+ export * from './useIShadesOpenCloseStop';
31
+ export * from './useIShutdownPromptTimer';
32
+ export * from './useISwitchedOutput';
33
+ export * from './useITechPassword';
34
+ export * from './useITemperatureSensor';
35
+ export * from './useITheme';
36
+ export * from './useITransport';
37
+ export * from './useMobileControlTouchpanelController';
38
+ export * from './useTwoWayDisplayBase';
37
39
  //# 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,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,2BAA2B,CAAC;AAC1C,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBA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B,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,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC"}
@@ -5,6 +5,6 @@ import { IKeyName } from '../../..';
5
5
  * @returns
6
6
  */
7
7
  export declare function useIDspPresets(key: string): {
8
- recallPreset: (preset: IKeyName) => void;
8
+ recallPreset: (presetKey: string | IKeyName) => void;
9
9
  };
10
10
  //# sourceMappingURL=useIDspPresets.d.ts.map
@@ -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,UAAU,CAAC;AAEzD;;;;GAIG;AACH,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,UAAU,CAAC;AAEzD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM;8BAGP,MAAM,GAAG,QAAQ;EAUnD"}
@@ -0,0 +1,7 @@
1
+ import { IHasCamerasState } from '../../../';
2
+ export declare function useIHasCameras(key: string): IHasCamerasReturn | undefined;
3
+ export interface IHasCamerasReturn {
4
+ state: IHasCamerasState;
5
+ selectCamera: (cameraKey: string) => void;
6
+ }
7
+ //# sourceMappingURL=useIHasCameras.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIHasCameras.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIHasCameras.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAqC,MAAM,WAAW,CAAC;AAEhF,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAezE;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,gBAAgB,CAAC;IACxB,YAAY,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C"}
@@ -12,6 +12,6 @@ interface DirectRoute {
12
12
  destinationKey: string;
13
13
  signalType: SignalType;
14
14
  }
15
- export type SignalType = "Audio" | "Video" | "AudioVideo" | "UsbOutput" | "UsbInput";
15
+ export type SignalType = 'Audio' | 'Video' | 'AudioVideo' | 'UsbOutput' | 'UsbInput' | 'SecondaryAudio';
16
16
  export {};
17
17
  //# sourceMappingURL=useIRunDirectRouteAction.d.ts.map
@@ -1 +1 @@
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
+ {"version":3,"file":"useIRunDirectRouteAction.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIRunDirectRouteAction.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,MAAM,GACd,0BAA0B,CAQ5B;AAED,UAAU,0BAA0B;IAClC,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CAC9C;AAED,UAAU,WAAW;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,MAAM,UAAU,GAClB,OAAO,GACP,OAAO,GACP,YAAY,GACZ,WAAW,GACX,UAAU,GACV,gBAAgB,CAAC"}
@@ -11,4 +11,9 @@ export * from './ui/ui.selectors';
11
11
  export * from './hooks';
12
12
  export * from './ui/ui.slice';
13
13
  export * from './store';
14
+ export { appConfigActions } from './appConfig/appConfig.slice';
15
+ export { devicesActions } from './devices/devices.slice';
16
+ export { roomsActions } from './rooms/rooms.slice';
17
+ export { runtimeConfigActions } from './runtimeConfig/runtimeConfig.slice';
18
+ export { uiActions } from './ui/ui.slice';
14
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/store/index.ts"],"names":[],"mappings":"AAEA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAE9B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/store/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mCAAmC,CAAC;AAClD,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAE9B,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC"}
@@ -46,12 +46,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
46
46
  rooms: {
47
47
  key: string;
48
48
  name: string;
49
- Name: string;
50
49
  }[];
51
50
  devices: {
52
51
  key: string;
53
52
  name: string;
54
- Name: string;
55
53
  }[];
56
54
  } | undefined;
57
55
  userCode: string;
@@ -90,12 +88,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
90
88
  rooms: {
91
89
  key: string;
92
90
  name: string;
93
- Name: string;
94
91
  }[];
95
92
  devices: {
96
93
  key: string;
97
94
  name: string;
98
- Name: string;
99
95
  }[];
100
96
  } | undefined;
101
97
  userCode: string;
@@ -134,12 +130,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
134
130
  rooms: {
135
131
  key: string;
136
132
  name: string;
137
- Name: string;
138
133
  }[];
139
134
  devices: {
140
135
  key: string;
141
136
  name: string;
142
- Name: string;
143
137
  }[];
144
138
  } | undefined;
145
139
  userCode: string;
@@ -178,12 +172,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
178
172
  rooms: {
179
173
  key: string;
180
174
  name: string;
181
- Name: string;
182
175
  }[];
183
176
  devices: {
184
177
  key: string;
185
178
  name: string;
186
- Name: string;
187
179
  }[];
188
180
  } | undefined;
189
181
  userCode: string;
@@ -222,12 +214,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
222
214
  rooms: {
223
215
  key: string;
224
216
  name: string;
225
- Name: string;
226
217
  }[];
227
218
  devices: {
228
219
  key: string;
229
220
  name: string;
230
- Name: string;
231
221
  }[];
232
222
  } | undefined;
233
223
  userCode: string;
@@ -266,12 +256,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
266
256
  rooms: {
267
257
  key: string;
268
258
  name: string;
269
- Name: string;
270
259
  }[];
271
260
  devices: {
272
261
  key: string;
273
262
  name: string;
274
- Name: string;
275
263
  }[];
276
264
  } | undefined;
277
265
  userCode: string;
@@ -310,12 +298,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
310
298
  rooms: {
311
299
  key: string;
312
300
  name: string;
313
- Name: string;
314
301
  }[];
315
302
  devices: {
316
303
  key: string;
317
304
  name: string;
318
- Name: string;
319
305
  }[];
320
306
  } | undefined;
321
307
  userCode: string;
@@ -354,12 +340,10 @@ export declare const runtimeConfigActions: import("@reduxjs/toolkit").CaseReduce
354
340
  rooms: {
355
341
  key: string;
356
342
  name: string;
357
- Name: string;
358
343
  }[];
359
344
  devices: {
360
345
  key: string;
361
346
  name: string;
362
- Name: string;
363
347
  }[];
364
348
  } | undefined;
365
349
  userCode: string;
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeConfig.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/runtimeConfig/runtimeConfig.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAqE7C,MAAM,WAAW,kBAAkB;IACj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;;;;;;;;;;;;;;;;;;;;;;;;;wBAEG,MAAM;uBACP,MAAM;eArBQ,cAAc,QAAQ,CAAC;;oBAWxC,MAAM;4CACkB,OAAO,GAAG,SAAS;;;;uBAIxC,MAAM;8BACC,MAAM;eACrB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAEG,MAAM;uBACP,MAAM;eAjBa,cAAc,MAAM,CAAC;mBAyBK,CAAC;AAC/D,eAAO,MAAM,oBAAoB,6CAA6B,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export interface IKeyName {
2
2
  key: string;
3
3
  name: string;
4
- Name: string;
5
4
  }
6
5
  //# sourceMappingURL=IKeyName.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IKeyName.d.ts","sourceRoot":"","sources":["../../../src/lib/types/interfaces/IKeyName.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd"}
1
+ {"version":3,"file":"IKeyName.d.ts","sourceRoot":"","sources":["../../../src/lib/types/interfaces/IKeyName.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,15 +1,128 @@
1
1
  import { SignalType } from '../../shared';
2
+ /**
3
+ * Represents a destination item in a routing/switching system's destination list.
4
+ * This interface defines the structure for display destinations that can receive audio/video signals.
5
+ *
6
+ * @interface DestinationListItem
7
+ * @since 1.0.0
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * const destination: DestinationListItem = {
12
+ * sinkKey: 'display-001',
13
+ * preferredName: 'Main Display',
14
+ * name: 'Conference Room Display',
15
+ * includeInDestinationList: true,
16
+ * isCodecContentDestination: false,
17
+ * isProgramAudioDestination: false,
18
+ * order: 1,
19
+ * surfaceLocation: 0,
20
+ * verticalLocation: 0,
21
+ * horizontalLocation: 0,
22
+ * sinkType: SignalType.Video
23
+ * };
24
+ * ```
25
+ */
2
26
  export interface DestinationListItem {
27
+ /**
28
+ * The unique identifier key of the sink device.
29
+ * This should match the device key in the system configuration.
30
+ *
31
+ * @type {string}
32
+ * @example 'display-001', 'projector-main', 'speaker-zone-1'
33
+ */
3
34
  sinkKey: string;
35
+ /**
36
+ * The computed display name for this destination.
37
+ * This is determined from either the name property of this object or the name property of the sink object.
38
+ * Takes precedence over the regular name for display purposes.
39
+ *
40
+ * @type {string}
41
+ * @example 'Main Conference Display', 'Projector Screen'
42
+ */
4
43
  preferredName: string;
44
+ /**
45
+ * The name of the item in the context of the destination list.
46
+ * This is the specific name used when this item appears in selection lists.
47
+ *
48
+ * @type {string}
49
+ * @example 'Conference Room Display', 'Presentation Screen'
50
+ */
5
51
  name: string;
52
+ /**
53
+ * Determines whether this item should be shown in the destination list.
54
+ * When false, the destination exists but is hidden from user selection.
55
+ *
56
+ * @type {boolean}
57
+ * @default true
58
+ */
6
59
  includeInDestinationList: boolean;
60
+ /**
61
+ * Indicates if this item is a codec content destination.
62
+ * Content destinations are typically used for sharing presentation content.
63
+ *
64
+ * @type {boolean}
65
+ * @default false
66
+ */
7
67
  isCodecContentDestination: boolean;
68
+ /**
69
+ * Indicates if this item is a codec program audio destination.
70
+ * Program audio destinations handle the main audio feed from video codecs.
71
+ *
72
+ * @type {boolean}
73
+ * @default false
74
+ */
8
75
  isProgramAudioDestination: boolean;
76
+ /**
77
+ * The display order of this item in the destination list.
78
+ * Lower numbers appear first in the list. Used for sorting destinations.
79
+ *
80
+ * @type {number}
81
+ * @example 1, 2, 3
82
+ */
9
83
  order: number;
84
+ /**
85
+ * The surface location identifier of the sink.
86
+ * Used for grouping purposes when multiple displays are mounted on the same physical surface.
87
+ * Destinations with the same surfaceLocation are considered to be on the same wall/surface.
88
+ *
89
+ * @type {number}
90
+ * @example 0, 1, 2 (representing different walls or surfaces)
91
+ */
10
92
  surfaceLocation: number;
93
+ /**
94
+ * The vertical position of the sink relative to the surface.
95
+ * Used for grouping and positioning when multiple displays are arranged vertically.
96
+ * Lower numbers typically represent higher positions.
97
+ *
98
+ * @type {number}
99
+ * @example 0 (top), 1 (middle), 2 (bottom)
100
+ */
11
101
  verticalLocation: number;
102
+ /**
103
+ * The horizontal position of the sink relative to the surface.
104
+ * Used for grouping and positioning when multiple displays are arranged horizontally.
105
+ * Lower numbers typically represent leftmost positions.
106
+ *
107
+ * @type {number}
108
+ * @example 0 (left), 1 (center), 2 (right)
109
+ */
12
110
  horizontalLocation: number;
111
+ /**
112
+ * The signal type that this sink accepts.
113
+ * Determines what kind of audio/video signals can be routed to this destination.
114
+ *
115
+ * @type {SignalType}
116
+ * @example SignalType.Video, SignalType.Audio, SignalType.AudioVideo
117
+ */
13
118
  sinkType: SignalType;
119
+ /**
120
+ * Indicates if this destination supports USB connections.
121
+ * This is useful for devices that can also handle USB video/audio input/output.
122
+ *
123
+ * @type {boolean}
124
+ * @default false
125
+ */
126
+ supportsUsb: boolean;
14
127
  }
15
128
  //# sourceMappingURL=DestinationListItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DestinationListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/DestinationListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,mBAAmB;IAElC,OAAO,EAAE,MAAM,CAAC;IAEhB,aAAa,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,wBAAwB,EAAE,OAAO,CAAC;IAElC,yBAAyB,EAAE,OAAO,CAAC;IAEnC,yBAAyB,EAAE,OAAO,CAAC;IAEnC,KAAK,EAAE,MAAM,CAAC;IAEd,eAAe,EAAE,MAAM,CAAC;IAGxB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,kBAAkB,EAAE,MAAM,CAAC;IAE3B,QAAQ,EAAE,UAAU,CAAC;CACtB"}
1
+ {"version":3,"file":"DestinationListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/DestinationListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;;;;OAOG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,wBAAwB,EAAE,OAAO,CAAC;IAElC;;;;;;OAMG;IACH,yBAAyB,EAAE,OAAO,CAAC;IAEnC;;;;;;OAMG;IACH,yBAAyB,EAAE,OAAO,CAAC;IAEnC;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;;OAOG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;;;;;OAOG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;;;;;OAOG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,QAAQ,EAAE,UAAU,CAAC;IAErB;;;;;;OAMG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB"}
@@ -1,4 +1,4 @@
1
- import { AudioControlPointListItemBase } from '.';
1
+ import { AudioControlPointListItemBase } from './AudioControlPointListItemBase';
2
2
  export interface LevelControlListItem extends AudioControlPointListItemBase {
3
3
  type: LevelControlType;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LevelControlListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/LevelControlListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,GAAG,CAAC;AAElD,MAAM,WAAW,oBAAqB,SAAQ,6BAA6B;IACzE,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,MAAM,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"LevelControlListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/LevelControlListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF,MAAM,WAAW,oBAAqB,SAAQ,6BAA6B;IACzE,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,MAAM,GAAG,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AudioControlPointListItemBase } from '.';
1
+ import { AudioControlPointListItemBase } from './AudioControlPointListItemBase';
2
2
  export interface PresetListItem extends AudioControlPointListItemBase {
3
3
  }
4
4
  //# sourceMappingURL=PresetListItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresetListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/PresetListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,GAAG,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,6BAA6B;CACpE"}
1
+ {"version":3,"file":"PresetListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/PresetListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAEhF,MAAM,WAAW,cAAe,SAAQ,6BAA6B;CAAG"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @fileoverview Environment Type Definitions
3
+ *
4
+ * Type definitions for environmental control interfaces.
5
+ *
6
+ * @module EnvironmentTypes
7
+ */
8
+ export * from './lightingScene';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/environment/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC"}
@@ -1,16 +1,25 @@
1
+ /**
2
+ * @fileoverview State Type Definitions
3
+ *
4
+ * Core barrel export for state type definitions used throughout the mobile control application.
5
+ *
6
+ * @module StateTypes
7
+ */
8
+ export * from './message';
9
+ export * from './environment';
10
+ export * from './volume';
11
+ export * from './state';
1
12
  export * from './AudioControlPointListItemBase';
13
+ export * from './CameraListItem';
2
14
  export * from './collections';
3
15
  export * from './common-functions-util';
4
16
  export * from './config';
5
17
  export * from './daysOfWeek';
6
18
  export * from './DestinationListItem';
7
19
  export * from './device';
8
- export * from './environment/lightingScene';
9
20
  export * from './LevelControlListItem';
10
21
  export * from './message';
11
22
  export * from './message-handler';
12
23
  export * from './PresetListItem';
13
24
  export * from './sourceListItem';
14
- export * from './state';
15
- export * from './volume/volume';
16
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,WAAW,CAAC;AAG1B,cAAc,eAAe,CAAC;AAG9B,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC;AAExB,cAAc,iCAAiC,CAAC;AAChD,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
@@ -1,18 +1,155 @@
1
1
  import { IconNames } from '../../shared/Icons/iconsDictionary';
2
2
  import { Device } from './device';
3
+ /**
4
+ * Represents a source item in a routing/switching system's source list.
5
+ * This interface defines the structure for input sources that can provide audio/video signals.
6
+ *
7
+ * @interface SourceListItem
8
+ * @since 1.0.0
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * const source: SourceListItem = {
13
+ * disableCodecSharing: false,
14
+ * disableRoutedSharing: false,
15
+ * sourceKey: 'laptop-hdmi-1',
16
+ * order: 1,
17
+ * type: 'HDMI',
18
+ * icon: 'Laptop',
19
+ * sourceDevice: laptopDevice,
20
+ * name: 'Laptop HDMI',
21
+ * preferredName: 'Conference Laptop',
22
+ * includeInSourceList: true,
23
+ * isControllable: false,
24
+ * isAudioSource: true
25
+ * };
26
+ * ```
27
+ */
3
28
  export interface SourceListItem {
29
+ /**
30
+ * Determines whether codec sharing is disabled for this source.
31
+ * When true, prevents this source from being shared through video codecs.
32
+ *
33
+ * @type {boolean}
34
+ * @default false
35
+ */
4
36
  disableCodecSharing: boolean;
37
+ /**
38
+ * Determines whether routed sharing is disabled for this source.
39
+ * When true, prevents this source from being routed to shared destinations.
40
+ *
41
+ * @type {boolean}
42
+ * @default false
43
+ */
5
44
  disableRoutedSharing: boolean;
45
+ /**
46
+ * The unique identifier key of the source device.
47
+ * This should match the device key in the system configuration.
48
+ *
49
+ * @type {string}
50
+ * @example 'laptop-hdmi-1', 'camera-main', 'bluray-player'
51
+ */
6
52
  sourceKey: string;
53
+ /**
54
+ * The display order of this item in the source list.
55
+ * Lower numbers appear first in the list. Used for sorting sources.
56
+ *
57
+ * @type {number}
58
+ * @example 1, 2, 3
59
+ */
7
60
  order: number;
61
+ /**
62
+ * The type classification of the source.
63
+ * Describes the connection type or source category.
64
+ *
65
+ * @type {string}
66
+ * @example 'HDMI', 'USB-C', 'Wireless', 'Camera', 'Microphone'
67
+ */
8
68
  type: string;
69
+ /**
70
+ * The icon identifier used to represent this source in the UI.
71
+ * Must be a valid icon name from the icon dictionary.
72
+ *
73
+ * @type {IconNames}
74
+ * @example 'Laptop', 'Camera', 'Wireless', 'Hdmi'
75
+ */
9
76
  icon: IconNames;
77
+ /**
78
+ * The device object that represents the physical source device.
79
+ * Contains detailed information about the source hardware.
80
+ *
81
+ * @type {Device}
82
+ */
10
83
  sourceDevice: Device;
84
+ /**
85
+ * The name of the item in the context of the source list.
86
+ * This is the specific name used when this item appears in selection lists.
87
+ *
88
+ * @type {string}
89
+ * @example 'Laptop HDMI', 'Main Camera', 'Wireless Display'
90
+ */
11
91
  name: string;
92
+ /**
93
+ * The computed display name for this source.
94
+ * This is determined from either the name property of this object or the name property of the source device.
95
+ * Takes precedence over the regular name for display purposes.
96
+ *
97
+ * @type {string}
98
+ * @example 'Conference Laptop', 'Presentation Camera', 'Guest Device'
99
+ */
12
100
  preferredName: string;
101
+ /**
102
+ * Determines whether this item should be shown in the source list.
103
+ * When false, the source exists but is hidden from user selection.
104
+ *
105
+ * @type {boolean}
106
+ * @default true
107
+ */
13
108
  includeInSourceList: boolean;
109
+ /**
110
+ * Indicates whether this source device can be controlled remotely.
111
+ * Controllable sources allow power, volume, and other remote operations.
112
+ *
113
+ * @type {boolean}
114
+ * @default false
115
+ */
14
116
  isControllable: boolean;
117
+ /**
118
+ * Indicates whether this source provides audio signals.
119
+ * Audio sources can be routed to audio destinations and mixers.
120
+ *
121
+ * @type {boolean}
122
+ * @default true
123
+ */
15
124
  isAudioSource: boolean;
125
+ /**
126
+ * Indicates whether this source supports USB connections.
127
+ * This is useful for devices that can also handle USB video/audio input/output.
128
+ *
129
+ * @type {boolean}
130
+ * @default false
131
+ */
132
+ supportsUsb: boolean;
133
+ /**
134
+ * The device key of the sync provider for this source.
135
+ * This is used to identify the device that provides synchronization for this source.
136
+ *
137
+ * @type {string}
138
+ */
139
+ syncProviderDeviceKey: string;
16
140
  }
141
+ /**
142
+ * Special constant representing the "off" or "no source" selection.
143
+ * Used to indicate that no source is currently selected or to turn off a destination.
144
+ *
145
+ * @constant {string}
146
+ * @example
147
+ * ```typescript
148
+ * // Turn off a display by selecting the off source
149
+ * if (selectedSource === roomOffSourceKey) {
150
+ * // Handle turning off the destination
151
+ * }
152
+ * ```
153
+ */
17
154
  export declare const roomOffSourceKey = "$off";
18
155
  //# sourceMappingURL=sourceListItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sourceListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/sourceListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,WAAW,cAAc;IAC7B,mBAAmB,EAAE,OAAO,CAAC;IAE7B,oBAAoB,EAAE,OAAO,CAAC;IAI9B,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,SAAS,CAAC;IAEhB,YAAY,EAAE,MAAM,CAAC;IAErB,IAAI,EAAE,MAAM,CAAC;IAEb,aAAa,EAAE,MAAM,CAAC;IAEtB,mBAAmB,EAAE,OAAO,CAAC;IAE7B,cAAc,EAAE,OAAO,CAAC;IAExB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,SAAS,CAAC"}
1
+ {"version":3,"file":"sourceListItem.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/sourceListItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oCAA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