@azure/communication-react 1.13.0-alpha-202402020012 → 1.13.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1004) hide show
  1. package/dist/communication-react.d.ts +21 -692
  2. package/dist/dist-cjs/communication-react/index.js +4860 -7044
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/identifier.js +1 -4
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +0 -10
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +0 -19
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -15
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +11 -57
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +5 -12
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +55 -20
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +0 -6
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +47 -79
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +2 -2
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +2 -4
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +6 -2
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -12
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  47. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +11 -80
  49. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  52. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +3 -6
  53. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  56. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +7 -11
  58. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +0 -16
  60. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +1 -39
  61. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +2 -6
  63. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +17 -56
  64. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +0 -1
  66. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +11 -73
  67. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  68. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  69. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  71. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +75 -65
  72. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +0 -66
  74. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -7
  76. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +17 -73
  77. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +8 -7
  79. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  80. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +85 -74
  81. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  82. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  84. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -2
  85. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +4 -14
  86. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  88. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/Converter.js +13 -16
  90. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +57 -51
  92. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +16 -14
  94. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  95. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +15 -3
  97. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  100. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +3 -1
  101. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  102. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  103. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +3 -0
  106. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +67 -65
  108. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +24 -32
  110. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  111. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +11 -8
  112. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +1 -1
  114. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  115. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +8 -7
  116. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  117. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  118. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  120. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  121. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +7 -6
  122. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  123. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -2
  124. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  125. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  126. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  127. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  128. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  129. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  130. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  131. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  132. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  133. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +10 -3
  134. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  135. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  136. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  137. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  138. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  139. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +23 -40
  140. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  141. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  142. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  143. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  144. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  145. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +7 -3
  146. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  147. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +1 -3
  148. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  150. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -10
  151. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  152. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  153. package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +1 -1
  154. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +11 -10
  155. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  156. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  157. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +11 -8
  158. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  159. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  160. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +3 -1
  161. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  162. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +68 -59
  163. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  164. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +128 -114
  165. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  166. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -4
  167. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  168. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  169. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  170. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  171. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  172. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  173. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  174. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  175. package/dist/dist-esm/communication-react/src/index.d.ts +2 -6
  176. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  177. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  178. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +6 -3
  179. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  180. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  181. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  182. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +10 -4
  183. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  184. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  185. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  186. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  187. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  188. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  189. package/dist/dist-esm/react-components/src/components/CameraButton.js +19 -8
  190. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  191. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  192. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  193. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +8 -9
  194. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  195. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +22 -44
  196. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  197. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +5 -2
  198. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  199. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +22 -37
  200. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +8 -14
  202. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +43 -45
  204. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +30 -69
  206. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +25 -23
  208. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +31 -34
  210. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  211. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +5 -9
  212. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  213. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +31 -69
  214. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  215. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  217. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +4 -7
  219. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  220. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  221. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  222. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  223. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  225. package/dist/dist-esm/react-components/src/components/ControlBar.js +14 -10
  226. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  227. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +4 -14
  228. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +14 -3
  230. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +10 -4
  232. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +31 -14
  234. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +8 -5
  236. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +6 -24
  238. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +20 -12
  240. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/DevicesButton.js +27 -19
  242. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  243. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +48 -12
  244. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +51 -45
  246. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  248. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  249. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +6 -2
  250. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  251. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  252. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  253. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +23 -11
  254. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  255. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +4 -6
  256. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  257. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  258. package/dist/dist-esm/react-components/src/components/EndCallButton.js +7 -3
  259. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  260. package/dist/dist-esm/react-components/src/components/ErrorBar.js +5 -9
  261. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  262. package/dist/dist-esm/react-components/src/components/FileCard.js +4 -3
  263. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  264. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  265. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +4 -0
  267. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +16 -18
  268. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  269. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +7 -8
  270. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  271. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  272. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  273. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  274. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  275. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  276. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +9 -7
  278. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  279. package/dist/dist-esm/react-components/src/components/ImageGallery.js +13 -10
  280. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -1
  281. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +10 -3
  282. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  283. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +7 -5
  284. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  285. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +5 -3
  286. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  287. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +0 -5
  288. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +11 -60
  289. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  290. package/dist/dist-esm/react-components/src/components/MentionPopover.js +14 -17
  291. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -1
  292. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +36 -23
  293. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  294. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +1 -1
  295. package/dist/dist-esm/react-components/src/components/MessageThread.js +48 -82
  296. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -17
  298. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +101 -94
  300. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  301. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +18 -15
  302. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  303. package/dist/dist-esm/react-components/src/components/ParticipantList.js +36 -61
  304. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  305. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +32 -46
  306. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  307. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  308. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  310. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  311. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +12 -6
  312. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  313. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +0 -6
  314. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +33 -57
  315. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  316. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  317. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  318. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  319. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  320. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +14 -6
  321. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  322. package/dist/dist-esm/react-components/src/components/SendBox.js +20 -24
  323. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  324. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  325. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  326. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  327. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +4 -2
  328. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  330. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  331. package/dist/dist-esm/react-components/src/components/SystemMessage.js +4 -2
  332. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  333. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +22 -67
  334. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
  335. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +49 -55
  336. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  337. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  338. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +6 -9
  340. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +1 -1
  342. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  343. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +1 -1
  344. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +8 -4
  346. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  347. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +1 -1
  348. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  349. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +34 -19
  350. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  351. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +1 -3
  352. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  353. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +12 -8
  354. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  355. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +12 -6
  356. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  357. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +2 -6
  358. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  359. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +19 -42
  360. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  361. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +10 -14
  362. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  363. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +28 -69
  364. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  365. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  366. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  367. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +0 -4
  368. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  369. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  370. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  371. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +7 -19
  372. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  373. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +6 -8
  374. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +4 -2
  376. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +21 -60
  378. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +6 -1
  380. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +34 -9
  382. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  383. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +11 -2
  384. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  385. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  386. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  387. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  388. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +3 -1
  390. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  391. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +11 -10
  392. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  393. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +28 -22
  394. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  395. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +5 -10
  396. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  397. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +0 -7
  398. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +39 -61
  399. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  401. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +0 -5
  402. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +30 -77
  403. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  404. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -18
  405. package/dist/dist-esm/react-components/src/components/VideoGallery.js +69 -151
  406. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  407. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +2 -13
  408. package/dist/dist-esm/react-components/src/components/VideoTile.js +87 -92
  409. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  411. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/index.d.ts +2 -10
  413. package/dist/dist-esm/react-components/src/components/index.js +0 -10
  414. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -1
  416. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  417. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +6 -2
  419. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  421. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  422. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts +1 -1
  423. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +3 -5
  424. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  425. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  427. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  429. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +5 -2
  430. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -1
  431. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  432. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +5 -2
  433. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
  435. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +10 -4
  437. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  438. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +2 -1
  439. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  441. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +10 -2
  442. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  443. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -1
  444. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -1
  445. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +6 -3
  446. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  447. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  448. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +2 -1
  449. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  450. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  451. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -1
  452. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +2 -1
  453. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  454. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +19 -5
  455. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  456. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +0 -11
  457. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +0 -37
  458. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  460. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +4 -1
  461. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  462. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +2 -3
  463. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  464. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  465. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  467. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +7 -4
  468. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  469. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  470. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -1
  471. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  472. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  473. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  474. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +1 -10
  475. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +3 -1
  477. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/utils.js +10 -13
  479. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  480. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +6 -8
  481. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  483. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  485. package/dist/dist-esm/react-components/src/index.d.ts +0 -5
  486. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  487. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -5
  488. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  490. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +3 -1
  491. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +3 -1
  493. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +3 -1
  495. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +3 -1
  497. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  498. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +3 -1
  499. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  500. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +3 -1
  501. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +3 -1
  503. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +3 -1
  505. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/localization/locales/index.js +3 -1
  507. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  508. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +3 -1
  509. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  510. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +3 -1
  511. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  512. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +3 -1
  513. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  514. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +3 -1
  515. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  516. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +3 -1
  517. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +3 -1
  519. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  520. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +3 -1
  521. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  522. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +3 -1
  523. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +3 -1
  525. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +3 -1
  527. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  528. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  529. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +3 -1
  530. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  531. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +3 -1
  532. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +5 -3
  534. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  536. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  537. package/dist/dist-esm/react-components/src/theming/generateTheme.js +1 -15
  538. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -7
  540. package/dist/dist-esm/react-components/src/theming/icons.js +36 -46
  541. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  542. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  544. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +7 -1
  548. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  549. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  550. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  552. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  553. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  554. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  555. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  556. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +0 -38
  557. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  558. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  561. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -13
  563. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  564. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  565. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  566. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -74
  567. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +40 -67
  568. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  569. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +0 -109
  570. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  571. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -7
  572. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +65 -155
  573. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  574. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +0 -36
  575. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -7
  576. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  577. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  578. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +2 -5
  579. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  580. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  581. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +3 -1
  582. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  583. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  584. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -1
  585. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +5 -11
  586. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  587. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  588. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +0 -2
  589. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +39 -86
  590. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  591. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +59 -56
  592. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  593. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +141 -133
  594. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  595. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +18 -10
  596. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  597. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +7 -1
  598. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  599. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +1 -1
  600. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  601. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +7 -1
  602. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  603. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +4 -5
  604. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  605. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +4 -4
  606. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
  607. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  608. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  609. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +23 -34
  610. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  611. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +26 -37
  612. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  613. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +30 -26
  614. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  615. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +43 -67
  616. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  617. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  618. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  619. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  620. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  621. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +11 -29
  622. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  623. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  624. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +0 -4
  625. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +8 -70
  626. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  627. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +8 -13
  628. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  629. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  630. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  631. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +5 -3
  632. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  633. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -9
  634. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  635. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +11 -19
  636. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  637. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +2 -5
  638. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  639. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +7 -14
  640. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  641. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +2 -5
  642. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  643. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +1 -1
  644. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
  645. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  646. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  647. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +1 -3
  648. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  649. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +7 -7
  650. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  651. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -26
  652. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  653. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  654. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  655. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  656. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -1
  657. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  658. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +11 -68
  659. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  660. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -8
  661. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +32 -80
  662. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  663. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +7 -13
  664. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  665. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +7 -15
  666. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  667. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +0 -35
  668. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -13
  669. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +23 -23
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -3
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +1 -2
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +4 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +5 -7
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +1 -7
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +6 -2
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +4 -1
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -1
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +9 -2
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +2 -1
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +2 -1
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +24 -6
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +0 -7
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +11 -22
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -6
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +31 -52
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +0 -74
  754. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +33 -96
  755. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  756. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  757. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  758. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +7 -9
  759. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +9 -6
  761. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  762. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  763. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  765. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +3 -9
  766. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +11 -73
  767. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -30
  769. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  770. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +0 -6
  771. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -20
  772. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  773. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +3 -3
  774. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -2
  775. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  776. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  778. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  779. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  780. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  781. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -5
  783. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +1 -4
  784. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  785. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +2 -3
  787. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +5 -3
  789. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +30 -37
  791. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  792. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +1 -1
  793. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +5 -3
  795. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  797. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +5 -5
  798. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +57 -46
  799. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +20 -15
  801. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +5 -5
  803. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  806. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +6 -11
  807. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  808. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  809. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  810. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +3 -1
  811. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +2 -5
  813. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  815. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +1 -1
  816. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -1
  817. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  818. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  819. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +6 -6
  820. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +5 -3
  821. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -1
  822. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +6 -2
  823. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  824. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -9
  825. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +25 -23
  827. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  828. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +4 -10
  830. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  831. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +14 -5
  832. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  833. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +23 -9
  834. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  835. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
  836. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +8 -6
  837. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +16 -12
  839. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  841. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +5 -1
  843. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -2
  845. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +39 -95
  846. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  847. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +33 -35
  848. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  849. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +0 -2
  850. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +61 -140
  851. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  852. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  853. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  855. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +7 -5
  856. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +0 -8
  858. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +108 -115
  859. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  860. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +0 -2
  862. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  865. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  866. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +14 -19
  867. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  870. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +12 -12
  871. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  872. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +8 -19
  873. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  874. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +15 -7
  875. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +8 -10
  877. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  878. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +13 -16
  879. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  880. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  882. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +0 -13
  883. package/dist/dist-esm/react-composites/src/composites/common/icons.js +4 -6
  884. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  886. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  889. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +10 -4
  890. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +51 -12
  892. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +29 -6
  894. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  895. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +22 -4
  896. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  897. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +0 -13
  898. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/common/utils.js +12 -17
  900. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  901. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  903. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  905. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  906. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  907. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  908. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  909. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +0 -2
  910. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  911. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  913. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  914. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  915. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  916. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  917. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  918. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  919. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  921. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  923. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  924. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  925. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  929. package/package.json +1 -1
  930. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +0 -16
  931. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +0 -24
  932. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +0 -1
  933. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +0 -16
  934. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +0 -27
  935. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +0 -1
  936. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +0 -19
  937. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +0 -13
  938. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +0 -1
  939. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +0 -49
  940. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +0 -55
  941. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +0 -1
  942. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.d.ts +0 -15
  943. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js +0 -18
  944. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +0 -1
  945. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +0 -18
  946. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +0 -40
  947. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +0 -1
  948. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +0 -54
  949. package/dist/dist-esm/react-components/src/components/ReactionButton.js +0 -89
  950. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +0 -1
  951. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +0 -64
  952. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +0 -55
  953. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +0 -1
  954. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +0 -18
  955. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +0 -57
  956. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +0 -1
  957. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +0 -141
  958. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +0 -4
  959. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +0 -1
  960. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +0 -63
  961. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +0 -122
  962. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +0 -1
  963. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +0 -22
  964. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +0 -53
  965. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +0 -1
  966. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +0 -17
  967. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +0 -127
  968. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +0 -1
  969. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +0 -24
  970. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +0 -76
  971. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +0 -1
  972. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +0 -5
  973. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +0 -16
  974. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +0 -1
  975. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +0 -16
  976. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +0 -26
  977. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +0 -1
  978. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +0 -26
  979. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +0 -72
  980. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +0 -1
  981. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +0 -14
  982. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +0 -13
  983. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +0 -1
  984. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.d.ts +0 -8
  985. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js +0 -18
  986. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +0 -1
  987. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.d.ts +0 -17
  988. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +0 -30
  989. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +0 -1
  990. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.d.ts +0 -18
  991. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +0 -41
  992. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +0 -1
  993. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +0 -6
  994. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +0 -29
  995. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +0 -1
  996. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +0 -13
  997. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +0 -87
  998. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +0 -1
  999. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.d.ts +0 -13
  1000. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js +0 -44
  1001. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +0 -1
  1002. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +0 -8
  1003. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +0 -23
  1004. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +0 -1
@@ -84,14 +84,6 @@ export interface MoreDrawerDevicesMenuProps {
84
84
  * Callback for when the gallery layout is changed
85
85
  */
86
86
  onUserSetGalleryLayout?: (layout: VideoGalleryLayout) => void;
87
- /**
88
- * Callback to hide and show the dialpad in the more drawer
89
- */
90
- onSetDialpadPage?: () => void;
91
- /**
92
- * Whether the dialpad is present in the call
93
- */
94
- dtmfDialerPresent?: boolean;
95
87
  }
96
88
  /** @private */
97
89
  export interface MoreDrawerProps extends MoreDrawerDevicesMenuProps {
@@ -44,12 +44,6 @@ import { themedToggleButtonStyle } from './MoreDrawer.styles';
44
44
  import { _spokenLanguageToCaptionLanguage } from "../../../../../react-components/src";
45
45
  /* @conditional-compile-remove(rooms) */
46
46
  import { useAdapter } from '../../CallComposite/adapter/CallAdapterProvider';
47
- /* @conditional-compile-remove(dtmf-dialer) */
48
- import { useSelector } from '../../CallComposite/hooks/useSelector';
49
- /* @conditional-compile-remove(dtmf-dialer) */
50
- import { getTargetCallees } from '../../CallComposite/selectors/baseSelectors';
51
- /* @conditional-compile-remove(dtmf-dialer) */
52
- import { showDtmfDialer } from '../../CallComposite/utils/MediaGalleryUtils';
53
47
  const inferCallWithChatControlOptions = (callWithChatControls) => {
54
48
  if (callWithChatControls === false) {
55
49
  return false;
@@ -59,7 +53,7 @@ const inferCallWithChatControlOptions = (callWithChatControls) => {
59
53
  };
60
54
  /** @private */
61
55
  export const MoreDrawer = (props) => {
62
- var _a, _b, _c, _d, _e;
56
+ var _a, _b, _c;
63
57
  /* @conditional-compile-remove(close-captions) */
64
58
  const theme = useTheme();
65
59
  /* @conditional-compile-remove(rooms) */
@@ -70,16 +64,10 @@ export const MoreDrawer = (props) => {
70
64
  const localeStrings = useLocale();
71
65
  /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
72
66
  const holdButtonProps = usePropsFor(HoldButton);
73
- /* @conditional-compile-remove(dtmf-dialer) */
74
- const callees = useSelector(getTargetCallees);
75
- /* @conditional-compile-remove(dtmf-dialer) */
76
- const allowDtmfDialer = showDtmfDialer(callees);
77
- /* @conditional-compile-remove(dtmf-dialer) */
78
- const [dtmfDialerChecked, setDtmfDialerChecked] = useState((_a = props.dtmfDialerPresent) !== null && _a !== void 0 ? _a : false);
79
67
  /* @conditional-compile-remove(raise-hand) */
80
68
  const raiseHandButtonProps = usePropsFor(RaiseHandButton);
81
69
  const onSpeakerItemClick = useCallback((_ev, itemKey) => {
82
- const selected = speakers === null || speakers === void 0 ? void 0 : speakers.find((speaker) => speaker.id === itemKey);
70
+ const selected = speakers === null || speakers === void 0 ? void 0 : speakers.find(speaker => speaker.id === itemKey);
83
71
  if (selected) {
84
72
  // This is unsafe - we're only passing in part of the argument to the handler.
85
73
  // But this is a known issue in our state.
@@ -93,24 +81,26 @@ export const MoreDrawer = (props) => {
93
81
  itemKey: 'speakers',
94
82
  disabled: props.disableButtonsForHoldScreen,
95
83
  text: props.strings.speakerMenuTitle,
96
- iconProps: { iconName: 'MoreDrawerSpeakers' },
97
- subMenuProps: props.speakers.map((speaker) => ({
84
+ iconProps: {
85
+ iconName: 'MoreDrawerSpeakers'
86
+ },
87
+ subMenuProps: props.speakers.map(speaker => ({
98
88
  itemKey: speaker.id,
99
89
  iconProps: {
100
- iconName: isDeviceSelected(speaker, props.selectedSpeaker)
101
- ? 'MoreDrawerSelectedSpeaker'
102
- : 'MoreDrawerSpeakers'
90
+ iconName: isDeviceSelected(speaker, props.selectedSpeaker) ? 'MoreDrawerSelectedSpeaker' : 'MoreDrawerSpeakers'
103
91
  },
104
92
  text: speaker.name,
105
93
  onItemClick: onSpeakerItemClick,
106
- secondaryIconProps: isDeviceSelected(speaker, props.selectedSpeaker) ? { iconName: 'Accept' } : undefined
94
+ secondaryIconProps: isDeviceSelected(speaker, props.selectedSpeaker) ? {
95
+ iconName: 'Accept'
96
+ } : undefined
107
97
  })),
108
- secondaryText: (_b = props.selectedSpeaker) === null || _b === void 0 ? void 0 : _b.name
98
+ secondaryText: (_a = props.selectedSpeaker) === null || _a === void 0 ? void 0 : _a.name
109
99
  });
110
100
  }
111
101
  const { microphones, onSelectMicrophone } = props;
112
102
  const onMicrophoneItemClick = useCallback((_ev, itemKey) => {
113
- const selected = microphones === null || microphones === void 0 ? void 0 : microphones.find((mic) => mic.id === itemKey);
103
+ const selected = microphones === null || microphones === void 0 ? void 0 : microphones.find(mic => mic.id === itemKey);
114
104
  if (selected) {
115
105
  // This is unsafe - we're only passing in part of the argument to the handler.
116
106
  // But this is a known issue in our state.
@@ -129,56 +119,38 @@ export const MoreDrawer = (props) => {
129
119
  itemKey: itemKey,
130
120
  disabled: props.disableButtonsForHoldScreen,
131
121
  text: text,
132
- iconProps: { iconName: iconName },
133
- subMenuProps: props.microphones.map((mic) => ({
122
+ iconProps: {
123
+ iconName: iconName
124
+ },
125
+ subMenuProps: props.microphones.map(mic => ({
134
126
  itemKey: mic.id,
135
127
  iconProps: {
136
128
  iconName: isDeviceSelected(mic, props.selectedMicrophone) ? selectedIconName : iconName
137
129
  },
138
130
  text: mic.name,
139
131
  onItemClick: onMicrophoneItemClick,
140
- secondaryIconProps: isDeviceSelected(mic, props.selectedMicrophone) ? { iconName: 'Accept' } : undefined,
132
+ secondaryIconProps: isDeviceSelected(mic, props.selectedMicrophone) ? {
133
+ iconName: 'Accept'
134
+ } : undefined,
141
135
  disabled: drawerSelectionOptions !== false ? isDisabled(drawerSelectionOptions.microphoneButton) : undefined
142
136
  })),
143
- secondaryText: (_c = props.selectedMicrophone) === null || _c === void 0 ? void 0 : _c.name
137
+ secondaryText: (_b = props.selectedMicrophone) === null || _b === void 0 ? void 0 : _b.name
144
138
  });
145
139
  }
146
- /* @conditional-compile-remove(dtmf-dialer) */
147
- const dtmfDialerScreenOption = {
148
- itemKey: 'dtmfDialerScreenKey',
149
- text: !dtmfDialerChecked
150
- ? localeStrings.strings.call.dtmfDialerMoreButtonLabelOn
151
- : localeStrings.strings.call.dtmfDialerMoreButtonLabelOff,
152
- onItemClick: () => {
153
- if (props.onSetDialpadPage) {
154
- props.onSetDialpadPage();
155
- }
156
- setDtmfDialerChecked(!dtmfDialerChecked);
157
- onLightDismiss();
158
- },
159
- iconProps: {
160
- iconName: 'DtmfDialpadButton',
161
- styles: { root: { lineHeight: 0 } }
162
- }
163
- };
164
- /* @conditional-compile-remove(dtmf-dialer) */
165
- /**
166
- * Only render the dtmf dialer if the dialpad for PSTN calls is not present
167
- */
168
- if (props.onSetDialpadPage && allowDtmfDialer) {
169
- drawerMenuItems.push(dtmfDialerScreenOption);
170
- }
171
140
  /* @conditional-compile-remove(gallery-layouts) */
172
141
  const galleryLayoutOptions = {
173
142
  itemKey: 'galleryPositionKey',
174
143
  iconProps: {
175
144
  iconName: 'GalleryOptions',
176
- styles: { root: { lineHeight: 0 } }
145
+ styles: {
146
+ root: {
147
+ lineHeight: 0
148
+ }
149
+ }
177
150
  },
178
151
  disabled: props.disableButtonsForHoldScreen,
179
152
  text: localeStrings.strings.call.moreButtonGalleryControlLabel,
180
- subMenuProps: [
181
- {
153
+ subMenuProps: [{
182
154
  itemKey: 'dynamicSelectionKey',
183
155
  text: localeStrings.strings.call.moreButtonGalleryFloatingLocalLayoutLabel,
184
156
  onItemClick: () => {
@@ -187,11 +159,16 @@ export const MoreDrawer = (props) => {
187
159
  },
188
160
  iconProps: {
189
161
  iconName: 'FloatingLocalVideoGalleryLayout',
190
- styles: { root: { lineHeight: 0 } }
162
+ styles: {
163
+ root: {
164
+ lineHeight: 0
165
+ }
166
+ }
191
167
  },
192
- secondaryIconProps: props.userSetGalleryLayout === 'floatingLocalVideo' ? { iconName: 'Accept' } : undefined
193
- },
194
- {
168
+ secondaryIconProps: props.userSetGalleryLayout === 'floatingLocalVideo' ? {
169
+ iconName: 'Accept'
170
+ } : undefined
171
+ }, {
195
172
  itemKey: 'focusedContentSelectionKey',
196
173
  text: localeStrings.strings.call.moreButtonGalleryFocusedContentLayoutLabel,
197
174
  onItemClick: () => {
@@ -200,28 +177,17 @@ export const MoreDrawer = (props) => {
200
177
  },
201
178
  iconProps: {
202
179
  iconName: 'FocusedContentGalleryLayout',
203
- styles: { root: { lineHeight: 0 } }
180
+ styles: {
181
+ root: {
182
+ lineHeight: 0
183
+ }
184
+ }
204
185
  },
205
- secondaryIconProps: props.userSetGalleryLayout === 'focusedContent' ? { iconName: 'Accept' } : undefined
206
- }
207
- ]
186
+ secondaryIconProps: props.userSetGalleryLayout === 'focusedContent' ? {
187
+ iconName: 'Accept'
188
+ } : undefined
189
+ }]
208
190
  };
209
- /* @conditional-compile-remove(gallery-layout-composite) */
210
- const galleryOption = {
211
- itemKey: 'defaultSelectionKey',
212
- text: localeStrings.strings.call.moreButtonGalleryDefaultLayoutLabel,
213
- onItemClick: () => {
214
- props.onUserSetGalleryLayout && props.onUserSetGalleryLayout('default');
215
- onLightDismiss();
216
- },
217
- iconProps: {
218
- iconName: 'DefaultGalleryLayout',
219
- styles: { root: { lineHeight: 0 } }
220
- },
221
- secondaryIconProps: props.userSetGalleryLayout === 'default' ? { iconName: 'Accept' } : undefined
222
- };
223
- /* @conditional-compile-remove(gallery-layout-composite) */
224
- (_d = galleryLayoutOptions.subMenuProps) === null || _d === void 0 ? void 0 : _d.push(galleryOption);
225
191
  /* @conditional-compile-remove(gallery-layouts) */
226
192
  drawerMenuItems.push(galleryLayoutOptions);
227
193
  if (drawerSelectionOptions !== false && isEnabled(drawerSelectionOptions === null || drawerSelectionOptions === void 0 ? void 0 : drawerSelectionOptions.peopleButton)) {
@@ -229,7 +195,9 @@ export const MoreDrawer = (props) => {
229
195
  itemKey: 'people',
230
196
  id: 'call-composite-drawer-people-button',
231
197
  text: props.strings.peopleButtonLabel,
232
- iconProps: { iconName: 'MoreDrawerPeople' },
198
+ iconProps: {
199
+ iconName: 'MoreDrawerPeople'
200
+ },
233
201
  onItemClick: props.onPeopleButtonClicked,
234
202
  disabled: isDisabled(drawerSelectionOptions.peopleButton) || props.disableButtonsForHoldScreen
235
203
  });
@@ -244,24 +212,27 @@ export const MoreDrawer = (props) => {
244
212
  holdButtonProps.onToggleHold();
245
213
  onLightDismiss();
246
214
  },
247
- iconProps: { iconName: 'HoldCallContextualMenuItem', styles: { root: { lineHeight: 0 } } }
215
+ iconProps: {
216
+ iconName: 'HoldCallContextualMenuItem',
217
+ styles: {
218
+ root: {
219
+ lineHeight: 0
220
+ }
221
+ }
222
+ }
248
223
  });
249
224
  }
250
225
  /*@conditional-compile-remove(rooms) */
251
- const role = (_e = callAdapter.getState().call) === null || _e === void 0 ? void 0 : _e.role;
226
+ const role = (_c = callAdapter.getState().call) === null || _c === void 0 ? void 0 : _c.role;
252
227
  /*@conditional-compile-remove(rooms) */
253
228
  const hideRaiseHandButtonInRoomsCall = callAdapter.getState().isRoomsCall && role && ['Consumer', 'Unknown'].includes(role);
254
229
  /* @conditional-compile-remove(raise-hand) */
255
- if (drawerSelectionOptions !== false &&
256
- isEnabled(drawerSelectionOptions === null || drawerSelectionOptions === void 0 ? void 0 : drawerSelectionOptions.raiseHandButton) &&
257
- /*@conditional-compile-remove(rooms) */ !hideRaiseHandButtonInRoomsCall) {
230
+ if (drawerSelectionOptions !== false && isEnabled(drawerSelectionOptions === null || drawerSelectionOptions === void 0 ? void 0 : drawerSelectionOptions.raiseHandButton) && /*@conditional-compile-remove(rooms) */ !hideRaiseHandButtonInRoomsCall) {
258
231
  const raiseHandIcon = raiseHandButtonProps.checked ? 'LowerHandContextualMenuItem' : 'RaiseHandContextualMenuItem';
259
232
  drawerMenuItems.push({
260
233
  itemKey: 'raiseHandButtonKey',
261
234
  disabled: props.disableButtonsForHoldScreen || isDisabled(drawerSelectionOptions.raiseHandButton),
262
- text: raiseHandButtonProps.checked
263
- ? localeStrings.component.strings.raiseHandButton.onLabel
264
- : localeStrings.component.strings.raiseHandButton.offLabel,
235
+ text: raiseHandButtonProps.checked ? localeStrings.component.strings.raiseHandButton.onLabel : localeStrings.component.strings.raiseHandButton.offLabel,
265
236
  onItemClick: () => {
266
237
  if (raiseHandButtonProps.onToggleRaiseHand) {
267
238
  raiseHandButtonProps.onToggleRaiseHand();
@@ -270,7 +241,11 @@ export const MoreDrawer = (props) => {
270
241
  },
271
242
  iconProps: {
272
243
  iconName: raiseHandIcon,
273
- styles: { root: { lineHeight: 0 } }
244
+ styles: {
245
+ root: {
246
+ lineHeight: 0
247
+ }
248
+ }
274
249
  }
275
250
  });
276
251
  }
@@ -293,9 +268,7 @@ export const MoreDrawer = (props) => {
293
268
  /* @conditional-compile-remove(close-captions) */
294
269
  const [currentSpokenLanguage, setCurrentSpokenLanguage] = useState(captionSettingsProp.currentSpokenLanguage !== '' ? captionSettingsProp.currentSpokenLanguage : 'en-us');
295
270
  /* @conditional-compile-remove(close-captions) */
296
- const [currentCaptionLanguage, setCurrentCaptionLanguage] = useState(captionSettingsProp.currentCaptionLanguage !== ''
297
- ? captionSettingsProp.currentCaptionLanguage
298
- : _spokenLanguageToCaptionLanguage[currentSpokenLanguage]);
271
+ const [currentCaptionLanguage, setCurrentCaptionLanguage] = useState(captionSettingsProp.currentCaptionLanguage !== '' ? captionSettingsProp.currentCaptionLanguage : _spokenLanguageToCaptionLanguage[currentSpokenLanguage]);
299
272
  /* @conditional-compile-remove(close-captions) */
300
273
  const onToggleChange = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
301
274
  if (!captionSettingsProp.isCaptionsFeatureActive) {
@@ -310,33 +283,33 @@ export const MoreDrawer = (props) => {
310
283
  /* @conditional-compile-remove(close-captions) */
311
284
  if (props.isCaptionsSupported) {
312
285
  const captionsDrawerItems = [];
313
- const spokenLanguageString = supportedSpokenLanguageStrings
314
- ? supportedSpokenLanguageStrings[currentSpokenLanguage]
315
- : currentSpokenLanguage;
316
- const captionLanguageString = supportedCaptionLanguageStrings
317
- ? supportedCaptionLanguageStrings[currentCaptionLanguage]
318
- : currentCaptionLanguage;
286
+ const spokenLanguageString = supportedSpokenLanguageStrings ? supportedSpokenLanguageStrings[currentSpokenLanguage] : currentSpokenLanguage;
287
+ const captionLanguageString = supportedCaptionLanguageStrings ? supportedCaptionLanguageStrings[currentCaptionLanguage] : currentCaptionLanguage;
319
288
  drawerMenuItems.push({
320
289
  itemKey: 'captions',
321
290
  id: 'common-call-composite-captions-button',
322
291
  disabled: props.disableButtonsForHoldScreen,
323
292
  text: props.strings.captionsMenuTitle,
324
- iconProps: { iconName: 'CaptionsIcon' },
293
+ iconProps: {
294
+ iconName: 'CaptionsIcon'
295
+ },
325
296
  subMenuProps: captionsDrawerItems
326
297
  });
327
298
  captionsDrawerItems.push({
328
299
  itemKey: 'ToggleCaptionsKey',
329
- text: captionSettingsProp.isCaptionsFeatureActive
330
- ? localeStrings.strings.call.startCaptionsButtonTooltipOnContent
331
- : localeStrings.strings.call.startCaptionsButtonTooltipOffContent,
300
+ text: captionSettingsProp.isCaptionsFeatureActive ? localeStrings.strings.call.startCaptionsButtonTooltipOnContent : localeStrings.strings.call.startCaptionsButtonTooltipOffContent,
332
301
  iconProps: {
333
302
  iconName: captionSettingsProp.isCaptionsFeatureActive ? 'CaptionsOffIcon' : 'CaptionsIcon',
334
- styles: { root: { lineHeight: 0 } }
303
+ styles: {
304
+ root: {
305
+ lineHeight: 0
306
+ }
307
+ }
335
308
  },
336
309
  onItemClick: onToggleChange,
337
310
  disabled: props.disableButtonsForHoldScreen,
338
- secondaryComponent: (React.createElement(Stack, { verticalFill: true, verticalAlign: "center" },
339
- React.createElement(Toggle, { id: "common-call-composite-captions-toggle-button", checked: captionSettingsProp.isCaptionsFeatureActive, styles: themedToggleButtonStyle(theme, captionSettingsProp.isCaptionsFeatureActive), onChange: onToggleChange })))
311
+ secondaryComponent: React.createElement(Stack, { verticalFill: true, verticalAlign: "center" },
312
+ React.createElement(Toggle, { id: "common-call-composite-captions-toggle-button", checked: captionSettingsProp.isCaptionsFeatureActive, styles: themedToggleButtonStyle(theme, captionSettingsProp.isCaptionsFeatureActive), onChange: onToggleChange }))
340
313
  });
341
314
  captionsDrawerItems.push({
342
315
  itemKey: 'ChangeSpokenLanguage',
@@ -345,7 +318,11 @@ export const MoreDrawer = (props) => {
345
318
  secondaryText: spokenLanguageString,
346
319
  iconProps: {
347
320
  iconName: 'ChangeSpokenLanguageIcon',
348
- styles: { root: { lineHeight: 0 } }
321
+ styles: {
322
+ root: {
323
+ lineHeight: 0
324
+ }
325
+ }
349
326
  },
350
327
  disabled: props.disableButtonsForHoldScreen || !captionSettingsProp.isCaptionsFeatureActive,
351
328
  onItemClick: () => {
@@ -353,7 +330,11 @@ export const MoreDrawer = (props) => {
353
330
  },
354
331
  secondaryIconProps: {
355
332
  iconName: 'ChevronRight',
356
- styles: { root: { lineHeight: 0 } }
333
+ styles: {
334
+ root: {
335
+ lineHeight: 0
336
+ }
337
+ }
357
338
  }
358
339
  });
359
340
  captionsDrawerItems.push({
@@ -363,7 +344,11 @@ export const MoreDrawer = (props) => {
363
344
  secondaryText: captionLanguageString,
364
345
  iconProps: {
365
346
  iconName: 'ChangeCaptionLanguageIcon',
366
- styles: { root: { lineHeight: 0 } }
347
+ styles: {
348
+ root: {
349
+ lineHeight: 0
350
+ }
351
+ }
367
352
  },
368
353
  disabled: props.disableButtonsForHoldScreen || !captionSettingsProp.isCaptionsFeatureActive,
369
354
  onItemClick: () => {
@@ -371,29 +356,37 @@ export const MoreDrawer = (props) => {
371
356
  },
372
357
  secondaryIconProps: {
373
358
  iconName: 'ChevronRight',
374
- styles: { root: { lineHeight: 0 } }
359
+ styles: {
360
+ root: {
361
+ lineHeight: 0
362
+ }
363
+ }
375
364
  }
376
365
  });
377
366
  }
378
367
  /* @conditional-compile-remove(control-bar-button-injection) */
379
368
  const customDrawerButtons = useMemo(() => generateCustomCallDrawerButtons(onFetchCustomButtonPropsTrampoline(drawerSelectionOptions !== false ? drawerSelectionOptions : undefined), drawerSelectionOptions !== false ? drawerSelectionOptions === null || drawerSelectionOptions === void 0 ? void 0 : drawerSelectionOptions.displayType : undefined), [drawerSelectionOptions]);
380
369
  /* @conditional-compile-remove(control-bar-button-injection) */
381
- customDrawerButtons['primary'].slice(CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS).forEach((element) => {
370
+ customDrawerButtons['primary'].slice(CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS).forEach(element => {
382
371
  drawerMenuItems.push(element);
383
372
  });
384
373
  /* @conditional-compile-remove(control-bar-button-injection) */
385
- customDrawerButtons['secondary'].forEach((element) => {
374
+ customDrawerButtons['secondary'].forEach(element => {
386
375
  drawerMenuItems.push(element);
387
376
  });
388
377
  /* @conditional-compile-remove(control-bar-button-injection) */
389
- customDrawerButtons['overflow'].forEach((element) => {
378
+ customDrawerButtons['overflow'].forEach(element => {
390
379
  drawerMenuItems.push(element);
391
380
  });
392
381
  /* @conditional-compile-remove(close-captions) */
393
- return (React.createElement(React.Fragment, null,
394
- isSpokenLanguageDrawerOpen && props.isCaptionsSupported && (React.createElement(CaptionSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentSpokenLanguage, setCurrentLanguage: captionSettingsHandlers.onSetSpokenLanguage, currentLanguage: currentSpokenLanguage, strings: { menuTitle: props.strings.spokenLanguageMenuTitle }, supportedLanguageStrings: supportedSpokenLanguageStrings })),
395
- isCaptionLanguageDrawerOpen && props.isCaptionsSupported && (React.createElement(CaptionSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentCaptionLanguage, setCurrentLanguage: captionSettingsHandlers.onSetCaptionLanguage, currentLanguage: currentCaptionLanguage, strings: { menuTitle: props.strings.captionLanguageMenuTitle }, supportedLanguageStrings: supportedCaptionLanguageStrings })),
396
- !isSpokenLanguageDrawerOpen && !isCaptionLanguageDrawerOpen && (React.createElement(DrawerMenu, { items: drawerMenuItems, onLightDismiss: props.onLightDismiss }))));
382
+ return React.createElement(React.Fragment, null,
383
+ isSpokenLanguageDrawerOpen && props.isCaptionsSupported && React.createElement(CaptionSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentSpokenLanguage, setCurrentLanguage: captionSettingsHandlers.onSetSpokenLanguage, currentLanguage: currentSpokenLanguage, strings: {
384
+ menuTitle: props.strings.spokenLanguageMenuTitle
385
+ }, supportedLanguageStrings: supportedSpokenLanguageStrings }),
386
+ isCaptionLanguageDrawerOpen && props.isCaptionsSupported && React.createElement(CaptionSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentCaptionLanguage, setCurrentLanguage: captionSettingsHandlers.onSetCaptionLanguage, currentLanguage: currentCaptionLanguage, strings: {
387
+ menuTitle: props.strings.captionLanguageMenuTitle
388
+ }, supportedLanguageStrings: supportedCaptionLanguageStrings }),
389
+ !isSpokenLanguageDrawerOpen && !isCaptionLanguageDrawerOpen && React.createElement(DrawerMenu, { items: drawerMenuItems, onLightDismiss: props.onLightDismiss }));
397
390
  return React.createElement(DrawerMenu, { items: drawerMenuItems, onLightDismiss: props.onLightDismiss });
398
391
  };
399
392
  const isDeviceSelected = (speaker, selectedSpeaker) => !!selectedSpeaker && speaker.id === selectedSpeaker.id;
@@ -1 +1 @@
1
- {"version":3,"file":"MoreDrawer.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/common/Drawer/MoreDrawer.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,iDAAiD;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,+DAA+D;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAEL,WAAW,IAAI,UAAU,EAG1B,4CAAmC;AAGpC,iDAAiD;AACjD,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,4CAAmC;AAE1F,6CAA6C,CAAC,mDAAmD;AACjG,OAAO,EAAE,UAAU,EAAE,4CAAmC;AACxD,6CAA6C;AAC7C,OAAO,EAAE,eAAe,EAAwB,4CAAmC;AAEnF,+DAA+D;AAC/D,OAAO,EACL,qBAAqB,EACrB,+BAA+B,EAC/B,kCAAkC,EACnC,MAAM,4BAA4B,CAAC;AACpC,6CAA6C,CAAC,mDAAmD,CAAC,6CAA6C;AAC/I,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,6CAA6C,CAAC,mDAAmD,CAAC,iDAAiD,CAAC,6CAA6C;AACjM,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,iDAAiD;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAG1D,iDAAiD;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,iDAAiD;AACjD,OAAO,EAAE,wBAAwB,EAAgC,sDAA6C;AAC9G,iDAAiD;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC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AW,EAAE,CAAC,MAAM,KAAK,KAAK,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useCallback } from 'react';\n/* @conditional-compile-remove(close-captions) */\nimport { useState } from 'react';\n/* @conditional-compile-remove(control-bar-button-injection) */\nimport { useMemo } from 'react';\nimport {\n OptionsDevice,\n _DrawerMenu as DrawerMenu,\n _DrawerMenuItemProps as DrawerMenuItemProps,\n _DrawerMenuStyles\n} from '@internal/react-components';\n/* @conditional-compile-remove(gallery-layouts) */\nimport { VideoGalleryLayout } from '@internal/react-components';\n/* @conditional-compile-remove(close-captions) */\nimport { _StartCaptionsButton, _CaptionsSettingsModal } from '@internal/react-components';\n\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\nimport { HoldButton } from '@internal/react-components';\n/* @conditional-compile-remove(raise-hand) */\nimport { RaiseHandButton, RaiseHandButtonProps } from '@internal/react-components';\nimport { AudioDeviceInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(control-bar-button-injection) */\nimport {\n CUSTOM_BUTTON_OPTIONS,\n generateCustomCallDrawerButtons,\n onFetchCustomButtonPropsTrampoline\n} from '../ControlBar/CustomButton';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(raise-hand) */\nimport { usePropsFor } from '../../CallComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */\nimport { useLocale } from '../../localization';\nimport { isDisabled } from '../../CallComposite/utils';\nimport { CommonCallControlOptions } from '../types/CommonCallControlOptions';\n/* @conditional-compile-remove(close-captions) */\nimport { Stack, Toggle, useTheme } from '@fluentui/react';\n/* @conditional-compile-remove(close-captions) */\nimport { _pxToRem } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(close-captions) */\nimport { useAdaptedSelector } from '../../CallComposite/hooks/useAdaptedSelector';\n/* @conditional-compile-remove(close-captions) */\nimport { _captionSettingsSelector, _startCaptionsButtonSelector } from '@internal/calling-component-bindings';\n/* @conditional-compile-remove(close-captions) */\nimport { useHandlers } from '../../CallComposite/hooks/useHandlers';\n/* @conditional-compile-remove(close-captions) */\nimport { CaptionSettingsDrawer } from './CaptionSettingsDrawer';\n/* @conditional-compile-remove(close-captions) */\nimport { themedToggleButtonStyle } from './MoreDrawer.styles';\n/* @conditional-compile-remove(close-captions) */\nimport { _spokenLanguageToCaptionLanguage } from '@internal/react-components';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../../CallComposite/adapter/CallAdapterProvider';\n/* @conditional-compile-remove(dtmf-dialer) */\nimport { useSelector } from '../../CallComposite/hooks/useSelector';\n/* @conditional-compile-remove(dtmf-dialer) */\nimport { getTargetCallees } from '../../CallComposite/selectors/baseSelectors';\n/* @conditional-compile-remove(dtmf-dialer) */\nimport { showDtmfDialer } from '../../CallComposite/utils/MediaGalleryUtils';\n\n/** @private */\nexport interface MoreDrawerStrings {\n /**\n * Label for people drawerMenuItem.\n */\n peopleButtonLabel: string;\n /**\n * Label for audio device drawerMenuItem.\n *\n * @remarks This replaces the microphoneMenuTitle speakers can not be enumerated\n *\n */\n audioDeviceMenuTitle?: string;\n /**\n * Label for microphone drawerMenuItem.\n *\n * @remarks Only displayed when speakers can be enumerated otherwise audioDeviceMenuTitle is used\n *\n */\n microphoneMenuTitle: string;\n /**\n * Label for speaker drawerMenuItem.\n *\n * @remarks Only displayed when speakers can be enumerated\n *\n */\n speakerMenuTitle: string;\n /* @conditional-compile-remove(close-captions) */\n /**\n * Label for captions drawerMenuItem\n *\n * @remarks Only displayed when in Teams call\n */\n captionsMenuTitle: string;\n /* @conditional-compile-remove(close-captions) */\n /**\n * Label for spokenLanguage drawerMenuItem\n *\n * @remarks Only displayed when in Teams call, disabled until captions is on\n */\n spokenLanguageMenuTitle: string;\n\n /* @conditional-compile-remove(close-captions) */\n /**\n * Label for captionLanguage drawerMenuItem\n *\n * @remarks Only displayed when in Teams call, disabled until captions is on\n */\n captionLanguageMenuTitle: string;\n\n /* @conditional-compile-remove(gallery-layouts) */\n /**\n * Label for gallery options drawerMenuItem\n */\n galleryOptionsMenuTitle: string;\n}\n\n/** @private */\nexport interface MoreDrawerDevicesMenuProps {\n /**\n * Available microphones for selection\n */\n microphones?: OptionsDevice[];\n /**\n * Available speakers for selection\n */\n speakers?: OptionsDevice[];\n /**\n * Microphone that is shown as currently selected\n */\n selectedMicrophone?: OptionsDevice;\n /**\n * Speaker that is shown as currently selected\n */\n selectedSpeaker?: OptionsDevice;\n /**\n * Speaker when a speaker is selected\n */\n onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;\n /**\n * Callback when a microphone is selected\n */\n onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout?: VideoGalleryLayout;\n /* @conditional-compile-remove(gallery-layouts) */\n /**\n * Callback for when the gallery layout is changed\n */\n onUserSetGalleryLayout?: (layout: VideoGalleryLayout) => void;\n /* @conditional-compile-remove(dtmf-dialer) */\n /**\n * Callback to hide and show the dialpad in the more drawer\n */\n onSetDialpadPage?: () => void;\n /* @conditional-compile-remove(dtmf-dialer) */\n /**\n * Whether the dialpad is present in the call\n */\n dtmfDialerPresent?: boolean;\n}\n\n/** @private */\nexport interface MoreDrawerProps extends MoreDrawerDevicesMenuProps {\n onLightDismiss: () => void;\n onPeopleButtonClicked: () => void;\n callControls?: boolean | CommonCallControlOptions;\n onClickShowDialpad?: () => void;\n /* @conditional-compile-remove(close-captions) */\n isCaptionsSupported?: boolean;\n strings: MoreDrawerStrings;\n disableButtonsForHoldScreen?: boolean;\n}\n\nconst inferCallWithChatControlOptions = (\n callWithChatControls?: boolean | CommonCallControlOptions\n): CommonCallControlOptions | false => {\n if (callWithChatControls === false) {\n return false;\n }\n const options = callWithChatControls === true || callWithChatControls === undefined ? {} : callWithChatControls;\n return options;\n};\n\n/** @private */\nexport const MoreDrawer = (props: MoreDrawerProps): JSX.Element => {\n /* @conditional-compile-remove(close-captions) */\n const theme = useTheme();\n /* @conditional-compile-remove(rooms) */\n const callAdapter = useAdapter();\n const drawerMenuItems: DrawerMenuItemProps[] = [];\n\n const { speakers, onSelectSpeaker, onLightDismiss } = props;\n\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */\n const localeStrings = useLocale();\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n const holdButtonProps = usePropsFor(HoldButton);\n\n /* @conditional-compile-remove(dtmf-dialer) */\n const callees = useSelector(getTargetCallees);\n /* @conditional-compile-remove(dtmf-dialer) */\n const allowDtmfDialer = showDtmfDialer(callees);\n /* @conditional-compile-remove(dtmf-dialer) */\n const [dtmfDialerChecked, setDtmfDialerChecked] = useState<boolean>(props.dtmfDialerPresent ?? false);\n\n /* @conditional-compile-remove(raise-hand) */\n const raiseHandButtonProps = usePropsFor(RaiseHandButton) as RaiseHandButtonProps;\n\n const onSpeakerItemClick = useCallback(\n (_ev, itemKey) => {\n const selected = speakers?.find((speaker) => speaker.id === itemKey);\n if (selected) {\n // This is unsafe - we're only passing in part of the argument to the handler.\n // But this is a known issue in our state.\n onSelectSpeaker(selected as AudioDeviceInfo);\n }\n onLightDismiss();\n },\n [speakers, onSelectSpeaker, onLightDismiss]\n );\n\n const drawerSelectionOptions = inferCallWithChatControlOptions(props.callControls);\n\n if (props.speakers && props.speakers.length > 0) {\n drawerMenuItems.push({\n itemKey: 'speakers',\n disabled: props.disableButtonsForHoldScreen,\n text: props.strings.speakerMenuTitle,\n iconProps: { iconName: 'MoreDrawerSpeakers' },\n subMenuProps: props.speakers.map((speaker) => ({\n itemKey: speaker.id,\n iconProps: {\n iconName: isDeviceSelected(speaker, props.selectedSpeaker)\n ? 'MoreDrawerSelectedSpeaker'\n : 'MoreDrawerSpeakers'\n },\n text: speaker.name,\n onItemClick: onSpeakerItemClick,\n secondaryIconProps: isDeviceSelected(speaker, props.selectedSpeaker) ? { iconName: 'Accept' } : undefined\n })),\n secondaryText: props.selectedSpeaker?.name\n });\n }\n\n const { microphones, onSelectMicrophone } = props;\n const onMicrophoneItemClick = useCallback(\n (_ev, itemKey) => {\n const selected = microphones?.find((mic) => mic.id === itemKey);\n if (selected) {\n // This is unsafe - we're only passing in part of the argument to the handler.\n // But this is a known issue in our state.\n onSelectMicrophone(selected as AudioDeviceInfo);\n }\n onLightDismiss();\n },\n [microphones, onSelectMicrophone, onLightDismiss]\n );\n\n if (props.microphones && props.microphones.length > 0) {\n // Set props as Microphone if speakers can be enumerated else set as Audio Device\n const speakersAvailable = props.speakers && props.speakers.length > 0;\n const itemKey = speakersAvailable ? 'microphones' : 'audioDevices';\n const text = speakersAvailable ? props.strings.microphoneMenuTitle : props.strings.audioDeviceMenuTitle;\n const iconName = speakersAvailable ? 'MoreDrawerMicrophones' : 'MoreDrawerSpeakers';\n const selectedIconName = speakersAvailable ? 'MoreDrawerSelectedMicrophone' : 'MoreDrawerSelectedSpeaker';\n\n drawerMenuItems.push({\n itemKey: itemKey,\n disabled: props.disableButtonsForHoldScreen,\n text: text,\n iconProps: { iconName: iconName },\n subMenuProps: props.microphones.map((mic) => ({\n itemKey: mic.id,\n iconProps: {\n iconName: isDeviceSelected(mic, props.selectedMicrophone) ? selectedIconName : iconName\n },\n text: mic.name,\n onItemClick: onMicrophoneItemClick,\n secondaryIconProps: isDeviceSelected(mic, props.selectedMicrophone) ? { iconName: 'Accept' } : undefined,\n disabled: drawerSelectionOptions !== false ? isDisabled(drawerSelectionOptions.microphoneButton) : undefined\n })),\n secondaryText: props.selectedMicrophone?.name\n });\n }\n\n /* @conditional-compile-remove(dtmf-dialer) */\n const dtmfDialerScreenOption = {\n itemKey: 'dtmfDialerScreenKey',\n text: !dtmfDialerChecked\n ? localeStrings.strings.call.dtmfDialerMoreButtonLabelOn\n : localeStrings.strings.call.dtmfDialerMoreButtonLabelOff,\n onItemClick: () => {\n if (props.onSetDialpadPage) {\n props.onSetDialpadPage();\n }\n setDtmfDialerChecked(!dtmfDialerChecked);\n onLightDismiss();\n },\n iconProps: {\n iconName: 'DtmfDialpadButton',\n styles: { root: { lineHeight: 0 } }\n }\n };\n /* @conditional-compile-remove(dtmf-dialer) */\n /**\n * Only render the dtmf dialer if the dialpad for PSTN calls is not present\n */\n if (props.onSetDialpadPage && allowDtmfDialer) {\n drawerMenuItems.push(dtmfDialerScreenOption);\n }\n /* @conditional-compile-remove(gallery-layouts) */\n const galleryLayoutOptions = {\n itemKey: 'galleryPositionKey',\n iconProps: {\n iconName: 'GalleryOptions',\n styles: { root: { lineHeight: 0 } }\n },\n disabled: props.disableButtonsForHoldScreen,\n text: localeStrings.strings.call.moreButtonGalleryControlLabel,\n subMenuProps: [\n {\n itemKey: 'dynamicSelectionKey',\n text: localeStrings.strings.call.moreButtonGalleryFloatingLocalLayoutLabel,\n onItemClick: () => {\n props.onUserSetGalleryLayout && props.onUserSetGalleryLayout('floatingLocalVideo');\n onLightDismiss();\n },\n iconProps: {\n iconName: 'FloatingLocalVideoGalleryLayout',\n styles: { root: { lineHeight: 0 } }\n },\n secondaryIconProps: props.userSetGalleryLayout === 'floatingLocalVideo' ? { iconName: 'Accept' } : undefined\n },\n {\n itemKey: 'focusedContentSelectionKey',\n text: localeStrings.strings.call.moreButtonGalleryFocusedContentLayoutLabel,\n onItemClick: () => {\n props.onUserSetGalleryLayout && props.onUserSetGalleryLayout('focusedContent');\n onLightDismiss();\n },\n iconProps: {\n iconName: 'FocusedContentGalleryLayout',\n styles: { root: { lineHeight: 0 } }\n },\n secondaryIconProps: props.userSetGalleryLayout === 'focusedContent' ? { iconName: 'Accept' } : undefined\n }\n ]\n };\n\n /* @conditional-compile-remove(gallery-layout-composite) */\n const galleryOption = {\n itemKey: 'defaultSelectionKey',\n text: localeStrings.strings.call.moreButtonGalleryDefaultLayoutLabel,\n onItemClick: () => {\n props.onUserSetGalleryLayout && props.onUserSetGalleryLayout('default');\n onLightDismiss();\n },\n iconProps: {\n iconName: 'DefaultGalleryLayout',\n styles: { root: { lineHeight: 0 } }\n },\n secondaryIconProps: props.userSetGalleryLayout === 'default' ? { iconName: 'Accept' } : undefined\n };\n\n /* @conditional-compile-remove(gallery-layout-composite) */\n galleryLayoutOptions.subMenuProps?.push(galleryOption);\n\n /* @conditional-compile-remove(gallery-layouts) */\n drawerMenuItems.push(galleryLayoutOptions);\n\n if (drawerSelectionOptions !== false && isEnabled(drawerSelectionOptions?.peopleButton)) {\n drawerMenuItems.push({\n itemKey: 'people',\n id: 'call-composite-drawer-people-button',\n text: props.strings.peopleButtonLabel,\n iconProps: { iconName: 'MoreDrawerPeople' },\n onItemClick: props.onPeopleButtonClicked,\n disabled: isDisabled(drawerSelectionOptions.peopleButton) || props.disableButtonsForHoldScreen\n });\n }\n\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n if (drawerSelectionOptions !== false && isEnabled(drawerSelectionOptions?.holdButton)) {\n drawerMenuItems.push({\n itemKey: 'holdButtonKey',\n disabled: props.disableButtonsForHoldScreen || isDisabled(drawerSelectionOptions.holdButton),\n text: localeStrings.component.strings.holdButton.tooltipOffContent,\n onItemClick: () => {\n holdButtonProps.onToggleHold();\n onLightDismiss();\n },\n iconProps: { iconName: 'HoldCallContextualMenuItem', styles: { root: { lineHeight: 0 } } }\n });\n }\n\n /*@conditional-compile-remove(rooms) */\n const role = callAdapter.getState().call?.role;\n /*@conditional-compile-remove(rooms) */\n const hideRaiseHandButtonInRoomsCall =\n callAdapter.getState().isRoomsCall && role && ['Consumer', 'Unknown'].includes(role);\n\n /* @conditional-compile-remove(raise-hand) */\n if (\n drawerSelectionOptions !== false &&\n isEnabled(drawerSelectionOptions?.raiseHandButton) &&\n /*@conditional-compile-remove(rooms) */ !hideRaiseHandButtonInRoomsCall\n ) {\n const raiseHandIcon = raiseHandButtonProps.checked ? 'LowerHandContextualMenuItem' : 'RaiseHandContextualMenuItem';\n drawerMenuItems.push({\n itemKey: 'raiseHandButtonKey',\n disabled: props.disableButtonsForHoldScreen || isDisabled(drawerSelectionOptions.raiseHandButton),\n text: raiseHandButtonProps.checked\n ? localeStrings.component.strings.raiseHandButton.onLabel\n : localeStrings.component.strings.raiseHandButton.offLabel,\n onItemClick: () => {\n if (raiseHandButtonProps.onToggleRaiseHand) {\n raiseHandButtonProps.onToggleRaiseHand();\n }\n onLightDismiss();\n },\n iconProps: {\n iconName: raiseHandIcon,\n styles: { root: { lineHeight: 0 } }\n }\n });\n }\n\n /* @conditional-compile-remove(close-captions) */\n //Captions drawer menu\n const supportedSpokenLanguageStrings = useLocale().strings.call.spokenLanguageStrings;\n\n /* @conditional-compile-remove(close-captions) */\n //Captions drawer menu\n const supportedCaptionLanguageStrings = useLocale().strings.call.captionLanguageStrings;\n /* @conditional-compile-remove(close-captions) */\n const captionSettingsProp = useAdaptedSelector(_captionSettingsSelector);\n /* @conditional-compile-remove(close-captions) */\n const startCaptionsButtonHandlers = useHandlers(_StartCaptionsButton);\n /* @conditional-compile-remove(close-captions) */\n const captionSettingsHandlers = useHandlers(_CaptionsSettingsModal);\n\n /* @conditional-compile-remove(close-captions) */\n const [isSpokenLanguageDrawerOpen, setIsSpokenLanguageDrawerOpen] = useState<boolean>(false);\n\n /* @conditional-compile-remove(close-captions) */\n const [isCaptionLanguageDrawerOpen, setIsCaptionLanguageDrawerOpen] = useState<boolean>(false);\n\n /* @conditional-compile-remove(close-captions) */\n const [currentSpokenLanguage, setCurrentSpokenLanguage] = useState<string>(\n captionSettingsProp.currentSpokenLanguage !== '' ? captionSettingsProp.currentSpokenLanguage : 'en-us'\n );\n\n /* @conditional-compile-remove(close-captions) */\n const [currentCaptionLanguage, setCurrentCaptionLanguage] = useState<string>(\n captionSettingsProp.currentCaptionLanguage !== ''\n ? captionSettingsProp.currentCaptionLanguage\n : _spokenLanguageToCaptionLanguage[currentSpokenLanguage]\n );\n\n /* @conditional-compile-remove(close-captions) */\n const onToggleChange = useCallback(async () => {\n if (!captionSettingsProp.isCaptionsFeatureActive) {\n await startCaptionsButtonHandlers.onStartCaptions({\n spokenLanguage: currentSpokenLanguage\n });\n } else {\n startCaptionsButtonHandlers.onStopCaptions();\n }\n }, [captionSettingsProp.isCaptionsFeatureActive, startCaptionsButtonHandlers, currentSpokenLanguage]);\n\n /* @conditional-compile-remove(close-captions) */\n if (props.isCaptionsSupported) {\n const captionsDrawerItems: DrawerMenuItemProps[] = [];\n\n const spokenLanguageString = supportedSpokenLanguageStrings\n ? supportedSpokenLanguageStrings[currentSpokenLanguage]\n : currentSpokenLanguage;\n const captionLanguageString = supportedCaptionLanguageStrings\n ? supportedCaptionLanguageStrings[currentCaptionLanguage]\n : currentCaptionLanguage;\n\n drawerMenuItems.push({\n itemKey: 'captions',\n id: 'common-call-composite-captions-button',\n disabled: props.disableButtonsForHoldScreen,\n text: props.strings.captionsMenuTitle,\n iconProps: { iconName: 'CaptionsIcon' },\n subMenuProps: captionsDrawerItems\n });\n\n captionsDrawerItems.push({\n itemKey: 'ToggleCaptionsKey',\n text: captionSettingsProp.isCaptionsFeatureActive\n ? localeStrings.strings.call.startCaptionsButtonTooltipOnContent\n : localeStrings.strings.call.startCaptionsButtonTooltipOffContent,\n iconProps: {\n iconName: captionSettingsProp.isCaptionsFeatureActive ? 'CaptionsOffIcon' : 'CaptionsIcon',\n styles: { root: { lineHeight: 0 } }\n },\n onItemClick: onToggleChange,\n disabled: props.disableButtonsForHoldScreen,\n secondaryComponent: (\n <Stack verticalFill verticalAlign=\"center\">\n <Toggle\n id=\"common-call-composite-captions-toggle-button\"\n checked={captionSettingsProp.isCaptionsFeatureActive}\n styles={themedToggleButtonStyle(theme, captionSettingsProp.isCaptionsFeatureActive)}\n onChange={onToggleChange}\n />\n </Stack>\n )\n });\n\n captionsDrawerItems.push({\n itemKey: 'ChangeSpokenLanguage',\n text: props.strings.spokenLanguageMenuTitle,\n id: 'common-call-composite-captions-spoken-settings-button',\n secondaryText: spokenLanguageString,\n iconProps: {\n iconName: 'ChangeSpokenLanguageIcon',\n styles: { root: { lineHeight: 0 } }\n },\n disabled: props.disableButtonsForHoldScreen || !captionSettingsProp.isCaptionsFeatureActive,\n onItemClick: () => {\n setIsSpokenLanguageDrawerOpen(true);\n },\n secondaryIconProps: {\n iconName: 'ChevronRight',\n styles: { root: { lineHeight: 0 } }\n }\n });\n\n captionsDrawerItems.push({\n itemKey: 'ChangeCaptionLanguage',\n text: props.strings.captionLanguageMenuTitle,\n id: 'common-call-composite-captions-subtitle-settings-button',\n secondaryText: captionLanguageString,\n iconProps: {\n iconName: 'ChangeCaptionLanguageIcon',\n styles: { root: { lineHeight: 0 } }\n },\n disabled: props.disableButtonsForHoldScreen || !captionSettingsProp.isCaptionsFeatureActive,\n onItemClick: () => {\n setIsCaptionLanguageDrawerOpen(true);\n },\n secondaryIconProps: {\n iconName: 'ChevronRight',\n styles: { root: { lineHeight: 0 } }\n }\n });\n }\n\n /* @conditional-compile-remove(control-bar-button-injection) */\n const customDrawerButtons = useMemo(\n () =>\n generateCustomCallDrawerButtons(\n onFetchCustomButtonPropsTrampoline(drawerSelectionOptions !== false ? drawerSelectionOptions : undefined),\n drawerSelectionOptions !== false ? drawerSelectionOptions?.displayType : undefined\n ),\n [drawerSelectionOptions]\n );\n\n /* @conditional-compile-remove(control-bar-button-injection) */\n customDrawerButtons['primary'].slice(CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS).forEach((element) => {\n drawerMenuItems.push(element);\n });\n /* @conditional-compile-remove(control-bar-button-injection) */\n customDrawerButtons['secondary'].forEach((element) => {\n drawerMenuItems.push(element);\n });\n /* @conditional-compile-remove(control-bar-button-injection) */\n customDrawerButtons['overflow'].forEach((element) => {\n drawerMenuItems.push(element);\n });\n /* @conditional-compile-remove(close-captions) */\n return (\n <>\n {isSpokenLanguageDrawerOpen && props.isCaptionsSupported && (\n <CaptionSettingsDrawer\n onLightDismiss={props.onLightDismiss}\n selectLanguage={setCurrentSpokenLanguage}\n setCurrentLanguage={captionSettingsHandlers.onSetSpokenLanguage}\n currentLanguage={currentSpokenLanguage}\n strings={{ menuTitle: props.strings.spokenLanguageMenuTitle }}\n supportedLanguageStrings={supportedSpokenLanguageStrings}\n />\n )}\n {isCaptionLanguageDrawerOpen && props.isCaptionsSupported && (\n <CaptionSettingsDrawer\n onLightDismiss={props.onLightDismiss}\n selectLanguage={setCurrentCaptionLanguage}\n setCurrentLanguage={captionSettingsHandlers.onSetCaptionLanguage}\n currentLanguage={currentCaptionLanguage}\n strings={{ menuTitle: props.strings.captionLanguageMenuTitle }}\n supportedLanguageStrings={supportedCaptionLanguageStrings}\n />\n )}\n {!isSpokenLanguageDrawerOpen && !isCaptionLanguageDrawerOpen && (\n <DrawerMenu items={drawerMenuItems} onLightDismiss={props.onLightDismiss} />\n )}\n </>\n );\n\n return <DrawerMenu items={drawerMenuItems} onLightDismiss={props.onLightDismiss} />;\n};\n\nconst isDeviceSelected = (speaker: OptionsDevice, selectedSpeaker?: OptionsDevice): boolean =>\n !!selectedSpeaker && speaker.id === selectedSpeaker.id;\n\nconst isEnabled = (option: unknown): boolean => option !== false;\n"]}
1
+ {"version":3,"file":"MoreDrawer.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/common/Drawer/MoreDrawer.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAElC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,iDAAiD;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,+DAA+D;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAiB,WAAW,IAAI,UAAU,EAAkE,4CAAmC;AAGtJ,iDAAiD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AC,CAAC,CAAC,eAAe,IAAI,OAAO,CAAC,EAAE,KAAK,eAAe,CAAC,EAAE,CAAC;AACtJ,MAAM,SAAS,GAAG,CAAC,MAAe,EAAW,EAAE,CAAC,MAAM,KAAK,KAAK,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { useCallback } from 'react';\n/* @conditional-compile-remove(close-captions) */\nimport { useState } from 'react';\n/* @conditional-compile-remove(control-bar-button-injection) */\nimport { useMemo } from 'react';\nimport { OptionsDevice, _DrawerMenu as DrawerMenu, _DrawerMenuItemProps as DrawerMenuItemProps, _DrawerMenuStyles } from '@internal/react-components';\n/* @conditional-compile-remove(gallery-layouts) */\nimport { VideoGalleryLayout } from '@internal/react-components';\n/* @conditional-compile-remove(close-captions) */\nimport { _StartCaptionsButton, _CaptionsSettingsModal } from '@internal/react-components';\n\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\nimport { HoldButton } from '@internal/react-components';\n/* @conditional-compile-remove(raise-hand) */\nimport { RaiseHandButton, RaiseHandButtonProps } from '@internal/react-components';\nimport { AudioDeviceInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(control-bar-button-injection) */\nimport { CUSTOM_BUTTON_OPTIONS, generateCustomCallDrawerButtons, onFetchCustomButtonPropsTrampoline } from '../ControlBar/CustomButton';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(raise-hand) */\nimport { usePropsFor } from '../../CallComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */\nimport { useLocale } from '../../localization';\nimport { isDisabled } from '../../CallComposite/utils';\nimport { CommonCallControlOptions } from '../types/CommonCallControlOptions';\n/* @conditional-compile-remove(close-captions) */\nimport { Stack, Toggle, useTheme } from '@fluentui/react';\n/* @conditional-compile-remove(close-captions) */\nimport { _pxToRem } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(close-captions) */\nimport { useAdaptedSelector } from '../../CallComposite/hooks/useAdaptedSelector';\n/* @conditional-compile-remove(close-captions) */\nimport { _captionSettingsSelector, _startCaptionsButtonSelector } from '@internal/calling-component-bindings';\n/* @conditional-compile-remove(close-captions) */\nimport { useHandlers } from '../../CallComposite/hooks/useHandlers';\n/* @conditional-compile-remove(close-captions) */\nimport { CaptionSettingsDrawer } from './CaptionSettingsDrawer';\n/* @conditional-compile-remove(close-captions) */\nimport { themedToggleButtonStyle } from './MoreDrawer.styles';\n/* @conditional-compile-remove(close-captions) */\nimport { _spokenLanguageToCaptionLanguage } from '@internal/react-components';\n/* @conditional-compile-remove(rooms) */\nimport { useAdapter } from '../../CallComposite/adapter/CallAdapterProvider';\n/** @private */\nexport interface MoreDrawerStrings {\n /**\n * Label for people drawerMenuItem.\n */\n peopleButtonLabel: string;\n /**\n * Label for audio device drawerMenuItem.\n *\n * @remarks This replaces the microphoneMenuTitle speakers can not be enumerated\n *\n */\n audioDeviceMenuTitle?: string;\n /**\n * Label for microphone drawerMenuItem.\n *\n * @remarks Only displayed when speakers can be enumerated otherwise audioDeviceMenuTitle is used\n *\n */\n microphoneMenuTitle: string;\n /**\n * Label for speaker drawerMenuItem.\n *\n * @remarks Only displayed when speakers can be enumerated\n *\n */\n speakerMenuTitle: string;\n /* @conditional-compile-remove(close-captions) */\n /**\n * Label for captions drawerMenuItem\n *\n * @remarks Only displayed when in Teams call\n */\n captionsMenuTitle: string;\n /* @conditional-compile-remove(close-captions) */\n /**\n * Label for spokenLanguage drawerMenuItem\n *\n * @remarks Only displayed when in Teams call, disabled until captions is on\n */\n spokenLanguageMenuTitle: string;\n\n /* @conditional-compile-remove(close-captions) */\n /**\n * Label for captionLanguage drawerMenuItem\n *\n * @remarks Only displayed when in Teams call, disabled until captions is on\n */\n captionLanguageMenuTitle: string;\n\n /* @conditional-compile-remove(gallery-layouts) */\n /**\n * Label for gallery options drawerMenuItem\n */\n galleryOptionsMenuTitle: string;\n}\n\n/** @private */\nexport interface MoreDrawerDevicesMenuProps {\n /**\n * Available microphones for selection\n */\n microphones?: OptionsDevice[];\n /**\n * Available speakers for selection\n */\n speakers?: OptionsDevice[];\n /**\n * Microphone that is shown as currently selected\n */\n selectedMicrophone?: OptionsDevice;\n /**\n * Speaker that is shown as currently selected\n */\n selectedSpeaker?: OptionsDevice;\n /**\n * Speaker when a speaker is selected\n */\n onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;\n /**\n * Callback when a microphone is selected\n */\n onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;\n /* @conditional-compile-remove(gallery-layouts) */\n userSetGalleryLayout?: VideoGalleryLayout;\n /* @conditional-compile-remove(gallery-layouts) */\n /**\n * Callback for when the gallery layout is changed\n */\n onUserSetGalleryLayout?: (layout: VideoGalleryLayout) => void;\n}\n\n/** @private */\nexport interface MoreDrawerProps extends MoreDrawerDevicesMenuProps {\n onLightDismiss: () => void;\n onPeopleButtonClicked: () => void;\n callControls?: boolean | CommonCallControlOptions;\n onClickShowDialpad?: () => void;\n /* @conditional-compile-remove(close-captions) */\n isCaptionsSupported?: boolean;\n strings: MoreDrawerStrings;\n disableButtonsForHoldScreen?: boolean;\n}\nconst inferCallWithChatControlOptions = (callWithChatControls?: boolean | CommonCallControlOptions): CommonCallControlOptions | false => {\n if (callWithChatControls === false) {\n return false;\n }\n const options = callWithChatControls === true || callWithChatControls === undefined ? {} : callWithChatControls;\n return options;\n};\n\n/** @private */\nexport const MoreDrawer = (props: MoreDrawerProps): JSX.Element => {\n /* @conditional-compile-remove(close-captions) */\n const theme = useTheme();\n /* @conditional-compile-remove(rooms) */\n const callAdapter = useAdapter();\n const drawerMenuItems: DrawerMenuItemProps[] = [];\n const {\n speakers,\n onSelectSpeaker,\n onLightDismiss\n } = props;\n\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */\n const localeStrings = useLocale();\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n const holdButtonProps = usePropsFor(HoldButton);\n /* @conditional-compile-remove(raise-hand) */\n const raiseHandButtonProps = (usePropsFor(RaiseHandButton) as RaiseHandButtonProps);\n const onSpeakerItemClick = useCallback((_ev, itemKey) => {\n const selected = speakers?.find(speaker => speaker.id === itemKey);\n if (selected) {\n // This is unsafe - we're only passing in part of the argument to the handler.\n // But this is a known issue in our state.\n onSelectSpeaker((selected as AudioDeviceInfo));\n }\n onLightDismiss();\n }, [speakers, onSelectSpeaker, onLightDismiss]);\n const drawerSelectionOptions = inferCallWithChatControlOptions(props.callControls);\n if (props.speakers && props.speakers.length > 0) {\n drawerMenuItems.push({\n itemKey: 'speakers',\n disabled: props.disableButtonsForHoldScreen,\n text: props.strings.speakerMenuTitle,\n iconProps: {\n iconName: 'MoreDrawerSpeakers'\n },\n subMenuProps: props.speakers.map(speaker => ({\n itemKey: speaker.id,\n iconProps: {\n iconName: isDeviceSelected(speaker, props.selectedSpeaker) ? 'MoreDrawerSelectedSpeaker' : 'MoreDrawerSpeakers'\n },\n text: speaker.name,\n onItemClick: onSpeakerItemClick,\n secondaryIconProps: isDeviceSelected(speaker, props.selectedSpeaker) ? {\n iconName: 'Accept'\n } : undefined\n })),\n secondaryText: props.selectedSpeaker?.name\n });\n }\n const {\n microphones,\n onSelectMicrophone\n } = props;\n const onMicrophoneItemClick = useCallback((_ev, itemKey) => {\n const selected = microphones?.find(mic => mic.id === itemKey);\n if (selected) {\n // This is unsafe - we're only passing in part of the argument to the handler.\n // But this is a known issue in our state.\n onSelectMicrophone((selected as AudioDeviceInfo));\n }\n onLightDismiss();\n }, [microphones, onSelectMicrophone, onLightDismiss]);\n if (props.microphones && props.microphones.length > 0) {\n // Set props as Microphone if speakers can be enumerated else set as Audio Device\n const speakersAvailable = props.speakers && props.speakers.length > 0;\n const itemKey = speakersAvailable ? 'microphones' : 'audioDevices';\n const text = speakersAvailable ? props.strings.microphoneMenuTitle : props.strings.audioDeviceMenuTitle;\n const iconName = speakersAvailable ? 'MoreDrawerMicrophones' : 'MoreDrawerSpeakers';\n const selectedIconName = speakersAvailable ? 'MoreDrawerSelectedMicrophone' : 'MoreDrawerSelectedSpeaker';\n drawerMenuItems.push({\n itemKey: itemKey,\n disabled: props.disableButtonsForHoldScreen,\n text: text,\n iconProps: {\n iconName: iconName\n },\n subMenuProps: props.microphones.map(mic => ({\n itemKey: mic.id,\n iconProps: {\n iconName: isDeviceSelected(mic, props.selectedMicrophone) ? selectedIconName : iconName\n },\n text: mic.name,\n onItemClick: onMicrophoneItemClick,\n secondaryIconProps: isDeviceSelected(mic, props.selectedMicrophone) ? {\n iconName: 'Accept'\n } : undefined,\n disabled: drawerSelectionOptions !== false ? isDisabled(drawerSelectionOptions.microphoneButton) : undefined\n })),\n secondaryText: props.selectedMicrophone?.name\n });\n }\n /* @conditional-compile-remove(gallery-layouts) */\n const galleryLayoutOptions = {\n itemKey: 'galleryPositionKey',\n iconProps: {\n iconName: 'GalleryOptions',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n },\n disabled: props.disableButtonsForHoldScreen,\n text: localeStrings.strings.call.moreButtonGalleryControlLabel,\n subMenuProps: [{\n itemKey: 'dynamicSelectionKey',\n text: localeStrings.strings.call.moreButtonGalleryFloatingLocalLayoutLabel,\n onItemClick: () => {\n props.onUserSetGalleryLayout && props.onUserSetGalleryLayout('floatingLocalVideo');\n onLightDismiss();\n },\n iconProps: {\n iconName: 'FloatingLocalVideoGalleryLayout',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n },\n secondaryIconProps: props.userSetGalleryLayout === 'floatingLocalVideo' ? {\n iconName: 'Accept'\n } : undefined\n }, {\n itemKey: 'focusedContentSelectionKey',\n text: localeStrings.strings.call.moreButtonGalleryFocusedContentLayoutLabel,\n onItemClick: () => {\n props.onUserSetGalleryLayout && props.onUserSetGalleryLayout('focusedContent');\n onLightDismiss();\n },\n iconProps: {\n iconName: 'FocusedContentGalleryLayout',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n },\n secondaryIconProps: props.userSetGalleryLayout === 'focusedContent' ? {\n iconName: 'Accept'\n } : undefined\n }]\n };\n /* @conditional-compile-remove(gallery-layouts) */\n drawerMenuItems.push(galleryLayoutOptions);\n if (drawerSelectionOptions !== false && isEnabled(drawerSelectionOptions?.peopleButton)) {\n drawerMenuItems.push({\n itemKey: 'people',\n id: 'call-composite-drawer-people-button',\n text: props.strings.peopleButtonLabel,\n iconProps: {\n iconName: 'MoreDrawerPeople'\n },\n onItemClick: props.onPeopleButtonClicked,\n disabled: isDisabled(drawerSelectionOptions.peopleButton) || props.disableButtonsForHoldScreen\n });\n }\n\n /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\n if (drawerSelectionOptions !== false && isEnabled(drawerSelectionOptions?.holdButton)) {\n drawerMenuItems.push({\n itemKey: 'holdButtonKey',\n disabled: props.disableButtonsForHoldScreen || isDisabled(drawerSelectionOptions.holdButton),\n text: localeStrings.component.strings.holdButton.tooltipOffContent,\n onItemClick: () => {\n holdButtonProps.onToggleHold();\n onLightDismiss();\n },\n iconProps: {\n iconName: 'HoldCallContextualMenuItem',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n }\n });\n }\n\n /*@conditional-compile-remove(rooms) */\n const role = callAdapter.getState().call?.role;\n /*@conditional-compile-remove(rooms) */\n const hideRaiseHandButtonInRoomsCall = callAdapter.getState().isRoomsCall && role && ['Consumer', 'Unknown'].includes(role);\n\n /* @conditional-compile-remove(raise-hand) */\n if (drawerSelectionOptions !== false && isEnabled(drawerSelectionOptions?.raiseHandButton) && /*@conditional-compile-remove(rooms) */!hideRaiseHandButtonInRoomsCall) {\n const raiseHandIcon = raiseHandButtonProps.checked ? 'LowerHandContextualMenuItem' : 'RaiseHandContextualMenuItem';\n drawerMenuItems.push({\n itemKey: 'raiseHandButtonKey',\n disabled: props.disableButtonsForHoldScreen || isDisabled(drawerSelectionOptions.raiseHandButton),\n text: raiseHandButtonProps.checked ? localeStrings.component.strings.raiseHandButton.onLabel : localeStrings.component.strings.raiseHandButton.offLabel,\n onItemClick: () => {\n if (raiseHandButtonProps.onToggleRaiseHand) {\n raiseHandButtonProps.onToggleRaiseHand();\n }\n onLightDismiss();\n },\n iconProps: {\n iconName: raiseHandIcon,\n styles: {\n root: {\n lineHeight: 0\n }\n }\n }\n });\n }\n\n /* @conditional-compile-remove(close-captions) */\n //Captions drawer menu\n const supportedSpokenLanguageStrings = useLocale().strings.call.spokenLanguageStrings;\n\n /* @conditional-compile-remove(close-captions) */\n //Captions drawer menu\n const supportedCaptionLanguageStrings = useLocale().strings.call.captionLanguageStrings;\n /* @conditional-compile-remove(close-captions) */\n const captionSettingsProp = useAdaptedSelector(_captionSettingsSelector);\n /* @conditional-compile-remove(close-captions) */\n const startCaptionsButtonHandlers = useHandlers(_StartCaptionsButton);\n /* @conditional-compile-remove(close-captions) */\n const captionSettingsHandlers = useHandlers(_CaptionsSettingsModal);\n\n /* @conditional-compile-remove(close-captions) */\n const [isSpokenLanguageDrawerOpen, setIsSpokenLanguageDrawerOpen] = useState<boolean>(false);\n\n /* @conditional-compile-remove(close-captions) */\n const [isCaptionLanguageDrawerOpen, setIsCaptionLanguageDrawerOpen] = useState<boolean>(false);\n\n /* @conditional-compile-remove(close-captions) */\n const [currentSpokenLanguage, setCurrentSpokenLanguage] = useState<string>(captionSettingsProp.currentSpokenLanguage !== '' ? captionSettingsProp.currentSpokenLanguage : 'en-us');\n\n /* @conditional-compile-remove(close-captions) */\n const [currentCaptionLanguage, setCurrentCaptionLanguage] = useState<string>(captionSettingsProp.currentCaptionLanguage !== '' ? captionSettingsProp.currentCaptionLanguage : _spokenLanguageToCaptionLanguage[currentSpokenLanguage]);\n\n /* @conditional-compile-remove(close-captions) */\n const onToggleChange = useCallback(async () => {\n if (!captionSettingsProp.isCaptionsFeatureActive) {\n await startCaptionsButtonHandlers.onStartCaptions({\n spokenLanguage: currentSpokenLanguage\n });\n } else {\n startCaptionsButtonHandlers.onStopCaptions();\n }\n }, [captionSettingsProp.isCaptionsFeatureActive, startCaptionsButtonHandlers, currentSpokenLanguage]);\n\n /* @conditional-compile-remove(close-captions) */\n if (props.isCaptionsSupported) {\n const captionsDrawerItems: DrawerMenuItemProps[] = [];\n const spokenLanguageString = supportedSpokenLanguageStrings ? supportedSpokenLanguageStrings[currentSpokenLanguage] : currentSpokenLanguage;\n const captionLanguageString = supportedCaptionLanguageStrings ? supportedCaptionLanguageStrings[currentCaptionLanguage] : currentCaptionLanguage;\n drawerMenuItems.push({\n itemKey: 'captions',\n id: 'common-call-composite-captions-button',\n disabled: props.disableButtonsForHoldScreen,\n text: props.strings.captionsMenuTitle,\n iconProps: {\n iconName: 'CaptionsIcon'\n },\n subMenuProps: captionsDrawerItems\n });\n captionsDrawerItems.push({\n itemKey: 'ToggleCaptionsKey',\n text: captionSettingsProp.isCaptionsFeatureActive ? localeStrings.strings.call.startCaptionsButtonTooltipOnContent : localeStrings.strings.call.startCaptionsButtonTooltipOffContent,\n iconProps: {\n iconName: captionSettingsProp.isCaptionsFeatureActive ? 'CaptionsOffIcon' : 'CaptionsIcon',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n },\n onItemClick: onToggleChange,\n disabled: props.disableButtonsForHoldScreen,\n secondaryComponent: <Stack verticalFill verticalAlign=\"center\">\n <Toggle id=\"common-call-composite-captions-toggle-button\" checked={captionSettingsProp.isCaptionsFeatureActive} styles={themedToggleButtonStyle(theme, captionSettingsProp.isCaptionsFeatureActive)} onChange={onToggleChange} />\n </Stack>\n });\n captionsDrawerItems.push({\n itemKey: 'ChangeSpokenLanguage',\n text: props.strings.spokenLanguageMenuTitle,\n id: 'common-call-composite-captions-spoken-settings-button',\n secondaryText: spokenLanguageString,\n iconProps: {\n iconName: 'ChangeSpokenLanguageIcon',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n },\n disabled: props.disableButtonsForHoldScreen || !captionSettingsProp.isCaptionsFeatureActive,\n onItemClick: () => {\n setIsSpokenLanguageDrawerOpen(true);\n },\n secondaryIconProps: {\n iconName: 'ChevronRight',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n }\n });\n captionsDrawerItems.push({\n itemKey: 'ChangeCaptionLanguage',\n text: props.strings.captionLanguageMenuTitle,\n id: 'common-call-composite-captions-subtitle-settings-button',\n secondaryText: captionLanguageString,\n iconProps: {\n iconName: 'ChangeCaptionLanguageIcon',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n },\n disabled: props.disableButtonsForHoldScreen || !captionSettingsProp.isCaptionsFeatureActive,\n onItemClick: () => {\n setIsCaptionLanguageDrawerOpen(true);\n },\n secondaryIconProps: {\n iconName: 'ChevronRight',\n styles: {\n root: {\n lineHeight: 0\n }\n }\n }\n });\n }\n\n /* @conditional-compile-remove(control-bar-button-injection) */\n const customDrawerButtons = useMemo(() => generateCustomCallDrawerButtons(onFetchCustomButtonPropsTrampoline(drawerSelectionOptions !== false ? drawerSelectionOptions : undefined), drawerSelectionOptions !== false ? drawerSelectionOptions?.displayType : undefined), [drawerSelectionOptions]);\n\n /* @conditional-compile-remove(control-bar-button-injection) */\n customDrawerButtons['primary'].slice(CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS).forEach(element => {\n drawerMenuItems.push(element);\n });\n /* @conditional-compile-remove(control-bar-button-injection) */\n customDrawerButtons['secondary'].forEach(element => {\n drawerMenuItems.push(element);\n });\n /* @conditional-compile-remove(control-bar-button-injection) */\n customDrawerButtons['overflow'].forEach(element => {\n drawerMenuItems.push(element);\n });\n /* @conditional-compile-remove(close-captions) */\n return <>\n {isSpokenLanguageDrawerOpen && props.isCaptionsSupported && <CaptionSettingsDrawer onLightDismiss={props.onLightDismiss} selectLanguage={setCurrentSpokenLanguage} setCurrentLanguage={captionSettingsHandlers.onSetSpokenLanguage} currentLanguage={currentSpokenLanguage} strings={{\n menuTitle: props.strings.spokenLanguageMenuTitle\n }} supportedLanguageStrings={supportedSpokenLanguageStrings} />}\n {isCaptionLanguageDrawerOpen && props.isCaptionsSupported && <CaptionSettingsDrawer onLightDismiss={props.onLightDismiss} selectLanguage={setCurrentCaptionLanguage} setCurrentLanguage={captionSettingsHandlers.onSetCaptionLanguage} currentLanguage={currentCaptionLanguage} strings={{\n menuTitle: props.strings.captionLanguageMenuTitle\n }} supportedLanguageStrings={supportedCaptionLanguageStrings} />}\n {!isSpokenLanguageDrawerOpen && !isCaptionLanguageDrawerOpen && <DrawerMenu items={drawerMenuItems} onLightDismiss={props.onLightDismiss} />}\n </>;\n return <DrawerMenu items={drawerMenuItems} onLightDismiss={props.onLightDismiss} />;\n};\nconst isDeviceSelected = (speaker: OptionsDevice, selectedSpeaker?: OptionsDevice): boolean => !!selectedSpeaker && speaker.id === selectedSpeaker.id;\nconst isEnabled = (option: unknown): boolean => option !== false;"]}
@@ -1 +1 @@
1
- {"version":3,"file":"MoreDrawer.styles.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/common/Drawer/MoreDrawer.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAKlC;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAY,EAAE,OAAgB,EAA0B,EAAE;IAChG,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO;YACL,IAAI,EAAE;gBACJ,MAAM,EAAE,CAAC;aACV;YACD,IAAI,EAAE;gBACJ,eAAe,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,YAAY,aAAa;aAC5D;YACD,KAAK,EAAE;gBACL,eAAe,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,aAAa;aACrD;SACF,CAAC;IACJ,CAAC;IACD,OAAO;QACL,IAAI,EAAE;YACJ,MAAM,EAAE,CAAC;SACV;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Theme, IToggleStyles } from '@fluentui/react';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\n/**\n * @private\n */\nexport const themedToggleButtonStyle = (theme: Theme, checked: boolean): Partial<IToggleStyles> => {\n if (checked) {\n return {\n root: {\n margin: 0\n },\n pill: {\n backgroundColor: `${theme.palette.themePrimary} !important`\n },\n thumb: {\n backgroundColor: `${theme.palette.white} !important`\n }\n };\n }\n return {\n root: {\n margin: 0\n }\n };\n};\n"]}
1
+ {"version":3,"file":"MoreDrawer.styles.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-composites/src/composites/common/Drawer/MoreDrawer.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAKlC;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAY,EAAE,OAAgB,EAA0B,EAAE;IAChG,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO;YACL,IAAI,EAAE;gBACJ,MAAM,EAAE,CAAC;aACV;YACD,IAAI,EAAE;gBACJ,eAAe,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,YAAY,aAAa;aAC5D;YACD,KAAK,EAAE;gBACL,eAAe,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,aAAa;aACrD;SACF,CAAC;IACJ,CAAC;IACD,OAAO;QACL,IAAI,EAAE;YACJ,MAAM,EAAE,CAAC;SACV;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Theme, IToggleStyles } from '@fluentui/react';\nimport { _pxToRem } from '@internal/acs-ui-common';\n\n/**\n * @private\n */\nexport const themedToggleButtonStyle = (theme: Theme, checked: boolean): Partial<IToggleStyles> => {\n if (checked) {\n return {\n root: {\n margin: 0\n },\n pill: {\n backgroundColor: `${theme.palette.themePrimary} !important`\n },\n thumb: {\n backgroundColor: `${theme.palette.white} !important`\n }\n };\n }\n return {\n root: {\n margin: 0\n }\n };\n};"]}
@@ -11,8 +11,6 @@ export interface PreparedMoreDrawerProps {
11
11
  disableButtonsForHoldScreen?: boolean;
12
12
  onUserSetGalleryLayout?: (layout: VideoGalleryLayout) => void;
13
13
  userSetGalleryLayout?: VideoGalleryLayout;
14
- onSetDialpadPage?: () => void;
15
- dtmfDialerPresent?: boolean;
16
14
  }
17
15
  /** @private */
18
16
  export declare const PreparedMoreDrawer: (props: PreparedMoreDrawerProps) => JSX.Element;