@100mslive/react-native-room-kit 0.2.0 → 1.0.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/README.md +1 -10
- package/lib/commonjs/HMSPrebuilt.js +6 -6
- package/lib/commonjs/HMSPrebuilt.js.map +1 -1
- package/lib/commonjs/HMSRoomSetup.js +27 -30
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/lib/commonjs/Icons/AlertTriangle/index.js +2 -1
- package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/commonjs/Icons/Eye/assets/eye-on-small.png +0 -0
- package/lib/commonjs/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/lib/commonjs/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/lib/commonjs/Icons/Eye/index.js +35 -0
- package/lib/commonjs/Icons/Eye/index.js.map +1 -0
- package/lib/commonjs/Icons/Person/assets/person-left.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-left@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-left@3x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-off@3x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/lib/commonjs/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/lib/commonjs/Icons/Person/index.js +2 -1
- package/lib/commonjs/Icons/Person/index.js.map +1 -1
- package/lib/commonjs/Icons/Search/assets/search.png +0 -0
- package/lib/commonjs/Icons/Search/assets/search@2x.png +0 -0
- package/lib/commonjs/Icons/Search/assets/search@3x.png +0 -0
- package/lib/commonjs/Icons/Search/index.js +34 -0
- package/lib/commonjs/Icons/Search/index.js.map +1 -0
- package/lib/commonjs/Icons/index.js +22 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/assets/audio-level-white.json +1271 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/lib/commonjs/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/lib/commonjs/assets/welcome.png +0 -0
- package/lib/commonjs/components/AnimatedFooter.js +35 -0
- package/lib/commonjs/components/AnimatedFooter.js.map +1 -0
- package/lib/commonjs/components/AnimatedHLSFooter.js +36 -0
- package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -0
- package/lib/commonjs/components/AnimatedHeader.js +44 -0
- package/lib/commonjs/components/AnimatedHeader.js.map +1 -0
- package/lib/commonjs/components/BottomSheet.js +6 -3
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChangeNameModalContent.js +0 -12
- package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatBanner.js +35 -55
- package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +83 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +69 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterItem.js +71 -0
- package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterView.js +198 -0
- package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatList.js +6 -6
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js +35 -135
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
- package/lib/commonjs/components/Chat/PinnedMessage.js +39 -43
- package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +42 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +105 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +66 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js +37 -0
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -0
- package/lib/commonjs/components/{Participants/SearchableParticipantsView.js → ChatAndParticipants/ParticipantsView.js} +24 -12
- package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
- package/lib/commonjs/components/ChatAndParticipants/index.js +17 -0
- package/lib/commonjs/components/ChatAndParticipants/index.js.map +1 -0
- package/lib/commonjs/components/CompanyLogo.js +4 -3
- package/lib/commonjs/components/CompanyLogo.js.map +1 -1
- package/lib/commonjs/components/DefaultModal.js +2 -6
- package/lib/commonjs/components/DefaultModal.js.map +1 -1
- package/lib/commonjs/components/DisplayView.js +6 -19
- package/lib/commonjs/components/DisplayView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js +20 -6
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/Footer.js +37 -28
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/FullScreenVideoView.js +74 -0
- package/lib/commonjs/components/FullScreenVideoView.js.map +1 -0
- package/lib/commonjs/components/GridView.js +129 -48
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/{ParticipantsModal.js → HLSFooter.js} +19 -27
- package/lib/commonjs/components/HLSFooter.js.map +1 -0
- package/lib/commonjs/components/HLSView.js +10 -22
- package/lib/commonjs/components/HLSView.js.map +1 -1
- package/lib/commonjs/components/HMSChat.js +15 -14
- package/lib/commonjs/components/HMSChat.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js +67 -0
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -0
- package/lib/commonjs/components/HMSHLSMessageList.js +58 -0
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -0
- package/lib/commonjs/components/HMSHLSNotStarted.js +1 -6
- package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/commonjs/components/HMSHandRaiseNotification.js +84 -0
- package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +49 -0
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -0
- package/lib/commonjs/components/HMSLiveIndicator.js +105 -0
- package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -0
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js +38 -0
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -0
- package/lib/commonjs/components/HMSLocalVideoView.js +4 -23
- package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js +7 -1
- package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/commonjs/components/HMSManageLeave.js +33 -11
- package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +96 -0
- package/lib/commonjs/components/HMSNotification.js.map +1 -0
- package/lib/commonjs/components/HMSNotifications.js +114 -0
- package/lib/commonjs/components/HMSNotifications.js.map +1 -0
- package/lib/commonjs/components/HMSOverlayChatView.js +30 -0
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -0
- package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -2
- package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewNetworkQuality.js +1 -1
- package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -3
- package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewTitle.js +1 -3
- package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js +6 -2
- package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +30 -0
- package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
- package/lib/commonjs/components/HMSSendMessageInput.js +57 -0
- package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -0
- package/lib/commonjs/components/HMSTextInput.js +98 -12
- package/lib/commonjs/components/HMSTextInput.js.map +1 -1
- package/lib/commonjs/components/HMSVideoView.js +43 -0
- package/lib/commonjs/components/HMSVideoView.js.map +1 -0
- package/lib/commonjs/components/Header.js +19 -123
- package/lib/commonjs/components/Header.js.map +1 -1
- package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -7
- package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +6 -5
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js +21 -8
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/MenuModal/Menu.js +2 -2
- package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
- package/lib/commonjs/components/MiniView.js +8 -3
- package/lib/commonjs/components/MiniView.js.map +1 -1
- package/lib/commonjs/components/Modals.js +88 -317
- package/lib/commonjs/components/Modals.js.map +1 -1
- package/lib/commonjs/components/OverlayContainer.js +41 -0
- package/lib/commonjs/components/OverlayContainer.js.map +1 -0
- package/lib/commonjs/components/OverlayedViews.js +22 -0
- package/lib/commonjs/components/OverlayedViews.js.map +1 -0
- package/lib/commonjs/components/PaginationDots.js +4 -4
- package/lib/commonjs/components/PaginationDots.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +131 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +80 -0
- package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItem.js +132 -0
- package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js +46 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +220 -0
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -0
- package/lib/commonjs/components/Participants/ParticipantsList.js +40 -224
- package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +36 -30
- package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/commonjs/components/Participants/index.js +0 -33
- package/lib/commonjs/components/Participants/index.js.map +1 -1
- package/lib/commonjs/components/PeerMinimizedView.js +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js +47 -123
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js +19 -5
- package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +45 -0
- package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +202 -0
- package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/{PeerAudioMutedIndicator.js → PeerAudioIndicator.js} +30 -4
- package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +10 -2
- package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +38 -17
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/VideoView.js +43 -10
- package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/commonjs/components/PressableIcon.js +10 -5
- package/lib/commonjs/components/PressableIcon.js.map +1 -1
- package/lib/commonjs/components/Preview.js +5 -14
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/components/PreviewForRoleChangeModal.js +332 -0
- package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -0
- package/lib/commonjs/components/ReconnectionView.js +66 -0
- package/lib/commonjs/components/ReconnectionView.js.map +1 -0
- package/lib/commonjs/components/RoomSettingsModalContent.js +25 -34
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +31 -70
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/commonjs/components/StreamingQualityModalContent.js +8 -9
- package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/commonjs/components/TilesContainer.js +31 -9
- package/lib/commonjs/components/TilesContainer.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js +11 -14
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/components/WelcomeInMeeting.js +7 -31
- package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
- package/lib/commonjs/components/index.js +0 -33
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/hooks-util-selectors.js +43 -9
- package/lib/commonjs/hooks-util-selectors.js.map +1 -1
- package/lib/commonjs/hooks-util.js +619 -213
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/modules/HMSManager.js +3 -3
- package/lib/commonjs/modules/HMSManager.js.map +1 -1
- package/lib/commonjs/modules/parser.js +2 -3
- package/lib/commonjs/modules/parser.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +25 -1
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +90 -1
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +77 -2
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/chatWindow.js +3 -7
- package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
- package/lib/commonjs/redux/reducers/hmsStates.js +70 -7
- package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
- package/lib/commonjs/utils/functions.js +10 -3
- package/lib/commonjs/utils/functions.js.map +1 -1
- package/lib/commonjs/utils/theme.js +2 -0
- package/lib/commonjs/utils/theme.js.map +1 -1
- package/lib/commonjs/utils/types.js +9 -3
- package/lib/commonjs/utils/types.js.map +1 -1
- package/lib/commonjs/utils.js +8 -1
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/module/HMSPrebuilt.js +6 -6
- package/lib/module/HMSPrebuilt.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +29 -32
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/lib/module/Icons/AlertTriangle/index.js +2 -1
- package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
- package/lib/module/Icons/Eye/assets/eye-on-small.png +0 -0
- package/lib/module/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/lib/module/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/lib/module/Icons/Eye/index.js +27 -0
- package/lib/module/Icons/Eye/index.js.map +1 -0
- package/lib/module/Icons/Person/assets/person-left.png +0 -0
- package/lib/module/Icons/Person/assets/person-left@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-left@3x.png +0 -0
- package/lib/module/Icons/Person/assets/person-off.png +0 -0
- package/lib/module/Icons/Person/assets/person-off@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-off@3x.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/lib/module/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/lib/module/Icons/Person/index.js +2 -1
- package/lib/module/Icons/Person/index.js.map +1 -1
- package/lib/module/Icons/Search/assets/search.png +0 -0
- package/lib/module/Icons/Search/assets/search@2x.png +0 -0
- package/lib/module/Icons/Search/assets/search@3x.png +0 -0
- package/lib/module/Icons/Search/index.js +26 -0
- package/lib/module/Icons/Search/index.js.map +1 -0
- package/lib/module/Icons/index.js +2 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/assets/audio-level-white.json +1271 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/lib/module/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/lib/module/assets/welcome.png +0 -0
- package/lib/module/components/AnimatedFooter.js +26 -0
- package/lib/module/components/AnimatedFooter.js.map +1 -0
- package/lib/module/components/AnimatedHLSFooter.js +27 -0
- package/lib/module/components/AnimatedHLSFooter.js.map +1 -0
- package/lib/module/components/AnimatedHeader.js +35 -0
- package/lib/module/components/AnimatedHeader.js.map +1 -0
- package/lib/module/components/BottomSheet.js +6 -3
- package/lib/module/components/BottomSheet.js.map +1 -1
- package/lib/module/components/ChangeNameModalContent.js +2 -14
- package/lib/module/components/ChangeNameModalContent.js.map +1 -1
- package/lib/module/components/Chat/ChatBanner.js +36 -55
- package/lib/module/components/Chat/ChatBanner.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +74 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js +60 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterItem.js +62 -0
- package/lib/module/components/Chat/ChatFilterItem.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterView.js +189 -0
- package/lib/module/components/Chat/ChatFilterView.js.map +1 -0
- package/lib/module/components/Chat/ChatList.js +6 -6
- package/lib/module/components/Chat/ChatList.js.map +1 -1
- package/lib/module/components/Chat/ChatMessage.js +36 -135
- package/lib/module/components/Chat/ChatMessage.js.map +1 -1
- package/lib/module/components/Chat/PinnedMessage.js +40 -43
- package/lib/module/components/Chat/PinnedMessage.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +33 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +96 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +57 -0
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ChatView.js +28 -0
- package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/ParticipantsView.js +30 -0
- package/lib/module/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
- package/lib/module/components/ChatAndParticipants/index.js +2 -0
- package/lib/module/components/ChatAndParticipants/index.js.map +1 -0
- package/lib/module/components/CompanyLogo.js +4 -3
- package/lib/module/components/CompanyLogo.js.map +1 -1
- package/lib/module/components/DefaultModal.js +2 -6
- package/lib/module/components/DefaultModal.js.map +1 -1
- package/lib/module/components/DisplayView.js +7 -20
- package/lib/module/components/DisplayView.js.map +1 -1
- package/lib/module/components/EndRoomModalContent.js +20 -6
- package/lib/module/components/EndRoomModalContent.js.map +1 -1
- package/lib/module/components/Footer.js +39 -30
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/FullScreenVideoView.js +64 -0
- package/lib/module/components/FullScreenVideoView.js.map +1 -0
- package/lib/module/components/GridView.js +130 -49
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSFooter.js +26 -0
- package/lib/module/components/HLSFooter.js.map +1 -0
- package/lib/module/components/HLSView.js +11 -23
- package/lib/module/components/HLSView.js.map +1 -1
- package/lib/module/components/HMSChat.js +16 -15
- package/lib/module/components/HMSChat.js.map +1 -1
- package/lib/module/components/HMSHLSMessage.js +58 -0
- package/lib/module/components/HMSHLSMessage.js.map +1 -0
- package/lib/module/components/HMSHLSMessageList.js +49 -0
- package/lib/module/components/HMSHLSMessageList.js.map +1 -0
- package/lib/module/components/HMSHLSNotStarted.js +2 -7
- package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
- package/lib/module/components/HMSHandRaiseNotification.js +75 -0
- package/lib/module/components/HMSHandRaiseNotification.js.map +1 -0
- package/lib/module/components/HMSKeyboardAvoidingView.js +40 -0
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -0
- package/lib/module/components/HMSLiveIndicator.js +96 -0
- package/lib/module/components/HMSLiveIndicator.js.map +1 -0
- package/lib/module/components/HMSLocalScreenshareNotification.js +29 -0
- package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -0
- package/lib/module/components/HMSLocalVideoView.js +4 -23
- package/lib/module/components/HMSLocalVideoView.js.map +1 -1
- package/lib/module/components/HMSManageAudioOutput.js +8 -2
- package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
- package/lib/module/components/HMSManageLeave.js +35 -13
- package/lib/module/components/HMSManageLeave.js.map +1 -1
- package/lib/module/components/HMSNotification.js +87 -0
- package/lib/module/components/HMSNotification.js.map +1 -0
- package/lib/module/components/HMSNotifications.js +105 -0
- package/lib/module/components/HMSNotifications.js.map +1 -0
- package/lib/module/components/HMSOverlayChatView.js +20 -0
- package/lib/module/components/HMSOverlayChatView.js.map +1 -0
- package/lib/module/components/HMSPreviewJoinButton.js +2 -3
- package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
- package/lib/module/components/HMSPreviewNetworkQuality.js +1 -1
- package/lib/module/components/HMSPreviewNetworkQuality.js.map +1 -1
- package/lib/module/components/HMSPreviewSubtitle.js +2 -4
- package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
- package/lib/module/components/HMSPreviewTitle.js +2 -4
- package/lib/module/components/HMSPreviewTitle.js.map +1 -1
- package/lib/module/components/HMSRecordingIndicator.js +6 -2
- package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js +21 -0
- package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
- package/lib/module/components/HMSSendMessageInput.js +48 -0
- package/lib/module/components/HMSSendMessageInput.js.map +1 -0
- package/lib/module/components/HMSTextInput.js +99 -13
- package/lib/module/components/HMSTextInput.js.map +1 -1
- package/lib/module/components/HMSVideoView.js +34 -0
- package/lib/module/components/HMSVideoView.js.map +1 -0
- package/lib/module/components/Header.js +18 -123
- package/lib/module/components/Header.js.map +1 -1
- package/lib/module/components/LocalPeerScreenshareView.js +1 -6
- package/lib/module/components/LocalPeerScreenshareView.js.map +1 -1
- package/lib/module/components/Meeting.js +8 -7
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js +23 -10
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/MenuModal/Menu.js +2 -2
- package/lib/module/components/MenuModal/Menu.js.map +1 -1
- package/lib/module/components/MiniView.js +8 -3
- package/lib/module/components/MiniView.js.map +1 -1
- package/lib/module/components/Modals.js +88 -313
- package/lib/module/components/Modals.js.map +1 -1
- package/lib/module/components/OverlayContainer.js +32 -0
- package/lib/module/components/OverlayContainer.js.map +1 -0
- package/lib/module/components/OverlayedViews.js +13 -0
- package/lib/module/components/OverlayedViews.js.map +1 -0
- package/lib/module/components/PaginationDots.js +4 -4
- package/lib/module/components/PaginationDots.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsGroupHeader.js +121 -0
- package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsGroupOptions.js +71 -0
- package/lib/module/components/Participants/ParticipantsGroupOptions.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItem.js +123 -0
- package/lib/module/components/Participants/ParticipantsItem.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItemOption.js +37 -0
- package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsItemOptions.js +211 -0
- package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -0
- package/lib/module/components/Participants/ParticipantsList.js +42 -225
- package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsSeachInput.js +37 -30
- package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
- package/lib/module/components/Participants/index.js +0 -3
- package/lib/module/components/Participants/index.js.map +1 -1
- package/lib/module/components/PeerMinimizedView.js +1 -1
- package/lib/module/components/PeerSettingsModalContent.js +50 -126
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/AvatarView.js +19 -5
- package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +36 -0
- package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +193 -0
- package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +60 -0
- package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +11 -3
- package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +41 -20
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/PeerVideoTile/VideoView.js +43 -10
- package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
- package/lib/module/components/PressableIcon.js +11 -6
- package/lib/module/components/PressableIcon.js.map +1 -1
- package/lib/module/components/Preview.js +6 -13
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/components/PreviewForRoleChangeModal.js +322 -0
- package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -0
- package/lib/module/components/ReconnectionView.js +56 -0
- package/lib/module/components/ReconnectionView.js.map +1 -0
- package/lib/module/components/RoomSettingsModalContent.js +27 -36
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalDebugModeContent.js +31 -70
- package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/module/components/StreamingQualityModalContent.js +8 -8
- package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
- package/lib/module/components/TilesContainer.js +31 -9
- package/lib/module/components/TilesContainer.js.map +1 -1
- package/lib/module/components/WebrtcView.js +11 -14
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/components/WelcomeInMeeting.js +8 -32
- package/lib/module/components/WelcomeInMeeting.js.map +1 -1
- package/lib/module/components/index.js +0 -3
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/hooks-util-selectors.js +38 -8
- package/lib/module/hooks-util-selectors.js.map +1 -1
- package/lib/module/hooks-util.js +615 -213
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/modules/HMSManager.js +3 -3
- package/lib/module/modules/HMSManager.js.map +1 -1
- package/lib/module/modules/parser.js +2 -3
- package/lib/module/modules/parser.js.map +1 -1
- package/lib/module/redux/actionTypes.js +25 -1
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +74 -0
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +78 -2
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/redux/reducers/chatWindow.js +3 -7
- package/lib/module/redux/reducers/chatWindow.js.map +1 -1
- package/lib/module/redux/reducers/hmsStates.js +70 -7
- package/lib/module/redux/reducers/hmsStates.js.map +1 -1
- package/lib/module/utils/functions.js +8 -2
- package/lib/module/utils/functions.js.map +1 -1
- package/lib/module/utils/theme.js +2 -0
- package/lib/module/utils/theme.js.map +1 -1
- package/lib/module/utils/types.js +6 -2
- package/lib/module/utils/types.js.map +1 -1
- package/lib/module/utils.js +6 -0
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/HMSPrebuilt.d.ts +1 -0
- package/lib/typescript/HMSPrebuilt.d.ts.map +1 -1
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/AlertTriangle/index.d.ts +1 -0
- package/lib/typescript/Icons/AlertTriangle/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Eye/index.d.ts +8 -0
- package/lib/typescript/Icons/Eye/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Person/index.d.ts +1 -0
- package/lib/typescript/Icons/Person/index.d.ts.map +1 -1
- package/lib/typescript/Icons/Search/index.d.ts +7 -0
- package/lib/typescript/Icons/Search/index.d.ts.map +1 -0
- package/lib/typescript/Icons/index.d.ts +2 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/AnimatedFooter.d.ts +8 -0
- package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -0
- package/lib/typescript/components/AnimatedHLSFooter.d.ts +11 -0
- package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -0
- package/lib/typescript/components/AnimatedHeader.d.ts +7 -0
- package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet.d.ts +4 -1
- package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
- package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts +12 -0
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterView.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatMessage.d.ts +2 -2
- package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
- package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts +3 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts +7 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts +3 -0
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts +6 -0
- package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts +5 -0
- package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts.map +1 -0
- package/lib/typescript/components/ChatAndParticipants/index.d.ts +2 -0
- package/lib/typescript/components/ChatAndParticipants/index.d.ts.map +1 -0
- package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
- package/lib/typescript/components/DefaultModal.d.ts.map +1 -1
- package/lib/typescript/components/DisplayView.d.ts.map +1 -1
- package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts +0 -2
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/FullScreenVideoView.d.ts +3 -0
- package/lib/typescript/components/FullScreenVideoView.d.ts.map +1 -0
- package/lib/typescript/components/GridView.d.ts +12 -1
- package/lib/typescript/components/GridView.d.ts.map +1 -1
- package/lib/typescript/components/HLSFooter.d.ts +8 -0
- package/lib/typescript/components/HLSFooter.d.ts.map +1 -0
- package/lib/typescript/components/HLSView.d.ts.map +1 -1
- package/lib/typescript/components/HMSBaseButton.d.ts +2 -2
- package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSChat.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSMessage.d.ts +8 -0
- package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSMessageList.d.ts +3 -0
- package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -0
- package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
- package/lib/typescript/components/HMSHandRaiseNotification.d.ts +10 -0
- package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +8 -0
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/components/HMSLiveIndicator.d.ts +3 -0
- package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -0
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts +5 -0
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSLocalVideoView.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
- package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotification.d.ts +15 -0
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSNotifications.d.ts +5 -0
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -0
- package/lib/typescript/components/HMSOverlayChatView.d.ts +3 -0
- package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -0
- package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewNetworkQuality.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
- package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts +9 -0
- package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts.map +1 -0
- package/lib/typescript/components/HMSSendMessageInput.d.ts +9 -0
- package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -0
- package/lib/typescript/components/HMSTextInput.d.ts +20 -6
- package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
- package/lib/typescript/components/HMSVideoView.d.ts +6 -0
- package/lib/typescript/components/HMSVideoView.d.ts.map +1 -0
- package/lib/typescript/components/Header.d.ts +3 -2
- package/lib/typescript/components/Header.d.ts.map +1 -1
- package/lib/typescript/components/LocalPeerScreenshareView.d.ts.map +1 -1
- package/lib/typescript/components/Meeting.d.ts.map +1 -1
- package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
- package/lib/typescript/components/MiniView.d.ts.map +1 -1
- package/lib/typescript/components/Modals.d.ts +1 -21
- package/lib/typescript/components/Modals.d.ts.map +1 -1
- package/lib/typescript/components/OverlayContainer.d.ts +9 -0
- package/lib/typescript/components/OverlayContainer.d.ts.map +1 -0
- package/lib/typescript/components/OverlayedViews.d.ts +4 -0
- package/lib/typescript/components/OverlayedViews.d.ts.map +1 -0
- package/lib/typescript/components/PaginationDots.d.ts +3 -0
- package/lib/typescript/components/PaginationDots.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts +9 -0
- package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts +8 -0
- package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItem.d.ts +9 -0
- package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts +12 -0
- package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts +10 -0
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -0
- package/lib/typescript/components/Participants/ParticipantsList.d.ts +4 -2
- package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
- package/lib/typescript/components/Participants/index.d.ts +0 -3
- package/lib/typescript/components/Participants/index.d.ts.map +1 -1
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts +4 -0
- package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts +7 -0
- package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts +7 -0
- package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts +8 -0
- package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts.map +1 -0
- package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts +2 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/VideoView.d.ts +1 -0
- package/lib/typescript/components/PeerVideoTile/VideoView.d.ts.map +1 -1
- package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/components/PreviewForRoleChangeModal.d.ts +3 -0
- package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -0
- package/lib/typescript/components/ReconnectionView.d.ts +4 -0
- package/lib/typescript/components/ReconnectionView.d.ts.map +1 -0
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
- package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -1
- package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
- package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
- package/lib/typescript/components/WelcomeInMeeting.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +0 -3
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/hooks-util-selectors.d.ts +7 -2
- package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +53 -23
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/modules/HMSManager.d.ts +1 -1
- package/lib/typescript/modules/HMSManager.d.ts.map +1 -1
- package/lib/typescript/modules/parser.d.ts +1 -1
- package/lib/typescript/modules/parser.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +16 -1
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +92 -4
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +22 -2
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +10 -0
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/chatWindow.d.ts +6 -6
- package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/hmsStates.d.ts +32 -4
- package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +22 -2
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/userState.d.ts +1 -0
- package/lib/typescript/redux/reducers/userState.d.ts.map +1 -1
- package/lib/typescript/utils/functions.d.ts +3 -1
- package/lib/typescript/utils/functions.d.ts.map +1 -1
- package/lib/typescript/utils/theme.d.ts +1 -1
- package/lib/typescript/utils/theme.d.ts.map +1 -1
- package/lib/typescript/utils/types.d.ts +6 -2
- package/lib/typescript/utils/types.d.ts.map +1 -1
- package/lib/typescript/utils.d.ts +5 -0
- package/lib/typescript/utils.d.ts.map +1 -1
- package/package.json +13 -8
- package/src/HMSPrebuilt.tsx +10 -10
- package/src/HMSRoomSetup.tsx +50 -28
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
- package/src/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
- package/src/Icons/AlertTriangle/index.tsx +9 -2
- package/src/Icons/Eye/assets/eye-on-small.png +0 -0
- package/src/Icons/Eye/assets/eye-on-small@2x.png +0 -0
- package/src/Icons/Eye/assets/eye-on-small@3x.png +0 -0
- package/src/Icons/Eye/index.tsx +36 -0
- package/src/Icons/Person/assets/person-left.png +0 -0
- package/src/Icons/Person/assets/person-left@2x.png +0 -0
- package/src/Icons/Person/assets/person-left@3x.png +0 -0
- package/src/Icons/Person/assets/person-off.png +0 -0
- package/src/Icons/Person/assets/person-off@2x.png +0 -0
- package/src/Icons/Person/assets/person-off@3x.png +0 -0
- package/src/Icons/Person/assets/person-rectangle.png +0 -0
- package/src/Icons/Person/assets/person-rectangle@2x.png +0 -0
- package/src/Icons/Person/assets/person-rectangle@3x.png +0 -0
- package/src/Icons/Person/index.tsx +13 -2
- package/src/Icons/Search/assets/search.png +0 -0
- package/src/Icons/Search/assets/search@2x.png +0 -0
- package/src/Icons/Search/assets/search@3x.png +0 -0
- package/src/Icons/Search/index.tsx +33 -0
- package/src/Icons/index.ts +2 -0
- package/src/assets/audio-level-white.json +1271 -0
- package/src/assets/empty-chat-illustration/empty-chat.png +0 -0
- package/src/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
- package/src/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
- package/src/assets/welcome.png +0 -0
- package/src/components/AnimatedFooter.tsx +37 -0
- package/src/components/AnimatedHLSFooter.tsx +43 -0
- package/src/components/AnimatedHeader.tsx +53 -0
- package/src/components/BottomSheet.tsx +8 -4
- package/src/components/ChangeNameModalContent.tsx +2 -11
- package/src/components/Chat/ChatBanner.tsx +37 -52
- package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +88 -0
- package/src/components/Chat/ChatFilterBottomSheetView.tsx +81 -0
- package/src/components/Chat/ChatFilterItem.tsx +71 -0
- package/src/components/Chat/ChatFilterView.tsx +250 -0
- package/src/components/Chat/ChatList.tsx +16 -12
- package/src/components/Chat/ChatMessage.tsx +48 -197
- package/src/components/Chat/PinnedMessage.tsx +45 -45
- package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +38 -0
- package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +140 -0
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +84 -0
- package/src/components/ChatAndParticipants/ChatView.tsx +42 -0
- package/src/components/ChatAndParticipants/ParticipantsView.tsx +41 -0
- package/src/components/ChatAndParticipants/index.ts +1 -0
- package/src/components/CompanyLogo.tsx +3 -2
- package/src/components/DefaultModal.tsx +4 -6
- package/src/components/DisplayView.tsx +10 -26
- package/src/components/EndRoomModalContent.tsx +32 -7
- package/src/components/Footer.tsx +93 -58
- package/src/components/FullScreenVideoView.tsx +77 -0
- package/src/components/GridView.tsx +186 -65
- package/src/components/HLSFooter.tsx +32 -0
- package/src/components/HLSView.tsx +5 -32
- package/src/components/HMSBaseButton.tsx +2 -2
- package/src/components/HMSChat.tsx +12 -25
- package/src/components/HMSHLSMessage.tsx +72 -0
- package/src/components/HMSHLSMessageList.tsx +60 -0
- package/src/components/HMSHLSNotStarted.tsx +8 -19
- package/src/components/HMSHandRaiseNotification.tsx +101 -0
- package/src/components/HMSKeyboardAvoidingView.tsx +58 -0
- package/src/components/HMSLiveIndicator.tsx +124 -0
- package/src/components/HMSLocalScreenshareNotification.tsx +41 -0
- package/src/components/HMSLocalVideoView.tsx +4 -31
- package/src/components/HMSManageAudioOutput.tsx +14 -2
- package/src/components/HMSManageLeave.tsx +46 -19
- package/src/components/HMSNotification.tsx +126 -0
- package/src/components/HMSNotifications.tsx +154 -0
- package/src/components/HMSOverlayChatView.tsx +36 -0
- package/src/components/HMSPreviewJoinButton.tsx +6 -3
- package/src/components/HMSPreviewNetworkQuality.tsx +3 -1
- package/src/components/HMSPreviewSubtitle.tsx +2 -6
- package/src/components/HMSPreviewTitle.tsx +2 -6
- package/src/components/HMSRecordingIndicator.tsx +13 -2
- package/src/components/HMSRoleChangeDeclinedNotification.tsx +25 -0
- package/src/components/HMSSendMessageInput.tsx +59 -0
- package/src/components/HMSTextInput.tsx +157 -23
- package/src/components/HMSVideoView.tsx +43 -0
- package/src/components/Header.tsx +25 -133
- package/src/components/LocalPeerScreenshareView.tsx +0 -6
- package/src/components/Meeting.tsx +15 -8
- package/src/components/MeetingScreenContent.tsx +28 -11
- package/src/components/MiniView.tsx +10 -4
- package/src/components/Modals.tsx +112 -370
- package/src/components/OverlayContainer.tsx +31 -0
- package/src/components/OverlayedViews.tsx +22 -0
- package/src/components/PaginationDots.tsx +9 -8
- package/src/components/Participants/ParticipantsGroupHeader.tsx +145 -0
- package/src/components/Participants/ParticipantsGroupOptions.tsx +87 -0
- package/src/components/Participants/ParticipantsItem.tsx +170 -0
- package/src/components/Participants/ParticipantsItemOption.tsx +52 -0
- package/src/components/Participants/ParticipantsItemOptions.tsx +262 -0
- package/src/components/Participants/ParticipantsList.tsx +68 -278
- package/src/components/Participants/ParticipantsSeachInput.tsx +37 -35
- package/src/components/Participants/index.ts +0 -3
- package/src/components/PeerMinimizedView.tsx +1 -1
- package/src/components/PeerSettingsModalContent.tsx +44 -191
- package/src/components/PeerVideoTile/AvatarView.tsx +43 -5
- package/src/components/PeerVideoTile/HMSFullScreenButton.tsx +56 -0
- package/src/components/PeerVideoTile/HMSPinchGesture.tsx +176 -0
- package/src/components/PeerVideoTile/PeerAudioIndicator.tsx +78 -0
- package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +15 -2
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +172 -115
- package/src/components/PeerVideoTile/VideoView.tsx +59 -9
- package/src/components/PressableIcon.tsx +26 -13
- package/src/components/Preview.tsx +17 -24
- package/src/components/PreviewForRoleChangeModal.tsx +448 -0
- package/src/components/ReconnectionView.tsx +73 -0
- package/src/components/RoomSettingsModalContent.tsx +32 -30
- package/src/components/RoomSettingsModalDebugModeContent.tsx +11 -65
- package/src/components/StreamingQualityModalContent.tsx +8 -8
- package/src/components/TilesContainer.tsx +54 -24
- package/src/components/WebrtcView.tsx +29 -19
- package/src/components/WelcomeInMeeting.tsx +5 -34
- package/src/components/index.ts +0 -3
- package/src/hooks-util-selectors.tsx +69 -6
- package/src/hooks-util.ts +852 -270
- package/src/modules/HMSManager.ts +3 -3
- package/src/modules/parser.ts +3 -4
- package/src/redux/actionTypes.ts +33 -0
- package/src/redux/actions/index.ts +96 -1
- package/src/redux/reducers/appState.ts +83 -1
- package/src/redux/reducers/chatWindow.ts +12 -5
- package/src/redux/reducers/hmsStates.ts +136 -4
- package/src/redux/reducers/userState.ts +1 -1
- package/src/utils/functions.ts +9 -0
- package/src/utils/theme.ts +3 -1
- package/src/utils/types.ts +6 -2
- package/src/utils.ts +6 -0
- package/lib/commonjs/assets/100ms-logo.png +0 -0
- package/lib/commonjs/assets/brb.png +0 -0
- package/lib/commonjs/assets/icon.png +0 -0
- package/lib/commonjs/assets/illustration.png +0 -0
- package/lib/commonjs/assets/network_0.png +0 -0
- package/lib/commonjs/assets/network_1.png +0 -0
- package/lib/commonjs/assets/network_2.png +0 -0
- package/lib/commonjs/assets/network_3.png +0 -0
- package/lib/commonjs/assets/network_4.png +0 -0
- package/lib/commonjs/assets/user_music.png +0 -0
- package/lib/commonjs/components/ChatWindow.js +0 -608
- package/lib/commonjs/components/ChatWindow.js.map +0 -1
- package/lib/commonjs/components/CustomInput.js +0 -89
- package/lib/commonjs/components/CustomInput.js.map +0 -1
- package/lib/commonjs/components/DisplayTrack.js +0 -70
- package/lib/commonjs/components/DisplayTrack.js.map +0 -1
- package/lib/commonjs/components/HMSShareScreen.js +0 -59
- package/lib/commonjs/components/HMSShareScreen.js.map +0 -1
- package/lib/commonjs/components/HMSShowNetworkQuality.js +0 -56
- package/lib/commonjs/components/HMSShowNetworkQuality.js.map +0 -1
- package/lib/commonjs/components/LiveButton.js +0 -70
- package/lib/commonjs/components/LiveButton.js.map +0 -1
- package/lib/commonjs/components/Participants/ParticipantsFilter.js +0 -128
- package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +0 -1
- package/lib/commonjs/components/Participants/ParticipantsHeader.js +0 -67
- package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +0 -1
- package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +0 -1
- package/lib/commonjs/components/ParticipantsModal.js.map +0 -1
- package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
- package/lib/commonjs/components/Picker.js +0 -93
- package/lib/commonjs/components/Picker.js.map +0 -1
- package/lib/module/assets/100ms-logo.png +0 -0
- package/lib/module/assets/brb.png +0 -0
- package/lib/module/assets/icon.png +0 -0
- package/lib/module/assets/illustration.png +0 -0
- package/lib/module/assets/network_0.png +0 -0
- package/lib/module/assets/network_1.png +0 -0
- package/lib/module/assets/network_2.png +0 -0
- package/lib/module/assets/network_3.png +0 -0
- package/lib/module/assets/network_4.png +0 -0
- package/lib/module/assets/user_music.png +0 -0
- package/lib/module/components/ChatWindow.js +0 -595
- package/lib/module/components/ChatWindow.js.map +0 -1
- package/lib/module/components/CustomInput.js +0 -82
- package/lib/module/components/CustomInput.js.map +0 -1
- package/lib/module/components/DisplayTrack.js +0 -63
- package/lib/module/components/DisplayTrack.js.map +0 -1
- package/lib/module/components/HMSShareScreen.js +0 -50
- package/lib/module/components/HMSShareScreen.js.map +0 -1
- package/lib/module/components/HMSShowNetworkQuality.js +0 -47
- package/lib/module/components/HMSShowNetworkQuality.js.map +0 -1
- package/lib/module/components/LiveButton.js +0 -61
- package/lib/module/components/LiveButton.js.map +0 -1
- package/lib/module/components/Participants/ParticipantsFilter.js +0 -121
- package/lib/module/components/Participants/ParticipantsFilter.js.map +0 -1
- package/lib/module/components/Participants/ParticipantsHeader.js +0 -58
- package/lib/module/components/Participants/ParticipantsHeader.js.map +0 -1
- package/lib/module/components/Participants/SearchableParticipantsView.js +0 -18
- package/lib/module/components/Participants/SearchableParticipantsView.js.map +0 -1
- package/lib/module/components/ParticipantsModal.js +0 -34
- package/lib/module/components/ParticipantsModal.js.map +0 -1
- package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -35
- package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
- package/lib/module/components/Picker.js +0 -83
- package/lib/module/components/Picker.js.map +0 -1
- package/lib/typescript/components/ChatWindow.d.ts +0 -22
- package/lib/typescript/components/ChatWindow.d.ts.map +0 -1
- package/lib/typescript/components/CustomInput.d.ts +0 -24
- package/lib/typescript/components/CustomInput.d.ts.map +0 -1
- package/lib/typescript/components/DisplayTrack.d.ts +0 -9
- package/lib/typescript/components/DisplayTrack.d.ts.map +0 -1
- package/lib/typescript/components/HMSShareScreen.d.ts +0 -9
- package/lib/typescript/components/HMSShareScreen.d.ts.map +0 -1
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts +0 -3
- package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +0 -1
- package/lib/typescript/components/LiveButton.d.ts +0 -17
- package/lib/typescript/components/LiveButton.d.ts.map +0 -1
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +0 -6
- package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +0 -1
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +0 -9
- package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +0 -1
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +0 -3
- package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +0 -1
- package/lib/typescript/components/ParticipantsModal.d.ts +0 -5
- package/lib/typescript/components/ParticipantsModal.d.ts.map +0 -1
- package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts +0 -6
- package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts.map +0 -1
- package/lib/typescript/components/Picker.d.ts +0 -9
- package/lib/typescript/components/Picker.d.ts.map +0 -1
- package/src/assets/100ms-logo.png +0 -0
- package/src/assets/brb.png +0 -0
- package/src/assets/icon.png +0 -0
- package/src/assets/illustration.png +0 -0
- package/src/assets/network_0.png +0 -0
- package/src/assets/network_1.png +0 -0
- package/src/assets/network_2.png +0 -0
- package/src/assets/network_3.png +0 -0
- package/src/assets/network_4.png +0 -0
- package/src/assets/user_music.png +0 -0
- package/src/components/ChatWindow.tsx +0 -706
- package/src/components/CustomInput.tsx +0 -138
- package/src/components/DisplayTrack.tsx +0 -92
- package/src/components/HMSShareScreen.tsx +0 -71
- package/src/components/HMSShowNetworkQuality.tsx +0 -68
- package/src/components/LiveButton.tsx +0 -77
- package/src/components/Participants/ParticipantsFilter.tsx +0 -144
- package/src/components/Participants/ParticipantsHeader.tsx +0 -64
- package/src/components/Participants/SearchableParticipantsView.tsx +0 -21
- package/src/components/ParticipantsModal.tsx +0 -46
- package/src/components/PeerVideoTile/PeerAudioMutedIndicator.tsx +0 -41
- package/src/components/Picker.tsx +0 -108
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.CustomInput = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _MaterialIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));
|
|
10
|
-
var _theme = require("../utils/theme");
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
const CustomInput = _ref => {
|
|
13
|
-
let {
|
|
14
|
-
value,
|
|
15
|
-
title,
|
|
16
|
-
onChangeText,
|
|
17
|
-
placeholderTextColor,
|
|
18
|
-
placeholder,
|
|
19
|
-
textStyle,
|
|
20
|
-
viewStyle,
|
|
21
|
-
clearButtonStyle,
|
|
22
|
-
inputStyle,
|
|
23
|
-
defaultValue,
|
|
24
|
-
returnKeyType,
|
|
25
|
-
multiline,
|
|
26
|
-
blurOnSubmit,
|
|
27
|
-
disableFullscreenUI = true,
|
|
28
|
-
clear = true,
|
|
29
|
-
autoCapitalize = 'none' // autoCorrect = false, // autoCompleteType = 'off',
|
|
30
|
-
} = _ref;
|
|
31
|
-
const showClear = clear && value !== undefined && (value === null || value === void 0 ? void 0 : value.length) > 0;
|
|
32
|
-
const onChange = newValue => {
|
|
33
|
-
onChangeText(newValue);
|
|
34
|
-
};
|
|
35
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
36
|
-
style: [styles.inputContainer, viewStyle]
|
|
37
|
-
}, title && /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
38
|
-
style: textStyle
|
|
39
|
-
}, title), /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, {
|
|
40
|
-
disableFullscreenUI: disableFullscreenUI,
|
|
41
|
-
value: value,
|
|
42
|
-
onChangeText: onChange,
|
|
43
|
-
placeholderTextColor: placeholderTextColor,
|
|
44
|
-
placeholder: placeholder,
|
|
45
|
-
style: [!multiline && styles.input, showClear && styles.clear, inputStyle],
|
|
46
|
-
defaultValue: defaultValue,
|
|
47
|
-
returnKeyType: returnKeyType,
|
|
48
|
-
multiline: multiline,
|
|
49
|
-
blurOnSubmit: blurOnSubmit,
|
|
50
|
-
keyboardAppearance: "dark",
|
|
51
|
-
autoCapitalize: autoCapitalize,
|
|
52
|
-
autoCorrect: true,
|
|
53
|
-
textContentType: 'name',
|
|
54
|
-
autoCompleteType: 'name'
|
|
55
|
-
}), showClear && /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
56
|
-
onPress: () => {
|
|
57
|
-
onChange('');
|
|
58
|
-
},
|
|
59
|
-
style: [styles.clearContainer, clearButtonStyle]
|
|
60
|
-
}, /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
|
|
61
|
-
name: "clear",
|
|
62
|
-
style: styles.clearIcon,
|
|
63
|
-
size: 24
|
|
64
|
-
}))));
|
|
65
|
-
};
|
|
66
|
-
exports.CustomInput = CustomInput;
|
|
67
|
-
const styles = _reactNative.StyleSheet.create({
|
|
68
|
-
inputContainer: {
|
|
69
|
-
width: '100%'
|
|
70
|
-
},
|
|
71
|
-
input: {
|
|
72
|
-
height: 48
|
|
73
|
-
},
|
|
74
|
-
clearContainer: {
|
|
75
|
-
position: 'absolute',
|
|
76
|
-
right: 0,
|
|
77
|
-
top: 0,
|
|
78
|
-
bottom: 0,
|
|
79
|
-
justifyContent: 'center',
|
|
80
|
-
paddingHorizontal: 8
|
|
81
|
-
},
|
|
82
|
-
clear: {
|
|
83
|
-
paddingRight: 40
|
|
84
|
-
},
|
|
85
|
-
clearIcon: {
|
|
86
|
-
color: _theme.COLORS.TEXT.HIGH_EMPHASIS
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
//# sourceMappingURL=CustomInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_MaterialIcons","_theme","obj","__esModule","default","CustomInput","_ref","value","title","onChangeText","placeholderTextColor","placeholder","textStyle","viewStyle","clearButtonStyle","inputStyle","defaultValue","returnKeyType","multiline","blurOnSubmit","disableFullscreenUI","clear","autoCapitalize","showClear","undefined","length","onChange","newValue","createElement","View","style","styles","inputContainer","Text","TextInput","input","keyboardAppearance","autoCorrect","textContentType","autoCompleteType","TouchableOpacity","onPress","clearContainer","name","clearIcon","size","exports","StyleSheet","create","width","height","position","right","top","bottom","justifyContent","paddingHorizontal","paddingRight","color","COLORS","TEXT","HIGH_EMPHASIS"],"sourceRoot":"../../../src","sources":["components/CustomInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAaA,IAAAE,cAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEA,IAAAG,MAAA,GAAAH,OAAA;AAAwC,SAAAD,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAExC,MAAMG,WAAW,GAAGC,IAAA,IAiDd;EAAA,IAjDe;IACnBC,KAAK;IACLC,KAAK;IACLC,YAAY;IACZC,oBAAoB;IACpBC,WAAW;IACXC,SAAS;IACTC,SAAS;I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d,cAAc,EAAEA,cAAe;IAC/Be,WAAW,EAAE,IAAK;IAClBC,eAAe,EAAE,MAAO;IACxBC,gBAAgB,EAAE;EAAO,CAC1B,CAAC,EACDhB,SAAS,iBACR3B,MAAA,CAAAQ,OAAA,CAAAwB,aAAA,CAAC7B,YAAA,CAAAyC,gBAAgB;IACfC,OAAO,EAAEA,CAAA,KAAM;MACbf,QAAQ,CAAC,EAAE,CAAC;IACd,CAAE;IACFI,KAAK,EAAE,CAACC,MAAM,CAACW,cAAc,EAAE5B,gBAAgB;EAAE,gBAEjDlB,MAAA,CAAAQ,OAAA,CAAAwB,aAAA,CAAC5B,cAAA,CAAAI,OAAa;IAACuC,IAAI,EAAC,OAAO;IAACb,KAAK,EAAEC,MAAM,CAACa,SAAU;IAACC,IAAI,EAAE;EAAG,CAAE,CAChD,CAEhB,CACF,CAAC;AAEX,CAAC;AAACC,OAAA,CAAAzC,WAAA,GAAAA,WAAA;AAEF,MAAM0B,MAAM,GAAGgB,uBAAU,CAACC,MAAM,CAAC;EAC/BhB,cAAc,EAAE;IACdiB,KAAK,EAAE;EACT,CAAC;EACDd,KAAK,EAAE;IACLe,MAAM,EAAE;EACV,CAAC;EACDR,cAAc,EAAE;IACdS,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE,CAAC;IACRC,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,cAAc,EAAE,QAAQ;IACxBC,iBAAiB,EAAE;EACrB,CAAC;EACDnC,KAAK,EAAE;IACLoC,YAAY,EAAE;EAChB,CAAC;EACDb,SAAS,EAAE;IACTc,KAAK,EAAEC,aAAM,CAACC,IAAI,CAACC;EACrB;AACF,CAAC,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.DisplayTrack = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _reactNativeHms = require("@100mslive/react-native-hms");
|
|
10
|
-
var _MaterialCommunityIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialCommunityIcons"));
|
|
11
|
-
var _reactRedux = require("react-redux");
|
|
12
|
-
var _ = require(".");
|
|
13
|
-
var _styles = require("./styles");
|
|
14
|
-
var _PeerDisplayView = _interopRequireDefault(require("./PeerDisplayView"));
|
|
15
|
-
var _PeerRTCStatsContainer = _interopRequireDefault(require("./PeerRTCStatsContainer"));
|
|
16
|
-
var _hooksSdk = require("../hooks-sdk");
|
|
17
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
-
// `ref` passed to DisplayTrack component will be passed to PeerDisplayView component
|
|
19
|
-
// as HMSView component is being rendered inside PeerDisplayView component
|
|
20
|
-
const DisplayTrack = /*#__PURE__*/_react.default.forwardRef((_ref, hmsViewRef) => {
|
|
21
|
-
let {
|
|
22
|
-
isDegraded,
|
|
23
|
-
isLocal,
|
|
24
|
-
peer,
|
|
25
|
-
videoTrack,
|
|
26
|
-
videoStyles
|
|
27
|
-
} = _ref;
|
|
28
|
-
// hooks
|
|
29
|
-
const hmsActions = (0, _hooksSdk.useHMSActions)();
|
|
30
|
-
const showStatsOnTiles = (0, _reactRedux.useSelector)(state => state.app.joinConfig.showStats);
|
|
31
|
-
|
|
32
|
-
// functions
|
|
33
|
-
const onEndScreenSharePress = async () => {
|
|
34
|
-
await hmsActions.setScreenShareEnabled(false);
|
|
35
|
-
};
|
|
36
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
37
|
-
style: videoStyles
|
|
38
|
-
}, isLocal && (videoTrack === null || videoTrack === void 0 ? void 0 : videoTrack.source) === _reactNativeHms.HMSTrackSource.SCREEN && (videoTrack === null || videoTrack === void 0 ? void 0 : videoTrack.type) === _reactNativeHms.HMSTrackType.VIDEO ? /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
39
|
-
style: _styles.styles.screenshareContainer
|
|
40
|
-
}, /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
|
|
41
|
-
name: "monitor-share",
|
|
42
|
-
style: _styles.styles.icon,
|
|
43
|
-
size: 48
|
|
44
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
45
|
-
style: _styles.styles.screenshareText
|
|
46
|
-
}, "You are sharing your screen"), /*#__PURE__*/_react.default.createElement(_.CustomButton, {
|
|
47
|
-
title: "X Stop Screenshare",
|
|
48
|
-
onPress: onEndScreenSharePress,
|
|
49
|
-
viewStyle: _styles.styles.screenshareButton,
|
|
50
|
-
textStyle: _styles.styles.roleChangeModalButtonText
|
|
51
|
-
})) : /*#__PURE__*/_react.default.createElement(_PeerDisplayView.default, {
|
|
52
|
-
ref: hmsViewRef,
|
|
53
|
-
peer: peer,
|
|
54
|
-
isDegraded: isDegraded,
|
|
55
|
-
isLocal: isLocal,
|
|
56
|
-
videoTrack: videoTrack
|
|
57
|
-
}), showStatsOnTiles ? /*#__PURE__*/_react.default.createElement(_PeerRTCStatsContainer.default, {
|
|
58
|
-
trackId: videoTrack === null || videoTrack === void 0 ? void 0 : videoTrack.trackId,
|
|
59
|
-
peerId: peer.peerID,
|
|
60
|
-
trackSource: videoTrack === null || videoTrack === void 0 ? void 0 : videoTrack.source
|
|
61
|
-
}) : null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
62
|
-
style: _styles.styles.peerNameContainer
|
|
63
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
64
|
-
numberOfLines: 2,
|
|
65
|
-
style: _styles.styles.peerName
|
|
66
|
-
}, (videoTrack === null || videoTrack === void 0 ? void 0 : videoTrack.source) !== undefined && (videoTrack === null || videoTrack === void 0 ? void 0 : videoTrack.source) !== _reactNativeHms.HMSTrackSource.REGULAR ? `${peer.name}'s ${videoTrack.source}` : isLocal ? `${peer.name} (You)` : peer.name)));
|
|
67
|
-
});
|
|
68
|
-
exports.DisplayTrack = DisplayTrack;
|
|
69
|
-
DisplayTrack.displayName = 'DisplayTrack';
|
|
70
|
-
//# sourceMappingURL=DisplayTrack.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeHms","_MaterialCommunityIcons","_reactRedux","_","_styles","_PeerDisplayView","_PeerRTCStatsContainer","_hooksSdk","obj","__esModule","default","DisplayTrack","React","forwardRef","_ref","hmsViewRef","isDegraded","isLocal","peer","videoTrack","videoStyles","hmsActions","useHMSActions","showStatsOnTiles","useSelector","state","app","joinConfig","showStats","onEndScreenSharePress","setScreenShareEnabled","createElement","View","style","source","HMSTrackSource","SCREEN","type","HMSTrackType","VIDEO","styles","screenshareContainer","name","icon","size","Text","screenshareText","CustomButton","title","onPress","viewStyle","screenshareButton","textStyle","roleChangeModalButtonText","ref","trackId","peerId","peerID","trackSource","peerNameContainer","numberOfLines","peerName","undefined","REGULAR","exports","displayName"],"sourceRoot":"../../../src","sources":["components/DisplayTrack.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,uBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAGA,IAAAK,CAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAEA,IAAAO,gBAAA,GAAAR,sBAAA,CAAAC,OAAA;AAEA,IAAAQ,sBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AAA6C,SAAAD,uBAAAW,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAM7C;AACA;AACA,MAAMG,YAAY,gBAAGC,cAAK,C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AAACsB,OAAA,CAAArD,YAAA,GAAAA,YAAA;AAEHA,YAAY,CAACsD,WAAW,GAAG,cAAc"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.HMSShareScreen = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _reactRedux = require("react-redux");
|
|
10
|
-
var _theme = require("../utils/theme");
|
|
11
|
-
var _hooksSdk = require("../hooks-sdk");
|
|
12
|
-
var _PressableIcon = require("./PressableIcon");
|
|
13
|
-
var _Icons = require("../Icons");
|
|
14
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
const HMSShareScreen = _ref => {
|
|
17
|
-
let {
|
|
18
|
-
screenShareDelegate
|
|
19
|
-
} = _ref;
|
|
20
|
-
const canPublishScreen = (0, _hooksSdk.useCanPublishScreen)();
|
|
21
|
-
if (!canPublishScreen) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
return /*#__PURE__*/React.createElement(ScreenShareButton, {
|
|
25
|
-
screenShareDelegate: screenShareDelegate
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
exports.HMSShareScreen = HMSShareScreen;
|
|
29
|
-
const ScreenShareButton = _ref2 => {
|
|
30
|
-
let {
|
|
31
|
-
screenShareDelegate = /*#__PURE__*/React.createElement(DefaultScreenShareButtonDelegate, null)
|
|
32
|
-
} = _ref2;
|
|
33
|
-
const hmsActions = (0, _hooksSdk.useHMSActions)();
|
|
34
|
-
const isLocalScreenShared = (0, _reactRedux.useSelector)(state => state.hmsStates.isLocalScreenShared);
|
|
35
|
-
const handleScreenShareTogglePress = async () => {
|
|
36
|
-
await hmsActions.setScreenShareEnabled(!isLocalScreenShared);
|
|
37
|
-
};
|
|
38
|
-
return /*#__PURE__*/React.cloneElement(screenShareDelegate, {
|
|
39
|
-
onPress: handleScreenShareTogglePress,
|
|
40
|
-
isLocalScreenShared
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
const DefaultScreenShareButtonDelegate = _ref3 => {
|
|
44
|
-
let {
|
|
45
|
-
onPress,
|
|
46
|
-
isLocalScreenShared
|
|
47
|
-
} = _ref3;
|
|
48
|
-
return /*#__PURE__*/React.createElement(_PressableIcon.PressableIcon, {
|
|
49
|
-
onPress: onPress,
|
|
50
|
-
style: isLocalScreenShared ? styles.mutedButton : undefined
|
|
51
|
-
}, /*#__PURE__*/React.createElement(_Icons.ScreenShareIcon, null));
|
|
52
|
-
};
|
|
53
|
-
const styles = _reactNative.StyleSheet.create({
|
|
54
|
-
mutedButton: {
|
|
55
|
-
backgroundColor: _theme.COLORS.SECONDARY.DIM,
|
|
56
|
-
borderColor: _theme.COLORS.SECONDARY.DIM
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
//# sourceMappingURL=HMSShareScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactRedux","_theme","_hooksSdk","_PressableIcon","_Icons","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","HMSShareScreen","_ref","screenShareDelegate","canPublishScreen","useCanPublishScreen","createElement","ScreenShareButton","exports","_ref2","DefaultScreenShareButtonDelegate","hmsActions","useHMSActions","isLocalScreenShared","useSelector","state","hmsStates","handleScreenShareTogglePress","setScreenShareEnabled","cloneElement","onPress","_ref3","PressableIcon","style","styles","mutedButton","undefined","ScreenShareIcon","StyleSheet","create","backgroundColor","COLORS","SECONDARY","DIM","borderColor"],"sourceRoot":"../../../src","sources":["components/HMSShareScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAGA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAA2C,SAAAO,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAT,wBAAAa,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,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AAAC,uBAAW,EACpCC,KAAgB,IAAKA,KAAK,CAACC,SAAS,CAACH,mBACxC,CAAC;EAED,MAAMI,4BAA4B,GAAG,MAAAA,CAAA,KAAY;IAC/C,MAAMN,UAAU,CAACO,qBAAqB,CAAC,CAACL,mBAAmB,CAAC;EAC9D,CAAC;EAED,oBAAO3C,KAAK,CAACiD,YAAY,CAAChB,mBAAmB,EAAE;IAC7CiB,OAAO,EAAEH,4BAA4B;IACrCJ;EACF,CAAC,CAAC;AACJ,CAAC;AAOD,MAAMH,gCAEL,GAAGW,KAAA,IAAsC;EAAA,IAArC;IAAED,OAAO;IAAEP;EAAoB,CAAC,GAAAQ,KAAA;EACnC,oBACEnD,KAAA,CAAAoC,aAAA,CAAC7B,cAAA,CAAA6C,aAAa;IACZF,OAAO,EAAEA,OAAQ;IACjBG,KAAK,EAAEV,mBAAmB,GAAGW,MAAM,CAACC,WAAW,GAAGC;EAAU,gBAE5DxD,KAAA,CAAAoC,aAAA,CAAC5B,MAAA,CAAAiD,eAAe,MAAE,CACL,CAAC;AAEpB,CAAC;AAED,MAAMH,MAAM,GAAGI,uBAAU,CAACC,MAAM,CAAC;EAC/BJ,WAAW,EAAE;IACXK,eAAe,EAAEC,aAAM,CAACC,SAAS,CAACC,GAAG;IACrCC,WAAW,EAAEH,aAAM,CAACC,SAAS,CAACC;EAChC;AACF,CAAC,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.HMSShowNetworkQuality = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactRedux = require("react-redux");
|
|
9
|
-
var _reactNative = require("react-native");
|
|
10
|
-
var _CustomButton = require("./CustomButton");
|
|
11
|
-
var _hooksUtil = require("../hooks-util");
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
const HMSShowNetworkQuality = () => {
|
|
15
|
-
const hmsInstance = (0, _hooksUtil.useHMSInstance)();
|
|
16
|
-
const localPeerDownlinkNetworkQuality = (0, _reactRedux.useSelector)(state => {
|
|
17
|
-
var _state$hmsStates$loca;
|
|
18
|
-
return (_state$hmsStates$loca = state.hmsStates.localPeer) === null || _state$hmsStates$loca === void 0 || (_state$hmsStates$loca = _state$hmsStates$loca.networkQuality) === null || _state$hmsStates$loca === void 0 ? void 0 : _state$hmsStates$loca.downlinkQuality;
|
|
19
|
-
});
|
|
20
|
-
(0, _react.useEffect)(() => {
|
|
21
|
-
hmsInstance.enableNetworkQualityUpdates();
|
|
22
|
-
return () => hmsInstance.disableNetworkQualityUpdates();
|
|
23
|
-
}, [hmsInstance]);
|
|
24
|
-
const iconContainer = (0, _hooksUtil.useHMSRoomStyle)(theme => ({
|
|
25
|
-
backgroundColor: theme.palette.border_bright,
|
|
26
|
-
borderColor: theme.palette.border_bright
|
|
27
|
-
}));
|
|
28
|
-
return /*#__PURE__*/_react.default.createElement(_CustomButton.CustomButton, {
|
|
29
|
-
onPress: () => {},
|
|
30
|
-
disabled: true,
|
|
31
|
-
viewStyle: [styles.singleIconContainer, iconContainer],
|
|
32
|
-
LeftIcon: /*#__PURE__*/_react.default.createElement(_reactNative.Image, {
|
|
33
|
-
resizeMode: "contain",
|
|
34
|
-
style: styles.image,
|
|
35
|
-
source: localPeerDownlinkNetworkQuality === 0 ? require('../assets/network_0.png') : localPeerDownlinkNetworkQuality === 1 ? require('../assets/network_1.png') : localPeerDownlinkNetworkQuality === 2 ? require('../assets/network_2.png') : localPeerDownlinkNetworkQuality === 3 ? require('../assets/network_3.png') : require('../assets/network_4.png')
|
|
36
|
-
})
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
exports.HMSShowNetworkQuality = HMSShowNetworkQuality;
|
|
40
|
-
const styles = _reactNative.StyleSheet.create({
|
|
41
|
-
image: {
|
|
42
|
-
height: 32,
|
|
43
|
-
width: 32
|
|
44
|
-
},
|
|
45
|
-
singleIconContainer: {
|
|
46
|
-
padding: 8,
|
|
47
|
-
borderWidth: 1,
|
|
48
|
-
width: 'auto',
|
|
49
|
-
height: 48,
|
|
50
|
-
justifyContent: 'center',
|
|
51
|
-
alignItems: 'center',
|
|
52
|
-
borderRadius: 12,
|
|
53
|
-
marginHorizontal: 4
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
//# sourceMappingURL=HMSShowNetworkQuality.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactRedux","_reactNative","_CustomButton","_hooksUtil","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","HMSShowNetworkQuality","hmsInstance","useHMSInstance","localPeerDownlinkNetworkQuality","useSelector","state","_state$hmsStates$loca","hmsStates","localPeer","networkQuality","downlinkQuality","useEffect","enableNetworkQualityUpdates","disableNetworkQualityUpdates","iconContainer","useHMSRoomStyle","theme","backgroundColor","palette","border_bright","borderColor","createElement","CustomButton","onPress","disabled","viewStyle","styles","singleIconContainer","LeftIcon","Image","resizeMode","style","image","source","exports","StyleSheet","create","height","width","padding","borderWidth","justifyContent","alignItems","borderRadius","marginHorizontal"],"sourceRoot":"../../../src","sources":["components/HMSShowNetworkQuality.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAGA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAAgE,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAP,wBAAAW,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,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ACvDc,QAAQ,eACNzD,MAAA,CAAAc,OAAA,CAAAoC,aAAA,CAAC9C,YAAA,CAAAsD,KAAK;MACJC,UAAU,EAAC,SAAS;MACpBC,KAAK,EAAEL,MAAM,CAACM,KAAM;MACpBC,MAAM,EACJ9B,+BAA+B,KAAK,CAAC,GACjC9B,OAAO,CAAC,yBAAyB,CAAC,GAClC8B,+BAA+B,KAAK,CAAC,GACrC9B,OAAO,CAAC,yBAAyB,CAAC,GAClC8B,+BAA+B,KAAK,CAAC,GACrC9B,OAAO,CAAC,yBAAyB,CAAC,GAClC8B,+BAA+B,KAAK,CAAC,GACrC9B,OAAO,CAAC,yBAAyB,CAAC,GAClCA,OAAO,CAAC,yBAAyB;IACtC,CACF;EACF,CACF,CAAC;AAEN,CAAC;AAAC6D,OAAA,CAAAlC,qBAAA,GAAAA,qBAAA;AAEF,MAAM0B,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/BJ,KAAK,EAAE;IACLK,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE;EACT,CAAC;EACDX,mBAAmB,EAAE;IACnBY,OAAO,EAAE,CAAC;IACVC,WAAW,EAAE,CAAC;IACdF,KAAK,EAAE,MAAM;IACbD,MAAM,EAAE,EAAE;IACVI,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,YAAY,EAAE,EAAE;IAChBC,gBAAgB,EAAE;EACpB;AACF,CAAC,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.LiveStates = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theme = require("../utils/theme");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
let LiveStates = /*#__PURE__*/function (LiveStates) {
|
|
12
|
-
LiveStates[LiveStates["LIVE"] = 10] = "LIVE";
|
|
13
|
-
LiveStates[LiveStates["BEHIND_LIVE"] = 20] = "BEHIND_LIVE";
|
|
14
|
-
LiveStates[LiveStates["LOADING_LIVE"] = 30] = "LOADING_LIVE";
|
|
15
|
-
return LiveStates;
|
|
16
|
-
}({});
|
|
17
|
-
exports.LiveStates = LiveStates;
|
|
18
|
-
const LiveButton = _ref => {
|
|
19
|
-
let {
|
|
20
|
-
containerStyle,
|
|
21
|
-
isLive,
|
|
22
|
-
onPress,
|
|
23
|
-
disabled,
|
|
24
|
-
size = 'normal'
|
|
25
|
-
} = _ref;
|
|
26
|
-
const textStyle = size !== 'normal' ? {
|
|
27
|
-
fontSize: 10
|
|
28
|
-
} : null;
|
|
29
|
-
const indicatorStyle = size !== 'normal' ? {
|
|
30
|
-
width: 4,
|
|
31
|
-
height: 4,
|
|
32
|
-
borderRadius: 2
|
|
33
|
-
} : null;
|
|
34
|
-
const pressableStyle = size !== 'normal' ? {
|
|
35
|
-
padding: 4
|
|
36
|
-
} : null;
|
|
37
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
38
|
-
style: containerStyle
|
|
39
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
40
|
-
onPress: onPress,
|
|
41
|
-
style: [styles.touchable, pressableStyle],
|
|
42
|
-
disabled: disabled
|
|
43
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
44
|
-
style: [styles.liveIndicator, indicatorStyle, {
|
|
45
|
-
backgroundColor: isLive ? _theme.COLORS.TWIN.RED : _theme.COLORS.SECONDARY.DEFAULT
|
|
46
|
-
}]
|
|
47
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
48
|
-
style: [styles.liveText, textStyle]
|
|
49
|
-
}, "LIVE")));
|
|
50
|
-
};
|
|
51
|
-
var _default = LiveButton;
|
|
52
|
-
exports.default = _default;
|
|
53
|
-
const styles = _reactNative.StyleSheet.create({
|
|
54
|
-
touchable: {
|
|
55
|
-
flexDirection: 'row',
|
|
56
|
-
alignItems: 'center',
|
|
57
|
-
padding: 16
|
|
58
|
-
},
|
|
59
|
-
liveText: {
|
|
60
|
-
color: _theme.COLORS.TEXT.HIGH_EMPHASIS
|
|
61
|
-
},
|
|
62
|
-
liveIndicator: {
|
|
63
|
-
width: 8,
|
|
64
|
-
height: 8,
|
|
65
|
-
backgroundColor: _theme.COLORS.TWIN.RED,
|
|
66
|
-
borderRadius: 4,
|
|
67
|
-
marginRight: 4
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
//# sourceMappingURL=LiveButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_theme","obj","__esModule","default","LiveStates","exports","LiveButton","_ref","containerStyle","isLive","onPress","disabled","size","textStyle","fontSize","indicatorStyle","width","height","borderRadius","pressableStyle","padding","createElement","View","style","TouchableOpacity","styles","touchable","liveIndicator","backgroundColor","COLORS","TWIN","RED","SECONDARY","DEFAULT","Text","liveText","_default","StyleSheet","create","flexDirection","alignItems","color","TEXT","HIGH_EMPHASIS","marginRight"],"sourceRoot":"../../../src","sources":["components/LiveButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAAwC,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,IAE5BG,UAAU,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA;AAAAC,OAAA,CAAAD,UAAA,GAAAA,UAAA;AActB,MAAME,UA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AAD,OAAA,CAAAF,OAAA,GAAAiC,QAAA;AAEzB,MAAMX,MAAM,GAAGY,uBAAU,CAACC,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTa,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBpB,OAAO,EAAE;EACX,CAAC;EACDe,QAAQ,EAAE;IACRM,KAAK,EAAEZ,aAAM,CAACa,IAAI,CAACC;EACrB,CAAC;EACDhB,aAAa,EAAE;IACbX,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTW,eAAe,EAAEC,aAAM,CAACC,IAAI,CAACC,GAAG;IAChCb,YAAY,EAAE,CAAC;IACf0B,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ParticipantFilter = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _reactRedux = require("react-redux");
|
|
10
|
-
var _Ionicons = _interopRequireDefault(require("react-native-vector-icons/Ionicons"));
|
|
11
|
-
var _MaterialIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));
|
|
12
|
-
var _MenuModal = require("../MenuModal");
|
|
13
|
-
var _theme = require("../../utils/theme");
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
const ParticipantFilter = _ref => {
|
|
16
|
-
let {
|
|
17
|
-
filter,
|
|
18
|
-
setFilter
|
|
19
|
-
} = _ref;
|
|
20
|
-
const roles = (0, _reactRedux.useSelector)(state => state.hmsStates.roles);
|
|
21
|
-
const [visible, setVisible] = _react.default.useState(false);
|
|
22
|
-
const hideMenu = () => setVisible(false);
|
|
23
|
-
const showMenu = () => setVisible(true);
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(_MenuModal.Menu, {
|
|
25
|
-
visible: visible,
|
|
26
|
-
anchor: /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
27
|
-
style: styles.participantFilterContainer,
|
|
28
|
-
onPress: showMenu
|
|
29
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
30
|
-
style: styles.participantFilterText,
|
|
31
|
-
numberOfLines: 1
|
|
32
|
-
}, filter), /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
|
|
33
|
-
name: visible ? 'arrow-drop-up' : 'arrow-drop-down',
|
|
34
|
-
style: styles.participantFilterIcon,
|
|
35
|
-
size: 24
|
|
36
|
-
})),
|
|
37
|
-
onRequestClose: hideMenu,
|
|
38
|
-
style: styles.participantsMenuContainer
|
|
39
|
-
}, /*#__PURE__*/_react.default.createElement(_MenuModal.MenuItem, {
|
|
40
|
-
onPress: () => {
|
|
41
|
-
hideMenu();
|
|
42
|
-
setFilter('everyone');
|
|
43
|
-
}
|
|
44
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
45
|
-
style: styles.participantMenuItem
|
|
46
|
-
}, /*#__PURE__*/_react.default.createElement(_Ionicons.default, {
|
|
47
|
-
name: "people-outline",
|
|
48
|
-
style: styles.participantMenuItemIcon,
|
|
49
|
-
size: 20
|
|
50
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
51
|
-
style: styles.participantMenuItemName
|
|
52
|
-
}, "Everyone"))), /*#__PURE__*/_react.default.createElement(_MenuModal.MenuItem, {
|
|
53
|
-
onPress: () => {
|
|
54
|
-
hideMenu();
|
|
55
|
-
setFilter('raised hand');
|
|
56
|
-
}
|
|
57
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
58
|
-
style: styles.participantMenuItem
|
|
59
|
-
}, /*#__PURE__*/_react.default.createElement(_Ionicons.default, {
|
|
60
|
-
name: "hand-left-outline",
|
|
61
|
-
style: styles.participantMenuItemIcon,
|
|
62
|
-
size: 20
|
|
63
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
64
|
-
style: styles.participantMenuItemName
|
|
65
|
-
}, "Raised Hand"))), /*#__PURE__*/_react.default.createElement(_MenuModal.MenuDivider, {
|
|
66
|
-
color: _theme.COLORS.BORDER.LIGHT
|
|
67
|
-
}), roles === null || roles === void 0 ? void 0 : roles.map(knownRole => {
|
|
68
|
-
return /*#__PURE__*/_react.default.createElement(_MenuModal.MenuItem, {
|
|
69
|
-
onPress: () => {
|
|
70
|
-
hideMenu();
|
|
71
|
-
setFilter(knownRole === null || knownRole === void 0 ? void 0 : knownRole.name);
|
|
72
|
-
},
|
|
73
|
-
key: knownRole.name
|
|
74
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
75
|
-
style: styles.participantMenuItem
|
|
76
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
77
|
-
style: styles.participantMenuItemName
|
|
78
|
-
}, knownRole === null || knownRole === void 0 ? void 0 : knownRole.name)));
|
|
79
|
-
}));
|
|
80
|
-
};
|
|
81
|
-
exports.ParticipantFilter = ParticipantFilter;
|
|
82
|
-
const styles = _reactNative.StyleSheet.create({
|
|
83
|
-
participantFilterContainer: {
|
|
84
|
-
padding: 8,
|
|
85
|
-
flexDirection: 'row',
|
|
86
|
-
alignItems: 'center',
|
|
87
|
-
width: 120,
|
|
88
|
-
borderWidth: 1,
|
|
89
|
-
borderColor: _theme.COLORS.BORDER.LIGHT,
|
|
90
|
-
borderRadius: 8
|
|
91
|
-
},
|
|
92
|
-
participantFilterText: {
|
|
93
|
-
color: _theme.COLORS.TEXT.HIGH_EMPHASIS,
|
|
94
|
-
fontFamily: 'Inter-Regular',
|
|
95
|
-
fontSize: 12,
|
|
96
|
-
lineHeight: 16,
|
|
97
|
-
letterSpacing: 0.4,
|
|
98
|
-
marginRight: 12,
|
|
99
|
-
textTransform: 'capitalize'
|
|
100
|
-
},
|
|
101
|
-
participantFilterIcon: {
|
|
102
|
-
color: _theme.COLORS.TEXT.HIGH_EMPHASIS,
|
|
103
|
-
position: 'absolute',
|
|
104
|
-
right: 0
|
|
105
|
-
},
|
|
106
|
-
participantsMenuContainer: {
|
|
107
|
-
backgroundColor: _theme.COLORS.SURFACE.LIGHT
|
|
108
|
-
},
|
|
109
|
-
participantMenuItem: {
|
|
110
|
-
flexDirection: 'row',
|
|
111
|
-
alignItems: 'center',
|
|
112
|
-
paddingLeft: _reactNative.Platform.OS === 'ios' ? 16 : 0
|
|
113
|
-
},
|
|
114
|
-
participantMenuItemIcon: {
|
|
115
|
-
color: _theme.COLORS.WHITE,
|
|
116
|
-
paddingRight: 16,
|
|
117
|
-
height: 24
|
|
118
|
-
},
|
|
119
|
-
participantMenuItemName: {
|
|
120
|
-
color: _theme.COLORS.TEXT.HIGH_EMPHASIS,
|
|
121
|
-
fontSize: 14,
|
|
122
|
-
lineHeight: 20,
|
|
123
|
-
letterSpacing: 0.1,
|
|
124
|
-
fontFamily: 'Inter-Medium',
|
|
125
|
-
textTransform: 'capitalize'
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
//# sourceMappingURL=ParticipantsFilter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactRedux","_Ionicons","_MaterialIcons","_MenuModal","_theme","obj","__esModule","default","ParticipantFilter","_ref","filter","setFilter","roles","useSelector","state","hmsStates","visible","setVisible","React","useState","hideMenu","showMenu","createElement","Menu","anchor","TouchableOpacity","style","styles","participantFilterContainer","onPress","Text","participantFilterText","numberOfLines","name","participantFilterIcon","size","onRequestClose","participantsMenuContainer","MenuItem","View","participantMenuItem","participantMenuItemIcon","participantMenuItemName","MenuDivider","color","COLORS","BORDER","LIGHT","map","knownRole","key","exports","StyleSheet","create","padding","flexDirection","alignItems","width","borderWidth","borderColor","borderRadius","TEXT","HIGH_EMPHASIS","fontFamily","fontSize","lineHeight","letterSpacing","marginRight","textTransform","position","right","backgroundColor","SURFACE","paddingLeft","Platform","OS","WHITE","paddingRight","height"],"sourceRoot":"../../../../src","sources":["components/Participants/ParticipantsFilter.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,cAAA,GAAAL,sBAAA,CAAAC,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAA2C,SAAAD,uBAAAQ,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAIpC,MAAMG,iBAAiB,GAAGC,IAAA,IAM3B;EAAA,IAN4B;IAChCC,MAAM;IACNC;EAIF,CAAC,GAAAF,IAAA;EACC,MAAMG,KAAK,GAAG,IAAAC,uBAAW,EAAEC,KAAgB,IAAKA,KAAK,CAACC,SAAS,CAACH,KAAK,CAAC;EAEtE,MAAM,CAACI,OAAO,EAAEC,UAAU,CAAC,GAAGC,cAAK,CAACC,QAAQ,CAAC,KAAK,CAAC;EAEnD,MAAMC,QAAQ,GAAGA,CAAA,KAAMH,UAAU,CAAC,KAAK,CAAC;EACxC,MAAMI,QAAQ,GAAGA,CAAA,KAAMJ,UAAU,CAAC,IAAI,CAAC;EAEvC,oBACErB,MAAA,CAAAW,OAAA,CAAAe,aAAA,CAACnB,UAAA,CAAAoB,IAAI;IACHP,OAAO,EAAEA,OAAQ;IACjBQ,MAAM,eACJ5B,MAAA,CAAAW,OAAA,CAAAe,aAAA,CAACvB,YAAA,CAAA0B,gBAAgB;MACfC,KAAK,EAAEC,MAAM,CAACC,0BAA2B;MACzCC,OAAO,EAAER;IAAS,gBAElBzB,MAAA,CAAAW,OAAA,CAAAe,aAAA,CA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
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.ParticipantsHeader = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theme = require("../../utils/theme");
|
|
10
|
-
var _ParticipantsFilter = require("./ParticipantsFilter");
|
|
11
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
const ParticipantsHeader = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
participantsCount,
|
|
16
|
-
filter,
|
|
17
|
-
setFilter
|
|
18
|
-
} = _ref;
|
|
19
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
20
|
-
style: styles.participantsHeaderContainer
|
|
21
|
-
}, /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
22
|
-
style: styles.participantsHeading
|
|
23
|
-
}, "Participants"), /*#__PURE__*/React.createElement(_ParticipantsFilter.ParticipantFilter, {
|
|
24
|
-
filter: filter,
|
|
25
|
-
setFilter: setFilter
|
|
26
|
-
}), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
27
|
-
style: styles.peerCountContainer
|
|
28
|
-
}, /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
29
|
-
style: styles.peerCount
|
|
30
|
-
}, participantsCount)));
|
|
31
|
-
};
|
|
32
|
-
exports.ParticipantsHeader = ParticipantsHeader;
|
|
33
|
-
const styles = _reactNative.StyleSheet.create({
|
|
34
|
-
participantsHeaderContainer: {
|
|
35
|
-
height: 48,
|
|
36
|
-
width: '80%',
|
|
37
|
-
marginBottom: 24,
|
|
38
|
-
flexDirection: 'row',
|
|
39
|
-
alignItems: 'center'
|
|
40
|
-
},
|
|
41
|
-
participantsHeading: {
|
|
42
|
-
fontFamily: 'Inter-Medium',
|
|
43
|
-
fontSize: 20,
|
|
44
|
-
lineHeight: 24,
|
|
45
|
-
letterSpacing: 0.15,
|
|
46
|
-
color: _theme.COLORS.TEXT.HIGH_EMPHASIS,
|
|
47
|
-
paddingRight: 12
|
|
48
|
-
},
|
|
49
|
-
peerCountContainer: {
|
|
50
|
-
alignItems: 'center',
|
|
51
|
-
justifyContent: 'center',
|
|
52
|
-
borderColor: _theme.COLORS.BORDER.ACCENT,
|
|
53
|
-
borderWidth: 2,
|
|
54
|
-
borderRadius: 30,
|
|
55
|
-
marginLeft: 12,
|
|
56
|
-
height: 30,
|
|
57
|
-
paddingHorizontal: 6
|
|
58
|
-
},
|
|
59
|
-
peerCount: {
|
|
60
|
-
fontFamily: 'Inter-Medium',
|
|
61
|
-
fontSize: 20,
|
|
62
|
-
lineHeight: 24,
|
|
63
|
-
letterSpacing: 0.15,
|
|
64
|
-
color: _theme.COLORS.TEXT.HIGH_EMPHASIS
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
//# sourceMappingURL=ParticipantsHeader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_theme","_ParticipantsFilter","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","ParticipantsHeader","_ref","participantsCount","filter","setFilter","createElement","View","style","styles","participantsHeaderContainer","Text","participantsHeading","ParticipantFilter","peerCountContainer","peerCount","exports","StyleSheet","create","height","width","marginBottom","flexDirection","alignItems","fontFamily","fontSize","lineHeight","letterSpacing","color","COLORS","TEXT","HIGH_EMPHASIS","paddingRight","justifyContent","borderColor","BORDER","ACCENT","borderWidth","borderRadius","marginLeft","paddingHorizontal"],"sourceRoot":"../../../../src","sources":["components/Participants/ParticipantsHeader.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AAAyD,SAAAI,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAN,wBAAAU,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA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AAC;EAC/BR,2BAA2B,EAAE;IAC3BS,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,KAAK;IACZC,YAAY,EAAE,EAAE;IAChBC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd,CAAC;EACDX,mBAAmB,EAAE;IACnBY,UAAU,EAAE,cAAc;IAC1BC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,IAAI;IACnBC,KAAK,EAAEC,aAAM,CAACC,IAAI,CAACC,aAAa;IAChCC,YAAY,EAAE;EAChB,CAAC;EACDlB,kBAAkB,EAAE;IAClBS,UAAU,EAAE,QAAQ;IACpBU,cAAc,EAAE,QAAQ;IACxBC,WAAW,EAAEL,aAAM,CAACM,MAAM,CAACC,MAAM;IACjCC,WAAW,EAAE,CAAC;IACdC,YAAY,EAAE,EAAE;IAChBC,UAAU,EAAE,EAAE;IACdpB,MAAM,EAAE,EAAE;IACVqB,iBAAiB,EAAE;EACrB,CAAC;EACDzB,SAAS,EAAE;IACTS,UAAU,EAAE,cAAc;IAC1BC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,IAAI;IACnBC,KAAK,EAAEC,aAAM,CAACC,IAAI,CAACC;EACrB;AACF,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_hooksUtil","_ParticipantsList","_ParticipantsSeachInput","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","SearchableParticipantsView","filteredParticipants","searchText","setSearchText","useFilteredParticipants","createElement","Fragment","ParticipantsSearchInput","ParticipantsList","data","exports"],"sourceRoot":"../../../../src","sources":["components/Participants/SearchableParticipantsView.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GA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AAoC,GAAGA,CAAA,KAAM;EACxD,MAAM;IAAEC,oBAAoB;IAAEC,UAAU;IAAEC;EAAc,CAAC,GACvD,IAAAC,kCAAuB,EAAC,CAAC;EAE3B,oBACEhC,KAAA,CAAAiC,aAAA,CAAAjC,KAAA,CAAAkC,QAAA,qBACElC,KAAA,CAAAiC,aAAA,CAAC5B,uBAAA,CAAA8B,uBAAuB;IACtBL,UAAU,EAAEA,UAAW;IACvBC,aAAa,EAAEA;EAAc,CAC9B,CAAC,eAEF/B,KAAA,CAAAiC,aAAA,CAAC7B,iBAAA,CAAAgC,gBAAgB;IAACC,IAAI,EAAER;EAAqB,CAAE,CAC/C,CAAC;AAEP,CAAC;AAACS,OAAA,CAAAV,0BAAA,GAAAA,0BAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_hooksUtil","_Participants","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","ParticipantsModal","_ref","selectedFilter","changeFilter","allParticipants","filteredParticipants","searchText","setSearchText","useFilteredParticipants","createElement","View","style","styles","participantContainer","ParticipantsHeader","filter","setFilter","participantsCount","length","ParticipantsSearchInput","ParticipantsList","data","exports","StyleSheet","create","height","width"],"sourceRoot":"../../../src","sources":["components/ParticipantsModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AAIwB,SAAAI,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gB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