@azure/communication-react 1.26.0-beta.1 → 1.27.0-alpha-202504170018

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 (1144) hide show
  1. package/dist/communication-react.d.ts +141 -48
  2. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-_ut2lrbr.js → ChatMessageComponentAsRichTextEditBox-CWVvEmtx.js} +115 -41
  3. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-CWVvEmtx.js.map +1 -0
  4. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-7nvSQdDx.js → RichTextSendBoxWrapper-CnQSHZxD.js} +4 -2
  5. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-CnQSHZxD.js.map +1 -0
  6. package/dist/dist-cjs/communication-react/{index-BHwWI_Bx.js → index-OR3tZ44p.js} +7819 -5859
  7. package/dist/dist-cjs/communication-react/index-OR3tZ44p.js.map +1 -0
  8. package/dist/dist-cjs/communication-react/index.js +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  11. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/constants.js +1 -0
  14. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/dataConversion.js +1 -0
  17. package/dist/dist-esm/acs-ui-common/src/dataConversion.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  19. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  20. package/dist/dist-esm/acs-ui-common/src/index.js +3 -0
  21. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  22. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  23. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  24. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  25. package/dist/dist-esm/acs-ui-common/src/removeImageTags.js +1 -1
  26. package/dist/dist-esm/acs-ui-common/src/removeImageTags.js.map +1 -1
  27. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  28. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  29. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  30. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  31. package/dist/dist-esm/acs-ui-javascript-loaders/src/callCompositeLoader.js +1 -4
  32. package/dist/dist-esm/acs-ui-javascript-loaders/src/callCompositeLoader.js.map +1 -1
  33. package/dist/dist-esm/acs-ui-javascript-loaders/src/callWithChatCompositeLoader.js +1 -4
  34. package/dist/dist-esm/acs-ui-javascript-loaders/src/callWithChatCompositeLoader.js.map +1 -1
  35. package/dist/dist-esm/acs-ui-javascript-loaders/src/chatCompositeLoader.js +1 -4
  36. package/dist/dist-esm/acs-ui-javascript-loaders/src/chatCompositeLoader.js.map +1 -1
  37. package/dist/dist-esm/acs-ui-javascript-loaders/src/index.js.map +1 -1
  38. package/dist/dist-esm/acs-ui-javascript-loaders/src/outboundCallCompositeLoader.js +6 -7
  39. package/dist/dist-esm/acs-ui-javascript-loaders/src/outboundCallCompositeLoader.js.map +1 -1
  40. package/dist/dist-esm/acs-ui-javascript-loaders/src/utils.js +1 -1
  41. package/dist/dist-esm/acs-ui-javascript-loaders/src/utils.js.map +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +4 -0
  43. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +18 -8
  45. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  46. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +55 -14
  47. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  48. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +21 -53
  49. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  51. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  52. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +88 -81
  53. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  54. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +2 -2
  55. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  56. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -5
  57. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  58. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +12 -10
  59. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  60. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  61. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -1
  63. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  64. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.js +8 -2
  66. package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.js.map +1 -1
  67. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js +38 -61
  69. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js.map +1 -1
  70. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +30 -9
  71. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  72. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  73. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  74. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  75. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  76. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  77. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  78. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  79. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +18 -7
  80. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  81. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +11 -9
  82. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  83. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +1 -1
  84. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +23 -13
  85. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  86. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +38 -7
  87. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  88. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/BreakoutRoomsSubscriber.js +14 -8
  90. package/dist/dist-esm/calling-stateful-client/src/BreakoutRoomsSubscriber.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +65 -74
  93. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +27 -7
  95. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  96. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -2
  97. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +63 -40
  98. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  100. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  101. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +102 -108
  102. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  103. package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.js +16 -13
  104. package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  106. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +2 -0
  108. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +38 -15
  109. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js +6 -2
  111. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  112. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/Converter.js +18 -27
  114. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  115. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +58 -73
  116. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  117. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  118. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  120. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +16 -22
  121. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +3 -0
  123. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  125. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/MediaAccessSubscriber.js.map +1 -1
  127. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  128. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  129. package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -1
  130. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  131. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  132. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -1
  133. package/dist/dist-esm/calling-stateful-client/src/RealTimeTextSubscriber.js +3 -0
  134. package/dist/dist-esm/calling-stateful-client/src/RealTimeTextSubscriber.js.map +1 -1
  135. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +6 -1
  136. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  137. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  138. package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -1
  139. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -2
  140. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +64 -64
  141. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  142. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +34 -24
  143. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  144. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  145. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  146. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  147. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +8 -8
  148. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  149. package/dist/dist-esm/calling-stateful-client/src/TeamsIncomingCallDeclarative.js +14 -16
  150. package/dist/dist-esm/calling-stateful-client/src/TeamsIncomingCallDeclarative.js.map +1 -1
  151. package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.js +15 -4
  152. package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.js.map +1 -1
  153. package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.js +3 -0
  154. package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.js.map +1 -1
  155. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  156. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  157. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.d.ts +1 -0
  158. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +34 -3
  159. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  160. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  161. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  162. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -0
  163. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  164. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  165. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  166. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  167. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +2 -2
  168. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  169. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
  170. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  171. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  172. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +28 -10
  173. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  174. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  175. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -1
  176. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +2 -0
  177. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  178. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  179. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  180. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +43 -16
  181. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  182. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  183. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  184. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  185. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  186. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  187. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  188. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  189. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  190. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  191. package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.js +4 -1
  192. package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.js.map +1 -1
  193. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  194. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  195. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
  196. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  197. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +16 -22
  198. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  199. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +9 -11
  200. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  201. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  202. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +4 -16
  203. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  204. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
  205. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  206. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  207. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  208. package/dist/dist-esm/chat-stateful-client/src/constants.js.map +1 -1
  209. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  210. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  211. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  212. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  213. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  214. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  215. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  216. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  217. package/dist/dist-esm/communication-react/src/api-summary.js.map +1 -1
  218. package/dist/dist-esm/communication-react/src/index.js +9 -0
  219. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  220. package/dist/dist-esm/communication-react/src/javascript-loaders.js.map +1 -1
  221. package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +2 -2
  222. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  223. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  224. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  225. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  227. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  228. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  229. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  230. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  232. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/Announcer.js +1 -1
  234. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +11 -11
  236. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js +1 -1
  238. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js.map +1 -1
  239. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +14 -6
  240. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
  241. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js +21 -18
  242. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js.map +1 -1
  243. package/dist/dist-esm/react-components/src/components/CameraButton.js +13 -20
  244. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  246. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +1 -1
  248. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +61 -31
  249. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +38 -20
  251. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  252. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  253. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +38 -22
  255. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  256. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -1
  257. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +25 -25
  258. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  259. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +35 -29
  260. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  261. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  262. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  263. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +1 -1
  264. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -1
  265. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +1 -1
  266. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +35 -9
  267. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
  268. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.d.ts +1 -1
  269. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +47 -12
  270. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
  271. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +42 -37
  272. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
  273. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +7 -0
  274. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +13 -2
  275. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
  276. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +121 -39
  277. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +1 -1
  278. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +1 -1
  279. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +44 -11
  280. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
  281. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +1 -1
  282. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +57 -16
  283. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +80 -15
  285. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  287. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  288. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  289. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  290. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  291. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  292. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  293. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  294. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  295. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  296. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  297. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  298. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +5 -16
  300. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  301. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +11 -10
  302. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -1
  303. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +22 -31
  304. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -1
  305. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +15 -14
  306. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  307. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +41 -6
  308. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -1
  309. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +12 -20
  310. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -1
  311. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  312. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  313. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
  314. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  315. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +45 -51
  316. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  317. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  318. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  319. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  320. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  321. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +11 -9
  322. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  323. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  324. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  326. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  327. package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js +11 -5
  328. package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  330. package/dist/dist-esm/react-components/src/components/EndCallButton.js +12 -13
  331. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  332. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  333. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  334. package/dist/dist-esm/react-components/src/components/ErrorBoundary.js +2 -6
  335. package/dist/dist-esm/react-components/src/components/ErrorBoundary.js.map +1 -1
  336. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  337. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  338. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  339. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  340. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  341. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  342. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  343. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  344. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +11 -14
  345. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
  346. package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js +26 -39
  347. package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js.map +1 -1
  348. package/dist/dist-esm/react-components/src/components/IncomingCallStack.js +5 -7
  349. package/dist/dist-esm/react-components/src/components/IncomingCallStack.js.map +1 -1
  350. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +3 -10
  351. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  352. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +8 -7
  353. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  354. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  355. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  356. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +40 -22
  357. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  358. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js +15 -23
  359. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js.map +1 -1
  360. package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js +11 -15
  361. package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js.map +1 -1
  362. package/dist/dist-esm/react-components/src/components/MentionPopover.js +20 -13
  363. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -1
  364. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +2 -2
  365. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -1
  366. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  367. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +20 -33
  368. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -1
  369. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -2
  370. package/dist/dist-esm/react-components/src/components/MessageThread.js +106 -49
  371. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  372. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +16 -17
  373. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  374. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +95 -102
  375. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  376. package/dist/dist-esm/react-components/src/components/Notification.js +6 -14
  377. package/dist/dist-esm/react-components/src/components/Notification.js.map +1 -1
  378. package/dist/dist-esm/react-components/src/components/NotificationStack.d.ts +8 -0
  379. package/dist/dist-esm/react-components/src/components/NotificationStack.js +12 -9
  380. package/dist/dist-esm/react-components/src/components/NotificationStack.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +21 -22
  382. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  383. package/dist/dist-esm/react-components/src/components/ParticipantList.js +59 -52
  384. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  385. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  386. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  387. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  388. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  390. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  391. package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.js +7 -4
  392. package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.js.map +1 -1
  393. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
  394. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  395. package/dist/dist-esm/react-components/src/components/ReactionButton.js +24 -23
  396. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -1
  397. package/dist/dist-esm/react-components/src/components/RealTimeText.d.ts +3 -3
  398. package/dist/dist-esm/react-components/src/components/RealTimeText.js +8 -3
  399. package/dist/dist-esm/react-components/src/components/RealTimeText.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/RealTimeTextModal.d.ts +3 -3
  401. package/dist/dist-esm/react-components/src/components/RealTimeTextModal.js +11 -9
  402. package/dist/dist-esm/react-components/src/components/RealTimeTextModal.js.map +1 -1
  403. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +25 -16
  404. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  405. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  406. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  407. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  408. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  409. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +25 -11
  411. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js +1 -3
  413. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js.map +1 -1
  414. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js +4 -2
  416. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js.map +1 -1
  417. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.js +17 -3
  419. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js +4 -7
  421. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js.map +1 -1
  422. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +76 -29
  423. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -1
  424. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +33 -11
  425. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +140 -33
  427. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +18 -16
  429. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxUtils.js +2 -0
  431. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxUtils.js.map +1 -1
  432. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js +37 -26
  433. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js +8 -10
  435. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js +6 -3
  437. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js.map +1 -1
  438. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js +2 -2
  439. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  441. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  442. package/dist/dist-esm/react-components/src/components/SendBox.js +70 -30
  443. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  444. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +17 -1
  445. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  446. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +3 -1
  447. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  448. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  449. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  450. package/dist/dist-esm/react-components/src/components/StartRealTimeTextButton.d.ts +3 -3
  451. package/dist/dist-esm/react-components/src/components/StartRealTimeTextButton.js +7 -2
  452. package/dist/dist-esm/react-components/src/components/StartRealTimeTextButton.js.map +1 -1
  453. package/dist/dist-esm/react-components/src/components/StreamMedia.js +14 -3
  454. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  455. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +10 -3
  456. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -1
  457. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -1
  458. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +23 -23
  460. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -1
  461. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -1
  462. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  463. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  464. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +67 -22
  465. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +50 -48
  467. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  468. package/dist/dist-esm/react-components/src/components/TogetherModeOverlay.js +41 -25
  469. package/dist/dist-esm/react-components/src/components/TogetherModeOverlay.js.map +1 -1
  470. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  471. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  472. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  473. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  474. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +2 -1
  475. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +2 -1
  477. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +9 -8
  479. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  480. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +2 -1
  481. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  482. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -39
  483. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  485. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  486. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +9 -13
  487. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +8 -22
  489. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  490. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  491. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  492. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +19 -8
  493. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +15 -13
  495. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +41 -17
  497. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  498. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  499. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  500. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  501. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +99 -0
  502. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  503. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +8 -8
  505. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +6 -4
  507. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  508. package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js +17 -11
  509. package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js.map +1 -1
  510. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js +29 -24
  511. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js.map +1 -1
  512. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  513. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  514. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  515. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  516. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +34 -10
  517. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeLayout.js +3 -0
  519. package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeLayout.js.map +1 -1
  520. package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeStream.js +13 -3
  521. package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeStream.js.map +1 -1
  522. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  523. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  525. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  527. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  528. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  529. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  530. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js +1 -5
  531. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  532. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  534. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  536. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  537. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  538. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +12 -5
  540. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  541. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +57 -73
  542. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  544. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/reactionUtils.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +39 -31
  546. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -1
  548. package/dist/dist-esm/react-components/src/components/VideoGallery.js +175 -32
  549. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  550. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +2 -0
  551. package/dist/dist-esm/react-components/src/components/VideoTile.js +60 -77
  552. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  553. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  554. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  555. package/dist/dist-esm/react-components/src/components/index.js +11 -0
  556. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  557. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
  558. package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js.map +1 -1
  559. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +16 -4
  561. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  563. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +3 -10
  564. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  565. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  566. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  568. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  569. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  570. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  571. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +2 -5
  572. package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -1
  573. package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
  574. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  575. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  576. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
  577. package/dist/dist-esm/react-components/src/components/styles/MessageBarLink.styles.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  579. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +9 -12
  580. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  581. package/dist/dist-esm/react-components/src/components/styles/Notification.styles.js.map +1 -1
  582. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +6 -4
  583. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  584. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  585. package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js +4 -0
  586. package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js.map +1 -1
  587. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +1 -3
  588. package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -1
  589. package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js +2 -2
  590. package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +9 -34
  592. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
  593. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +8 -12
  594. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +1 -1
  595. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  596. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  597. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -1
  598. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -1
  599. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  600. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  601. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  602. package/dist/dist-esm/react-components/src/components/styles/TeamsMeetingConferenceInfo.js.map +1 -1
  603. package/dist/dist-esm/react-components/src/components/styles/TogetherMode.styles.js +28 -7
  604. package/dist/dist-esm/react-components/src/components/styles/TogetherMode.styles.js.map +1 -1
  605. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  606. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  607. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  608. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -1
  609. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  610. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  611. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  612. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  613. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +1 -1
  614. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  615. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  616. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +15 -4
  617. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
  618. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +2 -2
  619. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +26 -10
  620. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
  621. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  622. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  623. package/dist/dist-esm/react-components/src/components/utils/Logger.js.map +1 -1
  624. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js +16 -8
  625. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js.map +1 -1
  626. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js +26 -18
  627. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js.map +1 -1
  628. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +28 -12
  629. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  630. package/dist/dist-esm/react-components/src/components/utils/common.js +2 -0
  631. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  632. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  633. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  634. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -1
  635. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +2 -5
  636. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  637. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  638. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -1
  639. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  640. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  641. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  642. package/dist/dist-esm/react-components/src/components/utils/sortCaptionsAndRealTimeTexts.js +11 -3
  643. package/dist/dist-esm/react-components/src/components/utils/sortCaptionsAndRealTimeTexts.js.map +1 -1
  644. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  645. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  646. package/dist/dist-esm/react-components/src/components/utils.js +38 -28
  647. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  648. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  649. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  650. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  651. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +2 -0
  652. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  653. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  654. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  655. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  656. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  657. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  658. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  659. package/dist/dist-esm/react-components/src/localization/locales/cy-GB/ComponentLocale.js.map +1 -1
  660. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  661. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  662. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +10 -0
  663. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  664. package/dist/dist-esm/react-components/src/localization/locales/es-MX/ComponentLocale.js.map +1 -1
  665. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  666. package/dist/dist-esm/react-components/src/localization/locales/fr-CA/ComponentLocale.js.map +1 -1
  667. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  668. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  669. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  670. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  671. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  672. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  673. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  674. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  675. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  676. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  677. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  678. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  679. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  680. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  681. package/dist/dist-esm/react-components/src/localization/locales/utils.js +1 -1
  682. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  683. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  684. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  685. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -5
  686. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  687. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +2 -2
  688. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  689. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  690. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  691. package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -0
  692. package/dist/dist-esm/react-components/src/theming/icons.js +69 -31
  693. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  694. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
  695. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  696. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  697. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  698. package/dist/dist-esm/react-components/src/theming/themes.js +1 -0
  699. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  700. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
  701. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  702. package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
  703. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
  704. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  705. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -1
  706. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  707. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  708. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  709. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  710. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  711. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  712. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  713. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  714. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
  715. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
  716. package/dist/dist-esm/react-components/src/types/TogetherModeTypes.js +2 -0
  717. package/dist/dist-esm/react-components/src/types/TogetherModeTypes.js.map +1 -1
  718. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -0
  719. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  720. package/dist/dist-esm/react-components/src/types/index.js +1 -0
  721. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  722. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +15 -0
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +84 -55
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +5 -5
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +154 -64
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +3 -4
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +8 -3
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +2 -2
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Banner.js +3 -3
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Banner.js.map +1 -1
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/BreakoutRoomsBanner.js +11 -11
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/BreakoutRoomsBanner.js.map +1 -1
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +3 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +101 -43
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +36 -60
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +152 -135
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +9 -7
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +14 -4
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +9 -7
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +4 -4
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +33 -22
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +39 -23
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +1 -0
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +72 -46
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +12 -12
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +10 -32
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -1
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js +1 -1
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js.map +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +226 -191
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +4 -4
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -1
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +10 -7
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +26 -14
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +3 -1
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +1 -1
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -1
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +1 -1
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +1 -1
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +8 -14
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useCompositeStringsForNotificationStack.js +5 -1
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useCompositeStringsForNotificationStack.js.map +1 -1
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +71 -37
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +2 -1
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +24 -26
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +89 -25
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +5 -13
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +14 -6
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +17 -7
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
  837. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  838. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +2 -2
  839. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +2 -2
  841. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +20 -21
  843. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +16 -3
  845. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  847. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  848. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  849. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  850. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  851. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +1 -2
  852. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +4 -0
  853. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  855. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  856. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  858. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  859. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +1 -1
  860. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -1
  862. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  865. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  866. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  867. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  868. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +1 -1
  870. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +3 -1
  871. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  872. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.d.ts +1 -1
  873. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.js +10 -4
  874. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.js.map +1 -1
  875. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  876. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  877. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  878. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  879. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +10 -2
  880. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  882. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  883. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  884. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  886. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  888. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  889. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  890. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  891. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  892. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  894. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  895. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  896. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  897. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  898. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +41 -29
  900. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  901. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +1 -2
  903. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -1
  905. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +2 -5
  906. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  907. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -1
  908. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  909. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  910. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  911. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +2 -4
  912. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  913. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  914. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  915. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  916. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  917. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +6 -24
  918. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
  919. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  921. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +10 -12
  923. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  924. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +19 -7
  925. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +4 -2
  927. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  928. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +47 -30
  929. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  930. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  931. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +15 -5
  932. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -1
  933. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +2 -2
  934. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -1
  935. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  936. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +85 -22
  937. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  938. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  939. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  940. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  941. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  942. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  943. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  944. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
  945. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  947. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +7 -3
  948. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +153 -43
  949. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  950. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -3
  951. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  952. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +6 -0
  953. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +1 -1
  955. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +8 -2
  956. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  957. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  958. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  959. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  960. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  961. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  962. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  963. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js +3 -5
  964. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +1 -1
  965. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +9 -2
  966. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  967. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  968. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  969. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +183 -90
  970. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  971. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +1 -1
  972. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  973. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js +11 -7
  974. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js.map +1 -1
  975. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js +30 -22
  976. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js.map +1 -1
  977. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  978. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +26 -8
  979. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +123 -77
  980. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  981. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -2
  982. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  983. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  984. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/OnFetchProfileCallback.d.ts +39 -0
  985. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/OnFetchProfileCallback.js +203 -0
  986. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/OnFetchProfileCallback.js.map +1 -0
  987. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js +12 -7
  988. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +1 -1
  989. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +21 -6
  990. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -1
  991. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  992. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  993. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  994. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +17 -4
  995. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  996. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  997. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +1 -1
  998. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +2 -0
  1000. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  1001. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +2 -0
  1002. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  1003. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  1004. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  1005. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +9 -17
  1006. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  1007. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +24 -25
  1008. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
  1009. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -1
  1010. package/dist/dist-esm/react-composites/src/composites/common/AudioProvider.js.map +1 -1
  1011. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +7 -3
  1012. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  1013. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  1014. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  1015. package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsBanner.js +25 -15
  1016. package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsBanner.js.map +1 -1
  1017. package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsSettingsModal.js +1 -1
  1018. package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsSettingsModal.js.map +1 -1
  1019. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +9 -23
  1020. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
  1021. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -1
  1022. package/dist/dist-esm/react-composites/src/composites/common/CallingRealTimeTextModal.js +5 -1
  1023. package/dist/dist-esm/react-composites/src/composites/common/CallingRealTimeTextModal.js.map +1 -1
  1024. package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.js +3 -5
  1025. package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.js.map +1 -1
  1026. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  1027. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  1028. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  1029. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  1030. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +87 -50
  1031. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  1032. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +39 -37
  1033. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  1034. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +126 -93
  1035. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  1036. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +1 -1
  1037. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -1
  1038. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  1039. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/Timer.js +2 -4
  1041. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/Timer.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  1043. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js +5 -7
  1044. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js.map +1 -1
  1045. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +119 -145
  1046. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  1047. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  1048. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  1049. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.js +5 -7
  1050. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.js.map +1 -1
  1051. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  1052. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +1 -1
  1053. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -1
  1054. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js +11 -9
  1055. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js.map +1 -1
  1056. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +23 -12
  1057. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  1058. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  1059. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  1060. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +15 -16
  1061. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  1062. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +14 -10
  1063. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  1064. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js +4 -0
  1065. package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js.map +1 -1
  1066. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.d.ts +7 -0
  1067. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js +26 -8
  1068. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js.map +1 -1
  1069. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +8 -16
  1070. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  1071. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -1
  1072. package/dist/dist-esm/react-composites/src/composites/common/Survey.js +19 -34
  1073. package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -1
  1074. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js +2 -2
  1075. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -1
  1076. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +11 -8
  1077. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  1078. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +1 -1
  1079. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -1
  1080. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +18 -13
  1081. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  1082. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  1083. package/dist/dist-esm/react-composites/src/composites/common/constants.js +1 -0
  1084. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1085. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -8
  1086. package/dist/dist-esm/react-composites/src/composites/common/icons.js +7 -3
  1087. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1088. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependency.js +1 -3
  1089. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependency.js.map +1 -1
  1090. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependencyLazy.js +1 -3
  1091. package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependencyLazy.js.map +1 -1
  1092. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1093. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1094. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1095. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1096. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1097. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1098. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +11 -44
  1099. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1100. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1101. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1102. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1103. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1104. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +15 -13
  1105. package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -1
  1106. package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.js.map +1 -1
  1107. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1108. package/dist/dist-esm/react-composites/src/composites/common/utils.js +19 -14
  1109. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1110. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1111. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1112. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1113. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1114. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1115. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1116. package/dist/dist-esm/react-composites/src/composites/localization/locales/cy-GB/CompositeLocale.js.map +1 -1
  1117. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1118. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1119. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1120. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-MX/CompositeLocale.js.map +1 -1
  1121. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1122. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-CA/CompositeLocale.js.map +1 -1
  1123. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1124. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1125. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1126. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1127. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1128. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1129. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1130. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1131. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1132. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1133. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1134. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1135. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1136. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js +1 -1
  1137. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1138. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1139. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1140. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1141. package/package.json +3 -3
  1142. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-_ut2lrbr.js.map +0 -1
  1143. package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-7nvSQdDx.js.map +0 -1
  1144. package/dist/dist-cjs/communication-react/index-BHwWI_Bx.js.map +0 -1
@@ -1,15 +1,23 @@
1
+ /* @conditional-compile-remove(rtt) */
1
2
  /**
2
3
  * Sorts the captions and real time texts based on their timestamp.
3
4
  *
4
5
  * @private
5
6
  */
6
7
  export function sortCaptionsAndRealTimeTexts(captions, realTimeTexts) {
7
- const combinedList = [...(Array.isArray(captions) ? captions.map(caption => (Object.assign({}, caption))) : []), ...(realTimeTexts ? realTimeTexts.map(realTimeText => (Object.assign({}, realTimeText))) : [])];
8
+ const combinedList = [
9
+ ...(Array.isArray(captions) ? captions.map((caption) => (Object.assign({}, caption))) : []),
10
+ ...(realTimeTexts ? realTimeTexts.map((realTimeText) => (Object.assign({}, realTimeText))) : [])
11
+ ];
8
12
  // Sort the combined list by comparing caption's timestamp with realTimeText's updatedTimestamp
9
13
  combinedList.sort((a, b) => {
10
14
  var _a, _b;
11
- const timestampA = 'captionText' in a ? new Date((_a = a.createdTimeStamp) !== null && _a !== void 0 ? _a : 0).getTime() : new Date(a.finalizedTimeStamp).getTime();
12
- const timestampB = 'captionText' in b ? new Date((_b = b.createdTimeStamp) !== null && _b !== void 0 ? _b : 0).getTime() : new Date(b.finalizedTimeStamp).getTime();
15
+ const timestampA = 'captionText' in a
16
+ ? new Date((_a = a.createdTimeStamp) !== null && _a !== void 0 ? _a : 0).getTime()
17
+ : new Date(a.finalizedTimeStamp).getTime();
18
+ const timestampB = 'captionText' in b
19
+ ? new Date((_b = b.createdTimeStamp) !== null && _b !== void 0 ? _b : 0).getTime()
20
+ : new Date(b.finalizedTimeStamp).getTime();
13
21
  return timestampA - timestampB;
14
22
  });
15
23
  return combinedList;
@@ -1 +1 @@
1
- {"version":3,"file":"sortCaptionsAndRealTimeTexts.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/utils/sortCaptionsAndRealTimeTexts.tsx"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,MAAM,UAAU,4BAA4B,CAAC,QAA+B,EAAE,aAAwC;IACpH,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,mBACvE,OAAO,EACV,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,mBAC5D,YAAY,EACf,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAEX,+FAA+F;IAC/F,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;;QACzB,MAAM,UAAU,GAAG,aAAa,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,MAAC,CAAyB,CAAC,gBAAgB,mCAAI,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAE,CAA6B,CAAC,kBAAkB,CAAC,CAAC,OAAO,EAAE,CAAC;QACrL,MAAM,UAAU,GAAG,aAAa,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,MAAC,CAAyB,CAAC,gBAAgB,mCAAI,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAE,CAA6B,CAAC,kBAAkB,CAAC,CAAC,OAAO,EAAE,CAAC;QACrL,OAAO,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC,CAAC,CAAC;IACH,OAAO,YAAY,CAAC;AACtB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport { CaptionsInformation, RealTimeTextInformation } from '../CaptionsBanner';\n/**\n * Sorts the captions and real time texts based on their timestamp.\n *\n * @private\n */\nexport function sortCaptionsAndRealTimeTexts(captions: CaptionsInformation[], realTimeTexts: RealTimeTextInformation[]): (CaptionsInformation | RealTimeTextInformation)[] {\n const combinedList = [...(Array.isArray(captions) ? captions.map(caption => ({\n ...caption\n })) : []), ...(realTimeTexts ? realTimeTexts.map(realTimeText => ({\n ...realTimeText\n })) : [])];\n\n // Sort the combined list by comparing caption's timestamp with realTimeText's updatedTimestamp\n combinedList.sort((a, b) => {\n const timestampA = 'captionText' in a ? new Date((a as CaptionsInformation).createdTimeStamp ?? 0).getTime() : new Date((a as RealTimeTextInformation).finalizedTimeStamp).getTime();\n const timestampB = 'captionText' in b ? new Date((b as CaptionsInformation).createdTimeStamp ?? 0).getTime() : new Date((b as RealTimeTextInformation).finalizedTimeStamp).getTime();\n return timestampA - timestampB;\n });\n return combinedList;\n}"]}
1
+ {"version":3,"file":"sortCaptionsAndRealTimeTexts.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/sortCaptionsAndRealTimeTexts.tsx"],"names":[],"mappings":"AAIA,sCAAsC;AACtC;;;;GAIG;AACH,MAAM,UAAU,4BAA4B,CAC1C,QAA+B,EAC/B,aAAwC;IAExC,MAAM,YAAY,GAAG;QACnB,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,mBAAM,OAAO,EAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/E,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,mBAAM,YAAY,EAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KACrF,CAAC;IAEF,+FAA+F;IAC/F,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;;QACzB,MAAM,UAAU,GACd,aAAa,IAAI,CAAC;YAChB,CAAC,CAAC,IAAI,IAAI,CAAC,MAAC,CAAyB,CAAC,gBAAgB,mCAAI,CAAC,CAAC,CAAC,OAAO,EAAE;YACtE,CAAC,CAAC,IAAI,IAAI,CAAE,CAA6B,CAAC,kBAAkB,CAAC,CAAC,OAAO,EAAE,CAAC;QAC5E,MAAM,UAAU,GACd,aAAa,IAAI,CAAC;YAChB,CAAC,CAAC,IAAI,IAAI,CAAC,MAAC,CAAyB,CAAC,gBAAgB,mCAAI,CAAC,CAAC,CAAC,OAAO,EAAE;YACtE,CAAC,CAAC,IAAI,IAAI,CAAE,CAA6B,CAAC,kBAAkB,CAAC,CAAC,OAAO,EAAE,CAAC;QAC5E,OAAO,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC,CAAC,CAAC;IAEH,OAAO,YAAY,CAAC;AACtB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/* @conditional-compile-remove(rtt) */\nimport { CaptionsInformation, RealTimeTextInformation } from '../CaptionsBanner';\n/* @conditional-compile-remove(rtt) */\n/**\n * Sorts the captions and real time texts based on their timestamp.\n *\n * @private\n */\nexport function sortCaptionsAndRealTimeTexts(\n captions: CaptionsInformation[],\n realTimeTexts: RealTimeTextInformation[]\n): (CaptionsInformation | RealTimeTextInformation)[] {\n const combinedList = [\n ...(Array.isArray(captions) ? captions.map((caption) => ({ ...caption })) : []),\n ...(realTimeTexts ? realTimeTexts.map((realTimeText) => ({ ...realTimeText })) : [])\n ];\n\n // Sort the combined list by comparing caption's timestamp with realTimeText's updatedTimestamp\n combinedList.sort((a, b) => {\n const timestampA =\n 'captionText' in a\n ? new Date((a as CaptionsInformation).createdTimeStamp ?? 0).getTime()\n : new Date((a as RealTimeTextInformation).finalizedTimeStamp).getTime();\n const timestampB =\n 'captionText' in b\n ? new Date((b as CaptionsInformation).createdTimeStamp ?? 0).getTime()\n : new Date((b as RealTimeTextInformation).finalizedTimeStamp).getTime();\n return timestampA - timestampB;\n });\n\n return combinedList;\n}\n"]}
@@ -83,6 +83,15 @@ export default function useLongPress(props) {
83
83
  onKeyDown: handleOnKeyDown,
84
84
  onKeyUp: handleOnKeyUp,
85
85
  onTouchMove: handleOnTouchMove
86
- }), [handleOnClick, handleOnKeyDown, handleOnKeyUp, handleOnMouseDown, handleOnMouseUp, handleOnTouchEnd, handleOnTouchStart, handleOnTouchMove]);
86
+ }), [
87
+ handleOnClick,
88
+ handleOnKeyDown,
89
+ handleOnKeyUp,
90
+ handleOnMouseDown,
91
+ handleOnMouseUp,
92
+ handleOnTouchEnd,
93
+ handleOnTouchStart,
94
+ handleOnTouchMove
95
+ ]);
87
96
  }
88
97
  //# sourceMappingURL=useLongPress.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLongPress.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/utils/useLongPress.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1E;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAIpC;IAUC,MAAM,EACJ,OAAO,EACP,WAAW,EACX,eAAe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,CAAC;IAC3B,MAAM,iBAAiB,GAAG,WAAW,CAAC,GAAG,EAAE;QACzC,QAAQ,CAAC,OAAO,IAAI,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;QACpB,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,iBAAiB;QAC9B,SAAS,EAAE,eAAe;QAC1B,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,gBAAgB;QAC5B,SAAS,EAAE,eAAe;QAC1B,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,iBAAiB;KAC/B,CAAC,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC,CAAC,CAAC;AACpJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { useMemo, useRef, useState, useCallback, useEffect } from 'react';\n\n/**\n * @private\n */\nexport default function useLongPress(props: {\n onLongPress: () => void;\n onClick?: () => void;\n touchEventsOnly?: boolean;\n}): {\n onClick: () => void;\n onMouseDown: () => void;\n onMouseUp: () => void;\n onTouchStart: () => void;\n onTouchEnd: () => void;\n onKeyDown: () => void;\n onKeyUp: () => void;\n onTouchMove: () => void;\n} {\n const {\n onClick,\n onLongPress,\n touchEventsOnly = false\n } = props;\n const timerRef = useRef<ReturnType<typeof setTimeout>>();\n const [isLongPress, setIsLongPress] = useState(false);\n const [action, setAction] = useState(false);\n useEffect(() => {\n if (timerRef.current) {\n clearTimeout(timerRef.current);\n }\n return () => {\n if (timerRef.current) {\n clearTimeout(timerRef.current);\n }\n };\n }, [onClick, onLongPress, touchEventsOnly]);\n const startPressTimer = useCallback(() => {\n setIsLongPress(false);\n timerRef.current = setTimeout(() => {\n setIsLongPress(true);\n onLongPress();\n }, 500);\n }, [onLongPress]);\n const handleOnClick = useCallback(() => {\n if (touchEventsOnly || !onClick) {\n return;\n }\n if (!isLongPress) {\n onClick();\n }\n }, [isLongPress, onClick, touchEventsOnly]);\n const handleOnKeyDown = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n if (action) {\n setAction(false);\n startPressTimer();\n }\n }, [action, startPressTimer, touchEventsOnly]);\n const handleOnKeyUp = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n setAction(true);\n timerRef.current && clearTimeout(timerRef.current);\n }, [touchEventsOnly]);\n const handleOnMouseDown = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n startPressTimer();\n }, [startPressTimer, touchEventsOnly]);\n const handleOnMouseUp = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n timerRef.current && clearTimeout(timerRef.current);\n }, [touchEventsOnly]);\n const handleOnTouchStart = useCallback(() => {\n startPressTimer();\n }, [startPressTimer]);\n const handleOnTouchEnd = useCallback(() => {\n if (!isLongPress && onClick) {\n onClick();\n }\n timerRef.current && clearTimeout(timerRef.current);\n }, [onClick, isLongPress]);\n const handleOnTouchMove = useCallback(() => {\n timerRef.current && clearTimeout(timerRef.current);\n }, []);\n return useMemo(() => ({\n onClick: handleOnClick,\n onMouseDown: handleOnMouseDown,\n onMouseUp: handleOnMouseUp,\n onTouchStart: handleOnTouchStart,\n onTouchEnd: handleOnTouchEnd,\n onKeyDown: handleOnKeyDown,\n onKeyUp: handleOnKeyUp,\n onTouchMove: handleOnTouchMove\n }), [handleOnClick, handleOnKeyDown, handleOnKeyUp, handleOnMouseDown, handleOnMouseUp, handleOnTouchEnd, handleOnTouchStart, handleOnTouchMove]);\n}"]}
1
+ {"version":3,"file":"useLongPress.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/useLongPress.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAA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Z,CAAC;QACD,QAAQ,CAAC,OAAO,IAAI,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAC;IAE3B,MAAM,iBAAiB,GAAG,WAAW,CAAC,GAAG,EAAE;QACzC,QAAQ,CAAC,OAAO,IAAI,YAAY,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,OAAO,CACZ,GAAG,EAAE,CAAC,CAAC;QACL,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,iBAAiB;QAC9B,SAAS,EAAE,eAAe;QAC1B,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,gBAAgB;QAC5B,SAAS,EAAE,eAAe;QAC1B,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,iBAAiB;KAC/B,CAAC,EACF;QACE,aAAa;QACb,eAAe;QACf,aAAa;QACb,iBAAiB;QACjB,eAAe;QACf,gBAAgB;QAChB,kBAAkB;QAClB,iBAAiB;KAClB,CACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { useMemo, useRef, useState, useCallback, useEffect } from 'react';\n\n/**\n * @private\n */\nexport default function useLongPress(props: {\n onLongPress: () => void;\n onClick?: () => void;\n touchEventsOnly?: boolean;\n}): {\n onClick: () => void;\n onMouseDown: () => void;\n onMouseUp: () => void;\n onTouchStart: () => void;\n onTouchEnd: () => void;\n onKeyDown: () => void;\n onKeyUp: () => void;\n onTouchMove: () => void;\n} {\n const { onClick, onLongPress, touchEventsOnly = false } = props;\n const timerRef = useRef<ReturnType<typeof setTimeout>>();\n const [isLongPress, setIsLongPress] = useState(false);\n const [action, setAction] = useState(false);\n\n useEffect(() => {\n if (timerRef.current) {\n clearTimeout(timerRef.current);\n }\n return () => {\n if (timerRef.current) {\n clearTimeout(timerRef.current);\n }\n };\n }, [onClick, onLongPress, touchEventsOnly]);\n\n const startPressTimer = useCallback(() => {\n setIsLongPress(false);\n timerRef.current = setTimeout(() => {\n setIsLongPress(true);\n onLongPress();\n }, 500);\n }, [onLongPress]);\n\n const handleOnClick = useCallback(() => {\n if (touchEventsOnly || !onClick) {\n return;\n }\n if (!isLongPress) {\n onClick();\n }\n }, [isLongPress, onClick, touchEventsOnly]);\n\n const handleOnKeyDown = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n if (action) {\n setAction(false);\n startPressTimer();\n }\n }, [action, startPressTimer, touchEventsOnly]);\n\n const handleOnKeyUp = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n setAction(true);\n timerRef.current && clearTimeout(timerRef.current);\n }, [touchEventsOnly]);\n\n const handleOnMouseDown = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n startPressTimer();\n }, [startPressTimer, touchEventsOnly]);\n\n const handleOnMouseUp = useCallback(() => {\n if (touchEventsOnly) {\n return;\n }\n timerRef.current && clearTimeout(timerRef.current);\n }, [touchEventsOnly]);\n\n const handleOnTouchStart = useCallback(() => {\n startPressTimer();\n }, [startPressTimer]);\n\n const handleOnTouchEnd = useCallback(() => {\n if (!isLongPress && onClick) {\n onClick();\n }\n timerRef.current && clearTimeout(timerRef.current);\n }, [onClick, isLongPress]);\n\n const handleOnTouchMove = useCallback(() => {\n timerRef.current && clearTimeout(timerRef.current);\n }, []);\n\n return useMemo(\n () => ({\n onClick: handleOnClick,\n onMouseDown: handleOnMouseDown,\n onMouseUp: handleOnMouseUp,\n onTouchStart: handleOnTouchStart,\n onTouchEnd: handleOnTouchEnd,\n onKeyDown: handleOnKeyDown,\n onKeyUp: handleOnKeyUp,\n onTouchMove: handleOnTouchMove\n }),\n [\n handleOnClick,\n handleOnKeyDown,\n handleOnKeyUp,\n handleOnMouseDown,\n handleOnMouseUp,\n handleOnTouchEnd,\n handleOnTouchStart,\n handleOnTouchMove\n ]\n );\n}\n"]}
@@ -39,13 +39,16 @@ export const dismissError = (dismissedErrors, toDismiss) => {
39
39
  }
40
40
  const toDismissTimestamp = (_a = toDismiss.timestamp) !== null && _a !== void 0 ? _a : now;
41
41
  // Record that this error was dismissed for the first time right now.
42
- return [...dismissedErrors, {
42
+ return [
43
+ ...dismissedErrors,
44
+ {
43
45
  type: toDismiss.type,
44
46
  // the error time could be sometimes later than the button click time, which cause the dismiss not working
45
47
  // so we set the dismiss time to the later one
46
48
  dismissedAt: now > toDismissTimestamp ? now : toDismissTimestamp,
47
49
  activeSince: toDismiss.timestamp
48
- }];
50
+ }
51
+ ];
49
52
  };
50
53
  /**
51
54
  * @private
@@ -66,8 +69,8 @@ export const dropDismissalsForInactiveErrors = (activeErrorMessages, dismissedEr
66
69
  //
67
70
  // We remove it from dismissals. When it becomes active again next time, it will be shown again on the UI.
68
71
  const shouldDeleteDismissal = (dismissed) => dismissed.activeSince === undefined && active.get(dismissed.type) === undefined;
69
- if (dismissedErrors.some(dismissed => shouldDeleteDismissal(dismissed))) {
70
- return dismissedErrors.filter(dismissed => !shouldDeleteDismissal(dismissed));
72
+ if (dismissedErrors.some((dismissed) => shouldDeleteDismissal(dismissed))) {
73
+ return dismissedErrors.filter((dismissed) => !shouldDeleteDismissal(dismissed));
71
74
  }
72
75
  return dismissedErrors;
73
76
  };
@@ -91,13 +94,16 @@ export const dismissNotification = (dismissedNotifications, toDismiss) => {
91
94
  }
92
95
  const toDismissTimestamp = (_a = toDismiss.timestamp) !== null && _a !== void 0 ? _a : now;
93
96
  // Record that this error was dismissed for the first time right now.
94
- return [...dismissedNotifications, {
97
+ return [
98
+ ...dismissedNotifications,
99
+ {
95
100
  type: toDismiss.type,
96
101
  // the error time could be sometimes later than the button click time, which cause the dismiss not working
97
102
  // so we set the dismiss time to the later one
98
103
  dismissedAt: now > toDismissTimestamp ? now : toDismissTimestamp,
99
104
  activeSince: toDismiss.timestamp
100
- }];
105
+ }
106
+ ];
101
107
  };
102
108
  /**
103
109
  * @private
@@ -118,8 +124,8 @@ export const dropDismissalsForInactiveNotifications = (activeNotifications, dism
118
124
  //
119
125
  // We remove it from dismissals. When it becomes active again next time, it will be shown again on the UI.
120
126
  const shouldDeleteDismissal = (dismissed) => dismissed.activeSince === undefined && active.get(dismissed.type) === undefined;
121
- if (dismissedNotifications.some(dismissed => shouldDeleteDismissal(dismissed))) {
122
- return dismissedNotifications.filter(dismissed => !shouldDeleteDismissal(dismissed));
127
+ if (dismissedNotifications.some((dismissed) => shouldDeleteDismissal(dismissed))) {
128
+ return dismissedNotifications.filter((dismissed) => !shouldDeleteDismissal(dismissed));
123
129
  }
124
130
  return dismissedNotifications;
125
131
  };
@@ -134,7 +140,7 @@ export const errorsToShow = (activeErrorMessages, dismissedErrors, mountTimestam
134
140
  for (const error of dismissedErrors) {
135
141
  dismissed.set(error.type, error);
136
142
  }
137
- return activeErrorMessages.filter(error => {
143
+ return activeErrorMessages.filter((error) => {
138
144
  if (mountTimestamp && error.timestamp && mountTimestamp > error.timestamp) {
139
145
  // Error has a timestamp and it is older than when the component was mounted.
140
146
  return false;
@@ -163,7 +169,7 @@ export const notificationsToShow = (activeNotifications, dismissedNotifications,
163
169
  for (const notification of dismissedNotifications) {
164
170
  dismissed.set(notification.type, notification);
165
171
  }
166
- return activeNotifications.filter(notification => {
172
+ return activeNotifications.filter((notification) => {
167
173
  if (mountTimestamp && notification.timestamp && mountTimestamp > notification.timestamp) {
168
174
  // Notification has a timestamp and it is older than when the component was mounted.
169
175
  return false;
@@ -218,9 +224,7 @@ export const messageBarType = (errorType) => {
218
224
  */
219
225
  export const messageBarIconProps = (errorType) => {
220
226
  const iconName = customIconName[errorType];
221
- return iconName ? {
222
- iconName
223
- } : undefined;
227
+ return iconName ? { iconName } : undefined;
224
228
  };
225
229
  /**
226
230
  * @private
@@ -249,9 +253,7 @@ export const customIconName = {
249
253
  */
250
254
  export const NotificationIconProps = (notificationType) => {
251
255
  const iconName = customNotificationIconName[notificationType];
252
- return iconName ? {
253
- iconName
254
- } : undefined;
256
+ return iconName ? { iconName } : undefined;
255
257
  };
256
258
  /**
257
259
  * @private
@@ -293,8 +295,12 @@ export const customNotificationIconName = {
293
295
  capabilityTurnVideoOnAbsent: 'ControlButtonCameraProhibited',
294
296
  capabilityUnmuteMicPresent: 'ControlButtonMicOff',
295
297
  capabilityUnmuteMicAbsent: 'ControlButtonMicProhibited',
298
+ /* @conditional-compile-remove(together-mode) */
296
299
  togetherModeStarted: 'NotificationBarTogetherModeIcon',
297
- togetherModeEnded: 'NotificationBarTogetherModeIcon'
300
+ /* @conditional-compile-remove(together-mode) */
301
+ togetherModeEnded: 'NotificationBarTogetherModeIcon',
302
+ transcriptionError: 'NotificationBarTranscriptionError',
303
+ transcriptionStartedByYou: 'NotificationBarTranscriptionStartedByYou'
298
304
  };
299
305
  /**
300
306
  * @private
@@ -342,25 +348,29 @@ export const isEnterKeyEventFromCompositionSession = (e) => {
342
348
  /**
343
349
  * @private
344
350
  */
345
- export const nullToUndefined = (value) => value === null ? undefined : value;
351
+ export const nullToUndefined = (value) => (value === null ? undefined : value);
346
352
  /**
347
353
  * @private
348
354
  */
349
355
  export const formatMoreButtonAriaDescription = (displayName, isMuted, isHandRaised, state, isSpeaking, strings, isMicDisabled, isCameraDisabled) => {
350
- const mutedState = isMuted ? strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantMutedStateMutedAriaLabel : strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantMutedStateUnmutedAriaLabel;
356
+ const mutedState = isMuted
357
+ ? strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantMutedStateMutedAriaLabel
358
+ : strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantMutedStateUnmutedAriaLabel;
351
359
  const handRaisedState = isHandRaised ? strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantHandRaisedAriaLabel : undefined;
352
360
  const isSpeakingState = isSpeaking ? strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantIsSpeakingAriaLabel : undefined;
353
361
  const micDisabledState = isMicDisabled ? strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantMicDisabledAriaLabel : undefined;
354
362
  const cameraDisabledState = isCameraDisabled ? strings === null || strings === void 0 ? void 0 : strings.moreOptionsParticipantCameraDisabledAriaLabel : undefined;
355
- const description = (strings === null || strings === void 0 ? void 0 : strings.moreOptionsButtonAriaLabel) ? _formatString(strings === null || strings === void 0 ? void 0 : strings.moreOptionsButtonAriaLabel, {
356
- displayName: displayName !== null && displayName !== void 0 ? displayName : ' ',
357
- isMuted: mutedState !== null && mutedState !== void 0 ? mutedState : ' ',
358
- isHandRaised: handRaisedState !== null && handRaisedState !== void 0 ? handRaisedState : ' ',
359
- state: state !== null && state !== void 0 ? state : ' ',
360
- isSpeaking: isSpeakingState !== null && isSpeakingState !== void 0 ? isSpeakingState : ' ',
361
- micDisabledState: micDisabledState !== null && micDisabledState !== void 0 ? micDisabledState : ' ',
362
- cameraDisabledState: cameraDisabledState !== null && cameraDisabledState !== void 0 ? cameraDisabledState : ' '
363
- }) : '';
363
+ const description = (strings === null || strings === void 0 ? void 0 : strings.moreOptionsButtonAriaLabel)
364
+ ? _formatString(strings === null || strings === void 0 ? void 0 : strings.moreOptionsButtonAriaLabel, {
365
+ displayName: displayName !== null && displayName !== void 0 ? displayName : ' ',
366
+ isMuted: mutedState !== null && mutedState !== void 0 ? mutedState : ' ',
367
+ isHandRaised: handRaisedState !== null && handRaisedState !== void 0 ? handRaisedState : ' ',
368
+ state: state !== null && state !== void 0 ? state : ' ',
369
+ isSpeaking: isSpeakingState !== null && isSpeakingState !== void 0 ? isSpeakingState : ' ',
370
+ micDisabledState: micDisabledState !== null && micDisabledState !== void 0 ? micDisabledState : ' ',
371
+ cameraDisabledState: cameraDisabledState !== null && cameraDisabledState !== void 0 ? cameraDisabledState : ' '
372
+ })
373
+ : '';
364
374
  return description;
365
375
  };
366
376
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["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G;QACzC,mBAAmB,EAAE,mBAAmB,aAAnB,mBAAmB,cAAnB,mBAAmB,GAAI,GAAG;KAChD,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACR,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IIconProps, MessageBarType } from '@fluentui/react';\nimport { ActiveErrorMessage, ErrorType } from './ErrorBar';\nimport { SupportedSpokenLanguage } from '../types';\nimport { ActiveNotification, NotificationType } from './NotificationStack';\nimport { VideoTileStrings } from './VideoTile';\nimport { _formatString } from '@internal/acs-ui-common';\n\n/**\n * @private\n *\n * @param fileName\n * @param length\n * @returns string\n */\nexport const truncatedFileName = (fileName: string, length: number): string => {\n return fileName.substring(0, length).trimEnd() + (fileName.length > length ? '... ' : '');\n};\n\n/**\n * @private\n *\n * @param fileName\n * @returns string\n */\nexport const extension = (fileName: string): string => fileName.split('.').pop() || '';\n\n/**\n * @private\n */\nexport interface DismissedError {\n type: ErrorType;\n dismissedAt: Date;\n activeSince?: Date;\n}\n\n/**\n * @private\n */\nexport interface DismissedNotification {\n type: NotificationType;\n dismissedAt: Date;\n activeSince?: Date;\n}\n\n/**\n * @private\n * @param dismissedErrors\n * @param toDismiss\n * @returns DismissedError[]\n * Always returns a new Array so that the state variable is updated, trigerring a render.\n */\nexport const dismissError = (dismissedErrors: DismissedError[], toDismiss: ActiveErrorMessage): DismissedError[] => {\n const now = new Date(Date.now());\n for (const error of dismissedErrors) {\n if (error.type === toDismiss.type) {\n // Bump the timestamp for latest dismissal of this error to now.\n error.dismissedAt = now;\n error.activeSince = toDismiss.timestamp;\n return Array.from(dismissedErrors);\n }\n }\n const toDismissTimestamp = toDismiss.timestamp ?? now;\n\n // Record that this error was dismissed for the first time right now.\n return [...dismissedErrors, {\n type: toDismiss.type,\n // the error time could be sometimes later than the button click time, which cause the dismiss not working\n // so we set the dismiss time to the later one\n dismissedAt: now > toDismissTimestamp ? now : toDismissTimestamp,\n activeSince: toDismiss.timestamp\n }];\n};\n\n/**\n * @private\n * @param activeErrorMessages\n * @param dismissedErrors\n * @returns DismissedError[]\n * Returns a new Array if and only if contents change, to avoid re-rendering when nothing was dropped.\n */\nexport const dropDismissalsForInactiveErrors = (activeErrorMessages: ActiveErrorMessage[], dismissedErrors: DismissedError[]): DismissedError[] => {\n const active = new Map();\n for (const message of activeErrorMessages) {\n active.set(message.type, message);\n }\n\n // For an error such that:\n // * It was previously active, and dismissed.\n // * It did not have a timestamp associated with it.\n // * It is no longer active.\n //\n // We remove it from dismissals. When it becomes active again next time, it will be shown again on the UI.\n const shouldDeleteDismissal = (dismissed: DismissedError): boolean => dismissed.activeSince === undefined && active.get(dismissed.type) === undefined;\n if (dismissedErrors.some(dismissed => shouldDeleteDismissal(dismissed))) {\n return dismissedErrors.filter(dismissed => !shouldDeleteDismissal(dismissed));\n }\n return dismissedErrors;\n};\n\n/**\n * @private\n * @param dismissedNotifications\n * @param toDismiss\n * @returns DismissedNotification[]\n * Always returns a new Array so that the state variable is updated, trigerring a render.\n */\nexport const dismissNotification = (dismissedNotifications: DismissedNotification[], toDismiss: ActiveNotification): DismissedNotification[] => {\n const now = new Date(Date.now());\n for (const notification of dismissedNotifications) {\n if (notification.type === toDismiss.type) {\n // Bump the timestamp for latest dismissal of this error to now.\n notification.dismissedAt = now;\n notification.activeSince = toDismiss.timestamp;\n return Array.from(dismissedNotifications);\n }\n }\n const toDismissTimestamp = toDismiss.timestamp ?? now;\n\n // Record that this error was dismissed for the first time right now.\n return [...dismissedNotifications, {\n type: toDismiss.type,\n // the error time could be sometimes later than the button click time, which cause the dismiss not working\n // so we set the dismiss time to the later one\n dismissedAt: now > toDismissTimestamp ? now : toDismissTimestamp,\n activeSince: toDismiss.timestamp\n }];\n};\n\n/**\n * @private\n * @param activeNotifications\n * @param dismissedNotifications\n * @returns DismissedError[]\n * Returns a new Array if and only if contents change, to avoid re-rendering when nothing was dropped.\n */\nexport const dropDismissalsForInactiveNotifications = (activeNotifications: ActiveNotification[], dismissedNotifications: DismissedNotification[]): DismissedNotification[] => {\n const active = new Map();\n for (const message of activeNotifications) {\n active.set(message.type, message);\n }\n\n // For an error such that:\n // * It was previously active, and dismissed.\n // * It did not have a timestamp associated with it.\n // * It is no longer active.\n //\n // We remove it from dismissals. When it becomes active again next time, it will be shown again on the UI.\n const shouldDeleteDismissal = (dismissed: DismissedNotification): boolean => dismissed.activeSince === undefined && active.get(dismissed.type) === undefined;\n if (dismissedNotifications.some(dismissed => shouldDeleteDismissal(dismissed))) {\n return dismissedNotifications.filter(dismissed => !shouldDeleteDismissal(dismissed));\n }\n return dismissedNotifications;\n};\n\n/**\n * @private\n * @param activeErrorMessages\n * @param dismissedErrors\n * @returns ActiveErrorMessage[]\n */\nexport const errorsToShow = (activeErrorMessages: ActiveErrorMessage[], dismissedErrors: DismissedError[], mountTimestamp?: Date): ActiveErrorMessage[] => {\n const dismissed: Map<ErrorType, DismissedError> = new Map();\n for (const error of dismissedErrors) {\n dismissed.set(error.type, error);\n }\n return activeErrorMessages.filter(error => {\n if (mountTimestamp && error.timestamp && mountTimestamp > error.timestamp) {\n // Error has a timestamp and it is older than when the component was mounted.\n return false;\n }\n const dismissal = dismissed.get(error.type);\n if (!dismissal) {\n // This error was never dismissed.\n return true;\n }\n if (!error.timestamp) {\n // No timestamp associated with the error. In this case, the existence of a dismissal is enough to suppress the error.\n return false;\n }\n // Error has an associated timestamp, so compare with last dismissal.\n return error.timestamp > dismissal.dismissedAt;\n });\n};\n\n/**\n * @private\n * @param activeNotifications\n * @param dismissedNotifications\n * @returns ActiveNotification[]\n */\nexport const notificationsToShow = (activeNotifications: ActiveNotification[], dismissedNotifications: DismissedNotification[], mountTimestamp?: Date): ActiveNotification[] => {\n const dismissed: Map<NotificationType, DismissedNotification> = new Map();\n for (const notification of dismissedNotifications) {\n dismissed.set(notification.type, notification);\n }\n return activeNotifications.filter(notification => {\n if (mountTimestamp && notification.timestamp && mountTimestamp > notification.timestamp) {\n // Notification has a timestamp and it is older than when the component was mounted.\n return false;\n }\n const dismissal = dismissed.get(notification.type);\n if (!dismissal) {\n // This error was never dismissed.\n return true;\n }\n if (!notification.timestamp) {\n // No timestamp associated with the error. In this case, the existence of a dismissal is enough to suppress the error.\n return false;\n }\n // Error has an associated timestamp, so compare with last dismissal.\n return notification.timestamp > dismissal.dismissedAt;\n });\n};\n\n/**\n * @private\n * @param errorType\n * @returns MessageBarType\n */\nexport const messageBarType = (errorType: ErrorType): MessageBarType => {\n switch (errorType) {\n case 'callNetworkQualityLow':\n case 'callNoSpeakerFound':\n case 'callNoMicrophoneFound':\n case 'callMicrophoneAccessDenied':\n case 'callMicrophoneAccessDeniedSafari':\n case 'callMicrophoneMutedBySystem':\n case 'callMicrophoneUnmutedBySystem':\n case 'callMacOsMicrophoneAccessDenied':\n case 'callLocalVideoFreeze':\n case 'callCameraAccessDenied':\n case 'callCameraAccessDeniedSafari':\n case 'callCameraAlreadyInUse':\n case 'callVideoStoppedBySystem':\n case 'callVideoRecoveredBySystem':\n case 'callMacOsCameraAccessDenied':\n case 'callMacOsScreenShareAccessDenied':\n case 'startScreenShareGeneric':\n case 'cameraFrozenForRemoteParticipants':\n return MessageBarType.warning;\n default:\n return MessageBarType.error;\n }\n};\n\n/**\n * @private\n * @param errorType\n * @returns IIconProps | undefined\n */\nexport const messageBarIconProps = (errorType: ErrorType): IIconProps | undefined => {\n const iconName = customIconName[errorType];\n return iconName ? {\n iconName\n } : undefined;\n};\n\n/**\n * @private\n */\nexport const customIconName: Partial<{ [key in ErrorType]: string }> = {\n callNetworkQualityLow: 'ErrorBarCallNetworkQualityLow',\n callNoSpeakerFound: 'ErrorBarCallNoSpeakerFound',\n callNoMicrophoneFound: 'ErrorBarCallNoMicrophoneFound',\n callMicrophoneAccessDenied: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneAccessDeniedSafari: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneMutedBySystem: 'ErrorBarCallMicrophoneMutedBySystem',\n callMicrophoneUnmutedBySystem: 'ErrorBarCallMicrophoneUnmutedBySystem',\n callMacOsMicrophoneAccessDenied: 'ErrorBarCallMacOsMicrophoneAccessDenied',\n callLocalVideoFreeze: 'ErrorBarCallLocalVideoFreeze',\n callCameraAccessDenied: 'ErrorBarCallCameraAccessDenied',\n callCameraAccessDeniedSafari: 'ErrorBarCallCameraAccessDenied',\n callCameraAlreadyInUse: 'ErrorBarCallCameraAlreadyInUse',\n callVideoStoppedBySystem: 'ErrorBarCallVideoStoppedBySystem',\n callVideoRecoveredBySystem: 'ErrorBarCallVideoRecoveredBySystem',\n callMacOsCameraAccessDenied: 'ErrorBarCallMacOsCameraAccessDenied'\n};\n\n/**\n * @private\n * @param NotificationType\n * @returns IIconProps | undefined\n */\nexport const NotificationIconProps = (notificationType: NotificationType): IIconProps | undefined => {\n const iconName = customNotificationIconName[notificationType];\n return iconName ? {\n iconName\n } : undefined;\n};\n\n/**\n * @private\n */\nexport const customNotificationIconName: Partial<{ [key in NotificationType]: string }> = {\n callNetworkQualityLow: 'ErrorBarCallNetworkQualityLow',\n teamsMeetingCallNetworkQualityLow: 'ErrorBarCallNetworkQualityLow',\n callNoSpeakerFound: 'ErrorBarCallNoSpeakerFound',\n callNoMicrophoneFound: 'ErrorBarCallNoMicrophoneFound',\n callMicrophoneAccessDenied: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneAccessDeniedSafari: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneMutedBySystem: 'ErrorBarCallMicrophoneMutedBySystem',\n callMicrophoneUnmutedBySystem: 'ErrorBarCallMicrophoneUnmutedBySystem',\n callMacOsMicrophoneAccessDenied: 'ErrorBarCallMacOsMicrophoneAccessDenied',\n callLocalVideoFreeze: 'ErrorBarCallLocalVideoFreeze',\n callCameraAccessDenied: 'ErrorBarCallCameraAccessDenied',\n callCameraAccessDeniedSafari: 'ErrorBarCallCameraAccessDenied',\n callCameraAlreadyInUse: 'ErrorBarCallCameraAlreadyInUse',\n callVideoStoppedBySystem: 'ErrorBarCallVideoStoppedBySystem',\n callVideoRecoveredBySystem: 'ErrorBarCallVideoRecoveredBySystem',\n callMacOsCameraAccessDenied: 'ErrorBarCallMacOsCameraAccessDenied',\n mutedByRemoteParticipant: 'ErrorBarMutedByRemoteParticipant',\n speakingWhileMuted: 'ErrorBarCallMicrophoneMutedBySystem',\n recordingStarted: 'NotificationBarRecording',\n transcriptionStarted: 'NotificationBarRecording',\n recordingStopped: 'NotificationBarRecording',\n transcriptionStopped: 'NotificationBarRecording',\n recordingAndTranscriptionStarted: 'NotificationBarRecording',\n recordingAndTranscriptionStopped: 'NotificationBarRecording',\n recordingStoppedStillTranscribing: 'NotificationBarRecording',\n transcriptionStoppedStillRecording: 'NotificationBarRecording',\n assignedBreakoutRoomOpened: 'NotificationBarBreakoutRoomOpened',\n assignedBreakoutRoomOpenedPromptJoin: 'NotificationBarBreakoutRoomPromptJoin',\n assignedBreakoutRoomChanged: 'NotificationBarBreakoutRoomChanged',\n assignedBreakoutRoomClosed: 'NotificationBarBreakoutRoomClosed',\n breakoutRoomJoined: 'NotificationBarBreakoutRoomJoined',\n breakoutRoomClosingSoon: 'NotificationBarBreakoutRoomClosingSoon',\n capabilityTurnVideoOnPresent: 'ControlButtonCameraOff',\n capabilityTurnVideoOnAbsent: 'ControlButtonCameraProhibited',\n capabilityUnmuteMicPresent: 'ControlButtonMicOff',\n capabilityUnmuteMicAbsent: 'ControlButtonMicProhibited',\n togetherModeStarted: 'NotificationBarTogetherModeIcon',\n togetherModeEnded: 'NotificationBarTogetherModeIcon'\n};\n\n/**\n * @private\n */\nexport const isValidString = (string: string | undefined): string is string => {\n return !!string && string.length > 0;\n};\n\n/**\n * Chunk an array into rows of a given size.\n * @private\n */\nexport function chunk<T>(options: T[], itemsPerRow: number): T[][] {\n const rows: T[][] = [];\n let currentRow: T[] = [];\n for (const option of options) {\n currentRow.push(option);\n if (currentRow.length === itemsPerRow) {\n rows.push(currentRow);\n currentRow = [];\n }\n }\n if (currentRow.length > 0) {\n rows.push(currentRow);\n }\n return rows;\n}\n\n/**\n * @private\n */\nexport const defaultSpokenLanguage: SupportedSpokenLanguage = 'en-us';\n\n/**\n * @private\n */\nconst SAFARI_COMPOSITION_KEYCODE = 229;\n/**\n * Determine if the press of the enter key is from a composition session or not (Safari only)\n *\n * @private\n */\nexport const isEnterKeyEventFromCompositionSession = (e: KeyboardEvent): boolean => {\n // Uses KeyCode 229 and which code 229 to determine if the press of the enter key is from a composition session or not (the code check is needed for Safari only, for everything else e.isComposing check is enough)\n const isComposing = e.isComposing || e.keyCode === SAFARI_COMPOSITION_KEYCODE || e.which === SAFARI_COMPOSITION_KEYCODE;\n return isComposing && e.key === 'Enter';\n};\n\n/**\n * @private\n */\nexport const nullToUndefined = <T,>(value: T | null): T | undefined => value === null ? undefined : value;\n\n/**\n * @private\n */\nexport const formatMoreButtonAriaDescription = (displayName?: string, isMuted?: boolean, isHandRaised?: boolean, state?: string, isSpeaking?: boolean, strings?: VideoTileStrings, isMicDisabled?: boolean, isCameraDisabled?: boolean): string => {\n const mutedState = isMuted ? strings?.moreOptionsParticipantMutedStateMutedAriaLabel : strings?.moreOptionsParticipantMutedStateUnmutedAriaLabel;\n const handRaisedState = isHandRaised ? strings?.moreOptionsParticipantHandRaisedAriaLabel : undefined;\n const isSpeakingState = isSpeaking ? strings?.moreOptionsParticipantIsSpeakingAriaLabel : undefined;\n const micDisabledState = isMicDisabled ? strings?.moreOptionsParticipantMicDisabledAriaLabel : undefined;\n const cameraDisabledState = isCameraDisabled ? strings?.moreOptionsParticipantCameraDisabledAriaLabel : undefined;\n const description = strings?.moreOptionsButtonAriaLabel ? _formatString(strings?.moreOptionsButtonAriaLabel, {\n displayName: displayName ?? ' ',\n isMuted: mutedState ?? ' ',\n isHandRaised: handRaisedState ?? ' ',\n state: state ?? ' ',\n isSpeaking: isSpeakingState ?? ' ',\n micDisabledState: micDisabledState ?? ' ',\n cameraDisabledState: cameraDisabledState ?? ' '\n }) : '';\n return description;\n};"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../react-components/src/components/utils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAc,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAK7D,OAAO,EAAE,aAAa,EAAE,mCAAgC;AAExD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,QAAgB,EAAE,MAAc,EAAU,EAAE;IAC5E,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAC5F,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,QAAgB,EAAU,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC;AAoBvF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,eAAiC,EAAE,SAA6B,EAAoB,EAAE;;IACjH,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACjC,KAAK,MAAM,KAAK,IAAI,eAAe,EAAE,CAAC;QACpC,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,EAAE,CAAC;YAClC,gEAAgE;YAChE,KAAK,CAAC,WAAW,GAAG,GAAG,CAAC;YACxB,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC,SAAS,CAAC;YACxC,OAAO,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;IAED,MAAM,kBAAkB,GAAG,MAAA,SAAS,CAAC,SAAS,mCAAI,GAAG,CAAC;I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ACpC,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,GAAG;YACnB,UAAU,EAAE,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,GAAG;YAClC,gBAAgB,EAAE,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,GAAG;YACzC,mBAAmB,EAAE,mBAAmB,aAAnB,mBAAmB,cAAnB,mBAAmB,GAAI,GAAG;SAChD,CAAC;QACJ,CAAC,CAAC,EAAE,CAAC;IAEP,OAAO,WAAW,CAAC;AACrB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IIconProps, MessageBarType } from '@fluentui/react';\nimport { ActiveErrorMessage, ErrorType } from './ErrorBar';\nimport { SupportedSpokenLanguage } from '../types';\nimport { ActiveNotification, NotificationType } from './NotificationStack';\nimport { VideoTileStrings } from './VideoTile';\nimport { _formatString } from '@internal/acs-ui-common';\n\n/**\n * @private\n *\n * @param fileName\n * @param length\n * @returns string\n */\nexport const truncatedFileName = (fileName: string, length: number): string => {\n return fileName.substring(0, length).trimEnd() + (fileName.length > length ? '... ' : '');\n};\n\n/**\n * @private\n *\n * @param fileName\n * @returns string\n */\nexport const extension = (fileName: string): string => fileName.split('.').pop() || '';\n\n/**\n * @private\n */\nexport interface DismissedError {\n type: ErrorType;\n dismissedAt: Date;\n activeSince?: Date;\n}\n\n/**\n * @private\n */\nexport interface DismissedNotification {\n type: NotificationType;\n dismissedAt: Date;\n activeSince?: Date;\n}\n\n/**\n * @private\n * @param dismissedErrors\n * @param toDismiss\n * @returns DismissedError[]\n * Always returns a new Array so that the state variable is updated, trigerring a render.\n */\nexport const dismissError = (dismissedErrors: DismissedError[], toDismiss: ActiveErrorMessage): DismissedError[] => {\n const now = new Date(Date.now());\n for (const error of dismissedErrors) {\n if (error.type === toDismiss.type) {\n // Bump the timestamp for latest dismissal of this error to now.\n error.dismissedAt = now;\n error.activeSince = toDismiss.timestamp;\n return Array.from(dismissedErrors);\n }\n }\n\n const toDismissTimestamp = toDismiss.timestamp ?? now;\n\n // Record that this error was dismissed for the first time right now.\n return [\n ...dismissedErrors,\n {\n type: toDismiss.type,\n // the error time could be sometimes later than the button click time, which cause the dismiss not working\n // so we set the dismiss time to the later one\n dismissedAt: now > toDismissTimestamp ? now : toDismissTimestamp,\n activeSince: toDismiss.timestamp\n }\n ];\n};\n\n/**\n * @private\n * @param activeErrorMessages\n * @param dismissedErrors\n * @returns DismissedError[]\n * Returns a new Array if and only if contents change, to avoid re-rendering when nothing was dropped.\n */\nexport const dropDismissalsForInactiveErrors = (\n activeErrorMessages: ActiveErrorMessage[],\n dismissedErrors: DismissedError[]\n): DismissedError[] => {\n const active = new Map();\n for (const message of activeErrorMessages) {\n active.set(message.type, message);\n }\n\n // For an error such that:\n // * It was previously active, and dismissed.\n // * It did not have a timestamp associated with it.\n // * It is no longer active.\n //\n // We remove it from dismissals. When it becomes active again next time, it will be shown again on the UI.\n const shouldDeleteDismissal = (dismissed: DismissedError): boolean =>\n dismissed.activeSince === undefined && active.get(dismissed.type) === undefined;\n\n if (dismissedErrors.some((dismissed) => shouldDeleteDismissal(dismissed))) {\n return dismissedErrors.filter((dismissed) => !shouldDeleteDismissal(dismissed));\n }\n return dismissedErrors;\n};\n\n/**\n * @private\n * @param dismissedNotifications\n * @param toDismiss\n * @returns DismissedNotification[]\n * Always returns a new Array so that the state variable is updated, trigerring a render.\n */\nexport const dismissNotification = (\n dismissedNotifications: DismissedNotification[],\n toDismiss: ActiveNotification\n): DismissedNotification[] => {\n const now = new Date(Date.now());\n for (const notification of dismissedNotifications) {\n if (notification.type === toDismiss.type) {\n // Bump the timestamp for latest dismissal of this error to now.\n notification.dismissedAt = now;\n notification.activeSince = toDismiss.timestamp;\n return Array.from(dismissedNotifications);\n }\n }\n\n const toDismissTimestamp = toDismiss.timestamp ?? now;\n\n // Record that this error was dismissed for the first time right now.\n return [\n ...dismissedNotifications,\n {\n type: toDismiss.type,\n // the error time could be sometimes later than the button click time, which cause the dismiss not working\n // so we set the dismiss time to the later one\n dismissedAt: now > toDismissTimestamp ? now : toDismissTimestamp,\n activeSince: toDismiss.timestamp\n }\n ];\n};\n\n/**\n * @private\n * @param activeNotifications\n * @param dismissedNotifications\n * @returns DismissedError[]\n * Returns a new Array if and only if contents change, to avoid re-rendering when nothing was dropped.\n */\nexport const dropDismissalsForInactiveNotifications = (\n activeNotifications: ActiveNotification[],\n dismissedNotifications: DismissedNotification[]\n): DismissedNotification[] => {\n const active = new Map();\n for (const message of activeNotifications) {\n active.set(message.type, message);\n }\n\n // For an error such that:\n // * It was previously active, and dismissed.\n // * It did not have a timestamp associated with it.\n // * It is no longer active.\n //\n // We remove it from dismissals. When it becomes active again next time, it will be shown again on the UI.\n const shouldDeleteDismissal = (dismissed: DismissedNotification): boolean =>\n dismissed.activeSince === undefined && active.get(dismissed.type) === undefined;\n\n if (dismissedNotifications.some((dismissed) => shouldDeleteDismissal(dismissed))) {\n return dismissedNotifications.filter((dismissed) => !shouldDeleteDismissal(dismissed));\n }\n return dismissedNotifications;\n};\n\n/**\n * @private\n * @param activeErrorMessages\n * @param dismissedErrors\n * @returns ActiveErrorMessage[]\n */\nexport const errorsToShow = (\n activeErrorMessages: ActiveErrorMessage[],\n dismissedErrors: DismissedError[],\n mountTimestamp?: Date\n): ActiveErrorMessage[] => {\n const dismissed: Map<ErrorType, DismissedError> = new Map();\n for (const error of dismissedErrors) {\n dismissed.set(error.type, error);\n }\n\n return activeErrorMessages.filter((error) => {\n if (mountTimestamp && error.timestamp && mountTimestamp > error.timestamp) {\n // Error has a timestamp and it is older than when the component was mounted.\n return false;\n }\n\n const dismissal = dismissed.get(error.type);\n if (!dismissal) {\n // This error was never dismissed.\n return true;\n }\n if (!error.timestamp) {\n // No timestamp associated with the error. In this case, the existence of a dismissal is enough to suppress the error.\n return false;\n }\n // Error has an associated timestamp, so compare with last dismissal.\n return error.timestamp > dismissal.dismissedAt;\n });\n};\n\n/**\n * @private\n * @param activeNotifications\n * @param dismissedNotifications\n * @returns ActiveNotification[]\n */\nexport const notificationsToShow = (\n activeNotifications: ActiveNotification[],\n dismissedNotifications: DismissedNotification[],\n mountTimestamp?: Date\n): ActiveNotification[] => {\n const dismissed: Map<NotificationType, DismissedNotification> = new Map();\n for (const notification of dismissedNotifications) {\n dismissed.set(notification.type, notification);\n }\n\n return activeNotifications.filter((notification) => {\n if (mountTimestamp && notification.timestamp && mountTimestamp > notification.timestamp) {\n // Notification has a timestamp and it is older than when the component was mounted.\n return false;\n }\n\n const dismissal = dismissed.get(notification.type);\n if (!dismissal) {\n // This error was never dismissed.\n return true;\n }\n if (!notification.timestamp) {\n // No timestamp associated with the error. In this case, the existence of a dismissal is enough to suppress the error.\n return false;\n }\n // Error has an associated timestamp, so compare with last dismissal.\n return notification.timestamp > dismissal.dismissedAt;\n });\n};\n\n/**\n * @private\n * @param errorType\n * @returns MessageBarType\n */\nexport const messageBarType = (errorType: ErrorType): MessageBarType => {\n switch (errorType) {\n case 'callNetworkQualityLow':\n case 'callNoSpeakerFound':\n case 'callNoMicrophoneFound':\n case 'callMicrophoneAccessDenied':\n case 'callMicrophoneAccessDeniedSafari':\n case 'callMicrophoneMutedBySystem':\n case 'callMicrophoneUnmutedBySystem':\n case 'callMacOsMicrophoneAccessDenied':\n case 'callLocalVideoFreeze':\n case 'callCameraAccessDenied':\n case 'callCameraAccessDeniedSafari':\n case 'callCameraAlreadyInUse':\n case 'callVideoStoppedBySystem':\n case 'callVideoRecoveredBySystem':\n case 'callMacOsCameraAccessDenied':\n case 'callMacOsScreenShareAccessDenied':\n case 'startScreenShareGeneric':\n case 'cameraFrozenForRemoteParticipants':\n return MessageBarType.warning;\n default:\n return MessageBarType.error;\n }\n};\n\n/**\n * @private\n * @param errorType\n * @returns IIconProps | undefined\n */\nexport const messageBarIconProps = (errorType: ErrorType): IIconProps | undefined => {\n const iconName = customIconName[errorType];\n return iconName ? { iconName } : undefined;\n};\n\n/**\n * @private\n */\nexport const customIconName: Partial<{ [key in ErrorType]: string }> = {\n callNetworkQualityLow: 'ErrorBarCallNetworkQualityLow',\n callNoSpeakerFound: 'ErrorBarCallNoSpeakerFound',\n callNoMicrophoneFound: 'ErrorBarCallNoMicrophoneFound',\n callMicrophoneAccessDenied: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneAccessDeniedSafari: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneMutedBySystem: 'ErrorBarCallMicrophoneMutedBySystem',\n callMicrophoneUnmutedBySystem: 'ErrorBarCallMicrophoneUnmutedBySystem',\n callMacOsMicrophoneAccessDenied: 'ErrorBarCallMacOsMicrophoneAccessDenied',\n callLocalVideoFreeze: 'ErrorBarCallLocalVideoFreeze',\n callCameraAccessDenied: 'ErrorBarCallCameraAccessDenied',\n callCameraAccessDeniedSafari: 'ErrorBarCallCameraAccessDenied',\n callCameraAlreadyInUse: 'ErrorBarCallCameraAlreadyInUse',\n callVideoStoppedBySystem: 'ErrorBarCallVideoStoppedBySystem',\n callVideoRecoveredBySystem: 'ErrorBarCallVideoRecoveredBySystem',\n callMacOsCameraAccessDenied: 'ErrorBarCallMacOsCameraAccessDenied'\n};\n\n/**\n * @private\n * @param NotificationType\n * @returns IIconProps | undefined\n */\nexport const NotificationIconProps = (notificationType: NotificationType): IIconProps | undefined => {\n const iconName = customNotificationIconName[notificationType];\n return iconName ? { iconName } : undefined;\n};\n\n/**\n * @private\n */\nexport const customNotificationIconName: Partial<{ [key in NotificationType]: string }> = {\n callNetworkQualityLow: 'ErrorBarCallNetworkQualityLow',\n teamsMeetingCallNetworkQualityLow: 'ErrorBarCallNetworkQualityLow',\n callNoSpeakerFound: 'ErrorBarCallNoSpeakerFound',\n callNoMicrophoneFound: 'ErrorBarCallNoMicrophoneFound',\n callMicrophoneAccessDenied: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneAccessDeniedSafari: 'ErrorBarCallMicrophoneAccessDenied',\n callMicrophoneMutedBySystem: 'ErrorBarCallMicrophoneMutedBySystem',\n callMicrophoneUnmutedBySystem: 'ErrorBarCallMicrophoneUnmutedBySystem',\n callMacOsMicrophoneAccessDenied: 'ErrorBarCallMacOsMicrophoneAccessDenied',\n callLocalVideoFreeze: 'ErrorBarCallLocalVideoFreeze',\n callCameraAccessDenied: 'ErrorBarCallCameraAccessDenied',\n callCameraAccessDeniedSafari: 'ErrorBarCallCameraAccessDenied',\n callCameraAlreadyInUse: 'ErrorBarCallCameraAlreadyInUse',\n callVideoStoppedBySystem: 'ErrorBarCallVideoStoppedBySystem',\n callVideoRecoveredBySystem: 'ErrorBarCallVideoRecoveredBySystem',\n callMacOsCameraAccessDenied: 'ErrorBarCallMacOsCameraAccessDenied',\n mutedByRemoteParticipant: 'ErrorBarMutedByRemoteParticipant',\n speakingWhileMuted: 'ErrorBarCallMicrophoneMutedBySystem',\n recordingStarted: 'NotificationBarRecording',\n transcriptionStarted: 'NotificationBarRecording',\n recordingStopped: 'NotificationBarRecording',\n transcriptionStopped: 'NotificationBarRecording',\n recordingAndTranscriptionStarted: 'NotificationBarRecording',\n recordingAndTranscriptionStopped: 'NotificationBarRecording',\n recordingStoppedStillTranscribing: 'NotificationBarRecording',\n transcriptionStoppedStillRecording: 'NotificationBarRecording',\n assignedBreakoutRoomOpened: 'NotificationBarBreakoutRoomOpened',\n assignedBreakoutRoomOpenedPromptJoin: 'NotificationBarBreakoutRoomPromptJoin',\n assignedBreakoutRoomChanged: 'NotificationBarBreakoutRoomChanged',\n assignedBreakoutRoomClosed: 'NotificationBarBreakoutRoomClosed',\n breakoutRoomJoined: 'NotificationBarBreakoutRoomJoined',\n breakoutRoomClosingSoon: 'NotificationBarBreakoutRoomClosingSoon',\n capabilityTurnVideoOnPresent: 'ControlButtonCameraOff',\n capabilityTurnVideoOnAbsent: 'ControlButtonCameraProhibited',\n capabilityUnmuteMicPresent: 'ControlButtonMicOff',\n capabilityUnmuteMicAbsent: 'ControlButtonMicProhibited',\n /* @conditional-compile-remove(together-mode) */\n togetherModeStarted: 'NotificationBarTogetherModeIcon',\n /* @conditional-compile-remove(together-mode) */\n togetherModeEnded: 'NotificationBarTogetherModeIcon',\n transcriptionError: 'NotificationBarTranscriptionError',\n transcriptionStartedByYou: 'NotificationBarTranscriptionStartedByYou'\n};\n\n/**\n * @private\n */\nexport const isValidString = (string: string | undefined): string is string => {\n return !!string && string.length > 0;\n};\n\n/**\n * Chunk an array into rows of a given size.\n * @private\n */\nexport function chunk<T>(options: T[], itemsPerRow: number): T[][] {\n const rows: T[][] = [];\n let currentRow: T[] = [];\n for (const option of options) {\n currentRow.push(option);\n if (currentRow.length === itemsPerRow) {\n rows.push(currentRow);\n currentRow = [];\n }\n }\n if (currentRow.length > 0) {\n rows.push(currentRow);\n }\n return rows;\n}\n\n/**\n * @private\n */\nexport const defaultSpokenLanguage: SupportedSpokenLanguage = 'en-us';\n\n/**\n * @private\n */\nconst SAFARI_COMPOSITION_KEYCODE = 229;\n/**\n * Determine if the press of the enter key is from a composition session or not (Safari only)\n *\n * @private\n */\nexport const isEnterKeyEventFromCompositionSession = (e: KeyboardEvent): boolean => {\n // Uses KeyCode 229 and which code 229 to determine if the press of the enter key is from a composition session or not (the code check is needed for Safari only, for everything else e.isComposing check is enough)\n const isComposing =\n e.isComposing || e.keyCode === SAFARI_COMPOSITION_KEYCODE || e.which === SAFARI_COMPOSITION_KEYCODE;\n return isComposing && e.key === 'Enter';\n};\n\n/**\n * @private\n */\nexport const nullToUndefined = <T>(value: T | null): T | undefined => (value === null ? undefined : value);\n\n/**\n * @private\n */\nexport const formatMoreButtonAriaDescription = (\n displayName?: string,\n isMuted?: boolean,\n isHandRaised?: boolean,\n state?: string,\n isSpeaking?: boolean,\n strings?: VideoTileStrings,\n isMicDisabled?: boolean,\n isCameraDisabled?: boolean\n): string => {\n const mutedState = isMuted\n ? strings?.moreOptionsParticipantMutedStateMutedAriaLabel\n : strings?.moreOptionsParticipantMutedStateUnmutedAriaLabel;\n const handRaisedState = isHandRaised ? strings?.moreOptionsParticipantHandRaisedAriaLabel : undefined;\n const isSpeakingState = isSpeaking ? strings?.moreOptionsParticipantIsSpeakingAriaLabel : undefined;\n const micDisabledState = isMicDisabled ? strings?.moreOptionsParticipantMicDisabledAriaLabel : undefined;\n const cameraDisabledState = isCameraDisabled ? strings?.moreOptionsParticipantCameraDisabledAriaLabel : undefined;\n const description = strings?.moreOptionsButtonAriaLabel\n ? _formatString(strings?.moreOptionsButtonAriaLabel, {\n displayName: displayName ?? ' ',\n isMuted: mutedState ?? ' ',\n isHandRaised: handRaisedState ?? ' ',\n state: state ?? ' ',\n isSpeaking: isSpeakingState ?? ' ',\n micDisabledState: micDisabledState ?? ' ',\n cameraDisabledState: cameraDisabledState ?? ' '\n })\n : '';\n\n return description;\n};\n"]}
@@ -14,9 +14,9 @@ export const smartDominantSpeakerParticipants = (args) => {
14
14
  }
15
15
  const participantsMap = participantsById(participants);
16
16
  // Only use the Max allowed dominant speakers that exist in participants
17
- const dominantSpeakerIds = dominantSpeakers.filter(id => !!participantsMap[id]).slice(0, maxDominantSpeakers);
18
- const newVisibleParticipantIds = currentParticipants.map(p => p.userId).slice(0, maxDominantSpeakers);
19
- const newDominantSpeakerIds = dominantSpeakerIds.filter(id => !newVisibleParticipantIds.includes(id));
17
+ const dominantSpeakerIds = dominantSpeakers.filter((id) => !!participantsMap[id]).slice(0, maxDominantSpeakers);
18
+ const newVisibleParticipantIds = currentParticipants.map((p) => p.userId).slice(0, maxDominantSpeakers);
19
+ const newDominantSpeakerIds = dominantSpeakerIds.filter((id) => !newVisibleParticipantIds.includes(id));
20
20
  // Remove participants that are no longer dominant and replace them with new dominant speakers.
21
21
  for (let index = 0; index < maxDominantSpeakers; index++) {
22
22
  const newVisibleParticipantId = newVisibleParticipantIds[index];
@@ -28,9 +28,11 @@ export const smartDominantSpeakerParticipants = (args) => {
28
28
  newVisibleParticipantIds[index] = replacement;
29
29
  }
30
30
  }
31
- let newVisibleParticipants = newVisibleParticipantIds.map(participantId => participantsMap[participantId]).filter(p => p !== undefined);
31
+ let newVisibleParticipants = newVisibleParticipantIds
32
+ .map((participantId) => participantsMap[participantId])
33
+ .filter((p) => p !== undefined);
32
34
  const newVisibleParticipantIdsSet = new Set(newVisibleParticipantIds);
33
- const remainingParticipants = participants.filter(p => !newVisibleParticipantIdsSet.has(p.userId));
35
+ const remainingParticipants = participants.filter((p) => !newVisibleParticipantIdsSet.has(p.userId));
34
36
  newVisibleParticipants = newVisibleParticipants.concat(remainingParticipants);
35
37
  return newVisibleParticipants;
36
38
  };
@@ -40,7 +42,7 @@ export const smartDominantSpeakerParticipants = (args) => {
40
42
  */
41
43
  export const participantsById = (participants) => {
42
44
  const response = {};
43
- participants.forEach(p => response[p.userId] = p);
45
+ participants.forEach((p) => (response[p.userId] = p));
44
46
  return response;
45
47
  };
46
48
  //# sourceMappingURL=dominantSpeaker.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dominantSpeaker.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/gallery/dominantSpeaker.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAuBlC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,IAA0C,EAAmC,EAAE;IAC9H,MAAM,EACJ,YAAY,EACZ,gBAAgB,GAAG,EAAE,EACrB,mBAAmB,GAAG,EAAE,EACxB,mBAAmB,EACpB,GAAG,IAAI,CAAC;IAET,6FAA6F;IAC7F,IAAI,YAAY,CAAC,MAAM,IAAI,mBAAmB,EAAE,CAAC;QAC/C,OAAO,YAAY,CAAC;IACtB,CAAC;IACD,MAAM,eAAe,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAEvD,wEAAwE;IACxE,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC;IAC9G,M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AAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,YAA6C,EAE5E,EAAE;IACF,MAAM,QAAQ,GAEV,EAAE,CAAC;IACP,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IAClD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { VideoGalleryRemoteParticipant } from '../types';\ntype SmartDominantSpeakerParticipantsArgs = {\n /**\n * Array containing all participants of a call. {@link @azure/communication-react#VideoGalleryRemoteParticipant}\n */\n participants: VideoGalleryRemoteParticipant[];\n /**\n * An array containing the userId of dominant speakers\n * in a call in the order of their dominance. 0th index is the most dominant, 1st is the second most etc\n */\n dominantSpeakers?: string[];\n /**\n * Array containing the current participants in the call. {@link @azure/communication-react#VideoGalleryRemoteParticipant}\n */\n currentParticipants?: VideoGalleryRemoteParticipant[];\n /**\n * Maximum number of dominant speaker positions to move participants in.\n */\n maxDominantSpeakers: number;\n};\n\n/**\n * Calculates the participants that should be rendered based on the list of dominant\n * speakers and currently rendered participants in a call.\n * @param args - SmartDominantSpeakerParticipantsArgs\n * @returns VideoGalleryRemoteParticipant[] {@link @azure/communication-react#VideoGalleryRemoteParticipant}\n */\nexport const smartDominantSpeakerParticipants = (args: SmartDominantSpeakerParticipantsArgs): VideoGalleryRemoteParticipant[] => {\n const {\n participants,\n dominantSpeakers = [],\n currentParticipants = [],\n maxDominantSpeakers\n } = args;\n\n // Don't apply any logic if total number of video streams is less than max dominant speakers.\n if (participants.length <= maxDominantSpeakers) {\n return participants;\n }\n const participantsMap = participantsById(participants);\n\n // Only use the Max allowed dominant speakers that exist in participants\n const dominantSpeakerIds = dominantSpeakers.filter(id => !!participantsMap[id]).slice(0, maxDominantSpeakers);\n const newVisibleParticipantIds = currentParticipants.map(p => p.userId).slice(0, maxDominantSpeakers);\n const newDominantSpeakerIds = dominantSpeakerIds.filter(id => !newVisibleParticipantIds.includes(id));\n\n // Remove participants that are no longer dominant and replace them with new dominant speakers.\n for (let index = 0; index < maxDominantSpeakers; index++) {\n const newVisibleParticipantId = newVisibleParticipantIds[index];\n if (newVisibleParticipantId === undefined || !dominantSpeakerIds.includes(newVisibleParticipantId)) {\n const replacement = newDominantSpeakerIds.shift();\n if (!replacement) {\n break;\n }\n newVisibleParticipantIds[index] = replacement;\n }\n }\n let newVisibleParticipants = newVisibleParticipantIds.map(participantId => participantsMap[participantId]).filter(p => p !== undefined) as VideoGalleryRemoteParticipant[];\n const newVisibleParticipantIdsSet = new Set(newVisibleParticipantIds);\n const remainingParticipants = participants.filter(p => !newVisibleParticipantIdsSet.has(p.userId));\n newVisibleParticipants = newVisibleParticipants.concat(remainingParticipants);\n return newVisibleParticipants;\n};\n\n/**\n * maps the participants array to an object with userId as key\n * @private\n */\nexport const participantsById = (participants: VideoGalleryRemoteParticipant[]): {\n [key: string]: VideoGalleryRemoteParticipant;\n} => {\n const response: {\n [key: string]: VideoGalleryRemoteParticipant;\n } = {};\n participants.forEach(p => response[p.userId] = p);\n return response;\n};"]}
1
+ {"version":3,"file":"dominantSpeaker.js","sourceRoot":"","sources":["../../../../../../react-components/src/gallery/dominantSpeaker.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAwBlC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAC9C,IAA0C,EACT,EAAE;IACnC,MAAM,EAAE,YAAY,EAAE,gBAAgB,GAAG,EAAE,EAAE,mBAAmB,GAAG,EAAE,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAEpG,6FAA6F;IAC7F,IAAI,YAAY,CAAC,MAAM,IAAI,mBAAmB,EAAE,CAAC;QAC/C,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,MAAM,eAAe,GAAG,gBAAgB,CAAC,YAAY,CAAC,C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,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,2BAA2B,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;IAErG,sBAAsB,GAAG,sBAAsB,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;IAE9E,OAAO,sBAAsB,CAAC;AAChC,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,YAA6C,EACK,EAAE;IACpD,MAAM,QAAQ,GAAqD,EAAE,CAAC;IACtE,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACtD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { VideoGalleryRemoteParticipant } from '../types';\n\ntype SmartDominantSpeakerParticipantsArgs = {\n /**\n * Array containing all participants of a call. {@link @azure/communication-react#VideoGalleryRemoteParticipant}\n */\n participants: VideoGalleryRemoteParticipant[];\n /**\n * An array containing the userId of dominant speakers\n * in a call in the order of their dominance. 0th index is the most dominant, 1st is the second most etc\n */\n dominantSpeakers?: string[];\n /**\n * Array containing the current participants in the call. {@link @azure/communication-react#VideoGalleryRemoteParticipant}\n */\n currentParticipants?: VideoGalleryRemoteParticipant[];\n /**\n * Maximum number of dominant speaker positions to move participants in.\n */\n maxDominantSpeakers: number;\n};\n\n/**\n * Calculates the participants that should be rendered based on the list of dominant\n * speakers and currently rendered participants in a call.\n * @param args - SmartDominantSpeakerParticipantsArgs\n * @returns VideoGalleryRemoteParticipant[] {@link @azure/communication-react#VideoGalleryRemoteParticipant}\n */\nexport const smartDominantSpeakerParticipants = (\n args: SmartDominantSpeakerParticipantsArgs\n): VideoGalleryRemoteParticipant[] => {\n const { participants, dominantSpeakers = [], currentParticipants = [], maxDominantSpeakers } = args;\n\n // Don't apply any logic if total number of video streams is less than max dominant speakers.\n if (participants.length <= maxDominantSpeakers) {\n return participants;\n }\n\n const participantsMap = participantsById(participants);\n\n // Only use the Max allowed dominant speakers that exist in participants\n const dominantSpeakerIds = dominantSpeakers.filter((id) => !!participantsMap[id]).slice(0, maxDominantSpeakers);\n\n const newVisibleParticipantIds = currentParticipants.map((p) => p.userId).slice(0, maxDominantSpeakers);\n const newDominantSpeakerIds = dominantSpeakerIds.filter((id) => !newVisibleParticipantIds.includes(id));\n\n // Remove participants that are no longer dominant and replace them with new dominant speakers.\n for (let index = 0; index < maxDominantSpeakers; index++) {\n const newVisibleParticipantId = newVisibleParticipantIds[index];\n if (newVisibleParticipantId === undefined || !dominantSpeakerIds.includes(newVisibleParticipantId)) {\n const replacement = newDominantSpeakerIds.shift();\n if (!replacement) {\n break;\n }\n newVisibleParticipantIds[index] = replacement;\n }\n }\n\n let newVisibleParticipants = newVisibleParticipantIds\n .map((participantId) => participantsMap[participantId])\n .filter((p) => p !== undefined) as VideoGalleryRemoteParticipant[];\n\n const newVisibleParticipantIdsSet = new Set(newVisibleParticipantIds);\n const remainingParticipants = participants.filter((p) => !newVisibleParticipantIdsSet.has(p.userId));\n\n newVisibleParticipants = newVisibleParticipants.concat(remainingParticipants);\n\n return newVisibleParticipants;\n};\n\n/**\n * maps the participants array to an object with userId as key\n * @private\n */\nexport const participantsById = (\n participants: VideoGalleryRemoteParticipant[]\n): { [key: string]: VideoGalleryRemoteParticipant } => {\n const response: { [key: string]: VideoGalleryRemoteParticipant } = {};\n participants.forEach((p) => (response[p.userId] = p));\n return response;\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/gallery/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from './dominantSpeaker';"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../react-components/src/gallery/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from './dominantSpeaker';\n"]}
@@ -18,7 +18,9 @@ const defaultIdentifiers = {
18
18
  verticalGalleryVideoTile: 'vertical-gallery-video-tile',
19
19
  horizontalGalleryVideoTile: 'horizontal-gallery-video-tile',
20
20
  verticalGalleryPageCounter: 'vertical-gallery-page-counter',
21
+ /* @conditional-compile-remove(mention) */
21
22
  mentionSuggestionList: 'mention-suggestion-list',
23
+ /* @conditional-compile-remove(mention) */
22
24
  mentionSuggestionItem: 'mention-suggestion-item'
23
25
  };
24
26
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"IdentifierProvider.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/identifiers/IdentifierProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAqDzD,MAAM,kBAAkB,GAAiB;IACvC,gBAAgB,EAAE,mBAAmB;IACrC,+BAA+B,EAAE,qCAAqC;IACtE,yBAAyB,EAAE,8BAA8B;IACzD,eAAe,EAAE,kBAAkB;IACnC,2BAA2B,EAAE,gCAAgC;IAC7D,sCAAsC,EAAE,4CAA4C;IACpF,cAAc,EAAE,iBAAiB;IACjC,gBAAgB,EAAE,mBAAmB;IACrC,eAAe,EAAE,kBAAkB;IACnC,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,YAAY;IACvB,4BAA4B,EAAE,kCAAkC;IAChE,6BAA6B,EAAE,mCAAmC;IAClE,wBAAwB,EAAE,6BAA6B;IACvD,0BAA0B,EAAE,+BAA+B;IAC3D,0BAA0B,EAAE,+BAA+B;IAC3D,qBAAqB,EAAE,yBAAyB;IAChD,qBAAqB,EAAE,yBAAyB;CACjD,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAe,kBAAkB,CAAC,CAAC;AAgBjF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAA+B,EAAe,EAAE;IAClF,MAAM,EACJ,WAAW,EACX,QAAQ,EACT,GAAG,KAAK,CAAC;IACV,OAAO,oBAAC,iBAAiB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,kBAAkB,IAAG,QAAQ,CAA8B,CAAC;AACvH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAiB,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { createContext, useContext } from 'react';\n\n/**\n * Identifiers that can be used to target specific components in a composite.\n *\n * @experimental\n *\n * These identifiers are assigned as `data-ui-id` HTML attribute of the root element of the targeted component.\n *\n * This API is intended for end to end test automation. As such, they are not covered by the API\n * guarantee of the public API. This will remain perenially experimental and compatibility breaking changes\n * may be made at any point.\n *\n * @internal\n */\nexport interface _Identifiers {\n /** `data-ui-id` value for `SendBox` Component */\n sendboxTextField: string;\n /** `data-ui-id` value for `ParticipantButton` Component's People menu item */\n participantButtonPeopleMenuItem: string;\n /** `data-ui-id` value for `ParticipantItem` Component's Menu button */\n participantItemMenuButton: string;\n /** `data-ui-id` value for `ParticipantList` Component */\n participantList: string;\n /** `data-ui-id` value for `ParticipantList` Component's People Button */\n participantListPeopleButton: string;\n /** `data-ui-id` value for `ParticipantList` Component's Remove Participant Button */\n participantListRemoveParticipantButton: string;\n /** `data-ui-id` value for `MessageThread` components message content */\n messageContent: string;\n /** `data-ui-id` value for `MessageThread` components message timestamp */\n messageTimestamp: string;\n /** `data-ui-id` value for `TypingIndicator` Component */\n typingIndicator: string;\n /** `data-ui-id` value for `VideoGallery` Component */\n videoGallery: string;\n /** `data-ui-id` value for `VideoTile` Component */\n videoTile: string;\n /** `data-ui-id` value for overflow gallery component's left navigation button */\n overflowGalleryLeftNavButton: string;\n /** `data-ui-id` value for overflow gallery component's right navigation button */\n overflowGalleryRightNavButton: string;\n /** `data-ui-id` value for the video tiles in the horizontal gallery */\n horizontalGalleryVideoTile: string;\n /** `data-ui-id` value for `VerticalGallery` Component's children video tiles */\n verticalGalleryVideoTile: string;\n /** `data-ui-id` value for `VerticalGallery` Component's page counter */\n verticalGalleryPageCounter: string;\n /** `data-ui-id` value for `MentionPopover` Component's suggestion list */\n mentionSuggestionList: string;\n /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */\n mentionSuggestionItem: string;\n}\nconst defaultIdentifiers: _Identifiers = {\n sendboxTextField: 'sendbox-textfield',\n participantButtonPeopleMenuItem: 'participant-button-people-menu-item',\n participantItemMenuButton: 'participant-item-menu-button',\n participantList: 'participant-list',\n participantListPeopleButton: 'participant-list-people-button',\n participantListRemoveParticipantButton: 'participant-list-remove-participant-button',\n messageContent: 'message-content',\n messageTimestamp: 'message-timestamp',\n typingIndicator: 'typing-indicator',\n videoGallery: 'video-gallery',\n videoTile: 'video-tile',\n overflowGalleryLeftNavButton: 'overflow-gallery-left-nav-button',\n overflowGalleryRightNavButton: 'overflow-gallery-right-nav-button',\n verticalGalleryVideoTile: 'vertical-gallery-video-tile',\n horizontalGalleryVideoTile: 'horizontal-gallery-video-tile',\n verticalGalleryPageCounter: 'vertical-gallery-page-counter',\n mentionSuggestionList: 'mention-suggestion-list',\n mentionSuggestionItem: 'mention-suggestion-item'\n};\n\n/**\n * @private\n */\nexport const IdentifierContext = createContext<_Identifiers>(defaultIdentifiers);\n\n/**\n * Arguments to Context Provider for {@link _Identifiers}.\n *\n * @experimental\n *\n * See documentation for {@link _Identifiers}.\n *\n * @internal\n */\nexport interface _IdentifierProviderProps {\n identifiers?: _Identifiers;\n children: React.ReactNode;\n}\n\n/**\n * React Context provider for {@link _Identifiers}.\n *\n * @experimental\n *\n * See documentation for {@link _Identifiers}.\n *\n * @internal\n */\nexport const _IdentifierProvider = (props: _IdentifierProviderProps): JSX.Element => {\n const {\n identifiers,\n children\n } = props;\n return <IdentifierContext.Provider value={identifiers ?? defaultIdentifiers}>{children}</IdentifierContext.Provider>;\n};\n\n/**\n * @private\n */\nexport const useIdentifiers = (): _Identifiers => useContext(IdentifierContext);"]}
1
+ {"version":3,"file":"IdentifierProvider.js","sourceRoot":"","sources":["../../../../../../react-components/src/identifiers/IdentifierProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAwDzD,MAAM,kBAAkB,GAAiB;IACvC,gBAAgB,EAAE,mBAAmB;IACrC,+BAA+B,EAAE,qCAAqC;IACtE,yBAAyB,EAAE,8BAA8B;IACzD,eAAe,EAAE,kBAAkB;IACnC,2BAA2B,EAAE,gCAAgC;IAC7D,sCAAsC,EAAE,4CAA4C;IACpF,cAAc,EAAE,iBAAiB;IACjC,gBAAgB,EAAE,mBAAmB;IACrC,eAAe,EAAE,kBAAkB;IACnC,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,YAAY;IACvB,4BAA4B,EAAE,kCAAkC;IAChE,6BAA6B,EAAE,mCAAmC;IAClE,wBAAwB,EAAE,6BAA6B;IACvD,0BAA0B,EAAE,+BAA+B;IAC3D,0BAA0B,EAAE,+BAA+B;IAC3D,0CAA0C;IAC1C,qBAAqB,EAAE,yBAAyB;IAChD,0CAA0C;IAC1C,qBAAqB,EAAE,yBAAyB;CACjD,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAe,kBAAkB,CAAC,CAAC;AAgBjF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,KAA+B,EAAe,EAAE;IAClF,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACxC,OAAO,oBAAC,iBAAiB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,kBAAkB,IAAG,QAAQ,CAA8B,CAAC;AACvH,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAiB,EAAE,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { createContext, useContext } from 'react';\n\n/**\n * Identifiers that can be used to target specific components in a composite.\n *\n * @experimental\n *\n * These identifiers are assigned as `data-ui-id` HTML attribute of the root element of the targeted component.\n *\n * This API is intended for end to end test automation. As such, they are not covered by the API\n * guarantee of the public API. This will remain perenially experimental and compatibility breaking changes\n * may be made at any point.\n *\n * @internal\n */\nexport interface _Identifiers {\n /** `data-ui-id` value for `SendBox` Component */\n sendboxTextField: string;\n /** `data-ui-id` value for `ParticipantButton` Component's People menu item */\n participantButtonPeopleMenuItem: string;\n /** `data-ui-id` value for `ParticipantItem` Component's Menu button */\n participantItemMenuButton: string;\n /** `data-ui-id` value for `ParticipantList` Component */\n participantList: string;\n /** `data-ui-id` value for `ParticipantList` Component's People Button */\n participantListPeopleButton: string;\n /** `data-ui-id` value for `ParticipantList` Component's Remove Participant Button */\n participantListRemoveParticipantButton: string;\n /** `data-ui-id` value for `MessageThread` components message content */\n messageContent: string;\n /** `data-ui-id` value for `MessageThread` components message timestamp */\n messageTimestamp: string;\n /** `data-ui-id` value for `TypingIndicator` Component */\n typingIndicator: string;\n /** `data-ui-id` value for `VideoGallery` Component */\n videoGallery: string;\n /** `data-ui-id` value for `VideoTile` Component */\n videoTile: string;\n /** `data-ui-id` value for overflow gallery component's left navigation button */\n overflowGalleryLeftNavButton: string;\n /** `data-ui-id` value for overflow gallery component's right navigation button */\n overflowGalleryRightNavButton: string;\n /** `data-ui-id` value for the video tiles in the horizontal gallery */\n horizontalGalleryVideoTile: string;\n /** `data-ui-id` value for `VerticalGallery` Component's children video tiles */\n verticalGalleryVideoTile: string;\n /** `data-ui-id` value for `VerticalGallery` Component's page counter */\n verticalGalleryPageCounter: string;\n /* @conditional-compile-remove(mention) */\n /** `data-ui-id` value for `MentionPopover` Component's suggestion list */\n mentionSuggestionList: string;\n /* @conditional-compile-remove(mention) */\n /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */\n mentionSuggestionItem: string;\n}\n\nconst defaultIdentifiers: _Identifiers = {\n sendboxTextField: 'sendbox-textfield',\n participantButtonPeopleMenuItem: 'participant-button-people-menu-item',\n participantItemMenuButton: 'participant-item-menu-button',\n participantList: 'participant-list',\n participantListPeopleButton: 'participant-list-people-button',\n participantListRemoveParticipantButton: 'participant-list-remove-participant-button',\n messageContent: 'message-content',\n messageTimestamp: 'message-timestamp',\n typingIndicator: 'typing-indicator',\n videoGallery: 'video-gallery',\n videoTile: 'video-tile',\n overflowGalleryLeftNavButton: 'overflow-gallery-left-nav-button',\n overflowGalleryRightNavButton: 'overflow-gallery-right-nav-button',\n verticalGalleryVideoTile: 'vertical-gallery-video-tile',\n horizontalGalleryVideoTile: 'horizontal-gallery-video-tile',\n verticalGalleryPageCounter: 'vertical-gallery-page-counter',\n /* @conditional-compile-remove(mention) */\n mentionSuggestionList: 'mention-suggestion-list',\n /* @conditional-compile-remove(mention) */\n mentionSuggestionItem: 'mention-suggestion-item'\n};\n\n/**\n * @private\n */\nexport const IdentifierContext = createContext<_Identifiers>(defaultIdentifiers);\n\n/**\n * Arguments to Context Provider for {@link _Identifiers}.\n *\n * @experimental\n *\n * See documentation for {@link _Identifiers}.\n *\n * @internal\n */\nexport interface _IdentifierProviderProps {\n identifiers?: _Identifiers;\n children: React.ReactNode;\n}\n\n/**\n * React Context provider for {@link _Identifiers}.\n *\n * @experimental\n *\n * See documentation for {@link _Identifiers}.\n *\n * @internal\n */\nexport const _IdentifierProvider = (props: _IdentifierProviderProps): JSX.Element => {\n const { identifiers, children } = props;\n return <IdentifierContext.Provider value={identifiers ?? defaultIdentifiers}>{children}</IdentifierContext.Provider>;\n};\n\n/**\n * @private\n */\nexport const useIdentifiers = (): _Identifiers => useContext(IdentifierContext);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/identifiers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,sBAAsB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from './IdentifierProvider';"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../react-components/src/identifiers/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,sBAAsB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from './IdentifierProvider';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../preprocess-dist/react-components/src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AAOxC,OAAO,EAAE,gCAAgC,EAAE,MAAM,SAAS,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from './components';\nexport { _IdentifierProvider } from './identifiers';\nexport type { _Identifiers, _IdentifierProviderProps } from './identifiers';\nexport * from './localization/locales';\nexport { LocalizationProvider } from './localization';\nexport { COMPONENT_LOCALE_EN_GB } from './localization/locales/en-GB/ComponentLocale';\nexport { COMPONENT_LOCALE_AR_SA } from './localization/locales/ar-SA/ComponentLocale';\nexport { COMPONENT_LOCALE_CS_CZ } from './localization/locales/cs-CZ/ComponentLocale';\nexport { COMPONENT_LOCALE_CY_GB } from './localization/locales/cy-GB/ComponentLocale';\nexport { COMPONENT_LOCALE_DE_DE } from './localization/locales/de-DE/ComponentLocale';\nexport { COMPONENT_LOCALE_ES_ES } from './localization/locales/es-ES/ComponentLocale';\nexport { COMPONENT_LOCALE_ES_MX } from './localization/locales/es-MX/ComponentLocale';\nexport { COMPONENT_LOCALE_FI_FI } from './localization/locales/fi-FI/ComponentLocale';\nexport { COMPONENT_LOCALE_FR_FR } from './localization/locales/fr-FR/ComponentLocale';\nexport { COMPONENT_LOCALE_FR_CA } from './localization/locales/fr-CA/ComponentLocale';\nexport { COMPONENT_LOCALE_HE_IL } from './localization/locales/he-IL/ComponentLocale';\nexport { COMPONENT_LOCALE_IT_IT } from './localization/locales/it-IT/ComponentLocale';\nexport { COMPONENT_LOCALE_JA_JP } from './localization/locales/ja-JP/ComponentLocale';\nexport { COMPONENT_LOCALE_KO_KR } from './localization/locales/ko-KR/ComponentLocale';\nexport { COMPONENT_LOCALE_NB_NO } from './localization/locales/nb-NO/ComponentLocale';\nexport { COMPONENT_LOCALE_NL_NL } from './localization/locales/nl-NL/ComponentLocale';\nexport { COMPONENT_LOCALE_PL_PL } from './localization/locales/pl-PL/ComponentLocale';\nexport { COMPONENT_LOCALE_PT_BR } from './localization/locales/pt-BR/ComponentLocale';\nexport { COMPONENT_LOCALE_RU_RU } from './localization/locales/ru-RU/ComponentLocale';\nexport { COMPONENT_LOCALE_SV_SE } from './localization/locales/sv-SE/ComponentLocale';\nexport { COMPONENT_LOCALE_TR_TR } from './localization/locales/tr-TR/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_CN } from './localization/locales/zh-CN/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_TW } from './localization/locales/zh-TW/ComponentLocale';\nexport type { ComponentStrings, ComponentLocale, LocalizationProviderProps } from './localization';\nexport * from './theming';\nexport * from './theming/generateTheme';\nexport type { BaseCustomStyles, CallParticipantListParticipant, ChatMessage, CommunicationParticipant, ComponentSlotStyle, ContentSystemMessage, CreateVideoStreamViewResult, CustomAvatarOptions, CustomMessage, Message, MessageAttachedStatus, MessageCommon, MessageContentType, OnRenderAvatarCallback, ParticipantAddedSystemMessage, ParticipantListParticipant, ParticipantRemovedSystemMessage, ParticipantState, ReadReceiptsBySenderId, SystemMessage, SystemMessageCommon, TopicUpdatedSystemMessage, VideoGalleryLocalParticipant, VideoGalleryParticipant, VideoGalleryRemoteParticipant, VideoGalleryStream, VideoStreamOptions, ViewScalingMode } from './types';\nexport type { TogetherModeStreamViewResult, VideoGalleryTogetherModeParticipantPosition, VideoGalleryTogetherModeSeatingInfo, VideoGalleryTogetherModeStreams, TogetherModeStreamOptions } from './types';\nexport type { RaisedHand } from './types';\nexport type { Spotlight } from './types';\nexport type { Reaction, ReactionResources, ReactionSprite } from './types';\nexport type { SpokenLanguageStrings, CaptionLanguageStrings, SupportedSpokenLanguage, SupportedCaptionLanguage } from './types';\nexport { _spokenLanguageToCaptionLanguage } from './types';\nexport type { BlockedMessage } from './types';\nexport type { SurveyIssues } from './types';\nexport type { SurveyIssuesHeadingStrings } from './types';\nexport type { CallSurveyImprovementSuggestions } from './types';\nexport type { MediaAccess } from './types';"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../react-components/src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8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ent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from './components';\nexport { _IdentifierProvider } from './identifiers';\nexport type { _Identifiers, _IdentifierProviderProps } from './identifiers';\nexport * from './localization/locales';\nexport { LocalizationProvider } from './localization';\nexport { COMPONENT_LOCALE_EN_GB } from './localization/locales/en-GB/ComponentLocale';\nexport { COMPONENT_LOCALE_AR_SA } from './localization/locales/ar-SA/ComponentLocale';\nexport { COMPONENT_LOCALE_CS_CZ } from './localization/locales/cs-CZ/ComponentLocale';\nexport { COMPONENT_LOCALE_CY_GB } from './localization/locales/cy-GB/ComponentLocale';\nexport { COMPONENT_LOCALE_DE_DE } from './localization/locales/de-DE/ComponentLocale';\nexport { COMPONENT_LOCALE_ES_ES } from './localization/locales/es-ES/ComponentLocale';\nexport { COMPONENT_LOCALE_ES_MX } from './localization/locales/es-MX/ComponentLocale';\nexport { COMPONENT_LOCALE_FI_FI } from './localization/locales/fi-FI/ComponentLocale';\nexport { COMPONENT_LOCALE_FR_FR } from './localization/locales/fr-FR/ComponentLocale';\nexport { COMPONENT_LOCALE_FR_CA } from './localization/locales/fr-CA/ComponentLocale';\nexport { COMPONENT_LOCALE_HE_IL } from './localization/locales/he-IL/ComponentLocale';\nexport { COMPONENT_LOCALE_IT_IT } from './localization/locales/it-IT/ComponentLocale';\nexport { COMPONENT_LOCALE_JA_JP } from './localization/locales/ja-JP/ComponentLocale';\nexport { COMPONENT_LOCALE_KO_KR } from './localization/locales/ko-KR/ComponentLocale';\nexport { COMPONENT_LOCALE_NB_NO } from './localization/locales/nb-NO/ComponentLocale';\nexport { COMPONENT_LOCALE_NL_NL } from './localization/locales/nl-NL/ComponentLocale';\nexport { COMPONENT_LOCALE_PL_PL } from './localization/locales/pl-PL/ComponentLocale';\nexport { COMPONENT_LOCALE_PT_BR } from './localization/locales/pt-BR/ComponentLocale';\nexport { COMPONENT_LOCALE_RU_RU } from './localization/locales/ru-RU/ComponentLocale';\nexport { COMPONENT_LOCALE_SV_SE } from './localization/locales/sv-SE/ComponentLocale';\nexport { COMPONENT_LOCALE_TR_TR } from './localization/locales/tr-TR/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_CN } from './localization/locales/zh-CN/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_TW } from './localization/locales/zh-TW/ComponentLocale';\nexport type { ComponentStrings, ComponentLocale, LocalizationProviderProps } from './localization';\nexport * from './theming';\nexport * from './theming/generateTheme';\n\nexport type {\n BaseCustomStyles,\n CallParticipantListParticipant,\n ChatMessage,\n CommunicationParticipant,\n ComponentSlotStyle,\n ContentSystemMessage,\n CreateVideoStreamViewResult,\n CustomAvatarOptions,\n CustomMessage,\n Message,\n MessageAttachedStatus,\n MessageCommon,\n MessageContentType,\n OnRenderAvatarCallback,\n ParticipantAddedSystemMessage,\n ParticipantListParticipant,\n ParticipantRemovedSystemMessage,\n ParticipantState,\n ReadReceiptsBySenderId,\n SystemMessage,\n SystemMessageCommon,\n TopicUpdatedSystemMessage,\n VideoGalleryLocalParticipant,\n VideoGalleryParticipant,\n VideoGalleryRemoteParticipant,\n VideoGalleryStream,\n VideoStreamOptions,\n ViewScalingMode\n} from './types';\n\n/* @conditional-compile-remove(together-mode) */\nexport type {\n TogetherModeStreamViewResult,\n VideoGalleryTogetherModeParticipantPosition,\n VideoGalleryTogetherModeSeatingInfo,\n VideoGalleryTogetherModeStreams,\n TogetherModeStreamOptions\n} from './types';\n\nexport type { RaisedHand } from './types';\n\nexport type { Spotlight } from './types';\n\nexport type { Reaction, ReactionResources, ReactionSprite } from './types';\n\nexport type {\n SpokenLanguageStrings,\n CaptionLanguageStrings,\n SupportedSpokenLanguage,\n SupportedCaptionLanguage\n} from './types';\nexport { _spokenLanguageToCaptionLanguage } from './types';\n\n/* @conditional-compile-remove(data-loss-prevention) */\nexport type { BlockedMessage } from './types';\n\nexport type { SurveyIssues } from './types';\n\nexport type { SurveyIssuesHeadingStrings } from './types';\n\nexport type { CallSurveyImprovementSuggestions } from './types';\n\nexport type { MediaAccess } from './types';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"LocalizationProvider.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/localization/LocalizationProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAWzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAqJnD;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAkB,sBAAsB,CAAC,CAAC;AAcpF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAgC,EAAe,EAAE;IACpF,MAAM,EACJ,MAAM,EACN,QAAQ,EACT,GAAG,KAAK,CAAC;IACV,OAAO,oBAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM,IAAG,QAAQ,CAA0B,CAAC;AACpF,CAAC,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAoB,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { createContext, useContext } from 'react';\nimport { CameraButtonStrings, EndCallButtonStrings, ErrorBarStrings, MessageStatusIndicatorStrings, MessageThreadStrings, MicrophoneButtonStrings, DevicesButtonStrings, ParticipantsButtonStrings, ParticipantItemStrings, ScreenShareButtonStrings, SendBoxStrings, TypingIndicatorStrings, VideoGalleryStrings, CaptionsSettingsModalStrings, CaptionsBannerStrings, StartCaptionsButtonStrings } from '../components';\nimport { NotificationStackStrings } from '../components';\nimport { RaiseHandButtonStrings } from '../components';\nimport { HoldButtonStrings } from '../components';\nimport { DialpadStrings } from '../components';\nimport { SitePermissionsStrings } from '../components/DevicePermissions/SitePermissionsScaffolding';\nimport { BrowserPermissionDeniedStrings } from '../components/DevicePermissions/BrowserPermissionDenied';\nimport { BrowserPermissionDeniedIOSStrings } from '../components/DevicePermissions/BrowserPermissionDeniedIOS';\nimport { UnsupportedBrowserStrings } from '../components/UnsupportedBrowser';\nimport { VideoTileStrings } from '../components/VideoTile';\nimport { COMPONENT_LOCALE_EN_US } from './locales';\nimport { UnsupportedBrowserVersionStrings } from '../components/UnsupportedBrowserVersion';\nimport { UnsupportedOperatingSystemStrings } from '../components/UnsupportedOperatingSystem';\nimport { VerticalGalleryStrings } from '../components/VerticalGallery';\nimport { ParticipantListStrings } from '../components/ParticipantList';\nimport { MentionPopoverStrings } from '../components/MentionPopover';\nimport { ImageOverlayStrings } from '../components/ImageOverlay';\nimport { ReactionButtonStrings } from '../components';\nimport { RichTextSendBoxStrings } from '../components/RichTextEditor/RichTextSendBox';\nimport { MeetingConferencePhoneInfoModalStrings } from '../components/MeetingConferencePhoneInfo';\nimport { IncomingCallNotificationStrings } from '../components/IncomingCallNotification';\nimport { RealTimeTextModalStrings } from '../components/RealTimeTextModal';\nimport { RealTimeTextStrings } from '../components/RealTimeText';\nimport { CaptionLanguageStrings, SpokenLanguageStrings } from '../types';\nimport { StartRealTimeTextButtonStrings } from '../components/StartRealTimeTextButton';\n\n/**\n * Locale information for all components exported from this library.\n *\n * @public\n */\nexport interface ComponentLocale {\n /** Strings for components */\n strings: ComponentStrings;\n /**\n * Optional function to provide customized date format.\n * @beta\n */\n onDisplayDateTimeString?: (messageDate: Date) => string;\n}\n\n/**\n * Strings used by all components exported from this library.\n *\n * @public\n */\nexport interface ComponentStrings {\n /** Strings for MessageThread */\n messageThread: MessageThreadStrings;\n /** Strings for ParticipantItem */\n participantItem: ParticipantItemStrings;\n /** Strings for CameraButton */\n cameraButton: CameraButtonStrings;\n /** Strings for MicrophoneButton */\n microphoneButton: MicrophoneButtonStrings;\n /** Strings for EndCallButton */\n endCallButton: EndCallButtonStrings;\n /** Strings for DevicesButton */\n devicesButton: DevicesButtonStrings;\n /** Strings for ParticipantsButton */\n participantsButton: ParticipantsButtonStrings;\n /** Strings for ScreenShareButton */\n screenShareButton: ScreenShareButtonStrings;\n /** Strings for RaiseHandButton */\n raiseHandButton: RaiseHandButtonStrings;\n /**\n * Strings for ReactionButton\n * */\n reactionButton: ReactionButtonStrings;\n /** Strings for TypingIndicator */\n typingIndicator: TypingIndicatorStrings;\n /** Strings for SendBox */\n sendBox: SendBoxStrings;\n /** Strings for RichTextSendBox */\n richTextSendBox: RichTextSendBoxStrings;\n /** Strings for MentionPopover */\n mentionPopover: MentionPopoverStrings;\n /** Strings for ImageOverlay */\n imageOverlay: ImageOverlayStrings;\n /** Strings for MessageStatusIndicator */\n messageStatusIndicator: MessageStatusIndicatorStrings;\n /** Strings for ErrorBar */\n errorBar: ErrorBarStrings;\n\n /** Strings for NotificationStack */\n notificationStack: NotificationStackStrings;\n /** Strings for VideoGallery */\n videoGallery: VideoGalleryStrings;\n /** Strings for Dialpad */\n dialpad: DialpadStrings;\n /** Strings for VideoTile */\n videoTile: VideoTileStrings;\n /** Strings for HoldButton */\n holdButton: HoldButtonStrings;\n /** Strings for a site's permission request prompt */\n CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /** Strings for a site's permission request prompt */\n CameraSitePermissionsRequest: SitePermissionsStrings;\n /** Strings for a site's permission request prompt */\n MicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /** Strings for a site's permission generic checking prompt */\n CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /** Strings for a site's permission generic checking prompt */\n CameraSitePermissionsCheck: SitePermissionsStrings;\n /** Strings for a site's permission generic checking prompt */\n MicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /** Strings for a site's permission denied prompt */\n CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /** Strings for a site's permission denied prompt */\n CameraSitePermissionsDenied: SitePermissionsStrings;\n /** Strings for a site's permission denied prompt */\n MicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraSitePermissionsDeniedSafari: SitePermissionsStrings;\n /** Strings for a site's permission denied prompt for safari browsers*/\n MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /** Strings for unsupported browser UI */\n UnsupportedBrowser: UnsupportedBrowserStrings;\n /** Strings for unsupported browser version UI */\n UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;\n /** Strings for unsupported browser version UI */\n UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;\n /** Strings for BrowserPemissionDenied */\n BrowserPermissionDenied: BrowserPermissionDeniedStrings;\n /** Strings for BrowserPemissionDeniedIOS */\n BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;\n /**\n * Strings for the VerticalGallery.\n */\n verticalGallery: VerticalGalleryStrings;\n /** Strings for the participant list component */\n ParticipantList: ParticipantListStrings;\n /** Strings for the MeetingConferencePhoneInfoModal */\n meetingConferencePhoneInfo: MeetingConferencePhoneInfoModalStrings;\n IncomingCallNotification: IncomingCallNotificationStrings;\n /** Strings for the RealTimeTextModal */\n realTimeTextModal: RealTimeTextModalStrings;\n /** Strings for RealTimeText */\n realTimeText: RealTimeTextStrings;\n /** Strings for Captions Setting Modal */\n captionsSettingsModal: CaptionsSettingsModalStrings;\n /**\n * 1 to 1 mapping between language code and language string for spoken languages\n */\n spokenLanguages: SpokenLanguageStrings;\n /**\n * 1 to 1 mapping between language code and language string for caption languages\n */\n captionLanguages: CaptionLanguageStrings;\n /** Strings for CaptionsBanner */\n captionsBanner: CaptionsBannerStrings;\n /** Strings for Start Captions Button */\n startCaptionsButton: StartCaptionsButtonStrings;\n /** Strings for Start RealTimeText Button */\n startRealTimeTextButton: StartRealTimeTextButtonStrings;\n}\n\n/**\n * Context for providing localized strings to components exported from this library.\n *\n * @public\n */\nexport const LocaleContext = createContext<ComponentLocale>(COMPONENT_LOCALE_EN_US);\n\n/**\n * Props for {@link LocalizationProvider}.\n *\n * @public\n */\nexport type LocalizationProviderProps = {\n /** Locale context to provide components */\n locale: ComponentLocale;\n /** Children to provide locale context. */\n children: React.ReactNode;\n};\n\n/**\n * Provider to provide localized strings for this library's react components.\n *\n * @remarks Components will be provided localized strings in English (US) by default if this\n * provider is not used.\n *\n * @public\n */\nexport const LocalizationProvider = (props: LocalizationProviderProps): JSX.Element => {\n const {\n locale,\n children\n } = props;\n return <LocaleContext.Provider value={locale}>{children}</LocaleContext.Provider>;\n};\n\n/** React hook to access locale */\nexport const useLocale = (): ComponentLocale => useContext(LocaleContext);"]}
1
+ {"version":3,"file":"LocalizationProvider.js","sourceRoot":"","sources":["../../../../../../react-components/src/localization/LocalizationProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAgCzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAqLnD;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAkB,sBAAsB,CAAC,CAAC;AAcpF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAgC,EAAe,EAAE;IACpF,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,oBAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM,IAAG,QAAQ,CAA0B,CAAC;AACpF,CAAC,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAoB,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { createContext, useContext } from 'react';\nimport {\n CameraButtonStrings,\n EndCallButtonStrings,\n ErrorBarStrings,\n MessageStatusIndicatorStrings,\n MessageThreadStrings,\n MicrophoneButtonStrings,\n DevicesButtonStrings,\n ParticipantsButtonStrings,\n ParticipantItemStrings,\n ScreenShareButtonStrings,\n SendBoxStrings,\n TypingIndicatorStrings,\n VideoGalleryStrings,\n CaptionsSettingsModalStrings,\n CaptionsBannerStrings,\n StartCaptionsButtonStrings\n} from '../components';\nimport { NotificationStackStrings } from '../components';\nimport { RaiseHandButtonStrings } from '../components';\nimport { HoldButtonStrings } from '../components';\nimport { DialpadStrings } from '../components';\n/* @conditional-compile-remove(call-readiness) */\nimport { SitePermissionsStrings } from '../components/DevicePermissions/SitePermissionsScaffolding';\n/* @conditional-compile-remove(call-readiness) */\nimport { BrowserPermissionDeniedStrings } from '../components/DevicePermissions/BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nimport { BrowserPermissionDeniedIOSStrings } from '../components/DevicePermissions/BrowserPermissionDeniedIOS';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedBrowserStrings } from '../components/UnsupportedBrowser';\nimport { VideoTileStrings } from '../components/VideoTile';\nimport { COMPONENT_LOCALE_EN_US } from './locales';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedBrowserVersionStrings } from '../components/UnsupportedBrowserVersion';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedOperatingSystemStrings } from '../components/UnsupportedOperatingSystem';\nimport { VerticalGalleryStrings } from '../components/VerticalGallery';\n/* @conditional-compile-remove(total-participant-count) */\nimport { ParticipantListStrings } from '../components/ParticipantList';\n/* @conditional-compile-remove(mention) */\nimport { MentionPopoverStrings } from '../components/MentionPopover';\nimport { ImageOverlayStrings } from '../components/ImageOverlay';\nimport { ReactionButtonStrings } from '../components';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBoxStrings } from '../components/RichTextEditor/RichTextSendBox';\nimport { MeetingConferencePhoneInfoModalStrings } from '../components/MeetingConferencePhoneInfo';\nimport { IncomingCallNotificationStrings } from '../components/IncomingCallNotification';\n/* @conditional-compile-remove(rtt) */\nimport { RealTimeTextModalStrings } from '../components/RealTimeTextModal';\n/* @conditional-compile-remove(rtt) */\nimport { RealTimeTextStrings } from '../components/RealTimeText';\nimport { CaptionLanguageStrings, SpokenLanguageStrings } from '../types';\n/* @conditional-compile-remove(rtt) */\nimport { StartRealTimeTextButtonStrings } from '../components/StartRealTimeTextButton';\n\n/**\n * Locale information for all components exported from this library.\n *\n * @public\n */\nexport interface ComponentLocale {\n /** Strings for components */\n strings: ComponentStrings;\n /* @conditional-compile-remove(date-time-customization) */\n /**\n * Optional function to provide customized date format.\n * @beta\n */\n onDisplayDateTimeString?: (messageDate: Date) => string;\n}\n\n/**\n * Strings used by all components exported from this library.\n *\n * @public\n */\nexport interface ComponentStrings {\n /** Strings for MessageThread */\n messageThread: MessageThreadStrings;\n /** Strings for ParticipantItem */\n participantItem: ParticipantItemStrings;\n /** Strings for CameraButton */\n cameraButton: CameraButtonStrings;\n /** Strings for MicrophoneButton */\n microphoneButton: MicrophoneButtonStrings;\n /** Strings for EndCallButton */\n endCallButton: EndCallButtonStrings;\n /** Strings for DevicesButton */\n devicesButton: DevicesButtonStrings;\n /** Strings for ParticipantsButton */\n participantsButton: ParticipantsButtonStrings;\n /** Strings for ScreenShareButton */\n screenShareButton: ScreenShareButtonStrings;\n /** Strings for RaiseHandButton */\n raiseHandButton: RaiseHandButtonStrings;\n /**\n * Strings for ReactionButton\n * */\n reactionButton: ReactionButtonStrings;\n /** Strings for TypingIndicator */\n typingIndicator: TypingIndicatorStrings;\n /** Strings for SendBox */\n sendBox: SendBoxStrings;\n /* @conditional-compile-remove(rich-text-editor) */\n /** Strings for RichTextSendBox */\n richTextSendBox: RichTextSendBoxStrings;\n /* @conditional-compile-remove(mention) */\n /** Strings for MentionPopover */\n mentionPopover: MentionPopoverStrings;\n /** Strings for ImageOverlay */\n imageOverlay: ImageOverlayStrings;\n /** Strings for MessageStatusIndicator */\n messageStatusIndicator: MessageStatusIndicatorStrings;\n /** Strings for ErrorBar */\n errorBar: ErrorBarStrings;\n\n /** Strings for NotificationStack */\n notificationStack: NotificationStackStrings;\n /** Strings for VideoGallery */\n videoGallery: VideoGalleryStrings;\n /** Strings for Dialpad */\n dialpad: DialpadStrings;\n /** Strings for VideoTile */\n videoTile: VideoTileStrings;\n /** Strings for HoldButton */\n holdButton: HoldButtonStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n CameraSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n MicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n CameraSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n MicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n CameraSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n MicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser UI */\n UnsupportedBrowser: UnsupportedBrowserStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser version UI */\n UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser version UI */\n UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for BrowserPemissionDenied */\n BrowserPermissionDenied: BrowserPermissionDeniedStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for BrowserPemissionDeniedIOS */\n BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;\n /**\n * Strings for the VerticalGallery.\n */\n verticalGallery: VerticalGalleryStrings;\n /* @conditional-compile-remove(total-participant-count) */\n /** Strings for the participant list component */\n ParticipantList: ParticipantListStrings;\n /** Strings for the MeetingConferencePhoneInfoModal */\n meetingConferencePhoneInfo: MeetingConferencePhoneInfoModalStrings;\n IncomingCallNotification: IncomingCallNotificationStrings;\n /* @conditional-compile-remove(rtt) */\n /** Strings for the RealTimeTextModal */\n realTimeTextModal: RealTimeTextModalStrings;\n /* @conditional-compile-remove(rtt) */\n /** Strings for RealTimeText */\n realTimeText: RealTimeTextStrings;\n /** Strings for Captions Setting Modal */\n captionsSettingsModal: CaptionsSettingsModalStrings;\n /**\n * 1 to 1 mapping between language code and language string for spoken languages\n */\n spokenLanguages: SpokenLanguageStrings;\n /**\n * 1 to 1 mapping between language code and language string for caption languages\n */\n captionLanguages: CaptionLanguageStrings;\n /** Strings for CaptionsBanner */\n captionsBanner: CaptionsBannerStrings;\n /** Strings for Start Captions Button */\n startCaptionsButton: StartCaptionsButtonStrings;\n /* @conditional-compile-remove(rtt) */\n /** Strings for Start RealTimeText Button */\n startRealTimeTextButton: StartRealTimeTextButtonStrings;\n}\n\n/**\n * Context for providing localized strings to components exported from this library.\n *\n * @public\n */\nexport const LocaleContext = createContext<ComponentLocale>(COMPONENT_LOCALE_EN_US);\n\n/**\n * Props for {@link LocalizationProvider}.\n *\n * @public\n */\nexport type LocalizationProviderProps = {\n /** Locale context to provide components */\n locale: ComponentLocale;\n /** Children to provide locale context. */\n children: React.ReactNode;\n};\n\n/**\n * Provider to provide localized strings for this library's react components.\n *\n * @remarks Components will be provided localized strings in English (US) by default if this\n * provider is not used.\n *\n * @public\n */\nexport const LocalizationProvider = (props: LocalizationProviderProps): JSX.Element => {\n const { locale, children } = props;\n return <LocaleContext.Provider value={locale}>{children}</LocaleContext.Provider>;\n};\n\n/** React hook to access locale */\nexport const useLocale = (): ComponentLocale => useContext(LocaleContext);\n"]}