@azure/communication-react 1.5.0 → 1.5.2-alpha-202301190014.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (839) hide show
  1. package/dist/communication-react.d.ts +1975 -28
  2. package/dist/dist-cjs/communication-react/index.js +12525 -8218
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/identifier.js +3 -64
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +11 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +12 -0
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +13 -0
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +20 -5
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +20 -49
  27. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +11 -1
  29. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +35 -31
  30. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +11 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +13 -1
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +43 -0
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +81 -0
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  38. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  39. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
  41. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +22 -0
  42. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +6 -0
  45. package/dist/dist-esm/calling-component-bindings/src/index.js +8 -0
  46. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  47. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +31 -10
  48. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  49. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
  51. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  52. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  53. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
  55. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
  56. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  58. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +14 -0
  60. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +25 -4
  61. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +5 -0
  63. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +11 -0
  64. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +25 -9
  66. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  67. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +21 -5
  68. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  69. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
  70. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
  72. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
  74. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +62 -67
  75. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  76. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +27 -1
  77. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +7 -1
  79. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +56 -4
  80. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  82. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +56 -64
  84. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  86. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  88. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +9 -3
  89. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/Converter.js +13 -8
  91. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  93. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  95. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  97. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  98. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  100. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
  101. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
  102. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  103. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  105. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  106. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +25 -1
  108. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
  109. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +3 -13
  111. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  112. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
  113. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +89 -0
  114. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
  115. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
  116. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
  117. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
  118. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
  120. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -0
  121. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  123. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  125. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +2 -0
  127. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  128. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  129. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  130. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  131. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  132. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  133. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +13 -14
  134. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  135. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +4 -1
  136. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  137. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  138. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  139. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  140. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  141. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  142. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +41 -10
  143. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  144. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  145. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  146. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  147. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  148. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  149. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  150. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  151. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  152. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  153. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  154. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  155. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +5 -9
  156. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  157. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  158. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +7 -12
  159. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  160. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  161. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
  162. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  163. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +113 -127
  164. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  165. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  166. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  167. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  168. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  169. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  170. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  171. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  172. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  173. package/dist/dist-esm/communication-react/src/index.d.ts +21 -0
  174. package/dist/dist-esm/communication-react/src/index.js +14 -0
  175. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  176. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  177. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  178. package/dist/dist-esm/react-components/src/components/CameraButton.js +6 -6
  179. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  180. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +7 -8
  181. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  182. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +36 -17
  183. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  184. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +8 -4
  185. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  186. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +24 -30
  187. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  188. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +55 -24
  189. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  190. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +7 -11
  191. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  192. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  193. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  194. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  195. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  196. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  197. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  198. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  199. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  200. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  202. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  204. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  206. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  208. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  209. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  210. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  211. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  212. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  213. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  214. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  215. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  216. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  217. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  218. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
  219. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
  220. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  221. package/dist/dist-esm/react-components/src/components/DevicesButton.js +7 -30
  222. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  223. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +42 -44
  224. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  225. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.d.ts +1 -0
  226. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +18 -2
  227. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  228. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  229. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  230. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.d.ts +4 -0
  231. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  232. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  234. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.d.ts +4 -0
  236. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +3 -3
  237. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  238. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  240. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/ErrorBar.js +2 -5
  242. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  243. package/dist/dist-esm/react-components/src/components/FileCard.js +2 -3
  244. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  246. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +12 -9
  248. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  249. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  250. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  251. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  252. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  253. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  254. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  255. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  256. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  257. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  258. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +5 -7
  259. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +5 -12
  261. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  262. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  263. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  264. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +27 -9
  265. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +23 -36
  267. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  268. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +23 -1
  269. package/dist/dist-esm/react-components/src/components/MessageThread.js +157 -97
  270. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  271. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +9 -6
  272. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  273. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  274. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  275. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +13 -0
  276. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +22 -21
  277. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  278. package/dist/dist-esm/react-components/src/components/ParticipantList.js +25 -9
  279. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  281. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  283. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  285. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +2 -1
  287. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +68 -12
  288. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  289. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  290. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  291. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -12
  292. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  293. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +35 -0
  294. package/dist/dist-esm/react-components/src/components/SendBox.js +32 -8
  295. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  296. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  297. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  298. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  300. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  301. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  302. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  303. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  304. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  305. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  306. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  307. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +1 -1
  308. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +12 -1
  309. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  310. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +13 -1
  311. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  312. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
  313. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  314. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.d.ts +1 -1
  315. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +12 -1
  316. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  317. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +31 -12
  318. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  319. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +11 -14
  320. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  321. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +39 -20
  322. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  323. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +4 -0
  324. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  326. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  327. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  328. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +9 -0
  330. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +18 -0
  331. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -0
  332. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js +2 -7
  333. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js.map +1 -1
  334. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  335. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  336. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +8 -29
  337. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  338. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  339. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  340. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.d.ts +6 -0
  341. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js +9 -0
  342. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -0
  343. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  344. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  346. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +10 -0
  347. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +29 -0
  348. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -0
  349. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -10
  350. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  351. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  352. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  353. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +2 -0
  354. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +31 -30
  355. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  356. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +7 -16
  357. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +55 -26
  358. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  359. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +66 -0
  360. package/dist/dist-esm/react-components/src/components/VideoGallery.js +140 -20
  361. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  362. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +22 -1
  363. package/dist/dist-esm/react-components/src/components/VideoTile.js +98 -46
  364. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  365. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +3 -10
  366. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +1 -1
  367. package/dist/dist-esm/react-components/src/components/index.d.ts +13 -0
  368. package/dist/dist-esm/react-components/src/components/index.js +8 -0
  369. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  370. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  371. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  372. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  373. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +3 -12
  374. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  376. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  378. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  380. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +1 -4
  382. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  383. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  384. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +2 -7
  385. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  386. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +0 -1
  387. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  388. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  390. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  391. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
  392. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
  393. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  394. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +0 -3
  395. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  396. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  397. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +2 -2
  398. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  399. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  401. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
  402. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  403. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +2 -13
  404. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  405. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  406. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +1 -1
  407. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  408. package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
  409. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  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 +2 -5
  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.d.ts +1 -0
  421. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +15 -2
  422. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  423. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  424. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  425. package/dist/dist-esm/react-components/src/components/utils.js +9 -8
  426. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  427. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +14 -10
  428. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  429. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  431. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  432. package/dist/dist-esm/react-components/src/index.d.ts +2 -0
  433. package/dist/dist-esm/react-components/src/index.js +2 -0
  434. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  435. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +54 -0
  436. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  438. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +6 -96
  439. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +5 -95
  440. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -2
  441. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +5 -95
  442. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +6 -96
  443. package/dist/dist-esm/react-components/src/localization/locales/index.js +14 -42
  444. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  445. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +5 -95
  446. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +5 -95
  447. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +5 -95
  448. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +5 -95
  449. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +6 -96
  450. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +5 -95
  451. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +6 -96
  452. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +5 -95
  453. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +5 -95
  454. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +61 -0
  455. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +74 -0
  456. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -0
  457. package/dist/dist-esm/react-components/src/permissions/index.d.ts +2 -0
  458. package/dist/dist-esm/react-components/src/permissions/index.js +4 -0
  459. package/dist/dist-esm/react-components/src/permissions/index.js.map +1 -0
  460. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -6
  461. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  462. package/dist/dist-esm/react-components/src/theming/icons.d.ts +20 -0
  463. package/dist/dist-esm/react-components/src/theming/icons.js +121 -11
  464. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  465. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  466. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  467. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  468. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  469. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  470. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  471. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +7 -0
  472. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  473. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  474. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  475. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +8 -0
  476. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  477. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +3 -0
  478. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js +2 -0
  479. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  480. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  481. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +8 -0
  482. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +2 -0
  483. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  485. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +89 -0
  486. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +95 -17
  487. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  488. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +120 -0
  489. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  490. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +77 -6
  491. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +248 -31
  492. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  493. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +107 -1
  494. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +9 -1
  495. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  496. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  497. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  498. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  499. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
  500. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +8 -2
  501. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  502. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +5 -0
  503. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
  504. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  505. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +3 -0
  506. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +76 -10
  507. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  508. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -0
  509. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +135 -13
  510. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  511. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts +24 -0
  512. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +80 -0
  513. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -0
  514. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +48 -0
  515. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
  516. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  517. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +2 -0
  518. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
  519. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  520. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +20 -2
  521. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  522. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +2 -0
  523. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
  524. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  525. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  526. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  527. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
  528. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
  529. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
  530. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +2 -2
  531. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  532. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +32 -22
  533. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  534. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
  535. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +66 -19
  536. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  537. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +16 -21
  538. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  539. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +2 -0
  540. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +25 -17
  541. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  542. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  543. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  544. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  545. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  546. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  547. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  548. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -1
  549. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  550. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +17 -0
  551. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +63 -0
  552. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -0
  553. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +44 -5
  554. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  555. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  556. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  557. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +8 -6
  558. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  559. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  560. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  561. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  562. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  563. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  564. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  565. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  566. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +13 -9
  567. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  568. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +27 -6
  569. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  570. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  571. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  572. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  573. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.d.ts +16 -0
  574. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js +38 -0
  575. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js.map +1 -0
  576. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +7 -0
  577. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
  578. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  579. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
  580. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +8 -2
  581. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  582. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +8 -0
  583. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +140 -12
  584. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  585. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +15 -0
  586. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +38 -0
  587. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
  588. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +1 -0
  589. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +19 -7
  590. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  591. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +2 -2
  592. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  593. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
  594. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
  595. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  596. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  597. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  598. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  599. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +10 -0
  600. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +10 -0
  601. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  602. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  603. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  604. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  605. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  606. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  607. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  608. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  609. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  610. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
  611. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  612. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +1 -1
  613. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  614. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  615. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +4 -4
  616. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  617. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  618. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  619. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  620. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  621. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  622. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  623. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  624. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  625. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  626. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  627. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  628. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  629. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +2 -2
  630. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  631. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  632. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  633. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  634. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  635. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +2 -6
  636. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  637. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  638. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +2 -0
  639. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  640. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  641. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  642. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
  643. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
  644. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
  645. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +1 -4
  646. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  647. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  648. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  649. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  650. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  651. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +0 -1
  652. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  653. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +23 -3
  654. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  655. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +9 -11
  656. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  657. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +15 -3
  658. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +106 -12
  659. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  660. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  661. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +87 -4
  662. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +78 -14
  663. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  664. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts +1 -0
  665. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +41 -15
  666. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  667. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.d.ts +2 -0
  668. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +34 -12
  669. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton.js +1 -1
  671. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton.js.map +1 -1
  672. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButtonWithUnreadMessagesBadge.js +9 -7
  673. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  675. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +67 -0
  676. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +75 -0
  677. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
  678. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/NotificationIcon.js +3 -6
  679. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/NotificationIcon.js.map +1 -1
  680. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js +1 -1
  681. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js.map +1 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.d.ts +1 -0
  683. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js.map +1 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -0
  685. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  686. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +25 -4
  687. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +139 -7
  688. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +60 -0
  690. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  691. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +10 -2
  692. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +39 -1
  693. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  694. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +9 -0
  695. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +31 -1
  696. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  697. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  698. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.d.ts +13 -0
  699. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js +65 -0
  700. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js.map +1 -0
  701. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +67 -21
  702. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
  703. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
  705. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  707. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  708. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +22 -0
  709. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +10 -2
  710. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  711. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +20 -0
  713. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +6 -2
  714. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  715. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  716. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  717. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +41 -9
  718. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  719. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  720. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  721. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  722. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
  723. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
  724. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
  725. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  726. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  727. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +9 -0
  728. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +88 -25
  729. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  730. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
  731. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
  732. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +13 -2
  734. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  735. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
  736. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  737. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  738. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
  739. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  740. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  741. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  742. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +3 -5
  743. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  744. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +3 -1
  745. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  746. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  747. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
  748. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
  749. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
  750. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +3 -0
  751. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
  753. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +13 -0
  754. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
  755. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +23 -0
  756. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
  757. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
  758. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  759. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  760. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +5 -1
  761. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -6
  762. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
  764. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
  765. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
  766. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
  767. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
  768. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
  769. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +5 -0
  770. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
  771. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  772. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  773. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
  775. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
  776. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
  777. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
  778. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
  779. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
  780. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  781. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  783. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  784. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +21 -6
  785. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  787. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +6 -8
  789. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +6 -1
  791. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +24 -5
  792. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  793. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +17 -0
  794. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +42 -0
  795. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
  796. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
  797. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +40 -0
  798. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
  799. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +2 -1
  800. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +6 -18
  801. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +2 -1
  803. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  804. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  806. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +33 -1
  807. package/dist/dist-esm/react-composites/src/composites/common/icons.js +19 -5
  808. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  809. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  810. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +6 -16
  811. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  813. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +5 -22
  815. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  816. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  817. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  818. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  819. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  821. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  822. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  824. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +3 -17
  825. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +3 -17
  826. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +3 -17
  827. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +3 -17
  828. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +3 -17
  830. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +3 -17
  831. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +3 -17
  832. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +3 -17
  833. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +3 -17
  834. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +3 -17
  835. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +3 -17
  836. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +3 -17
  837. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +3 -17
  838. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  839. package/package.json +15 -14
@@ -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';
@@ -25,6 +26,7 @@ import { CallClientOptions } from '@azure/communication-calling';
25
26
  import { CallDirection } from '@azure/communication-calling';
26
27
  import { CallEndReason } from '@azure/communication-calling';
27
28
  import { CallerInfo } from '@azure/communication-calling';
29
+ import { CallKind } from '@azure/communication-calling';
28
30
  import { CallState as CallState_2 } from '@azure/communication-calling';
29
31
  import { ChatClient } from '@azure/communication-chat';
30
32
  import { ChatClientOptions } from '@azure/communication-chat';
@@ -42,25 +44,33 @@ import { CreateViewOptions } from '@azure/communication-calling';
42
44
  import { DeviceAccess } from '@azure/communication-calling';
43
45
  import { DeviceManager } from '@azure/communication-calling';
44
46
  import { DominantSpeakersInfo } from '@azure/communication-calling';
47
+ import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
48
+ import { EnvironmentInfo } from '@azure/communication-calling';
45
49
  import { GroupCallLocator } from '@azure/communication-calling';
46
50
  import { IButtonProps } from '@fluentui/react';
47
51
  import { IButtonStyles } from '@fluentui/react';
48
52
  import { IContextualMenuItem } from '@fluentui/react';
49
53
  import { IContextualMenuItemStyles } from '@fluentui/react';
54
+ import { IContextualMenuProps } from '@fluentui/react';
50
55
  import { IContextualMenuStyles } from '@fluentui/react';
56
+ import { ILinkStyles } from '@fluentui/react';
51
57
  import { IMessageBarProps } from '@fluentui/react';
58
+ import { IncomingCall } from '@azure/communication-calling';
52
59
  import { IPersonaStyleProps } from '@fluentui/react';
53
60
  import { IPersonaStyles } from '@fluentui/react';
54
61
  import { IRenderFunction } from '@fluentui/react';
55
62
  import { IStyle } from '@fluentui/react';
56
63
  import { IStyleFunctionOrObject } from '@fluentui/react';
64
+ import { ITextFieldStyles } from '@fluentui/react';
57
65
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
58
66
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
59
67
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
60
68
  import { MediaStreamType } from '@azure/communication-calling';
69
+ import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
61
70
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
62
71
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
63
72
  import { PartialTheme } from '@fluentui/react';
73
+ import { ParticipantRole } from '@azure/communication-calling';
64
74
  import { PermissionConstraints } from '@azure/communication-calling';
65
75
  import { PersonaInitialsColor } from '@fluentui/react';
66
76
  import { PersonaPresence } from '@fluentui/react';
@@ -71,9 +81,12 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
71
81
  import { default as React_2 } from 'react';
72
82
  import type { RemoteParticipant } from '@azure/communication-calling';
73
83
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
84
+ import { RoomCallLocator } from '@azure/communication-calling';
74
85
  import { ScalingMode } from '@azure/communication-calling';
75
86
  import { SendMessageOptions } from '@azure/communication-chat';
76
87
  import { StartCallOptions } from '@azure/communication-calling';
88
+ import { TeamsCall } from '@azure/communication-calling';
89
+ import { TeamsCallAgent } from '@azure/communication-calling';
77
90
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
78
91
  import { Theme } from '@fluentui/react';
79
92
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
@@ -102,6 +115,38 @@ export declare interface ActiveErrorMessage {
102
115
  timestamp?: Date;
103
116
  }
104
117
 
118
+ /**
119
+ * Attributes required for SendBox to show file uploads like name, progress etc.
120
+ * @beta
121
+ */
122
+ export declare interface ActiveFileUpload {
123
+ /**
124
+ * Unique identifier for the file upload.
125
+ */
126
+ id: string;
127
+ /**
128
+ * File name to be rendered for uploaded file.
129
+ */
130
+ filename: string;
131
+ /**
132
+ * A number between 0 and 1 indicating the progress of the upload.
133
+ * This is unrelated to the `uploadComplete` property.
134
+ * It is only used to show the progress of the upload.
135
+ * Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
136
+ * property to true to mark the upload as complete.
137
+ */
138
+ progress: number;
139
+ /**
140
+ * Error to be displayed to the user if the upload fails.
141
+ */
142
+ error?: SendBoxErrorBarError;
143
+ /**
144
+ * `true` means that the upload is completed.
145
+ * This is independent of the upload `progress`.
146
+ */
147
+ uploadComplete?: boolean;
148
+ }
149
+
105
150
  /**
106
151
  * Error reported via error events and stored in adapter state.
107
152
  *
@@ -197,6 +242,11 @@ export declare type AvatarPersonaData = {
197
242
  * @defaultvalue `white`
198
243
  */
199
244
  initialsTextColor?: string;
245
+ /**
246
+ * If true, show the special coin for unknown persona.
247
+ * It has '?' in place of initials, with static font and background colors
248
+ */
249
+ showUnknownPersonaCoin?: boolean;
200
250
  };
201
251
 
202
252
  /**
@@ -218,6 +268,29 @@ export declare type AzureCommunicationCallAdapterArgs = {
218
268
  displayName: string;
219
269
  credential: CommunicationTokenCredential;
220
270
  locator: CallAdapterLocator;
271
+ /**
272
+ * A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
273
+ * E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
274
+ */
275
+ alternateCallerId?: string;
276
+ /**
277
+ * Optional parameters for the {@link AzureCommunicationCallAdapter} created
278
+ */
279
+ options?: AzureCommunicationCallAdapterOptions;
280
+ };
281
+
282
+ /**
283
+ * Optional parameters to create {@link AzureCommunicationCallAdapter}
284
+ *
285
+ * @beta
286
+ */
287
+ export declare type AzureCommunicationCallAdapterOptions = {
288
+ /**
289
+ * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
290
+ * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
291
+ * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
292
+ */
293
+ roleHint?: Role;
221
294
  };
222
295
 
223
296
  /**
@@ -231,6 +304,8 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
231
304
  displayName: string;
232
305
  credential: CommunicationTokenCredential;
233
306
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
307
+ alternateCallerId?: string;
308
+ callAdapterOptions?: AzureCommunicationCallAdapterOptions;
234
309
  };
235
310
 
236
311
  /**
@@ -314,6 +389,136 @@ export declare interface BaseCustomStyles {
314
389
  root?: IStyle;
315
390
  }
316
391
 
392
+ /**
393
+ * @beta
394
+ * Props for BrowserPermissionDeniedIOS component.
395
+ */
396
+ export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
397
+ /**
398
+ * Localization strings for BrowserPermissionDeniedIOS component.
399
+ */
400
+ strings?: BrowserPermissionDeniedIOSStrings;
401
+ /**
402
+ * Link to image source.
403
+ *
404
+ * Image is inserted into the top of the component.
405
+ */
406
+ imageSource?: string;
407
+ }
408
+
409
+ /**
410
+ * @beta
411
+ * Strings for BrowserPermissionDeniedIOS component
412
+ */
413
+ export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
414
+ /**
415
+ * Image alt text
416
+ */
417
+ imageAltText: string;
418
+ /**
419
+ * Main text string.
420
+ */
421
+ primaryText: string;
422
+ /**
423
+ * Subtext string.
424
+ */
425
+ secondaryText: string;
426
+ /**
427
+ * Step 1 string
428
+ */
429
+ step1Text: string;
430
+ /**
431
+ * Step 1 digit string
432
+ */
433
+ step1DigitText: string;
434
+ /**
435
+ * Step 2 string
436
+ */
437
+ step2Text: string;
438
+ /**
439
+ * Step 2 digit string
440
+ */
441
+ step2DigitText: string;
442
+ /**
443
+ * Step 3 string
444
+ */
445
+ step3Text: string;
446
+ /**
447
+ * Step 3 digit string
448
+ */
449
+ step3DigitText: string;
450
+ /**
451
+ * Step 4 string
452
+ */
453
+ step4Text: string;
454
+ /**
455
+ * Step 4 digit string
456
+ */
457
+ step4DigitText: string;
458
+ }
459
+
460
+ /**
461
+ * @beta
462
+ * Props for BrowserPermissionDenied component.
463
+ */
464
+ export declare interface BrowserPermissionDeniedProps {
465
+ /**
466
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
467
+ */
468
+ onTroubleshootingClick?: () => void;
469
+ /**
470
+ * Action to be taken by the try again primary button.
471
+ */
472
+ onTryAgainClick?: () => void;
473
+ /**
474
+ * Localization strings for BrowserPermissionDenied component.
475
+ */
476
+ strings?: BrowserPermissionDeniedStrings;
477
+ /**
478
+ * Allows users to pass in an object contains custom CSS styles.
479
+ * @Example
480
+ * ```
481
+ * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
482
+ * ```
483
+ */
484
+ styles?: BrowserPermissionDeniedStyles;
485
+ }
486
+
487
+ /**
488
+ * @beta
489
+ * Strings for BrowserPermissionDenied component
490
+ */
491
+ export declare interface BrowserPermissionDeniedStrings {
492
+ /**
493
+ * Main button text string.
494
+ */
495
+ primaryButtonText: string;
496
+ /**
497
+ * Main text string.
498
+ */
499
+ primaryText: string;
500
+ /**
501
+ * Subtext string.
502
+ */
503
+ secondaryText: string;
504
+ /**
505
+ * More help link string.
506
+ */
507
+ linkText: string;
508
+ }
509
+
510
+ /**
511
+ * Fluent styles for {@link BrowserPermissionDenied}.
512
+ *
513
+ * @beta
514
+ */
515
+ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
516
+ /** Styles for the primary button. */
517
+ primaryButton?: IButtonStyles;
518
+ /** Styles for the help troubleshooting link text. */
519
+ troubleshootingLink?: ILinkStyles;
520
+ }
521
+
317
522
  /**
318
523
  * An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
319
524
  *
@@ -336,6 +541,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
336
541
  * @public
337
542
  */
338
543
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
544
+ /**
545
+ * Start the call.
546
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
547
+ * @beta
548
+ */
549
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
339
550
  }
340
551
 
341
552
  /**
@@ -369,6 +580,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
369
580
  * @public
370
581
  */
371
582
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
583
+ /**
584
+ * Start the call.
585
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
586
+ * @beta
587
+ */
588
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
372
589
  }
373
590
 
374
591
  /**
@@ -433,6 +650,12 @@ export declare interface CallAdapterCallOperations {
433
650
  * @public
434
651
  */
435
652
  removeParticipant(userId: string): Promise<void>;
653
+ /**
654
+ * Remove a participant from the call.
655
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
656
+ * @beta
657
+ */
658
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
436
659
  /**
437
660
  * Create the html view for a stream.
438
661
  *
@@ -457,6 +680,35 @@ export declare interface CallAdapterCallOperations {
457
680
  * @public
458
681
  */
459
682
  disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
683
+ /**
684
+ * Holds the call.
685
+ *
686
+ * @beta
687
+ */
688
+ holdCall(): Promise<void>;
689
+ /**
690
+ * Resumes the call from a `LocalHold` state.
691
+ *
692
+ * @beta
693
+ */
694
+ resumeCall(): Promise<void>;
695
+ /**
696
+ * Add a participant to the call.
697
+ *
698
+ * @beta
699
+ */
700
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
701
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
702
+ /**
703
+ * send dtmf tone to another participant in a 1:1 PSTN call
704
+ *
705
+ * @beta
706
+ */
707
+ sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
708
+ /**
709
+ * Continues into a call when the browser version is not supported.
710
+ */
711
+ allowUnsupportedBrowserVersion(): void;
460
712
  }
461
713
 
462
714
  /**
@@ -475,6 +727,25 @@ export declare type CallAdapterClientState = {
475
727
  * Latest error encountered for each operation performed via the adapter.
476
728
  */
477
729
  latestErrors: AdapterErrors;
730
+ /**
731
+ * Azure communications Phone number to make PSTN calls with.
732
+ */
733
+ alternateCallerId?: string;
734
+ /**
735
+ * Environment information about system the adapter is made on
736
+ */
737
+ environmentInfo?: EnvironmentInfo;
738
+ /**
739
+ * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
740
+ * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
741
+ * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
742
+ */
743
+ roleHint?: Role;
744
+ /**
745
+ * State to track whether the local participant's camera is on. To be used when creating a custom
746
+ * control bar with the CallComposite.
747
+ */
748
+ cameraStatus?: 'On' | 'Off';
478
749
  };
479
750
 
480
751
  /**
@@ -559,7 +830,7 @@ export declare interface CallAdapterDeviceManagement {
559
830
  *
560
831
  * @public
561
832
  */
562
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
833
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
563
834
 
564
835
  /**
565
836
  * {@link CommonCallAdapter} state.
@@ -694,6 +965,7 @@ export declare interface CallAdapterSubscribers {
694
965
  export declare type CallAdapterUiState = {
695
966
  isLocalPreviewMicrophoneEnabled: boolean;
696
967
  page: CallCompositePage;
968
+ unsupportedBrowserVersionsAllowed?: boolean;
697
969
  };
698
970
 
699
971
  /**
@@ -712,7 +984,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
712
984
  */
713
985
  export declare interface CallAgentProviderProps {
714
986
  children: React_2.ReactNode;
715
- callAgent?: CallAgent;
987
+ callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
716
988
  }
717
989
 
718
990
  /**
@@ -737,7 +1009,7 @@ export declare interface CallAgentState {
737
1009
  */
738
1010
  export declare interface CallAndChatLocator {
739
1011
  /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
740
- callLocator: GroupCallLocator;
1012
+ callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
741
1013
  /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
742
1014
  chatThreadId: string;
743
1015
  }
@@ -824,6 +1096,16 @@ export declare interface CallClientState {
824
1096
  * See documentation of {@Link CallErrors} for details.
825
1097
  */
826
1098
  latestErrors: CallErrors;
1099
+ /**
1100
+ * A phone number in E.164 format that will be used to represent callers identity.
1101
+ * For example, using the alternateCallerId to add a participant using PSTN, this number will
1102
+ * be used as the caller id in the PSTN call.
1103
+ */
1104
+ alternateCallerId?: string;
1105
+ /**
1106
+ * state to track the environment that the stateful client was made in is supported
1107
+ */
1108
+ environmentInfo?: EnvironmentInfo;
827
1109
  }
828
1110
 
829
1111
  /**
@@ -887,6 +1169,10 @@ export declare type CallCompositeIcons = {
887
1169
  ParticipantItemScreenShareStart?: JSX.Element;
888
1170
  VideoTileMicOff?: JSX.Element;
889
1171
  LocalCameraSwitch?: JSX.Element;
1172
+ PeoplePaneAddPerson?: JSX.Element;
1173
+ PeoplePaneOpenDialpad?: JSX.Element;
1174
+ DialpadStartCall?: JSX.Element;
1175
+ NoticePageInvalidRoom?: JSX.Element;
890
1176
  };
891
1177
 
892
1178
  /**
@@ -907,6 +1193,60 @@ export declare type CallCompositeOptions = {
907
1193
  * @defaultValue true
908
1194
  */
909
1195
  callControls?: boolean | CallControlOptions;
1196
+ /**
1197
+ * Device permissions check options for your call.
1198
+ * Here you can choose what device permissions you prompt the user for,
1199
+ * as well as what device permissions must be accepted before starting a call.
1200
+ */
1201
+ deviceChecks?: DeviceCheckOptions;
1202
+ /**
1203
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1204
+ * unable to grant your site the required permissions for the call.
1205
+ *
1206
+ * @example
1207
+ * ```ts
1208
+ * onPermissionsTroubleshootingClick: () =>
1209
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
1210
+ * ```
1211
+ *
1212
+ * @remarks
1213
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
1214
+ */
1215
+ onPermissionsTroubleshootingClick?: (permissionsState: {
1216
+ camera: PermissionState;
1217
+ microphone: PermissionState;
1218
+ }) => void;
1219
+ /**
1220
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1221
+ * having network issues when connecting to the call.
1222
+ *
1223
+ * @example
1224
+ * ```ts
1225
+ * onNetworkingTroubleShootingClick?: () =>
1226
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
1227
+ * ```
1228
+ *
1229
+ * @remarks
1230
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
1231
+ */
1232
+ onNetworkingTroubleShootingClick?: () => void;
1233
+ /**
1234
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
1235
+ *
1236
+ * @example
1237
+ * ```ts
1238
+ * onBrowserTroubleShootingClick?: () =>
1239
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
1240
+ * ```
1241
+ *
1242
+ * @remarks
1243
+ * if this is not supplied, the composite will not show a unsupported browser page.
1244
+ */
1245
+ onEnvironmentInfoTroubleshootingClick?: () => void;
1246
+ /**
1247
+ * Remote participant video tile menu options
1248
+ */
1249
+ remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
910
1250
  };
911
1251
 
912
1252
  /**
@@ -914,7 +1254,7 @@ export declare type CallCompositeOptions = {
914
1254
  *
915
1255
  * @public
916
1256
  */
917
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'lobby' | 'removedFromCall';
1257
+ 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';
918
1258
 
919
1259
  /**
920
1260
  * Props for {@link CallComposite}.
@@ -1128,10 +1468,130 @@ export declare interface CallCompositeStrings {
1128
1468
  * Tooltip text used to inform a user that toggling microphone in lobby is not supported.
1129
1469
  */
1130
1470
  microphoneToggleInLobbyNotAllowed: string;
1471
+ /**
1472
+ * Side pane People section Title.
1473
+ */
1474
+ peoplePaneTitle: string;
1475
+ /**
1476
+ * Aria label string for return to call back button
1477
+ */
1478
+ returnToCallButtonAriaLabel?: string;
1479
+ /**
1480
+ * Aria Description string for return to call button
1481
+ */
1482
+ returnToCallButtonAriaDescription?: string;
1483
+ /**
1484
+ * control bar People button label
1485
+ */
1486
+ peopleButtonLabel: string;
1487
+ /**
1488
+ * control bar Chat button label.
1489
+ */
1490
+ chatButtonLabel: string;
1491
+ /**
1492
+ * Label for SidePaneHeader dismiss button
1493
+ */
1494
+ dismissSidePaneButtonLabel?: string;
1495
+ /**
1496
+ * Side pane People section subheader.
1497
+ */
1498
+ peoplePaneSubTitle: string;
1499
+ /**
1500
+ * Label for button to copy invite link
1501
+ */
1502
+ copyInviteLinkButtonLabel: string;
1503
+ /**
1504
+ * Label for button to open dialpad
1505
+ */
1506
+ openDialpadButtonLabel: string;
1507
+ /**
1508
+ * Label for menu item to remove participant
1509
+ */
1510
+ removeMenuLabel: string;
1511
+ /**
1512
+ * Label for add people dropdown
1513
+ */
1514
+ peoplePaneAddPeopleButtonLabel: string;
1515
+ /**
1516
+ * Label for button to start a call
1517
+ */
1518
+ dialpadStartCallButtonLabel: string;
1519
+ /**
1520
+ * Title for dialpad Modal
1521
+ */
1522
+ dialpadModalTitle: string;
1523
+ /**
1524
+ * Aria Label for dialpad Modal
1525
+ */
1526
+ dialpadModalAriaLabel: string;
1527
+ /**
1528
+ * Aria Label for dialpad Modal close button
1529
+ */
1530
+ dialpadCloseModalButtonAriaLabel: string;
1531
+ /**
1532
+ * label for more button in the Calling composite
1533
+ */
1534
+ moreButtonCallingLabel: string;
1535
+ /**
1536
+ * Label for the resume call button on the hold pane
1537
+ */
1538
+ resumeCallButtonLabel: string;
1539
+ /**
1540
+ * Label for the resume call button on the hold pane when call is resuming
1541
+ */
1542
+ resumingCallButtonLabel: string;
1543
+ /**
1544
+ * Aria label for the resume call button on the hold pane
1545
+ */
1546
+ resumeCallButtonAriaLabel: string;
1547
+ /**
1548
+ * Aria label for the resume call button on the hold pane when call is resuming
1549
+ */
1550
+ resumingCallButtonAriaLabel: string;
1551
+ /**
1552
+ * Label for the hold pane
1553
+ */
1554
+ holdScreenLabel: string;
1555
+ /**
1556
+ * Placeholder text for dtmf dialpad
1557
+ */
1558
+ dtmfDialpadPlaceholderText: string;
1559
+ /**
1560
+ * Label for the button to open dtmf dialpad
1561
+ */
1562
+ openDtmfDialpadLabel: string;
1131
1563
  /**
1132
1564
  * aria label for when the invite link has been actioned
1133
1565
  */
1134
1566
  copyInviteLinkActionedAriaLabel: string;
1567
+ /**
1568
+ * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1569
+ */
1570
+ roomNotFoundTitle: string;
1571
+ /**
1572
+ * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1573
+ */
1574
+ roomNotFoundDetails?: string;
1575
+ /**
1576
+ * Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
1577
+ */
1578
+ deniedPermissionToRoomTitle: string;
1579
+ /**
1580
+ * More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
1581
+ */
1582
+ deniedPermissionToRoomDetails?: string;
1583
+ /**
1584
+ * Control bar People button ToolTipContent
1585
+ */
1586
+ peopleButtonTooltipOpen: string;
1587
+ /**
1588
+ * Control bar People button ToolTipContent
1589
+ */
1590
+ peopleButtonTooltipClose: string;
1591
+ /**
1592
+ * Label disaplayed on the lobby screen during a 1:1 outbound call.
1593
+ */
1594
+ outboundCallingNoticeString: string;
1135
1595
  /**
1136
1596
  * Notice to be announced by narrator when a participant joins a call
1137
1597
  */
@@ -1205,7 +1665,9 @@ export declare type CallControlOptions = {
1205
1665
  * Show or Hide Camera Button during a call
1206
1666
  * @defaultValue true
1207
1667
  */
1208
- cameraButton?: boolean;
1668
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1669
+ disabled: boolean;
1670
+ };
1209
1671
  /**
1210
1672
  * Show or Hide EndCall button during a call.
1211
1673
  * @defaultValue true
@@ -1215,12 +1677,16 @@ export declare type CallControlOptions = {
1215
1677
  * Show or Hide Microphone button during a call.
1216
1678
  * @defaultValue true
1217
1679
  */
1218
- microphoneButton?: boolean;
1680
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1681
+ disabled: boolean;
1682
+ };
1219
1683
  /**
1220
1684
  * Show or Hide Devices button during a call.
1221
1685
  * @defaultValue true
1222
1686
  */
1223
- devicesButton?: boolean;
1687
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1688
+ disabled: boolean;
1689
+ };
1224
1690
  /**
1225
1691
  * Show, Hide or Disable participants button during a call.
1226
1692
  * @defaultValue true
@@ -1235,6 +1701,20 @@ export declare type CallControlOptions = {
1235
1701
  screenShareButton?: boolean | {
1236
1702
  disabled: boolean;
1237
1703
  };
1704
+ /**
1705
+ * Show, Hide or disable the more button during a call.
1706
+ * @defaultValue true
1707
+ */
1708
+ moreButton?: boolean;
1709
+ /**
1710
+ * Inject custom buttons in the call controls.
1711
+ *
1712
+ * @beta
1713
+ */
1714
+ onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
1715
+ holdButton?: boolean | {
1716
+ disabled: boolean;
1717
+ };
1238
1718
  };
1239
1719
 
1240
1720
  /**
@@ -1296,7 +1776,7 @@ export declare type CallErrors = {
1296
1776
  *
1297
1777
  * @public
1298
1778
  */
1299
- 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';
1779
+ 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';
1300
1780
 
1301
1781
  /**
1302
1782
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1363,6 +1843,25 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
1363
1843
  isMuted?: boolean;
1364
1844
  /** Whether calling participant is speaking */
1365
1845
  isSpeaking?: boolean;
1846
+ /** Role of participant in Rooms call */
1847
+ role?: Role;
1848
+ };
1849
+
1850
+ /**
1851
+ * Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
1852
+ *
1853
+ * @remarks
1854
+ * This is currently in beta and only supports calling one Teams User.
1855
+ *
1856
+ * @example
1857
+ * ```
1858
+ * ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
1859
+ * ```
1860
+ *
1861
+ * @beta
1862
+ */
1863
+ export declare type CallParticipantsLocator = {
1864
+ participantIds: string[];
1366
1865
  };
1367
1866
 
1368
1867
  /**
@@ -1381,7 +1880,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
1381
1880
  */
1382
1881
  export declare interface CallProviderProps {
1383
1882
  children: React_2.ReactNode;
1384
- call?: Call;
1883
+ call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1385
1884
  }
1386
1885
 
1387
1886
  /**
@@ -1395,6 +1894,10 @@ export declare interface CallState {
1395
1894
  * Proxy of {@link @azure/communication-calling#Call.id}.
1396
1895
  */
1397
1896
  id: string;
1897
+ /**
1898
+ * Type of the call.
1899
+ */
1900
+ kind: CallKind;
1398
1901
  /**
1399
1902
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
1400
1903
  */
@@ -1477,6 +1980,10 @@ export declare interface CallState {
1477
1980
  * Stores the latest call diagnostics.
1478
1981
  */
1479
1982
  diagnostics: DiagnosticsCallFeatureState;
1983
+ /**
1984
+ * Proxy of {@link @azure/communication-calling#Call.role}.
1985
+ */
1986
+ role?: ParticipantRole;
1480
1987
  }
1481
1988
 
1482
1989
  /**
@@ -1500,6 +2007,12 @@ export declare interface CallWithChatAdapterManagement {
1500
2007
  * @public
1501
2008
  */
1502
2009
  removeParticipant(userId: string): Promise<void>;
2010
+ /**
2011
+ * Remove a participant from the call.
2012
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
2013
+ * @beta
2014
+ */
2015
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
1503
2016
  /**
1504
2017
  * Join the call with microphone initially on/off.
1505
2018
  *
@@ -1554,6 +2067,12 @@ export declare interface CallWithChatAdapterManagement {
1554
2067
  * @public
1555
2068
  */
1556
2069
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
2070
+ /**
2071
+ * Start the call.
2072
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
2073
+ * @beta
2074
+ */
2075
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
1557
2076
  /**
1558
2077
  * Start sharing the screen during a call.
1559
2078
  *
@@ -1706,6 +2225,49 @@ export declare interface CallWithChatAdapterManagement {
1706
2225
  * @public
1707
2226
  */
1708
2227
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
2228
+ /** @beta */
2229
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
2230
+ /** @beta */
2231
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
2232
+ /** @beta */
2233
+ clearFileUploads: () => void;
2234
+ /** @beta */
2235
+ cancelFileUpload: (id: string) => void;
2236
+ /** @beta */
2237
+ updateFileUploadProgress: (id: string, progress: number) => void;
2238
+ /** @beta */
2239
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2240
+ /** @beta */
2241
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2242
+ /**
2243
+ * Puts the Call in a Localhold.
2244
+ *
2245
+ * @beta
2246
+ */
2247
+ holdCall: () => Promise<void>;
2248
+ /**
2249
+ * Resumes the call from a LocalHold state.
2250
+ *
2251
+ * @beta
2252
+ */
2253
+ resumeCall: () => Promise<void>;
2254
+ /**
2255
+ * Adds a new Participant to the call.
2256
+ *
2257
+ * @beta
2258
+ */
2259
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
2260
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
2261
+ /**
2262
+ * send dtmf tone to another participant in the call in 1:1 calls
2263
+ *
2264
+ * @beta
2265
+ */
2266
+ sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2267
+ /**
2268
+ * Continues into a call when the browser version is not supported.
2269
+ */
2270
+ allowUnsupportedBrowserVersion(): void;
1709
2271
  }
1710
2272
 
1711
2273
  /**
@@ -1776,6 +2338,22 @@ export declare interface CallWithChatAdapterUiState {
1776
2338
  * @public
1777
2339
  */
1778
2340
  page: CallCompositePage;
2341
+ /**
2342
+ * Files being uploaded by a user in the current thread.
2343
+ * Should be set to null once the upload is complete.
2344
+ * Array of type {@link FileUploadsUiState}
2345
+ *
2346
+ * @beta
2347
+ */
2348
+ fileUploads?: FileUploadsUiState;
2349
+ /**
2350
+ * State to track whether the end user has opted in to using a
2351
+ * out of date version of a supported browser. Allows the user
2352
+ * to start a call in this state.
2353
+ *
2354
+ * @beta
2355
+ */
2356
+ unsupportedBrowserVersionsAllowed?: boolean;
1779
2357
  }
1780
2358
 
1781
2359
  /**
@@ -1800,6 +2378,10 @@ export declare interface CallWithChatClientState {
1800
2378
  devices: DeviceManagerState;
1801
2379
  /** State of whether the active call is a Teams interop call */
1802
2380
  isTeamsCall: boolean;
2381
+ /** alternateCallerId for PSTN call */
2382
+ alternateCallerId?: string | undefined;
2383
+ /** Environment information for system adapter is made on */
2384
+ environmentInfo?: EnvironmentInfo;
1803
2385
  }
1804
2386
 
1805
2387
  /**
@@ -1866,6 +2448,9 @@ export declare type CallWithChatCompositeIcons = {
1866
2448
  ParticipantItemScreenShareStart?: JSX.Element;
1867
2449
  VideoTileMicOff?: JSX.Element;
1868
2450
  LocalCameraSwitch?: JSX.Element;
2451
+ PeoplePaneAddPerson?: JSX.Element;
2452
+ PeoplePaneOpenDialpad?: JSX.Element;
2453
+ DialpadStartCall?: JSX.Element;
1869
2454
  EditBoxCancel?: JSX.Element;
1870
2455
  EditBoxSubmit?: JSX.Element;
1871
2456
  MessageDelivered?: JSX.Element;
@@ -1892,6 +2477,62 @@ export declare type CallWithChatCompositeOptions = {
1892
2477
  * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
1893
2478
  */
1894
2479
  callControls?: boolean | CallWithChatControlOptions;
2480
+ /**
2481
+ * Properties for configuring the File Sharing feature.
2482
+ * If undefined, file sharing feature will be disabled.
2483
+ * @beta
2484
+ */
2485
+ fileSharing?: FileSharingOptions;
2486
+ /**
2487
+ * Device permissions check options for your call.
2488
+ * Here you can choose what device permissions you prompt the user for,
2489
+ * as well as what device permissions must be accepted before starting a call.
2490
+ */
2491
+ deviceChecks?: DeviceCheckOptions;
2492
+ /**
2493
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
2494
+ * unable to grant your site the required permissions for the call.
2495
+ *
2496
+ * @example
2497
+ * ```ts
2498
+ * onPermissionsTroubleshootingClick: () =>
2499
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
2500
+ * ```
2501
+ *
2502
+ * @remarks
2503
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
2504
+ */
2505
+ onPermissionsTroubleshootingClick?: (permissionsState: {
2506
+ camera: PermissionState;
2507
+ microphone: PermissionState;
2508
+ }) => void;
2509
+ /**
2510
+ * Optional callback to supply users with further troubleshooting steps for network issues
2511
+ * experienced when connecting to a call.
2512
+ *
2513
+ * @example
2514
+ * ```ts
2515
+ * onNetworkingTroubleShootingClick?: () =>
2516
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
2517
+ * ```
2518
+ *
2519
+ * @remarks
2520
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
2521
+ */
2522
+ onNetworkingTroubleShootingClick?: () => void;
2523
+ /**
2524
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
2525
+ *
2526
+ * @example
2527
+ * ```ts
2528
+ * onBrowserTroubleShootingClick?: () =>
2529
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
2530
+ * ```
2531
+ *
2532
+ * @remarks
2533
+ * if this is not supplied, the composite will not show a unsupported browser page.
2534
+ */
2535
+ onEnvironmentInfoTroubleshootingClick?: () => void;
1895
2536
  };
1896
2537
 
1897
2538
  /**
@@ -2017,6 +2658,10 @@ export declare interface CallWithChatCompositeStrings {
2017
2658
  * Label for button to copy invite link
2018
2659
  */
2019
2660
  copyInviteLinkButtonLabel: string;
2661
+ /**
2662
+ * Label for button to open dialpad
2663
+ */
2664
+ openDialpadButtonLabel: string;
2020
2665
  /**
2021
2666
  * Label for SidePaneHeader dismiss button
2022
2667
  */
@@ -2029,6 +2674,34 @@ export declare interface CallWithChatCompositeStrings {
2029
2674
  * Aria label string for return to call back button
2030
2675
  */
2031
2676
  returnToCallButtonAriaLabel?: string;
2677
+ /**
2678
+ * Label for add people dropdown
2679
+ */
2680
+ peoplePaneAddPeopleButtonLabel: string;
2681
+ /**
2682
+ * Label for button to start a call
2683
+ */
2684
+ dialpadStartCallButtonLabel: string;
2685
+ /**
2686
+ * Title for dialpad Modal
2687
+ */
2688
+ dialpadModalTitle: string;
2689
+ /**
2690
+ * Aria Label for dialpad Modal
2691
+ */
2692
+ dialpadModalAriaLabel: string;
2693
+ /**
2694
+ * Aria Label for dialpad Modal close button
2695
+ */
2696
+ dialpadCloseModalButtonAriaLabel: string;
2697
+ /**
2698
+ * Placeholder text for dtmf dialpad
2699
+ */
2700
+ dtmfDialpadPlaceholderText: string;
2701
+ /**
2702
+ * Label for the button to open dtmf dialpad
2703
+ */
2704
+ openDtmfDialpadLabel: string;
2032
2705
  /**
2033
2706
  * aria label for when the invite link has been actioned
2034
2707
  */
@@ -2055,12 +2728,16 @@ export declare interface CallWithChatControlOptions {
2055
2728
  * Show or Hide Microphone button during a call.
2056
2729
  * @defaultValue true
2057
2730
  */
2058
- microphoneButton?: boolean;
2731
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2732
+ disabled: boolean;
2733
+ };
2059
2734
  /**
2060
2735
  * Show or Hide Camera Button during a call
2061
2736
  * @defaultValue true
2062
2737
  */
2063
- cameraButton?: boolean;
2738
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2739
+ disabled: boolean;
2740
+ };
2064
2741
  /**
2065
2742
  * Show, Hide or Disable the screen share button during a call.
2066
2743
  * @defaultValue true
@@ -2077,12 +2754,32 @@ export declare interface CallWithChatControlOptions {
2077
2754
  * Show or hide the chat button in the call-with-chat composite control bar.
2078
2755
  * @defaultValue true
2079
2756
  */
2080
- chatButton?: boolean;
2757
+ chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2758
+ disabled: boolean;
2759
+ };
2081
2760
  /**
2082
2761
  * Show or hide the people button in the call-with-chat composite control bar.
2083
2762
  * @defaultValue true
2084
2763
  */
2085
- peopleButton?: boolean;
2764
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2765
+ disabled: boolean;
2766
+ };
2767
+ /**
2768
+ * Inject custom buttons in the call controls.
2769
+ *
2770
+ * @beta
2771
+ */
2772
+ onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
2773
+ /**
2774
+ * Show or hide the more button in the call-with-chat control bar.
2775
+ */
2776
+ moreButton?: boolean;
2777
+ /**
2778
+ * Show or hide the hold button in the bottom sheet drawer
2779
+ */
2780
+ holdButton?: boolean | {
2781
+ disabled: boolean;
2782
+ };
2086
2783
  }
2087
2784
 
2088
2785
  /**
@@ -2092,6 +2789,35 @@ export declare interface CallWithChatControlOptions {
2092
2789
  */
2093
2790
  export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2094
2791
 
2792
+ /**
2793
+ * @beta
2794
+ *
2795
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
2796
+ * by their browsers settings.
2797
+ */
2798
+ export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
2799
+
2800
+ /**
2801
+ * @beta
2802
+ * Props for CameraAndMicrophoneSitePermissions component.
2803
+ */
2804
+ export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
2805
+ /** Icon name for the camera icon */
2806
+ cameraIconName?: string;
2807
+ /** Icon name for the microphone icon */
2808
+ microphoneIconName?: string;
2809
+ /** Icon name for the central icon between the camera and microphone icons */
2810
+ connectorIconName?: string;
2811
+ /** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
2812
+ strings?: CameraAndMicrophoneSitePermissionsStrings;
2813
+ }
2814
+
2815
+ /**
2816
+ * @beta
2817
+ * Strings for CameraAndMicrophoneSitePermissions component.
2818
+ */
2819
+ export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
2820
+
2095
2821
  /**
2096
2822
  * A button to turn camera on / off.
2097
2823
  *
@@ -2228,12 +2954,37 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
2228
2954
  menuStyles?: Partial<CameraButtonContextualMenuStyles>;
2229
2955
  }
2230
2956
 
2957
+ /**
2958
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
2959
+ * by their browsers settings.
2960
+ *
2961
+ * @beta
2962
+ */
2963
+ export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
2964
+
2965
+ /**
2966
+ * @beta
2967
+ * Props for CameraSitePermissions component.
2968
+ */
2969
+ export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
2970
+ /** Icon name for the camera icon */
2971
+ cameraIconName?: string;
2972
+ /** Strings for use with the {@link CameraSitePermissions} */
2973
+ strings?: CameraSitePermissionsStrings;
2974
+ }
2975
+
2976
+ /**
2977
+ * @beta
2978
+ * Strings for CameraSitePermissions component.
2979
+ */
2980
+ export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
2981
+
2231
2982
  /**
2232
2983
  * {@link ChatComposite} Adapter interface.
2233
2984
  *
2234
2985
  * @public
2235
2986
  */
2236
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
2987
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers & FileUploadAdapter;
2237
2988
 
2238
2989
  /**
2239
2990
  * {@link ChatAdapter} state.
@@ -2341,7 +3092,9 @@ export declare interface ChatAdapterThreadManagement {
2341
3092
  /**
2342
3093
  * Update a message content.
2343
3094
  */
2344
- updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
3095
+ updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
3096
+ attachedFilesMetadata?: FileMetadata[];
3097
+ }): Promise<void>;
2345
3098
  /**
2346
3099
  * Delete a message in the thread.
2347
3100
  */
@@ -2363,6 +3116,13 @@ export declare interface ChatAdapterThreadManagement {
2363
3116
  */
2364
3117
  export declare type ChatAdapterUiState = {
2365
3118
  error?: Error;
3119
+ /**
3120
+ * Files being uploaded by a user in the current thread.
3121
+ * Should be set to null once the upload is complete.
3122
+ * Array of type {@link FileUploadsUiState}
3123
+ * @beta
3124
+ */
3125
+ fileUploads?: FileUploadsUiState;
2366
3126
  };
2367
3127
 
2368
3128
  /**
@@ -2465,6 +3225,7 @@ export declare type ChatCompositeIcons = {
2465
3225
  ParticipantItemOptionsHovered?: JSX.Element;
2466
3226
  SendBoxSend?: JSX.Element;
2467
3227
  SendBoxSendHovered?: JSX.Element;
3228
+ SendBoxAttachFile?: JSX.Element;
2468
3229
  };
2469
3230
 
2470
3231
  /**
@@ -2479,6 +3240,13 @@ export declare type ChatCompositeOptions = {
2479
3240
  * @defaultValue true
2480
3241
  */
2481
3242
  errorBar?: boolean;
3243
+ /**
3244
+ * Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
3245
+ * @defaultValue false
3246
+ *
3247
+ * @beta
3248
+ */
3249
+ participantPane?: boolean;
2482
3250
  /**
2483
3251
  * Show or hide the topic at the top of the chat. Hidden if set to `false`
2484
3252
  * @defaultValue true
@@ -2489,6 +3257,12 @@ export declare type ChatCompositeOptions = {
2489
3257
  * When undefined nothing has focus on render
2490
3258
  */
2491
3259
  autoFocus?: 'sendBoxTextField';
3260
+ /**
3261
+ * Properties for configuring the File Sharing feature.
3262
+ * If undefined, file sharing feature will be disabled.
3263
+ * @beta
3264
+ */
3265
+ fileSharing?: FileSharingOptions;
2492
3266
  };
2493
3267
 
2494
3268
  /**
@@ -2516,6 +3290,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
2516
3290
  * Flags to enable/disable visual elements of the {@link ChatComposite}.
2517
3291
  */
2518
3292
  options?: ChatCompositeOptions;
3293
+ /**
3294
+ * Optimizes the composite form factor for either desktop or mobile.
3295
+ * @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
3296
+ * @defaultValue 'desktop'
3297
+ */
3298
+ formFactor?: 'desktop' | 'mobile';
2519
3299
  }
2520
3300
 
2521
3301
  /**
@@ -2530,6 +3310,10 @@ export declare interface ChatCompositeStrings {
2530
3310
  * Chat list header text
2531
3311
  */
2532
3312
  chatListHeader: string;
3313
+ /**
3314
+ * Upload File Button text
3315
+ */
3316
+ uploadFile: string;
2533
3317
  }
2534
3318
 
2535
3319
  /**
@@ -2595,7 +3379,9 @@ export declare type ChatHandlers = {
2595
3379
  onRemoveParticipant: (userId: string) => Promise<void>;
2596
3380
  updateThreadTopicName: (topicName: string) => Promise<void>;
2597
3381
  onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
2598
- onUpdateMessage: (messageId: string, content: string) => Promise<void>;
3382
+ onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string>, options?: {
3383
+ attachedFilesMetadata?: FileMetadata[];
3384
+ }) => Promise<void>;
2599
3385
  onDeleteMessage: (messageId: string) => Promise<void>;
2600
3386
  };
2601
3387
 
@@ -2621,6 +3407,12 @@ export declare interface ChatMessage extends MessageCommon {
2621
3407
  * {@link @azure/communication-chat#ChatMessage.metadata}
2622
3408
  */
2623
3409
  metadata?: Record<string, string>;
3410
+ /**
3411
+ * @beta
3412
+ * A list of files attached to the message.
3413
+ * {@link FileMetadata}
3414
+ */
3415
+ attachedFilesMetadata?: FileMetadata[];
2624
3416
  }
2625
3417
 
2626
3418
  /**
@@ -2767,6 +3559,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
2767
3559
  * @public
2768
3560
  */
2769
3561
  startCall(participants: string[], options?: StartCallOptions): void;
3562
+ /**
3563
+ * Start the call.
3564
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
3565
+ * @beta
3566
+ */
3567
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
2770
3568
  }
2771
3569
 
2772
3570
  /**
@@ -2788,11 +3586,17 @@ export declare interface CommonCallingHandlers {
2788
3586
  onStopScreenShare: () => Promise<void>;
2789
3587
  onToggleScreenShare: () => Promise<void>;
2790
3588
  onHangUp: (forEveryone?: boolean) => Promise<void>;
3589
+ onToggleHold: () => Promise<void>;
3590
+ onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
3591
+ onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
2791
3592
  onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
2792
3593
  onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
2793
3594
  onDisposeRemoteStreamView: (userId: string) => Promise<void>;
2794
3595
  onDisposeLocalStreamView: () => Promise<void>;
3596
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2795
3597
  onRemoveParticipant(userId: string): Promise<void>;
3598
+ onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
3599
+ askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
2796
3600
  onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
2797
3601
  }
2798
3602
 
@@ -2805,6 +3609,39 @@ export declare type CommonProperties<A, B> = {
2805
3609
  [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
2806
3610
  }[keyof A & keyof B];
2807
3611
 
3612
+ /**
3613
+ * @beta
3614
+ * Props for SitePermissions components.
3615
+ */
3616
+ export declare interface CommonSitePermissionsProps {
3617
+ /**
3618
+ * Name of application calling experience is in.
3619
+ */
3620
+ appName: string;
3621
+ /**
3622
+ * Type of the Site Permissions component.
3623
+ */
3624
+ type: 'request' | 'denied' | 'check';
3625
+ /**
3626
+ * Type of the browser used, the Site permission component will show different guidance text based on the browser type
3627
+ */
3628
+ browserHint?: 'safari' | 'unset';
3629
+ /**
3630
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
3631
+ * If this is not provided the button will not be shown.
3632
+ */
3633
+ onTroubleshootingClick?: () => void;
3634
+ /**
3635
+ * Action that is taken when the user clicks the continue anyway button.
3636
+ * If this is not provided the button will not be shown.
3637
+ */
3638
+ onContinueAnywayClick?: () => void;
3639
+ /**
3640
+ * Styles for SitePermissions component.
3641
+ */
3642
+ styles?: SitePermissionsStyles;
3643
+ }
3644
+
2808
3645
  /**
2809
3646
  * A Chat or Calling participant's state, as reflected in the UI.
2810
3647
  *
@@ -2932,6 +3769,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
2932
3769
  export declare interface ComponentLocale {
2933
3770
  /** Strings for components */
2934
3771
  strings: ComponentStrings;
3772
+ /**
3773
+ * Optional function to provide customized date format.
3774
+ * @beta
3775
+ */
3776
+ onDisplayDateTimeString?: (messageDate: Date) => string;
2935
3777
  }
2936
3778
 
2937
3779
  /**
@@ -2973,6 +3815,46 @@ export declare interface ComponentStrings {
2973
3815
  errorBar: ErrorBarStrings;
2974
3816
  /** Strings for VideoGallery */
2975
3817
  videoGallery: VideoGalleryStrings;
3818
+ /** Strings for Dialpad */
3819
+ dialpad: DialpadStrings;
3820
+ /** Strings for VideoTile */
3821
+ videoTile: VideoTileStrings;
3822
+ /** Strings for HoldButton */
3823
+ holdButton: HoldButtonStrings;
3824
+ /** Strings for a site's permission request prompt */
3825
+ CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
3826
+ /** Strings for a site's permission request prompt */
3827
+ CameraSitePermissionsRequest: SitePermissionsStrings;
3828
+ /** Strings for a site's permission request prompt */
3829
+ MicrophoneSitePermissionsRequest: SitePermissionsStrings;
3830
+ /** Strings for a site's permission generic checking prompt */
3831
+ CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
3832
+ /** Strings for a site's permission generic checking prompt */
3833
+ CameraSitePermissionsCheck: SitePermissionsStrings;
3834
+ /** Strings for a site's permission generic checking prompt */
3835
+ MicrophoneSitePermissionsCheck: SitePermissionsStrings;
3836
+ /** Strings for a site's permission denied prompt */
3837
+ CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
3838
+ /** Strings for a site's permission denied prompt for safari browsers*/
3839
+ CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
3840
+ /** Strings for a site's permission denied prompt */
3841
+ CameraSitePermissionsDenied: SitePermissionsStrings;
3842
+ /** Strings for a site's permission denied prompt */
3843
+ MicrophoneSitePermissionsDenied: SitePermissionsStrings;
3844
+ /** Strings for a site's permission denied prompt for safari browsers*/
3845
+ CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
3846
+ /** Strings for a site's permission denied prompt for safari browsers*/
3847
+ MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
3848
+ /** Strings for unsupported browser UI */
3849
+ UnsupportedBrowser: UnsupportedBrowserStrings;
3850
+ /** Strings for unsupported browser version UI */
3851
+ UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
3852
+ /** Strings for unsupported browser version UI */
3853
+ UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
3854
+ /** Strings for BrowserPemissionDenied */
3855
+ BrowserPermissionDenied: BrowserPermissionDeniedStrings;
3856
+ /** Strings for BrowserPemissionDeniedIOS */
3857
+ BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
2976
3858
  }
2977
3859
 
2978
3860
  /**
@@ -3280,7 +4162,7 @@ export declare interface ControlBarProps {
3280
4162
  *
3281
4163
  * @public
3282
4164
  */
3283
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4165
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
3284
4166
 
3285
4167
  /**
3286
4168
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -3290,7 +4172,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
3290
4172
  *
3291
4173
  * @public
3292
4174
  */
3293
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator) => Promise<CallAdapter>;
4175
+ export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
3294
4176
 
3295
4177
  /**
3296
4178
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -3298,7 +4180,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
3298
4180
  *
3299
4181
  * @public
3300
4182
  */
3301
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
4183
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
3302
4184
 
3303
4185
  /**
3304
4186
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -3351,6 +4233,16 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
3351
4233
  */
3352
4234
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
3353
4235
 
4236
+ /**
4237
+ * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
4238
+ *
4239
+ * Useful when implementing a custom component that utilizes the providers
4240
+ * exported from this library.
4241
+ *
4242
+ * @beta
4243
+ */
4244
+ 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;
4245
+
3354
4246
  /**
3355
4247
  * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
3356
4248
  * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
@@ -3376,6 +4268,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
3376
4268
  */
3377
4269
  export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
3378
4270
 
4271
+ /**
4272
+ * @beta
4273
+ */
4274
+ export declare const createTeamsCallAdapter: ({ userId, credential, locator }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
4275
+
4276
+ /**
4277
+ * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
4278
+ *
4279
+ * Useful if you want to keep a reference to {@link StatefulCallClient}.
4280
+ * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
4281
+ *
4282
+ * @beta
4283
+ */
4284
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator) => Promise<TeamsCallAdapter>;
4285
+
3379
4286
  /**
3380
4287
  * Object returned after creating a local or remote VideoStream.
3381
4288
  * This contains helper functions to manipulate the render of the stream.
@@ -3426,8 +4333,164 @@ export declare type CustomAvatarOptions = {
3426
4333
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
3427
4334
  /** Display name to be used in Persona */
3428
4335
  text?: string;
4336
+ /** State for the participant to be displayed in the defaultPlaceHolder */
4337
+ participantState?: ParticipantState;
4338
+ /**
4339
+ * If true, show the special coin for unknown persona.
4340
+ * It has '?' in place of initials, with static font and background colors
4341
+ */
4342
+ showUnknownPersonaCoin?: boolean;
3429
4343
  };
3430
4344
 
4345
+ /**
4346
+ * A callback that returns the props to render a custom {@link ControlBarButton}.
4347
+ *
4348
+ * The response indicates where the custom button should be placed.
4349
+ *
4350
+ * Performance tip: This callback is only called when either the callback or its arguments change.
4351
+ *
4352
+ * @beta
4353
+ */
4354
+ export declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallControlButtonProps;
4355
+
4356
+ /**
4357
+ * Arguments for {@link CustomCallControlButtonCallback}.
4358
+ *
4359
+ * @beta
4360
+ */
4361
+ export declare interface CustomCallControlButtonCallbackArgs {
4362
+ /**
4363
+ * Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
4364
+ *
4365
+ * @defaultValue `'default'`
4366
+ */
4367
+ displayType?: CallControlDisplayType;
4368
+ }
4369
+
4370
+ /**
4371
+ * Placement for a custom button injected in the {@link CallControls}.
4372
+ *
4373
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
4374
+ *
4375
+ * Multiple buttons assigned the same placement are appended in order.
4376
+ * E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
4377
+ * before the EndCallButton in the order provided.
4378
+ *
4379
+ * @beta
4380
+ */
4381
+ export declare type CustomCallControlButtonPlacement = 'primary';
4382
+
4383
+ /**
4384
+ * Response from {@link CustomCallControlButtonCallback}.
4385
+ *
4386
+ * Includes the placement prop necessary to indicate where to place the
4387
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
4388
+ *
4389
+ * @beta
4390
+ */
4391
+ export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
4392
+ /**
4393
+ * Where to place the custom button relative to other buttons.
4394
+ */
4395
+ placement: CustomCallControlButtonPlacement;
4396
+ /**
4397
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
4398
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
4399
+ */
4400
+ iconName?: string;
4401
+ }
4402
+
4403
+ /**
4404
+ * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
4405
+ *
4406
+ * The response indicates where the custom button should be placed.
4407
+ *
4408
+ * Performance tip: This callback is only called when either the callback or its arguments change.
4409
+ * @beta
4410
+ */
4411
+ export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
4412
+
4413
+ /**
4414
+ * Placement for a custom button injected in the {@link CallWithChatControlBar}.
4415
+ *
4416
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
4417
+ * 'overflow': Place the buttons(s) on the end of the overflow Menu.
4418
+ * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
4419
+ *
4420
+ * Multiple buttons assigned the same placement are appended in order.
4421
+ * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
4422
+ * in the order provided.
4423
+ *
4424
+ * @beta
4425
+ */
4426
+ export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
4427
+
4428
+ /**
4429
+ * Response from {@link CustomCallWithChatControlButtonCallback}.
4430
+ *
4431
+ * Includes the icon and placement prop necessary to indicate where to place the
4432
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
4433
+ *
4434
+ * @beta
4435
+ */
4436
+ export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
4437
+ /**
4438
+ * Where to place the custom button relative to other buttons.
4439
+ */
4440
+ placement: CustomCallWithChatControlButtonPlacement;
4441
+ /**
4442
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
4443
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
4444
+ */
4445
+ iconName?: string;
4446
+ }
4447
+
4448
+ /**
4449
+ * Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
4450
+ *
4451
+ * @beta
4452
+ */
4453
+ export declare interface CustomControlButtonProps {
4454
+ /**
4455
+ * Calback for when button is clicked
4456
+ */
4457
+ onItemClick?: () => void;
4458
+ /**
4459
+ * Whether the buttons is disabled
4460
+ */
4461
+ disabled?: boolean;
4462
+ /**
4463
+ * Whether the label is displayed or not.
4464
+ *
4465
+ * @defaultValue `false`
4466
+ */
4467
+ showLabel?: boolean;
4468
+ /**
4469
+ * Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
4470
+ */
4471
+ styles?: ControlBarButtonStyles | BaseCustomStyles;
4472
+ /**
4473
+ * Optional label for the button
4474
+ */
4475
+ text?: string;
4476
+ /**
4477
+ * A unique key for the button
4478
+ */
4479
+ key?: string | number;
4480
+ /**
4481
+ * The aria label of the button for the benefit of screen readers.
4482
+ */
4483
+ ariaLabel?: string;
4484
+ /**
4485
+ * Detailed description of the button for the benefit of screen readers.
4486
+ */
4487
+ ariaDescription?: string;
4488
+ /**
4489
+ * A unique id set for the standard HTML id attibute
4490
+ */
4491
+ id?: string;
4492
+ }
4493
+
3431
4494
  /**
3432
4495
  * A custom message type.
3433
4496
  *
@@ -3447,6 +4510,18 @@ export declare interface CustomMessage extends MessageCommon {
3447
4510
  */
3448
4511
  export declare const darkTheme: PartialTheme & CallingTheme;
3449
4512
 
4513
+ /**
4514
+ * @beta
4515
+ * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
4516
+ */
4517
+ export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
4518
+
4519
+ /**
4520
+ * @beta
4521
+ * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
4522
+ */
4523
+ export declare type DeclarativeIncomingCall = IncomingCall;
4524
+
3450
4525
  /**
3451
4526
  * The default set of icons that are available to use in the UI components.
3452
4527
  *
@@ -3463,8 +4538,11 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3463
4538
  ControlButtonMicOn: JSX.Element;
3464
4539
  ControlButtonOptions: JSX.Element;
3465
4540
  ControlButtonParticipants: JSX.Element;
4541
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
3466
4542
  ControlButtonScreenShareStart: JSX.Element;
3467
4543
  ControlButtonScreenShareStop: JSX.Element;
4544
+ CancelFileUpload: JSX.Element;
4545
+ DownloadFile: JSX.Element;
3468
4546
  EditBoxCancel: JSX.Element;
3469
4547
  EditBoxSubmit: JSX.Element;
3470
4548
  ErrorBarCallCameraAccessDenied: JSX.Element;
@@ -3497,9 +4575,26 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3497
4575
  ParticipantItemOptions: JSX.Element;
3498
4576
  ParticipantItemOptionsHovered: JSX.Element;
3499
4577
  ParticipantItemScreenShareStart: JSX.Element;
4578
+ HoldCallContextualMenuItem: JSX.Element;
4579
+ HoldCallButton: JSX.Element;
4580
+ ResumeCall: JSX.Element;
3500
4581
  SendBoxSend: JSX.Element;
3501
4582
  SendBoxSendHovered: JSX.Element;
3502
4583
  VideoTileMicOff: JSX.Element;
4584
+ DialpadBackspace: JSX.Element;
4585
+ SitePermissionsSparkle: JSX.Element;
4586
+ SitePermissionCamera: JSX.Element;
4587
+ SitePermissionMic: JSX.Element;
4588
+ SitePermissionCameraDenied: JSX.Element;
4589
+ SitePermissionMicDenied: JSX.Element;
4590
+ UnsupportedEnvironmentWarning: JSX.Element;
4591
+ BrowserPermissionDeniedError: JSX.Element;
4592
+ VideoTilePinned: JSX.Element;
4593
+ VideoTileMoreOptions: JSX.Element;
4594
+ VideoTileScaleFit: JSX.Element;
4595
+ VideoTileScaleFill: JSX.Element;
4596
+ PinParticipant: JSX.Element;
4597
+ UnpinParticipant: JSX.Element;
3503
4598
  };
3504
4599
 
3505
4600
  /**
@@ -3520,6 +4615,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3520
4615
  ParticipantItemOptionsHovered: JSX.Element;
3521
4616
  SendBoxSend: JSX.Element;
3522
4617
  SendBoxSendHovered: JSX.Element;
4618
+ SendBoxAttachFile?: JSX.Element | undefined;
3523
4619
  ControlButtonCameraOff: JSX.Element;
3524
4620
  ControlButtonCameraOn: JSX.Element;
3525
4621
  ControlButtonEndCall: JSX.Element;
@@ -3562,6 +4658,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3562
4658
  ParticipantItemScreenShareStart: JSX.Element;
3563
4659
  VideoTileMicOff: JSX.Element;
3564
4660
  LocalCameraSwitch?: JSX.Element | undefined;
4661
+ PeoplePaneAddPerson?: JSX.Element | undefined;
4662
+ PeoplePaneOpenDialpad?: JSX.Element | undefined;
4663
+ DialpadStartCall?: JSX.Element | undefined;
4664
+ NoticePageInvalidRoom?: JSX.Element | undefined;
3565
4665
  ChevronLeft?: JSX.Element | undefined;
3566
4666
  ControlBarChatButtonActive?: JSX.Element | undefined;
3567
4667
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -3572,13 +4672,55 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3572
4672
  MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
3573
4673
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
3574
4674
  MoreDrawerSpeakers?: JSX.Element | undefined;
3575
- SendBoxAttachFile?: JSX.Element | undefined;
3576
4675
  ChatMessageOptions: JSX.Element;
4676
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
4677
+ CancelFileUpload: JSX.Element;
4678
+ DownloadFile: JSX.Element;
3577
4679
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3578
4680
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
3579
4681
  MessageResend: JSX.Element;
4682
+ HoldCallContextualMenuItem: JSX.Element;
4683
+ HoldCallButton: JSX.Element;
4684
+ ResumeCall: JSX.Element;
4685
+ DialpadBackspace: JSX.Element;
4686
+ SitePermissionsSparkle: JSX.Element;
4687
+ SitePermissionCamera: JSX.Element;
4688
+ SitePermissionMic: JSX.Element;
4689
+ SitePermissionCameraDenied: JSX.Element;
4690
+ SitePermissionMicDenied: JSX.Element;
4691
+ UnsupportedEnvironmentWarning: JSX.Element;
4692
+ BrowserPermissionDeniedError: JSX.Element;
4693
+ VideoTilePinned: JSX.Element;
4694
+ VideoTileMoreOptions: JSX.Element;
4695
+ VideoTileScaleFit: JSX.Element;
4696
+ VideoTileScaleFill: JSX.Element;
4697
+ PinParticipant: JSX.Element;
4698
+ UnpinParticipant: JSX.Element;
3580
4699
  };
3581
4700
 
4701
+ /**
4702
+ * Device Checks.
4703
+ * Choose whether or not to block starting a call depending on camera and microphone permission options.
4704
+ *
4705
+ * @beta
4706
+ */
4707
+ export declare interface DeviceCheckOptions {
4708
+ /**
4709
+ * Camera Permission prompts for your call.
4710
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
4711
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4712
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4713
+ */
4714
+ camera: 'required' | 'optional' | 'doNotPrompt';
4715
+ /**
4716
+ * Microphone permission prompts for your call.
4717
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
4718
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
4719
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
4720
+ */
4721
+ microphone: 'required' | 'optional' | 'doNotPrompt';
4722
+ }
4723
+
3582
4724
  /**
3583
4725
  * This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
3584
4726
  * optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
@@ -3797,6 +4939,60 @@ export declare interface DiagnosticsCallFeatureState {
3797
4939
  media: MediaDiagnosticsState;
3798
4940
  }
3799
4941
 
4942
+ /**
4943
+ * A component to allow users to enter phone number through clicking on dialpad/using keyboard
4944
+ * It will return empty component for stable builds
4945
+ *
4946
+ * @beta
4947
+ */
4948
+ export declare const Dialpad: (props: DialpadProps) => JSX.Element;
4949
+
4950
+ /**
4951
+ * Props for {@link Dialpad} component.
4952
+ *
4953
+ * @beta
4954
+ */
4955
+ export declare interface DialpadProps {
4956
+ strings?: DialpadStrings;
4957
+ /** function to send dtmf tones on button click */
4958
+ onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
4959
+ /** Callback for dialpad button behavior*/
4960
+ onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
4961
+ /** set dialpad textfield content */
4962
+ textFieldValue?: string;
4963
+ /** on change function for text field, provides an unformatted plain text*/
4964
+ onChange?: (input: string) => void;
4965
+ /** boolean input to determine when to show/hide delete button, default true */
4966
+ showDeleteButton?: boolean;
4967
+ /** boolean input to determine if dialpad is in mobile view, default false */
4968
+ isMobile?: boolean;
4969
+ styles?: DialpadStyles;
4970
+ }
4971
+
4972
+ /**
4973
+ * Strings of {@link Dialpad} that can be overridden.
4974
+ *
4975
+ * @beta
4976
+ */
4977
+ export declare interface DialpadStrings {
4978
+ placeholderText: string;
4979
+ deleteButtonAriaLabel?: string;
4980
+ }
4981
+
4982
+ /**
4983
+ * Styles for {@link Dialpad} component.
4984
+ *
4985
+ * @beta
4986
+ */
4987
+ export declare interface DialpadStyles {
4988
+ root?: IStyle;
4989
+ button?: IButtonStyles;
4990
+ textField?: Partial<ITextFieldStyles>;
4991
+ digit?: IStyle;
4992
+ letter?: IStyle;
4993
+ deleteIcon?: IButtonStyles;
4994
+ }
4995
+
3800
4996
  /**
3801
4997
  * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
3802
4998
  *
@@ -3817,6 +5013,13 @@ export declare interface Disposable {
3817
5013
  dispose(): void;
3818
5014
  }
3819
5015
 
5016
+ /**
5017
+ * DTMF tone for PSTN calls.
5018
+ *
5019
+ * @beta
5020
+ */
5021
+ export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
5022
+
3820
5023
  /**
3821
5024
  * A type for trivial selectors that return no data.
3822
5025
  *
@@ -4057,6 +5260,199 @@ export declare interface ErrorBarStrings {
4057
5260
  */
4058
5261
  export declare type ErrorType = keyof ErrorBarStrings;
4059
5262
 
5263
+ /**
5264
+ * @beta
5265
+ * A file download error returned via a {@link FileDownloadHandler}.
5266
+ * This error message is used to render an error message in the UI.
5267
+ */
5268
+ export declare interface FileDownloadError {
5269
+ /** The error message to display in the UI */
5270
+ errorMessage: string;
5271
+ }
5272
+
5273
+ /**
5274
+ * @beta
5275
+ *
5276
+ * A callback function for handling file downloads.
5277
+ * The function needs to return a promise that resolves to a file download URL.
5278
+ * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
5279
+ *
5280
+ * @example
5281
+ * ```ts
5282
+ * const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
5283
+ * if (isUnauthorizedUser(userId)) {
5284
+ * return { errorMessage: 'You don’t have permission to download this file.' };
5285
+ * } else {
5286
+ * return new URL(fileData.url);
5287
+ * }
5288
+ * }
5289
+ *
5290
+ * const App = () => (
5291
+ * <ChatComposite
5292
+ * ...
5293
+ * fileSharing={{
5294
+ * fileDownloadHandler: fileDownloadHandler
5295
+ * }}
5296
+ * />
5297
+ * )
5298
+ *
5299
+ * ```
5300
+ * @param userId - The user ID of the user downloading the file.
5301
+ * @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
5302
+ */
5303
+ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
5304
+
5305
+ /**
5306
+ * Meta Data containing information about the uploaded file.
5307
+ * @beta
5308
+ */
5309
+ export declare interface FileMetadata {
5310
+ /**
5311
+ * File name to be displayed.
5312
+ */
5313
+ name: string;
5314
+ /**
5315
+ * Extension is used for rendering the file icon.
5316
+ * An unknown extension will be rendered as a generic icon.
5317
+ * Example: `jpeg`
5318
+ */
5319
+ extension: string;
5320
+ /**
5321
+ * Download URL for the file.
5322
+ */
5323
+ url: string;
5324
+ }
5325
+
5326
+ /**
5327
+ * Properties for configuring the File Sharing feature.
5328
+ * @beta
5329
+ */
5330
+ export declare interface FileSharingOptions {
5331
+ /**
5332
+ * A string containing the comma separated list of accepted file types.
5333
+ * Similar to the `accept` attribute of the `<input type="file" />` element.
5334
+ * Accepts any type of file if not specified.
5335
+ * @beta
5336
+ */
5337
+ accept?: string;
5338
+ /**
5339
+ * Allows multiple files to be selected if set to `true`.
5340
+ * Similar to the `multiple` attribute of the `<input type="file" />` element.
5341
+ * @defaultValue false
5342
+ * @beta
5343
+ */
5344
+ multiple?: boolean;
5345
+ /**
5346
+ * A function of type {@link FileUploadHandler} for handling file uploads.
5347
+ * @beta
5348
+ */
5349
+ uploadHandler: FileUploadHandler;
5350
+ /**
5351
+ * A function of type {@link FileDownloadHandler} for handling file downloads.
5352
+ * If the function is not specified, the file's `url` will be opened in a new tab to
5353
+ * initiate the download.
5354
+ */
5355
+ downloadHandler?: FileDownloadHandler;
5356
+ }
5357
+
5358
+ /**
5359
+ * @beta
5360
+ */
5361
+ export declare interface FileUploadAdapter {
5362
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
5363
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
5364
+ clearFileUploads: () => void;
5365
+ cancelFileUpload: (id: string) => void;
5366
+ updateFileUploadProgress: (id: string, progress: number) => void;
5367
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
5368
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
5369
+ }
5370
+
5371
+ /**
5372
+ * @beta
5373
+ * Error message to be displayed to the user if the upload fails.
5374
+ */
5375
+ export declare type FileUploadError = {
5376
+ message: string;
5377
+ timestamp: number;
5378
+ };
5379
+
5380
+ /**
5381
+ * @beta
5382
+ * A callback function for handling file uploads.
5383
+ *
5384
+ * @param userId - The user ID of the user uploading the file.
5385
+ * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
5386
+ */
5387
+ export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
5388
+
5389
+ /**
5390
+ * A wrapper object for a file that is being uploaded.
5391
+ * Allows mmanaging file uploads by providing common functions for updating the
5392
+ * upload progress, canceling an upload, completing an upload etc.
5393
+ * @beta
5394
+ */
5395
+ export declare interface FileUploadManager {
5396
+ /**
5397
+ * Unique identifier for the file upload.
5398
+ */
5399
+ id: string;
5400
+ /**
5401
+ * HTML {@link File} object for the uploaded file.
5402
+ */
5403
+ file?: File;
5404
+ /**
5405
+ * Update the progress of the upload.
5406
+ * @param value - number between 0 and 1
5407
+ */
5408
+ notifyUploadProgressChanged: (value: number) => void;
5409
+ /**
5410
+ * Mark the upload as complete.
5411
+ * Requires the `metadata` param containing uploaded file information.
5412
+ * @param metadata - {@link FileMetadata}
5413
+ */
5414
+ notifyUploadCompleted: (metadata: FileMetadata) => void;
5415
+ /**
5416
+ * Mark the upload as failed.
5417
+ * @param message - An error message that can be displayed to the user.
5418
+ */
5419
+ notifyUploadFailed: (message: string) => void;
5420
+ }
5421
+
5422
+ /**
5423
+ * Contains the state attibutes of a file upload like name, progress etc.
5424
+ * @beta
5425
+ */
5426
+ export declare interface FileUploadState {
5427
+ /**
5428
+ * Unique identifier for the file upload.
5429
+ */
5430
+ id: string;
5431
+ /**
5432
+ * Filename extracted from the {@link File} object.
5433
+ * This attribute is used to render the filename if `metadata.name` is not available.
5434
+ */
5435
+ filename: string;
5436
+ /**
5437
+ * A number between 0 and 1 indicating the progress of the upload.
5438
+ */
5439
+ progress: number;
5440
+ /**
5441
+ * Meta Data {@link FileMetadata} containing information about the uploaded file.
5442
+ */
5443
+ metadata?: FileMetadata;
5444
+ /**
5445
+ * Error message to be displayed to the user if the upload fails.
5446
+ */
5447
+ error?: FileUploadError;
5448
+ }
5449
+
5450
+ /**
5451
+ * A record containing {@link FileUploadState} mapped to unique ids.
5452
+ * @beta
5453
+ */
5454
+ export declare type FileUploadsUiState = Record<string, FileUploadState>;
5455
+
4060
5456
  /**
4061
5457
  * Provider to apply a Fluent theme across this library's react components.
4062
5458
  *
@@ -4097,7 +5493,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
4097
5493
  *
4098
5494
  * @public
4099
5495
  */
4100
- 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;
5496
+ export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
4101
5497
 
4102
5498
  /**
4103
5499
  * Get the selector for a specified component.
@@ -4151,12 +5547,69 @@ export declare interface GridLayoutProps {
4151
5547
  }
4152
5548
 
4153
5549
  /**
4154
- * {@link GridLayout} Component Styles.
4155
- * @public
5550
+ * {@link GridLayout} Component Styles.
5551
+ * @public
5552
+ */
5553
+ export declare interface GridLayoutStyles extends BaseCustomStyles {
5554
+ /** Styles for each child of {@link GridLayout} */
5555
+ children?: IStyle;
5556
+ }
5557
+
5558
+ /**
5559
+ * a button to hold or resume a ongoing call.
5560
+ *
5561
+ * Can be used with {@link ControlBar}
5562
+ *
5563
+ * @param props - properties for the hold button.
5564
+ * @returns
5565
+ * @beta
5566
+ */
5567
+ export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
5568
+
5569
+ /**
5570
+ *@beta
5571
+ */
5572
+ export declare interface HoldButtonProps extends ControlBarButtonProps {
5573
+ /**
5574
+ * Utility property for using this component with communication react handlers
5575
+ * Holds the call or resumes it based on call state.
5576
+ */
5577
+ onToggleHold: () => Promise<void>;
5578
+ /**
5579
+ * Optional strings to override in component
5580
+ */
5581
+ strings?: HoldButtonStrings;
5582
+ }
5583
+
5584
+ /**
5585
+ * Selector type for the {@link HoldButton} component.
5586
+ * @public
5587
+ */
5588
+ export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
5589
+ checked: boolean;
5590
+ };
5591
+
5592
+ /**
5593
+ * Strings for the hold button labels
5594
+ * @beta
4156
5595
  */
4157
- export declare interface GridLayoutStyles extends BaseCustomStyles {
4158
- /** Styles for each child of {@link GridLayout} */
4159
- children?: IStyle;
5596
+ export declare interface HoldButtonStrings {
5597
+ /**
5598
+ * Label for when action is to resume call.
5599
+ */
5600
+ onLabel: string;
5601
+ /**
5602
+ * Label for when action is to hold call.
5603
+ */
5604
+ offLabel: string;
5605
+ /**
5606
+ * Content for when button is checked
5607
+ */
5608
+ tooltipOnContent: string;
5609
+ /**
5610
+ * Content for when button is unchecked
5611
+ */
5612
+ tooltipOffContent: string;
4160
5613
  }
4161
5614
 
4162
5615
  /**
@@ -4239,6 +5692,20 @@ export declare interface _Identifiers {
4239
5692
  horizontalGalleryRightNavButton: string;
4240
5693
  }
4241
5694
 
5695
+ /**
5696
+ * @beta
5697
+ * This contains a readonly array that returns all the active `incomingCalls`.
5698
+ * An active incoming call is a call that has not been answered, declined or disconnected.
5699
+ */
5700
+ export declare type IncomingCallManagement = {
5701
+ /**
5702
+ * @beta
5703
+ * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
5704
+ * @returns readonly array of {@link DeclarativeIncomingCall}
5705
+ */
5706
+ incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
5707
+ };
5708
+
4242
5709
  /**
4243
5710
  * State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
4244
5711
  * automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
@@ -4705,6 +6172,11 @@ export declare type MessageThreadProps = {
4705
6172
  * `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
4706
6173
  */
4707
6174
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
6175
+ /**
6176
+ * Optional callback to render uploaded files in the message component.
6177
+ * @beta
6178
+ */
6179
+ onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
4708
6180
  /**
4709
6181
  * Optional callback to edit a message.
4710
6182
  *
@@ -4740,6 +6212,18 @@ export declare type MessageThreadProps = {
4740
6212
  * Optional strings to override in component
4741
6213
  */
4742
6214
  strings?: Partial<MessageThreadStrings>;
6215
+ /**
6216
+ * @beta
6217
+ * Optional function called when someone clicks on the file download icon.
6218
+ * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
6219
+ * this function will be called with the data inside `fileSharingMetadata` key.
6220
+ */
6221
+ fileDownloadHandler?: FileDownloadHandler;
6222
+ /**
6223
+ * Optional function to provide customized date format.
6224
+ * @beta
6225
+ */
6226
+ onDisplayDateTimeString?: (messageDate: Date) => string;
4743
6227
  };
4744
6228
 
4745
6229
  /**
@@ -4811,6 +6295,8 @@ export declare interface MessageThreadStrings {
4811
6295
  editBoxSubmitButton: string;
4812
6296
  /** String for action menu indicating there are more options */
4813
6297
  actionMenuMoreOptions?: string;
6298
+ /** String for download file button in file card */
6299
+ downloadFile: string;
4814
6300
  }
4815
6301
 
4816
6302
  /**
@@ -4993,6 +6479,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
4993
6479
  menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
4994
6480
  }
4995
6481
 
6482
+ /**
6483
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
6484
+ * by their browsers settings.
6485
+ *
6486
+ * @beta
6487
+ */
6488
+ export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
6489
+
6490
+ /**
6491
+ * @beta
6492
+ * Props for MicrophoneSitePermissions component.
6493
+ */
6494
+ export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
6495
+ /** Icon name for the microphone icon */
6496
+ microphoneIconName?: string;
6497
+ /** Strings for use with the {@link MicrophoneSitePermissions} */
6498
+ strings?: MicrophoneSitePermissionsStrings;
6499
+ }
6500
+
6501
+ /**
6502
+ * @beta
6503
+ * Strings for MicrophoneSitePermissions component.
6504
+ */
6505
+ export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
6506
+
4996
6507
  /**
4997
6508
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
4998
6509
  *
@@ -5100,6 +6611,14 @@ export declare interface ParticipantItemProps {
5100
6611
  onClick?: (props?: ParticipantItemProps) => void;
5101
6612
  /** prop to determine if we should show tooltip for participants or not */
5102
6613
  showParticipantOverflowTooltip?: boolean;
6614
+ /**
6615
+ * Optional value to determine and display a participants connection status.
6616
+ * For example, `Connecting`, `Ringing` etc.
6617
+ * The actual text that is displayed is determined by the localized string
6618
+ * corresponding to the provided participant state.
6619
+ * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
6620
+ */
6621
+ participantState?: ParticipantState;
5103
6622
  }
5104
6623
 
5105
6624
  /**
@@ -5120,6 +6639,10 @@ export declare interface ParticipantItemStrings {
5120
6639
  mutedIconLabel: string;
5121
6640
  /** placeholder text for participants who does not have a display name*/
5122
6641
  displayNamePlaceholder?: string;
6642
+ /** String shown when `participantState` is `Ringing` */
6643
+ participantStateRinging?: string;
6644
+ /** String shown when `participantState` is `Hold` */
6645
+ participantStateHold?: string;
5123
6646
  }
5124
6647
 
5125
6648
  /**
@@ -5490,6 +7013,10 @@ export declare interface RemoteParticipantState {
5490
7013
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
5491
7014
  */
5492
7015
  isSpeaking: boolean;
7016
+ /**
7017
+ * Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
7018
+ */
7019
+ role?: ParticipantRole;
5493
7020
  }
5494
7021
 
5495
7022
  /**
@@ -5514,6 +7041,7 @@ export declare interface RemoteVideoStreamState {
5514
7041
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
5515
7042
  * @beta
5516
7043
  */
7044
+ isReceiving: boolean;
5517
7045
  /**
5518
7046
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
5519
7047
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -5521,6 +7049,26 @@ export declare interface RemoteVideoStreamState {
5521
7049
  view?: VideoStreamRendererViewState;
5522
7050
  }
5523
7051
 
7052
+ /**
7053
+ * Menu options for remote video tiles in {@link VideoGallery}.
7054
+ *
7055
+ * @beta
7056
+ */
7057
+ export declare interface RemoteVideoTileMenuOptions {
7058
+ /**
7059
+ * If set to true, remote video tiles in the VideoGallery will not have menu options
7060
+ *
7061
+ * @defaultValue false
7062
+ */
7063
+ isHidden?: boolean;
7064
+ }
7065
+
7066
+ /**
7067
+ * @beta
7068
+ * The role of a call participant.
7069
+ */
7070
+ export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer';
7071
+
5524
7072
  /**
5525
7073
  * A button to start / stop screen sharing.
5526
7074
  *
@@ -5554,6 +7102,7 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
5554
7102
  */
5555
7103
  export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
5556
7104
  checked?: boolean;
7105
+ disabled?: boolean;
5557
7106
  };
5558
7107
 
5559
7108
  /**
@@ -5591,6 +7140,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
5591
7140
  */
5592
7141
  export declare const SendBox: (props: SendBoxProps) => JSX.Element;
5593
7142
 
7143
+ /**
7144
+ * @beta
7145
+ * Error to be displayed to the user in an error bar above sendbox.
7146
+ */
7147
+ export declare interface SendBoxErrorBarError {
7148
+ /** Error Message to be displayed */
7149
+ message: string;
7150
+ /**
7151
+ * Unix Timestamp. Preferred generation using `Date.now()`
7152
+ */
7153
+ timestamp: number;
7154
+ }
7155
+
5594
7156
  /**
5595
7157
  * Props for {@link SendBox}.
5596
7158
  *
@@ -5646,6 +7208,25 @@ export declare interface SendBoxProps {
5646
7208
  * When undefined nothing has focus on render
5647
7209
  */
5648
7210
  autoFocus?: 'sendBoxTextField';
7211
+ /**
7212
+ * Optional callback to render uploaded files in the SendBox. The sendbox will expand
7213
+ * veritcally to accomodate the uploaded files. File uploads will
7214
+ * be rendered below the text area in sendbox.
7215
+ * @beta
7216
+ */
7217
+ onRenderFileUploads?: () => JSX.Element;
7218
+ /**
7219
+ * Optional array of active file uploads where each object has attibutes
7220
+ * of a file upload like name, progress, errorMessage etc.
7221
+ * @beta
7222
+ */
7223
+ activeFileUploads?: ActiveFileUpload[];
7224
+ /**
7225
+ * Optional callback to remove the file upload before sending by clicking on
7226
+ * cancel icon.
7227
+ * @beta
7228
+ */
7229
+ onCancelFileUpload?: (fileId: string) => void;
5649
7230
  }
5650
7231
 
5651
7232
  /**
@@ -5676,6 +7257,22 @@ export declare interface SendBoxStrings {
5676
7257
  * Aria label for send message button
5677
7258
  */
5678
7259
  sendButtonAriaLabel: string;
7260
+ /**
7261
+ * Error message indicating that all file uploads are not complete.
7262
+ */
7263
+ fileUploadsPendingError: string;
7264
+ /**
7265
+ * Aria label to notify user when focus is on cancel file upload button.
7266
+ */
7267
+ removeFile: string;
7268
+ /**
7269
+ * Aria label to notify user file uploading starts.
7270
+ */
7271
+ uploading: string;
7272
+ /**
7273
+ * Aria label to notify user file is uploaded.
7274
+ */
7275
+ uploadCompleted: string;
5679
7276
  }
5680
7277
 
5681
7278
  /**
@@ -5696,6 +7293,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
5696
7293
  systemMessage?: IStyle;
5697
7294
  }
5698
7295
 
7296
+ /**
7297
+ * @beta
7298
+ * Strings for SitePermissions component
7299
+ */
7300
+ export declare type SitePermissionsStrings = {
7301
+ /**
7302
+ * Main text string.
7303
+ */
7304
+ primaryText?: string;
7305
+ /**
7306
+ * Subtext string.
7307
+ */
7308
+ secondaryText?: string;
7309
+ /**
7310
+ * More help link string.
7311
+ */
7312
+ linkText?: string;
7313
+ /**
7314
+ * Primary button text string.
7315
+ */
7316
+ primaryButtonText?: string;
7317
+ /**
7318
+ * Aria label describing the content of the container
7319
+ */
7320
+ ariaLabel?: string;
7321
+ };
7322
+
7323
+ /**
7324
+ * Fluent styles for {@link SitePermissionsContainer}.
7325
+ *
7326
+ * @beta
7327
+ */
7328
+ export declare interface SitePermissionsStyles extends BaseCustomStyles {
7329
+ /** Styles for the primary button. */
7330
+ primaryButton?: IButtonStyles;
7331
+ /** Styles for the help troubleshooting link text. */
7332
+ troubleshootingLink?: ILinkStyles;
7333
+ }
7334
+
5699
7335
  /**
5700
7336
  * Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
5701
7337
  * The interface provides access to proxied state and also allows registering a handler for state change events. For
@@ -5802,6 +7438,19 @@ export declare interface StatefulCallClient extends CallClient {
5802
7438
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
5803
7439
  */
5804
7440
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
7441
+ /** @conditional-compile-remove(one-to-n-calling) */
7442
+ /**
7443
+ * The CallAgent is used to handle calls.
7444
+ * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
7445
+ * - The CallClient can only have one active CallAgent instance at a time.
7446
+ * - You can create a new CallClient instance to create a new CallAgent.
7447
+ * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
7448
+ * createCallAgent() method again to create a new CallAgent.
7449
+ * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
7450
+ * @param options - The CallAgentOptions for additional options like display name.
7451
+ * @public
7452
+ */
7453
+ createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
5805
7454
  }
5806
7455
 
5807
7456
  /**
@@ -5814,7 +7463,16 @@ export declare type StatefulCallClientArgs = {
5814
7463
  * UserId from SDK. This is provided for developer convenience to easily access the userId from the
5815
7464
  * state. It is not used by StatefulCallClient.
5816
7465
  */
5817
- userId: CommunicationUserIdentifier;
7466
+ userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
7467
+ /**
7468
+ * A phone number in E.164 format that will be used to represent the callers identity. This number is required
7469
+ * to start a PSTN call.
7470
+ *
7471
+ * example: +11234567
7472
+ *
7473
+ * This is not a cached value from the headless calling client.
7474
+ */
7475
+ alternateCallerId?: string;
5818
7476
  };
5819
7477
 
5820
7478
  /**
@@ -5954,6 +7612,59 @@ export declare interface SystemMessageCommon extends MessageCommon {
5954
7612
  iconName: string;
5955
7613
  }
5956
7614
 
7615
+ /**
7616
+ * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
7617
+ *
7618
+ * @beta
7619
+ */
7620
+ export declare interface TeamsCallAdapter extends CommonCallAdapter {
7621
+ /**
7622
+ * Join the call with microphone initially on/off.
7623
+ *
7624
+ * @param microphoneOn - Whether microphone is initially enabled
7625
+ *
7626
+ * @beta
7627
+ */
7628
+ joinCall(microphoneOn?: boolean): TeamsCall | undefined;
7629
+ /**
7630
+ * Start the call.
7631
+ *
7632
+ * @param participants - An array of participant ids to join
7633
+ *
7634
+ * @beta
7635
+ */
7636
+ startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
7637
+ /**
7638
+ * Start the call.
7639
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
7640
+ * @beta
7641
+ */
7642
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
7643
+ }
7644
+
7645
+ /**
7646
+ * Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
7647
+ *
7648
+ * @beta
7649
+ */
7650
+ export declare type TeamsCallAdapterArgs = {
7651
+ userId: MicrosoftTeamsUserIdentifier;
7652
+ credential: CommunicationTokenCredential;
7653
+ locator: TeamsMeetingLinkLocator;
7654
+ };
7655
+
7656
+ /**
7657
+ * Object containing all the teams call handlers required for calling components.
7658
+ *
7659
+ * Calling related components from this package are able to pick out relevant handlers from this object.
7660
+ * See {@link useHandlers} and {@link usePropsFor}.
7661
+ *
7662
+ * @beta
7663
+ */
7664
+ export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
7665
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
7666
+ }
7667
+
5957
7668
  /**
5958
7669
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
5959
7670
  *
@@ -6133,11 +7844,117 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
6133
7844
  typingString?: IStyle;
6134
7845
  }
6135
7846
 
7847
+ /**
7848
+ * UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
7849
+ *
7850
+ * @beta
7851
+ */
7852
+ export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
7853
+
7854
+ /**
7855
+ * props for {@link UnsupportedBrowser} UI
7856
+ *
7857
+ * @beta
7858
+ */
7859
+ export declare interface UnsupportedBrowserProps {
7860
+ /** Handler to perform an action when the help link is actioned */
7861
+ onTroubleshootingClick?: () => void;
7862
+ /** String overrides for the component */
7863
+ strings?: UnsupportedBrowserStrings;
7864
+ }
7865
+
7866
+ /**
7867
+ * Strings for UnsupportedBrowser component
7868
+ *
7869
+ * @beta
7870
+ */
7871
+ export declare interface UnsupportedBrowserStrings {
7872
+ /** String for the primary text */
7873
+ primaryText: string;
7874
+ /** String for the secondary text */
7875
+ secondaryText: string;
7876
+ /** String to display in the text for the help link */
7877
+ moreHelpLinkText: string;
7878
+ }
7879
+
7880
+ /**
7881
+ * UI to display to the user that the browser version they are using is out of date
7882
+ * and not supported by Azure Communications Calling service.
7883
+ *
7884
+ * @beta
7885
+ */
7886
+ export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
7887
+
7888
+ /**
7889
+ * props for {@link UnsupportedBrowserVersion} UI
7890
+ *
7891
+ * @beta
7892
+ */
7893
+ export declare interface UnsupportedBrowserVersionProps {
7894
+ /** Handler to perform an action when the help link is actioned */
7895
+ onTroubleshootingClick?: () => void;
7896
+ /** String overrides for the component */
7897
+ strings?: UnsupportedBrowserVersionStrings;
7898
+ /** Handler to allow user to continue into the call */
7899
+ onContinueAnywayClick?: () => void;
7900
+ }
7901
+
7902
+ /**
7903
+ * Strings for UnsupportedBrowser component
7904
+ *
7905
+ * @beta
7906
+ */
7907
+ export declare interface UnsupportedBrowserVersionStrings {
7908
+ /** String for the primary text */
7909
+ primaryText: string;
7910
+ /** String for the secondary text */
7911
+ secondaryText: string;
7912
+ /** String to display in the text for the help link */
7913
+ moreHelpLinkText: string;
7914
+ /** String for continue without updating button */
7915
+ continueAnywayButtonText?: string;
7916
+ }
7917
+
7918
+ /**
7919
+ * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
7920
+ *
7921
+ * @beta
7922
+ */
7923
+ export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
7924
+
7925
+ /**
7926
+ * Props for {@link UnsupportedOperatingSystem} UI
7927
+ *
7928
+ * @beta
7929
+ */
7930
+ export declare interface UnsupportedOperatingSystemProps {
7931
+ /** Handler to perform a action when the help link is actioned */
7932
+ onTroubleshootingClick?: () => void;
7933
+ /** String overrides for the component */
7934
+ strings?: UnsupportedOperatingSystemStrings;
7935
+ }
7936
+
7937
+ /**
7938
+ * Strings for UnsupportedBrowser component
7939
+ *
7940
+ * @beta
7941
+ */
7942
+ export declare interface UnsupportedOperatingSystemStrings {
7943
+ /** String for the primary text */
7944
+ primaryText: string;
7945
+ /** String for the secondary text */
7946
+ secondaryText: string;
7947
+ /** String to display in the text for the help link */
7948
+ moreHelpLinkText: string;
7949
+ }
7950
+
6136
7951
  /**
6137
7952
  * @public
6138
7953
  * Callback function run when a message is updated.
6139
7954
  */
6140
- export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
7955
+ export declare type UpdateMessageCallback = (messageId: string, content: string, metadata?: Record<string, string>, options?: {
7956
+ attachedFilesMetadata?: FileMetadata[];
7957
+ }) => Promise<void>;
6141
7958
 
6142
7959
  /**
6143
7960
  * A custom React hook to simplify the creation of {@link CallAdapter}.
@@ -6285,6 +8102,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
6285
8102
  */
6286
8103
  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;
6287
8104
 
8105
+ /**
8106
+ * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
8107
+ *
8108
+ * Useful when implementing a custom component that utilizes the providers
8109
+ * exported from this library.
8110
+ *
8111
+ * you must have previously used the CallProvider with a TeamsCall object to use this hook
8112
+ *
8113
+ * @beta
8114
+ */
8115
+ export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
8116
+
8117
+ /**
8118
+ * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
8119
+ *
8120
+ * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
8121
+ * creation of the adapter internally.
8122
+ *
8123
+ * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
8124
+ * as they are created. The adapter is only created when all arguments are defined.
8125
+ *
8126
+ * Note that you must memoize the arguments to avoid recreating adapter on each render.
8127
+ * See storybook for typical usage examples.
8128
+ *
8129
+ * @beta
8130
+ */
8131
+ export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
8132
+
8133
+ /**
8134
+ * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
8135
+ *
8136
+ * Useful when implementing a custom component that utilizes the providers
8137
+ * exported from this library.
8138
+ *
8139
+ * @beta
8140
+ */
8141
+ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
8142
+
6288
8143
  /**
6289
8144
  * React hook to access theme
6290
8145
  *
@@ -6391,6 +8246,24 @@ export declare interface VideoGalleryProps {
6391
8246
  * Camera control information for button to switch cameras.
6392
8247
  */
6393
8248
  localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
8249
+ /**
8250
+ * List of pinned participant userIds.
8251
+ */
8252
+ pinnedParticipants?: string[];
8253
+ /**
8254
+ * This callback will be called when a participant video tile is pinned.
8255
+ */
8256
+ onPinParticipant?: (userId: string) => void;
8257
+ /**
8258
+ * This callback will be called when a participant video tile is un-pinned.
8259
+ */
8260
+ onUnpinParticipant?: (userId: string) => void;
8261
+ /**
8262
+ * Options for showing the remote video tile menu.
8263
+ *
8264
+ * @defaultValue \{ kind: 'contextual' \}
8265
+ */
8266
+ remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
6394
8267
  }
6395
8268
 
6396
8269
  /**
@@ -6403,6 +8276,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
6403
8276
  isSpeaking?: boolean;
6404
8277
  /** Video stream of shared screen */
6405
8278
  screenShareStream?: VideoGalleryStream;
8279
+ /**
8280
+ * @beta
8281
+ * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
8282
+ */
8283
+ state?: ParticipantState;
6406
8284
  }
6407
8285
 
6408
8286
  /**
@@ -6433,6 +8311,8 @@ export declare interface VideoGalleryStream {
6433
8311
  isMirrored?: boolean;
6434
8312
  /** Render element of the video stream */
6435
8313
  renderElement?: HTMLElement;
8314
+ /** Scaling mode of the video stream */
8315
+ scalingMode?: ViewScalingMode;
6436
8316
  }
6437
8317
 
6438
8318
  /**
@@ -6455,6 +8335,14 @@ export declare interface VideoGalleryStrings {
6455
8335
  localVideoSelectedDescription: string;
6456
8336
  /** placeholder text for participants who does not have a display name*/
6457
8337
  displayNamePlaceholder: string;
8338
+ /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
8339
+ fitRemoteParticipantToFrame: string;
8340
+ /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
8341
+ fillRemoteParticipantFrame: string;
8342
+ /** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
8343
+ pinParticipantForMe: string;
8344
+ /** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
8345
+ unpinParticipantForMe: string;
6458
8346
  }
6459
8347
 
6460
8348
  /**
@@ -6512,6 +8400,36 @@ export declare interface VideoStreamRendererViewState {
6512
8400
  */
6513
8401
  export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
6514
8402
 
8403
+ /**
8404
+ * Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
8405
+ *
8406
+ * @beta
8407
+ */
8408
+ export declare interface VideoTileContextualMenuProps {
8409
+ /**
8410
+ * The menu property kind
8411
+ */
8412
+ kind: 'contextual';
8413
+ }
8414
+
8415
+ /**
8416
+ * Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
8417
+ *
8418
+ * @beta
8419
+ */
8420
+ export declare interface VideoTileDrawerMenuProps {
8421
+ /**
8422
+ * The menu property kind
8423
+ */
8424
+ kind: 'drawer';
8425
+ /**
8426
+ * The optional id property provided on an element that the drawer menu should render within when a
8427
+ * remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
8428
+ * render within the VideoGallery component.
8429
+ */
8430
+ hostId?: string;
8431
+ }
8432
+
6515
8433
  /**
6516
8434
  * Props for {@link VideoTile}.
6517
8435
  *
@@ -6550,6 +8468,10 @@ export declare interface VideoTileProps {
6550
8468
  * Whether the video is muted or not.
6551
8469
  */
6552
8470
  isMuted?: boolean;
8471
+ /**
8472
+ * If true, the video tile will show the pin icon.
8473
+ */
8474
+ isPinned?: boolean;
6553
8475
  /**
6554
8476
  * Display Name of the Participant to be shown in the label.
6555
8477
  * @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
@@ -6578,6 +8500,31 @@ export declare interface VideoTileProps {
6578
8500
  noVideoAvailableAriaLabel?: string;
6579
8501
  /** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
6580
8502
  isSpeaking?: boolean;
8503
+ /**
8504
+ * The call connection state of the participant.
8505
+ * For example, `Hold` means the participant is on hold.
8506
+ */
8507
+ participantState?: ParticipantState;
8508
+ strings?: VideoTileStrings;
8509
+ /**
8510
+ * Display custom menu items in the VideoTile's contextual menu.
8511
+ * Uses Fluent UI ContextualMenu.
8512
+ * An ellipses icon will be displayed to open the contextual menu if this prop is defined.
8513
+ */
8514
+ contextualMenu?: IContextualMenuProps;
8515
+ /**
8516
+ * Callback triggered by video tile on touch and hold.
8517
+ */
8518
+ onLongTouch?: () => void;
8519
+ }
8520
+
8521
+ /**
8522
+ * Strings of {@link VideoTile} that can be overridden.
8523
+ * @beta
8524
+ */
8525
+ export declare interface VideoTileStrings {
8526
+ participantStateRinging: string;
8527
+ participantStateHold: string;
6581
8528
  }
6582
8529
 
6583
8530
  /**