@azure/communication-react 1.8.0 → 1.8.1-alpha-202309210012

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 (1032) hide show
  1. package/dist/communication-react.d.ts +2418 -45
  2. package/dist/dist-cjs/communication-react/index.js +13616 -6028
  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.d.ts +1 -0
  6. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  12. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  20. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +2 -1
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -0
  23. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +12 -0
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +54 -10
  26. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +12 -5
  28. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +24 -55
  30. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +11 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +53 -43
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +11 -1
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +19 -3
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +45 -0
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +91 -0
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  42. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +5 -1
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +19 -0
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  47. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +6 -0
  49. package/dist/dist-esm/calling-component-bindings/src/index.js +8 -0
  50. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +1 -0
  52. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +48 -13
  53. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
  56. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  58. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
  60. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
  61. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  63. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  64. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
  65. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +21 -6
  66. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  67. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +4 -0
  68. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +14 -1
  69. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  70. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +2 -1
  71. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +37 -13
  72. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  73. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +41 -7
  74. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
  76. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  77. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  79. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
  80. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +66 -71
  81. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  82. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +60 -2
  83. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +8 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +79 -13
  86. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  88. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +109 -79
  90. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  94. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +9 -3
  95. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  97. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/Converter.js +17 -10
  99. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  100. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  101. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  103. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  106. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  108. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  110. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  111. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
  112. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
  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/RecordingSubscriber.js.map +1 -1
  116. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  117. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  118. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +25 -1
  120. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
  121. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +33 -31
  123. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  125. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
  127. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +89 -0
  128. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
  129. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
  130. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
  131. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
  132. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  133. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
  134. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -0
  135. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  136. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  137. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  138. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  139. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  140. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +3 -0
  141. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  142. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  143. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  144. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  145. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  146. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  147. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +13 -14
  148. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +4 -1
  150. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  151. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  152. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  153. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -0
  154. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  155. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  156. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  157. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +146 -15
  158. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  159. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  161. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  163. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  164. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  165. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  166. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  167. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  168. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  169. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  170. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
  171. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  172. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +5 -9
  173. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  174. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  175. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +10 -11
  176. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  177. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  178. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
  179. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  180. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  181. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  182. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
  183. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  184. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  185. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  186. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  187. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  188. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  190. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
  191. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  192. package/dist/dist-esm/communication-react/src/index.d.ts +29 -0
  193. package/dist/dist-esm/communication-react/src/index.js +16 -0
  194. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  195. package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +1 -0
  196. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  197. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.d.ts +1 -0
  198. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  199. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  200. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  202. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  203. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  204. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.d.ts +1 -0
  205. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  206. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.d.ts +1 -0
  208. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  209. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  210. package/dist/dist-esm/react-components/src/components/Announcer.d.ts +1 -0
  211. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  212. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +1 -0
  213. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  214. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  215. package/dist/dist-esm/react-components/src/components/Caption.d.ts +1 -0
  216. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  217. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +1 -0
  219. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +10 -9
  220. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  221. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +1 -0
  222. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +44 -22
  223. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +7 -8
  225. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts +1 -0
  227. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +36 -17
  228. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +23 -1
  230. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +20 -5
  231. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  232. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +3 -0
  233. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +32 -35
  234. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +22 -1
  236. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +89 -25
  237. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  238. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +16 -0
  239. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +121 -21
  240. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
  242. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
  243. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
  244. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.d.ts +1 -0
  245. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  246. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.d.ts +1 -0
  248. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  249. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.d.ts +1 -0
  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.d.ts +1 -0
  259. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  260. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  261. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.d.ts +1 -0
  262. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  263. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  264. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  265. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  266. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  267. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  268. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  269. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  270. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.d.ts +1 -0
  271. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  272. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  273. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  274. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  275. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  276. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
  277. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
  278. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  279. package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +1 -0
  280. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  281. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +1 -0
  283. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +42 -44
  284. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  285. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  286. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  287. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.d.ts +1 -0
  288. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  289. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  290. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.d.ts +1 -0
  291. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  292. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  293. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  294. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  295. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  296. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  298. package/dist/dist-esm/react-components/src/components/EndCallButton.d.ts +1 -0
  299. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  300. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  301. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +1 -0
  302. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  303. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  304. package/dist/dist-esm/react-components/src/components/FileCard.d.ts +1 -0
  305. package/dist/dist-esm/react-components/src/components/FileCard.js +2 -3
  306. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  307. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  308. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +30 -1
  310. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +36 -13
  311. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  312. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +1 -0
  313. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  314. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  315. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  316. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  317. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.d.ts +1 -0
  318. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  319. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  320. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  321. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  322. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  323. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  324. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +71 -0
  326. package/dist/dist-esm/react-components/src/components/ImageGallery.js +61 -0
  327. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -0
  328. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
  329. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +26 -15
  330. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.d.ts +1 -0
  332. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  333. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  334. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +29 -10
  335. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  336. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
  337. package/dist/dist-esm/react-components/src/components/MentionPopover.js +125 -0
  338. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
  339. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts +1 -0
  340. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +23 -36
  341. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  342. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +52 -2
  343. package/dist/dist-esm/react-components/src/components/MessageThread.js +203 -83
  344. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +1 -0
  346. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
  347. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  348. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  349. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  350. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +14 -0
  351. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +17 -17
  352. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  353. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +16 -0
  354. package/dist/dist-esm/react-components/src/components/ParticipantList.js +57 -26
  355. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  356. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +1 -0
  357. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  358. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  359. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.d.ts +1 -0
  360. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  361. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  362. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  363. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  364. package/dist/dist-esm/react-components/src/components/RaiseHandButton.d.ts +1 -0
  365. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
  366. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  367. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +32 -14
  368. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  369. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  370. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  371. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +35 -0
  372. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +33 -0
  373. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -0
  374. package/dist/dist-esm/react-components/src/components/ScreenShareButton.d.ts +1 -0
  375. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  376. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +41 -0
  378. package/dist/dist-esm/react-components/src/components/SendBox.js +39 -13
  379. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  380. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +1 -0
  381. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  382. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  383. package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +1 -0
  384. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  385. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +1 -0
  386. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  387. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  388. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts +1 -0
  389. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  390. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  391. package/dist/dist-esm/react-components/src/components/SystemMessage.d.ts +1 -0
  392. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  393. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  394. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +41 -0
  395. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +611 -0
  396. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
  397. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
  398. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +822 -0
  399. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
  400. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.d.ts +1 -0
  401. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  402. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  403. package/dist/dist-esm/react-components/src/components/TypingIndicator.d.ts +1 -0
  404. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  405. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  406. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +1 -0
  407. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +3 -1
  408. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  409. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.d.ts +1 -0
  410. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +3 -1
  411. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.d.ts +1 -0
  413. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
  414. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.d.ts +1 -0
  416. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
  417. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +32 -34
  419. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.d.ts +1 -0
  421. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  422. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  423. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.d.ts +1 -0
  424. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +9 -13
  425. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +1 -0
  427. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +13 -15
  428. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  429. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -3
  430. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  431. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +1 -0
  432. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +48 -12
  433. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +1 -0
  435. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +10 -10
  436. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +6 -0
  438. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +84 -21
  439. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.d.ts +22 -0
  441. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +18 -0
  442. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -0
  443. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  444. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +126 -0
  445. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  446. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +7 -0
  447. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  448. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  449. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  450. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +6 -0
  451. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +36 -5
  452. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  453. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  454. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  455. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +1 -0
  456. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  457. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  458. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.d.ts +29 -0
  459. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +145 -0
  460. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -0
  461. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  462. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  463. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +7 -32
  464. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  465. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  466. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  467. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  468. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  469. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  470. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  471. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  472. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  473. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  474. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  475. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  476. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  477. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  478. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  479. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +19 -32
  480. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  481. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +2 -0
  483. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +91 -22
  484. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  485. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +29 -1
  486. package/dist/dist-esm/react-components/src/components/VideoGallery.js +145 -36
  487. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +7 -0
  489. package/dist/dist-esm/react-components/src/components/VideoTile.js +39 -54
  490. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  491. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.d.ts +1 -0
  492. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  493. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/index.d.ts +20 -0
  495. package/dist/dist-esm/react-components/src/components/index.js +12 -0
  496. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  497. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  498. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  499. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  500. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  501. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +3 -12
  503. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  505. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  507. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +1 -3
  508. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  509. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  510. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  511. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  512. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +72 -0
  513. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +212 -0
  514. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -0
  515. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +1 -4
  516. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  517. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +26 -0
  518. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +68 -0
  519. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
  520. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  521. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +5 -0
  522. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +30 -8
  523. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +0 -1
  525. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  527. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  528. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  529. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
  530. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
  531. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  532. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +0 -3
  533. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  534. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -1
  536. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  537. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  538. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  539. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
  540. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  541. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +0 -1
  542. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +3 -17
  544. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
  548. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  549. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  550. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
  552. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  553. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  554. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  555. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
  556. package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
  557. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
  558. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  560. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  561. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  562. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  563. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  564. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  565. package/dist/dist-esm/react-components/src/components/utils.js +13 -10
  566. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  568. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  569. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  570. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +8 -0
  571. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +9 -1
  572. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  573. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  574. package/dist/dist-esm/react-components/src/index.d.ts +1 -0
  575. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  576. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +68 -0
  577. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  579. package/dist/dist-esm/react-components/src/localization/locales/index.js +21 -63
  580. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  581. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -6
  582. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  583. package/dist/dist-esm/react-components/src/theming/icons.d.ts +18 -0
  584. package/dist/dist-esm/react-components/src/theming/icons.js +116 -10
  585. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  586. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  587. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  588. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  589. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  590. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/theming/themes.d.ts +21 -2
  592. package/dist/dist-esm/react-components/src/theming/themes.js +16 -0
  593. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  594. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  595. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +27 -1
  596. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  597. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  598. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  599. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  600. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +9 -0
  601. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  602. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  603. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  604. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +6 -0
  605. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +2 -0
  606. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  607. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  608. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  609. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +106 -0
  610. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +118 -33
  611. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  612. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +172 -0
  613. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  614. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +76 -6
  615. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +388 -58
  616. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  617. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +130 -1
  618. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +9 -1
  619. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  620. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  621. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  622. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  623. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  624. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  625. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
  626. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +16 -4
  627. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  628. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +6 -0
  629. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
  630. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  631. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +7 -0
  632. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +114 -22
  633. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  634. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -0
  635. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +95 -51
  636. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  637. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +48 -0
  638. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
  639. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  640. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.d.ts +1 -0
  641. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  642. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  643. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +3 -0
  644. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
  645. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  646. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.d.ts +1 -0
  647. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +20 -2
  648. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  649. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +3 -0
  650. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
  651. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  652. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.d.ts +1 -0
  653. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  654. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  655. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
  656. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
  657. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
  658. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts +1 -0
  659. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +2 -2
  660. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  661. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts +1 -0
  662. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +34 -23
  663. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  664. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +2 -0
  665. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +62 -24
  666. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  667. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.d.ts +1 -0
  668. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +25 -34
  669. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +6 -0
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +87 -32
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.d.ts +1 -0
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts +1 -0
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +3 -7
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +13 -8
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts +1 -0
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +12 -4
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +7 -2
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +7 -4
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +1 -0
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +47 -5
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +1 -0
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +17 -8
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -0
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.d.ts +1 -0
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +1 -0
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +10 -1
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +13 -9
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +31 -8
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +1 -0
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +7 -0
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +3 -0
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +29 -4
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +8 -0
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +141 -17
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +24 -0
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +34 -0
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +1 -0
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +17 -7
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +1 -0
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +14 -0
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +113 -0
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -0
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +26 -3
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +24 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +9 -0
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +10 -0
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +26 -3
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +26 -3
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +26 -3
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +26 -3
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +26 -3
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +25 -2
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +29 -6
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +34 -11
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +26 -3
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +27 -4
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +52 -6
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +26 -3
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +29 -6
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +2 -7
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +1 -4
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +0 -1
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +0 -1
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +37 -0
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +55 -0
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -0
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +9 -11
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +15 -3
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +115 -15
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  831. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +84 -1
  832. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +103 -21
  833. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  834. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.d.ts +1 -0
  835. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  836. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  837. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.d.ts +1 -0
  838. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  839. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.d.ts +1 -0
  841. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +3 -6
  842. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  843. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -0
  845. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +30 -5
  847. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +148 -6
  848. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  849. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +64 -0
  850. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  851. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +10 -2
  852. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +40 -0
  853. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +13 -0
  855. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +37 -1
  856. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  858. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  859. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  860. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
  861. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  862. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +24 -0
  865. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +11 -1
  866. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  867. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +21 -0
  869. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +6 -2
  870. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  871. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.d.ts +15 -3
  872. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  873. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +1 -0
  875. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +145 -11
  876. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  877. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  878. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  879. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  880. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
  881. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
  882. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
  883. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  884. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +28 -2
  886. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +152 -29
  887. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
  889. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
  890. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +17 -2
  892. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
  894. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  895. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  896. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts +1 -0
  897. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
  898. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  900. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  901. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +3 -5
  902. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  903. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +3 -1
  904. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  905. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.d.ts +1 -0
  906. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  907. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
  908. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
  909. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
  910. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
  911. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
  913. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +13 -0
  914. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
  915. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +34 -0
  916. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
  917. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
  918. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  919. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +6 -1
  921. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -6
  922. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  923. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
  924. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
  925. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
  926. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
  927. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
  928. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
  929. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +6 -0
  930. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
  931. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  932. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  933. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  934. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
  935. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
  936. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
  937. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
  938. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
  939. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
  940. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +1 -0
  941. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +6 -8
  942. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  943. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +1 -0
  944. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  945. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +1 -0
  947. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  948. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  949. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  950. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  951. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +5 -0
  952. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +60 -29
  953. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +32 -25
  955. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  956. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +7 -0
  957. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +234 -30
  958. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  959. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.d.ts +1 -0
  960. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  961. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  962. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  963. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.d.ts +1 -0
  964. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -7
  965. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  966. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +1 -0
  967. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +91 -71
  968. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  969. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  970. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
  971. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  972. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  973. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.d.ts +1 -0
  974. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  975. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  976. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.d.ts +1 -0
  977. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +23 -8
  978. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  979. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.d.ts +1 -0
  980. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  981. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  982. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts +1 -0
  983. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +13 -14
  984. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  985. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +1 -0
  986. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +31 -5
  987. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  988. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +17 -0
  989. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +42 -0
  990. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
  991. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
  992. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +40 -0
  993. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
  994. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +1 -0
  995. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
  996. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  997. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -0
  998. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  999. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1000. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +1 -0
  1001. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -11
  1002. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1003. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1004. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1005. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +45 -1
  1006. package/dist/dist-esm/react-composites/src/composites/common/icons.js +36 -4
  1007. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1008. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1009. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1010. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1011. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1012. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +5 -16
  1013. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1014. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  1015. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1016. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1017. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1018. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1019. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1020. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +21 -4
  1021. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1022. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  1023. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1024. package/dist/dist-esm/react-composites/src/composites/index.d.ts +2 -0
  1025. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1026. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1027. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1028. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1029. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -0
  1030. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1031. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1032. package/package.json +40 -39
@@ -15,6 +15,9 @@
15
15
  * @packageDocumentation
16
16
  */
17
17
 
18
+ /// <reference types="react" />
19
+
20
+ import { AddPhoneNumberOptions } from '@azure/communication-calling';
18
21
  import { AudioDeviceInfo } from '@azure/communication-calling';
19
22
  import { BackgroundBlurConfig } from '@azure/communication-calling';
20
23
  import { BackgroundBlurEffect } from '@azure/communication-calling';
@@ -27,6 +30,7 @@ import { CallClientOptions } from '@azure/communication-calling';
27
30
  import { CallDirection } from '@azure/communication-calling';
28
31
  import { CallEndReason } from '@azure/communication-calling';
29
32
  import { CallerInfo } from '@azure/communication-calling';
33
+ import { CallKind } from '@azure/communication-calling';
30
34
  import { CallState as CallState_2 } from '@azure/communication-calling';
31
35
  import { CapabilitiesChangeInfo } from '@azure/communication-calling';
32
36
  import { CaptionsResultType } from '@azure/communication-calling';
@@ -45,6 +49,8 @@ import { CreateViewOptions } from '@azure/communication-calling';
45
49
  import { DeviceAccess } from '@azure/communication-calling';
46
50
  import { DeviceManager } from '@azure/communication-calling';
47
51
  import { DominantSpeakersInfo } from '@azure/communication-calling';
52
+ import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
53
+ import { EnvironmentInfo } from '@azure/communication-calling';
48
54
  import { GroupCallLocator } from '@azure/communication-calling';
49
55
  import { IButtonProps } from '@fluentui/react';
50
56
  import { IButtonStyles } from '@fluentui/react';
@@ -52,18 +58,23 @@ import { IContextualMenuItem } from '@fluentui/react';
52
58
  import { IContextualMenuItemStyles } from '@fluentui/react';
53
59
  import { IContextualMenuProps } from '@fluentui/react';
54
60
  import { IContextualMenuStyles } from '@fluentui/react';
61
+ import { ILinkStyles } from '@fluentui/react';
55
62
  import { IMessageBarProps } from '@fluentui/react';
63
+ import { IncomingCall } from '@azure/communication-calling';
56
64
  import { IPersonaStyleProps } from '@fluentui/react';
57
65
  import { IPersonaStyles } from '@fluentui/react';
58
66
  import { IRawStyle } from '@fluentui/react';
59
67
  import { IRenderFunction } from '@fluentui/react';
60
68
  import { IStyle } from '@fluentui/react';
61
69
  import { IStyleFunctionOrObject } from '@fluentui/react';
70
+ import { ITextFieldStyles } from '@fluentui/react';
62
71
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
63
72
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
64
73
  import { LocalVideoStream } from '@azure/communication-calling';
65
74
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
66
75
  import { MediaStreamType } from '@azure/communication-calling';
76
+ import { MicrosoftBotKind } from '@azure/communication-common';
77
+ import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
67
78
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
68
79
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
69
80
  import { PartialTheme } from '@fluentui/react';
@@ -79,12 +90,17 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
79
90
  import { default as React_2 } from 'react';
80
91
  import type { RemoteParticipant } from '@azure/communication-calling';
81
92
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
93
+ import { RoomCallLocator } from '@azure/communication-calling';
82
94
  import { ScalingMode } from '@azure/communication-calling';
83
95
  import { SendMessageOptions } from '@azure/communication-chat';
84
96
  import { StartCallOptions } from '@azure/communication-calling';
85
97
  import { StartCaptionsOptions } from '@azure/communication-calling';
98
+ import { SyntheticEvent } from 'react';
99
+ import { TeamsCall } from '@azure/communication-calling';
100
+ import { TeamsCallAgent } from '@azure/communication-calling';
86
101
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
87
102
  import { Theme } from '@fluentui/react';
103
+ import { TransferRequestedEventArgs } from '@azure/communication-calling';
88
104
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
89
105
  import { UnknownIdentifier } from '@azure/communication-common';
90
106
  import { UnknownIdentifierKind } from '@azure/communication-common';
@@ -93,6 +109,22 @@ import { VideoEffectName } from '@azure/communication-calling';
93
109
  import { VideoStreamRenderer } from '@azure/communication-calling';
94
110
  import { VideoStreamRendererView } from '@azure/communication-calling';
95
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
+
96
128
  /**
97
129
  * Active error messages to be shown via {@link ErrorBar}.
98
130
  *
@@ -112,6 +144,38 @@ export declare interface ActiveErrorMessage {
112
144
  timestamp?: Date;
113
145
  }
114
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
+
115
179
  /**
116
180
  * Error reported via error events and stored in adapter state.
117
181
  *
@@ -178,6 +242,13 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
178
242
  */
179
243
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
180
244
 
245
+ /**
246
+ * @beta
247
+ */
248
+ export declare interface AttachmentDownloadResult {
249
+ blobUrl: string;
250
+ }
251
+
181
252
  /**
182
253
  * Custom data attributes for displaying avatar for a user.
183
254
  *
@@ -207,6 +278,11 @@ export declare type AvatarPersonaData = {
207
278
  * @defaultvalue `white`
208
279
  */
209
280
  initialsTextColor?: string;
281
+ /**
282
+ * If true, show the special coin for unknown persona.
283
+ * It has '?' in place of initials, with static font and background colors
284
+ */
285
+ showUnknownPersonaCoin?: boolean;
210
286
  };
211
287
 
212
288
  /**
@@ -228,6 +304,11 @@ export declare type AzureCommunicationCallAdapterArgs = {
228
304
  displayName: string;
229
305
  credential: CommunicationTokenCredential;
230
306
  locator: CallAdapterLocator;
307
+ /**
308
+ * A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
309
+ * E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
310
+ */
311
+ alternateCallerId?: string;
231
312
  /**
232
313
  * Optional parameters for the {@link AzureCommunicationCallAdapter} created
233
314
  */
@@ -252,6 +333,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
252
333
  displayName: string;
253
334
  credential: CommunicationTokenCredential;
254
335
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
336
+ alternateCallerId?: string;
255
337
  callAdapterOptions?: AzureCommunicationCallAdapterOptions;
256
338
  };
257
339
 
@@ -267,6 +349,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
267
349
  chatClient: StatefulChatClient;
268
350
  chatThreadClient: ChatThreadClient;
269
351
  callAdapterOptions?: AzureCommunicationCallAdapterOptions;
352
+ chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
270
353
  };
271
354
 
272
355
  /**
@@ -282,6 +365,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
282
365
  threadId: string;
283
366
  };
284
367
 
368
+ /**
369
+ * Configuration options to include when creating AzureCommunicationChatAdapter.
370
+ * @beta
371
+ */
372
+ export declare type AzureCommunicationChatAdapterOptions = {
373
+ credential?: CommunicationTokenCredential;
374
+ };
375
+
285
376
  /**
286
377
  * Properties common to all composites exported from this library.
287
378
  *
@@ -337,6 +428,186 @@ export declare interface BaseCustomStyles {
337
428
  root?: IStyle;
338
429
  }
339
430
 
431
+ /**
432
+ * Base interface that all Meta Data should extend.
433
+ * Typically used for ACS to ACS file transfers.
434
+ * @beta
435
+ */
436
+ export declare interface BaseFileMetadata {
437
+ /**
438
+ * File name to be displayed.
439
+ */
440
+ name: string;
441
+ /**
442
+ * Extension is used for rendering the file icon.
443
+ * An unknown extension will be rendered as a generic icon.
444
+ * Example: `jpeg`
445
+ */
446
+ extension: string;
447
+ /**
448
+ * Download URL for the file.
449
+ */
450
+ url: string;
451
+ /**
452
+ * Unique ID of the file.
453
+ */
454
+ id: string;
455
+ /**
456
+ * Attachment Type
457
+ */
458
+ attachmentType: FileMetadataAttachmentType;
459
+ }
460
+
461
+ /**
462
+ * Content blocked message type.
463
+ *
464
+ * Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
465
+ *
466
+ * @beta
467
+ */
468
+ export declare interface BlockedMessage extends MessageCommon {
469
+ messageType: 'blocked';
470
+ warningText?: string;
471
+ linkText?: string;
472
+ link?: string;
473
+ deletedOn?: Date;
474
+ senderId?: string;
475
+ senderDisplayName?: string;
476
+ status?: MessageStatus;
477
+ attached?: MessageAttachedStatus;
478
+ mine?: boolean;
479
+ }
480
+
481
+ /**
482
+ * @beta
483
+ * Props for BrowserPermissionDeniedIOS component.
484
+ */
485
+ export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
486
+ /**
487
+ * Localization strings for BrowserPermissionDeniedIOS component.
488
+ */
489
+ strings?: BrowserPermissionDeniedIOSStrings;
490
+ /**
491
+ * Link to image source.
492
+ *
493
+ * Image is inserted into the top of the component.
494
+ */
495
+ imageSource?: string;
496
+ }
497
+
498
+ /**
499
+ * @beta
500
+ * Strings for BrowserPermissionDeniedIOS component
501
+ */
502
+ export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
503
+ /**
504
+ * Image alt text
505
+ */
506
+ imageAltText: string;
507
+ /**
508
+ * Main text string.
509
+ */
510
+ primaryText: string;
511
+ /**
512
+ * Subtext string.
513
+ */
514
+ secondaryText: string;
515
+ /**
516
+ * Step 1 string
517
+ */
518
+ step1Text: string;
519
+ /**
520
+ * Step 1 digit string
521
+ */
522
+ step1DigitText: string;
523
+ /**
524
+ * Step 2 string
525
+ */
526
+ step2Text: string;
527
+ /**
528
+ * Step 2 digit string
529
+ */
530
+ step2DigitText: string;
531
+ /**
532
+ * Step 3 string
533
+ */
534
+ step3Text: string;
535
+ /**
536
+ * Step 3 digit string
537
+ */
538
+ step3DigitText: string;
539
+ /**
540
+ * Step 4 string
541
+ */
542
+ step4Text: string;
543
+ /**
544
+ * Step 4 digit string
545
+ */
546
+ step4DigitText: string;
547
+ }
548
+
549
+ /**
550
+ * @beta
551
+ * Props for BrowserPermissionDenied component.
552
+ */
553
+ export declare interface BrowserPermissionDeniedProps {
554
+ /**
555
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
556
+ */
557
+ onTroubleshootingClick?: () => void;
558
+ /**
559
+ * Action to be taken by the try again primary button.
560
+ */
561
+ onTryAgainClick?: () => void;
562
+ /**
563
+ * Localization strings for BrowserPermissionDenied component.
564
+ */
565
+ strings?: BrowserPermissionDeniedStrings;
566
+ /**
567
+ * Allows users to pass in an object contains custom CSS styles.
568
+ * @Example
569
+ * ```
570
+ * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
571
+ * ```
572
+ */
573
+ styles?: BrowserPermissionDeniedStyles;
574
+ }
575
+
576
+ /**
577
+ * @beta
578
+ * Strings for BrowserPermissionDenied component
579
+ */
580
+ export declare interface BrowserPermissionDeniedStrings {
581
+ /**
582
+ * Main button text string.
583
+ */
584
+ primaryButtonText: string;
585
+ /**
586
+ * Main text string.
587
+ */
588
+ primaryText: string;
589
+ /**
590
+ * Subtext string.
591
+ */
592
+ secondaryText: string;
593
+ /**
594
+ * More help link string.
595
+ */
596
+ linkText: string;
597
+ }
598
+
599
+ /**
600
+ * Fluent styles for {@link BrowserPermissionDenied}.
601
+ *
602
+ * @beta
603
+ */
604
+ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
605
+ /** Styles for the primary button. */
606
+ primaryButton?: IButtonStyles;
607
+ /** Styles for the help troubleshooting link text. */
608
+ troubleshootingLink?: ILinkStyles;
609
+ }
610
+
340
611
  /**
341
612
  * An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
342
613
  *
@@ -370,6 +641,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
370
641
  * @public
371
642
  */
372
643
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
644
+ /**
645
+ * Start the call.
646
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
647
+ * @beta
648
+ */
649
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
373
650
  }
374
651
 
375
652
  /**
@@ -414,6 +691,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
414
691
  * @public
415
692
  */
416
693
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
694
+ /**
695
+ * Start the call.
696
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
697
+ * @beta
698
+ */
699
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
417
700
  }
418
701
 
419
702
  /**
@@ -490,6 +773,12 @@ export declare interface CallAdapterCallOperations {
490
773
  * @public
491
774
  */
492
775
  removeParticipant(userId: string): Promise<void>;
776
+ /**
777
+ * Remove a participant from the call.
778
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
779
+ * @beta
780
+ */
781
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
493
782
  /**
494
783
  * Create the html view for a stream.
495
784
  *
@@ -541,6 +830,35 @@ export declare interface CallAdapterCallOperations {
541
830
  * @public
542
831
  */
543
832
  disposeLocalVideoStreamView(): Promise<void>;
833
+ /**
834
+ * Holds the call.
835
+ *
836
+ * @beta
837
+ */
838
+ holdCall(): Promise<void>;
839
+ /**
840
+ * Resumes the call from a `LocalHold` state.
841
+ *
842
+ * @beta
843
+ */
844
+ resumeCall(): Promise<void>;
845
+ /**
846
+ * Add a participant to the call.
847
+ *
848
+ * @beta
849
+ */
850
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
851
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
852
+ /**
853
+ * send dtmf tone to another participant in a 1:1 PSTN call
854
+ *
855
+ * @beta
856
+ */
857
+ sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
858
+ /**
859
+ * Continues into a call when the browser version is not supported.
860
+ */
861
+ allowUnsupportedBrowserVersion(): void;
544
862
  /**
545
863
  * Function to Start captions
546
864
  * @param options - options for start captions
@@ -600,10 +918,22 @@ export declare type CallAdapterClientState = {
600
918
  devices: DeviceManagerState;
601
919
  endedCall?: CallState;
602
920
  isTeamsCall: boolean;
921
+ /**
922
+ * State to track whether the call is a rooms call.
923
+ */
924
+ isRoomsCall: boolean;
603
925
  /**
604
926
  * Latest error encountered for each operation performed via the adapter.
605
927
  */
606
928
  latestErrors: AdapterErrors;
929
+ /**
930
+ * Azure communications Phone number to make PSTN calls with.
931
+ */
932
+ alternateCallerId?: string;
933
+ /**
934
+ * Environment information about system the adapter is made on
935
+ */
936
+ environmentInfo?: EnvironmentInfo;
607
937
  /**
608
938
  * State to track whether the local participant's camera is on. To be used when creating a custom
609
939
  * control bar with the CallComposite.
@@ -621,6 +951,10 @@ export declare type CallAdapterClientState = {
621
951
  * State to track the selected video background effect.
622
952
  */
623
953
  selectedVideoBackgroundEffect?: VideoBackgroundEffect;
954
+ /**
955
+ * Call from transfer request accepted by local user
956
+ */
957
+ acceptedTransferCallState?: CallState;
624
958
  };
625
959
 
626
960
  /**
@@ -705,7 +1039,7 @@ export declare interface CallAdapterDeviceManagement {
705
1039
  *
706
1040
  * @public
707
1041
  */
708
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
1042
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
709
1043
 
710
1044
  /**
711
1045
  * {@link CommonCallAdapter} state.
@@ -798,6 +1132,10 @@ export declare interface CallAdapterSubscribers {
798
1132
  * Subscribe function for 'isSpokenLanguageChanged' event.
799
1133
  */
800
1134
  on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
1135
+ /**
1136
+ * Subscribe function for 'transferRequested' event.
1137
+ */
1138
+ on(event: 'transferRequested', listener: TransferRequestedListener): void;
801
1139
  /**
802
1140
  * Subscribe function for 'capabilitiesChanged' event.
803
1141
  */
@@ -866,6 +1204,10 @@ export declare interface CallAdapterSubscribers {
866
1204
  * Unsubscribe function for 'isSpokenLanguageChanged' event.
867
1205
  */
868
1206
  off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
1207
+ /**
1208
+ * Unsubscribe function for 'transferRequested' event.
1209
+ */
1210
+ off(event: 'transferRequested', listener: TransferRequestedListener): void;
869
1211
  /**
870
1212
  * Unsubscribe function for 'capabilitiesChanged' event.
871
1213
  */
@@ -880,6 +1222,7 @@ export declare interface CallAdapterSubscribers {
880
1222
  export declare type CallAdapterUiState = {
881
1223
  isLocalPreviewMicrophoneEnabled: boolean;
882
1224
  page: CallCompositePage;
1225
+ unsupportedBrowserVersionsAllowed?: boolean;
883
1226
  };
884
1227
 
885
1228
  /**
@@ -898,7 +1241,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
898
1241
  */
899
1242
  export declare interface CallAgentProviderProps {
900
1243
  children: React_2.ReactNode;
901
- callAgent?: CallAgent;
1244
+ callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
902
1245
  }
903
1246
 
904
1247
  /**
@@ -923,7 +1266,7 @@ export declare interface CallAgentState {
923
1266
  */
924
1267
  export declare interface CallAndChatLocator {
925
1268
  /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
926
- callLocator: GroupCallLocator;
1269
+ callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
927
1270
  /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
928
1271
  chatThreadId: string;
929
1272
  }
@@ -1010,6 +1353,16 @@ export declare interface CallClientState {
1010
1353
  * See documentation of {@Link CallErrors} for details.
1011
1354
  */
1012
1355
  latestErrors: CallErrors;
1356
+ /**
1357
+ * A phone number in E.164 format that will be used to represent callers identity.
1358
+ * For example, using the alternateCallerId to add a participant using PSTN, this number will
1359
+ * be used as the caller id in the PSTN call.
1360
+ */
1361
+ alternateCallerId?: string;
1362
+ /**
1363
+ * state to track the environment that the stateful client was made in is supported
1364
+ */
1365
+ environmentInfo?: EnvironmentInfo;
1013
1366
  }
1014
1367
 
1015
1368
  /**
@@ -1080,8 +1433,19 @@ export declare type CallCompositeIcons = {
1080
1433
  ParticipantItemScreenShareStart?: JSX.Element;
1081
1434
  VideoTileMicOff?: JSX.Element;
1082
1435
  LocalCameraSwitch?: JSX.Element;
1436
+ PeoplePaneAddPerson?: JSX.Element;
1437
+ PeoplePaneOpenDialpad?: JSX.Element;
1438
+ DialpadStartCall?: JSX.Element;
1439
+ NoticePageAccessDeniedRoomsCall?: JSX.Element;
1083
1440
  BlurVideoBackground?: JSX.Element;
1084
1441
  RemoveVideoBackgroundEffect?: JSX.Element;
1442
+ GalleryOptions?: JSX.Element;
1443
+ SpeakerGalleryLayout?: JSX.Element;
1444
+ FloatingLocalVideoGalleryLayout?: JSX.Element;
1445
+ DefaultGalleryLayout?: JSX.Element;
1446
+ FocusedContentGalleryLayout?: JSX.Element;
1447
+ OverflowGalleryTop?: JSX.Element;
1448
+ LargeGalleryLayout?: JSX.Element;
1085
1449
  };
1086
1450
 
1087
1451
  /**
@@ -1102,10 +1466,75 @@ export declare type CallCompositeOptions = {
1102
1466
  * @defaultValue true
1103
1467
  */
1104
1468
  callControls?: boolean | CallControlOptions;
1469
+ /**
1470
+ * Device permissions check options for your call.
1471
+ * Here you can choose what device permissions you prompt the user for,
1472
+ * as well as what device permissions must be accepted before starting a call.
1473
+ */
1474
+ deviceChecks?: DeviceCheckOptions;
1475
+ /**
1476
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1477
+ * unable to grant your site the required permissions for the call.
1478
+ *
1479
+ * @example
1480
+ * ```ts
1481
+ * onPermissionsTroubleshootingClick: () =>
1482
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
1483
+ * ```
1484
+ *
1485
+ * @remarks
1486
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
1487
+ */
1488
+ onPermissionsTroubleshootingClick?: (permissionsState: {
1489
+ camera: PermissionState;
1490
+ microphone: PermissionState;
1491
+ }) => void;
1492
+ /**
1493
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1494
+ * having network issues when connecting to the call.
1495
+ *
1496
+ * @example
1497
+ * ```ts
1498
+ * onNetworkingTroubleShootingClick?: () =>
1499
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
1500
+ * ```
1501
+ *
1502
+ * @remarks
1503
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
1504
+ */
1505
+ onNetworkingTroubleShootingClick?: () => void;
1506
+ /**
1507
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
1508
+ *
1509
+ * @example
1510
+ * ```ts
1511
+ * onBrowserTroubleShootingClick?: () =>
1512
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
1513
+ * ```
1514
+ *
1515
+ * @remarks
1516
+ * if this is not supplied, the composite will not show a unsupported browser page.
1517
+ */
1518
+ onEnvironmentInfoTroubleshootingClick?: () => void;
1105
1519
  /**
1106
1520
  * Remote participant video tile menu options
1107
1521
  */
1108
1522
  remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
1523
+ /**
1524
+ * Options for controlling the local video tile.
1525
+ *
1526
+ * @remarks if 'false' the local video tile will not be rendered.
1527
+ */
1528
+ localVideoTile?: boolean | LocalVideoTileOptions;
1529
+ /**
1530
+ * Options for controlling the starting layout of the composite's video gallery
1531
+ */
1532
+ galleryOptions?: {
1533
+ /**
1534
+ * Layout for the gallery when the call starts
1535
+ */
1536
+ layout?: VideoGalleryLayout;
1537
+ };
1109
1538
  };
1110
1539
 
1111
1540
  /**
@@ -1113,7 +1542,7 @@ export declare type CallCompositeOptions = {
1113
1542
  *
1114
1543
  * @public
1115
1544
  */
1116
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
1545
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
1117
1546
 
1118
1547
  /**
1119
1548
  * Props for {@link CallComposite}.
@@ -1359,14 +1788,86 @@ export declare interface CallCompositeStrings {
1359
1788
  * Label for SidePaneHeader dismiss button
1360
1789
  */
1361
1790
  dismissSidePaneButtonLabel?: string;
1791
+ /**
1792
+ * Side pane People section subheader.
1793
+ */
1794
+ peoplePaneSubTitle: string;
1795
+ /**
1796
+ * Label for button to copy invite link
1797
+ */
1798
+ copyInviteLinkButtonLabel: string;
1799
+ /**
1800
+ * Label for button to open dialpad
1801
+ */
1802
+ openDialpadButtonLabel: string;
1803
+ /**
1804
+ * Label for menu item to remove participant
1805
+ */
1806
+ removeMenuLabel: string;
1807
+ /**
1808
+ * Label for add people dropdown
1809
+ */
1810
+ peoplePaneAddPeopleButtonLabel: string;
1811
+ /**
1812
+ * Label for button to start a call
1813
+ */
1814
+ dialpadStartCallButtonLabel: string;
1815
+ /**
1816
+ * Title for dialpad Modal
1817
+ */
1818
+ dialpadModalTitle: string;
1819
+ /**
1820
+ * Aria Label for dialpad Modal
1821
+ */
1822
+ dialpadModalAriaLabel: string;
1823
+ /**
1824
+ * Aria Label for dialpad Modal close button
1825
+ */
1826
+ dialpadCloseModalButtonAriaLabel: string;
1362
1827
  /**
1363
1828
  * label for more button in the Calling composite
1364
1829
  */
1365
1830
  moreButtonCallingLabel: string;
1831
+ /**
1832
+ * Label for the resume call button on the hold pane
1833
+ */
1834
+ resumeCallButtonLabel: string;
1835
+ /**
1836
+ * Label for the resume call button on the hold pane when call is resuming
1837
+ */
1838
+ resumingCallButtonLabel: string;
1839
+ /**
1840
+ * Aria label for the resume call button on the hold pane
1841
+ */
1842
+ resumeCallButtonAriaLabel: string;
1843
+ /**
1844
+ * Aria label for the resume call button on the hold pane when call is resuming
1845
+ */
1846
+ resumingCallButtonAriaLabel: string;
1847
+ /**
1848
+ * Label for the hold pane
1849
+ */
1850
+ holdScreenLabel: string;
1851
+ /**
1852
+ * Placeholder text for dtmf dialpad
1853
+ */
1854
+ dtmfDialpadPlaceholderText: string;
1855
+ /**
1856
+ * Label for the button to open dtmf dialpad
1857
+ */
1858
+ openDtmfDialpadLabel: string;
1366
1859
  /**
1367
1860
  * aria label for when the invite link has been actioned
1368
1861
  */
1369
1862
  copyInviteLinkActionedAriaLabel: string;
1863
+ /**
1864
+ * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1865
+ */
1866
+ roomNotFoundTitle: string;
1867
+ /**
1868
+ * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1869
+ */
1870
+ roomNotFoundDetails?: string;
1370
1871
  /**
1371
1872
  * Video Effects pane title.
1372
1873
  */
@@ -1404,7 +1905,27 @@ export declare interface CallCompositeStrings {
1404
1905
  */
1405
1906
  cameraOffBackgroundEffectWarningText?: string;
1406
1907
  /**
1407
- * Notice to be announced by narrator when a participant joins a call
1908
+ * Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
1909
+ */
1910
+ deniedPermissionToRoomTitle: string;
1911
+ /**
1912
+ * More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
1913
+ */
1914
+ deniedPermissionToRoomDetails?: string;
1915
+ /**
1916
+ * Control bar People button ToolTipContent
1917
+ */
1918
+ peopleButtonTooltipOpen: string;
1919
+ /**
1920
+ * Control bar People button ToolTipContent
1921
+ */
1922
+ peopleButtonTooltipClose: string;
1923
+ /**
1924
+ * Label disaplayed on the lobby screen during a 1:1 outbound call.
1925
+ */
1926
+ outboundCallingNoticeString: string;
1927
+ /**
1928
+ * Notice to be announced by narrator when a participant joins a call
1408
1929
  */
1409
1930
  participantJoinedNoticeString: string;
1410
1931
  /**
@@ -1527,6 +2048,86 @@ export declare interface CallCompositeStrings {
1527
2048
  * captions banner loading spinner label
1528
2049
  */
1529
2050
  captionsBannerSpinnerText?: string;
2051
+ /**
2052
+ * transfer page text when showing the transferor who initiated the transfer
2053
+ */
2054
+ transferPageTransferorText: string;
2055
+ /**
2056
+ * transfer page text when showing the transfer target
2057
+ */
2058
+ transferPageTransferTargetText: string;
2059
+ /**
2060
+ * transfer page display name for unknown participant
2061
+ */
2062
+ transferPageUnknownTransferorDisplayName: string;
2063
+ /**
2064
+ * transfer page display name for unknown participant
2065
+ */
2066
+ transferPageUnknownTransferTargetDisplayName: string;
2067
+ /**
2068
+ * notice to be announced by narrator the transfer page is showing
2069
+ */
2070
+ transferPageNoticeString: string;
2071
+ /**
2072
+ * Title text of the page shown to the user when target participant could not be reached
2073
+ */
2074
+ participantCouldNotBeReachedTitle?: string;
2075
+ /**
2076
+ * More details text of the page shown to the user when target participant could not be reached
2077
+ */
2078
+ participantCouldNotBeReachedMoreDetails?: string;
2079
+ /**
2080
+ * Title text of the page shown to the user when permission to reach participant is not allowed
2081
+ */
2082
+ permissionToReachTargetParticipantNotAllowedTitle?: string;
2083
+ /**
2084
+ * More details text of the page shown to the user when permission to reach participant is not allowed
2085
+ */
2086
+ permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
2087
+ /**
2088
+ * Title text of the page shown to the user when tenant id for the target participant could not be resolved
2089
+ */
2090
+ unableToResolveTenantTitle?: string;
2091
+ /**
2092
+ * More details text of the page shown to the user when tenant id for the target participant could not be resolved
2093
+ */
2094
+ unableToResolveTenantMoreDetails?: string;
2095
+ /**
2096
+ * Title text of the page shown to the user when target participant id is malformed
2097
+ */
2098
+ participantIdIsMalformedTitle?: string;
2099
+ /**
2100
+ * More details text of the page shown to the user when target participant id is malformed
2101
+ */
2102
+ participantIdIsMalformedMoreDetails?: string;
2103
+ /**
2104
+ * Controls label to move the overflow gallery around
2105
+ */
2106
+ moreButtonGalleryControlLabel?: string;
2107
+ /**
2108
+ * Label for the toggle to move the overflow gallery to the top
2109
+ */
2110
+ moreButtonGalleryPositionToggleLabel?: string;
2111
+ /**
2112
+ * Label for the selection of the speaker layout
2113
+ */
2114
+ moreButtonGallerySpeakerLayoutLabel?: string;
2115
+ /**
2116
+ * Label for the selection of the default (Gallery) layout
2117
+ */
2118
+ moreButtonGalleryDefaultLayoutLabel?: string;
2119
+ /**
2120
+ * Label for the selection of the default (Gallery) layout
2121
+ */
2122
+ moreButtonLargeGalleryDefaultLayoutLabel?: string;
2123
+ /**
2124
+ * Label for the selection of the floatingLocalVideo (Dynamic) layout
2125
+ */
2126
+ moreButtonGalleryFloatingLocalLayoutLabel?: string;
2127
+ /**
2128
+ * Label for the selection of the focusedContentLayout (Focused content) layout
2129
+ */
2130
+ moreButtonGalleryFocusedContentLayoutLabel?: string;
1530
2131
  /**
1531
2132
  * All strings for capability changed notification
1532
2133
  */
@@ -1545,7 +2146,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
1545
2146
  *
1546
2147
  * @public
1547
2148
  */
1548
- export declare type CallControlOptions = (CommonCallControlOptions & {
2149
+ export declare type CallControlOptions = CommonCallControlOptions & {
1549
2150
  /**
1550
2151
  * Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
1551
2152
  * @defaultValue true
@@ -1554,7 +2155,7 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
1554
2155
  disabled: boolean;
1555
2156
  };
1556
2157
  legacyControlBarExperience?: boolean;
1557
- });
2158
+ };
1558
2159
 
1559
2160
  /**
1560
2161
  * Callback for {@link CallAdapterSubscribers} 'callEnded' event.
@@ -1615,7 +2216,7 @@ export declare type CallErrors = {
1615
2216
  *
1616
2217
  * @public
1617
2218
  */
1618
- 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';
2219
+ 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.setConstraints';
1619
2220
 
1620
2221
  /**
1621
2222
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1695,6 +2296,23 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
1695
2296
  raisedHand?: RaisedHand;
1696
2297
  };
1697
2298
 
2299
+ /**
2300
+ * Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
2301
+ *
2302
+ * @remarks
2303
+ * This is currently in beta and only supports calling one Teams User.
2304
+ *
2305
+ * @example
2306
+ * ```
2307
+ * ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
2308
+ * ```
2309
+ *
2310
+ * @beta
2311
+ */
2312
+ export declare type CallParticipantsLocator = {
2313
+ participantIds: string[];
2314
+ };
2315
+
1698
2316
  /**
1699
2317
  * A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
1700
2318
  *
@@ -1711,7 +2329,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
1711
2329
  */
1712
2330
  export declare interface CallProviderProps {
1713
2331
  children: React_2.ReactNode;
1714
- call?: Call;
2332
+ call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1715
2333
  }
1716
2334
 
1717
2335
  /**
@@ -1725,6 +2343,10 @@ export declare interface CallState {
1725
2343
  * Proxy of {@link @azure/communication-calling#Call.id}.
1726
2344
  */
1727
2345
  id: string;
2346
+ /**
2347
+ * Type of the call.
2348
+ */
2349
+ kind: CallKind;
1728
2350
  /**
1729
2351
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
1730
2352
  */
@@ -1823,6 +2445,14 @@ export declare interface CallState {
1823
2445
  * Proxy of {@link @azure/communication-calling#Call.role}.
1824
2446
  */
1825
2447
  role?: ParticipantRole;
2448
+ /**
2449
+ * Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
2450
+ */
2451
+ totalParticipantCount?: number;
2452
+ /**
2453
+ * Transfer state of call
2454
+ */
2455
+ transfer: TransferFeature;
1826
2456
  /**
1827
2457
  * Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
1828
2458
  */
@@ -1850,6 +2480,12 @@ export declare interface CallWithChatAdapterManagement {
1850
2480
  * @public
1851
2481
  */
1852
2482
  removeParticipant(userId: string): Promise<void>;
2483
+ /**
2484
+ * Remove a participant from the call.
2485
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
2486
+ * @beta
2487
+ */
2488
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
1853
2489
  /**
1854
2490
  * Join the call with microphone initially on/off.
1855
2491
  * @deprecated Use joinCall(options?:JoinCallOptions) instead.
@@ -1915,6 +2551,12 @@ export declare interface CallWithChatAdapterManagement {
1915
2551
  * @public
1916
2552
  */
1917
2553
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
2554
+ /**
2555
+ * Start the call.
2556
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
2557
+ * @beta
2558
+ */
2559
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
1918
2560
  /**
1919
2561
  * Start sharing the screen during a call.
1920
2562
  *
@@ -2104,6 +2746,52 @@ export declare interface CallWithChatAdapterManagement {
2104
2746
  * @public
2105
2747
  */
2106
2748
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
2749
+ /** @beta */
2750
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
2751
+ /** @beta */
2752
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
2753
+ /** @beta */
2754
+ clearFileUploads: () => void;
2755
+ /** @beta */
2756
+ cancelFileUpload: (id: string) => void;
2757
+ /** @beta */
2758
+ updateFileUploadProgress: (id: string, progress: number) => void;
2759
+ /** @beta */
2760
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2761
+ /** @beta */
2762
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2763
+ downloadAttachments: (options: {
2764
+ attachmentUrls: string[];
2765
+ }) => Promise<AttachmentDownloadResult[]>;
2766
+ /**
2767
+ * Puts the Call in a Localhold.
2768
+ *
2769
+ * @beta
2770
+ */
2771
+ holdCall: () => Promise<void>;
2772
+ /**
2773
+ * Resumes the call from a LocalHold state.
2774
+ *
2775
+ * @beta
2776
+ */
2777
+ resumeCall: () => Promise<void>;
2778
+ /**
2779
+ * Adds a new Participant to the call.
2780
+ *
2781
+ * @beta
2782
+ */
2783
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
2784
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
2785
+ /**
2786
+ * send dtmf tone to another participant in the call in 1:1 calls
2787
+ *
2788
+ * @beta
2789
+ */
2790
+ sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2791
+ /**
2792
+ * Continues into a call when the browser version is not supported.
2793
+ */
2794
+ allowUnsupportedBrowserVersion(): void;
2107
2795
  /**
2108
2796
  * Function to Start captions
2109
2797
  * @param options - options for start captions
@@ -2229,6 +2917,22 @@ export declare interface CallWithChatAdapterUiState {
2229
2917
  * @public
2230
2918
  */
2231
2919
  page: CallCompositePage;
2920
+ /**
2921
+ * Files being uploaded by a user in the current thread.
2922
+ * Should be set to null once the upload is complete.
2923
+ * Array of type {@link FileUploadsUiState}
2924
+ *
2925
+ * @beta
2926
+ */
2927
+ fileUploads?: FileUploadsUiState;
2928
+ /**
2929
+ * State to track whether the end user has opted in to using a
2930
+ * out of date version of a supported browser. Allows the user
2931
+ * to start a call in this state.
2932
+ *
2933
+ * @beta
2934
+ */
2935
+ unsupportedBrowserVersionsAllowed?: boolean;
2232
2936
  }
2233
2937
 
2234
2938
  /**
@@ -2253,6 +2957,12 @@ export declare interface CallWithChatClientState {
2253
2957
  devices: DeviceManagerState;
2254
2958
  /** State of whether the active call is a Teams interop call */
2255
2959
  isTeamsCall: boolean;
2960
+ /** State of whether the active call is a rooms call */
2961
+ isRoomsCall: boolean;
2962
+ /** alternateCallerId for PSTN call */
2963
+ alternateCallerId?: string | undefined;
2964
+ /** Environment information for system adapter is made on */
2965
+ environmentInfo?: EnvironmentInfo;
2256
2966
  /** Default set of background images for background replacement effect */
2257
2967
  videoBackgroundImages?: VideoBackgroundImage[];
2258
2968
  /** Dependency to be injected for video background effects */
@@ -2327,6 +3037,9 @@ export declare type CallWithChatCompositeIcons = {
2327
3037
  ParticipantItemScreenShareStart?: JSX.Element;
2328
3038
  VideoTileMicOff?: JSX.Element;
2329
3039
  LocalCameraSwitch?: JSX.Element;
3040
+ PeoplePaneAddPerson?: JSX.Element;
3041
+ PeoplePaneOpenDialpad?: JSX.Element;
3042
+ DialpadStartCall?: JSX.Element;
2330
3043
  EditBoxCancel?: JSX.Element;
2331
3044
  EditBoxSubmit?: JSX.Element;
2332
3045
  MessageDelivered?: JSX.Element;
@@ -2353,6 +3066,81 @@ export declare type CallWithChatCompositeOptions = {
2353
3066
  * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
2354
3067
  */
2355
3068
  callControls?: boolean | CallWithChatControlOptions;
3069
+ /**
3070
+ * Properties for configuring the File Sharing feature.
3071
+ * If undefined, file sharing feature will be disabled.
3072
+ * @beta
3073
+ */
3074
+ fileSharing?: FileSharingOptions;
3075
+ /**
3076
+ * Device permissions check options for your call.
3077
+ * Here you can choose what device permissions you prompt the user for,
3078
+ * as well as what device permissions must be accepted before starting a call.
3079
+ */
3080
+ deviceChecks?: DeviceCheckOptions;
3081
+ /**
3082
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
3083
+ * unable to grant your site the required permissions for the call.
3084
+ *
3085
+ * @example
3086
+ * ```ts
3087
+ * onPermissionsTroubleshootingClick: () =>
3088
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
3089
+ * ```
3090
+ *
3091
+ * @remarks
3092
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
3093
+ */
3094
+ onPermissionsTroubleshootingClick?: (permissionsState: {
3095
+ camera: PermissionState;
3096
+ microphone: PermissionState;
3097
+ }) => void;
3098
+ /**
3099
+ * Optional callback to supply users with further troubleshooting steps for network issues
3100
+ * experienced when connecting to a call.
3101
+ *
3102
+ * @example
3103
+ * ```ts
3104
+ * onNetworkingTroubleShootingClick?: () =>
3105
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
3106
+ * ```
3107
+ *
3108
+ * @remarks
3109
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
3110
+ */
3111
+ onNetworkingTroubleShootingClick?: () => void;
3112
+ /**
3113
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
3114
+ *
3115
+ * @example
3116
+ * ```ts
3117
+ * onBrowserTroubleShootingClick?: () =>
3118
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
3119
+ * ```
3120
+ *
3121
+ * @remarks
3122
+ * if this is not supplied, the composite will not show a unsupported browser page.
3123
+ */
3124
+ onEnvironmentInfoTroubleshootingClick?: () => void;
3125
+ /**
3126
+ * Remote participant video tile menu options
3127
+ */
3128
+ remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
3129
+ /**
3130
+ * Options for controlling the local video tile.
3131
+ *
3132
+ * @remarks if 'false' the local video tile will not be rendered.
3133
+ */
3134
+ localVideoTile?: boolean | LocalVideoTileOptions;
3135
+ /**
3136
+ * Options for controlling the starting layout of the composite's video gallery
3137
+ */
3138
+ galleryOptions?: {
3139
+ /**
3140
+ * Layout for the gallery when the call starts
3141
+ */
3142
+ layout?: VideoGalleryLayout;
3143
+ };
2356
3144
  };
2357
3145
 
2358
3146
  /**
@@ -2500,6 +3288,10 @@ export declare interface CallWithChatCompositeStrings {
2500
3288
  * Label for button to copy invite link
2501
3289
  */
2502
3290
  copyInviteLinkButtonLabel: string;
3291
+ /**
3292
+ * Label for button to open dialpad
3293
+ */
3294
+ openDialpadButtonLabel: string;
2503
3295
  /**
2504
3296
  * Label for SidePaneHeader dismiss button
2505
3297
  */
@@ -2512,6 +3304,34 @@ export declare interface CallWithChatCompositeStrings {
2512
3304
  * Aria label string for return to call back button
2513
3305
  */
2514
3306
  returnToCallButtonAriaLabel?: string;
3307
+ /**
3308
+ * Label for add people dropdown
3309
+ */
3310
+ peoplePaneAddPeopleButtonLabel: string;
3311
+ /**
3312
+ * Label for button to start a call
3313
+ */
3314
+ dialpadStartCallButtonLabel: string;
3315
+ /**
3316
+ * Title for dialpad Modal
3317
+ */
3318
+ dialpadModalTitle: string;
3319
+ /**
3320
+ * Aria Label for dialpad Modal
3321
+ */
3322
+ dialpadModalAriaLabel: string;
3323
+ /**
3324
+ * Aria Label for dialpad Modal close button
3325
+ */
3326
+ dialpadCloseModalButtonAriaLabel: string;
3327
+ /**
3328
+ * Placeholder text for dtmf dialpad
3329
+ */
3330
+ dtmfDialpadPlaceholderText: string;
3331
+ /**
3332
+ * Label for the button to open dtmf dialpad
3333
+ */
3334
+ openDtmfDialpadLabel: string;
2515
3335
  /**
2516
3336
  * aria label for when the invite link has been actioned
2517
3337
  */
@@ -2528,7 +3348,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2528
3348
  * Show or hide the chat button in the call-with-chat composite control bar.
2529
3349
  * @defaultValue true
2530
3350
  */
2531
- chatButton?: boolean;
3351
+ chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3352
+ disabled: boolean;
3353
+ };
2532
3354
  }
2533
3355
 
2534
3356
  /**
@@ -2538,6 +3360,35 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2538
3360
  */
2539
3361
  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' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2540
3362
 
3363
+ /**
3364
+ * @beta
3365
+ *
3366
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3367
+ * by their browsers settings.
3368
+ */
3369
+ export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
3370
+
3371
+ /**
3372
+ * @beta
3373
+ * Props for CameraAndMicrophoneSitePermissions component.
3374
+ */
3375
+ export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
3376
+ /** Icon name for the camera icon */
3377
+ cameraIconName?: string;
3378
+ /** Icon name for the microphone icon */
3379
+ microphoneIconName?: string;
3380
+ /** Icon name for the central icon between the camera and microphone icons */
3381
+ connectorIconName?: string;
3382
+ /** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
3383
+ strings?: CameraAndMicrophoneSitePermissionsStrings;
3384
+ }
3385
+
3386
+ /**
3387
+ * @beta
3388
+ * Strings for CameraAndMicrophoneSitePermissions component.
3389
+ */
3390
+ export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
3391
+
2541
3392
  /**
2542
3393
  * A button to turn camera on / off.
2543
3394
  *
@@ -2694,6 +3545,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
2694
3545
  menuStyles?: Partial<CameraButtonContextualMenuStyles>;
2695
3546
  }
2696
3547
 
3548
+ /**
3549
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3550
+ * by their browsers settings.
3551
+ *
3552
+ * @beta
3553
+ */
3554
+ export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
3555
+
3556
+ /**
3557
+ * @beta
3558
+ * Props for CameraSitePermissions component.
3559
+ */
3560
+ export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
3561
+ /** Icon name for the camera icon */
3562
+ cameraIconName?: string;
3563
+ /** Strings for use with the {@link CameraSitePermissions} */
3564
+ strings?: CameraSitePermissionsStrings;
3565
+ }
3566
+
3567
+ /**
3568
+ * @beta
3569
+ * Strings for CameraSitePermissions component.
3570
+ */
3571
+ export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
3572
+
2697
3573
  /**
2698
3574
  * @public
2699
3575
  * Callback function run when a message edit is cancelled.
@@ -2899,7 +3775,7 @@ export declare type CaptionsReceivedListener = (event: {
2899
3775
  *
2900
3776
  * @public
2901
3777
  */
2902
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
3778
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers & FileUploadAdapter;
2903
3779
 
2904
3780
  /**
2905
3781
  * {@link ChatAdapter} state.
@@ -3007,7 +3883,9 @@ export declare interface ChatAdapterThreadManagement {
3007
3883
  /**
3008
3884
  * Update a message content.
3009
3885
  */
3010
- updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
3886
+ updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
3887
+ attachedFilesMetadata?: FileMetadata[];
3888
+ }): Promise<void>;
3011
3889
  /**
3012
3890
  * Delete a message in the thread.
3013
3891
  */
@@ -3020,6 +3898,9 @@ export declare interface ChatAdapterThreadManagement {
3020
3898
  *
3021
3899
  */
3022
3900
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3901
+ downloadAttachments: (options: {
3902
+ attachmentUrls: string[];
3903
+ }) => Promise<AttachmentDownloadResult[]>;
3023
3904
  }
3024
3905
 
3025
3906
  /**
@@ -3029,6 +3910,13 @@ export declare interface ChatAdapterThreadManagement {
3029
3910
  */
3030
3911
  export declare type ChatAdapterUiState = {
3031
3912
  error?: Error;
3913
+ /**
3914
+ * Files being uploaded by a user in the current thread.
3915
+ * Should be set to null once the upload is complete.
3916
+ * Array of type {@link FileUploadsUiState}
3917
+ * @beta
3918
+ */
3919
+ fileUploads?: FileUploadsUiState;
3032
3920
  };
3033
3921
 
3034
3922
  /**
@@ -3131,6 +4019,7 @@ export declare type ChatCompositeIcons = {
3131
4019
  ParticipantItemOptionsHovered?: JSX.Element;
3132
4020
  SendBoxSend?: JSX.Element;
3133
4021
  SendBoxSendHovered?: JSX.Element;
4022
+ SendBoxAttachFile?: JSX.Element;
3134
4023
  };
3135
4024
 
3136
4025
  /**
@@ -3145,6 +4034,13 @@ export declare type ChatCompositeOptions = {
3145
4034
  * @defaultValue true
3146
4035
  */
3147
4036
  errorBar?: boolean;
4037
+ /**
4038
+ * Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
4039
+ * @defaultValue false
4040
+ *
4041
+ * @beta
4042
+ */
4043
+ participantPane?: boolean;
3148
4044
  /**
3149
4045
  * Show or hide the topic at the top of the chat. Hidden if set to `false`
3150
4046
  * @defaultValue true
@@ -3155,6 +4051,12 @@ export declare type ChatCompositeOptions = {
3155
4051
  * When undefined nothing has focus on render
3156
4052
  */
3157
4053
  autoFocus?: 'sendBoxTextField';
4054
+ /**
4055
+ * Properties for configuring the File Sharing feature.
4056
+ * If undefined, file sharing feature will be disabled.
4057
+ * @beta
4058
+ */
4059
+ fileSharing?: FileSharingOptions;
3158
4060
  };
3159
4061
 
3160
4062
  /**
@@ -3182,6 +4084,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
3182
4084
  * Flags to enable/disable visual elements of the {@link ChatComposite}.
3183
4085
  */
3184
4086
  options?: ChatCompositeOptions;
4087
+ /**
4088
+ * Optimizes the composite form factor for either desktop or mobile.
4089
+ * @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
4090
+ * @defaultValue 'desktop'
4091
+ */
4092
+ formFactor?: 'desktop' | 'mobile';
3185
4093
  }
3186
4094
 
3187
4095
  /**
@@ -3196,6 +4104,10 @@ export declare interface ChatCompositeStrings {
3196
4104
  * Chat list header text
3197
4105
  */
3198
4106
  chatListHeader: string;
4107
+ /**
4108
+ * Upload File Button text
4109
+ */
4110
+ uploadFile: string;
3199
4111
  }
3200
4112
 
3201
4113
  /**
@@ -3244,7 +4156,7 @@ export declare type ChatErrors = {
3244
4156
  *
3245
4157
  * @public
3246
4158
  */
3247
- 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';
4159
+ 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';
3248
4160
 
3249
4161
  /**
3250
4162
  * Object containing all the handlers required for chat components.
@@ -3261,7 +4173,9 @@ export declare type ChatHandlers = {
3261
4173
  onRemoveParticipant: (userId: string) => Promise<void>;
3262
4174
  updateThreadTopicName: (topicName: string) => Promise<void>;
3263
4175
  onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
3264
- onUpdateMessage: (messageId: string, content: string) => Promise<void>;
4176
+ onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string>, options?: {
4177
+ attachedFilesMetadata?: FileMetadata[];
4178
+ }) => Promise<void>;
3265
4179
  onDeleteMessage: (messageId: string) => Promise<void>;
3266
4180
  };
3267
4181
 
@@ -3288,6 +4202,12 @@ export declare interface ChatMessage extends MessageCommon {
3288
4202
  * {@link @azure/communication-chat#ChatMessage.metadata}
3289
4203
  */
3290
4204
  metadata?: Record<string, string>;
4205
+ /**
4206
+ * @beta
4207
+ * A list of files attached to the message.
4208
+ * {@link FileMetadata}
4209
+ */
4210
+ attachedFilesMetadata?: FileMetadata[];
3291
4211
  }
3292
4212
 
3293
4213
  /**
@@ -3301,6 +4221,7 @@ export declare interface ChatMessage extends MessageCommon {
3301
4221
  export declare type ChatMessageWithStatus = ChatMessage_2 & {
3302
4222
  clientMessageId?: string;
3303
4223
  status: MessageStatus;
4224
+ policyViolation?: boolean;
3304
4225
  };
3305
4226
 
3306
4227
  /**
@@ -3320,6 +4241,26 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
3320
4241
  */
3321
4242
  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;
3322
4243
 
4244
+ /**
4245
+ * Custom Fluent theme palette used by chat related components in this library.
4246
+ *
4247
+ * @beta
4248
+ */
4249
+ export declare interface ChatTheme {
4250
+ /**
4251
+ * Custom Fluent theme palette used by chat related components in this library.
4252
+ *
4253
+ * @beta
4254
+ */
4255
+ chatPalette: {
4256
+ modalOverlayBlack: string;
4257
+ modalTitleWhite: string;
4258
+ modalButtonBackground: string;
4259
+ modalButtonBackgroundHover: string;
4260
+ modalButtonBackgroundActive: string;
4261
+ };
4262
+ }
4263
+
3323
4264
  /**
3324
4265
  * A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
3325
4266
  *
@@ -3445,6 +4386,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
3445
4386
  * @public
3446
4387
  */
3447
4388
  startCall(participants: string[], options?: StartCallOptions): void;
4389
+ /**
4390
+ * Start the call.
4391
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
4392
+ * @beta
4393
+ */
4394
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
3448
4395
  }
3449
4396
 
3450
4397
  /**
@@ -3460,6 +4407,12 @@ export declare type CommonCallAdapterOptions = {
3460
4407
  videoBackgroundImages?: VideoBackgroundImage[];
3461
4408
  onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
3462
4409
  };
4410
+ /**
4411
+ * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
4412
+ * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
4413
+ * and would not be updated again within the lifecycle of adapter.
4414
+ */
4415
+ onFetchProfile?: OnFetchProfileCallback;
3463
4416
  };
3464
4417
 
3465
4418
  /**
@@ -3482,7 +4435,9 @@ export declare type CommonCallControlOptions = {
3482
4435
  * Show or Hide Camera Button during a call
3483
4436
  * @defaultValue true
3484
4437
  */
3485
- cameraButton?: boolean;
4438
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4439
+ disabled: boolean;
4440
+ };
3486
4441
  /**
3487
4442
  * Show or Hide EndCall button during a call.
3488
4443
  * @defaultValue true
@@ -3492,12 +4447,16 @@ export declare type CommonCallControlOptions = {
3492
4447
  * Show or Hide Microphone button during a call.
3493
4448
  * @defaultValue true
3494
4449
  */
3495
- microphoneButton?: boolean;
4450
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4451
+ disabled: boolean;
4452
+ };
3496
4453
  /**
3497
4454
  * Show or Hide Devices button during a call.
3498
4455
  * @defaultValue true
3499
4456
  */
3500
- devicesButton?: boolean;
4457
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4458
+ disabled: boolean;
4459
+ };
3501
4460
  /**
3502
4461
  * Show, Hide or Disable participants button during a call.
3503
4462
  * @defaultValue true
@@ -3524,11 +4483,22 @@ export declare type CommonCallControlOptions = {
3524
4483
  raiseHandButton?: boolean | {
3525
4484
  disabled: boolean;
3526
4485
  };
4486
+ /**
4487
+ * Inject custom buttons in the call controls.
4488
+ *
4489
+ * @beta
4490
+ */
4491
+ onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
4492
+ holdButton?: boolean | {
4493
+ disabled: boolean;
4494
+ };
3527
4495
  /**
3528
4496
  * Show or hide the people button in the composite control bar.
3529
4497
  * @defaultValue true
3530
4498
  */
3531
- peopleButton?: boolean;
4499
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4500
+ disabled: boolean;
4501
+ };
3532
4502
  };
3533
4503
 
3534
4504
  /**
@@ -3553,6 +4523,9 @@ export declare interface CommonCallingHandlers {
3553
4523
  onRaiseHand: () => Promise<void>;
3554
4524
  onLowerHand: () => Promise<void>;
3555
4525
  onToggleRaiseHand: () => Promise<void>;
4526
+ onToggleHold: () => Promise<void>;
4527
+ onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
4528
+ onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
3556
4529
  onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3557
4530
  onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3558
4531
  /**
@@ -3562,7 +4535,10 @@ export declare interface CommonCallingHandlers {
3562
4535
  onDisposeLocalStreamView: () => Promise<void>;
3563
4536
  onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
3564
4537
  onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
4538
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
3565
4539
  onRemoveParticipant(userId: string): Promise<void>;
4540
+ onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
4541
+ askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
3566
4542
  onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
3567
4543
  onRemoveVideoBackgroundEffects: () => Promise<void>;
3568
4544
  onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
@@ -3582,6 +4558,39 @@ export declare type CommonProperties<A, B> = {
3582
4558
  [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
3583
4559
  }[keyof A & keyof B];
3584
4560
 
4561
+ /**
4562
+ * @beta
4563
+ * Props for SitePermissions components.
4564
+ */
4565
+ export declare interface CommonSitePermissionsProps {
4566
+ /**
4567
+ * Name of application calling experience is in.
4568
+ */
4569
+ appName: string;
4570
+ /**
4571
+ * Kind of the Site Permissions component.
4572
+ */
4573
+ kind: 'request' | 'denied' | 'check';
4574
+ /**
4575
+ * Type of the browser used, the Site permission component will show different guidance text based on the browser type
4576
+ */
4577
+ browserHint?: 'safari' | 'unset';
4578
+ /**
4579
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
4580
+ * If this is not provided the button will not be shown.
4581
+ */
4582
+ onTroubleshootingClick?: () => void;
4583
+ /**
4584
+ * Action that is taken when the user clicks the continue anyway button.
4585
+ * If this is not provided the button will not be shown.
4586
+ */
4587
+ onContinueAnywayClick?: () => void;
4588
+ /**
4589
+ * Styles for SitePermissions component.
4590
+ */
4591
+ styles?: SitePermissionsStyles;
4592
+ }
4593
+
3585
4594
  /**
3586
4595
  * A Chat or Calling participant's state, as reflected in the UI.
3587
4596
  *
@@ -3758,6 +4767,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
3758
4767
  export declare interface ComponentLocale {
3759
4768
  /** Strings for components */
3760
4769
  strings: ComponentStrings;
4770
+ /**
4771
+ * Optional function to provide customized date format.
4772
+ * @beta
4773
+ */
4774
+ onDisplayDateTimeString?: (messageDate: Date) => string;
3761
4775
  }
3762
4776
 
3763
4777
  /**
@@ -3803,12 +4817,62 @@ export declare interface ComponentStrings {
3803
4817
  typingIndicator: TypingIndicatorStrings;
3804
4818
  /** Strings for SendBox */
3805
4819
  sendBox: SendBoxStrings;
4820
+ /** Strings for MentionPopover */
4821
+ mentionPopover: MentionPopoverStrings;
4822
+ /** Strings for ImageGallery */
4823
+ imageGallery: ImageGalleryStrings;
3806
4824
  /** Strings for MessageStatusIndicator */
3807
4825
  messageStatusIndicator: MessageStatusIndicatorStrings;
3808
4826
  /** Strings for ErroBar */
3809
4827
  errorBar: ErrorBarStrings;
3810
4828
  /** Strings for VideoGallery */
3811
4829
  videoGallery: VideoGalleryStrings;
4830
+ /** Strings for Dialpad */
4831
+ dialpad: DialpadStrings;
4832
+ /** Strings for VideoTile */
4833
+ videoTile: VideoTileStrings;
4834
+ /** Strings for HoldButton */
4835
+ holdButton: HoldButtonStrings;
4836
+ /** Strings for a site's permission request prompt */
4837
+ CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
4838
+ /** Strings for a site's permission request prompt */
4839
+ CameraSitePermissionsRequest: SitePermissionsStrings;
4840
+ /** Strings for a site's permission request prompt */
4841
+ MicrophoneSitePermissionsRequest: SitePermissionsStrings;
4842
+ /** Strings for a site's permission generic checking prompt */
4843
+ CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
4844
+ /** Strings for a site's permission generic checking prompt */
4845
+ CameraSitePermissionsCheck: SitePermissionsStrings;
4846
+ /** Strings for a site's permission generic checking prompt */
4847
+ MicrophoneSitePermissionsCheck: SitePermissionsStrings;
4848
+ /** Strings for a site's permission denied prompt */
4849
+ CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
4850
+ /** Strings for a site's permission denied prompt for safari browsers*/
4851
+ CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
4852
+ /** Strings for a site's permission denied prompt */
4853
+ CameraSitePermissionsDenied: SitePermissionsStrings;
4854
+ /** Strings for a site's permission denied prompt */
4855
+ MicrophoneSitePermissionsDenied: SitePermissionsStrings;
4856
+ /** Strings for a site's permission denied prompt for safari browsers*/
4857
+ CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
4858
+ /** Strings for a site's permission denied prompt for safari browsers*/
4859
+ MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
4860
+ /** Strings for unsupported browser UI */
4861
+ UnsupportedBrowser: UnsupportedBrowserStrings;
4862
+ /** Strings for unsupported browser version UI */
4863
+ UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
4864
+ /** Strings for unsupported browser version UI */
4865
+ UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
4866
+ /** Strings for BrowserPemissionDenied */
4867
+ BrowserPermissionDenied: BrowserPermissionDeniedStrings;
4868
+ /** Strings for BrowserPemissionDeniedIOS */
4869
+ BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
4870
+ /**
4871
+ * Strings for the VerticalGallery.
4872
+ */
4873
+ VerticalGallery: VerticalGalleryStrings;
4874
+ /** Strings for the participant list component */
4875
+ ParticipantList: ParticipantListStrings;
3812
4876
  }
3813
4877
 
3814
4878
  /**
@@ -4165,7 +5229,7 @@ export declare interface ControlBarProps {
4165
5229
  *
4166
5230
  * @public
4167
5231
  */
4168
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
5232
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4169
5233
 
4170
5234
  /**
4171
5235
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -4175,7 +5239,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
4175
5239
  *
4176
5240
  * @public
4177
5241
  */
4178
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, /* @conditional-compile-remove(video-background-effects) */ options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
5242
+ export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
4179
5243
 
4180
5244
  /**
4181
5245
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -4183,7 +5247,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
4183
5247
  *
4184
5248
  * @public
4185
5249
  */
4186
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
5250
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
4187
5251
 
4188
5252
  /**
4189
5253
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -4194,7 +5258,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
4194
5258
  *
4195
5259
  * @public
4196
5260
  */
4197
- export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
5261
+ export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions, chatAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4198
5262
 
4199
5263
  /**
4200
5264
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -4213,14 +5277,16 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4213
5277
  *
4214
5278
  * @public
4215
5279
  */
4216
- export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
5280
+ export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
5281
+ credential?: CommunicationTokenCredential;
5282
+ }): Promise<ChatAdapter>;
4217
5283
 
4218
5284
  /**
4219
5285
  * Type of {@link createDefaultCallingHandlers}.
4220
5286
  *
4221
5287
  * @public
4222
5288
  */
4223
- export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, /* @conditional-compile-remove(video-background-effects) */ options?: CallingHandlersOptions) => CallingHandlers;
5289
+ export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, options?: CallingHandlersOptions) => CallingHandlers;
4224
5290
 
4225
5291
  /**
4226
5292
  * Create the default implementation of {@link CallingHandlers} for teams call.
@@ -4245,8 +5311,20 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
4245
5311
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
4246
5312
 
4247
5313
  /**
4248
- * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
4249
- * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
5314
+ * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
5315
+ *
5316
+ * Useful when implementing a custom component that utilizes the providers
5317
+ * exported from this library.
5318
+ *
5319
+ * @beta
5320
+ */
5321
+ 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?: {
5322
+ onResolveVideoBackgroundEffectsDependency?: (() => Promise<VideoBackgroundEffectsDependency>) | undefined;
5323
+ } | undefined) => never | TeamsCallingHandlers;
5324
+
5325
+ /**
5326
+ * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
5327
+ * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
4250
5328
  * to state in a declarative way.
4251
5329
  *
4252
5330
  * It is important to use the {@link @azure/communication-calling#DeviceManager} and
@@ -4269,6 +5347,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
4269
5347
  */
4270
5348
  export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
4271
5349
 
5350
+ /**
5351
+ * @beta
5352
+ */
5353
+ export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
5354
+
5355
+ /**
5356
+ * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
5357
+ *
5358
+ * Useful if you want to keep a reference to {@link StatefulCallClient}.
5359
+ * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
5360
+ *
5361
+ * @beta
5362
+ */
5363
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
5364
+
4272
5365
  /**
4273
5366
  * Object returned after creating a local or remote VideoStream.
4274
5367
  * This contains helper functions to manipulate the render of the stream.
@@ -4319,8 +5412,146 @@ export declare type CustomAvatarOptions = {
4319
5412
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
4320
5413
  /** Display name to be used in Persona */
4321
5414
  text?: string;
5415
+ /** State for the participant to be displayed in the defaultPlaceHolder */
5416
+ participantState?: ParticipantState;
5417
+ /**
5418
+ * If true, show the special coin for unknown persona.
5419
+ * It has '?' in place of initials, with static font and background colors
5420
+ */
5421
+ showUnknownPersonaCoin?: boolean;
4322
5422
  };
4323
5423
 
5424
+ /**
5425
+ * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
5426
+ *
5427
+ * The response indicates where the custom button should be placed.
5428
+ *
5429
+ * Performance tip: This callback is only called when either the callback or its arguments change.
5430
+ * @beta
5431
+ */
5432
+ declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
5433
+ export { CustomCallControlButtonCallback }
5434
+ export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
5435
+
5436
+ /**
5437
+ * Arguments for {@link CustomCallControlButtonCallback}.
5438
+ *
5439
+ * @beta
5440
+ */
5441
+ export declare interface CustomCallControlButtonCallbackArgs {
5442
+ /**
5443
+ * Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
5444
+ *
5445
+ * @defaultValue `'default'`
5446
+ */
5447
+ displayType?: CallControlDisplayType;
5448
+ }
5449
+
5450
+ /**
5451
+ * Placement for a custom button injected in the {@link CommonCallControlBar}.
5452
+ *
5453
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
5454
+ * 'overflow': Place the buttons(s) on the end of the overflow Menu.
5455
+ * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
5456
+ *
5457
+ * Multiple buttons assigned the same placement are appended in order.
5458
+ * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
5459
+ * in the order provided.
5460
+ *
5461
+ * Only 'primary' placement works when legacy call control is enabled in call composite
5462
+ *
5463
+ * @beta
5464
+ */
5465
+ declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
5466
+ export { CustomCallControlButtonPlacement }
5467
+ export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
5468
+
5469
+ /**
5470
+ * Response from {@link CustomCallControlButtonCallback}.
5471
+ *
5472
+ * Includes the placement prop necessary to indicate where to place the
5473
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
5474
+ *
5475
+ * @beta
5476
+ */
5477
+ export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
5478
+ /**
5479
+ * Where to place the custom button relative to other buttons.
5480
+ */
5481
+ placement: CustomCallControlButtonPlacement;
5482
+ /**
5483
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
5484
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
5485
+ */
5486
+ iconName?: string;
5487
+ }
5488
+
5489
+ /**
5490
+ * Response from {@link CustomCallControlButtonCallback}.
5491
+ *
5492
+ * Includes the icon and placement prop necessary to indicate where to place the
5493
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
5494
+ *
5495
+ * @beta
5496
+ */
5497
+ export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
5498
+ /**
5499
+ * Where to place the custom button relative to other buttons.
5500
+ */
5501
+ placement: CustomCallControlButtonPlacement;
5502
+ /**
5503
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
5504
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
5505
+ */
5506
+ iconName?: string;
5507
+ }
5508
+
5509
+ /**
5510
+ * Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
5511
+ *
5512
+ * @beta
5513
+ */
5514
+ export declare interface CustomControlButtonProps {
5515
+ /**
5516
+ * Calback for when button is clicked
5517
+ */
5518
+ onItemClick?: () => void;
5519
+ /**
5520
+ * Whether the buttons is disabled
5521
+ */
5522
+ disabled?: boolean;
5523
+ /**
5524
+ * Whether the label is displayed or not.
5525
+ *
5526
+ * @defaultValue `false`
5527
+ */
5528
+ showLabel?: boolean;
5529
+ /**
5530
+ * Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
5531
+ */
5532
+ styles?: ControlBarButtonStyles | BaseCustomStyles;
5533
+ /**
5534
+ * Optional label for the button
5535
+ */
5536
+ text?: string;
5537
+ /**
5538
+ * A unique key for the button
5539
+ */
5540
+ key?: string | number;
5541
+ /**
5542
+ * The aria label of the button for the benefit of screen readers.
5543
+ */
5544
+ ariaLabel?: string;
5545
+ /**
5546
+ * Detailed description of the button for the benefit of screen readers.
5547
+ */
5548
+ ariaDescription?: string;
5549
+ /**
5550
+ * A unique id set for the standard HTML id attibute
5551
+ */
5552
+ id?: string;
5553
+ }
5554
+
4324
5555
  /**
4325
5556
  * A custom message type.
4326
5557
  *
@@ -4338,7 +5569,19 @@ export declare interface CustomMessage extends MessageCommon {
4338
5569
  *
4339
5570
  * @public
4340
5571
  */
4341
- export declare const darkTheme: PartialTheme & CallingTheme;
5572
+ export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
5573
+
5574
+ /**
5575
+ * @beta
5576
+ * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
5577
+ */
5578
+ export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
5579
+
5580
+ /**
5581
+ * @beta
5582
+ * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
5583
+ */
5584
+ export declare type DeclarativeIncomingCall = IncomingCall;
4342
5585
 
4343
5586
  /**
4344
5587
  * The default set of icons that are available to use in the UI components.
@@ -4356,12 +5599,16 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4356
5599
  ControlButtonMicOn: JSX.Element;
4357
5600
  ControlButtonOptions: JSX.Element;
4358
5601
  ControlButtonParticipants: JSX.Element;
5602
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
4359
5603
  ControlButtonScreenShareStart: JSX.Element;
4360
5604
  ControlButtonScreenShareStop: JSX.Element;
4361
5605
  ControlButtonRaiseHand: JSX.Element;
4362
5606
  ControlButtonLowerHand: JSX.Element;
4363
5607
  RaiseHandContextualMenuItem: JSX.Element;
4364
5608
  LowerHandContextualMenuItem: JSX.Element;
5609
+ CancelFileUpload: JSX.Element;
5610
+ DownloadFile: JSX.Element;
5611
+ DataLossPreventionProhibited: JSX.Element;
4365
5612
  EditBoxCancel: JSX.Element;
4366
5613
  EditBoxSubmit: JSX.Element;
4367
5614
  ErrorBarCallCameraAccessDenied: JSX.Element;
@@ -4394,9 +5641,20 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4394
5641
  ParticipantItemOptions: JSX.Element;
4395
5642
  ParticipantItemOptionsHovered: JSX.Element;
4396
5643
  ParticipantItemScreenShareStart: JSX.Element;
5644
+ HoldCallContextualMenuItem: JSX.Element;
5645
+ HoldCallButton: JSX.Element;
5646
+ ResumeCall: JSX.Element;
4397
5647
  SendBoxSend: JSX.Element;
4398
5648
  SendBoxSendHovered: JSX.Element;
4399
5649
  VideoTileMicOff: JSX.Element;
5650
+ DialpadBackspace: JSX.Element;
5651
+ SitePermissionsSparkle: JSX.Element;
5652
+ SitePermissionCamera: JSX.Element;
5653
+ SitePermissionMic: JSX.Element;
5654
+ SitePermissionCameraDenied: JSX.Element;
5655
+ SitePermissionMicDenied: JSX.Element;
5656
+ UnsupportedEnvironmentWarning: JSX.Element;
5657
+ BrowserPermissionDeniedError: JSX.Element;
4400
5658
  VideoTilePinned: JSX.Element;
4401
5659
  VideoTileMoreOptions: JSX.Element;
4402
5660
  VideoTileScaleFit: JSX.Element;
@@ -4407,6 +5665,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4407
5665
  SplitButtonPrimaryActionCameraOff: JSX.Element;
4408
5666
  SplitButtonPrimaryActionMicUnmuted: JSX.Element;
4409
5667
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5668
+ VerticalGalleryLeftButton: JSX.Element;
5669
+ VerticalGalleryRightButton: JSX.Element;
4410
5670
  ControlButtonVideoEffectsOption: JSX.Element;
4411
5671
  ConfigurationScreenVideoEffectsButton: JSX.Element;
4412
5672
  CaptionsIcon: JSX.Element;
@@ -4437,6 +5697,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4437
5697
  ParticipantItemOptionsHovered: JSX.Element;
4438
5698
  SendBoxSend: JSX.Element;
4439
5699
  SendBoxSendHovered: JSX.Element;
5700
+ SendBoxAttachFile?: JSX.Element | undefined;
4440
5701
  ControlBarPeopleButton?: JSX.Element | undefined;
4441
5702
  ControlButtonCameraOff: JSX.Element;
4442
5703
  ControlButtonCameraOn: JSX.Element;
@@ -4486,8 +5747,19 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4486
5747
  ParticipantItemScreenShareStart: JSX.Element;
4487
5748
  VideoTileMicOff: JSX.Element;
4488
5749
  LocalCameraSwitch?: JSX.Element | undefined;
5750
+ PeoplePaneAddPerson?: JSX.Element | undefined;
5751
+ PeoplePaneOpenDialpad?: JSX.Element | undefined;
5752
+ DialpadStartCall?: JSX.Element | undefined;
5753
+ NoticePageAccessDeniedRoomsCall?: JSX.Element | undefined;
4489
5754
  BlurVideoBackground?: JSX.Element | undefined;
4490
5755
  RemoveVideoBackgroundEffect?: JSX.Element | undefined;
5756
+ GalleryOptions?: JSX.Element | undefined;
5757
+ SpeakerGalleryLayout?: JSX.Element | undefined;
5758
+ FloatingLocalVideoGalleryLayout?: JSX.Element | undefined;
5759
+ DefaultGalleryLayout?: JSX.Element | undefined;
5760
+ FocusedContentGalleryLayout?: JSX.Element | undefined;
5761
+ OverflowGalleryTop?: JSX.Element | undefined;
5762
+ LargeGalleryLayout?: JSX.Element | undefined;
4491
5763
  ChevronLeft?: JSX.Element | undefined;
4492
5764
  ControlBarChatButtonActive?: JSX.Element | undefined;
4493
5765
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -4497,11 +5769,25 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4497
5769
  MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
4498
5770
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
4499
5771
  MoreDrawerSpeakers?: JSX.Element | undefined;
4500
- SendBoxAttachFile?: JSX.Element | undefined;
4501
5772
  ChatMessageOptions: JSX.Element;
5773
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
5774
+ CancelFileUpload: JSX.Element;
5775
+ DownloadFile: JSX.Element;
5776
+ DataLossPreventionProhibited: JSX.Element;
4502
5777
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
4503
5778
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
4504
5779
  MessageResend: JSX.Element;
5780
+ HoldCallContextualMenuItem: JSX.Element;
5781
+ HoldCallButton: JSX.Element;
5782
+ ResumeCall: JSX.Element;
5783
+ DialpadBackspace: JSX.Element;
5784
+ SitePermissionsSparkle: JSX.Element;
5785
+ SitePermissionCamera: JSX.Element;
5786
+ SitePermissionMic: JSX.Element;
5787
+ SitePermissionCameraDenied: JSX.Element;
5788
+ SitePermissionMicDenied: JSX.Element;
5789
+ UnsupportedEnvironmentWarning: JSX.Element;
5790
+ BrowserPermissionDeniedError: JSX.Element;
4505
5791
  VideoTilePinned: JSX.Element;
4506
5792
  VideoTileMoreOptions: JSX.Element;
4507
5793
  VideoTileScaleFit: JSX.Element;
@@ -4512,6 +5798,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4512
5798
  SplitButtonPrimaryActionCameraOff: JSX.Element;
4513
5799
  SplitButtonPrimaryActionMicUnmuted: JSX.Element;
4514
5800
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5801
+ VerticalGalleryLeftButton: JSX.Element;
5802
+ VerticalGalleryRightButton: JSX.Element;
4515
5803
  ControlButtonVideoEffectsOption: JSX.Element;
4516
5804
  ConfigurationScreenVideoEffectsButton: JSX.Element;
4517
5805
  CaptionsIcon: JSX.Element;
@@ -4524,6 +5812,29 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4524
5812
  ContextMenuSpeakerIcon: JSX.Element;
4525
5813
  };
4526
5814
 
5815
+ /**
5816
+ * Device Checks.
5817
+ * Choose whether or not to block starting a call depending on camera and microphone permission options.
5818
+ *
5819
+ * @beta
5820
+ */
5821
+ export declare interface DeviceCheckOptions {
5822
+ /**
5823
+ * Camera Permission prompts for your call.
5824
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
5825
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
5826
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
5827
+ */
5828
+ camera: 'required' | 'optional' | 'doNotPrompt';
5829
+ /**
5830
+ * Microphone permission prompts for your call.
5831
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
5832
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
5833
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
5834
+ */
5835
+ microphone: 'required' | 'optional' | 'doNotPrompt';
5836
+ }
5837
+
4527
5838
  /**
4528
5839
  * This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
4529
5840
  * optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
@@ -4742,6 +6053,60 @@ export declare interface DiagnosticsCallFeatureState {
4742
6053
  media: MediaDiagnosticsState;
4743
6054
  }
4744
6055
 
6056
+ /**
6057
+ * A component to allow users to enter phone number through clicking on dialpad/using keyboard
6058
+ * It will return empty component for stable builds
6059
+ *
6060
+ * @beta
6061
+ */
6062
+ export declare const Dialpad: (props: DialpadProps) => JSX.Element;
6063
+
6064
+ /**
6065
+ * Props for {@link Dialpad} component.
6066
+ *
6067
+ * @beta
6068
+ */
6069
+ export declare interface DialpadProps {
6070
+ strings?: DialpadStrings;
6071
+ /** function to send dtmf tones on button click */
6072
+ onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
6073
+ /** Callback for dialpad button behavior*/
6074
+ onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
6075
+ /** set dialpad textfield content */
6076
+ textFieldValue?: string;
6077
+ /** on change function for text field, provides an unformatted plain text*/
6078
+ onChange?: (input: string) => void;
6079
+ /** boolean input to determine when to show/hide delete button, default true */
6080
+ showDeleteButton?: boolean;
6081
+ /** boolean input to determine if dialpad is in mobile view, default false */
6082
+ isMobile?: boolean;
6083
+ styles?: DialpadStyles;
6084
+ }
6085
+
6086
+ /**
6087
+ * Strings of {@link Dialpad} that can be overridden.
6088
+ *
6089
+ * @beta
6090
+ */
6091
+ export declare interface DialpadStrings {
6092
+ placeholderText: string;
6093
+ deleteButtonAriaLabel?: string;
6094
+ }
6095
+
6096
+ /**
6097
+ * Styles for {@link Dialpad} component.
6098
+ *
6099
+ * @beta
6100
+ */
6101
+ export declare interface DialpadStyles {
6102
+ root?: IStyle;
6103
+ button?: IButtonStyles;
6104
+ textField?: Partial<ITextFieldStyles>;
6105
+ digit?: IStyle;
6106
+ letter?: IStyle;
6107
+ deleteIcon?: IButtonStyles;
6108
+ }
6109
+
4745
6110
  /**
4746
6111
  * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
4747
6112
  *
@@ -4762,6 +6127,13 @@ export declare interface Disposable {
4762
6127
  dispose(): void;
4763
6128
  }
4764
6129
 
6130
+ /**
6131
+ * DTMF tone for PSTN calls.
6132
+ *
6133
+ * @beta
6134
+ */
6135
+ export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
6136
+
4765
6137
  /**
4766
6138
  * A type for trivial selectors that return no data.
4767
6139
  *
@@ -5015,6 +6387,199 @@ export declare interface ErrorBarStrings {
5015
6387
  */
5016
6388
  export declare type ErrorType = keyof ErrorBarStrings;
5017
6389
 
6390
+ /**
6391
+ * @beta
6392
+ * A file download error returned via a {@link FileDownloadHandler}.
6393
+ * This error message is used to render an error message in the UI.
6394
+ */
6395
+ export declare interface FileDownloadError {
6396
+ /** The error message to display in the UI */
6397
+ errorMessage: string;
6398
+ }
6399
+
6400
+ /**
6401
+ * @beta
6402
+ *
6403
+ * A callback function for handling file downloads.
6404
+ * The function needs to return a promise that resolves to a file download URL.
6405
+ * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
6406
+ *
6407
+ * @example
6408
+ * ```ts
6409
+ * const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
6410
+ * if (isUnauthorizedUser(userId)) {
6411
+ * return { errorMessage: 'You don’t have permission to download this file.' };
6412
+ * } else {
6413
+ * return new URL(fileData.url);
6414
+ * }
6415
+ * }
6416
+ *
6417
+ * const App = () => (
6418
+ * <ChatComposite
6419
+ * ...
6420
+ * fileSharing={{
6421
+ * fileDownloadHandler: fileDownloadHandler
6422
+ * }}
6423
+ * />
6424
+ * )
6425
+ *
6426
+ * ```
6427
+ * @param userId - The user ID of the user downloading the file.
6428
+ * @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
6429
+ */
6430
+ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
6431
+
6432
+ /**
6433
+ * Meta Data containing information about the uploaded file.
6434
+ * @beta
6435
+ */
6436
+ export declare type FileMetadata = FileSharingMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ ImageFileMetadata;
6437
+
6438
+ /**
6439
+ * @beta
6440
+ */
6441
+ export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
6442
+
6443
+ /**
6444
+ * Meta Data containing basic information about the uploaded file.
6445
+ * Typically used for ACS to ACS file transfers.
6446
+ * @beta
6447
+ */
6448
+ export declare interface FileSharingMetadata extends BaseFileMetadata {
6449
+ attachmentType: 'fileSharing';
6450
+ payload?: Record<string, string>;
6451
+ }
6452
+
6453
+ /**
6454
+ * Properties for configuring the File Sharing feature.
6455
+ * @beta
6456
+ */
6457
+ export declare interface FileSharingOptions {
6458
+ /**
6459
+ * A string containing the comma separated list of accepted file types.
6460
+ * Similar to the `accept` attribute of the `<input type="file" />` element.
6461
+ * Accepts any type of file if not specified.
6462
+ * @beta
6463
+ */
6464
+ accept?: string;
6465
+ /**
6466
+ * Allows multiple files to be selected if set to `true`.
6467
+ * Similar to the `multiple` attribute of the `<input type="file" />` element.
6468
+ * @defaultValue false
6469
+ * @beta
6470
+ */
6471
+ multiple?: boolean;
6472
+ /**
6473
+ * A function of type {@link FileUploadHandler} for handling file uploads.
6474
+ * @beta
6475
+ */
6476
+ uploadHandler: FileUploadHandler;
6477
+ /**
6478
+ * A function of type {@link FileDownloadHandler} for handling file downloads.
6479
+ * If the function is not specified, the file's `url` will be opened in a new tab to
6480
+ * initiate the download.
6481
+ */
6482
+ downloadHandler?: FileDownloadHandler;
6483
+ }
6484
+
6485
+ /**
6486
+ * @beta
6487
+ */
6488
+ export declare interface FileUploadAdapter {
6489
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
6490
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
6491
+ clearFileUploads: () => void;
6492
+ cancelFileUpload: (id: string) => void;
6493
+ updateFileUploadProgress: (id: string, progress: number) => void;
6494
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
6495
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
6496
+ }
6497
+
6498
+ /**
6499
+ * @beta
6500
+ * Error message to be displayed to the user if the upload fails.
6501
+ */
6502
+ export declare type FileUploadError = {
6503
+ message: string;
6504
+ timestamp: number;
6505
+ };
6506
+
6507
+ /**
6508
+ * @beta
6509
+ * A callback function for handling file uploads.
6510
+ *
6511
+ * @param userId - The user ID of the user uploading the file.
6512
+ * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
6513
+ */
6514
+ export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
6515
+
6516
+ /**
6517
+ * A wrapper object for a file that is being uploaded.
6518
+ * Allows mmanaging file uploads by providing common functions for updating the
6519
+ * upload progress, canceling an upload, completing an upload etc.
6520
+ * @beta
6521
+ */
6522
+ export declare interface FileUploadManager {
6523
+ /**
6524
+ * Unique identifier for the file upload.
6525
+ */
6526
+ id: string;
6527
+ /**
6528
+ * HTML {@link File} object for the uploaded file.
6529
+ */
6530
+ file?: File;
6531
+ /**
6532
+ * Update the progress of the upload.
6533
+ * @param value - number between 0 and 1
6534
+ */
6535
+ notifyUploadProgressChanged: (value: number) => void;
6536
+ /**
6537
+ * Mark the upload as complete.
6538
+ * Requires the `metadata` param containing uploaded file information.
6539
+ * @param metadata - {@link FileMetadata}
6540
+ */
6541
+ notifyUploadCompleted: (metadata: FileMetadata) => void;
6542
+ /**
6543
+ * Mark the upload as failed.
6544
+ * @param message - An error message that can be displayed to the user.
6545
+ */
6546
+ notifyUploadFailed: (message: string) => void;
6547
+ }
6548
+
6549
+ /**
6550
+ * Contains the state attibutes of a file upload like name, progress etc.
6551
+ * @beta
6552
+ */
6553
+ export declare interface FileUploadState {
6554
+ /**
6555
+ * Unique identifier for the file upload.
6556
+ */
6557
+ id: string;
6558
+ /**
6559
+ * Filename extracted from the {@link File} object.
6560
+ * This attribute is used to render the filename if `metadata.name` is not available.
6561
+ */
6562
+ filename: string;
6563
+ /**
6564
+ * A number between 0 and 1 indicating the progress of the upload.
6565
+ */
6566
+ progress: number;
6567
+ /**
6568
+ * Meta Data {@link FileMetadata} containing information about the uploaded file.
6569
+ */
6570
+ metadata?: FileMetadata;
6571
+ /**
6572
+ * Error message to be displayed to the user if the upload fails.
6573
+ */
6574
+ error?: FileUploadError;
6575
+ }
6576
+
6577
+ /**
6578
+ * A record containing {@link FileUploadState} mapped to unique ids.
6579
+ * @beta
6580
+ */
6581
+ export declare type FileUploadsUiState = Record<string, FileUploadState>;
6582
+
5018
6583
  /**
5019
6584
  * Provider to apply a Fluent theme across this library's react components.
5020
6585
  *
@@ -5055,7 +6620,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
5055
6620
  *
5056
6621
  * @public
5057
6622
  */
5058
- 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;
6623
+ 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;
5059
6624
 
5060
6625
  /**
5061
6626
  * Get the selector for a specified component.
@@ -5117,6 +6682,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
5117
6682
  children?: IStyle;
5118
6683
  }
5119
6684
 
6685
+ /**
6686
+ * a button to hold or resume a ongoing call.
6687
+ *
6688
+ * Can be used with {@link ControlBar}
6689
+ *
6690
+ * @param props - properties for the hold button.
6691
+ * @returns
6692
+ * @beta
6693
+ */
6694
+ export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
6695
+
6696
+ /**
6697
+ *@beta
6698
+ */
6699
+ export declare interface HoldButtonProps extends ControlBarButtonProps {
6700
+ /**
6701
+ * Utility property for using this component with communication react handlers
6702
+ * Holds the call or resumes it based on call state.
6703
+ */
6704
+ onToggleHold: () => Promise<void>;
6705
+ /**
6706
+ * Optional strings to override in component
6707
+ */
6708
+ strings?: HoldButtonStrings;
6709
+ }
6710
+
6711
+ /**
6712
+ * Selector type for the {@link HoldButton} component.
6713
+ * @public
6714
+ */
6715
+ export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
6716
+ checked: boolean;
6717
+ };
6718
+
6719
+ /**
6720
+ * Strings for the hold button labels
6721
+ * @beta
6722
+ */
6723
+ export declare interface HoldButtonStrings {
6724
+ /**
6725
+ * Label for when action is to resume call.
6726
+ */
6727
+ onLabel: string;
6728
+ /**
6729
+ * Label for when action is to hold call.
6730
+ */
6731
+ offLabel: string;
6732
+ /**
6733
+ * Content for when button is checked
6734
+ */
6735
+ tooltipOnContent: string;
6736
+ /**
6737
+ * Content for when button is unchecked
6738
+ */
6739
+ tooltipOffContent: string;
6740
+ }
6741
+
5120
6742
  /**
5121
6743
  * {@link HorizontalGallery} Component Styles.
5122
6744
  * @public
@@ -5197,8 +6819,112 @@ export declare interface _Identifiers {
5197
6819
  overflowGalleryRightNavButton: string;
5198
6820
  /** `data-ui-id` value for the video tiles in the horizontal gallery */
5199
6821
  horizontalGalleryVideoTile: string;
6822
+ /** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
6823
+ verticalGalleryVideoTile: string;
6824
+ /** `data-ui-id` value for `VerticalGallery` Component's page counter */
6825
+ verticalGalleryPageCounter: string;
6826
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list */
6827
+ mentionSuggestionList: string;
6828
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
6829
+ mentionSuggestionItem: string;
6830
+ }
6831
+
6832
+ /**
6833
+ * Meta Data containing data for images.
6834
+ * @beta
6835
+ */
6836
+ export declare interface ImageFileMetadata extends BaseFileMetadata {
6837
+ attachmentType: 'inlineImage';
6838
+ previewUrl?: string;
6839
+ }
6840
+
6841
+ /**
6842
+ * Component to render a fullscreen modal for a selected image.
6843
+ *
6844
+ * @beta
6845
+ */
6846
+ export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
6847
+
6848
+ /**
6849
+ * Props for {@link ImageGallery}.
6850
+ *
6851
+ * @beta
6852
+ */
6853
+ export declare interface ImageGalleryImageProps {
6854
+ /** Image Url used to display the image in a large scale. */
6855
+ imageUrl: string;
6856
+ /** String used as a file name when downloading this image to user's local device. */
6857
+ downloadFilename: string;
6858
+ /** Optional string used as a alt text for the image. @default 'image' */
6859
+ altText?: string;
6860
+ /** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
6861
+ title?: string;
6862
+ /** Optional JSX element used as a title icon and displayed to the left of the title element. */
6863
+ titleIcon?: JSX.Element;
6864
+ }
6865
+
6866
+ /**
6867
+ * Props for {@link ImageGallery}.
6868
+ *
6869
+ * @beta
6870
+ */
6871
+ export declare interface ImageGalleryProps {
6872
+ /**
6873
+ * Boolean that controls whether the modal is displayed.
6874
+ */
6875
+ isOpen: boolean;
6876
+ /**
6877
+ * Array of images used to populate the ImageGallery
6878
+ */
6879
+ images: Array<ImageGalleryImageProps>;
6880
+ /**
6881
+ * Callback to invoke when the ImageGallery modal is dismissed
6882
+ */
6883
+ onDismiss: () => void;
6884
+ /**
6885
+ * Callback called when the download button is clicked.
6886
+ */
6887
+ onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
6888
+ /**
6889
+ * Callback called when there's an error loading the image.
6890
+ */
6891
+ onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
6892
+ /**
6893
+ * Indicating which index of the images array to start with.
6894
+ */
6895
+ startIndex?: number;
6896
+ }
6897
+
6898
+ /**
6899
+ * Strings of {@link ImageGallery} that can be overridden.
6900
+ *
6901
+ * @beta
6902
+ */
6903
+ export declare interface ImageGalleryStrings {
6904
+ /**
6905
+ * Download button label for ImageGallery
6906
+ */
6907
+ downloadButtonLabel: string;
6908
+ /**
6909
+ * Dismiss button aria label for ImageGallery
6910
+ */
6911
+ dismissButtonAriaLabel: string;
5200
6912
  }
5201
6913
 
6914
+ /**
6915
+ * @beta
6916
+ * This contains a readonly array that returns all the active `incomingCalls`.
6917
+ * An active incoming call is a call that has not been answered, declined or disconnected.
6918
+ */
6919
+ export declare type IncomingCallManagement = {
6920
+ /**
6921
+ * @beta
6922
+ * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
6923
+ * @returns readonly array of {@link DeclarativeIncomingCall}
6924
+ */
6925
+ incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
6926
+ };
6927
+
5202
6928
  /**
5203
6929
  * State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
5204
6930
  * automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
@@ -5329,7 +7055,7 @@ export declare interface JumpToNewMessageButtonProps {
5329
7055
  *
5330
7056
  * @public
5331
7057
  */
5332
- export declare const lightTheme: PartialTheme & CallingTheme;
7058
+ export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
5333
7059
 
5334
7060
  /**
5335
7061
  * Whether the stream is loading or not.
@@ -5413,6 +7139,31 @@ export declare interface LocalVideoStreamVideoEffectsState {
5413
7139
  activeEffects?: VideoEffectName[];
5414
7140
  }
5415
7141
 
7142
+ /**
7143
+ * Options for the local video tile in the Call composite.
7144
+ *
7145
+ * @beta
7146
+ */
7147
+ export declare interface LocalVideoTileOptions {
7148
+ /**
7149
+ * Position of the local video tile. If unset will render the local tile in the floating local position.
7150
+ *
7151
+ * @defaultValue 'floating'
7152
+ * @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
7153
+ * 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
7154
+ * local video tile rules and be docked in the bottom corner.
7155
+ * This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
7156
+ */
7157
+ position?: 'grid' | 'floating';
7158
+ }
7159
+
7160
+ /**
7161
+ * different modes of the local video tile
7162
+ *
7163
+ * @beta
7164
+ */
7165
+ export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
7166
+
5416
7167
  /**
5417
7168
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
5418
7169
  *
@@ -5431,6 +7182,76 @@ export declare interface MediaDiagnosticsState {
5431
7182
  latest: LatestMediaDiagnostics;
5432
7183
  }
5433
7184
 
7185
+ /**
7186
+ * Mention's state, as reflected in the UI.
7187
+ *
7188
+ * @beta
7189
+ */
7190
+ export declare interface Mention {
7191
+ /** ID of a mention */
7192
+ id: string;
7193
+ /** Display text of a mention */
7194
+ displayText: string;
7195
+ /** Optional React element to render an item icon of a mention suggestion */
7196
+ icon?: JSX.Element;
7197
+ }
7198
+
7199
+ /**
7200
+ * Options to display suggestions in the mention scenario.
7201
+ *
7202
+ * @beta
7203
+ */
7204
+ export declare interface MentionDisplayOptions {
7205
+ /**
7206
+ * Optional callback for customizing the mention renderer in a message thread.
7207
+ */
7208
+ onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
7209
+ }
7210
+
7211
+ /**
7212
+ * Options to lookup suggestions in the mention scenario.
7213
+ *
7214
+ * @beta
7215
+ */
7216
+ export declare interface MentionLookupOptions {
7217
+ /**
7218
+ * Optional string to set trigger keyword for mention a specific participant.
7219
+ *
7220
+ * @defaultValue `@`
7221
+ */
7222
+ trigger?: string;
7223
+ /**
7224
+ * Optional callback to fetch a list of mention suggestions base on the query.
7225
+ */
7226
+ onQueryUpdated: (query: string) => Promise<Mention[]>;
7227
+ /**
7228
+ * Optional callback to render an item of the mention suggestions list.
7229
+ */
7230
+ onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
7231
+ }
7232
+
7233
+ /**
7234
+ * Options to lookup suggestions and display mentions in the mention scenario.
7235
+ *
7236
+ * @beta
7237
+ */
7238
+ export declare type MentionOptions = {
7239
+ lookupOptions?: MentionLookupOptions;
7240
+ displayOptions?: MentionDisplayOptions;
7241
+ };
7242
+
7243
+ /**
7244
+ * Strings of {@link _MentionPopover} that can be overridden.
7245
+ *
7246
+ * @beta
7247
+ */
7248
+ export declare interface MentionPopoverStrings {
7249
+ /**
7250
+ * Header text for MentionPopover
7251
+ */
7252
+ mentionPopoverHeader: string;
7253
+ }
7254
+
5434
7255
  /**
5435
7256
  * Discriminated union of all messages.
5436
7257
  *
@@ -5438,7 +7259,7 @@ export declare interface MediaDiagnosticsState {
5438
7259
  *
5439
7260
  * @public
5440
7261
  */
5441
- export declare type Message = ChatMessage | SystemMessage | CustomMessage;
7262
+ export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
5442
7263
 
5443
7264
  /**
5444
7265
  * Indicate whether a chat message should be displayed merged with the message before / after it.
@@ -5658,7 +7479,7 @@ export declare type MessageThreadProps = {
5658
7479
  /**
5659
7480
  * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
5660
7481
  */
5661
- messages: (ChatMessage | SystemMessage | CustomMessage)[];
7482
+ messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
5662
7483
  /**
5663
7484
  * number of participants in the thread
5664
7485
  */
@@ -5740,6 +7561,17 @@ export declare type MessageThreadProps = {
5740
7561
  * `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
5741
7562
  */
5742
7563
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
7564
+ /**
7565
+ * Optional callback to render uploaded files in the message component.
7566
+ * @beta
7567
+ */
7568
+ onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
7569
+ /**
7570
+ * Optional callback to retrieve the inline image in a message.
7571
+ * @param attachment - FileMetadata object we want to render
7572
+ * @beta
7573
+ */
7574
+ onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
5743
7575
  /**
5744
7576
  * Optional callback to edit a message.
5745
7577
  *
@@ -5781,6 +7613,28 @@ export declare type MessageThreadProps = {
5781
7613
  * Optional strings to override in component
5782
7614
  */
5783
7615
  strings?: Partial<MessageThreadStrings>;
7616
+ /**
7617
+ * @beta
7618
+ * Optional function called when someone clicks on the file download icon.
7619
+ * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
7620
+ * this function will be called with the data inside `fileSharingMetadata` key.
7621
+ */
7622
+ fileDownloadHandler?: FileDownloadHandler;
7623
+ /**
7624
+ * Optional function to provide customized date format.
7625
+ * @beta
7626
+ */
7627
+ onDisplayDateTimeString?: (messageDate: Date) => string;
7628
+ /**
7629
+ * Optional props needed to lookup a mention query and display mentions
7630
+ * @beta
7631
+ */
7632
+ mentionOptions?: MentionOptions;
7633
+ /**
7634
+ * Optional callback called when an inline image is clicked.
7635
+ * @beta
7636
+ */
7637
+ onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
5784
7638
  };
5785
7639
 
5786
7640
  /**
@@ -5852,6 +7706,14 @@ export declare interface MessageThreadStrings {
5852
7706
  editBoxSubmitButton: string;
5853
7707
  /** String for action menu indicating there are more options */
5854
7708
  actionMenuMoreOptions?: string;
7709
+ /** String for download file button in file card */
7710
+ downloadFile: string;
7711
+ /** String for policy violation message removal */
7712
+ blockedWarningText: string;
7713
+ /** String for policy violation message removal details link */
7714
+ blockedWarningLinkText: string;
7715
+ /** String for aria text in file attachment group*/
7716
+ fileCardGroupMessage: string;
5855
7717
  }
5856
7718
 
5857
7719
  /**
@@ -5879,6 +7741,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
5879
7741
  /** Styles for system message container. */
5880
7742
  systemMessageContainer?: ComponentSlotStyle;
5881
7743
  /** Styles for blocked message container. */
7744
+ blockedMessageContainer?: ComponentSlotStyle;
5882
7745
  /** Styles for message status indicator container. */
5883
7746
  messageStatusContainer?: (mine: boolean) => IStyle;
5884
7747
  }
@@ -6036,16 +7899,41 @@ export declare interface MicrophoneButtonStrings {
6036
7899
  }
6037
7900
 
6038
7901
  /**
6039
- * Styles for {@link MicrophoneButton}
6040
- *
6041
- * @public
7902
+ * Styles for {@link MicrophoneButton}
7903
+ *
7904
+ * @public
7905
+ */
7906
+ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
7907
+ /**
7908
+ * Styles for the {@link MicrophoneButton} menu.
7909
+ */
7910
+ menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
7911
+ }
7912
+
7913
+ /**
7914
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
7915
+ * by their browsers settings.
7916
+ *
7917
+ * @beta
7918
+ */
7919
+ export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
7920
+
7921
+ /**
7922
+ * @beta
7923
+ * Props for MicrophoneSitePermissions component.
7924
+ */
7925
+ export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
7926
+ /** Icon name for the microphone icon */
7927
+ microphoneIconName?: string;
7928
+ /** Strings for use with the {@link MicrophoneSitePermissions} */
7929
+ strings?: MicrophoneSitePermissionsStrings;
7930
+ }
7931
+
7932
+ /**
7933
+ * @beta
7934
+ * Strings for MicrophoneSitePermissions component.
6042
7935
  */
6043
- export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
6044
- /**
6045
- * Styles for the {@link MicrophoneButton} menu.
6046
- */
6047
- menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
6048
- }
7936
+ export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
6049
7937
 
6050
7938
  /**
6051
7939
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
@@ -6065,6 +7953,13 @@ export declare interface NetworkDiagnosticsState {
6065
7953
  latest: LatestNetworkDiagnostics;
6066
7954
  }
6067
7955
 
7956
+ /**
7957
+ * Callback function used to provide custom data to build profile for a user.
7958
+ *
7959
+ * @beta
7960
+ */
7961
+ export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
7962
+
6068
7963
  /**
6069
7964
  * A custom rendered callback that allows users to customize the rendering of a Persona Component.
6070
7965
  *
@@ -6123,6 +8018,13 @@ export declare interface OptionsDevice {
6123
8018
  name: string;
6124
8019
  }
6125
8020
 
8021
+ /**
8022
+ * Different modes and positions of the overflow gallery in the VideoGallery
8023
+ *
8024
+ * @beta
8025
+ */
8026
+ export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight' | /* @conditional-compile-remove(gallery-layouts) */ 'HorizontalTop';
8027
+
6126
8028
  /**
6127
8029
  * A system message notifying that a participant was added to the chat thread.
6128
8030
  *
@@ -6180,6 +8082,14 @@ export declare interface ParticipantItemProps {
6180
8082
  onClick?: (props?: ParticipantItemProps) => void;
6181
8083
  /** Optional value to determine if the tooltip should be shown for participants or not */
6182
8084
  showParticipantOverflowTooltip?: boolean;
8085
+ /**
8086
+ * Optional value to determine and display a participants connection status.
8087
+ * For example, `Connecting`, `Ringing` etc.
8088
+ * The actual text that is displayed is determined by the localized string
8089
+ * corresponding to the provided participant state.
8090
+ * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
8091
+ */
8092
+ participantState?: ParticipantState;
6183
8093
  /**
6184
8094
  * Optional aria property that prefixes the ParticipantItems aria content
6185
8095
  * Takes in a unique id value of the element you would like to be read before the ParticipantItem.
@@ -6205,6 +8115,10 @@ export declare interface ParticipantItemStrings {
6205
8115
  mutedIconLabel: string;
6206
8116
  /** placeholder text for participants who does not have a display name*/
6207
8117
  displayNamePlaceholder?: string;
8118
+ /** String shown when `participantState` is `Ringing` */
8119
+ participantStateRinging?: string;
8120
+ /** String shown when `participantState` is `Hold` */
8121
+ participantStateHold?: string;
6208
8122
  }
6209
8123
 
6210
8124
  /**
@@ -6284,6 +8198,10 @@ export declare type ParticipantListProps = {
6284
8198
  styles?: ParticipantListStyles;
6285
8199
  /** Optional value to determine if the tooltip should be shown for participants or not */
6286
8200
  showParticipantOverflowTooltip?: boolean;
8201
+ /** Total number of people in the call. This number can be larger than the remote participant count. */
8202
+ totalParticipantCount?: number;
8203
+ /** Strings for the participant list */
8204
+ strings?: ParticipantListStrings;
6287
8205
  /** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
6288
8206
  participantAriaLabelledBy?: string;
6289
8207
  };
@@ -6296,8 +8214,21 @@ export declare type ParticipantListProps = {
6296
8214
  export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
6297
8215
  participants: CallParticipantListParticipant[];
6298
8216
  myUserId: string;
8217
+ totalParticipantCount?: number;
6299
8218
  };
6300
8219
 
8220
+ /**
8221
+ * Strings for the {@link ParticipantList}.
8222
+ *
8223
+ * @beta
8224
+ */
8225
+ export declare interface ParticipantListStrings {
8226
+ /**
8227
+ * String for rendering the count of participants not contained in the displayed participant list
8228
+ */
8229
+ overflowParticipantCount?: string;
8230
+ }
8231
+
6301
8232
  /**
6302
8233
  * Styles for the {@link ParticipantList}.
6303
8234
  *
@@ -6514,6 +8445,18 @@ export declare type ParticipantsRemovedListener = (event: {
6514
8445
  */
6515
8446
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
6516
8447
 
8448
+ /**
8449
+ * The profile of a user.
8450
+ *
8451
+ * @beta
8452
+ */
8453
+ export declare type Profile = {
8454
+ /**
8455
+ * Primary text to display, usually the name of the person.
8456
+ */
8457
+ displayName?: string;
8458
+ };
8459
+
6517
8460
  /**
6518
8461
  * Raised hand state with order
6519
8462
  *
@@ -6638,7 +8581,7 @@ export declare interface RemoteParticipantState {
6638
8581
  /**
6639
8582
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
6640
8583
  */
6641
- identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind;
8584
+ identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind | /* @conditional-compile-remove(communication-common-beta-v3) */ MicrosoftBotKind;
6642
8585
  /**
6643
8586
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
6644
8587
  */
@@ -6666,6 +8609,10 @@ export declare interface RemoteParticipantState {
6666
8609
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
6667
8610
  */
6668
8611
  isSpeaking: boolean;
8612
+ /**
8613
+ * Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
8614
+ */
8615
+ role?: ParticipantRole;
6669
8616
  /**
6670
8617
  * Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
6671
8618
  */
@@ -6694,6 +8641,7 @@ export declare interface RemoteVideoStreamState {
6694
8641
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
6695
8642
  * @beta
6696
8643
  */
8644
+ isReceiving: boolean;
6697
8645
  /**
6698
8646
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
6699
8647
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -6793,6 +8741,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
6793
8741
  */
6794
8742
  export declare const SendBox: (props: SendBoxProps) => JSX.Element;
6795
8743
 
8744
+ /**
8745
+ * @beta
8746
+ * Error to be displayed to the user in an error bar above sendbox.
8747
+ */
8748
+ export declare interface SendBoxErrorBarError {
8749
+ /** Error Message to be displayed */
8750
+ message: string;
8751
+ /**
8752
+ * Unix Timestamp. Preferred generation using `Date.now()`
8753
+ */
8754
+ timestamp: number;
8755
+ }
8756
+
6796
8757
  /**
6797
8758
  * Props for {@link SendBox}.
6798
8759
  *
@@ -6812,6 +8773,11 @@ export declare interface SendBoxProps {
6812
8773
  * Optional override behavior on send button click
6813
8774
  */
6814
8775
  onSendMessage?: (content: string) => Promise<void>;
8776
+ /**
8777
+ * Optional props needed to lookup suggestions in the mention scenario.
8778
+ * @beta
8779
+ */
8780
+ mentionLookupOptions?: MentionLookupOptions;
6815
8781
  /**
6816
8782
  * Optional callback called when user is typing
6817
8783
  */
@@ -6848,6 +8814,25 @@ export declare interface SendBoxProps {
6848
8814
  * When undefined nothing has focus on render
6849
8815
  */
6850
8816
  autoFocus?: 'sendBoxTextField';
8817
+ /**
8818
+ * Optional callback to render uploaded files in the SendBox. The sendBox will expand
8819
+ * vertically to accommodate the uploaded files. File uploads will
8820
+ * be rendered below the text area in sendBox.
8821
+ * @beta
8822
+ */
8823
+ onRenderFileUploads?: () => JSX.Element;
8824
+ /**
8825
+ * Optional array of active file uploads where each object has attributes
8826
+ * of a file upload like name, progress, errorMessage etc.
8827
+ * @beta
8828
+ */
8829
+ activeFileUploads?: ActiveFileUpload[];
8830
+ /**
8831
+ * Optional callback to remove the file upload before sending by clicking on
8832
+ * cancel icon.
8833
+ * @beta
8834
+ */
8835
+ onCancelFileUpload?: (fileId: string) => void;
6851
8836
  }
6852
8837
 
6853
8838
  /**
@@ -6878,6 +8863,22 @@ export declare interface SendBoxStrings {
6878
8863
  * Aria label for send message button
6879
8864
  */
6880
8865
  sendButtonAriaLabel: string;
8866
+ /**
8867
+ * Error message indicating that all file uploads are not complete.
8868
+ */
8869
+ fileUploadsPendingError: string;
8870
+ /**
8871
+ * Aria label to notify user when focus is on cancel file upload button.
8872
+ */
8873
+ removeFile: string;
8874
+ /**
8875
+ * Aria label to notify user file uploading starts.
8876
+ */
8877
+ uploading: string;
8878
+ /**
8879
+ * Aria label to notify user file is uploaded.
8880
+ */
8881
+ uploadCompleted: string;
6881
8882
  }
6882
8883
 
6883
8884
  /**
@@ -6898,6 +8899,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
6898
8899
  systemMessage?: IStyle;
6899
8900
  }
6900
8901
 
8902
+ /**
8903
+ * @beta
8904
+ * Strings for SitePermissions component
8905
+ */
8906
+ export declare type SitePermissionsStrings = {
8907
+ /**
8908
+ * Main text string.
8909
+ */
8910
+ primaryText?: string;
8911
+ /**
8912
+ * Subtext string.
8913
+ */
8914
+ secondaryText?: string;
8915
+ /**
8916
+ * More help link string.
8917
+ */
8918
+ linkText?: string;
8919
+ /**
8920
+ * Primary button text string.
8921
+ */
8922
+ primaryButtonText?: string;
8923
+ /**
8924
+ * Aria label describing the content of the container
8925
+ */
8926
+ ariaLabel?: string;
8927
+ };
8928
+
8929
+ /**
8930
+ * Fluent styles for {@link SitePermissionsContainer}.
8931
+ *
8932
+ * @beta
8933
+ */
8934
+ export declare interface SitePermissionsStyles extends BaseCustomStyles {
8935
+ /** Styles for the primary button. */
8936
+ primaryButton?: IButtonStyles;
8937
+ /** Styles for the help troubleshooting link text. */
8938
+ troubleshootingLink?: ILinkStyles;
8939
+ }
8940
+
6901
8941
  /**
6902
8942
  * @public
6903
8943
  * spoken language strings for captions setting modal
@@ -7054,6 +9094,19 @@ export declare interface StatefulCallClient extends CallClient {
7054
9094
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
7055
9095
  */
7056
9096
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
9097
+ /** @conditional-compile-remove(one-to-n-calling) */
9098
+ /**
9099
+ * The CallAgent is used to handle calls.
9100
+ * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
9101
+ * - The CallClient can only have one active CallAgent instance at a time.
9102
+ * - You can create a new CallClient instance to create a new CallAgent.
9103
+ * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
9104
+ * createCallAgent() method again to create a new CallAgent.
9105
+ * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
9106
+ * @param options - The CallAgentOptions for additional options like display name.
9107
+ * @public
9108
+ */
9109
+ createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
7057
9110
  }
7058
9111
 
7059
9112
  /**
@@ -7066,7 +9119,16 @@ export declare type StatefulCallClientArgs = {
7066
9119
  * UserId from SDK. This is provided for developer convenience to easily access the userId from the
7067
9120
  * state. It is not used by StatefulCallClient.
7068
9121
  */
7069
- userId: CommunicationUserIdentifier;
9122
+ userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
9123
+ /**
9124
+ * A phone number in E.164 format that will be used to represent the callers identity. This number is required
9125
+ * to start a PSTN call.
9126
+ *
9127
+ * example: +11234567
9128
+ *
9129
+ * This is not a cached value from the headless calling client.
9130
+ */
9131
+ alternateCallerId?: string;
7070
9132
  };
7071
9133
 
7072
9134
  /**
@@ -7221,6 +9283,74 @@ export declare interface SystemMessageCommon extends MessageCommon {
7221
9283
  */
7222
9284
  export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
7223
9285
 
9286
+ /**
9287
+ * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
9288
+ *
9289
+ * @beta
9290
+ */
9291
+ export declare interface TeamsCallAdapter extends CommonCallAdapter {
9292
+ /**
9293
+ * Join the call with microphone initially on/off.
9294
+ * @deprecated Use joinCall(options?:JoinCallOptions) instead.
9295
+ * @param microphoneOn - Whether microphone is initially enabled
9296
+ *
9297
+ * @beta
9298
+ */
9299
+ joinCall(microphoneOn?: boolean): TeamsCall | undefined;
9300
+ /**
9301
+ * Join the call with options bag to set microphone/camera initial state when joining call
9302
+ * true = turn on the device when joining call
9303
+ * false = turn off the device when joining call
9304
+ * 'keep'/undefined = retain devices' precall state
9305
+ *
9306
+ * @param options - param to set microphone/camera initially on/off.
9307
+ *
9308
+ * @public
9309
+ */
9310
+ joinCall(options?: JoinCallOptions): TeamsCall | undefined;
9311
+ /**
9312
+ * Start the call.
9313
+ *
9314
+ * @param participants - An array of participant ids to join
9315
+ *
9316
+ * @beta
9317
+ */
9318
+ startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
9319
+ /**
9320
+ * Start the call.
9321
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
9322
+ * @beta
9323
+ */
9324
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
9325
+ }
9326
+
9327
+ /**
9328
+ * Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
9329
+ *
9330
+ * @beta
9331
+ */
9332
+ export declare type TeamsCallAdapterArgs = {
9333
+ userId: MicrosoftTeamsUserIdentifier;
9334
+ credential: CommunicationTokenCredential;
9335
+ locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
9336
+ /**
9337
+ * Optional parameters for the {@link TeamsCallAdapter} created
9338
+ */
9339
+ options?: TeamsAdapterOptions;
9340
+ };
9341
+
9342
+ /**
9343
+ * Object containing all the teams call handlers required for calling components.
9344
+ *
9345
+ * Calling related components from this package are able to pick out relevant handlers from this object.
9346
+ * See {@link useHandlers} and {@link usePropsFor}.
9347
+ *
9348
+ * @beta
9349
+ */
9350
+ export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
9351
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
9352
+ }
9353
+
7224
9354
  /**
7225
9355
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
7226
9356
  *
@@ -7266,6 +9396,27 @@ export declare interface TranscriptionCallFeature {
7266
9396
  isTranscriptionActive: boolean;
7267
9397
  }
7268
9398
 
9399
+ /**
9400
+ * Transfer feature state
9401
+ *
9402
+ * @beta
9403
+ */
9404
+ export declare interface TransferFeature {
9405
+ /**
9406
+ * Accepted transfer requests
9407
+ */
9408
+ acceptedTransfers: {
9409
+ [key: string]: AcceptedTransfer;
9410
+ };
9411
+ }
9412
+
9413
+ /**
9414
+ * Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
9415
+ *
9416
+ * @beta
9417
+ */
9418
+ export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
9419
+
7269
9420
  /**
7270
9421
  * Component to notify local user when one or more participants in the chat thread are typing.
7271
9422
  *
@@ -7400,11 +9551,117 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
7400
9551
  typingString?: IStyle;
7401
9552
  }
7402
9553
 
9554
+ /**
9555
+ * UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
9556
+ *
9557
+ * @beta
9558
+ */
9559
+ export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
9560
+
9561
+ /**
9562
+ * props for {@link UnsupportedBrowser} UI
9563
+ *
9564
+ * @beta
9565
+ */
9566
+ export declare interface UnsupportedBrowserProps {
9567
+ /** Handler to perform an action when the help link is actioned */
9568
+ onTroubleshootingClick?: () => void;
9569
+ /** String overrides for the component */
9570
+ strings?: UnsupportedBrowserStrings;
9571
+ }
9572
+
9573
+ /**
9574
+ * Strings for UnsupportedBrowser component
9575
+ *
9576
+ * @beta
9577
+ */
9578
+ export declare interface UnsupportedBrowserStrings {
9579
+ /** String for the primary text */
9580
+ primaryText: string;
9581
+ /** String for the secondary text */
9582
+ secondaryText: string;
9583
+ /** String to display in the text for the help link */
9584
+ moreHelpLinkText: string;
9585
+ }
9586
+
9587
+ /**
9588
+ * UI to display to the user that the browser version they are using is out of date
9589
+ * and not supported by Azure Communications Calling service.
9590
+ *
9591
+ * @beta
9592
+ */
9593
+ export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
9594
+
9595
+ /**
9596
+ * props for {@link UnsupportedBrowserVersion} UI
9597
+ *
9598
+ * @beta
9599
+ */
9600
+ export declare interface UnsupportedBrowserVersionProps {
9601
+ /** Handler to perform an action when the help link is actioned */
9602
+ onTroubleshootingClick?: () => void;
9603
+ /** String overrides for the component */
9604
+ strings?: UnsupportedBrowserVersionStrings;
9605
+ /** Handler to allow user to continue into the call */
9606
+ onContinueAnywayClick?: () => void;
9607
+ }
9608
+
9609
+ /**
9610
+ * Strings for UnsupportedBrowser component
9611
+ *
9612
+ * @beta
9613
+ */
9614
+ export declare interface UnsupportedBrowserVersionStrings {
9615
+ /** String for the primary text */
9616
+ primaryText: string;
9617
+ /** String for the secondary text */
9618
+ secondaryText: string;
9619
+ /** String to display in the text for the help link */
9620
+ moreHelpLinkText: string;
9621
+ /** String for continue without updating button */
9622
+ continueAnywayButtonText?: string;
9623
+ }
9624
+
9625
+ /**
9626
+ * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
9627
+ *
9628
+ * @beta
9629
+ */
9630
+ export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
9631
+
9632
+ /**
9633
+ * Props for {@link UnsupportedOperatingSystem} UI
9634
+ *
9635
+ * @beta
9636
+ */
9637
+ export declare interface UnsupportedOperatingSystemProps {
9638
+ /** Handler to perform a action when the help link is actioned */
9639
+ onTroubleshootingClick?: () => void;
9640
+ /** String overrides for the component */
9641
+ strings?: UnsupportedOperatingSystemStrings;
9642
+ }
9643
+
9644
+ /**
9645
+ * Strings for UnsupportedBrowser component
9646
+ *
9647
+ * @beta
9648
+ */
9649
+ export declare interface UnsupportedOperatingSystemStrings {
9650
+ /** String for the primary text */
9651
+ primaryText: string;
9652
+ /** String for the secondary text */
9653
+ secondaryText: string;
9654
+ /** String to display in the text for the help link */
9655
+ moreHelpLinkText: string;
9656
+ }
9657
+
7403
9658
  /**
7404
9659
  * @public
7405
9660
  * Callback function run when a message is updated.
7406
9661
  */
7407
- export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
9662
+ export declare type UpdateMessageCallback = (messageId: string, content: string, metadata?: Record<string, string>, options?: {
9663
+ attachedFilesMetadata?: FileMetadata[];
9664
+ }) => Promise<void>;
7408
9665
 
7409
9666
  /**
7410
9667
  * A custom React hook to simplify the creation of {@link CallAdapter}.
@@ -7552,6 +9809,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
7552
9809
  */
7553
9810
  export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
7554
9811
 
9812
+ /**
9813
+ * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
9814
+ *
9815
+ * Useful when implementing a custom component that utilizes the providers
9816
+ * exported from this library.
9817
+ *
9818
+ * you must have previously used the CallProvider with a TeamsCall object to use this hook
9819
+ *
9820
+ * @beta
9821
+ */
9822
+ export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
9823
+
9824
+ /**
9825
+ * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
9826
+ *
9827
+ * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
9828
+ * creation of the adapter internally.
9829
+ *
9830
+ * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
9831
+ * as they are created. The adapter is only created when all arguments are defined.
9832
+ *
9833
+ * Note that you must memoize the arguments to avoid recreating adapter on each render.
9834
+ * See storybook for typical usage examples.
9835
+ *
9836
+ * @beta
9837
+ */
9838
+ export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
9839
+
9840
+ /**
9841
+ * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
9842
+ *
9843
+ * Useful when implementing a custom component that utilizes the providers
9844
+ * exported from this library.
9845
+ *
9846
+ * @beta
9847
+ */
9848
+ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
9849
+
7555
9850
  /**
7556
9851
  * React hook to access theme
7557
9852
  *
@@ -7559,6 +9854,50 @@ export declare const useSelector: <ParamT extends Selector | undefined>(selector
7559
9854
  */
7560
9855
  export declare const useTheme: () => Theme;
7561
9856
 
9857
+ /**
9858
+ * Styles for the control bar inside the VerticalGallery component
9859
+ *
9860
+ * @beta
9861
+ */
9862
+ export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
9863
+ /**
9864
+ * styles for the next button in the VerticalGalleryControlBar
9865
+ */
9866
+ nextButton?: IStyle;
9867
+ /**
9868
+ * Styles for the previous button in the VerticalGalleryControlBar
9869
+ */
9870
+ previousButton?: IStyle;
9871
+ /**
9872
+ * Styles for the counter in the VerticalGalleryControlBar
9873
+ */
9874
+ counter?: IStyle;
9875
+ }
9876
+
9877
+ /**
9878
+ * Strings for localization of the vertical gallery.
9879
+ *
9880
+ * @beta
9881
+ */
9882
+ export declare interface VerticalGalleryStrings {
9883
+ /** Aria label for the left page navigation button */
9884
+ leftNavButtonAriaLabel?: string;
9885
+ /** Aria label for the right page navigation button */
9886
+ rightNavButtonAriaLabel?: string;
9887
+ }
9888
+
9889
+ /**
9890
+ * Styles for the VerticalGallery component
9891
+ *
9892
+ * @beta
9893
+ */
9894
+ export declare interface VerticalGalleryStyles extends BaseCustomStyles {
9895
+ /** Styles for each video tile in the vertical gallery */
9896
+ children?: IStyle;
9897
+ /** Styles for the verticalGallery control bar */
9898
+ controlBar?: VerticalGalleryControlBarStyles;
9899
+ }
9900
+
7562
9901
  /**
7563
9902
  * Contains the attibutes of the blur video background effect
7564
9903
  *
@@ -7647,7 +9986,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
7647
9986
  /**
7648
9987
  * @public
7649
9988
  */
7650
- export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo';
9989
+ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(large-gallery) */ 'largeGallery' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
7651
9990
 
7652
9991
  /**
7653
9992
  * The state of the local participant in the {@link VideoGallery}.
@@ -7764,6 +10103,18 @@ export declare interface VideoGalleryProps {
7764
10103
  * @defaultValue \{ kind: 'contextual' \}
7765
10104
  */
7766
10105
  remoteVideoTileMenu?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
10106
+ /**
10107
+ * Determines the layout of the overflowGallery inside the VideoGallery.
10108
+ * @defaultValue 'HorizontalBottom'
10109
+ */
10110
+ overflowGalleryPosition?: OverflowGalleryPosition;
10111
+ /**
10112
+ * Determines the aspect ratio of local video tile in the video gallery.
10113
+ * @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
10114
+ * 16:9 (landscape) aspect ratios.
10115
+ * @defaultValue 'followDeviceOrientation'
10116
+ */
10117
+ localVideoTileSize?: LocalVideoTileSize;
7767
10118
  }
7768
10119
 
7769
10120
  /**
@@ -7776,6 +10127,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
7776
10127
  isSpeaking?: boolean;
7777
10128
  /** Video stream of shared screen */
7778
10129
  screenShareStream?: VideoGalleryStream;
10130
+ /**
10131
+ * @beta
10132
+ * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
10133
+ */
10134
+ state?: ParticipantState;
7779
10135
  /** Whether participant is raised a hand */
7780
10136
  raisedHand?: RaisedHand;
7781
10137
  }
@@ -7867,6 +10223,8 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
7867
10223
  horizontalGallery?: HorizontalGalleryStyles;
7868
10224
  /** Styles for the local video */
7869
10225
  localVideo?: IStyle;
10226
+ /** Styles for the vertical gallery */
10227
+ verticalGallery?: VerticalGalleryStyles;
7870
10228
  }
7871
10229
 
7872
10230
  /**
@@ -8013,6 +10371,12 @@ export declare interface VideoTileProps {
8013
10371
  isSpeaking?: boolean;
8014
10372
  /** Whether the participant is raised hand. Show a indicator (border) and icon with order */
8015
10373
  raisedHand?: RaisedHand;
10374
+ /**
10375
+ * The call connection state of the participant.
10376
+ * For example, `Hold` means the participant is on hold.
10377
+ */
10378
+ participantState?: ParticipantState;
10379
+ strings?: VideoTileStrings;
8016
10380
  /**
8017
10381
  * Display custom menu items in the VideoTile's contextual menu.
8018
10382
  * Uses Fluent UI ContextualMenu.
@@ -8025,6 +10389,15 @@ export declare interface VideoTileProps {
8025
10389
  onLongTouch?: () => void;
8026
10390
  }
8027
10391
 
10392
+ /**
10393
+ * Strings of {@link VideoTile} that can be overridden.
10394
+ * @beta
10395
+ */
10396
+ export declare interface VideoTileStrings {
10397
+ participantStateRinging: string;
10398
+ participantStateHold: string;
10399
+ }
10400
+
8028
10401
  /**
8029
10402
  * Fluent styles for {@link VideoTile}.
8030
10403
  *