@azure/communication-react 1.12.0 → 1.12.1-alpha-202401190013

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 (1073) hide show
  1. package/dist/communication-react.d.ts +2689 -76
  2. package/dist/dist-cjs/communication-react/index.js +18485 -10152
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +12 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +24 -0
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +27 -0
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +68 -10
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +12 -5
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +24 -55
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +17 -1
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +96 -47
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +11 -1
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +19 -3
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +45 -0
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +87 -0
  42. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +31 -0
  47. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  49. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +6 -0
  50. package/dist/dist-esm/calling-component-bindings/src/index.js +8 -0
  51. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  52. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +1 -0
  53. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +72 -13
  54. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  56. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
  57. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  58. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  59. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  60. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
  61. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
  62. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  63. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  64. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
  66. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +23 -7
  67. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +10 -0
  69. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +28 -1
  70. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  71. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +6 -2
  72. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +61 -15
  73. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  74. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -0
  75. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +76 -11
  76. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  77. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
  78. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  79. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
  80. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
  82. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +66 -71
  83. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +120 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +13 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +120 -16
  88. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  90. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +109 -79
  92. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  95. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +3 -0
  96. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +22 -4
  97. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  100. package/dist/dist-esm/calling-stateful-client/src/Converter.js +26 -12
  101. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  103. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  105. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  106. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  108. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  111. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  112. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  114. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  115. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
  116. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
  117. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
  118. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  120. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  121. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +16 -0
  123. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +27 -0
  124. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
  125. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +25 -1
  126. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
  127. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  128. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +32 -24
  129. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  130. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  131. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  132. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
  133. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +91 -0
  134. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
  135. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
  136. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
  137. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
  138. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  139. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
  140. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -0
  141. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  142. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  143. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  144. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  145. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  146. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +5 -0
  147. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  148. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  150. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  151. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  152. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  153. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  154. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  155. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +5 -1
  156. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  157. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  158. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  159. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  161. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +176 -15
  163. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  164. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  165. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  166. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  167. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  168. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  169. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  170. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  171. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  172. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  173. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  174. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  175. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
  176. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  177. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +5 -9
  178. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  179. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  180. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +11 -12
  181. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  182. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  183. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
  184. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  185. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  186. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  187. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
  188. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  190. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  191. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  192. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  193. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  194. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  195. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
  196. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  197. package/dist/dist-esm/communication-react/src/index.d.ts +31 -0
  198. package/dist/dist-esm/communication-react/src/index.js +16 -0
  199. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  200. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  202. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  204. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  206. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  208. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  210. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  211. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  212. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  213. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  214. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  215. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
  217. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +44 -22
  219. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  221. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  222. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
  223. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +27 -1
  225. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +20 -5
  226. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  227. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +6 -1
  228. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +65 -32
  229. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  230. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +31 -1
  231. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +108 -19
  232. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +12 -1
  234. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +30 -24
  235. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  236. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +15 -0
  237. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +108 -21
  238. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  240. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.d.ts +2 -1
  242. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +97 -24
  243. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  244. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
  245. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
  246. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
  247. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  248. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  249. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  250. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  251. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  252. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  253. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  255. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  256. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  257. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  258. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  259. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  261. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  262. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  263. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  264. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  265. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  266. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  267. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  268. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  269. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  270. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  271. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  272. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  273. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
  274. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
  275. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  276. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  277. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  278. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
  279. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +44 -48
  281. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  283. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  285. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  287. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  288. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  289. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  290. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  291. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  292. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  293. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  294. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  295. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  296. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
  298. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  300. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  301. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +40 -1
  302. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +39 -16
  303. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  304. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  305. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  306. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  307. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  308. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  309. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  310. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  311. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  312. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  313. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  314. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  315. package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +71 -0
  316. package/dist/dist-esm/react-components/src/components/ImageGallery.js +53 -0
  317. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -0
  318. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
  319. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +26 -17
  320. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  321. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  322. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  323. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +2 -0
  324. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +34 -11
  325. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  326. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
  327. package/dist/dist-esm/react-components/src/components/MentionPopover.js +126 -0
  328. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
  329. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +23 -36
  330. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +52 -2
  332. package/dist/dist-esm/react-components/src/components/MessageThread.js +119 -44
  333. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  334. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
  335. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  336. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  337. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  338. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +13 -0
  339. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +17 -17
  340. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +15 -0
  342. package/dist/dist-esm/react-components/src/components/ParticipantList.js +73 -31
  343. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  344. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  345. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  346. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  347. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  348. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  349. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  350. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +16 -0
  351. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +13 -0
  352. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -0
  353. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
  354. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  355. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +49 -0
  356. package/dist/dist-esm/react-components/src/components/ReactionButton.js +81 -0
  357. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
  358. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +49 -14
  359. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  360. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  361. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  362. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  363. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  364. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  365. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  366. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +41 -0
  367. package/dist/dist-esm/react-components/src/components/SendBox.js +39 -13
  368. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  369. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  370. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  371. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  372. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  373. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  374. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  375. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  376. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +64 -0
  377. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +55 -0
  378. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
  379. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +18 -0
  380. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +57 -0
  381. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
  382. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
  383. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
  384. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
  385. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +63 -0
  386. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +118 -0
  387. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
  388. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +22 -0
  389. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +53 -0
  390. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
  391. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  392. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  393. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +41 -0
  394. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +622 -0
  395. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
  396. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
  397. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +822 -0
  398. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
  399. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  400. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  401. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  402. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  403. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +3 -1
  404. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  405. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +3 -1
  406. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  407. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
  408. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  409. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
  410. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  411. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -34
  412. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  413. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  414. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
  416. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  417. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +6 -12
  418. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  419. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  420. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  421. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +37 -16
  422. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  423. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +14 -10
  424. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  425. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +5 -0
  426. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +71 -27
  427. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  429. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  431. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +127 -0
  432. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  433. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  435. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +19 -6
  437. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  438. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  439. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  441. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  442. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.d.ts +5 -0
  443. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +66 -22
  444. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  445. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  446. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  447. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  448. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  449. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  450. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  451. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  452. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  453. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  454. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  455. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  456. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  457. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  458. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  460. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  461. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  462. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  463. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +19 -32
  464. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  465. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +62 -22
  467. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  468. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -1
  469. package/dist/dist-esm/react-components/src/components/VideoGallery.js +132 -36
  470. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  471. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +10 -0
  472. package/dist/dist-esm/react-components/src/components/VideoTile.js +74 -56
  473. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  474. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  475. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/index.d.ts +27 -0
  477. package/dist/dist-esm/react-components/src/components/index.js +22 -0
  478. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  479. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  480. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  481. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  482. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  483. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +1 -1
  485. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +2 -6
  486. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  487. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  490. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  491. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  493. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +68 -0
  495. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +202 -0
  496. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -0
  497. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  498. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  499. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +26 -0
  500. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +69 -0
  501. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
  502. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  503. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
  504. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
  505. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +1 -2
  507. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  508. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  509. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +24 -0
  510. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +75 -0
  511. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
  512. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  513. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  514. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
  515. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
  516. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  517. package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +5 -0
  518. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +32 -0
  519. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -0
  520. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  521. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  522. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  523. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  524. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  525. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  527. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
  528. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  529. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  530. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  531. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  532. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +11 -0
  534. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +34 -0
  535. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  536. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  537. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  538. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
  540. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  541. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  542. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
  544. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  545. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
  548. package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
  549. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
  550. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  552. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  553. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  554. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  555. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.d.ts +5 -0
  556. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +13 -3
  557. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  558. package/dist/dist-esm/react-components/src/components/utils.js +13 -10
  559. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  561. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  563. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +4 -0
  564. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +5 -1
  565. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  566. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/index.d.ts +5 -0
  568. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  569. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +68 -0
  570. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  571. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  572. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +1 -3
  573. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  574. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
  575. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  576. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
  577. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
  579. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  580. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +6 -1
  581. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
  582. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  583. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
  584. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  585. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
  586. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  587. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
  588. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  589. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  590. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
  592. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  593. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
  594. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  595. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
  596. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  597. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
  598. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  599. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
  600. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  601. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
  602. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  603. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
  604. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  605. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
  606. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  607. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
  608. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  609. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
  610. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  611. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  612. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
  613. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  614. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
  615. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  616. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -5
  617. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  618. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  619. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  620. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  621. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  622. package/dist/dist-esm/react-components/src/theming/icons.d.ts +18 -0
  623. package/dist/dist-esm/react-components/src/theming/icons.js +127 -11
  624. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  625. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  626. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  627. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  628. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  629. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  630. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  631. package/dist/dist-esm/react-components/src/theming/themes.d.ts +21 -2
  632. package/dist/dist-esm/react-components/src/theming/themes.js +16 -0
  633. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  634. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
  635. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  636. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  637. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  638. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +34 -1
  639. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  640. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  641. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  642. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  643. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +8 -0
  644. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  645. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +21 -0
  646. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  647. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  648. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  649. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  650. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +19 -0
  651. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +2 -0
  652. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  653. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  654. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  655. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +152 -0
  656. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +85 -32
  657. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  658. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +193 -0
  659. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  660. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +83 -6
  661. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +428 -54
  662. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  663. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +156 -1
  664. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  665. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  666. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  667. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +5 -2
  668. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  669. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +16 -4
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +6 -0
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +111 -33
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +1 -0
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +117 -51
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +48 -0
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +2 -0
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +20 -2
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +2 -0
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +34 -23
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +63 -26
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +59 -43
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +3 -7
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +13 -8
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +14 -7
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +14 -0
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -0
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +12 -8
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +47 -8
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +6 -0
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +19 -8
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +15 -0
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +142 -20
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +24 -0
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +34 -0
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +17 -7
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +35 -0
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +13 -3
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +11 -0
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +113 -0
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -0
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +14 -0
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +14 -0
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  837. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  839. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +1 -2
  840. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  841. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  843. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  844. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  845. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +37 -0
  846. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +55 -0
  847. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -0
  848. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  849. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  850. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  851. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  852. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +9 -11
  853. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  855. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  856. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  857. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  858. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +14 -2
  859. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +128 -21
  860. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  862. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +142 -1
  864. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +118 -24
  865. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  866. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  867. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  869. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  870. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  871. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  872. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  873. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -0
  875. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +39 -6
  877. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +176 -7
  878. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  879. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +91 -0
  880. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +16 -2
  882. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +58 -0
  883. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  884. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +13 -0
  885. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +37 -1
  886. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  889. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  890. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  892. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +24 -0
  894. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +13 -2
  895. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  896. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  897. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +20 -0
  898. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +4 -2
  899. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  900. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  901. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +147 -11
  903. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  905. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  906. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  907. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
  908. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
  909. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
  910. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  911. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +32 -3
  913. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +153 -36
  914. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  915. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
  916. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
  917. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  918. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +17 -2
  919. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
  921. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  923. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
  924. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  925. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  928. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  929. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +7 -2
  930. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  931. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  932. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
  933. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
  934. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
  935. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
  936. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  937. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
  938. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +15 -0
  939. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
  940. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +27 -0
  941. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
  942. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
  943. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  944. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  945. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +5 -1
  946. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -10
  947. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  948. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
  949. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
  950. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
  951. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
  952. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
  953. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
  954. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +5 -0
  955. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +12 -5
  956. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  957. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  958. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  959. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
  960. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
  961. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
  962. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
  963. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
  964. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
  965. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +6 -8
  966. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  967. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  968. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  969. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  970. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  971. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  972. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  973. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -0
  974. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +69 -32
  975. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  976. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +35 -33
  977. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  978. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +136 -53
  979. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  980. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  981. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  982. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  983. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -7
  984. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  985. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +106 -98
  986. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  987. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  988. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +1 -0
  989. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  990. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  991. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  992. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  993. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +19 -14
  994. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  995. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  996. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  997. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +14 -12
  998. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +28 -5
  1000. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  1001. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +17 -0
  1002. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +42 -0
  1003. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
  1004. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
  1005. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +40 -0
  1006. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
  1007. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
  1008. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  1009. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
  1010. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
  1011. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
  1012. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +13 -0
  1013. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +87 -0
  1014. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +1 -0
  1015. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.d.ts +13 -0
  1016. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js +44 -0
  1017. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +1 -0
  1018. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  1019. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1020. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
  1021. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +23 -0
  1022. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
  1023. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
  1024. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1025. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1026. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1027. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +32 -1
  1028. package/dist/dist-esm/react-composites/src/composites/common/icons.js +15 -3
  1029. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1030. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1031. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1032. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1033. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1034. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1035. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1036. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  1037. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1038. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1039. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1041. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +22 -4
  1043. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1044. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  1045. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1046. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1047. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1048. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1049. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1050. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1051. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1052. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1053. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1054. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1055. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1056. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1057. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1058. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1059. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1060. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1061. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1062. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1063. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1064. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1065. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1066. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1067. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1068. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1069. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1070. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1071. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1072. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1073. package/package.json +3 -3
@@ -17,6 +17,7 @@
17
17
 
18
18
  /// <reference types="react" />
19
19
 
20
+ import { AddPhoneNumberOptions } from '@azure/communication-calling';
20
21
  import { AudioDeviceInfo } from '@azure/communication-calling';
21
22
  import { BackgroundBlurConfig } from '@azure/communication-calling';
22
23
  import { BackgroundBlurEffect } from '@azure/communication-calling';
@@ -29,7 +30,10 @@ import { CallClientOptions } from '@azure/communication-calling';
29
30
  import { CallDirection } from '@azure/communication-calling';
30
31
  import { CallEndReason } from '@azure/communication-calling';
31
32
  import { CallerInfo } from '@azure/communication-calling';
33
+ import { CallKind } from '@azure/communication-calling';
32
34
  import { CallState as CallState_2 } from '@azure/communication-calling';
35
+ import { CallSurvey } from '@azure/communication-calling';
36
+ import { CallSurveyResponse } from '@azure/communication-calling';
33
37
  import { CapabilitiesChangeInfo } from '@azure/communication-calling';
34
38
  import { CaptionsResultType } from '@azure/communication-calling';
35
39
  import { ChatClient } from '@azure/communication-chat';
@@ -47,6 +51,8 @@ import { CreateViewOptions } from '@azure/communication-calling';
47
51
  import { DeviceAccess } from '@azure/communication-calling';
48
52
  import { DeviceManager } from '@azure/communication-calling';
49
53
  import { DominantSpeakersInfo } from '@azure/communication-calling';
54
+ import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
55
+ import { EnvironmentInfo } from '@azure/communication-calling';
50
56
  import { GroupCallLocator } from '@azure/communication-calling';
51
57
  import { IButtonProps } from '@fluentui/react';
52
58
  import { IButtonStyles } from '@fluentui/react';
@@ -54,18 +60,22 @@ import { IContextualMenuItem } from '@fluentui/react';
54
60
  import { IContextualMenuItemStyles } from '@fluentui/react';
55
61
  import { IContextualMenuProps } from '@fluentui/react';
56
62
  import { IContextualMenuStyles } from '@fluentui/react';
63
+ import { ILinkStyles } from '@fluentui/react';
57
64
  import { IMessageBarProps } from '@fluentui/react';
65
+ import { IncomingCall } from '@azure/communication-calling';
58
66
  import { IPersonaStyleProps } from '@fluentui/react';
59
67
  import { IPersonaStyles } from '@fluentui/react';
60
68
  import { IRawStyle } from '@fluentui/react';
61
69
  import { IRenderFunction } from '@fluentui/react';
62
70
  import { IStyle } from '@fluentui/react';
63
71
  import { IStyleFunctionOrObject } from '@fluentui/react';
72
+ import { ITextFieldStyles } from '@fluentui/react';
64
73
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
65
74
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
66
75
  import { LocalVideoStream } from '@azure/communication-calling';
67
76
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
68
77
  import { MediaStreamType } from '@azure/communication-calling';
78
+ import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
69
79
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
70
80
  import { PartialTheme } from '@fluentui/react';
71
81
  import { ParticipantCapabilities } from '@azure/communication-calling';
@@ -74,23 +84,47 @@ import { PermissionConstraints } from '@azure/communication-calling';
74
84
  import { PersonaInitialsColor } from '@fluentui/react';
75
85
  import { PersonaPresence } from '@fluentui/react';
76
86
  import { PersonaSize } from '@fluentui/react';
87
+ import { PhoneNumberIdentifier } from '@azure/communication-common';
77
88
  import { PropertyChangedEvent } from '@azure/communication-calling';
78
89
  import { default as React_2 } from 'react';
90
+ import { Reaction as Reaction_2 } from '@azure/communication-calling';
91
+ import { ReactionMessage } from '@azure/communication-calling';
79
92
  import type { RemoteParticipant } from '@azure/communication-calling';
80
93
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
81
94
  import { RoomCallLocator } from '@azure/communication-calling';
82
95
  import { ScalingMode } from '@azure/communication-calling';
83
96
  import { SendMessageOptions } from '@azure/communication-chat';
97
+ import { SpotlightedParticipant } from '@azure/communication-calling';
84
98
  import { StartCallOptions } from '@azure/communication-calling';
85
99
  import { StartCaptionsOptions } from '@azure/communication-calling';
100
+ import { SyntheticEvent } from 'react';
101
+ import { TeamsCall } from '@azure/communication-calling';
102
+ import { TeamsCallAgent } from '@azure/communication-calling';
86
103
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
87
104
  import { Theme } from '@fluentui/react';
105
+ import { TransferRequestedEventArgs } from '@azure/communication-calling';
88
106
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
89
107
  import { VideoDeviceInfo } from '@azure/communication-calling';
90
108
  import { VideoEffectName } from '@azure/communication-calling';
91
109
  import { VideoStreamRenderer } from '@azure/communication-calling';
92
110
  import { VideoStreamRendererView } from '@azure/communication-calling';
93
111
 
112
+ /**
113
+ * Transfer feature state
114
+ *
115
+ * @beta
116
+ */
117
+ export declare interface AcceptedTransfer {
118
+ /**
119
+ * Stores call id of accepted transfer
120
+ */
121
+ callId: string;
122
+ /**
123
+ * Stores timestamp when transfer was accepted
124
+ */
125
+ timestamp: Date;
126
+ }
127
+
94
128
  /**
95
129
  * Active error messages to be shown via {@link ErrorBar}.
96
130
  *
@@ -110,6 +144,38 @@ export declare interface ActiveErrorMessage {
110
144
  timestamp?: Date;
111
145
  }
112
146
 
147
+ /**
148
+ * Attributes required for SendBox to show file uploads like name, progress etc.
149
+ * @beta
150
+ */
151
+ export declare interface ActiveFileUpload {
152
+ /**
153
+ * Unique identifier for the file upload.
154
+ */
155
+ id: string;
156
+ /**
157
+ * File name to be rendered for uploaded file.
158
+ */
159
+ filename: string;
160
+ /**
161
+ * A number between 0 and 1 indicating the progress of the upload.
162
+ * This is unrelated to the `uploadComplete` property.
163
+ * It is only used to show the progress of the upload.
164
+ * Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
165
+ * property to true to mark the upload as complete.
166
+ */
167
+ progress: number;
168
+ /**
169
+ * Error to be displayed to the user if the upload fails.
170
+ */
171
+ error?: SendBoxErrorBarError;
172
+ /**
173
+ * `true` means that the upload is completed.
174
+ * This is independent of the upload `progress`.
175
+ */
176
+ uploadComplete?: boolean;
177
+ }
178
+
113
179
  /**
114
180
  * Error reported via error events and stored in adapter state.
115
181
  *
@@ -176,6 +242,27 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
176
242
  */
177
243
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
178
244
 
245
+ /**
246
+ * Metadata of the attachment object returned by the ACS SDK.
247
+ * @beta
248
+ */
249
+ export declare interface AttachmentDownloadResult {
250
+ /**
251
+ * Unique ID of the attachment.
252
+ */
253
+ attachmentId: string;
254
+ /**
255
+ * Blob URL for the attachment.
256
+ */
257
+ blobUrl: string;
258
+ }
259
+
260
+ /**
261
+ * Metadata containing information about the uploaded file.
262
+ * @beta
263
+ */
264
+ export declare type AttachmentMetadata = FileMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ InlineImageMetadata;
265
+
179
266
  /**
180
267
  * Custom data attributes for displaying avatar for a user.
181
268
  *
@@ -205,6 +292,11 @@ export declare type AvatarPersonaData = {
205
292
  * @defaultvalue `white`
206
293
  */
207
294
  initialsTextColor?: string;
295
+ /**
296
+ * If true, show the special coin for unknown persona.
297
+ * It has '?' in place of initials, with static font and background colors
298
+ */
299
+ showUnknownPersonaCoin?: boolean;
208
300
  };
209
301
 
210
302
  /**
@@ -226,6 +318,11 @@ export declare type AzureCommunicationCallAdapterArgs = {
226
318
  displayName: string;
227
319
  credential: CommunicationTokenCredential;
228
320
  locator: CallAdapterLocator;
321
+ /**
322
+ * A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
323
+ * E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
324
+ */
325
+ alternateCallerId?: string;
229
326
  /**
230
327
  * Optional parameters for the {@link AzureCommunicationCallAdapter} created
231
328
  */
@@ -250,6 +347,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
250
347
  displayName: string;
251
348
  credential: CommunicationTokenCredential;
252
349
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
350
+ alternateCallerId?: string;
253
351
  callAdapterOptions?: AzureCommunicationCallAdapterOptions;
254
352
  };
255
353
 
@@ -265,6 +363,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
265
363
  chatClient: StatefulChatClient;
266
364
  chatThreadClient: ChatThreadClient;
267
365
  callAdapterOptions?: AzureCommunicationCallAdapterOptions;
366
+ chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
268
367
  };
269
368
 
270
369
  /**
@@ -280,6 +379,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
280
379
  threadId: string;
281
380
  };
282
381
 
382
+ /**
383
+ * Configuration options to include when creating AzureCommunicationChatAdapter.
384
+ * @beta
385
+ */
386
+ export declare type AzureCommunicationChatAdapterOptions = {
387
+ credential?: CommunicationTokenCredential;
388
+ };
389
+
283
390
  /**
284
391
  * Properties common to all composites exported from this library.
285
392
  *
@@ -335,6 +442,156 @@ export declare interface BaseCustomStyles {
335
442
  root?: IStyle;
336
443
  }
337
444
 
445
+ /**
446
+ * Content blocked message type.
447
+ *
448
+ * Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
449
+ *
450
+ * @beta
451
+ */
452
+ export declare interface BlockedMessage extends MessageCommon {
453
+ messageType: 'blocked';
454
+ warningText?: string;
455
+ linkText?: string;
456
+ link?: string;
457
+ deletedOn?: Date;
458
+ senderId?: string;
459
+ senderDisplayName?: string;
460
+ status?: MessageStatus;
461
+ attached?: MessageAttachedStatus;
462
+ mine?: boolean;
463
+ }
464
+
465
+ /**
466
+ * @beta
467
+ * Props for BrowserPermissionDeniedIOS component.
468
+ */
469
+ export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
470
+ /**
471
+ * Localization strings for BrowserPermissionDeniedIOS component.
472
+ */
473
+ strings?: BrowserPermissionDeniedIOSStrings;
474
+ /**
475
+ * Link to image source.
476
+ *
477
+ * Image is inserted into the top of the component.
478
+ */
479
+ imageSource?: string;
480
+ }
481
+
482
+ /**
483
+ * @beta
484
+ * Strings for BrowserPermissionDeniedIOS component
485
+ */
486
+ export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
487
+ /**
488
+ * Image alt text
489
+ */
490
+ imageAltText: string;
491
+ /**
492
+ * Main text string.
493
+ */
494
+ primaryText: string;
495
+ /**
496
+ * Subtext string.
497
+ */
498
+ secondaryText: string;
499
+ /**
500
+ * Step 1 string
501
+ */
502
+ step1Text: string;
503
+ /**
504
+ * Step 1 digit string
505
+ */
506
+ step1DigitText: string;
507
+ /**
508
+ * Step 2 string
509
+ */
510
+ step2Text: string;
511
+ /**
512
+ * Step 2 digit string
513
+ */
514
+ step2DigitText: string;
515
+ /**
516
+ * Step 3 string
517
+ */
518
+ step3Text: string;
519
+ /**
520
+ * Step 3 digit string
521
+ */
522
+ step3DigitText: string;
523
+ /**
524
+ * Step 4 string
525
+ */
526
+ step4Text: string;
527
+ /**
528
+ * Step 4 digit string
529
+ */
530
+ step4DigitText: string;
531
+ }
532
+
533
+ /**
534
+ * @beta
535
+ * Props for BrowserPermissionDenied component.
536
+ */
537
+ export declare interface BrowserPermissionDeniedProps {
538
+ /**
539
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
540
+ */
541
+ onTroubleshootingClick?: () => void;
542
+ /**
543
+ * Action to be taken by the try again primary button.
544
+ */
545
+ onTryAgainClick?: () => void;
546
+ /**
547
+ * Localization strings for BrowserPermissionDenied component.
548
+ */
549
+ strings?: BrowserPermissionDeniedStrings;
550
+ /**
551
+ * Allows users to pass in an object contains custom CSS styles.
552
+ * @Example
553
+ * ```
554
+ * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
555
+ * ```
556
+ */
557
+ styles?: BrowserPermissionDeniedStyles;
558
+ }
559
+
560
+ /**
561
+ * @beta
562
+ * Strings for BrowserPermissionDenied component
563
+ */
564
+ export declare interface BrowserPermissionDeniedStrings {
565
+ /**
566
+ * Main button text string.
567
+ */
568
+ primaryButtonText: string;
569
+ /**
570
+ * Main text string.
571
+ */
572
+ primaryText: string;
573
+ /**
574
+ * Subtext string.
575
+ */
576
+ secondaryText: string;
577
+ /**
578
+ * More help link string.
579
+ */
580
+ linkText: string;
581
+ }
582
+
583
+ /**
584
+ * Fluent styles for {@link BrowserPermissionDenied}.
585
+ *
586
+ * @beta
587
+ */
588
+ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
589
+ /** Styles for the primary button. */
590
+ primaryButton?: IButtonStyles;
591
+ /** Styles for the help troubleshooting link text. */
592
+ troubleshootingLink?: ILinkStyles;
593
+ }
594
+
338
595
  /**
339
596
  * An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
340
597
  *
@@ -368,6 +625,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
368
625
  * @public
369
626
  */
370
627
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
628
+ /**
629
+ * Start the call.
630
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
631
+ * @beta
632
+ */
633
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
371
634
  }
372
635
 
373
636
  /**
@@ -412,6 +675,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
412
675
  * @public
413
676
  */
414
677
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
678
+ /**
679
+ * Start the call.
680
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
681
+ * @beta
682
+ */
683
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
415
684
  }
416
685
 
417
686
  /**
@@ -474,6 +743,12 @@ export declare interface CallAdapterCallOperations {
474
743
  * @public
475
744
  */
476
745
  lowerHand(): Promise<void>;
746
+ /**
747
+ * Send reaction emoji
748
+ *
749
+ * @beta
750
+ */
751
+ onReactionClicked(reaction: Reaction_2): Promise<void>;
477
752
  /**
478
753
  * Stop sharing the screen
479
754
  *
@@ -488,6 +763,12 @@ export declare interface CallAdapterCallOperations {
488
763
  * @public
489
764
  */
490
765
  removeParticipant(userId: string): Promise<void>;
766
+ /**
767
+ * Remove a participant from the call.
768
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
769
+ * @beta
770
+ */
771
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
491
772
  /**
492
773
  * Create the html view for a stream.
493
774
  *
@@ -539,6 +820,35 @@ export declare interface CallAdapterCallOperations {
539
820
  * @public
540
821
  */
541
822
  disposeLocalVideoStreamView(): Promise<void>;
823
+ /**
824
+ * Holds the call.
825
+ *
826
+ * @beta
827
+ */
828
+ holdCall(): Promise<void>;
829
+ /**
830
+ * Resumes the call from a `LocalHold` state.
831
+ *
832
+ * @beta
833
+ */
834
+ resumeCall(): Promise<void>;
835
+ /**
836
+ * Add a participant to the call.
837
+ *
838
+ * @beta
839
+ */
840
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
841
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
842
+ /**
843
+ * send dtmf tone to another participant in a 1:1 PSTN call
844
+ *
845
+ * @beta
846
+ */
847
+ sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
848
+ /**
849
+ * Continues into a call when the browser version is not supported.
850
+ */
851
+ allowUnsupportedBrowserVersion(): void;
542
852
  /**
543
853
  * Function to Start captions
544
854
  * @param options - options for start captions
@@ -584,6 +894,24 @@ export declare interface CallAdapterCallOperations {
584
894
  * @public
585
895
  */
586
896
  updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
897
+ /**
898
+ * Send the end of call survey result
899
+ *
900
+ * @beta
901
+ */
902
+ submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
903
+ /**
904
+ * Start spotlight
905
+ *
906
+ * @beta
907
+ */
908
+ startSpotlight(userId: string): Promise<void>;
909
+ /**
910
+ * Stop spotlight
911
+ *
912
+ * @beta
913
+ */
914
+ stopSpotlight(userId: string): Promise<void>;
587
915
  }
588
916
 
589
917
  /**
@@ -611,6 +939,14 @@ export declare type CallAdapterClientState = {
611
939
  * Latest error encountered for each operation performed via the adapter.
612
940
  */
613
941
  latestErrors: AdapterErrors;
942
+ /**
943
+ * Azure communications Phone number to make PSTN calls with.
944
+ */
945
+ alternateCallerId?: string;
946
+ /**
947
+ * Environment information about system the adapter is made on
948
+ */
949
+ environmentInfo?: EnvironmentInfo;
614
950
  /**
615
951
  * State to track whether the local participant's camera is on. To be used when creating a custom
616
952
  * control bar with the CallComposite.
@@ -628,6 +964,14 @@ export declare type CallAdapterClientState = {
628
964
  * State to track the selected video background effect.
629
965
  */
630
966
  selectedVideoBackgroundEffect?: VideoBackgroundEffect;
967
+ /**
968
+ * Call from transfer request accepted by local user
969
+ */
970
+ acceptedTransferCallState?: CallState;
971
+ /**
972
+ * Hide attendee names in teams meeting
973
+ */
974
+ hideAttendeeNames?: boolean;
631
975
  /**
632
976
  * State to track the sounds to be used in the call.
633
977
  */
@@ -716,7 +1060,7 @@ export declare interface CallAdapterDeviceManagement {
716
1060
  *
717
1061
  * @public
718
1062
  */
719
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator;
1063
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
720
1064
 
721
1065
  /**
722
1066
  * {@link CommonCallAdapter} state.
@@ -809,6 +1153,10 @@ export declare interface CallAdapterSubscribers {
809
1153
  * Subscribe function for 'isSpokenLanguageChanged' event.
810
1154
  */
811
1155
  on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
1156
+ /**
1157
+ * Subscribe function for 'transferRequested' event.
1158
+ */
1159
+ on(event: 'transferRequested', listener: TransferRequestedListener): void;
812
1160
  /**
813
1161
  * Subscribe function for 'capabilitiesChanged' event.
814
1162
  */
@@ -881,6 +1229,10 @@ export declare interface CallAdapterSubscribers {
881
1229
  * Unsubscribe function for 'isSpokenLanguageChanged' event.
882
1230
  */
883
1231
  off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
1232
+ /**
1233
+ * Unsubscribe function for 'transferRequested' event.
1234
+ */
1235
+ off(event: 'transferRequested', listener: TransferRequestedListener): void;
884
1236
  /**
885
1237
  * Unsubscribe function for 'capabilitiesChanged' event.
886
1238
  */
@@ -899,6 +1251,7 @@ export declare interface CallAdapterSubscribers {
899
1251
  export declare type CallAdapterUiState = {
900
1252
  isLocalPreviewMicrophoneEnabled: boolean;
901
1253
  page: CallCompositePage;
1254
+ unsupportedBrowserVersionsAllowed?: boolean;
902
1255
  };
903
1256
 
904
1257
  /**
@@ -917,7 +1270,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
917
1270
  */
918
1271
  export declare interface CallAgentProviderProps {
919
1272
  children: React_2.ReactNode;
920
- callAgent?: CallAgent;
1273
+ callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
921
1274
  }
922
1275
 
923
1276
  /**
@@ -942,7 +1295,7 @@ export declare interface CallAgentState {
942
1295
  */
943
1296
  export declare interface CallAndChatLocator {
944
1297
  /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
945
- callLocator: GroupCallLocator;
1298
+ callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
946
1299
  /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
947
1300
  chatThreadId: string;
948
1301
  }
@@ -1029,6 +1382,16 @@ export declare interface CallClientState {
1029
1382
  * See documentation of {@Link CallErrors} for details.
1030
1383
  */
1031
1384
  latestErrors: CallErrors;
1385
+ /**
1386
+ * A phone number in E.164 format that will be used to represent callers identity.
1387
+ * For example, using the alternateCallerId to add a participant using PSTN, this number will
1388
+ * be used as the caller id in the PSTN call.
1389
+ */
1390
+ alternateCallerId?: string;
1391
+ /**
1392
+ * state to track the environment that the stateful client was made in is supported
1393
+ */
1394
+ environmentInfo?: EnvironmentInfo;
1032
1395
  }
1033
1396
 
1034
1397
  /**
@@ -1063,7 +1426,9 @@ export declare type CallCompositeIcons = {
1063
1426
  ControlButtonRaiseHand?: JSX.Element;
1064
1427
  ControlButtonLowerHand?: JSX.Element;
1065
1428
  RaiseHandContextualMenuItem?: JSX.Element;
1429
+ ReactionContextualMenuItem?: JSX.Element;
1066
1430
  LowerHandContextualMenuItem?: JSX.Element;
1431
+ ReactionButtonIcon?: JSX.Element;
1067
1432
  ErrorBarCallCameraAccessDenied?: JSX.Element;
1068
1433
  ErrorBarCallCameraAlreadyInUse?: JSX.Element;
1069
1434
  ErrorBarCallLocalVideoFreeze?: JSX.Element;
@@ -1104,6 +1469,9 @@ export declare type CallCompositeIcons = {
1104
1469
  ParticipantItemScreenShareStart?: JSX.Element;
1105
1470
  VideoTileMicOff?: JSX.Element;
1106
1471
  LocalCameraSwitch?: JSX.Element;
1472
+ PeoplePaneAddPerson?: JSX.Element;
1473
+ PeoplePaneOpenDialpad?: JSX.Element;
1474
+ DialpadStartCall?: JSX.Element;
1107
1475
  NoticePageInviteToRoomRemoved?: JSX.Element;
1108
1476
  BlurVideoBackground?: JSX.Element;
1109
1477
  RemoveVideoBackgroundEffect?: JSX.Element;
@@ -1135,10 +1503,66 @@ export declare type CallCompositeOptions = {
1135
1503
  * @defaultValue true
1136
1504
  */
1137
1505
  callControls?: boolean | CallControlOptions;
1506
+ /**
1507
+ * Device permissions check options for your call.
1508
+ * Here you can choose what device permissions you prompt the user for,
1509
+ * as well as what device permissions must be accepted before starting a call.
1510
+ */
1511
+ deviceChecks?: DeviceCheckOptions;
1512
+ /**
1513
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1514
+ * unable to grant your site the required permissions for the call.
1515
+ *
1516
+ * @example
1517
+ * ```ts
1518
+ * onPermissionsTroubleshootingClick: () =>
1519
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
1520
+ * ```
1521
+ *
1522
+ * @remarks
1523
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
1524
+ */
1525
+ onPermissionsTroubleshootingClick?: (permissionsState: {
1526
+ camera: PermissionState;
1527
+ microphone: PermissionState;
1528
+ }) => void;
1529
+ /**
1530
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1531
+ * having network issues when connecting to the call.
1532
+ *
1533
+ * @example
1534
+ * ```ts
1535
+ * onNetworkingTroubleShootingClick?: () =>
1536
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
1537
+ * ```
1538
+ *
1539
+ * @remarks
1540
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
1541
+ */
1542
+ onNetworkingTroubleShootingClick?: () => void;
1543
+ /**
1544
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
1545
+ *
1546
+ * @example
1547
+ * ```ts
1548
+ * onBrowserTroubleShootingClick?: () =>
1549
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
1550
+ * ```
1551
+ *
1552
+ * @remarks
1553
+ * if this is not supplied, the composite will not show a unsupported browser page.
1554
+ */
1555
+ onEnvironmentInfoTroubleshootingClick?: () => void;
1138
1556
  /**
1139
1557
  * Remote participant video tile menu options
1140
1558
  */
1141
1559
  remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
1560
+ /**
1561
+ * Options for controlling the local video tile.
1562
+ *
1563
+ * @remarks if 'false' the local video tile will not be rendered.
1564
+ */
1565
+ localVideoTile?: boolean | LocalVideoTileOptions;
1142
1566
  /**
1143
1567
  * Options for controlling the starting layout of the composite's video gallery
1144
1568
  */
@@ -1148,6 +1572,78 @@ export declare type CallCompositeOptions = {
1148
1572
  */
1149
1573
  layout?: VideoGalleryLayout;
1150
1574
  };
1575
+ /**
1576
+ * Options for end of call survey
1577
+ */
1578
+ surveyOptions?: {
1579
+ /**
1580
+ * Disable call survey at the end of a call.
1581
+ * @defaultValue false
1582
+ */
1583
+ disableSurvey?: boolean;
1584
+ /**
1585
+ * Optional callback to add extra logic when survey is dismissed. For self-host only
1586
+ */
1587
+ onSurveyDismissed?: () => void;
1588
+ /**
1589
+ * Optional callback to handle survey data including free form text response
1590
+ * Note that free form text response survey option is only going to be enabled when this callback is provided
1591
+ * User will need to handle all free form text response on their own
1592
+ */
1593
+ onSurveySubmitted?: (callId: string, surveyId: string,
1594
+ /**
1595
+ * This is the survey results containing star survey data and API tag survey data.
1596
+ * This part of the result will always be sent to the calling sdk
1597
+ * This callback provides user with the ability to gain access to survey data
1598
+ */
1599
+ submittedSurvey: CallSurvey,
1600
+ /**
1601
+ * This is the survey results containing free form text
1602
+ * This part of the result will not be handled by composites
1603
+ * User will need to collect and handle this information 100% on their own
1604
+ * Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
1605
+ */
1606
+ improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
1607
+ };
1608
+ /**
1609
+ * Options for setting additional customizations related to personalized branding.
1610
+ */
1611
+ branding?: {
1612
+ /**
1613
+ * Logo displayed on the configuration page.
1614
+ */
1615
+ logo?: {
1616
+ /**
1617
+ * URL for the logo image.
1618
+ *
1619
+ * @remarks
1620
+ * Recommended size is 80x80 pixels.
1621
+ */
1622
+ url: string;
1623
+ /**
1624
+ * Alt text for the logo image.
1625
+ */
1626
+ alt?: string;
1627
+ /**
1628
+ * The logo can be displayed as a circle.
1629
+ *
1630
+ * @defaultValue 'unset'
1631
+ */
1632
+ shape?: 'unset' | 'circle';
1633
+ };
1634
+ /**
1635
+ * Background image displayed on the configuration page.
1636
+ */
1637
+ backgroundImage?: {
1638
+ /**
1639
+ * URL for the background image.
1640
+ *
1641
+ * @remarks
1642
+ * Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
1643
+ */
1644
+ url: string;
1645
+ };
1646
+ };
1151
1647
  };
1152
1648
 
1153
1649
  /**
@@ -1155,7 +1651,7 @@ export declare type CallCompositeOptions = {
1155
1651
  *
1156
1652
  * @public
1157
1653
  */
1158
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
1654
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
1159
1655
 
1160
1656
  /**
1161
1657
  * Props for {@link CallComposite}.
@@ -1392,19 +1888,83 @@ export declare interface CallCompositeStrings {
1392
1888
  /**
1393
1889
  * control bar People button label when checked
1394
1890
  */
1395
- selectedPeopleButtonLabel: string;
1891
+ selectedPeopleButtonLabel: string;
1892
+ /**
1893
+ * control bar Chat button label.
1894
+ */
1895
+ chatButtonLabel: string;
1896
+ /**
1897
+ * Label for SidePaneHeader dismiss button
1898
+ */
1899
+ dismissSidePaneButtonLabel?: string;
1900
+ /**
1901
+ * Side pane People section subheader.
1902
+ */
1903
+ peoplePaneSubTitle: string;
1904
+ /**
1905
+ * Label for button to copy invite link
1906
+ */
1907
+ copyInviteLinkButtonLabel: string;
1908
+ /**
1909
+ * Label for button to open dialpad
1910
+ */
1911
+ openDialpadButtonLabel: string;
1912
+ /**
1913
+ * Label for menu item to remove participant
1914
+ */
1915
+ removeMenuLabel: string;
1916
+ /**
1917
+ * Label for add people dropdown
1918
+ */
1919
+ peoplePaneAddPeopleButtonLabel: string;
1920
+ /**
1921
+ * Label for button to start a call
1922
+ */
1923
+ dialpadStartCallButtonLabel: string;
1924
+ /**
1925
+ * Title for dialpad Modal
1926
+ */
1927
+ dialpadModalTitle: string;
1928
+ /**
1929
+ * Aria Label for dialpad Modal
1930
+ */
1931
+ dialpadModalAriaLabel: string;
1932
+ /**
1933
+ * Aria Label for dialpad Modal close button
1934
+ */
1935
+ dialpadCloseModalButtonAriaLabel: string;
1936
+ /**
1937
+ * label for more button in the Calling composite
1938
+ */
1939
+ moreButtonCallingLabel: string;
1940
+ /**
1941
+ * Label for the resume call button on the hold pane
1942
+ */
1943
+ resumeCallButtonLabel: string;
1944
+ /**
1945
+ * Label for the resume call button on the hold pane when call is resuming
1946
+ */
1947
+ resumingCallButtonLabel: string;
1948
+ /**
1949
+ * Aria label for the resume call button on the hold pane
1950
+ */
1951
+ resumeCallButtonAriaLabel: string;
1952
+ /**
1953
+ * Aria label for the resume call button on the hold pane when call is resuming
1954
+ */
1955
+ resumingCallButtonAriaLabel: string;
1396
1956
  /**
1397
- * control bar Chat button label.
1957
+ * Label for the hold pane
1398
1958
  */
1399
- chatButtonLabel: string;
1959
+ holdScreenLabel: string;
1400
1960
  /**
1401
- * Label for SidePaneHeader dismiss button
1961
+ * Placeholder text for dtmf dialpad
1402
1962
  */
1403
- dismissSidePaneButtonLabel?: string;
1963
+ dtmfDialpadPlaceholderText: string;
1404
1964
  /**
1405
- * label for more button in the Calling composite
1965
+ * Label for the button to open dtmf dialpad
1406
1966
  */
1407
- moreButtonCallingLabel: string;
1967
+ openDtmfDialpadLabel: string;
1408
1968
  /**
1409
1969
  * aria label for when the invite link has been actioned
1410
1970
  */
@@ -1477,6 +2037,18 @@ export declare interface CallCompositeStrings {
1477
2037
  * More details text of the page shown to the user when the user attempts to join a room they are not invited to.
1478
2038
  */
1479
2039
  notInvitedToRoomDetails?: string;
2040
+ /**
2041
+ * Control bar People button ToolTipContent
2042
+ */
2043
+ peopleButtonTooltipOpen: string;
2044
+ /**
2045
+ * Control bar People button ToolTipContent
2046
+ */
2047
+ peopleButtonTooltipClose: string;
2048
+ /**
2049
+ * Label disaplayed on the lobby screen during a 1:1 outbound call.
2050
+ */
2051
+ outboundCallingNoticeString: string;
1480
2052
  /**
1481
2053
  * Notice to be announced by narrator when a participant joins a call
1482
2054
  */
@@ -1601,6 +2173,58 @@ export declare interface CallCompositeStrings {
1601
2173
  * captions banner loading spinner label
1602
2174
  */
1603
2175
  captionsBannerSpinnerText?: string;
2176
+ /**
2177
+ * transfer page text when showing the transferor who initiated the transfer
2178
+ */
2179
+ transferPageTransferorText: string;
2180
+ /**
2181
+ * transfer page text when showing the transfer target
2182
+ */
2183
+ transferPageTransferTargetText: string;
2184
+ /**
2185
+ * transfer page display name for unknown participant
2186
+ */
2187
+ transferPageUnknownTransferorDisplayName: string;
2188
+ /**
2189
+ * transfer page display name for unknown participant
2190
+ */
2191
+ transferPageUnknownTransferTargetDisplayName: string;
2192
+ /**
2193
+ * notice to be announced by narrator the transfer page is showing
2194
+ */
2195
+ transferPageNoticeString: string;
2196
+ /**
2197
+ * Title text of the page shown to the user when target participant could not be reached
2198
+ */
2199
+ participantCouldNotBeReachedTitle?: string;
2200
+ /**
2201
+ * More details text of the page shown to the user when target participant could not be reached
2202
+ */
2203
+ participantCouldNotBeReachedMoreDetails?: string;
2204
+ /**
2205
+ * Title text of the page shown to the user when permission to reach participant is not allowed
2206
+ */
2207
+ permissionToReachTargetParticipantNotAllowedTitle?: string;
2208
+ /**
2209
+ * More details text of the page shown to the user when permission to reach participant is not allowed
2210
+ */
2211
+ permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
2212
+ /**
2213
+ * Title text of the page shown to the user when tenant id for the target participant could not be resolved
2214
+ */
2215
+ unableToResolveTenantTitle?: string;
2216
+ /**
2217
+ * More details text of the page shown to the user when tenant id for the target participant could not be resolved
2218
+ */
2219
+ unableToResolveTenantMoreDetails?: string;
2220
+ /**
2221
+ * Title text of the page shown to the user when target participant id is malformed
2222
+ */
2223
+ participantIdIsMalformedTitle?: string;
2224
+ /**
2225
+ * More details text of the page shown to the user when target participant id is malformed
2226
+ */
2227
+ participantIdIsMalformedMoreDetails?: string;
1604
2228
  /**
1605
2229
  * Controls label to move the overflow gallery around
1606
2230
  */
@@ -1633,6 +2257,70 @@ export declare interface CallCompositeStrings {
1633
2257
  * All strings for capability changed notification
1634
2258
  */
1635
2259
  capabilityChangedNotification?: CapabilityChangedNotificationStrings;
2260
+ /**
2261
+ * Question for the survey
2262
+ */
2263
+ surveyQuestion: string;
2264
+ /**
2265
+ * Helper text to explain what the survey is for
2266
+ */
2267
+ starSurveyHelperText: string;
2268
+ /**
2269
+ * Helper text displayed below survey question after user select one star
2270
+ */
2271
+ starSurveyOneStarText: string;
2272
+ /**
2273
+ * Helper text displayed below survey question after user select two star
2274
+ */
2275
+ starSurveyTwoStarText: string;
2276
+ /**
2277
+ * Helper text displayed below survey question after user select three star
2278
+ */
2279
+ starSurveyThreeStarText: string;
2280
+ /**
2281
+ * Helper text displayed below survey question after user select four star
2282
+ */
2283
+ starSurveyFourStarText: string;
2284
+ /**
2285
+ * Helper text displayed below survey question after user select five star
2286
+ */
2287
+ starSurveyFiveStarText: string;
2288
+ /**
2289
+ * Aria Label for each individual star rating
2290
+ */
2291
+ starRatingAriaLabel: string;
2292
+ /**
2293
+ * Tags Survey Question
2294
+ */
2295
+ tagsSurveyQuestion: string;
2296
+ /**
2297
+ * Default text for free form text field inside tags survey
2298
+ */
2299
+ tagsSurveyTextFieldDefaultText: string;
2300
+ /**
2301
+ * Tags Survey helper text
2302
+ */
2303
+ tagsSurveyHelperText: string;
2304
+ /**
2305
+ * Confirm button label for survey
2306
+ */
2307
+ surveyConfirmButtonLabel: string;
2308
+ /**
2309
+ * Aria Label for cancel button
2310
+ */
2311
+ surveyCancelButtonAriaLabel: string;
2312
+ /**
2313
+ * Default text for free form text box
2314
+ */
2315
+ surveyTextboxDefaultText: string;
2316
+ /**
2317
+ * Corresponding texts to each call issue
2318
+ */
2319
+ surveyIssues: SurveyIssues;
2320
+ /**
2321
+ * Corresponding texts to each call category
2322
+ */
2323
+ SurveyIssuesHeadingStrings: SurveyIssuesHeadingStrings;
1636
2324
  /**
1637
2325
  * String for the dismiss control on the local and remote PIP on mobile
1638
2326
  */
@@ -1667,7 +2355,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
1667
2355
  *
1668
2356
  * @public
1669
2357
  */
1670
- export declare type CallControlOptions = (CommonCallControlOptions & {
2358
+ export declare type CallControlOptions = CommonCallControlOptions & {
1671
2359
  /**
1672
2360
  * Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
1673
2361
  * @defaultValue true
@@ -1676,7 +2364,7 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
1676
2364
  disabled: boolean;
1677
2365
  };
1678
2366
  legacyControlBarExperience?: boolean;
1679
- });
2367
+ };
1680
2368
 
1681
2369
  /**
1682
2370
  * Callback for {@link CallAdapterSubscribers} 'callEnded' event.
@@ -1737,7 +2425,7 @@ export declare type CallErrors = {
1737
2425
  *
1738
2426
  * @public
1739
2427
  */
1740
- export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'VideoEffectsFeature.startEffects' | 'Call.setConstraints';
2428
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteAllRemoteParticipants' | 'Call.setConstraints';
1741
2429
 
1742
2430
  /**
1743
2431
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1834,6 +2522,29 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
1834
2522
  isSpeaking?: boolean;
1835
2523
  /** Whether calling participant is raised hand */
1836
2524
  raisedHand?: RaisedHand;
2525
+ /**
2526
+ * Whether calling participant has reacted
2527
+ *
2528
+ * @beta
2529
+ * */
2530
+ reaction?: Reaction;
2531
+ };
2532
+
2533
+ /**
2534
+ * Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
2535
+ *
2536
+ * @remarks
2537
+ * This is currently in beta and only supports calling one Teams User.
2538
+ *
2539
+ * @example
2540
+ * ```
2541
+ * ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
2542
+ * ```
2543
+ *
2544
+ * @beta
2545
+ */
2546
+ export declare type CallParticipantsLocator = {
2547
+ participantIds: string[];
1837
2548
  };
1838
2549
 
1839
2550
  /**
@@ -1852,7 +2563,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
1852
2563
  */
1853
2564
  export declare interface CallProviderProps {
1854
2565
  children: React_2.ReactNode;
1855
- call?: Call;
2566
+ call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1856
2567
  }
1857
2568
 
1858
2569
  /**
@@ -1866,6 +2577,10 @@ export declare interface CallState {
1866
2577
  * Proxy of {@link @azure/communication-calling#Call.id}.
1867
2578
  */
1868
2579
  id: string;
2580
+ /**
2581
+ * Type of the call.
2582
+ */
2583
+ kind: CallKind;
1869
2584
  /**
1870
2585
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
1871
2586
  */
@@ -1936,6 +2651,13 @@ export declare interface CallState {
1936
2651
  * Proxy of {@link @azure/communication-calling#RaiseHandCallFeature}.
1937
2652
  */
1938
2653
  raiseHand: RaiseHandCallFeature;
2654
+ /**
2655
+ * Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
2656
+ * UI helper props receivedAt which indicates the timestamp when the message was received.
2657
+ *
2658
+ * @beta
2659
+ */
2660
+ localParticipantReaction?: ReactionState;
1939
2661
  /**
1940
2662
  * Stores the currently active screenshare participant's key. If there is no screenshare active, then this will be
1941
2663
  * undefined. You can use this key to access the remoteParticipant data in {@link CallState.remoteParticipants} object.
@@ -1964,10 +2686,49 @@ export declare interface CallState {
1964
2686
  * Proxy of {@link @azure/communication-calling#Call.role}.
1965
2687
  */
1966
2688
  role?: ParticipantRole;
2689
+ /**
2690
+ * Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
2691
+ */
2692
+ totalParticipantCount?: number;
2693
+ /**
2694
+ * Transfer state of call
2695
+ */
2696
+ transfer: TransferFeature;
1967
2697
  /**
1968
2698
  * Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
1969
2699
  */
1970
2700
  capabilitiesFeature?: CapabilitiesFeatureState;
2701
+ /**
2702
+ * Hide attendee names in teams meeting
2703
+ */
2704
+ hideAttendeeNames?: boolean;
2705
+ /**
2706
+ * Proxy of {@link @azure/communication-calling#SpotlightCallFeature}.
2707
+ */
2708
+ spotlight?: SpotlightCallFeatureState;
2709
+ }
2710
+
2711
+ /**
2712
+ * Represents the improvement suggestion part of call survey
2713
+ * @beta
2714
+ */
2715
+ export declare interface CallSurveyImprovementSuggestions {
2716
+ /**
2717
+ * Improvement suggestions for overall call
2718
+ */
2719
+ overall?: string;
2720
+ /**
2721
+ * Improvement suggestions for audio experience
2722
+ */
2723
+ audio?: string;
2724
+ /**
2725
+ * Improvement suggestions for video experience
2726
+ */
2727
+ video?: string;
2728
+ /**
2729
+ * Improvement suggestions for screenshare experience
2730
+ */
2731
+ screenshare?: string;
1971
2732
  }
1972
2733
 
1973
2734
  /**
@@ -1991,6 +2752,12 @@ export declare interface CallWithChatAdapterManagement {
1991
2752
  * @public
1992
2753
  */
1993
2754
  removeParticipant(userId: string): Promise<void>;
2755
+ /**
2756
+ * Remove a participant from the call.
2757
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
2758
+ * @beta
2759
+ */
2760
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
1994
2761
  /**
1995
2762
  * Join the call with microphone initially on/off.
1996
2763
  * @deprecated Use joinCall(options?:JoinCallOptions) instead.
@@ -2056,6 +2823,12 @@ export declare interface CallWithChatAdapterManagement {
2056
2823
  * @public
2057
2824
  */
2058
2825
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
2826
+ /**
2827
+ * Start the call.
2828
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
2829
+ * @beta
2830
+ */
2831
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
2059
2832
  /**
2060
2833
  * Start sharing the screen during a call.
2061
2834
  *
@@ -2080,6 +2853,13 @@ export declare interface CallWithChatAdapterManagement {
2080
2853
  * @public
2081
2854
  */
2082
2855
  lowerHand(): Promise<void>;
2856
+ /**
2857
+ * Send Reaction to ongoing meeting.
2858
+ * @param reaction - A value of type {@link @azure/communication-calling#Reaction}
2859
+ *
2860
+ * @beta
2861
+ */
2862
+ onReactionClicked(reaction: Reaction_2): Promise<void>;
2083
2863
  /**
2084
2864
  * Create the html view for a stream.
2085
2865
  *
@@ -2245,6 +3025,52 @@ export declare interface CallWithChatAdapterManagement {
2245
3025
  * @public
2246
3026
  */
2247
3027
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3028
+ /** @beta */
3029
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
3030
+ /** @beta */
3031
+ registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
3032
+ /** @beta */
3033
+ clearFileUploads: () => void;
3034
+ /** @beta */
3035
+ cancelFileUpload: (id: string) => void;
3036
+ /** @beta */
3037
+ updateFileUploadProgress: (id: string, progress: number) => void;
3038
+ /** @beta */
3039
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
3040
+ /** @beta */
3041
+ updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
3042
+ downloadAttachments: (options: {
3043
+ attachmentUrls: Record<string, string>;
3044
+ }) => Promise<AttachmentDownloadResult[]>;
3045
+ /**
3046
+ * Puts the Call in a Localhold.
3047
+ *
3048
+ * @beta
3049
+ */
3050
+ holdCall: () => Promise<void>;
3051
+ /**
3052
+ * Resumes the call from a LocalHold state.
3053
+ *
3054
+ * @beta
3055
+ */
3056
+ resumeCall: () => Promise<void>;
3057
+ /**
3058
+ * Adds a new Participant to the call.
3059
+ *
3060
+ * @beta
3061
+ */
3062
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
3063
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
3064
+ /**
3065
+ * send dtmf tone to another participant in the call in 1:1 calls
3066
+ *
3067
+ * @beta
3068
+ */
3069
+ sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
3070
+ /**
3071
+ * Continues into a call when the browser version is not supported.
3072
+ */
3073
+ allowUnsupportedBrowserVersion(): void;
2248
3074
  /**
2249
3075
  * Function to Start captions
2250
3076
  * @param options - options for start captions
@@ -2290,6 +3116,24 @@ export declare interface CallWithChatAdapterManagement {
2290
3116
  * @public
2291
3117
  */
2292
3118
  updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
3119
+ /**
3120
+ * Send the end of call survey result
3121
+ *
3122
+ * @beta
3123
+ */
3124
+ submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
3125
+ /**
3126
+ * Start spotlight
3127
+ *
3128
+ * @beta
3129
+ */
3130
+ startSpotlight(userId: string): Promise<void>;
3131
+ /**
3132
+ * Stop spotlight
3133
+ *
3134
+ * @beta
3135
+ */
3136
+ stopSpotlight(userId: string): Promise<void>;
2293
3137
  }
2294
3138
 
2295
3139
  /**
@@ -2374,6 +3218,22 @@ export declare interface CallWithChatAdapterUiState {
2374
3218
  * @public
2375
3219
  */
2376
3220
  page: CallCompositePage;
3221
+ /**
3222
+ * Files being uploaded by a user in the current thread.
3223
+ * Should be set to null once the upload is complete.
3224
+ * Array of type {@link FileUploadsUiState}
3225
+ *
3226
+ * @beta
3227
+ */
3228
+ fileUploads?: FileUploadsUiState;
3229
+ /**
3230
+ * State to track whether the end user has opted in to using a
3231
+ * out of date version of a supported browser. Allows the user
3232
+ * to start a call in this state.
3233
+ *
3234
+ * @beta
3235
+ */
3236
+ unsupportedBrowserVersionsAllowed?: boolean;
2377
3237
  }
2378
3238
 
2379
3239
  /**
@@ -2398,12 +3258,18 @@ export declare interface CallWithChatClientState {
2398
3258
  devices: DeviceManagerState;
2399
3259
  /** State of whether the active call is a Teams interop call */
2400
3260
  isTeamsCall: boolean;
3261
+ /** alternateCallerId for PSTN call */
3262
+ alternateCallerId?: string | undefined;
3263
+ /** Environment information for system adapter is made on */
3264
+ environmentInfo?: EnvironmentInfo;
2401
3265
  /** Default set of background images for background replacement effect */
2402
3266
  videoBackgroundImages?: VideoBackgroundImage[];
2403
3267
  /** Dependency to be injected for video background effects */
2404
3268
  onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
2405
3269
  /** State to track the selected video background effect */
2406
3270
  selectedVideoBackgroundEffect?: VideoBackgroundEffect;
3271
+ /** Hide attendee names in teams meeting */
3272
+ hideAttendeeNames?: boolean;
2407
3273
  }
2408
3274
 
2409
3275
  /**
@@ -2472,6 +3338,9 @@ export declare type CallWithChatCompositeIcons = {
2472
3338
  ParticipantItemScreenShareStart?: JSX.Element;
2473
3339
  VideoTileMicOff?: JSX.Element;
2474
3340
  LocalCameraSwitch?: JSX.Element;
3341
+ PeoplePaneAddPerson?: JSX.Element;
3342
+ PeoplePaneOpenDialpad?: JSX.Element;
3343
+ DialpadStartCall?: JSX.Element;
2475
3344
  DefaultCustomButton?: JSX.Element;
2476
3345
  EditBoxCancel?: JSX.Element;
2477
3346
  EditBoxSubmit?: JSX.Element;
@@ -2499,10 +3368,72 @@ export declare type CallWithChatCompositeOptions = {
2499
3368
  * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
2500
3369
  */
2501
3370
  callControls?: boolean | CallWithChatControlOptions;
3371
+ /**
3372
+ * Properties for configuring the File Sharing feature.
3373
+ * If undefined, file sharing feature will be disabled.
3374
+ * @beta
3375
+ */
3376
+ fileSharing?: FileSharingOptions;
3377
+ /**
3378
+ * Device permissions check options for your call.
3379
+ * Here you can choose what device permissions you prompt the user for,
3380
+ * as well as what device permissions must be accepted before starting a call.
3381
+ */
3382
+ deviceChecks?: DeviceCheckOptions;
3383
+ /**
3384
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
3385
+ * unable to grant your site the required permissions for the call.
3386
+ *
3387
+ * @example
3388
+ * ```ts
3389
+ * onPermissionsTroubleshootingClick: () =>
3390
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
3391
+ * ```
3392
+ *
3393
+ * @remarks
3394
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
3395
+ */
3396
+ onPermissionsTroubleshootingClick?: (permissionsState: {
3397
+ camera: PermissionState;
3398
+ microphone: PermissionState;
3399
+ }) => void;
3400
+ /**
3401
+ * Optional callback to supply users with further troubleshooting steps for network issues
3402
+ * experienced when connecting to a call.
3403
+ *
3404
+ * @example
3405
+ * ```ts
3406
+ * onNetworkingTroubleShootingClick?: () =>
3407
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
3408
+ * ```
3409
+ *
3410
+ * @remarks
3411
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
3412
+ */
3413
+ onNetworkingTroubleShootingClick?: () => void;
3414
+ /**
3415
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
3416
+ *
3417
+ * @example
3418
+ * ```ts
3419
+ * onBrowserTroubleShootingClick?: () =>
3420
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
3421
+ * ```
3422
+ *
3423
+ * @remarks
3424
+ * if this is not supplied, the composite will not show a unsupported browser page.
3425
+ */
3426
+ onEnvironmentInfoTroubleshootingClick?: () => void;
2502
3427
  /**
2503
3428
  * Remote participant video tile menu options
2504
3429
  */
2505
3430
  remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
3431
+ /**
3432
+ * Options for controlling the local video tile.
3433
+ *
3434
+ * @remarks if 'false' the local video tile will not be rendered.
3435
+ */
3436
+ localVideoTile?: boolean | LocalVideoTileOptions;
2506
3437
  /**
2507
3438
  * Options for controlling the starting layout of the composite's video gallery
2508
3439
  */
@@ -2512,6 +3443,78 @@ export declare type CallWithChatCompositeOptions = {
2512
3443
  */
2513
3444
  layout?: VideoGalleryLayout;
2514
3445
  };
3446
+ /**
3447
+ * Options for end of call survey
3448
+ */
3449
+ surveyOptions?: {
3450
+ /**
3451
+ * Disable call survey at the end of a call.
3452
+ * @defaultValue false
3453
+ */
3454
+ disableSurvey?: boolean;
3455
+ /**
3456
+ * Optional callback to add extra logic when survey is dismissed. For self-host only
3457
+ */
3458
+ onSurveyDismissed?: () => void;
3459
+ /**
3460
+ * Optional callback to handle survey data including free form text response
3461
+ * Note that free form text response survey option is only going to be enabled when this callback is provided
3462
+ * User will need to handle all free form text response on their own
3463
+ */
3464
+ onSurveySubmitted?: (callId: string, surveyId: string,
3465
+ /**
3466
+ * This is the survey results containing star survey data and API tag survey data.
3467
+ * This part of the result will always be sent to the calling sdk
3468
+ * This callback provides user with the ability to gain access to survey data
3469
+ */
3470
+ submittedSurvey: CallSurvey,
3471
+ /**
3472
+ * This is the survey results containing free form text
3473
+ * This part of the result will not be handled by composites
3474
+ * User will need to collect and handle this information 100% on their own
3475
+ * Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
3476
+ */
3477
+ improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
3478
+ };
3479
+ /**
3480
+ * Options for setting additional customizations related to personalized branding.
3481
+ */
3482
+ branding?: {
3483
+ /**
3484
+ * Logo displayed on the configuration page.
3485
+ */
3486
+ logo?: {
3487
+ /**
3488
+ * URL for the logo image.
3489
+ *
3490
+ * @remarks
3491
+ * Recommended size is 80x80 pixels.
3492
+ */
3493
+ url: string;
3494
+ /**
3495
+ * Alt text for the logo image.
3496
+ */
3497
+ alt?: string;
3498
+ /**
3499
+ * The logo can be displayed as a circle.
3500
+ *
3501
+ * @defaultValue 'unset'
3502
+ */
3503
+ shape?: 'unset' | 'circle';
3504
+ };
3505
+ /**
3506
+ * Background image displayed on the configuration page.
3507
+ */
3508
+ backgroundImage?: {
3509
+ /**
3510
+ * URL for the background image.
3511
+ *
3512
+ * @remarks
3513
+ * Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
3514
+ */
3515
+ url: string;
3516
+ };
3517
+ };
2515
3518
  };
2516
3519
 
2517
3520
  /**
@@ -2663,6 +3666,10 @@ export declare interface CallWithChatCompositeStrings {
2663
3666
  * Label for button to copy invite link
2664
3667
  */
2665
3668
  copyInviteLinkButtonLabel: string;
3669
+ /**
3670
+ * Label for button to open dialpad
3671
+ */
3672
+ openDialpadButtonLabel: string;
2666
3673
  /**
2667
3674
  * Label for SidePaneHeader dismiss button
2668
3675
  */
@@ -2675,6 +3682,34 @@ export declare interface CallWithChatCompositeStrings {
2675
3682
  * Aria label string for return to call back button
2676
3683
  */
2677
3684
  returnToCallButtonAriaLabel?: string;
3685
+ /**
3686
+ * Label for add people dropdown
3687
+ */
3688
+ peoplePaneAddPeopleButtonLabel: string;
3689
+ /**
3690
+ * Label for button to start a call
3691
+ */
3692
+ dialpadStartCallButtonLabel: string;
3693
+ /**
3694
+ * Title for dialpad Modal
3695
+ */
3696
+ dialpadModalTitle: string;
3697
+ /**
3698
+ * Aria Label for dialpad Modal
3699
+ */
3700
+ dialpadModalAriaLabel: string;
3701
+ /**
3702
+ * Aria Label for dialpad Modal close button
3703
+ */
3704
+ dialpadCloseModalButtonAriaLabel: string;
3705
+ /**
3706
+ * Placeholder text for dtmf dialpad
3707
+ */
3708
+ dtmfDialpadPlaceholderText: string;
3709
+ /**
3710
+ * Label for the button to open dtmf dialpad
3711
+ */
3712
+ openDtmfDialpadLabel: string;
2678
3713
  /**
2679
3714
  * aria label for when the invite link has been actioned
2680
3715
  */
@@ -2691,7 +3726,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2691
3726
  * Show or hide the chat button in the call-with-chat composite control bar.
2692
3727
  * @defaultValue true
2693
3728
  */
2694
- chatButton?: boolean;
3729
+ chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3730
+ disabled: boolean;
3731
+ };
2695
3732
  }
2696
3733
 
2697
3734
  /**
@@ -2701,6 +3738,35 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2701
3738
  */
2702
3739
  export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2703
3740
 
3741
+ /**
3742
+ * @beta
3743
+ *
3744
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3745
+ * by their browsers settings.
3746
+ */
3747
+ export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
3748
+
3749
+ /**
3750
+ * @beta
3751
+ * Props for CameraAndMicrophoneSitePermissions component.
3752
+ */
3753
+ export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
3754
+ /** Icon name for the camera icon */
3755
+ cameraIconName?: string;
3756
+ /** Icon name for the microphone icon */
3757
+ microphoneIconName?: string;
3758
+ /** Icon name for the central icon between the camera and microphone icons */
3759
+ connectorIconName?: string;
3760
+ /** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
3761
+ strings?: CameraAndMicrophoneSitePermissionsStrings;
3762
+ }
3763
+
3764
+ /**
3765
+ * @beta
3766
+ * Strings for CameraAndMicrophoneSitePermissions component.
3767
+ */
3768
+ export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
3769
+
2704
3770
  /**
2705
3771
  * A button to turn camera on / off.
2706
3772
  *
@@ -2857,6 +3923,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
2857
3923
  menuStyles?: Partial<CameraButtonContextualMenuStyles>;
2858
3924
  }
2859
3925
 
3926
+ /**
3927
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3928
+ * by their browsers settings.
3929
+ *
3930
+ * @beta
3931
+ */
3932
+ export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
3933
+
3934
+ /**
3935
+ * @beta
3936
+ * Props for CameraSitePermissions component.
3937
+ */
3938
+ export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
3939
+ /** Icon name for the camera icon */
3940
+ cameraIconName?: string;
3941
+ /** Strings for use with the {@link CameraSitePermissions} */
3942
+ strings?: CameraSitePermissionsStrings;
3943
+ }
3944
+
3945
+ /**
3946
+ * @beta
3947
+ * Strings for CameraSitePermissions component.
3948
+ */
3949
+ export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
3950
+
2860
3951
  /**
2861
3952
  * @public
2862
3953
  * Callback function run when a message edit is cancelled.
@@ -3062,7 +4153,7 @@ export declare type CaptionsReceivedListener = (event: {
3062
4153
  *
3063
4154
  * @public
3064
4155
  */
3065
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
4156
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers & FileUploadAdapter;
3066
4157
 
3067
4158
  /**
3068
4159
  * {@link ChatAdapter} state.
@@ -3186,7 +4277,9 @@ export declare interface ChatAdapterThreadManagement {
3186
4277
  /**
3187
4278
  * Update a message content.
3188
4279
  */
3189
- updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
4280
+ updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
4281
+ attachmentMetadata?: AttachmentMetadata[];
4282
+ }): Promise<void>;
3190
4283
  /**
3191
4284
  * Delete a message in the thread.
3192
4285
  */
@@ -3199,6 +4292,9 @@ export declare interface ChatAdapterThreadManagement {
3199
4292
  *
3200
4293
  */
3201
4294
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
4295
+ downloadAttachments: (options: {
4296
+ attachmentUrls: Record<string, string>;
4297
+ }) => Promise<AttachmentDownloadResult[]>;
3202
4298
  }
3203
4299
 
3204
4300
  /**
@@ -3208,8 +4304,21 @@ export declare interface ChatAdapterThreadManagement {
3208
4304
  */
3209
4305
  export declare type ChatAdapterUiState = {
3210
4306
  error?: Error;
4307
+ /**
4308
+ * Files being uploaded by a user in the current thread.
4309
+ * Should be set to null once the upload is complete.
4310
+ * Array of type {@link FileUploadsUiState}
4311
+ * @beta
4312
+ */
4313
+ fileUploads?: FileUploadsUiState;
3211
4314
  };
3212
4315
 
4316
+ /**
4317
+ * Represents the type of attachment
4318
+ * @beta
4319
+ */
4320
+ export declare type ChatAttachmentType = 'unknown' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | /* @conditional-compile-remove(file-sharing) */ 'file';
4321
+
3213
4322
  /**
3214
4323
  * Common props for selectors for {@link ChatClientState}.
3215
4324
  *
@@ -3310,6 +4419,7 @@ export declare type ChatCompositeIcons = {
3310
4419
  ParticipantItemOptionsHovered?: JSX.Element;
3311
4420
  SendBoxSend?: JSX.Element;
3312
4421
  SendBoxSendHovered?: JSX.Element;
4422
+ SendBoxAttachFile?: JSX.Element;
3313
4423
  };
3314
4424
 
3315
4425
  /**
@@ -3324,6 +4434,13 @@ export declare type ChatCompositeOptions = {
3324
4434
  * @defaultValue true
3325
4435
  */
3326
4436
  errorBar?: boolean;
4437
+ /**
4438
+ * Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
4439
+ * @defaultValue false
4440
+ *
4441
+ * @beta
4442
+ */
4443
+ participantPane?: boolean;
3327
4444
  /**
3328
4445
  * Show or hide the topic at the top of the chat. Hidden if set to `false`
3329
4446
  * @defaultValue true
@@ -3334,6 +4451,12 @@ export declare type ChatCompositeOptions = {
3334
4451
  * When undefined nothing has focus on render
3335
4452
  */
3336
4453
  autoFocus?: 'sendBoxTextField';
4454
+ /**
4455
+ * Properties for configuring the File Sharing feature.
4456
+ * If undefined, file sharing feature will be disabled.
4457
+ * @beta
4458
+ */
4459
+ fileSharing?: FileSharingOptions;
3337
4460
  };
3338
4461
 
3339
4462
  /**
@@ -3361,6 +4484,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
3361
4484
  * Flags to enable/disable visual elements of the {@link ChatComposite}.
3362
4485
  */
3363
4486
  options?: ChatCompositeOptions;
4487
+ /**
4488
+ * Optimizes the composite form factor for either desktop or mobile.
4489
+ * @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
4490
+ * @defaultValue 'desktop'
4491
+ */
4492
+ formFactor?: 'desktop' | 'mobile';
3364
4493
  }
3365
4494
 
3366
4495
  /**
@@ -3375,6 +4504,10 @@ export declare interface ChatCompositeStrings {
3375
4504
  * Chat list header text
3376
4505
  */
3377
4506
  chatListHeader: string;
4507
+ /**
4508
+ * Upload File Button text
4509
+ */
4510
+ uploadFile: string;
3378
4511
  }
3379
4512
 
3380
4513
  /**
@@ -3423,7 +4556,7 @@ export declare type ChatErrors = {
3423
4556
  *
3424
4557
  * @public
3425
4558
  */
3426
- export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | 'ChatThreadClient.updateTopic';
4559
+ export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | /* @conditional-compile-remove(chat-beta-sdk) */ 'ChatThreadClient.updateProperties' | 'ChatThreadClient.updateTopic';
3427
4560
 
3428
4561
  /**
3429
4562
  * Object containing all the handlers required for chat components.
@@ -3440,7 +4573,10 @@ export declare type ChatHandlers = {
3440
4573
  onRemoveParticipant: (userId: string) => Promise<void>;
3441
4574
  updateThreadTopicName: (topicName: string) => Promise<void>;
3442
4575
  onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
3443
- onUpdateMessage: (messageId: string, content: string) => Promise<void>;
4576
+ onUpdateMessage: (messageId: string, content: string, options?: {
4577
+ metadata?: Record<string, string>;
4578
+ attachmentMetadata?: AttachmentMetadata[];
4579
+ }) => Promise<void>;
3444
4580
  onDeleteMessage: (messageId: string) => Promise<void>;
3445
4581
  };
3446
4582
 
@@ -3467,6 +4603,18 @@ export declare interface ChatMessage extends MessageCommon {
3467
4603
  * {@link @azure/communication-chat#ChatMessage.metadata}
3468
4604
  */
3469
4605
  metadata?: Record<string, string>;
4606
+ /**
4607
+ * @beta
4608
+ * A list of file attachments for the message.
4609
+ * {@link FileMetadata}
4610
+ */
4611
+ files?: FileMetadata[];
4612
+ /**
4613
+ * @beta
4614
+ * A list of inline images embedded in the message.
4615
+ * {@link InlineImageMetadata}
4616
+ */
4617
+ inlineImages?: InlineImageMetadata[];
3470
4618
  }
3471
4619
 
3472
4620
  /**
@@ -3480,6 +4628,7 @@ export declare interface ChatMessage extends MessageCommon {
3480
4628
  export declare type ChatMessageWithStatus = ChatMessage_2 & {
3481
4629
  clientMessageId?: string;
3482
4630
  status: MessageStatus;
4631
+ policyViolation?: boolean;
3483
4632
  };
3484
4633
 
3485
4634
  /**
@@ -3499,6 +4648,26 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
3499
4648
  */
3500
4649
  export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
3501
4650
 
4651
+ /**
4652
+ * Custom Fluent theme palette used by chat related components in this library.
4653
+ *
4654
+ * @beta
4655
+ */
4656
+ export declare interface ChatTheme {
4657
+ /**
4658
+ * Custom Fluent theme palette used by chat related components in this library.
4659
+ *
4660
+ * @beta
4661
+ */
4662
+ chatPalette: {
4663
+ modalOverlayBlack: string;
4664
+ modalTitleWhite: string;
4665
+ modalButtonBackground: string;
4666
+ modalButtonBackgroundHover: string;
4667
+ modalButtonBackgroundActive: string;
4668
+ };
4669
+ }
4670
+
3502
4671
  /**
3503
4672
  * A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
3504
4673
  *
@@ -3624,6 +4793,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
3624
4793
  * @public
3625
4794
  */
3626
4795
  startCall(participants: string[], options?: StartCallOptions): void;
4796
+ /**
4797
+ * Start the call.
4798
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
4799
+ * @beta
4800
+ */
4801
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
3627
4802
  }
3628
4803
 
3629
4804
  /**
@@ -3639,6 +4814,12 @@ export declare type CommonCallAdapterOptions = {
3639
4814
  videoBackgroundImages?: VideoBackgroundImage[];
3640
4815
  onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
3641
4816
  };
4817
+ /**
4818
+ * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
4819
+ * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
4820
+ * and would not be updated again within the lifecycle of adapter.
4821
+ */
4822
+ onFetchProfile?: OnFetchProfileCallback;
3642
4823
  /**
3643
4824
  * Sounds to use for calling events
3644
4825
  */
@@ -3665,7 +4846,9 @@ export declare type CommonCallControlOptions = {
3665
4846
  * Show or Hide Camera Button during a call
3666
4847
  * @defaultValue true
3667
4848
  */
3668
- cameraButton?: boolean;
4849
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4850
+ disabled: boolean;
4851
+ };
3669
4852
  /**
3670
4853
  * Show or Hide EndCall button during a call.
3671
4854
  * @defaultValue true
@@ -3675,12 +4858,16 @@ export declare type CommonCallControlOptions = {
3675
4858
  * Show or Hide Microphone button during a call.
3676
4859
  * @defaultValue true
3677
4860
  */
3678
- microphoneButton?: boolean;
4861
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4862
+ disabled: boolean;
4863
+ };
3679
4864
  /**
3680
4865
  * Show or Hide Devices button during a call.
3681
4866
  * @defaultValue true
3682
4867
  */
3683
- devicesButton?: boolean;
4868
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4869
+ disabled: boolean;
4870
+ };
3684
4871
  /**
3685
4872
  * Show, Hide or Disable participants button during a call.
3686
4873
  * @defaultValue true
@@ -3707,15 +4894,27 @@ export declare type CommonCallControlOptions = {
3707
4894
  raiseHandButton?: boolean | {
3708
4895
  disabled: boolean;
3709
4896
  };
4897
+ /**
4898
+ * Show, Hide or Disable the reaction button during a call.
4899
+ * @defaultValue true
4900
+ */
4901
+ reactionButton?: boolean | {
4902
+ disabled: boolean;
4903
+ };
3710
4904
  /**
3711
4905
  * Inject custom buttons in the call controls.
3712
4906
  */
3713
4907
  onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
4908
+ holdButton?: boolean | {
4909
+ disabled: boolean;
4910
+ };
3714
4911
  /**
3715
4912
  * Show or hide the people button in the composite control bar.
3716
4913
  * @defaultValue true
3717
4914
  */
3718
- peopleButton?: boolean;
4915
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4916
+ disabled: boolean;
4917
+ };
3719
4918
  };
3720
4919
 
3721
4920
  /**
@@ -3740,6 +4939,10 @@ export declare interface CommonCallingHandlers {
3740
4939
  onRaiseHand: () => Promise<void>;
3741
4940
  onLowerHand: () => Promise<void>;
3742
4941
  onToggleRaiseHand: () => Promise<void>;
4942
+ onReactionClicked: (reaction: Reaction_2) => Promise<void>;
4943
+ onToggleHold: () => Promise<void>;
4944
+ onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
4945
+ onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
3743
4946
  onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3744
4947
  onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3745
4948
  /**
@@ -3749,7 +4952,10 @@ export declare interface CommonCallingHandlers {
3749
4952
  onDisposeLocalStreamView: () => Promise<void>;
3750
4953
  onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
3751
4954
  onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
4955
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
3752
4956
  onRemoveParticipant(userId: string): Promise<void>;
4957
+ onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
4958
+ askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
3753
4959
  onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
3754
4960
  onRemoveVideoBackgroundEffects: () => Promise<void>;
3755
4961
  onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
@@ -3758,6 +4964,9 @@ export declare interface CommonCallingHandlers {
3758
4964
  onStopCaptions: () => Promise<void>;
3759
4965
  onSetSpokenLanguage: (language: string) => Promise<void>;
3760
4966
  onSetCaptionLanguage: (language: string) => Promise<void>;
4967
+ onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
4968
+ onStartSpotlight: (userId: string) => Promise<void>;
4969
+ onStopSpotlight: (userId: string) => Promise<void>;
3761
4970
  }
3762
4971
 
3763
4972
  /**
@@ -3769,6 +4978,39 @@ export declare type CommonProperties<A, B> = {
3769
4978
  [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
3770
4979
  }[keyof A & keyof B];
3771
4980
 
4981
+ /**
4982
+ * @beta
4983
+ * Props for SitePermissions components.
4984
+ */
4985
+ export declare interface CommonSitePermissionsProps {
4986
+ /**
4987
+ * Name of application calling experience is in.
4988
+ */
4989
+ appName: string;
4990
+ /**
4991
+ * Kind of the Site Permissions component.
4992
+ */
4993
+ kind: 'request' | 'denied' | 'check';
4994
+ /**
4995
+ * Type of the browser used, the Site permission component will show different guidance text based on the browser type
4996
+ */
4997
+ browserHint?: 'safari' | 'unset';
4998
+ /**
4999
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
5000
+ * If this is not provided the button will not be shown.
5001
+ */
5002
+ onTroubleshootingClick?: () => void;
5003
+ /**
5004
+ * Action that is taken when the user clicks the continue anyway button.
5005
+ * If this is not provided the button will not be shown.
5006
+ */
5007
+ onContinueAnywayClick?: () => void;
5008
+ /**
5009
+ * Styles for SitePermissions component.
5010
+ */
5011
+ styles?: SitePermissionsStyles;
5012
+ }
5013
+
3772
5014
  /**
3773
5015
  * A Chat or Calling participant's state, as reflected in the UI.
3774
5016
  *
@@ -3945,6 +5187,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
3945
5187
  export declare interface ComponentLocale {
3946
5188
  /** Strings for components */
3947
5189
  strings: ComponentStrings;
5190
+ /**
5191
+ * Optional function to provide customized date format.
5192
+ * @beta
5193
+ */
5194
+ onDisplayDateTimeString?: (messageDate: Date) => string;
3948
5195
  }
3949
5196
 
3950
5197
  /**
@@ -3986,20 +5233,70 @@ export declare interface ComponentStrings {
3986
5233
  screenShareButton: ScreenShareButtonStrings;
3987
5234
  /** Strings for RaiseHandButton */
3988
5235
  raiseHandButton: RaiseHandButtonStrings;
5236
+ /** Strings for ReactionButton */
5237
+ reactionButton: ReactionButtonStrings;
3989
5238
  /** Strings for TypingIndicator */
3990
5239
  typingIndicator: TypingIndicatorStrings;
3991
5240
  /** Strings for SendBox */
3992
5241
  sendBox: SendBoxStrings;
5242
+ /** Strings for MentionPopover */
5243
+ mentionPopover: MentionPopoverStrings;
5244
+ /** Strings for ImageGallery */
5245
+ imageGallery: ImageGalleryStrings;
3993
5246
  /** Strings for MessageStatusIndicator */
3994
5247
  messageStatusIndicator: MessageStatusIndicatorStrings;
3995
5248
  /** Strings for ErroBar */
3996
5249
  errorBar: ErrorBarStrings;
3997
5250
  /** Strings for VideoGallery */
3998
5251
  videoGallery: VideoGalleryStrings;
5252
+ /** Strings for Dialpad */
5253
+ dialpad: DialpadStrings;
5254
+ /** Strings for VideoTile */
5255
+ videoTile: VideoTileStrings;
5256
+ /** Strings for HoldButton */
5257
+ holdButton: HoldButtonStrings;
5258
+ /** Strings for a site's permission request prompt */
5259
+ CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
5260
+ /** Strings for a site's permission request prompt */
5261
+ CameraSitePermissionsRequest: SitePermissionsStrings;
5262
+ /** Strings for a site's permission request prompt */
5263
+ MicrophoneSitePermissionsRequest: SitePermissionsStrings;
5264
+ /** Strings for a site's permission generic checking prompt */
5265
+ CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
5266
+ /** Strings for a site's permission generic checking prompt */
5267
+ CameraSitePermissionsCheck: SitePermissionsStrings;
5268
+ /** Strings for a site's permission generic checking prompt */
5269
+ MicrophoneSitePermissionsCheck: SitePermissionsStrings;
5270
+ /** Strings for a site's permission denied prompt */
5271
+ CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
5272
+ /** Strings for a site's permission denied prompt for safari browsers*/
5273
+ CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
5274
+ /** Strings for a site's permission denied prompt */
5275
+ CameraSitePermissionsDenied: SitePermissionsStrings;
5276
+ /** Strings for a site's permission denied prompt */
5277
+ MicrophoneSitePermissionsDenied: SitePermissionsStrings;
5278
+ /** Strings for a site's permission denied prompt for safari browsers*/
5279
+ CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
5280
+ /** Strings for a site's permission denied prompt for safari browsers*/
5281
+ MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
5282
+ /** Strings for unsupported browser UI */
5283
+ UnsupportedBrowser: UnsupportedBrowserStrings;
5284
+ /** Strings for unsupported browser version UI */
5285
+ UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
5286
+ /** Strings for unsupported browser version UI */
5287
+ UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
5288
+ /** Strings for BrowserPemissionDenied */
5289
+ BrowserPermissionDenied: BrowserPermissionDeniedStrings;
5290
+ /** Strings for BrowserPemissionDeniedIOS */
5291
+ BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
3999
5292
  /**
4000
5293
  * Strings for the VerticalGallery.
4001
5294
  */
4002
5295
  verticalGallery: VerticalGalleryStrings;
5296
+ /** Strings for the participant list component */
5297
+ ParticipantList: ParticipantListStrings;
5298
+ /** Strings for the attendee role */
5299
+ AttendeeRole: string;
4003
5300
  }
4004
5301
 
4005
5302
  /**
@@ -4362,7 +5659,7 @@ export declare interface ControlBarProps {
4362
5659
  *
4363
5660
  * @public
4364
5661
  */
4365
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
5662
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4366
5663
 
4367
5664
  /**
4368
5665
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -4372,7 +5669,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
4372
5669
  *
4373
5670
  * @public
4374
5671
  */
4375
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, /* @conditional-compile-remove(video-background-effects) */ options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
5672
+ export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
4376
5673
 
4377
5674
  /**
4378
5675
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -4380,7 +5677,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
4380
5677
  *
4381
5678
  * @public
4382
5679
  */
4383
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
5680
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
4384
5681
 
4385
5682
  /**
4386
5683
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -4391,7 +5688,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
4391
5688
  *
4392
5689
  * @public
4393
5690
  */
4394
- export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
5691
+ export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions, chatAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4395
5692
 
4396
5693
  /**
4397
5694
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -4410,14 +5707,16 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4410
5707
  *
4411
5708
  * @public
4412
5709
  */
4413
- export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
5710
+ export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
5711
+ credential?: CommunicationTokenCredential;
5712
+ }): Promise<ChatAdapter>;
4414
5713
 
4415
5714
  /**
4416
5715
  * Type of {@link createDefaultCallingHandlers}.
4417
5716
  *
4418
5717
  * @public
4419
5718
  */
4420
- export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, /* @conditional-compile-remove(video-background-effects) */ options?: CallingHandlersOptions) => CallingHandlers;
5719
+ export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, options?: CallingHandlersOptions) => CallingHandlers;
4421
5720
 
4422
5721
  /**
4423
5722
  * Create the default implementation of {@link CallingHandlers} for teams call.
@@ -4441,6 +5740,18 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
4441
5740
  */
4442
5741
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
4443
5742
 
5743
+ /**
5744
+ * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
5745
+ *
5746
+ * Useful when implementing a custom component that utilizes the providers
5747
+ * exported from this library.
5748
+ *
5749
+ * @beta
5750
+ */
5751
+ export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall, options?: {
5752
+ onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
5753
+ }) => never | TeamsCallingHandlers;
5754
+
4444
5755
  /**
4445
5756
  * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
4446
5757
  * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
@@ -4466,6 +5777,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
4466
5777
  */
4467
5778
  export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
4468
5779
 
5780
+ /**
5781
+ * @beta
5782
+ */
5783
+ export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
5784
+
5785
+ /**
5786
+ * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
5787
+ *
5788
+ * Useful if you want to keep a reference to {@link StatefulCallClient}.
5789
+ * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
5790
+ *
5791
+ * @beta
5792
+ */
5793
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
5794
+
4469
5795
  /**
4470
5796
  * Object returned after creating a local or remote VideoStream.
4471
5797
  * This contains helper functions to manipulate the render of the stream.
@@ -4516,6 +5842,13 @@ export declare type CustomAvatarOptions = {
4516
5842
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
4517
5843
  /** Display name to be used in Persona */
4518
5844
  text?: string;
5845
+ /** State for the participant to be displayed in the defaultPlaceHolder */
5846
+ participantState?: ParticipantState;
5847
+ /**
5848
+ * If true, show the special coin for unknown persona.
5849
+ * It has '?' in place of initials, with static font and background colors
5850
+ */
5851
+ showUnknownPersonaCoin?: boolean;
4519
5852
  };
4520
5853
 
4521
5854
  /**
@@ -4641,7 +5974,19 @@ export declare interface CustomMessage extends MessageCommon {
4641
5974
  *
4642
5975
  * @public
4643
5976
  */
4644
- export declare const darkTheme: PartialTheme & CallingTheme;
5977
+ export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
5978
+
5979
+ /**
5980
+ * @beta
5981
+ * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
5982
+ */
5983
+ export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
5984
+
5985
+ /**
5986
+ * @beta
5987
+ * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
5988
+ */
5989
+ export declare type DeclarativeIncomingCall = IncomingCall;
4645
5990
 
4646
5991
  /**
4647
5992
  * The default set of icons that are available to use in the UI components.
@@ -4659,12 +6004,17 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4659
6004
  ControlButtonMicOn: React_2.JSX.Element;
4660
6005
  ControlButtonOptions: React_2.JSX.Element;
4661
6006
  ControlButtonParticipants: React_2.JSX.Element;
6007
+ ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
4662
6008
  ControlButtonScreenShareStart: React_2.JSX.Element;
4663
6009
  ControlButtonScreenShareStop: React_2.JSX.Element;
4664
6010
  ControlButtonRaiseHand: React_2.JSX.Element;
4665
6011
  ControlButtonLowerHand: React_2.JSX.Element;
4666
6012
  RaiseHandContextualMenuItem: React_2.JSX.Element;
4667
6013
  LowerHandContextualMenuItem: React_2.JSX.Element;
6014
+ ReactionButtonIcon: React_2.JSX.Element;
6015
+ CancelFileUpload: React_2.JSX.Element;
6016
+ DownloadFile: React_2.JSX.Element;
6017
+ DataLossPreventionProhibited: React_2.JSX.Element;
4668
6018
  EditBoxCancel: React_2.JSX.Element;
4669
6019
  EditBoxSubmit: React_2.JSX.Element;
4670
6020
  ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
@@ -4697,9 +6047,20 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4697
6047
  ParticipantItemOptions: React_2.JSX.Element;
4698
6048
  ParticipantItemOptionsHovered: React_2.JSX.Element;
4699
6049
  ParticipantItemScreenShareStart: React_2.JSX.Element;
6050
+ HoldCallContextualMenuItem: React_2.JSX.Element;
6051
+ HoldCallButton: React_2.JSX.Element;
6052
+ ResumeCall: React_2.JSX.Element;
4700
6053
  SendBoxSend: React_2.JSX.Element;
4701
6054
  SendBoxSendHovered: React_2.JSX.Element;
4702
6055
  VideoTileMicOff: React_2.JSX.Element;
6056
+ DialpadBackspace: React_2.JSX.Element;
6057
+ SitePermissionsSparkle: React_2.JSX.Element;
6058
+ SitePermissionCamera: React_2.JSX.Element;
6059
+ SitePermissionMic: React_2.JSX.Element;
6060
+ SitePermissionCameraDenied: React_2.JSX.Element;
6061
+ SitePermissionMicDenied: React_2.JSX.Element;
6062
+ UnsupportedEnvironmentWarning: React_2.JSX.Element;
6063
+ BrowserPermissionDeniedError: React_2.JSX.Element;
4703
6064
  VideoTilePinned: React_2.JSX.Element;
4704
6065
  VideoTileMoreOptions: React_2.JSX.Element;
4705
6066
  VideoTileScaleFit: React_2.JSX.Element;
@@ -4722,6 +6083,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4722
6083
  ContextMenuCameraIcon: React_2.JSX.Element;
4723
6084
  ContextMenuMicIcon: React_2.JSX.Element;
4724
6085
  ContextMenuSpeakerIcon: React_2.JSX.Element;
6086
+ SurveyStarIcon: React_2.JSX.Element;
6087
+ SurveyStarIconFilled: React_2.JSX.Element;
4725
6088
  };
4726
6089
 
4727
6090
  /**
@@ -4742,6 +6105,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4742
6105
  ParticipantItemOptionsHovered: JSX.Element;
4743
6106
  SendBoxSend: JSX.Element;
4744
6107
  SendBoxSendHovered: JSX.Element;
6108
+ SendBoxAttachFile?: JSX.Element | undefined;
4745
6109
  ControlBarPeopleButton?: JSX.Element | undefined;
4746
6110
  ControlButtonCameraOff: JSX.Element;
4747
6111
  ControlButtonCameraOn: JSX.Element;
@@ -4757,7 +6121,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4757
6121
  ControlButtonRaiseHand: JSX.Element;
4758
6122
  ControlButtonLowerHand: JSX.Element;
4759
6123
  RaiseHandContextualMenuItem: JSX.Element;
6124
+ ReactionContextualMenuItem?: JSX.Element | undefined;
4760
6125
  LowerHandContextualMenuItem: JSX.Element;
6126
+ ReactionButtonIcon: JSX.Element;
4761
6127
  ErrorBarCallCameraAccessDenied: JSX.Element;
4762
6128
  ErrorBarCallCameraAlreadyInUse: JSX.Element;
4763
6129
  ErrorBarCallLocalVideoFreeze: JSX.Element;
@@ -4796,6 +6162,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4796
6162
  ParticipantItemScreenShareStart: JSX.Element;
4797
6163
  VideoTileMicOff: JSX.Element;
4798
6164
  LocalCameraSwitch?: JSX.Element | undefined;
6165
+ PeoplePaneAddPerson?: JSX.Element | undefined;
6166
+ PeoplePaneOpenDialpad?: JSX.Element | undefined;
6167
+ DialpadStartCall?: JSX.Element | undefined;
4799
6168
  NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
4800
6169
  BlurVideoBackground?: JSX.Element | undefined;
4801
6170
  RemoveVideoBackgroundEffect?: JSX.Element | undefined;
@@ -4816,11 +6185,25 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4816
6185
  MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
4817
6186
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
4818
6187
  MoreDrawerSpeakers?: JSX.Element | undefined;
4819
- SendBoxAttachFile?: JSX.Element | undefined;
4820
6188
  ChatMessageOptions: React_2.JSX.Element;
6189
+ ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
6190
+ CancelFileUpload: React_2.JSX.Element;
6191
+ DownloadFile: React_2.JSX.Element;
6192
+ DataLossPreventionProhibited: React_2.JSX.Element;
4821
6193
  ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
4822
6194
  ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
4823
6195
  MessageResend: React_2.JSX.Element;
6196
+ HoldCallContextualMenuItem: React_2.JSX.Element;
6197
+ HoldCallButton: React_2.JSX.Element;
6198
+ ResumeCall: React_2.JSX.Element;
6199
+ DialpadBackspace: React_2.JSX.Element;
6200
+ SitePermissionsSparkle: React_2.JSX.Element;
6201
+ SitePermissionCamera: React_2.JSX.Element;
6202
+ SitePermissionMic: React_2.JSX.Element;
6203
+ SitePermissionCameraDenied: React_2.JSX.Element;
6204
+ SitePermissionMicDenied: React_2.JSX.Element;
6205
+ UnsupportedEnvironmentWarning: React_2.JSX.Element;
6206
+ BrowserPermissionDeniedError: React_2.JSX.Element;
4824
6207
  VideoTilePinned: React_2.JSX.Element;
4825
6208
  VideoTileMoreOptions: React_2.JSX.Element;
4826
6209
  VideoTileScaleFit: React_2.JSX.Element;
@@ -4843,8 +6226,33 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4843
6226
  ContextMenuCameraIcon: React_2.JSX.Element;
4844
6227
  ContextMenuMicIcon: React_2.JSX.Element;
4845
6228
  ContextMenuSpeakerIcon: React_2.JSX.Element;
6229
+ SurveyStarIcon: React_2.JSX.Element;
6230
+ SurveyStarIconFilled: React_2.JSX.Element;
4846
6231
  };
4847
6232
 
6233
+ /**
6234
+ * Device Checks.
6235
+ * Choose whether or not to block starting a call depending on camera and microphone permission options.
6236
+ *
6237
+ * @beta
6238
+ */
6239
+ export declare interface DeviceCheckOptions {
6240
+ /**
6241
+ * Camera Permission prompts for your call.
6242
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
6243
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
6244
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
6245
+ */
6246
+ camera: 'required' | 'optional' | 'doNotPrompt';
6247
+ /**
6248
+ * Microphone permission prompts for your call.
6249
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
6250
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
6251
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
6252
+ */
6253
+ microphone: 'required' | 'optional' | 'doNotPrompt';
6254
+ }
6255
+
4848
6256
  /**
4849
6257
  * This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
4850
6258
  * optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
@@ -5063,6 +6471,87 @@ export declare interface DiagnosticsCallFeatureState {
5063
6471
  media: MediaDiagnosticsState;
5064
6472
  }
5065
6473
 
6474
+ /**
6475
+ * A component to allow users to enter phone number through clicking on dialpad/using keyboard
6476
+ * It will return empty component for stable builds
6477
+ *
6478
+ * @beta
6479
+ */
6480
+ export declare const Dialpad: (props: DialpadProps) => JSX.Element;
6481
+
6482
+ /**
6483
+ * Props for {@link Dialpad} component.
6484
+ *
6485
+ * @beta
6486
+ */
6487
+ export declare interface DialpadProps {
6488
+ strings?: DialpadStrings;
6489
+ /**
6490
+ * function to send dtmf tones on button click
6491
+ */
6492
+ onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
6493
+ /**
6494
+ * Callback for dialpad button behavior
6495
+ */
6496
+ onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
6497
+ /**
6498
+ * set dialpad textfield content
6499
+ */
6500
+ textFieldValue?: string;
6501
+ /**
6502
+ * on change function for text field, provides an unformatted plain text
6503
+ */
6504
+ onChange?: (input: string) => void;
6505
+ /**
6506
+ * flag to determine when to show/hide delete button, default true
6507
+ */
6508
+ showDeleteButton?: boolean;
6509
+ /**
6510
+ * flag to determine if dialpad is in mobile view, default false
6511
+ */
6512
+ isMobile?: boolean;
6513
+ /**
6514
+ * Styles for customizing the dialpad component
6515
+ */
6516
+ styles?: DialpadStyles;
6517
+ /**
6518
+ * Disables DTMF sounds when dialpad buttons are pressed. the actual
6519
+ * tones are still sent to the call.
6520
+ */
6521
+ disableDtmfPlayback?: boolean;
6522
+ /**
6523
+ * Enable the ability to edit the number in the text box.
6524
+ * This mode is for when dailing someone to call to that the user can edit the number before calling if needed.
6525
+ * @default false
6526
+ *
6527
+ */
6528
+ enableInputEditing?: boolean;
6529
+ }
6530
+
6531
+ /**
6532
+ * Strings of {@link Dialpad} that can be overridden.
6533
+ *
6534
+ * @beta
6535
+ */
6536
+ export declare interface DialpadStrings {
6537
+ placeholderText: string;
6538
+ deleteButtonAriaLabel?: string;
6539
+ }
6540
+
6541
+ /**
6542
+ * Styles for {@link Dialpad} component.
6543
+ *
6544
+ * @beta
6545
+ */
6546
+ export declare interface DialpadStyles {
6547
+ root?: IStyle;
6548
+ button?: IButtonStyles;
6549
+ textField?: Partial<ITextFieldStyles>;
6550
+ digit?: IStyle;
6551
+ letter?: IStyle;
6552
+ deleteIcon?: IButtonStyles;
6553
+ }
6554
+
5066
6555
  /**
5067
6556
  * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
5068
6557
  *
@@ -5084,6 +6573,13 @@ declare interface Disposable_2 {
5084
6573
  }
5085
6574
  export { Disposable_2 as Disposable }
5086
6575
 
6576
+ /**
6577
+ * DTMF tone for PSTN calls.
6578
+ *
6579
+ * @beta
6580
+ */
6581
+ export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
6582
+
5087
6583
  /**
5088
6584
  * A type for trivial selectors that return no data.
5089
6585
  *
@@ -5305,37 +6801,237 @@ export declare interface ErrorBarStrings {
5305
6801
  */
5306
6802
  callMacOsCameraAccessDenied: string;
5307
6803
  /**
5308
- * Mac OS specific message shown when system denies sharing local screen on a call.
6804
+ * Mac OS specific message shown when system denies sharing local screen on a call.
6805
+ */
6806
+ callMacOsScreenShareAccessDenied: string;
6807
+ /**
6808
+ * Dimiss errorbar button aria label read by screen reader accessibility tools
6809
+ */
6810
+ dismissButtonAriaLabel?: string;
6811
+ /**
6812
+ * An error message when joining a call fails.
6813
+ */
6814
+ failedToJoinCallGeneric?: string;
6815
+ /**
6816
+ * An error message when joining a call fails specifically due to an invalid meeting link.
6817
+ */
6818
+ failedToJoinCallInvalidMeetingLink?: string;
6819
+ /**
6820
+ * Error bar string letting you know remote participants see a frozen stream for you.
6821
+ */
6822
+ cameraFrozenForRemoteParticipants?: string;
6823
+ /**
6824
+ * Unable to start effect
6825
+ */
6826
+ unableToStartVideoEffect?: string;
6827
+ }
6828
+
6829
+ /**
6830
+ * All errors that can be shown in the {@link ErrorBar}.
6831
+ *
6832
+ * @public
6833
+ */
6834
+ export declare type ErrorType = keyof ErrorBarStrings;
6835
+
6836
+ /**
6837
+ * @beta
6838
+ * A file download error returned via a {@link FileDownloadHandler}.
6839
+ * This error message is used to render an error message in the UI.
6840
+ */
6841
+ export declare interface FileDownloadError {
6842
+ /** The error message to display in the UI */
6843
+ errorMessage: string;
6844
+ }
6845
+
6846
+ /**
6847
+ * @beta
6848
+ *
6849
+ * A callback function for handling file downloads.
6850
+ * The function needs to return a promise that resolves to a file download URL.
6851
+ * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
6852
+ *
6853
+ * @example
6854
+ * ```ts
6855
+ * const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
6856
+ * if (isUnauthorizedUser(userId)) {
6857
+ * return { errorMessage: 'You don’t have permission to download this file.' };
6858
+ * } else {
6859
+ * return new URL(fileData.url);
6860
+ * }
6861
+ * }
6862
+ *
6863
+ * const App = () => (
6864
+ * <ChatComposite
6865
+ * ...
6866
+ * fileSharing={{
6867
+ * fileDownloadHandler: fileDownloadHandler
6868
+ * }}
6869
+ * />
6870
+ * )
6871
+ *
6872
+ * ```
6873
+ * @param userId - The user ID of the user downloading the file.
6874
+ * @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
6875
+ */
6876
+ export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
6877
+
6878
+ /**
6879
+ * Metadata containing basic information about the uploaded file.
6880
+ *
6881
+ * @beta
6882
+ */
6883
+ export declare interface FileMetadata {
6884
+ attachmentType: 'file';
6885
+ /**
6886
+ * Extension hint, useful for rendering a specific icon.
6887
+ * An unknown or empty extension will be rendered as a generic icon.
6888
+ * Example: `pdf`
6889
+ */
6890
+ extension: string;
6891
+ /**
6892
+ * Unique ID of the file.
6893
+ */
6894
+ id: string;
6895
+ /**
6896
+ * File name to be displayed.
6897
+ */
6898
+ name: string;
6899
+ /**
6900
+ * Download URL for the file.
6901
+ */
6902
+ url: string;
6903
+ payload?: Record<string, string>;
6904
+ }
6905
+
6906
+ /**
6907
+ * Properties for configuring the File Sharing feature.
6908
+ * @beta
6909
+ */
6910
+ export declare interface FileSharingOptions {
6911
+ /**
6912
+ * A string containing the comma separated list of accepted file types.
6913
+ * Similar to the `accept` attribute of the `<input type="file" />` element.
6914
+ * Accepts any type of file if not specified.
6915
+ * @beta
6916
+ */
6917
+ accept?: string;
6918
+ /**
6919
+ * Allows multiple files to be selected if set to `true`.
6920
+ * Similar to the `multiple` attribute of the `<input type="file" />` element.
6921
+ * @defaultValue false
6922
+ * @beta
6923
+ */
6924
+ multiple?: boolean;
6925
+ /**
6926
+ * A function of type {@link FileUploadHandler} for handling file uploads.
6927
+ * @beta
6928
+ */
6929
+ uploadHandler: FileUploadHandler;
6930
+ /**
6931
+ * A function of type {@link FileDownloadHandler} for handling file downloads.
6932
+ * If the function is not specified, the file's `url` will be opened in a new tab to
6933
+ * initiate the download.
6934
+ */
6935
+ downloadHandler?: FileDownloadHandler;
6936
+ }
6937
+
6938
+ /**
6939
+ * @beta
6940
+ */
6941
+ export declare interface FileUploadAdapter {
6942
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
6943
+ registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
6944
+ clearFileUploads: () => void;
6945
+ cancelFileUpload: (id: string) => void;
6946
+ updateFileUploadProgress: (id: string, progress: number) => void;
6947
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
6948
+ updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
6949
+ }
6950
+
6951
+ /**
6952
+ * @beta
6953
+ * Error message to be displayed to the user if the upload fails.
6954
+ */
6955
+ export declare type FileUploadError = {
6956
+ message: string;
6957
+ timestamp: number;
6958
+ };
6959
+
6960
+ /**
6961
+ * @beta
6962
+ * A callback function for handling file uploads.
6963
+ *
6964
+ * @param userId - The user ID of the user uploading the file.
6965
+ * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
6966
+ */
6967
+ export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
6968
+
6969
+ /**
6970
+ * A wrapper object for a file that is being uploaded.
6971
+ * Allows managing file uploads by providing common functions for updating the
6972
+ * upload progress, canceling an upload, completing an upload etc.
6973
+ * @beta
6974
+ */
6975
+ export declare interface FileUploadManager {
6976
+ /**
6977
+ * Unique identifier for the file upload.
6978
+ */
6979
+ id: string;
6980
+ /**
6981
+ * HTML {@link File} object for the uploaded file.
6982
+ */
6983
+ file?: File;
6984
+ /**
6985
+ * Update the progress of the upload.
6986
+ * @param value - number between 0 and 1
6987
+ */
6988
+ notifyUploadProgressChanged: (value: number) => void;
6989
+ /**
6990
+ * Mark the upload as complete.
6991
+ * Requires the `metadata` param containing uploaded file information.
6992
+ * @param metadata - {@link AttachmentMetadata}
6993
+ */
6994
+ notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
6995
+ /**
6996
+ * Mark the upload as failed.
6997
+ * @param message - An error message that can be displayed to the user.
5309
6998
  */
5310
- callMacOsScreenShareAccessDenied: string;
6999
+ notifyUploadFailed: (message: string) => void;
7000
+ }
7001
+
7002
+ /**
7003
+ * Contains the state attributes of a file upload like name, progress etc.
7004
+ * @beta
7005
+ */
7006
+ export declare interface FileUploadState {
5311
7007
  /**
5312
- * Dimiss errorbar button aria label read by screen reader accessibility tools
7008
+ * Unique identifier for the file upload.
5313
7009
  */
5314
- dismissButtonAriaLabel?: string;
7010
+ id: string;
5315
7011
  /**
5316
- * An error message when joining a call fails.
7012
+ * Filename extracted from the {@link File} object.
7013
+ * This attribute is used to render the filename if `metadata.name` is not available.
5317
7014
  */
5318
- failedToJoinCallGeneric?: string;
7015
+ filename: string;
5319
7016
  /**
5320
- * An error message when joining a call fails specifically due to an invalid meeting link.
7017
+ * A number between 0 and 1 indicating the progress of the upload.
5321
7018
  */
5322
- failedToJoinCallInvalidMeetingLink?: string;
7019
+ progress: number;
5323
7020
  /**
5324
- * Error bar string letting you know remote participants see a frozen stream for you.
7021
+ * Metadata {@link AttachmentMetadata} containing information about the uploaded file.
5325
7022
  */
5326
- cameraFrozenForRemoteParticipants?: string;
7023
+ metadata?: AttachmentMetadata;
5327
7024
  /**
5328
- * Unable to start effect
7025
+ * Error message to be displayed to the user if the upload fails.
5329
7026
  */
5330
- unableToStartVideoEffect?: string;
7027
+ error?: FileUploadError;
5331
7028
  }
5332
7029
 
5333
7030
  /**
5334
- * All errors that can be shown in the {@link ErrorBar}.
5335
- *
5336
- * @public
7031
+ * A record containing {@link FileUploadState} mapped to unique ids.
7032
+ * @beta
5337
7033
  */
5338
- export declare type ErrorType = keyof ErrorBarStrings;
7034
+ export declare type FileUploadsUiState = Record<string, FileUploadState>;
5339
7035
 
5340
7036
  /**
5341
7037
  * Provider to apply a Fluent theme across this library's react components.
@@ -5376,7 +7072,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
5376
7072
  *
5377
7073
  * @public
5378
7074
  */
5379
- export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : undefined;
7075
+ export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
5380
7076
 
5381
7077
  /**
5382
7078
  * Get the selector for a specified component.
@@ -5438,6 +7134,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
5438
7134
  children?: IStyle;
5439
7135
  }
5440
7136
 
7137
+ /**
7138
+ * a button to hold or resume a ongoing call.
7139
+ *
7140
+ * Can be used with {@link ControlBar}
7141
+ *
7142
+ * @param props - properties for the hold button.
7143
+ * @returns
7144
+ * @beta
7145
+ */
7146
+ export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
7147
+
7148
+ /**
7149
+ *@beta
7150
+ */
7151
+ export declare interface HoldButtonProps extends ControlBarButtonProps {
7152
+ /**
7153
+ * Utility property for using this component with communication react handlers
7154
+ * Holds the call or resumes it based on call state.
7155
+ */
7156
+ onToggleHold: () => Promise<void>;
7157
+ /**
7158
+ * Optional strings to override in component
7159
+ */
7160
+ strings?: HoldButtonStrings;
7161
+ }
7162
+
7163
+ /**
7164
+ * Selector type for the {@link HoldButton} component.
7165
+ * @public
7166
+ */
7167
+ export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
7168
+ checked: boolean;
7169
+ };
7170
+
7171
+ /**
7172
+ * Strings for the hold button labels
7173
+ * @beta
7174
+ */
7175
+ export declare interface HoldButtonStrings {
7176
+ /**
7177
+ * Label for when action is to resume call.
7178
+ */
7179
+ onLabel: string;
7180
+ /**
7181
+ * Label for when action is to hold call.
7182
+ */
7183
+ offLabel: string;
7184
+ /**
7185
+ * Content for when button is checked
7186
+ */
7187
+ tooltipOnContent: string;
7188
+ /**
7189
+ * Content for when button is unchecked
7190
+ */
7191
+ tooltipOffContent: string;
7192
+ }
7193
+
5441
7194
  /**
5442
7195
  * {@link HorizontalGallery} Component Styles.
5443
7196
  * @public
@@ -5522,8 +7275,99 @@ export declare interface _Identifiers {
5522
7275
  verticalGalleryVideoTile: string;
5523
7276
  /** `data-ui-id` value for `VerticalGallery` Component's page counter */
5524
7277
  verticalGalleryPageCounter: string;
7278
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list */
7279
+ mentionSuggestionList: string;
7280
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
7281
+ mentionSuggestionItem: string;
7282
+ }
7283
+
7284
+ /**
7285
+ * Component to render a fullscreen modal for a selected image.
7286
+ *
7287
+ * @beta
7288
+ */
7289
+ export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
7290
+
7291
+ /**
7292
+ * Props for {@link ImageGallery}.
7293
+ *
7294
+ * @beta
7295
+ */
7296
+ export declare interface ImageGalleryImageProps {
7297
+ /** Image Url used to display the image in a large scale. */
7298
+ imageUrl: string;
7299
+ /** String used as a file name when downloading this image to user's local device. */
7300
+ downloadFilename: string;
7301
+ /** Optional string used as a alt text for the image. @default 'image' */
7302
+ altText?: string;
7303
+ /** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
7304
+ title?: string;
7305
+ /** Optional JSX element used as a title icon and displayed to the left of the title element. */
7306
+ titleIcon?: JSX.Element;
5525
7307
  }
5526
7308
 
7309
+ /**
7310
+ * Props for {@link ImageGallery}.
7311
+ *
7312
+ * @beta
7313
+ */
7314
+ export declare interface ImageGalleryProps {
7315
+ /**
7316
+ * Boolean that controls whether the modal is displayed.
7317
+ */
7318
+ isOpen: boolean;
7319
+ /**
7320
+ * Array of images used to populate the ImageGallery
7321
+ */
7322
+ images: Array<ImageGalleryImageProps>;
7323
+ /**
7324
+ * Callback to invoke when the ImageGallery modal is dismissed
7325
+ */
7326
+ onDismiss: () => void;
7327
+ /**
7328
+ * Callback called when the download button is clicked.
7329
+ */
7330
+ onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
7331
+ /**
7332
+ * Callback called when there's an error loading the image.
7333
+ */
7334
+ onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
7335
+ /**
7336
+ * Indicating which index of the images array to start with.
7337
+ */
7338
+ startIndex?: number;
7339
+ }
7340
+
7341
+ /**
7342
+ * Strings of {@link ImageGallery} that can be overridden.
7343
+ *
7344
+ * @beta
7345
+ */
7346
+ export declare interface ImageGalleryStrings {
7347
+ /**
7348
+ * Download button label for ImageGallery
7349
+ */
7350
+ downloadButtonLabel: string;
7351
+ /**
7352
+ * Dismiss button aria label for ImageGallery
7353
+ */
7354
+ dismissButtonAriaLabel: string;
7355
+ }
7356
+
7357
+ /**
7358
+ * @beta
7359
+ * This contains a readonly array that returns all the active `incomingCalls`.
7360
+ * An active incoming call is a call that has not been answered, declined or disconnected.
7361
+ */
7362
+ export declare type IncomingCallManagement = {
7363
+ /**
7364
+ * @beta
7365
+ * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
7366
+ * @returns readonly array of {@link DeclarativeIncomingCall}
7367
+ */
7368
+ incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
7369
+ };
7370
+
5527
7371
  /**
5528
7372
  * State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
5529
7373
  * automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
@@ -5556,6 +7400,24 @@ export declare interface IncomingCallState {
5556
7400
  endTime?: Date;
5557
7401
  }
5558
7402
 
7403
+ /**
7404
+ * Metadata for rendering images inline with a message.
7405
+ * This does not include images attached as files.
7406
+ * @beta
7407
+ */
7408
+ export declare interface InlineImageMetadata {
7409
+ attachmentType: 'inlineImage';
7410
+ /**
7411
+ * Unique ID of the attachment.
7412
+ */
7413
+ id: string;
7414
+ previewUrl?: string;
7415
+ /**
7416
+ * Download URL for the full resolution version.
7417
+ */
7418
+ url: string;
7419
+ }
7420
+
5559
7421
  /**
5560
7422
  * Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
5561
7423
  *
@@ -5654,7 +7516,7 @@ export declare interface JumpToNewMessageButtonProps {
5654
7516
  *
5655
7517
  * @public
5656
7518
  */
5657
- export declare const lightTheme: PartialTheme & CallingTheme;
7519
+ export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
5658
7520
 
5659
7521
  /**
5660
7522
  * Whether the stream is loading or not.
@@ -5740,6 +7602,24 @@ export declare interface LocalVideoStreamVideoEffectsState {
5740
7602
  activeEffects?: VideoEffectName[];
5741
7603
  }
5742
7604
 
7605
+ /**
7606
+ * Options for the local video tile in the Call composite.
7607
+ *
7608
+ * @beta
7609
+ */
7610
+ export declare interface LocalVideoTileOptions {
7611
+ /**
7612
+ * Position of the local video tile. If unset will render the local tile in the floating local position.
7613
+ *
7614
+ * @defaultValue 'floating'
7615
+ * @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
7616
+ * 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
7617
+ * local video tile rules and be docked in the bottom corner.
7618
+ * This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
7619
+ */
7620
+ position?: 'grid' | 'floating';
7621
+ }
7622
+
5743
7623
  /**
5744
7624
  * different modes of the local video tile
5745
7625
  *
@@ -5765,6 +7645,76 @@ export declare interface MediaDiagnosticsState {
5765
7645
  latest: LatestMediaDiagnostics;
5766
7646
  }
5767
7647
 
7648
+ /**
7649
+ * Mention's state, as reflected in the UI.
7650
+ *
7651
+ * @beta
7652
+ */
7653
+ export declare interface Mention {
7654
+ /** ID of a mention */
7655
+ id: string;
7656
+ /** Display text of a mention */
7657
+ displayText: string;
7658
+ /** Optional React element to render an item icon of a mention suggestion */
7659
+ icon?: JSX.Element;
7660
+ }
7661
+
7662
+ /**
7663
+ * Options to display suggestions in the mention scenario.
7664
+ *
7665
+ * @beta
7666
+ */
7667
+ export declare interface MentionDisplayOptions {
7668
+ /**
7669
+ * Optional callback for customizing the mention renderer in a message thread.
7670
+ */
7671
+ onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
7672
+ }
7673
+
7674
+ /**
7675
+ * Options to lookup suggestions in the mention scenario.
7676
+ *
7677
+ * @beta
7678
+ */
7679
+ export declare interface MentionLookupOptions {
7680
+ /**
7681
+ * Optional string to set trigger keyword for mention a specific participant.
7682
+ *
7683
+ * @defaultValue `@`
7684
+ */
7685
+ trigger?: string;
7686
+ /**
7687
+ * Optional callback to fetch a list of mention suggestions base on the query.
7688
+ */
7689
+ onQueryUpdated: (query: string) => Promise<Mention[]>;
7690
+ /**
7691
+ * Optional callback to render an item of the mention suggestions list.
7692
+ */
7693
+ onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
7694
+ }
7695
+
7696
+ /**
7697
+ * Options to lookup suggestions and display mentions in the mention scenario.
7698
+ *
7699
+ * @beta
7700
+ */
7701
+ export declare type MentionOptions = {
7702
+ lookupOptions?: MentionLookupOptions;
7703
+ displayOptions?: MentionDisplayOptions;
7704
+ };
7705
+
7706
+ /**
7707
+ * Strings of {@link _MentionPopover} that can be overridden.
7708
+ *
7709
+ * @beta
7710
+ */
7711
+ export declare interface MentionPopoverStrings {
7712
+ /**
7713
+ * Header text for MentionPopover
7714
+ */
7715
+ mentionPopoverHeader: string;
7716
+ }
7717
+
5768
7718
  /**
5769
7719
  * Discriminated union of all messages.
5770
7720
  *
@@ -5772,7 +7722,7 @@ export declare interface MediaDiagnosticsState {
5772
7722
  *
5773
7723
  * @public
5774
7724
  */
5775
- export declare type Message = ChatMessage | SystemMessage | CustomMessage;
7725
+ export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
5776
7726
 
5777
7727
  /**
5778
7728
  * Indicate whether a chat message should be displayed merged with the message before / after it.
@@ -6006,7 +7956,7 @@ export declare type MessageThreadProps = {
6006
7956
  /**
6007
7957
  * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
6008
7958
  */
6009
- messages: (ChatMessage | SystemMessage | CustomMessage)[];
7959
+ messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
6010
7960
  /**
6011
7961
  * number of participants in the thread
6012
7962
  */
@@ -6087,6 +8037,17 @@ export declare type MessageThreadProps = {
6087
8037
  * `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
6088
8038
  */
6089
8039
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
8040
+ /**
8041
+ * Optional callback to render attached files in the message component.
8042
+ * @beta
8043
+ */
8044
+ onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
8045
+ /**
8046
+ * Optional callback to retrieve the inline image in a message.
8047
+ * @param attachment - AttachmentMetadata object we want to render
8048
+ * @beta
8049
+ */
8050
+ onFetchAttachments?: (attachments: AttachmentMetadata[]) => Promise<AttachmentDownloadResult[]>;
6090
8051
  /**
6091
8052
  * Optional callback to edit a message.
6092
8053
  *
@@ -6128,6 +8089,28 @@ export declare type MessageThreadProps = {
6128
8089
  * Optional strings to override in component
6129
8090
  */
6130
8091
  strings?: Partial<MessageThreadStrings>;
8092
+ /**
8093
+ * @beta
8094
+ * Optional function called when someone clicks on the file download icon.
8095
+ * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
8096
+ * this function will be called with the data inside `fileSharingMetadata` key.
8097
+ */
8098
+ fileDownloadHandler?: FileDownloadHandler;
8099
+ /**
8100
+ * Optional function to provide customized date format.
8101
+ * @beta
8102
+ */
8103
+ onDisplayDateTimeString?: (messageDate: Date) => string;
8104
+ /**
8105
+ * Optional props needed to lookup a mention query and display mentions
8106
+ * @beta
8107
+ */
8108
+ mentionOptions?: MentionOptions;
8109
+ /**
8110
+ * Optional callback called when an inline image is clicked.
8111
+ * @beta
8112
+ */
8113
+ onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
6131
8114
  };
6132
8115
 
6133
8116
  /**
@@ -6201,6 +8184,14 @@ export declare interface MessageThreadStrings {
6201
8184
  actionMenuMoreOptions?: string;
6202
8185
  /** Aria label to announce when a message is deleted */
6203
8186
  messageDeletedAnnouncementAriaLabel: string;
8187
+ /** String for download file button in file card */
8188
+ downloadFile: string;
8189
+ /** String for policy violation message removal */
8190
+ blockedWarningText: string;
8191
+ /** String for policy violation message removal details link */
8192
+ blockedWarningLinkText: string;
8193
+ /** String for aria text in file attachment group*/
8194
+ fileCardGroupMessage: string;
6204
8195
  }
6205
8196
 
6206
8197
  /**
@@ -6228,6 +8219,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
6228
8219
  /** Styles for system message container. */
6229
8220
  systemMessageContainer?: ComponentSlotStyle;
6230
8221
  /** Styles for blocked message container. */
8222
+ blockedMessageContainer?: ComponentSlotStyle;
6231
8223
  /** Styles for message status indicator container. */
6232
8224
  messageStatusContainer?: (mine: boolean) => IStyle;
6233
8225
  }
@@ -6396,6 +8388,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
6396
8388
  menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
6397
8389
  }
6398
8390
 
8391
+ /**
8392
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
8393
+ * by their browsers settings.
8394
+ *
8395
+ * @beta
8396
+ */
8397
+ export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
8398
+
8399
+ /**
8400
+ * @beta
8401
+ * Props for MicrophoneSitePermissions component.
8402
+ */
8403
+ export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
8404
+ /** Icon name for the microphone icon */
8405
+ microphoneIconName?: string;
8406
+ /** Strings for use with the {@link MicrophoneSitePermissions} */
8407
+ strings?: MicrophoneSitePermissionsStrings;
8408
+ }
8409
+
8410
+ /**
8411
+ * @beta
8412
+ * Strings for MicrophoneSitePermissions component.
8413
+ */
8414
+ export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
8415
+
6399
8416
  /**
6400
8417
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
6401
8418
  *
@@ -6414,6 +8431,13 @@ export declare interface NetworkDiagnosticsState {
6414
8431
  latest: LatestNetworkDiagnostics;
6415
8432
  }
6416
8433
 
8434
+ /**
8435
+ * Callback function used to provide custom data to build profile for a user.
8436
+ *
8437
+ * @beta
8438
+ */
8439
+ export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
8440
+
6417
8441
  /**
6418
8442
  * A custom rendered callback that allows users to customize the rendering of a Persona Component.
6419
8443
  *
@@ -6536,6 +8560,14 @@ export declare interface ParticipantItemProps {
6536
8560
  onClick?: (props?: ParticipantItemProps) => void;
6537
8561
  /** Optional value to determine if the tooltip should be shown for participants or not */
6538
8562
  showParticipantOverflowTooltip?: boolean;
8563
+ /**
8564
+ * Optional value to determine and display a participants connection status.
8565
+ * For example, `Connecting`, `Ringing` etc.
8566
+ * The actual text that is displayed is determined by the localized string
8567
+ * corresponding to the provided participant state.
8568
+ * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
8569
+ */
8570
+ participantState?: ParticipantState;
6539
8571
  /**
6540
8572
  * Optional aria property that prefixes the ParticipantItems aria content
6541
8573
  * Takes in a unique id value of the element you would like to be read before the ParticipantItem.
@@ -6561,6 +8593,10 @@ export declare interface ParticipantItemStrings {
6561
8593
  mutedIconLabel: string;
6562
8594
  /** placeholder text for participants who does not have a display name*/
6563
8595
  displayNamePlaceholder?: string;
8596
+ /** String shown when `participantState` is `Ringing` */
8597
+ participantStateRinging?: string;
8598
+ /** String shown when `participantState` is `Hold` */
8599
+ participantStateHold?: string;
6564
8600
  }
6565
8601
 
6566
8602
  /**
@@ -6640,6 +8676,10 @@ export declare type ParticipantListProps = {
6640
8676
  styles?: ParticipantListStyles;
6641
8677
  /** Optional value to determine if the tooltip should be shown for participants or not */
6642
8678
  showParticipantOverflowTooltip?: boolean;
8679
+ /** Total number of people in the call. This number can be larger than the remote participant count. */
8680
+ totalParticipantCount?: number;
8681
+ /** Strings for the participant list */
8682
+ strings?: ParticipantListStrings;
6643
8683
  /** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
6644
8684
  participantAriaLabelledBy?: string;
6645
8685
  };
@@ -6652,8 +8692,21 @@ export declare type ParticipantListProps = {
6652
8692
  export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
6653
8693
  participants: CallParticipantListParticipant[];
6654
8694
  myUserId: string;
8695
+ totalParticipantCount?: number;
6655
8696
  };
6656
8697
 
8698
+ /**
8699
+ * Strings for the {@link ParticipantList}.
8700
+ *
8701
+ * @beta
8702
+ */
8703
+ export declare interface ParticipantListStrings {
8704
+ /**
8705
+ * String for rendering the count of participants not contained in the displayed participant list
8706
+ */
8707
+ overflowParticipantCount?: string;
8708
+ }
8709
+
6657
8710
  /**
6658
8711
  * Styles for the {@link ParticipantList}.
6659
8712
  *
@@ -6870,6 +8923,18 @@ export declare type ParticipantsRemovedListener = (event: {
6870
8923
  */
6871
8924
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
6872
8925
 
8926
+ /**
8927
+ * The profile of a user.
8928
+ *
8929
+ * @beta
8930
+ */
8931
+ export declare type Profile = {
8932
+ /**
8933
+ * Primary text to display, usually the name of the person.
8934
+ */
8935
+ displayName?: string;
8936
+ };
8937
+
6873
8938
  /**
6874
8939
  * Raised hand state with order
6875
8940
  *
@@ -6925,39 +8990,112 @@ export declare type RaiseHandButtonSelector = (state: CallClientState, props: Ca
6925
8990
  };
6926
8991
 
6927
8992
  /**
6928
- * Strings of {@link RaiseHandButton} that can be overridden.
8993
+ * Strings of {@link RaiseHandButton} that can be overridden.
8994
+ *
8995
+ * @public
8996
+ */
8997
+ export declare interface RaiseHandButtonStrings {
8998
+ /** Label when button is on. */
8999
+ onLabel: string;
9000
+ /** Label when button is off. */
9001
+ offLabel: string;
9002
+ /** * Tooltip content when the button is disabled. */
9003
+ tooltipDisabledContent?: string;
9004
+ /** Tooltip content when the button is on. */
9005
+ tooltipOnContent?: string;
9006
+ /** Tooltip content when the button is off. */
9007
+ tooltipOffContent?: string;
9008
+ }
9009
+
9010
+ /**
9011
+ * State only version of {@link @azure/communication-calling#RaiseHandCallFeature}. {@link StatefulCallClient} will
9012
+ * automatically listen for raised hands on the call and update the state exposed by {@link StatefulCallClient} accordingly.
9013
+ *
9014
+ * @public
9015
+ */
9016
+ export declare interface RaiseHandCallFeature {
9017
+ /**
9018
+ * Proxy of {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
9019
+ */
9020
+ raisedHands: RaisedHandState[];
9021
+ /**
9022
+ * Contains information for local participant from list {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
9023
+ */
9024
+ localParticipantRaisedHand?: RaisedHandState;
9025
+ }
9026
+
9027
+ /**
9028
+ * Reaction state with reaction type to render
9029
+ *
9030
+ * @beta
9031
+ */
9032
+ export declare type Reaction = {
9033
+ /**
9034
+ * Specifies the type of reaction videoTile should render i.e. like, heart etc.
9035
+ */
9036
+ reactionType: string;
9037
+ /**
9038
+ * Received timestamp for the message as default Date format.
9039
+ */
9040
+ receivedAt: Date;
9041
+ };
9042
+
9043
+ /**
9044
+ * Props for {@link ReactionButton}.
9045
+ *
9046
+ * @beta
9047
+ */
9048
+ export declare interface ReactionButtonProps extends ControlBarButtonProps {
9049
+ /**
9050
+ * Optional strings to override in component
9051
+ */
9052
+ strings?: Partial<ReactionButtonStrings>;
9053
+ /**
9054
+ * Click event to send reaction to meeting
9055
+ */
9056
+ onReactionClicked: (reaction: string) => Promise<void>;
9057
+ }
9058
+
9059
+ /**
9060
+ * Strings of {@link ReactionButton} that can be overridden.
6929
9061
  *
6930
- * @public
9062
+ * @beta
6931
9063
  */
6932
- export declare interface RaiseHandButtonStrings {
6933
- /** Label when button is on. */
6934
- onLabel: string;
6935
- /** Label when button is off. */
6936
- offLabel: string;
6937
- /** * Tooltip content when the button is disabled. */
9064
+ export declare interface ReactionButtonStrings {
9065
+ /** Label of the button. */
9066
+ label: string;
9067
+ /** Tooltip content when the button is disabled. */
6938
9068
  tooltipDisabledContent?: string;
6939
- /** Tooltip content when the button is on. */
6940
- tooltipOnContent?: string;
6941
- /** Tooltip content when the button is off. */
6942
- tooltipOffContent?: string;
9069
+ /** Tooltip content when the button is enabled. */
9070
+ tooltipContent?: string;
9071
+ /** Tooltip content of like reaction button. */
9072
+ likeReactionTooltipContent?: string;
9073
+ /** Tooltip content of heart reaction button. */
9074
+ heartReactionTooltipContent?: string;
9075
+ /** Tooltip content of laugh reaction button. */
9076
+ laughReactionTooltipContent?: string;
9077
+ /** Tooltip content of clap reaction button. */
9078
+ applauseReactionTooltipContent?: string;
9079
+ /** Tooltip content of surprised reaction button. */
9080
+ surprisedReactionTooltipContent?: string;
6943
9081
  }
6944
9082
 
6945
9083
  /**
6946
- * State only version of {@link @azure/communication-calling#RaiseHandCallFeature}. {@link StatefulCallClient} will
6947
- * automatically listen for raised hands on the call and update the state exposed by {@link StatefulCallClient} accordingly.
9084
+ * State only version of {@link @azure/communication-calling#Call.ReactionMessage} with UI helper props receivedAt.
9085
+ * Reaction state with a timestamp which helps UI to decide to render the reaction accordingly.
6948
9086
  *
6949
- * @public
9087
+ * @beta
6950
9088
  */
6951
- export declare interface RaiseHandCallFeature {
9089
+ export declare type ReactionState = {
6952
9090
  /**
6953
- * Proxy of {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
9091
+ * Reaction message from the meeting {@link @azure/communication-calling#Call.ReactionMessage}
6954
9092
  */
6955
- raisedHands: RaisedHandState[];
9093
+ reactionMessage: ReactionMessage;
6956
9094
  /**
6957
- * Contains information for local participant from list {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
9095
+ * Received timestamp of the reaction message in a meeting.
6958
9096
  */
6959
- localParticipantRaisedHand?: RaisedHandState;
6960
- }
9097
+ receivedAt: Date;
9098
+ };
6961
9099
 
6962
9100
  /**
6963
9101
  * An array of key value pairs that stores each sender's display name and last read message
@@ -7030,6 +9168,17 @@ export declare interface RemoteParticipantState {
7030
9168
  * Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
7031
9169
  */
7032
9170
  raisedHand?: RaisedHandState;
9171
+ /**
9172
+ * Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
9173
+ * UI helper props receivedAt which indicates the timestamp when the message was received.
9174
+ *
9175
+ * @beta
9176
+ */
9177
+ reactionState?: ReactionState;
9178
+ /**
9179
+ * Proxy of {@link @azure/communication-calling#SpotlightCallFeature.spotlightedParticipants}.
9180
+ */
9181
+ spotlighted?: SpotlightState;
7033
9182
  }
7034
9183
 
7035
9184
  /**
@@ -7054,6 +9203,7 @@ export declare interface RemoteVideoStreamState {
7054
9203
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
7055
9204
  * @beta
7056
9205
  */
9206
+ isReceiving: boolean;
7057
9207
  /**
7058
9208
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
7059
9209
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -7153,6 +9303,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
7153
9303
  */
7154
9304
  export declare const SendBox: (props: SendBoxProps) => JSX.Element;
7155
9305
 
9306
+ /**
9307
+ * @beta
9308
+ * Error to be displayed to the user in an error bar above sendbox.
9309
+ */
9310
+ export declare interface SendBoxErrorBarError {
9311
+ /** Error Message to be displayed */
9312
+ message: string;
9313
+ /**
9314
+ * Unix Timestamp. Preferred generation using `Date.now()`
9315
+ */
9316
+ timestamp: number;
9317
+ }
9318
+
7156
9319
  /**
7157
9320
  * Props for {@link SendBox}.
7158
9321
  *
@@ -7172,6 +9335,11 @@ export declare interface SendBoxProps {
7172
9335
  * Optional override behavior on send button click
7173
9336
  */
7174
9337
  onSendMessage?: (content: string) => Promise<void>;
9338
+ /**
9339
+ * Optional props needed to lookup suggestions in the mention scenario.
9340
+ * @beta
9341
+ */
9342
+ mentionLookupOptions?: MentionLookupOptions;
7175
9343
  /**
7176
9344
  * Optional callback called when user is typing
7177
9345
  */
@@ -7208,6 +9376,25 @@ export declare interface SendBoxProps {
7208
9376
  * When undefined nothing has focus on render
7209
9377
  */
7210
9378
  autoFocus?: 'sendBoxTextField';
9379
+ /**
9380
+ * Optional callback to render uploaded files in the SendBox. The sendBox will expand
9381
+ * vertically to accommodate the uploaded files. File uploads will
9382
+ * be rendered below the text area in sendBox.
9383
+ * @beta
9384
+ */
9385
+ onRenderFileUploads?: () => JSX.Element;
9386
+ /**
9387
+ * Optional array of active file uploads where each object has attributes
9388
+ * of a file upload like name, progress, errorMessage etc.
9389
+ * @beta
9390
+ */
9391
+ activeFileUploads?: ActiveFileUpload[];
9392
+ /**
9393
+ * Optional callback to remove the file upload before sending by clicking on
9394
+ * cancel icon.
9395
+ * @beta
9396
+ */
9397
+ onCancelFileUpload?: (fileId: string) => void;
7211
9398
  }
7212
9399
 
7213
9400
  /**
@@ -7238,6 +9425,22 @@ export declare interface SendBoxStrings {
7238
9425
  * Aria label for send message button
7239
9426
  */
7240
9427
  sendButtonAriaLabel: string;
9428
+ /**
9429
+ * Error message indicating that all file uploads are not complete.
9430
+ */
9431
+ fileUploadsPendingError: string;
9432
+ /**
9433
+ * Aria label to notify user when focus is on cancel file upload button.
9434
+ */
9435
+ removeFile: string;
9436
+ /**
9437
+ * Aria label to notify user file uploading starts.
9438
+ */
9439
+ uploading: string;
9440
+ /**
9441
+ * Aria label to notify user file is uploaded.
9442
+ */
9443
+ uploadCompleted: string;
7241
9444
  }
7242
9445
 
7243
9446
  /**
@@ -7258,6 +9461,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
7258
9461
  systemMessage?: IStyle;
7259
9462
  }
7260
9463
 
9464
+ /**
9465
+ * @beta
9466
+ * Strings for SitePermissions component
9467
+ */
9468
+ export declare type SitePermissionsStrings = {
9469
+ /**
9470
+ * Main text string.
9471
+ */
9472
+ primaryText?: string;
9473
+ /**
9474
+ * Subtext string.
9475
+ */
9476
+ secondaryText?: string;
9477
+ /**
9478
+ * More help link string.
9479
+ */
9480
+ linkText?: string;
9481
+ /**
9482
+ * Primary button text string.
9483
+ */
9484
+ primaryButtonText?: string;
9485
+ /**
9486
+ * Aria label describing the content of the container
9487
+ */
9488
+ ariaLabel?: string;
9489
+ };
9490
+
9491
+ /**
9492
+ * Fluent styles for {@link SitePermissionsContainer}.
9493
+ *
9494
+ * @beta
9495
+ */
9496
+ export declare interface SitePermissionsStyles extends BaseCustomStyles {
9497
+ /** Styles for the primary button. */
9498
+ primaryButton?: IButtonStyles;
9499
+ /** Styles for the help troubleshooting link text. */
9500
+ troubleshootingLink?: ILinkStyles;
9501
+ }
9502
+
7261
9503
  /**
7262
9504
  * @public
7263
9505
  * Type for representing a custom sound to use for a calling event
@@ -7317,6 +9559,30 @@ export declare interface SpokenLanguageStrings {
7317
9559
  'zh-tw': string;
7318
9560
  }
7319
9561
 
9562
+ /**
9563
+ * State only version of {@link @azure/communication-calling#SpotlightCallFeature}
9564
+ *
9565
+ * @beta
9566
+ */
9567
+ export declare interface SpotlightCallFeatureState {
9568
+ /**
9569
+ * Ordered array of spotlighted participants in call
9570
+ */
9571
+ spotlightedParticipants: SpotlightedParticipant[];
9572
+ }
9573
+
9574
+ /**
9575
+ * Spotlight state with order
9576
+ *
9577
+ * @beta
9578
+ */
9579
+ export declare interface SpotlightState {
9580
+ /**
9581
+ * Order position of spotlight in call
9582
+ */
9583
+ spotlightedOrderPosition?: number;
9584
+ }
9585
+
7320
9586
  /**
7321
9587
  * Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
7322
9588
  * The interface provides access to proxied state and also allows registering a handler for state change events. For
@@ -7426,6 +9692,19 @@ export declare interface StatefulCallClient extends CallClient {
7426
9692
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
7427
9693
  */
7428
9694
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
9695
+ /** @conditional-compile-remove(one-to-n-calling) */
9696
+ /**
9697
+ * The CallAgent is used to handle calls.
9698
+ * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
9699
+ * - The CallClient can only have one active CallAgent instance at a time.
9700
+ * - You can create a new CallClient instance to create a new CallAgent.
9701
+ * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
9702
+ * createCallAgent() method again to create a new CallAgent.
9703
+ * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
9704
+ * @param options - The CallAgentOptions for additional options like display name.
9705
+ * @public
9706
+ */
9707
+ createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
7429
9708
  }
7430
9709
 
7431
9710
  /**
@@ -7438,7 +9717,16 @@ export declare type StatefulCallClientArgs = {
7438
9717
  * UserId from SDK. This is provided for developer convenience to easily access the userId from the
7439
9718
  * state. It is not used by StatefulCallClient.
7440
9719
  */
7441
- userId: CommunicationUserIdentifier;
9720
+ userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
9721
+ /**
9722
+ * A phone number in E.164 format that will be used to represent the callers identity. This number is required
9723
+ * to start a PSTN call.
9724
+ *
9725
+ * example: +11234567
9726
+ *
9727
+ * This is not a cached value from the headless calling client.
9728
+ */
9729
+ alternateCallerId?: string;
7442
9730
  };
7443
9731
 
7444
9732
  /**
@@ -7567,6 +9855,62 @@ export declare interface StreamMediaProps {
7567
9855
  styles?: BaseCustomStyles;
7568
9856
  }
7569
9857
 
9858
+ /**
9859
+ * @beta
9860
+ * Corresponding texts to each call issue
9861
+ */
9862
+ export declare interface SurveyIssues {
9863
+ overallRating: {
9864
+ callCannotJoin: string;
9865
+ callCannotInvite: string;
9866
+ hadToRejoin: string;
9867
+ callEndedUnexpectedly: string;
9868
+ otherIssues: string;
9869
+ };
9870
+ audioRating: {
9871
+ noLocalAudio: string;
9872
+ noRemoteAudio: string;
9873
+ echo: string;
9874
+ audioNoise: string;
9875
+ lowVolume: string;
9876
+ audioStoppedUnexpectedly: string;
9877
+ distortedSpeech: string;
9878
+ audioInterruption: string;
9879
+ otherIssues: string;
9880
+ };
9881
+ videoRating: {
9882
+ noVideoReceived: string;
9883
+ noVideoSent: string;
9884
+ lowQuality: string;
9885
+ freezes: string;
9886
+ stoppedUnexpectedly: string;
9887
+ darkVideoReceived: string;
9888
+ audioVideoOutOfSync: string;
9889
+ otherIssues: string;
9890
+ };
9891
+ screenshareRating: {
9892
+ noContentLocal: string;
9893
+ noContentRemote: string;
9894
+ cannotPresent: string;
9895
+ lowQuality: string;
9896
+ freezes: string;
9897
+ stoppedUnexpectedly: string;
9898
+ largeDelay: string;
9899
+ otherIssues: string;
9900
+ };
9901
+ }
9902
+
9903
+ /**
9904
+ * @beta
9905
+ * Corresponding texts to each call issue category
9906
+ */
9907
+ export declare interface SurveyIssuesHeadingStrings {
9908
+ overallRating: string;
9909
+ audioRating: string;
9910
+ videoRating: string;
9911
+ screenshareRating: string;
9912
+ }
9913
+
7570
9914
  /**
7571
9915
  * Discriminated union of all system messages.
7572
9916
  *
@@ -7593,6 +9937,74 @@ export declare interface SystemMessageCommon extends MessageCommon {
7593
9937
  */
7594
9938
  export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
7595
9939
 
9940
+ /**
9941
+ * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
9942
+ *
9943
+ * @beta
9944
+ */
9945
+ export declare interface TeamsCallAdapter extends CommonCallAdapter {
9946
+ /**
9947
+ * Join the call with microphone initially on/off.
9948
+ * @deprecated Use joinCall(options?:JoinCallOptions) instead.
9949
+ * @param microphoneOn - Whether microphone is initially enabled
9950
+ *
9951
+ * @beta
9952
+ */
9953
+ joinCall(microphoneOn?: boolean): TeamsCall | undefined;
9954
+ /**
9955
+ * Join the call with options bag to set microphone/camera initial state when joining call
9956
+ * true = turn on the device when joining call
9957
+ * false = turn off the device when joining call
9958
+ * 'keep'/undefined = retain devices' precall state
9959
+ *
9960
+ * @param options - param to set microphone/camera initially on/off.
9961
+ *
9962
+ * @public
9963
+ */
9964
+ joinCall(options?: JoinCallOptions): TeamsCall | undefined;
9965
+ /**
9966
+ * Start the call.
9967
+ *
9968
+ * @param participants - An array of participant ids to join
9969
+ *
9970
+ * @beta
9971
+ */
9972
+ startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
9973
+ /**
9974
+ * Start the call.
9975
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
9976
+ * @beta
9977
+ */
9978
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
9979
+ }
9980
+
9981
+ /**
9982
+ * Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
9983
+ *
9984
+ * @beta
9985
+ */
9986
+ export declare type TeamsCallAdapterArgs = {
9987
+ userId: MicrosoftTeamsUserIdentifier;
9988
+ credential: CommunicationTokenCredential;
9989
+ locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
9990
+ /**
9991
+ * Optional parameters for the {@link TeamsCallAdapter} created
9992
+ */
9993
+ options?: TeamsAdapterOptions;
9994
+ };
9995
+
9996
+ /**
9997
+ * Object containing all the teams call handlers required for calling components.
9998
+ *
9999
+ * Calling related components from this package are able to pick out relevant handlers from this object.
10000
+ * See {@link useHandlers} and {@link usePropsFor}.
10001
+ *
10002
+ * @beta
10003
+ */
10004
+ export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
10005
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
10006
+ }
10007
+
7596
10008
  /**
7597
10009
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
7598
10010
  *
@@ -7638,6 +10050,27 @@ export declare interface TranscriptionCallFeature {
7638
10050
  isTranscriptionActive: boolean;
7639
10051
  }
7640
10052
 
10053
+ /**
10054
+ * Transfer feature state
10055
+ *
10056
+ * @beta
10057
+ */
10058
+ export declare interface TransferFeature {
10059
+ /**
10060
+ * Accepted transfer requests
10061
+ */
10062
+ acceptedTransfers: {
10063
+ [key: string]: AcceptedTransfer;
10064
+ };
10065
+ }
10066
+
10067
+ /**
10068
+ * Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
10069
+ *
10070
+ * @beta
10071
+ */
10072
+ export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
10073
+
7641
10074
  /**
7642
10075
  * Component to notify local user when one or more participants in the chat thread are typing.
7643
10076
  *
@@ -7772,11 +10205,118 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
7772
10205
  typingString?: IStyle;
7773
10206
  }
7774
10207
 
10208
+ /**
10209
+ * UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
10210
+ *
10211
+ * @beta
10212
+ */
10213
+ export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
10214
+
10215
+ /**
10216
+ * props for {@link UnsupportedBrowser} UI
10217
+ *
10218
+ * @beta
10219
+ */
10220
+ export declare interface UnsupportedBrowserProps {
10221
+ /** Handler to perform an action when the help link is actioned */
10222
+ onTroubleshootingClick?: () => void;
10223
+ /** String overrides for the component */
10224
+ strings?: UnsupportedBrowserStrings;
10225
+ }
10226
+
10227
+ /**
10228
+ * Strings for UnsupportedBrowser component
10229
+ *
10230
+ * @beta
10231
+ */
10232
+ export declare interface UnsupportedBrowserStrings {
10233
+ /** String for the primary text */
10234
+ primaryText: string;
10235
+ /** String for the secondary text */
10236
+ secondaryText: string;
10237
+ /** String to display in the text for the help link */
10238
+ moreHelpLinkText: string;
10239
+ }
10240
+
10241
+ /**
10242
+ * UI to display to the user that the browser version they are using is out of date
10243
+ * and not supported by Azure Communications Calling service.
10244
+ *
10245
+ * @beta
10246
+ */
10247
+ export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
10248
+
10249
+ /**
10250
+ * props for {@link UnsupportedBrowserVersion} UI
10251
+ *
10252
+ * @beta
10253
+ */
10254
+ export declare interface UnsupportedBrowserVersionProps {
10255
+ /** Handler to perform an action when the help link is actioned */
10256
+ onTroubleshootingClick?: () => void;
10257
+ /** String overrides for the component */
10258
+ strings?: UnsupportedBrowserVersionStrings;
10259
+ /** Handler to allow user to continue into the call */
10260
+ onContinueAnywayClick?: () => void;
10261
+ }
10262
+
10263
+ /**
10264
+ * Strings for UnsupportedBrowser component
10265
+ *
10266
+ * @beta
10267
+ */
10268
+ export declare interface UnsupportedBrowserVersionStrings {
10269
+ /** String for the primary text */
10270
+ primaryText: string;
10271
+ /** String for the secondary text */
10272
+ secondaryText: string;
10273
+ /** String to display in the text for the help link */
10274
+ moreHelpLinkText: string;
10275
+ /** String for continue without updating button */
10276
+ continueAnywayButtonText?: string;
10277
+ }
10278
+
10279
+ /**
10280
+ * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
10281
+ *
10282
+ * @beta
10283
+ */
10284
+ export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
10285
+
10286
+ /**
10287
+ * Props for {@link UnsupportedOperatingSystem} UI
10288
+ *
10289
+ * @beta
10290
+ */
10291
+ export declare interface UnsupportedOperatingSystemProps {
10292
+ /** Handler to perform a action when the help link is actioned */
10293
+ onTroubleshootingClick?: () => void;
10294
+ /** String overrides for the component */
10295
+ strings?: UnsupportedOperatingSystemStrings;
10296
+ }
10297
+
10298
+ /**
10299
+ * Strings for UnsupportedBrowser component
10300
+ *
10301
+ * @beta
10302
+ */
10303
+ export declare interface UnsupportedOperatingSystemStrings {
10304
+ /** String for the primary text */
10305
+ primaryText: string;
10306
+ /** String for the secondary text */
10307
+ secondaryText: string;
10308
+ /** String to display in the text for the help link */
10309
+ moreHelpLinkText: string;
10310
+ }
10311
+
7775
10312
  /**
7776
10313
  * @public
7777
10314
  * Callback function run when a message is updated.
7778
10315
  */
7779
- export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
10316
+ export declare type UpdateMessageCallback = (messageId: string, content: string, options?: {
10317
+ metadata?: Record<string, string>;
10318
+ attachmentMetadata?: AttachmentMetadata[];
10319
+ }) => Promise<void>;
7780
10320
 
7781
10321
  /**
7782
10322
  * A custom React hook to simplify the creation of {@link CallAdapter}.
@@ -7924,6 +10464,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
7924
10464
  */
7925
10465
  export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: 'calling' | 'chat') => ParamT extends Selector ? ReturnType<ParamT> : undefined;
7926
10466
 
10467
+ /**
10468
+ * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
10469
+ *
10470
+ * Useful when implementing a custom component that utilizes the providers
10471
+ * exported from this library.
10472
+ *
10473
+ * you must have previously used the CallProvider with a TeamsCall object to use this hook
10474
+ *
10475
+ * @beta
10476
+ */
10477
+ export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
10478
+
10479
+ /**
10480
+ * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
10481
+ *
10482
+ * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
10483
+ * creation of the adapter internally.
10484
+ *
10485
+ * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
10486
+ * as they are created. The adapter is only created when all arguments are defined.
10487
+ *
10488
+ * Note that you must memoize the arguments to avoid recreating adapter on each render.
10489
+ * See storybook for typical usage examples.
10490
+ *
10491
+ * @beta
10492
+ */
10493
+ export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
10494
+
10495
+ /**
10496
+ * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
10497
+ *
10498
+ * Useful when implementing a custom component that utilizes the providers
10499
+ * exported from this library.
10500
+ *
10501
+ * @beta
10502
+ */
10503
+ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
10504
+
7927
10505
  /**
7928
10506
  * React hook to access theme
7929
10507
  *
@@ -8063,7 +10641,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
8063
10641
  /**
8064
10642
  * @public
8065
10643
  */
8066
- export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
10644
+ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(large-gallery) */ 'largeGallery' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
8067
10645
 
8068
10646
  /**
8069
10647
  * The state of the local participant in the {@link VideoGallery}.
@@ -8073,6 +10651,12 @@ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @
8073
10651
  export declare interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {
8074
10652
  /** Whether local participant is raised a hand */
8075
10653
  raisedHand?: RaisedHand;
10654
+ /**
10655
+ * Whether local participant has reacted
10656
+ *
10657
+ * @beta
10658
+ * */
10659
+ reaction?: Reaction;
8076
10660
  }
8077
10661
 
8078
10662
  /**
@@ -8204,8 +10788,19 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
8204
10788
  isSpeaking?: boolean;
8205
10789
  /** Video stream of shared screen */
8206
10790
  screenShareStream?: VideoGalleryStream;
10791
+ /**
10792
+ * @beta
10793
+ * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
10794
+ */
10795
+ state?: ParticipantState;
8207
10796
  /** Whether participant is raised a hand */
8208
10797
  raisedHand?: RaisedHand;
10798
+ /**
10799
+ * Whether participant has reacted
10800
+ *
10801
+ * @beta
10802
+ * */
10803
+ reaction?: Reaction;
8209
10804
  }
8210
10805
 
8211
10806
  /**
@@ -8219,6 +10814,7 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
8219
10814
  remoteParticipants: VideoGalleryRemoteParticipant[];
8220
10815
  dominantSpeakers?: string[];
8221
10816
  optimalVideoCount?: number;
10817
+ spotlightedParticipants?: string[];
8222
10818
  };
8223
10819
 
8224
10820
  /**
@@ -8443,6 +11039,14 @@ export declare interface VideoTileProps {
8443
11039
  isSpeaking?: boolean;
8444
11040
  /** Whether the participant is raised hand. Show a indicator (border) and icon with order */
8445
11041
  raisedHand?: RaisedHand;
11042
+ /** When the participant has reacted, animate the reaction. */
11043
+ reaction?: Reaction;
11044
+ /**
11045
+ * The call connection state of the participant.
11046
+ * For example, `Hold` means the participant is on hold.
11047
+ */
11048
+ participantState?: ParticipantState;
11049
+ strings?: VideoTileStrings;
8446
11050
  /**
8447
11051
  * Display custom menu items in the VideoTile's contextual menu.
8448
11052
  * Uses Fluent UI ContextualMenu.
@@ -8455,6 +11059,15 @@ export declare interface VideoTileProps {
8455
11059
  onLongTouch?: () => void;
8456
11060
  }
8457
11061
 
11062
+ /**
11063
+ * Strings of {@link VideoTile} that can be overridden.
11064
+ * @beta
11065
+ */
11066
+ export declare interface VideoTileStrings {
11067
+ participantStateRinging: string;
11068
+ participantStateHold: string;
11069
+ }
11070
+
8458
11071
  /**
8459
11072
  * Fluent styles for {@link VideoTile}.
8460
11073
  *