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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (914) 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/Person/assets/person-left.png +0 -0
  17. package/lib/commonjs/Icons/Person/assets/person-left@2x.png +0 -0
  18. package/lib/commonjs/Icons/Person/assets/person-left@3x.png +0 -0
  19. package/lib/commonjs/Icons/Person/assets/person-off.png +0 -0
  20. package/lib/commonjs/Icons/Person/assets/person-off@2x.png +0 -0
  21. package/lib/commonjs/Icons/Person/assets/person-off@3x.png +0 -0
  22. package/lib/commonjs/Icons/Person/assets/person-rectangle.png +0 -0
  23. package/lib/commonjs/Icons/Person/assets/person-rectangle@2x.png +0 -0
  24. package/lib/commonjs/Icons/Person/assets/person-rectangle@3x.png +0 -0
  25. package/lib/commonjs/Icons/Person/index.js +2 -1
  26. package/lib/commonjs/Icons/Person/index.js.map +1 -1
  27. package/lib/commonjs/Icons/Search/assets/search.png +0 -0
  28. package/lib/commonjs/Icons/Search/assets/search@2x.png +0 -0
  29. package/lib/commonjs/Icons/Search/assets/search@3x.png +0 -0
  30. package/lib/commonjs/Icons/Search/index.js +34 -0
  31. package/lib/commonjs/Icons/Search/index.js.map +1 -0
  32. package/lib/commonjs/Icons/index.js +22 -0
  33. package/lib/commonjs/Icons/index.js.map +1 -1
  34. package/lib/commonjs/assets/audio-level-white.json +1271 -0
  35. package/lib/commonjs/assets/empty-chat-illustration/empty-chat.png +0 -0
  36. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  37. package/lib/commonjs/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  38. package/lib/commonjs/assets/welcome.png +0 -0
  39. package/lib/commonjs/components/AnimatedFooter.js +35 -0
  40. package/lib/commonjs/components/AnimatedFooter.js.map +1 -0
  41. package/lib/commonjs/components/AnimatedHLSFooter.js +36 -0
  42. package/lib/commonjs/components/AnimatedHLSFooter.js.map +1 -0
  43. package/lib/commonjs/components/AnimatedHeader.js +44 -0
  44. package/lib/commonjs/components/AnimatedHeader.js.map +1 -0
  45. package/lib/commonjs/components/BottomSheet.js +6 -3
  46. package/lib/commonjs/components/BottomSheet.js.map +1 -1
  47. package/lib/commonjs/components/ChangeNameModalContent.js +0 -12
  48. package/lib/commonjs/components/ChangeNameModalContent.js.map +1 -1
  49. package/lib/commonjs/components/Chat/ChatBanner.js +35 -55
  50. package/lib/commonjs/components/Chat/ChatBanner.js.map +1 -1
  51. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js +83 -0
  52. package/lib/commonjs/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  53. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js +69 -0
  54. package/lib/commonjs/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  55. package/lib/commonjs/components/Chat/ChatFilterItem.js +71 -0
  56. package/lib/commonjs/components/Chat/ChatFilterItem.js.map +1 -0
  57. package/lib/commonjs/components/Chat/ChatFilterView.js +198 -0
  58. package/lib/commonjs/components/Chat/ChatFilterView.js.map +1 -0
  59. package/lib/commonjs/components/Chat/ChatList.js +6 -6
  60. package/lib/commonjs/components/Chat/ChatList.js.map +1 -1
  61. package/lib/commonjs/components/Chat/ChatMessage.js +35 -135
  62. package/lib/commonjs/components/Chat/ChatMessage.js.map +1 -1
  63. package/lib/commonjs/components/Chat/PinnedMessage.js +39 -43
  64. package/lib/commonjs/components/Chat/PinnedMessage.js.map +1 -1
  65. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +42 -0
  66. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  67. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js +105 -0
  68. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  69. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js +66 -0
  70. package/lib/commonjs/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  71. package/lib/commonjs/components/ChatAndParticipants/ChatView.js +37 -0
  72. package/lib/commonjs/components/ChatAndParticipants/ChatView.js.map +1 -0
  73. package/lib/commonjs/components/{Participants/SearchableParticipantsView.js → ChatAndParticipants/ParticipantsView.js} +24 -12
  74. package/lib/commonjs/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  75. package/lib/commonjs/components/ChatAndParticipants/index.js +17 -0
  76. package/lib/commonjs/components/ChatAndParticipants/index.js.map +1 -0
  77. package/lib/commonjs/components/CompanyLogo.js +4 -3
  78. package/lib/commonjs/components/CompanyLogo.js.map +1 -1
  79. package/lib/commonjs/components/DefaultModal.js +2 -6
  80. package/lib/commonjs/components/DefaultModal.js.map +1 -1
  81. package/lib/commonjs/components/DisplayView.js +6 -19
  82. package/lib/commonjs/components/DisplayView.js.map +1 -1
  83. package/lib/commonjs/components/EndRoomModalContent.js +20 -6
  84. package/lib/commonjs/components/EndRoomModalContent.js.map +1 -1
  85. package/lib/commonjs/components/Footer.js +37 -28
  86. package/lib/commonjs/components/Footer.js.map +1 -1
  87. package/lib/commonjs/components/FullScreenVideoView.js +74 -0
  88. package/lib/commonjs/components/FullScreenVideoView.js.map +1 -0
  89. package/lib/commonjs/components/GridView.js +129 -48
  90. package/lib/commonjs/components/GridView.js.map +1 -1
  91. package/lib/commonjs/components/{ParticipantsModal.js → HLSFooter.js} +19 -27
  92. package/lib/commonjs/components/HLSFooter.js.map +1 -0
  93. package/lib/commonjs/components/HLSView.js +10 -22
  94. package/lib/commonjs/components/HLSView.js.map +1 -1
  95. package/lib/commonjs/components/HMSChat.js +15 -14
  96. package/lib/commonjs/components/HMSChat.js.map +1 -1
  97. package/lib/commonjs/components/HMSHLSMessage.js +67 -0
  98. package/lib/commonjs/components/HMSHLSMessage.js.map +1 -0
  99. package/lib/commonjs/components/HMSHLSMessageList.js +58 -0
  100. package/lib/commonjs/components/HMSHLSMessageList.js.map +1 -0
  101. package/lib/commonjs/components/HMSHLSNotStarted.js +1 -6
  102. package/lib/commonjs/components/HMSHLSNotStarted.js.map +1 -1
  103. package/lib/commonjs/components/HMSHandRaiseNotification.js +84 -0
  104. package/lib/commonjs/components/HMSHandRaiseNotification.js.map +1 -0
  105. package/lib/commonjs/components/HMSKeyboardAvoidingView.js +49 -0
  106. package/lib/commonjs/components/HMSKeyboardAvoidingView.js.map +1 -0
  107. package/lib/commonjs/components/HMSLiveIndicator.js +105 -0
  108. package/lib/commonjs/components/HMSLiveIndicator.js.map +1 -0
  109. package/lib/commonjs/components/HMSLocalScreenshareNotification.js +38 -0
  110. package/lib/commonjs/components/HMSLocalScreenshareNotification.js.map +1 -0
  111. package/lib/commonjs/components/HMSLocalVideoView.js +4 -23
  112. package/lib/commonjs/components/HMSLocalVideoView.js.map +1 -1
  113. package/lib/commonjs/components/HMSManageAudioOutput.js +7 -1
  114. package/lib/commonjs/components/HMSManageAudioOutput.js.map +1 -1
  115. package/lib/commonjs/components/HMSManageLeave.js +33 -11
  116. package/lib/commonjs/components/HMSManageLeave.js.map +1 -1
  117. package/lib/commonjs/components/HMSNotification.js +96 -0
  118. package/lib/commonjs/components/HMSNotification.js.map +1 -0
  119. package/lib/commonjs/components/HMSNotifications.js +114 -0
  120. package/lib/commonjs/components/HMSNotifications.js.map +1 -0
  121. package/lib/commonjs/components/HMSOverlayChatView.js +30 -0
  122. package/lib/commonjs/components/HMSOverlayChatView.js.map +1 -0
  123. package/lib/commonjs/components/HMSPreviewJoinButton.js +1 -2
  124. package/lib/commonjs/components/HMSPreviewJoinButton.js.map +1 -1
  125. package/lib/commonjs/components/HMSPreviewNetworkQuality.js +1 -1
  126. package/lib/commonjs/components/HMSPreviewNetworkQuality.js.map +1 -1
  127. package/lib/commonjs/components/HMSPreviewSubtitle.js +1 -3
  128. package/lib/commonjs/components/HMSPreviewSubtitle.js.map +1 -1
  129. package/lib/commonjs/components/HMSPreviewTitle.js +1 -3
  130. package/lib/commonjs/components/HMSPreviewTitle.js.map +1 -1
  131. package/lib/commonjs/components/HMSRecordingIndicator.js +6 -2
  132. package/lib/commonjs/components/HMSRecordingIndicator.js.map +1 -1
  133. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js +30 -0
  134. package/lib/commonjs/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  135. package/lib/commonjs/components/HMSSendMessageInput.js +57 -0
  136. package/lib/commonjs/components/HMSSendMessageInput.js.map +1 -0
  137. package/lib/commonjs/components/HMSTextInput.js +98 -12
  138. package/lib/commonjs/components/HMSTextInput.js.map +1 -1
  139. package/lib/commonjs/components/HMSVideoView.js +43 -0
  140. package/lib/commonjs/components/HMSVideoView.js.map +1 -0
  141. package/lib/commonjs/components/Header.js +19 -123
  142. package/lib/commonjs/components/Header.js.map +1 -1
  143. package/lib/commonjs/components/LocalPeerScreenshareView.js +1 -7
  144. package/lib/commonjs/components/LocalPeerScreenshareView.js.map +1 -1
  145. package/lib/commonjs/components/Meeting.js +6 -5
  146. package/lib/commonjs/components/Meeting.js.map +1 -1
  147. package/lib/commonjs/components/MeetingScreenContent.js +21 -8
  148. package/lib/commonjs/components/MeetingScreenContent.js.map +1 -1
  149. package/lib/commonjs/components/MenuModal/Menu.js +2 -2
  150. package/lib/commonjs/components/MenuModal/Menu.js.map +1 -1
  151. package/lib/commonjs/components/MiniView.js +8 -3
  152. package/lib/commonjs/components/MiniView.js.map +1 -1
  153. package/lib/commonjs/components/Modals.js +88 -317
  154. package/lib/commonjs/components/Modals.js.map +1 -1
  155. package/lib/commonjs/components/OverlayContainer.js +41 -0
  156. package/lib/commonjs/components/OverlayContainer.js.map +1 -0
  157. package/lib/commonjs/components/OverlayedViews.js +22 -0
  158. package/lib/commonjs/components/OverlayedViews.js.map +1 -0
  159. package/lib/commonjs/components/PaginationDots.js +4 -4
  160. package/lib/commonjs/components/PaginationDots.js.map +1 -1
  161. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js +131 -0
  162. package/lib/commonjs/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  163. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js +80 -0
  164. package/lib/commonjs/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  165. package/lib/commonjs/components/Participants/ParticipantsItem.js +132 -0
  166. package/lib/commonjs/components/Participants/ParticipantsItem.js.map +1 -0
  167. package/lib/commonjs/components/Participants/ParticipantsItemOption.js +46 -0
  168. package/lib/commonjs/components/Participants/ParticipantsItemOption.js.map +1 -0
  169. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js +220 -0
  170. package/lib/commonjs/components/Participants/ParticipantsItemOptions.js.map +1 -0
  171. package/lib/commonjs/components/Participants/ParticipantsList.js +40 -224
  172. package/lib/commonjs/components/Participants/ParticipantsList.js.map +1 -1
  173. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js +36 -30
  174. package/lib/commonjs/components/Participants/ParticipantsSeachInput.js.map +1 -1
  175. package/lib/commonjs/components/Participants/index.js +0 -33
  176. package/lib/commonjs/components/Participants/index.js.map +1 -1
  177. package/lib/commonjs/components/PeerMinimizedView.js +1 -1
  178. package/lib/commonjs/components/PeerSettingsModalContent.js +47 -123
  179. package/lib/commonjs/components/PeerSettingsModalContent.js.map +1 -1
  180. package/lib/commonjs/components/PeerVideoTile/AvatarView.js +19 -5
  181. package/lib/commonjs/components/PeerVideoTile/AvatarView.js.map +1 -1
  182. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js +45 -0
  183. package/lib/commonjs/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  184. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js +202 -0
  185. package/lib/commonjs/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  186. package/lib/commonjs/components/PeerVideoTile/{PeerAudioMutedIndicator.js → PeerAudioIndicator.js} +30 -4
  187. package/lib/commonjs/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  188. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js +10 -2
  189. package/lib/commonjs/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  190. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js +38 -17
  191. package/lib/commonjs/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  192. package/lib/commonjs/components/PeerVideoTile/VideoView.js +43 -10
  193. package/lib/commonjs/components/PeerVideoTile/VideoView.js.map +1 -1
  194. package/lib/commonjs/components/PressableIcon.js +10 -5
  195. package/lib/commonjs/components/PressableIcon.js.map +1 -1
  196. package/lib/commonjs/components/Preview.js +5 -14
  197. package/lib/commonjs/components/Preview.js.map +1 -1
  198. package/lib/commonjs/components/PreviewForRoleChangeModal.js +332 -0
  199. package/lib/commonjs/components/PreviewForRoleChangeModal.js.map +1 -0
  200. package/lib/commonjs/components/ReconnectionView.js +66 -0
  201. package/lib/commonjs/components/ReconnectionView.js.map +1 -0
  202. package/lib/commonjs/components/RoomSettingsModalContent.js +25 -34
  203. package/lib/commonjs/components/RoomSettingsModalContent.js.map +1 -1
  204. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js +31 -70
  205. package/lib/commonjs/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  206. package/lib/commonjs/components/StreamingQualityModalContent.js +8 -9
  207. package/lib/commonjs/components/StreamingQualityModalContent.js.map +1 -1
  208. package/lib/commonjs/components/TilesContainer.js +31 -9
  209. package/lib/commonjs/components/TilesContainer.js.map +1 -1
  210. package/lib/commonjs/components/WebrtcView.js +11 -14
  211. package/lib/commonjs/components/WebrtcView.js.map +1 -1
  212. package/lib/commonjs/components/WelcomeInMeeting.js +7 -31
  213. package/lib/commonjs/components/WelcomeInMeeting.js.map +1 -1
  214. package/lib/commonjs/components/index.js +0 -33
  215. package/lib/commonjs/components/index.js.map +1 -1
  216. package/lib/commonjs/hooks-util-selectors.js +43 -9
  217. package/lib/commonjs/hooks-util-selectors.js.map +1 -1
  218. package/lib/commonjs/hooks-util.js +619 -213
  219. package/lib/commonjs/hooks-util.js.map +1 -1
  220. package/lib/commonjs/modules/HMSManager.js +3 -3
  221. package/lib/commonjs/modules/HMSManager.js.map +1 -1
  222. package/lib/commonjs/modules/parser.js +2 -3
  223. package/lib/commonjs/modules/parser.js.map +1 -1
  224. package/lib/commonjs/redux/actionTypes.js +25 -1
  225. package/lib/commonjs/redux/actionTypes.js.map +1 -1
  226. package/lib/commonjs/redux/actions/index.js +90 -1
  227. package/lib/commonjs/redux/actions/index.js.map +1 -1
  228. package/lib/commonjs/redux/reducers/appState.js +77 -2
  229. package/lib/commonjs/redux/reducers/appState.js.map +1 -1
  230. package/lib/commonjs/redux/reducers/chatWindow.js +3 -7
  231. package/lib/commonjs/redux/reducers/chatWindow.js.map +1 -1
  232. package/lib/commonjs/redux/reducers/hmsStates.js +70 -7
  233. package/lib/commonjs/redux/reducers/hmsStates.js.map +1 -1
  234. package/lib/commonjs/utils/functions.js +10 -3
  235. package/lib/commonjs/utils/functions.js.map +1 -1
  236. package/lib/commonjs/utils/theme.js +2 -0
  237. package/lib/commonjs/utils/theme.js.map +1 -1
  238. package/lib/commonjs/utils/types.js +9 -3
  239. package/lib/commonjs/utils/types.js.map +1 -1
  240. package/lib/commonjs/utils.js +8 -1
  241. package/lib/commonjs/utils.js.map +1 -1
  242. package/lib/module/HMSPrebuilt.js +6 -6
  243. package/lib/module/HMSPrebuilt.js.map +1 -1
  244. package/lib/module/HMSRoomSetup.js +29 -32
  245. package/lib/module/HMSRoomSetup.js.map +1 -1
  246. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  247. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  248. package/lib/module/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  249. package/lib/module/Icons/AlertTriangle/index.js +2 -1
  250. package/lib/module/Icons/AlertTriangle/index.js.map +1 -1
  251. package/lib/module/Icons/Eye/assets/eye-on-small.png +0 -0
  252. package/lib/module/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  253. package/lib/module/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  254. package/lib/module/Icons/Eye/index.js +27 -0
  255. package/lib/module/Icons/Eye/index.js.map +1 -0
  256. package/lib/module/Icons/Person/assets/person-left.png +0 -0
  257. package/lib/module/Icons/Person/assets/person-left@2x.png +0 -0
  258. package/lib/module/Icons/Person/assets/person-left@3x.png +0 -0
  259. package/lib/module/Icons/Person/assets/person-off.png +0 -0
  260. package/lib/module/Icons/Person/assets/person-off@2x.png +0 -0
  261. package/lib/module/Icons/Person/assets/person-off@3x.png +0 -0
  262. package/lib/module/Icons/Person/assets/person-rectangle.png +0 -0
  263. package/lib/module/Icons/Person/assets/person-rectangle@2x.png +0 -0
  264. package/lib/module/Icons/Person/assets/person-rectangle@3x.png +0 -0
  265. package/lib/module/Icons/Person/index.js +2 -1
  266. package/lib/module/Icons/Person/index.js.map +1 -1
  267. package/lib/module/Icons/Search/assets/search.png +0 -0
  268. package/lib/module/Icons/Search/assets/search@2x.png +0 -0
  269. package/lib/module/Icons/Search/assets/search@3x.png +0 -0
  270. package/lib/module/Icons/Search/index.js +26 -0
  271. package/lib/module/Icons/Search/index.js.map +1 -0
  272. package/lib/module/Icons/index.js +2 -0
  273. package/lib/module/Icons/index.js.map +1 -1
  274. package/lib/module/assets/audio-level-white.json +1271 -0
  275. package/lib/module/assets/empty-chat-illustration/empty-chat.png +0 -0
  276. package/lib/module/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  277. package/lib/module/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  278. package/lib/module/assets/welcome.png +0 -0
  279. package/lib/module/components/AnimatedFooter.js +26 -0
  280. package/lib/module/components/AnimatedFooter.js.map +1 -0
  281. package/lib/module/components/AnimatedHLSFooter.js +27 -0
  282. package/lib/module/components/AnimatedHLSFooter.js.map +1 -0
  283. package/lib/module/components/AnimatedHeader.js +35 -0
  284. package/lib/module/components/AnimatedHeader.js.map +1 -0
  285. package/lib/module/components/BottomSheet.js +6 -3
  286. package/lib/module/components/BottomSheet.js.map +1 -1
  287. package/lib/module/components/ChangeNameModalContent.js +2 -14
  288. package/lib/module/components/ChangeNameModalContent.js.map +1 -1
  289. package/lib/module/components/Chat/ChatBanner.js +36 -55
  290. package/lib/module/components/Chat/ChatBanner.js.map +1 -1
  291. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js +74 -0
  292. package/lib/module/components/Chat/ChatFilterBottomSheetOpener.js.map +1 -0
  293. package/lib/module/components/Chat/ChatFilterBottomSheetView.js +60 -0
  294. package/lib/module/components/Chat/ChatFilterBottomSheetView.js.map +1 -0
  295. package/lib/module/components/Chat/ChatFilterItem.js +62 -0
  296. package/lib/module/components/Chat/ChatFilterItem.js.map +1 -0
  297. package/lib/module/components/Chat/ChatFilterView.js +189 -0
  298. package/lib/module/components/Chat/ChatFilterView.js.map +1 -0
  299. package/lib/module/components/Chat/ChatList.js +6 -6
  300. package/lib/module/components/Chat/ChatList.js.map +1 -1
  301. package/lib/module/components/Chat/ChatMessage.js +36 -135
  302. package/lib/module/components/Chat/ChatMessage.js.map +1 -1
  303. package/lib/module/components/Chat/PinnedMessage.js +40 -43
  304. package/lib/module/components/Chat/PinnedMessage.js.map +1 -1
  305. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js +33 -0
  306. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.js.map +1 -0
  307. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js +96 -0
  308. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsHeader.js.map +1 -0
  309. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js +57 -0
  310. package/lib/module/components/ChatAndParticipants/ChatAndParticipantsView.js.map +1 -0
  311. package/lib/module/components/ChatAndParticipants/ChatView.js +28 -0
  312. package/lib/module/components/ChatAndParticipants/ChatView.js.map +1 -0
  313. package/lib/module/components/ChatAndParticipants/ParticipantsView.js +30 -0
  314. package/lib/module/components/ChatAndParticipants/ParticipantsView.js.map +1 -0
  315. package/lib/module/components/ChatAndParticipants/index.js +2 -0
  316. package/lib/module/components/ChatAndParticipants/index.js.map +1 -0
  317. package/lib/module/components/CompanyLogo.js +4 -3
  318. package/lib/module/components/CompanyLogo.js.map +1 -1
  319. package/lib/module/components/DefaultModal.js +2 -6
  320. package/lib/module/components/DefaultModal.js.map +1 -1
  321. package/lib/module/components/DisplayView.js +7 -20
  322. package/lib/module/components/DisplayView.js.map +1 -1
  323. package/lib/module/components/EndRoomModalContent.js +20 -6
  324. package/lib/module/components/EndRoomModalContent.js.map +1 -1
  325. package/lib/module/components/Footer.js +39 -30
  326. package/lib/module/components/Footer.js.map +1 -1
  327. package/lib/module/components/FullScreenVideoView.js +64 -0
  328. package/lib/module/components/FullScreenVideoView.js.map +1 -0
  329. package/lib/module/components/GridView.js +130 -49
  330. package/lib/module/components/GridView.js.map +1 -1
  331. package/lib/module/components/HLSFooter.js +26 -0
  332. package/lib/module/components/HLSFooter.js.map +1 -0
  333. package/lib/module/components/HLSView.js +11 -23
  334. package/lib/module/components/HLSView.js.map +1 -1
  335. package/lib/module/components/HMSChat.js +16 -15
  336. package/lib/module/components/HMSChat.js.map +1 -1
  337. package/lib/module/components/HMSHLSMessage.js +58 -0
  338. package/lib/module/components/HMSHLSMessage.js.map +1 -0
  339. package/lib/module/components/HMSHLSMessageList.js +49 -0
  340. package/lib/module/components/HMSHLSMessageList.js.map +1 -0
  341. package/lib/module/components/HMSHLSNotStarted.js +2 -7
  342. package/lib/module/components/HMSHLSNotStarted.js.map +1 -1
  343. package/lib/module/components/HMSHandRaiseNotification.js +75 -0
  344. package/lib/module/components/HMSHandRaiseNotification.js.map +1 -0
  345. package/lib/module/components/HMSKeyboardAvoidingView.js +40 -0
  346. package/lib/module/components/HMSKeyboardAvoidingView.js.map +1 -0
  347. package/lib/module/components/HMSLiveIndicator.js +96 -0
  348. package/lib/module/components/HMSLiveIndicator.js.map +1 -0
  349. package/lib/module/components/HMSLocalScreenshareNotification.js +29 -0
  350. package/lib/module/components/HMSLocalScreenshareNotification.js.map +1 -0
  351. package/lib/module/components/HMSLocalVideoView.js +4 -23
  352. package/lib/module/components/HMSLocalVideoView.js.map +1 -1
  353. package/lib/module/components/HMSManageAudioOutput.js +8 -2
  354. package/lib/module/components/HMSManageAudioOutput.js.map +1 -1
  355. package/lib/module/components/HMSManageLeave.js +35 -13
  356. package/lib/module/components/HMSManageLeave.js.map +1 -1
  357. package/lib/module/components/HMSNotification.js +87 -0
  358. package/lib/module/components/HMSNotification.js.map +1 -0
  359. package/lib/module/components/HMSNotifications.js +105 -0
  360. package/lib/module/components/HMSNotifications.js.map +1 -0
  361. package/lib/module/components/HMSOverlayChatView.js +20 -0
  362. package/lib/module/components/HMSOverlayChatView.js.map +1 -0
  363. package/lib/module/components/HMSPreviewJoinButton.js +2 -3
  364. package/lib/module/components/HMSPreviewJoinButton.js.map +1 -1
  365. package/lib/module/components/HMSPreviewNetworkQuality.js +1 -1
  366. package/lib/module/components/HMSPreviewNetworkQuality.js.map +1 -1
  367. package/lib/module/components/HMSPreviewSubtitle.js +2 -4
  368. package/lib/module/components/HMSPreviewSubtitle.js.map +1 -1
  369. package/lib/module/components/HMSPreviewTitle.js +2 -4
  370. package/lib/module/components/HMSPreviewTitle.js.map +1 -1
  371. package/lib/module/components/HMSRecordingIndicator.js +6 -2
  372. package/lib/module/components/HMSRecordingIndicator.js.map +1 -1
  373. package/lib/module/components/HMSRoleChangeDeclinedNotification.js +21 -0
  374. package/lib/module/components/HMSRoleChangeDeclinedNotification.js.map +1 -0
  375. package/lib/module/components/HMSSendMessageInput.js +48 -0
  376. package/lib/module/components/HMSSendMessageInput.js.map +1 -0
  377. package/lib/module/components/HMSTextInput.js +99 -13
  378. package/lib/module/components/HMSTextInput.js.map +1 -1
  379. package/lib/module/components/HMSVideoView.js +34 -0
  380. package/lib/module/components/HMSVideoView.js.map +1 -0
  381. package/lib/module/components/Header.js +18 -123
  382. package/lib/module/components/Header.js.map +1 -1
  383. package/lib/module/components/LocalPeerScreenshareView.js +1 -6
  384. package/lib/module/components/LocalPeerScreenshareView.js.map +1 -1
  385. package/lib/module/components/Meeting.js +8 -7
  386. package/lib/module/components/Meeting.js.map +1 -1
  387. package/lib/module/components/MeetingScreenContent.js +23 -10
  388. package/lib/module/components/MeetingScreenContent.js.map +1 -1
  389. package/lib/module/components/MenuModal/Menu.js +2 -2
  390. package/lib/module/components/MenuModal/Menu.js.map +1 -1
  391. package/lib/module/components/MiniView.js +8 -3
  392. package/lib/module/components/MiniView.js.map +1 -1
  393. package/lib/module/components/Modals.js +88 -313
  394. package/lib/module/components/Modals.js.map +1 -1
  395. package/lib/module/components/OverlayContainer.js +32 -0
  396. package/lib/module/components/OverlayContainer.js.map +1 -0
  397. package/lib/module/components/OverlayedViews.js +13 -0
  398. package/lib/module/components/OverlayedViews.js.map +1 -0
  399. package/lib/module/components/PaginationDots.js +4 -4
  400. package/lib/module/components/PaginationDots.js.map +1 -1
  401. package/lib/module/components/Participants/ParticipantsGroupHeader.js +121 -0
  402. package/lib/module/components/Participants/ParticipantsGroupHeader.js.map +1 -0
  403. package/lib/module/components/Participants/ParticipantsGroupOptions.js +71 -0
  404. package/lib/module/components/Participants/ParticipantsGroupOptions.js.map +1 -0
  405. package/lib/module/components/Participants/ParticipantsItem.js +123 -0
  406. package/lib/module/components/Participants/ParticipantsItem.js.map +1 -0
  407. package/lib/module/components/Participants/ParticipantsItemOption.js +37 -0
  408. package/lib/module/components/Participants/ParticipantsItemOption.js.map +1 -0
  409. package/lib/module/components/Participants/ParticipantsItemOptions.js +211 -0
  410. package/lib/module/components/Participants/ParticipantsItemOptions.js.map +1 -0
  411. package/lib/module/components/Participants/ParticipantsList.js +42 -225
  412. package/lib/module/components/Participants/ParticipantsList.js.map +1 -1
  413. package/lib/module/components/Participants/ParticipantsSeachInput.js +37 -30
  414. package/lib/module/components/Participants/ParticipantsSeachInput.js.map +1 -1
  415. package/lib/module/components/Participants/index.js +0 -3
  416. package/lib/module/components/Participants/index.js.map +1 -1
  417. package/lib/module/components/PeerMinimizedView.js +1 -1
  418. package/lib/module/components/PeerSettingsModalContent.js +50 -126
  419. package/lib/module/components/PeerSettingsModalContent.js.map +1 -1
  420. package/lib/module/components/PeerVideoTile/AvatarView.js +19 -5
  421. package/lib/module/components/PeerVideoTile/AvatarView.js.map +1 -1
  422. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js +36 -0
  423. package/lib/module/components/PeerVideoTile/HMSFullScreenButton.js.map +1 -0
  424. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js +193 -0
  425. package/lib/module/components/PeerVideoTile/HMSPinchGesture.js.map +1 -0
  426. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js +60 -0
  427. package/lib/module/components/PeerVideoTile/PeerAudioIndicator.js.map +1 -0
  428. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js +11 -3
  429. package/lib/module/components/PeerVideoTile/PeerNameAndNetwork.js.map +1 -1
  430. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js +41 -20
  431. package/lib/module/components/PeerVideoTile/PeerVideoTileView.js.map +1 -1
  432. package/lib/module/components/PeerVideoTile/VideoView.js +43 -10
  433. package/lib/module/components/PeerVideoTile/VideoView.js.map +1 -1
  434. package/lib/module/components/PressableIcon.js +11 -6
  435. package/lib/module/components/PressableIcon.js.map +1 -1
  436. package/lib/module/components/Preview.js +6 -13
  437. package/lib/module/components/Preview.js.map +1 -1
  438. package/lib/module/components/PreviewForRoleChangeModal.js +322 -0
  439. package/lib/module/components/PreviewForRoleChangeModal.js.map +1 -0
  440. package/lib/module/components/ReconnectionView.js +56 -0
  441. package/lib/module/components/ReconnectionView.js.map +1 -0
  442. package/lib/module/components/RoomSettingsModalContent.js +27 -36
  443. package/lib/module/components/RoomSettingsModalContent.js.map +1 -1
  444. package/lib/module/components/RoomSettingsModalDebugModeContent.js +31 -70
  445. package/lib/module/components/RoomSettingsModalDebugModeContent.js.map +1 -1
  446. package/lib/module/components/StreamingQualityModalContent.js +8 -8
  447. package/lib/module/components/StreamingQualityModalContent.js.map +1 -1
  448. package/lib/module/components/TilesContainer.js +31 -9
  449. package/lib/module/components/TilesContainer.js.map +1 -1
  450. package/lib/module/components/WebrtcView.js +11 -14
  451. package/lib/module/components/WebrtcView.js.map +1 -1
  452. package/lib/module/components/WelcomeInMeeting.js +8 -32
  453. package/lib/module/components/WelcomeInMeeting.js.map +1 -1
  454. package/lib/module/components/index.js +0 -3
  455. package/lib/module/components/index.js.map +1 -1
  456. package/lib/module/hooks-util-selectors.js +38 -8
  457. package/lib/module/hooks-util-selectors.js.map +1 -1
  458. package/lib/module/hooks-util.js +615 -213
  459. package/lib/module/hooks-util.js.map +1 -1
  460. package/lib/module/modules/HMSManager.js +3 -3
  461. package/lib/module/modules/HMSManager.js.map +1 -1
  462. package/lib/module/modules/parser.js +2 -3
  463. package/lib/module/modules/parser.js.map +1 -1
  464. package/lib/module/redux/actionTypes.js +25 -1
  465. package/lib/module/redux/actionTypes.js.map +1 -1
  466. package/lib/module/redux/actions/index.js +74 -0
  467. package/lib/module/redux/actions/index.js.map +1 -1
  468. package/lib/module/redux/reducers/appState.js +78 -2
  469. package/lib/module/redux/reducers/appState.js.map +1 -1
  470. package/lib/module/redux/reducers/chatWindow.js +3 -7
  471. package/lib/module/redux/reducers/chatWindow.js.map +1 -1
  472. package/lib/module/redux/reducers/hmsStates.js +70 -7
  473. package/lib/module/redux/reducers/hmsStates.js.map +1 -1
  474. package/lib/module/utils/functions.js +8 -2
  475. package/lib/module/utils/functions.js.map +1 -1
  476. package/lib/module/utils/theme.js +2 -0
  477. package/lib/module/utils/theme.js.map +1 -1
  478. package/lib/module/utils/types.js +6 -2
  479. package/lib/module/utils/types.js.map +1 -1
  480. package/lib/module/utils.js +6 -0
  481. package/lib/module/utils.js.map +1 -1
  482. package/lib/typescript/HMSPrebuilt.d.ts +1 -0
  483. package/lib/typescript/HMSPrebuilt.d.ts.map +1 -1
  484. package/lib/typescript/HMSRoomSetup.d.ts.map +1 -1
  485. package/lib/typescript/Icons/AlertTriangle/index.d.ts +1 -0
  486. package/lib/typescript/Icons/AlertTriangle/index.d.ts.map +1 -1
  487. package/lib/typescript/Icons/Eye/index.d.ts +8 -0
  488. package/lib/typescript/Icons/Eye/index.d.ts.map +1 -0
  489. package/lib/typescript/Icons/Person/index.d.ts +1 -0
  490. package/lib/typescript/Icons/Person/index.d.ts.map +1 -1
  491. package/lib/typescript/Icons/Search/index.d.ts +7 -0
  492. package/lib/typescript/Icons/Search/index.d.ts.map +1 -0
  493. package/lib/typescript/Icons/index.d.ts +2 -0
  494. package/lib/typescript/Icons/index.d.ts.map +1 -1
  495. package/lib/typescript/components/AnimatedFooter.d.ts +8 -0
  496. package/lib/typescript/components/AnimatedFooter.d.ts.map +1 -0
  497. package/lib/typescript/components/AnimatedHLSFooter.d.ts +11 -0
  498. package/lib/typescript/components/AnimatedHLSFooter.d.ts.map +1 -0
  499. package/lib/typescript/components/AnimatedHeader.d.ts +7 -0
  500. package/lib/typescript/components/AnimatedHeader.d.ts.map +1 -0
  501. package/lib/typescript/components/BottomSheet.d.ts +4 -1
  502. package/lib/typescript/components/BottomSheet.d.ts.map +1 -1
  503. package/lib/typescript/components/ChangeNameModalContent.d.ts.map +1 -1
  504. package/lib/typescript/components/Chat/ChatBanner.d.ts +1 -1
  505. package/lib/typescript/components/Chat/ChatBanner.d.ts.map +1 -1
  506. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts +6 -0
  507. package/lib/typescript/components/Chat/ChatFilterBottomSheetOpener.d.ts.map +1 -0
  508. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts +6 -0
  509. package/lib/typescript/components/Chat/ChatFilterBottomSheetView.d.ts.map +1 -0
  510. package/lib/typescript/components/Chat/ChatFilterItem.d.ts +12 -0
  511. package/lib/typescript/components/Chat/ChatFilterItem.d.ts.map +1 -0
  512. package/lib/typescript/components/Chat/ChatFilterView.d.ts +6 -0
  513. package/lib/typescript/components/Chat/ChatFilterView.d.ts.map +1 -0
  514. package/lib/typescript/components/Chat/ChatList.d.ts.map +1 -1
  515. package/lib/typescript/components/Chat/ChatMessage.d.ts +2 -2
  516. package/lib/typescript/components/Chat/ChatMessage.d.ts.map +1 -1
  517. package/lib/typescript/components/Chat/PinnedMessage.d.ts.map +1 -1
  518. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts +3 -0
  519. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.d.ts.map +1 -0
  520. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts +7 -0
  521. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsHeader.d.ts.map +1 -0
  522. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts +3 -0
  523. package/lib/typescript/components/ChatAndParticipants/ChatAndParticipantsView.d.ts.map +1 -0
  524. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts +6 -0
  525. package/lib/typescript/components/ChatAndParticipants/ChatView.d.ts.map +1 -0
  526. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts +5 -0
  527. package/lib/typescript/components/ChatAndParticipants/ParticipantsView.d.ts.map +1 -0
  528. package/lib/typescript/components/ChatAndParticipants/index.d.ts +2 -0
  529. package/lib/typescript/components/ChatAndParticipants/index.d.ts.map +1 -0
  530. package/lib/typescript/components/CompanyLogo.d.ts.map +1 -1
  531. package/lib/typescript/components/DefaultModal.d.ts.map +1 -1
  532. package/lib/typescript/components/DisplayView.d.ts.map +1 -1
  533. package/lib/typescript/components/EndRoomModalContent.d.ts.map +1 -1
  534. package/lib/typescript/components/Footer.d.ts +0 -2
  535. package/lib/typescript/components/Footer.d.ts.map +1 -1
  536. package/lib/typescript/components/FullScreenVideoView.d.ts +3 -0
  537. package/lib/typescript/components/FullScreenVideoView.d.ts.map +1 -0
  538. package/lib/typescript/components/GridView.d.ts +12 -1
  539. package/lib/typescript/components/GridView.d.ts.map +1 -1
  540. package/lib/typescript/components/HLSFooter.d.ts +8 -0
  541. package/lib/typescript/components/HLSFooter.d.ts.map +1 -0
  542. package/lib/typescript/components/HLSView.d.ts.map +1 -1
  543. package/lib/typescript/components/HMSBaseButton.d.ts +2 -2
  544. package/lib/typescript/components/HMSBaseButton.d.ts.map +1 -1
  545. package/lib/typescript/components/HMSChat.d.ts.map +1 -1
  546. package/lib/typescript/components/HMSHLSMessage.d.ts +8 -0
  547. package/lib/typescript/components/HMSHLSMessage.d.ts.map +1 -0
  548. package/lib/typescript/components/HMSHLSMessageList.d.ts +3 -0
  549. package/lib/typescript/components/HMSHLSMessageList.d.ts.map +1 -0
  550. package/lib/typescript/components/HMSHLSNotStarted.d.ts.map +1 -1
  551. package/lib/typescript/components/HMSHandRaiseNotification.d.ts +10 -0
  552. package/lib/typescript/components/HMSHandRaiseNotification.d.ts.map +1 -0
  553. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts +8 -0
  554. package/lib/typescript/components/HMSKeyboardAvoidingView.d.ts.map +1 -0
  555. package/lib/typescript/components/HMSLiveIndicator.d.ts +3 -0
  556. package/lib/typescript/components/HMSLiveIndicator.d.ts.map +1 -0
  557. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts +5 -0
  558. package/lib/typescript/components/HMSLocalScreenshareNotification.d.ts.map +1 -0
  559. package/lib/typescript/components/HMSLocalVideoView.d.ts.map +1 -1
  560. package/lib/typescript/components/HMSManageAudioOutput.d.ts.map +1 -1
  561. package/lib/typescript/components/HMSManageLeave.d.ts.map +1 -1
  562. package/lib/typescript/components/HMSNotification.d.ts +15 -0
  563. package/lib/typescript/components/HMSNotification.d.ts.map +1 -0
  564. package/lib/typescript/components/HMSNotifications.d.ts +5 -0
  565. package/lib/typescript/components/HMSNotifications.d.ts.map +1 -0
  566. package/lib/typescript/components/HMSOverlayChatView.d.ts +3 -0
  567. package/lib/typescript/components/HMSOverlayChatView.d.ts.map +1 -0
  568. package/lib/typescript/components/HMSPreviewJoinButton.d.ts.map +1 -1
  569. package/lib/typescript/components/HMSPreviewNetworkQuality.d.ts.map +1 -1
  570. package/lib/typescript/components/HMSPreviewSubtitle.d.ts.map +1 -1
  571. package/lib/typescript/components/HMSPreviewTitle.d.ts.map +1 -1
  572. package/lib/typescript/components/HMSRecordingIndicator.d.ts.map +1 -1
  573. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts +9 -0
  574. package/lib/typescript/components/HMSRoleChangeDeclinedNotification.d.ts.map +1 -0
  575. package/lib/typescript/components/HMSSendMessageInput.d.ts +9 -0
  576. package/lib/typescript/components/HMSSendMessageInput.d.ts.map +1 -0
  577. package/lib/typescript/components/HMSTextInput.d.ts +20 -6
  578. package/lib/typescript/components/HMSTextInput.d.ts.map +1 -1
  579. package/lib/typescript/components/HMSVideoView.d.ts +6 -0
  580. package/lib/typescript/components/HMSVideoView.d.ts.map +1 -0
  581. package/lib/typescript/components/Header.d.ts +3 -2
  582. package/lib/typescript/components/Header.d.ts.map +1 -1
  583. package/lib/typescript/components/LocalPeerScreenshareView.d.ts.map +1 -1
  584. package/lib/typescript/components/Meeting.d.ts.map +1 -1
  585. package/lib/typescript/components/MeetingScreenContent.d.ts.map +1 -1
  586. package/lib/typescript/components/MiniView.d.ts.map +1 -1
  587. package/lib/typescript/components/Modals.d.ts +1 -21
  588. package/lib/typescript/components/Modals.d.ts.map +1 -1
  589. package/lib/typescript/components/OverlayContainer.d.ts +9 -0
  590. package/lib/typescript/components/OverlayContainer.d.ts.map +1 -0
  591. package/lib/typescript/components/OverlayedViews.d.ts +4 -0
  592. package/lib/typescript/components/OverlayedViews.d.ts.map +1 -0
  593. package/lib/typescript/components/PaginationDots.d.ts +3 -0
  594. package/lib/typescript/components/PaginationDots.d.ts.map +1 -1
  595. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts +9 -0
  596. package/lib/typescript/components/Participants/ParticipantsGroupHeader.d.ts.map +1 -0
  597. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts +8 -0
  598. package/lib/typescript/components/Participants/ParticipantsGroupOptions.d.ts.map +1 -0
  599. package/lib/typescript/components/Participants/ParticipantsItem.d.ts +9 -0
  600. package/lib/typescript/components/Participants/ParticipantsItem.d.ts.map +1 -0
  601. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts +12 -0
  602. package/lib/typescript/components/Participants/ParticipantsItemOption.d.ts.map +1 -0
  603. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts +10 -0
  604. package/lib/typescript/components/Participants/ParticipantsItemOptions.d.ts.map +1 -0
  605. package/lib/typescript/components/Participants/ParticipantsList.d.ts +4 -2
  606. package/lib/typescript/components/Participants/ParticipantsList.d.ts.map +1 -1
  607. package/lib/typescript/components/Participants/ParticipantsSeachInput.d.ts.map +1 -1
  608. package/lib/typescript/components/Participants/index.d.ts +0 -3
  609. package/lib/typescript/components/Participants/index.d.ts.map +1 -1
  610. package/lib/typescript/components/PeerSettingsModalContent.d.ts.map +1 -1
  611. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts +4 -0
  612. package/lib/typescript/components/PeerVideoTile/AvatarView.d.ts.map +1 -1
  613. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts +7 -0
  614. package/lib/typescript/components/PeerVideoTile/HMSFullScreenButton.d.ts.map +1 -0
  615. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts +7 -0
  616. package/lib/typescript/components/PeerVideoTile/HMSPinchGesture.d.ts.map +1 -0
  617. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts +8 -0
  618. package/lib/typescript/components/PeerVideoTile/PeerAudioIndicator.d.ts.map +1 -0
  619. package/lib/typescript/components/PeerVideoTile/PeerNameAndNetwork.d.ts.map +1 -1
  620. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts +2 -1
  621. package/lib/typescript/components/PeerVideoTile/PeerVideoTileView.d.ts.map +1 -1
  622. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts +1 -0
  623. package/lib/typescript/components/PeerVideoTile/VideoView.d.ts.map +1 -1
  624. package/lib/typescript/components/PressableIcon.d.ts.map +1 -1
  625. package/lib/typescript/components/Preview.d.ts.map +1 -1
  626. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts +3 -0
  627. package/lib/typescript/components/PreviewForRoleChangeModal.d.ts.map +1 -0
  628. package/lib/typescript/components/ReconnectionView.d.ts +4 -0
  629. package/lib/typescript/components/ReconnectionView.d.ts.map +1 -0
  630. package/lib/typescript/components/RoomSettingsModalContent.d.ts.map +1 -1
  631. package/lib/typescript/components/RoomSettingsModalDebugModeContent.d.ts.map +1 -1
  632. package/lib/typescript/components/StreamingQualityModalContent.d.ts.map +1 -1
  633. package/lib/typescript/components/TilesContainer.d.ts.map +1 -1
  634. package/lib/typescript/components/WebrtcView.d.ts.map +1 -1
  635. package/lib/typescript/components/WelcomeInMeeting.d.ts.map +1 -1
  636. package/lib/typescript/components/index.d.ts +0 -3
  637. package/lib/typescript/components/index.d.ts.map +1 -1
  638. package/lib/typescript/hooks-util-selectors.d.ts +7 -2
  639. package/lib/typescript/hooks-util-selectors.d.ts.map +1 -1
  640. package/lib/typescript/hooks-util.d.ts +53 -23
  641. package/lib/typescript/hooks-util.d.ts.map +1 -1
  642. package/lib/typescript/modules/HMSManager.d.ts +1 -1
  643. package/lib/typescript/modules/HMSManager.d.ts.map +1 -1
  644. package/lib/typescript/modules/parser.d.ts +1 -1
  645. package/lib/typescript/modules/parser.d.ts.map +1 -1
  646. package/lib/typescript/redux/actionTypes.d.ts +16 -1
  647. package/lib/typescript/redux/actionTypes.d.ts.map +1 -1
  648. package/lib/typescript/redux/actions/index.d.ts +92 -4
  649. package/lib/typescript/redux/actions/index.d.ts.map +1 -1
  650. package/lib/typescript/redux/index.d.ts +22 -2
  651. package/lib/typescript/redux/index.d.ts.map +1 -1
  652. package/lib/typescript/redux/reducers/appState.d.ts +10 -0
  653. package/lib/typescript/redux/reducers/appState.d.ts.map +1 -1
  654. package/lib/typescript/redux/reducers/chatWindow.d.ts +6 -6
  655. package/lib/typescript/redux/reducers/chatWindow.d.ts.map +1 -1
  656. package/lib/typescript/redux/reducers/hmsStates.d.ts +32 -4
  657. package/lib/typescript/redux/reducers/hmsStates.d.ts.map +1 -1
  658. package/lib/typescript/redux/reducers/index.d.ts +22 -2
  659. package/lib/typescript/redux/reducers/index.d.ts.map +1 -1
  660. package/lib/typescript/redux/reducers/userState.d.ts +1 -0
  661. package/lib/typescript/redux/reducers/userState.d.ts.map +1 -1
  662. package/lib/typescript/utils/functions.d.ts +3 -1
  663. package/lib/typescript/utils/functions.d.ts.map +1 -1
  664. package/lib/typescript/utils/theme.d.ts +1 -1
  665. package/lib/typescript/utils/theme.d.ts.map +1 -1
  666. package/lib/typescript/utils/types.d.ts +6 -2
  667. package/lib/typescript/utils/types.d.ts.map +1 -1
  668. package/lib/typescript/utils.d.ts +5 -0
  669. package/lib/typescript/utils.d.ts.map +1 -1
  670. package/package.json +13 -8
  671. package/src/HMSPrebuilt.tsx +10 -10
  672. package/src/HMSRoomSetup.tsx +50 -28
  673. package/src/Icons/AlertTriangle/assets/alert-triangle-filled.png +0 -0
  674. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@2x.png +0 -0
  675. package/src/Icons/AlertTriangle/assets/alert-triangle-filled@3x.png +0 -0
  676. package/src/Icons/AlertTriangle/index.tsx +9 -2
  677. package/src/Icons/Eye/assets/eye-on-small.png +0 -0
  678. package/src/Icons/Eye/assets/eye-on-small@2x.png +0 -0
  679. package/src/Icons/Eye/assets/eye-on-small@3x.png +0 -0
  680. package/src/Icons/Eye/index.tsx +36 -0
  681. package/src/Icons/Person/assets/person-left.png +0 -0
  682. package/src/Icons/Person/assets/person-left@2x.png +0 -0
  683. package/src/Icons/Person/assets/person-left@3x.png +0 -0
  684. package/src/Icons/Person/assets/person-off.png +0 -0
  685. package/src/Icons/Person/assets/person-off@2x.png +0 -0
  686. package/src/Icons/Person/assets/person-off@3x.png +0 -0
  687. package/src/Icons/Person/assets/person-rectangle.png +0 -0
  688. package/src/Icons/Person/assets/person-rectangle@2x.png +0 -0
  689. package/src/Icons/Person/assets/person-rectangle@3x.png +0 -0
  690. package/src/Icons/Person/index.tsx +13 -2
  691. package/src/Icons/Search/assets/search.png +0 -0
  692. package/src/Icons/Search/assets/search@2x.png +0 -0
  693. package/src/Icons/Search/assets/search@3x.png +0 -0
  694. package/src/Icons/Search/index.tsx +33 -0
  695. package/src/Icons/index.ts +2 -0
  696. package/src/assets/audio-level-white.json +1271 -0
  697. package/src/assets/empty-chat-illustration/empty-chat.png +0 -0
  698. package/src/assets/empty-chat-illustration/empty-chat@2x.png +0 -0
  699. package/src/assets/empty-chat-illustration/empty-chat@3x.png +0 -0
  700. package/src/assets/welcome.png +0 -0
  701. package/src/components/AnimatedFooter.tsx +37 -0
  702. package/src/components/AnimatedHLSFooter.tsx +43 -0
  703. package/src/components/AnimatedHeader.tsx +53 -0
  704. package/src/components/BottomSheet.tsx +8 -4
  705. package/src/components/ChangeNameModalContent.tsx +2 -11
  706. package/src/components/Chat/ChatBanner.tsx +37 -52
  707. package/src/components/Chat/ChatFilterBottomSheetOpener.tsx +88 -0
  708. package/src/components/Chat/ChatFilterBottomSheetView.tsx +81 -0
  709. package/src/components/Chat/ChatFilterItem.tsx +71 -0
  710. package/src/components/Chat/ChatFilterView.tsx +250 -0
  711. package/src/components/Chat/ChatList.tsx +16 -12
  712. package/src/components/Chat/ChatMessage.tsx +48 -197
  713. package/src/components/Chat/PinnedMessage.tsx +45 -45
  714. package/src/components/ChatAndParticipants/ChatAndParticipantsBottomSheet.tsx +38 -0
  715. package/src/components/ChatAndParticipants/ChatAndParticipantsHeader.tsx +140 -0
  716. package/src/components/ChatAndParticipants/ChatAndParticipantsView.tsx +84 -0
  717. package/src/components/ChatAndParticipants/ChatView.tsx +42 -0
  718. package/src/components/ChatAndParticipants/ParticipantsView.tsx +41 -0
  719. package/src/components/ChatAndParticipants/index.ts +1 -0
  720. package/src/components/CompanyLogo.tsx +3 -2
  721. package/src/components/DefaultModal.tsx +4 -6
  722. package/src/components/DisplayView.tsx +10 -26
  723. package/src/components/EndRoomModalContent.tsx +32 -7
  724. package/src/components/Footer.tsx +93 -58
  725. package/src/components/FullScreenVideoView.tsx +77 -0
  726. package/src/components/GridView.tsx +186 -65
  727. package/src/components/HLSFooter.tsx +32 -0
  728. package/src/components/HLSView.tsx +5 -32
  729. package/src/components/HMSBaseButton.tsx +2 -2
  730. package/src/components/HMSChat.tsx +12 -25
  731. package/src/components/HMSHLSMessage.tsx +72 -0
  732. package/src/components/HMSHLSMessageList.tsx +60 -0
  733. package/src/components/HMSHLSNotStarted.tsx +8 -19
  734. package/src/components/HMSHandRaiseNotification.tsx +101 -0
  735. package/src/components/HMSKeyboardAvoidingView.tsx +58 -0
  736. package/src/components/HMSLiveIndicator.tsx +124 -0
  737. package/src/components/HMSLocalScreenshareNotification.tsx +41 -0
  738. package/src/components/HMSLocalVideoView.tsx +4 -31
  739. package/src/components/HMSManageAudioOutput.tsx +14 -2
  740. package/src/components/HMSManageLeave.tsx +46 -19
  741. package/src/components/HMSNotification.tsx +126 -0
  742. package/src/components/HMSNotifications.tsx +154 -0
  743. package/src/components/HMSOverlayChatView.tsx +36 -0
  744. package/src/components/HMSPreviewJoinButton.tsx +6 -3
  745. package/src/components/HMSPreviewNetworkQuality.tsx +3 -1
  746. package/src/components/HMSPreviewSubtitle.tsx +2 -6
  747. package/src/components/HMSPreviewTitle.tsx +2 -6
  748. package/src/components/HMSRecordingIndicator.tsx +13 -2
  749. package/src/components/HMSRoleChangeDeclinedNotification.tsx +25 -0
  750. package/src/components/HMSSendMessageInput.tsx +59 -0
  751. package/src/components/HMSTextInput.tsx +157 -23
  752. package/src/components/HMSVideoView.tsx +43 -0
  753. package/src/components/Header.tsx +25 -133
  754. package/src/components/LocalPeerScreenshareView.tsx +0 -6
  755. package/src/components/Meeting.tsx +15 -8
  756. package/src/components/MeetingScreenContent.tsx +28 -11
  757. package/src/components/MiniView.tsx +10 -4
  758. package/src/components/Modals.tsx +112 -370
  759. package/src/components/OverlayContainer.tsx +31 -0
  760. package/src/components/OverlayedViews.tsx +22 -0
  761. package/src/components/PaginationDots.tsx +9 -8
  762. package/src/components/Participants/ParticipantsGroupHeader.tsx +145 -0
  763. package/src/components/Participants/ParticipantsGroupOptions.tsx +87 -0
  764. package/src/components/Participants/ParticipantsItem.tsx +170 -0
  765. package/src/components/Participants/ParticipantsItemOption.tsx +52 -0
  766. package/src/components/Participants/ParticipantsItemOptions.tsx +262 -0
  767. package/src/components/Participants/ParticipantsList.tsx +68 -278
  768. package/src/components/Participants/ParticipantsSeachInput.tsx +37 -35
  769. package/src/components/Participants/index.ts +0 -3
  770. package/src/components/PeerMinimizedView.tsx +1 -1
  771. package/src/components/PeerSettingsModalContent.tsx +44 -191
  772. package/src/components/PeerVideoTile/AvatarView.tsx +43 -5
  773. package/src/components/PeerVideoTile/HMSFullScreenButton.tsx +56 -0
  774. package/src/components/PeerVideoTile/HMSPinchGesture.tsx +176 -0
  775. package/src/components/PeerVideoTile/PeerAudioIndicator.tsx +78 -0
  776. package/src/components/PeerVideoTile/PeerNameAndNetwork.tsx +15 -2
  777. package/src/components/PeerVideoTile/PeerVideoTileView.tsx +172 -115
  778. package/src/components/PeerVideoTile/VideoView.tsx +59 -9
  779. package/src/components/PressableIcon.tsx +26 -13
  780. package/src/components/Preview.tsx +17 -24
  781. package/src/components/PreviewForRoleChangeModal.tsx +448 -0
  782. package/src/components/ReconnectionView.tsx +73 -0
  783. package/src/components/RoomSettingsModalContent.tsx +32 -30
  784. package/src/components/RoomSettingsModalDebugModeContent.tsx +11 -65
  785. package/src/components/StreamingQualityModalContent.tsx +8 -8
  786. package/src/components/TilesContainer.tsx +54 -24
  787. package/src/components/WebrtcView.tsx +29 -19
  788. package/src/components/WelcomeInMeeting.tsx +5 -34
  789. package/src/components/index.ts +0 -3
  790. package/src/hooks-util-selectors.tsx +69 -6
  791. package/src/hooks-util.ts +852 -270
  792. package/src/modules/HMSManager.ts +3 -3
  793. package/src/modules/parser.ts +3 -4
  794. package/src/redux/actionTypes.ts +33 -0
  795. package/src/redux/actions/index.ts +96 -1
  796. package/src/redux/reducers/appState.ts +83 -1
  797. package/src/redux/reducers/chatWindow.ts +12 -5
  798. package/src/redux/reducers/hmsStates.ts +136 -4
  799. package/src/redux/reducers/userState.ts +1 -1
  800. package/src/utils/functions.ts +9 -0
  801. package/src/utils/theme.ts +3 -1
  802. package/src/utils/types.ts +6 -2
  803. package/src/utils.ts +6 -0
  804. package/lib/commonjs/assets/100ms-logo.png +0 -0
  805. package/lib/commonjs/assets/brb.png +0 -0
  806. package/lib/commonjs/assets/icon.png +0 -0
  807. package/lib/commonjs/assets/illustration.png +0 -0
  808. package/lib/commonjs/assets/network_0.png +0 -0
  809. package/lib/commonjs/assets/network_1.png +0 -0
  810. package/lib/commonjs/assets/network_2.png +0 -0
  811. package/lib/commonjs/assets/network_3.png +0 -0
  812. package/lib/commonjs/assets/network_4.png +0 -0
  813. package/lib/commonjs/assets/user_music.png +0 -0
  814. package/lib/commonjs/components/ChatWindow.js +0 -608
  815. package/lib/commonjs/components/ChatWindow.js.map +0 -1
  816. package/lib/commonjs/components/CustomInput.js +0 -89
  817. package/lib/commonjs/components/CustomInput.js.map +0 -1
  818. package/lib/commonjs/components/DisplayTrack.js +0 -70
  819. package/lib/commonjs/components/DisplayTrack.js.map +0 -1
  820. package/lib/commonjs/components/HMSShareScreen.js +0 -59
  821. package/lib/commonjs/components/HMSShareScreen.js.map +0 -1
  822. package/lib/commonjs/components/HMSShowNetworkQuality.js +0 -56
  823. package/lib/commonjs/components/HMSShowNetworkQuality.js.map +0 -1
  824. package/lib/commonjs/components/LiveButton.js +0 -70
  825. package/lib/commonjs/components/LiveButton.js.map +0 -1
  826. package/lib/commonjs/components/Participants/ParticipantsFilter.js +0 -128
  827. package/lib/commonjs/components/Participants/ParticipantsFilter.js.map +0 -1
  828. package/lib/commonjs/components/Participants/ParticipantsHeader.js +0 -67
  829. package/lib/commonjs/components/Participants/ParticipantsHeader.js.map +0 -1
  830. package/lib/commonjs/components/Participants/SearchableParticipantsView.js.map +0 -1
  831. package/lib/commonjs/components/ParticipantsModal.js.map +0 -1
  832. package/lib/commonjs/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  833. package/lib/commonjs/components/Picker.js +0 -93
  834. package/lib/commonjs/components/Picker.js.map +0 -1
  835. package/lib/module/assets/100ms-logo.png +0 -0
  836. package/lib/module/assets/brb.png +0 -0
  837. package/lib/module/assets/icon.png +0 -0
  838. package/lib/module/assets/illustration.png +0 -0
  839. package/lib/module/assets/network_0.png +0 -0
  840. package/lib/module/assets/network_1.png +0 -0
  841. package/lib/module/assets/network_2.png +0 -0
  842. package/lib/module/assets/network_3.png +0 -0
  843. package/lib/module/assets/network_4.png +0 -0
  844. package/lib/module/assets/user_music.png +0 -0
  845. package/lib/module/components/ChatWindow.js +0 -595
  846. package/lib/module/components/ChatWindow.js.map +0 -1
  847. package/lib/module/components/CustomInput.js +0 -82
  848. package/lib/module/components/CustomInput.js.map +0 -1
  849. package/lib/module/components/DisplayTrack.js +0 -63
  850. package/lib/module/components/DisplayTrack.js.map +0 -1
  851. package/lib/module/components/HMSShareScreen.js +0 -50
  852. package/lib/module/components/HMSShareScreen.js.map +0 -1
  853. package/lib/module/components/HMSShowNetworkQuality.js +0 -47
  854. package/lib/module/components/HMSShowNetworkQuality.js.map +0 -1
  855. package/lib/module/components/LiveButton.js +0 -61
  856. package/lib/module/components/LiveButton.js.map +0 -1
  857. package/lib/module/components/Participants/ParticipantsFilter.js +0 -121
  858. package/lib/module/components/Participants/ParticipantsFilter.js.map +0 -1
  859. package/lib/module/components/Participants/ParticipantsHeader.js +0 -58
  860. package/lib/module/components/Participants/ParticipantsHeader.js.map +0 -1
  861. package/lib/module/components/Participants/SearchableParticipantsView.js +0 -18
  862. package/lib/module/components/Participants/SearchableParticipantsView.js.map +0 -1
  863. package/lib/module/components/ParticipantsModal.js +0 -34
  864. package/lib/module/components/ParticipantsModal.js.map +0 -1
  865. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js +0 -35
  866. package/lib/module/components/PeerVideoTile/PeerAudioMutedIndicator.js.map +0 -1
  867. package/lib/module/components/Picker.js +0 -83
  868. package/lib/module/components/Picker.js.map +0 -1
  869. package/lib/typescript/components/ChatWindow.d.ts +0 -22
  870. package/lib/typescript/components/ChatWindow.d.ts.map +0 -1
  871. package/lib/typescript/components/CustomInput.d.ts +0 -24
  872. package/lib/typescript/components/CustomInput.d.ts.map +0 -1
  873. package/lib/typescript/components/DisplayTrack.d.ts +0 -9
  874. package/lib/typescript/components/DisplayTrack.d.ts.map +0 -1
  875. package/lib/typescript/components/HMSShareScreen.d.ts +0 -9
  876. package/lib/typescript/components/HMSShareScreen.d.ts.map +0 -1
  877. package/lib/typescript/components/HMSShowNetworkQuality.d.ts +0 -3
  878. package/lib/typescript/components/HMSShowNetworkQuality.d.ts.map +0 -1
  879. package/lib/typescript/components/LiveButton.d.ts +0 -17
  880. package/lib/typescript/components/LiveButton.d.ts.map +0 -1
  881. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts +0 -6
  882. package/lib/typescript/components/Participants/ParticipantsFilter.d.ts.map +0 -1
  883. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts +0 -9
  884. package/lib/typescript/components/Participants/ParticipantsHeader.d.ts.map +0 -1
  885. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts +0 -3
  886. package/lib/typescript/components/Participants/SearchableParticipantsView.d.ts.map +0 -1
  887. package/lib/typescript/components/ParticipantsModal.d.ts +0 -5
  888. package/lib/typescript/components/ParticipantsModal.d.ts.map +0 -1
  889. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts +0 -6
  890. package/lib/typescript/components/PeerVideoTile/PeerAudioMutedIndicator.d.ts.map +0 -1
  891. package/lib/typescript/components/Picker.d.ts +0 -9
  892. package/lib/typescript/components/Picker.d.ts.map +0 -1
  893. package/src/assets/100ms-logo.png +0 -0
  894. package/src/assets/brb.png +0 -0
  895. package/src/assets/icon.png +0 -0
  896. package/src/assets/illustration.png +0 -0
  897. package/src/assets/network_0.png +0 -0
  898. package/src/assets/network_1.png +0 -0
  899. package/src/assets/network_2.png +0 -0
  900. package/src/assets/network_3.png +0 -0
  901. package/src/assets/network_4.png +0 -0
  902. package/src/assets/user_music.png +0 -0
  903. package/src/components/ChatWindow.tsx +0 -706
  904. package/src/components/CustomInput.tsx +0 -138
  905. package/src/components/DisplayTrack.tsx +0 -92
  906. package/src/components/HMSShareScreen.tsx +0 -71
  907. package/src/components/HMSShowNetworkQuality.tsx +0 -68
  908. package/src/components/LiveButton.tsx +0 -77
  909. package/src/components/Participants/ParticipantsFilter.tsx +0 -144
  910. package/src/components/Participants/ParticipantsHeader.tsx +0 -64
  911. package/src/components/Participants/SearchableParticipantsView.tsx +0 -21
  912. package/src/components/ParticipantsModal.tsx +0 -46
  913. package/src/components/PeerVideoTile/PeerAudioMutedIndicator.tsx +0 -41
  914. package/src/components/Picker.tsx +0 -108
@@ -7,11 +7,10 @@ exports.StreamingQualityModalContent = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _reactRedux = require("react-redux");
9
9
  var _reactNative = require("react-native");
10
- var _MaterialIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));
11
10
  var _CustomButton = require("./CustomButton");
12
11
  var _theme = require("../utils/theme");
13
12
  var _MenuModal = require("./MenuModal");
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ var _Icons = require("../Icons");
15
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); }
16
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; }
17
16
  const StreamingQualityModalContent = _ref => {
@@ -77,10 +76,13 @@ const StreamingQualityModalContent = _ref => {
77
76
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
78
77
  style: styles.participantFilterText,
79
78
  numberOfLines: 1
80
- }, selectedLayer), /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
81
- name: showQualityOptions ? 'arrow-drop-up' : 'arrow-drop-down',
82
- style: styles.participantFilterIcon,
83
- size: 24
79
+ }, selectedLayer), /*#__PURE__*/_react.default.createElement(_Icons.ChevronIcon, {
80
+ direction: 'down',
81
+ style: {
82
+ transform: [{
83
+ rotateZ: showQualityOptions ? '180deg' : '0deg'
84
+ }]
85
+ }
84
86
  })),
85
87
  onRequestClose: () => setShowQualityOptions(false),
86
88
  style: styles.participantsMenuContainer
@@ -149,9 +151,6 @@ const styles = _reactNative.StyleSheet.create({
149
151
  marginRight: 12,
150
152
  textTransform: 'capitalize'
151
153
  },
152
- participantFilterIcon: {
153
- color: _theme.COLORS.TEXT.HIGH_EMPHASIS
154
- },
155
154
  roleChangeModalHeading: {
156
155
  color: _theme.COLORS.TEXT.HIGH_EMPHASIS,
157
156
  fontSize: 20,
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactRedux","_reactNative","_MaterialIcons","_interopRequireDefault","_CustomButton","_theme","_MenuModal","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","StreamingQualityModalContent","_ref","track","cancelModal","hmsInstance","useSelector","state","user","remoteVideoTrack","setRemoteVideoTrack","useState","showQualityOptions","setShowQualityOptions","originalLayer","setOriginalLayer","selectedLayer","setSelectedLayer","layerDefinitions","setLayerDefinitions","useEffect","getSelectedLayer","layer","getLayer","getLayerDefinitions","getLayerDefinition","getRemoteVideoTrack","getRemoteVideoTrackFromTrackId","trackId","changeStreamingQuality","setLayer","then","value","console","log","catch","e","changeSubmitDisabled","createElement","View","style","styles","container","Text","roleChangeModalHeading","participantRole","contentContainer","Menu","visible","anchor","TouchableOpacity","participantFilterContainer","onPress","participantFilterText","numberOfLines","name","participantFilterIcon","size","onRequestClose","participantsMenuContainer","map","layerDefinition","isSelected","MenuItem","participantMenuActiveItem","undefined","participantMenuItem","resolution","width","height","roleChangeModalPermissionContainer","CustomButton","title","viewStyle","roleChangeModalCancelButton","textStyle","roleChangeModalButtonText","disabled","roleChangeModalSuccessButton","exports","StyleSheet","create","padding","position","justifyContent","marginTop","color","COLORS","TEXT","MEDIUM_EMPHASIS","fontSize","lineHeight","letterSpacing","fontFamily","textTransform","flexDirection","alignItems","borderWidth","borderColor","BORDER","LIGHT","borderRadius","HIGH_EMPHASIS","marginRight","paddingTop","backgroundColor","SURFACE","overflow","PRIMARY","DEFAULT","paddingLeft","Platform","OS","SECONDARY","DISABLED","paddingHorizontal","paddingVertical","alignSelf"],"sourceRoot":"../../../src","sources":["components/StreamingQualityModalContent.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAaA,IAAAG,cAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAEA,IAAAK,aAAA,GAAAL,OAAA;AAEA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAA6C,SAAAI,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,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,SAAAb,wBAAAS,GAAA,EAAAI,WAAA,SAAAA,WAAA,IAAAJ,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAQ,KAAA,GAAAL,wBAAA,C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AC;IACfjC,KAAK,EAAE,KAAK;IACZiD,SAAS,EAAE,QAAQ;IACnBd,WAAW,EAAE;EACf,CAAC;EACDzB,4BAA4B,EAAE;IAC5B2B,eAAe,EAAElB,aAAM,CAACqB,OAAO,CAACC,OAAO;IACvCM,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBhC,cAAc,EAAE,QAAQ;IACxBY,UAAU,EAAE,QAAQ;IACpBC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAEX,aAAM,CAACqB,OAAO,CAACC,OAAO;IACnCR,YAAY,EAAE,CAAC;IACfjC,KAAK,EAAE,KAAK;IACZiD,SAAS,EAAE;EACb,CAAC;EACDzC,yBAAyB,EAAE;IACzBU,KAAK,EAAEC,aAAM,CAACC,IAAI,CAACc,aAAa;IAChCZ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,GAAG;IAClBC,UAAU,EAAE,cAAc;IAC1BC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactRedux","_reactNative","_CustomButton","_theme","_MenuModal","_Icons","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","StreamingQualityModalContent","_ref","track","cancelModal","hmsInstance","useSelector","state","user","remoteVideoTrack","setRemoteVideoTrack","useState","showQualityOptions","setShowQualityOptions","originalLayer","setOriginalLayer","selectedLayer","setSelectedLayer","layerDefinitions","setLayerDefinitions","useEffect","getSelectedLayer","layer","getLayer","getLayerDefinitions","getLayerDefinition","getRemoteVideoTrack","getRemoteVideoTrackFromTrackId","trackId","changeStreamingQuality","setLayer","then","value","console","log","catch","e","changeSubmitDisabled","createElement","View","style","styles","container","Text","roleChangeModalHeading","participantRole","contentContainer","Menu","visible","anchor","TouchableOpacity","participantFilterContainer","onPress","participantFilterText","numberOfLines","ChevronIcon","direction","transform","rotateZ","onRequestClose","participantsMenuContainer","map","layerDefinition","isSelected","MenuItem","participantMenuActiveItem","undefined","participantMenuItem","resolution","width","height","roleChangeModalPermissionContainer","CustomButton","title","viewStyle","roleChangeModalCancelButton","textStyle","roleChangeModalButtonText","disabled","roleChangeModalSuccessButton","exports","StyleSheet","create","padding","position","justifyContent","marginTop","color","COLORS","TEXT","MEDIUM_EMPHASIS","fontSize","lineHeight","letterSpacing","fontFamily","textTransform","flexDirection","alignItems","borderWidth","borderColor","BORDER","LIGHT","borderRadius","HIGH_EMPHASIS","marginRight","paddingTop","backgroundColor","SURFACE","overflow","PRIMARY","DEFAULT","paddingLeft","Platform","OS","SECONDARY","DISABLED","paddingHorizontal","paddingVertical","alignSelf"],"sourceRoot":"../../../src","sources":["components/StreamingQualityModalContent.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAcA,IAAAG,aAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AAAuC,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,IAAA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;EACf,CAAC;EACDzB,4BAA4B,EAAE;IAC5B2B,eAAe,EAAElB,aAAM,CAACqB,OAAO,CAACC,OAAO;IACvCM,iBAAiB,EAAE,EAAE;IACrBC,eAAe,EAAE,CAAC;IAClBhC,cAAc,EAAE,QAAQ;IACxBY,UAAU,EAAE,QAAQ;IACpBC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAEX,aAAM,CAACqB,OAAO,CAACC,OAAO;IACnCR,YAAY,EAAE,CAAC;IACfjC,KAAK,EAAE,KAAK;IACZiD,SAAS,EAAE;EACb,CAAC;EACDzC,yBAAyB,EAAE;IACzBU,KAAK,EAAEC,aAAM,CAACC,IAAI,CAACc,aAAa;IAChCZ,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,EAAE;IACdC,aAAa,EAAE,GAAG;IAClBC,UAAU,EAAE,cAAc;IAC1BC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC"}
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.TilesContainer = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _reactNative = require("react-native");
9
+ var _reactRedux = require("react-redux");
9
10
  var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
10
11
  var _Tile = require("./Tile");
11
12
  var _dimension = require("../utils/dimension");
@@ -22,7 +23,11 @@ const _TilesContainer = _ref => {
22
23
  right
23
24
  } = (0, _reactNativeSafeAreaContext.useSafeAreaInsets)();
24
25
  const isLandscapeOrientation = (0, _dimension.useIsLandscapeOrientation)();
25
- const stylesConfig = computeTileWidthAndHeight(peerTrackNodes.length, isLandscapeOrientation);
26
+ const screenshareTilesAvailable = (0, _reactRedux.useSelector)(state => state.app.screensharePeerTrackNodes.length > 0);
27
+ const stylesConfig = computeTileWidthAndHeight(peerTrackNodes.length, {
28
+ isLandscapeOrientation,
29
+ type: screenshareTilesAvailable ? 'row' : 'default'
30
+ });
26
31
 
27
32
  // In this layout, Tile will take as much height and width as possible
28
33
  // Width and Height of Tile are independent of each other
@@ -31,7 +36,8 @@ const _TilesContainer = _ref => {
31
36
  style: [
32
37
  // If tile are growable, then we want whatever remaining space to be between them
33
38
  {
34
- justifyContent: growableTileLayout ? 'space-between' : 'center'
39
+ justifyContent: screenshareTilesAvailable && peerTrackNodes.length === 1 ? 'center' : growableTileLayout ? 'space-between' : 'center',
40
+ flexDirection: screenshareTilesAvailable ? 'row' : 'column'
35
41
  }, {
36
42
  width: _reactNative.Dimensions.get('window').width - left - right
37
43
  }]
@@ -60,7 +66,7 @@ const _TilesContainer = _ref => {
60
66
  justifyContent: peerTrackNodesPair.length === 1 ? 'center' : 'space-between',
61
67
  flexDirection: 'row',
62
68
  flex: growableTileLayout ? 1 : 0,
63
- marginTop: isFirstPairGroup ? 0 : 8
69
+ marginTop: isFirstPairGroup ? 0 : 4
64
70
  }
65
71
  }, peerTrackNodesPair.map(peerTrackNode => {
66
72
  return /*#__PURE__*/_react.default.createElement(_Tile.Tile, {
@@ -86,19 +92,19 @@ const oneTileStyle = {
86
92
  }; // 1 Column Layout
87
93
  const twoTileStyle = {
88
94
  width: '100%',
89
- height: '49.4444%'
95
+ height: '49.7222%'
90
96
  }; // 1 Column Layout
91
97
  const threeTileStyle = {
92
98
  width: '100%',
93
- height: '32.6666%'
99
+ height: '33%'
94
100
  }; // 1 Column Layout
95
101
 
96
102
  const fourTileStyle = {
97
- width: '49%',
103
+ width: '49.5%',
98
104
  height: '100%'
99
105
  }; // Grid Layout when Width and Height has no-correlatiom
100
106
  const fiveAndSixTileStyle = {
101
- width: '49%',
107
+ width: '49.5%',
102
108
  aspectRatio: 1
103
109
  }; // Grid Layout when width and Height as fixed aspectRatio
104
110
 
@@ -118,8 +124,24 @@ const fourTileStyleLandscape = {
118
124
  width: '50%',
119
125
  height: '50%'
120
126
  };
121
- function computeTileWidthAndHeight(totalTiles, isLandscapeOrientation) {
122
- return (isLandscapeOrientation ? [oneTileStyleLandscape, twoTileStyleLandscape, threeTileStyleLandscape, fourTileStyleLandscape][Math.min(totalTiles - 1, 3)] : [oneTileStyle, twoTileStyle, threeTileStyle, fourTileStyle, fiveAndSixTileStyle][Math.min(totalTiles - 1, 4)]) || {
127
+ function computeTileWidthAndHeight(totalTiles, config) {
128
+ const {
129
+ type,
130
+ isLandscapeOrientation
131
+ } = config || {
132
+ type: 'default',
133
+ isLandscapeOrientation: false
134
+ };
135
+ if (isLandscapeOrientation) {
136
+ return [oneTileStyleLandscape, twoTileStyleLandscape, threeTileStyleLandscape, fourTileStyleLandscape][Math.min(totalTiles - 1, 3)] || {
137
+ width: '100%',
138
+ height: '100%'
139
+ };
140
+ }
141
+ if (type === 'row') {
142
+ return fiveAndSixTileStyle;
143
+ }
144
+ return [oneTileStyle, twoTileStyle, threeTileStyle, fourTileStyle, fiveAndSixTileStyle][Math.min(totalTiles - 1, 4)] || {
123
145
  width: '100%',
124
146
  height: '100%'
125
147
  };
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeSafeAreaContext","_Tile","_dimension","_functions","obj","__esModule","default","_TilesContainer","_ref","peerTrackNodes","setHmsViewRefs","onPeerTileMorePress","left","right","useSafeAreaInsets","isLandscapeOrientation","useIsLandscapeOrientation","stylesConfig","computeTileWidthAndHeight","length","growableTileLayout","createElement","View","style","justifyContent","width","Dimensions","get","Fragment","map","peerTrackNode","Tile","key","id","height","aspectRatio","groupIntoPairs","pair","idx","peerTrackNodesPair","nodeIndex","isFirstPairGroup","join","flexDirection","flex","marginTop","TilesContainer","React","memo","exports","displayName","oneTileStyle","twoTileStyle","threeTileStyle","fourTileStyle","fiveAndSixTileStyle","oneTileStyleLandscape","twoTileStyleLandscape","threeTileStyleLandscape","fourTileStyleLandscape","totalTiles","Math","min"],"sourceRoot":"../../../src","sources":["components/TilesContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,2BAAA,GAAA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A,sBAAsB,GACnB,CACEyC,qBAAqB,EACrBC,qBAAqB,EACrBC,uBAAuB,EACvBC,sBAAsB,CACvB,CAACE,IAAI,CAACC,GAAG,CAACF,UAAU,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,GAC9B,CACET,YAAY,EACZC,YAAY,EACZC,cAAc,EACdC,aAAa,EACbC,mBAAmB,CACpB,CAACM,IAAI,CAACC,GAAG,CAACF,UAAU,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK;IAAEnC,KAAK,EAAE,MAAM;IAAES,MAAM,EAAE;EAAO,CAAC;AAE5E"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactRedux","_reactNativeSafeAreaContext","_Tile","_dimension","_functions","obj","__esModule","default","_TilesContainer","_ref","peerTrackNodes","setHmsViewRefs","onPeerTileMorePress","left","right","useSafeAreaInsets","isLandscapeOrientation","useIsLandscapeOrientation","screenshareTilesAvailable","useSelector","state","app","screensharePeerTrackNodes","length","stylesConfig","computeTileWidthAndHeight","type","growableTileLayout","createElement","View","style","justifyContent","flexDirection","width","Dimensions","get","Fragment","map","peerTrackNode","Tile","key","id","height","aspectRatio","groupIntoPairs","pair","idx","peerTrackNodesPair","nodeIndex","isFirstPairGroup","join","flex","marginTop","TilesContainer","React","memo","exports","displayName","oneTileStyle","twoTileStyle","threeTileStyle","fourTileStyle","fiveAndSixTileStyle","oneTileStyleLandscape","twoTileStyleLandscape","threeTileStyleLandscape","fourTileStyleLandscape","totalTiles","config","Math","min"],"sourceRoot":"../../../src","sources":["components/TilesContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,2BAAA,GAAAH,OAAA;AAGA,IAAAI,KAAA,GAAAJ,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA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AEhC,KAAK,EAAE,UAAU;EAAES,MAAM,EAAE;AAAO,CAAC;AACrE,MAAMwB,sBAAsB,GAAG;EAAEjC,KAAK,EAAE,KAAK;EAAES,MAAM,EAAE;AAAM,CAAC;AAE9D,SAASjB,yBAAyBA,CAChC0C,UAAkB,EAClBC,MAGC,EAKD;EACA,MAAM;IAAE1C,IAAI;IAAEV;EAAuB,CAAC,GAAGoD,MAAM,IAAI;IACjD1C,IAAI,EAAE,SAAS;IACfV,sBAAsB,EAAE;EAC1B,CAAC;EAED,IAAIA,sBAAsB,EAAE;IAC1B,OACE,CACE+C,qBAAqB,EACrBC,qBAAqB,EACrBC,uBAAuB,EACvBC,sBAAsB,CACvB,CAACG,IAAI,CAACC,GAAG,CAACH,UAAU,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;MAAElC,KAAK,EAAE,MAAM;MAAES,MAAM,EAAE;IAAO,CAAC;EAEvE;EAEA,IAAIhB,IAAI,KAAK,KAAK,EAAE;IAClB,OAAOoC,mBAAmB;EAC5B;EAEA,OACE,CACEJ,YAAY,EACZC,YAAY,EACZC,cAAc,EACdC,aAAa,EACbC,mBAAmB,CACpB,CAACO,IAAI,CAACC,GAAG,CAACH,UAAU,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;IAAElC,KAAK,EAAE,MAAM;IAAES,MAAM,EAAE;EAAO,CAAC;AAEvE"}
@@ -13,6 +13,8 @@ var _PIPView = _interopRequireDefault(require("./PIPView"));
13
13
  var _dimension = require("../utils/dimension");
14
14
  var _LocalPeerRegularVideoView = require("./LocalPeerRegularVideoView");
15
15
  var _WelcomeInMeeting = require("./WelcomeInMeeting");
16
+ var _OverlayContainer = require("./OverlayContainer");
17
+ var _OverlayedViews = require("./OverlayedViews");
16
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
19
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
20
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -26,26 +28,21 @@ const WebrtcView = /*#__PURE__*/_react.default.forwardRef((_ref, gridViewRef) =>
26
28
 
27
29
  // State to track active spotlight trackId
28
30
  const spotlightTrackId = (0, _reactRedux.useSelector)(state => state.user.spotlightTrackId);
29
- const pairedPeers = (0, _react.useMemo)(() => (0, _functions.pairData)(peerTrackNodes, isPortrait ? _types.MaxTilesInOnePage.IN_PORTRAIT : _types.MaxTilesInOnePage.IN_LANDSCAPE, spotlightTrackId), [peerTrackNodes, spotlightTrackId, isPortrait]);
30
- const canShowTiles = (0, _reactRedux.useSelector)(state => !!state.app.localPeerTrackNode || pairedPeers.length > 0);
31
- if (!canShowTiles) {
32
- return /*#__PURE__*/_react.default.createElement(_WelcomeInMeeting.WelcomeInMeeting, null);
33
- }
31
+ const screenshareTilesAvailable = (0, _reactRedux.useSelector)(state => state.app.screensharePeerTrackNodes.length > 0);
32
+ const pairedPeers = (0, _react.useMemo)(() => (0, _functions.pairData)(peerTrackNodes, isPortrait ? screenshareTilesAvailable ? _types.MaxTilesInOnePage.IN_PORTRAIT_WITH_SCREENSHARES : _types.MaxTilesInOnePage.IN_PORTRAIT : _types.MaxTilesInOnePage.IN_LANDSCAPE, spotlightTrackId), [peerTrackNodes, screenshareTilesAvailable, spotlightTrackId, isPortrait]);
33
+ const showWelcomeBanner = (0, _reactRedux.useSelector)(state => !state.app.localPeerTrackNode && pairedPeers.length === 0);
34
34
  if (isPipModeActive) {
35
35
  return /*#__PURE__*/_react.default.createElement(_PIPView.default, {
36
36
  pairedPeers: pairedPeers
37
37
  });
38
38
  }
39
- if (pairedPeers.length > 0) {
40
- return /*#__PURE__*/_react.default.createElement(_GridView.GridView, {
41
- ref: gridViewRef,
42
- onPeerTileMorePress: handlePeerTileMorePress,
43
- pairedPeers: pairedPeers
44
- });
45
- }
46
- return /*#__PURE__*/_react.default.createElement(_LocalPeerRegularVideoView.LocalPeerRegularVideoView, {
39
+ return /*#__PURE__*/_react.default.createElement(_OverlayContainer.OverlayContainer, null, showWelcomeBanner ? /*#__PURE__*/_react.default.createElement(_WelcomeInMeeting.WelcomeInMeeting, null) : pairedPeers.length > 0 ? /*#__PURE__*/_react.default.createElement(_GridView.GridView, {
40
+ ref: gridViewRef,
41
+ onPeerTileMorePress: handlePeerTileMorePress,
42
+ pairedPeers: pairedPeers
43
+ }) : /*#__PURE__*/_react.default.createElement(_LocalPeerRegularVideoView.LocalPeerRegularVideoView, {
47
44
  onMoreOptionsPress: handlePeerTileMorePress
48
- });
45
+ }), /*#__PURE__*/_react.default.createElement(_OverlayedViews.OverlayedViews, null));
49
46
  });
50
47
  exports.WebrtcView = WebrtcView;
51
48
  //# sourceMappingURL=WebrtcView.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactRedux","_types","_functions","_GridView","_PIPView","_interopRequireDefault","_dimension","_LocalPeerRegularVideoView","_WelcomeInMeeting","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","WebrtcView","React","forwardRef","_ref","gridViewRef","peerTrackNodes","handlePeerTileMorePress","isPortrait","useIsPortraitOrientation","isPipModeActive","useSelector","state","app","pipModeStatus","PipModes","ACTIVE","spotlightTrackId","user","pairedPeers","useMemo","pairData","MaxTilesInOnePage","IN_PORTRAIT","IN_LANDSCAPE","canShowTiles","localPeerTrackNode","length","createElement","WelcomeInMeeting","GridView","ref","onPeerTileMorePress","LocalPeerRegularVideoView","onMoreOptionsPress","exports"],"sourceRoot":"../../../src","sources":["components/WebrtcView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,UAAA,GAAAH,OAAA;AAEA,IAAAI,SAAA,GAAAJ,OAAA;AAEA,IAAAK,QAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AACA,IAAAQ,0BAAA,GAAAR,OAAA;AACA,IAAAS,iBAAA,GAAAT,OAAA;AAAsD,SAAAM,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,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,SAAAf,wBAAAW,GAAA,EAAAI,WAAA,SAAAA,WAAA,IAAAJ,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAQ,KAAA,GAAAL,wBAAA,CAAAC,WAAA,OAAAI,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT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F,CAAC,EACH,CAACX,cAAc,EAAEW,gBAAgB,EAAET,UAAU,CAC/C,CAAC;EAED,MAAMiB,YAAY,GAAG,IAAAd,uBAAW,EAC7BC,KAAgB,IACf,CAAC,CAACA,KAAK,CAACC,GAAG,CAACa,kBAAkB,IAAIP,WAAW,CAACQ,MAAM,GAAG,CAC3D,CAAC;EAED,IAAI,CAACF,YAAY,EAAE;IACjB,oBAAO1D,MAAA,CAAAc,OAAA,CAAA+C,aAAA,CAAClD,iBAAA,CAAAmD,gBAAgB,MAAE,CAAC;EAC7B;EAEA,IAAInB,eAAe,EAAE;IACnB,oBAAO3C,MAAA,CAAAc,OAAA,CAAA+C,aAAA,CAACtD,QAAA,CAAAO,OAAO;MAACsC,WAAW,EAAEA;IAAY,CAAE,CAAC;EAC9C;EAEA,IAAIA,WAAW,CAACQ,MAAM,GAAG,CAAC,EAAE;IAC1B,oBACE5D,MAAA,CAAAc,OAAA,CAAA+C,aAAA,CAACvD,SAAA,CAAAyD,QAAQ;MACPC,GAAG,EAAE1B,WAAY;MACjB2B,mBAAmB,EAAEzB,uBAAwB;MAC7CY,WAAW,EAAEA;IAAY,CAC1B,CAAC;EAEN;EAEA,oBACEpD,MAAA,CAAAc,OAAA,CAAA+C,aAAA,CAACnD,0BAAA,CAAAwD,yBAAyB;IAACC,kBAAkB,EAAE3B;EAAwB,CAAE,CAAC;AAE9E,CACF,CAAC;AAAC4B,OAAA,CAAAlC,UAAA,GAAAA,UAAA"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactRedux","_types","_functions","_GridView","_PIPView","_interopRequireDefault","_dimension","_LocalPeerRegularVideoView","_WelcomeInMeeting","_OverlayContainer","_OverlayedViews","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","WebrtcView","React","forwardRef","_ref","gridViewRef","peerTrackNodes","handlePeerTileMorePress","isPortrait","useIsPortraitOrientation","isPipModeActive","useSelector","state","app","pipModeStatus","PipModes","ACTIVE","spotlightTrackId","user","screenshareTilesAvailable","screensharePeerTrackNodes","length","pairedPeers","useMemo","pairData","MaxTilesInOnePage","IN_PORTRAIT_WITH_SCREENSHARES","IN_PORTRAIT","IN_LANDSCAPE","showWelcomeBanner","localPeerTrackNode","createElement","OverlayContainer","WelcomeInMeeting","GridView","ref","onPeerTileMorePress","LocalPeerRegularVideoView","onMoreOptionsPress","OverlayedViews","exports"],"sourceRoot":"../../../src","sources":["components/WebrtcView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,UAAA,GAAAH,OAAA;AAEA,IAAAI,SAAA,GAAAJ,OAAA;AAEA,IAAAK,QAAA,GAAAC,sBAAA,CAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AACA,IAAAQ,0BAAA,GAAAR,OAAA;AACA,IAAAS,iBAAA,GAAAT,OAAA;AACA,IAAAU,iBAAA,GAAAV,OAAA;AACA,IAAAW,eAAA,GAAAX,OAAA;AAAkD,SAAAM,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,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,SAAAjB,wBAAAa,GAAA,EAAAI,WAAA,SAAAA,WAAA,IAAAJ,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAA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,CAAA6D,cAAc,MAAE,CACD,CAAC;AAEvB,CACF,CAAC;AAACC,OAAA,CAAAvC,UAAA,GAAAA,UAAA"}
@@ -6,29 +6,18 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.WelcomeInMeeting = void 0;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
- var _hooksUtil = require("../hooks-util");
10
9
  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
10
  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
11
  const WelcomeInMeeting = () => {
13
- const hmsRoomStyles = (0, _hooksUtil.useHMSRoomStyleSheet)((theme, typography) => ({
14
- heading: {
15
- fontFamily: `${typography.font_family}-Bold`,
16
- color: theme.palette.on_surface_high
17
- },
18
- description: {
19
- fontFamily: `${typography.font_family}-Medium`,
20
- color: theme.palette.on_surface_medium
21
- }
22
- }));
23
12
  return /*#__PURE__*/React.createElement(_reactNative.View, {
24
13
  style: styles.container
25
- }, /*#__PURE__*/React.createElement(_reactNative.Text, {
26
- style: [styles.heading, hmsRoomStyles.heading]
27
- }, "Welcome!"), /*#__PURE__*/React.createElement(_reactNative.Text, {
28
- style: [styles.description, hmsRoomStyles.description]
29
- }, "You're the first one here."), /*#__PURE__*/React.createElement(_reactNative.Text, {
30
- style: [styles.description, hmsRoomStyles.description]
31
- }, "Sit back and relax till the others join."));
14
+ }, /*#__PURE__*/React.createElement(_reactNative.Image, {
15
+ source: require('../assets/welcome.png'),
16
+ style: {
17
+ width: 149,
18
+ height: 152
19
+ }
20
+ }));
32
21
  };
33
22
  exports.WelcomeInMeeting = WelcomeInMeeting;
34
23
  const styles = _reactNative.StyleSheet.create({
@@ -36,19 +25,6 @@ const styles = _reactNative.StyleSheet.create({
36
25
  flex: 1,
37
26
  alignItems: 'center',
38
27
  justifyContent: 'center'
39
- },
40
- heading: {
41
- fontSize: 28,
42
- lineHeight: 36,
43
- letterSpacing: 0.1,
44
- textAlign: 'center',
45
- paddingBottom: 32
46
- },
47
- description: {
48
- fontSize: 16,
49
- lineHeight: 24,
50
- letterSpacing: 0.15,
51
- textAlign: 'center'
52
28
  }
53
29
  });
54
30
  //# sourceMappingURL=WelcomeInMeeting.js.map
@@ -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","WelcomeInMeeting","hmsRoomStyles","useHMSRoomStyleSheet","theme","typography","heading","fontFamily","font_family","color","palette","on_surface_high","description","on_surface_medium","createElement","View","style","styles","container","Text","exports","StyleSheet","create","flex","alignItems","justifyContent","fontSize","lineHeight","letterSpacing","textAlign","paddingBottom"],"sourceRoot":"../../../src","sources":["components/WelcomeInMeeting.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,UAAA,GAAAF,OAAA;AAAqD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C,aAAa,EAAE,IAAI;IACnBC,SAAS,EAAE;EACb;AACF,CAAC,CAAC"}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","WelcomeInMeeting","createElement","View","style","styles","container","Image","source","width","height","exports","StyleSheet","create","flex","alignItems","justifyContent"],"sourceRoot":"../../../src","sources":["components/WelcomeInMeeting.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAAuD,SAAAE,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,SAAAJ,wBAAAQ,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAIhD,MAAMW,gBAAiD,GAAGA,CAAA,KAAM;EACrE,oBACE1B,KAAA,CAAA2B,aAAA,CAACxB,YAAA,CAAAyB,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC;EAAU,gBAC5B/B,KAAA,CAAA2B,aAAA,CAACxB,YAAA,CAAA6B,KAAK;IACJC,MAAM,EAAE/B,OAAO,CAAC,uBAAuB,CAAE;IACzC2B,KAAK,EAAE;MAAEK,KAAK,EAAE,GAAG;MAAEC,MAAM,EAAE;IAAI;EAAE,CACpC,CACG,CAAC;AAEX,CAAC;AAACC,OAAA,CAAAV,gBAAA,GAAAA,gBAAA;AAEF,MAAMI,MAAM,GAAGO,uBAAU,CAACC,MAAM,CAAC;EAC/BP,SAAS,EAAE;IACTQ,IAAI,EAAE,CAAC;IACPC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC"}
@@ -3,17 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _ChatWindow = require("./ChatWindow");
7
- Object.keys(_ChatWindow).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _ChatWindow[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _ChatWindow[key];
14
- }
15
- });
16
- });
17
6
  var _Preview = require("./Preview");
18
7
  Object.keys(_Preview).forEach(function (key) {
19
8
  if (key === "default" || key === "__esModule") return;
@@ -25,28 +14,6 @@ Object.keys(_Preview).forEach(function (key) {
25
14
  }
26
15
  });
27
16
  });
28
- var _Picker = require("./Picker");
29
- Object.keys(_Picker).forEach(function (key) {
30
- if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _Picker[key]) return;
32
- Object.defineProperty(exports, key, {
33
- enumerable: true,
34
- get: function () {
35
- return _Picker[key];
36
- }
37
- });
38
- });
39
- var _CustomInput = require("./CustomInput");
40
- Object.keys(_CustomInput).forEach(function (key) {
41
- if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _CustomInput[key]) return;
43
- Object.defineProperty(exports, key, {
44
- enumerable: true,
45
- get: function () {
46
- return _CustomInput[key];
47
- }
48
- });
49
- });
50
17
  var _CustomButton = require("./CustomButton");
51
18
  Object.keys(_CustomButton).forEach(function (key) {
52
19
  if (key === "default" || key === "__esModule") return;
@@ -1 +1 @@
1
- {"version":3,"names":["_ChatWindow","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_Preview","_Picker","_CustomInput","_CustomButton","_DefaultModal","_MenuModal"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,WAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,WAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,QAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,QAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,G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A,WAAAA,CAAA;MAAA,OAAAI,aAAA,CAAAR,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,aAAA,GAAAb,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAW,aAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAS,aAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAK,aAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AACA,IAAAU,UAAA,GAAAd,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAY,UAAA,EAAAX,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAU,UAAA,CAAAV,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAM,UAAA,CAAAV,GAAA;IAAA;EAAA;AAAA"}
1
+ {"version":3,"names":["_Preview","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_CustomButton","_DefaultModal","_MenuModal"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":";;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,QAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,QAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAA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er = void 0;
6
+ exports.selectVideoTileLayoutConfig = exports.selectShouldGoLive = exports.selectLayoutConfigForRole = exports.selectIsHLSViewer = exports.selectConferencingScreenConfig = exports.selectChatLayoutConfig = void 0;
7
7
  var _join_form = require("@100mslive/types-prebuilt/elements/join_form");
8
- const selectIsHLSViewer = peer => {
9
- var _peer$role;
10
- return (peer === null || peer === void 0 || (_peer$role = peer.role) === null || _peer$role === void 0 || (_peer$role = _peer$role.name) === null || _peer$role === void 0 ? void 0 : _peer$role.includes('hls')) ?? false;
8
+ const selectIsHLSViewer = (role, layoutConfig) => {
9
+ var _role$name;
10
+ if (layoutConfig) {
11
+ var _layoutConfig$screens;
12
+ return !!((_layoutConfig$screens = layoutConfig.screens) !== null && _layoutConfig$screens !== void 0 && (_layoutConfig$screens = _layoutConfig$screens.conferencing) !== null && _layoutConfig$screens !== void 0 && _layoutConfig$screens.hls_live_streaming);
13
+ }
14
+ return (role === null || role === void 0 || (_role$name = role.name) === null || _role$name === void 0 ? void 0 : _role$name.includes('hls-')) ?? false;
11
15
  };
12
16
  exports.selectIsHLSViewer = selectIsHLSViewer;
17
+ const selectLayoutConfigForRole = (layoutConfig, role) => {
18
+ if (layoutConfig === null || layoutConfig.length <= 0) {
19
+ return null;
20
+ }
21
+ if (role === null) {
22
+ return layoutConfig[0] || null;
23
+ }
24
+ const selectedLayout = layoutConfig.find(layout => layout.role === role.name);
25
+ return selectedLayout || layoutConfig[0] || null;
26
+ };
27
+ exports.selectLayoutConfigForRole = selectLayoutConfigForRole;
13
28
  const selectShouldGoLive = state => {
14
- var _state$hmsStates$room, _layoutConfig$screens, _state$hmsStates$loca;
15
- const layoutConfig = state.hmsStates.layoutConfig;
16
- const isHLSStreaming = (_state$hmsStates$room = state.hmsStates.room) === null || _state$hmsStates$room === void 0 ? void 0 : _state$hmsStates$room.hlsStreamingState.running;
17
- const joinButtonType = layoutConfig === null || layoutConfig === void 0 || (_layoutConfig$screens = layoutConfig.screens) === null || _layoutConfig$screens === void 0 || (_layoutConfig$screens = _layoutConfig$screens.preview) === null || _layoutConfig$screens === void 0 || (_layoutConfig$screens = _layoutConfig$screens.default) === null || _layoutConfig$screens === void 0 || (_layoutConfig$screens = _layoutConfig$screens.elements) === null || _layoutConfig$screens === void 0 || (_layoutConfig$screens = _layoutConfig$screens.join_form) === null || _layoutConfig$screens === void 0 ? void 0 : _layoutConfig$screens.join_btn_type;
29
+ var _state$hmsStates$loca, _state$hmsStates$room, _layoutConfig$screens2, _state$hmsStates$loca2;
30
+ const currentRole = ((_state$hmsStates$loca = state.hmsStates.localPeer) === null || _state$hmsStates$loca === void 0 ? void 0 : _state$hmsStates$loca.role) || null;
31
+ const layoutConfig = selectLayoutConfigForRole(state.hmsStates.layoutConfig, currentRole);
32
+ const isHLSStreaming = ((_state$hmsStates$room = state.hmsStates.room) === null || _state$hmsStates$room === void 0 || (_state$hmsStates$room = _state$hmsStates$room.hlsStreamingState) === null || _state$hmsStates$room === void 0 ? void 0 : _state$hmsStates$room.running) ?? false;
33
+ const joinButtonType = (layoutConfig === null || layoutConfig === void 0 || (_layoutConfig$screens2 = layoutConfig.screens) === null || _layoutConfig$screens2 === void 0 || (_layoutConfig$screens2 = _layoutConfig$screens2.preview) === null || _layoutConfig$screens2 === void 0 || (_layoutConfig$screens2 = _layoutConfig$screens2.default) === null || _layoutConfig$screens2 === void 0 || (_layoutConfig$screens2 = _layoutConfig$screens2.elements) === null || _layoutConfig$screens2 === void 0 || (_layoutConfig$screens2 = _layoutConfig$screens2.join_form) === null || _layoutConfig$screens2 === void 0 ? void 0 : _layoutConfig$screens2.join_btn_type) ?? _join_form.JoinForm_JoinBtnType.JOIN_BTN_TYPE_JOIN_ONLY;
18
34
  const canStartHLSStreaming = joinButtonType === _join_form.JoinForm_JoinBtnType.JOIN_BTN_TYPE_JOIN_AND_GO_LIVE || joinButtonType === _join_form.JoinForm_JoinBtnType.JOIN_BTN_TYPE_JOIN_ONLY ?
19
35
  // can start if `joinButtonType` is `JOIN_BTN_TYPE_JOIN_AND_GO_LIVE`
20
36
  joinButtonType === _join_form.JoinForm_JoinBtnType.JOIN_BTN_TYPE_JOIN_AND_GO_LIVE : // Check if the Role has permission to start HLS Stream
21
- (_state$hmsStates$loca = state.hmsStates.localPeer) === null || _state$hmsStates$loca === void 0 || (_state$hmsStates$loca = _state$hmsStates$loca.role) === null || _state$hmsStates$loca === void 0 || (_state$hmsStates$loca = _state$hmsStates$loca.permissions) === null || _state$hmsStates$loca === void 0 ? void 0 : _state$hmsStates$loca.hlsStreaming;
37
+ (_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 || (_state$hmsStates$loca2 = _state$hmsStates$loca2.permissions) === null || _state$hmsStates$loca2 === void 0 ? void 0 : _state$hmsStates$loca2.hlsStreaming;
22
38
  return canStartHLSStreaming && !isHLSStreaming;
23
39
  };
24
40
  exports.selectShouldGoLive = selectShouldGoLive;
41
+ const selectChatLayoutConfig = layoutConfig => {
42
+ var _layoutConfig$screens3, _screenOptions$elemen;
43
+ const conferencingConfig = layoutConfig === null || layoutConfig === void 0 || (_layoutConfig$screens3 = layoutConfig.screens) === null || _layoutConfig$screens3 === void 0 ? void 0 : _layoutConfig$screens3.conferencing;
44
+ const screenOptions = conferencingConfig ? conferencingConfig.default || conferencingConfig.hls_live_streaming : null;
45
+ return (screenOptions === null || screenOptions === void 0 || (_screenOptions$elemen = screenOptions.elements) === null || _screenOptions$elemen === void 0 ? void 0 : _screenOptions$elemen.chat) ?? null;
46
+ };
47
+ exports.selectChatLayoutConfig = selectChatLayoutConfig;
48
+ const selectVideoTileLayoutConfig = layoutConfig => {
49
+ var _layoutConfig$screens4;
50
+ return layoutConfig === null || layoutConfig === void 0 || (_layoutConfig$screens4 = layoutConfig.screens) === null || _layoutConfig$screens4 === void 0 || (_layoutConfig$screens4 = _layoutConfig$screens4.conferencing) === null || _layoutConfig$screens4 === void 0 || (_layoutConfig$screens4 = _layoutConfig$screens4.default) === null || _layoutConfig$screens4 === void 0 || (_layoutConfig$screens4 = _layoutConfig$screens4.elements) === null || _layoutConfig$screens4 === void 0 ? void 0 : _layoutConfig$screens4.video_tile_layout;
51
+ };
52
+ exports.selectVideoTileLayoutConfig = selectVideoTileLayoutConfig;
53
+ const selectConferencingScreenConfig = layoutConfig => {
54
+ var _layoutConfig$screens5;
55
+ const conferencingConfig = layoutConfig === null || layoutConfig === void 0 || (_layoutConfig$screens5 = layoutConfig.screens) === null || _layoutConfig$screens5 === void 0 ? void 0 : _layoutConfig$screens5.conferencing;
56
+ return ((conferencingConfig === null || conferencingConfig === void 0 ? void 0 : conferencingConfig.default) || (conferencingConfig === null || conferencingConfig === void 0 ? void 0 : conferencingConfig.hls_live_streaming)) ?? null;
57
+ };
58
+ exports.selectConferencingScreenConfig = selectConferencingScreenConfig;
25
59
  //# sourceMappingURL=hooks-util-selectors.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_join_form","require","selectIsHLSViewer","peer","_peer$role","role","name","includes","exports","selectShouldGoLive","state","_state$hmsStates$room","_layoutConfig$screens","_state$hmsStates$loca","layoutConfig","hmsStates","isHLSStreaming","room","hlsStreamingState","running","joinButtonType","screens","preview","default","elements","join_form","join_btn_type","canStartHLSStreaming","JoinForm_JoinBtnType","JOIN_BTN_TYPE_JOIN_AND_GO_LIVE","JOIN_BTN_TYPE_JOIN_ONLY","localPeer","permissions","hlsStreaming"],"sourceRoot":"../../src","sources":["hooks-util-selectors.tsx"],"mappings":";;;;;;AACA,IAAAA,UAAA,GAAAC,OAAA;AAIO,MAAMC,iBAAiB,GAAIC,IAAgC;EAAA,IAAAC,UAAA;EAAA,OAChE,CAAAD,IAAI,aAAJA,IAAI,gBAAAC,UAAA,GAAJD,IAAI,CAAEE,IAAI,cAAAD,UAAA,gBAAAA,UAAA,GAAVA,UAAA,CAAYE,IAAI,cAAAF,UAAA,uBAAhBA,UAAA,CAAkBG,Q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
1
+ {"version":3,"names":["_join_form","require","selectIsHLSViewer","role","layoutConfig","_role$name","_layoutConfig$screens","screens","conferencing","hls_live_streaming","name","includes","exports","selectLayoutConfigForRole","length","selectedLayout","find","layout","selectShouldGoLive","state","_state$hmsStates$loca","_state$hmsStates$room","_layoutConfig$screens2","_state$hmsStates$loca2","currentRole","hmsStates","localPeer","isHLSStreaming","room","hlsStreamingState","running","joinButtonType","preview","default","elements","join_form","join_btn_type","JoinForm_JoinBtnType","JOIN_BTN_TYPE_JOIN_ONLY","canStartHLSStreaming","JOIN_BTN_TYPE_JOIN_AND_GO_LIVE","permissions","hlsStreaming","selectChatLayoutConfig","_layoutConfig$screens3","_screenOptions$elemen","conferencingConfig","screenOptions","chat","selectVideoTileLayoutConfig","_layoutConfig$screens4","video_tile_layout","selectConferencingScreenConfig","_layoutConfig$screens5"],"sourceRoot":"../../src","sources":["hooks-util-selectors.tsx"],"mappings":";;;;;;AAMA,IAAAA,UAAA,GAAAC,OAAA;AAIO,MAAMC,iBAAiB,GAAGA,CAC/BC,IAAgC,EAChCC,YAAuC,KACpC;EAAA,IAAAC,UAAA;EACH,IAAID,YAAY,EAAE;IAAA,IAAAE,qBAAA;IAChB,OAAO,CAAC,GAAAA,qBAAA,GAACF,YAAY,CAACG,OAAO,cAAAD,qBAAA,gBAAAA,qBAAA,GAApBA,qBAAA,CAAsBE,YAAY,cAAAF,qBAAA,eAAlCA,qBAAA,CAAoCG,kBAAkB;EACjE;EACA,OAAO,CAAAN,IAAI,aAAJA,IAAI,gBAAAE,UAAA,GAAJF,IAAI,CAAEO,IAAI,cAAAL,UAAA,uBAAVA,UAAA,CAAYM,QAAQ,CAAC,MAAM,CAAC,KAAI,KAAK;AAC9C,CAAC;AAACC,OAAA,CAAAV,iBAAA,GAAAA,iBAAA;AAEK,MAAMW,yBAAyB,GAAGA,CACvCT,YAA6B,EAC7BD,IAAoB,KACF;EAClB,IAAIC,YAAY,KAAK,IAAI,IAAIA,YAAY,CAACU,MAAM,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