@azure/communication-react 1.5.2-alpha-202301190014.0 → 1.6.1-alpha-202306220014

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 (702) hide show
  1. package/README.md +3 -4
  2. package/dist/communication-react.d.ts +1306 -201
  3. package/dist/dist-cjs/communication-react/index.js +14017 -7900
  4. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/identifier.d.ts +6 -0
  6. package/dist/dist-esm/acs-ui-common/src/identifier.js +15 -2
  7. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/index.d.ts +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/index.js +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  11. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  13. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +21 -0
  14. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +54 -0
  15. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  16. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +48 -0
  17. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +73 -0
  18. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -0
  19. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +38 -11
  20. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +21 -0
  22. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +102 -7
  23. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  24. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +3 -1
  25. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +3 -0
  27. package/dist/dist-esm/calling-component-bindings/src/index.js +2 -0
  28. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  29. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +3 -2
  32. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  33. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +9 -15
  34. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -0
  36. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +11 -3
  37. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  38. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +140 -1
  39. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  40. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +27 -0
  41. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +157 -0
  42. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  43. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +99 -0
  44. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  45. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +5 -0
  46. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +59 -0
  47. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  48. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +18 -0
  49. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +38 -0
  50. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -0
  51. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +10 -0
  52. package/dist/dist-esm/calling-stateful-client/src/Converter.js +40 -2
  53. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  54. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +13 -1
  55. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +8 -1
  56. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  57. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +4 -0
  58. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +28 -0
  59. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  60. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +28 -0
  61. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +49 -0
  62. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -0
  63. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +16 -27
  64. package/dist/dist-esm/calling-stateful-client/src/Logger.js +16 -27
  65. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  66. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.d.ts +24 -0
  67. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +28 -0
  68. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -0
  69. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +138 -331
  72. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.d.ts +17 -0
  74. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +198 -0
  75. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -0
  76. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +7 -0
  77. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +10 -0
  78. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  79. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +4 -0
  80. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  81. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -0
  82. package/dist/dist-esm/calling-stateful-client/src/index.js +2 -0
  83. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  84. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +98 -10
  85. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  86. package/dist/dist-esm/chat-component-bindings/src/utils/constants.d.ts +4 -0
  87. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js +4 -0
  88. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  89. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +32 -26
  90. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  91. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +15 -3
  92. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  93. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
  94. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  95. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
  96. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  97. package/dist/dist-esm/communication-react/src/index.d.ts +11 -2
  98. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  99. package/dist/dist-esm/northstar-wrapper/src/index.js +2 -0
  100. package/dist/dist-esm/northstar-wrapper/src/index.js.LICENSE.txt +41 -0
  101. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.d.ts +20 -0
  102. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +44 -0
  103. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -0
  104. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.d.ts +10 -0
  105. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js +14 -0
  106. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -0
  107. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.d.ts +10 -0
  108. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js +29 -0
  109. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -0
  110. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.d.ts +7 -0
  111. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +26 -0
  112. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -0
  113. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.d.ts +9 -0
  114. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +10 -0
  115. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -0
  116. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.d.ts +8 -0
  117. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +19 -0
  118. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -0
  119. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +20 -0
  120. package/dist/dist-esm/react-components/src/components/CameraButton.js +41 -3
  121. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  122. package/dist/dist-esm/react-components/src/components/Caption.d.ts +21 -0
  123. package/dist/dist-esm/react-components/src/components/Caption.js +32 -0
  124. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -0
  125. package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +41 -0
  126. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +51 -0
  127. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -0
  128. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +37 -0
  129. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +95 -0
  130. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -0
  131. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts +1 -1
  132. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +1 -1
  133. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  134. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +11 -2
  135. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  136. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +29 -4
  137. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +25 -17
  138. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  139. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +3 -1
  140. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +32 -18
  141. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  142. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +18 -3
  143. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +46 -31
  144. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  145. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +16 -2
  146. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +122 -12
  147. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  148. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
  149. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
  150. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
  151. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +1 -1
  152. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  153. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +2 -2
  154. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +10 -10
  155. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -1
  156. package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +1 -1
  157. package/dist/dist-esm/react-components/src/components/DevicesButton.js +88 -55
  158. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  159. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.d.ts +5 -0
  160. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +1 -1
  161. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  162. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.d.ts +2 -0
  163. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +1 -0
  164. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  165. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.d.ts +5 -0
  166. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +23 -5
  167. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  168. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +8 -0
  169. package/dist/dist-esm/react-components/src/components/ErrorBar.js +1 -2
  170. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  171. package/dist/dist-esm/react-components/src/components/FileCard.js +5 -5
  172. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  173. package/dist/dist-esm/react-components/src/components/FileCardGroup.d.ts +1 -0
  174. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +2 -2
  175. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  176. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +14 -0
  177. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +29 -10
  178. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  179. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +1 -3
  180. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  181. package/dist/dist-esm/react-components/src/components/GridLayout.js +1 -1
  182. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  183. package/dist/dist-esm/react-components/src/components/HorizontalGallery.d.ts +4 -0
  184. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +32 -24
  185. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  186. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +3 -1
  187. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +60 -10
  188. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  189. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
  190. package/dist/dist-esm/react-components/src/components/MentionPopover.js +125 -0
  191. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
  192. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +5 -5
  193. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  194. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +47 -8
  195. package/dist/dist-esm/react-components/src/components/MessageThread.js +126 -53
  196. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  197. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +12 -0
  198. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +29 -1
  199. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  200. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +1 -1
  201. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  202. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +5 -0
  203. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +5 -3
  204. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +2 -0
  206. package/dist/dist-esm/react-components/src/components/ParticipantList.js +4 -4
  207. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  208. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +1 -0
  209. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  210. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -0
  211. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +5 -3
  212. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  213. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.d.ts +4 -2
  214. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +6 -42
  215. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +35 -0
  217. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +33 -0
  218. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -0
  219. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +10 -2
  220. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  221. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +10 -4
  222. package/dist/dist-esm/react-components/src/components/SendBox.js +22 -14
  223. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +70 -0
  225. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +59 -0
  226. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -0
  227. package/dist/dist-esm/react-components/src/components/SystemMessage.d.ts +1 -1
  228. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +41 -0
  230. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +579 -0
  231. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
  232. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
  233. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +792 -0
  234. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
  235. package/dist/dist-esm/react-components/src/components/VerticalGallery.d.ts +67 -0
  236. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +116 -0
  237. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -0
  238. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.d.ts +21 -0
  239. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +65 -0
  240. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -0
  241. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.d.ts +75 -0
  242. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +52 -0
  243. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -0
  244. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +88 -0
  245. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +37 -0
  246. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -0
  247. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.d.ts +11 -0
  248. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +56 -0
  249. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -0
  250. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +1 -1
  251. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +56 -20
  252. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  253. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +10 -3
  254. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +12 -10
  255. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  256. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +6 -1
  257. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +91 -25
  258. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  259. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +14 -2
  260. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  261. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +21 -0
  262. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +63 -0
  263. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -0
  264. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +2 -1
  265. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +8 -2
  266. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  267. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +32 -7
  268. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +31 -12
  269. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  270. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +2 -2
  271. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  272. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.d.ts +4 -1
  273. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +9 -8
  274. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  275. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.d.ts +64 -0
  276. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +79 -0
  277. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -0
  278. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +5 -0
  279. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +34 -9
  280. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  281. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.d.ts +25 -0
  282. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js +94 -0
  283. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -0
  284. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +5 -4
  285. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +68 -52
  286. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  287. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +55 -1
  288. package/dist/dist-esm/react-components/src/components/VideoGallery.js +82 -20
  289. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  290. package/dist/dist-esm/react-components/src/components/VideoTile.js +34 -16
  291. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  292. package/dist/dist-esm/react-components/src/components/index.d.ts +15 -1
  293. package/dist/dist-esm/react-components/src/components/index.js +13 -0
  294. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  295. package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +37 -0
  296. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +67 -0
  297. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -0
  298. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +34 -0
  299. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +86 -0
  300. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -0
  301. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +10 -0
  302. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +10 -0
  303. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  304. package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +14 -0
  305. package/dist/dist-esm/react-components/src/components/styles/Common.style.js +16 -0
  306. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -0
  307. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +4 -7
  308. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js +1 -0
  310. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  311. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.d.ts +3 -3
  312. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +7 -11
  313. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  314. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +31 -0
  315. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +70 -0
  316. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
  317. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +8 -3
  318. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +64 -4
  319. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  320. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js +4 -1
  321. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  322. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +0 -4
  323. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -9
  324. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.d.ts +32 -0
  326. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +66 -0
  327. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -0
  328. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.d.ts +4 -0
  329. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +6 -0
  330. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +3 -1
  332. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  333. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +6 -4
  334. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +1 -1
  335. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  336. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.d.ts +11 -0
  337. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js +22 -0
  338. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -0
  339. package/dist/dist-esm/react-components/src/components/utils/responsive.d.ts +6 -0
  340. package/dist/dist-esm/react-components/src/components/utils/responsive.js +7 -0
  341. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  342. package/dist/dist-esm/react-components/src/components/utils.d.ts +19 -0
  343. package/dist/dist-esm/react-components/src/components/utils.js +48 -1
  344. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +6 -14
  346. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  347. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +14 -4
  348. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +11 -2
  349. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  350. package/dist/dist-esm/react-components/src/index.d.ts +3 -1
  351. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  352. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +8 -0
  353. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  354. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +331 -0
  355. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +125 -13
  356. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +124 -12
  357. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +29 -6
  358. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +124 -12
  359. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +331 -0
  360. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +125 -13
  361. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +331 -0
  362. package/dist/dist-esm/react-components/src/localization/locales/index.d.ts +36 -0
  363. package/dist/dist-esm/react-components/src/localization/locales/index.js +42 -0
  364. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  365. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +124 -12
  366. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +124 -12
  367. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +124 -12
  368. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +331 -0
  369. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +124 -12
  370. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +331 -0
  371. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +125 -13
  372. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +124 -12
  373. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +331 -0
  374. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +125 -13
  375. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +124 -12
  376. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +124 -12
  377. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +1 -1
  378. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +1 -1
  380. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/theming/icons.d.ts +13 -0
  382. package/dist/dist-esm/react-components/src/theming/icons.js +49 -10
  383. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  384. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +48 -0
  385. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js +4 -0
  386. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -0
  387. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +21 -1
  388. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.d.ts +9 -0
  390. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js +4 -0
  391. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -0
  392. package/dist/dist-esm/react-components/src/types/index.d.ts +2 -0
  393. package/dist/dist-esm/react-components/src/types/index.js +2 -0
  394. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  395. package/dist/dist-esm/react-composites/src/Logger.d.ts +5 -0
  396. package/dist/dist-esm/react-composites/src/Logger.js +8 -0
  397. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -0
  398. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +36 -0
  399. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +49 -35
  400. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  401. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +129 -0
  402. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  403. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +66 -6
  404. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +310 -20
  405. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  406. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +199 -2
  407. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  408. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.d.ts +23 -0
  409. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +45 -0
  410. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -0
  411. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +5 -1
  412. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  413. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +4 -0
  414. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +180 -60
  415. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  416. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +6 -6
  417. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  418. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +14 -14
  419. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  420. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
  421. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +9 -1
  422. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  423. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +17 -4
  424. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  425. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +2 -0
  426. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +39 -8
  427. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  428. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +1 -1
  429. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  430. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +14 -0
  431. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +65 -0
  432. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -0
  433. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.d.ts +58 -0
  434. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js +31 -0
  435. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -0
  436. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +17 -0
  437. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +43 -0
  438. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -0
  439. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +25 -0
  440. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +75 -0
  441. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -0
  442. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +6 -5
  443. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -1
  444. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  445. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +8 -8
  446. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +6 -34
  447. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  448. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +1 -1
  449. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  450. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -1
  451. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  452. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +1 -1
  453. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  454. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -1
  455. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  456. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +1 -1
  457. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  458. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +37 -1
  459. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  460. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +8 -3
  461. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  462. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +4 -0
  463. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +4 -4
  464. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  465. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +2 -0
  466. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +67 -30
  467. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  468. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +4 -0
  469. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +1 -3
  470. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  471. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +4 -0
  472. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +1 -3
  473. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  474. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +4 -1
  475. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
  476. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  477. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +14 -0
  478. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +113 -0
  479. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -0
  480. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +7 -0
  481. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +21 -0
  482. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -0
  483. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +31 -0
  484. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +55 -0
  485. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  486. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.d.ts +7 -0
  487. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js +14 -0
  488. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js.map +1 -0
  489. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.d.ts +6 -1
  490. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +7 -0
  491. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  492. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +13 -1
  493. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +59 -0
  494. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  495. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  496. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +4 -0
  497. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +4 -1
  498. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  499. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +4 -4
  500. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  501. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.d.ts +20 -0
  502. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +21 -1
  503. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  504. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +37 -0
  505. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +55 -0
  506. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -0
  507. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +11 -85
  508. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  509. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +1 -1
  510. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +3 -3
  511. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  512. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +31 -11
  513. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +76 -15
  514. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  515. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +15 -75
  516. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +126 -142
  517. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  518. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/{ChatButton.d.ts → ChatButton/ChatButton.d.ts} +1 -1
  519. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/{ChatButton.js → ChatButton/ChatButton.js} +1 -1
  520. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -0
  521. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/{ChatButtonWithUnreadMessagesBadge.d.ts → ChatButton/ChatButtonWithUnreadMessagesBadge.d.ts} +2 -2
  522. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/{ChatButtonWithUnreadMessagesBadge.js → ChatButton/ChatButtonWithUnreadMessagesBadge.js} +3 -3
  523. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -0
  524. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -0
  525. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +12 -0
  526. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  527. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +28 -1
  528. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +110 -7
  529. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  530. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +82 -1
  531. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  532. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +13 -0
  533. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +58 -1
  534. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  535. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +4 -0
  536. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +6 -0
  537. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  538. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +4 -0
  539. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  540. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -1
  541. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  542. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +5 -0
  543. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +10 -2
  544. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  545. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +1 -1
  546. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +6 -3
  547. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  548. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +27 -2
  549. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  550. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +19 -2
  551. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +74 -8
  552. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  553. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +4 -0
  554. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  555. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -0
  556. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  557. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +2 -2
  558. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  559. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +2 -2
  560. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  561. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +1 -1
  562. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  563. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +6 -0
  564. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +68 -0
  565. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -0
  566. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +12 -0
  567. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +104 -0
  568. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -0
  569. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +7 -0
  570. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +38 -0
  571. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -0
  572. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +30 -0
  573. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +291 -0
  574. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -0
  575. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.d.ts +83 -0
  576. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +84 -0
  577. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -0
  578. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/ControlBar}/DesktopMoreButton.d.ts +4 -0
  579. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +190 -0
  580. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -0
  581. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/PeopleButton.d.ts +1 -1
  582. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/ControlBar}/PeopleButton.js +3 -3
  583. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -0
  584. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -0
  585. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/Drawer}/MoreDrawer.d.ts +15 -2
  586. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/components → common/Drawer}/MoreDrawer.js +106 -9
  587. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -0
  588. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.d.ts +6 -0
  589. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +24 -0
  590. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -0
  591. package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common/Drawer}/PreparedMoreDrawer.d.ts +3 -2
  592. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +26 -0
  593. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -0
  594. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +20 -0
  595. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +55 -0
  596. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +1 -0
  597. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +7 -0
  598. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +24 -0
  599. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +1 -0
  600. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  601. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  602. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +4 -2
  603. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  604. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +0 -9
  605. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +32 -12
  606. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  607. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +1 -1
  608. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -1
  609. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +4 -4
  610. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +27 -2
  611. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  612. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +8 -5
  613. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +11 -2
  614. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  615. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +14 -0
  616. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +156 -0
  617. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -0
  618. package/dist/dist-esm/react-composites/src/composites/common/constants.d.ts +9 -0
  619. package/dist/dist-esm/react-composites/src/composites/common/constants.js +11 -0
  620. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -0
  621. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +19 -1
  622. package/dist/dist-esm/react-composites/src/composites/common/icons.js +15 -15
  623. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  624. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.d.ts +7 -0
  625. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js +9 -0
  626. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -0
  627. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts +4 -0
  628. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +4 -0
  629. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  630. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +173 -0
  631. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js +4 -0
  632. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -0
  633. package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +4 -0
  634. package/dist/dist-esm/react-composites/src/composites/common/utils.js +4 -0
  635. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  636. package/dist/dist-esm/react-composites/src/composites/index.d.ts +3 -0
  637. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  638. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +199 -0
  639. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +92 -3
  640. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +92 -3
  641. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +77 -1
  642. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +92 -3
  643. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +199 -0
  644. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +92 -3
  645. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +199 -0
  646. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.d.ts +36 -0
  647. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js +61 -1
  648. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  649. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +92 -3
  650. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +92 -3
  651. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +92 -3
  652. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +199 -0
  653. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +92 -3
  654. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +199 -0
  655. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +92 -3
  656. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +92 -3
  657. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +199 -0
  658. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +92 -3
  659. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +92 -3
  660. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +92 -3
  661. package/package.json +46 -40
  662. package/CHANGELOG.beta.md +0 -668
  663. package/CHANGELOG.json +0 -10238
  664. package/CHANGELOG.stable.md +0 -373
  665. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.d.ts +0 -14
  666. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js +0 -19
  667. package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js.map +0 -1
  668. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts +0 -7
  669. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +0 -32
  670. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +0 -1
  671. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts +0 -9
  672. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js +0 -26
  673. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +0 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts +0 -24
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +0 -80
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +0 -1
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.d.ts +0 -16
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js +0 -38
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js.map +0 -1
  680. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts +0 -27
  681. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +0 -190
  682. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +0 -1
  683. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.d.ts +0 -34
  684. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +0 -90
  685. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +0 -1
  686. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton.js.map +0 -1
  687. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButtonWithUnreadMessagesBadge.js.map +0 -1
  688. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ConvertContextualMenuItemToDrawerMenuItem.js.map +0 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +0 -67
  690. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +0 -75
  691. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +0 -1
  692. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/NotificationIcon.js.map +0 -1
  693. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeopleButton.js.map +0 -1
  694. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js +0 -22
  695. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js.map +0 -1
  696. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js +0 -65
  697. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/DesktopMoreButton.js.map +0 -1
  698. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +0 -1
  699. /package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/{NotificationIcon.d.ts → ChatButton/NotificationIcon.d.ts} +0 -0
  700. /package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/{NotificationIcon.js → ChatButton/NotificationIcon.js} +0 -0
  701. /package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/ConvertContextualMenuItemToDrawerMenuItem.d.ts +0 -0
  702. /package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/ConvertContextualMenuItemToDrawerMenuItem.js +0 -0
@@ -19,6 +19,8 @@
19
19
 
20
20
  import { AddPhoneNumberOptions } from '@azure/communication-calling';
21
21
  import { AudioDeviceInfo } from '@azure/communication-calling';
22
+ import { BackgroundBlurConfig } from '@azure/communication-calling-effects';
23
+ import { BackgroundReplacementConfig } from '@azure/communication-calling-effects';
22
24
  import { Call } from '@azure/communication-calling';
23
25
  import { CallAgent } from '@azure/communication-calling';
24
26
  import { CallClient } from '@azure/communication-calling';
@@ -28,6 +30,7 @@ import { CallEndReason } from '@azure/communication-calling';
28
30
  import { CallerInfo } from '@azure/communication-calling';
29
31
  import { CallKind } from '@azure/communication-calling';
30
32
  import { CallState as CallState_2 } from '@azure/communication-calling';
33
+ import { CaptionsResultType } from '@azure/communication-calling';
31
34
  import { ChatClient } from '@azure/communication-chat';
32
35
  import { ChatClientOptions } from '@azure/communication-chat';
33
36
  import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
@@ -39,7 +42,6 @@ import { CommunicationIdentifierKind } from '@azure/communication-common';
39
42
  import { CommunicationTokenCredential } from '@azure/communication-common';
40
43
  import { CommunicationUserIdentifier } from '@azure/communication-common';
41
44
  import { CommunicationUserKind } from '@azure/communication-common';
42
- import { ComponentSlotStyle } from '@fluentui/react-northstar';
43
45
  import { CreateViewOptions } from '@azure/communication-calling';
44
46
  import { DeviceAccess } from '@azure/communication-calling';
45
47
  import { DeviceManager } from '@azure/communication-calling';
@@ -58,12 +60,14 @@ import { IMessageBarProps } from '@fluentui/react';
58
60
  import { IncomingCall } from '@azure/communication-calling';
59
61
  import { IPersonaStyleProps } from '@fluentui/react';
60
62
  import { IPersonaStyles } from '@fluentui/react';
63
+ import { IRawStyle } from '@fluentui/react';
61
64
  import { IRenderFunction } from '@fluentui/react';
62
65
  import { IStyle } from '@fluentui/react';
63
66
  import { IStyleFunctionOrObject } from '@fluentui/react';
64
67
  import { ITextFieldStyles } from '@fluentui/react';
65
68
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
66
69
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
70
+ import { LocalVideoStream } from '@azure/communication-calling';
67
71
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
68
72
  import { MediaStreamType } from '@azure/communication-calling';
69
73
  import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
@@ -85,17 +89,36 @@ import { RoomCallLocator } from '@azure/communication-calling';
85
89
  import { ScalingMode } from '@azure/communication-calling';
86
90
  import { SendMessageOptions } from '@azure/communication-chat';
87
91
  import { StartCallOptions } from '@azure/communication-calling';
92
+ import { StartCaptionsOptions } from '@azure/communication-calling';
88
93
  import { TeamsCall } from '@azure/communication-calling';
89
94
  import { TeamsCallAgent } from '@azure/communication-calling';
90
95
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
91
96
  import { Theme } from '@fluentui/react';
97
+ import { TransferRequestedEventArgs } from '@azure/communication-calling';
92
98
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
93
99
  import { UnknownIdentifier } from '@azure/communication-common';
94
100
  import { UnknownIdentifierKind } from '@azure/communication-common';
95
101
  import { VideoDeviceInfo } from '@azure/communication-calling';
102
+ import { VideoEffectName } from '@azure/communication-calling';
96
103
  import { VideoStreamRenderer } from '@azure/communication-calling';
97
104
  import { VideoStreamRendererView } from '@azure/communication-calling';
98
105
 
106
+ /**
107
+ * Transfer feature state
108
+ *
109
+ * @beta
110
+ */
111
+ export declare interface AcceptedTransfer {
112
+ /**
113
+ * Stores call id of accepted transfer
114
+ */
115
+ callId: string;
116
+ /**
117
+ * Stores timestamp when transfer was accepted
118
+ */
119
+ timestamp: Date;
120
+ }
121
+
99
122
  /**
100
123
  * Active error messages to be shown via {@link ErrorBar}.
101
124
  *
@@ -213,6 +236,13 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
213
236
  */
214
237
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
215
238
 
239
+ /**
240
+ * @beta
241
+ */
242
+ export declare interface AttachmentDownloadResult {
243
+ blobUrl: string;
244
+ }
245
+
216
246
  /**
217
247
  * Custom data attributes for displaying avatar for a user.
218
248
  *
@@ -291,7 +321,7 @@ export declare type AzureCommunicationCallAdapterOptions = {
291
321
  * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
292
322
  */
293
323
  roleHint?: Role;
294
- };
324
+ } & CommonCallAdapterOptions;
295
325
 
296
326
  /**
297
327
  * Arguments for {@link createAzureCommunicationCallWithChatAdapter}
@@ -319,6 +349,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
319
349
  callClient: StatefulCallClient;
320
350
  chatClient: StatefulChatClient;
321
351
  chatThreadClient: ChatThreadClient;
352
+ options?: AzureCommunicationChatAdapterOptions;
322
353
  };
323
354
 
324
355
  /**
@@ -334,6 +365,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
334
365
  threadId: string;
335
366
  };
336
367
 
368
+ /**
369
+ * Configuration options to include when creating AzureCommunicationChatAdapter.
370
+ * @beta
371
+ */
372
+ export declare type AzureCommunicationChatAdapterOptions = {
373
+ credential?: CommunicationTokenCredential;
374
+ };
375
+
337
376
  /**
338
377
  * Properties common to all composites exported from this library.
339
378
  *
@@ -389,6 +428,26 @@ export declare interface BaseCustomStyles {
389
428
  root?: IStyle;
390
429
  }
391
430
 
431
+ /**
432
+ * Content blocked message type.
433
+ *
434
+ * Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
435
+ *
436
+ * @beta
437
+ */
438
+ export declare interface BlockedMessage extends MessageCommon {
439
+ messageType: 'blocked';
440
+ warningText?: string;
441
+ linkText?: string;
442
+ link?: string;
443
+ deletedOn?: Date;
444
+ senderId?: string;
445
+ senderDisplayName?: string;
446
+ status?: MessageStatus;
447
+ attached?: MessageAttachedStatus;
448
+ mine?: boolean;
449
+ }
450
+
392
451
  /**
393
452
  * @beta
394
453
  * Props for BrowserPermissionDeniedIOS component.
@@ -674,12 +733,39 @@ export declare interface CallAdapterCallOperations {
674
733
  * @remarks
675
734
  * This method is implemented for composite
676
735
  *
736
+ * @deprecated Use {@link disposeRemoteVideoStreamView}, {@link disposeLocalVideoStreamView} and {@link disposeRemoteVideoStreamView} instead.
737
+ *
677
738
  * @param remoteUserId - Id of the participant to render, leave it undefined to dispose the local camera view
678
739
  * @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
679
740
  *
680
741
  * @public
681
742
  */
682
743
  disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
744
+ /**
745
+ * Dispose the html view for a screen share stream
746
+ *
747
+ * @remarks
748
+ * this method is implemented for composite
749
+ *
750
+ * @param remoteUserId - Id of the participant to dispose the screen share stream view for.
751
+ *
752
+ * @public
753
+ */
754
+ disposeScreenShareStreamView(remoteUserId: string): Promise<void>;
755
+ /**
756
+ * Dispose the html view for a remote video stream
757
+ *
758
+ * @param remoteUserId - Id of the participant to dispose
759
+ *
760
+ * @public
761
+ */
762
+ disposeRemoteVideoStreamView(remoteUserId: string): Promise<void>;
763
+ /**
764
+ * Dispose the html view for a local video stream
765
+ *
766
+ * @public
767
+ */
768
+ disposeLocalVideoStreamView(): Promise<void>;
683
769
  /**
684
770
  * Holds the call.
685
771
  *
@@ -709,6 +795,51 @@ export declare interface CallAdapterCallOperations {
709
795
  * Continues into a call when the browser version is not supported.
710
796
  */
711
797
  allowUnsupportedBrowserVersion(): void;
798
+ /**
799
+ * Function to Start captions
800
+ * @param options - options for start captions
801
+ */
802
+ startCaptions(options?: StartCaptionsOptions): Promise<void>;
803
+ /**
804
+ * Function to set caption language
805
+ * @param language - language set for caption
806
+ */
807
+ setCaptionLanguage(language: string): Promise<void>;
808
+ /**
809
+ * Function to set spoken language
810
+ * @param language - spoken language
811
+ */
812
+ setSpokenLanguage(language: string): Promise<void>;
813
+ /**
814
+ * Funtion to stop captions
815
+ */
816
+ stopCaptions(): Promise<void>;
817
+ /**
818
+ * Start the video background effect.
819
+ *
820
+ * @beta
821
+ */
822
+ startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
823
+ /**
824
+ * Stop the video background effect.
825
+ *
826
+ * @beta
827
+ */
828
+ stopVideoBackgroundEffects(): Promise<void>;
829
+ /**
830
+ * Override the background picker images for background replacement effect.
831
+ *
832
+ * @param backgroundImages - Array of custom background images.
833
+ *
834
+ * @beta
835
+ */
836
+ updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
837
+ /**
838
+ * Update the selected video background effect.
839
+ *
840
+ * @beta
841
+ */
842
+ updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
712
843
  }
713
844
 
714
845
  /**
@@ -746,6 +877,18 @@ export declare type CallAdapterClientState = {
746
877
  * control bar with the CallComposite.
747
878
  */
748
879
  cameraStatus?: 'On' | 'Off';
880
+ /**
881
+ * Default set of background images for background replacement effect.
882
+ */
883
+ videoBackgroundImages?: VideoBackgroundImage[];
884
+ /**
885
+ * State to track the selected video background effect.
886
+ */
887
+ selectedVideoBackgroundEffect?: VideoBackgroundEffect;
888
+ /**
889
+ * Call from transfer request accepted by local user
890
+ */
891
+ acceptedTransferCallState?: CallState;
749
892
  };
750
893
 
751
894
  /**
@@ -907,6 +1050,18 @@ export declare interface CallAdapterSubscribers {
907
1050
  * Subscribe function for 'error' event.
908
1051
  */
909
1052
  on(event: 'error', listener: (e: AdapterError) => void): void;
1053
+ /**
1054
+ * Subscribe function for 'captionsReceived' event.
1055
+ */
1056
+ on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
1057
+ /**
1058
+ * Subscribe function for 'isCaptionsActiveChanged' event.
1059
+ */
1060
+ on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1061
+ /**
1062
+ * Subscribe function for 'transferRequested' event.
1063
+ */
1064
+ on(event: 'transferRequested', listener: TransferRequestedListener): void;
910
1065
  /**
911
1066
  * Unsubscribe function for 'participantsJoined' event.
912
1067
  */
@@ -955,6 +1110,18 @@ export declare interface CallAdapterSubscribers {
955
1110
  * Unsubscribe function for 'error' event.
956
1111
  */
957
1112
  off(event: 'error', listener: (e: AdapterError) => void): void;
1113
+ /**
1114
+ * Unsubscribe function for 'captionsReceived' event.
1115
+ */
1116
+ off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
1117
+ /**
1118
+ * Unsubscribe function for 'isCaptionsActiveChanged' event.
1119
+ */
1120
+ off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1121
+ /**
1122
+ * Unsubscribe function for 'transferRequested' event.
1123
+ */
1124
+ off(event: 'transferRequested', listener: TransferRequestedListener): void;
958
1125
  }
959
1126
 
960
1127
  /**
@@ -1125,6 +1292,7 @@ export declare const CallComposite: (props: CallCompositeProps) => JSX.Element;
1125
1292
  * @public
1126
1293
  */
1127
1294
  export declare type CallCompositeIcons = {
1295
+ ControlBarPeopleButton?: JSX.Element;
1128
1296
  ControlButtonCameraOff?: JSX.Element;
1129
1297
  ControlButtonCameraOn?: JSX.Element;
1130
1298
  ControlButtonEndCall?: JSX.Element;
@@ -1173,6 +1341,8 @@ export declare type CallCompositeIcons = {
1173
1341
  PeoplePaneOpenDialpad?: JSX.Element;
1174
1342
  DialpadStartCall?: JSX.Element;
1175
1343
  NoticePageInvalidRoom?: JSX.Element;
1344
+ BlurVideoBackground?: JSX.Element;
1345
+ RemoveVideoBackgroundEffect?: JSX.Element;
1176
1346
  };
1177
1347
 
1178
1348
  /**
@@ -1247,6 +1417,12 @@ export declare type CallCompositeOptions = {
1247
1417
  * Remote participant video tile menu options
1248
1418
  */
1249
1419
  remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
1420
+ /**
1421
+ * Options for controlling the local video tile.
1422
+ *
1423
+ * @remarks if 'false' the local video tile will not be rendered.
1424
+ */
1425
+ localVideoTile?: boolean | LocalVideoTileOptions;
1250
1426
  };
1251
1427
 
1252
1428
  /**
@@ -1254,7 +1430,7 @@ export declare type CallCompositeOptions = {
1254
1430
  *
1255
1431
  * @public
1256
1432
  */
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';
1433
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
1258
1434
 
1259
1435
  /**
1260
1436
  * Props for {@link CallComposite}.
@@ -1360,6 +1536,10 @@ export declare interface CallCompositeStrings {
1360
1536
  * More details text of the page shown to the user when joining a call fails due to a network problem.
1361
1537
  */
1362
1538
  failedToJoinCallDueToNoNetworkMoreDetails?: string;
1539
+ /**
1540
+ * Text to display on a leaving page.
1541
+ */
1542
+ leavingCallTitle?: string;
1363
1543
  /**
1364
1544
  * Title text of the page shown to the user when they leave a call in the call composite.
1365
1545
  */
@@ -1572,6 +1752,42 @@ export declare interface CallCompositeStrings {
1572
1752
  * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1573
1753
  */
1574
1754
  roomNotFoundDetails?: string;
1755
+ /**
1756
+ * Video Effects pane title.
1757
+ */
1758
+ videoEffectsPaneTitle: string;
1759
+ /**
1760
+ * Video Effects pane sub section title for choosing background.
1761
+ */
1762
+ videoEffectsPaneBackgroundSelectionTitle: string;
1763
+ /**
1764
+ * Label for the button to open effects
1765
+ */
1766
+ configurationPageVideoEffectsButtonLabel?: string;
1767
+ /**
1768
+ * Error message for video effect failure
1769
+ */
1770
+ unableToStartVideoEffect?: string;
1771
+ /**
1772
+ * Label for the blur video background effect item
1773
+ */
1774
+ blurBackgroundEffectButtonLabel?: string;
1775
+ /**
1776
+ * Tooltip text for the blur video background effect item
1777
+ */
1778
+ blurBackgroundTooltip?: string;
1779
+ /**
1780
+ * Label for the remove video background effect item
1781
+ */
1782
+ removeBackgroundEffectButtonLabel?: string;
1783
+ /**
1784
+ * Tooltip text for the blur video background effect item
1785
+ */
1786
+ removeBackgroundTooltip?: string;
1787
+ /**
1788
+ * Text to show when warning the user the camera is off and inform the user to turn the camera on to see the selected video background effect.
1789
+ */
1790
+ cameraOffBackgroundEffectWarningText?: string;
1575
1791
  /**
1576
1792
  * Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
1577
1793
  */
@@ -1636,85 +1852,117 @@ export declare interface CallCompositeStrings {
1636
1852
  * string to be used to announce when multiple unnamed participants have left at the same time.
1637
1853
  */
1638
1854
  manyUnnamedParticipantsLeft: string;
1639
- }
1640
-
1641
- /**
1642
- * Control bar display type for {@link CallComposite}.
1643
- *
1644
- * @public
1645
- */
1646
- export declare type CallControlDisplayType = 'default' | 'compact';
1647
-
1648
- /**
1649
- * Customization options for the control bar in calling experience.
1650
- *
1651
- * @public
1652
- */
1653
- export declare type CallControlOptions = {
1654
1855
  /**
1655
- * {@link CallControlDisplayType} to change how the call controls are displayed.
1656
- * `'compact'` display type will decreases the size of buttons and hide the labels.
1657
- *
1658
- * @remarks
1659
- * If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
1660
- *
1661
- * @defaultValue 'default'
1856
+ * string to be used to open live captions contextual menu
1662
1857
  */
1663
- displayType?: CallControlDisplayType;
1858
+ liveCaptionsLabel?: string;
1664
1859
  /**
1665
- * Show or Hide Camera Button during a call
1666
- * @defaultValue true
1860
+ * label for opening captions setting modal
1667
1861
  */
1668
- cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1669
- disabled: boolean;
1670
- };
1862
+ captionsSettingsLabel?: string;
1671
1863
  /**
1672
- * Show or Hide EndCall button during a call.
1673
- * @defaultValue true
1864
+ * string to be used to start captions
1674
1865
  */
1675
- endCallButton?: boolean;
1866
+ startCaptionsButtonOnLabel?: string;
1676
1867
  /**
1677
- * Show or Hide Microphone button during a call.
1678
- * @defaultValue true
1868
+ * string to be used to stop captions
1679
1869
  */
1680
- microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1681
- disabled: boolean;
1682
- };
1870
+ startCaptionsButtonOffLabel?: string;
1683
1871
  /**
1684
- * Show or Hide Devices button during a call.
1685
- * @defaultValue true
1872
+ * tooltip string to be used to show captions is on
1686
1873
  */
1687
- devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
1688
- disabled: boolean;
1689
- };
1874
+ startCaptionsButtonTooltipOnContent?: string;
1690
1875
  /**
1691
- * Show, Hide or Disable participants button during a call.
1692
- * @defaultValue true
1876
+ *tooltip string to be used to show captions is off
1693
1877
  */
1694
- participantsButton?: boolean | {
1695
- disabled: boolean;
1696
- };
1878
+ startCaptionsButtonTooltipOffContent?: string;
1697
1879
  /**
1698
- * Show, Hide or Disable the screen share button during a call.
1699
- * @defaultValue true
1880
+ * captions setting modal title
1700
1881
  */
1701
- screenShareButton?: boolean | {
1702
- disabled: boolean;
1703
- };
1882
+ captionsSettingsModalTitle?: string;
1704
1883
  /**
1705
- * Show, Hide or disable the more button during a call.
1706
- * @defaultValue true
1884
+ * label for dropdown inside captions setting modal
1707
1885
  */
1708
- moreButton?: boolean;
1886
+ captionsSettingsDropdownLabel?: string;
1709
1887
  /**
1710
- * Inject custom buttons in the call controls.
1711
- *
1712
- * @beta
1888
+ * text under captions setting dropdown indicating what the dropdown is for
1713
1889
  */
1714
- onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
1715
- holdButton?: boolean | {
1890
+ captionsSettingsDropdownInfoText?: string;
1891
+ /**
1892
+ * confirm button label in captions setting modal
1893
+ */
1894
+ captionsSettingsConfirmButtonLabel?: string;
1895
+ /**
1896
+ * cancel button label in captions setting modal
1897
+ */
1898
+ captionsSettingsCancelButtonLabel?: string;
1899
+ /**
1900
+ * arial label for captions setting modal
1901
+ */
1902
+ captionsSettingsModalAriaLabel?: string;
1903
+ /**
1904
+ * arial label for captions setting modal close button
1905
+ */
1906
+ captionsSettingsCloseModalButtonAriaLabel?: string;
1907
+ /**
1908
+ * label for more button inside captions banner
1909
+ */
1910
+ captionsBannerMoreButtonCallingLabel?: string;
1911
+ /**
1912
+ * arial label for more button inside captions banner
1913
+ */
1914
+ captionsBannerMoreButtonTooltip?: string;
1915
+ /**
1916
+ * list of key value pairs that pairs language code to language names
1917
+ */
1918
+ captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
1919
+ /**
1920
+ * captions banner loading spinner label
1921
+ */
1922
+ captionsBannerSpinnerText?: string;
1923
+ /**
1924
+ * transfer page text when showing the transferor who initiated the transfer
1925
+ */
1926
+ transferPageTransferorText: string;
1927
+ /**
1928
+ * transfer page text when showing the transfer target
1929
+ */
1930
+ transferPageTransferTargetText: string;
1931
+ /**
1932
+ * transfer page display name for unknown participant
1933
+ */
1934
+ transferPageUnknownTransferorDisplayName: string;
1935
+ /**
1936
+ * transfer page display name for unknown participant
1937
+ */
1938
+ transferPageUnknownTransferTargetDisplayName: string;
1939
+ /**
1940
+ * notice to be announced by narrator the transfer page is showing
1941
+ */
1942
+ transferPageNoticeString: string;
1943
+ }
1944
+
1945
+ /**
1946
+ * Control bar display type for {@link CallComposite}.
1947
+ *
1948
+ * @public
1949
+ */
1950
+ export declare type CallControlDisplayType = 'default' | 'compact';
1951
+
1952
+ /**
1953
+ * Customization options for the control bar in calling experience.
1954
+ *
1955
+ * @public
1956
+ */
1957
+ export declare type CallControlOptions = CommonCallControlOptions & {
1958
+ /**
1959
+ * Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
1960
+ * @defaultValue true
1961
+ */
1962
+ participantsButton?: boolean | {
1716
1963
  disabled: boolean;
1717
1964
  };
1965
+ legacyControlBarExperience?: boolean;
1718
1966
  };
1719
1967
 
1720
1968
  /**
@@ -1776,7 +2024,7 @@ export declare type CallErrors = {
1776
2024
  *
1777
2025
  * @public
1778
2026
  */
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';
2027
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | /* @conditional-compile-remove(video-background-effects) */ 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
1780
2028
 
1781
2029
  /**
1782
2030
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1952,6 +2200,14 @@ export declare interface CallState {
1952
2200
  * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
1953
2201
  */
1954
2202
  transcription: TranscriptionCallFeature;
2203
+ /**
2204
+ * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
2205
+ */
2206
+ captionsFeature: CaptionsCallFeatureState;
2207
+ /**
2208
+ * Proxy of {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
2209
+ */
2210
+ optimalVideoCount: OptimalVideoCountFeatureState;
1955
2211
  /**
1956
2212
  * Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
1957
2213
  */
@@ -1984,6 +2240,14 @@ export declare interface CallState {
1984
2240
  * Proxy of {@link @azure/communication-calling#Call.role}.
1985
2241
  */
1986
2242
  role?: ParticipantRole;
2243
+ /**
2244
+ * Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
2245
+ */
2246
+ totalParticipantCount?: number;
2247
+ /**
2248
+ * Transfer state of call
2249
+ */
2250
+ transfer: TransferFeature;
1987
2251
  }
1988
2252
 
1989
2253
  /**
@@ -2109,6 +2373,31 @@ export declare interface CallWithChatAdapterManagement {
2109
2373
  * @public
2110
2374
  */
2111
2375
  disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
2376
+ /**
2377
+ * Dispose the html view for a screen share stream
2378
+ *
2379
+ * @remarks
2380
+ * this method is implemented for composite
2381
+ *
2382
+ * @param remoteUserId - Id of the participant to dispose the screen share stream view for.
2383
+ *
2384
+ * @public
2385
+ */
2386
+ disposeScreenShareStreamView(remoteUserId: string): Promise<void>;
2387
+ /**
2388
+ * Dispose the html view for a remote video stream
2389
+ *
2390
+ * @param remoteUserId - Id of the participant to dispose
2391
+ *
2392
+ * @public
2393
+ */
2394
+ disposeRemoteVideoStreamView(remoteUserId: string): Promise<void>;
2395
+ /**
2396
+ * Dispose the html view for a local video stream
2397
+ *
2398
+ * @public
2399
+ */
2400
+ disposeLocalVideoStreamView(): Promise<void>;
2112
2401
  /**
2113
2402
  * Ask for permissions of devices.
2114
2403
  *
@@ -2239,6 +2528,9 @@ export declare interface CallWithChatAdapterManagement {
2239
2528
  updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2240
2529
  /** @beta */
2241
2530
  updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2531
+ downloadAttachments: (options: {
2532
+ attachmentUrls: string[];
2533
+ }) => Promise<AttachmentDownloadResult[]>;
2242
2534
  /**
2243
2535
  * Puts the Call in a Localhold.
2244
2536
  *
@@ -2268,14 +2560,59 @@ export declare interface CallWithChatAdapterManagement {
2268
2560
  * Continues into a call when the browser version is not supported.
2269
2561
  */
2270
2562
  allowUnsupportedBrowserVersion(): void;
2271
- }
2272
-
2273
- /**
2274
- * CallWithChat State is a combination of Stateful Chat and Stateful Calling clients with some
2275
- * state specific to the CallWithChat Composite only.
2276
- *
2277
- * @public
2278
- */
2563
+ /**
2564
+ * Function to Start captions
2565
+ * @param options - options for start captions
2566
+ */
2567
+ startCaptions(options?: StartCaptionsOptions): Promise<void>;
2568
+ /**
2569
+ * Function to set caption language
2570
+ * @param language - language set for caption
2571
+ */
2572
+ setCaptionLanguage(language: string): Promise<void>;
2573
+ /**
2574
+ * Function to set spoken language
2575
+ * @param language - spoken language
2576
+ */
2577
+ setSpokenLanguage(language: string): Promise<void>;
2578
+ /**
2579
+ * Funtion to stop captions
2580
+ */
2581
+ stopCaptions(): Promise<void>;
2582
+ /**
2583
+ * Start the video background effect.
2584
+ *
2585
+ * @beta
2586
+ */
2587
+ startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
2588
+ /**
2589
+ * Stop the video background effect.
2590
+ *
2591
+ * @beta
2592
+ */
2593
+ stopVideoBackgroundEffects(): Promise<void>;
2594
+ /**
2595
+ * Override the background picker images for background replacement effect.
2596
+ *
2597
+ * @param backgroundImages - Array of custom background images.
2598
+ *
2599
+ * @beta
2600
+ */
2601
+ updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
2602
+ /**
2603
+ * Update the selected video background effect
2604
+ *
2605
+ * @beta
2606
+ */
2607
+ updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
2608
+ }
2609
+
2610
+ /**
2611
+ * CallWithChat State is a combination of Stateful Chat and Stateful Calling clients with some
2612
+ * state specific to the CallWithChat Composite only.
2613
+ *
2614
+ * @public
2615
+ */
2279
2616
  export declare interface CallWithChatAdapterState extends CallWithChatAdapterUiState, CallWithChatClientState {
2280
2617
  }
2281
2618
 
@@ -2295,6 +2632,8 @@ export declare interface CallWithChatAdapterSubscriptions {
2295
2632
  on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
2296
2633
  on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
2297
2634
  on(event: 'callError', listener: (e: AdapterError) => void): void;
2635
+ on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2636
+ on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
2298
2637
  off(event: 'callEnded', listener: CallEndedListener): void;
2299
2638
  off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
2300
2639
  off(event: 'callIdChanged', listener: CallIdChangedListener): void;
@@ -2306,6 +2645,8 @@ export declare interface CallWithChatAdapterSubscriptions {
2306
2645
  off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
2307
2646
  off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
2308
2647
  off(event: 'callError', listener: (e: AdapterError) => void): void;
2648
+ off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2649
+ off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
2309
2650
  on(event: 'messageReceived', listener: MessageReceivedListener): void;
2310
2651
  on(event: 'messageSent', listener: MessageSentListener): void;
2311
2652
  on(event: 'messageRead', listener: MessageReadListener): void;
@@ -2382,6 +2723,10 @@ export declare interface CallWithChatClientState {
2382
2723
  alternateCallerId?: string | undefined;
2383
2724
  /** Environment information for system adapter is made on */
2384
2725
  environmentInfo?: EnvironmentInfo;
2726
+ /** Default set of background images for background replacement effect */
2727
+ videoBackgroundImages?: VideoBackgroundImage[];
2728
+ /** State to track the selected video background effect */
2729
+ selectedVideoBackgroundEffect?: VideoBackgroundEffect;
2385
2730
  }
2386
2731
 
2387
2732
  /**
@@ -2618,6 +2963,18 @@ export declare interface CallWithChatCompositeStrings {
2618
2963
  * Only used with `mobileView` set to `true`.
2619
2964
  */
2620
2965
  moreDrawerSpeakerMenuTitle: string;
2966
+ /**
2967
+ * Title for the captions sub-menu in more button drawer.
2968
+ *
2969
+ * Only used with `mobileView` set to `true`.
2970
+ */
2971
+ moreDrawerCaptionsMenuTitle: string;
2972
+ /**
2973
+ * Title for the spoken language sub-menu in more button drawer.
2974
+ *
2975
+ * Only used with `mobileView` set to `true`.
2976
+ */
2977
+ moreDrawerSpokenLanguageMenuTitle: string;
2621
2978
  /**
2622
2979
  * {@Link CallWithChatComposite} control bar More button label
2623
2980
  */
@@ -2709,47 +3066,11 @@ export declare interface CallWithChatCompositeStrings {
2709
3066
  }
2710
3067
 
2711
3068
  /**
2712
- * {@link CallWithChatComposite} Call controls to show or hide buttons on the calling control bar.
3069
+ * Customization options for the control bar in calling with chat experience.
2713
3070
  *
2714
3071
  * @public
2715
3072
  */
2716
- export declare interface CallWithChatControlOptions {
2717
- /**
2718
- * {@link CallControlDisplayType} to change how the call controls are displayed.
2719
- * `'compact'` display type will decreases the size of buttons and hide the labels.
2720
- *
2721
- * @remarks
2722
- * If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
2723
- *
2724
- * @defaultValue 'default'
2725
- */
2726
- displayType?: CallControlDisplayType;
2727
- /**
2728
- * Show or Hide Microphone button during a call.
2729
- * @defaultValue true
2730
- */
2731
- microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2732
- disabled: boolean;
2733
- };
2734
- /**
2735
- * Show or Hide Camera Button during a call
2736
- * @defaultValue true
2737
- */
2738
- cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2739
- disabled: boolean;
2740
- };
2741
- /**
2742
- * Show, Hide or Disable the screen share button during a call.
2743
- * @defaultValue true
2744
- */
2745
- screenShareButton?: boolean | {
2746
- disabled: boolean;
2747
- };
2748
- /**
2749
- * Show or Hide EndCall button during a call.
2750
- * @defaultValue true
2751
- */
2752
- endCallButton?: boolean;
3073
+ export declare interface CallWithChatControlOptions extends CommonCallControlOptions {
2753
3074
  /**
2754
3075
  * Show or hide the chat button in the call-with-chat composite control bar.
2755
3076
  * @defaultValue true
@@ -2757,29 +3078,6 @@ export declare interface CallWithChatControlOptions {
2757
3078
  chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
2758
3079
  disabled: boolean;
2759
3080
  };
2760
- /**
2761
- * Show or hide the people button in the call-with-chat composite control bar.
2762
- * @defaultValue true
2763
- */
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
- };
2783
3081
  }
2784
3082
 
2785
3083
  /**
@@ -2787,7 +3085,7 @@ export declare interface CallWithChatControlOptions {
2787
3085
  *
2788
3086
  * @public
2789
3087
  */
2790
- export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
3088
+ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2791
3089
 
2792
3090
  /**
2793
3091
  * @beta
@@ -2880,6 +3178,10 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
2880
3178
  * Styles for {@link CameraButton} and the device selection flyout.
2881
3179
  */
2882
3180
  styles?: Partial<CameraButtonStyles>;
3181
+ /**
3182
+ * Callback when a effects is clicked
3183
+ */
3184
+ onShowVideoEffectsPicker?: (showVideoEffectsOptions: boolean) => void;
2883
3185
  }
2884
3186
 
2885
3187
  /**
@@ -2940,6 +3242,22 @@ export declare interface CameraButtonStrings {
2940
3242
  * Camera action turned off string for announcer
2941
3243
  */
2942
3244
  cameraActionTurnedOffAnnouncement?: string;
3245
+ /**
3246
+ * Primary action for when the camera is turned off
3247
+ */
3248
+ offSplitButtonPrimaryActionCamera?: string;
3249
+ /**
3250
+ * Primary action for when the camera is on
3251
+ */
3252
+ onSplitButtonPrimaryActionCamera?: string;
3253
+ /**
3254
+ * Title for primary action section of split button
3255
+ */
3256
+ cameraPrimaryActionSplitButtonTitle?: string;
3257
+ /**
3258
+ * Title for video effects menu item
3259
+ */
3260
+ videoEffectsMenuItemTitle?: string;
2943
3261
  }
2944
3262
 
2945
3263
  /**
@@ -2979,6 +3297,146 @@ export declare interface CameraSitePermissionsProps extends CommonSitePermission
2979
3297
  */
2980
3298
  export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
2981
3299
 
3300
+ /**
3301
+ * @public
3302
+ * Callback function run when a message edit is cancelled.
3303
+ */
3304
+ export declare type CancelEditCallback = (messageId: string) => void;
3305
+
3306
+ /**
3307
+ * @beta
3308
+ * strings for captions setting modal
3309
+ */
3310
+ export declare interface CaptionsAvailableLanguageStrings {
3311
+ 'ar-ae': string;
3312
+ 'ar-sa': string;
3313
+ 'da-dk': string;
3314
+ 'de-de': string;
3315
+ 'en-au': string;
3316
+ 'en-ca': string;
3317
+ 'en-gb': string;
3318
+ 'en-in': string;
3319
+ 'en-nz': string;
3320
+ 'en-us': string;
3321
+ 'es-es': string;
3322
+ 'es-mx': string;
3323
+ 'fi-fi': string;
3324
+ 'fr-ca': string;
3325
+ 'fr-fr': string;
3326
+ 'hi-in': string;
3327
+ 'it-it': string;
3328
+ 'ja-jp': string;
3329
+ 'ko-kr': string;
3330
+ 'nb-no': string;
3331
+ 'nl-be': string;
3332
+ 'nl-nl': string;
3333
+ 'pl-pl': string;
3334
+ 'pt-br': string;
3335
+ 'ru-ru': string;
3336
+ 'sv-se': string;
3337
+ 'zh-cn': string;
3338
+ 'zh-hk': string;
3339
+ 'cs-cz': string;
3340
+ 'pt-pt': string;
3341
+ 'tr-tr': string;
3342
+ 'vi-vn': string;
3343
+ 'th-th': string;
3344
+ 'he-il': string;
3345
+ 'cy-gb': string;
3346
+ 'uk-ua': string;
3347
+ 'el-gr': string;
3348
+ 'hu-hu': string;
3349
+ 'ro-ro': string;
3350
+ 'sk-sk': string;
3351
+ 'zh-tw': string;
3352
+ }
3353
+
3354
+ /**
3355
+ * @beta
3356
+ */
3357
+ export declare interface CaptionsCallFeatureState {
3358
+ /**
3359
+ * supported spoken languages
3360
+ */
3361
+ supportedSpokenLanguages: string[];
3362
+ /**
3363
+ * array of received captions
3364
+ */
3365
+ captions: CaptionsInfo[];
3366
+ /**
3367
+ * whether captions is on/off
3368
+ */
3369
+ isCaptionsFeatureActive: boolean;
3370
+ /**
3371
+ * whether start captions button is clicked or now
3372
+ */
3373
+ startCaptionsInProgress: boolean;
3374
+ /**
3375
+ * supported caption languages
3376
+ */
3377
+ supportedCaptionLanguages: string[];
3378
+ /**
3379
+ * current spoken language
3380
+ */
3381
+ currentSpokenLanguage: string;
3382
+ /**
3383
+ * current caption language
3384
+ */
3385
+ currentCaptionLanguage: string;
3386
+ }
3387
+
3388
+ /**
3389
+ * @beta
3390
+ */
3391
+ export declare interface CaptionsInfo {
3392
+ /**
3393
+ * The state in which this caption data can be classified.
3394
+ */
3395
+ resultType: CaptionsResultType;
3396
+ /**
3397
+ * The information of the call participant who spoke the captioned text.
3398
+ */
3399
+ speaker: CallerInfo;
3400
+ /**
3401
+ * The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
3402
+ */
3403
+ spokenLanguage: string;
3404
+ /**
3405
+ * The caption text.
3406
+ */
3407
+ captionText: string;
3408
+ /**
3409
+ * Timestamp of when the captioned words were initially spoken.
3410
+ */
3411
+ timestamp: Date;
3412
+ /**
3413
+ * The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
3414
+ */
3415
+ captionLanguage?: string;
3416
+ /**
3417
+ * The original spoken caption text prior to translating to subtitle language
3418
+ */
3419
+ spokenText?: string;
3420
+ }
3421
+
3422
+ /**
3423
+ * options bag to start captions
3424
+ *
3425
+ * @beta
3426
+ */
3427
+ export declare type CaptionsOptions = {
3428
+ spokenLanguage: string;
3429
+ };
3430
+
3431
+ /**
3432
+ * Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
3433
+ *
3434
+ * @beta
3435
+ */
3436
+ export declare type CaptionsReceivedListener = (event: {
3437
+ captionsInfo: CaptionsInfo;
3438
+ }) => void;
3439
+
2982
3440
  /**
2983
3441
  * {@link ChatComposite} Adapter interface.
2984
3442
  *
@@ -3107,6 +3565,9 @@ export declare interface ChatAdapterThreadManagement {
3107
3565
  *
3108
3566
  */
3109
3567
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3568
+ downloadAttachments: (options: {
3569
+ attachmentUrls: string[];
3570
+ }) => Promise<AttachmentDownloadResult[]>;
3110
3571
  }
3111
3572
 
3112
3573
  /**
@@ -3398,6 +3859,7 @@ export declare interface ChatMessage extends MessageCommon {
3398
3859
  senderId?: string;
3399
3860
  senderDisplayName?: string;
3400
3861
  status?: MessageStatus;
3862
+ failureReason?: string;
3401
3863
  attached?: MessageAttachedStatus;
3402
3864
  mine?: boolean;
3403
3865
  clientMessageId?: string;
@@ -3426,6 +3888,7 @@ export declare interface ChatMessage extends MessageCommon {
3426
3888
  export declare type ChatMessageWithStatus = ChatMessage_2 & {
3427
3889
  clientMessageId?: string;
3428
3890
  status: MessageStatus;
3891
+ policyViolation?: boolean;
3429
3892
  };
3430
3893
 
3431
3894
  /**
@@ -3567,6 +4030,103 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
3567
4030
  startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
3568
4031
  }
3569
4032
 
4033
+ /**
4034
+ * Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
4035
+ *
4036
+ * @beta
4037
+ */
4038
+ export declare type CommonCallAdapterOptions = {
4039
+ /**
4040
+ * Default set of background images for background image picker.
4041
+ */
4042
+ videoBackgroundImages?: VideoBackgroundImage[];
4043
+ /**
4044
+ * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
4045
+ * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
4046
+ * and would not be updated again within the lifecycle of adapter.
4047
+ */
4048
+ onFetchProfile?: OnFetchProfileCallback;
4049
+ };
4050
+
4051
+ /**
4052
+ * Customization options for the control bar in calling experience.
4053
+ *
4054
+ * @public
4055
+ */
4056
+ export declare type CommonCallControlOptions = {
4057
+ /**
4058
+ * {@link CallControlDisplayType} to change how the call controls are displayed.
4059
+ * `'compact'` display type will decreases the size of buttons and hide the labels.
4060
+ *
4061
+ * @remarks
4062
+ * If the composite `formFactor` is set to `'mobile'`, the control bar will always use compact view.
4063
+ *
4064
+ * @defaultValue 'default'
4065
+ */
4066
+ displayType?: CallControlDisplayType;
4067
+ /**
4068
+ * Show or Hide Camera Button during a call
4069
+ * @defaultValue true
4070
+ */
4071
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4072
+ disabled: boolean;
4073
+ };
4074
+ /**
4075
+ * Show or Hide EndCall button during a call.
4076
+ * @defaultValue true
4077
+ */
4078
+ endCallButton?: boolean;
4079
+ /**
4080
+ * Show or Hide Microphone button during a call.
4081
+ * @defaultValue true
4082
+ */
4083
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4084
+ disabled: boolean;
4085
+ };
4086
+ /**
4087
+ * Show or Hide Devices button during a call.
4088
+ * @defaultValue true
4089
+ */
4090
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4091
+ disabled: boolean;
4092
+ };
4093
+ /**
4094
+ * Show, Hide or Disable participants button during a call.
4095
+ * @defaultValue true
4096
+ */
4097
+ participantsButton?: boolean | {
4098
+ disabled: boolean;
4099
+ };
4100
+ /**
4101
+ * Show, Hide or Disable the screen share button during a call.
4102
+ * @defaultValue true
4103
+ */
4104
+ screenShareButton?: boolean | {
4105
+ disabled: boolean;
4106
+ };
4107
+ /**
4108
+ * Show, Hide or disable the more button during a call.
4109
+ * @defaultValue true
4110
+ */
4111
+ moreButton?: boolean;
4112
+ /**
4113
+ * Inject custom buttons in the call controls.
4114
+ *
4115
+ * @beta
4116
+ */
4117
+ onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
4118
+ holdButton?: boolean | {
4119
+ disabled: boolean;
4120
+ };
4121
+ /**
4122
+ * Show or hide the people button in the composite control bar.
4123
+ * @defaultValue true
4124
+ */
4125
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4126
+ disabled: boolean;
4127
+ };
4128
+ };
4129
+
3570
4130
  /**
3571
4131
  * Object containing all the handlers required for calling components.
3572
4132
  *
@@ -3591,13 +4151,25 @@ export declare interface CommonCallingHandlers {
3591
4151
  onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
3592
4152
  onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3593
4153
  onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
4154
+ /**
4155
+ * @deprecated use {@link onDisposeRemoteVideoStreamView} and {@link onDisposeRemoteScreenShareStreamView} instead.
4156
+ */
3594
4157
  onDisposeRemoteStreamView: (userId: string) => Promise<void>;
3595
4158
  onDisposeLocalStreamView: () => Promise<void>;
4159
+ onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
4160
+ onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
3596
4161
  onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
3597
4162
  onRemoveParticipant(userId: string): Promise<void>;
3598
4163
  onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
3599
4164
  askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
3600
4165
  onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
4166
+ onRemoveVideoBackgroundEffects: () => Promise<void>;
4167
+ onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
4168
+ onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>;
4169
+ onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
4170
+ onStopCaptions: () => Promise<void>;
4171
+ onSetSpokenLanguage: (language: string) => Promise<void>;
4172
+ onSetCaptionLanguage: (language: string) => Promise<void>;
3601
4173
  }
3602
4174
 
3603
4175
  /**
@@ -3619,9 +4191,9 @@ export declare interface CommonSitePermissionsProps {
3619
4191
  */
3620
4192
  appName: string;
3621
4193
  /**
3622
- * Type of the Site Permissions component.
4194
+ * Kind of the Site Permissions component.
3623
4195
  */
3624
- type: 'request' | 'denied' | 'check';
4196
+ kind: 'request' | 'denied' | 'check';
3625
4197
  /**
3626
4198
  * Type of the browser used, the Site permission component will show different guidance text based on the browser type
3627
4199
  */
@@ -3654,6 +4226,13 @@ export declare type CommunicationParticipant = {
3654
4226
  displayName?: string;
3655
4227
  };
3656
4228
 
4229
+ /**
4230
+ * Locale for Arabic (Saudi Arabia).
4231
+ *
4232
+ * @public
4233
+ */
4234
+ export declare const COMPONENT_LOCALE_AR_SA: ComponentLocale;
4235
+
3657
4236
  /**
3658
4237
  * Locale for German (Germany).
3659
4238
  *
@@ -3682,6 +4261,13 @@ export declare const COMPONENT_LOCALE_EN_US: ComponentLocale;
3682
4261
  */
3683
4262
  export declare const COMPONENT_LOCALE_ES_ES: ComponentLocale;
3684
4263
 
4264
+ /**
4265
+ * Locale for Finnish (Finland).
4266
+ *
4267
+ * @public
4268
+ */
4269
+ export declare const COMPONENT_LOCALE_FI_FI: ComponentLocale;
4270
+
3685
4271
  /**
3686
4272
  * Locale for French (France).
3687
4273
  *
@@ -3689,6 +4275,13 @@ export declare const COMPONENT_LOCALE_ES_ES: ComponentLocale;
3689
4275
  */
3690
4276
  export declare const COMPONENT_LOCALE_FR_FR: ComponentLocale;
3691
4277
 
4278
+ /**
4279
+ * Locale for Hebrew (Israel).
4280
+ *
4281
+ * @public
4282
+ */
4283
+ export declare const COMPONENT_LOCALE_HE_IL: ComponentLocale;
4284
+
3692
4285
  /**
3693
4286
  * Locale for Italian (Italy).
3694
4287
  *
@@ -3710,6 +4303,13 @@ export declare const COMPONENT_LOCALE_JA_JP: ComponentLocale;
3710
4303
  */
3711
4304
  export declare const COMPONENT_LOCALE_KO_KR: ComponentLocale;
3712
4305
 
4306
+ /**
4307
+ * Locale for Norwegian Bokmål (Norway) .
4308
+ *
4309
+ * @public
4310
+ */
4311
+ export declare const COMPONENT_LOCALE_NB_NO: ComponentLocale;
4312
+
3713
4313
  /**
3714
4314
  * Locale for Dutch (Netherlands).
3715
4315
  *
@@ -3717,6 +4317,13 @@ export declare const COMPONENT_LOCALE_KO_KR: ComponentLocale;
3717
4317
  */
3718
4318
  export declare const COMPONENT_LOCALE_NL_NL: ComponentLocale;
3719
4319
 
4320
+ /**
4321
+ * Locale for Polish (Poland).
4322
+ *
4323
+ * @public
4324
+ */
4325
+ export declare const COMPONENT_LOCALE_PL_PL: ComponentLocale;
4326
+
3720
4327
  /**
3721
4328
  * Locale for Portuguese (Brazil).
3722
4329
  *
@@ -3731,6 +4338,13 @@ export declare const COMPONENT_LOCALE_PT_BR: ComponentLocale;
3731
4338
  */
3732
4339
  export declare const COMPONENT_LOCALE_RU_RU: ComponentLocale;
3733
4340
 
4341
+ /**
4342
+ * Locale for Swedish (Sweden) .
4343
+ *
4344
+ * @public
4345
+ */
4346
+ export declare const COMPONENT_LOCALE_SV_SE: ComponentLocale;
4347
+
3734
4348
  /**
3735
4349
  * Locale for Turkish (Turkey).
3736
4350
  *
@@ -3783,6 +4397,14 @@ export declare interface ComponentLocale {
3783
4397
  */
3784
4398
  export declare type ComponentProps<Component extends (props: any) => JSX.Element> = ChatReturnProps<Component> extends never ? CallingReturnProps<Component> extends never ? undefined : CallingReturnProps<Component> : ChatReturnProps<Component>;
3785
4399
 
4400
+ /**
4401
+ * ComponentSlotStyle is a \@fluentui/react-northstar type.
4402
+ * As we have moved away from this package we have used the more generic IRawStyle type from fluent for interoperability.
4403
+ *
4404
+ * @public
4405
+ */
4406
+ export declare type ComponentSlotStyle = Omit<IRawStyle, 'animation'>;
4407
+
3786
4408
  /**
3787
4409
  * Strings used by all components exported from this library.
3788
4410
  *
@@ -3809,6 +4431,8 @@ export declare interface ComponentStrings {
3809
4431
  typingIndicator: TypingIndicatorStrings;
3810
4432
  /** Strings for SendBox */
3811
4433
  sendBox: SendBoxStrings;
4434
+ /** Strings for MentionPopover */
4435
+ mentionPopover: MentionPopoverStrings;
3812
4436
  /** Strings for MessageStatusIndicator */
3813
4437
  messageStatusIndicator: MessageStatusIndicatorStrings;
3814
4438
  /** Strings for ErroBar */
@@ -3855,8 +4479,19 @@ export declare interface ComponentStrings {
3855
4479
  BrowserPermissionDenied: BrowserPermissionDeniedStrings;
3856
4480
  /** Strings for BrowserPemissionDeniedIOS */
3857
4481
  BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
4482
+ /**
4483
+ * Strings for the VerticalGallery.
4484
+ */
4485
+ VerticalGallery: VerticalGalleryStrings;
3858
4486
  }
3859
4487
 
4488
+ /**
4489
+ * Locale for Arabic (Saudi Arabia)
4490
+ *
4491
+ * @public
4492
+ */
4493
+ export declare const COMPOSITE_LOCALE_AR_SA: CompositeLocale;
4494
+
3860
4495
  /**
3861
4496
  * Locale for German (Germany)
3862
4497
  *
@@ -3885,6 +4520,13 @@ export declare const COMPOSITE_LOCALE_EN_US: CompositeLocale;
3885
4520
  */
3886
4521
  export declare const COMPOSITE_LOCALE_ES_ES: CompositeLocale;
3887
4522
 
4523
+ /**
4524
+ * Locale for Finnish (Finland)
4525
+ *
4526
+ * @public
4527
+ */
4528
+ export declare const COMPOSITE_LOCALE_FI_FI: CompositeLocale;
4529
+
3888
4530
  /**
3889
4531
  * Locale for French (France)
3890
4532
  *
@@ -3892,6 +4534,13 @@ export declare const COMPOSITE_LOCALE_ES_ES: CompositeLocale;
3892
4534
  */
3893
4535
  export declare const COMPOSITE_LOCALE_FR_FR: CompositeLocale;
3894
4536
 
4537
+ /**
4538
+ * Locale for Hebrew (Israel)
4539
+ *
4540
+ * @public
4541
+ */
4542
+ export declare const COMPOSITE_LOCALE_HE_IL: CompositeLocale;
4543
+
3895
4544
  /**
3896
4545
  * Locale for Italian (Italy)
3897
4546
  *
@@ -3913,6 +4562,13 @@ export declare const COMPOSITE_LOCALE_JA_JP: CompositeLocale;
3913
4562
  */
3914
4563
  export declare const COMPOSITE_LOCALE_KO_KR: CompositeLocale;
3915
4564
 
4565
+ /**
4566
+ * Locale for Norwegian Bokmål (Norway)
4567
+ *
4568
+ * @public
4569
+ */
4570
+ export declare const COMPOSITE_LOCALE_NB_NO: CompositeLocale;
4571
+
3916
4572
  /**
3917
4573
  * Locale for Dutch (Netherlands)
3918
4574
  *
@@ -3920,6 +4576,13 @@ export declare const COMPOSITE_LOCALE_KO_KR: CompositeLocale;
3920
4576
  */
3921
4577
  export declare const COMPOSITE_LOCALE_NL_NL: CompositeLocale;
3922
4578
 
4579
+ /**
4580
+ * Locale for Polish (Poland)
4581
+ *
4582
+ * @public
4583
+ */
4584
+ export declare const COMPOSITE_LOCALE_PL_PL: CompositeLocale;
4585
+
3923
4586
  /**
3924
4587
  * Locale for Portuguese (Brazil)
3925
4588
  *
@@ -3934,6 +4597,13 @@ export declare const COMPOSITE_LOCALE_PT_BR: CompositeLocale;
3934
4597
  */
3935
4598
  export declare const COMPOSITE_LOCALE_RU_RU: CompositeLocale;
3936
4599
 
4600
+ /**
4601
+ * Locale for Swedish (Sweden)
4602
+ *
4603
+ * @public
4604
+ */
4605
+ export declare const COMPOSITE_LOCALE_SV_SE: CompositeLocale;
4606
+
3937
4607
  /**
3938
4608
  * Locale for Turkish (Turkey)
3939
4609
  *
@@ -4162,7 +4832,7 @@ export declare interface ControlBarProps {
4162
4832
  *
4163
4833
  * @public
4164
4834
  */
4165
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4835
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4166
4836
 
4167
4837
  /**
4168
4838
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -4190,7 +4860,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
4190
4860
  *
4191
4861
  * @public
4192
4862
  */
4193
- export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4863
+ export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, options }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4194
4864
 
4195
4865
  /**
4196
4866
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -4209,7 +4879,9 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4209
4879
  *
4210
4880
  * @public
4211
4881
  */
4212
- export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
4882
+ export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
4883
+ credential?: CommunicationTokenCredential;
4884
+ }): Promise<ChatAdapter>;
4213
4885
 
4214
4886
  /**
4215
4887
  * Create the default implementation of {@link CallingHandlers} for teams call.
@@ -4271,7 +4943,7 @@ export declare const createStatefulChatClient: (args: StatefulChatClientArgs, op
4271
4943
  /**
4272
4944
  * @beta
4273
4945
  */
4274
- export declare const createTeamsCallAdapter: ({ userId, credential, locator }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
4946
+ export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
4275
4947
 
4276
4948
  /**
4277
4949
  * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
@@ -4281,7 +4953,7 @@ export declare const createTeamsCallAdapter: ({ userId, credential, locator }: T
4281
4953
  *
4282
4954
  * @beta
4283
4955
  */
4284
- export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator) => Promise<TeamsCallAdapter>;
4956
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
4285
4957
 
4286
4958
  /**
4287
4959
  * Object returned after creating a local or remote VideoStream.
@@ -4343,15 +5015,16 @@ export declare type CustomAvatarOptions = {
4343
5015
  };
4344
5016
 
4345
5017
  /**
4346
- * A callback that returns the props to render a custom {@link ControlBarButton}.
5018
+ * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
4347
5019
  *
4348
5020
  * The response indicates where the custom button should be placed.
4349
5021
  *
4350
5022
  * Performance tip: This callback is only called when either the callback or its arguments change.
4351
- *
4352
5023
  * @beta
4353
5024
  */
4354
- export declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallControlButtonProps;
5025
+ declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
5026
+ export { CustomCallControlButtonCallback }
5027
+ export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
4355
5028
 
4356
5029
  /**
4357
5030
  * Arguments for {@link CustomCallControlButtonCallback}.
@@ -4368,17 +5041,23 @@ export declare interface CustomCallControlButtonCallbackArgs {
4368
5041
  }
4369
5042
 
4370
5043
  /**
4371
- * Placement for a custom button injected in the {@link CallControls}.
5044
+ * Placement for a custom button injected in the {@link CommonCallControlBar}.
4372
5045
  *
4373
5046
  * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
5047
+ * 'overflow': Place the buttons(s) on the end of the overflow Menu.
5048
+ * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
4374
5049
  *
4375
5050
  * 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.
5051
+ * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
5052
+ * in the order provided.
5053
+ *
5054
+ * Only 'primary' placement works when legacy call control is enabled in call composite
4378
5055
  *
4379
5056
  * @beta
4380
5057
  */
4381
- export declare type CustomCallControlButtonPlacement = 'primary';
5058
+ declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
5059
+ export { CustomCallControlButtonPlacement }
5060
+ export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
4382
5061
 
4383
5062
  /**
4384
5063
  * Response from {@link CustomCallControlButtonCallback}.
@@ -4390,43 +5069,18 @@ export declare type CustomCallControlButtonPlacement = 'primary';
4390
5069
  */
4391
5070
  export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
4392
5071
  /**
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';
5072
+ * Where to place the custom button relative to other buttons.
5073
+ */
5074
+ placement: CustomCallControlButtonPlacement;
5075
+ /**
5076
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
5077
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
5078
+ */
5079
+ iconName?: string;
5080
+ }
4427
5081
 
4428
5082
  /**
4429
- * Response from {@link CustomCallWithChatControlButtonCallback}.
5083
+ * Response from {@link CustomCallControlButtonCallback}.
4430
5084
  *
4431
5085
  * Includes the icon and placement prop necessary to indicate where to place the
4432
5086
  * {@link ControlBarButton} and a {@link DrawerMenuItem}
@@ -4437,7 +5091,7 @@ export declare interface CustomCallWithChatControlButtonProps extends CustomCont
4437
5091
  /**
4438
5092
  * Where to place the custom button relative to other buttons.
4439
5093
  */
4440
- placement: CustomCallWithChatControlButtonPlacement;
5094
+ placement: CustomCallControlButtonPlacement;
4441
5095
  /**
4442
5096
  * Icon to render. Icon is a non-default icon name that needs to be registered as a
4443
5097
  * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
@@ -4543,6 +5197,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4543
5197
  ControlButtonScreenShareStop: JSX.Element;
4544
5198
  CancelFileUpload: JSX.Element;
4545
5199
  DownloadFile: JSX.Element;
5200
+ DataLossPreventionProhibited: JSX.Element;
4546
5201
  EditBoxCancel: JSX.Element;
4547
5202
  EditBoxSubmit: JSX.Element;
4548
5203
  ErrorBarCallCameraAccessDenied: JSX.Element;
@@ -4595,6 +5250,18 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4595
5250
  VideoTileScaleFill: JSX.Element;
4596
5251
  PinParticipant: JSX.Element;
4597
5252
  UnpinParticipant: JSX.Element;
5253
+ SplitButtonPrimaryActionCameraOn: JSX.Element;
5254
+ SplitButtonPrimaryActionCameraOff: JSX.Element;
5255
+ SplitButtonPrimaryActionMicUnmuted: JSX.Element;
5256
+ SplitButtonPrimaryActionMicMuted: JSX.Element;
5257
+ VerticalGalleryLeftButton: JSX.Element;
5258
+ VerticalGalleryRightButton: JSX.Element;
5259
+ ControlButtonVideoEffectsOption: JSX.Element;
5260
+ ConfigurationScreenVideoEffectsButton: JSX.Element;
5261
+ CaptionsIcon: JSX.Element;
5262
+ CaptionsOffIcon: JSX.Element;
5263
+ CaptionsSettingsIcon: JSX.Element;
5264
+ ChangeSpokenLanguageIcon: JSX.Element;
4598
5265
  };
4599
5266
 
4600
5267
  /**
@@ -4616,6 +5283,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4616
5283
  SendBoxSend: JSX.Element;
4617
5284
  SendBoxSendHovered: JSX.Element;
4618
5285
  SendBoxAttachFile?: JSX.Element | undefined;
5286
+ ControlBarPeopleButton?: JSX.Element | undefined;
4619
5287
  ControlButtonCameraOff: JSX.Element;
4620
5288
  ControlButtonCameraOn: JSX.Element;
4621
5289
  ControlButtonEndCall: JSX.Element;
@@ -4662,10 +5330,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4662
5330
  PeoplePaneOpenDialpad?: JSX.Element | undefined;
4663
5331
  DialpadStartCall?: JSX.Element | undefined;
4664
5332
  NoticePageInvalidRoom?: JSX.Element | undefined;
5333
+ BlurVideoBackground?: JSX.Element | undefined;
5334
+ RemoveVideoBackgroundEffect?: JSX.Element | undefined;
4665
5335
  ChevronLeft?: JSX.Element | undefined;
4666
5336
  ControlBarChatButtonActive?: JSX.Element | undefined;
4667
5337
  ControlBarChatButtonInactive?: JSX.Element | undefined;
4668
- ControlBarPeopleButton?: JSX.Element | undefined;
4669
5338
  Link?: JSX.Element | undefined;
4670
5339
  MoreDrawerMicrophones?: JSX.Element | undefined;
4671
5340
  MoreDrawerPeople?: JSX.Element | undefined;
@@ -4676,6 +5345,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4676
5345
  ControlButtonParticipantsContextualMenuItem: JSX.Element;
4677
5346
  CancelFileUpload: JSX.Element;
4678
5347
  DownloadFile: JSX.Element;
5348
+ DataLossPreventionProhibited: JSX.Element;
4679
5349
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
4680
5350
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
4681
5351
  MessageResend: JSX.Element;
@@ -4696,6 +5366,18 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4696
5366
  VideoTileScaleFill: JSX.Element;
4697
5367
  PinParticipant: JSX.Element;
4698
5368
  UnpinParticipant: JSX.Element;
5369
+ SplitButtonPrimaryActionCameraOn: JSX.Element;
5370
+ SplitButtonPrimaryActionCameraOff: JSX.Element;
5371
+ SplitButtonPrimaryActionMicUnmuted: JSX.Element;
5372
+ SplitButtonPrimaryActionMicMuted: JSX.Element;
5373
+ VerticalGalleryLeftButton: JSX.Element;
5374
+ VerticalGalleryRightButton: JSX.Element;
5375
+ ControlButtonVideoEffectsOption: JSX.Element;
5376
+ ConfigurationScreenVideoEffectsButton: JSX.Element;
5377
+ CaptionsIcon: JSX.Element;
5378
+ CaptionsOffIcon: JSX.Element;
5379
+ CaptionsSettingsIcon: JSX.Element;
5380
+ ChangeSpokenLanguageIcon: JSX.Element;
4699
5381
  };
4700
5382
 
4701
5383
  /**
@@ -5251,6 +5933,14 @@ export declare interface ErrorBarStrings {
5251
5933
  * An error message when joining a call fails specifically due to an invalid meeting link.
5252
5934
  */
5253
5935
  failedToJoinCallInvalidMeetingLink?: string;
5936
+ /**
5937
+ * Error bar string letting you know remote participants see a frozen stream for you.
5938
+ */
5939
+ cameraFrozenForRemoteParticipants?: string;
5940
+ /**
5941
+ * Unable to start effect
5942
+ */
5943
+ unableToStartVideoEffect?: string;
5254
5944
  }
5255
5945
 
5256
5946
  /**
@@ -5307,6 +5997,8 @@ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMet
5307
5997
  * @beta
5308
5998
  */
5309
5999
  export declare interface FileMetadata {
6000
+ attachmentType: FileMetadataAttachmentType;
6001
+ id: string;
5310
6002
  /**
5311
6003
  * File name to be displayed.
5312
6004
  */
@@ -5321,8 +6013,14 @@ export declare interface FileMetadata {
5321
6013
  * Download URL for the file.
5322
6014
  */
5323
6015
  url: string;
6016
+ previewUrl?: string;
5324
6017
  }
5325
6018
 
6019
+ /**
6020
+ * @beta
6021
+ */
6022
+ export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'teamsInlineImage' | 'unknown';
6023
+
5326
6024
  /**
5327
6025
  * Properties for configuring the File Sharing feature.
5328
6026
  * @beta
@@ -5686,10 +6384,20 @@ export declare interface _Identifiers {
5686
6384
  videoGallery: string;
5687
6385
  /** `data-ui-id` value for `VideoTile` Component */
5688
6386
  videoTile: string;
5689
- /** `data-ui-id` value for `HorizontalGallery` Component's left navigation button */
5690
- horizontalGalleryLeftNavButton: string;
5691
- /** `data-ui-id` value for `HorizontalGallery` Component's right navigation button */
5692
- horizontalGalleryRightNavButton: string;
6387
+ /** `data-ui-id` value for overflow gallery component's left navigation button */
6388
+ overflowGalleryLeftNavButton: string;
6389
+ /** `data-ui-id` value for overflow gallery component's right navigation button */
6390
+ overflowGalleryRightNavButton: string;
6391
+ /** `data-ui-id` value for the video tiles in the horizontal gallery */
6392
+ horizontalGalleryVideoTile: string;
6393
+ /** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
6394
+ verticalGalleryVideoTile: string;
6395
+ /** `data-ui-id` value for `VerticalGallery` Component's page counter */
6396
+ verticalGalleryPageCounter: string;
6397
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list */
6398
+ mentionSuggestionList: string;
6399
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
6400
+ mentionSuggestionItem: string;
5693
6401
  }
5694
6402
 
5695
6403
  /**
@@ -5738,6 +6446,15 @@ export declare interface IncomingCallState {
5738
6446
  endTime?: Date;
5739
6447
  }
5740
6448
 
6449
+ /**
6450
+ * Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
6451
+ *
6452
+ * @beta
6453
+ */
6454
+ export declare type IsCaptionsActiveChangedListener = (event: {
6455
+ isActive: boolean;
6456
+ }) => void;
6457
+
5741
6458
  /**
5742
6459
  * Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
5743
6460
  *
@@ -5849,8 +6566,51 @@ export declare interface LocalVideoStreamState {
5849
6566
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
5850
6567
  */
5851
6568
  view?: VideoStreamRendererViewState;
6569
+ /**
6570
+ * Stores the state of the video effects.
6571
+ * @beta
6572
+ */
6573
+ videoEffects?: LocalVideoStreamVideoEffectsState;
6574
+ }
6575
+
6576
+ /**
6577
+ * State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
6578
+ *
6579
+ * @beta
6580
+ */
6581
+ export declare interface LocalVideoStreamVideoEffectsState {
6582
+ /**
6583
+ * List of effects if any are active.
6584
+ */
6585
+ activeEffects?: VideoEffectName[];
6586
+ }
6587
+
6588
+ /**
6589
+ * Options for the local video tile in the Call composite.
6590
+ *
6591
+ * @beta
6592
+ */
6593
+ export declare interface LocalVideoTileOptions {
6594
+ /**
6595
+ * Position of the local video tile. If unset will render the local tile in the floating local position.
6596
+ *
6597
+ * @defaultValue 'floating'
6598
+ * @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
6599
+ * 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
6600
+ * local video tile rules and be docked in the bottom corner.
6601
+ * 'hidden' - local video tile will not be rendered.
6602
+ * This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
6603
+ */
6604
+ position?: 'grid' | 'floating';
5852
6605
  }
5853
6606
 
6607
+ /**
6608
+ * different modes of the local video tile
6609
+ *
6610
+ * @beta
6611
+ */
6612
+ export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
6613
+
5854
6614
  /**
5855
6615
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
5856
6616
  *
@@ -5869,6 +6629,76 @@ export declare interface MediaDiagnosticsState {
5869
6629
  latest: LatestMediaDiagnostics;
5870
6630
  }
5871
6631
 
6632
+ /**
6633
+ * Mention's state, as reflected in the UI.
6634
+ *
6635
+ * @beta
6636
+ */
6637
+ export declare interface Mention {
6638
+ /** ID of a mention */
6639
+ id: string;
6640
+ /** Display text of a mention */
6641
+ displayText: string;
6642
+ /** Optional React element to render an item icon of a mention suggestion */
6643
+ icon?: JSX.Element;
6644
+ }
6645
+
6646
+ /**
6647
+ * Options to display suggestions in the mention scenario.
6648
+ *
6649
+ * @beta
6650
+ */
6651
+ export declare interface MentionDisplayOptions {
6652
+ /**
6653
+ * Optional callback for customizing the mention renderer in a message thread.
6654
+ */
6655
+ onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
6656
+ }
6657
+
6658
+ /**
6659
+ * Options to lookup suggestions in the mention scenario.
6660
+ *
6661
+ * @beta
6662
+ */
6663
+ export declare interface MentionLookupOptions {
6664
+ /**
6665
+ * Optional string to set trigger keyword for mention a specific participant.
6666
+ *
6667
+ * @defaultValue `@`
6668
+ */
6669
+ trigger?: string;
6670
+ /**
6671
+ * Optional callback to fetch a list of mention suggestions base on the query.
6672
+ */
6673
+ onQueryUpdated: (query: string) => Promise<Mention[]>;
6674
+ /**
6675
+ * Optional callback to render an item of the mention suggestions list.
6676
+ */
6677
+ onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
6678
+ }
6679
+
6680
+ /**
6681
+ * Options to lookup suggestions and display mentions in the mention scenario.
6682
+ *
6683
+ * @beta
6684
+ */
6685
+ export declare type MentionOptions = {
6686
+ lookupOptions?: MentionLookupOptions;
6687
+ displayOptions?: MentionDisplayOptions;
6688
+ };
6689
+
6690
+ /**
6691
+ * Strings of {@link _MentionPopover} that can be overridden.
6692
+ *
6693
+ * @beta
6694
+ */
6695
+ export declare interface MentionPopoverStrings {
6696
+ /**
6697
+ * Header text for MentionPopover
6698
+ */
6699
+ mentionPopoverHeader: string;
6700
+ }
6701
+
5872
6702
  /**
5873
6703
  * Discriminated union of all messages.
5874
6704
  *
@@ -5876,7 +6706,7 @@ export declare interface MediaDiagnosticsState {
5876
6706
  *
5877
6707
  * @public
5878
6708
  */
5879
- export declare type Message = ChatMessage | SystemMessage | CustomMessage;
6709
+ export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
5880
6710
 
5881
6711
  /**
5882
6712
  * Indicate whether a chat message should be displayed merged with the message before / after it.
@@ -5913,7 +6743,7 @@ export declare type MessageContentType = 'text' | 'html' | 'richtext/html' | 'un
5913
6743
  */
5914
6744
  export declare type MessageProps = {
5915
6745
  /**
5916
- * Message to render. It can type `ChatMessage` or `SystemMessage` or `CustomMessage`.
6746
+ * Message to render. It can type `ChatMessage` or `SystemMessage`, `BlockedMessage` or `CustomMessage`.
5917
6747
  */
5918
6748
  message: Message;
5919
6749
  /**
@@ -5945,6 +6775,12 @@ export declare type MessageProps = {
5945
6775
  * @param content - new content of the message
5946
6776
  */
5947
6777
  onUpdateMessage?: UpdateMessageCallback;
6778
+ /**
6779
+ * Optional callback for when a message edit is cancelled.
6780
+ *
6781
+ * @param messageId - message id from chatClient
6782
+ */
6783
+ onCancelEditMessage?: CancelEditCallback;
5948
6784
  /**
5949
6785
  * Optional callback to delete a message.
5950
6786
  *
@@ -6088,9 +6924,9 @@ export declare type MessageThreadProps = {
6088
6924
  */
6089
6925
  userId: string;
6090
6926
  /**
6091
- * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage` or `CustomMessage`.
6927
+ * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
6092
6928
  */
6093
- messages: (ChatMessage | SystemMessage | CustomMessage)[];
6929
+ messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
6094
6930
  /**
6095
6931
  * number of participants in the thread
6096
6932
  */
@@ -6177,6 +7013,12 @@ export declare type MessageThreadProps = {
6177
7013
  * @beta
6178
7014
  */
6179
7015
  onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
7016
+ /**
7017
+ * Optional callback to retrieve the inline image in a message.
7018
+ * @param attachment - FileMetadata object we want to render
7019
+ * @beta
7020
+ */
7021
+ onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
6180
7022
  /**
6181
7023
  * Optional callback to edit a message.
6182
7024
  *
@@ -6185,6 +7027,12 @@ export declare type MessageThreadProps = {
6185
7027
  *
6186
7028
  */
6187
7029
  onUpdateMessage?: UpdateMessageCallback;
7030
+ /**
7031
+ * Optional callback for when a message edit is cancelled.
7032
+ *
7033
+ * @param messageId - message id from chatClient
7034
+ */
7035
+ onCancelEditMessage?: CancelEditCallback;
6188
7036
  /**
6189
7037
  * Optional callback to delete a message.
6190
7038
  *
@@ -6195,10 +7043,10 @@ export declare type MessageThreadProps = {
6195
7043
  /**
6196
7044
  * Optional callback to send a message.
6197
7045
  *
6198
- * @param messageId - message id from chatClient
7046
+ * @param content - message body to send
6199
7047
  *
6200
7048
  */
6201
- onSendMessage?: (messageId: string) => Promise<void>;
7049
+ onSendMessage?: (content: string) => Promise<void>;
6202
7050
  /**
6203
7051
  /**
6204
7052
  * Disable editing messages.
@@ -6224,6 +7072,11 @@ export declare type MessageThreadProps = {
6224
7072
  * @beta
6225
7073
  */
6226
7074
  onDisplayDateTimeString?: (messageDate: Date) => string;
7075
+ /**
7076
+ * Optional props needed to lookup a mention query and display mentions
7077
+ * @beta
7078
+ */
7079
+ mentionOptions?: MentionOptions;
6227
7080
  };
6228
7081
 
6229
7082
  /**
@@ -6297,6 +7150,12 @@ export declare interface MessageThreadStrings {
6297
7150
  actionMenuMoreOptions?: string;
6298
7151
  /** String for download file button in file card */
6299
7152
  downloadFile: string;
7153
+ /** String for policy violation message removal */
7154
+ blockedWarningText: string;
7155
+ /** String for policy violation message removal details link */
7156
+ blockedWarningLinkText: string;
7157
+ /** String for aria text in file attachment group*/
7158
+ fileCardGroupMessage: string;
6300
7159
  }
6301
7160
 
6302
7161
  /**
@@ -6323,6 +7182,8 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
6323
7182
  chatMessageContainer?: ComponentSlotStyle;
6324
7183
  /** Styles for system message container. */
6325
7184
  systemMessageContainer?: ComponentSlotStyle;
7185
+ /** Styles for blocked message container. */
7186
+ blockedMessageContainer?: ComponentSlotStyle;
6326
7187
  /** Styles for message status indicator container. */
6327
7188
  messageStatusContainer?: (mine: boolean) => IStyle;
6328
7189
  }
@@ -6465,6 +7326,18 @@ export declare interface MicrophoneButtonStrings {
6465
7326
  * Microphone action turned off string for announcer
6466
7327
  */
6467
7328
  microphoneActionTurnedOffAnnouncement?: string;
7329
+ /**
7330
+ * Primary action for the microphone when microphone is live.
7331
+ */
7332
+ onSplitButtonMicrophonePrimaryAction?: string;
7333
+ /**
7334
+ * Primary action for the microphone when the microphone is muted.
7335
+ */
7336
+ offSplitButtonMicrophonePrimaryAction?: string;
7337
+ /**
7338
+ * Title for primary action section of split button
7339
+ */
7340
+ microphonePrimaryActionSplitButtonTitle?: string;
6468
7341
  }
6469
7342
 
6470
7343
  /**
@@ -6522,6 +7395,13 @@ export declare interface NetworkDiagnosticsState {
6522
7395
  latest: LatestNetworkDiagnostics;
6523
7396
  }
6524
7397
 
7398
+ /**
7399
+ * Callback function used to provide custom data to build profile for a user.
7400
+ *
7401
+ * @beta
7402
+ */
7403
+ export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
7404
+
6525
7405
  /**
6526
7406
  * A custom rendered callback that allows users to customize the rendering of a Persona Component.
6527
7407
  *
@@ -6538,6 +7418,18 @@ userId?: string, options?: CustomAvatarOptions,
6538
7418
  */
6539
7419
  defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element;
6540
7420
 
7421
+ /**
7422
+ * State only version of Optimal Video Count Feature {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
7423
+ *
7424
+ * @beta
7425
+ */
7426
+ export declare interface OptimalVideoCountFeatureState {
7427
+ /**
7428
+ * State of the current optimal video count.
7429
+ */
7430
+ maxRemoteVideoStreams: number;
7431
+ }
7432
+
6541
7433
  /**
6542
7434
  * A device, e.g. camera, microphone, or speaker, in the {@link DevicesButton} flyout.
6543
7435
  *
@@ -6554,6 +7446,13 @@ export declare interface OptionsDevice {
6554
7446
  name: string;
6555
7447
  }
6556
7448
 
7449
+ /**
7450
+ * Different modes and positions of the overflow gallery in the VideoGallery
7451
+ *
7452
+ * @beta
7453
+ */
7454
+ export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
7455
+
6557
7456
  /**
6558
7457
  * A system message notifying that a participant was added to the chat thread.
6559
7458
  *
@@ -6619,6 +7518,11 @@ export declare interface ParticipantItemProps {
6619
7518
  * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
6620
7519
  */
6621
7520
  participantState?: ParticipantState;
7521
+ /**
7522
+ * Optional aria property that prefixes the ParticipantItems aria content
7523
+ * Takes in a unique id value of the element you would like to be read before the ParticipantItem.
7524
+ */
7525
+ ariaLabelledBy?: string;
6622
7526
  }
6623
7527
 
6624
7528
  /**
@@ -6722,6 +7626,8 @@ export declare type ParticipantListProps = {
6722
7626
  styles?: ParticipantListStyles;
6723
7627
  /** prop to determine if we should show tooltip for participants or not */
6724
7628
  showParticipantOverflowTooltip?: boolean;
7629
+ /** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
7630
+ participantAriaLabelledBy?: string;
6725
7631
  };
6726
7632
 
6727
7633
  /**
@@ -6950,6 +7856,18 @@ export declare type ParticipantsRemovedListener = (event: {
6950
7856
  */
6951
7857
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
6952
7858
 
7859
+ /**
7860
+ * The profile of a user.
7861
+ *
7862
+ * @beta
7863
+ */
7864
+ export declare type Profile = {
7865
+ /**
7866
+ * Primary text to display, usually the name of the person.
7867
+ */
7868
+ displayName?: string;
7869
+ };
7870
+
6953
7871
  /**
6954
7872
  * An array of key value pairs that stores each sender's display name and last read message
6955
7873
  *
@@ -7067,7 +7985,7 @@ export declare interface RemoteVideoTileMenuOptions {
7067
7985
  * @beta
7068
7986
  * The role of a call participant.
7069
7987
  */
7070
- export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer';
7988
+ export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
7071
7989
 
7072
7990
  /**
7073
7991
  * A button to start / stop screen sharing.
@@ -7172,6 +8090,11 @@ export declare interface SendBoxProps {
7172
8090
  * Optional callback called when message is sent
7173
8091
  */
7174
8092
  onSendMessage?: (content: string) => Promise<void>;
8093
+ /**
8094
+ * Optional props needed to lookup suggestions in the mention scenario.
8095
+ * @beta
8096
+ */
8097
+ mentionLookupOptions?: MentionLookupOptions;
7175
8098
  /**
7176
8099
  * Optional callback called when user is typing
7177
8100
  */
@@ -7209,14 +8132,14 @@ export declare interface SendBoxProps {
7209
8132
  */
7210
8133
  autoFocus?: 'sendBoxTextField';
7211
8134
  /**
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.
8135
+ * Optional callback to render uploaded files in the SendBox. The sendBox will expand
8136
+ * vertically to accommodate the uploaded files. File uploads will
8137
+ * be rendered below the text area in sendBox.
7215
8138
  * @beta
7216
8139
  */
7217
8140
  onRenderFileUploads?: () => JSX.Element;
7218
8141
  /**
7219
- * Optional array of active file uploads where each object has attibutes
8142
+ * Optional array of active file uploads where each object has attributes
7220
8143
  * of a file upload like name, progress, errorMessage etc.
7221
8144
  * @beta
7222
8145
  */
@@ -7560,6 +8483,14 @@ export declare interface StatefulDeviceManager extends DeviceManager {
7560
8483
  * {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
7561
8484
  */
7562
8485
  selectCamera: (VideoDeviceInfo: any) => void;
8486
+ /**
8487
+ * Gets the list of unparented video streams. This is a list of video streams that have not been added to a
8488
+ * {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
8489
+ * video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
8490
+ *
8491
+ * @beta
8492
+ */
8493
+ getUnparentedVideoStreams: () => LocalVideoStream[];
7563
8494
  }
7564
8495
 
7565
8496
  /**
@@ -7612,6 +8543,13 @@ export declare interface SystemMessageCommon extends MessageCommon {
7612
8543
  iconName: string;
7613
8544
  }
7614
8545
 
8546
+ /**
8547
+ * Optional parameters to create {@link TeamsCallAdapter}
8548
+ *
8549
+ * @beta
8550
+ */
8551
+ export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
8552
+
7615
8553
  /**
7616
8554
  * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
7617
8555
  *
@@ -7650,7 +8588,11 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
7650
8588
  export declare type TeamsCallAdapterArgs = {
7651
8589
  userId: MicrosoftTeamsUserIdentifier;
7652
8590
  credential: CommunicationTokenCredential;
7653
- locator: TeamsMeetingLinkLocator;
8591
+ locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
8592
+ /**
8593
+ * Optional parameters for the {@link TeamsCallAdapter} created
8594
+ */
8595
+ options?: TeamsAdapterOptions;
7654
8596
  };
7655
8597
 
7656
8598
  /**
@@ -7710,6 +8652,27 @@ export declare interface TranscriptionCallFeature {
7710
8652
  isTranscriptionActive: boolean;
7711
8653
  }
7712
8654
 
8655
+ /**
8656
+ * Transfer feature state
8657
+ *
8658
+ * @beta
8659
+ */
8660
+ export declare interface TransferFeature {
8661
+ /**
8662
+ * Accepted transfer requests
8663
+ */
8664
+ acceptedTransfers: {
8665
+ [key: string]: AcceptedTransfer;
8666
+ };
8667
+ }
8668
+
8669
+ /**
8670
+ * Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
8671
+ *
8672
+ * @beta
8673
+ */
8674
+ export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
8675
+
7713
8676
  /**
7714
8677
  * Component to notify local user when one or more participants in the chat thread are typing.
7715
8678
  *
@@ -8147,6 +9110,117 @@ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compil
8147
9110
  */
8148
9111
  export declare const useTheme: () => Theme;
8149
9112
 
9113
+ /**
9114
+ * Styles for the control bar inside the VerticalGallery component
9115
+ *
9116
+ * @beta
9117
+ */
9118
+ export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
9119
+ /**
9120
+ * styles for the next button in the VerticalGalleryControlBar
9121
+ */
9122
+ nextButton?: IStyle;
9123
+ /**
9124
+ * Styles for the previous button in the VerticalGalleryControlBar
9125
+ */
9126
+ previousButton?: IStyle;
9127
+ /**
9128
+ * Styles for the counter in the VerticalGalleryControlBar
9129
+ */
9130
+ counter?: IStyle;
9131
+ }
9132
+
9133
+ /**
9134
+ * Strings for localization of the vertical gallery.
9135
+ *
9136
+ * @beta
9137
+ */
9138
+ export declare interface VerticalGalleryStrings {
9139
+ /** Aria label for the left page navigation button */
9140
+ leftNavButtonAriaLabel?: string;
9141
+ /** Aria label for the right page navigation button */
9142
+ rightNavButtonAriaLabel?: string;
9143
+ }
9144
+
9145
+ /**
9146
+ * Styles for the VerticalGallery component
9147
+ *
9148
+ * @beta
9149
+ */
9150
+ export declare interface VerticalGalleryStyles extends BaseCustomStyles {
9151
+ /** Styles for each video tile in the vertical gallery */
9152
+ children?: IStyle;
9153
+ /** Styles for the verticalGallery control bar */
9154
+ controlBar?: VerticalGalleryControlBarStyles;
9155
+ }
9156
+
9157
+ /**
9158
+ * Contains the attibutes of the blur video background effect
9159
+ *
9160
+ * @beta
9161
+ */
9162
+ export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig {
9163
+ /**
9164
+ * Name of effect to blur video background effect
9165
+ */
9166
+ effectName: 'blur';
9167
+ }
9168
+
9169
+ /**
9170
+ * Contains the attibutes of a selected video background effect
9171
+ *
9172
+ * @beta
9173
+ */
9174
+ export declare type VideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
9175
+
9176
+ /**
9177
+ * Contains the attibutes of a background image like url, name etc.
9178
+ *
9179
+ * @beta
9180
+ */
9181
+ export declare interface VideoBackgroundImage {
9182
+ /**
9183
+ * key for unique identification of the custom background
9184
+ */
9185
+ key: string;
9186
+ /**
9187
+ * URL of the uploaded background image.
9188
+ */
9189
+ url: string;
9190
+ /**
9191
+ * Image name to be displayed.
9192
+ */
9193
+ tooltipText?: string;
9194
+ }
9195
+
9196
+ /**
9197
+ * Contains the attibutes to remove video background effect
9198
+ *
9199
+ * @beta
9200
+ */
9201
+ export declare interface VideoBackgroundNoEffect {
9202
+ /**
9203
+ * Name of effect to remove video background effect
9204
+ */
9205
+ effectName: 'none';
9206
+ }
9207
+
9208
+ /**
9209
+ * Contains the attibutes of a selected replacement video background effect
9210
+ *
9211
+ * @beta
9212
+ */
9213
+ export declare interface VideoBackgroundReplacementEffect extends BackgroundReplacementConfig {
9214
+ /**
9215
+ * Name of effect to replace video background effect
9216
+ */
9217
+ effectName: 'replacement';
9218
+ /**
9219
+ * key for unique identification of the custom background
9220
+ */
9221
+ key?: string;
9222
+ }
9223
+
8150
9224
  /**
8151
9225
  * VideoGallery represents a layout of video tiles for a specific call.
8152
9226
  * It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
@@ -8222,8 +9296,16 @@ export declare interface VideoGalleryProps {
8222
9296
  onCreateRemoteStreamView?: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
8223
9297
  /** Callback to render a remote video tile */
8224
9298
  onRenderRemoteVideoTile?: (remoteParticipant: VideoGalleryRemoteParticipant) => JSX.Element;
8225
- /** Callback to dispose a remote video stream view */
9299
+ /**
9300
+ * @deprecated use {@link onDisposeRemoteVideoStreamView} and {@link onDisposeRemoteScreenShareStreamView} instead
9301
+ *
9302
+ * Callback to dispose a remote video stream view
9303
+ */
8226
9304
  onDisposeRemoteStreamView?: (userId: string) => Promise<void>;
9305
+ /** Callback to dispose a remote video stream view */
9306
+ onDisposeRemoteVideoStreamView?: (userId: string) => Promise<void>;
9307
+ /** Callback to dispose a remote screen share stream view */
9308
+ onDisposeRemoteScreenShareStreamView?: (userId: string) => Promise<void>;
8227
9309
  /** Callback to render a particpant avatar */
8228
9310
  onRenderAvatar?: OnRenderAvatarCallback;
8229
9311
  /**
@@ -8264,6 +9346,18 @@ export declare interface VideoGalleryProps {
8264
9346
  * @defaultValue \{ kind: 'contextual' \}
8265
9347
  */
8266
9348
  remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
9349
+ /**
9350
+ * Determines the layout of the overflowGallery inside the VideoGallery.
9351
+ * @defaultValue 'HorizontalBottom'
9352
+ */
9353
+ overflowGalleryPosition?: OverflowGalleryPosition;
9354
+ /**
9355
+ * Determines the aspect ratio of local video tile in the video gallery.
9356
+ * @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
9357
+ * 16:9 (landscape) aspect ratios.
9358
+ * @defaultValue 'followDeviceOrientation'
9359
+ */
9360
+ localVideoTileSize?: LocalVideoTileSize;
8267
9361
  }
8268
9362
 
8269
9363
  /**
@@ -8293,6 +9387,7 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
8293
9387
  localParticipant: VideoGalleryLocalParticipant;
8294
9388
  remoteParticipants: VideoGalleryRemoteParticipant[];
8295
9389
  dominantSpeakers?: string[];
9390
+ optimalVideoCount?: number;
8296
9391
  };
8297
9392
 
8298
9393
  /**
@@ -8343,6 +9438,14 @@ export declare interface VideoGalleryStrings {
8343
9438
  pinParticipantForMe: string;
8344
9439
  /** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
8345
9440
  unpinParticipantForMe: string;
9441
+ /** Aria label for pin participant menu item of remote participant's video tile */
9442
+ pinParticipantMenuItemAriaLabel: string;
9443
+ /** Aria label for unpin participant menu item of remote participant's video tile */
9444
+ unpinParticipantMenuItemAriaLabel: string;
9445
+ /** Aria label to announce when remote participant's video tile is pinned */
9446
+ pinnedParticipantAnnouncementAriaLabel: string;
9447
+ /** Aria label to announce when remote participant's video tile is unpinned */
9448
+ unpinnedParticipantAnnouncementAriaLabel: string;
8346
9449
  }
8347
9450
 
8348
9451
  /**
@@ -8356,6 +9459,8 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
8356
9459
  horizontalGallery?: HorizontalGalleryStyles;
8357
9460
  /** Styles for the local video */
8358
9461
  localVideo?: IStyle;
9462
+ /** Styles for the vertical gallery */
9463
+ verticalGallery?: VerticalGalleryStyles;
8359
9464
  }
8360
9465
 
8361
9466
  /**