@stream-io/video-react-native-sdk 0.0.1-alpha.413 → 0.0.1-alpha.415
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/CHANGELOG.md +18 -0
- package/dist/index.js +21 -45
- package/dist/index.js.map +1 -1
- package/dist/jest-setup.js +5 -3
- package/dist/jest-setup.js.map +1 -1
- package/dist/src/components/Call/CallContent/CallContent.js +37 -68
- package/dist/src/components/Call/CallContent/CallContent.js.map +1 -1
- package/dist/src/components/Call/CallContent/index.js +1 -17
- package/dist/src/components/Call/CallContent/index.js.map +1 -1
- package/dist/src/components/Call/CallControls/AcceptCallButton.js +10 -18
- package/dist/src/components/Call/CallControls/AcceptCallButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/CallControls.js +18 -26
- package/dist/src/components/Call/CallControls/CallControls.js.map +1 -1
- package/dist/src/components/Call/CallControls/CallControlsButton.js +14 -24
- package/dist/src/components/Call/CallControls/CallControlsButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/ChatButton.js +19 -30
- package/dist/src/components/Call/CallControls/ChatButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/HangupCallButton.js +15 -43
- package/dist/src/components/Call/CallControls/HangupCallButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/IncomingCallControls.js +13 -21
- package/dist/src/components/Call/CallControls/IncomingCallControls.js.map +1 -1
- package/dist/src/components/Call/CallControls/LobbyControls.js +11 -19
- package/dist/src/components/Call/CallControls/LobbyControls.js.map +1 -1
- package/dist/src/components/Call/CallControls/OutgoingCallControls.js +14 -23
- package/dist/src/components/Call/CallControls/OutgoingCallControls.js.map +1 -1
- package/dist/src/components/Call/CallControls/ReactionButton.js +19 -49
- package/dist/src/components/Call/CallControls/ReactionButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/RejectCallButton.js +16 -24
- package/dist/src/components/Call/CallControls/RejectCallButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.js +12 -21
- package/dist/src/components/Call/CallControls/ToggleAudioPreviewButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.js +12 -22
- package/dist/src/components/Call/CallControls/ToggleAudioPublishingButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.js +13 -22
- package/dist/src/components/Call/CallControls/ToggleCameraFaceButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.js +12 -21
- package/dist/src/components/Call/CallControls/ToggleVideoPreviewButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.js +12 -22
- package/dist/src/components/Call/CallControls/ToggleVideoPublishingButton.js.map +1 -1
- package/dist/src/components/Call/CallControls/index.js +14 -30
- package/dist/src/components/Call/CallControls/index.js.map +1 -1
- package/dist/src/components/Call/CallControls/internal/ReactionsPicker.js +47 -82
- package/dist/src/components/Call/CallControls/internal/ReactionsPicker.js.map +1 -1
- package/dist/src/components/Call/CallLayout/CallParticipantsGrid.js +15 -24
- package/dist/src/components/Call/CallLayout/CallParticipantsGrid.js.map +1 -1
- package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.js +22 -32
- package/dist/src/components/Call/CallLayout/CallParticipantsSpotlight.js.map +1 -1
- package/dist/src/components/Call/CallLayout/index.js +2 -18
- package/dist/src/components/Call/CallLayout/index.js.map +1 -1
- package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.js +29 -62
- package/dist/src/components/Call/CallParticipantsList/CallParticipantsList.js.map +1 -1
- package/dist/src/components/Call/CallParticipantsList/index.js +1 -17
- package/dist/src/components/Call/CallParticipantsList/index.js.map +1 -1
- package/dist/src/components/Call/CallTopView/CallTopView.js +38 -79
- package/dist/src/components/Call/CallTopView/CallTopView.js.map +1 -1
- package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.js +36 -48
- package/dist/src/components/Call/CallTopView/ParticipantsInfoBadge.js.map +1 -1
- package/dist/src/components/Call/CallTopView/index.js +2 -18
- package/dist/src/components/Call/CallTopView/index.js.map +1 -1
- package/dist/src/components/Call/Lobby/JoinCallButton.js +19 -29
- package/dist/src/components/Call/Lobby/JoinCallButton.js.map +1 -1
- package/dist/src/components/Call/Lobby/Lobby.js +74 -96
- package/dist/src/components/Call/Lobby/Lobby.js.map +1 -1
- package/dist/src/components/Call/Lobby/index.js +2 -18
- package/dist/src/components/Call/Lobby/index.js.map +1 -1
- package/dist/src/components/Call/RingingCallContent/IncomingCall.js +34 -51
- package/dist/src/components/Call/RingingCallContent/IncomingCall.js.map +1 -1
- package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.js +9 -17
- package/dist/src/components/Call/RingingCallContent/JoiningCallIndicator.js.map +1 -1
- package/dist/src/components/Call/RingingCallContent/OutgoingCall.js +44 -59
- package/dist/src/components/Call/RingingCallContent/OutgoingCall.js.map +1 -1
- package/dist/src/components/Call/RingingCallContent/RingingCallContent.js +25 -34
- package/dist/src/components/Call/RingingCallContent/RingingCallContent.js.map +1 -1
- package/dist/src/components/Call/RingingCallContent/UserInfo.js +24 -36
- package/dist/src/components/Call/RingingCallContent/UserInfo.js.map +1 -1
- package/dist/src/components/Call/RingingCallContent/index.js +3 -19
- package/dist/src/components/Call/RingingCallContent/index.js.map +1 -1
- package/dist/src/components/Call/index.js +7 -23
- package/dist/src/components/Call/index.js.map +1 -1
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js +40 -68
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/AnimatedFloatingView.js.map +1 -1
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.d.ts +4 -0
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js +126 -0
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.js.map +1 -0
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.js +5 -10
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/common.js.map +1 -1
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.d.ts +4 -0
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.js +6 -0
- package/dist/src/components/Participant/FloatingParticipantView/FloatingView/index.js.map +1 -0
- package/dist/src/components/Participant/FloatingParticipantView/index.js +42 -56
- package/dist/src/components/Participant/FloatingParticipantView/index.js.map +1 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantLabel.js +51 -68
- package/dist/src/components/Participant/ParticipantView/ParticipantLabel.js.map +1 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js +20 -29
- package/dist/src/components/Participant/ParticipantView/ParticipantNetworkQualityIndicator.js.map +1 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantReaction.js +17 -48
- package/dist/src/components/Participant/ParticipantView/ParticipantReaction.js.map +1 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.js +20 -31
- package/dist/src/components/Participant/ParticipantView/ParticipantVideoFallback.js.map +1 -1
- package/dist/src/components/Participant/ParticipantView/ParticipantView.js +18 -27
- package/dist/src/components/Participant/ParticipantView/ParticipantView.js.map +1 -1
- package/dist/src/components/Participant/ParticipantView/VideoRenderer.js +30 -59
- package/dist/src/components/Participant/ParticipantView/VideoRenderer.js.map +1 -1
- package/dist/src/components/Participant/ParticipantView/index.js +6 -22
- package/dist/src/components/Participant/ParticipantView/index.js.map +1 -1
- package/dist/src/components/Participant/index.js +2 -18
- package/dist/src/components/Participant/index.js.map +1 -1
- package/dist/src/components/index.js +3 -19
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/utility/Avatar.js +19 -30
- package/dist/src/components/utility/Avatar.js.map +1 -1
- package/dist/src/components/utility/index.js +1 -17
- package/dist/src/components/utility/index.js.map +1 -1
- package/dist/src/constants/TestIds.js +8 -11
- package/dist/src/constants/TestIds.js.map +1 -1
- package/dist/src/constants/index.js +4 -7
- package/dist/src/constants/index.js.map +1 -1
- package/dist/src/contexts/StreamVideoContext.js +14 -43
- package/dist/src/contexts/StreamVideoContext.js.map +1 -1
- package/dist/src/contexts/ThemeContext.js +13 -47
- package/dist/src/contexts/ThemeContext.js.map +1 -1
- package/dist/src/contexts/index.js +2 -18
- package/dist/src/contexts/index.js.map +1 -1
- package/dist/src/hooks/index.js +5 -21
- package/dist/src/hooks/index.js.map +1 -1
- package/dist/src/hooks/internal/useCallMediaStreamCleanup.js +10 -14
- package/dist/src/hooks/internal/useCallMediaStreamCleanup.js.map +1 -1
- package/dist/src/hooks/push/index.js +9 -13
- package/dist/src/hooks/push/index.js.map +1 -1
- package/dist/src/hooks/push/useInitAndroidTokenAndRest.js +10 -14
- package/dist/src/hooks/push/useInitAndroidTokenAndRest.js.map +1 -1
- package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.js +17 -21
- package/dist/src/hooks/push/useIosCallKeepEventsSetupEffect.js.map +1 -1
- package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.js +38 -42
- package/dist/src/hooks/push/useIosCallkeepWithCallingStateEffect.js.map +1 -1
- package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.js +17 -21
- package/dist/src/hooks/push/useIosVoipPushEventsSetupEffect.js.map +1 -1
- package/dist/src/hooks/push/useProcessPushCallEffect.js +16 -20
- package/dist/src/hooks/push/useProcessPushCallEffect.js.map +1 -1
- package/dist/src/hooks/useAndroidKeepCallAliveEffect.js +24 -51
- package/dist/src/hooks/useAndroidKeepCallAliveEffect.js.map +1 -1
- package/dist/src/hooks/useIncallManager.js +6 -13
- package/dist/src/hooks/useIncallManager.js.map +1 -1
- package/dist/src/hooks/usePermissionNotification.js +15 -19
- package/dist/src/hooks/usePermissionNotification.js.map +1 -1
- package/dist/src/hooks/usePermissionRequest.js +13 -17
- package/dist/src/hooks/usePermissionRequest.js.map +1 -1
- package/dist/src/icons/Back.js +4 -12
- package/dist/src/icons/Back.js.map +1 -1
- package/dist/src/icons/CameraSwitch.js +4 -12
- package/dist/src/icons/CameraSwitch.js.map +1 -1
- package/dist/src/icons/Chat.js +4 -12
- package/dist/src/icons/Chat.js.map +1 -1
- package/dist/src/icons/Mic.js +5 -13
- package/dist/src/icons/Mic.js.map +1 -1
- package/dist/src/icons/MicOff.js +4 -12
- package/dist/src/icons/MicOff.js.map +1 -1
- package/dist/src/icons/Participants.js +4 -12
- package/dist/src/icons/Participants.js.map +1 -1
- package/dist/src/icons/Phone.js +4 -12
- package/dist/src/icons/Phone.js.map +1 -1
- package/dist/src/icons/PhoneDown.js +5 -13
- package/dist/src/icons/PhoneDown.js.map +1 -1
- package/dist/src/icons/PinVertical.js +4 -12
- package/dist/src/icons/PinVertical.js.map +1 -1
- package/dist/src/icons/Reaction.js +4 -12
- package/dist/src/icons/Reaction.js.map +1 -1
- package/dist/src/icons/ScreenShare.js +9 -42
- package/dist/src/icons/ScreenShare.js.map +1 -1
- package/dist/src/icons/Settings.js +5 -36
- package/dist/src/icons/Settings.js.map +1 -1
- package/dist/src/icons/Spotlight.js +4 -12
- package/dist/src/icons/Spotlight.js.map +1 -1
- package/dist/src/icons/ThreeDots.js +6 -14
- package/dist/src/icons/ThreeDots.js.map +1 -1
- package/dist/src/icons/TopViewBackground.js +8 -18
- package/dist/src/icons/TopViewBackground.js.map +1 -1
- package/dist/src/icons/Video.js +4 -12
- package/dist/src/icons/Video.js.map +1 -1
- package/dist/src/icons/VideoSlash.js +5 -13
- package/dist/src/icons/VideoSlash.js.map +1 -1
- package/dist/src/icons/index.js +16 -32
- package/dist/src/icons/index.js.map +1 -1
- package/dist/src/providers/MediaDevices.js +11 -15
- package/dist/src/providers/MediaDevices.js.map +1 -1
- package/dist/src/providers/MediaStreamManagement.js +26 -56
- package/dist/src/providers/MediaStreamManagement.js.map +1 -1
- package/dist/src/providers/StreamCall.js +13 -22
- package/dist/src/providers/StreamCall.js.map +1 -1
- package/dist/src/providers/StreamVideo.js +19 -52
- package/dist/src/providers/StreamVideo.js.map +1 -1
- package/dist/src/providers/index.js +3 -19
- package/dist/src/providers/index.js.map +1 -1
- package/dist/src/theme/colors.js +36 -40
- package/dist/src/theme/colors.js.map +1 -1
- package/dist/src/theme/constants.js +1 -4
- package/dist/src/theme/constants.js.map +1 -1
- package/dist/src/theme/index.js +5 -22
- package/dist/src/theme/index.js.map +1 -1
- package/dist/src/theme/theme.js +3 -6
- package/dist/src/theme/theme.js.map +1 -1
- package/dist/src/theme/types.js +1 -2
- package/dist/src/translations/en.json +3 -1
- package/dist/src/translations/index.d.ts +2 -0
- package/dist/src/translations/index.js +2 -8
- package/dist/src/translations/index.js.map +1 -1
- package/dist/src/utils/StreamVideoRN/index.js +10 -14
- package/dist/src/utils/StreamVideoRN/index.js.map +1 -1
- package/dist/src/utils/StreamVideoRN/permissions.js +7 -11
- package/dist/src/utils/StreamVideoRN/permissions.js.map +1 -1
- package/dist/src/utils/StreamVideoRN/types.js +1 -2
- package/dist/src/utils/hooks/index.js +3 -19
- package/dist/src/utils/hooks/index.js.map +1 -1
- package/dist/src/utils/hooks/useAppStateListener.js +9 -13
- package/dist/src/utils/hooks/useAppStateListener.js.map +1 -1
- package/dist/src/utils/hooks/useDebouncedValue.js +4 -8
- package/dist/src/utils/hooks/useDebouncedValue.js.map +1 -1
- package/dist/src/utils/hooks/usePrevious.js +4 -8
- package/dist/src/utils/hooks/usePrevious.js.map +1 -1
- package/dist/src/utils/index.js +4 -24
- package/dist/src/utils/index.js.map +1 -1
- package/dist/src/utils/internal/optionalLibs.d.ts +5 -0
- package/dist/src/utils/internal/optionalLibs.js +23 -0
- package/dist/src/utils/internal/optionalLibs.js.map +1 -0
- package/dist/src/utils/push/android.js +26 -54
- package/dist/src/utils/push/android.js.map +1 -1
- package/dist/src/utils/push/ios.js +11 -16
- package/dist/src/utils/push/ios.js.map +1 -1
- package/dist/src/utils/push/libs.js +3 -9
- package/dist/src/utils/push/libs.js.map +1 -1
- package/dist/src/utils/push/rxSubjects.js +7 -10
- package/dist/src/utils/push/rxSubjects.js.map +1 -1
- package/dist/src/utils/push/utils.js +3 -8
- package/dist/src/utils/push/utils.js.map +1 -1
- package/dist/src/utils/setClientDetails.js +12 -16
- package/dist/src/utils/setClientDetails.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -4
- package/dist/version.js.map +1 -1
- package/package.json +22 -3
- package/src/components/Participant/FloatingParticipantView/FloatingView/ReanimatedFloatingView.tsx +198 -0
- package/src/components/Participant/FloatingParticipantView/FloatingView/index.ts +12 -0
- package/src/components/Participant/FloatingParticipantView/index.tsx +3 -3
- package/src/providers/MediaStreamManagement.tsx +7 -7
- package/src/translations/en.json +3 -1
- package/src/utils/internal/optionalLibs.ts +27 -0
- package/src/utils/setClientDetails.ts +2 -2
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/android/gradlew +0 -234
- package/android/gradlew.bat +0 -89
- package/dist/__tests__/components/Avatar.test.d.ts +0 -1
- package/dist/__tests__/components/Avatar.test.js +0 -34
- package/dist/__tests__/components/Avatar.test.js.map +0 -1
- package/dist/__tests__/components/CallControls.test.d.ts +0 -1
- package/dist/__tests__/components/CallControls.test.js +0 -99
- package/dist/__tests__/components/CallControls.test.js.map +0 -1
- package/dist/__tests__/components/CallParticipantsGrid.test.d.ts +0 -1
- package/dist/__tests__/components/CallParticipantsGrid.test.js +0 -105
- package/dist/__tests__/components/CallParticipantsGrid.test.js.map +0 -1
- package/dist/__tests__/components/CallParticipantsSpotlight.test.d.ts +0 -1
- package/dist/__tests__/components/CallParticipantsSpotlight.test.js +0 -76
- package/dist/__tests__/components/CallParticipantsSpotlight.test.js.map +0 -1
- package/dist/__tests__/components/ParticipantView.test.d.ts +0 -1
- package/dist/__tests__/components/ParticipantView.test.js +0 -62
- package/dist/__tests__/components/ParticipantView.test.js.map +0 -1
- package/dist/__tests__/mocks/call.d.ts +0 -2
- package/dist/__tests__/mocks/call.js +0 -24
- package/dist/__tests__/mocks/call.js.map +0 -1
- package/dist/__tests__/mocks/client.d.ts +0 -2
- package/dist/__tests__/mocks/client.js +0 -30
- package/dist/__tests__/mocks/client.js.map +0 -1
- package/dist/__tests__/mocks/participant.d.ts +0 -3
- package/dist/__tests__/mocks/participant.js +0 -32
- package/dist/__tests__/mocks/participant.js.map +0 -1
- package/dist/__tests__/utils/RNTLTools.d.ts +0 -13
- package/dist/__tests__/utils/RNTLTools.js +0 -45
- package/dist/__tests__/utils/RNTLTools.js.map +0 -1
- package/dist/src/utils/device-info/libs.d.ts +0 -2
- package/dist/src/utils/device-info/libs.js +0 -16
- package/dist/src/utils/device-info/libs.js.map +0 -1
- package/src/utils/device-info/libs.ts +0 -17
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
exports.Avatar = void 0;
|
|
7
|
-
const react_native_1 = require("react-native");
|
|
8
|
-
const react_1 = __importDefault(require("react"));
|
|
9
|
-
const utils_1 = require("../../utils");
|
|
10
|
-
const TestIds_1 = require("../../constants/TestIds");
|
|
11
|
-
const ThemeContext_1 = require("../../contexts/ThemeContext");
|
|
1
|
+
import { Image, StyleSheet, Text, View } from 'react-native';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { getInitialsOfName } from '../../utils';
|
|
4
|
+
import { ComponentTestIds, ImageTestIds } from '../../constants/TestIds';
|
|
5
|
+
import { useTheme } from '../../contexts/ThemeContext';
|
|
12
6
|
/**
|
|
13
7
|
* Shows either user's image or initials based on the user state and existence of
|
|
14
8
|
* their image.
|
|
15
9
|
*/
|
|
16
|
-
const Avatar = (props) => {
|
|
10
|
+
export const Avatar = (props) => {
|
|
17
11
|
const { participant: { userId, image, name }, size = 100, style: styleProp, } = props;
|
|
18
|
-
const { theme: { avatar, colors, typefaces }, } =
|
|
12
|
+
const { theme: { avatar, colors, typefaces }, } = useTheme();
|
|
19
13
|
const userDetails = name || userId;
|
|
20
|
-
const userLabel = userDetails ?
|
|
14
|
+
const userLabel = userDetails ? getInitialsOfName(userDetails) : '?';
|
|
21
15
|
const imageUrl = image;
|
|
22
|
-
return (
|
|
16
|
+
return (React.createElement(View, { testID: ComponentTestIds.PARTICIPANT_AVATAR, style: [
|
|
23
17
|
styles.container,
|
|
24
18
|
{
|
|
25
19
|
borderRadius: size / 2,
|
|
@@ -31,22 +25,17 @@ const Avatar = (props) => {
|
|
|
31
25
|
},
|
|
32
26
|
avatar.container,
|
|
33
27
|
styleProp?.container,
|
|
34
|
-
]}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
]} numberOfLines={1}>
|
|
44
|
-
{userLabel}
|
|
45
|
-
</react_native_1.Text>)}
|
|
46
|
-
</react_native_1.View>);
|
|
28
|
+
] }, imageUrl ? (React.createElement(Image, { testID: ImageTestIds.AVATAR, source: {
|
|
29
|
+
uri: imageUrl,
|
|
30
|
+
}, style: [styles.image, avatar.image, styleProp?.image] })) : (React.createElement(Text, { style: [
|
|
31
|
+
styles.text,
|
|
32
|
+
{ fontSize: size / 2, color: colors.bars },
|
|
33
|
+
typefaces.heading6,
|
|
34
|
+
avatar.text,
|
|
35
|
+
styleProp?.text,
|
|
36
|
+
], numberOfLines: 1 }, userLabel))));
|
|
47
37
|
};
|
|
48
|
-
|
|
49
|
-
const styles = react_native_1.StyleSheet.create({
|
|
38
|
+
const styles = StyleSheet.create({
|
|
50
39
|
container: {
|
|
51
40
|
justifyContent: 'center',
|
|
52
41
|
overflow: 'hidden',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.js","sourceRoot":"","sources":["../../../../src/components/utility/Avatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Avatar.js","sourceRoot":"","sources":["../../../../src/components/utility/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAuCvD;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,KAAkB,EAAE,EAAE;IAC3C,MAAM,EACJ,WAAW,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EACpC,IAAI,GAAG,GAAG,EACV,KAAK,EAAE,SAAS,GACjB,GAAG,KAAK,CAAC;IACV,MAAM,EACJ,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GACrC,GAAG,QAAQ,EAAE,CAAC;IACf,MAAM,WAAW,GAAG,IAAI,IAAI,MAAM,CAAC;IACnC,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAErE,MAAM,QAAQ,GAAG,KAAK,CAAC;IACvB,OAAO,CACL,oBAAC,IAAI,IACH,MAAM,EAAE,gBAAgB,CAAC,kBAAkB,EAC3C,KAAK,EAAE;YACL,MAAM,CAAC,SAAS;YAChB;gBACE,YAAY,EAAE,IAAI,GAAG,CAAC;gBACtB,MAAM,EAAE,IAAI;gBACZ,KAAK,EAAE,IAAI;aACZ;YACD;gBACE,eAAe,EAAE,MAAM,CAAC,OAAO;aAChC;YACD,MAAM,CAAC,SAAS;YAChB,SAAS,EAAE,SAAS;SACrB,IAEA,QAAQ,CAAC,CAAC,CAAC,CACV,oBAAC,KAAK,IACJ,MAAM,EAAE,YAAY,CAAC,MAAM,EAC3B,MAAM,EAAE;YACN,GAAG,EAAE,QAAQ;SACd,EACD,KAAK,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,GACrD,CACH,CAAC,CAAC,CAAC,CACF,oBAAC,IAAI,IACH,KAAK,EAAE;YACL,MAAM,CAAC,IAAI;YACX,EAAE,QAAQ,EAAE,IAAI,GAAG,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE;YAC1C,SAAS,CAAC,QAAQ;YAClB,MAAM,CAAC,IAAI;YACX,SAAS,EAAE,IAAI;SAChB,EACD,aAAa,EAAE,CAAC,IAEf,SAAS,CACL,CACR,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,cAAc,EAAE,QAAQ;QACxB,QAAQ,EAAE,QAAQ;KACnB;IACD,KAAK,EAAE;QACL,IAAI,EAAE,CAAC;KACR;IACD,IAAI,EAAE;QACJ,SAAS,EAAE,QAAQ;KACpB;CACF,CAAC,CAAC"}
|
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Avatar"), exports);
|
|
1
|
+
export * from './Avatar';
|
|
18
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/utility/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/utility/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImageTestIds = exports.ButtonTestIds = exports.ComponentTestIds = exports.IconTestIds = void 0;
|
|
4
|
-
var IconTestIds;
|
|
1
|
+
export var IconTestIds;
|
|
5
2
|
(function (IconTestIds) {
|
|
6
3
|
IconTestIds["MUTED_VIDEO"] = "muted-video-icon";
|
|
7
4
|
IconTestIds["HANG_UP_CALL"] = "hang-up-call-icon";
|
|
8
5
|
IconTestIds["SCREEN_SHARE"] = "screen-share-icon";
|
|
9
|
-
})(IconTestIds
|
|
10
|
-
var ComponentTestIds;
|
|
6
|
+
})(IconTestIds || (IconTestIds = {}));
|
|
7
|
+
export var ComponentTestIds;
|
|
11
8
|
(function (ComponentTestIds) {
|
|
12
9
|
ComponentTestIds["PARTICIPANT_AVATAR"] = "participant-avatar";
|
|
13
10
|
ComponentTestIds["CALL_PARTICIPANTS_LIST"] = "call-participants-list";
|
|
@@ -19,15 +16,15 @@ var ComponentTestIds;
|
|
|
19
16
|
ComponentTestIds["PARTICIPANT_SCREEN_SHARING"] = "participant-screen-sharing";
|
|
20
17
|
ComponentTestIds["REACTIONS_PICKER"] = "reactions-picker";
|
|
21
18
|
ComponentTestIds["CHAT_UNREAD_BADGE_COUNT_INDICATOR"] = "chat-unread-badge-count-indicator";
|
|
22
|
-
})(ComponentTestIds
|
|
23
|
-
var ButtonTestIds;
|
|
19
|
+
})(ComponentTestIds || (ComponentTestIds = {}));
|
|
20
|
+
export var ButtonTestIds;
|
|
24
21
|
(function (ButtonTestIds) {
|
|
25
22
|
ButtonTestIds["PARTICIPANTS_INFO"] = "participants-info-button";
|
|
26
23
|
ButtonTestIds["HANG_UP_CALL"] = "hang-up-call";
|
|
27
24
|
ButtonTestIds["REACTION"] = "call-controls-reaction";
|
|
28
|
-
})(ButtonTestIds
|
|
29
|
-
var ImageTestIds;
|
|
25
|
+
})(ButtonTestIds || (ButtonTestIds = {}));
|
|
26
|
+
export var ImageTestIds;
|
|
30
27
|
(function (ImageTestIds) {
|
|
31
28
|
ImageTestIds["AVATAR"] = "avatar-image";
|
|
32
|
-
})(ImageTestIds
|
|
29
|
+
})(ImageTestIds || (ImageTestIds = {}));
|
|
33
30
|
//# sourceMappingURL=TestIds.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestIds.js","sourceRoot":"","sources":["../../../src/constants/TestIds.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TestIds.js","sourceRoot":"","sources":["../../../src/constants/TestIds.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,+CAAgC,CAAA;IAChC,iDAAkC,CAAA;IAClC,iDAAkC,CAAA;AACpC,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AAED,MAAM,CAAN,IAAY,gBAWX;AAXD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,qEAAiD,CAAA;IACjD,+EAA2D,CAAA;IAC3D,qEAAiD,CAAA;IACjD,2DAAuC,CAAA;IACvC,yEAAqD,CAAA;IACrD,2DAAuC,CAAA;IACvC,6EAAyD,CAAA;IACzD,yDAAqC,CAAA;IACrC,2FAAuE,CAAA;AACzE,CAAC,EAXW,gBAAgB,KAAhB,gBAAgB,QAW3B;AAED,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,+DAA8C,CAAA;IAC9C,8CAA6B,CAAA;IAC7B,oDAAmC,CAAA;AACrC,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAED,MAAM,CAAN,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,uCAAuB,CAAA;AACzB,CAAC,EAFW,YAAY,KAAZ,YAAY,QAEvB"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Z_INDEX = exports.defaultEmojiReactions = exports.LOBBY_VIDEO_VIEW_HEIGHT = exports.FLOATING_VIDEO_VIEW_STYLE = void 0;
|
|
4
|
-
exports.FLOATING_VIDEO_VIEW_STYLE = {
|
|
1
|
+
export const FLOATING_VIDEO_VIEW_STYLE = {
|
|
5
2
|
height: 140,
|
|
6
3
|
width: 80,
|
|
7
4
|
borderRadius: 10,
|
|
8
5
|
};
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
export const LOBBY_VIDEO_VIEW_HEIGHT = 280;
|
|
7
|
+
export const defaultEmojiReactions = [
|
|
11
8
|
{
|
|
12
9
|
type: 'reaction',
|
|
13
10
|
emoji_code: ':like:',
|
|
@@ -27,7 +24,7 @@ exports.defaultEmojiReactions = [
|
|
|
27
24
|
icon: '🎉',
|
|
28
25
|
},
|
|
29
26
|
];
|
|
30
|
-
|
|
27
|
+
export const Z_INDEX = {
|
|
31
28
|
IN_BACK: 0,
|
|
32
29
|
IN_MIDDLE: 1,
|
|
33
30
|
IN_FRONT: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,EAAE;IACT,YAAY,EAAE,EAAE;CACjB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAE3C,MAAM,CAAC,MAAM,qBAAqB,GAA4C;IAC5E;QACE,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,QAAQ;QACpB,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,IAAI;KACX;IACD;QACE,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE,cAAc;QAC1B,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,GAAG;KACV;IACD;QACE,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,IAAI;KACX;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,OAAO,EAAE,CAAC;IACV,SAAS,EAAE,CAAC;IACZ,QAAQ,EAAE,CAAC;CACZ,CAAC"}
|
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var _a;
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.useStreamVideoStoreSetState = exports.useStreamVideoStoreValue = exports.StreamVideoStoreProvider = void 0;
|
|
28
|
-
const react_1 = __importStar(require("react"));
|
|
1
|
+
import React, { createContext, useContext, useEffect, useRef, useState, } from 'react';
|
|
29
2
|
/**
|
|
30
3
|
* Creates a Atomic store context with a provider and hooks to access the store
|
|
31
4
|
* Atomic means that each value in the store updates state separately using useStoreValue hook
|
|
@@ -35,10 +8,10 @@ const react_1 = __importStar(require("react"));
|
|
|
35
8
|
*/
|
|
36
9
|
function createStoreContext(initialState) {
|
|
37
10
|
function useStoreData() {
|
|
38
|
-
const storeRef =
|
|
39
|
-
const getSnapshot =
|
|
40
|
-
const subscribersRef =
|
|
41
|
-
const setState =
|
|
11
|
+
const storeRef = useRef(initialState);
|
|
12
|
+
const getSnapshot = useRef(() => storeRef.current).current;
|
|
13
|
+
const subscribersRef = useRef([]);
|
|
14
|
+
const setState = useRef((partialStateOrFunc) => {
|
|
42
15
|
if (typeof partialStateOrFunc === 'function') {
|
|
43
16
|
const value = partialStateOrFunc(storeRef.current);
|
|
44
17
|
storeRef.current = {
|
|
@@ -51,7 +24,7 @@ function createStoreContext(initialState) {
|
|
|
51
24
|
}
|
|
52
25
|
subscribersRef.current.forEach((callback) => callback());
|
|
53
26
|
}).current;
|
|
54
|
-
const subscribe =
|
|
27
|
+
const subscribe = useRef((callback) => {
|
|
55
28
|
subscribersRef.current.push(callback);
|
|
56
29
|
return () => subscribersRef.current.filter((cb) => cb !== callback);
|
|
57
30
|
}).current;
|
|
@@ -61,12 +34,10 @@ function createStoreContext(initialState) {
|
|
|
61
34
|
subscribe,
|
|
62
35
|
};
|
|
63
36
|
}
|
|
64
|
-
const StoreContext =
|
|
37
|
+
const StoreContext = createContext(null);
|
|
65
38
|
function Provider(props) {
|
|
66
39
|
const value = useStoreData();
|
|
67
|
-
return (
|
|
68
|
-
{props.children}
|
|
69
|
-
</StoreContext.Provider>);
|
|
40
|
+
return (React.createElement(StoreContext.Provider, { value: value }, props.children));
|
|
70
41
|
}
|
|
71
42
|
/**
|
|
72
43
|
* @param selector
|
|
@@ -75,12 +46,12 @@ function createStoreContext(initialState) {
|
|
|
75
46
|
* @category Client State
|
|
76
47
|
*/
|
|
77
48
|
function useStoreValue(selector) {
|
|
78
|
-
const store =
|
|
49
|
+
const store = useContext(StoreContext);
|
|
79
50
|
if (!store) {
|
|
80
51
|
throw new Error('Store not found');
|
|
81
52
|
}
|
|
82
|
-
const [state, setState] =
|
|
83
|
-
|
|
53
|
+
const [state, setState] = useState(selector(store.getSnapshot()));
|
|
54
|
+
useEffect(() => store.subscribe(() => setState(selector(store.getSnapshot()))), [selector, store]);
|
|
84
55
|
return state;
|
|
85
56
|
}
|
|
86
57
|
/**
|
|
@@ -90,7 +61,7 @@ function createStoreContext(initialState) {
|
|
|
90
61
|
* @category Client State
|
|
91
62
|
*/
|
|
92
63
|
function useStoreSetState() {
|
|
93
|
-
const store =
|
|
64
|
+
const store = useContext(StoreContext);
|
|
94
65
|
if (!store) {
|
|
95
66
|
throw new Error('Store not found');
|
|
96
67
|
}
|
|
@@ -102,10 +73,10 @@ function createStoreContext(initialState) {
|
|
|
102
73
|
useStoreSetState,
|
|
103
74
|
};
|
|
104
75
|
}
|
|
105
|
-
|
|
76
|
+
export const { Provider: StreamVideoStoreProvider, useStoreValue: useStreamVideoStoreValue, useStoreSetState: useStreamVideoStoreSetState, } = createStoreContext({
|
|
106
77
|
videoDevices: [],
|
|
107
78
|
audioDevices: [],
|
|
108
79
|
currentVideoDevice: undefined,
|
|
109
80
|
currentAudioDevice: undefined,
|
|
110
|
-
})
|
|
81
|
+
});
|
|
111
82
|
//# sourceMappingURL=StreamVideoContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamVideoContext.js","sourceRoot":"","sources":["../../../src/contexts/StreamVideoContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StreamVideoContext.js","sourceRoot":"","sources":["../../../src/contexts/StreamVideoContext.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,67 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.useTheme = exports.ThemeProvider = exports.ThemeContext = exports.mergeThemes = void 0;
|
|
30
|
-
const react_1 = __importStar(require("react"));
|
|
31
|
-
const merge_1 = __importDefault(require("lodash/merge"));
|
|
32
|
-
const theme_1 = require("../theme/theme");
|
|
33
|
-
const mergeThemes = (params) => {
|
|
1
|
+
import React, { createContext, useContext, useMemo, } from 'react';
|
|
2
|
+
import merge from 'lodash/merge';
|
|
3
|
+
import { defaultTheme } from '../theme/theme';
|
|
4
|
+
export const mergeThemes = (params) => {
|
|
34
5
|
const { style, theme } = params;
|
|
35
6
|
const finalTheme = (!theme || Object.keys(theme).length === 0
|
|
36
|
-
? JSON.parse(JSON.stringify(
|
|
7
|
+
? JSON.parse(JSON.stringify(defaultTheme))
|
|
37
8
|
: JSON.parse(JSON.stringify(theme)));
|
|
38
9
|
if (style) {
|
|
39
|
-
(
|
|
10
|
+
merge(finalTheme, style);
|
|
40
11
|
}
|
|
41
12
|
return finalTheme;
|
|
42
13
|
};
|
|
43
|
-
exports.mergeThemes = mergeThemes;
|
|
44
14
|
const DEFAULT_BASE_CONTEXT_VALUE = {};
|
|
45
|
-
|
|
46
|
-
const ThemeProvider = (props) => {
|
|
15
|
+
export const ThemeContext = createContext(DEFAULT_BASE_CONTEXT_VALUE);
|
|
16
|
+
export const ThemeProvider = (props) => {
|
|
47
17
|
const { children, mergedStyle, style, theme } = props;
|
|
48
|
-
const modifiedTheme =
|
|
18
|
+
const modifiedTheme = useMemo(() => {
|
|
49
19
|
if (mergedStyle) {
|
|
50
20
|
return mergedStyle;
|
|
51
21
|
}
|
|
52
|
-
return
|
|
22
|
+
return mergeThemes({ style, theme });
|
|
53
23
|
}, [mergedStyle, style, theme]);
|
|
54
|
-
return (
|
|
55
|
-
{children}
|
|
56
|
-
</exports.ThemeContext.Provider>);
|
|
24
|
+
return (React.createElement(ThemeContext.Provider, { value: modifiedTheme }, children));
|
|
57
25
|
};
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
const theme = (0, react_1.useContext)(exports.ThemeContext);
|
|
26
|
+
export const useTheme = () => {
|
|
27
|
+
const theme = useContext(ThemeContext);
|
|
61
28
|
if (theme === DEFAULT_BASE_CONTEXT_VALUE) {
|
|
62
29
|
throw new Error('The useThemeContext hook was called outside the ThemeContext Provider. Make sure you have configured OverlayProvider component correctly - https://getstream.io/chat/docs/sdk/reactnative/basics/hello_stream_chat/#overlay-provider');
|
|
63
30
|
}
|
|
64
31
|
return { theme };
|
|
65
32
|
};
|
|
66
|
-
exports.useTheme = useTheme;
|
|
67
33
|
//# sourceMappingURL=ThemeContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../../src/contexts/ThemeContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThemeContext.js","sourceRoot":"","sources":["../../../src/contexts/ThemeContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,aAAa,EAEb,UAAU,EACV,OAAO,GACR,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAS,MAAM,gBAAgB,CAAC;AAoBrD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,MAA0B,EAAE,EAAE;IACxD,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;IAChC,MAAM,UAAU,GAAG,CACjB,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,KAAK,CAAC;QACvC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QAC1C,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAC7B,CAAC;IAEX,IAAI,KAAK,EAAE;QACT,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;KAC1B;IAED,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CACvC,0BAAmC,CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAEtB,CAAC,KAAK,EAAE,EAAE;IACZ,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAEtD,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,EAAE;QACjC,IAAI,WAAW,EAAE;YACf,OAAO,WAAW,CAAC;SACpB;QAED,OAAO,WAAW,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IACvC,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IAEhC,OAAO,CACL,oBAAC,YAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,aAAa,IACxC,QAAQ,CACa,CACzB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE;IAC3B,MAAM,KAAK,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;IAEvC,IAAI,KAAK,KAAK,0BAA0B,EAAE;QACxC,MAAM,IAAI,KAAK,CACb,sOAAsO,CACvO,CAAC;KACH;IACD,OAAO,EAAE,KAAK,EAAE,CAAC;AACnB,CAAC,CAAC"}
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./StreamVideoContext"), exports);
|
|
18
|
-
__exportStar(require("./ThemeContext"), exports);
|
|
1
|
+
export * from './StreamVideoContext';
|
|
2
|
+
export * from './ThemeContext';
|
|
19
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
|
package/dist/src/hooks/index.js
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./useIncallManager"), exports);
|
|
18
|
-
__exportStar(require("./usePermissionRequest"), exports);
|
|
19
|
-
__exportStar(require("./usePermissionNotification"), exports);
|
|
20
|
-
__exportStar(require("./push"), exports);
|
|
21
|
-
__exportStar(require("./useAndroidKeepCallAliveEffect"), exports);
|
|
1
|
+
export * from './useIncallManager';
|
|
2
|
+
export * from './usePermissionRequest';
|
|
3
|
+
export * from './usePermissionNotification';
|
|
4
|
+
export * from './push';
|
|
5
|
+
export * from './useAndroidKeepCallAliveEffect';
|
|
22
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,QAAQ,CAAC;AACvB,cAAc,iCAAiC,CAAC"}
|
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const video_client_1 = require("@stream-io/video-client");
|
|
5
|
-
const video_react_bindings_1 = require("@stream-io/video-react-bindings");
|
|
6
|
-
const react_1 = require("react");
|
|
1
|
+
import { CallingState, disposeOfMediaStream } from '@stream-io/video-client';
|
|
2
|
+
import { useCall } from '@stream-io/video-react-bindings';
|
|
3
|
+
import { useEffect, useRef } from 'react';
|
|
7
4
|
/**
|
|
8
5
|
* This hook is meant to be used in Lobby view or equivalent.
|
|
9
6
|
* It will cleanup the media stream on unmount if call is not meant to be joined.
|
|
10
7
|
*/
|
|
11
|
-
const useCallMediaStreamCleanup = () => {
|
|
12
|
-
const call =
|
|
8
|
+
export const useCallMediaStreamCleanup = () => {
|
|
9
|
+
const call = useCall();
|
|
13
10
|
// keeping a reference of call to handle cleanup media stream only on unmount
|
|
14
|
-
const callRef =
|
|
11
|
+
const callRef = useRef(call);
|
|
15
12
|
callRef.current = call;
|
|
16
|
-
|
|
13
|
+
useEffect(() => {
|
|
17
14
|
return () => {
|
|
18
15
|
const mediaStream = callRef.current?.camera.state.mediaStream;
|
|
19
16
|
if (mediaStream &&
|
|
20
|
-
!(callRef.current?.state.callingState ===
|
|
21
|
-
callRef.current?.state.callingState ===
|
|
17
|
+
!(callRef.current?.state.callingState === CallingState.JOINED ||
|
|
18
|
+
callRef.current?.state.callingState === CallingState.JOINING)) {
|
|
22
19
|
// we cleanup media stream only if call is not joined or joining
|
|
23
|
-
|
|
20
|
+
disposeOfMediaStream(mediaStream);
|
|
24
21
|
}
|
|
25
22
|
};
|
|
26
23
|
}, []);
|
|
27
24
|
};
|
|
28
|
-
exports.useCallMediaStreamCleanup = useCallMediaStreamCleanup;
|
|
29
25
|
//# sourceMappingURL=useCallMediaStreamCleanup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCallMediaStreamCleanup.js","sourceRoot":"","sources":["../../../../src/hooks/internal/useCallMediaStreamCleanup.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCallMediaStreamCleanup.js","sourceRoot":"","sources":["../../../../src/hooks/internal/useCallMediaStreamCleanup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE;IAC5C,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,6EAA6E;IAC7E,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7B,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAEvB,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,GAAG,EAAE;YACV,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,WAErC,CAAC;YACd,IACE,WAAW;gBACX,CAAC,CACC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,YAAY,KAAK,YAAY,CAAC,MAAM;oBAC3D,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,YAAY,KAAK,YAAY,CAAC,OAAO,CAC7D,EACD;gBACA,gEAAgE;gBAChE,oBAAoB,CAAC,WAAW,CAAC,CAAC;aACnC;QACH,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC,CAAC"}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const useIosVoipPushEventsSetupEffect_1 = require("./useIosVoipPushEventsSetupEffect");
|
|
6
|
-
const useProcessPushCallEffect_1 = require("./useProcessPushCallEffect");
|
|
7
|
-
const useInitAndroidTokenAndRest_1 = require("./useInitAndroidTokenAndRest");
|
|
1
|
+
import { useIosCallKeepEventsSetupEffect } from './useIosCallKeepEventsSetupEffect';
|
|
2
|
+
import { useIosVoipPushEventsSetupEffect } from './useIosVoipPushEventsSetupEffect';
|
|
3
|
+
import { useProcessPushCallEffect } from './useProcessPushCallEffect';
|
|
4
|
+
import { useInitAndroidTokenAndRest } from './useInitAndroidTokenAndRest';
|
|
8
5
|
/**
|
|
9
6
|
* This hook is used to do the initial setup for push notifications.
|
|
10
7
|
* It must be used in a component which is a child of StreamVideo from bindings
|
|
11
8
|
*/
|
|
12
|
-
const usePushRegisterEffect = () => {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
export const usePushRegisterEffect = () => {
|
|
10
|
+
useIosCallKeepEventsSetupEffect();
|
|
11
|
+
useIosVoipPushEventsSetupEffect();
|
|
12
|
+
useProcessPushCallEffect();
|
|
13
|
+
useInitAndroidTokenAndRest();
|
|
17
14
|
};
|
|
18
|
-
exports.usePushRegisterEffect = usePushRegisterEffect;
|
|
19
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/hooks/push/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/hooks/push/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACxC,+BAA+B,EAAE,CAAC;IAClC,+BAA+B,EAAE,CAAC;IAClC,wBAAwB,EAAE,CAAC;IAC3B,0BAA0B,EAAE,CAAC;AAC/B,CAAC,CAAC"}
|
|
@@ -1,24 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const react_1 = require("react");
|
|
6
|
-
const utils_1 = require("../../utils");
|
|
7
|
-
const android_1 = require("../../utils/push/android");
|
|
1
|
+
import { useConnectedUser, useStreamVideoClient, } from '@stream-io/video-react-bindings';
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
import { StreamVideoRN } from '../../utils';
|
|
4
|
+
import { initAndroidPushToken } from '../../utils/push/android';
|
|
8
5
|
/**
|
|
9
6
|
* This hook is used to initialize the push token for Android and ask notification permissions.
|
|
10
7
|
*/
|
|
11
|
-
const useInitAndroidTokenAndRest = () => {
|
|
12
|
-
const client =
|
|
13
|
-
const connectedUserId =
|
|
14
|
-
|
|
15
|
-
const pushConfig =
|
|
8
|
+
export const useInitAndroidTokenAndRest = () => {
|
|
9
|
+
const client = useStreamVideoClient();
|
|
10
|
+
const connectedUserId = useConnectedUser()?.id;
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
const pushConfig = StreamVideoRN.getConfig().push;
|
|
16
13
|
// NOTE: we need to wait for user to be connected before we can send the push token
|
|
17
14
|
if (!client || !connectedUserId || !pushConfig) {
|
|
18
15
|
return;
|
|
19
16
|
}
|
|
20
|
-
|
|
17
|
+
initAndroidPushToken(client, pushConfig);
|
|
21
18
|
}, [client, connectedUserId]);
|
|
22
19
|
};
|
|
23
|
-
exports.useInitAndroidTokenAndRest = useInitAndroidTokenAndRest;
|
|
24
20
|
//# sourceMappingURL=useInitAndroidTokenAndRest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInitAndroidTokenAndRest.js","sourceRoot":"","sources":["../../../../src/hooks/push/useInitAndroidTokenAndRest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useInitAndroidTokenAndRest.js","sourceRoot":"","sources":["../../../../src/hooks/push/useInitAndroidTokenAndRest.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,EAAE;IAC7C,MAAM,MAAM,GAAG,oBAAoB,EAAE,CAAC;IACtC,MAAM,eAAe,GAAG,gBAAgB,EAAE,EAAE,EAAE,CAAC;IAC/C,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,UAAU,GAAG,aAAa,CAAC,SAAS,EAAE,CAAC,IAAI,CAAC;QAClD,mFAAmF;QACnF,IAAI,CAAC,MAAM,IAAI,CAAC,eAAe,IAAI,CAAC,UAAU,EAAE;YAC9C,OAAO;SACR;QACD,oBAAoB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC3C,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;AAChC,CAAC,CAAC"}
|