@azure/communication-react 1.4.0 → 1.4.1-beta.1

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 (833) hide show
  1. package/{CHANGELOG.md → CHANGELOG.beta.md} +47 -283
  2. package/CHANGELOG.json +507 -0
  3. package/CHANGELOG.stable.md +287 -0
  4. package/dist/communication-react.d.ts +1781 -58
  5. package/dist/dist-cjs/communication-react/index.js +17182 -13123
  6. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  11. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/identifier.js +7 -24
  14. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js +2 -1
  17. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/logEvent.js +2 -0
  19. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  20. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  21. package/dist/dist-esm/acs-ui-common/src/safeStringify.js +2 -1
  22. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  23. package/dist/dist-esm/acs-ui-common/src/telemetry.d.ts +10 -0
  24. package/dist/dist-esm/acs-ui-common/src/telemetry.js +10 -0
  25. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  26. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  27. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +9 -0
  29. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +10 -0
  30. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +13 -0
  32. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +27 -9
  33. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +22 -46
  35. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +51 -0
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +270 -0
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -0
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.d.ts +20 -0
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +36 -0
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -0
  42. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +7 -43
  43. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +26 -266
  44. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +43 -0
  46. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +81 -0
  47. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  48. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  49. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js +17 -5
  50. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +7 -3
  52. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +29 -0
  53. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js +6 -3
  55. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  56. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +6 -0
  57. package/dist/dist-esm/calling-component-bindings/src/index.js +8 -0
  58. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +26 -9
  60. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  61. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js +2 -0
  62. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  63. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +12 -2
  64. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js +27 -1
  65. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  66. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +8 -3
  67. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +16 -2
  69. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +27 -1
  70. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  71. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  72. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js +2 -0
  73. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  74. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +11 -0
  75. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +19 -3
  76. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  77. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +7 -1
  78. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +11 -0
  79. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  80. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +13 -4
  81. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  82. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +21 -5
  83. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +26 -0
  85. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js +4 -0
  86. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -0
  87. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +16 -2
  88. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +42 -187
  89. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +53 -0
  91. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +204 -0
  92. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -0
  93. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +21 -1
  94. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js +4 -1
  95. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +4 -0
  97. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +60 -10
  98. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +12 -80
  100. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  101. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.d.ts +13 -0
  102. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +88 -0
  103. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -0
  104. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js +2 -1
  105. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  106. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +3 -2
  108. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +19 -8
  109. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +4 -3
  111. package/dist/dist-esm/calling-stateful-client/src/Converter.js +15 -8
  112. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +58 -55
  114. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  115. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts +2 -1
  116. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +16 -16
  117. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  118. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.d.ts +3 -3
  119. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js +4 -1
  120. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  121. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +11 -18
  122. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  123. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
  125. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +12 -1
  126. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  127. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +4 -1
  128. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  129. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  130. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +14 -2
  131. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  132. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +23 -0
  133. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +52 -36
  134. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  135. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +21 -23
  136. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  137. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
  138. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +89 -0
  139. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
  140. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
  141. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
  142. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
  143. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js +4 -1
  144. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  145. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +19 -0
  146. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +35 -0
  147. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -0
  148. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +5 -3
  149. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  150. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +8 -0
  151. package/dist/dist-esm/calling-stateful-client/src/index-public.js +4 -0
  152. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -0
  153. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +3 -5
  154. package/dist/dist-esm/calling-stateful-client/src/index.js +2 -1
  155. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  156. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +6 -4
  157. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  158. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  159. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +21 -18
  161. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +4 -1
  163. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +11 -13
  164. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  165. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  166. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  167. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js +4 -1
  168. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  169. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  170. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +48 -13
  171. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  172. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  173. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  174. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  175. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js +2 -0
  176. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  177. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +5 -8
  178. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  179. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +7 -2
  180. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  181. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  182. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  183. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js +4 -1
  184. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  185. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +17 -16
  186. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  187. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  188. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +16 -15
  189. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  190. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  191. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +59 -68
  192. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  193. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +115 -121
  194. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  195. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +2 -0
  196. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  197. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  198. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js +2 -0
  199. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  200. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js +2 -0
  201. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  202. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js +2 -0
  203. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  204. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js +2 -0
  205. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  206. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js +2 -0
  207. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  208. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js +2 -0
  209. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  210. package/dist/dist-esm/communication-react/src/index.d.ts +20 -2
  211. package/dist/dist-esm/communication-react/src/index.js +13 -1
  212. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  213. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  214. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  215. package/dist/dist-esm/react-components/src/components/CameraButton.js +10 -9
  216. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  217. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +7 -8
  218. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  219. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +38 -17
  220. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  221. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +12 -5
  222. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  223. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +26 -31
  224. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  225. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +63 -28
  226. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  227. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +9 -12
  228. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  230. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +19 -10
  232. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +4 -3
  234. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  236. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  238. package/dist/dist-esm/react-components/src/components/ControlBar.js +13 -15
  239. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  240. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  241. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  242. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +6 -15
  243. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  244. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  245. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  246. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  247. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  248. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  249. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  250. package/dist/dist-esm/react-components/src/components/{DevicePermissionDropdown.d.ts → DevicePermissions/DevicePermissionDropdown.d.ts} +4 -0
  251. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +27 -0
  252. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -0
  253. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.d.ts +101 -0
  254. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js +80 -0
  255. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js.map +1 -0
  256. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.d.ts +86 -0
  257. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js +31 -0
  258. package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js.map +1 -0
  259. package/dist/dist-esm/react-components/src/components/DevicesButton.js +7 -30
  260. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  261. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +48 -48
  262. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  263. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  264. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  265. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +12 -9
  267. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  268. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  269. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  270. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +4 -3
  271. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  272. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  273. package/dist/dist-esm/react-components/src/components/EndCallButton.js +5 -8
  274. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  275. package/dist/dist-esm/react-components/src/components/ErrorBar.js +4 -6
  276. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/FileCard.js +4 -4
  278. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  279. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  280. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  281. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +14 -10
  282. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  283. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +10 -8
  284. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  285. package/dist/dist-esm/react-components/src/components/GridLayout.js +55 -44
  286. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  287. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +4 -3
  288. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  289. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  290. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  291. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  292. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -8
  293. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  294. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +6 -12
  295. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  296. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  297. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  298. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +28 -9
  299. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  300. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +27 -36
  301. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  302. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +23 -1
  303. package/dist/dist-esm/react-components/src/components/MessageThread.js +188 -120
  304. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  305. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -11
  306. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  307. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +137 -137
  308. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +15 -0
  310. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +19 -16
  311. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  312. package/dist/dist-esm/react-components/src/components/ParticipantList.js +25 -9
  313. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  314. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +44 -31
  315. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  316. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  317. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  318. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  319. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  320. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +18 -5
  321. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  322. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +6 -4
  323. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  324. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -12
  325. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  326. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +35 -0
  327. package/dist/dist-esm/react-components/src/components/SendBox.js +37 -10
  328. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +4 -3
  330. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  332. package/dist/dist-esm/react-components/src/components/StreamMedia.js +5 -4
  333. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  334. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  335. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  336. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.d.ts +2 -1
  337. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +29 -17
  338. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +15 -9
  340. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +32 -0
  342. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +33 -0
  343. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -0
  344. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  345. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  346. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  347. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  348. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  349. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  350. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +13 -6
  351. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  352. package/dist/dist-esm/react-components/src/components/VideoGallery.js +97 -44
  353. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  354. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +11 -0
  355. package/dist/dist-esm/react-components/src/components/VideoTile.js +36 -32
  356. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  357. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +4 -10
  358. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +1 -1
  359. package/dist/dist-esm/react-components/src/components/index.d.ts +16 -2
  360. package/dist/dist-esm/react-components/src/components/index.js +11 -1
  361. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  362. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  363. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  364. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  365. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +3 -12
  366. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  367. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js +2 -0
  368. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  369. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +0 -2
  370. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  371. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.d.ts +38 -0
  372. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js +92 -0
  373. package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +1 -0
  374. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  376. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js +2 -0
  377. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  378. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +1 -4
  380. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  382. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +10 -11
  383. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  384. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +0 -1
  385. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  386. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  387. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +3 -11
  388. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +0 -3
  390. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  391. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  392. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.d.ts +1 -5
  393. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -12
  394. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  395. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  396. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.d.ts +22 -0
  397. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.js +53 -0
  398. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.js.map +1 -0
  399. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +18 -39
  400. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  401. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +4 -0
  402. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +6 -0
  403. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  404. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +1 -1
  405. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +10 -4
  406. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  407. package/dist/dist-esm/react-components/src/components/utils/common.js +6 -0
  408. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  409. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js +10 -5
  411. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +7 -7
  413. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  414. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
  416. package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
  417. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
  418. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  419. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  421. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  422. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  423. package/dist/dist-esm/react-components/src/components/utils.d.ts +4 -0
  424. package/dist/dist-esm/react-components/src/components/utils.js +21 -11
  425. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +21 -13
  427. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  429. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  431. package/dist/dist-esm/react-components/src/index.d.ts +2 -0
  432. package/dist/dist-esm/react-components/src/index.js +2 -0
  433. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +42 -0
  435. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +56 -2
  438. package/dist/dist-esm/react-components/src/localization/locales/index.js +16 -42
  439. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +61 -0
  441. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +74 -0
  442. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -0
  443. package/dist/dist-esm/react-components/src/permissions/index.d.ts +2 -0
  444. package/dist/dist-esm/react-components/src/permissions/index.js +4 -0
  445. package/dist/dist-esm/react-components/src/permissions/index.js.map +1 -0
  446. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +7 -8
  447. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  448. package/dist/dist-esm/react-components/src/theming/icons.d.ts +15 -0
  449. package/dist/dist-esm/react-components/src/theming/icons.js +113 -12
  450. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  451. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  452. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  453. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  454. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  455. package/dist/dist-esm/react-components/src/theming/themeUtils.js +4 -1
  456. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  457. package/dist/dist-esm/react-components/src/theming/themes.js +2 -0
  458. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +7 -0
  460. package/dist/dist-esm/react-components/src/types/ChatMessage.js +2 -0
  461. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  462. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  463. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js +2 -0
  464. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  465. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +3 -0
  466. package/dist/dist-esm/react-components/src/types/OnRender.js +2 -0
  467. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  468. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +3 -0
  469. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js +2 -0
  470. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  471. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  472. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +6 -0
  473. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  474. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  475. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +76 -0
  476. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +110 -18
  477. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  478. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +120 -0
  479. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  480. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +52 -6
  481. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +167 -47
  482. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  483. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +51 -1
  484. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +11 -1
  485. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  486. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  487. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  488. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  489. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +2 -0
  490. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  491. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +3 -0
  492. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +76 -10
  493. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  494. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -0
  495. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +136 -13
  496. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  497. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts +24 -0
  498. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +80 -0
  499. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -0
  500. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.d.ts +2 -0
  501. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js +23 -0
  502. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js.map +1 -1
  503. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageErrorBar.d.ts +28 -0
  504. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageErrorBar.js +32 -0
  505. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageErrorBar.js.map +1 -0
  506. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.d.ts +2 -0
  507. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js +25 -0
  508. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js.map +1 -1
  509. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  510. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  511. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
  512. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
  513. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
  514. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +3 -3
  515. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  516. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +35 -23
  517. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  518. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +2 -0
  519. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +73 -20
  520. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  521. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +16 -21
  522. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  523. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +4 -14
  524. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  525. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  526. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  527. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +4 -3
  528. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  529. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  530. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  531. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -1
  532. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  533. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +17 -0
  534. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +63 -0
  535. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -0
  536. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +41 -4
  537. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  538. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  539. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  540. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +12 -8
  541. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  542. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  543. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  544. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  545. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  546. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  547. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  548. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  549. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +7 -9
  550. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  551. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +29 -6
  552. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  553. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  554. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  555. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  556. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.d.ts +16 -0
  557. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js +38 -0
  558. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js.map +1 -0
  559. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -0
  560. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  561. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
  562. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +10 -4
  563. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  564. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +8 -0
  565. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +139 -12
  566. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  567. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +15 -0
  568. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +36 -0
  569. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
  570. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +1 -0
  571. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +21 -8
  572. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  573. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +2 -2
  574. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  575. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +13 -0
  576. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +26 -0
  577. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  578. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  579. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  580. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  581. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -0
  582. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +7 -0
  583. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  584. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  585. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  586. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  587. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  588. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  589. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  590. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  591. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  592. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +13 -6
  593. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  594. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +1 -1
  595. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +3 -1
  596. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  597. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +4 -4
  598. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +2 -0
  599. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  600. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  601. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -2
  602. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  603. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  604. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  605. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  606. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +2 -2
  607. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +2 -2
  608. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  609. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  610. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  611. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  612. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +2 -2
  613. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  614. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  615. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  616. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.d.ts +6 -2
  617. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +11 -10
  618. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  619. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +2 -6
  620. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  621. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js +2 -0
  622. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  623. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +4 -2
  624. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  625. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +4 -4
  626. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  627. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
  628. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
  629. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
  630. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +3 -4
  631. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  632. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  633. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  634. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  635. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js +2 -0
  636. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  637. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +0 -1
  638. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  639. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +23 -3
  640. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js +2 -0
  641. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  642. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +9 -1
  643. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +77 -17
  644. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  645. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  646. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +78 -4
  647. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +77 -18
  648. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  649. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts +1 -0
  650. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +43 -16
  651. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  652. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.d.ts +2 -0
  653. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +36 -14
  654. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
  655. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton.js +1 -1
  656. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton.js.map +1 -1
  657. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButtonWithUnreadMessagesBadge.js +11 -7
  658. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  659. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.js +2 -0
  660. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  661. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +67 -0
  662. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +75 -0
  663. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
  664. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/NotificationIcon.js +3 -6
  665. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/NotificationIcon.js.map +1 -1
  666. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js +1 -1
  667. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js.map +1 -1
  668. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.d.ts +1 -0
  669. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -0
  671. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  672. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +22 -4
  673. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +140 -11
  674. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  675. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +56 -0
  676. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  677. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +9 -2
  678. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +36 -1
  679. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  680. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +9 -0
  681. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +34 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  683. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +4 -2
  684. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  685. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.d.ts +13 -0
  686. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js +65 -0
  687. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js.map +1 -0
  688. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +67 -21
  689. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
  690. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js +2 -1
  691. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  692. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
  693. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  694. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +3 -1
  695. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  696. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +11 -0
  697. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +10 -2
  698. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  699. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +0 -2
  700. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +2 -13
  701. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  702. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +20 -0
  703. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +8 -2
  704. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  705. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  706. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  707. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +41 -9
  708. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  709. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  710. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  711. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  712. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
  713. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
  714. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
  715. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  716. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  717. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +9 -0
  718. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +111 -36
  719. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  720. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
  721. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +156 -1
  722. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +13 -2
  724. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js +2 -0
  725. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  726. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +7 -0
  727. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  728. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  729. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
  730. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  731. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js +2 -0
  732. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  734. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +6 -6
  735. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  736. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +5 -1
  737. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  738. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
  740. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
  741. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
  742. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +3 -0
  743. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  744. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
  745. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +13 -0
  746. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
  747. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +23 -0
  748. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
  749. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
  750. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  751. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +5 -1
  753. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -6
  754. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  755. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
  756. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
  757. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
  758. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
  759. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
  760. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
  761. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
  762. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +15 -14
  764. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  765. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
  766. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
  767. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
  768. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
  769. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
  770. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
  771. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +3 -5
  772. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  773. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +22 -6
  774. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  775. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  776. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +7 -9
  778. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  779. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +7 -1
  780. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +26 -7
  781. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +17 -0
  783. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +42 -0
  784. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
  785. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
  786. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +40 -0
  787. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
  788. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +2 -1
  789. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +6 -18
  790. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  791. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +2 -1
  792. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  793. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  795. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +28 -1
  796. package/dist/dist-esm/react-composites/src/composites/common/icons.js +23 -8
  797. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js +2 -0
  799. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +5 -16
  801. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  803. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +5 -22
  805. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  806. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +6 -22
  807. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  808. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  809. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  810. package/dist/dist-esm/react-composites/src/composites/index.js +2 -0
  811. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  813. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  815. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +2 -2
  816. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +2 -2
  817. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +2 -2
  818. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +2 -2
  819. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js +2 -0
  820. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  821. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +2 -2
  822. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +2 -2
  823. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +2 -2
  824. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +2 -2
  825. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +2 -2
  826. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +2 -2
  827. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +2 -2
  828. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +2 -2
  829. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +2 -2
  830. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  831. package/package.json +12 -12
  832. package/dist/dist-esm/react-components/src/components/DevicePermissionDropdown.js +0 -29
  833. package/dist/dist-esm/react-components/src/components/DevicePermissionDropdown.js.map +0 -1
@@ -17,6 +17,7 @@
17
17
 
18
18
  /// <reference types="react" />
19
19
 
20
+ import { AddPhoneNumberOptions } from '@azure/communication-calling';
20
21
  import { AudioDeviceInfo } from '@azure/communication-calling';
21
22
  import { Call } from '@azure/communication-calling';
22
23
  import { CallAgent } from '@azure/communication-calling';
@@ -42,18 +43,24 @@ import { CreateViewOptions } from '@azure/communication-calling';
42
43
  import { DeviceAccess } from '@azure/communication-calling';
43
44
  import { DeviceManager } from '@azure/communication-calling';
44
45
  import { DominantSpeakersInfo } from '@azure/communication-calling';
46
+ import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
45
47
  import { GroupCallLocator } from '@azure/communication-calling';
46
48
  import { IButtonProps } from '@fluentui/react';
47
49
  import { IButtonStyles } from '@fluentui/react';
48
50
  import { IContextualMenuItem } from '@fluentui/react';
49
51
  import { IContextualMenuItemStyles } from '@fluentui/react';
50
52
  import { IContextualMenuStyles } from '@fluentui/react';
53
+ import { IDropdownOption } from '@fluentui/react';
54
+ import { IDropdownStyles } from '@fluentui/react';
55
+ import { ILinkStyles } from '@fluentui/react';
51
56
  import { IMessageBarProps } from '@fluentui/react';
57
+ import { IncomingCall } from '@azure/communication-calling';
52
58
  import { IPersonaStyleProps } from '@fluentui/react';
53
59
  import { IPersonaStyles } from '@fluentui/react';
54
60
  import { IRenderFunction } from '@fluentui/react';
55
61
  import { IStyle } from '@fluentui/react';
56
62
  import { IStyleFunctionOrObject } from '@fluentui/react';
63
+ import { ITextFieldStyles } from '@fluentui/react';
57
64
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
58
65
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
59
66
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
@@ -61,6 +68,7 @@ import { MediaStreamType } from '@azure/communication-calling';
61
68
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
62
69
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
63
70
  import { PartialTheme } from '@fluentui/react';
71
+ import { ParticipantRole } from '@azure/communication-calling';
64
72
  import { PermissionConstraints } from '@azure/communication-calling';
65
73
  import { PersonaInitialsColor } from '@fluentui/react';
66
74
  import { PersonaPresence } from '@fluentui/react';
@@ -71,9 +79,12 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
71
79
  import { default as React_2 } from 'react';
72
80
  import type { RemoteParticipant } from '@azure/communication-calling';
73
81
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
82
+ import { RoomCallLocator } from '@azure/communication-calling';
74
83
  import { ScalingMode } from '@azure/communication-calling';
75
84
  import { SendMessageOptions } from '@azure/communication-chat';
76
85
  import { StartCallOptions } from '@azure/communication-calling';
86
+ import { TeamsCall } from '@azure/communication-calling';
87
+ import { TeamsCallAgent } from '@azure/communication-calling';
77
88
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
78
89
  import { Theme } from '@fluentui/react';
79
90
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
@@ -102,6 +113,38 @@ export declare interface ActiveErrorMessage {
102
113
  timestamp?: Date;
103
114
  }
104
115
 
116
+ /**
117
+ * Attributes required for SendBox to show file uploads like name, progress etc.
118
+ * @beta
119
+ */
120
+ export declare interface ActiveFileUpload {
121
+ /**
122
+ * Unique identifier for the file upload.
123
+ */
124
+ id: string;
125
+ /**
126
+ * File name to be rendered for uploaded file.
127
+ */
128
+ filename: string;
129
+ /**
130
+ * A number between 0 and 1 indicating the progress of the upload.
131
+ * This is unrelated to the `uploadComplete` property.
132
+ * It is only used to show the progress of the upload.
133
+ * Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
134
+ * property to true to mark the upload as complete.
135
+ */
136
+ progress: number;
137
+ /**
138
+ * Error to be displayed to the user if the upload fails.
139
+ */
140
+ error?: SendBoxErrorBarError;
141
+ /**
142
+ * `true` means that the upload is completed.
143
+ * This is independent of the upload `progress`.
144
+ */
145
+ uploadComplete?: boolean;
146
+ }
147
+
105
148
  /**
106
149
  * Error reported via error events and stored in adapter state.
107
150
  *
@@ -218,6 +261,25 @@ export declare type AzureCommunicationCallAdapterArgs = {
218
261
  displayName: string;
219
262
  credential: CommunicationTokenCredential;
220
263
  locator: CallAdapterLocator;
264
+ alternateCallerId?: string;
265
+ /**
266
+ * Optional parameters for the {@link AzureCommunicationCallAdapter} created
267
+ */
268
+ options?: AzureCommunicationCallAdapterOptions;
269
+ };
270
+
271
+ /**
272
+ * Optional parameters to create {@link AzureCommunicationCallAdapter}
273
+ *
274
+ * @beta
275
+ */
276
+ export declare type AzureCommunicationCallAdapterOptions = {
277
+ /**
278
+ * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
279
+ * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
280
+ * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
281
+ */
282
+ roleHint?: Role;
221
283
  };
222
284
 
223
285
  /**
@@ -231,6 +293,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
231
293
  displayName: string;
232
294
  credential: CommunicationTokenCredential;
233
295
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
296
+ alternateCallerId?: string;
234
297
  };
235
298
 
236
299
  /**
@@ -314,6 +377,136 @@ export declare interface BaseCustomStyles {
314
377
  root?: IStyle;
315
378
  }
316
379
 
380
+ /**
381
+ * @beta
382
+ * Props for BrowserPermissionDeniedIOS component.
383
+ */
384
+ export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
385
+ /**
386
+ * Localization strings for BrowserPermissionDeniedIOS component.
387
+ */
388
+ strings?: BrowserPermissionDeniedIOSStrings;
389
+ /**
390
+ * Link to image source.
391
+ *
392
+ * Image is inserted into the top of the component.
393
+ */
394
+ imageSource?: string;
395
+ }
396
+
397
+ /**
398
+ * @beta
399
+ * Strings for BrowserPermissionDeniedIOS component
400
+ */
401
+ export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
402
+ /**
403
+ * Image alt text
404
+ */
405
+ imageAltText: string;
406
+ /**
407
+ * Main text string.
408
+ */
409
+ primaryText: string;
410
+ /**
411
+ * Subtext string.
412
+ */
413
+ secondaryText: string;
414
+ /**
415
+ * Step 1 string
416
+ */
417
+ step1Text: string;
418
+ /**
419
+ * Step 1 digit string
420
+ */
421
+ step1DigitText: string;
422
+ /**
423
+ * Step 2 string
424
+ */
425
+ step2Text: string;
426
+ /**
427
+ * Step 2 digit string
428
+ */
429
+ step2DigitText: string;
430
+ /**
431
+ * Step 3 string
432
+ */
433
+ step3Text: string;
434
+ /**
435
+ * Step 3 digit string
436
+ */
437
+ step3DigitText: string;
438
+ /**
439
+ * Step 4 string
440
+ */
441
+ step4Text: string;
442
+ /**
443
+ * Step 4 digit string
444
+ */
445
+ step4DigitText: string;
446
+ }
447
+
448
+ /**
449
+ * @beta
450
+ * Props for BrowserPermissionDenied component.
451
+ */
452
+ export declare interface BrowserPermissionDeniedProps {
453
+ /**
454
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
455
+ */
456
+ onTroubleshootingClick?: () => void;
457
+ /**
458
+ * Action to be taken by the try again primary button.
459
+ */
460
+ onTryAgainClick?: () => void;
461
+ /**
462
+ * Localization strings for BrowserPermissionDenied component.
463
+ */
464
+ strings?: BrowserPermissionDeniedStrings;
465
+ /**
466
+ * Allows users to pass in an object contains custom CSS styles.
467
+ * @Example
468
+ * ```
469
+ * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
470
+ * ```
471
+ */
472
+ styles?: BrowserPermissionDeniedStyles;
473
+ }
474
+
475
+ /**
476
+ * @beta
477
+ * Strings for BrowserPermissionDenied component
478
+ */
479
+ export declare interface BrowserPermissionDeniedStrings {
480
+ /**
481
+ * Main button text string.
482
+ */
483
+ primaryButtonText: string;
484
+ /**
485
+ * Main text string.
486
+ */
487
+ primaryText: string;
488
+ /**
489
+ * Subtext string.
490
+ */
491
+ secondaryText: string;
492
+ /**
493
+ * More help link string.
494
+ */
495
+ linkText: string;
496
+ }
497
+
498
+ /**
499
+ * Fluent styles for {@link BrowserPermissionDenied}.
500
+ *
501
+ * @beta
502
+ */
503
+ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
504
+ /** Styles for the primary button. */
505
+ primaryButton?: IButtonStyles;
506
+ /** Styles for the help troubleshooting link text. */
507
+ troubleshootingLink?: ILinkStyles;
508
+ }
509
+
317
510
  /**
318
511
  * {@link CallComposite} Adapter interface.
319
512
  *
@@ -389,6 +582,12 @@ export declare interface CallAdapterCallManagement {
389
582
  * @public
390
583
  */
391
584
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
585
+ /**
586
+ * Start the call.
587
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
588
+ * @beta
589
+ */
590
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
392
591
  /**
393
592
  * Start sharing the screen during a call.
394
593
  *
@@ -409,6 +608,12 @@ export declare interface CallAdapterCallManagement {
409
608
  * @public
410
609
  */
411
610
  removeParticipant(userId: string): Promise<void>;
611
+ /**
612
+ * Remove a participant from the call.
613
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
614
+ * @beta
615
+ */
616
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
412
617
  /**
413
618
  * Create the html view for a stream.
414
619
  *
@@ -433,6 +638,31 @@ export declare interface CallAdapterCallManagement {
433
638
  * @public
434
639
  */
435
640
  disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
641
+ /**
642
+ * Holds the call.
643
+ *
644
+ * @beta
645
+ */
646
+ holdCall(): Promise<void>;
647
+ /**
648
+ * Resumes the call from a `LocalHold` state.
649
+ *
650
+ * @beta
651
+ */
652
+ resumeCall(): Promise<void>;
653
+ /**
654
+ * Add a participant to the call.
655
+ *
656
+ * @beta
657
+ */
658
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
659
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
660
+ /**
661
+ * send dtmf tone to another participant in a 1:1 PSTN call
662
+ *
663
+ * @beta
664
+ */
665
+ sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
436
666
  }
437
667
 
438
668
  /**
@@ -451,6 +681,16 @@ export declare type CallAdapterClientState = {
451
681
  * Latest error encountered for each operation performed via the adapter.
452
682
  */
453
683
  latestErrors: AdapterErrors;
684
+ /**
685
+ * Azure communications Phone number to make PSTN calls with.
686
+ */
687
+ alternateCallerId?: string;
688
+ /**
689
+ * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
690
+ * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
691
+ * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
692
+ */
693
+ roleHint?: Role;
454
694
  };
455
695
 
456
696
  /**
@@ -535,7 +775,7 @@ export declare interface CallAdapterDeviceManagement {
535
775
  *
536
776
  * @public
537
777
  */
538
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
778
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
539
779
 
540
780
  /**
541
781
  * {@link CallAdapter} state.
@@ -688,7 +928,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
688
928
  */
689
929
  export declare interface CallAgentProviderProps {
690
930
  children: React_2.ReactNode;
691
- callAgent?: CallAgent;
931
+ callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
692
932
  }
693
933
 
694
934
  /**
@@ -713,7 +953,7 @@ export declare interface CallAgentState {
713
953
  */
714
954
  export declare interface CallAndChatLocator {
715
955
  /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
716
- callLocator: GroupCallLocator;
956
+ callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
717
957
  /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
718
958
  chatThreadId: string;
719
959
  }
@@ -800,6 +1040,12 @@ export declare interface CallClientState {
800
1040
  * See documentation of {@Link CallErrors} for details.
801
1041
  */
802
1042
  latestErrors: CallErrors;
1043
+ /**
1044
+ * A phone number in E.164 format that will be used to represent callers identity.
1045
+ * For example, using the alternateCallerId to add a participant using PSTN, this number will
1046
+ * be used as the caller id in the PSTN call.
1047
+ */
1048
+ alternateCallerId?: string;
803
1049
  }
804
1050
 
805
1051
  /**
@@ -863,6 +1109,10 @@ export declare type CallCompositeIcons = {
863
1109
  ParticipantItemScreenShareStart?: JSX.Element;
864
1110
  VideoTileMicOff?: JSX.Element;
865
1111
  LocalCameraSwitch?: JSX.Element;
1112
+ PeoplePaneAddPerson?: JSX.Element;
1113
+ PeoplePaneOpenDialpad?: JSX.Element;
1114
+ DialpadStartCall?: JSX.Element;
1115
+ NoticePageInvalidRoom?: JSX.Element;
866
1116
  };
867
1117
 
868
1118
  /**
@@ -883,6 +1133,60 @@ export declare type CallCompositeOptions = {
883
1133
  * @defaultValue true
884
1134
  */
885
1135
  callControls?: boolean | CallControlOptions;
1136
+ /**
1137
+ * Device permission restrictions for your call.
1138
+ * Require device permissions to be set or have them as optional or not required to start a call
1139
+ */
1140
+ devicePermissions?: DevicePermissionRestrictions;
1141
+ /**
1142
+ * Opt in call readiness feature for your call
1143
+ * Setting this to `true` will add call readiness features to the call experience
1144
+ */
1145
+ callReadinessOptedIn?: boolean;
1146
+ /**
1147
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1148
+ * unable to grant your site the required permissions for the call.
1149
+ *
1150
+ * @example
1151
+ * ```ts
1152
+ * onPermissionsTroubleshootingClick: () =>
1153
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
1154
+ * ```
1155
+ *
1156
+ * @remarks
1157
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
1158
+ */
1159
+ onPermissionsTroubleshootingClick?: (permissionsState: {
1160
+ camera: PermissionState;
1161
+ microphone: PermissionState;
1162
+ }) => void;
1163
+ /**
1164
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1165
+ * having network issues when connecting to the call.
1166
+ *
1167
+ * @example
1168
+ * ```ts
1169
+ * onNetworkingTroubleShootingClick?: () =>
1170
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
1171
+ * ```
1172
+ *
1173
+ * @remarks
1174
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
1175
+ */
1176
+ onNetworkingTroubleShootingClick?: () => void;
1177
+ /**
1178
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
1179
+ *
1180
+ * @example
1181
+ * ```ts
1182
+ * onBrowserTroubleShootingClick?: () =>
1183
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
1184
+ * ```
1185
+ *
1186
+ * @remarks
1187
+ * if this is not supplied, the composite will not show a unsupported browser page.
1188
+ */
1189
+ onEnvironmentInfoTroubleshootingClick?: () => void;
886
1190
  };
887
1191
 
888
1192
  /**
@@ -890,7 +1194,7 @@ export declare type CallCompositeOptions = {
890
1194
  *
891
1195
  * @public
892
1196
  */
893
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'lobby' | 'removedFromCall';
1197
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment';
894
1198
 
895
1199
  /**
896
1200
  * Props for {@link CallComposite}.
@@ -1092,10 +1396,130 @@ export declare interface CallCompositeStrings {
1092
1396
  * Tooltip text used to inform a user that toggling microphone in lobby is not supported.
1093
1397
  */
1094
1398
  microphoneToggleInLobbyNotAllowed: string;
1399
+ /**
1400
+ * Side pane People section Title.
1401
+ */
1402
+ peoplePaneTitle: string;
1403
+ /**
1404
+ * Aria label string for return to call back button
1405
+ */
1406
+ returnToCallButtonAriaLabel?: string;
1407
+ /**
1408
+ * Aria Description string for return to call button
1409
+ */
1410
+ returnToCallButtonAriaDescription?: string;
1411
+ /**
1412
+ * control bar People button label
1413
+ */
1414
+ peopleButtonLabel: string;
1415
+ /**
1416
+ * control bar Chat button label.
1417
+ */
1418
+ chatButtonLabel: string;
1419
+ /**
1420
+ * Label for SidePaneHeader dismiss button
1421
+ */
1422
+ dismissSidePaneButtonLabel?: string;
1423
+ /**
1424
+ * Side pane People section subheader.
1425
+ */
1426
+ peoplePaneSubTitle: string;
1427
+ /**
1428
+ * Label for button to copy invite link
1429
+ */
1430
+ copyInviteLinkButtonLabel: string;
1431
+ /**
1432
+ * Label for button to open dialpad
1433
+ */
1434
+ openDialpadButtonLabel: string;
1435
+ /**
1436
+ * Label for menu item to remove participant
1437
+ */
1438
+ removeMenuLabel: string;
1439
+ /**
1440
+ * Label for add people dropdown
1441
+ */
1442
+ peoplePaneAddPeopleButtonLabel: string;
1443
+ /**
1444
+ * Label for button to start a call
1445
+ */
1446
+ dialpadStartCallButtonLabel: string;
1447
+ /**
1448
+ * Title for dialpad Modal
1449
+ */
1450
+ dialpadModalTitle: string;
1451
+ /**
1452
+ * Aria Label for dialpad Modal
1453
+ */
1454
+ dialpadModalAriaLabel: string;
1455
+ /**
1456
+ * Aria Label for dialpad Modal close button
1457
+ */
1458
+ dialpadCloseModalButtonAriaLabel: string;
1459
+ /**
1460
+ * label for more button in the Calling composite
1461
+ */
1462
+ moreButtonCallingLabel: string;
1463
+ /**
1464
+ * Label for the resume call button on the hold pane
1465
+ */
1466
+ resumeCallButtonLabel: string;
1467
+ /**
1468
+ * Label for the resume call button on the hold pane when call is resuming
1469
+ */
1470
+ resumingCallButtonLabel: string;
1471
+ /**
1472
+ * Aria label for the resume call button on the hold pane
1473
+ */
1474
+ resumeCallButtonAriaLabel: string;
1475
+ /**
1476
+ * Aria label for the resume call button on the hold pane when call is resuming
1477
+ */
1478
+ resumingCallButtonAriaLabel: string;
1479
+ /**
1480
+ * Label for the hold pane
1481
+ */
1482
+ holdScreenLabel: string;
1483
+ /**
1484
+ * Placeholder text for dtmf dialpad
1485
+ */
1486
+ dtmfDialpadPlaceholderText: string;
1487
+ /**
1488
+ * Label for the button to open dtmf dialpad
1489
+ */
1490
+ openDtmfDialpadLabel: string;
1095
1491
  /**
1096
1492
  * aria label for when the invite link has been actioned
1097
1493
  */
1098
1494
  copyInviteLinkActionedAriaLabel: string;
1495
+ /**
1496
+ * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1497
+ */
1498
+ roomNotFoundTitle: string;
1499
+ /**
1500
+ * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1501
+ */
1502
+ roomNotFoundDetails?: string;
1503
+ /**
1504
+ * Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
1505
+ */
1506
+ deniedPermissionToRoomTitle: string;
1507
+ /**
1508
+ * More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
1509
+ */
1510
+ deniedPermissionToRoomDetails?: string;
1511
+ /**
1512
+ * Control bar People button ToolTipContent
1513
+ */
1514
+ peopleButtonTooltipOpen: string;
1515
+ /**
1516
+ * Control bar People button ToolTipContent
1517
+ */
1518
+ peopleButtonTooltipClose: string;
1519
+ /**
1520
+ * Label disaplayed on the lobby screen during a 1:1 outbound call.
1521
+ */
1522
+ outboundCallingNoticeString: string;
1099
1523
  }
1100
1524
 
1101
1525
  /**
@@ -1125,7 +1549,9 @@ export declare type CallControlOptions = {
1125
1549
  * Show or Hide Camera Button during a call
1126
1550
  * @defaultValue true
1127
1551
  */
1128
- cameraButton?: boolean;
1552
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1553
+ disabled: boolean;
1554
+ };
1129
1555
  /**
1130
1556
  * Show or Hide EndCall button during a call.
1131
1557
  * @defaultValue true
@@ -1135,12 +1561,16 @@ export declare type CallControlOptions = {
1135
1561
  * Show or Hide Microphone button during a call.
1136
1562
  * @defaultValue true
1137
1563
  */
1138
- microphoneButton?: boolean;
1564
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1565
+ disabled: boolean;
1566
+ };
1139
1567
  /**
1140
1568
  * Show or Hide Devices button during a call.
1141
1569
  * @defaultValue true
1142
1570
  */
1143
- devicesButton?: boolean;
1571
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1572
+ disabled: boolean;
1573
+ };
1144
1574
  /**
1145
1575
  * Show, Hide or Disable participants button during a call.
1146
1576
  * @defaultValue true
@@ -1155,6 +1585,20 @@ export declare type CallControlOptions = {
1155
1585
  screenShareButton?: boolean | {
1156
1586
  disabled: boolean;
1157
1587
  };
1588
+ /**
1589
+ * Show, Hide or disable the more button during a call.
1590
+ * @defaultValue true
1591
+ */
1592
+ moreButton?: boolean;
1593
+ /**
1594
+ * Inject custom buttons in the call controls.
1595
+ *
1596
+ * @beta
1597
+ */
1598
+ onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
1599
+ holdButton?: boolean | {
1600
+ disabled: boolean;
1601
+ };
1158
1602
  };
1159
1603
 
1160
1604
  /**
@@ -1216,7 +1660,7 @@ export declare type CallErrors = {
1216
1660
  *
1217
1661
  * @public
1218
1662
  */
1219
- export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopVideo' | 'Call.unmute' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject';
1663
+ export declare type CallErrorTarget = 'Call.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ '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';
1220
1664
 
1221
1665
  /**
1222
1666
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1244,24 +1688,9 @@ export declare type CallingBaseSelectorProps = {
1244
1688
  *
1245
1689
  * @public
1246
1690
  */
1247
- export declare type CallingHandlers = {
1248
- onStartLocalVideo: () => Promise<void>;
1249
- onToggleCamera: (options?: VideoStreamOptions) => Promise<void>;
1250
- onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => Call | undefined;
1251
- onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;
1252
- onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;
1253
- onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>;
1254
- onToggleMicrophone: () => Promise<void>;
1255
- onStartScreenShare: () => Promise<void>;
1256
- onStopScreenShare: () => Promise<void>;
1257
- onToggleScreenShare: () => Promise<void>;
1258
- onHangUp: (forEveryone?: boolean) => Promise<void>;
1259
- onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
1260
- onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
1261
- onRemoveParticipant(userId: string): Promise<void>;
1262
- onDisposeRemoteStreamView: (userId: string) => Promise<void>;
1263
- onDisposeLocalStreamView: () => Promise<void>;
1264
- };
1691
+ export declare interface CallingHandlers extends CommonCallingHandlers {
1692
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => Call | undefined;
1693
+ }
1265
1694
 
1266
1695
  /**
1267
1696
  * Helper type for {@link usePropsFor}.
@@ -1298,6 +1727,25 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
1298
1727
  isMuted?: boolean;
1299
1728
  /** Whether calling participant is speaking */
1300
1729
  isSpeaking?: boolean;
1730
+ /** Role of participant in Rooms call */
1731
+ role?: Role;
1732
+ };
1733
+
1734
+ /**
1735
+ * Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
1736
+ *
1737
+ * @remarks
1738
+ * This is currently in beta and only supports calling one Teams User.
1739
+ *
1740
+ * @example
1741
+ * ```
1742
+ * ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
1743
+ * ```
1744
+ *
1745
+ * @beta
1746
+ */
1747
+ export declare type CallParticipantsLocator = {
1748
+ participantIds: string[];
1301
1749
  };
1302
1750
 
1303
1751
  /**
@@ -1316,7 +1764,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
1316
1764
  */
1317
1765
  export declare interface CallProviderProps {
1318
1766
  children: React_2.ReactNode;
1319
- call?: Call;
1767
+ call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1320
1768
  }
1321
1769
 
1322
1770
  /**
@@ -1330,6 +1778,10 @@ export declare interface CallState {
1330
1778
  * Proxy of {@link @azure/communication-calling#Call.id}.
1331
1779
  */
1332
1780
  id: string;
1781
+ /**
1782
+ * Type of the call.
1783
+ */
1784
+ type: 'Teams' | 'ACS';
1333
1785
  /**
1334
1786
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
1335
1787
  */
@@ -1412,6 +1864,10 @@ export declare interface CallState {
1412
1864
  * Stores the latest call diagnostics.
1413
1865
  */
1414
1866
  diagnostics: DiagnosticsCallFeatureState;
1867
+ /**
1868
+ * Proxy of {@link @azure/communication-calling#Call.role}.
1869
+ */
1870
+ role?: ParticipantRole;
1415
1871
  }
1416
1872
 
1417
1873
  /**
@@ -1435,6 +1891,12 @@ export declare interface CallWithChatAdapterManagement {
1435
1891
  * @public
1436
1892
  */
1437
1893
  removeParticipant(userId: string): Promise<void>;
1894
+ /**
1895
+ * Remove a participant from the call.
1896
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
1897
+ * @beta
1898
+ */
1899
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
1438
1900
  /**
1439
1901
  * Join the call with microphone initially on/off.
1440
1902
  *
@@ -1489,6 +1951,12 @@ export declare interface CallWithChatAdapterManagement {
1489
1951
  * @public
1490
1952
  */
1491
1953
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
1954
+ /**
1955
+ * Start the call.
1956
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
1957
+ * @beta
1958
+ */
1959
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
1492
1960
  /**
1493
1961
  * Start sharing the screen during a call.
1494
1962
  *
@@ -1641,6 +2109,45 @@ export declare interface CallWithChatAdapterManagement {
1641
2109
  * @public
1642
2110
  */
1643
2111
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
2112
+ /** @beta */
2113
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
2114
+ /** @beta */
2115
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
2116
+ /** @beta */
2117
+ clearFileUploads: () => void;
2118
+ /** @beta */
2119
+ cancelFileUpload: (id: string) => void;
2120
+ /** @beta */
2121
+ updateFileUploadProgress: (id: string, progress: number) => void;
2122
+ /** @beta */
2123
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2124
+ /** @beta */
2125
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2126
+ /**
2127
+ * Puts the Call in a Localhold.
2128
+ *
2129
+ * @beta
2130
+ */
2131
+ holdCall: () => Promise<void>;
2132
+ /**
2133
+ * Resumes the call from a LocalHold state.
2134
+ *
2135
+ * @beta
2136
+ */
2137
+ resumeCall: () => Promise<void>;
2138
+ /**
2139
+ * Adds a new Participant to the call.
2140
+ *
2141
+ * @beta
2142
+ */
2143
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
2144
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
2145
+ /**
2146
+ * send dtmf tone to another participant in the call in 1:1 calls
2147
+ *
2148
+ * @beta
2149
+ */
2150
+ sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
1644
2151
  }
1645
2152
 
1646
2153
  /**
@@ -1711,6 +2218,14 @@ export declare interface CallWithChatAdapterUiState {
1711
2218
  * @public
1712
2219
  */
1713
2220
  page: CallCompositePage;
2221
+ /**
2222
+ * Files being uploaded by a user in the current thread.
2223
+ * Should be set to null once the upload is complete.
2224
+ * Array of type {@link FileUploadsUiState}
2225
+ *
2226
+ * @beta
2227
+ */
2228
+ fileUploads?: FileUploadsUiState;
1714
2229
  }
1715
2230
 
1716
2231
  /**
@@ -1735,6 +2250,8 @@ export declare interface CallWithChatClientState {
1735
2250
  devices: DeviceManagerState;
1736
2251
  /** State of whether the active call is a Teams interop call */
1737
2252
  isTeamsCall: boolean;
2253
+ /** alternateCallerId for PSTN call */
2254
+ alternateCallerId?: string | undefined;
1738
2255
  }
1739
2256
 
1740
2257
  /**
@@ -1801,6 +2318,9 @@ export declare type CallWithChatCompositeIcons = {
1801
2318
  ParticipantItemScreenShareStart?: JSX.Element;
1802
2319
  VideoTileMicOff?: JSX.Element;
1803
2320
  LocalCameraSwitch?: JSX.Element;
2321
+ PeoplePaneAddPerson?: JSX.Element;
2322
+ PeoplePaneOpenDialpad?: JSX.Element;
2323
+ DialpadStartCall?: JSX.Element;
1804
2324
  EditBoxCancel?: JSX.Element;
1805
2325
  EditBoxSubmit?: JSX.Element;
1806
2326
  MessageDelivered?: JSX.Element;
@@ -1827,6 +2347,53 @@ export declare type CallWithChatCompositeOptions = {
1827
2347
  * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
1828
2348
  */
1829
2349
  callControls?: boolean | CallWithChatControlOptions;
2350
+ /**
2351
+ * Properties for configuring the File Sharing feature.
2352
+ * If undefined, file sharing feature will be disabled.
2353
+ * @beta
2354
+ */
2355
+ fileSharing?: FileSharingOptions;
2356
+ /**
2357
+ * Device permission restrictions for your call.
2358
+ * Require device permissions to be set or have them as optional or not required to start a call
2359
+ */
2360
+ devicePermissions?: DevicePermissionRestrictions;
2361
+ /**
2362
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
2363
+ * unable to grant your site the required permissions for the call.
2364
+ *
2365
+ * @example
2366
+ * ```ts
2367
+ * onPermissionsTroubleshootingClick: () =>
2368
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
2369
+ * ```
2370
+ *
2371
+ * @remarks
2372
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
2373
+ */
2374
+ onPermissionsTroubleshootingClick?: (permissionsState: {
2375
+ camera: PermissionState;
2376
+ microphone: PermissionState;
2377
+ }) => void;
2378
+ /**
2379
+ * Optional callback to supply users with further troubleshooting steps for network issues
2380
+ * experienced when connecting to a call.
2381
+ *
2382
+ * @example
2383
+ * ```ts
2384
+ * onNetworkingTroubleShootingClick?: () =>
2385
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
2386
+ * ```
2387
+ *
2388
+ * @remarks
2389
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
2390
+ */
2391
+ onNetworkingTroubleShootingClick?: () => void;
2392
+ /**
2393
+ * Opt in call readiness feature for your call
2394
+ * setting this to True will add call readiness feature in call experience
2395
+ */
2396
+ callReadinessOptedIn?: boolean;
1830
2397
  };
1831
2398
 
1832
2399
  /**
@@ -1952,6 +2519,10 @@ export declare interface CallWithChatCompositeStrings {
1952
2519
  * Label for button to copy invite link
1953
2520
  */
1954
2521
  copyInviteLinkButtonLabel: string;
2522
+ /**
2523
+ * Label for button to open dialpad
2524
+ */
2525
+ openDialpadButtonLabel: string;
1955
2526
  /**
1956
2527
  * Label for SidePaneHeader dismiss button
1957
2528
  */
@@ -1964,6 +2535,34 @@ export declare interface CallWithChatCompositeStrings {
1964
2535
  * Aria label string for return to call back button
1965
2536
  */
1966
2537
  returnToCallButtonAriaLabel?: string;
2538
+ /**
2539
+ * Label for add people dropdown
2540
+ */
2541
+ peoplePaneAddPeopleButtonLabel: string;
2542
+ /**
2543
+ * Label for button to start a call
2544
+ */
2545
+ dialpadStartCallButtonLabel: string;
2546
+ /**
2547
+ * Title for dialpad Modal
2548
+ */
2549
+ dialpadModalTitle: string;
2550
+ /**
2551
+ * Aria Label for dialpad Modal
2552
+ */
2553
+ dialpadModalAriaLabel: string;
2554
+ /**
2555
+ * Aria Label for dialpad Modal close button
2556
+ */
2557
+ dialpadCloseModalButtonAriaLabel: string;
2558
+ /**
2559
+ * Placeholder text for dtmf dialpad
2560
+ */
2561
+ dtmfDialpadPlaceholderText: string;
2562
+ /**
2563
+ * Label for the button to open dtmf dialpad
2564
+ */
2565
+ openDtmfDialpadLabel: string;
1967
2566
  /**
1968
2567
  * aria label for when the invite link has been actioned
1969
2568
  */
@@ -1990,12 +2589,16 @@ export declare interface CallWithChatControlOptions {
1990
2589
  * Show or Hide Microphone button during a call.
1991
2590
  * @defaultValue true
1992
2591
  */
1993
- microphoneButton?: boolean;
2592
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2593
+ disabled: boolean;
2594
+ };
1994
2595
  /**
1995
2596
  * Show or Hide Camera Button during a call
1996
2597
  * @defaultValue true
1997
2598
  */
1998
- cameraButton?: boolean;
2599
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2600
+ disabled: boolean;
2601
+ };
1999
2602
  /**
2000
2603
  * Show, Hide or Disable the screen share button during a call.
2001
2604
  * @defaultValue true
@@ -2012,12 +2615,32 @@ export declare interface CallWithChatControlOptions {
2012
2615
  * Show or hide the chat button in the call-with-chat composite control bar.
2013
2616
  * @defaultValue true
2014
2617
  */
2015
- chatButton?: boolean;
2618
+ chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2619
+ disabled: boolean;
2620
+ };
2016
2621
  /**
2017
2622
  * Show or hide the people button in the call-with-chat composite control bar.
2018
2623
  * @defaultValue true
2019
2624
  */
2020
- peopleButton?: boolean;
2625
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2626
+ disabled: boolean;
2627
+ };
2628
+ /**
2629
+ * Inject custom buttons in the call controls.
2630
+ *
2631
+ * @beta
2632
+ */
2633
+ onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
2634
+ /**
2635
+ * Show or hide the more button in the call-with-chat control bar.
2636
+ */
2637
+ moreButton?: boolean;
2638
+ /**
2639
+ * Show or hide the hold button in the bottom sheet drawer
2640
+ */
2641
+ holdButton?: boolean | {
2642
+ disabled: boolean;
2643
+ };
2021
2644
  }
2022
2645
 
2023
2646
  /**
@@ -2027,6 +2650,35 @@ export declare interface CallWithChatControlOptions {
2027
2650
  */
2028
2651
  export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2029
2652
 
2653
+ /**
2654
+ * @beta
2655
+ *
2656
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
2657
+ * by their browsers settings.
2658
+ */
2659
+ export declare const CameraAndMicrophoneDomainPermissions: (props: CameraAndMicrophoneDomainPermissionsProps) => JSX.Element;
2660
+
2661
+ /**
2662
+ * @beta
2663
+ * Props for CameraAndMicrophoneDomainPermissions component.
2664
+ */
2665
+ export declare interface CameraAndMicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
2666
+ /** Icon name for the camera icon */
2667
+ cameraIconName?: string;
2668
+ /** Icon name for the microphone icon */
2669
+ microphoneIconName?: string;
2670
+ /** Icon name for the central icon between the camera and microphone icons */
2671
+ connectorIconName?: string;
2672
+ /** Strings for use with the {@link CameraAndMicrophoneDomainPermissions} */
2673
+ strings?: CameraAndMicrophoneDomainPermissionsStrings;
2674
+ }
2675
+
2676
+ /**
2677
+ * @beta
2678
+ * Strings for CameraAndMicrophoneDomainPermissions component.
2679
+ */
2680
+ export declare type CameraAndMicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
2681
+
2030
2682
  /**
2031
2683
  * A button to turn camera on / off.
2032
2684
  *
@@ -2163,12 +2815,37 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
2163
2815
  menuStyles?: Partial<CameraButtonContextualMenuStyles>;
2164
2816
  }
2165
2817
 
2818
+ /**
2819
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
2820
+ * by their browsers settings.
2821
+ *
2822
+ * @beta
2823
+ */
2824
+ export declare const CameraDomainPermissions: (props: CameraDomainPermissionsProps) => JSX.Element;
2825
+
2826
+ /**
2827
+ * @beta
2828
+ * Props for CameraDomainPermissions component.
2829
+ */
2830
+ export declare interface CameraDomainPermissionsProps extends CommonDomainPermissionsProps {
2831
+ /** Icon name for the camera icon */
2832
+ cameraIconName?: string;
2833
+ /** Strings for use with the {@link CameraDomainPermissions} */
2834
+ strings?: CameraDomainPermissionsStrings;
2835
+ }
2836
+
2837
+ /**
2838
+ * @beta
2839
+ * Strings for CameraDomainPermissions component.
2840
+ */
2841
+ export declare type CameraDomainPermissionsStrings = DomainPermissionsStrings;
2842
+
2166
2843
  /**
2167
2844
  * {@link ChatComposite} Adapter interface.
2168
2845
  *
2169
2846
  * @public
2170
2847
  */
2171
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
2848
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers & FileUploadAdapter;
2172
2849
 
2173
2850
  /**
2174
2851
  * {@link ChatAdapter} state.
@@ -2276,7 +2953,9 @@ export declare interface ChatAdapterThreadManagement {
2276
2953
  /**
2277
2954
  * Update a message content.
2278
2955
  */
2279
- updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
2956
+ updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
2957
+ attachedFilesMetadata?: FileMetadata[];
2958
+ }): Promise<void>;
2280
2959
  /**
2281
2960
  * Delete a message in the thread.
2282
2961
  */
@@ -2298,6 +2977,13 @@ export declare interface ChatAdapterThreadManagement {
2298
2977
  */
2299
2978
  export declare type ChatAdapterUiState = {
2300
2979
  error?: Error;
2980
+ /**
2981
+ * Files being uploaded by a user in the current thread.
2982
+ * Should be set to null once the upload is complete.
2983
+ * Array of type {@link FileUploadsUiState}
2984
+ * @beta
2985
+ */
2986
+ fileUploads?: FileUploadsUiState;
2301
2987
  };
2302
2988
 
2303
2989
  /**
@@ -2400,6 +3086,7 @@ export declare type ChatCompositeIcons = {
2400
3086
  ParticipantItemOptionsHovered?: JSX.Element;
2401
3087
  SendBoxSend?: JSX.Element;
2402
3088
  SendBoxSendHovered?: JSX.Element;
3089
+ SendBoxAttachFile?: JSX.Element;
2403
3090
  };
2404
3091
 
2405
3092
  /**
@@ -2414,6 +3101,13 @@ export declare type ChatCompositeOptions = {
2414
3101
  * @defaultValue true
2415
3102
  */
2416
3103
  errorBar?: boolean;
3104
+ /**
3105
+ * Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
3106
+ * @defaultValue false
3107
+ *
3108
+ * @beta
3109
+ */
3110
+ participantPane?: boolean;
2417
3111
  /**
2418
3112
  * Show or hide the topic at the top of the chat. Hidden if set to `false`
2419
3113
  * @defaultValue true
@@ -2424,6 +3118,12 @@ export declare type ChatCompositeOptions = {
2424
3118
  * When undefined nothing has focus on render
2425
3119
  */
2426
3120
  autoFocus?: 'sendBoxTextField';
3121
+ /**
3122
+ * Properties for configuring the File Sharing feature.
3123
+ * If undefined, file sharing feature will be disabled.
3124
+ * @beta
3125
+ */
3126
+ fileSharing?: FileSharingOptions;
2427
3127
  };
2428
3128
 
2429
3129
  /**
@@ -2451,6 +3151,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
2451
3151
  * Flags to enable/disable visual elements of the {@link ChatComposite}.
2452
3152
  */
2453
3153
  options?: ChatCompositeOptions;
3154
+ /**
3155
+ * Optimizes the composite form factor for either desktop or mobile.
3156
+ * @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
3157
+ * @defaultValue 'desktop'
3158
+ */
3159
+ formFactor?: 'desktop' | 'mobile';
2454
3160
  }
2455
3161
 
2456
3162
  /**
@@ -2465,6 +3171,10 @@ export declare interface ChatCompositeStrings {
2465
3171
  * Chat list header text
2466
3172
  */
2467
3173
  chatListHeader: string;
3174
+ /**
3175
+ * Upload File Button text
3176
+ */
3177
+ uploadFile: string;
2468
3178
  }
2469
3179
 
2470
3180
  /**
@@ -2530,7 +3240,9 @@ export declare type ChatHandlers = {
2530
3240
  onRemoveParticipant: (userId: string) => Promise<void>;
2531
3241
  updateThreadTopicName: (topicName: string) => Promise<void>;
2532
3242
  onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
2533
- onUpdateMessage: (messageId: string, content: string) => Promise<void>;
3243
+ onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string>, options?: {
3244
+ attachedFilesMetadata?: FileMetadata[];
3245
+ }) => Promise<void>;
2534
3246
  onDeleteMessage: (messageId: string) => Promise<void>;
2535
3247
  };
2536
3248
 
@@ -2556,6 +3268,12 @@ export declare interface ChatMessage extends MessageCommon {
2556
3268
  * {@link @azure/communication-chat#ChatMessage.metadata}
2557
3269
  */
2558
3270
  metadata?: Record<string, string>;
3271
+ /**
3272
+ * @beta
3273
+ * A list of files attached to the message.
3274
+ * {@link FileMetadata}
3275
+ */
3276
+ attachedFilesMetadata?: FileMetadata[];
2559
3277
  }
2560
3278
 
2561
3279
  /**
@@ -2680,6 +3398,68 @@ export declare type ClientState = CallClientState & ChatClientState;
2680
3398
  */
2681
3399
  export declare type Common<A, B> = Pick<A, CommonProperties<A, B>>;
2682
3400
 
3401
+ /**
3402
+ * Object containing all the handlers required for calling components.
3403
+ *
3404
+ * Calling related components from this package are able to pick out relevant handlers from this object.
3405
+ * See {@link useHandlers} and {@link usePropsFor}.
3406
+ *
3407
+ * @public
3408
+ */
3409
+ export declare interface CommonCallingHandlers {
3410
+ onStartLocalVideo: () => Promise<void>;
3411
+ onToggleCamera: (options?: VideoStreamOptions) => Promise<void>;
3412
+ onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;
3413
+ onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;
3414
+ onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>;
3415
+ onToggleMicrophone: () => Promise<void>;
3416
+ onStartScreenShare: () => Promise<void>;
3417
+ onStopScreenShare: () => Promise<void>;
3418
+ onToggleScreenShare: () => Promise<void>;
3419
+ onHangUp: (forEveryone?: boolean) => Promise<void>;
3420
+ onToggleHold: () => Promise<void>;
3421
+ onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
3422
+ onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
3423
+ onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3424
+ onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3425
+ onDisposeRemoteStreamView: (userId: string) => Promise<void>;
3426
+ onDisposeLocalStreamView: () => Promise<void>;
3427
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
3428
+ onRemoveParticipant(userId: string): Promise<void>;
3429
+ onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
3430
+ askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
3431
+ onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
3432
+ }
3433
+
3434
+ /**
3435
+ * @beta
3436
+ * Props for DomainPermissions components.
3437
+ */
3438
+ export declare interface CommonDomainPermissionsProps {
3439
+ /**
3440
+ * Name of application calling experience is in.
3441
+ */
3442
+ appName: string;
3443
+ /**
3444
+ * Type of the Domain Permissions component.
3445
+ */
3446
+ type: 'request' | 'denied' | 'check';
3447
+ /**
3448
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
3449
+ * If this is not provided the button will not be shown.
3450
+ */
3451
+ onTroubleshootingClick?: () => void;
3452
+ /**
3453
+ * Action that is taken when the user clicks the continue anyway button.
3454
+ * If this is not provided the button will not be shown.
3455
+ */
3456
+ onContinueAnywayClick?: () => void;
3457
+ /**
3458
+ * Styles for DomainPermissions component.
3459
+ */
3460
+ styles?: DomainPermissionsStyles;
3461
+ }
3462
+
2683
3463
  /**
2684
3464
  * Return intersect properties of 2 types
2685
3465
  *
@@ -2816,6 +3596,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
2816
3596
  export declare interface ComponentLocale {
2817
3597
  /** Strings for components */
2818
3598
  strings: ComponentStrings;
3599
+ /**
3600
+ * Optional function to provide customized date format.
3601
+ * @beta
3602
+ */
3603
+ onDisplayDateTimeString?: (messageDate: Date) => string;
2819
3604
  }
2820
3605
 
2821
3606
  /**
@@ -2857,6 +3642,36 @@ export declare interface ComponentStrings {
2857
3642
  errorBar: ErrorBarStrings;
2858
3643
  /** Strings for VideoGallery */
2859
3644
  videoGallery: VideoGalleryStrings;
3645
+ /** Strings for Dialpad */
3646
+ dialpad: DialpadStrings;
3647
+ /** Strings for VideoTile */
3648
+ videoTile: VideoTileStrings;
3649
+ /** Strings for HoldButton */
3650
+ holdButton: HoldButtonStrings;
3651
+ /** Strings for a domain permission request prompt */
3652
+ CameraAndMicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
3653
+ /** Strings for a domain permission request prompt */
3654
+ CameraDomainPermissionsRequest: DomainPermissionsStrings;
3655
+ /** Strings for a domain permission request prompt */
3656
+ MicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
3657
+ /** Strings for a domain permission generic checking prompt */
3658
+ CameraAndMicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
3659
+ /** Strings for a domain permission generic checking prompt */
3660
+ CameraDomainPermissionsCheck: DomainPermissionsStrings;
3661
+ /** Strings for a domain permission generic checking prompt */
3662
+ MicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
3663
+ /** Strings for a domain permission denied prompt */
3664
+ CameraAndMicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
3665
+ /** Strings for a domain permission denied prompt */
3666
+ CameraDomainPermissionsDenied: DomainPermissionsStrings;
3667
+ /** Strings for a domain permission denied prompt */
3668
+ MicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
3669
+ /** Strings for unsupported browser UI */
3670
+ UnsupportedBrowser: UnsupportedBrowserStrings;
3671
+ /** Strings for BrowserPemissionDenied */
3672
+ BrowserPermissionDenied: BrowserPermissionDeniedStrings;
3673
+ /** Strings for BrowserPemissionDeniedIOS */
3674
+ BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
2860
3675
  }
2861
3676
 
2862
3677
  /**
@@ -3164,7 +3979,7 @@ export declare interface ControlBarProps {
3164
3979
  *
3165
3980
  * @public
3166
3981
  */
3167
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
3982
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
3168
3983
 
3169
3984
  /**
3170
3985
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -3174,7 +3989,9 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
3174
3989
  *
3175
3990
  * @public
3176
3991
  */
3177
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator) => Promise<CallAdapter>;
3992
+ export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: {
3993
+ roleHint?: Role;
3994
+ }) => Promise<CallAdapter>;
3178
3995
 
3179
3996
  /**
3180
3997
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -3182,7 +3999,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
3182
3999
  *
3183
4000
  * @public
3184
4001
  */
3185
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
4002
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
3186
4003
 
3187
4004
  /**
3188
4005
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -3214,7 +4031,7 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
3214
4031
  export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
3215
4032
 
3216
4033
  /**
3217
- * Create the default implementation of {@link CallingHandlers}.
4034
+ * Create the default implementation of {@link CallingHandlers} for teams call.
3218
4035
  *
3219
4036
  * Useful when implementing a custom component that utilizes the providers
3220
4037
  * exported from this library.
@@ -3235,6 +4052,16 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
3235
4052
  */
3236
4053
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
3237
4054
 
4055
+ /**
4056
+ * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
4057
+ *
4058
+ * Useful when implementing a custom component that utilizes the providers
4059
+ * exported from this library.
4060
+ *
4061
+ * @beta
4062
+ */
4063
+ 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) => never | TeamsCallingHandlers;
4064
+
3238
4065
  /**
3239
4066
  * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
3240
4067
  * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
@@ -3310,8 +4137,159 @@ export declare type CustomAvatarOptions = {
3310
4137
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
3311
4138
  /** Display name to be used in Persona */
3312
4139
  text?: string;
4140
+ /** State for the participant to be displayed in the defaultPlaceHolder */
4141
+ participantState?: ParticipantState;
3313
4142
  };
3314
4143
 
4144
+ /**
4145
+ * A callback that returns the props to render a custom {@link ControlBarButton}.
4146
+ *
4147
+ * The response indicates where the custom button should be placed.
4148
+ *
4149
+ * Performance tip: This callback is only called when either the callback or its arguments change.
4150
+ *
4151
+ * @beta
4152
+ */
4153
+ export declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallControlButtonProps;
4154
+
4155
+ /**
4156
+ * Arguments for {@link CustomCallControlButtonCallback}.
4157
+ *
4158
+ * @beta
4159
+ */
4160
+ export declare interface CustomCallControlButtonCallbackArgs {
4161
+ /**
4162
+ * Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
4163
+ *
4164
+ * @defaultValue `'default'`
4165
+ */
4166
+ displayType?: CallControlDisplayType;
4167
+ }
4168
+
4169
+ /**
4170
+ * Placement for a custom button injected in the {@link CallControls}.
4171
+ *
4172
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
4173
+ *
4174
+ * Multiple buttons assigned the same placement are appended in order.
4175
+ * E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
4176
+ * before the EndCallButton in the order provided.
4177
+ *
4178
+ * @beta
4179
+ */
4180
+ export declare type CustomCallControlButtonPlacement = 'primary';
4181
+
4182
+ /**
4183
+ * Response from {@link CustomCallControlButtonCallback}.
4184
+ *
4185
+ * Includes the placement prop necessary to indicate where to place the
4186
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
4187
+ *
4188
+ * @beta
4189
+ */
4190
+ export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
4191
+ /**
4192
+ * Where to place the custom button relative to other buttons.
4193
+ */
4194
+ placement: CustomCallControlButtonPlacement;
4195
+ /**
4196
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
4197
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
4198
+ */
4199
+ iconName?: string;
4200
+ }
4201
+
4202
+ /**
4203
+ * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
4204
+ *
4205
+ * The response indicates where the custom button should be placed.
4206
+ *
4207
+ * Performance tip: This callback is only called when either the callback or its arguments change.
4208
+ * @beta
4209
+ */
4210
+ export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
4211
+
4212
+ /**
4213
+ * Placement for a custom button injected in the {@link CallWithChatControlBar}.
4214
+ *
4215
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
4216
+ * 'overflow': Place the buttons(s) on the end of the overflow Menu.
4217
+ * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
4218
+ *
4219
+ * Multiple buttons assigned the same placement are appended in order.
4220
+ * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
4221
+ * in the order provided.
4222
+ *
4223
+ * @beta
4224
+ */
4225
+ export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
4226
+
4227
+ /**
4228
+ * Response from {@link CustomCallWithChatControlButtonCallback}.
4229
+ *
4230
+ * Includes the icon and placement prop necessary to indicate where to place the
4231
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
4232
+ *
4233
+ * @beta
4234
+ */
4235
+ export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
4236
+ /**
4237
+ * Where to place the custom button relative to other buttons.
4238
+ */
4239
+ placement: CustomCallWithChatControlButtonPlacement;
4240
+ /**
4241
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
4242
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
4243
+ */
4244
+ iconName?: string;
4245
+ }
4246
+
4247
+ /**
4248
+ * Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
4249
+ *
4250
+ * @beta
4251
+ */
4252
+ export declare interface CustomControlButtonProps {
4253
+ /**
4254
+ * Calback for when button is clicked
4255
+ */
4256
+ onItemClick?: () => void;
4257
+ /**
4258
+ * Whether the buttons is disabled
4259
+ */
4260
+ disabled?: boolean;
4261
+ /**
4262
+ * Whether the label is displayed or not.
4263
+ *
4264
+ * @defaultValue `false`
4265
+ */
4266
+ showLabel?: boolean;
4267
+ /**
4268
+ * Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
4269
+ */
4270
+ styles?: ControlBarButtonStyles | BaseCustomStyles;
4271
+ /**
4272
+ * Optional label for the button
4273
+ */
4274
+ text?: string;
4275
+ /**
4276
+ * A unique key for the button
4277
+ */
4278
+ key?: string | number;
4279
+ /**
4280
+ * The aria label of the button for the benefit of screen readers.
4281
+ */
4282
+ ariaLabel?: string;
4283
+ /**
4284
+ * Detailed description of the button for the benefit of screen readers.
4285
+ */
4286
+ ariaDescription?: string;
4287
+ /**
4288
+ * A unique id set for the standard HTML id attibute
4289
+ */
4290
+ id?: string;
4291
+ }
4292
+
3315
4293
  /**
3316
4294
  * A custom message type.
3317
4295
  *
@@ -3331,6 +4309,18 @@ export declare interface CustomMessage extends MessageCommon {
3331
4309
  */
3332
4310
  export declare const darkTheme: PartialTheme & CallingTheme;
3333
4311
 
4312
+ /**
4313
+ * @beta
4314
+ * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
4315
+ */
4316
+ export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
4317
+
4318
+ /**
4319
+ * @beta
4320
+ * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
4321
+ */
4322
+ export declare type DeclarativeIncomingCall = IncomingCall;
4323
+
3334
4324
  /**
3335
4325
  * The default set of icons that are available to use in the UI components.
3336
4326
  *
@@ -3347,8 +4337,11 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3347
4337
  ControlButtonMicOn: JSX.Element;
3348
4338
  ControlButtonOptions: JSX.Element;
3349
4339
  ControlButtonParticipants: JSX.Element;
4340
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
3350
4341
  ControlButtonScreenShareStart: JSX.Element;
3351
4342
  ControlButtonScreenShareStop: JSX.Element;
4343
+ CancelFileUpload: JSX.Element;
4344
+ DownloadFile: JSX.Element;
3352
4345
  EditBoxCancel: JSX.Element;
3353
4346
  EditBoxSubmit: JSX.Element;
3354
4347
  ErrorBarCallCameraAccessDenied: JSX.Element;
@@ -3381,9 +4374,21 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3381
4374
  ParticipantItemOptions: JSX.Element;
3382
4375
  ParticipantItemOptionsHovered: JSX.Element;
3383
4376
  ParticipantItemScreenShareStart: JSX.Element;
4377
+ HoldCallContextualMenuItem: JSX.Element;
4378
+ HoldCallButton: JSX.Element;
4379
+ ResumeCall: JSX.Element;
3384
4380
  SendBoxSend: JSX.Element;
3385
4381
  SendBoxSendHovered: JSX.Element;
3386
4382
  VideoTileMicOff: JSX.Element;
4383
+ DialpadBackspace: JSX.Element;
4384
+ DomainPermissionsSparkle: JSX.Element;
4385
+ DomainPermissionCamera: JSX.Element;
4386
+ DomainPermissionMic: JSX.Element;
4387
+ DomainPermissionCameraDenied: JSX.Element;
4388
+ DomainPermissionMicDenied: JSX.Element;
4389
+ UnsupportedBrowserWarning: JSX.Element;
4390
+ BrowserPermissionDeniedError: JSX.Element;
4391
+ VideoTilePinned: JSX.Element;
3387
4392
  };
3388
4393
 
3389
4394
  /**
@@ -3404,6 +4409,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3404
4409
  ParticipantItemOptionsHovered: JSX.Element;
3405
4410
  SendBoxSend: JSX.Element;
3406
4411
  SendBoxSendHovered: JSX.Element;
4412
+ SendBoxAttachFile?: JSX.Element | undefined;
3407
4413
  ControlButtonCameraOff: JSX.Element;
3408
4414
  ControlButtonCameraOn: JSX.Element;
3409
4415
  ControlButtonEndCall: JSX.Element;
@@ -3446,6 +4452,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3446
4452
  ParticipantItemScreenShareStart: JSX.Element;
3447
4453
  VideoTileMicOff: JSX.Element;
3448
4454
  LocalCameraSwitch?: JSX.Element | undefined;
4455
+ PeoplePaneAddPerson?: JSX.Element | undefined;
4456
+ PeoplePaneOpenDialpad?: JSX.Element | undefined;
4457
+ DialpadStartCall?: JSX.Element | undefined;
4458
+ NoticePageInvalidRoom?: JSX.Element | undefined;
3449
4459
  ChevronLeft?: JSX.Element | undefined;
3450
4460
  ControlBarChatButtonActive?: JSX.Element | undefined;
3451
4461
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -3456,11 +4466,25 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3456
4466
  MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
3457
4467
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
3458
4468
  MoreDrawerSpeakers?: JSX.Element | undefined;
3459
- SendBoxAttachFile?: JSX.Element | undefined;
3460
4469
  ChatMessageOptions: JSX.Element;
4470
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
4471
+ CancelFileUpload: JSX.Element;
4472
+ DownloadFile: JSX.Element;
3461
4473
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3462
4474
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
3463
4475
  MessageResend: JSX.Element;
4476
+ HoldCallContextualMenuItem: JSX.Element;
4477
+ HoldCallButton: JSX.Element;
4478
+ ResumeCall: JSX.Element;
4479
+ DialpadBackspace: JSX.Element;
4480
+ DomainPermissionsSparkle: JSX.Element;
4481
+ DomainPermissionCamera: JSX.Element;
4482
+ DomainPermissionMic: JSX.Element;
4483
+ DomainPermissionCameraDenied: JSX.Element;
4484
+ DomainPermissionMicDenied: JSX.Element;
4485
+ UnsupportedBrowserWarning: JSX.Element;
4486
+ BrowserPermissionDeniedError: JSX.Element;
4487
+ VideoTilePinned: JSX.Element;
3464
4488
  };
3465
4489
 
3466
4490
  /**
@@ -3518,6 +4542,95 @@ export declare type DeviceManagerState = {
3518
4542
  unparentedViews: LocalVideoStreamState[];
3519
4543
  };
3520
4544
 
4545
+ /**
4546
+ * A dropdown to trigger device permission prompt
4547
+ *
4548
+ * @internal
4549
+ */
4550
+ export declare const _DevicePermissionDropdown: (props: _DevicePermissionDropdownProps) => JSX.Element;
4551
+
4552
+ /**
4553
+ * Props for {@link _DevicePermissionDropdown}.
4554
+ *
4555
+ * @internal
4556
+ */
4557
+ export declare interface _DevicePermissionDropdownProps {
4558
+ /**
4559
+ * icon shown in dropdown placeholder
4560
+ */
4561
+ icon?: JSX.Element;
4562
+ /**
4563
+ * Dropdown content
4564
+ */
4565
+ options?: IDropdownOption[];
4566
+ /**
4567
+ * Ask for permissions of devices.
4568
+ *
4569
+ * @remarks
4570
+ * Browser permission window will pop up if permissions are not granted yet
4571
+ *
4572
+ * @param constrain - Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
4573
+ */
4574
+ askDevicePermission?(constrain: _PermissionConstraints): Promise<void>;
4575
+ /**
4576
+ * Optional callback when component is clicked
4577
+ */
4578
+ onClick?: () => void;
4579
+ /**
4580
+ * Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
4581
+ */
4582
+ constrain?: _PermissionConstraints;
4583
+ /**
4584
+ * Strings for devicepermissiondropdown
4585
+ */
4586
+ strings?: _DevicePermissionDropdownStrings;
4587
+ /**
4588
+ * Styles for devicepermissiondropdown
4589
+ */
4590
+ styles?: Partial<IDropdownStyles>;
4591
+ }
4592
+
4593
+ /**
4594
+ * Strings of {@link DevicePermissionDropdown} that can be overridden.
4595
+ *
4596
+ * @internal
4597
+ */
4598
+ export declare interface _DevicePermissionDropdownStrings {
4599
+ /**
4600
+ * dropdown label
4601
+ */
4602
+ label?: string;
4603
+ /**
4604
+ * dropdown placeholder
4605
+ */
4606
+ placeHolderText: string;
4607
+ /** string for action button */
4608
+ actionButtonContent?: string;
4609
+ }
4610
+
4611
+ /**
4612
+ * Device Permission restrictions.
4613
+ * Be able to start a call depending on camera and microphone permission options.
4614
+ *
4615
+ * @beta
4616
+ */
4617
+ export declare interface DevicePermissionRestrictions {
4618
+ /**
4619
+ * Camera Permission prompts for your call.
4620
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
4621
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4622
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4623
+ */
4624
+ camera: 'required' | 'optional' | 'doNotPrompt';
4625
+ /**
4626
+ * Microphone permission prompts for your call.
4627
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
4628
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4629
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4630
+ */
4631
+ microphone: 'required' | 'optional' | 'doNotPrompt';
4632
+ }
4633
+
3521
4634
  /**
3522
4635
  * A button to open a menu that controls device options.
3523
4636
  *
@@ -3672,34 +4785,134 @@ export declare type DiagnosticChangedEventListner = (event: MediaDiagnosticChang
3672
4785
  */
3673
4786
  export declare interface DiagnosticsCallFeatureState {
3674
4787
  /**
3675
- * Stores diagnostics related to network conditions.
4788
+ * Stores diagnostics related to network conditions.
4789
+ */
4790
+ network: NetworkDiagnosticsState;
4791
+ /**
4792
+ * Stores diagnostics related to media quality.
4793
+ */
4794
+ media: MediaDiagnosticsState;
4795
+ }
4796
+
4797
+ /**
4798
+ * A component to allow users to enter phone number through clicking on dialpad/using keyboard
4799
+ * It will return empty component for stable builds
4800
+ *
4801
+ * @beta
4802
+ */
4803
+ export declare const Dialpad: (props: DialpadProps) => JSX.Element;
4804
+
4805
+ /**
4806
+ * Props for {@link Dialpad} component.
4807
+ *
4808
+ * @beta
4809
+ */
4810
+ export declare interface DialpadProps {
4811
+ strings?: DialpadStrings;
4812
+ /** function to send dtmf tones on button click */
4813
+ onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
4814
+ /** Callback for dialpad button behavior*/
4815
+ onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
4816
+ /** set dialpad textfield content */
4817
+ textFieldValue?: string;
4818
+ /** on change function for text field, provides an unformatted plain text*/
4819
+ onChange?: (input: string) => void;
4820
+ /** boolean input to determine when to show/hide delete button, default true */
4821
+ showDeleteButton?: boolean;
4822
+ /** boolean input to determine if dialpad is in mobile view, default false */
4823
+ isMobile?: boolean;
4824
+ styles?: DialpadStyles;
4825
+ }
4826
+
4827
+ /**
4828
+ * Strings of {@link Dialpad} that can be overridden.
4829
+ *
4830
+ * @beta
4831
+ */
4832
+ export declare interface DialpadStrings {
4833
+ placeholderText: string;
4834
+ deleteButtonAriaLabel?: string;
4835
+ }
4836
+
4837
+ /**
4838
+ * Styles for {@link Dialpad} component.
4839
+ *
4840
+ * @beta
4841
+ */
4842
+ export declare interface DialpadStyles {
4843
+ root?: IStyle;
4844
+ button?: IButtonStyles;
4845
+ textField?: Partial<ITextFieldStyles>;
4846
+ digit?: IStyle;
4847
+ letter?: IStyle;
4848
+ deleteIcon?: IButtonStyles;
4849
+ }
4850
+
4851
+ /**
4852
+ * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
4853
+ *
4854
+ * @public
4855
+ */
4856
+ export declare type DisplayNameChangedListener = (event: {
4857
+ participantId: CommunicationIdentifierKind;
4858
+ displayName: string;
4859
+ }) => void;
4860
+
4861
+ /**
4862
+ * Functionality for correctly disposing a Composite.
4863
+ *
4864
+ * @public
4865
+ */
4866
+ export declare interface Disposable {
4867
+ /** Dispose of the Composite */
4868
+ dispose(): void;
4869
+ }
4870
+
4871
+ /**
4872
+ * @beta
4873
+ * Strings for DomainPermissions component
4874
+ */
4875
+ export declare type DomainPermissionsStrings = {
4876
+ /**
4877
+ * Main text string.
4878
+ */
4879
+ primaryText?: string;
4880
+ /**
4881
+ * Subtext string.
4882
+ */
4883
+ secondaryText?: string;
4884
+ /**
4885
+ * More help link string.
4886
+ */
4887
+ linkText?: string;
4888
+ /**
4889
+ * Primary button text string.
3676
4890
  */
3677
- network: NetworkDiagnosticsState;
4891
+ primaryButtonText?: string;
3678
4892
  /**
3679
- * Stores diagnostics related to media quality.
4893
+ * Aria label describing the content of the container
3680
4894
  */
3681
- media: MediaDiagnosticsState;
3682
- }
4895
+ ariaLabel?: string;
4896
+ };
3683
4897
 
3684
4898
  /**
3685
- * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
4899
+ * Fluent styles for {@link DomainPermissionsContainer}.
3686
4900
  *
3687
- * @public
4901
+ * @beta
3688
4902
  */
3689
- export declare type DisplayNameChangedListener = (event: {
3690
- participantId: CommunicationIdentifierKind;
3691
- displayName: string;
3692
- }) => void;
4903
+ export declare interface DomainPermissionsStyles extends BaseCustomStyles {
4904
+ /** Styles for the primary button. */
4905
+ primaryButton?: IButtonStyles;
4906
+ /** Styles for the help troubleshooting link text. */
4907
+ troubleshootingLink?: ILinkStyles;
4908
+ }
3693
4909
 
3694
4910
  /**
3695
- * Functionality for correctly disposing a Composite.
4911
+ * DTMF tone for PSTN calls.
3696
4912
  *
3697
- * @public
4913
+ * @beta
3698
4914
  */
3699
- export declare interface Disposable {
3700
- /** Dispose of the Composite */
3701
- dispose(): void;
3702
- }
4915
+ export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
3703
4916
 
3704
4917
  /**
3705
4918
  * A type for trivial selectors that return no data.
@@ -3923,6 +5136,199 @@ export declare interface ErrorBarStrings {
3923
5136
  */
3924
5137
  export declare type ErrorType = keyof ErrorBarStrings;
3925
5138
 
5139
+ /**
5140
+ * @beta
5141
+ * A file download error returned via a {@link FileDownloadHandler}.
5142
+ * This error message is used to render an error message in the UI.
5143
+ */
5144
+ export declare interface FileDownloadError {
5145
+ /** The error message to display in the UI */
5146
+ errorMessage: string;
5147
+ }
5148
+
5149
+ /**
5150
+ * @beta
5151
+ *
5152
+ * A callback function for handling file downloads.
5153
+ * The function needs to return a promise that resolves to a file download URL.
5154
+ * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
5155
+ *
5156
+ * @example
5157
+ * ```ts
5158
+ * const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
5159
+ * if (isUnauthorizedUser(userId)) {
5160
+ * return { errorMessage: 'You don’t have permission to download this file.' };
5161
+ * } else {
5162
+ * return new URL(fileData.url);
5163
+ * }
5164
+ * }
5165
+ *
5166
+ * const App = () => (
5167
+ * <ChatComposite
5168
+ * ...
5169
+ * fileSharing={{
5170
+ * fileDownloadHandler: fileDownloadHandler
5171
+ * }}
5172
+ * />
5173
+ * )
5174
+ *
5175
+ * ```
5176
+ * @param userId - The user ID of the user downloading the file.
5177
+ * @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
5178
+ */
5179
+ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
5180
+
5181
+ /**
5182
+ * Meta Data containing information about the uploaded file.
5183
+ * @beta
5184
+ */
5185
+ export declare interface FileMetadata {
5186
+ /**
5187
+ * File name to be displayed.
5188
+ */
5189
+ name: string;
5190
+ /**
5191
+ * Extension is used for rendering the file icon.
5192
+ * An unknown extension will be rendered as a generic icon.
5193
+ * Example: `jpeg`
5194
+ */
5195
+ extension: string;
5196
+ /**
5197
+ * Download URL for the file.
5198
+ */
5199
+ url: string;
5200
+ }
5201
+
5202
+ /**
5203
+ * Properties for configuring the File Sharing feature.
5204
+ * @beta
5205
+ */
5206
+ export declare interface FileSharingOptions {
5207
+ /**
5208
+ * A string containing the comma separated list of accepted file types.
5209
+ * Similar to the `accept` attribute of the `<input type="file" />` element.
5210
+ * Accepts any type of file if not specified.
5211
+ * @beta
5212
+ */
5213
+ accept?: string;
5214
+ /**
5215
+ * Allows multiple files to be selected if set to `true`.
5216
+ * Similar to the `multiple` attribute of the `<input type="file" />` element.
5217
+ * @defaultValue false
5218
+ * @beta
5219
+ */
5220
+ multiple?: boolean;
5221
+ /**
5222
+ * A function of type {@link FileUploadHandler} for handling file uploads.
5223
+ * @beta
5224
+ */
5225
+ uploadHandler: FileUploadHandler;
5226
+ /**
5227
+ * A function of type {@link FileDownloadHandler} for handling file downloads.
5228
+ * If the function is not specified, the file's `url` will be opened in a new tab to
5229
+ * initiate the download.
5230
+ */
5231
+ downloadHandler?: FileDownloadHandler;
5232
+ }
5233
+
5234
+ /**
5235
+ * @beta
5236
+ */
5237
+ export declare interface FileUploadAdapter {
5238
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
5239
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
5240
+ clearFileUploads: () => void;
5241
+ cancelFileUpload: (id: string) => void;
5242
+ updateFileUploadProgress: (id: string, progress: number) => void;
5243
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
5244
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
5245
+ }
5246
+
5247
+ /**
5248
+ * @beta
5249
+ * Error message to be displayed to the user if the upload fails.
5250
+ */
5251
+ export declare type FileUploadError = {
5252
+ message: string;
5253
+ timestamp: number;
5254
+ };
5255
+
5256
+ /**
5257
+ * @beta
5258
+ * A callback function for handling file uploads.
5259
+ *
5260
+ * @param userId - The user ID of the user uploading the file.
5261
+ * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
5262
+ */
5263
+ export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
5264
+
5265
+ /**
5266
+ * A wrapper object for a file that is being uploaded.
5267
+ * Allows mmanaging file uploads by providing common functions for updating the
5268
+ * upload progress, canceling an upload, completing an upload etc.
5269
+ * @beta
5270
+ */
5271
+ export declare interface FileUploadManager {
5272
+ /**
5273
+ * Unique identifier for the file upload.
5274
+ */
5275
+ id: string;
5276
+ /**
5277
+ * HTML {@link File} object for the uploaded file.
5278
+ */
5279
+ file?: File;
5280
+ /**
5281
+ * Update the progress of the upload.
5282
+ * @param value - number between 0 and 1
5283
+ */
5284
+ notifyUploadProgressChanged: (value: number) => void;
5285
+ /**
5286
+ * Mark the upload as complete.
5287
+ * Requires the `metadata` param containing uploaded file information.
5288
+ * @param metadata - {@link FileMetadata}
5289
+ */
5290
+ notifyUploadCompleted: (metadata: FileMetadata) => void;
5291
+ /**
5292
+ * Mark the upload as failed.
5293
+ * @param message - An error message that can be displayed to the user.
5294
+ */
5295
+ notifyUploadFailed: (message: string) => void;
5296
+ }
5297
+
5298
+ /**
5299
+ * Contains the state attibutes of a file upload like name, progress etc.
5300
+ * @beta
5301
+ */
5302
+ export declare interface FileUploadState {
5303
+ /**
5304
+ * Unique identifier for the file upload.
5305
+ */
5306
+ id: string;
5307
+ /**
5308
+ * Filename extracted from the {@link File} object.
5309
+ * This attribute is used to render the filename if `metadata.name` is not available.
5310
+ */
5311
+ filename: string;
5312
+ /**
5313
+ * A number between 0 and 1 indicating the progress of the upload.
5314
+ */
5315
+ progress: number;
5316
+ /**
5317
+ * Meta Data {@link FileMetadata} containing information about the uploaded file.
5318
+ */
5319
+ metadata?: FileMetadata;
5320
+ /**
5321
+ * Error message to be displayed to the user if the upload fails.
5322
+ */
5323
+ error?: FileUploadError;
5324
+ }
5325
+
5326
+ /**
5327
+ * A record containing {@link FileUploadState} mapped to unique ids.
5328
+ * @beta
5329
+ */
5330
+ export declare type FileUploadsUiState = Record<string, FileUploadState>;
5331
+
3926
5332
  /**
3927
5333
  * Provider to apply a Fluent theme across this library's react components.
3928
5334
  *
@@ -3963,7 +5369,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
3963
5369
  *
3964
5370
  * @public
3965
5371
  */
3966
- 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;
5372
+ 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 : AreEqual<Component, typeof _DevicePermissionDropdown> extends true ? EmptySelector : undefined;
3967
5373
 
3968
5374
  /**
3969
5375
  * Get the selector for a specified component.
@@ -4025,6 +5431,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
4025
5431
  children?: IStyle;
4026
5432
  }
4027
5433
 
5434
+ /**
5435
+ * a button to hold or resume a ongoing call.
5436
+ *
5437
+ * Can be used with {@link ControlBar}
5438
+ *
5439
+ * @param props - properties for the hold button.
5440
+ * @returns
5441
+ * @beta
5442
+ */
5443
+ export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
5444
+
5445
+ /**
5446
+ *@beta
5447
+ */
5448
+ export declare interface HoldButtonProps extends ControlBarButtonProps {
5449
+ /**
5450
+ * Utility property for using this component with communication react handlers
5451
+ * Holds the call or resumes it based on call state.
5452
+ */
5453
+ onToggleHold: () => Promise<void>;
5454
+ /**
5455
+ * Optional strings to override in component
5456
+ */
5457
+ strings?: HoldButtonStrings;
5458
+ }
5459
+
5460
+ /**
5461
+ * Selector type for the {@link HoldButton} component.
5462
+ * @public
5463
+ */
5464
+ export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
5465
+ checked: boolean;
5466
+ };
5467
+
5468
+ /**
5469
+ * Strings for the hold button labels
5470
+ * @beta
5471
+ */
5472
+ export declare interface HoldButtonStrings {
5473
+ /**
5474
+ * Label for when action is to resume call.
5475
+ */
5476
+ onLabel: string;
5477
+ /**
5478
+ * Label for when action is to hold call.
5479
+ */
5480
+ offLabel: string;
5481
+ /**
5482
+ * Content for when button is checked
5483
+ */
5484
+ tooltipOnContent: string;
5485
+ /**
5486
+ * Content for when button is unchecked
5487
+ */
5488
+ tooltipOffContent: string;
5489
+ }
5490
+
4028
5491
  /**
4029
5492
  * {@link HorizontalGallery} Component Styles.
4030
5493
  * @public
@@ -4105,6 +5568,20 @@ export declare interface _Identifiers {
4105
5568
  horizontalGalleryRightNavButton: string;
4106
5569
  }
4107
5570
 
5571
+ /**
5572
+ * @beta
5573
+ * This contains a readonly array that returns all the active `incomingCalls`.
5574
+ * An active incoming call is a call that has not been answered, declined or disconnected.
5575
+ */
5576
+ export declare type IncomingCallManagement = {
5577
+ /**
5578
+ * @beta
5579
+ * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
5580
+ * @returns readonly array of {@link DeclarativeIncomingCall}
5581
+ */
5582
+ incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
5583
+ };
5584
+
4108
5585
  /**
4109
5586
  * State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
4110
5587
  * automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
@@ -4571,6 +6048,11 @@ export declare type MessageThreadProps = {
4571
6048
  * `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
4572
6049
  */
4573
6050
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
6051
+ /**
6052
+ * Optional callback to render uploaded files in the message component.
6053
+ * @beta
6054
+ */
6055
+ onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
4574
6056
  /**
4575
6057
  * Optional callback to edit a message.
4576
6058
  *
@@ -4606,6 +6088,18 @@ export declare type MessageThreadProps = {
4606
6088
  * Optional strings to override in component
4607
6089
  */
4608
6090
  strings?: Partial<MessageThreadStrings>;
6091
+ /**
6092
+ * @beta
6093
+ * Optional function called when someone clicks on the file download icon.
6094
+ * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
6095
+ * this function will be called with the data inside `fileSharingMetadata` key.
6096
+ */
6097
+ fileDownloadHandler?: FileDownloadHandler;
6098
+ /**
6099
+ * Optional function to provide customized date format.
6100
+ * @beta
6101
+ */
6102
+ onDisplayDateTimeString?: (messageDate: Date) => string;
4609
6103
  };
4610
6104
 
4611
6105
  /**
@@ -4677,6 +6171,8 @@ export declare interface MessageThreadStrings {
4677
6171
  editBoxSubmitButton: string;
4678
6172
  /** String for action menu indicating there are more options */
4679
6173
  actionMenuMoreOptions?: string;
6174
+ /** String for download file button in file card */
6175
+ downloadFile: string;
4680
6176
  }
4681
6177
 
4682
6178
  /**
@@ -4859,6 +6355,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
4859
6355
  menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
4860
6356
  }
4861
6357
 
6358
+ /**
6359
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
6360
+ * by their browsers settings.
6361
+ *
6362
+ * @beta
6363
+ */
6364
+ export declare const MicrophoneDomainPermissions: (props: MicrophoneDomainPermissionsProps) => JSX.Element;
6365
+
6366
+ /**
6367
+ * @beta
6368
+ * Props for MicrophoneDomainPermissions component.
6369
+ */
6370
+ export declare interface MicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
6371
+ /** Icon name for the microphone icon */
6372
+ microphoneIconName?: string;
6373
+ /** Strings for use with the {@link MicrophoneDomainPermissions} */
6374
+ strings?: MicrophoneDomainPermissionsStrings;
6375
+ }
6376
+
6377
+ /**
6378
+ * @beta
6379
+ * Strings for MicrophoneDomainPermissions component.
6380
+ */
6381
+ export declare type MicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
6382
+
4862
6383
  /**
4863
6384
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
4864
6385
  *
@@ -4966,6 +6487,14 @@ export declare interface ParticipantItemProps {
4966
6487
  onClick?: (props?: ParticipantItemProps) => void;
4967
6488
  /** prop to determine if we should show tooltip for participants or not */
4968
6489
  showParticipantOverflowTooltip?: boolean;
6490
+ /**
6491
+ * Optional value to determine and display a participants connection status.
6492
+ * For example, `Connecting`, `Ringing` etc.
6493
+ * The actual text that is displayed is determined by the localized string
6494
+ * corresponding to the provided participant state.
6495
+ * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
6496
+ */
6497
+ participantState?: ParticipantState;
4969
6498
  }
4970
6499
 
4971
6500
  /**
@@ -4986,6 +6515,12 @@ export declare interface ParticipantItemStrings {
4986
6515
  mutedIconLabel: string;
4987
6516
  /** placeholder text for participants who does not have a display name*/
4988
6517
  displayNamePlaceholder?: string;
6518
+ /** String shown when `participantState` is `Connecting` */
6519
+ participantStateConnecting?: string;
6520
+ /** String shown when `participantState` is `Ringing` */
6521
+ participantStateRinging?: string;
6522
+ /** String shown when `participantState` is `Hold` */
6523
+ participantStateHold?: string;
4989
6524
  }
4990
6525
 
4991
6526
  /**
@@ -5289,6 +6824,16 @@ export declare type ParticipantsRemovedListener = (event: {
5289
6824
  */
5290
6825
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
5291
6826
 
6827
+ /**
6828
+ * Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
6829
+ *
6830
+ * @internal
6831
+ */
6832
+ export declare type _PermissionConstraints = {
6833
+ audio: boolean;
6834
+ video: boolean;
6835
+ };
6836
+
5292
6837
  /**
5293
6838
  * An array of key value pairs that stores each sender's display name and last read message
5294
6839
  *
@@ -5352,6 +6897,10 @@ export declare interface RemoteParticipantState {
5352
6897
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
5353
6898
  */
5354
6899
  isSpeaking: boolean;
6900
+ /**
6901
+ * Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
6902
+ */
6903
+ role?: ParticipantRole;
5355
6904
  }
5356
6905
 
5357
6906
  /**
@@ -5376,6 +6925,7 @@ export declare interface RemoteVideoStreamState {
5376
6925
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
5377
6926
  * @beta
5378
6927
  */
6928
+ isReceiving: boolean;
5379
6929
  /**
5380
6930
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
5381
6931
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -5383,6 +6933,12 @@ export declare interface RemoteVideoStreamState {
5383
6933
  view?: VideoStreamRendererViewState;
5384
6934
  }
5385
6935
 
6936
+ /**
6937
+ * @beta
6938
+ * The role of a call participant.
6939
+ */
6940
+ export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer';
6941
+
5386
6942
  /**
5387
6943
  * A button to start / stop screen sharing.
5388
6944
  *
@@ -5416,6 +6972,7 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
5416
6972
  */
5417
6973
  export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
5418
6974
  checked?: boolean;
6975
+ disabled?: boolean;
5419
6976
  };
5420
6977
 
5421
6978
  /**
@@ -5453,6 +7010,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
5453
7010
  */
5454
7011
  export declare const SendBox: (props: SendBoxProps) => JSX.Element;
5455
7012
 
7013
+ /**
7014
+ * @beta
7015
+ * Error to be displayed to the user in an error bar above sendbox.
7016
+ */
7017
+ export declare interface SendBoxErrorBarError {
7018
+ /** Error Message to be displayed */
7019
+ message: string;
7020
+ /**
7021
+ * Unix Timestamp. Preferred generation using `Date.now()`
7022
+ */
7023
+ timestamp: number;
7024
+ }
7025
+
5456
7026
  /**
5457
7027
  * Props for {@link SendBox}.
5458
7028
  *
@@ -5508,6 +7078,25 @@ export declare interface SendBoxProps {
5508
7078
  * When undefined nothing has focus on render
5509
7079
  */
5510
7080
  autoFocus?: 'sendBoxTextField';
7081
+ /**
7082
+ * Optional callback to render uploaded files in the SendBox. The sendbox will expand
7083
+ * veritcally to accomodate the uploaded files. File uploads will
7084
+ * be rendered below the text area in sendbox.
7085
+ * @beta
7086
+ */
7087
+ onRenderFileUploads?: () => JSX.Element;
7088
+ /**
7089
+ * Optional array of active file uploads where each object has attibutes
7090
+ * of a file upload like name, progress, errorMessage etc.
7091
+ * @beta
7092
+ */
7093
+ activeFileUploads?: ActiveFileUpload[];
7094
+ /**
7095
+ * Optional callback to remove the file upload before sending by clicking on
7096
+ * cancel icon.
7097
+ * @beta
7098
+ */
7099
+ onCancelFileUpload?: (fileId: string) => void;
5511
7100
  }
5512
7101
 
5513
7102
  /**
@@ -5538,6 +7127,22 @@ export declare interface SendBoxStrings {
5538
7127
  * Aria label for send message button
5539
7128
  */
5540
7129
  sendButtonAriaLabel: string;
7130
+ /**
7131
+ * Error message indicating that all file uploads are not complete.
7132
+ */
7133
+ fileUploadsPendingError: string;
7134
+ /**
7135
+ * Aria label to notify user when focus is on cancel file upload button.
7136
+ */
7137
+ removeFile: string;
7138
+ /**
7139
+ * Aria label to notify user file uploading starts.
7140
+ */
7141
+ uploading: string;
7142
+ /**
7143
+ * Aria label to notify user file is uploaded.
7144
+ */
7145
+ uploadCompleted: string;
5541
7146
  }
5542
7147
 
5543
7148
  /**
@@ -5664,6 +7269,19 @@ export declare interface StatefulCallClient extends CallClient {
5664
7269
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
5665
7270
  */
5666
7271
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
7272
+ /** @conditional-compile-remove(one-to-n-calling) */
7273
+ /**
7274
+ * The CallAgent is used to handle calls.
7275
+ * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
7276
+ * - The CallClient can only have one active CallAgent instance at a time.
7277
+ * - You can create a new CallClient instance to create a new CallAgent.
7278
+ * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
7279
+ * createCallAgent() method again to create a new CallAgent.
7280
+ * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
7281
+ * @param options - The CallAgentOptions for additional options like display name.
7282
+ * @public
7283
+ */
7284
+ createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
5667
7285
  }
5668
7286
 
5669
7287
  /**
@@ -5677,6 +7295,15 @@ export declare type StatefulCallClientArgs = {
5677
7295
  * state. It is not used by StatefulCallClient.
5678
7296
  */
5679
7297
  userId: CommunicationUserIdentifier;
7298
+ /**
7299
+ * A phone number in E.164 format that will be used to represent the callers identity. This number is required
7300
+ * to start a PSTN call.
7301
+ *
7302
+ * example: +11234567
7303
+ *
7304
+ * This is not a cached value from the headless calling client.
7305
+ */
7306
+ alternateCallerId?: string;
5680
7307
  };
5681
7308
 
5682
7309
  /**
@@ -5816,6 +7443,18 @@ export declare interface SystemMessageCommon extends MessageCommon {
5816
7443
  iconName: string;
5817
7444
  }
5818
7445
 
7446
+ /**
7447
+ * Object containing all the teams call handlers required for calling components.
7448
+ *
7449
+ * Calling related components from this package are able to pick out relevant handlers from this object.
7450
+ * See {@link useHandlers} and {@link usePropsFor}.
7451
+ *
7452
+ * @beta
7453
+ */
7454
+ export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
7455
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
7456
+ }
7457
+
5819
7458
  /**
5820
7459
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
5821
7460
  *
@@ -5995,11 +7634,46 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
5995
7634
  typingString?: IStyle;
5996
7635
  }
5997
7636
 
7637
+ /**
7638
+ * UI to display to the user that the browser they are using is not supported by calling application.
7639
+ *
7640
+ * @beta
7641
+ */
7642
+ export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
7643
+
7644
+ /**
7645
+ * props for UnsupportedBrowser UI
7646
+ *
7647
+ * @beta
7648
+ */
7649
+ export declare interface UnsupportedBrowserProps {
7650
+ /** Handler to perform a action when the help link is actioned */
7651
+ onTroubleshootingClick?: () => void;
7652
+ /** String overrides for the component */
7653
+ strings: UnsupportedBrowserStrings;
7654
+ }
7655
+
7656
+ /**
7657
+ * Strings for UnsupportedBrowser component
7658
+ *
7659
+ * @beta
7660
+ */
7661
+ export declare interface UnsupportedBrowserStrings {
7662
+ /** String for the primary text */
7663
+ primaryText: string;
7664
+ /** String for the secondary text */
7665
+ secondaryText: string;
7666
+ /** String for the help link */
7667
+ moreHelpLink: string;
7668
+ }
7669
+
5998
7670
  /**
5999
7671
  * @public
6000
7672
  * Callback function run when a message is updated.
6001
7673
  */
6002
- export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
7674
+ export declare type UpdateMessageCallback = (messageId: string, content: string, metadata?: Record<string, string>, options?: {
7675
+ attachedFilesMetadata?: FileMetadata[];
7676
+ }) => Promise<void>;
6003
7677
 
6004
7678
  /**
6005
7679
  * A custom React hook to simplify the creation of {@link CallAdapter}.
@@ -6055,6 +7729,8 @@ export declare const useAzureCommunicationChatAdapter: (args: Partial<AzureCommu
6055
7729
  * Useful when implementing a custom component that utilizes the providers
6056
7730
  * exported from this library.
6057
7731
  *
7732
+ * you must have previously used the CallProvider with a Call object to use this hook
7733
+ *
6058
7734
  * @public
6059
7735
  */
6060
7736
  export declare const useCall: () => Call | undefined;
@@ -6145,6 +7821,28 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
6145
7821
  */
6146
7822
  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;
6147
7823
 
7824
+ /**
7825
+ * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
7826
+ *
7827
+ * Useful when implementing a custom component that utilizes the providers
7828
+ * exported from this library.
7829
+ *
7830
+ * you must have previously used the CallProvider with a TeamsCall object to use this hook
7831
+ *
7832
+ * @beta
7833
+ */
7834
+ export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
7835
+
7836
+ /**
7837
+ * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
7838
+ *
7839
+ * Useful when implementing a custom component that utilizes the providers
7840
+ * exported from this library.
7841
+ *
7842
+ * @beta
7843
+ */
7844
+ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
7845
+
6148
7846
  /**
6149
7847
  * React hook to access theme
6150
7848
  *
@@ -6263,6 +7961,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
6263
7961
  isSpeaking?: boolean;
6264
7962
  /** Video stream of shared screen */
6265
7963
  screenShareStream?: VideoGalleryStream;
7964
+ /**
7965
+ * @beta
7966
+ * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
7967
+ */
7968
+ state?: ParticipantState;
6266
7969
  }
6267
7970
 
6268
7971
  /**
@@ -6410,6 +8113,10 @@ export declare interface VideoTileProps {
6410
8113
  * Whether the video is muted or not.
6411
8114
  */
6412
8115
  isMuted?: boolean;
8116
+ /**
8117
+ * If true, the video tile will show the pin icon.
8118
+ */
8119
+ isPinned?: boolean;
6413
8120
  /**
6414
8121
  * Display Name of the Participant to be shown in the label.
6415
8122
  * @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
@@ -6438,6 +8145,22 @@ export declare interface VideoTileProps {
6438
8145
  noVideoAvailableAriaLabel?: string;
6439
8146
  /** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
6440
8147
  isSpeaking?: boolean;
8148
+ /**
8149
+ * The call connection state of the participant.
8150
+ * For example, `Hold` means the participant is on hold.
8151
+ */
8152
+ participantState?: ParticipantState;
8153
+ strings?: VideoTileStrings;
8154
+ }
8155
+
8156
+ /**
8157
+ * Strings of {@link VideoTile} that can be overridden.
8158
+ * @beta
8159
+ */
8160
+ export declare interface VideoTileStrings {
8161
+ participantStateConnecting: string;
8162
+ participantStateRinging: string;
8163
+ participantStateHold: string;
6441
8164
  }
6442
8165
 
6443
8166
  /**