@pepperdash/mobile-control-react-app-core 1.21.0-feature-export-useCameraBase.1 → 1.21.0-feature-export-useCameraBase.3

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 (38) hide show
  1. package/dist/mobile-control-react-app-core.es.js +411 -423
  2. package/dist/mobile-control-react-app-core.umd.js +10 -10
  3. package/dist/store/index.d.ts +5 -0
  4. package/dist/store/index.d.ts.map +1 -1
  5. package/dist/store/rooms/rooms.hooks.d.ts +2 -2
  6. package/dist/store/rooms/rooms.hooks.d.ts.map +1 -1
  7. package/dist/store/rooms/rooms.selectors.d.ts +8 -8
  8. package/dist/types/state/DestinationListItem.d.ts +113 -0
  9. package/dist/types/state/DestinationListItem.d.ts.map +1 -1
  10. package/dist/types/state/LevelControlListItem.d.ts +1 -1
  11. package/dist/types/state/LevelControlListItem.d.ts.map +1 -1
  12. package/dist/types/state/PresetListItem.d.ts +1 -1
  13. package/dist/types/state/PresetListItem.d.ts.map +1 -1
  14. package/dist/types/state/environment/index.d.ts +9 -0
  15. package/dist/types/state/environment/index.d.ts.map +1 -0
  16. package/dist/types/state/index.d.ts +9 -13
  17. package/dist/types/state/index.d.ts.map +1 -1
  18. package/dist/types/state/sourceListItem.d.ts +137 -0
  19. package/dist/types/state/sourceListItem.d.ts.map +1 -1
  20. package/dist/types/state/state/DisplayState.d.ts +98 -5
  21. package/dist/types/state/state/DisplayState.d.ts.map +1 -1
  22. package/dist/types/state/state/ICurrentSourcesState.d.ts +19 -0
  23. package/dist/types/state/state/ICurrentSourcesState.d.ts.map +1 -0
  24. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts +14 -2
  25. package/dist/types/state/state/IHasCurrentSourceInfoChangeState.d.ts.map +1 -1
  26. package/dist/types/state/state/IHasSelectableItemsState.d.ts +2 -1
  27. package/dist/types/state/state/IHasSelectableItemsState.d.ts.map +1 -1
  28. package/dist/types/state/state/RoomState.d.ts +2 -2
  29. package/dist/types/state/state/RoomState.d.ts.map +1 -1
  30. package/dist/types/state/state/RoutingState.d.ts +1 -1
  31. package/dist/types/state/state/RoutingState.d.ts.map +1 -1
  32. package/dist/types/state/state/index.d.ts +2 -0
  33. package/dist/types/state/state/index.d.ts.map +1 -1
  34. package/dist/types/state/volume/index.d.ts +10 -0
  35. package/dist/types/state/volume/index.d.ts.map +1 -0
  36. package/dist/types/state/volume/volumes.d.ts +0 -1
  37. package/dist/types/state/volume/volumes.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -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"}
@@ -8,10 +8,10 @@ export declare const useGetRoom: typeof useRoomState;
8
8
  export declare const useRoomName: (roomKey: string) => string | undefined;
9
9
  export declare const useRoomVolume: (roomKey: string, volumeKey: RoomVolumeType) => import("../..").Volume | undefined;
10
10
  export declare const useRoomLevelControls: (roomKey: string) => LevelControlsState;
11
- export declare const useRoomSourceList: (roomKey: string) => Record<string, import("../..").SourceListItem> | undefined;
11
+ export declare const useRoomSourceList: (roomKey: string) => Record<string, import("../../types/state/sourceListItem").SourceListItem> | undefined;
12
12
  export declare const useRoomAudioControlPointList: (roomKey: string) => import("../..").AudioControlPointListItem | undefined;
13
13
  export declare const useRoomDestinations: (roomKey: string) => Record<import("../..").DestinationTypes, string> | undefined;
14
- export declare const useRoomDestinationList: (roomKey: string) => Record<string, import("../..").DestinationListItem> | undefined;
14
+ export declare const useRoomDestinationList: (roomKey: string) => Record<string, import("../../types/state/DestinationListItem").DestinationListItem> | undefined;
15
15
  export declare const useRoomEnvironmentalDevices: (roomKey: string) => import("../..").EnvironmentalDeviceConfiguration[] | undefined;
16
16
  export declare const useRoomProgramAudioDestinationKey: (roomKey: string) => string | undefined;
17
17
  export declare const useRoomCodecContentDestinationKey: (roomKey: string) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"rooms.hooks.d.ts","sourceRoot":"","sources":["../../../src/lib/store/rooms/rooms.hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAI3F,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAGnF;AAED,wBAAgB,cAAc,8BAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAE5F;AAGD,iCAAiC;AACjC,eAAO,MAAM,UAAU,qBAAe,CAAC;AAEvC,eAAO,MAAM,WAAW,YAAa,MAAM,uBAExC,CAAC;AAGJ,eAAO,MAAM,aAAa,YAAa,MAAM,aAAa,cAAc,uCAErE,CAAC;AAEJ,eAAO,MAAM,oBAAoB,YAAa,MAAM,uBAC4C,CAAC;AAEjG,eAAO,MAAM,iBAAiB,YAAa,MAAM,+DACF,CAAC;AAEhD,eAAO,MAAM,4BAA4B,YAAa,MAAM,0DACF,CAAC;AAE3D,eAAO,MAAM,mBAAmB,YAAa,MAAM,iEACF,CAAC;AAElD,eAAO,MAAM,sBAAsB,YAAa,MAAM,oEACF,CAAC;AAErD,eAAO,MAAM,2BAA2B,YAAa,MAAM,mEACF,CAAC;AAE1D,eAAO,MAAM,iCAAiC,YAAa,MAAM,uBACF,CAAC;AAEhE,eAAO,MAAM,iCAAiC,YAAa,MAAM,uBACF,CAAC;AAEhE,eAAO,MAAM,aAAa,YAAa,MAAM,wBACF,CAAC;AAE5C,eAAO,MAAM,kBAAkB,YAAa,MAAM,wBACF,CAAC;AAEjD,eAAO,MAAM,oBAAoB,YAAa,MAAM,wBACF,CAAC;AAEnD,eAAO,MAAM,WAAW,YAAa,MAAM,wBACF,CAAC;AAE1C,eAAO,MAAM,4BAA4B,YAAa,MAAM,wBACF,CAAC;AAE3D,eAAO,MAAM,iBAAiB,YAAa,MAAM,2CACF,CAAC;AAEhD,eAAO,MAAM,uBAAuB,YAAa,MAAM,+CAEtD,CAAC;AAEF,eAAO,MAAM,2BAA2B,YAAa,MAAM,uBACL,CAAC"}
1
+ {"version":3,"file":"rooms.hooks.d.ts","sourceRoot":"","sources":["../../../src/lib/store/rooms/rooms.hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAI3F,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAGnF;AAED,wBAAgB,cAAc,8BAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,GAAG,SAAS,CAE5F;AAGD,iCAAiC;AACjC,eAAO,MAAM,UAAU,qBAAe,CAAC;AAEvC,eAAO,MAAM,WAAW,YAAa,MAAM,uBAExC,CAAC;AAGJ,eAAO,MAAM,aAAa,YAAa,MAAM,aAAa,cAAc,uCAErE,CAAC;AAEJ,eAAO,MAAM,oBAAoB,YAAa,MAAM,uBAC4C,CAAC;AAEjG,eAAO,MAAM,iBAAiB,YAAa,MAAM,0FACF,CAAC;AAEhD,eAAO,MAAM,4BAA4B,YAAa,MAAM,0DACF,CAAC;AAE3D,eAAO,MAAM,mBAAmB,YAAa,MAAM,iEACF,CAAC;AAElD,eAAO,MAAM,sBAAsB,YAAa,MAAM,oGACF,CAAC;AAErD,eAAO,MAAM,2BAA2B,YAAa,MAAM,mEACF,CAAC;AAE1D,eAAO,MAAM,iCAAiC,YAAa,MAAM,uBACF,CAAC;AAEhE,eAAO,MAAM,iCAAiC,YAAa,MAAM,uBACF,CAAC;AAEhE,eAAO,MAAM,aAAa,YAAa,MAAM,wBACF,CAAC;AAE5C,eAAO,MAAM,kBAAkB,YAAa,MAAM,wBACF,CAAC;AAEjD,eAAO,MAAM,oBAAoB,YAAa,MAAM,wBACF,CAAC;AAEnD,eAAO,MAAM,WAAW,YAAa,MAAM,wBACF,CAAC;AAE1C,eAAO,MAAM,4BAA4B,YAAa,MAAM,wBACF,CAAC;AAE3D,eAAO,MAAM,iBAAiB,YAAa,MAAM,2CACF,CAAC;AAEhD,eAAO,MAAM,uBAAuB,YAAa,MAAM,+CAEtD,CAAC;AAEF,eAAO,MAAM,2BAA2B,YAAa,MAAM,uBACL,CAAC"}
@@ -167,18 +167,18 @@ export declare const selectRoomSourceList: (roomKey: string) => ((state: {
167
167
  rooms: Record<string, import("../..").RoomState>;
168
168
  devices: Record<string, import("../..").DeviceState>;
169
169
  ui: import("../..").UiConfigState;
170
- }) => Record<string, import("../..").SourceListItem> | undefined) & {
170
+ }) => Record<string, import("../../types/state/sourceListItem").SourceListItem> | undefined) & {
171
171
  clearCache: () => void;
172
172
  resultsCount: () => number;
173
173
  resetResultsCount: () => void;
174
174
  } & {
175
- resultFunc: (resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../..").SourceListItem> | undefined;
176
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../..").SourceListItem> | undefined) & {
175
+ resultFunc: (resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../../types/state/sourceListItem").SourceListItem> | undefined;
176
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../../types/state/sourceListItem").SourceListItem> | undefined) & {
177
177
  clearCache: () => void;
178
178
  resultsCount: () => number;
179
179
  resetResultsCount: () => void;
180
180
  };
181
- lastResult: () => Record<string, import("../..").SourceListItem> | undefined;
181
+ lastResult: () => Record<string, import("../../types/state/sourceListItem").SourceListItem> | undefined;
182
182
  dependencies: [(state: RootState) => Record<string, import("../..").RoomState>];
183
183
  recomputations: () => number;
184
184
  resetRecomputations: () => void;
@@ -248,18 +248,18 @@ export declare const selectRoomDestinationList: (roomKey: string) => ((state: {
248
248
  rooms: Record<string, import("../..").RoomState>;
249
249
  devices: Record<string, import("../..").DeviceState>;
250
250
  ui: import("../..").UiConfigState;
251
- }) => Record<string, import("../..").DestinationListItem> | undefined) & {
251
+ }) => Record<string, import("../../types/state/DestinationListItem").DestinationListItem> | undefined) & {
252
252
  clearCache: () => void;
253
253
  resultsCount: () => number;
254
254
  resetResultsCount: () => void;
255
255
  } & {
256
- resultFunc: (resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../..").DestinationListItem> | undefined;
257
- memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../..").DestinationListItem> | undefined) & {
256
+ resultFunc: (resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../../types/state/DestinationListItem").DestinationListItem> | undefined;
257
+ memoizedResultFunc: ((resultFuncArgs_0: Record<string, import("../..").RoomState>) => Record<string, import("../../types/state/DestinationListItem").DestinationListItem> | undefined) & {
258
258
  clearCache: () => void;
259
259
  resultsCount: () => number;
260
260
  resetResultsCount: () => void;
261
261
  };
262
- lastResult: () => Record<string, import("../..").DestinationListItem> | undefined;
262
+ lastResult: () => Record<string, import("../../types/state/DestinationListItem").DestinationListItem> | undefined;
263
263
  dependencies: [(state: RootState) => Record<string, import("../..").RoomState>];
264
264
  recomputations: () => number;
265
265
  resetRecomputations: () => void;
@@ -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,12 @@
1
- export * from './AudioControlPointListItemBase';
2
- export * from './collections';
3
- export * from './common-functions-util';
4
- export * from './config';
5
- export * from './daysOfWeek';
6
- export * from './DestinationListItem';
7
- export * from './device';
8
- export * from './environment/lightingScene';
9
- export * from './LevelControlListItem';
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
+ */
10
8
  export * from './message';
11
- export * from './message-handler';
12
- export * from './PresetListItem';
13
- export * from './sourceListItem';
9
+ export * from './environment';
10
+ export * from './volume';
14
11
  export * from './state';
15
- export * from './volume/volume';
16
12
  //# 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"}
@@ -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,oCAAoC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;;;OAMG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAE9B;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;OAOG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;;;OAMG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;;;;;OAMG;IACH,aAAa,EAAE,OAAO,CAAC;IAEvB;;;;;;OAMG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;;OAKG;IACH,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,SAAS,CAAC"}
@@ -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 { IHasCurrentSourceInfoChangeState } from './IHasCurrentSourceInfoChangeState';
7
- export interface DisplayState extends DeviceState, IHasCurrentSourceInfoChangeState {
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":"AACA;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAEtF,MAAM,WAAW,YAAa,SAAQ,WAAW,EAAE,gCAAgC;IACjF,WAAW,EAAE,OAAO,CAAC;IAErB,UAAU,EAAE,OAAO,CAAC;IAEpB,SAAS,EAAE,OAAO,CAAC;IAEnB,SAAS,EAAE,OAAO,CAAC;IAEnB,YAAY,EAAE,MAAM,CAAC;IAErB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB"}
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"}
@@ -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
- currentSourceKey: string;
5
- currentSource: SourceListItem;
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;IACzB,aAAa,EAAE,cAAc,CAAC;CAC/B"}
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
- export interface IHasSelectableItemsState {
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;AAEnE,MAAM,WAAW,wBAAwB;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACxC"}
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"}