@100mslive/react-native-room-kit 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (969) hide show
  1. package/README.md +1 -10
  2. package/lib/commonjs/HMSPrebuilt.js +6 -6
  3. package/lib/commonjs/HMSPrebuilt.js.map +1 -1
  4. package/lib/commonjs/HMSRoomSetup.js +27 -30
  5. package/lib/commonjs/HMSRoomSetup.js.map +1 -1
  6. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  7. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  8. package/lib/commonjs/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  9. package/lib/commonjs/Icons/AlertTriangle/index.js +2 -1
  10. package/lib/commonjs/Icons/AlertTriangle/index.js.map +1 -1
  11. package/lib/commonjs/Icons/Eye/assets/eye-on-small.png +0 -0
  12. package/lib/commonjs/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  13. package/lib/commonjs/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  14. package/lib/commonjs/Icons/Eye/index.js +35 -0
  15. package/lib/commonjs/Icons/Eye/index.js.map +1 -0
  16. package/lib/commonjs/Icons/Hamburger/assets/hamburger.png +0 -0
  17. package/lib/commonjs/Icons/Hamburger/assets/hamburger@2x.png +0 -0
  18. package/lib/commonjs/Icons/Hamburger/assets/hamburger@3x.png +0 -0
  19. package/lib/commonjs/Icons/Person/assets/person-left.png +0 -0
  20. package/lib/commonjs/Icons/Person/assets/person-left@2x.png +0 -0
  21. package/lib/commonjs/Icons/Person/assets/person-left@3x.png +0 -0
  22. package/lib/commonjs/Icons/Person/assets/person-off.png +0 -0
  23. package/lib/commonjs/Icons/Person/assets/person-off@2x.png +0 -0
  24. package/lib/commonjs/Icons/Person/assets/person-off@3x.png +0 -0
  25. package/lib/commonjs/Icons/Person/assets/person-rectangle.png +0 -0
  26. package/lib/commonjs/Icons/Person/assets/person-rectangle@2x.png +0 -0
  27. package/lib/commonjs/Icons/Person/assets/person-rectangle@3x.png +0 -0
  28. package/lib/commonjs/Icons/Person/index.js +2 -1
  29. package/lib/commonjs/Icons/Person/index.js.map +1 -1
  30. package/lib/commonjs/Icons/Radio/assets/radio-xlarge.png +0 -0
  31. package/lib/commonjs/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
  32. package/lib/commonjs/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
  33. package/lib/commonjs/Icons/Radio/index.js +29 -1
  34. package/lib/commonjs/Icons/Radio/index.js.map +1 -1
  35. package/lib/commonjs/Icons/Search/assets/search.png +0 -0
  36. package/lib/commonjs/Icons/Search/assets/search@2x.png +0 -0
  37. package/lib/commonjs/Icons/Search/assets/search@3x.png +0 -0
  38. package/lib/commonjs/Icons/Search/index.js +34 -0
  39. package/lib/commonjs/Icons/Search/index.js.map +1 -0
  40. package/lib/commonjs/Icons/Stop/assets/stop.png +0 -0
  41. package/lib/commonjs/Icons/Stop/assets/stop@2x.png +0 -0
  42. package/lib/commonjs/Icons/Stop/assets/stop@3x.png +0 -0
  43. package/lib/commonjs/Icons/Stop/index.js.map +1 -1
  44. package/lib/commonjs/Icons/index.js +22 -0
  45. package/lib/commonjs/Icons/index.js.map +1 -1
  46. package/lib/commonjs/assets/audio-level-white.json +1271 -0
  47. package/lib/commonjs/assets/empty-chat-illustration/empty-chat.png +0 -0
  48. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  49. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  50. package/lib/commonjs/assets/welcome.png +0 -0
  51. package/lib/commonjs/components/AnimatedFooter.js +35 -0
  52. package/lib/commonjs/components/AnimatedFooter.js.map +1 -0
  53. package/lib/commonjs/components/AnimatedHLSFooter.js +36 -0
  54. package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -0
  55. package/lib/commonjs/components/AnimatedHeader.js +44 -0
  56. package/lib/commonjs/components/AnimatedHeader.js.map +1 -0
  57. package/lib/commonjs/components/BottomSheet.js +6 -3
  58. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  59. package/lib/commonjs/components/ChangeNameModalContent.js +0 -12
  60. package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
  61. package/lib/commonjs/components/Chat/ChatBanner.js +35 -55
  62. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
  63. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +83 -0
  64. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  65. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +69 -0
  66. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  67. package/lib/commonjs/components/Chat/ChatFilterItem.js +71 -0
  68. package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -0
  69. package/lib/commonjs/components/Chat/ChatFilterView.js +198 -0
  70. package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -0
  71. package/lib/commonjs/components/Chat/ChatList.js +6 -6
  72. package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
  73. package/lib/commonjs/components/Chat/ChatMessage.js +35 -135
  74. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
  75. package/lib/commonjs/components/Chat/PinnedMessage.js +39 -43
  76. package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -1
  77. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +42 -0
  78. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  79. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +105 -0
  80. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  81. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +66 -0
  82. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  83. package/lib/commonjs/components/ChatAndParticipants/ChatView.js +37 -0
  84. package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -0
  85. package/lib/commonjs/components/{Participants/SearchableParticipantsView.js → ChatAndParticipants/ParticipantsView.js} +24 -12
  86. package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  87. package/lib/commonjs/components/ChatAndParticipants/index.js +17 -0
  88. package/lib/commonjs/components/ChatAndParticipants/index.js.map +1 -0
  89. package/lib/commonjs/components/CompanyLogo.js +5 -4
  90. package/lib/commonjs/components/CompanyLogo.js.map +1 -1
  91. package/lib/commonjs/components/DefaultModal.js +2 -6
  92. package/lib/commonjs/components/DefaultModal.js.map +1 -1
  93. package/lib/commonjs/components/DisplayView.js +9 -21
  94. package/lib/commonjs/components/DisplayView.js.map +1 -1
  95. package/lib/commonjs/components/EndRoomModalContent.js +20 -6
  96. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  97. package/lib/commonjs/components/Footer.js +41 -27
  98. package/lib/commonjs/components/Footer.js.map +1 -1
  99. package/lib/commonjs/components/FullScreenVideoView.js +74 -0
  100. package/lib/commonjs/components/FullScreenVideoView.js.map +1 -0
  101. package/lib/commonjs/components/GridView.js +129 -48
  102. package/lib/commonjs/components/GridView.js.map +1 -1
  103. package/lib/commonjs/components/{ParticipantsModal.js → HLSFooter.js} +19 -27
  104. package/lib/commonjs/components/HLSFooter.js.map +1 -0
  105. package/lib/commonjs/components/HLSView.js +10 -22
  106. package/lib/commonjs/components/HLSView.js.map +1 -1
  107. package/lib/commonjs/components/HMSChat.js +15 -14
  108. package/lib/commonjs/components/HMSChat.js.map +1 -1
  109. package/lib/commonjs/components/HMSHLSMessage.js +67 -0
  110. package/lib/commonjs/components/HMSHLSMessage.js.map +1 -0
  111. package/lib/commonjs/components/HMSHLSMessageList.js +58 -0
  112. package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -0
  113. package/lib/commonjs/components/HMSHLSNotStarted.js +27 -24
  114. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
  115. package/lib/commonjs/components/HMSHandRaiseNotification.js +84 -0
  116. package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -0
  117. package/lib/commonjs/components/HMSKeyboardAvoidingView.js +49 -0
  118. package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -0
  119. package/lib/commonjs/components/HMSLiveIndicator.js +105 -0
  120. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -0
  121. package/lib/commonjs/components/HMSLocalScreenshareNotification.js +38 -0
  122. package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -0
  123. package/lib/commonjs/components/HMSLocalVideoView.js +4 -23
  124. package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
  125. package/lib/commonjs/components/HMSManageAudioOutput.js +7 -1
  126. package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
  127. package/lib/commonjs/components/HMSManageLeave.js +47 -37
  128. package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
  129. package/lib/commonjs/components/HMSManageRaiseHand.js +2 -15
  130. package/lib/commonjs/components/HMSManageRaiseHand.js.map +1 -1
  131. package/lib/commonjs/components/HMSNotification.js +96 -0
  132. package/lib/commonjs/components/HMSNotification.js.map +1 -0
  133. package/lib/commonjs/components/HMSNotifications.js +114 -0
  134. package/lib/commonjs/components/HMSNotifications.js.map +1 -0
  135. package/lib/commonjs/components/HMSOverlayChatView.js +30 -0
  136. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -0
  137. package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -2
  138. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
  139. package/lib/commonjs/components/HMSPreviewNetworkQuality.js +1 -1
  140. package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
  141. package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -3
  142. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
  143. package/lib/commonjs/components/HMSPreviewTitle.js +1 -3
  144. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
  145. package/lib/commonjs/components/HMSRecordingIndicator.js +7 -3
  146. package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
  147. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +30 -0
  148. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  149. package/lib/commonjs/components/HMSSendMessageInput.js +57 -0
  150. package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -0
  151. package/lib/commonjs/components/HMSTextInput.js +98 -12
  152. package/lib/commonjs/components/HMSTextInput.js.map +1 -1
  153. package/lib/commonjs/components/HMSVideoView.js +43 -0
  154. package/lib/commonjs/components/HMSVideoView.js.map +1 -0
  155. package/lib/commonjs/components/Header.js +19 -123
  156. package/lib/commonjs/components/Header.js.map +1 -1
  157. package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -7
  158. package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
  159. package/lib/commonjs/components/Meeting.js +7 -5
  160. package/lib/commonjs/components/Meeting.js.map +1 -1
  161. package/lib/commonjs/components/MeetingScreenContent.js +23 -9
  162. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  163. package/lib/commonjs/components/MenuModal/Menu.js +2 -2
  164. package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
  165. package/lib/commonjs/components/MiniView.js +8 -3
  166. package/lib/commonjs/components/MiniView.js.map +1 -1
  167. package/lib/commonjs/components/Modals.js +88 -317
  168. package/lib/commonjs/components/Modals.js.map +1 -1
  169. package/lib/commonjs/components/OverlayContainer.js +41 -0
  170. package/lib/commonjs/components/OverlayContainer.js.map +1 -0
  171. package/lib/commonjs/components/OverlayedViews.js +22 -0
  172. package/lib/commonjs/components/OverlayedViews.js.map +1 -0
  173. package/lib/commonjs/components/PaginationDots.js +4 -4
  174. package/lib/commonjs/components/PaginationDots.js.map +1 -1
  175. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +131 -0
  176. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  177. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +80 -0
  178. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  179. package/lib/commonjs/components/Participants/ParticipantsItem.js +132 -0
  180. package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -0
  181. package/lib/commonjs/components/Participants/ParticipantsItemOption.js +46 -0
  182. package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -0
  183. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +220 -0
  184. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -0
  185. package/lib/commonjs/components/Participants/ParticipantsList.js +40 -224
  186. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
  187. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +36 -30
  188. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
  189. package/lib/commonjs/components/Participants/index.js +0 -33
  190. package/lib/commonjs/components/Participants/index.js.map +1 -1
  191. package/lib/commonjs/components/PeerMinimizedView.js +1 -1
  192. package/lib/commonjs/components/PeerSettingsModalContent.js +47 -123
  193. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  194. package/lib/commonjs/components/PeerVideoTile/AvatarView.js +19 -5
  195. package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
  196. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +45 -0
  197. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  198. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +202 -0
  199. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  200. package/lib/commonjs/components/PeerVideoTile/{PeerAudioMutedIndicator.js → PeerAudioIndicator.js} +30 -4
  201. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  202. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +10 -2
  203. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  204. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +38 -17
  205. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  206. package/lib/commonjs/components/PeerVideoTile/VideoView.js +43 -10
  207. package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
  208. package/lib/commonjs/components/PressableIcon.js +10 -5
  209. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  210. package/lib/commonjs/components/Preview.js +5 -14
  211. package/lib/commonjs/components/Preview.js.map +1 -1
  212. package/lib/commonjs/components/PreviewForRoleChangeModal.js +332 -0
  213. package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -0
  214. package/lib/commonjs/components/ReconnectionView.js +66 -0
  215. package/lib/commonjs/components/ReconnectionView.js.map +1 -0
  216. package/lib/commonjs/components/RoomSettingsModalContent.js +25 -33
  217. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  218. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +31 -70
  219. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  220. package/lib/commonjs/components/StatusBar.js +7 -5
  221. package/lib/commonjs/components/StatusBar.js.map +1 -1
  222. package/lib/commonjs/components/StopRecordingModalContent.js.map +1 -1
  223. package/lib/commonjs/components/StreamingQualityModalContent.js +8 -9
  224. package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
  225. package/lib/commonjs/components/TilesContainer.js +31 -9
  226. package/lib/commonjs/components/TilesContainer.js.map +1 -1
  227. package/lib/commonjs/components/WebrtcView.js +11 -14
  228. package/lib/commonjs/components/WebrtcView.js.map +1 -1
  229. package/lib/commonjs/components/WelcomeInMeeting.js +7 -31
  230. package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
  231. package/lib/commonjs/components/index.js +0 -33
  232. package/lib/commonjs/components/index.js.map +1 -1
  233. package/lib/commonjs/hooks-util-selectors.js +43 -9
  234. package/lib/commonjs/hooks-util-selectors.js.map +1 -1
  235. package/lib/commonjs/hooks-util.js +619 -213
  236. package/lib/commonjs/hooks-util.js.map +1 -1
  237. package/lib/commonjs/modules/HMSManager.js +3 -3
  238. package/lib/commonjs/modules/HMSManager.js.map +1 -1
  239. package/lib/commonjs/modules/parser.js +2 -3
  240. package/lib/commonjs/modules/parser.js.map +1 -1
  241. package/lib/commonjs/redux/actionTypes.js +25 -1
  242. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  243. package/lib/commonjs/redux/actions/index.js +90 -1
  244. package/lib/commonjs/redux/actions/index.js.map +1 -1
  245. package/lib/commonjs/redux/reducers/appState.js +77 -2
  246. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  247. package/lib/commonjs/redux/reducers/chatWindow.js +3 -7
  248. package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
  249. package/lib/commonjs/redux/reducers/hmsStates.js +70 -7
  250. package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
  251. package/lib/commonjs/utils/functions.js +11 -4
  252. package/lib/commonjs/utils/functions.js.map +1 -1
  253. package/lib/commonjs/utils/theme.js +2 -0
  254. package/lib/commonjs/utils/theme.js.map +1 -1
  255. package/lib/commonjs/utils/types.js +9 -3
  256. package/lib/commonjs/utils/types.js.map +1 -1
  257. package/lib/commonjs/utils.js +8 -1
  258. package/lib/commonjs/utils.js.map +1 -1
  259. package/lib/module/HMSPrebuilt.js +6 -6
  260. package/lib/module/HMSPrebuilt.js.map +1 -1
  261. package/lib/module/HMSRoomSetup.js +29 -32
  262. package/lib/module/HMSRoomSetup.js.map +1 -1
  263. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  264. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  265. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  266. package/lib/module/Icons/AlertTriangle/index.js +2 -1
  267. package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
  268. package/lib/module/Icons/Eye/assets/eye-on-small.png +0 -0
  269. package/lib/module/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  270. package/lib/module/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  271. package/lib/module/Icons/Eye/index.js +27 -0
  272. package/lib/module/Icons/Eye/index.js.map +1 -0
  273. package/lib/module/Icons/Hamburger/assets/hamburger.png +0 -0
  274. package/lib/module/Icons/Hamburger/assets/hamburger@2x.png +0 -0
  275. package/lib/module/Icons/Hamburger/assets/hamburger@3x.png +0 -0
  276. package/lib/module/Icons/Person/assets/person-left.png +0 -0
  277. package/lib/module/Icons/Person/assets/person-left@2x.png +0 -0
  278. package/lib/module/Icons/Person/assets/person-left@3x.png +0 -0
  279. package/lib/module/Icons/Person/assets/person-off.png +0 -0
  280. package/lib/module/Icons/Person/assets/person-off@2x.png +0 -0
  281. package/lib/module/Icons/Person/assets/person-off@3x.png +0 -0
  282. package/lib/module/Icons/Person/assets/person-rectangle.png +0 -0
  283. package/lib/module/Icons/Person/assets/person-rectangle@2x.png +0 -0
  284. package/lib/module/Icons/Person/assets/person-rectangle@3x.png +0 -0
  285. package/lib/module/Icons/Person/index.js +2 -1
  286. package/lib/module/Icons/Person/index.js.map +1 -1
  287. package/lib/module/Icons/Radio/assets/radio-xlarge.png +0 -0
  288. package/lib/module/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
  289. package/lib/module/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
  290. package/lib/module/Icons/Radio/index.js +30 -2
  291. package/lib/module/Icons/Radio/index.js.map +1 -1
  292. package/lib/module/Icons/Search/assets/search.png +0 -0
  293. package/lib/module/Icons/Search/assets/search@2x.png +0 -0
  294. package/lib/module/Icons/Search/assets/search@3x.png +0 -0
  295. package/lib/module/Icons/Search/index.js +26 -0
  296. package/lib/module/Icons/Search/index.js.map +1 -0
  297. package/lib/module/Icons/Stop/assets/stop.png +0 -0
  298. package/lib/module/Icons/Stop/assets/stop@2x.png +0 -0
  299. package/lib/module/Icons/Stop/assets/stop@3x.png +0 -0
  300. package/lib/module/Icons/Stop/index.js.map +1 -1
  301. package/lib/module/Icons/index.js +2 -0
  302. package/lib/module/Icons/index.js.map +1 -1
  303. package/lib/module/assets/audio-level-white.json +1271 -0
  304. package/lib/module/assets/empty-chat-illustration/empty-chat.png +0 -0
  305. package/lib/module/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  306. package/lib/module/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  307. package/lib/module/assets/welcome.png +0 -0
  308. package/lib/module/components/AnimatedFooter.js +26 -0
  309. package/lib/module/components/AnimatedFooter.js.map +1 -0
  310. package/lib/module/components/AnimatedHLSFooter.js +27 -0
  311. package/lib/module/components/AnimatedHLSFooter.js.map +1 -0
  312. package/lib/module/components/AnimatedHeader.js +35 -0
  313. package/lib/module/components/AnimatedHeader.js.map +1 -0
  314. package/lib/module/components/BottomSheet.js +6 -3
  315. package/lib/module/components/BottomSheet.js.map +1 -1
  316. package/lib/module/components/ChangeNameModalContent.js +2 -14
  317. package/lib/module/components/ChangeNameModalContent.js.map +1 -1
  318. package/lib/module/components/Chat/ChatBanner.js +36 -55
  319. package/lib/module/components/Chat/ChatBanner.js.map +1 -1
  320. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +74 -0
  321. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  322. package/lib/module/components/Chat/ChatFilterBottomSheetView.js +60 -0
  323. package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  324. package/lib/module/components/Chat/ChatFilterItem.js +62 -0
  325. package/lib/module/components/Chat/ChatFilterItem.js.map +1 -0
  326. package/lib/module/components/Chat/ChatFilterView.js +189 -0
  327. package/lib/module/components/Chat/ChatFilterView.js.map +1 -0
  328. package/lib/module/components/Chat/ChatList.js +6 -6
  329. package/lib/module/components/Chat/ChatList.js.map +1 -1
  330. package/lib/module/components/Chat/ChatMessage.js +36 -135
  331. package/lib/module/components/Chat/ChatMessage.js.map +1 -1
  332. package/lib/module/components/Chat/PinnedMessage.js +40 -43
  333. package/lib/module/components/Chat/PinnedMessage.js.map +1 -1
  334. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +33 -0
  335. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  336. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +96 -0
  337. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  338. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +57 -0
  339. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  340. package/lib/module/components/ChatAndParticipants/ChatView.js +28 -0
  341. package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -0
  342. package/lib/module/components/ChatAndParticipants/ParticipantsView.js +30 -0
  343. package/lib/module/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  344. package/lib/module/components/ChatAndParticipants/index.js +2 -0
  345. package/lib/module/components/ChatAndParticipants/index.js.map +1 -0
  346. package/lib/module/components/CompanyLogo.js +5 -4
  347. package/lib/module/components/CompanyLogo.js.map +1 -1
  348. package/lib/module/components/DefaultModal.js +2 -6
  349. package/lib/module/components/DefaultModal.js.map +1 -1
  350. package/lib/module/components/DisplayView.js +10 -22
  351. package/lib/module/components/DisplayView.js.map +1 -1
  352. package/lib/module/components/EndRoomModalContent.js +20 -6
  353. package/lib/module/components/EndRoomModalContent.js.map +1 -1
  354. package/lib/module/components/Footer.js +43 -29
  355. package/lib/module/components/Footer.js.map +1 -1
  356. package/lib/module/components/FullScreenVideoView.js +64 -0
  357. package/lib/module/components/FullScreenVideoView.js.map +1 -0
  358. package/lib/module/components/GridView.js +130 -49
  359. package/lib/module/components/GridView.js.map +1 -1
  360. package/lib/module/components/HLSFooter.js +26 -0
  361. package/lib/module/components/HLSFooter.js.map +1 -0
  362. package/lib/module/components/HLSView.js +11 -23
  363. package/lib/module/components/HLSView.js.map +1 -1
  364. package/lib/module/components/HMSChat.js +16 -15
  365. package/lib/module/components/HMSChat.js.map +1 -1
  366. package/lib/module/components/HMSHLSMessage.js +58 -0
  367. package/lib/module/components/HMSHLSMessage.js.map +1 -0
  368. package/lib/module/components/HMSHLSMessageList.js +49 -0
  369. package/lib/module/components/HMSHLSMessageList.js.map +1 -0
  370. package/lib/module/components/HMSHLSNotStarted.js +29 -26
  371. package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
  372. package/lib/module/components/HMSHandRaiseNotification.js +75 -0
  373. package/lib/module/components/HMSHandRaiseNotification.js.map +1 -0
  374. package/lib/module/components/HMSKeyboardAvoidingView.js +40 -0
  375. package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -0
  376. package/lib/module/components/HMSLiveIndicator.js +96 -0
  377. package/lib/module/components/HMSLiveIndicator.js.map +1 -0
  378. package/lib/module/components/HMSLocalScreenshareNotification.js +29 -0
  379. package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -0
  380. package/lib/module/components/HMSLocalVideoView.js +4 -23
  381. package/lib/module/components/HMSLocalVideoView.js.map +1 -1
  382. package/lib/module/components/HMSManageAudioOutput.js +8 -2
  383. package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
  384. package/lib/module/components/HMSManageLeave.js +49 -39
  385. package/lib/module/components/HMSManageLeave.js.map +1 -1
  386. package/lib/module/components/HMSManageRaiseHand.js +2 -15
  387. package/lib/module/components/HMSManageRaiseHand.js.map +1 -1
  388. package/lib/module/components/HMSNotification.js +87 -0
  389. package/lib/module/components/HMSNotification.js.map +1 -0
  390. package/lib/module/components/HMSNotifications.js +105 -0
  391. package/lib/module/components/HMSNotifications.js.map +1 -0
  392. package/lib/module/components/HMSOverlayChatView.js +20 -0
  393. package/lib/module/components/HMSOverlayChatView.js.map +1 -0
  394. package/lib/module/components/HMSPreviewJoinButton.js +2 -3
  395. package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
  396. package/lib/module/components/HMSPreviewNetworkQuality.js +1 -1
  397. package/lib/module/components/HMSPreviewNetworkQuality.js.map +1 -1
  398. package/lib/module/components/HMSPreviewSubtitle.js +2 -4
  399. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
  400. package/lib/module/components/HMSPreviewTitle.js +2 -4
  401. package/lib/module/components/HMSPreviewTitle.js.map +1 -1
  402. package/lib/module/components/HMSRecordingIndicator.js +7 -3
  403. package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
  404. package/lib/module/components/HMSRoleChangeDeclinedNotification.js +21 -0
  405. package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  406. package/lib/module/components/HMSSendMessageInput.js +48 -0
  407. package/lib/module/components/HMSSendMessageInput.js.map +1 -0
  408. package/lib/module/components/HMSTextInput.js +99 -13
  409. package/lib/module/components/HMSTextInput.js.map +1 -1
  410. package/lib/module/components/HMSVideoView.js +34 -0
  411. package/lib/module/components/HMSVideoView.js.map +1 -0
  412. package/lib/module/components/Header.js +18 -123
  413. package/lib/module/components/Header.js.map +1 -1
  414. package/lib/module/components/LocalPeerScreenshareView.js +1 -6
  415. package/lib/module/components/LocalPeerScreenshareView.js.map +1 -1
  416. package/lib/module/components/Meeting.js +9 -7
  417. package/lib/module/components/Meeting.js.map +1 -1
  418. package/lib/module/components/MeetingScreenContent.js +25 -11
  419. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  420. package/lib/module/components/MenuModal/Menu.js +2 -2
  421. package/lib/module/components/MenuModal/Menu.js.map +1 -1
  422. package/lib/module/components/MiniView.js +8 -3
  423. package/lib/module/components/MiniView.js.map +1 -1
  424. package/lib/module/components/Modals.js +88 -313
  425. package/lib/module/components/Modals.js.map +1 -1
  426. package/lib/module/components/OverlayContainer.js +32 -0
  427. package/lib/module/components/OverlayContainer.js.map +1 -0
  428. package/lib/module/components/OverlayedViews.js +13 -0
  429. package/lib/module/components/OverlayedViews.js.map +1 -0
  430. package/lib/module/components/PaginationDots.js +4 -4
  431. package/lib/module/components/PaginationDots.js.map +1 -1
  432. package/lib/module/components/Participants/ParticipantsGroupHeader.js +121 -0
  433. package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  434. package/lib/module/components/Participants/ParticipantsGroupOptions.js +71 -0
  435. package/lib/module/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  436. package/lib/module/components/Participants/ParticipantsItem.js +123 -0
  437. package/lib/module/components/Participants/ParticipantsItem.js.map +1 -0
  438. package/lib/module/components/Participants/ParticipantsItemOption.js +37 -0
  439. package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -0
  440. package/lib/module/components/Participants/ParticipantsItemOptions.js +211 -0
  441. package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -0
  442. package/lib/module/components/Participants/ParticipantsList.js +42 -225
  443. package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
  444. package/lib/module/components/Participants/ParticipantsSeachInput.js +37 -30
  445. package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
  446. package/lib/module/components/Participants/index.js +0 -3
  447. package/lib/module/components/Participants/index.js.map +1 -1
  448. package/lib/module/components/PeerMinimizedView.js +1 -1
  449. package/lib/module/components/PeerSettingsModalContent.js +50 -126
  450. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  451. package/lib/module/components/PeerVideoTile/AvatarView.js +19 -5
  452. package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
  453. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +36 -0
  454. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  455. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +193 -0
  456. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  457. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +60 -0
  458. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  459. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +11 -3
  460. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  461. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +41 -20
  462. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  463. package/lib/module/components/PeerVideoTile/VideoView.js +43 -10
  464. package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
  465. package/lib/module/components/PressableIcon.js +11 -6
  466. package/lib/module/components/PressableIcon.js.map +1 -1
  467. package/lib/module/components/Preview.js +6 -13
  468. package/lib/module/components/Preview.js.map +1 -1
  469. package/lib/module/components/PreviewForRoleChangeModal.js +322 -0
  470. package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -0
  471. package/lib/module/components/ReconnectionView.js +56 -0
  472. package/lib/module/components/ReconnectionView.js.map +1 -0
  473. package/lib/module/components/RoomSettingsModalContent.js +27 -35
  474. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  475. package/lib/module/components/RoomSettingsModalDebugModeContent.js +31 -70
  476. package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  477. package/lib/module/components/StatusBar.js +7 -5
  478. package/lib/module/components/StatusBar.js.map +1 -1
  479. package/lib/module/components/StopRecordingModalContent.js.map +1 -1
  480. package/lib/module/components/StreamingQualityModalContent.js +8 -8
  481. package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
  482. package/lib/module/components/TilesContainer.js +31 -9
  483. package/lib/module/components/TilesContainer.js.map +1 -1
  484. package/lib/module/components/WebrtcView.js +11 -14
  485. package/lib/module/components/WebrtcView.js.map +1 -1
  486. package/lib/module/components/WelcomeInMeeting.js +8 -32
  487. package/lib/module/components/WelcomeInMeeting.js.map +1 -1
  488. package/lib/module/components/index.js +0 -3
  489. package/lib/module/components/index.js.map +1 -1
  490. package/lib/module/hooks-util-selectors.js +38 -8
  491. package/lib/module/hooks-util-selectors.js.map +1 -1
  492. package/lib/module/hooks-util.js +615 -213
  493. package/lib/module/hooks-util.js.map +1 -1
  494. package/lib/module/modules/HMSManager.js +3 -3
  495. package/lib/module/modules/HMSManager.js.map +1 -1
  496. package/lib/module/modules/parser.js +2 -3
  497. package/lib/module/modules/parser.js.map +1 -1
  498. package/lib/module/redux/actionTypes.js +25 -1
  499. package/lib/module/redux/actionTypes.js.map +1 -1
  500. package/lib/module/redux/actions/index.js +74 -0
  501. package/lib/module/redux/actions/index.js.map +1 -1
  502. package/lib/module/redux/reducers/appState.js +78 -2
  503. package/lib/module/redux/reducers/appState.js.map +1 -1
  504. package/lib/module/redux/reducers/chatWindow.js +3 -7
  505. package/lib/module/redux/reducers/chatWindow.js.map +1 -1
  506. package/lib/module/redux/reducers/hmsStates.js +70 -7
  507. package/lib/module/redux/reducers/hmsStates.js.map +1 -1
  508. package/lib/module/utils/functions.js +9 -3
  509. package/lib/module/utils/functions.js.map +1 -1
  510. package/lib/module/utils/theme.js +2 -0
  511. package/lib/module/utils/theme.js.map +1 -1
  512. package/lib/module/utils/types.js +6 -2
  513. package/lib/module/utils/types.js.map +1 -1
  514. package/lib/module/utils.js +6 -0
  515. package/lib/module/utils.js.map +1 -1
  516. package/lib/typescript/HMSPrebuilt.d.ts +1 -0
  517. package/lib/typescript/HMSPrebuilt.d.ts.map +1 -1
  518. package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
  519. package/lib/typescript/Icons/AlertTriangle/index.d.ts +1 -0
  520. package/lib/typescript/Icons/AlertTriangle/index.d.ts.map +1 -1
  521. package/lib/typescript/Icons/Eye/index.d.ts +8 -0
  522. package/lib/typescript/Icons/Eye/index.d.ts.map +1 -0
  523. package/lib/typescript/Icons/Person/index.d.ts +1 -0
  524. package/lib/typescript/Icons/Person/index.d.ts.map +1 -1
  525. package/lib/typescript/Icons/Radio/index.d.ts +7 -3
  526. package/lib/typescript/Icons/Radio/index.d.ts.map +1 -1
  527. package/lib/typescript/Icons/Search/index.d.ts +7 -0
  528. package/lib/typescript/Icons/Search/index.d.ts.map +1 -0
  529. package/lib/typescript/Icons/Stop/index.d.ts.map +1 -1
  530. package/lib/typescript/Icons/index.d.ts +2 -0
  531. package/lib/typescript/Icons/index.d.ts.map +1 -1
  532. package/lib/typescript/components/AnimatedFooter.d.ts +8 -0
  533. package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -0
  534. package/lib/typescript/components/AnimatedHLSFooter.d.ts +11 -0
  535. package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -0
  536. package/lib/typescript/components/AnimatedHeader.d.ts +7 -0
  537. package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -0
  538. package/lib/typescript/components/BottomSheet.d.ts +4 -1
  539. package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
  540. package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
  541. package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
  542. package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
  543. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +6 -0
  544. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -0
  545. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts +6 -0
  546. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -0
  547. package/lib/typescript/components/Chat/ChatFilterItem.d.ts +12 -0
  548. package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -0
  549. package/lib/typescript/components/Chat/ChatFilterView.d.ts +6 -0
  550. package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -0
  551. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
  552. package/lib/typescript/components/Chat/ChatMessage.d.ts +2 -2
  553. package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
  554. package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -1
  555. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts +3 -0
  556. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -0
  557. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts +7 -0
  558. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -0
  559. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts +3 -0
  560. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -0
  561. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts +6 -0
  562. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -0
  563. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts +5 -0
  564. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts.map +1 -0
  565. package/lib/typescript/components/ChatAndParticipants/index.d.ts +2 -0
  566. package/lib/typescript/components/ChatAndParticipants/index.d.ts.map +1 -0
  567. package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
  568. package/lib/typescript/components/DefaultModal.d.ts.map +1 -1
  569. package/lib/typescript/components/DisplayView.d.ts.map +1 -1
  570. package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
  571. package/lib/typescript/components/Footer.d.ts +0 -2
  572. package/lib/typescript/components/Footer.d.ts.map +1 -1
  573. package/lib/typescript/components/FullScreenVideoView.d.ts +3 -0
  574. package/lib/typescript/components/FullScreenVideoView.d.ts.map +1 -0
  575. package/lib/typescript/components/GridView.d.ts +12 -1
  576. package/lib/typescript/components/GridView.d.ts.map +1 -1
  577. package/lib/typescript/components/HLSFooter.d.ts +8 -0
  578. package/lib/typescript/components/HLSFooter.d.ts.map +1 -0
  579. package/lib/typescript/components/HLSView.d.ts.map +1 -1
  580. package/lib/typescript/components/HMSBaseButton.d.ts +2 -2
  581. package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
  582. package/lib/typescript/components/HMSChat.d.ts.map +1 -1
  583. package/lib/typescript/components/HMSHLSMessage.d.ts +8 -0
  584. package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -0
  585. package/lib/typescript/components/HMSHLSMessageList.d.ts +3 -0
  586. package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -0
  587. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
  588. package/lib/typescript/components/HMSHandRaiseNotification.d.ts +10 -0
  589. package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -0
  590. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +8 -0
  591. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -0
  592. package/lib/typescript/components/HMSLiveIndicator.d.ts +3 -0
  593. package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -0
  594. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts +5 -0
  595. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -0
  596. package/lib/typescript/components/HMSLocalVideoView.d.ts.map +1 -1
  597. package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
  598. package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
  599. package/lib/typescript/components/HMSManageRaiseHand.d.ts.map +1 -1
  600. package/lib/typescript/components/HMSNotification.d.ts +15 -0
  601. package/lib/typescript/components/HMSNotification.d.ts.map +1 -0
  602. package/lib/typescript/components/HMSNotifications.d.ts +5 -0
  603. package/lib/typescript/components/HMSNotifications.d.ts.map +1 -0
  604. package/lib/typescript/components/HMSOverlayChatView.d.ts +3 -0
  605. package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -0
  606. package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
  607. package/lib/typescript/components/HMSPreviewNetworkQuality.d.ts.map +1 -1
  608. package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
  609. package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
  610. package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
  611. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts +9 -0
  612. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts.map +1 -0
  613. package/lib/typescript/components/HMSSendMessageInput.d.ts +9 -0
  614. package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -0
  615. package/lib/typescript/components/HMSTextInput.d.ts +20 -6
  616. package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
  617. package/lib/typescript/components/HMSVideoView.d.ts +6 -0
  618. package/lib/typescript/components/HMSVideoView.d.ts.map +1 -0
  619. package/lib/typescript/components/Header.d.ts +3 -2
  620. package/lib/typescript/components/Header.d.ts.map +1 -1
  621. package/lib/typescript/components/LocalPeerScreenshareView.d.ts.map +1 -1
  622. package/lib/typescript/components/Meeting.d.ts.map +1 -1
  623. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  624. package/lib/typescript/components/MiniView.d.ts.map +1 -1
  625. package/lib/typescript/components/Modals.d.ts +1 -21
  626. package/lib/typescript/components/Modals.d.ts.map +1 -1
  627. package/lib/typescript/components/OverlayContainer.d.ts +9 -0
  628. package/lib/typescript/components/OverlayContainer.d.ts.map +1 -0
  629. package/lib/typescript/components/OverlayedViews.d.ts +4 -0
  630. package/lib/typescript/components/OverlayedViews.d.ts.map +1 -0
  631. package/lib/typescript/components/PaginationDots.d.ts +3 -0
  632. package/lib/typescript/components/PaginationDots.d.ts.map +1 -1
  633. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts +9 -0
  634. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -0
  635. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts +8 -0
  636. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts.map +1 -0
  637. package/lib/typescript/components/Participants/ParticipantsItem.d.ts +9 -0
  638. package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -0
  639. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts +12 -0
  640. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts.map +1 -0
  641. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts +10 -0
  642. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -0
  643. package/lib/typescript/components/Participants/ParticipantsList.d.ts +4 -2
  644. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
  645. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
  646. package/lib/typescript/components/Participants/index.d.ts +0 -3
  647. package/lib/typescript/components/Participants/index.d.ts.map +1 -1
  648. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
  649. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts +4 -0
  650. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts.map +1 -1
  651. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts +7 -0
  652. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts.map +1 -0
  653. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts +7 -0
  654. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts.map +1 -0
  655. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts +8 -0
  656. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts.map +1 -0
  657. package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
  658. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts +2 -1
  659. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
  660. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts +1 -0
  661. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts.map +1 -1
  662. package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
  663. package/lib/typescript/components/Preview.d.ts.map +1 -1
  664. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts +3 -0
  665. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -0
  666. package/lib/typescript/components/ReconnectionView.d.ts +4 -0
  667. package/lib/typescript/components/ReconnectionView.d.ts.map +1 -0
  668. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  669. package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
  670. package/lib/typescript/components/StatusBar.d.ts +2 -1
  671. package/lib/typescript/components/StatusBar.d.ts.map +1 -1
  672. package/lib/typescript/components/StopRecordingModalContent.d.ts.map +1 -1
  673. package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -1
  674. package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
  675. package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
  676. package/lib/typescript/components/WelcomeInMeeting.d.ts.map +1 -1
  677. package/lib/typescript/components/index.d.ts +0 -3
  678. package/lib/typescript/components/index.d.ts.map +1 -1
  679. package/lib/typescript/hooks-util-selectors.d.ts +7 -2
  680. package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
  681. package/lib/typescript/hooks-util.d.ts +53 -23
  682. package/lib/typescript/hooks-util.d.ts.map +1 -1
  683. package/lib/typescript/modules/HMSManager.d.ts +1 -1
  684. package/lib/typescript/modules/HMSManager.d.ts.map +1 -1
  685. package/lib/typescript/modules/parser.d.ts +1 -1
  686. package/lib/typescript/modules/parser.d.ts.map +1 -1
  687. package/lib/typescript/redux/actionTypes.d.ts +16 -1
  688. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  689. package/lib/typescript/redux/actions/index.d.ts +92 -4
  690. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  691. package/lib/typescript/redux/index.d.ts +22 -2
  692. package/lib/typescript/redux/index.d.ts.map +1 -1
  693. package/lib/typescript/redux/reducers/appState.d.ts +10 -0
  694. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  695. package/lib/typescript/redux/reducers/chatWindow.d.ts +6 -6
  696. package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
  697. package/lib/typescript/redux/reducers/hmsStates.d.ts +32 -4
  698. package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
  699. package/lib/typescript/redux/reducers/index.d.ts +22 -2
  700. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  701. package/lib/typescript/redux/reducers/userState.d.ts +1 -0
  702. package/lib/typescript/redux/reducers/userState.d.ts.map +1 -1
  703. package/lib/typescript/utils/functions.d.ts +3 -1
  704. package/lib/typescript/utils/functions.d.ts.map +1 -1
  705. package/lib/typescript/utils/theme.d.ts +1 -1
  706. package/lib/typescript/utils/theme.d.ts.map +1 -1
  707. package/lib/typescript/utils/types.d.ts +6 -2
  708. package/lib/typescript/utils/types.d.ts.map +1 -1
  709. package/lib/typescript/utils.d.ts +5 -0
  710. package/lib/typescript/utils.d.ts.map +1 -1
  711. package/package.json +13 -8
  712. package/src/HMSPrebuilt.tsx +10 -10
  713. package/src/HMSRoomSetup.tsx +50 -28
  714. package/src/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  715. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  716. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  717. package/src/Icons/AlertTriangle/index.tsx +9 -2
  718. package/src/Icons/Eye/assets/eye-on-small.png +0 -0
  719. package/src/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  720. package/src/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  721. package/src/Icons/Eye/index.tsx +36 -0
  722. package/src/Icons/Hamburger/assets/hamburger.png +0 -0
  723. package/src/Icons/Hamburger/assets/hamburger@2x.png +0 -0
  724. package/src/Icons/Hamburger/assets/hamburger@3x.png +0 -0
  725. package/src/Icons/Person/assets/person-left.png +0 -0
  726. package/src/Icons/Person/assets/person-left@2x.png +0 -0
  727. package/src/Icons/Person/assets/person-left@3x.png +0 -0
  728. package/src/Icons/Person/assets/person-off.png +0 -0
  729. package/src/Icons/Person/assets/person-off@2x.png +0 -0
  730. package/src/Icons/Person/assets/person-off@3x.png +0 -0
  731. package/src/Icons/Person/assets/person-rectangle.png +0 -0
  732. package/src/Icons/Person/assets/person-rectangle@2x.png +0 -0
  733. package/src/Icons/Person/assets/person-rectangle@3x.png +0 -0
  734. package/src/Icons/Person/index.tsx +13 -2
  735. package/src/Icons/Radio/assets/radio-xlarge.png +0 -0
  736. package/src/Icons/Radio/assets/radio-xlarge@2x.png +0 -0
  737. package/src/Icons/Radio/assets/radio-xlarge@3x.png +0 -0
  738. package/src/Icons/Radio/index.tsx +53 -4
  739. package/src/Icons/Search/assets/search.png +0 -0
  740. package/src/Icons/Search/assets/search@2x.png +0 -0
  741. package/src/Icons/Search/assets/search@3x.png +0 -0
  742. package/src/Icons/Search/index.tsx +33 -0
  743. package/src/Icons/Stop/assets/stop.png +0 -0
  744. package/src/Icons/Stop/assets/stop@2x.png +0 -0
  745. package/src/Icons/Stop/assets/stop@3x.png +0 -0
  746. package/src/Icons/Stop/index.tsx +1 -4
  747. package/src/Icons/index.ts +2 -0
  748. package/src/assets/audio-level-white.json +1271 -0
  749. package/src/assets/empty-chat-illustration/empty-chat.png +0 -0
  750. package/src/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  751. package/src/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  752. package/src/assets/welcome.png +0 -0
  753. package/src/components/AnimatedFooter.tsx +37 -0
  754. package/src/components/AnimatedHLSFooter.tsx +43 -0
  755. package/src/components/AnimatedHeader.tsx +53 -0
  756. package/src/components/BottomSheet.tsx +8 -4
  757. package/src/components/ChangeNameModalContent.tsx +2 -11
  758. package/src/components/Chat/ChatBanner.tsx +37 -52
  759. package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +88 -0
  760. package/src/components/Chat/ChatFilterBottomSheetView.tsx +81 -0
  761. package/src/components/Chat/ChatFilterItem.tsx +71 -0
  762. package/src/components/Chat/ChatFilterView.tsx +250 -0
  763. package/src/components/Chat/ChatList.tsx +16 -12
  764. package/src/components/Chat/ChatMessage.tsx +48 -197
  765. package/src/components/Chat/PinnedMessage.tsx +45 -45
  766. package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +38 -0
  767. package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +140 -0
  768. package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +84 -0
  769. package/src/components/ChatAndParticipants/ChatView.tsx +42 -0
  770. package/src/components/ChatAndParticipants/ParticipantsView.tsx +41 -0
  771. package/src/components/ChatAndParticipants/index.ts +1 -0
  772. package/src/components/CompanyLogo.tsx +4 -3
  773. package/src/components/DefaultModal.tsx +4 -6
  774. package/src/components/DisplayView.tsx +11 -28
  775. package/src/components/EndRoomModalContent.tsx +32 -7
  776. package/src/components/Footer.tsx +76 -36
  777. package/src/components/FullScreenVideoView.tsx +77 -0
  778. package/src/components/GridView.tsx +186 -65
  779. package/src/components/HLSFooter.tsx +32 -0
  780. package/src/components/HLSView.tsx +6 -33
  781. package/src/components/HMSBaseButton.tsx +2 -2
  782. package/src/components/HMSChat.tsx +12 -25
  783. package/src/components/HMSHLSMessage.tsx +72 -0
  784. package/src/components/HMSHLSMessageList.tsx +60 -0
  785. package/src/components/HMSHLSNotStarted.tsx +27 -32
  786. package/src/components/HMSHandRaiseNotification.tsx +101 -0
  787. package/src/components/HMSKeyboardAvoidingView.tsx +58 -0
  788. package/src/components/HMSLiveIndicator.tsx +124 -0
  789. package/src/components/HMSLocalScreenshareNotification.tsx +41 -0
  790. package/src/components/HMSLocalVideoView.tsx +4 -31
  791. package/src/components/HMSManageAudioOutput.tsx +14 -2
  792. package/src/components/HMSManageLeave.tsx +56 -35
  793. package/src/components/HMSManageRaiseHand.tsx +2 -16
  794. package/src/components/HMSNotification.tsx +126 -0
  795. package/src/components/HMSNotifications.tsx +154 -0
  796. package/src/components/HMSOverlayChatView.tsx +36 -0
  797. package/src/components/HMSPreviewJoinButton.tsx +6 -3
  798. package/src/components/HMSPreviewNetworkQuality.tsx +3 -1
  799. package/src/components/HMSPreviewSubtitle.tsx +2 -6
  800. package/src/components/HMSPreviewTitle.tsx +2 -6
  801. package/src/components/HMSRecordingIndicator.tsx +18 -5
  802. package/src/components/HMSRoleChangeDeclinedNotification.tsx +25 -0
  803. package/src/components/HMSSendMessageInput.tsx +59 -0
  804. package/src/components/HMSTextInput.tsx +157 -23
  805. package/src/components/HMSVideoView.tsx +43 -0
  806. package/src/components/Header.tsx +28 -136
  807. package/src/components/LocalPeerScreenshareView.tsx +0 -6
  808. package/src/components/Meeting.tsx +15 -8
  809. package/src/components/MeetingScreenContent.tsx +29 -12
  810. package/src/components/MiniView.tsx +10 -4
  811. package/src/components/Modals.tsx +112 -370
  812. package/src/components/OverlayContainer.tsx +31 -0
  813. package/src/components/OverlayedViews.tsx +22 -0
  814. package/src/components/PaginationDots.tsx +9 -8
  815. package/src/components/Participants/ParticipantsGroupHeader.tsx +145 -0
  816. package/src/components/Participants/ParticipantsGroupOptions.tsx +87 -0
  817. package/src/components/Participants/ParticipantsItem.tsx +170 -0
  818. package/src/components/Participants/ParticipantsItemOption.tsx +52 -0
  819. package/src/components/Participants/ParticipantsItemOptions.tsx +262 -0
  820. package/src/components/Participants/ParticipantsList.tsx +68 -278
  821. package/src/components/Participants/ParticipantsSeachInput.tsx +37 -35
  822. package/src/components/Participants/index.ts +0 -3
  823. package/src/components/PeerMinimizedView.tsx +1 -1
  824. package/src/components/PeerSettingsModalContent.tsx +44 -191
  825. package/src/components/PeerVideoTile/AvatarView.tsx +43 -5
  826. package/src/components/PeerVideoTile/HMSFullScreenButton.tsx +56 -0
  827. package/src/components/PeerVideoTile/HMSPinchGesture.tsx +176 -0
  828. package/src/components/PeerVideoTile/PeerAudioIndicator.tsx +78 -0
  829. package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +15 -2
  830. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +172 -115
  831. package/src/components/PeerVideoTile/VideoView.tsx +59 -9
  832. package/src/components/PressableIcon.tsx +26 -13
  833. package/src/components/Preview.tsx +17 -24
  834. package/src/components/PreviewForRoleChangeModal.tsx +448 -0
  835. package/src/components/ReconnectionView.tsx +73 -0
  836. package/src/components/RoomSettingsModalContent.tsx +32 -29
  837. package/src/components/RoomSettingsModalDebugModeContent.tsx +11 -65
  838. package/src/components/StatusBar.tsx +6 -4
  839. package/src/components/StopRecordingModalContent.tsx +3 -1
  840. package/src/components/StreamingQualityModalContent.tsx +8 -8
  841. package/src/components/TilesContainer.tsx +54 -24
  842. package/src/components/WebrtcView.tsx +29 -19
  843. package/src/components/WelcomeInMeeting.tsx +5 -34
  844. package/src/components/index.ts +0 -3
  845. package/src/hooks-util-selectors.tsx +69 -6
  846. package/src/hooks-util.ts +856 -273
  847. package/src/modules/HMSManager.ts +3 -3
  848. package/src/modules/parser.ts +3 -4
  849. package/src/redux/actionTypes.ts +33 -0
  850. package/src/redux/actions/index.ts +99 -2
  851. package/src/redux/reducers/appState.ts +87 -2
  852. package/src/redux/reducers/chatWindow.ts +12 -5
  853. package/src/redux/reducers/hmsStates.ts +136 -4
  854. package/src/redux/reducers/userState.ts +1 -1
  855. package/src/utils/functions.ts +10 -1
  856. package/src/utils/theme.ts +3 -1
  857. package/src/utils/types.ts +6 -2
  858. package/src/utils.ts +6 -0
  859. package/lib/commonjs/assets/100ms-logo.png +0 -0
  860. package/lib/commonjs/assets/brb.png +0 -0
  861. package/lib/commonjs/assets/icon.png +0 -0
  862. package/lib/commonjs/assets/illustration.png +0 -0
  863. package/lib/commonjs/assets/network_0.png +0 -0
  864. package/lib/commonjs/assets/network_1.png +0 -0
  865. package/lib/commonjs/assets/network_2.png +0 -0
  866. package/lib/commonjs/assets/network_3.png +0 -0
  867. package/lib/commonjs/assets/network_4.png +0 -0
  868. package/lib/commonjs/assets/user_music.png +0 -0
  869. package/lib/commonjs/components/ChatWindow.js +0 -608
  870. package/lib/commonjs/components/ChatWindow.js.map +0 -1
  871. package/lib/commonjs/components/CustomInput.js +0 -89
  872. package/lib/commonjs/components/CustomInput.js.map +0 -1
  873. package/lib/commonjs/components/DisplayTrack.js +0 -70
  874. package/lib/commonjs/components/DisplayTrack.js.map +0 -1
  875. package/lib/commonjs/components/HMSShareScreen.js +0 -59
  876. package/lib/commonjs/components/HMSShareScreen.js.map +0 -1
  877. package/lib/commonjs/components/HMSShowNetworkQuality.js +0 -56
  878. package/lib/commonjs/components/HMSShowNetworkQuality.js.map +0 -1
  879. package/lib/commonjs/components/LiveButton.js +0 -70
  880. package/lib/commonjs/components/LiveButton.js.map +0 -1
  881. package/lib/commonjs/components/Participants/ParticipantsFilter.js +0 -128
  882. package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +0 -1
  883. package/lib/commonjs/components/Participants/ParticipantsHeader.js +0 -67
  884. package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +0 -1
  885. package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +0 -1
  886. package/lib/commonjs/components/ParticipantsModal.js.map +0 -1
  887. package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  888. package/lib/commonjs/components/Picker.js +0 -93
  889. package/lib/commonjs/components/Picker.js.map +0 -1
  890. package/lib/module/assets/100ms-logo.png +0 -0
  891. package/lib/module/assets/brb.png +0 -0
  892. package/lib/module/assets/icon.png +0 -0
  893. package/lib/module/assets/illustration.png +0 -0
  894. package/lib/module/assets/network_0.png +0 -0
  895. package/lib/module/assets/network_1.png +0 -0
  896. package/lib/module/assets/network_2.png +0 -0
  897. package/lib/module/assets/network_3.png +0 -0
  898. package/lib/module/assets/network_4.png +0 -0
  899. package/lib/module/assets/user_music.png +0 -0
  900. package/lib/module/components/ChatWindow.js +0 -595
  901. package/lib/module/components/ChatWindow.js.map +0 -1
  902. package/lib/module/components/CustomInput.js +0 -82
  903. package/lib/module/components/CustomInput.js.map +0 -1
  904. package/lib/module/components/DisplayTrack.js +0 -63
  905. package/lib/module/components/DisplayTrack.js.map +0 -1
  906. package/lib/module/components/HMSShareScreen.js +0 -50
  907. package/lib/module/components/HMSShareScreen.js.map +0 -1
  908. package/lib/module/components/HMSShowNetworkQuality.js +0 -47
  909. package/lib/module/components/HMSShowNetworkQuality.js.map +0 -1
  910. package/lib/module/components/LiveButton.js +0 -61
  911. package/lib/module/components/LiveButton.js.map +0 -1
  912. package/lib/module/components/Participants/ParticipantsFilter.js +0 -121
  913. package/lib/module/components/Participants/ParticipantsFilter.js.map +0 -1
  914. package/lib/module/components/Participants/ParticipantsHeader.js +0 -58
  915. package/lib/module/components/Participants/ParticipantsHeader.js.map +0 -1
  916. package/lib/module/components/Participants/SearchableParticipantsView.js +0 -18
  917. package/lib/module/components/Participants/SearchableParticipantsView.js.map +0 -1
  918. package/lib/module/components/ParticipantsModal.js +0 -34
  919. package/lib/module/components/ParticipantsModal.js.map +0 -1
  920. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -35
  921. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  922. package/lib/module/components/Picker.js +0 -83
  923. package/lib/module/components/Picker.js.map +0 -1
  924. package/lib/typescript/components/ChatWindow.d.ts +0 -22
  925. package/lib/typescript/components/ChatWindow.d.ts.map +0 -1
  926. package/lib/typescript/components/CustomInput.d.ts +0 -24
  927. package/lib/typescript/components/CustomInput.d.ts.map +0 -1
  928. package/lib/typescript/components/DisplayTrack.d.ts +0 -9
  929. package/lib/typescript/components/DisplayTrack.d.ts.map +0 -1
  930. package/lib/typescript/components/HMSShareScreen.d.ts +0 -9
  931. package/lib/typescript/components/HMSShareScreen.d.ts.map +0 -1
  932. package/lib/typescript/components/HMSShowNetworkQuality.d.ts +0 -3
  933. package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +0 -1
  934. package/lib/typescript/components/LiveButton.d.ts +0 -17
  935. package/lib/typescript/components/LiveButton.d.ts.map +0 -1
  936. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +0 -6
  937. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +0 -1
  938. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +0 -9
  939. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +0 -1
  940. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +0 -3
  941. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +0 -1
  942. package/lib/typescript/components/ParticipantsModal.d.ts +0 -5
  943. package/lib/typescript/components/ParticipantsModal.d.ts.map +0 -1
  944. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts +0 -6
  945. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts.map +0 -1
  946. package/lib/typescript/components/Picker.d.ts +0 -9
  947. package/lib/typescript/components/Picker.d.ts.map +0 -1
  948. package/src/assets/100ms-logo.png +0 -0
  949. package/src/assets/brb.png +0 -0
  950. package/src/assets/icon.png +0 -0
  951. package/src/assets/illustration.png +0 -0
  952. package/src/assets/network_0.png +0 -0
  953. package/src/assets/network_1.png +0 -0
  954. package/src/assets/network_2.png +0 -0
  955. package/src/assets/network_3.png +0 -0
  956. package/src/assets/network_4.png +0 -0
  957. package/src/assets/user_music.png +0 -0
  958. package/src/components/ChatWindow.tsx +0 -706
  959. package/src/components/CustomInput.tsx +0 -138
  960. package/src/components/DisplayTrack.tsx +0 -92
  961. package/src/components/HMSShareScreen.tsx +0 -71
  962. package/src/components/HMSShowNetworkQuality.tsx +0 -68
  963. package/src/components/LiveButton.tsx +0 -77
  964. package/src/components/Participants/ParticipantsFilter.tsx +0 -144
  965. package/src/components/Participants/ParticipantsHeader.tsx +0 -64
  966. package/src/components/Participants/SearchableParticipantsView.tsx +0 -21
  967. package/src/components/ParticipantsModal.tsx +0 -46
  968. package/src/components/PeerVideoTile/PeerAudioMutedIndicator.tsx +0 -41
  969. package/src/components/Picker.tsx +0 -108
@@ -7,7 +7,10 @@ exports.VideoView = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _reactRedux = require("react-redux");
10
+ var _blur = require("@react-native-community/blur");
10
11
  var _hooksUtil = require("../../hooks-util");
12
+ var _HMSPinchGesture = require("./HMSPinchGesture");
13
+ var _Icons = require("../../Icons");
11
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
16
  const _VideoView = /*#__PURE__*/React.forwardRef((_ref, hmsViewRef) => {
@@ -17,7 +20,8 @@ const _VideoView = /*#__PURE__*/React.forwardRef((_ref, hmsViewRef) => {
17
20
  overlay,
18
21
  isDegraded,
19
22
  scaleType,
20
- containerStyle
23
+ containerStyle,
24
+ zoomIn = false
21
25
  } = _ref;
22
26
  const HmsView = (0, _reactRedux.useSelector)(state => {
23
27
  var _state$user$hmsInstan;
@@ -31,13 +35,16 @@ const _VideoView = /*#__PURE__*/React.forwardRef((_ref, hmsViewRef) => {
31
35
  },
32
36
  degradedText: {
33
37
  color: theme.palette.on_surface_high,
34
- fontFamily: `${typography.font_family}-SemiBold`
38
+ fontFamily: `${typography.font_family}-Regular`
39
+ },
40
+ icon: {
41
+ tintColor: theme.palette.on_surface_high
35
42
  }
36
43
  }));
37
44
  if (!HmsView) {
38
45
  return null;
39
46
  }
40
- return /*#__PURE__*/React.createElement(_reactNative.View, {
47
+ const videoView = /*#__PURE__*/React.createElement(_reactNative.View, {
41
48
  style: [styles.container, containerStyle]
42
49
  }, /*#__PURE__*/React.createElement(HmsView, {
43
50
  ref: hmsViewRef,
@@ -48,11 +55,24 @@ const _VideoView = /*#__PURE__*/React.forwardRef((_ref, hmsViewRef) => {
48
55
  mirror: peer.isLocal ? mirrorCamera : false,
49
56
  scaleType: scaleType,
50
57
  style: styles.hmsView
51
- }), isDegraded ? /*#__PURE__*/React.createElement(_reactNative.View, {
52
- style: [styles.degradedView, hmsRoomStyles.degradedView]
53
- }, /*#__PURE__*/React.createElement(_reactNative.Text, {
58
+ }));
59
+ return /*#__PURE__*/React.createElement(_reactNative.View, {
60
+ style: styles.container
61
+ }, zoomIn ? /*#__PURE__*/React.createElement(_HMSPinchGesture.HMSPinchGesture, {
62
+ style: styles.container
63
+ }, videoView) : videoView, isDegraded ? /*#__PURE__*/React.createElement(_reactNative.View, {
64
+ style: styles.degradedView
65
+ }, /*#__PURE__*/React.createElement(_blur.BlurView, {
66
+ style: styles.blurView,
67
+ blurType: "dark",
68
+ blurAmount: 24
69
+ }), /*#__PURE__*/React.createElement(_Icons.AlertTriangleIcon, {
70
+ type: "fill",
71
+ style: [styles.icon, hmsRoomStyles.icon]
72
+ }), /*#__PURE__*/React.createElement(_reactNative.Text, {
73
+ numberOfLines: 2,
54
74
  style: [styles.degradedText, hmsRoomStyles.degradedText]
55
- }, "Degraded")) : null);
75
+ }, peer.isLocal ? 'Your' : `${peer.name}'s`, " network is unstable")) : null);
56
76
  });
57
77
  const styles = _reactNative.StyleSheet.create({
58
78
  container: {
@@ -73,10 +93,23 @@ const styles = _reactNative.StyleSheet.create({
73
93
  alignItems: 'center',
74
94
  justifyContent: 'center'
75
95
  },
96
+ blurView: {
97
+ flex: 1,
98
+ position: 'absolute',
99
+ height: '100%',
100
+ width: '100%'
101
+ },
76
102
  degradedText: {
77
- fontSize: 15,
78
- lineHeight: 20,
79
- letterSpacing: 0.25
103
+ fontSize: 12,
104
+ lineHeight: 16,
105
+ letterSpacing: 0.4,
106
+ marginTop: 8,
107
+ textAlign: 'center',
108
+ paddingHorizontal: 8
109
+ },
110
+ icon: {
111
+ width: 32,
112
+ height: 32
80
113
  }
81
114
  });
82
115
  const VideoView = /*#__PURE__*/React.memo(_VideoView);
@@ -1 +1 @@
1
- {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactRedux","_hooksUtil","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_VideoView","forwardRef","_ref","hmsViewRef","trackId","peer","overlay","isDegraded","scaleType","containerStyle","HmsView","useSelector","state","_state$user$hmsInstan","user","hmsInstance","mirrorCamera","app","joinConfig","autoSimulcast","hmsRoomStyles","useHMSRoomStyleSheet","theme","typography","degradedView","backgroundColor","palette","surface_default","degradedText","color","on_surface_high","fontFamily","font_family","createElement","View","style","styles","container","ref","setZOrderMediaOverlay","mirror","isLocal","hmsView","Text","StyleSheet","create","flex","position","height","width","zIndex","alignItems","justifyContent","fontSize","lineHeight","letterSpacing","VideoView","memo","exports"],"sourceRoot":"../../../../src","sources":["components/PeerVideoTile/VideoView.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,WAAA,GAAAF,OAAA;AAGA,IAAAG,UAAA,GAAAH,OAAA;AAAwD,SAAAI,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAN,wBAAAU,GAAA,EAAAJ,WAAA,SAAAA,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A,CAAA6D,aAAA,CAAC1D,YAAA,CAAAoE,IAAI;IAACR,KAAK,EAAE,CAACC,MAAM,CAACR,YAAY,EAAER,aAAa,CAACQ,YAAY;EAAE,GAAC,UAE1D,CACF,CAAC,GACL,IACA,CAAC;AAEX,CACF,CAAC;AAED,MAAMQ,MAAM,GAAGQ,uBAAU,CAACC,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACTS,IAAI,EAAE;EACR,CAAC;EACDJ,OAAO,EAAE;IACPI,IAAI,EAAE;IACN;IACA;EACF,CAAC;;EACDtB,YAAY,EAAE;IACZsB,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,MAAM;IACdC,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,CAAC;IACTC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDxB,YAAY,EAAE;IACZyB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC;AAEK,MAAMC,SAAS,gBAAGpF,KAAK,CAACqF,IAAI,CAACzD,UAAU,CAAC;AAAC0D,OAAA,CAAAF,SAAA,GAAAA,SAAA"}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactRedux","_blur","_hooksUtil","_HMSPinchGesture","_Icons","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_VideoView","forwardRef","_ref","hmsViewRef","trackId","peer","overlay","isDegraded","scaleType","containerStyle","zoomIn","HmsView","useSelector","state","_state$user$hmsInstan","user","hmsInstance","mirrorCamera","app","joinConfig","autoSimulcast","hmsRoomStyles","useHMSRoomStyleSheet","theme","typography","degradedView","backgroundColor","palette","surface_default","degradedText","color","on_surface_high","fontFamily","font_family","icon","tintColor","videoView","createElement","View","style","styles","container","ref","setZOrderMediaOverlay","mirror","isLocal","hmsView","HMSPinchGesture","BlurView","blurView","blurType","blurAmount","AlertTriangleIcon","type","Text","numberOfLines","name","StyleSheet","create","flex","position","height","width","zIndex","alignItems","justifyContent","fontSize","lineHeight","letterSpacing","marginTop","textAlign","paddingHorizontal","VideoView","memo","exports"],"sourceRoot":"../../../../src","sources":["components/PeerVideoTile/VideoView.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AAGA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAAgD,SAAAO,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAT,wBAAAa,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAA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AAI,CAACzE,UAAU,CAAC;AAAC0E,OAAA,CAAAF,SAAA,GAAAA,SAAA"}
@@ -7,6 +7,7 @@ exports.PressableIcon = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _hooksUtil = require("../hooks-util");
10
+ var _theme = require("../utils/theme");
10
11
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
12
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
13
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
@@ -19,7 +20,11 @@ const PressableIcon = _ref => {
19
20
  border = true,
20
21
  ...restProps
21
22
  } = _ref;
23
+ const isHLSViewer = (0, _hooksUtil.useIsHLSViewer)();
22
24
  const hmsRoomStyles = (0, _hooksUtil.useHMSRoomStyleSheet)(theme => ({
25
+ pressable: {
26
+ backgroundColor: isHLSViewer ? theme.palette.background_dim && (0, _theme.hexToRgbA)(theme.palette.background_dim, 0.64) : undefined
27
+ },
23
28
  border: {
24
29
  borderColor: theme.palette.border_bright
25
30
  },
@@ -27,11 +32,11 @@ const PressableIcon = _ref => {
27
32
  backgroundColor: theme.palette.surface_brighter,
28
33
  borderColor: theme.palette.surface_brighter
29
34
  }
30
- }));
35
+ }), [isHLSViewer]);
31
36
  return /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, _extends({
32
- style: [styles.pressable, {
33
- borderRadius: rounded ? 20 : undefined,
34
- ...(border ? {
37
+ style: [styles.pressable, hmsRoomStyles.pressable, {
38
+ borderRadius: rounded ? 20 : 8,
39
+ ...(border && !isHLSViewer ? {
35
40
  ...styles.withBorder,
36
41
  ...hmsRoomStyles.border
37
42
  } : undefined),
@@ -42,11 +47,11 @@ const PressableIcon = _ref => {
42
47
  exports.PressableIcon = PressableIcon;
43
48
  const styles = _reactNative.StyleSheet.create({
44
49
  pressable: {
50
+ borderRadius: 8,
45
51
  padding: 8,
46
52
  alignSelf: 'flex-start'
47
53
  },
48
54
  withBorder: {
49
- borderRadius: 8,
50
55
  borderWidth: 1
51
56
  }
52
57
  });
@@ -1 +1 @@
1
- {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_hooksUtil","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","PressableIcon","_ref","children","style","active","rounded","border","restProps","hmsRoomStyles","useHMSRoomStyleSheet","theme","borderColor","palette","border_bright","backgroundColor","surface_brighter","createElement","TouchableOpacity","styles","pressable","borderRadius","undefined","withBorder","exports","StyleSheet","create","padding","alignSelf","borderWidth"],"sourceRoot":"../../../src","sources":["components/PressableIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAA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;AAACqB,OAAA,CAAAvB,aAAA,GAAAA,aAAA;AAEF,MAAMkB,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,OAAO,EAAE,CAAC;IACVC,SAAS,EAAE;EACb,CAAC;EACDL,UAAU,EAAE;IACVF,YAAY,EAAE,CAAC;IACfQ,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_hooksUtil","_theme","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","PressableIcon","_ref","children","style","active","rounded","border","restProps","isHLSViewer","useIsHLSViewer","hmsRoomStyles","useHMSRoomStyleSheet","theme","pressable","backgroundColor","palette","background_dim","hexToRgbA","undefined","borderColor","border_bright","surface_brighter","createElement","TouchableOpacity","styles","borderRadius","withBorder","exports","StyleSheet","create","padding","alignSelf","borderWidth"],"sourceRoot":"../../../src","sources":["components/PressableIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AAA2C,SAAAI,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAN,wBAAAU,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,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CAAC;EAC/BhB,SAAS,EAAE;IACTY,YAAY,EAAE,CAAC;IACfK,OAAO,EAAE,CAAC;IACVC,SAAS,EAAE;EACb,CAAC;EACDL,UAAU,EAAE;IACVM,WAAW,EAAE;EACf;AACF,CAAC,CAAC"}
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.Preview = void 0;
7
7
  var _react = _interopRequireDefault(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 _reactNativeLinearGradient = _interopRequireDefault(require("react-native-linear-gradient"));
12
11
  var _BackButton = require("./BackButton");
@@ -25,8 +24,7 @@ var _hooksSdk = require("../hooks-sdk");
25
24
  var _HMSPreviewHLSLiveIndicator = require("./HMSPreviewHLSLiveIndicator");
26
25
  var _CompanyLogo = require("./CompanyLogo");
27
26
  var _hooksUtil = require("../hooks-util");
28
- 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); }
29
- 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; }
27
+ var _HMSKeyboardAvoidingView = require("./HMSKeyboardAvoidingView");
30
28
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31
29
  const backButtonEdges = ['top'];
32
30
  const headerEdges = ['top', 'left', 'right'];
@@ -38,14 +36,7 @@ const Preview = _ref => {
38
36
  loadingButtonState
39
37
  } = _ref;
40
38
  const canPublishVideo = (0, _hooksSdk.useCanPublishVideo)();
41
- const animatedKeyboard = (0, _reactNativeReanimated.useAnimatedKeyboard)();
42
- const keyboardAvoidStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
43
- return {
44
- transform: [{
45
- translateY: -animatedKeyboard.height.value
46
- }]
47
- };
48
- });
39
+ const isHLSViewer = (0, _hooksUtil.useIsHLSViewer)();
49
40
  const hmsRoomStyles = (0, _hooksUtil.useHMSRoomStyleSheet)(theme => ({
50
41
  container: {
51
42
  backgroundColor: theme.palette.background_dim
@@ -76,9 +67,9 @@ const Preview = _ref => {
76
67
  mode: "margin"
77
68
  }, /*#__PURE__*/_react.default.createElement(_BackButton.BackButton, null)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
78
69
  style: styles.footerWrapper
79
- }, /*#__PURE__*/_react.default.createElement(_HMSPreviewNetworkQuality.HMSPreviewNetworkQuality, null), /*#__PURE__*/_react.default.createElement(_reactNativeReanimated.default.View, {
80
- style: [styles.footer, hmsRoomStyles.footer, keyboardAvoidStyle]
81
- }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
70
+ }, /*#__PURE__*/_react.default.createElement(_HMSPreviewNetworkQuality.HMSPreviewNetworkQuality, null), /*#__PURE__*/_react.default.createElement(_HMSKeyboardAvoidingView.HMSKeyboardAvoidingView, {
71
+ style: [styles.footer, hmsRoomStyles.footer]
72
+ }, isHLSViewer ? null : /*#__PURE__*/_react.default.createElement(_reactNative.View, {
82
73
  style: styles.controlsContainer
83
74
  }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
84
75
  style: styles.micAndCameraControls
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeReanimated","_interopRequireWildcard","_reactNativeSafeAreaContext","_reactNativeLinearGradient","_BackButton","_HMSManageCameraRotation","_HMSManageLocalAudio","_HMSManageLocalVideo","_HMSPreviewEditName","_HMSPreviewJoinButton","_HMSPreviewPeersList","_HMSPreviewSubtitle","_HMSPreviewTile","_HMSPreviewTitle","_HMSManageAudioOutput","_HMSPreviewNetworkQuality","_hooksSdk","_HMSPreviewHLSLiveIndicator","_CompanyLogo","_hooksUtil","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","backButtonEdges","headerEdges","gradientColorShades","gradientColorShadeLocations","Preview","_ref","join","loadingButtonState","canPublishVideo","useCanPublishVideo","animatedKeyboard","useAnimatedKeyboard","keyboardAvoidStyle","useAnimatedStyle","transform","translateY","height","value","hmsRoomStyles","useHMSRoomStyleSheet","theme","container","backgroundColor","palette","background_dim","footer","background_default","createElement","TouchableWithoutFeedback","onPress","Keyboard","dismiss","View","style","styles","HMSPreviewTile","colors","locations","headerGradient","SafeAreaView","header","edges","mode","CompanyLogo","logo","HMSPreviewTitle","HMSPreviewSubtitle","peerListWrapper","HMSPreviewHLSLiveIndicator","HMSPreviewPeersList","backButtonContainer","BackButton","footerWrapper","HMSPreviewNetworkQuality","controlsContainer","micAndCameraControls","HMSManageLocalAudio","manageLocalVideoWrapper","HMSManageLocalVideo","HMSManageCameraRotation","HMSManageAudioOutput","joinButtonRow","HMSPreviewEditName","HMSPreviewJoinButton","onJoin","loading","exports","StyleSheet","create","flex","position","justifyContent","top","width","marginTop","zIndex","alignItems","alignSelf","marginBottom","flexDirection","marginHorizontal","marginVertical","bottom","borderTopLeftRadius","borderTopRightRadius","padding"],"sourceRoot":"../../../src","sources":["components/Preview.tsx"],"mappings":";;;;;;AAAA,I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pBC,cAAc,EAAE;EAClB,CAAC;EACD/B,MAAM,EAAE;IACN8B,QAAQ,EAAE,UAAU;IACpBE,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,EAAE;IACbC,MAAM,EAAE,EAAE;IACVC,UAAU,EAAE;EACd,CAAC;EACDtC,cAAc,EAAE;IACdgC,QAAQ,EAAE,UAAU;IACpBE,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE,MAAM;IACbzD,MAAM,EAAE,GAAG;IACX2D,MAAM,EAAE;EACV,CAAC;EACD/B,IAAI,EAAE;IACJiC,SAAS,EAAE,QAAQ;IACnBC,YAAY,EAAE;EAChB,CAAC;EACDxB,iBAAiB,EAAE;IACjByB,aAAa,EAAE,KAAK;IACpBH,UAAU,EAAE,QAAQ;IACpBL,cAAc,EAAE;EAClB,CAAC;EACDxB,eAAe,EAAE;IACfgC,aAAa,EAAE,KAAK;IACpBL,SAAS,EAAE,EAAE;IACbG,SAAS,EAAE;EACb,CAAC;EACDtB,oBAAoB,EAAE;IACpBwB,aAAa,EAAE;EACjB,CAAC;EACDtB,uBAAuB,EAAE;IACvBuB,gBAAgB,EAAE;EACpB,CAAC;EACDnB,aAAa,EAAE;IACboB,cAAc,EAAE,EAAE;IAClBF,aAAa,EAAE;EACjB,CAAC;EACD7B,mBAAmB,EAAE;IACnBoB,QAAQ,EAAE,UAAU;IACpBE,GAAG,EAAE,CAAC;IACNG,MAAM,EAAE;EACV,CAAC;EACDvB,aAAa,EAAE;IACbkB,QAAQ,EAAE,UAAU;IACpBY,MAAM,EAAE,CAAC;IACTT,KAAK,EAAE,MAAM;IACbE,MAAM,EAAE;EACV,CAAC;EACDlD,MAAM,EAAE;IACN4C,IAAI,EAAE,CAAC;IACPc,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE,EAAE;IACxBC,OAAO,EAAE;EACX;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeSafeAreaContext","_reactNativeLinearGradient","_BackButton","_HMSManageCameraRotation","_HMSManageLocalAudio","_HMSManageLocalVideo","_HMSPreviewEditName","_HMSPreviewJoinButton","_HMSPreviewPeersList","_HMSPreviewSubtitle","_HMSPreviewTile","_HMSPreviewTitle","_HMSManageAudioOutput","_HMSPreviewNetworkQuality","_hooksSdk","_HMSPreviewHLSLiveIndicator","_CompanyLogo","_hooksUtil","_HMSKeyboardAvoidingView","obj","__esModule","default","backButtonEdges","headerEdges","gradientColorShades","gradientColorShadeLocations","Preview","_ref","join","loadingButtonState","canPublishVideo","useCanPublishVideo","isHLSViewer","useIsHLSViewer","hmsRoomStyles","useHMSRoomStyleSheet","theme","container","backgroundColor","palette","background_dim","footer","background_default","createElement","TouchableWithoutFeedback","onPress","Keyboard","dismiss","View","style","styles","HMSPreviewTile","colors","locations","headerGradient","SafeAreaView","header","edges","mode","CompanyLogo","logo","HMSPreviewTitle","HMSPreviewSubtitle","peerListWrapper","HMSPreviewHLSLiveIndicator","HMSPreviewPeersList","backButtonContainer","BackButton","footerWrapper","HMSPreviewNetworkQuality","HMSKeyboardAvoidingView","controlsContainer","micAndCameraControls","HMSManageLocalAudio","manageLocalVideoWrapper","HMSManageLocalVideo","HMSManageCameraRotation","HMSManageAudioOutput","joinButtonRow","HMSPreviewEditName","HMSPreviewJoinButton","onJoin","loading","exports","StyleSheet","create","flex","position","justifyContent","top","width","marginTop","zIndex","alignItems","height","alignSelf","marginBottom","flexDirection","marginHorizontal","marginVertical","bottom","borderTopLeftRadius","borderTopRightRadius","padding"],"sourceRoot":"../../../src","sources":["components/Preview.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAMA,IAAAE,2BAAA,GAAAF,OAAA;AACA,IAAAG,0BAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,wBAAA,G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E,CAAC;IACNC,KAAK,EAAE,MAAM;IACbI,MAAM,EAAE,GAAG;IACXF,MAAM,EAAE;EACV,CAAC;EACDhC,IAAI,EAAE;IACJmC,SAAS,EAAE,QAAQ;IACnBC,YAAY,EAAE;EAChB,CAAC;EACDzB,iBAAiB,EAAE;IACjB0B,aAAa,EAAE,KAAK;IACpBJ,UAAU,EAAE,QAAQ;IACpBL,cAAc,EAAE;EAClB,CAAC;EACDzB,eAAe,EAAE;IACfkC,aAAa,EAAE,KAAK;IACpBN,SAAS,EAAE,EAAE;IACbI,SAAS,EAAE;EACb,CAAC;EACDvB,oBAAoB,EAAE;IACpByB,aAAa,EAAE;EACjB,CAAC;EACDvB,uBAAuB,EAAE;IACvBwB,gBAAgB,EAAE;EACpB,CAAC;EACDpB,aAAa,EAAE;IACbqB,cAAc,EAAE,EAAE;IAClBF,aAAa,EAAE;EACjB,CAAC;EACD/B,mBAAmB,EAAE;IACnBqB,QAAQ,EAAE,UAAU;IACpBE,GAAG,EAAE,CAAC;IACNG,MAAM,EAAE;EACV,CAAC;EACDxB,aAAa,EAAE;IACbmB,QAAQ,EAAE,UAAU;IACpBa,MAAM,EAAE,CAAC;IACTV,KAAK,EAAE,MAAM;IACbE,MAAM,EAAE;EACV,CAAC;EACDnD,MAAM,EAAE;IACN6C,IAAI,EAAE,CAAC;IACPe,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE,EAAE;IACxBC,OAAO,EAAE;EACX;AACF,CAAC,CAAC"}
@@ -0,0 +1,332 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PreviewForRoleChangeModal = 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 _reactNativeHms = require("@100mslive/react-native-hms");
12
+ var _hooksUtil = require("../hooks-util");
13
+ var _actions = require("../redux/actions");
14
+ var _hooksSdk = require("../hooks-sdk");
15
+ var _functions = require("../utils/functions");
16
+ var _utils = require("../utils");
17
+ var _Header = require("./Header");
18
+ var _hooksSdkSelectors = require("../hooks-sdk-selectors");
19
+ var _HMSPrimaryButton = require("./HMSPrimaryButton");
20
+ var _Icons = require("../Icons");
21
+ var _PressableIcon = require("./PressableIcon");
22
+ var _AvatarView = require("./PeerVideoTile/AvatarView");
23
+ var _HMSVideoView = require("./HMSVideoView");
24
+ var _hooksUtilSelectors = require("../hooks-util-selectors");
25
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26
+ 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); }
27
+ 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; }
28
+ const _PreviewForRoleChangeModal = () => {
29
+ const dispatch = (0, _reactRedux.useDispatch)();
30
+ const hmsInstance = (0, _hooksUtil.useHMSInstance)();
31
+ const hmsActions = (0, _hooksSdk.useHMSActions)();
32
+ const roleChangeRequest = (0, _reactRedux.useSelector)(state => state.hmsStates.roleChangeRequest);
33
+ const localPeerName = (0, _reactRedux.useSelector)(state => {
34
+ var _state$hmsStates$loca;
35
+ return ((_state$hmsStates$loca = state.hmsStates.localPeer) === null || _state$hmsStates$loca === void 0 ? void 0 : _state$hmsStates$loca.name) || '';
36
+ });
37
+ const localPeerRoleName = (0, _reactRedux.useSelector)(state => {
38
+ var _state$hmsStates$loca2;
39
+ return (_state$hmsStates$loca2 = state.hmsStates.localPeer) === null || _state$hmsStates$loca2 === void 0 || (_state$hmsStates$loca2 = _state$hmsStates$loca2.role) === null || _state$hmsStates$loca2 === void 0 ? void 0 : _state$hmsStates$loca2.name;
40
+ });
41
+ const localPeerMetadata = (0, _reactRedux.useSelector)(state => {
42
+ var _state$hmsStates$loca3;
43
+ return (0, _functions.parseMetadata)((_state$hmsStates$loca3 = state.hmsStates.localPeer) === null || _state$hmsStates$loca3 === void 0 ? void 0 : _state$hmsStates$loca3.metadata);
44
+ }, _reactRedux.shallowEqual);
45
+ const becomeHLSViewer = (0, _reactRedux.useSelector)(state => {
46
+ const layoutConfig = (0, _hooksUtilSelectors.selectLayoutConfigForRole)(state.hmsStates.layoutConfig, (roleChangeRequest === null || roleChangeRequest === void 0 ? void 0 : roleChangeRequest.suggestedRole) || null);
47
+ return (0, _hooksUtilSelectors.selectIsHLSViewer)(roleChangeRequest === null || roleChangeRequest === void 0 ? void 0 : roleChangeRequest.suggestedRole, layoutConfig);
48
+ });
49
+ const [localVideoTrack, setLocalVideoTrack] = React.useState(null);
50
+ const [localAudioTrack, setLocalAudioTrack] = React.useState(null);
51
+ const [isLocalAudioMuted, setIsLocalAudioMuted] = React.useState();
52
+ const [isLocalVideoMuted, setIsLocalVideoMuted] = React.useState();
53
+ const {
54
+ background_dim: backgroundDimColor
55
+ } = (0, _hooksUtil.useHMSRoomColorPalette)();
56
+ const hmsRoomStyles = (0, _hooksUtil.useHMSRoomStyleSheet)((theme, typography) => ({
57
+ container: {
58
+ backgroundColor: theme.palette.background_dim
59
+ },
60
+ footer: {
61
+ backgroundColor: theme.palette.background_default
62
+ },
63
+ heading: {
64
+ color: theme.palette.on_surface_high,
65
+ fontFamily: `${typography.font_family}-SemiBold`
66
+ },
67
+ subheading: {
68
+ color: theme.palette.on_surface_medium,
69
+ fontFamily: `${typography.font_family}-Regular`
70
+ },
71
+ cameraRotation: {
72
+ tintColor: isLocalVideoMuted ? theme.palette.on_surface_low : theme.palette.on_surface_high
73
+ },
74
+ pressableIcon: {
75
+ borderColor: theme.palette.border_bright
76
+ },
77
+ activePressableIcon: {
78
+ backgroundColor: theme.palette.surface_brighter,
79
+ borderColor: theme.palette.surface_brighter
80
+ },
81
+ declineButton: {
82
+ borderColor: theme.palette.secondary_default
83
+ },
84
+ declineButtonText: {
85
+ color: theme.palette.on_surface_high,
86
+ fontFamily: `${typography.font_family}-SemiBold`
87
+ }
88
+ }), [isLocalVideoMuted]);
89
+ const onModalShow = async () => {
90
+ if (roleChangeRequest && roleChangeRequest.suggestedRole && roleChangeRequest.suggestedRole.name) {
91
+ // get preview tracks
92
+ const previewForRoleTracks = await hmsInstance.previewForRole(roleChangeRequest.suggestedRole.name);
93
+ const localVideoTrack = previewForRoleTracks.find(track => track.type === _reactNativeHms.HMSTrackType.VIDEO);
94
+ if (localVideoTrack) {
95
+ setLocalVideoTrack(localVideoTrack);
96
+ setIsLocalVideoMuted(localVideoTrack.isMute());
97
+ }
98
+ const localAudioTrack = previewForRoleTracks.find(track => track.type === _reactNativeHms.HMSTrackType.AUDIO);
99
+ if (localAudioTrack) {
100
+ setLocalAudioTrack(localAudioTrack);
101
+ setIsLocalAudioMuted(localAudioTrack.isMute());
102
+ }
103
+
104
+ // lower hand
105
+ const newMetadata = {
106
+ ...localPeerMetadata,
107
+ isHandRaised: false,
108
+ isBRBOn: localPeerMetadata.isBRBOn
109
+ };
110
+ await hmsActions.changeMetadata(newMetadata);
111
+ }
112
+ };
113
+ const handleRequestAccept = async () => {
114
+ dispatch((0, _actions.setRoleChangeRequest)(null));
115
+ // saving current role in peer metadata,
116
+ // so that when peer is removed from stage, we can assign previous role to it.
117
+ if (localPeerRoleName) {
118
+ const newMetadata = {
119
+ ...localPeerMetadata,
120
+ prevRole: localPeerRoleName
121
+ };
122
+ await hmsActions.changeMetadata(newMetadata);
123
+ }
124
+ await hmsInstance.acceptRoleChange();
125
+ };
126
+ const handleRequestDecline = async () => {
127
+ await hmsInstance.cancelPreview();
128
+ if (roleChangeRequest !== null && roleChangeRequest !== void 0 && roleChangeRequest.requestedBy) {
129
+ await hmsInstance.sendDirectMessage('', roleChangeRequest.requestedBy, _utils.NotificationTypes.ROLE_CHANGE_DECLINED);
130
+ }
131
+ dispatch((0, _actions.setRoleChangeRequest)(null));
132
+ };
133
+ const handleAudioMuteTogglePress = async () => {
134
+ if (!localAudioTrack) {
135
+ return;
136
+ }
137
+ const enable = !isLocalAudioMuted;
138
+ try {
139
+ setIsLocalAudioMuted(enable);
140
+ localAudioTrack.setMute(enable);
141
+ } catch (error) {
142
+ setIsLocalAudioMuted(!enable);
143
+ return Promise.reject(error);
144
+ }
145
+ };
146
+ const handleVideoMuteTogglePress = async () => {
147
+ if (!localVideoTrack) {
148
+ return;
149
+ }
150
+ const enable = !isLocalVideoMuted;
151
+ try {
152
+ setIsLocalVideoMuted(enable);
153
+ localVideoTrack.setMute(enable);
154
+ } catch (error) {
155
+ setIsLocalVideoMuted(!enable);
156
+ return Promise.reject(error);
157
+ }
158
+ };
159
+ const handleSwitchCameraPress = async () => {
160
+ if (isLocalVideoMuted) {
161
+ return;
162
+ }
163
+ if (!localVideoTrack) {
164
+ return;
165
+ }
166
+ localVideoTrack.switchCamera();
167
+ };
168
+ const canPublishAudio = (0, _hooksSdkSelectors.selectCanPublishTrackForRole)(roleChangeRequest === null || roleChangeRequest === void 0 ? void 0 : roleChangeRequest.suggestedRole, 'audio');
169
+ const canPublishVideo = (0, _hooksSdkSelectors.selectCanPublishTrackForRole)(roleChangeRequest === null || roleChangeRequest === void 0 ? void 0 : roleChangeRequest.suggestedRole, 'video');
170
+ const heading = becomeHLSViewer ? "You're invited to view the live stream" : "You're invited to join the stage";
171
+ const subheading = getSubheading(canPublishAudio, canPublishVideo);
172
+ return /*#__PURE__*/React.createElement(_reactNativeModal.default, {
173
+ isVisible: roleChangeRequest !== null,
174
+ animationIn: 'fadeInUp',
175
+ animationInTiming: 100,
176
+ animationOutTiming: 100,
177
+ animationOut: 'fadeOutDown',
178
+ backdropColor: backgroundDimColor,
179
+ backdropOpacity: 0.3,
180
+ onBackButtonPress: handleRequestDecline,
181
+ onBackdropPress: handleRequestDecline,
182
+ onModalShow: onModalShow,
183
+ useNativeDriver: true,
184
+ useNativeDriverForBackdrop: true,
185
+ hideModalContentWhileAnimating: true,
186
+ style: styles.modal,
187
+ supportedOrientations: ['portrait', 'landscape']
188
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
189
+ style: [styles.container, hmsRoomStyles.container]
190
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
191
+ style: [styles.container, hmsRoomStyles.container]
192
+ }, /*#__PURE__*/React.createElement(_AvatarView.AvatarView, {
193
+ name: localPeerName,
194
+ avatarStyles: styles.avatar,
195
+ videoView: localVideoTrack && localVideoTrack.trackId && !isLocalVideoMuted ?
196
+ /*#__PURE__*/
197
+ // && localVideoTrack.isMute() === false // can't rely on `isMute()` result, because we are not receiving ON_TRACK_UPDATES for `previewForRole` tracks
198
+ React.createElement(_HMSVideoView.HMSVideoView, {
199
+ trackId: localVideoTrack.trackId
200
+ }) : null
201
+ })), /*#__PURE__*/React.createElement(_reactNative.View, {
202
+ style: styles.header
203
+ }, /*#__PURE__*/React.createElement(_Header.Header, {
204
+ showControls: false,
205
+ transparent: true
206
+ })), /*#__PURE__*/React.createElement(_reactNative.View, {
207
+ style: styles.footerWrapper
208
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
209
+ style: [styles.footer, hmsRoomStyles.footer]
210
+ }, /*#__PURE__*/React.createElement(_reactNative.Text, {
211
+ style: [styles.heading, hmsRoomStyles.heading]
212
+ }, heading), subheading ? /*#__PURE__*/React.createElement(_reactNative.Text, {
213
+ style: [styles.subheading, hmsRoomStyles.subheading]
214
+ }, subheading) : null, canPublishAudio || canPublishVideo ? /*#__PURE__*/React.createElement(_reactNative.View, {
215
+ style: styles.micAndCameraControls
216
+ }, canPublishAudio && localAudioTrack ? /*#__PURE__*/React.createElement(_PressableIcon.PressableIcon, {
217
+ onPress: handleAudioMuteTogglePress,
218
+ active: isLocalAudioMuted,
219
+ style: [styles.pressableIcon, hmsRoomStyles.pressableIcon, !!isLocalAudioMuted ? hmsRoomStyles.activePressableIcon : null]
220
+ }, /*#__PURE__*/React.createElement(_Icons.MicIcon, {
221
+ muted: !!isLocalAudioMuted
222
+ })) : null, canPublishVideo && localVideoTrack ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_reactNative.View, {
223
+ style: styles.manageLocalVideoWrapper
224
+ }, /*#__PURE__*/React.createElement(_PressableIcon.PressableIcon, {
225
+ onPress: handleVideoMuteTogglePress,
226
+ active: isLocalVideoMuted,
227
+ style: [styles.pressableIcon, hmsRoomStyles.pressableIcon, !!isLocalVideoMuted ? hmsRoomStyles.activePressableIcon : null]
228
+ }, /*#__PURE__*/React.createElement(_Icons.CameraIcon, {
229
+ muted: !!isLocalVideoMuted
230
+ }))), /*#__PURE__*/React.createElement(_PressableIcon.PressableIcon, {
231
+ onPress: handleSwitchCameraPress,
232
+ disabled: isLocalVideoMuted,
233
+ style: [styles.pressableIcon, hmsRoomStyles.pressableIcon]
234
+ }, /*#__PURE__*/React.createElement(_Icons.RotateCameraIcon, {
235
+ style: hmsRoomStyles.cameraRotation
236
+ }))) : null) : null, /*#__PURE__*/React.createElement(_HMSPrimaryButton.HMSPrimaryButton, {
237
+ loading: false,
238
+ onPress: handleRequestAccept,
239
+ title: "Join Now",
240
+ style: styles.joinButton
241
+ }), /*#__PURE__*/React.createElement(_reactNative.TouchableOpacity, {
242
+ style: [styles.declineButton, hmsRoomStyles.declineButton],
243
+ onPress: handleRequestDecline
244
+ }, /*#__PURE__*/React.createElement(_reactNative.Text, {
245
+ style: [styles.declineButtonText, hmsRoomStyles.declineButtonText]
246
+ }, "Decline"))))));
247
+ };
248
+ const PreviewForRoleChangeModal = /*#__PURE__*/React.memo(_PreviewForRoleChangeModal);
249
+ exports.PreviewForRoleChangeModal = PreviewForRoleChangeModal;
250
+ const styles = _reactNative.StyleSheet.create({
251
+ modal: {
252
+ margin: 0
253
+ },
254
+ container: {
255
+ flex: 1,
256
+ position: 'relative',
257
+ backgroundColor: 'silver'
258
+ },
259
+ header: {
260
+ position: 'absolute',
261
+ width: '100%'
262
+ },
263
+ micAndCameraControls: {
264
+ flexDirection: 'row'
265
+ },
266
+ manageLocalVideoWrapper: {
267
+ marginHorizontal: 16
268
+ },
269
+ footerWrapper: {
270
+ position: 'absolute',
271
+ bottom: 0,
272
+ width: '100%',
273
+ zIndex: 30
274
+ },
275
+ footer: {
276
+ flex: 1,
277
+ borderTopLeftRadius: 16,
278
+ borderTopRightRadius: 16,
279
+ paddingHorizontal: 16,
280
+ paddingTop: 24,
281
+ paddingBottom: 32
282
+ },
283
+ heading: {
284
+ fontSize: 20,
285
+ lineHeight: 24,
286
+ letterSpacing: 0.15,
287
+ marginBottom: 8
288
+ },
289
+ subheading: {
290
+ fontSize: 14,
291
+ lineHeight: 20,
292
+ letterSpacing: 0.25,
293
+ marginBottom: 24
294
+ },
295
+ pressableIcon: {
296
+ backgroundColor: undefined,
297
+ borderWidth: 1
298
+ },
299
+ avatar: {
300
+ marginBottom: 200
301
+ },
302
+ joinButton: {
303
+ marginTop: 16
304
+ },
305
+ declineButton: {
306
+ flex: 1,
307
+ paddingVertical: 8,
308
+ paddingHorizontal: 16,
309
+ borderRadius: 8,
310
+ borderWidth: 1,
311
+ marginTop: 16
312
+ },
313
+ declineButtonText: {
314
+ fontSize: 16,
315
+ lineHeight: 24,
316
+ letterSpacing: 0.5,
317
+ textAlign: 'center'
318
+ }
319
+ });
320
+ const getSubheading = (canPublishAudio, canPublishVideo) => {
321
+ if (canPublishAudio && canPublishVideo) {
322
+ return 'Setup your audio and video before joining';
323
+ }
324
+ if (canPublishAudio) {
325
+ return 'Setup your audio before joining';
326
+ }
327
+ if (canPublishVideo) {
328
+ return 'Setup your video before joining';
329
+ }
330
+ return '';
331
+ };
332
+ //# sourceMappingURL=PreviewForRoleChangeModal.js.map