@100mslive/react-native-room-kit 1.0.7 → 1.0.8
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/lib/commonjs/HMSRoomSetup.js +4 -1
- package/lib/commonjs/HMSRoomSetup.js.map +1 -1
- package/lib/commonjs/Icons/Chat/assets/chat-on.png +0 -0
- package/lib/commonjs/Icons/Chat/assets/chat-on@2x.png +0 -0
- package/lib/commonjs/Icons/Chat/assets/chat-on@3x.png +0 -0
- package/lib/commonjs/Icons/Chat/index.js +4 -3
- package/lib/commonjs/Icons/Chat/index.js.map +1 -1
- package/lib/commonjs/Icons/NoEntry/assets/no-entry.png +0 -0
- package/lib/commonjs/Icons/NoEntry/assets/no-entry@2x.png +0 -0
- package/lib/commonjs/Icons/NoEntry/assets/no-entry@3x.png +0 -0
- package/lib/commonjs/Icons/NoEntry/index.js +33 -0
- package/lib/commonjs/Icons/NoEntry/index.js.map +1 -0
- package/lib/commonjs/Icons/PauseCircle/assets/pause-circle.png +0 -0
- package/lib/commonjs/Icons/PauseCircle/assets/pause-circle@2x.png +0 -0
- package/lib/commonjs/Icons/PauseCircle/assets/pause-circle@3x.png +0 -0
- package/lib/commonjs/Icons/PauseCircle/index.js +29 -0
- package/lib/commonjs/Icons/PauseCircle/index.js.map +1 -0
- package/lib/commonjs/Icons/Pin/assets/unpin.png +0 -0
- package/lib/commonjs/Icons/Pin/assets/unpin@2x.png +0 -0
- package/lib/commonjs/Icons/Pin/assets/unpin@3x.png +0 -0
- package/lib/commonjs/Icons/Pin/index.js +2 -1
- package/lib/commonjs/Icons/Pin/index.js.map +1 -1
- package/lib/commonjs/Icons/Recording/assets/recording-pause.png +0 -0
- package/lib/commonjs/Icons/Recording/assets/recording-pause@2x.png +0 -0
- package/lib/commonjs/Icons/Recording/assets/recording-pause@3x.png +0 -0
- package/lib/commonjs/Icons/Recording/index.js.map +1 -1
- package/lib/commonjs/Icons/index.js +22 -0
- package/lib/commonjs/Icons/index.js.map +1 -1
- package/lib/commonjs/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterBottomSheet.js +36 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheet.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +90 -23
- package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterItem.js +10 -7
- package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatFilterView.js +54 -45
- package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatList.js +13 -6
- package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMessage.js +79 -7
- package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
- package/lib/commonjs/components/Chat/ChatMoreActionsModal.js +61 -0
- package/lib/commonjs/components/Chat/ChatMoreActionsModal.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatMoreActionsSheetView.js +63 -0
- package/lib/commonjs/components/Chat/ChatMoreActionsSheetView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatMoreActionsView.js +83 -0
- package/lib/commonjs/components/Chat/ChatMoreActionsView.js.map +1 -0
- package/lib/commonjs/components/Chat/ChatPaused.js +86 -0
- package/lib/commonjs/components/Chat/ChatPaused.js.map +1 -0
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheet.js +34 -0
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheet.js.map +1 -0
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheetView.js +66 -0
- package/lib/commonjs/components/Chat/MessageOptionsBottomSheetView.js.map +1 -0
- package/lib/commonjs/components/Chat/MessageOptionsView.js +188 -0
- package/lib/commonjs/components/Chat/MessageOptionsView.js.map +1 -0
- package/lib/commonjs/components/Chat/PeerBlockedFromChat.js +47 -0
- package/lib/commonjs/components/Chat/PeerBlockedFromChat.js.map +1 -0
- package/lib/commonjs/components/Chat/PinnedMessages.js +297 -0
- package/lib/commonjs/components/Chat/PinnedMessages.js.map +1 -0
- package/lib/commonjs/components/Chat/index.js +4 -4
- package/lib/commonjs/components/Chat/index.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +21 -2
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js +21 -2
- package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -1
- package/lib/commonjs/components/EndRoomModalContent.js +6 -9
- package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
- package/lib/commonjs/components/Footer.js.map +1 -1
- package/lib/commonjs/components/GridView.js.map +1 -1
- package/lib/commonjs/components/HLSView.js +8 -6
- package/lib/commonjs/components/HLSView.js.map +1 -1
- package/lib/commonjs/components/HMSBaseButton.js +10 -2
- package/lib/commonjs/components/HMSBaseButton.js.map +1 -1
- package/lib/commonjs/components/HMSDangerButton.js +4 -2
- package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessage.js +86 -1
- package/lib/commonjs/components/HMSHLSMessage.js.map +1 -1
- package/lib/commonjs/components/HMSHLSMessageList.js +2 -2
- package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -1
- package/lib/commonjs/components/HMSHandRaiseNotification.js +6 -3
- package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js +5 -1
- package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/commonjs/components/HMSLiveIndicator.js +2 -6
- package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSLiveViewerCount.js +8 -7
- package/lib/commonjs/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js +2 -1
- package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -1
- package/lib/commonjs/components/HMSNotification.js +31 -4
- package/lib/commonjs/components/HMSNotification.js.map +1 -1
- package/lib/commonjs/components/HMSNotifications.js +9 -2
- package/lib/commonjs/components/HMSNotifications.js.map +1 -1
- package/lib/commonjs/components/HMSOverlayChatView.js +44 -2
- package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +2 -6
- package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSPrimaryButton.js +4 -2
- package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
- package/lib/commonjs/components/HMSRecordingIndicator.js +11 -16
- package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
- package/lib/commonjs/components/HMSTerminalErrorNotification.js +6 -2
- package/lib/commonjs/components/HMSTerminalErrorNotification.js.map +1 -1
- package/lib/commonjs/components/Header.js.map +1 -1
- package/lib/commonjs/components/LeaveRoomBottomSheet.js +3 -6
- package/lib/commonjs/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/commonjs/components/Meeting.js +3 -0
- package/lib/commonjs/components/Meeting.js.map +1 -1
- package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
- package/lib/commonjs/components/Modals.js +9 -12
- package/lib/commonjs/components/Modals.js.map +1 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +5 -1
- package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/commonjs/components/Preview.js +14 -1
- package/lib/commonjs/components/Preview.js.map +1 -1
- package/lib/commonjs/components/PreviewForRoleChangeModal.js +5 -4
- package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalContent.js +15 -6
- package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +2 -4
- package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/commonjs/components/WebrtcView.js.map +1 -1
- package/lib/commonjs/hooks-sdk-selectors.js +16 -1
- package/lib/commonjs/hooks-sdk-selectors.js.map +1 -1
- package/lib/commonjs/hooks-sdk.js +27 -1
- package/lib/commonjs/hooks-sdk.js.map +1 -1
- package/lib/commonjs/hooks-util-selectors.js +3 -3
- package/lib/commonjs/hooks-util-selectors.js.map +1 -1
- package/lib/commonjs/hooks-util.js +408 -61
- package/lib/commonjs/hooks-util.js.map +1 -1
- package/lib/commonjs/redux/actionTypes.js +16 -3
- package/lib/commonjs/redux/actionTypes.js.map +1 -1
- package/lib/commonjs/redux/actions/index.js +44 -4
- package/lib/commonjs/redux/actions/index.js.map +1 -1
- package/lib/commonjs/redux/reducers/appState.js +41 -1
- package/lib/commonjs/redux/reducers/appState.js.map +1 -1
- package/lib/commonjs/redux/reducers/chatWindow.js +1 -2
- package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
- package/lib/commonjs/redux/reducers/message.js +17 -4
- package/lib/commonjs/redux/reducers/message.js.map +1 -1
- package/lib/commonjs/types.js +1 -0
- package/lib/commonjs/types.js.map +1 -1
- package/lib/commonjs/utils/types.js +3 -0
- package/lib/commonjs/utils/types.js.map +1 -1
- package/lib/commonjs/utils.js +2 -2
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/module/HMSRoomSetup.js +5 -2
- package/lib/module/HMSRoomSetup.js.map +1 -1
- package/lib/module/Icons/Chat/assets/chat-on.png +0 -0
- package/lib/module/Icons/Chat/assets/chat-on@2x.png +0 -0
- package/lib/module/Icons/Chat/assets/chat-on@3x.png +0 -0
- package/lib/module/Icons/Chat/index.js +4 -3
- package/lib/module/Icons/Chat/index.js.map +1 -1
- package/lib/module/Icons/NoEntry/assets/no-entry.png +0 -0
- package/lib/module/Icons/NoEntry/assets/no-entry@2x.png +0 -0
- package/lib/module/Icons/NoEntry/assets/no-entry@3x.png +0 -0
- package/lib/module/Icons/NoEntry/index.js +25 -0
- package/lib/module/Icons/NoEntry/index.js.map +1 -0
- package/lib/module/Icons/PauseCircle/assets/pause-circle.png +0 -0
- package/lib/module/Icons/PauseCircle/assets/pause-circle@2x.png +0 -0
- package/lib/module/Icons/PauseCircle/assets/pause-circle@3x.png +0 -0
- package/lib/module/Icons/PauseCircle/index.js +21 -0
- package/lib/module/Icons/PauseCircle/index.js.map +1 -0
- package/lib/module/Icons/Pin/assets/unpin.png +0 -0
- package/lib/module/Icons/Pin/assets/unpin@2x.png +0 -0
- package/lib/module/Icons/Pin/assets/unpin@3x.png +0 -0
- package/lib/module/Icons/Pin/index.js +2 -1
- package/lib/module/Icons/Pin/index.js.map +1 -1
- package/lib/module/Icons/Recording/assets/recording-pause.png +0 -0
- package/lib/module/Icons/Recording/assets/recording-pause@2x.png +0 -0
- package/lib/module/Icons/Recording/assets/recording-pause@3x.png +0 -0
- package/lib/module/Icons/Recording/index.js.map +1 -1
- package/lib/module/Icons/index.js +2 -0
- package/lib/module/Icons/index.js.map +1 -1
- package/lib/module/components/BottomSheet.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterBottomSheet.js +28 -0
- package/lib/module/components/Chat/ChatFilterBottomSheet.js.map +1 -0
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +93 -26
- package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterItem.js +11 -8
- package/lib/module/components/Chat/ChatFilterItem.js.map +1 -1
- package/lib/module/components/Chat/ChatFilterView.js +55 -46
- package/lib/module/components/Chat/ChatFilterView.js.map +1 -1
- package/lib/module/components/Chat/ChatList.js +14 -7
- package/lib/module/components/Chat/ChatList.js.map +1 -1
- package/lib/module/components/Chat/ChatMessage.js +81 -9
- package/lib/module/components/Chat/ChatMessage.js.map +1 -1
- package/lib/module/components/Chat/ChatMoreActionsModal.js +53 -0
- package/lib/module/components/Chat/ChatMoreActionsModal.js.map +1 -0
- package/lib/module/components/Chat/ChatMoreActionsSheetView.js +55 -0
- package/lib/module/components/Chat/ChatMoreActionsSheetView.js.map +1 -0
- package/lib/module/components/Chat/ChatMoreActionsView.js +75 -0
- package/lib/module/components/Chat/ChatMoreActionsView.js.map +1 -0
- package/lib/module/components/Chat/ChatPaused.js +77 -0
- package/lib/module/components/Chat/ChatPaused.js.map +1 -0
- package/lib/module/components/Chat/MessageOptionsBottomSheet.js +26 -0
- package/lib/module/components/Chat/MessageOptionsBottomSheet.js.map +1 -0
- package/lib/module/components/Chat/MessageOptionsBottomSheetView.js +58 -0
- package/lib/module/components/Chat/MessageOptionsBottomSheetView.js.map +1 -0
- package/lib/module/components/Chat/MessageOptionsView.js +180 -0
- package/lib/module/components/Chat/MessageOptionsView.js.map +1 -0
- package/lib/module/components/Chat/PeerBlockedFromChat.js +38 -0
- package/lib/module/components/Chat/PeerBlockedFromChat.js.map +1 -0
- package/lib/module/components/Chat/PinnedMessages.js +288 -0
- package/lib/module/components/Chat/PinnedMessages.js.map +1 -0
- package/lib/module/components/Chat/index.js +1 -1
- package/lib/module/components/Chat/index.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +24 -5
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +3 -1
- package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -1
- package/lib/module/components/ChatAndParticipants/ChatView.js +22 -3
- package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -1
- package/lib/module/components/EndRoomModalContent.js +6 -9
- package/lib/module/components/EndRoomModalContent.js.map +1 -1
- package/lib/module/components/Footer.js.map +1 -1
- package/lib/module/components/GridView.js.map +1 -1
- package/lib/module/components/HLSView.js +9 -7
- package/lib/module/components/HLSView.js.map +1 -1
- package/lib/module/components/HMSBaseButton.js +10 -2
- package/lib/module/components/HMSBaseButton.js.map +1 -1
- package/lib/module/components/HMSDangerButton.js +4 -2
- package/lib/module/components/HMSDangerButton.js.map +1 -1
- package/lib/module/components/HMSHLSMessage.js +88 -3
- package/lib/module/components/HMSHLSMessage.js.map +1 -1
- package/lib/module/components/HMSHLSMessageList.js +2 -2
- package/lib/module/components/HMSHLSMessageList.js.map +1 -1
- package/lib/module/components/HMSHandRaiseNotification.js +6 -3
- package/lib/module/components/HMSHandRaiseNotification.js.map +1 -1
- package/lib/module/components/HMSKeyboardAvoidingView.js +6 -2
- package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -1
- package/lib/module/components/HMSLiveIndicator.js +2 -6
- package/lib/module/components/HMSLiveIndicator.js.map +1 -1
- package/lib/module/components/HMSLiveViewerCount.js +8 -7
- package/lib/module/components/HMSLiveViewerCount.js.map +1 -1
- package/lib/module/components/HMSLocalScreenshareNotification.js +2 -1
- package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -1
- package/lib/module/components/HMSNotification.js +32 -5
- package/lib/module/components/HMSNotification.js.map +1 -1
- package/lib/module/components/HMSNotifications.js +9 -2
- package/lib/module/components/HMSNotifications.js.map +1 -1
- package/lib/module/components/HMSOverlayChatView.js +45 -3
- package/lib/module/components/HMSOverlayChatView.js.map +1 -1
- package/lib/module/components/HMSPreviewEditName.js.map +1 -1
- package/lib/module/components/HMSPreviewHLSLiveIndicator.js +2 -6
- package/lib/module/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
- package/lib/module/components/HMSPrimaryButton.js +4 -2
- package/lib/module/components/HMSPrimaryButton.js.map +1 -1
- package/lib/module/components/HMSRecordingIndicator.js +11 -16
- package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
- package/lib/module/components/HMSRoomOptions.js.map +1 -1
- package/lib/module/components/HMSTerminalErrorNotification.js +6 -2
- package/lib/module/components/HMSTerminalErrorNotification.js.map +1 -1
- package/lib/module/components/Header.js.map +1 -1
- package/lib/module/components/LeaveRoomBottomSheet.js +3 -6
- package/lib/module/components/LeaveRoomBottomSheet.js.map +1 -1
- package/lib/module/components/Meeting.js +4 -1
- package/lib/module/components/Meeting.js.map +1 -1
- package/lib/module/components/MeetingScreenContent.js.map +1 -1
- package/lib/module/components/Modals.js +10 -13
- package/lib/module/components/Modals.js.map +1 -1
- package/lib/module/components/Participants/ParticipantsItemOptions.js +5 -1
- package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -1
- package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
- package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
- package/lib/module/components/Preview.js +13 -2
- package/lib/module/components/Preview.js.map +1 -1
- package/lib/module/components/PreviewForRoleChangeModal.js +5 -4
- package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -1
- package/lib/module/components/RoomSettingsModalContent.js +16 -7
- package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
- package/lib/module/components/RoomSettingsModalDebugModeContent.js +3 -5
- package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
- package/lib/module/components/WebrtcView.js.map +1 -1
- package/lib/module/hooks-sdk-selectors.js +12 -0
- package/lib/module/hooks-sdk-selectors.js.map +1 -1
- package/lib/module/hooks-sdk.js +23 -1
- package/lib/module/hooks-sdk.js.map +1 -1
- package/lib/module/hooks-util-selectors.js +3 -3
- package/lib/module/hooks-util-selectors.js.map +1 -1
- package/lib/module/hooks-util.js +398 -62
- package/lib/module/hooks-util.js.map +1 -1
- package/lib/module/redux/actionTypes.js +16 -3
- package/lib/module/redux/actionTypes.js.map +1 -1
- package/lib/module/redux/actions/index.js +36 -2
- package/lib/module/redux/actions/index.js.map +1 -1
- package/lib/module/redux/reducers/appState.js +41 -1
- package/lib/module/redux/reducers/appState.js.map +1 -1
- package/lib/module/redux/reducers/chatWindow.js +1 -2
- package/lib/module/redux/reducers/chatWindow.js.map +1 -1
- package/lib/module/redux/reducers/message.js +17 -4
- package/lib/module/redux/reducers/message.js.map +1 -1
- package/lib/module/types.js +1 -0
- package/lib/module/types.js.map +1 -1
- package/lib/module/utils/types.js +3 -0
- package/lib/module/utils/types.js.map +1 -1
- package/lib/module/utils.js +2 -2
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
- package/lib/typescript/Icons/Chat/index.d.ts +1 -0
- package/lib/typescript/Icons/Chat/index.d.ts.map +1 -1
- package/lib/typescript/Icons/NoEntry/index.d.ts +7 -0
- package/lib/typescript/Icons/NoEntry/index.d.ts.map +1 -0
- package/lib/typescript/Icons/PauseCircle/index.d.ts +7 -0
- package/lib/typescript/Icons/PauseCircle/index.d.ts.map +1 -0
- package/lib/typescript/Icons/Pin/index.d.ts +1 -0
- package/lib/typescript/Icons/Pin/index.d.ts.map +1 -1
- package/lib/typescript/Icons/index.d.ts +2 -0
- package/lib/typescript/Icons/index.d.ts.map +1 -1
- package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterBottomSheet.d.ts +3 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheet.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +1 -0
- package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts +1 -0
- package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatFilterView.d.ts +1 -0
- package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
- package/lib/typescript/components/Chat/ChatMoreActionsModal.d.ts +7 -0
- package/lib/typescript/components/Chat/ChatMoreActionsModal.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatMoreActionsSheetView.d.ts +6 -0
- package/lib/typescript/components/Chat/ChatMoreActionsSheetView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatMoreActionsView.d.ts +7 -0
- package/lib/typescript/components/Chat/ChatMoreActionsView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/ChatPaused.d.ts +10 -0
- package/lib/typescript/components/Chat/ChatPaused.d.ts.map +1 -0
- package/lib/typescript/components/Chat/MessageOptionsBottomSheet.d.ts +3 -0
- package/lib/typescript/components/Chat/MessageOptionsBottomSheet.d.ts.map +1 -0
- package/lib/typescript/components/Chat/MessageOptionsBottomSheetView.d.ts +6 -0
- package/lib/typescript/components/Chat/MessageOptionsBottomSheetView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/MessageOptionsView.d.ts +7 -0
- package/lib/typescript/components/Chat/MessageOptionsView.d.ts.map +1 -0
- package/lib/typescript/components/Chat/PeerBlockedFromChat.d.ts +9 -0
- package/lib/typescript/components/Chat/PeerBlockedFromChat.d.ts.map +1 -0
- package/lib/typescript/components/Chat/PinnedMessages.d.ts +8 -0
- package/lib/typescript/components/Chat/PinnedMessages.d.ts.map +1 -0
- package/lib/typescript/components/Chat/index.d.ts +1 -1
- package/lib/typescript/components/Chat/index.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -1
- package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -1
- package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
- package/lib/typescript/components/Footer.d.ts.map +1 -1
- package/lib/typescript/components/GridView.d.ts.map +1 -1
- package/lib/typescript/components/HMSBaseButton.d.ts +1 -0
- package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSDangerButton.d.ts +1 -0
- package/lib/typescript/components/HMSDangerButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSHLSMessage.d.ts +1 -1
- package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -1
- package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSLiveViewerCount.d.ts.map +1 -1
- package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotification.d.ts +2 -1
- package/lib/typescript/components/HMSNotification.d.ts.map +1 -1
- package/lib/typescript/components/HMSNotifications.d.ts.map +1 -1
- package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewEditName.d.ts.map +1 -1
- package/lib/typescript/components/HMSPreviewHLSLiveIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSPrimaryButton.d.ts +1 -0
- package/lib/typescript/components/HMSPrimaryButton.d.ts.map +1 -1
- package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
- package/lib/typescript/components/HMSRoomOptions.d.ts.map +1 -1
- package/lib/typescript/components/HMSTerminalErrorNotification.d.ts.map +1 -1
- package/lib/typescript/components/Header.d.ts.map +1 -1
- package/lib/typescript/components/LeaveRoomBottomSheet.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/Modals.d.ts.map +1 -1
- package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -1
- package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
- package/lib/typescript/components/Preview.d.ts.map +1 -1
- package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
- package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
- package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
- package/lib/typescript/hooks-sdk-selectors.d.ts +3 -0
- package/lib/typescript/hooks-sdk-selectors.d.ts.map +1 -1
- package/lib/typescript/hooks-sdk.d.ts +4 -0
- package/lib/typescript/hooks-sdk.d.ts.map +1 -1
- package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
- package/lib/typescript/hooks-util.d.ts +35 -3
- package/lib/typescript/hooks-util.d.ts.map +1 -1
- package/lib/typescript/redux/actionTypes.d.ts +9 -2
- package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
- package/lib/typescript/redux/actions/index.d.ts +37 -3
- package/lib/typescript/redux/actions/index.d.ts.map +1 -1
- package/lib/typescript/redux/index.d.ts +7 -2
- package/lib/typescript/redux/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/appState.d.ts +7 -2
- package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/chatWindow.d.ts +1 -1
- package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/index.d.ts +7 -2
- package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
- package/lib/typescript/redux/reducers/message.d.ts +3 -2
- package/lib/typescript/redux/reducers/message.d.ts.map +1 -1
- package/lib/typescript/types.d.ts +23 -3
- package/lib/typescript/types.d.ts.map +1 -1
- package/lib/typescript/utils/types.d.ts +3 -0
- package/lib/typescript/utils/types.d.ts.map +1 -1
- package/package.json +179 -179
- package/src/HMSRoomSetup.tsx +7 -2
- package/src/Icons/Chat/assets/chat-on.png +0 -0
- package/src/Icons/Chat/assets/chat-on@2x.png +0 -0
- package/src/Icons/Chat/assets/chat-on@3x.png +0 -0
- package/src/Icons/Chat/index.tsx +19 -6
- package/src/Icons/NoEntry/assets/no-entry.png +0 -0
- package/src/Icons/NoEntry/assets/no-entry@2x.png +0 -0
- package/src/Icons/NoEntry/assets/no-entry@3x.png +0 -0
- package/src/Icons/NoEntry/index.tsx +33 -0
- package/src/Icons/PauseCircle/assets/pause-circle.png +0 -0
- package/src/Icons/PauseCircle/assets/pause-circle@2x.png +0 -0
- package/src/Icons/PauseCircle/assets/pause-circle@3x.png +0 -0
- package/src/Icons/PauseCircle/index.tsx +27 -0
- package/src/Icons/Pin/assets/unpin.png +0 -0
- package/src/Icons/Pin/assets/unpin@2x.png +0 -0
- package/src/Icons/Pin/assets/unpin@3x.png +0 -0
- package/src/Icons/Pin/index.tsx +13 -3
- package/src/Icons/Recording/assets/recording-pause.png +0 -0
- package/src/Icons/Recording/assets/recording-pause@2x.png +0 -0
- package/src/Icons/Recording/assets/recording-pause@3x.png +0 -0
- package/src/Icons/Recording/index.tsx +2 -2
- package/src/Icons/index.ts +2 -0
- package/src/components/BottomSheet.tsx +13 -3
- package/src/components/Chat/ChatFilterBottomSheet.tsx +35 -0
- package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +170 -42
- package/src/components/Chat/ChatFilterItem.tsx +8 -4
- package/src/components/Chat/ChatFilterView.tsx +102 -75
- package/src/components/Chat/ChatList.tsx +18 -6
- package/src/components/Chat/ChatMessage.tsx +111 -7
- package/src/components/Chat/ChatMoreActionsModal.tsx +75 -0
- package/src/components/Chat/ChatMoreActionsSheetView.tsx +77 -0
- package/src/components/Chat/ChatMoreActionsView.tsx +84 -0
- package/src/components/Chat/ChatPaused.tsx +103 -0
- package/src/components/Chat/MessageOptionsBottomSheet.tsx +33 -0
- package/src/components/Chat/MessageOptionsBottomSheetView.tsx +82 -0
- package/src/components/Chat/MessageOptionsView.tsx +248 -0
- package/src/components/Chat/PeerBlockedFromChat.tsx +49 -0
- package/src/components/Chat/PinnedMessages.tsx +422 -0
- package/src/components/Chat/index.ts +1 -1
- package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +4 -1
- package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +48 -12
- package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +9 -1
- package/src/components/ChatAndParticipants/ChatView.tsx +37 -5
- package/src/components/EndRoomModalContent.tsx +11 -14
- package/src/components/Footer.tsx +3 -1
- package/src/components/GridView.tsx +17 -8
- package/src/components/HLSView.tsx +45 -45
- package/src/components/HMSBaseButton.tsx +17 -2
- package/src/components/HMSDangerButton.tsx +3 -0
- package/src/components/HMSHLSMessage.tsx +130 -13
- package/src/components/HMSHLSMessageList.tsx +2 -2
- package/src/components/HMSHandRaiseNotification.tsx +17 -10
- package/src/components/HMSKeyboardAvoidingView.tsx +6 -1
- package/src/components/HMSLiveIndicator.tsx +9 -13
- package/src/components/HMSLiveViewerCount.tsx +21 -20
- package/src/components/HMSLocalScreenshareNotification.tsx +1 -0
- package/src/components/HMSNotification.tsx +56 -13
- package/src/components/HMSNotifications.tsx +12 -2
- package/src/components/HMSOverlayChatView.tsx +74 -17
- package/src/components/HMSPreviewEditName.tsx +3 -1
- package/src/components/HMSPreviewHLSLiveIndicator.tsx +2 -6
- package/src/components/HMSPrimaryButton.tsx +3 -0
- package/src/components/HMSRecordingIndicator.tsx +8 -22
- package/src/components/HMSRoomOptions.tsx +4 -1
- package/src/components/HMSTerminalErrorNotification.tsx +15 -10
- package/src/components/Header.tsx +4 -1
- package/src/components/LeaveRoomBottomSheet.tsx +13 -11
- package/src/components/Meeting.tsx +4 -0
- package/src/components/MeetingScreenContent.tsx +24 -21
- package/src/components/Modals.tsx +23 -25
- package/src/components/Participants/ParticipantsItemOptions.tsx +12 -7
- package/src/components/PeerSettingsModalContent.tsx +3 -1
- package/src/components/PeerVideoTile/PeerVideoTileView.tsx +3 -1
- package/src/components/Preview.tsx +15 -2
- package/src/components/PreviewForRoleChangeModal.tsx +4 -3
- package/src/components/RoomSettingsModalContent.tsx +62 -18
- package/src/components/RoomSettingsModalDebugModeContent.tsx +2 -5
- package/src/components/WebrtcView.tsx +6 -2
- package/src/hooks-sdk-selectors.tsx +19 -0
- package/src/hooks-sdk.ts +37 -0
- package/src/hooks-util-selectors.tsx +2 -3
- package/src/hooks-util.ts +578 -87
- package/src/redux/actionTypes.ts +22 -2
- package/src/redux/actions/index.ts +41 -4
- package/src/redux/reducers/appState.ts +54 -5
- package/src/redux/reducers/chatWindow.ts +2 -2
- package/src/redux/reducers/message.ts +20 -6
- package/src/types.ts +35 -6
- package/src/utils/types.ts +3 -0
- package/src/utils.ts +2 -2
- package/lib/commonjs/components/Chat/PinnedMessage.js +0 -81
- package/lib/commonjs/components/Chat/PinnedMessage.js.map +0 -1
- package/lib/module/components/Chat/PinnedMessage.js +0 -72
- package/lib/module/components/Chat/PinnedMessage.js.map +0 -1
- package/lib/typescript/components/Chat/PinnedMessage.d.ts +0 -3
- package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +0 -1
- package/src/components/Chat/PinnedMessage.tsx +0 -89
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","StyleSheet","useHMSRoomStyle","RecordingIcon","style","type","restProps","iconStyles","theme","tintColor","palette","on_surface_high","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Recording/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAGhD,SAASC,eAAe,QAAQ,kBAAkB;AAMlD,OAAO,MAAMC,aAA2C,GAAGA,CAAC;EAC1DC,KAAK;EACLC,IAAI,GAAG,IAAI;EACX,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,UAAU,GAAGL,eAAe,CAAEM,KAAK,KAAM;IAC7CC,SAAS,EAAED,KAAK,CAACE,OAAO,CAACC;EAC3B,CAAC,CAAC,CAAC;EAEH,oBACEZ,KAAA,CAAAa,aAAA,CAACZ,KAAK,EAAAa,QAAA;IACJC,MAAM,EACJT,IAAI,KAAK,IAAI,GACTU,OAAO,CAAC,wBAAwB,CAAC,GACjCV,IAAI,KAAK,OAAO,
|
|
1
|
+
{"version":3,"names":["React","Image","StyleSheet","useHMSRoomStyle","RecordingIcon","style","type","restProps","iconStyles","theme","tintColor","palette","on_surface_high","createElement","_extends","source","require","styles","icon","create","width","height","alignItems","justifyContent"],"sourceRoot":"../../../../src","sources":["Icons/Recording/index.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,KAAK,EAAEC,UAAU,QAAQ,cAAc;AAGhD,SAASC,eAAe,QAAQ,kBAAkB;AAMlD,OAAO,MAAMC,aAA2C,GAAGA,CAAC;EAC1DC,KAAK;EACLC,IAAI,GAAG,IAAI;EACX,GAAGC;AACL,CAAC,KAAK;EACJ,MAAMC,UAAU,GAAGL,eAAe,CAAEM,KAAK,KAAM;IAC7CC,SAAS,EAAED,KAAK,CAACE,OAAO,CAACC;EAC3B,CAAC,CAAC,CAAC;EAEH,oBACEZ,KAAA,CAAAa,aAAA,CAACZ,KAAK,EAAAa,QAAA;IACJC,MAAM,EACJT,IAAI,KAAK,IAAI,GACTU,OAAO,CAAC,wBAAwB,CAAC,GACjCV,IAAI,KAAK,OAAO,GACdU,OAAO,CAAC,8BAA8B,CAAC,GACvCA,OAAO,CAAC,4BAA4B,CAC3C;IACDX,KAAK,EAAE,CAACY,MAAM,CAACC,IAAI,EAAEV,UAAU,EAAEH,KAAK;EAAE,GACpCE,SAAS,CACd,CAAC;AAEN,CAAC;AAED,MAAMU,MAAM,GAAGf,UAAU,CAACiB,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["Icons/index.ts"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,OAAO;AACrB,cAAc,gBAAgB;AAC9B,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,QAAQ;AACtB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,OAAO;AACrB,cAAc,YAAY;AAC1B,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,OAAO;AACrB,cAAc,UAAU;AACxB,cAAc,aAAa;AAC3B,cAAc,iBAAiB;AAC/B,cAAc,aAAa;AAC3B,cAAc,QAAQ;AACtB,cAAc,OAAO;AACrB,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe"}
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["Icons/index.ts"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,OAAO;AACrB,cAAc,gBAAgB;AAC9B,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,OAAO;AACrB,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,QAAQ;AACtB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,OAAO;AACrB,cAAc,YAAY;AAC1B,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,OAAO;AACrB,cAAc,UAAU;AACxB,cAAc,aAAa;AAC3B,cAAc,iBAAiB;AAC/B,cAAc,aAAa;AAC3B,cAAc,QAAQ;AACtB,cAAc,OAAO;AACrB,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,WAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Modal","KeyboardAvoidingView","Platform","StyleSheet","Text","TouchableOpacity","View","CloseIcon","useHMSRoomColorPalette","useHMSRoomStyle","useHMSRoomStyleSheet","useIsLandscapeOrientation","BottomSheet","dismissModal","fullWidth","style","children","containerStyle","bottomOffsetSpace","resetProps","background_dim","backgroundDimColor","containerStyles","theme","backgroundColor","palette","background_default","handleModalHideAction","useBottomSheetActionHandlers","isLandscapeOrientation","Container","avoidKeyboard","OS","createElement","_extends","animationIn","animationOut","backdropColor","backdropOpacity","onBackButtonPress","onBackdropPress","useNativeDriver","useNativeDriverForBackdrop","hideModalContentWhileAnimating","styles","modal","onModalHide","supportedOrientations","statusBarTranslucent","behavior","landscapeContainer","container","height","width","BottomSheetHeader","heading","subheading","headingTestID","subheadingTestID","closeIconTestID","hmsRoomStyles","typography","headerText","color","on_surface_high","fontFamily","font_family","subheadingText","on_surface_medium","header","testID","onPress","hitSlop","closeIconHitSlop","BottomSheetDivider","dividerStyles","border_default","divider","Header","Divider","onModalHideActionHandlerRef","handler","onModalHideActionRef","useRef","useCallback","current","useBottomSheetActions","registerOnModalHideAction","action","clearOnModalHideAction","create","margin","justifyContent","borderTopLeftRadius","borderTopRightRadius","borderRadius","alignSelf","marginBottom","flexDirection","alignItems","marginTop","marginHorizontal","fontSize","lineHeight","letterSpacing","bottom","left","right","top","marginVertical"],"sourceRoot":"../../../src","sources":["components/BottomSheet.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,KAAK,MAAM,oBAAoB;AAEtC,
|
|
1
|
+
{"version":3,"names":["React","Modal","KeyboardAvoidingView","Platform","StyleSheet","Text","TouchableOpacity","View","CloseIcon","useHMSRoomColorPalette","useHMSRoomStyle","useHMSRoomStyleSheet","useIsLandscapeOrientation","BottomSheet","dismissModal","fullWidth","style","children","containerStyle","bottomOffsetSpace","resetProps","background_dim","backgroundDimColor","containerStyles","theme","backgroundColor","palette","background_default","handleModalHideAction","useBottomSheetActionHandlers","isLandscapeOrientation","Container","avoidKeyboard","OS","createElement","_extends","animationIn","animationOut","backdropColor","backdropOpacity","onBackButtonPress","onBackdropPress","useNativeDriver","useNativeDriverForBackdrop","hideModalContentWhileAnimating","styles","modal","onModalHide","supportedOrientations","statusBarTranslucent","behavior","landscapeContainer","container","height","width","BottomSheetHeader","heading","subheading","headingTestID","subheadingTestID","closeIconTestID","hmsRoomStyles","typography","headerText","color","on_surface_high","fontFamily","font_family","subheadingText","on_surface_medium","header","testID","onPress","hitSlop","closeIconHitSlop","BottomSheetDivider","dividerStyles","border_default","divider","Header","Divider","onModalHideActionHandlerRef","handler","onModalHideActionRef","useRef","useCallback","current","useBottomSheetActions","registerOnModalHideAction","action","clearOnModalHideAction","create","margin","justifyContent","borderTopLeftRadius","borderTopRightRadius","borderRadius","alignSelf","marginBottom","flexDirection","alignItems","marginTop","marginHorizontal","fontSize","lineHeight","letterSpacing","bottom","left","right","top","marginVertical"],"sourceRoot":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EACD5C,kBAAkB,EAAE;IAClB6C,YAAY,EAAE,EAAE;IAChB1C,KAAK,EAAE,KAAK;IACZ2C,SAAS,EAAE,QAAQ;IACnBC,YAAY,EAAE;EAChB,CAAC;EACD5B,MAAM,EAAE;IACN6B,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBP,cAAc,EAAE,eAAe;IAC/BQ,SAAS,EAAE,EAAE;IACbC,gBAAgB,EAAE;EACpB,CAAC;EACDvC,UAAU,EAAE;IACVwC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE;EACjB,CAAC;EACDrC,cAAc,EAAE;IACdiC,SAAS,EAAE,CAAC;IACZE,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE;EACjB,CAAC;EACD/B,gBAAgB,EAAE;IAChBgC,MAAM,EAAE,EAAE;IACVC,IAAI,EAAE,EAAE;IACRC,KAAK,EAAE,EAAE;IACTC,GAAG,EAAE;EACP,CAAC;EACD/B,OAAO,EAAE;IACPzB,MAAM,EAAE,CAAC;IACTC,KAAK,EAAE,MAAM;IACbwD,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BottomSheet } from '../BottomSheet';
|
|
3
|
+
import { useHMSRoomStyleSheet, useModalType } from '../../hooks-util';
|
|
4
|
+
import { ModalTypes } from '../../utils/types';
|
|
5
|
+
import { ChatFilterView } from './ChatFilterView';
|
|
6
|
+
const _ChatFilterBottomSheet = () => {
|
|
7
|
+
const {
|
|
8
|
+
modalVisibleType,
|
|
9
|
+
handleModalVisibleType
|
|
10
|
+
} = useModalType();
|
|
11
|
+
const hmsRoomStyles = useHMSRoomStyleSheet(theme => ({
|
|
12
|
+
contentContainer: {
|
|
13
|
+
flex: 0.7,
|
|
14
|
+
backgroundColor: theme.palette.surface_default
|
|
15
|
+
}
|
|
16
|
+
}));
|
|
17
|
+
const dismissModal = React.useCallback(() => handleModalVisibleType(ModalTypes.DEFAULT), [handleModalVisibleType]);
|
|
18
|
+
return /*#__PURE__*/React.createElement(BottomSheet, {
|
|
19
|
+
dismissModal: dismissModal,
|
|
20
|
+
isVisible: modalVisibleType === ModalTypes.CHAT_FILTER,
|
|
21
|
+
animationOutTiming: 400,
|
|
22
|
+
containerStyle: hmsRoomStyles.contentContainer
|
|
23
|
+
}, /*#__PURE__*/React.createElement(ChatFilterView, {
|
|
24
|
+
onDismiss: dismissModal
|
|
25
|
+
}));
|
|
26
|
+
};
|
|
27
|
+
export const ChatFilterBottomSheet = /*#__PURE__*/React.memo(_ChatFilterBottomSheet);
|
|
28
|
+
//# sourceMappingURL=ChatFilterBottomSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","BottomSheet","useHMSRoomStyleSheet","useModalType","ModalTypes","ChatFilterView","_ChatFilterBottomSheet","modalVisibleType","handleModalVisibleType","hmsRoomStyles","theme","contentContainer","flex","backgroundColor","palette","surface_default","dismissModal","useCallback","DEFAULT","createElement","isVisible","CHAT_FILTER","animationOutTiming","containerStyle","onDismiss","ChatFilterBottomSheet","memo"],"sourceRoot":"../../../../src","sources":["components/Chat/ChatFilterBottomSheet.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,oBAAoB,EAAEC,YAAY,QAAQ,kBAAkB;AACrE,SAASC,UAAU,QAAQ,mBAAmB;AAC9C,SAASC,cAAc,QAAQ,kBAAkB;AAEjD,MAAMC,sBAAsB,GAAGA,CAAA,KAAM;EACnC,MAAM;IAAEC,gBAAgB;IAAEC;EAAuB,CAAC,GAAGL,YAAY,CAAC,CAAC;EAEnE,MAAMM,aAAa,GAAGP,oBAAoB,CAAEQ,KAAK,KAAM;IACrDC,gBAAgB,EAAE;MAChBC,IAAI,EAAE,GAAG;MACTC,eAAe,EAAEH,KAAK,CAACI,OAAO,CAACC;IACjC;EACF,CAAC,CAAC,CAAC;EAEH,MAAMC,YAAY,GAAGhB,KAAK,CAACiB,WAAW,CACpC,MAAMT,sBAAsB,CAACJ,UAAU,CAACc,OAAO,CAAC,EAChD,CAACV,sBAAsB,CACzB,CAAC;EAED,oBACER,KAAA,CAAAmB,aAAA,CAAClB,WAAW;IACVe,YAAY,EAAEA,YAAa;IAC3BI,SAAS,EAAEb,gBAAgB,KAAKH,UAAU,CAACiB,WAAY;IACvDC,kBAAkB,EAAE,GAAI;IACxBC,cAAc,EAAEd,aAAa,CAACE;EAAiB,gBAE/CX,KAAA,CAAAmB,aAAA,CAACd,cAAc;IAACmB,SAAS,EAAER;EAAa,CAAE,CAC/B,CAAC;AAElB,CAAC;AAED,OAAO,MAAMS,qBAAqB,gBAAGzB,KAAK,CAAC0B,IAAI,CAACpB,sBAAsB,CAAC"}
|
|
@@ -1,73 +1,140 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { useDispatch, useSelector } from 'react-redux';
|
|
3
3
|
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
4
|
+
import { GestureDetector, Gesture } from 'react-native-gesture-handler';
|
|
5
|
+
import { ChevronIcon, ParticipantsIcon, PersonIcon, SearchIcon, ThreeDotsIcon } from '../../Icons';
|
|
6
|
+
import { useHMSCanDisableChat, useHMSChatRecipientSelector, useHMSRoomStyleSheet, useIsAllowedToSendMessage, useIsLocalPeerBlockedFromChat, useModalType } from '../../hooks-util';
|
|
7
|
+
import { setChatFilterSheetVisible, setChatMoreActionsSheetVisible } from '../../redux/actions';
|
|
8
|
+
import { PressableIcon } from '../PressableIcon';
|
|
9
|
+
import { ChatBroadcastFilter, ModalTypes } from '../../utils/types';
|
|
10
|
+
import { hexToRgbA } from '../../utils/theme';
|
|
11
|
+
const _ChatFilterBottomSheetOpener = ({
|
|
12
|
+
insetMode = false
|
|
13
|
+
}) => {
|
|
8
14
|
const dispatch = useDispatch();
|
|
9
|
-
const
|
|
15
|
+
const canDisableChat = useHMSCanDisableChat();
|
|
16
|
+
const chatRecipients = useHMSChatRecipientSelector();
|
|
17
|
+
const allowedToSendMessage = useIsAllowedToSendMessage();
|
|
18
|
+
const isLocalPeerBlockedFromChat = useIsLocalPeerBlockedFromChat();
|
|
19
|
+
const selectedChatRecipient = useSelector(state => state.chatWindow.sendTo);
|
|
20
|
+
const {
|
|
21
|
+
handleModalVisibleType
|
|
22
|
+
} = useModalType();
|
|
10
23
|
const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({
|
|
11
24
|
label: {
|
|
12
25
|
color: theme.palette.on_surface_medium,
|
|
13
|
-
fontFamily: `${typography.font_family}-
|
|
26
|
+
fontFamily: `${typography.font_family}-Regular`
|
|
14
27
|
},
|
|
15
28
|
button: {
|
|
16
|
-
|
|
29
|
+
backgroundColor: insetMode ? theme.palette.background_dim && hexToRgbA(theme.palette.background_dim, 0.64) : theme.palette.primary_default
|
|
17
30
|
},
|
|
18
31
|
buttonText: {
|
|
19
32
|
color: theme.palette.on_surface_high,
|
|
20
|
-
fontFamily: `${typography.font_family}-
|
|
33
|
+
fontFamily: `${typography.font_family}-Regular`
|
|
34
|
+
},
|
|
35
|
+
moreAction: {
|
|
36
|
+
backgroundColor: theme.palette.background_dim && hexToRgbA(theme.palette.background_dim, 0.64)
|
|
37
|
+
},
|
|
38
|
+
moreActionIcon: {
|
|
39
|
+
tintColor: insetMode ? theme.palette.on_surface_low : theme.palette.on_surface_medium
|
|
21
40
|
}
|
|
22
|
-
}));
|
|
41
|
+
}), [insetMode]);
|
|
23
42
|
const openChatFiltersSheet = () => {
|
|
24
|
-
|
|
43
|
+
if (insetMode) {
|
|
44
|
+
handleModalVisibleType(ModalTypes.CHAT_FILTER);
|
|
45
|
+
} else {
|
|
46
|
+
dispatch(setChatFilterSheetVisible(true));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const openChatMoreActionsSheet = () => {
|
|
50
|
+
if (insetMode) {
|
|
51
|
+
handleModalVisibleType(ModalTypes.CHAT_MORE_ACTIONS);
|
|
52
|
+
} else {
|
|
53
|
+
dispatch(setChatMoreActionsSheetVisible(true));
|
|
54
|
+
}
|
|
25
55
|
};
|
|
56
|
+
const filterSheetDisabled = !chatRecipients.privateChat && (
|
|
57
|
+
// filter Sheet can't be diabled when privateChat is 'on'
|
|
58
|
+
chatRecipients.publicChat ? chatRecipients.roles.length === 0 : chatRecipients.roles.length <= 1);
|
|
59
|
+
const showActionButtons = allowedToSendMessage && !isLocalPeerBlockedFromChat || canDisableChat;
|
|
60
|
+
if (!showActionButtons) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
const tapGesture = Gesture.Tap();
|
|
26
64
|
return /*#__PURE__*/React.createElement(View, {
|
|
27
65
|
style: styles.container
|
|
66
|
+
}, allowedToSendMessage && !isLocalPeerBlockedFromChat ? /*#__PURE__*/React.createElement(View, {
|
|
67
|
+
style: styles.sendToContainer
|
|
28
68
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
29
69
|
style: [styles.label, hmsRoomStyles.label]
|
|
30
|
-
},
|
|
70
|
+
}, selectedChatRecipient !== null ? 'To' : `Choose ${chatRecipients.privateChat ? 'Participant' : chatRecipients.roles.length > 0 ? 'Role' : ''}`), /*#__PURE__*/React.createElement(GestureDetector, {
|
|
71
|
+
gesture: tapGesture
|
|
72
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
73
|
+
disabled: filterSheetDisabled,
|
|
31
74
|
onPress: openChatFiltersSheet,
|
|
32
|
-
style: [styles.button,
|
|
33
|
-
|
|
75
|
+
style: [styles.button, {
|
|
76
|
+
paddingRight: filterSheetDisabled ? 8 : undefined
|
|
77
|
+
}, hmsRoomStyles.button]
|
|
78
|
+
}, selectedChatRecipient ? selectedChatRecipient === ChatBroadcastFilter ? /*#__PURE__*/React.createElement(ParticipantsIcon, {
|
|
79
|
+
style: styles.buttonIcon
|
|
80
|
+
}) : /*#__PURE__*/React.createElement(PersonIcon, {
|
|
81
|
+
style: styles.buttonIcon
|
|
82
|
+
}) : /*#__PURE__*/React.createElement(SearchIcon, {
|
|
83
|
+
style: styles.buttonIcon
|
|
84
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
34
85
|
style: [styles.buttonText, hmsRoomStyles.buttonText]
|
|
35
|
-
},
|
|
86
|
+
}, selectedChatRecipient ? selectedChatRecipient.name : 'Search'), filterSheetDisabled || !selectedChatRecipient ? null : /*#__PURE__*/React.createElement(ChevronIcon, {
|
|
36
87
|
direction: "down",
|
|
37
88
|
style: styles.buttonIcon
|
|
38
|
-
})))
|
|
89
|
+
})))) : /*#__PURE__*/React.createElement(View, null), canDisableChat && insetMode ? /*#__PURE__*/React.createElement(PressableIcon, {
|
|
90
|
+
onPress: openChatMoreActionsSheet,
|
|
91
|
+
style: [styles.moreAction, hmsRoomStyles.moreAction]
|
|
92
|
+
}, /*#__PURE__*/React.createElement(ThreeDotsIcon, {
|
|
93
|
+
stack: "vertical",
|
|
94
|
+
style: styles.moreActionIcon
|
|
95
|
+
})) : null);
|
|
39
96
|
};
|
|
40
97
|
const styles = StyleSheet.create({
|
|
41
98
|
container: {
|
|
42
99
|
flexDirection: 'row',
|
|
43
100
|
alignItems: 'center',
|
|
44
|
-
|
|
45
|
-
|
|
101
|
+
justifyContent: 'space-between',
|
|
102
|
+
marginBottom: 8
|
|
103
|
+
},
|
|
104
|
+
sendToContainer: {
|
|
105
|
+
flexDirection: 'row',
|
|
106
|
+
alignItems: 'center'
|
|
107
|
+
},
|
|
108
|
+
moreAction: {
|
|
109
|
+
padding: 4,
|
|
110
|
+
borderRadius: 4
|
|
111
|
+
},
|
|
112
|
+
moreActionIcon: {
|
|
113
|
+
width: 16,
|
|
114
|
+
height: 16
|
|
46
115
|
},
|
|
47
116
|
label: {
|
|
48
|
-
fontSize:
|
|
117
|
+
fontSize: 12,
|
|
49
118
|
lineHeight: 16,
|
|
50
|
-
letterSpacing:
|
|
119
|
+
letterSpacing: 0.4
|
|
51
120
|
},
|
|
52
121
|
button: {
|
|
53
122
|
padding: 4,
|
|
54
|
-
paddingLeft: 8,
|
|
55
123
|
flexDirection: 'row',
|
|
56
124
|
marginLeft: 8,
|
|
57
|
-
borderWidth: 1,
|
|
58
125
|
borderRadius: 4,
|
|
59
126
|
alignItems: 'center'
|
|
60
127
|
},
|
|
61
128
|
buttonText: {
|
|
62
|
-
fontSize:
|
|
63
|
-
textTransform: '
|
|
129
|
+
fontSize: 12,
|
|
130
|
+
textTransform: 'capitalize',
|
|
64
131
|
lineHeight: 16,
|
|
65
|
-
letterSpacing:
|
|
132
|
+
letterSpacing: 0.4,
|
|
133
|
+
marginHorizontal: 4
|
|
66
134
|
},
|
|
67
135
|
buttonIcon: {
|
|
68
136
|
width: 16,
|
|
69
|
-
height: 16
|
|
70
|
-
marginLeft: 4
|
|
137
|
+
height: 16
|
|
71
138
|
}
|
|
72
139
|
});
|
|
73
140
|
export const ChatFilterBottomSheetOpener = /*#__PURE__*/React.memo(_ChatFilterBottomSheetOpener);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useDispatch","useSelector","StyleSheet","Text","TouchableOpacity","View","ChevronIcon","useHMSRoomStyleSheet","setChatFilterSheetVisible","_ChatFilterBottomSheetOpener","dispatch","
|
|
1
|
+
{"version":3,"names":["React","useDispatch","useSelector","StyleSheet","Text","TouchableOpacity","View","GestureDetector","Gesture","ChevronIcon","ParticipantsIcon","PersonIcon","SearchIcon","ThreeDotsIcon","useHMSCanDisableChat","useHMSChatRecipientSelector","useHMSRoomStyleSheet","useIsAllowedToSendMessage","useIsLocalPeerBlockedFromChat","useModalType","setChatFilterSheetVisible","setChatMoreActionsSheetVisible","PressableIcon","ChatBroadcastFilter","ModalTypes","hexToRgbA","_ChatFilterBottomSheetOpener","insetMode","dispatch","canDisableChat","chatRecipients","allowedToSendMessage","isLocalPeerBlockedFromChat","selectedChatRecipient","state","chatWindow","sendTo","handleModalVisibleType","hmsRoomStyles","theme","typography","label","color","palette","on_surface_medium","fontFamily","font_family","button","backgroundColor","background_dim","primary_default","buttonText","on_surface_high","moreAction","moreActionIcon","tintColor","on_surface_low","openChatFiltersSheet","CHAT_FILTER","openChatMoreActionsSheet","CHAT_MORE_ACTIONS","filterSheetDisabled","privateChat","publicChat","roles","length","showActionButtons","tapGesture","Tap","createElement","style","styles","container","sendToContainer","gesture","disabled","onPress","paddingRight","undefined","buttonIcon","name","direction","stack","create","flexDirection","alignItems","justifyContent","marginBottom","padding","borderRadius","width","height","fontSize","lineHeight","letterSpacing","marginLeft","textTransform","marginHorizontal","ChatFilterBottomSheetOpener","memo"],"sourceRoot":"../../../../src","sources":["components/Chat/ChatFilterBottomSheetOpener.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AACtD,SAASC,UAAU,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AACvE,SAASC,eAAe,EAAEC,OAAO,QAAQ,8BAA8B;AAEvE,SACEC,WAAW,EACXC,gBAAgB,EAChBC,UAAU,EACVC,UAAU,EACVC,aAAa,QACR,aAAa;AAEpB,SACEC,oBAAoB,EACpBC,2BAA2B,EAC3BC,oBAAoB,EACpBC,yBAAyB,EACzBC,6BAA6B,EAC7BC,YAAY,QACP,kBAAkB;AACzB,SACEC,yBAAyB,EACzBC,8BAA8B,QACzB,qBAAqB;AAC5B,SAASC,aAAa,QAAQ,kBAAkB;AAChD,SAASC,mBAAmB,EAAEC,UAAU,QAAQ,mBAAmB;AACnE,SAASC,SAAS,QAAQ,mBAAmB;AAM7C,MAAMC,4BAEL,GAAGA,CAAC;EAAEC,SAAS,GAAG;AAAM,CAAC,KAAK;EAC7B,MAAMC,QAAQ,GAAG3B,WAAW,CAAC,CAAC;EAC9B,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
import {
|
|
2
|
+
import { useDispatch } from 'react-redux';
|
|
3
3
|
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
|
|
4
4
|
import { CheckIcon } from '../../Icons';
|
|
5
5
|
import { useHMSRoomStyle } from '../../hooks-util';
|
|
@@ -8,7 +8,8 @@ const _ChatFilterItem = ({
|
|
|
8
8
|
item,
|
|
9
9
|
disabled,
|
|
10
10
|
active,
|
|
11
|
-
icon
|
|
11
|
+
icon,
|
|
12
|
+
onDismiss
|
|
12
13
|
}) => {
|
|
13
14
|
const dispatch = useDispatch();
|
|
14
15
|
const titleStyles = useHMSRoomStyle((theme, typography) => ({
|
|
@@ -16,13 +17,15 @@ const _ChatFilterItem = ({
|
|
|
16
17
|
fontFamily: `${typography.font_family}-SemiBold`
|
|
17
18
|
}));
|
|
18
19
|
const handleFilterSelect = () => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
type: 'SET_SENDTO',
|
|
23
|
-
sendTo: item
|
|
24
|
-
});
|
|
20
|
+
dispatch({
|
|
21
|
+
type: 'SET_SENDTO',
|
|
22
|
+
sendTo: item
|
|
25
23
|
});
|
|
24
|
+
if (onDismiss) {
|
|
25
|
+
onDismiss();
|
|
26
|
+
} else {
|
|
27
|
+
dispatch(setChatFilterSheetVisible(false));
|
|
28
|
+
}
|
|
26
29
|
};
|
|
27
30
|
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
28
31
|
style: styles.container,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","useDispatch","StyleSheet","Text","TouchableOpacity","View","CheckIcon","useHMSRoomStyle","setChatFilterSheetVisible","_ChatFilterItem","item","disabled","active","icon","onDismiss","dispatch","titleStyles","theme","typography","color","palette","on_surface_high","fontFamily","font_family","handleFilterSelect","type","sendTo","createElement","style","styles","container","onPress","leftIcon","title","name","rightIcon","create","flexDirection","alignItems","paddingHorizontal","paddingVertical","flex","fontSize","lineHeight","letterSpacing","textTransform","marginLeft","marginRight","ChatFilterItem","memo"],"sourceRoot":"../../../../src","sources":["components/Chat/ChatFilterItem.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,WAAW,QAAQ,aAAa;AACzC,SAASC,UAAU,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,IAAI,QAAQ,cAAc;AAGvE,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,eAAe,QAAQ,kBAAkB;AAElD,SAASC,yBAAyB,QAAQ,qBAAqB;AAU/D,MAAMC,eAA8C,GAAGA,CAAC;EACtDC,IAAI;EACJC,QAAQ;EACRC,MAAM;EACNC,IAAI;EACJC;AACF,CAAC,KAAK;EACJ,MAAMC,QAAQ,GAAGd,WAAW,CAAC,CAAC;EAE9B,MAAMe,WAAW,GAAGT,eAAe,CAAC,CAACU,KAAK,EAAEC,UAAU,MAAM;IAC1DC,KAAK,EAAEF,KAAK,CAACG,OAAO,CAACC,eAAe;IACpCC,UAAU,EAAG,GAAEJ,UAAU,CAACK,WAAY;EACxC,CAAC,CAAC,CAAC;EAEH,MAAMC,kBAAkB,GAAGA,CAAA,KAAM;IAC/BT,QAAQ,CAAC;MAAEU,IAAI,EAAE,YAAY;MAAEC,MAAM,EAAEhB;IAAK,CAAC,CAAC;IAC9C,IAAII,SAAS,EAAE;MACbA,SAAS,CAAC,CAAC;IACb,CAAC,MAAM;MACLC,QAAQ,CAACP,yBAAyB,CAAC,KAAK,CAAC,CAAC;IAC5C;EACF,CAAC;EAED,oBACER,KAAA,CAAA2B,aAAA,CAACvB,gBAAgB;IACfwB,KAAK,EAAEC,MAAM,CAACC,SAAU;IACxBC,OAAO,EAAEP,kBAAmB;IAC5Bb,QAAQ,EAAEA;EAAS,GAElBE,IAAI,gBAAGb,KAAA,CAAA2B,aAAA,CAACtB,IAAI;IAACuB,KAAK,EAAEC,MAAM,CAACG;EAAS,GAAEnB,IAAW,CAAC,GAAG,IAAI,eAE1Db,KAAA,CAAA2B,aAAA,CAACxB,IAAI;IAACyB,KAAK,EAAE,CAACC,MAAM,CAACI,KAAK,EAAEjB,WAAW;EAAE,GAAEN,IAAI,CAACwB,IAAW,CAAC,EAE3DtB,MAAM,gBAAGZ,KAAA,CAAA2B,aAAA,CAACrB,SAAS;IAACsB,KAAK,EAAEC,MAAM,CAACM;EAAU,CAAE,CAAC,GAAG,IACnC,CAAC;AAEvB,CAAC;AAED,MAAMN,MAAM,GAAG3B,UAAU,CAACkC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE;EACnB,CAAC;EACDP,KAAK,EAAE;IACLQ,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,GAAG;IAClBC,aAAa,EAAE;EACjB,CAAC;EACDV,SAAS,EAAE;IAAEW,UAAU,EAAE;EAAE,CAAC;EAC5Bd,QAAQ,EAAE;IAAEe,WAAW,EAAE;EAAE;AAC7B,CAAC,CAAC;AAEF,OAAO,MAAMC,cAAc,gBAAGhD,KAAK,CAACiD,IAAI,CAACxC,eAAe,CAAC"}
|
|
@@ -2,21 +2,27 @@ import * as React from 'react';
|
|
|
2
2
|
import { FlashList } from '@shopify/flash-list';
|
|
3
3
|
import { StyleSheet, Text, View } from 'react-native';
|
|
4
4
|
import { useDispatch, useSelector } from 'react-redux';
|
|
5
|
-
import { useHMSInstance, useHMSRoomColorPalette, useHMSRoomStyleSheet } from '../../hooks-util';
|
|
5
|
+
import { useHMSChatRecipientSelector, useHMSInstance, useHMSRoomColorPalette, useHMSRoomStyleSheet } from '../../hooks-util';
|
|
6
6
|
import { BottomSheet } from '../BottomSheet';
|
|
7
7
|
import { HMSTextInput } from '../HMSTextInput';
|
|
8
8
|
import { ParticipantsIcon, SearchIcon } from '../../Icons';
|
|
9
9
|
import { ChatFilterItem } from './ChatFilterItem';
|
|
10
10
|
import { setChatFilterSheetVisible } from '../../redux/actions';
|
|
11
11
|
import { ChatBroadcastFilter } from '../../utils/types';
|
|
12
|
-
const _ChatFilterView = (
|
|
12
|
+
const _ChatFilterView = ({
|
|
13
|
+
onDismiss
|
|
14
|
+
}) => {
|
|
13
15
|
const hmsInstance = useHMSInstance();
|
|
14
16
|
const dispatch = useDispatch();
|
|
15
17
|
const filter = useSelector(state => state.chatWindow.sendTo);
|
|
16
|
-
const roles = useSelector(state => state.hmsStates.roles);
|
|
17
18
|
const [loadingPeersList, setLoadingPeersList] = React.useState(false);
|
|
18
19
|
const [remotePeers, setRemotePeers] = React.useState([]);
|
|
19
20
|
const [filterText, setFilterText] = React.useState('');
|
|
21
|
+
const {
|
|
22
|
+
privateChat,
|
|
23
|
+
publicChat,
|
|
24
|
+
roles: rolesSpecificChat
|
|
25
|
+
} = useHMSChatRecipientSelector();
|
|
20
26
|
const {
|
|
21
27
|
on_surface_medium: onSurfaceMediumColor
|
|
22
28
|
} = useHMSRoomColorPalette();
|
|
@@ -35,31 +41,38 @@ const _ChatFilterView = () => {
|
|
|
35
41
|
}
|
|
36
42
|
}));
|
|
37
43
|
React.useEffect(() => {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
if (privateChat) {
|
|
45
|
+
let mounted = true;
|
|
46
|
+
const fetchRemotePeers = async () => {
|
|
47
|
+
setLoadingPeersList(true);
|
|
48
|
+
const fetchedRemotePeers = await hmsInstance.getRemotePeers();
|
|
49
|
+
if (mounted) {
|
|
50
|
+
setLoadingPeersList(false);
|
|
51
|
+
setRemotePeers(fetchedRemotePeers);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
fetchRemotePeers();
|
|
55
|
+
return () => {
|
|
56
|
+
mounted = false;
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
}, [privateChat, hmsInstance]);
|
|
52
60
|
const _keyExtractor = React.useCallback(item => item.peerID, []);
|
|
53
61
|
const _renderItem = React.useCallback(({
|
|
54
62
|
item,
|
|
55
63
|
extraData
|
|
56
64
|
}) => /*#__PURE__*/React.createElement(ChatFilterItem, {
|
|
57
65
|
item: item,
|
|
58
|
-
active: extraData.name === item.name,
|
|
59
|
-
disabled: extraData.name === item.name
|
|
60
|
-
|
|
66
|
+
active: extraData && extraData.name === item.name,
|
|
67
|
+
disabled: extraData && extraData.name === item.name,
|
|
68
|
+
onDismiss: onDismiss
|
|
69
|
+
}), [onDismiss]);
|
|
61
70
|
const closeFiltersBottomSheet = () => {
|
|
62
|
-
|
|
71
|
+
if (onDismiss) {
|
|
72
|
+
onDismiss();
|
|
73
|
+
} else {
|
|
74
|
+
dispatch(setChatFilterSheetVisible(false));
|
|
75
|
+
}
|
|
63
76
|
};
|
|
64
77
|
const formattedFilterText = filterText.trim().toLowerCase();
|
|
65
78
|
|
|
@@ -72,16 +85,8 @@ const _ChatFilterView = () => {
|
|
|
72
85
|
}, [formattedFilterText, remotePeers]);
|
|
73
86
|
|
|
74
87
|
// Filtering Broadcast option
|
|
75
|
-
const showBroadcastOption = formattedFilterText.length > 0 ? ChatBroadcastFilter.name.includes(formattedFilterText) : true;
|
|
76
|
-
|
|
77
|
-
// Filtering Roles
|
|
78
|
-
const foundRoles = roles.filter(role => {
|
|
79
|
-
if (!role.name || role.name.startsWith('_')) {
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
82
|
-
return formattedFilterText.length > 0 ? role.name.toLowerCase().includes(formattedFilterText) : true;
|
|
83
|
-
});
|
|
84
|
-
const isBroadcastFilterSelected = !('publishSettings' in filter || 'peerId' in filter) &&
|
|
88
|
+
const showBroadcastOption = publicChat ? formattedFilterText.length > 0 ? ChatBroadcastFilter.name.includes(formattedFilterText) : true : false;
|
|
89
|
+
const isBroadcastFilterSelected = filter !== null && !('publishSettings' in filter || 'peerId' in filter) &&
|
|
85
90
|
// filter is not HMSRole and HMSRemotePeer
|
|
86
91
|
filter.name === ChatBroadcastFilter.name;
|
|
87
92
|
return /*#__PURE__*/React.createElement(View, {
|
|
@@ -93,7 +98,7 @@ const _ChatFilterView = () => {
|
|
|
93
98
|
dismissModal: closeFiltersBottomSheet
|
|
94
99
|
}), /*#__PURE__*/React.createElement(BottomSheet.Divider, {
|
|
95
100
|
style: styles.headerDivider
|
|
96
|
-
}), /*#__PURE__*/React.createElement(HMSTextInput, {
|
|
101
|
+
}), privateChat ? /*#__PURE__*/React.createElement(HMSTextInput, {
|
|
97
102
|
value: filterText,
|
|
98
103
|
onChangeText: setFilterText,
|
|
99
104
|
placeholder: "Search for participants",
|
|
@@ -103,7 +108,7 @@ const _ChatFilterView = () => {
|
|
|
103
108
|
leftIcon: /*#__PURE__*/React.createElement(SearchIcon, {
|
|
104
109
|
style: styles.textInputSearchIcon
|
|
105
110
|
})
|
|
106
|
-
}), /*#__PURE__*/React.createElement(FlashList, {
|
|
111
|
+
}) : null, /*#__PURE__*/React.createElement(FlashList, {
|
|
107
112
|
data: filteredRemotePeers,
|
|
108
113
|
extraData: filter,
|
|
109
114
|
estimatedItemSize: 104,
|
|
@@ -111,34 +116,38 @@ const _ChatFilterView = () => {
|
|
|
111
116
|
keyboardShouldPersistTaps: "always",
|
|
112
117
|
keyExtractor: _keyExtractor,
|
|
113
118
|
renderItem: _renderItem,
|
|
114
|
-
ListEmptyComponent: /*#__PURE__*/React.createElement(View, {
|
|
119
|
+
ListEmptyComponent: privateChat ? /*#__PURE__*/React.createElement(View, {
|
|
115
120
|
style: styles.placeholderContainer
|
|
116
121
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
117
122
|
style: [styles.placeholderText, hmsRoomStyles.placeholderText]
|
|
118
|
-
}, loadingPeersList ? 'Loading Participants...' : formattedFilterText.length > 0 ? 'No participants found!' : 'There is no one in the session!')),
|
|
119
|
-
ListHeaderComponent: /*#__PURE__*/React.createElement(View, null, showBroadcastOption ? /*#__PURE__*/React.createElement(
|
|
123
|
+
}, loadingPeersList ? 'Loading Participants...' : formattedFilterText.length > 0 ? 'No participants found!' : 'There is no one in the session!')) : null,
|
|
124
|
+
ListHeaderComponent: /*#__PURE__*/React.createElement(View, null, showBroadcastOption ? /*#__PURE__*/React.createElement(ChatFilterItem, {
|
|
120
125
|
item: ChatBroadcastFilter,
|
|
121
126
|
active: isBroadcastFilterSelected,
|
|
122
127
|
disabled: isBroadcastFilterSelected,
|
|
123
|
-
icon: /*#__PURE__*/React.createElement(ParticipantsIcon, null)
|
|
124
|
-
|
|
128
|
+
icon: /*#__PURE__*/React.createElement(ParticipantsIcon, null),
|
|
129
|
+
onDismiss: onDismiss
|
|
130
|
+
}) : null, showBroadcastOption && rolesSpecificChat.length > 0 ? /*#__PURE__*/React.createElement(BottomSheet.Divider, {
|
|
125
131
|
style: styles.divider
|
|
126
|
-
})
|
|
132
|
+
}) : null, rolesSpecificChat.length > 0 ? /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
|
|
127
133
|
style: [styles.label, hmsRoomStyles.label]
|
|
128
|
-
}, "ROLES"),
|
|
129
|
-
const isRoleSelected =
|
|
130
|
-
const isActive = isRoleSelected && filter.name === role.name;
|
|
134
|
+
}, "ROLES"), rolesSpecificChat.map(role => {
|
|
135
|
+
const isRoleSelected = filter !== null && 'publishSettings' in filter;
|
|
136
|
+
const isActive = filter !== null && isRoleSelected && filter.name === role.name;
|
|
131
137
|
return /*#__PURE__*/React.createElement(ChatFilterItem, {
|
|
132
138
|
key: role.name,
|
|
133
139
|
item: role,
|
|
134
140
|
active: isActive,
|
|
135
|
-
disabled: isActive
|
|
141
|
+
disabled: isActive,
|
|
142
|
+
onDismiss: onDismiss
|
|
136
143
|
});
|
|
137
|
-
}), /*#__PURE__*/React.createElement(BottomSheet.Divider, {
|
|
144
|
+
})) : null, rolesSpecificChat.length > 0 && privateChat ? /*#__PURE__*/React.createElement(BottomSheet.Divider, {
|
|
145
|
+
style: styles.divider
|
|
146
|
+
}) : null, rolesSpecificChat.length <= 0 && privateChat && showBroadcastOption ? /*#__PURE__*/React.createElement(BottomSheet.Divider, {
|
|
138
147
|
style: styles.divider
|
|
139
|
-
})
|
|
148
|
+
}) : null, privateChat ? /*#__PURE__*/React.createElement(Text, {
|
|
140
149
|
style: [styles.label, hmsRoomStyles.label]
|
|
141
|
-
}, "PARTICIPANTS"))
|
|
150
|
+
}, "PARTICIPANTS") : null)
|
|
142
151
|
}));
|
|
143
152
|
};
|
|
144
153
|
const styles = StyleSheet.create({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","FlashList","StyleSheet","Text","View","useDispatch","useSelector","useHMSInstance","useHMSRoomColorPalette","useHMSRoomStyleSheet","BottomSheet","HMSTextInput","ParticipantsIcon","SearchIcon","ChatFilterItem","setChatFilterSheetVisible","ChatBroadcastFilter","_ChatFilterView","hmsInstance","dispatch","filter","state","chatWindow","sendTo","
|
|
1
|
+
{"version":3,"names":["React","FlashList","StyleSheet","Text","View","useDispatch","useSelector","useHMSChatRecipientSelector","useHMSInstance","useHMSRoomColorPalette","useHMSRoomStyleSheet","BottomSheet","HMSTextInput","ParticipantsIcon","SearchIcon","ChatFilterItem","setChatFilterSheetVisible","ChatBroadcastFilter","_ChatFilterView","onDismiss","hmsInstance","dispatch","filter","state","chatWindow","sendTo","loadingPeersList","setLoadingPeersList","useState","remotePeers","setRemotePeers","filterText","setFilterText","privateChat","publicChat","roles","rolesSpecificChat","on_surface_medium","onSurfaceMediumColor","hmsRoomStyles","theme","typography","textInputContainer","backgroundColor","palette","surface_dim","borderColor","border_bright","placeholderText","color","on_surface_high","fontFamily","font_family","label","useEffect","mounted","fetchRemotePeers","fetchedRemotePeers","getRemotePeers","_keyExtractor","useCallback","item","peerID","_renderItem","extraData","createElement","active","name","disabled","closeFiltersBottomSheet","formattedFilterText","trim","toLowerCase","filteredRemotePeers","useMemo","length","remotePeer","includes","showBroadcastOption","isBroadcastFilterSelected","style","flex","Header","heading","dismissModal","Divider","styles","headerDivider","value","onChangeText","placeholder","containerStyle","focusedContainerStyle","textInputFocusedContainer","placeholderTextColor","leftIcon","textInputSearchIcon","data","estimatedItemSize","contentContainerStyle","list","keyboardShouldPersistTaps","keyExtractor","renderItem","ListEmptyComponent","placeholderContainer","ListHeaderComponent","icon","divider","map","role","isRoleSelected","isActive","key","create","marginVertical","borderWidth","marginHorizontal","height","paddingHorizontal","marginRight","alignSelf","paddingBottom","marginTop","fontSize","lineHeight","letterSpacing","textAlign","ChatFilterView","memo"],"sourceRoot":"../../../../src","sources":["components/Chat/ChatFilterView.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,SAAS,QAA6B,qBAAqB;AACpE,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,SAASC,WAAW,EAAEC,WAAW,QAAQ,aAAa;AAEtD,SACEC,2BAA2B,EAC3BC,cAAc,EACdC,sBAAsB,EACtBC,oBAAoB,QACf,kBAAkB;AAEzB,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,gBAAgB,EAAEC,UAAU,QAAQ,aAAa;AAC1D,SAASC,cAAc,QAAQ,kBAAkB;AACjD,SAASC,yBAAyB,QAAQ,qBAAqB;AAC/D,SAASC,mBAAmB,QAAQ,mBAAmB;AAMvD,MAAMC,eAA8C,GAAGA,CAAC;EAAEC;AAAU,CAAC,KAAK;EACxE,MAAMC,WAAW,GAAGZ,cAAc,CAAC,CAAC;EACpC,MAAMa,QAAQ,GAAGhB,WAAW,CAAC,CAAC;EAC9B,MAAMiB,MAAM,GAAGhB,WAAW,CAAEiB,KAAgB,IAAKA,KAAK,CAACC,UAAU,CAACC,MAAM,CAAC;EACzE,MAAM,CAACC,gBAAgB,EA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