@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.
- package/dist/mobile-control-react-app-core.es.js +381 -317
- package/dist/mobile-control-react-app-core.umd.js +9 -9
- package/dist/shared/hooks/interfaces/index.d.ts +37 -35
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIDspPresets.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIHasCameras.d.ts +7 -0
- package/dist/shared/hooks/interfaces/useIHasCameras.d.ts.map +1 -0
- package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts +1 -1
- package/dist/shared/hooks/interfaces/useIRunDirectRouteAction.d.ts.map +1 -1
- package/dist/store/index.d.ts +5 -0
- package/dist/store/index.d.ts.map +1 -1
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts +0 -16
- package/dist/store/runtimeConfig/runtimeConfig.slice.d.ts.map +1 -1
- package/dist/types/interfaces/IKeyName.d.ts +0 -1
- package/dist/types/interfaces/IKeyName.d.ts.map +1 -1
- package/dist/types/state/DestinationListItem.d.ts +113 -0
- package/dist/types/state/DestinationListItem.d.ts.map +1 -1
- package/dist/types/state/LevelControlListItem.d.ts +1 -1
- package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
- package/dist/types/state/PresetListItem.d.ts +1 -1
- package/dist/types/state/PresetListItem.d.ts.map +1 -1
- package/dist/types/state/environment/index.d.ts +9 -0
- package/dist/types/state/environment/index.d.ts.map +1 -0
- package/dist/types/state/index.d.ts +12 -3
- package/dist/types/state/index.d.ts.map +1 -1
- package/dist/types/state/sourceListItem.d.ts +137 -0
- package/dist/types/state/sourceListItem.d.ts.map +1 -1
- package/dist/types/state/state/DeviceState.d.ts +0 -5
- package/dist/types/state/state/DeviceState.d.ts.map +1 -1
- package/dist/types/state/state/DisplayState.d.ts +98 -5
- package/dist/types/state/state/DisplayState.d.ts.map +1 -1
- package/dist/types/state/state/ICurrentSourcesState.d.ts +19 -0
- package/dist/types/state/state/ICurrentSourcesState.d.ts.map +1 -0
- package/dist/types/state/state/IHasCamerasState.d.ts +10 -0
- package/dist/types/state/state/IHasCamerasState.d.ts.map +1 -0
- package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +14 -2
- package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts.map +1 -1
- package/dist/types/state/state/IHasSelectableItemsState.d.ts +2 -1
- package/dist/types/state/state/IHasSelectableItemsState.d.ts.map +1 -1
- package/dist/types/state/state/MatrixRoutingState.d.ts +1 -1
- package/dist/types/state/state/MatrixRoutingState.d.ts.map +1 -1
- package/dist/types/state/state/RoomState.d.ts +2 -2
- package/dist/types/state/state/RoomState.d.ts.map +1 -1
- package/dist/types/state/state/RoutingState.d.ts +1 -1
- package/dist/types/state/state/RoutingState.d.ts.map +1 -1
- package/dist/types/state/state/index.d.ts +4 -2
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/types/state/volume/index.d.ts +10 -0
- package/dist/types/state/volume/index.d.ts.map +1 -0
- package/dist/types/state/volume/volumes.d.ts +0 -1
- package/dist/types/state/volume/volumes.d.ts.map +1 -1
- package/dist/utils/WebsocketContext.d.ts +1 -2
- package/dist/utils/WebsocketContext.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +1 -1
- package/dist/utils/WebsocketProvider.d.ts.map +1 -1
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/useWebsocketContext.d.ts.map +1 -1
- package/package.json +6 -3
- package/dist/types/state/state/CamerasState.d.ts +0 -13
- package/dist/types/state/state/CamerasState.d.ts.map +0 -1
- /package/dist/{mobile-control-react-app-core.css → style.css} +0 -0
|
@@ -24,10 +24,5 @@ export interface DeviceState extends IKeyName {
|
|
|
24
24
|
*/
|
|
25
25
|
interfaces: InterfaceNames[];
|
|
26
26
|
commMonitor?: CommunicationMonitorState;
|
|
27
|
-
/**
|
|
28
|
-
* For future use
|
|
29
|
-
* @deprecated This property is deprecated and will be removed in future versions.
|
|
30
|
-
*/
|
|
31
|
-
state: unknown;
|
|
32
27
|
}
|
|
33
28
|
//# sourceMappingURL=DeviceState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/DeviceState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,8BAA8B;AAC9B,MAAM,WAAW,WAAY,SAAQ,QAAQ;IAC3C;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,cAAc,EAAE,CAAC;IAE7B,WAAW,CAAC,EAAE,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeviceState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/DeviceState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,8BAA8B;AAC9B,MAAM,WAAW,WAAY,SAAQ,QAAQ;IAC3C;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,cAAc,EAAE,CAAC;IAE7B,WAAW,CAAC,EAAE,yBAAyB,CAAC;CAYzC"}
|
|
@@ -1,16 +1,109 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used for an individual display state
|
|
3
|
-
*/
|
|
4
1
|
import { Volume } from '../volume/volume';
|
|
5
2
|
import { DeviceState } from './DeviceState';
|
|
6
|
-
import {
|
|
7
|
-
|
|
3
|
+
import { ICurrentSourcesState } from './ICurrentSourcesState';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the state of an individual display device in the AV system.
|
|
6
|
+
* This interface extends DeviceState and ICurrentSourcesState to provide
|
|
7
|
+
* comprehensive display-specific functionality including power management,
|
|
8
|
+
* input selection, volume control, and thermal state monitoring.
|
|
9
|
+
*
|
|
10
|
+
* @interface DisplayState
|
|
11
|
+
* @extends {DeviceState}
|
|
12
|
+
* @extends {ICurrentSourcesState}
|
|
13
|
+
* @since 1.0.0
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```typescript
|
|
17
|
+
* const displayState: DisplayState = {
|
|
18
|
+
* // DeviceState properties
|
|
19
|
+
* key: 'main-display',
|
|
20
|
+
* name: 'Conference Room Display',
|
|
21
|
+
* isOnline: true,
|
|
22
|
+
*
|
|
23
|
+
* // DisplayState-specific properties
|
|
24
|
+
* hasFeedback: true,
|
|
25
|
+
* powerState: true,
|
|
26
|
+
* isWarming: false,
|
|
27
|
+
* isCooling: false,
|
|
28
|
+
* currentInput: 'hdmi-1',
|
|
29
|
+
* volume: {
|
|
30
|
+
* level: 75,
|
|
31
|
+
* isMuted: false
|
|
32
|
+
* },
|
|
33
|
+
* inputKeys: ['hdmi-1', 'hdmi-2', 'vga', 'usb-c']
|
|
34
|
+
* };
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export interface DisplayState extends DeviceState, ICurrentSourcesState {
|
|
38
|
+
/**
|
|
39
|
+
* Indicates whether the display provides feedback about its current state.
|
|
40
|
+
* When true, the system can receive status updates from the display device.
|
|
41
|
+
* When false, the system operates in "blind" mode without confirmation.
|
|
42
|
+
*
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @example true // Display sends status updates
|
|
45
|
+
* @example false // Display operates without feedback
|
|
46
|
+
*/
|
|
8
47
|
hasFeedback: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The current power state of the display.
|
|
50
|
+
* True indicates the display is powered on and operational.
|
|
51
|
+
* False indicates the display is powered off or in standby mode.
|
|
52
|
+
*
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @example true // Display is on
|
|
55
|
+
* @example false // Display is off or in standby
|
|
56
|
+
*/
|
|
9
57
|
powerState: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Indicates whether the display is currently in a warming-up phase.
|
|
60
|
+
* Many displays require a warm-up period after power-on before they
|
|
61
|
+
* can display content or accept input changes.
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @example true // Display is warming up after power-on
|
|
65
|
+
* @example false // Display is ready for normal operation
|
|
66
|
+
*/
|
|
10
67
|
isWarming: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Indicates whether the display is currently in a cooling-down phase.
|
|
70
|
+
* Some displays enter a cooling period after power-off to protect
|
|
71
|
+
* internal components before fully shutting down.
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @example true // Display is cooling down after power-off
|
|
75
|
+
* @example false // Display is not in cooling phase
|
|
76
|
+
*/
|
|
11
77
|
isCooling: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* The identifier of the currently selected input on the display.
|
|
80
|
+
* This should match one of the keys in the inputKeys array.
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @example 'hdmi-1', 'hdmi-2', 'vga', 'usb-c', 'displayport'
|
|
84
|
+
*/
|
|
12
85
|
currentInput: string;
|
|
86
|
+
/**
|
|
87
|
+
* The current volume state of the display's built-in audio system.
|
|
88
|
+
* Optional as not all displays have audio capabilities.
|
|
89
|
+
*
|
|
90
|
+
* @type {Volume | undefined}
|
|
91
|
+
* @optional
|
|
92
|
+
* @example { level: 75, isMuted: false }
|
|
93
|
+
* @example undefined // Display has no audio capabilities
|
|
94
|
+
*/
|
|
13
95
|
volume?: Volume;
|
|
96
|
+
/**
|
|
97
|
+
* Array of available input identifiers that can be selected on this display.
|
|
98
|
+
* Each key represents a physical input port or connection type.
|
|
99
|
+
* Optional as some displays may not expose their input list.
|
|
100
|
+
*
|
|
101
|
+
* @type {string[] | undefined}
|
|
102
|
+
* @optional
|
|
103
|
+
* @example ['hdmi-1', 'hdmi-2', 'vga', 'usb-c']
|
|
104
|
+
* @example ['displayport-1', 'displayport-2', 'dvi']
|
|
105
|
+
* @example undefined // Input list not available
|
|
106
|
+
*/
|
|
14
107
|
inputKeys?: string[];
|
|
15
108
|
}
|
|
16
109
|
//# sourceMappingURL=DisplayState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisplayState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/DisplayState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DisplayState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/DisplayState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAM,WAAW,YAAa,SAAQ,WAAW,EAAE,oBAAoB;IACrE;;;;;;;;OAQG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;;;;;OAQG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;;;;;OAQG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;;;;;;OAQG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;;;;;OAUG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SourceListItem } from '../sourceListItem';
|
|
2
|
+
import { IHasCurrentSourceInfoChangeState } from './IHasCurrentSourceInfoChangeState';
|
|
3
|
+
/**
|
|
4
|
+
* Interface representing the state of current sources in the system.
|
|
5
|
+
* Extends IHasCurrentSourceInfoChangeState to include current source information.
|
|
6
|
+
*/
|
|
7
|
+
export interface ICurrentSourcesState extends IHasCurrentSourceInfoChangeState {
|
|
8
|
+
/**
|
|
9
|
+
* A record of all current sources keyed by their unique source key.
|
|
10
|
+
* This allows quick access to the source information.
|
|
11
|
+
*/
|
|
12
|
+
currentSources?: Record<string, SourceListItem>;
|
|
13
|
+
/**
|
|
14
|
+
* A record of current source keys, mapping device keys to their corresponding source keys.
|
|
15
|
+
* This is useful for tracking which sources are currently active on each device.
|
|
16
|
+
*/
|
|
17
|
+
currentSourceKeys?: Record<string, string>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=ICurrentSourcesState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICurrentSourcesState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/ICurrentSourcesState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAEtF;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gCAAgC;IAC5E;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAEhD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CameraState } from './CameraState';
|
|
2
|
+
import { DeviceState } from './DeviceState';
|
|
3
|
+
/**
|
|
4
|
+
* Used for the state of all cameras for a codec
|
|
5
|
+
*/
|
|
6
|
+
export interface IHasCamerasState extends DeviceState {
|
|
7
|
+
cameraList: CameraState[];
|
|
8
|
+
selectedCamera?: CameraState;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=IHasCamerasState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IHasCamerasState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/IHasCamerasState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;IASnD,UAAU,EAAE,WAAW,EAAE,CAAC;IAE1B,cAAc,CAAC,EAAE,WAAW,CAAC;CAC9B"}
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { SourceListItem } from '../sourceListItem';
|
|
2
2
|
import { DeviceState } from './DeviceState';
|
|
3
|
+
/**
|
|
4
|
+
* Interface representing the state of current source information changes.
|
|
5
|
+
* This interface extends DeviceState to include properties related to the current source.
|
|
6
|
+
*/
|
|
3
7
|
export interface IHasCurrentSourceInfoChangeState extends DeviceState {
|
|
4
|
-
|
|
5
|
-
|
|
8
|
+
/**
|
|
9
|
+
* The key of the current source.
|
|
10
|
+
* This is used to identify which source is currently active.
|
|
11
|
+
*/
|
|
12
|
+
currentSourceKey?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The current source item.
|
|
15
|
+
* This provides detailed information about the currently active source.
|
|
16
|
+
*/
|
|
17
|
+
currentSource?: SourceListItem;
|
|
6
18
|
}
|
|
7
19
|
//# sourceMappingURL=IHasCurrentSourceInfoChangeState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IHasCurrentSourceInfoChangeState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/IHasCurrentSourceInfoChangeState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,gCAAiC,SAAQ,WAAW;IACnE,gBAAgB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"IHasCurrentSourceInfoChangeState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/IHasCurrentSourceInfoChangeState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;GAGG;AACH,MAAM,WAAW,gCAAiC,SAAQ,WAAW;IACnE;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,aAAa,CAAC,EAAE,cAAc,CAAC;CAChC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ISelectableItem } from '../../interfaces/ISelectableItem';
|
|
2
|
-
|
|
2
|
+
import { DeviceState } from './DeviceState';
|
|
3
|
+
export interface IHasSelectableItemsState extends DeviceState {
|
|
3
4
|
currentItem?: string;
|
|
4
5
|
items: Record<string, ISelectableItem>;
|
|
5
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IHasSelectableItemsState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/IHasSelectableItemsState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"IHasSelectableItemsState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/IHasSelectableItemsState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,wBAAyB,SAAQ,WAAW;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACxC"}
|
|
@@ -12,7 +12,7 @@ export interface InputSlot extends DeviceState, IKeyName, IOnline, IVideoSync, I
|
|
|
12
12
|
}
|
|
13
13
|
export interface OutputSlot extends IKeyName, ISlotNumber, IOnline {
|
|
14
14
|
rxDeviceKey: string;
|
|
15
|
-
currentRoutes: Record<SignalType, InputSlot
|
|
15
|
+
currentRoutes: Partial<Record<SignalType, InputSlot>>;
|
|
16
16
|
}
|
|
17
17
|
export interface IVideoSync {
|
|
18
18
|
videoSyncDetected: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MatrixRoutingState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/MatrixRoutingState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"MatrixRoutingState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/MatrixRoutingState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACrC;AAED,MAAM,WAAW,SACf,SAAQ,WAAW,EACjB,QAAQ,EACR,OAAO,EACP,UAAU,EACV,WAAW;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,UAAU,CAAC;CAClC;AAED,MAAM,WAAW,UAAW,SAAQ,QAAQ,EAAE,WAAW,EAAE,OAAO;IAChE,WAAW,EAAE,MAAM,CAAC;IAEpB,aAAa,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;CACvD;AAED,MAAM,WAAW,UAAU;IACzB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PresetListItem } from '..';
|
|
2
1
|
import { CameraListItem } from '../CameraListItem';
|
|
3
2
|
import { DestinationListItem } from '../DestinationListItem';
|
|
4
3
|
import { LevelControlListItem } from '../LevelControlListItem';
|
|
4
|
+
import { PresetListItem } from '../PresetListItem';
|
|
5
5
|
import { SourceListItem } from '../sourceListItem';
|
|
6
6
|
import { Volume } from '../volume/volume';
|
|
7
7
|
import { DeviceState } from './DeviceState';
|
|
@@ -67,5 +67,5 @@ export interface AudioControlPointListItem {
|
|
|
67
67
|
export type AccessoryDeviceTypes = 'Camera' | 'ProjectorLift' | 'Screen';
|
|
68
68
|
export type EnvironmentalDeviceTypes = 'Lighting' | 'Shade' | 'ShadeController' | 'Relay';
|
|
69
69
|
export type RoomVolumeType = 'master' | string;
|
|
70
|
-
export type DestinationTypes =
|
|
70
|
+
export type DestinationTypes = 'defaultDisplay' | 'leftDisplay' | 'centerDisplay' | 'rightDisplay' | 'programAudio' | 'codecContent';
|
|
71
71
|
//# sourceMappingURL=RoomState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoomState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/RoomState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RoomState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/RoomState.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutingState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/RoutingState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"RoutingState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/RoutingState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,YAAa,SAAQ,WAAW;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAE1B,kBAAkB,EAAE,cAAc,CAAC;CACpC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './CamerasState';
|
|
2
1
|
export * from './CameraState';
|
|
3
2
|
export * from './CommunicationMonitorState';
|
|
4
3
|
export * from './DeviceInfoState';
|
|
@@ -7,7 +6,10 @@ export * from './DeviceState';
|
|
|
7
6
|
export * from './DisplayState';
|
|
8
7
|
export * from './endpointState';
|
|
9
8
|
export * from './EnvironmentState';
|
|
10
|
-
export * from
|
|
9
|
+
export * from './ICurrentSourcesState';
|
|
10
|
+
export * from './IEssentialsRoomCombinerState';
|
|
11
|
+
export * from './IHasCamerasState';
|
|
12
|
+
export * from './IHasCurrentSourceInfoChangeState';
|
|
11
13
|
export * from './IHasInputsState';
|
|
12
14
|
export * from './IHasSelectableItemsState';
|
|
13
15
|
export * from './IHasSurroundChannelsState';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oCAAoC,CAAC;AACnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/volume/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volumes.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/volume/volumes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC
|
|
1
|
+
{"version":3,"file":"volumes.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/volume/volumes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC"}
|
|
@@ -7,6 +7,5 @@ export interface WebsocketContextType {
|
|
|
7
7
|
removeEventHandler: (eventType: string, key: string) => void;
|
|
8
8
|
reconnect: () => void;
|
|
9
9
|
}
|
|
10
|
-
declare const WebsocketContext: import("react").Context<WebsocketContextType>;
|
|
11
|
-
export default WebsocketContext;
|
|
10
|
+
export declare const WebsocketContext: import("react").Context<WebsocketContextType>;
|
|
12
11
|
//# sourceMappingURL=WebsocketContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebsocketContext.d.ts","sourceRoot":"","sources":["../../src/lib/utils/WebsocketContext.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,
|
|
1
|
+
{"version":3,"file":"WebsocketContext.d.ts","sourceRoot":"","sources":["../../src/lib/utils/WebsocketContext.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,GAAG,OAAO,KAAK,IAAI,CAAC;IACtE,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC9E,eAAe,EAAE,CACf,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,KAC9B,IAAI,CAAC;IACV,kBAAkB,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,+CAM3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebsocketProvider.d.ts","sourceRoot":"","sources":["../../src/lib/utils/WebsocketProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAA4C,MAAM,OAAO,CAAC;AAuB5E;;;;GAIG;AACH,QAAA,MAAM,iBAAiB;cAA8B,SAAS;
|
|
1
|
+
{"version":3,"file":"WebsocketProvider.d.ts","sourceRoot":"","sources":["../../src/lib/utils/WebsocketProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAA4C,MAAM,OAAO,CAAC;AAuB5E;;;;GAIG;AACH,QAAA,MAAM,iBAAiB;cAA8B,SAAS;6CAiZ7D,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWebsocketContext.d.ts","sourceRoot":"","sources":["../../src/lib/utils/useWebsocketContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWebsocketContext.d.ts","sourceRoot":"","sources":["../../src/lib/utils/useWebsocketContext.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,mBAAmB,sDAElC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pepperdash/mobile-control-react-app-core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.21.0-1.21.0-feature-useCameraBase-and-onPressedButNotHeld.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -65,7 +65,10 @@
|
|
|
65
65
|
"import": "./dist/mobile-control-react-app-core.es.js",
|
|
66
66
|
"require": "./dist/mobile-control-react-app-core.umd.js"
|
|
67
67
|
},
|
|
68
|
-
"./style.css":
|
|
68
|
+
"./style.css": {
|
|
69
|
+
"import": "./dist/style.css",
|
|
70
|
+
"require": "./dist/style.css"
|
|
71
|
+
}
|
|
69
72
|
},
|
|
70
73
|
"main": "./dist/mobile-control-react-app-core.umd.js",
|
|
71
74
|
"module": "./dist/mobile-control-react-app-core.es.js",
|
|
@@ -79,7 +82,7 @@
|
|
|
79
82
|
},
|
|
80
83
|
"repository": {
|
|
81
84
|
"type": "git",
|
|
82
|
-
"url": "https://github.com/PepperDash/mobile-control-react-app-core"
|
|
85
|
+
"url": "git+https://github.com/PepperDash/mobile-control-react-app-core.git"
|
|
83
86
|
},
|
|
84
87
|
"bugs": {
|
|
85
88
|
"url": "https://github.com/PepperDash/mobile-control-react-app-core"
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CameraState } from './CameraState';
|
|
2
|
-
/**
|
|
3
|
-
* Used for the state of all cameras for a codec
|
|
4
|
-
*/
|
|
5
|
-
export interface CamerasState {
|
|
6
|
-
cameraManualSupported: boolean;
|
|
7
|
-
cameraAutoSupported: boolean;
|
|
8
|
-
cameraOffSupported: boolean;
|
|
9
|
-
cameraMode: string;
|
|
10
|
-
cameraList: unknown[];
|
|
11
|
-
selectedCamera?: CameraState;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=CamerasState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CamerasState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/CamerasState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,qBAAqB,EAAE,OAAO,CAAC;IAE/B,mBAAmB,EAAE,OAAO,CAAC;IAE7B,kBAAkB,EAAE,OAAO,CAAC;IAE5B,UAAU,EAAE,MAAM,CAAC;IAEnB,UAAU,EAAE,OAAO,EAAE,CAAC;IAEtB,cAAc,CAAC,EAAE,WAAW,CAAC;CAC9B"}
|
|
File without changes
|