@azure/communication-react 1.21.0 → 1.22.0-alpha-202411160017

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 (1246) hide show
  1. package/dist/communication-react.d.ts +2124 -37
  2. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DIIiKkbd.js +275 -0
  3. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DIIiKkbd.js.map +1 -0
  4. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-DRInkkxh.js +52 -0
  5. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-DRInkkxh.js.map +1 -0
  6. package/dist/dist-cjs/communication-react/index-B_m8PFTl.js +45299 -0
  7. package/dist/dist-cjs/communication-react/index-B_m8PFTl.js.map +1 -0
  8. package/dist/dist-cjs/communication-react/index.js +175 -36324
  9. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  11. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/common.d.ts +13 -0
  13. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/constants.d.ts +5 -0
  16. package/dist/dist-esm/acs-ui-common/src/constants.js +6 -0
  17. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/dataConversion.d.ts +6 -0
  20. package/dist/dist-esm/acs-ui-common/src/dataConversion.js +21 -0
  21. package/dist/dist-esm/acs-ui-common/src/dataConversion.js.map +1 -0
  22. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  23. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  24. package/dist/dist-esm/acs-ui-common/src/index.d.ts +4 -0
  25. package/dist/dist-esm/acs-ui-common/src/index.js +6 -0
  26. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  27. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  28. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  29. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  30. package/dist/dist-esm/acs-ui-common/src/removeImageTags.d.ts +7 -0
  31. package/dist/dist-esm/acs-ui-common/src/removeImageTags.js +18 -0
  32. package/dist/dist-esm/acs-ui-common/src/removeImageTags.js.map +1 -0
  33. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  34. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  35. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  36. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  37. package/dist/dist-esm/acs-ui-javascript-loaders/src/callCompositeLoader.js +1 -4
  38. package/dist/dist-esm/acs-ui-javascript-loaders/src/callCompositeLoader.js.map +1 -1
  39. package/dist/dist-esm/acs-ui-javascript-loaders/src/callWithChatCompositeLoader.js +1 -4
  40. package/dist/dist-esm/acs-ui-javascript-loaders/src/callWithChatCompositeLoader.js.map +1 -1
  41. package/dist/dist-esm/acs-ui-javascript-loaders/src/chatCompositeLoader.js +1 -4
  42. package/dist/dist-esm/acs-ui-javascript-loaders/src/chatCompositeLoader.js.map +1 -1
  43. package/dist/dist-esm/acs-ui-javascript-loaders/src/index.js.map +1 -1
  44. package/dist/dist-esm/acs-ui-javascript-loaders/src/outboundCallCompositeLoader.js +6 -7
  45. package/dist/dist-esm/acs-ui-javascript-loaders/src/outboundCallCompositeLoader.js.map +1 -1
  46. package/dist/dist-esm/acs-ui-javascript-loaders/src/utils.js +1 -1
  47. package/dist/dist-esm/acs-ui-javascript-loaders/src/utils.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +8 -0
  49. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +14 -0
  50. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +18 -8
  52. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  53. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +7 -1
  54. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +24 -55
  56. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  58. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +35 -0
  60. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +181 -65
  61. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +2 -2
  63. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  64. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +13 -6
  65. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  66. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +39 -6
  67. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  69. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  70. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  71. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  72. package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.js +8 -2
  73. package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.js.map +1 -1
  74. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  75. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js +73 -63
  76. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js.map +1 -1
  77. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +1 -0
  78. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +48 -13
  79. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  80. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  81. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  82. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  83. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  84. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  85. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  86. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  87. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +18 -7
  88. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  89. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +2 -1
  90. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +14 -10
  91. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  92. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +6 -2
  93. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +42 -15
  94. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  95. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +26 -6
  96. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  97. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/BreakoutRoomsSubscriber.d.ts +20 -0
  99. package/dist/dist-esm/calling-stateful-client/src/BreakoutRoomsSubscriber.js +125 -0
  100. package/dist/dist-esm/calling-stateful-client/src/BreakoutRoomsSubscriber.js.map +1 -0
  101. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +66 -71
  103. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +178 -2
  105. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  106. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +29 -0
  107. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +269 -34
  108. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  110. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  111. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +99 -108
  112. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.d.ts +14 -0
  114. package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.js +207 -0
  115. package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.js.map +1 -0
  116. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  117. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  118. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +7 -0
  119. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +57 -12
  120. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  121. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  123. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +6 -0
  124. package/dist/dist-esm/calling-stateful-client/src/Converter.js +32 -20
  125. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +58 -73
  127. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  128. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  129. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  130. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  131. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +9 -0
  132. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +53 -15
  133. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  134. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.d.ts +17 -0
  135. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +36 -0
  136. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +1 -0
  137. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  138. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  139. package/dist/dist-esm/calling-stateful-client/src/MediaAccessSubscriber.d.ts +16 -0
  140. package/dist/dist-esm/calling-stateful-client/src/MediaAccessSubscriber.js +26 -0
  141. package/dist/dist-esm/calling-stateful-client/src/MediaAccessSubscriber.js.map +1 -0
  142. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  143. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  144. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -1
  145. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  146. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  147. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -1
  148. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +1 -0
  149. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +11 -0
  150. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  151. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  152. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -1
  153. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +32 -0
  154. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +78 -64
  155. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  156. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +42 -24
  157. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  158. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  159. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  160. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  161. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +17 -0
  162. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  163. package/dist/dist-esm/calling-stateful-client/src/TeamsIncomingCallDeclarative.js +14 -16
  164. package/dist/dist-esm/calling-stateful-client/src/TeamsIncomingCallDeclarative.js.map +1 -1
  165. package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.d.ts +24 -0
  166. package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.js +61 -0
  167. package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.js.map +1 -0
  168. package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.d.ts +18 -0
  169. package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.js +34 -0
  170. package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.js.map +1 -0
  171. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  172. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  173. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.d.ts +1 -0
  174. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +34 -3
  175. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  176. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  177. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  178. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +7 -0
  179. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  180. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  181. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  182. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  183. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +2 -2
  184. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  185. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  186. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  187. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +6 -2
  188. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +59 -8
  189. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  190. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  191. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +2 -1
  192. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +4 -0
  193. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  194. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  195. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  196. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +68 -18
  197. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  198. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  199. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  200. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  201. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  202. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  203. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  204. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  205. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  206. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  207. package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.d.ts +6 -0
  208. package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.js +23 -0
  209. package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.js.map +1 -0
  210. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  211. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  212. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +15 -1
  213. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  214. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +16 -22
  215. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  216. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  217. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +11 -12
  218. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  219. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  220. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +4 -16
  221. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  222. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
  223. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  224. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  225. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  226. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  227. package/dist/dist-esm/chat-stateful-client/src/index.d.ts +1 -0
  228. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  229. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  230. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  231. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  232. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  233. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  234. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  235. package/dist/dist-esm/communication-react/src/api-summary.js.map +1 -1
  236. package/dist/dist-esm/communication-react/src/index.d.ts +35 -0
  237. package/dist/dist-esm/communication-react/src/index.js +18 -0
  238. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  239. package/dist/dist-esm/communication-react/src/javascript-loaders.js.map +1 -1
  240. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  242. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  243. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  244. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  246. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  248. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  249. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  250. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  251. package/dist/dist-esm/react-components/src/components/Announcer.js +1 -1
  252. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  253. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +11 -11
  254. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
  255. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js +1 -1
  256. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js.map +1 -1
  257. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.d.ts +2 -0
  258. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +15 -6
  259. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js +21 -18
  261. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js.map +1 -1
  262. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  263. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  264. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  265. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +13 -8
  267. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  268. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +36 -19
  269. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  270. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  271. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  272. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
  273. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  274. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +13 -1
  275. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +30 -24
  276. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +11 -0
  278. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +64 -30
  279. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  281. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
  283. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
  284. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
  285. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +8 -1
  286. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +39 -9
  287. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
  288. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.d.ts +2 -1
  289. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +46 -12
  290. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
  291. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.d.ts +4 -1
  292. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +57 -27
  293. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
  294. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +22 -1
  295. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +20 -0
  296. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts +24 -0
  298. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +273 -0
  299. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +1 -0
  300. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +23 -2
  301. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +53 -7
  302. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
  303. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +8 -1
  304. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +49 -12
  305. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
  306. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +80 -15
  307. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
  308. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  309. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  310. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  311. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  312. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  313. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  314. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  315. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  316. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  317. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  318. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  319. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  320. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  321. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +5 -16
  322. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  323. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  324. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  325. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  326. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  327. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  328. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  329. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  330. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  332. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  333. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  334. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
  335. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
  336. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  337. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  338. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
  340. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +45 -51
  342. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  343. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  344. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  346. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  347. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +11 -9
  348. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  349. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  350. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  351. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  352. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  353. package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js +11 -5
  354. package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js.map +1 -1
  355. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  356. package/dist/dist-esm/react-components/src/components/EndCallButton.js +12 -13
  357. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  358. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  359. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  360. package/dist/dist-esm/react-components/src/components/ErrorBoundary.js +2 -6
  361. package/dist/dist-esm/react-components/src/components/ErrorBoundary.js.map +1 -1
  362. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  363. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  364. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  365. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  366. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  367. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  368. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  369. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  370. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +13 -14
  371. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
  372. package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js +26 -39
  373. package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js.map +1 -1
  374. package/dist/dist-esm/react-components/src/components/IncomingCallStack.js +5 -7
  375. package/dist/dist-esm/react-components/src/components/IncomingCallStack.js.map +1 -1
  376. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +3 -10
  377. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  378. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
  379. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +23 -7
  380. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  382. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  383. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +39 -22
  384. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  385. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js +15 -23
  386. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js.map +1 -1
  387. package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js +4 -12
  388. package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
  390. package/dist/dist-esm/react-components/src/components/MentionPopover.js +126 -0
  391. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
  392. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +2 -2
  393. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -1
  394. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  395. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +20 -33
  396. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -1
  397. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +81 -5
  398. package/dist/dist-esm/react-components/src/components/MessageThread.js +116 -49
  399. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +16 -17
  401. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  402. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  403. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  404. package/dist/dist-esm/react-components/src/components/Notification.js +6 -14
  405. package/dist/dist-esm/react-components/src/components/Notification.js.map +1 -1
  406. package/dist/dist-esm/react-components/src/components/NotificationStack.d.ts +20 -0
  407. package/dist/dist-esm/react-components/src/components/NotificationStack.js +17 -8
  408. package/dist/dist-esm/react-components/src/components/NotificationStack.js.map +1 -1
  409. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +15 -22
  410. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  411. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +15 -0
  412. package/dist/dist-esm/react-components/src/components/ParticipantList.js +54 -41
  413. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  414. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  415. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  416. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  417. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  419. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.d.ts +28 -0
  421. package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.js +28 -0
  422. package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.js.map +1 -0
  423. package/dist/dist-esm/react-components/src/components/RTTModal.d.ts +39 -0
  424. package/dist/dist-esm/react-components/src/components/RTTModal.js +55 -0
  425. package/dist/dist-esm/react-components/src/components/RTTModal.js.map +1 -0
  426. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
  427. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/ReactionButton.js +24 -23
  429. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/components/RealTimeText.d.ts +54 -0
  431. package/dist/dist-esm/react-components/src/components/RealTimeText.js +43 -0
  432. package/dist/dist-esm/react-components/src/components/RealTimeText.js.map +1 -0
  433. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +24 -16
  434. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  435. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  436. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  438. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  439. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.d.ts +9 -0
  440. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js +29 -0
  441. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js.map +1 -0
  442. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.d.ts +30 -0
  443. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +112 -0
  444. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +1 -0
  445. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.d.ts +12 -0
  446. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js +23 -0
  447. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js.map +1 -0
  448. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.d.ts +15 -0
  449. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js +42 -0
  450. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js.map +1 -0
  451. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.d.ts +24 -0
  452. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js +66 -0
  453. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js.map +1 -0
  454. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.d.ts +20 -0
  455. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js +45 -0
  456. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js.map +1 -0
  457. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.d.ts +14 -0
  458. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.js +56 -0
  459. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.js.map +1 -0
  460. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.d.ts +29 -0
  461. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js +86 -0
  462. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js.map +1 -0
  463. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.d.ts +58 -0
  464. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +379 -0
  465. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -0
  466. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +37 -0
  467. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +97 -0
  468. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -0
  469. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +215 -0
  470. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +274 -0
  471. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -0
  472. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.d.ts +16 -0
  473. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +77 -0
  474. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +1 -0
  475. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.d.ts +19 -0
  476. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js +232 -0
  477. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js.map +1 -0
  478. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.d.ts +7 -0
  479. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js +49 -0
  480. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js.map +1 -0
  481. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.d.ts +15 -0
  482. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js +67 -0
  483. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js.map +1 -0
  484. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.d.ts +6 -0
  485. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js +13 -0
  486. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js.map +1 -0
  487. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  488. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +47 -1
  490. package/dist/dist-esm/react-components/src/components/SendBox.js +103 -12
  491. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +56 -0
  493. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +91 -0
  494. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -0
  495. package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +14 -0
  496. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +20 -0
  497. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -0
  498. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  499. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  500. package/dist/dist-esm/react-components/src/components/StreamMedia.js +14 -3
  501. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +10 -3
  503. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -1
  505. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +23 -23
  507. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -1
  508. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -1
  509. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  510. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  511. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +24 -0
  512. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +595 -0
  513. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
  514. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
  515. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +821 -0
  516. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
  517. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  518. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  519. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  520. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  521. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +3 -1
  522. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  523. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +3 -1
  524. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  525. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
  526. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  527. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
  528. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  529. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -39
  530. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  531. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  532. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +9 -13
  534. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +8 -22
  536. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  537. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  538. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +19 -8
  540. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  541. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +15 -11
  542. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +40 -16
  544. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  546. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  548. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +99 -0
  549. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  550. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +4 -2
  552. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  553. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +6 -4
  554. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  555. package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js +17 -11
  556. package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js.map +1 -1
  557. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js +29 -24
  558. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  560. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  561. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  562. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  563. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +34 -10
  564. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  565. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  566. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  568. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  569. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  570. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  571. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  572. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  573. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  574. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  575. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  576. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  577. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  579. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  580. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +11 -6
  581. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  582. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +38 -51
  583. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  584. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  585. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/reactionUtils.js.map +1 -1
  586. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +39 -31
  587. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  588. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -1
  589. package/dist/dist-esm/react-components/src/components/VideoGallery.js +115 -26
  590. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +2 -0
  592. package/dist/dist-esm/react-components/src/components/VideoTile.js +51 -70
  593. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  594. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  595. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  596. package/dist/dist-esm/react-components/src/components/index.d.ts +23 -0
  597. package/dist/dist-esm/react-components/src/components/index.js +19 -0
  598. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  599. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
  600. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
  601. package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.d.ts +1 -1
  602. package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js.map +1 -1
  603. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  604. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  605. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  606. package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +8 -0
  607. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +27 -2
  608. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  609. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  610. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +3 -10
  611. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  612. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  613. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  614. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  615. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  616. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  617. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  618. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +2 -5
  619. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -1
  620. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  621. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  622. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  623. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +26 -0
  624. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +69 -0
  625. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
  626. package/dist/dist-esm/react-components/src/components/styles/MessageBarLink.styles.js.map +1 -1
  627. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  628. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +3 -3
  629. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +13 -10
  630. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  631. package/dist/dist-esm/react-components/src/components/styles/Notification.styles.js.map +1 -1
  632. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +6 -4
  633. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  634. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  635. package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.d.ts +6 -0
  636. package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js +17 -0
  637. package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js.map +1 -0
  638. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +1 -3
  639. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -1
  640. package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js +2 -2
  641. package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js.map +1 -1
  642. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +82 -0
  643. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +295 -0
  644. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -0
  645. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +21 -0
  646. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +34 -0
  647. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +1 -0
  648. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  649. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  650. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
  651. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +99 -0
  652. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  653. package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +5 -0
  654. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +32 -0
  655. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -0
  656. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  657. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  658. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  659. package/dist/dist-esm/react-components/src/components/styles/TeamsMeetingConferenceInfo.js.map +1 -1
  660. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  661. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  662. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  663. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  664. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +69 -0
  665. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  666. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  667. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  668. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  669. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  670. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +1 -1
  671. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  672. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  673. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +37 -1
  674. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +41 -3
  675. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
  676. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +4 -2
  677. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +29 -6
  678. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
  679. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  680. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  681. package/dist/dist-esm/react-components/src/components/utils/Logger.js.map +1 -1
  682. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.d.ts +72 -0
  683. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js +185 -0
  684. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js.map +1 -0
  685. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.d.ts +33 -0
  686. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js +127 -0
  687. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js.map +1 -0
  688. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +38 -1
  689. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +148 -5
  690. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  691. package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
  692. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  693. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  694. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  695. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
  696. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +2 -5
  697. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  698. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  699. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
  700. package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
  701. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
  702. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  703. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  704. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  705. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  706. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  707. package/dist/dist-esm/react-components/src/components/utils.js +42 -26
  708. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  709. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  710. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  711. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  712. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +4 -0
  713. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +5 -1
  714. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  715. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  716. package/dist/dist-esm/react-components/src/index.d.ts +3 -0
  717. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  718. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +63 -0
  719. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  720. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  721. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  722. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  723. package/dist/dist-esm/react-components/src/localization/locales/cy-GB/ComponentLocale.js.map +1 -1
  724. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  725. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  726. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  727. package/dist/dist-esm/react-components/src/localization/locales/es-MX/ComponentLocale.js.map +1 -1
  728. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  729. package/dist/dist-esm/react-components/src/localization/locales/fr-CA/ComponentLocale.js.map +1 -1
  730. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  731. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  732. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  733. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  734. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  735. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  736. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  737. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  738. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  739. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  740. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  741. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  742. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  743. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  744. package/dist/dist-esm/react-components/src/localization/locales/utils.js +1 -1
  745. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  746. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  747. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  748. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -5
  749. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  750. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +2 -2
  751. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  752. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  753. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  754. package/dist/dist-esm/react-components/src/theming/icons.d.ts +31 -0
  755. package/dist/dist-esm/react-components/src/theming/icons.js +146 -15
  756. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  757. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  758. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  759. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  760. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  761. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  762. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  763. package/dist/dist-esm/react-components/src/theming/themes.d.ts +6 -0
  764. package/dist/dist-esm/react-components/src/theming/themes.js +10 -0
  765. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  766. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
  767. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  768. package/dist/dist-esm/react-components/src/types/Attachment.d.ts +13 -0
  769. package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
  770. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  771. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  772. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +20 -1
  773. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  774. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  775. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  776. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  777. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  778. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +11 -0
  779. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  780. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  781. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  782. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  783. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  784. package/dist/dist-esm/react-components/src/types/TogetherModeTypes.d.ts +62 -0
  785. package/dist/dist-esm/react-components/src/types/TogetherModeTypes.js +4 -0
  786. package/dist/dist-esm/react-components/src/types/TogetherModeTypes.js.map +1 -0
  787. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +6 -1
  788. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  789. package/dist/dist-esm/react-components/src/types/index.d.ts +1 -0
  790. package/dist/dist-esm/react-components/src/types/index.js +2 -0
  791. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  792. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +72 -0
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +82 -51
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +38 -0
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +52 -5
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +266 -62
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +68 -1
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +8 -3
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +2 -2
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +2 -0
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Banner.d.ts +47 -0
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Banner.js +48 -0
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Banner.js.map +1 -0
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/BreakoutRoomsBanner.d.ts +11 -0
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/BreakoutRoomsBanner.js +41 -0
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/BreakoutRoomsBanner.js.map +1 -0
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +78 -37
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +36 -60
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +49 -0
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +213 -0
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +16 -20
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +2 -0
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +22 -4
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +2 -0
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
  837. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  839. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +4 -4
  841. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  843. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +33 -22
  845. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
  847. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +42 -24
  848. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  849. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
  850. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  851. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +68 -41
  852. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  853. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  854. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  855. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +12 -12
  856. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +10 -32
  858. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -1
  859. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  860. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  862. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js.map +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +99 -69
  865. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  866. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +4 -4
  867. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  870. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  871. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  872. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -1
  873. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +10 -7
  875. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
  877. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +45 -11
  878. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  879. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +3 -1
  880. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  882. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  883. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +1 -1
  884. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  886. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -1
  889. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +1 -1
  890. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +6 -7
  892. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useCompositeStringsForNotificationStack.d.ts +7 -0
  894. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useCompositeStringsForNotificationStack.js +21 -0
  895. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useCompositeStringsForNotificationStack.js.map +1 -0
  896. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +45 -13
  897. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  898. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  900. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  901. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +3 -0
  902. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  903. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +9 -7
  904. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  905. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +7 -0
  906. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +114 -12
  907. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  908. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +5 -13
  909. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
  910. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +15 -7
  911. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +18 -8
  913. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  914. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
  915. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  916. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +2 -2
  917. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -1
  918. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +2 -2
  919. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +21 -22
  921. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
  923. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
  924. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  925. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  926. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  929. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  930. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +18 -0
  931. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +20 -0
  932. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  933. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  934. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  935. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  936. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  937. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  938. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +1 -1
  939. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +1 -1
  940. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -1
  941. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  942. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  943. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  944. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  945. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  946. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  947. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  948. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +1 -1
  949. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +3 -1
  950. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  951. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.d.ts +1 -1
  952. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.js +10 -4
  953. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.js.map +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  955. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  956. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  957. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  958. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +10 -2
  959. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  960. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  961. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  962. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  963. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  964. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  965. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  966. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  967. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  968. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  969. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  970. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  971. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  972. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  973. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  974. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  975. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  976. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  977. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  978. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +41 -29
  979. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  980. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  981. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +1 -2
  982. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  983. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -1
  984. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  985. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  986. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -1
  987. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  988. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  989. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  990. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +2 -4
  991. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  992. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  993. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  994. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  995. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  996. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +6 -24
  997. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  998. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  1000. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  1001. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +12 -12
  1002. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  1003. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +19 -7
  1004. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  1005. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +4 -2
  1006. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  1007. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +12 -1
  1008. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +99 -22
  1009. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  1010. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  1011. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +15 -5
  1012. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -1
  1013. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +2 -2
  1014. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -1
  1015. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  1016. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +65 -0
  1017. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +114 -21
  1018. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  1019. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  1020. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  1021. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  1022. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  1023. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  1024. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  1025. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  1026. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  1027. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +8 -0
  1028. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  1029. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +27 -3
  1030. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +246 -35
  1031. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  1032. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +71 -3
  1033. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  1034. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +7 -0
  1035. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +20 -0
  1036. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  1037. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +10 -4
  1038. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +20 -2
  1039. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  1041. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  1043. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  1044. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +11 -0
  1045. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +5 -1
  1046. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  1047. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +5 -0
  1048. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +14 -0
  1049. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  1050. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.d.ts +15 -0
  1051. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js +21 -0
  1052. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +1 -0
  1053. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +27 -0
  1054. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +10 -2
  1055. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  1056. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  1057. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  1058. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +2 -0
  1059. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +298 -27
  1060. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  1061. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  1062. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  1063. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  1064. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.d.ts +49 -0
  1065. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js +48 -0
  1066. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js.map +1 -0
  1067. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.d.ts +39 -0
  1068. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js +273 -0
  1069. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js.map +1 -0
  1070. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +20 -0
  1071. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  1072. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +6 -2
  1073. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +78 -32
  1074. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  1075. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +12 -2
  1076. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  1077. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  1078. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.d.ts +80 -0
  1079. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js +41 -0
  1080. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +1 -0
  1081. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.d.ts +38 -0
  1082. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +82 -0
  1083. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -0
  1084. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +5 -0
  1085. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js +5 -0
  1086. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -0
  1087. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  1088. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  1089. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +27 -3
  1090. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  1091. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  1092. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +1 -1
  1093. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -1
  1094. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +2 -0
  1095. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  1096. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +4 -0
  1097. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +6 -0
  1098. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  1099. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  1100. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  1101. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +9 -17
  1102. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  1103. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +24 -25
  1104. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  1105. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -1
  1106. package/dist/dist-esm/react-composites/src/composites/common/AudioProvider.js.map +1 -1
  1107. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +7 -3
  1108. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  1109. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  1110. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  1111. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +9 -23
  1112. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  1113. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
  1114. package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.js +3 -5
  1115. package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.js.map +1 -1
  1116. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +12 -14
  1117. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  1118. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  1119. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  1120. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  1121. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  1122. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  1123. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  1124. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +92 -42
  1125. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  1126. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +39 -37
  1127. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  1128. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +107 -72
  1129. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  1130. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +1 -1
  1131. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -1
  1132. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  1133. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  1134. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/Timer.d.ts +12 -0
  1135. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/Timer.js +50 -0
  1136. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/Timer.js.map +1 -0
  1137. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  1138. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js +5 -7
  1139. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js.map +1 -1
  1140. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +92 -124
  1141. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  1142. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  1143. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  1144. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.js +5 -7
  1145. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.js.map +1 -1
  1146. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  1147. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +1 -1
  1148. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -1
  1149. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  1150. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  1151. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js +11 -9
  1152. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js.map +1 -1
  1153. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +23 -12
  1154. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  1155. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  1156. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  1157. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +16 -16
  1158. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  1159. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +14 -10
  1160. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  1161. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.d.ts +10 -0
  1162. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js +20 -0
  1163. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js.map +1 -0
  1164. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.d.ts +48 -2
  1165. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js +39 -0
  1166. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js.map +1 -1
  1167. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
  1168. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  1169. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -1
  1170. package/dist/dist-esm/react-composites/src/composites/common/Survey.js +19 -34
  1171. package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -1
  1172. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js +2 -2
  1173. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -1
  1174. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +11 -8
  1175. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1176. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +1 -1
  1177. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -1
  1178. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +18 -13
  1179. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1180. package/dist/dist-esm/react-composites/src/composites/common/adapters.d.ts +23 -0
  1181. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1182. package/dist/dist-esm/react-composites/src/composites/common/constants.d.ts +5 -0
  1183. package/dist/dist-esm/react-composites/src/composites/common/constants.js +6 -0
  1184. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1185. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +33 -1
  1186. package/dist/dist-esm/react-composites/src/composites/common/icons.js +7 -3
  1187. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1188. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependency.js +1 -3
  1189. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependency.js.map +1 -1
  1190. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependencyLazy.js +1 -3
  1191. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependencyLazy.js.map +1 -1
  1192. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1193. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1194. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1195. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1196. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1197. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1198. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +11 -44
  1199. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1200. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1201. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1202. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1203. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1204. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +15 -13
  1205. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -1
  1206. package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.js.map +1 -1
  1207. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1208. package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +4 -0
  1209. package/dist/dist-esm/react-composites/src/composites/common/utils.js +40 -12
  1210. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1211. package/dist/dist-esm/react-composites/src/composites/index.d.ts +1 -0
  1212. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1213. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1214. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1215. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1216. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1217. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1218. package/dist/dist-esm/react-composites/src/composites/localization/locales/cy-GB/CompositeLocale.js.map +1 -1
  1219. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1220. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1221. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -0
  1222. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1223. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-MX/CompositeLocale.js.map +1 -1
  1224. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-MX/strings.json +370 -370
  1225. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1226. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-CA/CompositeLocale.js.map +1 -1
  1227. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-CA/strings.json +373 -373
  1228. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1229. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1230. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1231. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1232. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1233. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1234. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1235. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1236. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1237. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1238. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1239. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1240. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1241. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js +1 -1
  1242. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1243. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1244. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1245. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1246. package/package.json +9 -9
@@ -10,6 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  });
11
11
  };
12
12
  import React, { useCallback, useMemo } from 'react';
13
+ /* @conditional-compile-remove(call-readiness) */
14
+ import { useState } from 'react';
13
15
  import { useAdaptedSelector } from '../hooks/useAdaptedSelector';
14
16
  import { useHandlers } from '../hooks/useHandlers';
15
17
  import { LocalDeviceSettings } from '../components/LocalDeviceSettings';
@@ -27,6 +29,10 @@ import { bannerNotificationStyles } from '../styles/CallPage.styles';
27
29
  import { usePropsFor } from '../hooks/usePropsFor';
28
30
  import { ConfigurationPageErrorBar } from '../components/ConfigurationPageErrorBar';
29
31
  import { _isSafari } from '../utils';
32
+ /* @conditional-compile-remove(call-readiness) */
33
+ import { getDevicePermissionState } from '../utils';
34
+ /* @conditional-compile-remove(call-readiness) */
35
+ import { CallReadinessModal, CallReadinessModalFallBack } from '../components/CallReadinessModal';
30
36
  import { VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM, useVideoEffectsPane } from '../components/SidePane/useVideoEffectsPane';
31
37
  import { SidePane } from '../components/SidePane/SidePane';
32
38
  import { useIsParticularSidePaneOpen } from '../components/SidePane/SidePaneProvider';
@@ -34,16 +40,28 @@ import { localVideoSelector } from '../../CallComposite/selectors/localVideoStre
34
40
  import { SvgWithWordWrapping } from '../components/SvgWithWordWrapping';
35
41
  import { getMicrophones, getRole } from '../selectors/baseSelectors';
36
42
  import { getEnvironmentInfo } from '../selectors/baseSelectors';
43
+ /* @conditional-compile-remove(call-readiness) */
44
+ import { getCameras } from '../selectors/baseSelectors';
37
45
  /**
38
46
  * @private
39
47
  */
40
48
  export const ConfigurationPage = (props) => {
41
49
  var _a;
42
- const { startCallHandler, mobileView, modalLayerHostId } = props;
50
+ const { startCallHandler, mobileView, modalLayerHostId,
51
+ /* @conditional-compile-remove(call-readiness) */ deviceChecks,
52
+ /* @conditional-compile-remove(call-readiness) */ onPermissionsTroubleshootingClick,
53
+ /* @conditional-compile-remove(call-readiness) */ onNetworkingTroubleShootingClick } = props;
43
54
  const theme = useTheme();
44
55
  const options = useAdaptedSelector(getCallingSelector(DevicesButton));
45
56
  const localDeviceSettingsHandlers = useHandlers(LocalDeviceSettings);
46
57
  const { video: cameraPermissionGranted, audio: microphonePermissionGranted } = useSelector(devicePermissionSelector);
58
+ /* @conditional-compile-remove(call-readiness) */
59
+ // use permission API to get video and audio permission state
60
+ const [videoState, setVideoState] = useState(undefined);
61
+ /* @conditional-compile-remove(call-readiness) */
62
+ const [audioState, setAudioState] = useState(undefined);
63
+ /* @conditional-compile-remove(call-readiness) */
64
+ getDevicePermissionState(setVideoState, setAudioState);
47
65
  const errorBarProps = usePropsFor(ErrorBar);
48
66
  const microphones = useSelector(getMicrophones);
49
67
  const environmentInfo = useSelector(getEnvironmentInfo);
@@ -53,22 +71,70 @@ export const ConfigurationPage = (props) => {
53
71
  let filteredLatestErrors = props.latestErrors;
54
72
  // TODO: move this logic to the error bar selector once role is plumbed from the headless SDK
55
73
  if (role !== 'Consumer') {
56
- filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari');
74
+ filteredLatestErrors = filteredLatestErrors.filter((e) => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari');
57
75
  }
58
76
  if ((useIsParticularSidePaneOpen('videoeffects') || !isCameraOn) && errorBarProps) {
59
- filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'unableToStartVideoEffect');
77
+ filteredLatestErrors = filteredLatestErrors.filter((e) => e.type !== 'unableToStartVideoEffect');
60
78
  }
61
79
  if (role === 'Consumer') {
62
80
  // If user's role permissions do not allow access to the microphone button then DO NOT disable the start call button
63
81
  // because microphone device permission is not needed for the user's role
64
82
  disableStartCallButton = false;
65
83
  }
84
+ /* @conditional-compile-remove(call-readiness) */
85
+ const cameras = useSelector(getCameras);
86
+ /* @conditional-compile-remove(call-readiness) */
87
+ // Overrides role permissions if CallCompositeOptions deviceChecks are set
88
+ if (deviceChecks) {
89
+ if (['doNotPrompt', 'optional'].includes(deviceChecks.camera) &&
90
+ ['doNotPrompt', 'optional'].includes(deviceChecks.microphone)) {
91
+ disableStartCallButton = false;
92
+ }
93
+ else if (deviceChecks.camera === 'required') {
94
+ disableStartCallButton = !cameraPermissionGranted || (cameras === null || cameras === void 0 ? void 0 : cameras.length) === 0;
95
+ }
96
+ }
66
97
  const locale = useLocale();
67
- const title = locale.strings.call.configurationPageTitle.length > 0 ? React.createElement(Stack.Item, { className: mobileView ? titleContainerStyleMobile(theme) : titleContainerStyleDesktop(theme) },
68
- React.createElement(SvgWithWordWrapping, { width: mobileView ? 325 : 445, lineHeightPx: 16 * 1.5, bufferHeightPx: 16, text: locale.strings.call.configurationPageTitle, role: "heading" })) : React.createElement(React.Fragment, null);
69
- const callDescription = locale.strings.call.configurationPageCallDetails && React.createElement(Stack.Item, { className: mobileView ? callDetailsStyleMobile(theme) : callDetailsStyleDesktop(theme) }, locale.strings.call.configurationPageCallDetails);
70
- const mobileWithPreview = mobileView && role !== 'Consumer'; // When permission API is not available, we want to show screen saying checking for access (disappears on its own)
98
+ const title = locale.strings.call.configurationPageTitle.length > 0 ? (React.createElement(Stack.Item, { className: mobileView ? titleContainerStyleMobile(theme) : titleContainerStyleDesktop(theme) },
99
+ React.createElement(SvgWithWordWrapping, { width: mobileView ? 325 : 445, lineHeightPx: 16 * 1.5, bufferHeightPx: 16, text: locale.strings.call.configurationPageTitle, role: "heading" }))) : (React.createElement(React.Fragment, null));
100
+ const callDescription = locale.strings.call.configurationPageCallDetails && (React.createElement(Stack.Item, { className: mobileView ? callDetailsStyleMobile(theme) : callDetailsStyleDesktop(theme) }, locale.strings.call.configurationPageCallDetails));
101
+ const mobileWithPreview = mobileView && role !== 'Consumer';
102
+ /* @conditional-compile-remove(call-readiness) */
103
+ const permissionsState = {
104
+ // fall back to using cameraPermissionGranted and microphonePermissionGranted if permission API is not supported
105
+ camera: videoState && videoState !== 'unsupported'
106
+ ? cameraPermissionGranted !== false
107
+ ? videoState
108
+ : 'denied'
109
+ : cameraPermissionGranted !== false
110
+ ? cameraPermissionGranted
111
+ ? 'granted'
112
+ : 'prompt'
113
+ : 'denied',
114
+ microphone: audioState && audioState !== 'unsupported'
115
+ ? microphonePermissionGranted !== false
116
+ ? audioState
117
+ : 'denied'
118
+ : microphonePermissionGranted !== false
119
+ ? microphonePermissionGranted
120
+ ? 'granted'
121
+ : 'prompt'
122
+ : 'denied'
123
+ };
124
+ /* @conditional-compile-remove(call-readiness) */
125
+ const networkErrors = errorBarProps.activeErrorMessages.filter((message) => message.type === 'callNetworkQualityLow');
126
+ /* @conditional-compile-remove(call-readiness) */
127
+ const [isPermissionsModalDismissed, setIsPermissionsModalDismissed] = useState(true);
128
+ // When permission API is not available, we want to show screen saying checking for access (disappears on its own)
71
129
  // then based on permission setting, we show permission denied or nothing
130
+ /* @conditional-compile-remove(call-readiness) */
131
+ const [minimumFallbackTimerElapsed, setMinimumFallbackTimerElapsed] = useState(false);
132
+ /* @conditional-compile-remove(call-readiness) */
133
+ setTimeout(() => {
134
+ setMinimumFallbackTimerElapsed(true);
135
+ }, 2000);
136
+ /* @conditional-compile-remove(call-readiness) */
137
+ const forceShowingCheckPermissions = !minimumFallbackTimerElapsed;
72
138
  const { toggleVideoEffectsPane, closeVideoEffectsPane, isVideoEffectsPaneOpen } = useVideoEffectsPane(props.updateSidePaneRenderer, mobileView, props.latestErrors, props.onDismissError);
73
139
  const startCall = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
74
140
  closeVideoEffectsPane();
@@ -79,9 +145,35 @@ export const ConfigurationPage = (props) => {
79
145
  }), [modalLayerHostId]);
80
146
  const filteredErrorBarProps = useMemo(() => (Object.assign(Object.assign({}, errorBarProps), { activeErrorMessages: filteredLatestErrors })), [errorBarProps, filteredLatestErrors]);
81
147
  const containerStyles = useMemo(() => { var _a; return configurationContainerStyle(!mobileView, (_a = props.backgroundImage) === null || _a === void 0 ? void 0 : _a.url); }, [mobileView, (_a = props.backgroundImage) === null || _a === void 0 ? void 0 : _a.url]);
82
- return React.createElement(Stack, { styles: containerStyles },
148
+ return (React.createElement(Stack, { styles: containerStyles },
83
149
  React.createElement(Stack, { styles: bannerNotificationStyles },
84
- React.createElement(ConfigurationPageErrorBar, { errorBarProps: filteredErrorBarProps, onDismissError: props.onDismissError })),
150
+ React.createElement(ConfigurationPageErrorBar
151
+ /* @conditional-compile-remove(call-readiness) */
152
+ // show trouble shooting error bar when encountering network error/ permission error
153
+ , {
154
+ /* @conditional-compile-remove(call-readiness) */
155
+ // show trouble shooting error bar when encountering network error/ permission error
156
+ showTroubleShootingErrorBar: !cameraPermissionGranted || !microphonePermissionGranted || networkErrors.length > 0,
157
+ /* @conditional-compile-remove(call-readiness) */
158
+ permissionsState: permissionsState,
159
+ /* @conditional-compile-remove(call-readiness) */
160
+ onNetworkingTroubleShootingClick: onNetworkingTroubleShootingClick,
161
+ /* @conditional-compile-remove(call-readiness) */
162
+ onPermissionsTroubleshootingClick: onPermissionsTroubleshootingClick, errorBarProps: filteredErrorBarProps, onDismissError: props.onDismissError })),
163
+ /* @conditional-compile-remove(call-readiness) */
164
+ // show the following screen if permission API is availible (not unsupported) and videoState, audioState is assigned values
165
+ videoState && videoState !== 'unsupported' && audioState && audioState !== 'unsupported' && (React.createElement(CallReadinessModal, { modalLayerHostId: modalLayerHostId, mobileView: mobileView,
166
+ /* @conditional-compile-remove(unsupported-browser) */
167
+ environmentInfo: environmentInfo, permissionsState: permissionsState, isPermissionsModalDismissed: isPermissionsModalDismissed, setIsPermissionsModalDismissed: setIsPermissionsModalDismissed, onPermissionsTroubleshootingClick: onPermissionsTroubleshootingClick, doNotPromptCamera: (deviceChecks === null || deviceChecks === void 0 ? void 0 : deviceChecks.camera) === 'doNotPrompt' })),
168
+ /* @conditional-compile-remove(call-readiness) */
169
+ // show the following screen if permission API is not availible (unsupported) and videoState, audioState is assigned values
170
+ videoState && audioState && (videoState === 'unsupported' || audioState === 'unsupported') && (React.createElement(CallReadinessModalFallBack
171
+ /* @conditional-compile-remove(call-readiness) */
172
+ , {
173
+ /* @conditional-compile-remove(call-readiness) */
174
+ modalLayerHostId: modalLayerHostId, mobileView: mobileView, checkPermissionModalShowing: forceShowingCheckPermissions, permissionsState: permissionsState, isPermissionsModalDismissed: isPermissionsModalDismissed,
175
+ /* @conditional-compile-remove(unsupported-browser) */
176
+ environmentInfo: environmentInfo, setIsPermissionsModalDismissed: setIsPermissionsModalDismissed, onPermissionsTroubleshootingClick: onPermissionsTroubleshootingClick })),
85
177
  React.createElement(Stack, { verticalFill: true, grow: true, horizontal: true, className: fillWidth },
86
178
  React.createElement(Stack, { className: configurationCenteredContent(mobileWithPreview, !!props.logo), verticalAlign: "center", verticalFill: mobileWithPreview, tokens: mobileWithPreview ? configurationStackTokensMobile : configurationStackTokensDesktop },
87
179
  React.createElement(Stack.Item, { styles: callDetailsContainerStyles },
@@ -91,12 +183,18 @@ export const ConfigurationPage = (props) => {
91
183
  React.createElement(Stack, { horizontal: !mobileWithPreview, horizontalAlign: mobileWithPreview ? 'stretch' : 'center', verticalFill: mobileWithPreview, tokens: deviceConfigurationStackTokens },
92
184
  localPreviewTrampoline(mobileWithPreview, !!(role === 'Consumer')),
93
185
  React.createElement(Stack, { styles: mobileView ? undefined : configurationSectionStyle },
94
- !mobileWithPreview && React.createElement(Stack, { className: mobileView ? undefined : selectionContainerStyle(theme, _isSafari(environmentInfo)) },
95
- React.createElement(LocalDeviceSettings, Object.assign({}, options, localDeviceSettingsHandlers, { cameraPermissionGranted: cameraPermissionGrantedTrampoline(cameraPermissionGranted), microphonePermissionGranted: micPermissionGrantedTrampoline(microphonePermissionGranted), onClickVideoEffects: toggleVideoEffectsPane }))),
186
+ !mobileWithPreview && (React.createElement(Stack, { className: mobileView ? undefined : selectionContainerStyle(theme, _isSafari(environmentInfo)) },
187
+ React.createElement(LocalDeviceSettings, Object.assign({}, options, localDeviceSettingsHandlers, { cameraPermissionGranted: cameraPermissionGrantedTrampoline(cameraPermissionGranted,
188
+ /* @conditional-compile-remove(call-readiness) */ videoState), microphonePermissionGranted: micPermissionGrantedTrampoline(microphonePermissionGranted,
189
+ /* @conditional-compile-remove(call-readiness) */ audioState),
190
+ /* @conditional-compile-remove(call-readiness) */
191
+ onClickEnableDevicePermission: () => {
192
+ setIsPermissionsModalDismissed(true);
193
+ }, onClickVideoEffects: toggleVideoEffectsPane })))),
96
194
  React.createElement(Stack, { styles: mobileWithPreview ? startCallButtonContainerStyleMobile : startCallButtonContainerStyleDesktop, horizontalAlign: mobileWithPreview ? 'stretch' : 'end' },
97
195
  React.createElement(StartCallButton, { className: mobileWithPreview ? startCallButtonStyleMobile : startCallButtonStyleDesktop, onClick: startCall, disabled: disableStartCallButton, hideIcon: true }))))),
98
196
  React.createElement(Panel, { isOpen: isVideoEffectsPaneOpen, hasCloseButton: false, isBlocking: false, isHiddenOnDismiss: false, styles: panelStyles, focusTrapZoneProps: panelFocusProps, layerProps: panelLayerProps, type: PanelType.custom, customWidth: `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` },
99
- React.createElement(SidePane, { ariaLabel: isVideoEffectsPaneOpen ? locale.strings.call.videoEffectsPaneAriaLabel : undefined, mobileView: props.mobileView, updateSidePaneRenderer: props.updateSidePaneRenderer, maxWidth: `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`, minWidth: `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` }))));
197
+ React.createElement(SidePane, { ariaLabel: isVideoEffectsPaneOpen ? locale.strings.call.videoEffectsPaneAriaLabel : undefined, mobileView: props.mobileView, updateSidePaneRenderer: props.updateSidePaneRenderer, maxWidth: `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`, minWidth: `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` })))));
100
198
  };
101
199
  const localPreviewTrampoline = (mobileView, doNotShow) => {
102
200
  if (doNotShow) {
@@ -105,9 +203,13 @@ const localPreviewTrampoline = (mobileView, doNotShow) => {
105
203
  return React.createElement(LocalPreview, { mobileView: mobileView, showDevicesButton: mobileView });
106
204
  };
107
205
  const cameraPermissionGrantedTrampoline = (cameraPermissionGranted, videoState) => {
206
+ /* @conditional-compile-remove(call-readiness) */
207
+ return videoState && videoState !== 'unsupported' ? videoState === 'granted' : cameraPermissionGranted;
108
208
  return cameraPermissionGranted;
109
209
  };
110
210
  const micPermissionGrantedTrampoline = (microphonePermissionGranted, audioState) => {
211
+ /* @conditional-compile-remove(call-readiness) */
212
+ return audioState && audioState !== 'unsupported' ? audioState === 'granted' : microphonePermissionGranted;
111
213
  return microphonePermissionGranted;
112
214
  };
113
215
  const Logo = (props) => {
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigurationPage.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/pages/ConfigurationPage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,+B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D,EAAE,UAAwD,EAAuB,EAAE;IACzK,OAAO,2BAA2B,CAAC;AACrC,CAAC,CAAC;AACF,MAAM,IAAI,GAAG,CAAC,KAMb,EAAe,EAAE;IAChB,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QAChB,OAAO,yCAAK,CAAC;IACf,CAAC;IACD,OAAO,oBAAC,KAAK,IAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,GAAI,CAAC;AACnG,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useCallback, useMemo } from 'react';\nimport { useAdaptedSelector } from '../hooks/useAdaptedSelector';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { LocalDeviceSettings } from '../components/LocalDeviceSettings';\nimport { StartCallButton } from '../components/StartCallButton';\nimport { devicePermissionSelector } from '../selectors/devicePermissionSelector';\nimport { useSelector } from '../hooks/useSelector';\nimport { ActiveErrorMessage, DevicesButton, ErrorBar, useTheme } from '@internal/react-components';\nimport { getCallingSelector } from '@internal/calling-component-bindings';\nimport { Image, Panel, PanelType, Stack } from '@fluentui/react';\nimport { callDetailsContainerStyles, configurationCenteredContent, configurationSectionStyle, deviceConfigurationStackTokens, fillWidth, logoStyles, panelFocusProps, panelStyles, startCallButtonStyleDesktop } from '../styles/CallConfiguration.styles';\nimport { LocalPreview } from '../components/LocalPreview';\nimport { callDetailsStyleDesktop, callDetailsStyleMobile, configurationStackTokensDesktop, configurationStackTokensMobile, configurationContainerStyle, selectionContainerStyle, startCallButtonContainerStyleDesktop, startCallButtonContainerStyleMobile, startCallButtonStyleMobile, titleContainerStyleDesktop, titleContainerStyleMobile } from '../styles/CallConfiguration.styles';\nimport { useLocale } from '../../localization';\nimport { bannerNotificationStyles } from '../styles/CallPage.styles';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { ConfigurationPageErrorBar } from '../components/ConfigurationPageErrorBar';\nimport { _isSafari } from '../utils';\nimport { VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM, useVideoEffectsPane } from '../components/SidePane/useVideoEffectsPane';\nimport { SidePane } from '../components/SidePane/SidePane';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\nimport { useIsParticularSidePaneOpen } from '../components/SidePane/SidePaneProvider';\nimport { localVideoSelector } from '../../CallComposite/selectors/localVideoStreamSelector';\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\nimport { SvgWithWordWrapping } from '../components/SvgWithWordWrapping';\nimport { getMicrophones, getRole } from '../selectors/baseSelectors';\nimport { getEnvironmentInfo } from '../selectors/baseSelectors';\n/**\n * @private\n */\nexport interface ConfigurationPageProps {\n mobileView: boolean;\n startCallHandler(): void;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n latestErrors: ActiveErrorMessage[];\n onDismissError: (error: ActiveErrorMessage) => void;\n modalLayerHostId: string;\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n logo?: {\n url: string;\n alt?: string;\n shape?: 'unset' | 'circle';\n };\n backgroundImage?: {\n url: string;\n };\n}\n\n/**\n * @private\n */\nexport const ConfigurationPage = (props: ConfigurationPageProps): JSX.Element => {\n const {\n startCallHandler,\n mobileView,\n modalLayerHostId\n } = props;\n const theme = useTheme();\n const options = useAdaptedSelector(getCallingSelector(DevicesButton));\n const localDeviceSettingsHandlers = useHandlers(LocalDeviceSettings);\n const {\n video: cameraPermissionGranted,\n audio: microphonePermissionGranted\n } = useSelector(devicePermissionSelector);\n const errorBarProps = usePropsFor(ErrorBar);\n const microphones = useSelector(getMicrophones);\n const environmentInfo = useSelector(getEnvironmentInfo);\n let disableStartCallButton = !microphonePermissionGranted || microphones?.length === 0;\n const role = useSelector(getRole);\n const isCameraOn = useSelector(localVideoSelector).isAvailable;\n let filteredLatestErrors: ActiveErrorMessage[] = props.latestErrors;\n\n // TODO: move this logic to the error bar selector once role is plumbed from the headless SDK\n if (role !== 'Consumer') {\n filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari');\n }\n if ((useIsParticularSidePaneOpen('videoeffects') || !isCameraOn) && errorBarProps) {\n filteredLatestErrors = filteredLatestErrors.filter(e => e.type !== 'unableToStartVideoEffect');\n }\n if (role === 'Consumer') {\n // If user's role permissions do not allow access to the microphone button then DO NOT disable the start call button\n // because microphone device permission is not needed for the user's role\n disableStartCallButton = false;\n }\n const locale = useLocale();\n const title = locale.strings.call.configurationPageTitle.length > 0 ? <Stack.Item className={mobileView ? titleContainerStyleMobile(theme) : titleContainerStyleDesktop(theme)}>\n <SvgWithWordWrapping width={mobileView ? 325 : 445} lineHeightPx={16 * 1.5} bufferHeightPx={16} text={locale.strings.call.configurationPageTitle} role=\"heading\" />\n </Stack.Item> : <></>;\n const callDescription = locale.strings.call.configurationPageCallDetails && <Stack.Item className={mobileView ? callDetailsStyleMobile(theme) : callDetailsStyleDesktop(theme)}>\n {locale.strings.call.configurationPageCallDetails}\n </Stack.Item>;\n const mobileWithPreview = mobileView && role !== 'Consumer'; // When permission API is not available, we want to show screen saying checking for access (disappears on its own)\n // then based on permission setting, we show permission denied or nothing\n const {\n toggleVideoEffectsPane,\n closeVideoEffectsPane,\n isVideoEffectsPaneOpen\n } = useVideoEffectsPane(props.updateSidePaneRenderer, mobileView, props.latestErrors, props.onDismissError);\n const startCall = useCallback(async () => {\n closeVideoEffectsPane();\n startCallHandler();\n }, [startCallHandler, closeVideoEffectsPane]);\n const panelLayerProps = useMemo(() => ({\n hostId: modalLayerHostId\n }), [modalLayerHostId]);\n const filteredErrorBarProps = useMemo(() => ({\n ...errorBarProps,\n activeErrorMessages: filteredLatestErrors\n }), [errorBarProps, filteredLatestErrors]);\n const containerStyles = useMemo(() => configurationContainerStyle(!mobileView, props.backgroundImage?.url), [mobileView, props.backgroundImage?.url]);\n return <Stack styles={containerStyles}>\n <Stack styles={bannerNotificationStyles}>\n <ConfigurationPageErrorBar errorBarProps={filteredErrorBarProps} onDismissError={props.onDismissError} />\n </Stack>\n {}\n\n {}\n\n <Stack verticalFill grow horizontal className={fillWidth}>\n <Stack className={configurationCenteredContent(mobileWithPreview, !!props.logo)} verticalAlign=\"center\" verticalFill={mobileWithPreview} tokens={mobileWithPreview ? configurationStackTokensMobile : configurationStackTokensDesktop}>\n <Stack.Item styles={callDetailsContainerStyles}>\n <Logo logo={props.logo} />\n {title}\n {callDescription}\n </Stack.Item>\n <Stack horizontal={!mobileWithPreview} horizontalAlign={mobileWithPreview ? 'stretch' : 'center'} verticalFill={mobileWithPreview} tokens={deviceConfigurationStackTokens}>\n {localPreviewTrampoline(mobileWithPreview, !!(role === 'Consumer'))}\n <Stack styles={mobileView ? undefined : configurationSectionStyle}>\n {!mobileWithPreview && <Stack className={mobileView ? undefined : selectionContainerStyle(theme, _isSafari(environmentInfo))}>\n <LocalDeviceSettings {...options} {...localDeviceSettingsHandlers} cameraPermissionGranted={cameraPermissionGrantedTrampoline(cameraPermissionGranted)} microphonePermissionGranted={micPermissionGrantedTrampoline(microphonePermissionGranted)} onClickVideoEffects={toggleVideoEffectsPane} />\n </Stack>}\n <Stack styles={mobileWithPreview ? startCallButtonContainerStyleMobile : startCallButtonContainerStyleDesktop} horizontalAlign={mobileWithPreview ? 'stretch' : 'end'}>\n <StartCallButton className={mobileWithPreview ? startCallButtonStyleMobile : startCallButtonStyleDesktop} onClick={startCall} disabled={disableStartCallButton} hideIcon={true} />\n </Stack>\n </Stack>\n </Stack>\n </Stack>\n <Panel isOpen={isVideoEffectsPaneOpen} hasCloseButton={false} isBlocking={false} isHiddenOnDismiss={false} styles={panelStyles} focusTrapZoneProps={panelFocusProps} layerProps={panelLayerProps} type={PanelType.custom} customWidth={`${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`}>\n <SidePane ariaLabel={isVideoEffectsPaneOpen ? locale.strings.call.videoEffectsPaneAriaLabel : undefined} mobileView={props.mobileView} updateSidePaneRenderer={props.updateSidePaneRenderer} maxWidth={`${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`} minWidth={`${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`} />\n </Panel>\n </Stack>\n </Stack>;\n};\nconst localPreviewTrampoline = (mobileView: boolean, doNotShow?: boolean): JSX.Element | undefined => {\n if (doNotShow) {\n return undefined;\n }\n return <LocalPreview mobileView={mobileView} showDevicesButton={mobileView} />;\n};\nconst cameraPermissionGrantedTrampoline = (cameraPermissionGranted: boolean | undefined, videoState?: PermissionState | 'unsupported' | undefined): boolean | undefined => {\n return cameraPermissionGranted;\n};\nconst micPermissionGrantedTrampoline = (microphonePermissionGranted: boolean | undefined, audioState?: PermissionState | 'unsupported' | undefined): boolean | undefined => {\n return microphonePermissionGranted;\n};\nconst Logo = (props: {\n logo?: {\n url: string;\n alt?: string;\n shape?: 'unset' | 'circle';\n };\n}): JSX.Element => {\n if (!props.logo) {\n return <></>;\n }\n return <Image styles={logoStyles(props.logo.shape)} src={props.logo.url} alt={props.logo.alt} />;\n};"]}
1
+ {"version":3,"file":"ConfigurationPage.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/pages/ConfigurationPage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,iDAAiD;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,e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;IAEvG,OAAO,uBAAuB,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,8BAA8B,GAAG,CACrC,2BAAgD,EAChD,UAAwD,EACnC,EAAE;IACvB,iDAAiD;IACjD,OAAO,UAAU,IAAI,UAAU,KAAK,aAAa,CAAC,CAAC,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,2BAA2B,CAAC;IAE3G,OAAO,2BAA2B,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,IAAI,GAAG,CAAC,KAA2E,EAAe,EAAE;IACxG,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QAChB,OAAO,yCAAK,CAAC;IACf,CAAC;IACD,OAAO,oBAAC,KAAK,IAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,GAAI,CAAC;AACnG,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useCallback, useMemo } from 'react';\n/* @conditional-compile-remove(call-readiness) */\nimport { useState } from 'react';\nimport { useAdaptedSelector } from '../hooks/useAdaptedSelector';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { LocalDeviceSettings } from '../components/LocalDeviceSettings';\nimport { StartCallButton } from '../components/StartCallButton';\nimport { devicePermissionSelector } from '../selectors/devicePermissionSelector';\nimport { useSelector } from '../hooks/useSelector';\nimport { ActiveErrorMessage, DevicesButton, ErrorBar, useTheme } from '@internal/react-components';\nimport { getCallingSelector } from '@internal/calling-component-bindings';\nimport { Image, Panel, PanelType, Stack } from '@fluentui/react';\nimport {\n callDetailsContainerStyles,\n configurationCenteredContent,\n configurationSectionStyle,\n deviceConfigurationStackTokens,\n fillWidth,\n logoStyles,\n panelFocusProps,\n panelStyles,\n startCallButtonStyleDesktop\n} from '../styles/CallConfiguration.styles';\nimport { LocalPreview } from '../components/LocalPreview';\nimport {\n callDetailsStyleDesktop,\n callDetailsStyleMobile,\n configurationStackTokensDesktop,\n configurationStackTokensMobile,\n configurationContainerStyle,\n selectionContainerStyle,\n startCallButtonContainerStyleDesktop,\n startCallButtonContainerStyleMobile,\n startCallButtonStyleMobile,\n titleContainerStyleDesktop,\n titleContainerStyleMobile\n} from '../styles/CallConfiguration.styles';\nimport { useLocale } from '../../localization';\nimport { bannerNotificationStyles } from '../styles/CallPage.styles';\nimport { usePropsFor } from '../hooks/usePropsFor';\n/* @conditional-compile-remove(call-readiness) */\nimport { DeviceCheckOptions } from '../CallComposite';\nimport { ConfigurationPageErrorBar } from '../components/ConfigurationPageErrorBar';\nimport { _isSafari } from '../utils';\n/* @conditional-compile-remove(call-readiness) */\nimport { getDevicePermissionState } from '../utils';\n/* @conditional-compile-remove(call-readiness) */\nimport { CallReadinessModal, CallReadinessModalFallBack } from '../components/CallReadinessModal';\n\nimport { VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM, useVideoEffectsPane } from '../components/SidePane/useVideoEffectsPane';\nimport { SidePane } from '../components/SidePane/SidePane';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\n\nimport { useIsParticularSidePaneOpen } from '../components/SidePane/SidePaneProvider';\n\nimport { localVideoSelector } from '../../CallComposite/selectors/localVideoStreamSelector';\n\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\nimport { SvgWithWordWrapping } from '../components/SvgWithWordWrapping';\nimport { getMicrophones, getRole } from '../selectors/baseSelectors';\nimport { getEnvironmentInfo } from '../selectors/baseSelectors';\n/* @conditional-compile-remove(call-readiness) */\nimport { getCameras } from '../selectors/baseSelectors';\n\n/**\n * @private\n */\nexport interface ConfigurationPageProps {\n mobileView: boolean;\n startCallHandler(): void;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n latestErrors: ActiveErrorMessage[];\n onDismissError: (error: ActiveErrorMessage) => void;\n modalLayerHostId: string;\n /* @conditional-compile-remove(call-readiness) */\n deviceChecks?: DeviceCheckOptions;\n /* @conditional-compile-remove(call-readiness) */\n onPermissionsTroubleshootingClick?: (permissionsState: {\n camera: PermissionState;\n microphone: PermissionState;\n }) => void;\n /* @conditional-compile-remove(call-readiness) */\n onNetworkingTroubleShootingClick?: () => void;\n\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n logo?: {\n url: string;\n alt?: string;\n shape?: 'unset' | 'circle';\n };\n backgroundImage?: {\n url: string;\n };\n}\n\n/**\n * @private\n */\nexport const ConfigurationPage = (props: ConfigurationPageProps): JSX.Element => {\n const {\n startCallHandler,\n mobileView,\n modalLayerHostId,\n /* @conditional-compile-remove(call-readiness) */ deviceChecks,\n /* @conditional-compile-remove(call-readiness) */ onPermissionsTroubleshootingClick,\n /* @conditional-compile-remove(call-readiness) */ onNetworkingTroubleShootingClick\n } = props;\n\n const theme = useTheme();\n\n const options = useAdaptedSelector(getCallingSelector(DevicesButton));\n const localDeviceSettingsHandlers = useHandlers(LocalDeviceSettings);\n const { video: cameraPermissionGranted, audio: microphonePermissionGranted } = useSelector(devicePermissionSelector);\n /* @conditional-compile-remove(call-readiness) */\n // use permission API to get video and audio permission state\n const [videoState, setVideoState] = useState<PermissionState | 'unsupported' | undefined>(undefined);\n /* @conditional-compile-remove(call-readiness) */\n const [audioState, setAudioState] = useState<PermissionState | 'unsupported' | undefined>(undefined);\n /* @conditional-compile-remove(call-readiness) */\n getDevicePermissionState(setVideoState, setAudioState);\n\n const errorBarProps = usePropsFor(ErrorBar);\n const microphones = useSelector(getMicrophones);\n const environmentInfo = useSelector(getEnvironmentInfo);\n\n let disableStartCallButton = !microphonePermissionGranted || microphones?.length === 0;\n const role = useSelector(getRole);\n\n const isCameraOn = useSelector(localVideoSelector).isAvailable;\n\n let filteredLatestErrors: ActiveErrorMessage[] = props.latestErrors;\n\n // TODO: move this logic to the error bar selector once role is plumbed from the headless SDK\n if (role !== 'Consumer') {\n filteredLatestErrors = filteredLatestErrors.filter(\n (e) => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari'\n );\n }\n\n if ((useIsParticularSidePaneOpen('videoeffects') || !isCameraOn) && errorBarProps) {\n filteredLatestErrors = filteredLatestErrors.filter((e) => e.type !== 'unableToStartVideoEffect');\n }\n\n if (role === 'Consumer') {\n // If user's role permissions do not allow access to the microphone button then DO NOT disable the start call button\n // because microphone device permission is not needed for the user's role\n disableStartCallButton = false;\n }\n\n /* @conditional-compile-remove(call-readiness) */\n const cameras = useSelector(getCameras);\n\n /* @conditional-compile-remove(call-readiness) */\n // Overrides role permissions if CallCompositeOptions deviceChecks are set\n if (deviceChecks) {\n if (\n ['doNotPrompt', 'optional'].includes(deviceChecks.camera) &&\n ['doNotPrompt', 'optional'].includes(deviceChecks.microphone)\n ) {\n disableStartCallButton = false;\n } else if (deviceChecks.camera === 'required') {\n disableStartCallButton = !cameraPermissionGranted || cameras?.length === 0;\n }\n }\n\n const locale = useLocale();\n const title =\n locale.strings.call.configurationPageTitle.length > 0 ? (\n <Stack.Item className={mobileView ? titleContainerStyleMobile(theme) : titleContainerStyleDesktop(theme)}>\n <SvgWithWordWrapping\n width={mobileView ? 325 : 445}\n lineHeightPx={16 * 1.5}\n bufferHeightPx={16}\n text={locale.strings.call.configurationPageTitle}\n role=\"heading\"\n />\n </Stack.Item>\n ) : (\n <></>\n );\n\n const callDescription = locale.strings.call.configurationPageCallDetails && (\n <Stack.Item className={mobileView ? callDetailsStyleMobile(theme) : callDetailsStyleDesktop(theme)}>\n {locale.strings.call.configurationPageCallDetails}\n </Stack.Item>\n );\n\n const mobileWithPreview = mobileView && role !== 'Consumer';\n\n /* @conditional-compile-remove(call-readiness) */\n const permissionsState: {\n camera: PermissionState;\n microphone: PermissionState;\n } = {\n // fall back to using cameraPermissionGranted and microphonePermissionGranted if permission API is not supported\n camera:\n videoState && videoState !== 'unsupported'\n ? cameraPermissionGranted !== false\n ? videoState\n : 'denied'\n : cameraPermissionGranted !== false\n ? cameraPermissionGranted\n ? 'granted'\n : 'prompt'\n : 'denied',\n microphone:\n audioState && audioState !== 'unsupported'\n ? microphonePermissionGranted !== false\n ? audioState\n : 'denied'\n : microphonePermissionGranted !== false\n ? microphonePermissionGranted\n ? 'granted'\n : 'prompt'\n : 'denied'\n };\n /* @conditional-compile-remove(call-readiness) */\n const networkErrors = errorBarProps.activeErrorMessages.filter((message) => message.type === 'callNetworkQualityLow');\n\n /* @conditional-compile-remove(call-readiness) */\n const [isPermissionsModalDismissed, setIsPermissionsModalDismissed] = useState(true);\n\n // When permission API is not available, we want to show screen saying checking for access (disappears on its own)\n // then based on permission setting, we show permission denied or nothing\n /* @conditional-compile-remove(call-readiness) */\n const [minimumFallbackTimerElapsed, setMinimumFallbackTimerElapsed] = useState(false);\n /* @conditional-compile-remove(call-readiness) */\n setTimeout(() => {\n setMinimumFallbackTimerElapsed(true);\n }, 2000);\n /* @conditional-compile-remove(call-readiness) */\n const forceShowingCheckPermissions = !minimumFallbackTimerElapsed;\n\n const { toggleVideoEffectsPane, closeVideoEffectsPane, isVideoEffectsPaneOpen } = useVideoEffectsPane(\n props.updateSidePaneRenderer,\n mobileView,\n props.latestErrors,\n props.onDismissError\n );\n\n const startCall = useCallback(async () => {\n closeVideoEffectsPane();\n startCallHandler();\n }, [startCallHandler, closeVideoEffectsPane]);\n\n const panelLayerProps = useMemo(\n () => ({\n hostId: modalLayerHostId\n }),\n [modalLayerHostId]\n );\n\n const filteredErrorBarProps = useMemo(\n () => ({\n ...errorBarProps,\n activeErrorMessages: filteredLatestErrors\n }),\n [errorBarProps, filteredLatestErrors]\n );\n\n const containerStyles = useMemo(\n () => configurationContainerStyle(!mobileView, props.backgroundImage?.url),\n [mobileView, props.backgroundImage?.url]\n );\n\n return (\n <Stack styles={containerStyles}>\n <Stack styles={bannerNotificationStyles}>\n <ConfigurationPageErrorBar\n /* @conditional-compile-remove(call-readiness) */\n // show trouble shooting error bar when encountering network error/ permission error\n showTroubleShootingErrorBar={\n !cameraPermissionGranted || !microphonePermissionGranted || networkErrors.length > 0\n }\n /* @conditional-compile-remove(call-readiness) */\n permissionsState={permissionsState}\n /* @conditional-compile-remove(call-readiness) */\n onNetworkingTroubleShootingClick={onNetworkingTroubleShootingClick}\n /* @conditional-compile-remove(call-readiness) */\n onPermissionsTroubleshootingClick={onPermissionsTroubleshootingClick}\n errorBarProps={filteredErrorBarProps}\n onDismissError={props.onDismissError}\n />\n </Stack>\n {\n /* @conditional-compile-remove(call-readiness) */\n // show the following screen if permission API is availible (not unsupported) and videoState, audioState is assigned values\n videoState && videoState !== 'unsupported' && audioState && audioState !== 'unsupported' && (\n <CallReadinessModal\n modalLayerHostId={modalLayerHostId}\n mobileView={mobileView}\n /* @conditional-compile-remove(unsupported-browser) */\n environmentInfo={environmentInfo}\n permissionsState={permissionsState}\n isPermissionsModalDismissed={isPermissionsModalDismissed}\n setIsPermissionsModalDismissed={setIsPermissionsModalDismissed}\n onPermissionsTroubleshootingClick={onPermissionsTroubleshootingClick}\n doNotPromptCamera={deviceChecks?.camera === 'doNotPrompt'}\n />\n )\n }\n\n {\n /* @conditional-compile-remove(call-readiness) */\n // show the following screen if permission API is not availible (unsupported) and videoState, audioState is assigned values\n videoState && audioState && (videoState === 'unsupported' || audioState === 'unsupported') && (\n <CallReadinessModalFallBack\n /* @conditional-compile-remove(call-readiness) */\n modalLayerHostId={modalLayerHostId}\n mobileView={mobileView}\n checkPermissionModalShowing={forceShowingCheckPermissions}\n permissionsState={permissionsState}\n isPermissionsModalDismissed={isPermissionsModalDismissed}\n /* @conditional-compile-remove(unsupported-browser) */\n environmentInfo={environmentInfo}\n setIsPermissionsModalDismissed={setIsPermissionsModalDismissed}\n onPermissionsTroubleshootingClick={onPermissionsTroubleshootingClick}\n />\n )\n }\n\n <Stack verticalFill grow horizontal className={fillWidth}>\n <Stack\n className={configurationCenteredContent(mobileWithPreview, !!props.logo)}\n verticalAlign=\"center\"\n verticalFill={mobileWithPreview}\n tokens={mobileWithPreview ? configurationStackTokensMobile : configurationStackTokensDesktop}\n >\n <Stack.Item styles={callDetailsContainerStyles}>\n <Logo logo={props.logo} />\n {title}\n {callDescription}\n </Stack.Item>\n <Stack\n horizontal={!mobileWithPreview}\n horizontalAlign={mobileWithPreview ? 'stretch' : 'center'}\n verticalFill={mobileWithPreview}\n tokens={deviceConfigurationStackTokens}\n >\n {localPreviewTrampoline(mobileWithPreview, !!(role === 'Consumer'))}\n <Stack styles={mobileView ? undefined : configurationSectionStyle}>\n {!mobileWithPreview && (\n <Stack className={mobileView ? undefined : selectionContainerStyle(theme, _isSafari(environmentInfo))}>\n <LocalDeviceSettings\n {...options}\n {...localDeviceSettingsHandlers}\n cameraPermissionGranted={cameraPermissionGrantedTrampoline(\n cameraPermissionGranted,\n /* @conditional-compile-remove(call-readiness) */ videoState\n )}\n microphonePermissionGranted={micPermissionGrantedTrampoline(\n microphonePermissionGranted,\n /* @conditional-compile-remove(call-readiness) */ audioState\n )}\n /* @conditional-compile-remove(call-readiness) */\n onClickEnableDevicePermission={() => {\n setIsPermissionsModalDismissed(true);\n }}\n onClickVideoEffects={toggleVideoEffectsPane}\n />\n </Stack>\n )}\n <Stack\n styles={mobileWithPreview ? startCallButtonContainerStyleMobile : startCallButtonContainerStyleDesktop}\n horizontalAlign={mobileWithPreview ? 'stretch' : 'end'}\n >\n <StartCallButton\n className={mobileWithPreview ? startCallButtonStyleMobile : startCallButtonStyleDesktop}\n onClick={startCall}\n disabled={disableStartCallButton}\n hideIcon={true}\n />\n </Stack>\n </Stack>\n </Stack>\n </Stack>\n <Panel\n isOpen={isVideoEffectsPaneOpen}\n hasCloseButton={false}\n isBlocking={false}\n isHiddenOnDismiss={false}\n styles={panelStyles}\n focusTrapZoneProps={panelFocusProps}\n layerProps={panelLayerProps}\n type={PanelType.custom}\n customWidth={`${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`}\n >\n <SidePane\n ariaLabel={isVideoEffectsPaneOpen ? locale.strings.call.videoEffectsPaneAriaLabel : undefined}\n mobileView={props.mobileView}\n updateSidePaneRenderer={props.updateSidePaneRenderer}\n maxWidth={`${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`}\n minWidth={`${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem`}\n />\n </Panel>\n </Stack>\n </Stack>\n );\n};\n\nconst localPreviewTrampoline = (mobileView: boolean, doNotShow?: boolean): JSX.Element | undefined => {\n if (doNotShow) {\n return undefined;\n }\n return <LocalPreview mobileView={mobileView} showDevicesButton={mobileView} />;\n};\n\nconst cameraPermissionGrantedTrampoline = (\n cameraPermissionGranted: boolean | undefined,\n videoState?: PermissionState | 'unsupported' | undefined\n): boolean | undefined => {\n /* @conditional-compile-remove(call-readiness) */\n return videoState && videoState !== 'unsupported' ? videoState === 'granted' : cameraPermissionGranted;\n\n return cameraPermissionGranted;\n};\n\nconst micPermissionGrantedTrampoline = (\n microphonePermissionGranted: boolean | undefined,\n audioState?: PermissionState | 'unsupported' | undefined\n): boolean | undefined => {\n /* @conditional-compile-remove(call-readiness) */\n return audioState && audioState !== 'unsupported' ? audioState === 'granted' : microphonePermissionGranted;\n\n return microphonePermissionGranted;\n};\n\nconst Logo = (props: { logo?: { url: string; alt?: string; shape?: 'unset' | 'circle' } }): JSX.Element => {\n if (!props.logo) {\n return <></>;\n }\n return <Image styles={logoStyles(props.logo.shape)} src={props.logo.url} alt={props.logo.alt} />;\n};\n"]}
@@ -30,25 +30,17 @@ const DtmfDialpadPageContent = (props) => {
30
30
  calleeName = calleeId.phoneNumber;
31
31
  }
32
32
  else {
33
- calleeName = remoteParticipantValues.find(p => p.identifier === calleeId);
33
+ calleeName = remoteParticipantValues.find((p) => p.identifier === calleeId);
34
34
  }
35
35
  }
36
36
  const adapter = useAdapter();
37
- return React.createElement(Stack, { style: {
38
- height: '100%',
39
- width: '100%',
40
- background: theme.palette.white
41
- } },
42
- React.createElement(Stack, { verticalAlign: 'center', style: {
43
- margin: 'auto'
44
- } },
37
+ return (React.createElement(Stack, { style: { height: '100%', width: '100%', background: theme.palette.white } },
38
+ React.createElement(Stack, { verticalAlign: 'center', style: { margin: 'auto' } },
45
39
  React.createElement(DtmfDialerContentTimer, null),
46
- React.createElement(Text, { style: {
47
- margin: 'auto'
48
- } }, calleeName && calleeName !== 'Unnamed participant' ? calleeName === null || calleeName === void 0 ? void 0 : calleeName.toString() : ''),
40
+ React.createElement(Text, { style: { margin: 'auto' } }, calleeName && calleeName !== 'Unnamed participant' ? calleeName === null || calleeName === void 0 ? void 0 : calleeName.toString() : ''),
49
41
  React.createElement(Dialpad, { onSendDtmfTone: (tone) => __awaiter(void 0, void 0, void 0, function* () {
50
42
  yield adapter.sendDtmfTone(tone);
51
- }), longPressTrigger: props.mobileView ? 'touch' : 'mouseAndTouch', dialpadMode: 'dtmf', dtmfAudioContext: props.compositeAudioContext })));
43
+ }), longPressTrigger: props.mobileView ? 'touch' : 'mouseAndTouch', dialpadMode: 'dtmf', dtmfAudioContext: props.compositeAudioContext }))));
52
44
  };
53
45
  const DtmfDialerContentTimer = () => {
54
46
  const [time, setTime] = useState(0);
@@ -1 +1 @@
1
- {"version":3,"file":"DtmfDialpadPage.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,EAAsB,OAAO,EAAY,4CAAmC;AAKnF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EAAE,uBAAuB,EAAE,M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ACP,OAAO,GAAG,EAAE;YACV,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC1B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAChB,OAAO,oBAAC,IAAI,IAAC,MAAM,EAAE,6BAA6B,IAAG,WAAW,CAAQ,CAAC;AAC3E,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAuB,EAAe,EAAE;IACtE,OAAO,oBAAC,sBAAsB,oBAAK,KAAK,IAAE,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,CAAC;AAC7E,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ActiveErrorMessage, Dialpad, DtmfTone } from '@internal/react-components';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { CallCompositeOptions } from '../CallComposite';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { Stack, Text, useTheme } from '@fluentui/react';\nimport { getReadableTime } from '../utils/timerUtils';\nimport { DtmfDialpadContentTimerStyles } from '../styles/DtmfDialpadPage.styles';\nimport { RemoteParticipantState } from '@internal/calling-stateful-client';\nimport { isPhoneNumberIdentifier } from '@azure/communication-common';\nimport { useSelector } from '../hooks/useSelector';\nimport { getRemoteParticipants, getStartTime, getTargetCallees } from '../selectors/baseSelectors';\nimport { useAdapter } from '../adapter/CallAdapterProvider';\n\n/**\n * @internal\n */\nexport interface DialpadPageProps {\n mobileView: boolean;\n options?: CallCompositeOptions;\n modalLayerHostId: string;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileChatTabHeader?: MobileChatSidePaneTabHeaderProps;\n latestErrors: ActiveErrorMessage[];\n onDismissError: (error: ActiveErrorMessage) => void;\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n onSetDialpadPage: () => void;\n dtmfDialerPresent: boolean;\n compositeAudioContext?: AudioContext;\n}\ninterface DialpadPageContentProps {\n mobileView: boolean;\n compositeAudioContext?: AudioContext;\n}\nconst DtmfDialpadPageContent = (props: DialpadPageContentProps): JSX.Element => {\n const theme = useTheme();\n const targetCallees = useSelector(getTargetCallees);\n const remoteParticipants = useSelector(getRemoteParticipants);\n const calleeId = targetCallees?.[0];\n let calleeName;\n if (remoteParticipants) {\n const remoteParticipantValues: RemoteParticipantState[] = Object.values(remoteParticipants);\n if (calleeId && isPhoneNumberIdentifier(calleeId)) {\n calleeName = calleeId.phoneNumber;\n } else {\n calleeName = remoteParticipantValues.find(p => p.identifier === calleeId);\n }\n }\n const adapter = useAdapter();\n return <Stack style={{\n height: '100%',\n width: '100%',\n background: theme.palette.white\n }}>\n <Stack verticalAlign={'center'} style={{\n margin: 'auto'\n }}>\n <DtmfDialerContentTimer />\n <Text style={{\n margin: 'auto'\n }}>\n {calleeName && calleeName !== 'Unnamed participant' ? calleeName?.toString() : ''}\n </Text>\n <Dialpad onSendDtmfTone={async (tone: DtmfTone) => {\n await adapter.sendDtmfTone(tone);\n }} longPressTrigger={props.mobileView ? 'touch' : 'mouseAndTouch'} dialpadMode={'dtmf'} dtmfAudioContext={props.compositeAudioContext}></Dialpad>\n </Stack>\n </Stack>;\n};\nconst DtmfDialerContentTimer = (): JSX.Element => {\n const [time, setTime] = useState<number>(0);\n const elapsedTime = getReadableTime(time);\n const statefulStartTime = useSelector(getStartTime);\n const startTime = useMemo(() => {\n return statefulStartTime ?? new Date(Date.now());\n }, [statefulStartTime]);\n useEffect(() => {\n const interval = setInterval(() => {\n setTime(new Date(Date.now()).getTime() - startTime?.getTime() ?? 0);\n }, 10);\n return () => {\n clearInterval(interval);\n };\n }, [startTime]);\n return <Text styles={DtmfDialpadContentTimerStyles}>{elapsedTime}</Text>;\n};\n\n/**\n * @internal\n */\nexport const DtmfDialpadPage = (props: DialpadPageProps): JSX.Element => {\n return <DtmfDialpadPageContent {...props} mobileView={props.mobileView} />;\n};"]}
1
+ {"version":3,"file":"DtmfDialpadPage.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,EAAsB,OAAO,EAAY,4CAAmC;AAKnF,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAyB5D,MAAM,sBAAsB,GAAG,CAAC,KAA8B,EAAe,EAAE;IAC7E,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,aAAa,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACpD,MAAM,kBAAkB,GAAG,WAAW,CAAC,qBAAqB,CAAC,CAAC;IAE9D,MAAM,QAAQ,GAAG,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAG,CAAC,CAAC,CAAC;IACpC,IAAI,UAAU,CAAC;IAEf,IAAI,kBAAkB,EAAE,CAAC;QACvB,MAAM,uBAAuB,GAA6B,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;QAC5F,IAAI,QAAQ,IAAI,uBAAuB,C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AG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,MAAM,iBAAiB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IACpD,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,EAAE;QAC7B,OAAO,iBAAiB,aAAjB,iBAAiB,cAAjB,iBAAiB,GAAI,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACnD,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAExB,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;;YAChC,OAAO,CAAC,MAAA,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,EAAE,IAAG,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,OAAO,EAAE,CAAA,mCAAI,CAAC,CAAC,CAAC;QACtE,CAAC,EAAE,EAAE,CAAC,CAAC;QACP,OAAO,GAAG,EAAE;YACV,aAAa,CAAC,QAAQ,CAAC,CAAC;QAC1B,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;IAEhB,OAAO,oBAAC,IAAI,IAAC,MAAM,EAAE,6BAA6B,IAAG,WAAW,CAAQ,CAAC;AAC3E,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAuB,EAAe,EAAE;IACtE,OAAO,oBAAC,sBAAsB,oBAAK,KAAK,IAAE,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,CAAC;AAC7E,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ActiveErrorMessage, Dialpad, DtmfTone } from '@internal/react-components';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { CallCompositeOptions } from '../CallComposite';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { Stack, Text, useTheme } from '@fluentui/react';\nimport { getReadableTime } from '../utils/timerUtils';\nimport { DtmfDialpadContentTimerStyles } from '../styles/DtmfDialpadPage.styles';\nimport { RemoteParticipantState } from '@internal/calling-stateful-client';\nimport { isPhoneNumberIdentifier } from '@azure/communication-common';\nimport { useSelector } from '../hooks/useSelector';\nimport { getRemoteParticipants, getStartTime, getTargetCallees } from '../selectors/baseSelectors';\nimport { useAdapter } from '../adapter/CallAdapterProvider';\n\n/**\n * @internal\n */\nexport interface DialpadPageProps {\n mobileView: boolean;\n options?: CallCompositeOptions;\n modalLayerHostId: string;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileChatTabHeader?: MobileChatSidePaneTabHeaderProps;\n latestErrors: ActiveErrorMessage[];\n onDismissError: (error: ActiveErrorMessage) => void;\n\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n onSetDialpadPage: () => void;\n dtmfDialerPresent: boolean;\n compositeAudioContext?: AudioContext;\n}\n\ninterface DialpadPageContentProps {\n mobileView: boolean;\n compositeAudioContext?: AudioContext;\n}\n\nconst DtmfDialpadPageContent = (props: DialpadPageContentProps): JSX.Element => {\n const theme = useTheme();\n const targetCallees = useSelector(getTargetCallees);\n const remoteParticipants = useSelector(getRemoteParticipants);\n\n const calleeId = targetCallees?.[0];\n let calleeName;\n\n if (remoteParticipants) {\n const remoteParticipantValues: RemoteParticipantState[] = Object.values(remoteParticipants);\n if (calleeId && isPhoneNumberIdentifier(calleeId)) {\n calleeName = calleeId.phoneNumber;\n } else {\n calleeName = remoteParticipantValues.find((p) => p.identifier === calleeId);\n }\n }\n\n const adapter = useAdapter();\n return (\n <Stack style={{ height: '100%', width: '100%', background: theme.palette.white }}>\n <Stack verticalAlign={'center'} style={{ margin: 'auto' }}>\n <DtmfDialerContentTimer />\n <Text style={{ margin: 'auto' }}>\n {calleeName && calleeName !== 'Unnamed participant' ? calleeName?.toString() : ''}\n </Text>\n <Dialpad\n onSendDtmfTone={async (tone: DtmfTone) => {\n await adapter.sendDtmfTone(tone);\n }}\n longPressTrigger={props.mobileView ? 'touch' : 'mouseAndTouch'}\n dialpadMode={'dtmf'}\n dtmfAudioContext={props.compositeAudioContext}\n ></Dialpad>\n </Stack>\n </Stack>\n );\n};\n\nconst DtmfDialerContentTimer = (): JSX.Element => {\n const [time, setTime] = useState<number>(0);\n const elapsedTime = getReadableTime(time);\n const statefulStartTime = useSelector(getStartTime);\n const startTime = useMemo(() => {\n return statefulStartTime ?? new Date(Date.now());\n }, [statefulStartTime]);\n\n useEffect(() => {\n const interval = setInterval(() => {\n setTime(new Date(Date.now()).getTime() - startTime?.getTime() ?? 0);\n }, 10);\n return () => {\n clearInterval(interval);\n };\n }, [startTime]);\n\n return <Text styles={DtmfDialpadContentTimerStyles}>{elapsedTime}</Text>;\n};\n\n/**\n * @internal\n */\nexport const DtmfDialpadPage = (props: DialpadPageProps): JSX.Element => {\n return <DtmfDialpadPageContent {...props} mobileView={props.mobileView} />;\n};\n"]}
@@ -11,16 +11,24 @@ import { disableCallControls, reduceCallControlsForMobile } from '../utils';
11
11
  * @beta
12
12
  */
13
13
  export const HoldPage = (props) => {
14
- var _a, _b, _c, _d, _e;
14
+ var _a, _b, _c, _d, _e, _f, _g;
15
15
  const errorBarProps = usePropsFor(ErrorBar);
16
16
  const strings = useLocale().strings.call;
17
- let callControlOptions = props.mobileView ? reduceCallControlsForMobile((_a = props.options) === null || _a === void 0 ? void 0 : _a.callControls) : (_b = props.options) === null || _b === void 0 ? void 0 : _b.callControls;
18
- callControlOptions = disableCallControls(callControlOptions, ['cameraButton', 'microphoneButton', 'devicesButton', 'screenShareButton', 'holdButton']);
19
- return React.createElement(CallArrangement, { complianceBannerProps: {
20
- strings
21
- }, errorBarProps: ((_c = props.options) === null || _c === void 0 ? void 0 : _c.errorBar) !== false && errorBarProps, showErrorNotifications: (_e = (_d = props.options) === null || _d === void 0 ? void 0 : _d.errorBar) !== null && _e !== void 0 ? _e : true, callControlProps: {
17
+ let callControlOptions = props.mobileView
18
+ ? reduceCallControlsForMobile((_a = props.options) === null || _a === void 0 ? void 0 : _a.callControls)
19
+ : (_b = props.options) === null || _b === void 0 ? void 0 : _b.callControls;
20
+ callControlOptions = disableCallControls(callControlOptions, [
21
+ 'cameraButton',
22
+ 'microphoneButton',
23
+ 'devicesButton',
24
+ 'screenShareButton',
25
+ 'holdButton'
26
+ ]);
27
+ return (React.createElement(CallArrangement, { complianceBannerProps: { strings }, errorBarProps: ((_c = props.options) === null || _c === void 0 ? void 0 : _c.errorBar) !== false && errorBarProps, showErrorNotifications: (_e = (_d = props.options) === null || _d === void 0 ? void 0 : _d.errorBar) !== null && _e !== void 0 ? _e : true, callControlProps: {
22
28
  options: callControlOptions,
23
29
  increaseFlyoutItemSize: props.mobileView
24
- }, mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => React.createElement(HoldPane, null), dataUiId: 'hold-page', updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, latestErrors: props.latestErrors, latestNotifications: props.latestNotifications, onDismissError: props.onDismissError, onDismissNotification: props.onDismissNotification });
30
+ }, mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => React.createElement(HoldPane, null), dataUiId: 'hold-page', updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, latestErrors: props.latestErrors, latestNotifications: props.latestNotifications, onDismissError: props.onDismissError, onDismissNotification: props.onDismissNotification,
31
+ /* @conditional-compile-remove(call-readiness) */
32
+ doNotShowCameraAccessNotifications: ((_g = (_f = props.options) === null || _f === void 0 ? void 0 : _f.deviceChecks) === null || _g === void 0 ? void 0 : _g.camera) === 'doNotPrompt' }));
25
33
  };
26
34
  //# sourceMappingURL=HoldPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HoldPage.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/pages/HoldPage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAsB,QAAQ,EAAE,4CAAmC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAsB5E;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAoB,EAAe,EAAE;;IAC5D,MAAM,aAAa,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC5C,MAAM,OAAO,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IACzC,IAAI,kBAAkB,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,2BAA2B,CAAC,MAAA,KAAK,CAAC,OAAO,0CAAE,YAAY,CAAC,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,0CAAE,YAAY,CAAC;IACnI,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,EAAE,CAAC,cAAc,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,EAAE,YAAY,CAAC,CAAC,CAAC;IACvJ,OAAO,oBAAC,eAAe,IAAC,qBAAqB,EAAE;YAC7C,OAAO;SACR,EAAE,aAAa,EAAE,CAAA,MAAA,KAAK,CAAC,OAAO,0CAAE,QAAQ,MAAK,KAAK,IAAI,aAAa,EAAE,sBAAsB,EAAE,MAAA,MAAA,KAAK,CAAC,OAAO,0CAAE,QAAQ,mCAAI,IAAI,EAAE,gBAAgB,EAAE;YAC/I,OAAO,EAAE,kBAAkB;YAC3B,sBAAsB,EAAE,KAAK,CAAC,UAAU;SACzC,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,EAAE,sBAAsB,EAAE,GAAG,EAAE,CAAC,oBAAC,QAAQ,OAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,sBAAsB,EAAE,KAAK,CAAC,sBAAsB,EAAE,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,EAAE,YAAY,EAAE,KAAK,CAAC,YAAY,EAAE,mBAAmB,EAAE,KAAK,CAAC,mBAAmB,EAAE,cAAc,EAAE,KAAK,CAAC,cAAc,EAAE,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,GAAI,CAAC;AACra,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ActiveErrorMessage, ErrorBar } from '@internal/react-components';\nimport React from 'react';\nimport { CallCompositeOptions } from '../../../index-public';\nimport { useLocale } from '../../localization';\nimport { CallArrangement } from '../components/CallArrangement';\nimport { HoldPane } from '../components/HoldPane';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { disableCallControls, reduceCallControlsForMobile } from '../utils';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\nimport { ActiveNotification } from '@internal/react-components';\n\n/**\n * @beta\n */\nexport interface HoldPageProps {\n mobileView: boolean;\n options?: CallCompositeOptions;\n modalLayerHostId: string;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileChatTabHeader?: MobileChatSidePaneTabHeaderProps;\n latestErrors: ActiveErrorMessage[] | ActiveNotification[];\n onDismissError: (error: ActiveErrorMessage | ActiveNotification) => void;\n onDismissNotification?: (notification: ActiveNotification) => void;\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n latestNotifications: ActiveNotification[];\n}\n\n/**\n * @beta\n */\nexport const HoldPage = (props: HoldPageProps): JSX.Element => {\n const errorBarProps = usePropsFor(ErrorBar);\n const strings = useLocale().strings.call;\n let callControlOptions = props.mobileView ? reduceCallControlsForMobile(props.options?.callControls) : props.options?.callControls;\n callControlOptions = disableCallControls(callControlOptions, ['cameraButton', 'microphoneButton', 'devicesButton', 'screenShareButton', 'holdButton']);\n return <CallArrangement complianceBannerProps={{\n strings\n }} errorBarProps={props.options?.errorBar !== false && errorBarProps} showErrorNotifications={props.options?.errorBar ?? true} callControlProps={{\n options: callControlOptions,\n increaseFlyoutItemSize: props.mobileView\n }} mobileView={props.mobileView} modalLayerHostId={props.modalLayerHostId} onRenderGalleryContent={() => <HoldPane />} dataUiId={'hold-page'} updateSidePaneRenderer={props.updateSidePaneRenderer} mobileChatTabHeader={props.mobileChatTabHeader} latestErrors={props.latestErrors} latestNotifications={props.latestNotifications} onDismissError={props.onDismissError} onDismissNotification={props.onDismissNotification} />;\n};"]}
1
+ {"version":3,"file":"HoldPage.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/pages/HoldPage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAsB,QAAQ,EAAE,4CAAmC;AAC1E,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAuB5E;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAoB,EAA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,CAAC,OAAO,0CAAE,YAAY,0CAAE,MAAM,MAAK,aAAa,GACzF,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ActiveErrorMessage, ErrorBar } from '@internal/react-components';\nimport React from 'react';\nimport { CallCompositeOptions } from '../../../index-public';\nimport { useLocale } from '../../localization';\nimport { CallArrangement } from '../components/CallArrangement';\nimport { HoldPane } from '../components/HoldPane';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { disableCallControls, reduceCallControlsForMobile } from '../utils';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\n\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\nimport { ActiveNotification } from '@internal/react-components';\n\n/**\n * @beta\n */\nexport interface HoldPageProps {\n mobileView: boolean;\n options?: CallCompositeOptions;\n modalLayerHostId: string;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileChatTabHeader?: MobileChatSidePaneTabHeaderProps;\n latestErrors: ActiveErrorMessage[] | ActiveNotification[];\n onDismissError: (error: ActiveErrorMessage | ActiveNotification) => void;\n onDismissNotification?: (notification: ActiveNotification) => void;\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n latestNotifications: ActiveNotification[];\n}\n\n/**\n * @beta\n */\nexport const HoldPage = (props: HoldPageProps): JSX.Element => {\n const errorBarProps = usePropsFor(ErrorBar);\n const strings = useLocale().strings.call;\n\n let callControlOptions = props.mobileView\n ? reduceCallControlsForMobile(props.options?.callControls)\n : props.options?.callControls;\n\n callControlOptions = disableCallControls(callControlOptions, [\n 'cameraButton',\n 'microphoneButton',\n 'devicesButton',\n 'screenShareButton',\n 'holdButton'\n ]);\n\n return (\n <CallArrangement\n complianceBannerProps={{ strings }}\n errorBarProps={props.options?.errorBar !== false && errorBarProps}\n showErrorNotifications={props.options?.errorBar ?? true}\n callControlProps={{\n options: callControlOptions,\n increaseFlyoutItemSize: props.mobileView\n }}\n mobileView={props.mobileView}\n modalLayerHostId={props.modalLayerHostId}\n onRenderGalleryContent={() => <HoldPane />}\n dataUiId={'hold-page'}\n updateSidePaneRenderer={props.updateSidePaneRenderer}\n mobileChatTabHeader={props.mobileChatTabHeader}\n latestErrors={props.latestErrors}\n latestNotifications={props.latestNotifications}\n onDismissError={props.onDismissError}\n onDismissNotification={props.onDismissNotification}\n /* @conditional-compile-remove(call-readiness) */\n doNotShowCameraAccessNotifications={props.options?.deviceChecks?.camera === 'doNotPrompt'}\n />\n );\n};\n"]}
@@ -16,7 +16,7 @@ import { isPhoneNumberIdentifier } from '@azure/communication-common';
16
16
  * @private
17
17
  */
18
18
  export const LobbyPage = (props) => {
19
- var _a, _b, _c, _d, _e, _f;
19
+ var _a, _b, _c, _d, _e, _f, _g, _h;
20
20
  const errorBarProps = usePropsFor(ErrorBar);
21
21
  const lobbyProps = useSelector(lobbySelector);
22
22
  const strings = useLocale().strings.call;
@@ -24,14 +24,16 @@ export const LobbyPage = (props) => {
24
24
  const inLobby = callState === 'InLobby';
25
25
  const participants = (_a = useSelector(getRemoteParticipants)) !== null && _a !== void 0 ? _a : {};
26
26
  // Reduce the controls shown when mobile view is enabled.
27
- let callControlOptions = props.mobileView ? reduceCallControlsForMobile((_b = props.options) === null || _b === void 0 ? void 0 : _b.callControls) : (_c = props.options) === null || _c === void 0 ? void 0 : _c.callControls;
27
+ let callControlOptions = props.mobileView
28
+ ? reduceCallControlsForMobile((_b = props.options) === null || _b === void 0 ? void 0 : _b.callControls)
29
+ : (_c = props.options) === null || _c === void 0 ? void 0 : _c.callControls;
28
30
  callControlOptions = disableCallControls(callControlOptions, ['screenShareButton', 'participantsButton']);
29
- return React.createElement(CallArrangement, { complianceBannerProps: {
30
- strings
31
- }, errorBarProps: ((_d = props.options) === null || _d === void 0 ? void 0 : _d.errorBar) !== false && errorBarProps, showErrorNotifications: (_f = (_e = props.options) === null || _e === void 0 ? void 0 : _e.errorBar) !== null && _f !== void 0 ? _f : true, callControlProps: {
31
+ return (React.createElement(CallArrangement, { complianceBannerProps: { strings }, errorBarProps: ((_d = props.options) === null || _d === void 0 ? void 0 : _d.errorBar) !== false && errorBarProps, showErrorNotifications: (_f = (_e = props.options) === null || _e === void 0 ? void 0 : _e.errorBar) !== null && _f !== void 0 ? _f : true, callControlProps: {
32
32
  options: callControlOptions,
33
33
  increaseFlyoutItemSize: props.mobileView
34
- }, mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => React.createElement(LobbyTile, Object.assign({}, lobbyProps, { showLocalVideoCameraCycleButton: props.mobileView, overlayProps: overlayProps(strings, inLobby, Object.values(participants)) })), dataUiId: 'lobby-page', updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, latestErrors: props.latestErrors, onDismissError: props.onDismissError, latestNotifications: props.latestNotifications, onDismissNotification: props.onDismissNotification });
34
+ }, mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => (React.createElement(LobbyTile, Object.assign({}, lobbyProps, { showLocalVideoCameraCycleButton: props.mobileView, overlayProps: overlayProps(strings, inLobby, Object.values(participants)) }))), dataUiId: 'lobby-page', updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, latestErrors: props.latestErrors, onDismissError: props.onDismissError, latestNotifications: props.latestNotifications, onDismissNotification: props.onDismissNotification,
35
+ /* @conditional-compile-remove(call-readiness) */
36
+ doNotShowCameraAccessNotifications: ((_h = (_g = props.options) === null || _g === void 0 ? void 0 : _g.deviceChecks) === null || _h === void 0 ? void 0 : _h.camera) === 'doNotPrompt' }));
35
37
  };
36
38
  const overlayProps = (strings, inLobby, remoteParticipants) => {
37
39
  /**
@@ -43,8 +45,16 @@ const overlayProps = (strings, inLobby, remoteParticipants) => {
43
45
  * the user joins. In this situation we also check the participant states. in a groupCall the state of the participants
44
46
  * will be 'Idle'.
45
47
  */
46
- const outboundCallParticipant = remoteParticipants[0] && ['Ringing', 'Connecting'].includes(remoteParticipants[0].state) && remoteParticipants.length === 1 ? remoteParticipants[0] : undefined;
47
- return inLobby ? overlayPropsWaitingToBeAdmitted(strings) : outboundCallParticipant ? overlayPropsOutboundCall(strings, outboundCallParticipant) : overlayPropsConnectingToCall(strings);
48
+ const outboundCallParticipant = remoteParticipants[0] &&
49
+ ['Ringing', 'Connecting'].includes(remoteParticipants[0].state) &&
50
+ remoteParticipants.length === 1
51
+ ? remoteParticipants[0]
52
+ : undefined;
53
+ return inLobby
54
+ ? overlayPropsWaitingToBeAdmitted(strings)
55
+ : outboundCallParticipant
56
+ ? overlayPropsOutboundCall(strings, outboundCallParticipant)
57
+ : overlayPropsConnectingToCall(strings);
48
58
  };
49
59
  const overlayPropsConnectingToCall = (strings) => ({
50
60
  title: strings.lobbyScreenConnectingToCallTitle,
@@ -1 +1 @@
1
- {"version":3,"file":"LobbyPage.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/CallComposite/pages/LobbyPage.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsB,QAAQ,EAAE,4CAAmC;AAE1E,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAqB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAE5E,OAAO,EAAE,S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,EAAE,OAAO,CAAC,sCAAsC;IAC3D,WAAW,EAAE,oBAAC,iBAAiB,IAAC,QAAQ,EAAC,6BAA6B,GAAG;CAC1E,CAAC,CAAC;AACH,MAAM,+BAA+B,GAAG,CAAC,OAA6B,EAAqB,EAAE,CAAC,CAAC;IAC7F,KAAK,EAAE,OAAO,CAAC,mCAAmC;IAClD,WAAW,EAAE,OAAO,CAAC,yCAAyC;IAC9D,WAAW,EAAE,oBAAC,iBAAiB,IAAC,QAAQ,EAAC,gCAAgC,GAAG;CAC7E,CAAC,CAAC;AACH,MAAM,wBAAwB,GAAG,CAAC,OAA6B,EAAE,WAAmC,EAAqB,EAAE;;IACzH,IAAI,uBAAuB,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,CAAC;QACpD,OAAO;YACL,KAAK,EAAG,WAAW,CAAC,UAAoC,CAAC,WAAW;YACpE,WAAW,EAAE,OAAO,CAAC,2BAA2B;SACjD,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,KAAK,EAAE,MAAA,OAAO,CAAC,2BAA2B,mCAAI,EAAE;SACjD,CAAC;IACJ,CAAC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { ActiveErrorMessage, ErrorBar } from '@internal/react-components';\nimport { ActiveNotification } from '@internal/react-components';\nimport { useSelector } from '../hooks/useSelector';\nimport { lobbySelector } from '../selectors/lobbySelector';\nimport { CallCompositeOptions } from '../CallComposite';\nimport { CallArrangement } from '../components/CallArrangement';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { LobbyOverlayProps, LobbyTile } from '../components/LobbyTile';\nimport { getCallStatus, getRemoteParticipants } from '../selectors/baseSelectors';\nimport { disableCallControls, reduceCallControlsForMobile } from '../utils';\nimport { CallCompositeStrings } from '../Strings';\nimport { useLocale } from '../../localization';\nimport { CallCompositeIcon } from '../../common/icons';\nimport { isPhoneNumberIdentifier, PhoneNumberIdentifier } from '@azure/communication-common';\nimport { RemoteParticipantState } from '@internal/calling-stateful-client';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\n\n/**\n * @private\n */\nexport interface LobbyPageProps {\n mobileView: boolean;\n modalLayerHostId: string;\n options?: CallCompositeOptions;\n mobileChatTabHeader: MobileChatSidePaneTabHeaderProps | undefined;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n latestErrors: ActiveErrorMessage[] | ActiveNotification[];\n latestNotifications: ActiveNotification[];\n onDismissError: (error: ActiveErrorMessage | ActiveNotification) => void;\n onDismissNotification: (notification: ActiveNotification) => void;\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n}\n\n/**\n * @private\n */\nexport const LobbyPage = (props: LobbyPageProps): JSX.Element => {\n const errorBarProps = usePropsFor(ErrorBar);\n const lobbyProps = useSelector(lobbySelector);\n const strings = useLocale().strings.call;\n const callState = useSelector(getCallStatus);\n const inLobby = callState === 'InLobby';\n const participants = useSelector(getRemoteParticipants) ?? {};\n\n // Reduce the controls shown when mobile view is enabled.\n let callControlOptions = props.mobileView ? reduceCallControlsForMobile(props.options?.callControls) : props.options?.callControls;\n callControlOptions = disableCallControls(callControlOptions, ['screenShareButton', 'participantsButton']);\n return <CallArrangement complianceBannerProps={{\n strings\n }} errorBarProps={props.options?.errorBar !== false && errorBarProps} showErrorNotifications={props.options?.errorBar ?? true} callControlProps={{\n options: callControlOptions,\n increaseFlyoutItemSize: props.mobileView\n }} mobileView={props.mobileView} modalLayerHostId={props.modalLayerHostId} onRenderGalleryContent={() => <LobbyTile {...lobbyProps} showLocalVideoCameraCycleButton={props.mobileView} overlayProps={overlayProps(strings, inLobby, Object.values(participants))} />} dataUiId={'lobby-page'} updateSidePaneRenderer={props.updateSidePaneRenderer} mobileChatTabHeader={props.mobileChatTabHeader} latestErrors={props.latestErrors} onDismissError={props.onDismissError} latestNotifications={props.latestNotifications} onDismissNotification={props.onDismissNotification} />;\n};\nconst overlayProps = (strings: CallCompositeStrings, inLobby: boolean, remoteParticipants: RemoteParticipantState[]): LobbyOverlayProps => {\n /**\n * Only grab the first participant because there will only be one in this situation.\n * when starting a call with multiple people the call goes to the connected state and composite goes directly to\n * videoGallery.\n *\n * We also need to check the participant state since in a group call the remote participants array will populate just before\n * the user joins. In this situation we also check the participant states. in a groupCall the state of the participants\n * will be 'Idle'.\n */\n const outboundCallParticipant: RemoteParticipantState | undefined = remoteParticipants[0] && ['Ringing', 'Connecting'].includes(remoteParticipants[0].state) && remoteParticipants.length === 1 ? remoteParticipants[0] : undefined;\n return inLobby ? overlayPropsWaitingToBeAdmitted(strings) : outboundCallParticipant ? overlayPropsOutboundCall(strings, outboundCallParticipant) : overlayPropsConnectingToCall(strings);\n};\nconst overlayPropsConnectingToCall = (strings: CallCompositeStrings): LobbyOverlayProps => ({\n title: strings.lobbyScreenConnectingToCallTitle,\n moreDetails: strings.lobbyScreenConnectingToCallMoreDetails,\n overlayIcon: <CallCompositeIcon iconName=\"LobbyScreenConnectingToCall\" />\n});\nconst overlayPropsWaitingToBeAdmitted = (strings: CallCompositeStrings): LobbyOverlayProps => ({\n title: strings.lobbyScreenWaitingToBeAdmittedTitle,\n moreDetails: strings.lobbyScreenWaitingToBeAdmittedMoreDetails,\n overlayIcon: <CallCompositeIcon iconName=\"LobbyScreenWaitingToBeAdmitted\" />\n});\nconst overlayPropsOutboundCall = (strings: CallCompositeStrings, participant: RemoteParticipantState): LobbyOverlayProps => {\n if (isPhoneNumberIdentifier(participant.identifier)) {\n return {\n title: (participant.identifier as PhoneNumberIdentifier).phoneNumber,\n moreDetails: strings.outboundCallingNoticeString\n };\n } else {\n return {\n title: strings.outboundCallingNoticeString ?? ''\n };\n }\n};"]}
1
+ {"version":3,"file":"LobbyPage.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/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;YACpE,WAAW,EAAE,OAAO,CAAC,2BAA2B;SACjD,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,KAAK,EAAE,MAAA,OAAO,CAAC,2BAA2B,mCAAI,EAAE;SACjD,CAAC;IACJ,CAAC;AACH,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { ActiveErrorMessage, ErrorBar } from '@internal/react-components';\nimport { ActiveNotification } from '@internal/react-components';\nimport { useSelector } from '../hooks/useSelector';\nimport { lobbySelector } from '../selectors/lobbySelector';\nimport { CallCompositeOptions } from '../CallComposite';\nimport { CallArrangement } from '../components/CallArrangement';\nimport { usePropsFor } from '../hooks/usePropsFor';\nimport { LobbyOverlayProps, LobbyTile } from '../components/LobbyTile';\nimport { getCallStatus, getRemoteParticipants } from '../selectors/baseSelectors';\nimport { disableCallControls, reduceCallControlsForMobile } from '../utils';\nimport { CallCompositeStrings } from '../Strings';\nimport { useLocale } from '../../localization';\nimport { CallCompositeIcon } from '../../common/icons';\nimport { isPhoneNumberIdentifier, PhoneNumberIdentifier } from '@azure/communication-common';\nimport { RemoteParticipantState } from '@internal/calling-stateful-client';\nimport { MobileChatSidePaneTabHeaderProps } from '../../common/TabHeader';\nimport { SidePaneRenderer } from '../components/SidePane/SidePaneProvider';\n\nimport { CapabilitiesChangeNotificationBarProps } from '../components/CapabilitiesChangedNotificationBar';\n\n/**\n * @private\n */\nexport interface LobbyPageProps {\n mobileView: boolean;\n modalLayerHostId: string;\n options?: CallCompositeOptions;\n mobileChatTabHeader: MobileChatSidePaneTabHeaderProps | undefined;\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n latestErrors: ActiveErrorMessage[] | ActiveNotification[];\n\n latestNotifications: ActiveNotification[];\n onDismissError: (error: ActiveErrorMessage | ActiveNotification) => void;\n\n onDismissNotification: (notification: ActiveNotification) => void;\n capabilitiesChangedNotificationBarProps?: CapabilitiesChangeNotificationBarProps;\n}\n\n/**\n * @private\n */\nexport const LobbyPage = (props: LobbyPageProps): JSX.Element => {\n const errorBarProps = usePropsFor(ErrorBar);\n const lobbyProps = useSelector(lobbySelector);\n const strings = useLocale().strings.call;\n\n const callState = useSelector(getCallStatus);\n const inLobby = callState === 'InLobby';\n\n const participants = useSelector(getRemoteParticipants) ?? {};\n\n // Reduce the controls shown when mobile view is enabled.\n let callControlOptions = props.mobileView\n ? reduceCallControlsForMobile(props.options?.callControls)\n : props.options?.callControls;\n\n callControlOptions = disableCallControls(callControlOptions, ['screenShareButton', 'participantsButton']);\n\n return (\n <CallArrangement\n complianceBannerProps={{ strings }}\n errorBarProps={props.options?.errorBar !== false && errorBarProps}\n showErrorNotifications={props.options?.errorBar ?? true}\n callControlProps={{\n options: callControlOptions,\n increaseFlyoutItemSize: props.mobileView\n }}\n mobileView={props.mobileView}\n modalLayerHostId={props.modalLayerHostId}\n onRenderGalleryContent={() => (\n <LobbyTile\n {...lobbyProps}\n showLocalVideoCameraCycleButton={props.mobileView}\n overlayProps={overlayProps(strings, inLobby, Object.values(participants))}\n />\n )}\n dataUiId={'lobby-page'}\n updateSidePaneRenderer={props.updateSidePaneRenderer}\n mobileChatTabHeader={props.mobileChatTabHeader}\n latestErrors={props.latestErrors}\n onDismissError={props.onDismissError}\n latestNotifications={props.latestNotifications}\n onDismissNotification={props.onDismissNotification}\n /* @conditional-compile-remove(call-readiness) */\n doNotShowCameraAccessNotifications={props.options?.deviceChecks?.camera === 'doNotPrompt'}\n />\n );\n};\n\nconst overlayProps = (\n strings: CallCompositeStrings,\n inLobby: boolean,\n remoteParticipants: RemoteParticipantState[]\n): LobbyOverlayProps => {\n /**\n * Only grab the first participant because there will only be one in this situation.\n * when starting a call with multiple people the call goes to the connected state and composite goes directly to\n * videoGallery.\n *\n * We also need to check the participant state since in a group call the remote participants array will populate just before\n * the user joins. In this situation we also check the participant states. in a groupCall the state of the participants\n * will be 'Idle'.\n */\n const outboundCallParticipant: RemoteParticipantState | undefined =\n remoteParticipants[0] &&\n ['Ringing', 'Connecting'].includes(remoteParticipants[0].state) &&\n remoteParticipants.length === 1\n ? remoteParticipants[0]\n : undefined;\n\n return inLobby\n ? overlayPropsWaitingToBeAdmitted(strings)\n : outboundCallParticipant\n ? overlayPropsOutboundCall(strings, outboundCallParticipant)\n : overlayPropsConnectingToCall(strings);\n};\n\nconst overlayPropsConnectingToCall = (strings: CallCompositeStrings): LobbyOverlayProps => ({\n title: strings.lobbyScreenConnectingToCallTitle,\n moreDetails: strings.lobbyScreenConnectingToCallMoreDetails,\n overlayIcon: <CallCompositeIcon iconName=\"LobbyScreenConnectingToCall\" />\n});\n\nconst overlayPropsWaitingToBeAdmitted = (strings: CallCompositeStrings): LobbyOverlayProps => ({\n title: strings.lobbyScreenWaitingToBeAdmittedTitle,\n moreDetails: strings.lobbyScreenWaitingToBeAdmittedMoreDetails,\n overlayIcon: <CallCompositeIcon iconName=\"LobbyScreenWaitingToBeAdmitted\" />\n});\n\nconst overlayPropsOutboundCall = (\n strings: CallCompositeStrings,\n participant: RemoteParticipantState\n): LobbyOverlayProps => {\n if (isPhoneNumberIdentifier(participant.identifier)) {\n return {\n title: (participant.identifier as PhoneNumberIdentifier).phoneNumber,\n moreDetails: strings.outboundCallingNoticeString\n };\n } else {\n return {\n title: strings.outboundCallingNoticeString ?? ''\n };\n }\n};\n"]}
@@ -16,12 +16,12 @@ import { getTargetCallees } from '../selectors/baseSelectors';
16
16
  export function NoticePage(props) {
17
17
  const adapter = useAdapter();
18
18
  const callees = useSelector(getTargetCallees);
19
- return React.createElement(Stack, { className: mergeStyles(props.pageStyle), verticalFill: true, verticalAlign: "center", horizontalAlign: "center", "data-ui-id": props.dataUiId, "aria-atomic": true },
19
+ return (React.createElement(Stack, { className: mergeStyles(props.pageStyle), verticalFill: true, verticalAlign: "center", horizontalAlign: "center", "data-ui-id": props.dataUiId, "aria-atomic": true },
20
20
  React.createElement(Stack, { className: mergeStyles(containerStyle), tokens: containerItemGap },
21
21
  props.iconName && React.createElement(CallCompositeIcon, { iconName: props.iconName }),
22
22
  React.createElement(Text, { className: mergeStyles(titleStyles), "aria-live": "assertive", role: "alert" }, props.title),
23
23
  React.createElement(Text, { className: mergeStyles(moreDetailsStyles), "aria-live": "assertive" }, props.moreDetails),
24
- !props.disableStartCallButton && React.createElement(Stack, { styles: rejoinCallButtonContainerStyles },
24
+ !props.disableStartCallButton && (React.createElement(Stack, { styles: rejoinCallButtonContainerStyles },
25
25
  React.createElement(StartCallButton, { onClick: () => {
26
26
  if (callees && callees.length > 0) {
27
27
  adapter.startCall(callees);
@@ -29,6 +29,6 @@ export function NoticePage(props) {
29
29
  else {
30
30
  adapter.joinCall();
31
31
  }
32
- }, disabled: false, rejoinCall: true, autoFocus: true }))));
32
+ }, disabled: false, rejoinCall: true, autoFocus: true }))))));
33
33
  }
34
34
  //# sourceMappingURL=NoticePage.js.map