@100mslive/react-native-room-kit 0.2.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1085) hide show
  1. package/README.md +2 -11
  2. package/lib/commonjs/HMSInstanceSetup.js +2 -2
  3. package/lib/commonjs/HMSInstanceSetup.js.map +1 -1
  4. package/lib/commonjs/HMSPrebuilt.js +8 -10
  5. package/lib/commonjs/HMSPrebuilt.js.map +1 -1
  6. package/lib/commonjs/HMSRoomSetup.js +30 -33
  7. package/lib/commonjs/HMSRoomSetup.js.map +1 -1
  8. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  9. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  10. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  11. package/lib/commonjs/Icons/AlertTriangle/index.js +2 -1
  12. package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
  13. package/lib/commonjs/Icons/Chevron/index.js +5 -1
  14. package/lib/commonjs/Icons/Chevron/index.js.map +1 -1
  15. package/lib/commonjs/Icons/Eye/assets/eye-on-small.png +0 -0
  16. package/lib/commonjs/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  17. package/lib/commonjs/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  18. package/lib/commonjs/Icons/Eye/index.js +35 -0
  19. package/lib/commonjs/Icons/Eye/index.js.map +1 -0
  20. package/lib/commonjs/Icons/Leave/index.js +5 -1
  21. package/lib/commonjs/Icons/Leave/index.js.map +1 -1
  22. package/lib/commonjs/Icons/Person/assets/person-left.png +0 -0
  23. package/lib/commonjs/Icons/Person/assets/person-left@2x.png +0 -0
  24. package/lib/commonjs/Icons/Person/assets/person-left@3x.png +0 -0
  25. package/lib/commonjs/Icons/Person/assets/person-off.png +0 -0
  26. package/lib/commonjs/Icons/Person/assets/person-off@2x.png +0 -0
  27. package/lib/commonjs/Icons/Person/assets/person-off@3x.png +0 -0
  28. package/lib/commonjs/Icons/Person/assets/person-rectangle.png +0 -0
  29. package/lib/commonjs/Icons/Person/assets/person-rectangle@2x.png +0 -0
  30. package/lib/commonjs/Icons/Person/assets/person-rectangle@3x.png +0 -0
  31. package/lib/commonjs/Icons/Person/index.js +2 -1
  32. package/lib/commonjs/Icons/Person/index.js.map +1 -1
  33. package/lib/commonjs/Icons/Search/assets/search.png +0 -0
  34. package/lib/commonjs/Icons/Search/assets/search@2x.png +0 -0
  35. package/lib/commonjs/Icons/Search/assets/search@3x.png +0 -0
  36. package/lib/commonjs/Icons/Search/index.js +34 -0
  37. package/lib/commonjs/Icons/Search/index.js.map +1 -0
  38. package/lib/commonjs/Icons/WelcomeHand/assets/welcome-hand.png +0 -0
  39. package/lib/commonjs/Icons/WelcomeHand/assets/welcome-hand@2x.png +0 -0
  40. package/lib/commonjs/Icons/WelcomeHand/assets/welcome-hand@3x.png +0 -0
  41. package/lib/commonjs/Icons/WelcomeHand/index.js +30 -0
  42. package/lib/commonjs/Icons/WelcomeHand/index.js.map +1 -0
  43. package/lib/commonjs/Icons/index.js +33 -0
  44. package/lib/commonjs/Icons/index.js.map +1 -1
  45. package/lib/commonjs/assets/audio-level-white.json +1271 -0
  46. package/lib/commonjs/assets/empty-chat-illustration/empty-chat.png +0 -0
  47. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  48. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  49. package/lib/commonjs/components/AnimatedFooter.js +35 -0
  50. package/lib/commonjs/components/AnimatedFooter.js.map +1 -0
  51. package/lib/commonjs/components/AnimatedHLSFooter.js +36 -0
  52. package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -0
  53. package/lib/commonjs/components/AnimatedHeader.js +44 -0
  54. package/lib/commonjs/components/AnimatedHeader.js.map +1 -0
  55. package/lib/commonjs/components/AvatarView.js +2 -2
  56. package/lib/commonjs/components/AvatarView.js.map +1 -1
  57. package/lib/commonjs/components/BackButton.js +2 -2
  58. package/lib/commonjs/components/BackButton.js.map +1 -1
  59. package/lib/commonjs/components/BottomSheet.js +8 -5
  60. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  61. package/lib/commonjs/components/ChangeNameModalContent.js +14 -7
  62. package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
  63. package/lib/commonjs/components/Chat/ChatBanner.js +37 -57
  64. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
  65. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +82 -0
  66. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  67. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +68 -0
  68. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  69. package/lib/commonjs/components/Chat/ChatFilterItem.js +70 -0
  70. package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -0
  71. package/lib/commonjs/components/Chat/ChatFilterView.js +197 -0
  72. package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -0
  73. package/lib/commonjs/components/Chat/ChatList.js +9 -10
  74. package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
  75. package/lib/commonjs/components/Chat/ChatMessage.js +38 -139
  76. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
  77. package/lib/commonjs/components/Chat/PinnedMessage.js +41 -45
  78. package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -1
  79. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +42 -0
  80. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  81. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +105 -0
  82. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  83. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +65 -0
  84. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  85. package/lib/commonjs/components/ChatAndParticipants/ChatView.js +36 -0
  86. package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -0
  87. package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js +40 -0
  88. package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  89. package/lib/commonjs/components/ChatAndParticipants/index.js +17 -0
  90. package/lib/commonjs/components/ChatAndParticipants/index.js.map +1 -0
  91. package/lib/commonjs/components/CompanyLogo.js +4 -3
  92. package/lib/commonjs/components/CompanyLogo.js.map +1 -1
  93. package/lib/commonjs/components/DefaultModal.js +2 -6
  94. package/lib/commonjs/components/DefaultModal.js.map +1 -1
  95. package/lib/commonjs/components/DisplayView.js +8 -21
  96. package/lib/commonjs/components/DisplayView.js.map +1 -1
  97. package/lib/commonjs/components/EndRoomModalContent.js +22 -8
  98. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  99. package/lib/commonjs/components/Footer.js +40 -32
  100. package/lib/commonjs/components/Footer.js.map +1 -1
  101. package/lib/commonjs/components/FullScreenVideoView.js +74 -0
  102. package/lib/commonjs/components/FullScreenVideoView.js.map +1 -0
  103. package/lib/commonjs/components/GridView.js +132 -52
  104. package/lib/commonjs/components/GridView.js.map +1 -1
  105. package/lib/commonjs/components/HLSFooter.js +35 -0
  106. package/lib/commonjs/components/HLSFooter.js.map +1 -0
  107. package/lib/commonjs/components/HLSView.js +12 -24
  108. package/lib/commonjs/components/HLSView.js.map +1 -1
  109. package/lib/commonjs/components/HMSBaseButton.js +2 -2
  110. package/lib/commonjs/components/HMSBaseButton.js.map +1 -1
  111. package/lib/commonjs/components/HMSChat.js +17 -16
  112. package/lib/commonjs/components/HMSChat.js.map +1 -1
  113. package/lib/commonjs/components/HMSDangerButton.js +4 -3
  114. package/lib/commonjs/components/HMSDangerButton.js.map +1 -1
  115. package/lib/commonjs/components/HMSHLSMessage.js +66 -0
  116. package/lib/commonjs/components/HMSHLSMessage.js.map +1 -0
  117. package/lib/commonjs/components/HMSHLSMessageList.js +58 -0
  118. package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -0
  119. package/lib/commonjs/components/HMSHLSNotStarted.js +3 -8
  120. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
  121. package/lib/commonjs/components/HMSHLSStreamLoading.js +6 -4
  122. package/lib/commonjs/components/HMSHLSStreamLoading.js.map +1 -1
  123. package/lib/commonjs/components/HMSHandRaiseNotification.js +84 -0
  124. package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -0
  125. package/lib/commonjs/components/HMSKeyboardAvoidingView.js +48 -0
  126. package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -0
  127. package/lib/commonjs/components/HMSLiveIndicator.js +104 -0
  128. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -0
  129. package/lib/commonjs/components/HMSLocalScreenshareNotification.js +38 -0
  130. package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -0
  131. package/lib/commonjs/components/HMSLocalVideoView.js +6 -25
  132. package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
  133. package/lib/commonjs/components/HMSManageAudioOutput.js +9 -3
  134. package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
  135. package/lib/commonjs/components/HMSManageCameraRotation.js +2 -2
  136. package/lib/commonjs/components/HMSManageCameraRotation.js.map +1 -1
  137. package/lib/commonjs/components/HMSManageLeave.js +37 -14
  138. package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
  139. package/lib/commonjs/components/HMSManageLocalAudio.js +2 -2
  140. package/lib/commonjs/components/HMSManageLocalAudio.js.map +1 -1
  141. package/lib/commonjs/components/HMSManageLocalVideo.js +2 -2
  142. package/lib/commonjs/components/HMSManageLocalVideo.js.map +1 -1
  143. package/lib/commonjs/components/HMSManageRaiseHand.js +23 -11
  144. package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
  145. package/lib/commonjs/components/HMSMeetingEnded.js +2 -2
  146. package/lib/commonjs/components/HMSMeetingEnded.js.map +1 -1
  147. package/lib/commonjs/components/HMSNotification.js +96 -0
  148. package/lib/commonjs/components/HMSNotification.js.map +1 -0
  149. package/lib/commonjs/components/HMSNotifications.js +114 -0
  150. package/lib/commonjs/components/HMSNotifications.js.map +1 -0
  151. package/lib/commonjs/components/HMSOverlayChatView.js +30 -0
  152. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -0
  153. package/lib/commonjs/components/HMSPreviewEditName.js +2 -2
  154. package/lib/commonjs/components/HMSPreviewEditName.js.map +1 -1
  155. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js +5 -4
  156. package/lib/commonjs/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
  157. package/lib/commonjs/components/HMSPreviewJoinButton.js +11 -7
  158. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
  159. package/lib/commonjs/components/HMSPreviewNetworkQuality.js +3 -3
  160. package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
  161. package/lib/commonjs/components/HMSPreviewPeersList.js +2 -2
  162. package/lib/commonjs/components/HMSPreviewPeersList.js.map +1 -1
  163. package/lib/commonjs/components/HMSPreviewSubtitle.js +3 -5
  164. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
  165. package/lib/commonjs/components/HMSPreviewTile.js +3 -3
  166. package/lib/commonjs/components/HMSPreviewTile.js.map +1 -1
  167. package/lib/commonjs/components/HMSPreviewTitle.js +3 -5
  168. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
  169. package/lib/commonjs/components/HMSPrimaryButton.js +2 -2
  170. package/lib/commonjs/components/HMSPrimaryButton.js.map +1 -1
  171. package/lib/commonjs/components/HMSRecordingIndicator.js +12 -5
  172. package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
  173. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +30 -0
  174. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  175. package/lib/commonjs/components/HMSRoomOptions.js +2 -2
  176. package/lib/commonjs/components/HMSRoomOptions.js.map +1 -1
  177. package/lib/commonjs/components/HMSSendMessageInput.js +57 -0
  178. package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -0
  179. package/lib/commonjs/components/HMSTextInput.js +101 -15
  180. package/lib/commonjs/components/HMSTextInput.js.map +1 -1
  181. package/lib/commonjs/components/HMSVideoView.js +43 -0
  182. package/lib/commonjs/components/HMSVideoView.js.map +1 -0
  183. package/lib/commonjs/components/Header.js +21 -127
  184. package/lib/commonjs/components/Header.js.map +1 -1
  185. package/lib/commonjs/components/LocalPeerRegularVideoView.js +2 -2
  186. package/lib/commonjs/components/LocalPeerRegularVideoView.js.map +1 -1
  187. package/lib/commonjs/components/LocalPeerScreenshareView.js +3 -9
  188. package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
  189. package/lib/commonjs/components/Meeting.js +8 -7
  190. package/lib/commonjs/components/Meeting.js.map +1 -1
  191. package/lib/commonjs/components/MeetingScreenContent.js +23 -10
  192. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  193. package/lib/commonjs/components/MenuModal/Menu.js +2 -2
  194. package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
  195. package/lib/commonjs/components/MiniView.js +10 -5
  196. package/lib/commonjs/components/MiniView.js.map +1 -1
  197. package/lib/commonjs/components/Modals.js +90 -319
  198. package/lib/commonjs/components/Modals.js.map +1 -1
  199. package/lib/commonjs/components/OverlayContainer.js +41 -0
  200. package/lib/commonjs/components/OverlayContainer.js.map +1 -0
  201. package/lib/commonjs/components/OverlayedViews.js +21 -0
  202. package/lib/commonjs/components/OverlayedViews.js.map +1 -0
  203. package/lib/commonjs/components/PIPView.js +24 -18
  204. package/lib/commonjs/components/PIPView.js.map +1 -1
  205. package/lib/commonjs/components/PaginationDots.js +7 -8
  206. package/lib/commonjs/components/PaginationDots.js.map +1 -1
  207. package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js +65 -0
  208. package/lib/commonjs/components/Participants/MultiRoleParticipantsList.js.map +1 -0
  209. package/lib/commonjs/components/Participants/ParticipantsAccordian.js +60 -0
  210. package/lib/commonjs/components/Participants/ParticipantsAccordian.js.map +1 -0
  211. package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js +25 -0
  212. package/lib/commonjs/components/Participants/ParticipantsAccordianExpanded.js.map +1 -0
  213. package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js +61 -0
  214. package/lib/commonjs/components/Participants/ParticipantsGroupFooter.js.map +1 -0
  215. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +131 -0
  216. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  217. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +79 -0
  218. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  219. package/lib/commonjs/components/Participants/ParticipantsItem.js +123 -0
  220. package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -0
  221. package/lib/commonjs/components/Participants/ParticipantsItemOption.js +45 -0
  222. package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -0
  223. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +219 -0
  224. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -0
  225. package/lib/commonjs/components/Participants/ParticipantsList.js +171 -220
  226. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
  227. package/lib/commonjs/components/Participants/ParticipantsListFooter.js +43 -0
  228. package/lib/commonjs/components/Participants/ParticipantsListFooter.js.map +1 -0
  229. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +38 -32
  230. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
  231. package/lib/commonjs/components/Participants/index.js +4 -26
  232. package/lib/commonjs/components/Participants/index.js.map +1 -1
  233. package/lib/commonjs/components/ParticipantsCount.js +3 -4
  234. package/lib/commonjs/components/ParticipantsCount.js.map +1 -1
  235. package/lib/commonjs/components/PeerDisplayView.js +1 -2
  236. package/lib/commonjs/components/PeerDisplayView.js.map +1 -1
  237. package/lib/commonjs/components/PeerMinimizedView.js +4 -5
  238. package/lib/commonjs/components/PeerMinimizedView.js.map +1 -1
  239. package/lib/commonjs/components/PeerRTCStatsContainer.js +3 -4
  240. package/lib/commonjs/components/PeerRTCStatsContainer.js.map +1 -1
  241. package/lib/commonjs/components/PeerRTCStatsView.js +1 -2
  242. package/lib/commonjs/components/PeerRTCStatsView.js.map +1 -1
  243. package/lib/commonjs/components/PeerSettingsModalContent.js +47 -123
  244. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  245. package/lib/commonjs/components/PeerVideoTile/AvatarView.js +23 -10
  246. package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
  247. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +45 -0
  248. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  249. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +202 -0
  250. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  251. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js +75 -0
  252. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  253. package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js +22 -12
  254. package/lib/commonjs/components/PeerVideoTile/PeerMetadata.js.map +1 -1
  255. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +12 -4
  256. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  257. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +60 -25
  258. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  259. package/lib/commonjs/components/PeerVideoTile/VideoView.js +46 -14
  260. package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
  261. package/lib/commonjs/components/PressableIcon.js +12 -7
  262. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  263. package/lib/commonjs/components/Preview.js +10 -15
  264. package/lib/commonjs/components/Preview.js.map +1 -1
  265. package/lib/commonjs/components/PreviewForRoleChangeModal.js +326 -0
  266. package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -0
  267. package/lib/commonjs/components/ReconnectionView.js +65 -0
  268. package/lib/commonjs/components/ReconnectionView.js.map +1 -0
  269. package/lib/commonjs/components/RoomSettingsModalContent.js +54 -27
  270. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  271. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +32 -71
  272. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  273. package/lib/commonjs/components/StatusBar.js +2 -2
  274. package/lib/commonjs/components/StatusBar.js.map +1 -1
  275. package/lib/commonjs/components/StopRecordingModalContent.js +2 -2
  276. package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
  277. package/lib/commonjs/components/StreamingQualityModalContent.js +10 -11
  278. package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
  279. package/lib/commonjs/components/Tile.js +1 -2
  280. package/lib/commonjs/components/Tile.js.map +1 -1
  281. package/lib/commonjs/components/TilesContainer.js +32 -11
  282. package/lib/commonjs/components/TilesContainer.js.map +1 -1
  283. package/lib/commonjs/components/UnmountAfterDelay.js +3 -4
  284. package/lib/commonjs/components/UnmountAfterDelay.js.map +1 -1
  285. package/lib/commonjs/components/WebrtcView.js +16 -19
  286. package/lib/commonjs/components/WebrtcView.js.map +1 -1
  287. package/lib/commonjs/components/WelcomeInMeeting.js +20 -23
  288. package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
  289. package/lib/commonjs/components/index.js +0 -33
  290. package/lib/commonjs/components/index.js.map +1 -1
  291. package/lib/commonjs/components/styles.js +1 -2
  292. package/lib/commonjs/components/styles.js.map +1 -1
  293. package/lib/commonjs/hooks-sdk.js +46 -1
  294. package/lib/commonjs/hooks-sdk.js.map +1 -1
  295. package/lib/commonjs/hooks-util-selectors.js +43 -9
  296. package/lib/commonjs/hooks-util-selectors.js.map +1 -1
  297. package/lib/commonjs/hooks-util.js +657 -237
  298. package/lib/commonjs/hooks-util.js.map +1 -1
  299. package/lib/commonjs/modules/HMSManager.js +3 -3
  300. package/lib/commonjs/modules/HMSManager.js.map +1 -1
  301. package/lib/commonjs/modules/parser.js +2 -3
  302. package/lib/commonjs/modules/parser.js.map +1 -1
  303. package/lib/commonjs/redux/actionTypes.js +30 -5
  304. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  305. package/lib/commonjs/redux/actions/index.js +108 -3
  306. package/lib/commonjs/redux/actions/index.js.map +1 -1
  307. package/lib/commonjs/redux/index.js +1 -2
  308. package/lib/commonjs/redux/index.js.map +1 -1
  309. package/lib/commonjs/redux/reducers/appState.js +80 -6
  310. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  311. package/lib/commonjs/redux/reducers/chatWindow.js +4 -9
  312. package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
  313. package/lib/commonjs/redux/reducers/hmsStates.js +242 -9
  314. package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
  315. package/lib/commonjs/redux/reducers/index.js +1 -2
  316. package/lib/commonjs/redux/reducers/index.js.map +1 -1
  317. package/lib/commonjs/redux/reducers/message.js +3 -4
  318. package/lib/commonjs/redux/reducers/message.js.map +1 -1
  319. package/lib/commonjs/redux/reducers/userState.js +3 -4
  320. package/lib/commonjs/redux/reducers/userState.js.map +1 -1
  321. package/lib/commonjs/types.js +1 -2
  322. package/lib/commonjs/types.js.map +1 -1
  323. package/lib/commonjs/utils/dimension.js +2 -4
  324. package/lib/commonjs/utils/dimension.js.map +1 -1
  325. package/lib/commonjs/utils/functions.js +10 -3
  326. package/lib/commonjs/utils/functions.js.map +1 -1
  327. package/lib/commonjs/utils/theme.js +7 -10
  328. package/lib/commonjs/utils/theme.js.map +1 -1
  329. package/lib/commonjs/utils/types.js +17 -21
  330. package/lib/commonjs/utils/types.js.map +1 -1
  331. package/lib/commonjs/utils.js +7 -1
  332. package/lib/commonjs/utils.js.map +1 -1
  333. package/lib/module/HMSPrebuilt.js +5 -6
  334. package/lib/module/HMSPrebuilt.js.map +1 -1
  335. package/lib/module/HMSRoomSetup.js +30 -33
  336. package/lib/module/HMSRoomSetup.js.map +1 -1
  337. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  338. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  339. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  340. package/lib/module/Icons/AlertTriangle/index.js +2 -1
  341. package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
  342. package/lib/module/Icons/Chevron/index.js +5 -1
  343. package/lib/module/Icons/Chevron/index.js.map +1 -1
  344. package/lib/module/Icons/Eye/assets/eye-on-small.png +0 -0
  345. package/lib/module/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  346. package/lib/module/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  347. package/lib/module/Icons/Eye/index.js +27 -0
  348. package/lib/module/Icons/Eye/index.js.map +1 -0
  349. package/lib/module/Icons/Leave/index.js +5 -1
  350. package/lib/module/Icons/Leave/index.js.map +1 -1
  351. package/lib/module/Icons/Person/assets/person-left.png +0 -0
  352. package/lib/module/Icons/Person/assets/person-left@2x.png +0 -0
  353. package/lib/module/Icons/Person/assets/person-left@3x.png +0 -0
  354. package/lib/module/Icons/Person/assets/person-off.png +0 -0
  355. package/lib/module/Icons/Person/assets/person-off@2x.png +0 -0
  356. package/lib/module/Icons/Person/assets/person-off@3x.png +0 -0
  357. package/lib/module/Icons/Person/assets/person-rectangle.png +0 -0
  358. package/lib/module/Icons/Person/assets/person-rectangle@2x.png +0 -0
  359. package/lib/module/Icons/Person/assets/person-rectangle@3x.png +0 -0
  360. package/lib/module/Icons/Person/index.js +2 -1
  361. package/lib/module/Icons/Person/index.js.map +1 -1
  362. package/lib/module/Icons/Search/assets/search.png +0 -0
  363. package/lib/module/Icons/Search/assets/search@2x.png +0 -0
  364. package/lib/module/Icons/Search/assets/search@3x.png +0 -0
  365. package/lib/module/Icons/Search/index.js +26 -0
  366. package/lib/module/Icons/Search/index.js.map +1 -0
  367. package/lib/module/Icons/WelcomeHand/assets/welcome-hand.png +0 -0
  368. package/lib/module/Icons/WelcomeHand/assets/welcome-hand@2x.png +0 -0
  369. package/lib/module/Icons/WelcomeHand/assets/welcome-hand@3x.png +0 -0
  370. package/lib/module/Icons/WelcomeHand/index.js +22 -0
  371. package/lib/module/Icons/WelcomeHand/index.js.map +1 -0
  372. package/lib/module/Icons/index.js +3 -0
  373. package/lib/module/Icons/index.js.map +1 -1
  374. package/lib/module/assets/audio-level-white.json +1271 -0
  375. package/lib/module/assets/empty-chat-illustration/empty-chat.png +0 -0
  376. package/lib/module/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  377. package/lib/module/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  378. package/lib/module/components/AnimatedFooter.js +26 -0
  379. package/lib/module/components/AnimatedFooter.js.map +1 -0
  380. package/lib/module/components/AnimatedHLSFooter.js +27 -0
  381. package/lib/module/components/AnimatedHLSFooter.js.map +1 -0
  382. package/lib/module/components/AnimatedHeader.js +35 -0
  383. package/lib/module/components/AnimatedHeader.js.map +1 -0
  384. package/lib/module/components/BottomSheet.js +6 -3
  385. package/lib/module/components/BottomSheet.js.map +1 -1
  386. package/lib/module/components/ChangeNameModalContent.js +13 -6
  387. package/lib/module/components/ChangeNameModalContent.js.map +1 -1
  388. package/lib/module/components/Chat/ChatBanner.js +36 -55
  389. package/lib/module/components/Chat/ChatBanner.js.map +1 -1
  390. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +74 -0
  391. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  392. package/lib/module/components/Chat/ChatFilterBottomSheetView.js +60 -0
  393. package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  394. package/lib/module/components/Chat/ChatFilterItem.js +62 -0
  395. package/lib/module/components/Chat/ChatFilterItem.js.map +1 -0
  396. package/lib/module/components/Chat/ChatFilterView.js +189 -0
  397. package/lib/module/components/Chat/ChatFilterView.js.map +1 -0
  398. package/lib/module/components/Chat/ChatList.js +6 -6
  399. package/lib/module/components/Chat/ChatList.js.map +1 -1
  400. package/lib/module/components/Chat/ChatMessage.js +36 -135
  401. package/lib/module/components/Chat/ChatMessage.js.map +1 -1
  402. package/lib/module/components/Chat/PinnedMessage.js +40 -43
  403. package/lib/module/components/Chat/PinnedMessage.js.map +1 -1
  404. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +33 -0
  405. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  406. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +97 -0
  407. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  408. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +57 -0
  409. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  410. package/lib/module/components/ChatAndParticipants/ChatView.js +28 -0
  411. package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -0
  412. package/lib/module/components/ChatAndParticipants/ParticipantsView.js +31 -0
  413. package/lib/module/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  414. package/lib/module/components/ChatAndParticipants/index.js +2 -0
  415. package/lib/module/components/ChatAndParticipants/index.js.map +1 -0
  416. package/lib/module/components/CompanyLogo.js +4 -3
  417. package/lib/module/components/CompanyLogo.js.map +1 -1
  418. package/lib/module/components/DefaultModal.js +2 -6
  419. package/lib/module/components/DefaultModal.js.map +1 -1
  420. package/lib/module/components/DisplayView.js +7 -20
  421. package/lib/module/components/DisplayView.js.map +1 -1
  422. package/lib/module/components/EndRoomModalContent.js +20 -6
  423. package/lib/module/components/EndRoomModalContent.js.map +1 -1
  424. package/lib/module/components/Footer.js +39 -30
  425. package/lib/module/components/Footer.js.map +1 -1
  426. package/lib/module/components/FullScreenVideoView.js +64 -0
  427. package/lib/module/components/FullScreenVideoView.js.map +1 -0
  428. package/lib/module/components/GridView.js +130 -49
  429. package/lib/module/components/GridView.js.map +1 -1
  430. package/lib/module/components/HLSFooter.js +26 -0
  431. package/lib/module/components/HLSFooter.js.map +1 -0
  432. package/lib/module/components/HLSView.js +11 -23
  433. package/lib/module/components/HLSView.js.map +1 -1
  434. package/lib/module/components/HMSChat.js +16 -15
  435. package/lib/module/components/HMSChat.js.map +1 -1
  436. package/lib/module/components/HMSDangerButton.js +2 -1
  437. package/lib/module/components/HMSDangerButton.js.map +1 -1
  438. package/lib/module/components/HMSHLSMessage.js +58 -0
  439. package/lib/module/components/HMSHLSMessage.js.map +1 -0
  440. package/lib/module/components/HMSHLSMessageList.js +49 -0
  441. package/lib/module/components/HMSHLSMessageList.js.map +1 -0
  442. package/lib/module/components/HMSHLSNotStarted.js +2 -7
  443. package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
  444. package/lib/module/components/HMSHLSStreamLoading.js +5 -3
  445. package/lib/module/components/HMSHLSStreamLoading.js.map +1 -1
  446. package/lib/module/components/HMSHandRaiseNotification.js +75 -0
  447. package/lib/module/components/HMSHandRaiseNotification.js.map +1 -0
  448. package/lib/module/components/HMSKeyboardAvoidingView.js +39 -0
  449. package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -0
  450. package/lib/module/components/HMSLiveIndicator.js +96 -0
  451. package/lib/module/components/HMSLiveIndicator.js.map +1 -0
  452. package/lib/module/components/HMSLocalScreenshareNotification.js +29 -0
  453. package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -0
  454. package/lib/module/components/HMSLocalVideoView.js +4 -23
  455. package/lib/module/components/HMSLocalVideoView.js.map +1 -1
  456. package/lib/module/components/HMSManageAudioOutput.js +8 -2
  457. package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
  458. package/lib/module/components/HMSManageLeave.js +37 -14
  459. package/lib/module/components/HMSManageLeave.js.map +1 -1
  460. package/lib/module/components/HMSManageRaiseHand.js +22 -10
  461. package/lib/module/components/HMSManageRaiseHand.js.map +1 -1
  462. package/lib/module/components/HMSNotification.js +87 -0
  463. package/lib/module/components/HMSNotification.js.map +1 -0
  464. package/lib/module/components/HMSNotifications.js +105 -0
  465. package/lib/module/components/HMSNotifications.js.map +1 -0
  466. package/lib/module/components/HMSOverlayChatView.js +20 -0
  467. package/lib/module/components/HMSOverlayChatView.js.map +1 -0
  468. package/lib/module/components/HMSPreviewHLSLiveIndicator.js +3 -2
  469. package/lib/module/components/HMSPreviewHLSLiveIndicator.js.map +1 -1
  470. package/lib/module/components/HMSPreviewJoinButton.js +10 -6
  471. package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
  472. package/lib/module/components/HMSPreviewNetworkQuality.js +1 -1
  473. package/lib/module/components/HMSPreviewNetworkQuality.js.map +1 -1
  474. package/lib/module/components/HMSPreviewSubtitle.js +2 -4
  475. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
  476. package/lib/module/components/HMSPreviewTile.js +1 -1
  477. package/lib/module/components/HMSPreviewTile.js.map +1 -1
  478. package/lib/module/components/HMSPreviewTitle.js +2 -4
  479. package/lib/module/components/HMSPreviewTitle.js.map +1 -1
  480. package/lib/module/components/HMSRecordingIndicator.js +10 -3
  481. package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
  482. package/lib/module/components/HMSRoleChangeDeclinedNotification.js +21 -0
  483. package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  484. package/lib/module/components/HMSSendMessageInput.js +48 -0
  485. package/lib/module/components/HMSSendMessageInput.js.map +1 -0
  486. package/lib/module/components/HMSTextInput.js +100 -14
  487. package/lib/module/components/HMSTextInput.js.map +1 -1
  488. package/lib/module/components/HMSVideoView.js +34 -0
  489. package/lib/module/components/HMSVideoView.js.map +1 -0
  490. package/lib/module/components/Header.js +18 -123
  491. package/lib/module/components/Header.js.map +1 -1
  492. package/lib/module/components/LocalPeerScreenshareView.js +1 -6
  493. package/lib/module/components/LocalPeerScreenshareView.js.map +1 -1
  494. package/lib/module/components/Meeting.js +8 -7
  495. package/lib/module/components/Meeting.js.map +1 -1
  496. package/lib/module/components/MeetingScreenContent.js +23 -10
  497. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  498. package/lib/module/components/MenuModal/Menu.js +2 -2
  499. package/lib/module/components/MenuModal/Menu.js.map +1 -1
  500. package/lib/module/components/MiniView.js +8 -3
  501. package/lib/module/components/MiniView.js.map +1 -1
  502. package/lib/module/components/Modals.js +88 -313
  503. package/lib/module/components/Modals.js.map +1 -1
  504. package/lib/module/components/OverlayContainer.js +32 -0
  505. package/lib/module/components/OverlayContainer.js.map +1 -0
  506. package/lib/module/components/OverlayedViews.js +13 -0
  507. package/lib/module/components/OverlayedViews.js.map +1 -0
  508. package/lib/module/components/PIPView.js +21 -13
  509. package/lib/module/components/PIPView.js.map +1 -1
  510. package/lib/module/components/PaginationDots.js +4 -4
  511. package/lib/module/components/PaginationDots.js.map +1 -1
  512. package/lib/module/components/Participants/MultiRoleParticipantsList.js +56 -0
  513. package/lib/module/components/Participants/MultiRoleParticipantsList.js.map +1 -0
  514. package/lib/module/components/Participants/ParticipantsAccordian.js +51 -0
  515. package/lib/module/components/Participants/ParticipantsAccordian.js.map +1 -0
  516. package/lib/module/components/Participants/ParticipantsAccordianExpanded.js +16 -0
  517. package/lib/module/components/Participants/ParticipantsAccordianExpanded.js.map +1 -0
  518. package/lib/module/components/Participants/ParticipantsGroupFooter.js +53 -0
  519. package/lib/module/components/Participants/ParticipantsGroupFooter.js.map +1 -0
  520. package/lib/module/components/Participants/ParticipantsGroupHeader.js +122 -0
  521. package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  522. package/lib/module/components/Participants/ParticipantsGroupOptions.js +71 -0
  523. package/lib/module/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  524. package/lib/module/components/Participants/ParticipantsItem.js +115 -0
  525. package/lib/module/components/Participants/ParticipantsItem.js.map +1 -0
  526. package/lib/module/components/Participants/ParticipantsItemOption.js +37 -0
  527. package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -0
  528. package/lib/module/components/Participants/ParticipantsItemOptions.js +211 -0
  529. package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -0
  530. package/lib/module/components/Participants/ParticipantsList.js +171 -219
  531. package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
  532. package/lib/module/components/Participants/ParticipantsListFooter.js +35 -0
  533. package/lib/module/components/Participants/ParticipantsListFooter.js.map +1 -0
  534. package/lib/module/components/Participants/ParticipantsSeachInput.js +37 -30
  535. package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
  536. package/lib/module/components/Participants/index.js +1 -3
  537. package/lib/module/components/Participants/index.js.map +1 -1
  538. package/lib/module/components/PeerMinimizedView.js +1 -1
  539. package/lib/module/components/PeerSettingsModalContent.js +50 -126
  540. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  541. package/lib/module/components/PeerVideoTile/AvatarView.js +20 -6
  542. package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
  543. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +36 -0
  544. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  545. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +193 -0
  546. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  547. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +65 -0
  548. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  549. package/lib/module/components/PeerVideoTile/PeerMetadata.js +21 -11
  550. package/lib/module/components/PeerVideoTile/PeerMetadata.js.map +1 -1
  551. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +11 -3
  552. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  553. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +59 -22
  554. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  555. package/lib/module/components/PeerVideoTile/VideoView.js +43 -10
  556. package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
  557. package/lib/module/components/PressableIcon.js +11 -6
  558. package/lib/module/components/PressableIcon.js.map +1 -1
  559. package/lib/module/components/Preview.js +11 -14
  560. package/lib/module/components/Preview.js.map +1 -1
  561. package/lib/module/components/PreviewForRoleChangeModal.js +317 -0
  562. package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -0
  563. package/lib/module/components/ReconnectionView.js +56 -0
  564. package/lib/module/components/ReconnectionView.js.map +1 -0
  565. package/lib/module/components/RoomSettingsModalContent.js +53 -26
  566. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  567. package/lib/module/components/RoomSettingsModalDebugModeContent.js +32 -71
  568. package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  569. package/lib/module/components/StreamingQualityModalContent.js +8 -8
  570. package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
  571. package/lib/module/components/TilesContainer.js +31 -9
  572. package/lib/module/components/TilesContainer.js.map +1 -1
  573. package/lib/module/components/WebrtcView.js +13 -15
  574. package/lib/module/components/WebrtcView.js.map +1 -1
  575. package/lib/module/components/WelcomeInMeeting.js +19 -22
  576. package/lib/module/components/WelcomeInMeeting.js.map +1 -1
  577. package/lib/module/components/index.js +0 -3
  578. package/lib/module/components/index.js.map +1 -1
  579. package/lib/module/hooks-sdk.js +46 -1
  580. package/lib/module/hooks-sdk.js.map +1 -1
  581. package/lib/module/hooks-util-selectors.js +38 -8
  582. package/lib/module/hooks-util-selectors.js.map +1 -1
  583. package/lib/module/hooks-util.js +654 -239
  584. package/lib/module/hooks-util.js.map +1 -1
  585. package/lib/module/modules/HMSManager.js +3 -3
  586. package/lib/module/modules/HMSManager.js.map +1 -1
  587. package/lib/module/modules/parser.js +2 -3
  588. package/lib/module/modules/parser.js.map +1 -1
  589. package/lib/module/redux/actionTypes.js +28 -1
  590. package/lib/module/redux/actionTypes.js.map +1 -1
  591. package/lib/module/redux/actions/index.js +87 -0
  592. package/lib/module/redux/actions/index.js.map +1 -1
  593. package/lib/module/redux/reducers/appState.js +78 -2
  594. package/lib/module/redux/reducers/appState.js.map +1 -1
  595. package/lib/module/redux/reducers/chatWindow.js +3 -7
  596. package/lib/module/redux/reducers/chatWindow.js.map +1 -1
  597. package/lib/module/redux/reducers/hmsStates.js +241 -7
  598. package/lib/module/redux/reducers/hmsStates.js.map +1 -1
  599. package/lib/module/utils/functions.js +8 -2
  600. package/lib/module/utils/functions.js.map +1 -1
  601. package/lib/module/utils/theme.js +2 -0
  602. package/lib/module/utils/theme.js.map +1 -1
  603. package/lib/module/utils/types.js +7 -2
  604. package/lib/module/utils/types.js.map +1 -1
  605. package/lib/module/utils.js +6 -0
  606. package/lib/module/utils.js.map +1 -1
  607. package/lib/typescript/HMSPrebuilt.d.ts +1 -0
  608. package/lib/typescript/HMSPrebuilt.d.ts.map +1 -1
  609. package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
  610. package/lib/typescript/Icons/AlertTriangle/index.d.ts +1 -0
  611. package/lib/typescript/Icons/AlertTriangle/index.d.ts.map +1 -1
  612. package/lib/typescript/Icons/Chevron/index.d.ts +1 -1
  613. package/lib/typescript/Icons/Chevron/index.d.ts.map +1 -1
  614. package/lib/typescript/Icons/Eye/index.d.ts +8 -0
  615. package/lib/typescript/Icons/Eye/index.d.ts.map +1 -0
  616. package/lib/typescript/Icons/Leave/index.d.ts.map +1 -1
  617. package/lib/typescript/Icons/Person/index.d.ts +1 -0
  618. package/lib/typescript/Icons/Person/index.d.ts.map +1 -1
  619. package/lib/typescript/Icons/Search/index.d.ts +7 -0
  620. package/lib/typescript/Icons/Search/index.d.ts.map +1 -0
  621. package/lib/typescript/Icons/WelcomeHand/index.d.ts +7 -0
  622. package/lib/typescript/Icons/WelcomeHand/index.d.ts.map +1 -0
  623. package/lib/typescript/Icons/index.d.ts +3 -0
  624. package/lib/typescript/Icons/index.d.ts.map +1 -1
  625. package/lib/typescript/components/AnimatedFooter.d.ts +8 -0
  626. package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -0
  627. package/lib/typescript/components/AnimatedHLSFooter.d.ts +11 -0
  628. package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -0
  629. package/lib/typescript/components/AnimatedHeader.d.ts +7 -0
  630. package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -0
  631. package/lib/typescript/components/BottomSheet.d.ts +4 -1
  632. package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
  633. package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
  634. package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
  635. package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
  636. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +6 -0
  637. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -0
  638. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts +6 -0
  639. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -0
  640. package/lib/typescript/components/Chat/ChatFilterItem.d.ts +12 -0
  641. package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -0
  642. package/lib/typescript/components/Chat/ChatFilterView.d.ts +6 -0
  643. package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -0
  644. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
  645. package/lib/typescript/components/Chat/ChatMessage.d.ts +2 -2
  646. package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
  647. package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -1
  648. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts +3 -0
  649. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -0
  650. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts +7 -0
  651. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -0
  652. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts +3 -0
  653. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -0
  654. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts +6 -0
  655. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -0
  656. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts +5 -0
  657. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts.map +1 -0
  658. package/lib/typescript/components/ChatAndParticipants/index.d.ts +2 -0
  659. package/lib/typescript/components/ChatAndParticipants/index.d.ts.map +1 -0
  660. package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
  661. package/lib/typescript/components/DefaultModal.d.ts.map +1 -1
  662. package/lib/typescript/components/DisplayView.d.ts.map +1 -1
  663. package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
  664. package/lib/typescript/components/Footer.d.ts +0 -2
  665. package/lib/typescript/components/Footer.d.ts.map +1 -1
  666. package/lib/typescript/components/FullScreenVideoView.d.ts +3 -0
  667. package/lib/typescript/components/FullScreenVideoView.d.ts.map +1 -0
  668. package/lib/typescript/components/GridView.d.ts +12 -1
  669. package/lib/typescript/components/GridView.d.ts.map +1 -1
  670. package/lib/typescript/components/HLSFooter.d.ts +8 -0
  671. package/lib/typescript/components/HLSFooter.d.ts.map +1 -0
  672. package/lib/typescript/components/HLSView.d.ts.map +1 -1
  673. package/lib/typescript/components/HMSBaseButton.d.ts +2 -2
  674. package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
  675. package/lib/typescript/components/HMSChat.d.ts.map +1 -1
  676. package/lib/typescript/components/HMSDangerButton.d.ts.map +1 -1
  677. package/lib/typescript/components/HMSHLSMessage.d.ts +8 -0
  678. package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -0
  679. package/lib/typescript/components/HMSHLSMessageList.d.ts +3 -0
  680. package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -0
  681. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
  682. package/lib/typescript/components/HMSHLSStreamLoading.d.ts.map +1 -1
  683. package/lib/typescript/components/HMSHandRaiseNotification.d.ts +10 -0
  684. package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -0
  685. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +8 -0
  686. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -0
  687. package/lib/typescript/components/HMSLiveIndicator.d.ts +3 -0
  688. package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -0
  689. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts +5 -0
  690. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -0
  691. package/lib/typescript/components/HMSLocalVideoView.d.ts.map +1 -1
  692. package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
  693. package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
  694. package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -1
  695. package/lib/typescript/components/HMSNotification.d.ts +15 -0
  696. package/lib/typescript/components/HMSNotification.d.ts.map +1 -0
  697. package/lib/typescript/components/HMSNotifications.d.ts +5 -0
  698. package/lib/typescript/components/HMSNotifications.d.ts.map +1 -0
  699. package/lib/typescript/components/HMSOverlayChatView.d.ts +3 -0
  700. package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -0
  701. package/lib/typescript/components/HMSPreviewHLSLiveIndicator.d.ts.map +1 -1
  702. package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
  703. package/lib/typescript/components/HMSPreviewNetworkQuality.d.ts.map +1 -1
  704. package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
  705. package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
  706. package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
  707. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts +9 -0
  708. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts.map +1 -0
  709. package/lib/typescript/components/HMSSendMessageInput.d.ts +9 -0
  710. package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -0
  711. package/lib/typescript/components/HMSTextInput.d.ts +20 -6
  712. package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
  713. package/lib/typescript/components/HMSVideoView.d.ts +6 -0
  714. package/lib/typescript/components/HMSVideoView.d.ts.map +1 -0
  715. package/lib/typescript/components/Header.d.ts +3 -2
  716. package/lib/typescript/components/Header.d.ts.map +1 -1
  717. package/lib/typescript/components/LocalPeerScreenshareView.d.ts.map +1 -1
  718. package/lib/typescript/components/Meeting.d.ts.map +1 -1
  719. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  720. package/lib/typescript/components/MiniView.d.ts.map +1 -1
  721. package/lib/typescript/components/Modals.d.ts +1 -21
  722. package/lib/typescript/components/Modals.d.ts.map +1 -1
  723. package/lib/typescript/components/OverlayContainer.d.ts +9 -0
  724. package/lib/typescript/components/OverlayContainer.d.ts.map +1 -0
  725. package/lib/typescript/components/OverlayedViews.d.ts +4 -0
  726. package/lib/typescript/components/OverlayedViews.d.ts.map +1 -0
  727. package/lib/typescript/components/PIPView.d.ts +2 -1
  728. package/lib/typescript/components/PIPView.d.ts.map +1 -1
  729. package/lib/typescript/components/PaginationDots.d.ts +3 -0
  730. package/lib/typescript/components/PaginationDots.d.ts.map +1 -1
  731. package/lib/typescript/components/Participants/MultiRoleParticipantsList.d.ts +7 -0
  732. package/lib/typescript/components/Participants/MultiRoleParticipantsList.d.ts.map +1 -0
  733. package/lib/typescript/components/Participants/ParticipantsAccordian.d.ts +11 -0
  734. package/lib/typescript/components/Participants/ParticipantsAccordian.d.ts.map +1 -0
  735. package/lib/typescript/components/Participants/ParticipantsAccordianExpanded.d.ts +9 -0
  736. package/lib/typescript/components/Participants/ParticipantsAccordianExpanded.d.ts.map +1 -0
  737. package/lib/typescript/components/Participants/ParticipantsGroupFooter.d.ts +9 -0
  738. package/lib/typescript/components/Participants/ParticipantsGroupFooter.d.ts.map +1 -0
  739. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts +12 -0
  740. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -0
  741. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts +6 -0
  742. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts.map +1 -0
  743. package/lib/typescript/components/Participants/ParticipantsItem.d.ts +9 -0
  744. package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -0
  745. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts +12 -0
  746. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts.map +1 -0
  747. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts +10 -0
  748. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -0
  749. package/lib/typescript/components/Participants/ParticipantsList.d.ts +3 -2
  750. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
  751. package/lib/typescript/components/Participants/ParticipantsListFooter.d.ts +6 -0
  752. package/lib/typescript/components/Participants/ParticipantsListFooter.d.ts.map +1 -0
  753. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
  754. package/lib/typescript/components/Participants/index.d.ts +1 -3
  755. package/lib/typescript/components/Participants/index.d.ts.map +1 -1
  756. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
  757. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts +4 -0
  758. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts.map +1 -1
  759. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts +7 -0
  760. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts.map +1 -0
  761. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts +7 -0
  762. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts.map +1 -0
  763. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts +8 -0
  764. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts.map +1 -0
  765. package/lib/typescript/components/PeerVideoTile/PeerMetadata.d.ts +1 -0
  766. package/lib/typescript/components/PeerVideoTile/PeerMetadata.d.ts.map +1 -1
  767. package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
  768. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts +2 -1
  769. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
  770. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts +1 -0
  771. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts.map +1 -1
  772. package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
  773. package/lib/typescript/components/Preview.d.ts.map +1 -1
  774. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts +3 -0
  775. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -0
  776. package/lib/typescript/components/ReconnectionView.d.ts +4 -0
  777. package/lib/typescript/components/ReconnectionView.d.ts.map +1 -0
  778. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  779. package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
  780. package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -1
  781. package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
  782. package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
  783. package/lib/typescript/components/WelcomeInMeeting.d.ts.map +1 -1
  784. package/lib/typescript/components/index.d.ts +0 -3
  785. package/lib/typescript/components/index.d.ts.map +1 -1
  786. package/lib/typescript/hooks-sdk.d.ts +4 -0
  787. package/lib/typescript/hooks-sdk.d.ts.map +1 -1
  788. package/lib/typescript/hooks-util-selectors.d.ts +7 -2
  789. package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
  790. package/lib/typescript/hooks-util.d.ts +46 -26
  791. package/lib/typescript/hooks-util.d.ts.map +1 -1
  792. package/lib/typescript/modules/HMSManager.d.ts +1 -1
  793. package/lib/typescript/modules/HMSManager.d.ts.map +1 -1
  794. package/lib/typescript/modules/parser.d.ts +1 -1
  795. package/lib/typescript/modules/parser.d.ts.map +1 -1
  796. package/lib/typescript/redux/actionTypes.d.ts +19 -1
  797. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  798. package/lib/typescript/redux/actions/index.d.ts +105 -4
  799. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  800. package/lib/typescript/redux/index.d.ts +22 -2
  801. package/lib/typescript/redux/index.d.ts.map +1 -1
  802. package/lib/typescript/redux/reducers/appState.d.ts +10 -0
  803. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  804. package/lib/typescript/redux/reducers/chatWindow.d.ts +6 -6
  805. package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
  806. package/lib/typescript/redux/reducers/hmsStates.d.ts +45 -4
  807. package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
  808. package/lib/typescript/redux/reducers/index.d.ts +22 -2
  809. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  810. package/lib/typescript/redux/reducers/userState.d.ts +1 -0
  811. package/lib/typescript/redux/reducers/userState.d.ts.map +1 -1
  812. package/lib/typescript/utils/functions.d.ts +3 -2
  813. package/lib/typescript/utils/functions.d.ts.map +1 -1
  814. package/lib/typescript/utils/theme.d.ts +1 -1
  815. package/lib/typescript/utils/theme.d.ts.map +1 -1
  816. package/lib/typescript/utils/types.d.ts +7 -2
  817. package/lib/typescript/utils/types.d.ts.map +1 -1
  818. package/lib/typescript/utils.d.ts +5 -0
  819. package/lib/typescript/utils.d.ts.map +1 -1
  820. package/package.json +13 -9
  821. package/src/HMSPrebuilt.tsx +9 -12
  822. package/src/HMSRoomSetup.tsx +51 -29
  823. package/src/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  824. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  825. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  826. package/src/Icons/AlertTriangle/index.tsx +9 -2
  827. package/src/Icons/Chevron/index.tsx +9 -2
  828. package/src/Icons/Eye/assets/eye-on-small.png +0 -0
  829. package/src/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  830. package/src/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  831. package/src/Icons/Eye/index.tsx +36 -0
  832. package/src/Icons/Leave/index.tsx +7 -1
  833. package/src/Icons/Person/assets/person-left.png +0 -0
  834. package/src/Icons/Person/assets/person-left@2x.png +0 -0
  835. package/src/Icons/Person/assets/person-left@3x.png +0 -0
  836. package/src/Icons/Person/assets/person-off.png +0 -0
  837. package/src/Icons/Person/assets/person-off@2x.png +0 -0
  838. package/src/Icons/Person/assets/person-off@3x.png +0 -0
  839. package/src/Icons/Person/assets/person-rectangle.png +0 -0
  840. package/src/Icons/Person/assets/person-rectangle@2x.png +0 -0
  841. package/src/Icons/Person/assets/person-rectangle@3x.png +0 -0
  842. package/src/Icons/Person/index.tsx +13 -2
  843. package/src/Icons/Search/assets/search.png +0 -0
  844. package/src/Icons/Search/assets/search@2x.png +0 -0
  845. package/src/Icons/Search/assets/search@3x.png +0 -0
  846. package/src/Icons/Search/index.tsx +33 -0
  847. package/src/Icons/WelcomeHand/assets/welcome-hand.png +0 -0
  848. package/src/Icons/WelcomeHand/assets/welcome-hand@2x.png +0 -0
  849. package/src/Icons/WelcomeHand/assets/welcome-hand@3x.png +0 -0
  850. package/src/Icons/WelcomeHand/index.tsx +27 -0
  851. package/src/Icons/index.ts +3 -0
  852. package/src/assets/audio-level-white.json +1271 -0
  853. package/src/assets/empty-chat-illustration/empty-chat.png +0 -0
  854. package/src/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  855. package/src/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  856. package/src/components/AnimatedFooter.tsx +37 -0
  857. package/src/components/AnimatedHLSFooter.tsx +43 -0
  858. package/src/components/AnimatedHeader.tsx +53 -0
  859. package/src/components/BottomSheet.tsx +8 -4
  860. package/src/components/ChangeNameModalContent.tsx +19 -9
  861. package/src/components/Chat/ChatBanner.tsx +37 -52
  862. package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +88 -0
  863. package/src/components/Chat/ChatFilterBottomSheetView.tsx +81 -0
  864. package/src/components/Chat/ChatFilterItem.tsx +71 -0
  865. package/src/components/Chat/ChatFilterView.tsx +250 -0
  866. package/src/components/Chat/ChatList.tsx +16 -12
  867. package/src/components/Chat/ChatMessage.tsx +48 -197
  868. package/src/components/Chat/PinnedMessage.tsx +45 -45
  869. package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +38 -0
  870. package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +143 -0
  871. package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +84 -0
  872. package/src/components/ChatAndParticipants/ChatView.tsx +42 -0
  873. package/src/components/ChatAndParticipants/ParticipantsView.tsx +49 -0
  874. package/src/components/ChatAndParticipants/index.ts +1 -0
  875. package/src/components/CompanyLogo.tsx +3 -2
  876. package/src/components/DefaultModal.tsx +4 -6
  877. package/src/components/DisplayView.tsx +10 -26
  878. package/src/components/EndRoomModalContent.tsx +32 -7
  879. package/src/components/Footer.tsx +93 -58
  880. package/src/components/FullScreenVideoView.tsx +77 -0
  881. package/src/components/GridView.tsx +186 -65
  882. package/src/components/HLSFooter.tsx +32 -0
  883. package/src/components/HLSView.tsx +5 -32
  884. package/src/components/HMSBaseButton.tsx +2 -2
  885. package/src/components/HMSChat.tsx +12 -25
  886. package/src/components/HMSDangerButton.tsx +2 -1
  887. package/src/components/HMSHLSMessage.tsx +72 -0
  888. package/src/components/HMSHLSMessageList.tsx +60 -0
  889. package/src/components/HMSHLSNotStarted.tsx +8 -19
  890. package/src/components/HMSHLSStreamLoading.tsx +9 -3
  891. package/src/components/HMSHandRaiseNotification.tsx +101 -0
  892. package/src/components/HMSKeyboardAvoidingView.tsx +58 -0
  893. package/src/components/HMSLiveIndicator.tsx +124 -0
  894. package/src/components/HMSLocalScreenshareNotification.tsx +41 -0
  895. package/src/components/HMSLocalVideoView.tsx +4 -31
  896. package/src/components/HMSManageAudioOutput.tsx +14 -2
  897. package/src/components/HMSManageLeave.tsx +47 -19
  898. package/src/components/HMSManageRaiseHand.tsx +20 -13
  899. package/src/components/HMSNotification.tsx +126 -0
  900. package/src/components/HMSNotifications.tsx +154 -0
  901. package/src/components/HMSOverlayChatView.tsx +36 -0
  902. package/src/components/HMSPreviewHLSLiveIndicator.tsx +3 -2
  903. package/src/components/HMSPreviewJoinButton.tsx +20 -6
  904. package/src/components/HMSPreviewNetworkQuality.tsx +3 -1
  905. package/src/components/HMSPreviewSubtitle.tsx +2 -6
  906. package/src/components/HMSPreviewTile.tsx +1 -1
  907. package/src/components/HMSPreviewTitle.tsx +2 -6
  908. package/src/components/HMSRecordingIndicator.tsx +16 -3
  909. package/src/components/HMSRoleChangeDeclinedNotification.tsx +25 -0
  910. package/src/components/HMSSendMessageInput.tsx +59 -0
  911. package/src/components/HMSTextInput.tsx +158 -24
  912. package/src/components/HMSVideoView.tsx +43 -0
  913. package/src/components/Header.tsx +25 -133
  914. package/src/components/LocalPeerScreenshareView.tsx +0 -6
  915. package/src/components/Meeting.tsx +15 -8
  916. package/src/components/MeetingScreenContent.tsx +28 -11
  917. package/src/components/MiniView.tsx +10 -4
  918. package/src/components/Modals.tsx +112 -370
  919. package/src/components/OverlayContainer.tsx +31 -0
  920. package/src/components/OverlayedViews.tsx +22 -0
  921. package/src/components/PIPView.tsx +34 -13
  922. package/src/components/PaginationDots.tsx +9 -8
  923. package/src/components/Participants/MultiRoleParticipantsList.tsx +70 -0
  924. package/src/components/Participants/ParticipantsAccordian.tsx +70 -0
  925. package/src/components/Participants/ParticipantsAccordianExpanded.tsx +27 -0
  926. package/src/components/Participants/ParticipantsGroupFooter.tsx +65 -0
  927. package/src/components/Participants/ParticipantsGroupHeader.tsx +145 -0
  928. package/src/components/Participants/ParticipantsGroupOptions.tsx +82 -0
  929. package/src/components/Participants/ParticipantsItem.tsx +153 -0
  930. package/src/components/Participants/ParticipantsItemOption.tsx +52 -0
  931. package/src/components/Participants/ParticipantsItemOptions.tsx +262 -0
  932. package/src/components/Participants/ParticipantsList.tsx +222 -269
  933. package/src/components/Participants/ParticipantsListFooter.tsx +45 -0
  934. package/src/components/Participants/ParticipantsSeachInput.tsx +37 -35
  935. package/src/components/Participants/index.ts +1 -3
  936. package/src/components/PeerMinimizedView.tsx +1 -1
  937. package/src/components/PeerSettingsModalContent.tsx +44 -191
  938. package/src/components/PeerVideoTile/AvatarView.tsx +44 -6
  939. package/src/components/PeerVideoTile/HMSFullScreenButton.tsx +56 -0
  940. package/src/components/PeerVideoTile/HMSPinchGesture.tsx +176 -0
  941. package/src/components/PeerVideoTile/PeerAudioIndicator.tsx +83 -0
  942. package/src/components/PeerVideoTile/PeerMetadata.tsx +21 -12
  943. package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +15 -2
  944. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +189 -115
  945. package/src/components/PeerVideoTile/VideoView.tsx +59 -9
  946. package/src/components/PressableIcon.tsx +26 -13
  947. package/src/components/Preview.tsx +39 -32
  948. package/src/components/PreviewForRoleChangeModal.tsx +443 -0
  949. package/src/components/ReconnectionView.tsx +73 -0
  950. package/src/components/RoomSettingsModalContent.tsx +60 -23
  951. package/src/components/RoomSettingsModalDebugModeContent.tsx +12 -66
  952. package/src/components/StreamingQualityModalContent.tsx +8 -8
  953. package/src/components/TilesContainer.tsx +54 -24
  954. package/src/components/WebrtcView.tsx +36 -17
  955. package/src/components/WelcomeInMeeting.tsx +19 -20
  956. package/src/components/index.ts +0 -3
  957. package/src/hooks-sdk.ts +58 -0
  958. package/src/hooks-util-selectors.tsx +69 -6
  959. package/src/hooks-util.ts +910 -292
  960. package/src/modules/HMSManager.ts +3 -3
  961. package/src/modules/parser.ts +3 -4
  962. package/src/redux/actionTypes.ts +36 -0
  963. package/src/redux/actions/index.ts +112 -1
  964. package/src/redux/reducers/appState.ts +83 -1
  965. package/src/redux/reducers/chatWindow.ts +12 -5
  966. package/src/redux/reducers/hmsStates.ts +369 -4
  967. package/src/redux/reducers/userState.ts +1 -1
  968. package/src/utils/functions.ts +9 -1
  969. package/src/utils/theme.ts +3 -1
  970. package/src/utils/types.ts +8 -2
  971. package/src/utils.ts +6 -0
  972. package/lib/commonjs/assets/100ms-logo.png +0 -0
  973. package/lib/commonjs/assets/brb.png +0 -0
  974. package/lib/commonjs/assets/icon.png +0 -0
  975. package/lib/commonjs/assets/illustration.png +0 -0
  976. package/lib/commonjs/assets/network_0.png +0 -0
  977. package/lib/commonjs/assets/network_1.png +0 -0
  978. package/lib/commonjs/assets/network_2.png +0 -0
  979. package/lib/commonjs/assets/network_3.png +0 -0
  980. package/lib/commonjs/assets/network_4.png +0 -0
  981. package/lib/commonjs/assets/user_music.png +0 -0
  982. package/lib/commonjs/components/ChatWindow.js +0 -608
  983. package/lib/commonjs/components/ChatWindow.js.map +0 -1
  984. package/lib/commonjs/components/CustomInput.js +0 -89
  985. package/lib/commonjs/components/CustomInput.js.map +0 -1
  986. package/lib/commonjs/components/DisplayTrack.js +0 -70
  987. package/lib/commonjs/components/DisplayTrack.js.map +0 -1
  988. package/lib/commonjs/components/HMSShareScreen.js +0 -59
  989. package/lib/commonjs/components/HMSShareScreen.js.map +0 -1
  990. package/lib/commonjs/components/HMSShowNetworkQuality.js +0 -56
  991. package/lib/commonjs/components/HMSShowNetworkQuality.js.map +0 -1
  992. package/lib/commonjs/components/LiveButton.js +0 -70
  993. package/lib/commonjs/components/LiveButton.js.map +0 -1
  994. package/lib/commonjs/components/Participants/ParticipantsFilter.js +0 -128
  995. package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +0 -1
  996. package/lib/commonjs/components/Participants/ParticipantsHeader.js +0 -67
  997. package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +0 -1
  998. package/lib/commonjs/components/Participants/SearchableParticipantsView.js +0 -27
  999. package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +0 -1
  1000. package/lib/commonjs/components/ParticipantsModal.js +0 -43
  1001. package/lib/commonjs/components/ParticipantsModal.js.map +0 -1
  1002. package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -44
  1003. package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  1004. package/lib/commonjs/components/Picker.js +0 -93
  1005. package/lib/commonjs/components/Picker.js.map +0 -1
  1006. package/lib/module/assets/100ms-logo.png +0 -0
  1007. package/lib/module/assets/brb.png +0 -0
  1008. package/lib/module/assets/icon.png +0 -0
  1009. package/lib/module/assets/illustration.png +0 -0
  1010. package/lib/module/assets/network_0.png +0 -0
  1011. package/lib/module/assets/network_1.png +0 -0
  1012. package/lib/module/assets/network_2.png +0 -0
  1013. package/lib/module/assets/network_3.png +0 -0
  1014. package/lib/module/assets/network_4.png +0 -0
  1015. package/lib/module/assets/user_music.png +0 -0
  1016. package/lib/module/components/ChatWindow.js +0 -595
  1017. package/lib/module/components/ChatWindow.js.map +0 -1
  1018. package/lib/module/components/CustomInput.js +0 -82
  1019. package/lib/module/components/CustomInput.js.map +0 -1
  1020. package/lib/module/components/DisplayTrack.js +0 -63
  1021. package/lib/module/components/DisplayTrack.js.map +0 -1
  1022. package/lib/module/components/HMSShareScreen.js +0 -50
  1023. package/lib/module/components/HMSShareScreen.js.map +0 -1
  1024. package/lib/module/components/HMSShowNetworkQuality.js +0 -47
  1025. package/lib/module/components/HMSShowNetworkQuality.js.map +0 -1
  1026. package/lib/module/components/LiveButton.js +0 -61
  1027. package/lib/module/components/LiveButton.js.map +0 -1
  1028. package/lib/module/components/Participants/ParticipantsFilter.js +0 -121
  1029. package/lib/module/components/Participants/ParticipantsFilter.js.map +0 -1
  1030. package/lib/module/components/Participants/ParticipantsHeader.js +0 -58
  1031. package/lib/module/components/Participants/ParticipantsHeader.js.map +0 -1
  1032. package/lib/module/components/Participants/SearchableParticipantsView.js +0 -18
  1033. package/lib/module/components/Participants/SearchableParticipantsView.js.map +0 -1
  1034. package/lib/module/components/ParticipantsModal.js +0 -34
  1035. package/lib/module/components/ParticipantsModal.js.map +0 -1
  1036. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -35
  1037. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  1038. package/lib/module/components/Picker.js +0 -83
  1039. package/lib/module/components/Picker.js.map +0 -1
  1040. package/lib/typescript/components/ChatWindow.d.ts +0 -22
  1041. package/lib/typescript/components/ChatWindow.d.ts.map +0 -1
  1042. package/lib/typescript/components/CustomInput.d.ts +0 -24
  1043. package/lib/typescript/components/CustomInput.d.ts.map +0 -1
  1044. package/lib/typescript/components/DisplayTrack.d.ts +0 -9
  1045. package/lib/typescript/components/DisplayTrack.d.ts.map +0 -1
  1046. package/lib/typescript/components/HMSShareScreen.d.ts +0 -9
  1047. package/lib/typescript/components/HMSShareScreen.d.ts.map +0 -1
  1048. package/lib/typescript/components/HMSShowNetworkQuality.d.ts +0 -3
  1049. package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +0 -1
  1050. package/lib/typescript/components/LiveButton.d.ts +0 -17
  1051. package/lib/typescript/components/LiveButton.d.ts.map +0 -1
  1052. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +0 -6
  1053. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +0 -1
  1054. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +0 -9
  1055. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +0 -1
  1056. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +0 -3
  1057. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +0 -1
  1058. package/lib/typescript/components/ParticipantsModal.d.ts +0 -5
  1059. package/lib/typescript/components/ParticipantsModal.d.ts.map +0 -1
  1060. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts +0 -6
  1061. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts.map +0 -1
  1062. package/lib/typescript/components/Picker.d.ts +0 -9
  1063. package/lib/typescript/components/Picker.d.ts.map +0 -1
  1064. package/src/assets/100ms-logo.png +0 -0
  1065. package/src/assets/brb.png +0 -0
  1066. package/src/assets/icon.png +0 -0
  1067. package/src/assets/illustration.png +0 -0
  1068. package/src/assets/network_0.png +0 -0
  1069. package/src/assets/network_1.png +0 -0
  1070. package/src/assets/network_2.png +0 -0
  1071. package/src/assets/network_3.png +0 -0
  1072. package/src/assets/network_4.png +0 -0
  1073. package/src/assets/user_music.png +0 -0
  1074. package/src/components/ChatWindow.tsx +0 -706
  1075. package/src/components/CustomInput.tsx +0 -138
  1076. package/src/components/DisplayTrack.tsx +0 -92
  1077. package/src/components/HMSShareScreen.tsx +0 -71
  1078. package/src/components/HMSShowNetworkQuality.tsx +0 -68
  1079. package/src/components/LiveButton.tsx +0 -77
  1080. package/src/components/Participants/ParticipantsFilter.tsx +0 -144
  1081. package/src/components/Participants/ParticipantsHeader.tsx +0 -64
  1082. package/src/components/Participants/SearchableParticipantsView.tsx +0 -21
  1083. package/src/components/ParticipantsModal.tsx +0 -46
  1084. package/src/components/PeerVideoTile/PeerAudioMutedIndicator.tsx +0 -41
  1085. package/src/components/Picker.tsx +0 -108
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports._Footer = exports.Footer = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
- var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
10
9
  var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
11
10
  var _hooksUtil = require("../hooks-util");
12
11
  var _HMSManageLeave = require("./HMSManageLeave");
@@ -16,18 +15,38 @@ var _HMSManageLocalVideo = require("./HMSManageLocalVideo");
16
15
  var _HMSChat = require("./HMSChat");
17
16
  var _HMSRoomOptions = require("./HMSRoomOptions");
18
17
  var _hooksSdk = require("../hooks-sdk");
19
- 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); }
20
- 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; }
21
- const _Footer = _ref => {
22
- let {
23
- offset
24
- } = _ref;
18
+ var _reactRedux = require("react-redux");
19
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
20
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
+ const _Footer = () => {
25
22
  const isHLSViewer = (0, _hooksUtil.useIsHLSViewer)();
26
23
  const canPublishAudio = (0, _hooksSdk.useCanPublishAudio)();
27
24
  const canPublishVideo = (0, _hooksSdk.useCanPublishVideo)();
25
+ const canPublishScreen = (0, _hooksSdk.useCanPublishScreen)();
26
+ const isViewer = !(canPublishAudio || canPublishVideo || canPublishScreen);
27
+ const {
28
+ canShowParticipants,
29
+ canShowChat
30
+ } = (0, _hooksUtil.useShowChatAndParticipants)();
31
+ const canShowBRB = (0, _hooksUtil.useHMSLayoutConfig)(layoutConfig => {
32
+ var _layoutConfig$screens;
33
+ return !!(layoutConfig !== null && layoutConfig !== void 0 && (_layoutConfig$screens = layoutConfig.screens) !== null && _layoutConfig$screens !== void 0 && (_layoutConfig$screens = _layoutConfig$screens.conferencing) !== null && _layoutConfig$screens !== void 0 && (_layoutConfig$screens = _layoutConfig$screens.default) !== null && _layoutConfig$screens !== void 0 && (_layoutConfig$screens = _layoutConfig$screens.elements) !== null && _layoutConfig$screens !== void 0 && _layoutConfig$screens.brb);
34
+ });
35
+ const isOnStage = (0, _hooksUtil.useHMSLayoutConfig)(layoutConfig => {
36
+ var _layoutConfig$screens2;
37
+ return !!(layoutConfig !== null && layoutConfig !== void 0 && (_layoutConfig$screens2 = layoutConfig.screens) !== null && _layoutConfig$screens2 !== void 0 && (_layoutConfig$screens2 = _layoutConfig$screens2.conferencing) !== null && _layoutConfig$screens2 !== void 0 && (_layoutConfig$screens2 = _layoutConfig$screens2.default) !== null && _layoutConfig$screens2 !== void 0 && (_layoutConfig$screens2 = _layoutConfig$screens2.elements) !== null && _layoutConfig$screens2 !== void 0 && _layoutConfig$screens2.on_stage_exp);
38
+ });
39
+ const canStartRecording = (0, _reactRedux.useSelector)(state => {
40
+ var _state$hmsStates$loca;
41
+ return !!((_state$hmsStates$loca = state.hmsStates.localPeer) !== null && _state$hmsStates$loca !== void 0 && (_state$hmsStates$loca = _state$hmsStates$loca.role) !== null && _state$hmsStates$loca !== void 0 && (_state$hmsStates$loca = _state$hmsStates$loca.permissions) !== null && _state$hmsStates$loca !== void 0 && _state$hmsStates$loca.browserRecording);
42
+ });
43
+ const canShowOptions = isViewer || canPublishScreen || canShowParticipants || canShowBRB || canStartRecording;
28
44
  const footerActionButtons = (0, _react.useMemo)(() => {
29
- const actions = ['chat', 'options'];
30
- if (isHLSViewer) {
45
+ const actions = [];
46
+ if (canShowChat) {
47
+ actions.push('chat');
48
+ }
49
+ if (!isOnStage && isViewer) {
31
50
  actions.unshift('hand-raise');
32
51
  }
33
52
  if (canPublishVideo) {
@@ -37,38 +56,25 @@ const _Footer = _ref => {
37
56
  actions.unshift('audio');
38
57
  }
39
58
  actions.unshift('leave');
59
+ if (canShowOptions) {
60
+ actions.push('options');
61
+ }
40
62
  return actions;
41
- }, [isHLSViewer, canPublishAudio, canPublishVideo]);
42
- const animatedStyles = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
43
- return {
44
- opacity: (0, _reactNativeReanimated.interpolate)(offset.value, [0, 0.7, 1], [0, 0.5, 1]),
45
- transform: [{
46
- translateY: (0, _reactNativeReanimated.interpolate)(offset.value, [0, 1], [10, 0])
47
- }]
48
- };
49
- }, []);
50
- const animatedProps = (0, _reactNativeReanimated.useAnimatedProps)(() => {
51
- return {
52
- pointerEvents: offset.value === 0 ? 'none' : 'auto'
53
- };
54
- }, []);
63
+ }, [isOnStage, canShowOptions, canShowChat, isViewer, canPublishAudio, canPublishVideo]);
55
64
  const containerStyles = (0, _hooksUtil.useHMSRoomStyle)(theme => ({
56
65
  backgroundColor: theme.palette.background_dim
57
66
  }));
58
- return /*#__PURE__*/_react.default.createElement(_reactNativeReanimated.default.View, {
59
- style: animatedStyles,
60
- animatedProps: animatedProps
61
- }, /*#__PURE__*/_react.default.createElement(_reactNativeSafeAreaContext.SafeAreaView, {
62
- style: containerStyles,
67
+ return /*#__PURE__*/_react.default.createElement(_reactNativeSafeAreaContext.SafeAreaView, {
68
+ style: isHLSViewer ? null : containerStyles,
63
69
  edges: ['bottom']
64
70
  }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
65
- style: [styles.container, containerStyles]
71
+ style: [styles.container, isHLSViewer ? styles.hlsContainer : containerStyles]
66
72
  }, footerActionButtons.map((actionType, index) => {
67
73
  return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
68
74
  key: actionType,
69
75
  style: index === 0 ? null : styles.iconWrapper
70
76
  }, actionType === 'leave' ? /*#__PURE__*/_react.default.createElement(_HMSManageLeave.HMSManageLeave, null) : actionType === 'audio' ? /*#__PURE__*/_react.default.createElement(_HMSManageLocalAudio.HMSManageLocalAudio, null) : actionType === 'video' ? /*#__PURE__*/_react.default.createElement(_HMSManageLocalVideo.HMSManageLocalVideo, null) : actionType === 'chat' ? /*#__PURE__*/_react.default.createElement(_HMSChat.HMSChat, null) : actionType === 'options' ? /*#__PURE__*/_react.default.createElement(_HMSRoomOptions.HMSRoomOptions, null) : actionType === 'hand-raise' ? /*#__PURE__*/_react.default.createElement(_HMSManageRaiseHand.HMSManageRaiseHand, null) : null);
71
- }))));
77
+ })));
72
78
  };
73
79
  exports._Footer = _Footer;
74
80
  const styles = _reactNative.StyleSheet.create({
@@ -81,10 +87,12 @@ const styles = _reactNative.StyleSheet.create({
81
87
  marginBottom: _reactNative.Platform.OS === 'android' ? 16 : 0 // TODO: need to correct hide aimation offsets because of this change
82
88
  },
83
89
 
90
+ hlsContainer: {
91
+ paddingTop: 8
92
+ },
84
93
  iconWrapper: {
85
94
  marginLeft: 24
86
95
  }
87
96
  });
88
- const Footer = /*#__PURE__*/(0, _react.memo)(_Footer);
89
- exports.Footer = Footer;
97
+ const Footer = exports.Footer = /*#__PURE__*/(0, _react.memo)(_Footer);
90
98
  //# sourceMappingURL=Footer.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_reactNativeSafeAreaContext","_hooksUtil","_HMSManageLeave","_HMSManageRaiseHand","_HMSManageLocalAudio","_HMSManageLocalVideo","_HMSChat","_HMSRoomOptions","_hooksSdk","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_Footer","_ref","offset","isHLSViewer","useIsHLSViewer","canPublishAudio","useCanPublishAudio","canPublishVideo","useCanPublishVideo","footerActionButtons","useMemo","actions","unshift","animatedStyles","useAnimatedStyle","opacity","interpolate","value","transform","translateY","animatedProps","useAnimatedProps","pointerEvents","containerStyles","useHMSRoomStyle","theme","backgroundColor","palette","background_dim","createElement","View","style","SafeAreaView","edges","styles","container","map","actionType","index","iconWrapper","HMSManageLeave","HMSManageLocalAudio","HMSManageLocalVideo","HMSChat","HMSRoomOptions","HMSManageRaiseHand","exports","StyleSheet","create","paddingTop","paddingHorizontal","flexDirection","alignItems","justifyContent","marginBottom","Platform","OS","marginLeft","Footer","memo"],"sourceRoot":"../../../src","sources":["components/Footer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAMA,IAAAG,2BAAA,GAAAH,OAAA;AAEA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,mBAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AACA,IAAAQ,oBAAA,GAAAR,OAAA;AACA,IAAAS,QAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AACA,IAAAW,SAAA,GAAAX,OAAA;AAAsE,SAAAY,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,O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cAAc,MAAE,CAAC,GAChBP,UAAU,KAAK,YAAY,gBAC7BzE,MAAA,CAAAqB,OAAA,CAAA4C,aAAA,CAACzD,mBAAA,CAAAyE,kBAAkB,MAAE,CAAC,GACpB,IACA,CAAC;EAEX,CAAC,CACG,CACM,CACD,CAAC;AAEpB,CAAC;AAACC,OAAA,CAAA9C,OAAA,GAAAA,OAAA;AAEF,MAAMkC,MAAM,GAAGa,uBAAU,CAACC,MAAM,CAAC;EAC/Bb,SAAS,EAAE;IACTc,UAAU,EAAE,EAAE;IACdC,iBAAiB,EAAE,EAAE;IACrBC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,YAAY,EAAEC,qBAAQ,CAACC,EAAE,KAAK,SAAS,GAAG,EAAE,GAAG,CAAC,CAAE;EACpD,CAAC;;EACDjB,WAAW,EAAE;IACXkB,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEK,MAAMC,MAAM,gBAAG,IAAAC,WAAI,EAAC3D,OAAO,CAAC;AAAC8C,OAAA,CAAAY,MAAA,GAAAA,MAAA"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeSafeAreaContext","_hooksUtil","_HMSManageLeave","_HMSManageRaiseHand","_HMSManageLocalAudio","_HMSManageLocalVideo","_HMSChat","_HMSRoomOptions","_hooksSdk","_reactRedux","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_Footer","isHLSViewer","useIsHLSViewer","canPublishAudio","useCanPublishAudio","canPublishVideo","useCanPublishVideo","canPublishScreen","useCanPublishScreen","isViewer","canShowParticipants","canShowChat","useShowChatAndParticipants","canShowBRB","useHMSLayoutConfig","layoutConfig","_layoutConfig$screens","screens","conferencing","elements","brb","isOnStage","_layoutConfig$screens2","on_stage_exp","canStartRecording","useSelector","state","_state$hmsStates$loca","hmsStates","localPeer","role","permissions","browserRecording","canShowOptions","footerActionButtons","useMemo","actions","push","unshift","containerStyles","useHMSRoomStyle","theme","backgroundColor","palette","background_dim","createElement","SafeAreaView","style","edges","View","styles","container","hlsContainer","map","actionType","index","key","iconWrapper","HMSManageLeave","HMSManageLocalAudio","HMSManageLocalVideo","HMSChat","HMSRoomOptions","HMSManageRaiseHand","exports","StyleSheet","create","paddingTop","paddingHorizontal","flexDirection","alignItems","justifyContent","marginBottom","Platform","OS","marginLeft","Footer","memo"],"sourceRoot":"../../../src","sources":["components/Footer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,2BAAA,GAAAF,OAAA;AAEA,IAAAG,UAAA,GAAAH,OAAA;AAMA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,mBAAA,GAAAL,OAAA;AACA,IAAAM,oBAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,eAAA,GAAAT,OAAA;AACA,IAAAU,SAAA,GAAAV,OAAA;AAKA,IAAAW,WAAA,GAAAX,OAAA;AAA0C,SAAAY,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAd,wBAAAc,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,C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AO,CAAC"}
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FullScreenVideoView = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNativeModal = _interopRequireDefault(require("react-native-modal"));
9
+ var _reactNative = require("react-native");
10
+ var _reactRedux = require("react-redux");
11
+ var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
12
+ var _reactNativeGestureHandler = require("react-native-gesture-handler");
13
+ var _hooksUtil = require("../hooks-util");
14
+ var _actions = require("../redux/actions");
15
+ var _HMSFullScreenButton = require("./PeerVideoTile/HMSFullScreenButton");
16
+ var _PeerVideoTileView = require("./PeerVideoTile/PeerVideoTileView");
17
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
+ const FullScreenVideoView = () => {
21
+ var _fullScreenPeerTrackN;
22
+ const dispatch = (0, _reactRedux.useDispatch)();
23
+ const fullScreenPeerTrackNode = (0, _reactRedux.useSelector)(state => state.app.fullScreenPeerTrackNode);
24
+ const {
25
+ background_dim: backgroundDimColor
26
+ } = (0, _hooksUtil.useHMSRoomColorPalette)();
27
+ const contentContainerStyles = (0, _hooksUtil.useHMSRoomStyle)(theme => ({
28
+ backgroundColor: theme.palette.background_dim
29
+ }));
30
+ const handleClosingFullScreenView = () => {
31
+ dispatch((0, _actions.setFullScreenPeerTrackNode)(null));
32
+ };
33
+ return /*#__PURE__*/React.createElement(_reactNativeModal.default, {
34
+ isVisible: fullScreenPeerTrackNode !== null,
35
+ animationIn: 'fadeInUp',
36
+ animationInTiming: 100,
37
+ animationOutTiming: 100,
38
+ animationOut: 'fadeOutDown',
39
+ backdropColor: backgroundDimColor,
40
+ backdropOpacity: 0.3,
41
+ onBackButtonPress: handleClosingFullScreenView,
42
+ onBackdropPress: handleClosingFullScreenView,
43
+ useNativeDriver: true,
44
+ useNativeDriverForBackdrop: true,
45
+ hideModalContentWhileAnimating: true,
46
+ style: styles.modal,
47
+ supportedOrientations: ['portrait', 'landscape']
48
+ }, /*#__PURE__*/React.createElement(_reactNativeGestureHandler.GestureHandlerRootView, {
49
+ style: styles.container
50
+ }, /*#__PURE__*/React.createElement(_reactNativeSafeAreaContext.SafeAreaView, {
51
+ style: styles.container
52
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
53
+ style: [styles.contentContainer, contentContainerStyles]
54
+ }, fullScreenPeerTrackNode && (_fullScreenPeerTrackN = fullScreenPeerTrackNode.track) !== null && _fullScreenPeerTrackN !== void 0 && _fullScreenPeerTrackN.trackId ? /*#__PURE__*/React.createElement(_PeerVideoTileView.PeerVideoTileView, {
55
+ peerTrackNode: fullScreenPeerTrackNode,
56
+ zoomIn: true
57
+ }) : null, /*#__PURE__*/React.createElement(_HMSFullScreenButton.HMSFullScreenButton, {
58
+ peerTrackNode: fullScreenPeerTrackNode
59
+ })))));
60
+ };
61
+ exports.FullScreenVideoView = FullScreenVideoView;
62
+ const styles = _reactNative.StyleSheet.create({
63
+ modal: {
64
+ margin: 0
65
+ },
66
+ container: {
67
+ flexGrow: 1
68
+ },
69
+ contentContainer: {
70
+ flex: 1,
71
+ position: 'relative'
72
+ }
73
+ });
74
+ //# sourceMappingURL=FullScreenVideoView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNativeModal","_interopRequireDefault","_reactNative","_reactRedux","_reactNativeSafeAreaContext","_reactNativeGestureHandler","_hooksUtil","_actions","_HMSFullScreenButton","_PeerVideoTileView","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","FullScreenVideoView","_fullScreenPeerTrackN","dispatch","useDispatch","fullScreenPeerTrackNode","useSelector","state","app","background_dim","backgroundDimColor","useHMSRoomColorPalette","contentContainerStyles","useHMSRoomStyle","theme","backgroundColor","palette","handleClosingFullScreenView","setFullScreenPeerTrackNode","createElement","isVisible","animationIn","animationInTiming","animationOutTiming","animationOut","backdropColor","backdropOpacity","onBackButtonPress","onBackdropPress","useNativeDriver","useNativeDriverForBackdrop","hideModalContentWhileAnimating","style","styles","modal","supportedOrientations","GestureHandlerRootView","container","SafeAreaView","View","contentContainer","track","trackId","PeerVideoTileView","peerTrackNode","zoomIn","HMSFullScreenButton","exports","StyleSheet","create","margin","flexGrow","flex","position"],"sourceRoot":"../../../src","sources":["components/FullScreenVideoView.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,2BAAA,GAAAL,OAAA;AACA,IAAAM,0BAAA,GAAAN,OAAA;AAGA,IAAAO,UAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,oBAAA,GAAAT,OAAA;AACA,IAAAU,kBAAA,GAAAV,OAAA;AAAsE,SAAAE,uBAAAS,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,yBA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AAuB,KAAAH,qBAAA,GACxBG,uBAAuB,CAACoC,KAAK,cAAAvC,qBAAA,eAA7BA,qBAAA,CAA+BwC,OAAO,gBACpC5E,KAAA,CAAAqD,aAAA,CAACzC,kBAAA,CAAAiE,iBAAiB;IAChBC,aAAa,EAAEvC,uBAAwB;IACvCwC,MAAM,EAAE;EAAK,CACd,CAAC,GACA,IAAI,eAER/E,KAAA,CAAAqD,aAAA,CAAC1C,oBAAA,CAAAqE,mBAAmB;IAACF,aAAa,EAAEvC;EAAyB,CAAE,CAC3D,CACM,CACQ,CACnB,CAAC;AAEZ,CAAC;AAAC0C,OAAA,CAAA9C,mBAAA,GAAAA,mBAAA;AAEF,MAAMgC,MAAM,GAAGe,uBAAU,CAACC,MAAM,CAAC;EAC/Bf,KAAK,EAAE;IACLgB,MAAM,EAAE;EACV,CAAC;EACDb,SAAS,EAAE;IACTc,QAAQ,EAAE;EACZ,CAAC;EACDX,gBAAgB,EAAE;IAChBY,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC"}
@@ -13,22 +13,24 @@ var _TilesContainer = require("./TilesContainer");
13
13
  var _MiniView = require("./MiniView");
14
14
  var _PaginationDots = require("./PaginationDots");
15
15
  var _actions = require("../redux/actions");
16
- 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); }
17
- 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
+ var _Tile = require("./Tile");
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
19
  const FLATLIST_VIEWABILITY_CONFIG = {
19
20
  waitForInteraction: true,
20
21
  itemVisiblePercentThreshold: 80
21
22
  };
22
- const GridView = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
23
+ const GridView = exports.GridView = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
23
24
  let {
24
25
  pairedPeers,
25
26
  onPeerTileMorePress
26
27
  } = _ref;
27
- const dispatch = (0, _reactRedux.useDispatch)();
28
28
  const [screenshotData, setScreenshotData] = (0, _react.useState)(null);
29
29
  const hmsViewRefs = (0, _react.useRef)({});
30
- const flatlistRef = (0, _react.useRef)(null);
30
+ const regularTilesFlatlistRef = (0, _react.useRef)(null);
31
+ const screenshareTilesFlatlistRef = (0, _react.useRef)(null);
31
32
  const insetTileBoundingBoxRef = (0, _react.useRef)(null);
33
+ const screenshareTilesAvailable = (0, _reactRedux.useSelector)(state => state.app.screensharePeerTrackNodes.length > 0);
32
34
  const miniviewPeerTrackNodeExists = (0, _reactRedux.useSelector)(state => !!state.app.miniviewPeerTrackNode);
33
35
 
34
36
  // We are setting `captureViewScreenshot` method on ref passed to GridView component
@@ -46,7 +48,7 @@ const GridView = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
46
48
  }
47
49
 
48
50
  // Calling `capture` method on HmsView ref
49
- (_hmsViewRef$capture = hmsViewRef.capture) === null || _hmsViewRef$capture === void 0 ? void 0 : _hmsViewRef$capture.call(hmsViewRef).then(imageBase64 => {
51
+ (_hmsViewRef$capture = hmsViewRef.capture) === null || _hmsViewRef$capture === void 0 || _hmsViewRef$capture.call(hmsViewRef).then(imageBase64 => {
50
52
  console.log('HmsView Capture Success');
51
53
  // Saving data needed to show captured snapshot in "Save Snapshot" Modal
52
54
  setScreenshotData({
@@ -57,65 +59,39 @@ const GridView = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
57
59
  });
58
60
  }).catch(error => console.warn('HmsView Capture Error: ', error));
59
61
  },
60
- getFlatlistRef: () => {
61
- return flatlistRef;
62
+ getRegularTilesFlatlistRef: () => {
63
+ return regularTilesFlatlistRef;
64
+ },
65
+ getScreenshareTilesFlatlistRef: () => {
66
+ return screenshareTilesFlatlistRef;
62
67
  }
63
68
  }), []);
64
69
  const setHmsViewRefs = _react.default.useCallback((viewId, ref) => {
65
70
  hmsViewRefs.current[viewId] = ref;
66
71
  }, []);
67
- const _renderItem = _react.default.useCallback(_ref2 => {
68
- let {
69
- item
70
- } = _ref2;
71
- return /*#__PURE__*/_react.default.createElement(_TilesContainer.TilesContainer, {
72
- onPeerTileMorePress: onPeerTileMorePress,
73
- peerTrackNodes: item,
74
- setHmsViewRefs: setHmsViewRefs
75
- });
76
- }, [onPeerTileMorePress, setHmsViewRefs]);
77
- const _keyExtractor = _react.default.useCallback(item => {
78
- var _item$;
79
- return (_item$ = item[0]) === null || _item$ === void 0 ? void 0 : _item$.id;
80
- }, []);
81
- const _handleLayoutChange = _react.default.useCallback(_ref3 => {
72
+ const _handleLayoutChange = _react.default.useCallback(_ref2 => {
82
73
  let {
83
74
  nativeEvent
84
- } = _ref3;
75
+ } = _ref2;
85
76
  insetTileBoundingBoxRef.current = nativeEvent.layout;
86
77
  }, []);
87
- const _handleViewableItemsChanged = _react.default.useCallback(info => {
88
- const firstViewable = info.viewableItems[0];
89
- if (firstViewable !== null && firstViewable !== void 0 && firstViewable.isViewable && typeof firstViewable.index === 'number') {
90
- dispatch((0, _actions.setGridViewActivePage)(firstViewable.index));
91
- }
92
- }, []);
93
78
  return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
94
79
  style: styles.container
95
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
96
- style: styles.tilesArea
97
80
  }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
98
81
  onLayout: _handleLayoutChange,
99
82
  style: styles.measureLayoutView
100
- }), /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
101
- ref: flatlistRef,
102
- horizontal: true,
103
- data: pairedPeers,
104
- initialNumToRender: 1,
105
- maxToRenderPerBatch: 1,
106
- windowSize: 2,
107
- pagingEnabled: true,
108
- showsHorizontalScrollIndicator: false,
109
- renderItem: _renderItem,
110
- numColumns: 1,
111
- keyExtractor: _keyExtractor,
112
- onViewableItemsChanged: _handleViewableItemsChanged,
113
- viewabilityConfig: FLATLIST_VIEWABILITY_CONFIG
83
+ }), screenshareTilesAvailable ? /*#__PURE__*/_react.default.createElement(ScreenshareTiles, {
84
+ ref: screenshareTilesFlatlistRef,
85
+ setHmsViewRefs: setHmsViewRefs,
86
+ onPeerTileMorePress: onPeerTileMorePress
87
+ }) : null, /*#__PURE__*/_react.default.createElement(RegularTiles, {
88
+ ref: regularTilesFlatlistRef,
89
+ pairedPeers: pairedPeers,
90
+ setHmsViewRefs: setHmsViewRefs,
91
+ onPeerTileMorePress: onPeerTileMorePress
114
92
  }), pairedPeers.length > 0 && miniviewPeerTrackNodeExists ? /*#__PURE__*/_react.default.createElement(_MiniView.MiniView, {
115
93
  boundingBoxRef: insetTileBoundingBoxRef,
116
94
  onMoreOptionsPress: onPeerTileMorePress
117
- }) : null), pairedPeers.length > 1 ? /*#__PURE__*/_react.default.createElement(_PaginationDots.PaginationDots, {
118
- list: pairedPeers
119
95
  }) : null, /*#__PURE__*/_react.default.createElement(_DefaultModal.DefaultModal, {
120
96
  modalPosiion: "center",
121
97
  modalVisible: !!screenshotData,
@@ -125,13 +101,9 @@ const GridView = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
125
101
  cancelModal: () => setScreenshotData(null)
126
102
  })));
127
103
  });
128
- exports.GridView = GridView;
129
104
  GridView.displayName = 'GridView';
130
105
  const styles = _reactNative.StyleSheet.create({
131
106
  container: {
132
- flex: 1
133
- },
134
- tilesArea: {
135
107
  flex: 1,
136
108
  position: 'relative'
137
109
  },
@@ -141,4 +113,112 @@ const styles = _reactNative.StyleSheet.create({
141
113
  height: '100%'
142
114
  }
143
115
  });
116
+ const RegularTiles = /*#__PURE__*/_react.default.forwardRef((_ref3, flatlistRef) => {
117
+ let {
118
+ pairedPeers,
119
+ onPeerTileMorePress,
120
+ setHmsViewRefs
121
+ } = _ref3;
122
+ const dispatch = (0, _reactRedux.useDispatch)();
123
+ const screenshareTilesAvailable = (0, _reactRedux.useSelector)(state => state.app.screensharePeerTrackNodes.length > 0);
124
+ const activeIndex = (0, _reactRedux.useSelector)(state => state.app.gridViewActivePage);
125
+ const _keyExtractor = _react.default.useCallback(item => {
126
+ var _item$;
127
+ return (_item$ = item[0]) === null || _item$ === void 0 ? void 0 : _item$.id;
128
+ }, []);
129
+ const _handleViewableItemsChanged = _react.default.useCallback(info => {
130
+ const firstViewable = info.viewableItems[0];
131
+ if (firstViewable !== null && firstViewable !== void 0 && firstViewable.isViewable && typeof firstViewable.index === 'number') {
132
+ dispatch((0, _actions.setGridViewActivePage)(firstViewable.index));
133
+ }
134
+ }, []);
135
+ const _renderItem = _react.default.useCallback(_ref4 => {
136
+ let {
137
+ item
138
+ } = _ref4;
139
+ return /*#__PURE__*/_react.default.createElement(_TilesContainer.TilesContainer, {
140
+ onPeerTileMorePress: onPeerTileMorePress,
141
+ peerTrackNodes: item,
142
+ setHmsViewRefs: setHmsViewRefs
143
+ });
144
+ }, [onPeerTileMorePress, setHmsViewRefs]);
145
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
146
+ style: {
147
+ flex: screenshareTilesAvailable ? undefined : 1
148
+ }
149
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
150
+ ref: flatlistRef,
151
+ horizontal: true,
152
+ data: pairedPeers,
153
+ initialNumToRender: 1,
154
+ maxToRenderPerBatch: 1,
155
+ windowSize: 2,
156
+ pagingEnabled: true,
157
+ showsHorizontalScrollIndicator: false,
158
+ renderItem: _renderItem,
159
+ numColumns: 1,
160
+ keyExtractor: _keyExtractor,
161
+ onViewableItemsChanged: _handleViewableItemsChanged,
162
+ viewabilityConfig: FLATLIST_VIEWABILITY_CONFIG
163
+ }), pairedPeers.length > 1 ? /*#__PURE__*/_react.default.createElement(_PaginationDots.PaginationDots, {
164
+ list: pairedPeers,
165
+ activeIndex: activeIndex,
166
+ style: screenshareTilesAvailable ? {
167
+ marginVertical: 8
168
+ } : null
169
+ }) : null);
170
+ });
171
+ const ScreenshareTiles = /*#__PURE__*/_react.default.forwardRef((_ref5, flatlistRef) => {
172
+ let {
173
+ onPeerTileMorePress,
174
+ setHmsViewRefs
175
+ } = _ref5;
176
+ const [activePage, setActivePage] = (0, _react.useState)(0);
177
+ const screensharePeerTrackNodes = (0, _reactRedux.useSelector)(state => state.app.screensharePeerTrackNodes);
178
+ const _keyExtractor = _react.default.useCallback(item => item.id, []);
179
+ const _handleViewableItemsChanged = _react.default.useCallback(info => {
180
+ const firstViewable = info.viewableItems[0];
181
+ if (firstViewable !== null && firstViewable !== void 0 && firstViewable.isViewable && typeof firstViewable.index === 'number') {
182
+ setActivePage(firstViewable.index);
183
+ }
184
+ }, []);
185
+ const _renderItem = _react.default.useCallback(_ref6 => {
186
+ let {
187
+ item
188
+ } = _ref6;
189
+ return /*#__PURE__*/_react.default.createElement(_Tile.Tile, {
190
+ height: '100%',
191
+ width: _reactNative.Dimensions.get('window').width,
192
+ peerTrackNode: item,
193
+ onPeerTileMorePress: onPeerTileMorePress,
194
+ setHmsViewRefs: setHmsViewRefs
195
+ });
196
+ }, [onPeerTileMorePress, setHmsViewRefs]);
197
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
198
+ style: {
199
+ flex: 1,
200
+ marginBottom: 4
201
+ }
202
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.FlatList, {
203
+ ref: flatlistRef,
204
+ horizontal: true,
205
+ data: screensharePeerTrackNodes,
206
+ initialNumToRender: 1,
207
+ maxToRenderPerBatch: 1,
208
+ windowSize: 2,
209
+ pagingEnabled: true,
210
+ showsHorizontalScrollIndicator: false,
211
+ renderItem: _renderItem,
212
+ numColumns: 1,
213
+ keyExtractor: _keyExtractor,
214
+ onViewableItemsChanged: _handleViewableItemsChanged,
215
+ viewabilityConfig: FLATLIST_VIEWABILITY_CONFIG
216
+ }), screensharePeerTrackNodes.length > 1 ? /*#__PURE__*/_react.default.createElement(_PaginationDots.PaginationDots, {
217
+ list: screensharePeerTrackNodes,
218
+ activeIndex: activePage,
219
+ style: {
220
+ marginVertical: 8
221
+ }
222
+ }) : null);
223
+ });
144
224
  //# sourceMappingURL=GridView.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_DefaultModal","_Modals","_TilesContainer","_MiniView","_PaginationDots","_actions","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","FLATLIST_VIEWABILITY_CONFIG","waitForInteraction","itemVisiblePercentThreshold","GridView","React","forwardRef","_ref","ref","pairedPeers","onPeerTileMorePress","dispatch","useDispatch","screenshotData","setScreenshotData","useState","hmsViewRefs","useRef","flatlistRef","insetTileBoundingBoxRef","miniviewPeerTrackNodeExists","useSelector","state","app","miniviewPeerTrackNode","useImperativeHandle","captureViewScreenshot","node","_hmsViewRef$capture","hmsViewRef","current","id","console","warn","capture","then","imageBase64","log","peer","source","uri","catch","error","getFlatlistRef","setHmsViewRefs","useCallback","viewId","_renderItem","_ref2","item","createElement","TilesContainer","peerTrackNodes","_keyExtractor","_item$","_handleLayoutChange","_ref3","nativeEvent","layout","_handleViewableItemsChanged","info","firstViewable","viewableItems","isViewable","index","setGridViewActivePage","View","style","styles","container","tilesArea","onLayout","measureLayoutView","FlatList","horizontal","data","initialNumToRender","maxToRenderPerBatch","windowSize","pagingEnabled","showsHorizontalScrollIndicator","renderItem","numColumns","keyExtractor","onViewableItemsChanged","viewabilityConfig","length","MiniView","boundingBoxRef","onMoreOptionsPress","PaginationDots","list","DefaultModal","modalPosiion","modalVisible","setModalVisible","SaveScreenshot","imageSource","cancelModal","exports","displayName","StyleSheet","create","flex","position","width","height"],"sourceRoot":"../../../src","sources":["components/GridView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAQA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AAEA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AAAyD,SAAAS,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,SAAAX,wBAAAe,GAAA,EAAAJ,WAAA,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;IACXC,YAAY,EAAC,QAAQ;IACrBC,YAAY,EAAE,CAAC,CAACjF,cAAe;IAC/BkF,eAAe,EAAEA,CAAA,KAAMjF,iBAAiB,CAAC,IAAI;EAAE,gBAE/C9C,MAAA,CAAAkB,OAAA,CAAAgE,aAAA,CAAC5E,OAAA,CAAA0H,cAAc;IACbC,WAAW,EAAEpF,cAAc,aAAdA,cAAc,uBAAdA,cAAc,CAAE0B,MAAO;IACpC2D,WAAW,EAAEA,CAAA,KAAMpF,iBAAiB,CAAC,IAAI;EAAE,CAC5C,CACW,CACV,CAAC;AAEX,CACF,CAAC;AAACqF,OAAA,CAAA/F,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACgG,WAAW,GAAG,UAAU;AAEjC,MAAMhC,MAAM,GAAGiC,uBAAU,CAACC,MAAM,CAAC;EAC/BjC,SAAS,EAAE;IACTkC,IAAI,EAAE;EACR,CAAC;EACDjC,SAAS,EAAE;IACTiC,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE;EACZ,CAAC;EACDhC,iBAAiB,EAAE;IACjBgC,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;EACV;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_DefaultModal","_Modals","_TilesContainer","_MiniView","_PaginationDots","_actions","_Tile","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","FLATLIST_VIEWABILITY_CONFIG","waitForInteraction","itemVisiblePercentThreshold","GridView","exports","React","forwardRef","_ref","ref","pairedPeers","onPeerTileMorePress","screenshotData","setScreenshotData","useState","hmsViewRefs","useRef","regularTilesFlatlistRef","screenshareTilesFlatlistRef","insetTileBoundingBoxRef","screenshareTilesAvailable","useSelector","state","app","screensharePeerTrackNodes","length","miniviewPeerTrackNodeExists","miniviewPeerTrackNode","useImperativeHandle","captureViewScreenshot","node","_hmsViewRef$capture","hmsViewRef","current","id","console","warn","capture","then","imageBase64","log","peer","source","uri","catch","error","getRegularTilesFlatlistRef","getScreenshareTilesFlatlistRef","setHmsViewRefs","useCallback","viewId","_handleLayoutChange","_ref2","nativeEvent","layout","createElement","View","style","styles","container","onLayout","measureLayoutView","ScreenshareTiles","RegularTiles","MiniView","boundingBoxRef","onMoreOptionsPress","DefaultModal","modalPosiion","modalVisible","setModalVisible","SaveScreenshot","imageSource","cancelModal","displayName","StyleSheet","create","flex","position","width","height","_ref3","flatlistRef","dispatch","useDispatch","activeIndex","gridViewActivePage","_keyExtractor","item","_item$","_handleViewableItemsChanged","info","firstViewable","viewableItems","isViewable","index","setGridViewActivePage","_renderItem","_ref4","TilesContainer","peerTrackNodes","undefined","FlatList","horizontal","data","initialNumToRender","maxToRenderPerBatch","windowSize","pagingEnabled","showsHorizontalScrollIndicator","renderItem","numColumns","keyExtractor","onViewableItemsChanged","viewabilityConfig","PaginationDots","list","marginVertical","_ref5","activePage","setActivePage","_ref6","Tile","Dimensions","peerTrackNode","marginBottom"],"sourceRoot":"../../../src","sources":["components/GridView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAQA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AAEA,IAAAO,eAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAR,OAAA;AACA,IAAAS,KAAA,GAAAT,OAAA;AAA8B,SAAAU,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,G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YAAY,EAAEzB,aAAc;IAC5B0B,sBAAsB,EAAEvB,2BAA4B;IACpDwB,iBAAiB,EAAEjH;EAA4B,CAChD,CAAC,EAEDuB,yBAAyB,CAACC,MAAM,GAAG,CAAC,gBACnCzD,MAAA,CAAAkB,OAAA,CAAAqE,aAAA,CAAC9E,eAAA,CAAA0I,cAAc;IACbC,IAAI,EAAE5F,yBAA0B;IAChC6D,WAAW,EAAEkC,UAAW;IACxB9D,KAAK,EAAE;MAAE4D,cAAc,EAAE;IAAE;EAAE,CAC9B,CAAC,GACA,IACA,CAAC;AAEX,CAAC,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.HLSFooter = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _Footer = require("./Footer");
10
+ var _AnimatedHLSFooter = require("./AnimatedHLSFooter");
11
+ var _HMSOverlayChatView = require("./HMSOverlayChatView");
12
+ var _hooksUtil = require("../hooks-util");
13
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
+ const HLSFooter = _ref => {
16
+ let {
17
+ offset
18
+ } = _ref;
19
+ const {
20
+ overlayChatVisible
21
+ } = (0, _hooksUtil.useShowChatAndParticipants)();
22
+ return /*#__PURE__*/React.createElement(_AnimatedHLSFooter.AnimatedHLSFooter, {
23
+ offset: offset,
24
+ style: styles.animatedContainer
25
+ }, overlayChatVisible ? /*#__PURE__*/React.createElement(_HMSOverlayChatView.HLSChatView, null) : null, /*#__PURE__*/React.createElement(_Footer.Footer, null));
26
+ };
27
+ exports.HLSFooter = HLSFooter;
28
+ const styles = _reactNative.StyleSheet.create({
29
+ animatedContainer: {
30
+ position: 'absolute',
31
+ bottom: 0,
32
+ width: '100%'
33
+ }
34
+ });
35
+ //# sourceMappingURL=HLSFooter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_Footer","_AnimatedHLSFooter","_HMSOverlayChatView","_hooksUtil","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","HLSFooter","_ref","offset","overlayChatVisible","useShowChatAndParticipants","createElement","AnimatedHLSFooter","style","styles","animatedContainer","HLSChatView","Footer","exports","StyleSheet","create","position","bottom","width"],"sourceRoot":"../../../src","sources":["components/HLSFooter.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AACA,IAAAI,mBAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AAA2D,SAAAM,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,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