@pepperdash/mobile-control-react-app-core 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mobile-control-react-app-core.es.js +784 -713
- package/dist/mobile-control-react-app-core.umd.js +15 -10
- package/dist/shared/Buttons/IconButton/IconButton.d.ts +2 -1
- package/dist/shared/Buttons/IconButton/IconButton.d.ts.map +1 -1
- package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts +6 -2
- package/dist/shared/Buttons/NamedIconButton/NamedIconButton.d.ts.map +1 -1
- package/dist/shared/Icons/iconsDictionary.d.ts +2 -3
- package/dist/shared/Icons/iconsDictionary.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/index.d.ts +1 -0
- package/dist/shared/hooks/interfaces/index.d.ts.map +1 -1
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts +10 -0
- package/dist/shared/hooks/interfaces/useIShutdownPromptTimer.d.ts.map +1 -0
- package/dist/shared/hooks/useGetDeviceStateFromRoomConfiguration.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts +1 -1
- package/dist/shared/layout/habanero/TechLayout/TechLayout.d.ts.map +1 -1
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts +9 -0
- package/dist/shared/layout/habanero/TechPinLayout/TechPinLayout.d.ts.map +1 -0
- package/dist/shared/layout/habanero/index.d.ts +1 -0
- package/dist/shared/layout/habanero/index.d.ts.map +1 -1
- package/dist/store/rooms/rooms.slice.d.ts +10 -2
- package/dist/store/rooms/rooms.slice.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/state/message.d.ts +3 -0
- package/dist/types/state/message.d.ts.map +1 -1
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts +7 -0
- package/dist/types/state/state/IShutdownPromptTimerState.d.ts.map +1 -0
- package/dist/types/state/state/RoomState.d.ts +7 -1
- package/dist/types/state/state/RoomState.d.ts.map +1 -1
- package/dist/types/state/state/index.d.ts +1 -0
- package/dist/types/state/state/index.d.ts.map +1 -1
- package/dist/utils/WebsocketContext.d.ts +10 -10
- package/dist/utils/WebsocketContext.d.ts.map +1 -1
- package/dist/utils/WebsocketProvider.d.ts +11 -0
- package/dist/utils/WebsocketProvider.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/useWebsocketContext.d.ts +1 -9
- package/dist/utils/useWebsocketContext.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -19,7 +19,7 @@ export declare const IconButton: ({ multiIcon: MultiIcon, otherContent, vert, cl
|
|
|
19
19
|
export interface IconButtonProps extends DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
20
20
|
iconClassName?: string;
|
|
21
21
|
otherContentClassName?: string;
|
|
22
|
-
multiIcon:
|
|
22
|
+
multiIcon: MultiIconFC;
|
|
23
23
|
otherContent?: ReactNode;
|
|
24
24
|
vert?: boolean;
|
|
25
25
|
feedback?: boolean;
|
|
@@ -30,4 +30,5 @@ export interface IconProps {
|
|
|
30
30
|
disabled?: boolean;
|
|
31
31
|
className?: string;
|
|
32
32
|
}
|
|
33
|
+
export type MultiIconFC = (props: IconProps) => JSX.Element;
|
|
33
34
|
//# sourceMappingURL=IconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/Buttons/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAG/D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,oMAcpB,eAAe,4CAgCjB,CAAC;AAEF,MAAM,WAAW,eACf,SAAQ,iBAAiB,CACvB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,iBAAiB,CAClB;IACD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/Buttons/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAG/D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,oMAcpB,eAAe,4CAgCjB,CAAC;AAEF,MAAM,WAAW,eACf,SAAQ,iBAAiB,CACvB,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC7C,iBAAiB,CAClB;IACD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,EAAE,WAAW,CAAC;IACvB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,SAAS,KAAK,GAAG,CAAC,OAAO,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { IconNames } from '../../Icons/iconsDictionary';
|
|
2
|
-
import { IconButtonProps } from '../IconButton/IconButton';
|
|
3
|
-
export declare function NamedIconButton({ name, ...otherProps }: NamedIconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
import { IconButtonProps, MultiIconFC } from '../IconButton/IconButton';
|
|
3
|
+
export declare function NamedIconButton({ name, iconsDictionary, ...otherProps }: NamedIconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
type NamedIconButtonProps = Omit<IconButtonProps, 'multiIcon'> & {
|
|
5
5
|
name: IconNames;
|
|
6
|
+
/**
|
|
7
|
+
* Optional dictionary of icons to use for the button if the default is not desired.
|
|
8
|
+
*/
|
|
9
|
+
iconsDictionary?: Record<IconNames, MultiIconFC>;
|
|
6
10
|
};
|
|
7
11
|
export {};
|
|
8
12
|
//# sourceMappingURL=NamedIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamedIconButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/Buttons/NamedIconButton/NamedIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"NamedIconButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/Buttons/NamedIconButton/NamedIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA6C,MAAM,6BAA6B,CAAC;AACnG,OAAO,EAAc,eAAe,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEpF,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,eAAwC,EACxC,GAAG,UAAU,EACd,EAAE,oBAAoB,2CAMtB;AAED,KAAK,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,WAAW,CAAC,GAAG;IAC/D,IAAI,EAAE,SAAS,CAAC;IAEhB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;CAClD,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { IconProps } from "../Buttons/IconButton/IconButton";
|
|
1
|
+
import { MultiIconFC } from "../Buttons/IconButton/IconButton";
|
|
3
2
|
export type IconNames = "Alert" | "Ban" | "Camera" | "Check" | "DownArrow" | "Elipses" | "Flag" | "Gear" | "Glass" | "Hdmi" | "Laptop" | "LeftArrow" | "Light" | "Mic" | "Moon" | "Playstation" | "Podium" | "Power" | "Privacy" | "Question" | "RightArrow" | "Shade" | "Sun" | "UpArrow" | "VolDown" | "VolMute" | "VolUp" | "Wireless" | "X" | "Xbox";
|
|
4
|
-
export declare const iconsDictionary: Record<IconNames,
|
|
3
|
+
export declare const iconsDictionary: Record<IconNames, MultiIconFC>;
|
|
5
4
|
//# sourceMappingURL=iconsDictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconsDictionary.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/Icons/iconsDictionary.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iconsDictionary.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/Icons/iconsDictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAgC/D,MAAM,MAAM,SAAS,GACjB,OAAO,GACP,KAAK,GACL,QAAQ,GACR,OAAO,GACP,WAAW,GACX,SAAS,GACT,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,QAAQ,GACR,WAAW,GACX,OAAO,GACP,KAAK,GACL,MAAM,GACN,aAAa,GACb,QAAQ,GACR,OAAO,GACP,SAAS,GACT,UAAU,GACV,YAAY,GACZ,OAAO,GACP,KAAK,GACL,SAAS,GACT,SAAS,GACT,SAAS,GACT,OAAO,GACP,UAAU,GACV,GAAG,GACH,MAAM,CAAC;AAEX,eAAO,MAAM,eAAe,EAAE,MAAM,CAClC,SAAS,EACT,WAAW,CAgCZ,CAAC"}
|
|
@@ -19,6 +19,7 @@ export * from "./useIRunDirectRouteAction";
|
|
|
19
19
|
export * from "./useIRunRouteAction";
|
|
20
20
|
export * from "./useISetTopBoxcontrols";
|
|
21
21
|
export * from "./useIShadesOpenCloseStop";
|
|
22
|
+
export * from "./useIShutdownPromptTimer";
|
|
22
23
|
export * from "./useISwitchedOutput";
|
|
23
24
|
export * from "./useITransport";
|
|
24
25
|
export * from "./useMobileControlTouchpanelController";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IShutdownPromptTimerState } from 'src/lib/types/state/state/IShutdownPromptTimerState';
|
|
2
|
+
export declare function useIShutdownPromptTimer(key: string): IShutdownPromptTimerReturn | undefined;
|
|
3
|
+
export interface IShutdownPromptTimerReturn {
|
|
4
|
+
shutdownPromptTimerState: IShutdownPromptTimerState;
|
|
5
|
+
setShutdownPromptSeconds: (time: number) => void;
|
|
6
|
+
shutdownStart: () => void;
|
|
7
|
+
shutdownEnd: () => void;
|
|
8
|
+
shutdownCancel: () => void;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=useIShutdownPromptTimer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIShutdownPromptTimer.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useIShutdownPromptTimer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAGhG,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,0BAA0B,GAAG,SAAS,CAuB3F;AAED,MAAM,WAAW,0BAA0B;IACvC,wBAAwB,EAAE,yBAAyB,CAAC;IACpD,wBAAwB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetDeviceStateFromRoomConfiguration.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useGetDeviceStateFromRoomConfiguration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAI9D;;GAEG;AACH,eAAO,MAAM,yCAAyC;YAAuB,iBAAiB,GAAG,SAAS;
|
|
1
|
+
{"version":3,"file":"useGetDeviceStateFromRoomConfiguration.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useGetDeviceStateFromRoomConfiguration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAI9D;;GAEG;AACH,eAAO,MAAM,yCAAyC;YAAuB,iBAAiB,GAAG,SAAS;UAuDzG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TechLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/TechLayout/TechLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,UAAU,4CAA2C,eAAe,4CAShF,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"TechLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/TechLayout/TechLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,UAAU,4CAA2C,eAAe,4CAShF,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const TechPinLayout: ({ className, header, content }: TechLayoutProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
interface TechLayoutProps {
|
|
4
|
+
header: React.ReactNode;
|
|
5
|
+
content: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=TechPinLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TechPinLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/layout/habanero/TechPinLayout/TechPinLayout.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,aAAa,mCAAkC,eAAe,4CAQ1E,CAAA;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/layout/habanero/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/layout/habanero/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC"}
|
|
@@ -39,6 +39,7 @@ export declare const roomsActions: import("@reduxjs/toolkit").CaseReducerActions
|
|
|
39
39
|
hasEnvironmentalControls?: boolean | undefined;
|
|
40
40
|
hasVideoConferencing?: boolean | undefined;
|
|
41
41
|
helpMessage?: string | undefined;
|
|
42
|
+
techPassword?: string | undefined;
|
|
42
43
|
sourceList: {
|
|
43
44
|
[x: string]: {
|
|
44
45
|
disableCodecSharing: boolean;
|
|
@@ -73,7 +74,10 @@ export declare const roomsActions: import("@reduxjs/toolkit").CaseReducerActions
|
|
|
73
74
|
zoomRoomControllerKey?: string | undefined;
|
|
74
75
|
matrixRoutingKey?: string | undefined;
|
|
75
76
|
endpointKeys?: string[] | undefined;
|
|
76
|
-
|
|
77
|
+
accessoryDevices?: {
|
|
78
|
+
deviceKey?: string | undefined;
|
|
79
|
+
deviceType?: import("../../types/state/index").AccessoryDeviceTypes | undefined;
|
|
80
|
+
}[] | undefined;
|
|
77
81
|
} | undefined;
|
|
78
82
|
isCoolingDown?: boolean | undefined;
|
|
79
83
|
isInCall?: boolean | undefined;
|
|
@@ -155,6 +159,7 @@ export declare const roomsActions: import("@reduxjs/toolkit").CaseReducerActions
|
|
|
155
159
|
hasEnvironmentalControls?: boolean | undefined;
|
|
156
160
|
hasVideoConferencing?: boolean | undefined;
|
|
157
161
|
helpMessage?: string | undefined;
|
|
162
|
+
techPassword?: string | undefined;
|
|
158
163
|
sourceList: {
|
|
159
164
|
[x: string]: {
|
|
160
165
|
disableCodecSharing: boolean;
|
|
@@ -189,7 +194,10 @@ export declare const roomsActions: import("@reduxjs/toolkit").CaseReducerActions
|
|
|
189
194
|
zoomRoomControllerKey?: string | undefined;
|
|
190
195
|
matrixRoutingKey?: string | undefined;
|
|
191
196
|
endpointKeys?: string[] | undefined;
|
|
192
|
-
|
|
197
|
+
accessoryDevices?: {
|
|
198
|
+
deviceKey?: string | undefined;
|
|
199
|
+
deviceType?: import("../../types/state/index").AccessoryDeviceTypes | undefined;
|
|
200
|
+
}[] | undefined;
|
|
193
201
|
} | undefined;
|
|
194
202
|
isCoolingDown?: boolean | undefined;
|
|
195
203
|
isInCall?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooms.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/rooms/rooms.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AA0CzD,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"rooms.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/rooms/rooms.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AA0CzD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAjCU,cAAc,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiCX,CAAC;AAC/C,eAAO,MAAM,YAAY,oDAAsB,CAAC"}
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._iconbtn_16qss_1{display:flex;align-items:center;gap:.5rem}._iconbtnvert_16qss_7{flex-direction:column;gap:.5rem}._iconbtn_16qss_1:hover svg{transform:scale(1.05);transition:all .2s ease}._iconsm_16qss_18{width:4rem;height:4rem}._grid_1cmpp_1{display:grid;grid-template-columns:[column1-start] 1fr [column1-end column2-start] 7rem [column2-end];grid-template-rows:[row1-start] 7.5rem [row1-end row2-start] 1fr [row2-end row3-start] 14rem [row3-end];grid-template-areas:"header header header" "content content volume" "footer footer footer";height:100vh;width:100vw;overflow:hidden}._header_1cmpp_11{grid-area:header;z-index:10;overflow:hidden}._content_1cmpp_17{grid-area:content;z-index:0;overflow:hidden}._footer_1cmpp_23{grid-area:footer;z-index:30;overflow:hidden}._volume_1cmpp_29{grid-area:volume;overflow:hidden}._grid_11w5q_1{display:grid;grid-template-columns:[column1-start] 18.75rem [column1-end column2-start] 1fr [column2-end];grid-template-rows:[row1-start] 7.5rem [row1-end row2-start] 1fr [row2-end];grid-template-areas:"header header" "leftNav content";height:100vh;width:100vw;overflow:hidden}._header_11w5q_11{grid-area:header;z-index:10;overflow:hidden}._content_11w5q_17{grid-area:content;z-index:0;overflow:hidden}._left-nav_11w5q_23{grid-area:leftNav;z-index:30;overflow:hidden}
|
|
1
|
+
._iconbtn_16qss_1{display:flex;align-items:center;gap:.5rem}._iconbtnvert_16qss_7{flex-direction:column;gap:.5rem}._iconbtn_16qss_1:hover svg{transform:scale(1.05);transition:all .2s ease}._iconsm_16qss_18{width:4rem;height:4rem}._grid_1cmpp_1{display:grid;grid-template-columns:[column1-start] 1fr [column1-end column2-start] 7rem [column2-end];grid-template-rows:[row1-start] 7.5rem [row1-end row2-start] 1fr [row2-end row3-start] 14rem [row3-end];grid-template-areas:"header header header" "content content volume" "footer footer footer";height:100vh;width:100vw;overflow:hidden}._header_1cmpp_11{grid-area:header;z-index:10;overflow:hidden}._content_1cmpp_17{grid-area:content;z-index:0;overflow:hidden}._footer_1cmpp_23{grid-area:footer;z-index:30;overflow:hidden}._volume_1cmpp_29{grid-area:volume;overflow:hidden}._grid_11w5q_1{display:grid;grid-template-columns:[column1-start] 18.75rem [column1-end column2-start] 1fr [column2-end];grid-template-rows:[row1-start] 7.5rem [row1-end row2-start] 1fr [row2-end];grid-template-areas:"header header" "leftNav content";height:100vh;width:100vw;overflow:hidden}._header_11w5q_11{grid-area:header;z-index:10;overflow:hidden}._content_11w5q_17{grid-area:content;z-index:0;overflow:hidden}._left-nav_11w5q_23{grid-area:leftNav;z-index:30;overflow:hidden}._grid_1uwfo_1{display:grid;grid-template-columns:[column1-start] 1fr [column1-end];grid-template-rows:[row1-start] 7.5rem [row1-end row2-start] 1fr [row2-end];grid-template-areas:"header" "content";height:100vh;width:100vw;overflow:hidden}._header_1uwfo_11{grid-area:header;z-index:10;overflow:hidden}._content_1uwfo_17{grid-area:content;z-index:0;overflow:hidden}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/message.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/lib/types/state/message.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE3B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IShutdownPromptTimerState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/IShutdownPromptTimerState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -29,6 +29,7 @@ export interface RoomConfiguration {
|
|
|
29
29
|
hasEnvironmentalControls?: boolean;
|
|
30
30
|
hasVideoConferencing?: boolean;
|
|
31
31
|
helpMessage?: string;
|
|
32
|
+
techPassword?: string;
|
|
32
33
|
sourceList: Record<string, SourceListItem>;
|
|
33
34
|
supportsAdvancedSharing?: boolean;
|
|
34
35
|
uiBehavior?: EssentialsRoomUiBehaviorConfiguration;
|
|
@@ -39,7 +40,7 @@ export interface RoomConfiguration {
|
|
|
39
40
|
zoomRoomControllerKey?: string;
|
|
40
41
|
matrixRoutingKey?: string;
|
|
41
42
|
endpointKeys?: string[];
|
|
42
|
-
|
|
43
|
+
accessoryDevices?: AccessoryDeviceConfiguration[];
|
|
43
44
|
}
|
|
44
45
|
export interface EssentialsRoomUiBehaviorConfiguration {
|
|
45
46
|
disableActivityButtonsWhileWarmingCooling: boolean;
|
|
@@ -48,6 +49,11 @@ export declare class EnvironmentalDeviceConfiguration {
|
|
|
48
49
|
deviceKey?: string;
|
|
49
50
|
deviceType?: EnvironmentalDeviceTypes;
|
|
50
51
|
}
|
|
52
|
+
export declare class AccessoryDeviceConfiguration {
|
|
53
|
+
deviceKey?: string;
|
|
54
|
+
deviceType?: AccessoryDeviceTypes;
|
|
55
|
+
}
|
|
56
|
+
export type AccessoryDeviceTypes = 'Camera' | 'ProjectorLift' | 'Screen';
|
|
51
57
|
export type EnvironmentalDeviceTypes = 'Lighting' | 'Shade' | 'ShadeController' | 'Relay';
|
|
52
58
|
export type RoomVolumeType = 'master' | string;
|
|
53
59
|
export type DestinationTypes = "defaultDisplay" | "leftDisplay" | "centerDisplay" | "rightDisplay" | "programAudio" | "codecContent";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoomState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/RoomState.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC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QAAQ,CAAC;AAEzE,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG,OAAO,GAAG,iBAAiB,GAAG,OAAO,CAAC;AAE1F,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAK,gBAAgB,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,GAAG,cAAc,GAAG,cAAc,CAAC"}
|
|
@@ -9,6 +9,7 @@ export * from './IHasInputsState';
|
|
|
9
9
|
export * from './IHasSelectableItemsState';
|
|
10
10
|
export * from './IHasSurroundChannelsState';
|
|
11
11
|
export * from './IHasSurroundSoundModesState';
|
|
12
|
+
export * from './IShutdownPromptTimerState';
|
|
12
13
|
export * from './LevelControlsState';
|
|
13
14
|
export * from './LightingState';
|
|
14
15
|
export * from './MatrixRoutingState';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,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;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,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,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,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;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export default
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Message, SimpleContent } from '../types';
|
|
3
|
+
export interface WebsocketContextType {
|
|
4
|
+
sendMessage: (type: string, payload: SimpleContent | unknown) => void;
|
|
5
|
+
sendSimpleMessage: (type: string, payload: boolean | number | string) => void;
|
|
6
|
+
addEventHandler: (key: string, eventType: string, callback: (data: Message) => void) => void;
|
|
7
|
+
removeEventHandler: (key: string, eventType: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const WebsocketContext: import("react").Context<WebsocketContextType>;
|
|
10
|
+
export default WebsocketContext;
|
|
11
11
|
//# sourceMappingURL=WebsocketContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebsocketContext.d.ts","sourceRoot":"","sources":["../../src/lib/utils/WebsocketContext.
|
|
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,KAAM,IAAI,CAAC;IACvE,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,KAAM,IAAI,CAAC;IAC/E,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,KAAK,IAAI,CAAC;IAC7F,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9D;AAED,QAAA,MAAM,gBAAgB,+CAKpB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The context component that contains the websocket connection and provides the sendMessage function
|
|
4
|
+
* Must wrap all other components
|
|
5
|
+
* @param children the child components. First child should be a room buseness logic component
|
|
6
|
+
*/
|
|
7
|
+
declare const WebsocketProvider: ({ children }: {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default WebsocketProvider;
|
|
11
|
+
//# sourceMappingURL=WebsocketProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebsocketProvider.d.ts","sourceRoot":"","sources":["../../src/lib/utils/WebsocketProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA4C,MAAM,OAAO,CAAC;AAoB5E;;;;GAIG;AACH,QAAA,MAAM,iBAAiB;cAA8B,SAAS;6CAqO7D,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,
|
|
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,10 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { SimpleContent } from '../types';
|
|
3
|
-
export declare function useWebsocketContext(): WebsocketContextType;
|
|
4
|
-
interface WebsocketContextType {
|
|
5
|
-
sendMessage: (type: string, payload: SimpleContent | unknown) => void;
|
|
6
|
-
sendSimpleMessage: (type: string, payload: boolean | number | string) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const WebsocketContext: import("react").Context<WebsocketContextType>;
|
|
9
|
-
export default WebsocketContext;
|
|
1
|
+
export declare function useWebsocketContext(): import("./WebsocketContext").WebsocketContextType;
|
|
10
2
|
//# sourceMappingURL=useWebsocketContext.d.ts.map
|
|
@@ -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,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.6.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"eslint-plugin-react-refresh": "^0.4.5",
|
|
37
37
|
"lodash": "^4.17.21",
|
|
38
38
|
"prettier": "^2.6.2",
|
|
39
|
-
"react": "^18.
|
|
40
|
-
"react-dom": "^18.
|
|
39
|
+
"react": "^18.3.0",
|
|
40
|
+
"react-dom": "^18.3.0",
|
|
41
41
|
"react-redux": "^9.1.0",
|
|
42
42
|
"react-router-dom": "^6.21.3",
|
|
43
43
|
"sass": "^1.70.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"@reduxjs/toolkit": "^2.0.1",
|
|
52
52
|
"axios": "^1.6.5",
|
|
53
53
|
"lodash": "^4.17.21",
|
|
54
|
-
"react": "^18.
|
|
55
|
-
"react-dom": "^18.
|
|
54
|
+
"react": "^18.3.0",
|
|
55
|
+
"react-dom": "^18.3.0",
|
|
56
56
|
"react-redux": "^9.1.0",
|
|
57
57
|
"react-router-dom": "^6.21.3"
|
|
58
58
|
},
|