@azure/communication-react 1.18.0-beta.1 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (643) hide show
  1. package/dist/communication-react.d.ts +508 -1758
  2. package/dist/dist-cjs/communication-react/index.js +34347 -159
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/common.js +10 -2
  5. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +4 -5
  9. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +6 -11
  10. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -12
  12. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +1 -13
  13. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  14. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -5
  15. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  16. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +0 -8
  17. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -14
  18. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  19. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -15
  20. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +1 -27
  22. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +3 -3
  24. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +11 -11
  25. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -2
  27. package/dist/dist-esm/calling-component-bindings/src/index.js +2 -2
  28. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  29. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.d.ts +23 -0
  30. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js +201 -0
  31. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js.map +1 -0
  32. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +0 -1
  33. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +2 -8
  34. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +0 -7
  36. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +0 -12
  37. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +0 -3
  39. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  40. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +0 -3
  41. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  42. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +1 -5
  43. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  44. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
  45. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  46. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
  47. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  48. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +23 -58
  49. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  50. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -12
  51. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +16 -69
  52. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  53. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -68
  54. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  55. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -3
  56. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +16 -28
  57. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  58. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +0 -17
  59. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +3 -61
  60. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  61. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +0 -5
  62. package/dist/dist-esm/calling-stateful-client/src/Converter.js +6 -17
  63. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  64. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +0 -1
  65. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +0 -11
  66. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  67. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +9 -19
  68. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -20
  69. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +3 -4
  71. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +2 -0
  72. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -18
  74. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
  76. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  77. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +2 -3
  78. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  79. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -1
  80. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  81. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +2 -3
  82. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +2 -12
  83. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  84. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -2
  85. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +0 -5
  86. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  87. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +36 -37
  88. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  89. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
  90. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  91. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
  92. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  93. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +1 -3
  94. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  95. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +3 -0
  96. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  97. package/dist/dist-esm/communication-react/src/index.d.ts +4 -28
  98. package/dist/dist-esm/communication-react/src/index.js +2 -14
  99. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  100. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js +1 -1
  101. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  102. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +5 -4
  103. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
  104. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.d.ts +1 -0
  105. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js +3 -3
  106. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js.map +1 -1
  107. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.d.ts +0 -2
  108. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +1 -14
  109. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
  110. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.d.ts +4 -0
  111. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js +16 -19
  112. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js.map +1 -1
  113. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -7
  114. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +2 -10
  115. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  116. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -11
  117. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -35
  118. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  119. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +1 -8
  120. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +5 -13
  121. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
  122. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.d.ts +1 -2
  123. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +7 -15
  124. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
  125. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.d.ts +1 -4
  126. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +6 -40
  127. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
  128. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +1 -16
  129. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +0 -22
  130. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
  131. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +2 -21
  132. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +6 -21
  133. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
  134. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +1 -8
  135. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +6 -14
  136. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
  137. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +6 -19
  138. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
  139. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +2 -2
  140. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  141. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
  142. package/dist/dist-esm/react-components/src/components/ErrorBar.js +3 -3
  143. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  144. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +3 -7
  145. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
  146. package/dist/dist-esm/react-components/src/components/InputBoxButton.d.ts +1 -0
  147. package/dist/dist-esm/react-components/src/components/InputBoxButton.js +2 -2
  148. package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
  149. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
  150. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -18
  151. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  152. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.d.ts +80 -0
  153. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js +115 -0
  154. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js.map +1 -0
  155. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +1 -1
  156. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -1
  157. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +5 -50
  158. package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -30
  159. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  160. package/dist/dist-esm/react-components/src/components/{NotificationBar.d.ts → Notification.d.ts} +13 -13
  161. package/dist/dist-esm/react-components/src/components/{NotificationBar.js → Notification.js} +7 -7
  162. package/dist/dist-esm/react-components/src/components/Notification.js.map +1 -0
  163. package/dist/dist-esm/react-components/src/components/{Notifications.d.ts → NotificationStack.d.ts} +109 -73
  164. package/dist/dist-esm/react-components/src/components/NotificationStack.js +57 -0
  165. package/dist/dist-esm/react-components/src/components/NotificationStack.js.map +1 -0
  166. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -13
  167. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +0 -3
  168. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  169. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
  170. package/dist/dist-esm/react-components/src/components/ParticipantList.js +4 -21
  171. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  172. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +1 -3
  173. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  174. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +5 -1
  175. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  176. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +5 -1
  177. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  178. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +1 -47
  179. package/dist/dist-esm/react-components/src/components/SendBox.js +8 -90
  180. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  181. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +1 -1
  182. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  183. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -2
  184. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  185. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
  186. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  187. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
  188. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  189. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
  190. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  191. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -15
  192. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  193. package/dist/dist-esm/react-components/src/components/VideoGallery.js +1 -2
  194. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  195. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +0 -8
  196. package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -7
  197. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  198. package/dist/dist-esm/react-components/src/components/index.d.ts +4 -20
  199. package/dist/dist-esm/react-components/src/components/index.js +8 -15
  200. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
  202. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +10 -0
  203. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
  204. package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.d.ts +5 -1
  205. package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js +8 -0
  206. package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +4 -0
  208. package/dist/dist-esm/react-components/src/components/styles/Common.style.js +4 -0
  209. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  210. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +5 -3
  211. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +40 -20
  212. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  213. package/dist/dist-esm/react-components/src/components/styles/{NotificationBar.styles.d.ts → Notification.styles.d.ts} +1 -1
  214. package/dist/dist-esm/react-components/src/components/styles/{NotificationBar.styles.js → Notification.styles.js} +1 -1
  215. package/dist/dist-esm/react-components/src/components/styles/Notification.styles.js.map +1 -0
  216. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +4 -1
  217. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +11 -3
  218. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  219. package/dist/dist-esm/react-components/src/components/styles/TeamsMeetingConferenceInfo.d.ts +42 -0
  220. package/dist/dist-esm/react-components/src/components/styles/TeamsMeetingConferenceInfo.js +93 -0
  221. package/dist/dist-esm/react-components/src/components/styles/TeamsMeetingConferenceInfo.js.map +1 -0
  222. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +1 -37
  223. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +3 -34
  224. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
  225. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +2 -4
  226. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +2 -14
  227. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
  228. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +1 -11
  229. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +2 -18
  230. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
  232. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.d.ts +2 -2
  234. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js +6 -2
  235. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  236. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
  237. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  238. package/dist/dist-esm/react-components/src/components/utils/responsive.js +12 -2
  239. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  240. package/dist/dist-esm/react-components/src/components/utils.d.ts +32 -1
  241. package/dist/dist-esm/react-components/src/components/utils.js +101 -1
  242. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  243. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -4
  244. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -5
  245. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  246. package/dist/dist-esm/react-components/src/index.d.ts +0 -1
  247. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  248. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +7 -58
  249. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +102 -64
  251. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +100 -62
  252. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +100 -62
  253. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +100 -62
  254. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +98 -60
  255. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +100 -62
  256. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +100 -62
  257. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +103 -65
  258. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +100 -62
  259. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +100 -62
  260. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +102 -64
  261. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +107 -69
  262. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +100 -62
  263. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +106 -68
  264. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +105 -67
  265. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +103 -65
  266. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +101 -63
  267. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +100 -62
  268. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +101 -63
  269. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +102 -64
  270. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +101 -63
  271. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.d.ts +1 -0
  272. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +4 -4
  273. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  274. package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -28
  275. package/dist/dist-esm/react-components/src/theming/icons.js +7 -136
  276. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  277. package/dist/dist-esm/react-components/src/theming/themes.d.ts +0 -6
  278. package/dist/dist-esm/react-components/src/theming/themes.js +11 -20
  279. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -1
  281. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/types/Attachment.d.ts +0 -9
  283. package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -20
  285. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
  287. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  288. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -6
  289. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
  290. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  291. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -72
  292. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +86 -37
  293. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  294. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +4 -108
  295. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  296. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +12 -64
  297. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +15 -150
  298. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  299. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +3 -51
  300. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
  301. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  302. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.d.ts +2 -0
  303. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +20 -0
  304. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
  305. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +2 -2
  306. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  307. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -2
  308. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  309. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +6 -2
  310. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +83 -32
  311. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  312. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +0 -1
  313. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +2 -38
  314. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  315. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +0 -2
  316. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -27
  317. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  318. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -20
  319. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  320. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +0 -2
  321. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -27
  322. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  323. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -1
  324. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +5 -19
  325. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  326. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts +1 -0
  327. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +65 -1
  328. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  329. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.d.ts +13 -0
  330. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js +49 -0
  331. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js.map +1 -0
  332. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +2 -1
  333. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  334. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
  335. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +1 -1
  336. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  337. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +2 -6
  338. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  339. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +7 -30
  340. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  341. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -3
  342. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  343. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +5 -2
  344. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +12 -4
  345. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  346. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
  347. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +7 -80
  348. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  349. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +5 -2
  350. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +6 -3
  351. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  352. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +6 -3
  353. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
  354. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -8
  355. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +5 -11
  356. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  357. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  358. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +0 -4
  359. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  360. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +4 -0
  361. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +11 -0
  362. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  363. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  364. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  365. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.d.ts +6 -2
  366. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  367. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.d.ts +8 -7
  368. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +20 -20
  369. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  370. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +49 -14
  371. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +104 -98
  372. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  373. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -61
  374. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +6 -27
  375. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  376. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -32
  377. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  378. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -15
  379. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +5 -49
  380. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  381. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -38
  382. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  383. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -9
  384. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -32
  385. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  386. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +4 -5
  387. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -2
  388. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  389. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -13
  390. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +0 -4
  391. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  392. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
  393. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -6
  394. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  395. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -2
  396. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +10 -131
  397. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  398. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -4
  399. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  400. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +2 -3
  401. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +0 -27
  402. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  403. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -3
  404. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  405. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +2 -13
  406. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  407. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -2
  408. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  409. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
  410. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -15
  411. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  412. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
  413. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
  414. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  415. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +2 -1
  416. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +25 -19
  417. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  418. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.d.ts +1 -1
  419. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  420. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +2 -0
  421. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +29 -26
  422. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  423. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +1 -0
  424. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +26 -23
  425. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  426. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +1 -1
  427. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  428. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.d.ts +10 -0
  429. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js +63 -0
  430. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js.map +1 -0
  431. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +9 -7
  432. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  433. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -14
  434. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  435. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.d.ts +1 -4
  436. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js +0 -1
  437. package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js.map +1 -1
  438. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -39
  439. package/dist/dist-esm/react-composites/src/composites/common/icons.js +10 -12
  440. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  441. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.d.ts +1 -1
  442. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +2 -2
  443. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  444. package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.d.ts +50 -0
  445. package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.js +110 -0
  446. package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.js.map +1 -0
  447. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +10 -17
  448. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  449. package/dist/dist-esm/react-composites/src/composites/common/utils.js +6 -6
  450. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  451. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +10 -5
  452. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -1
  453. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +6 -1
  454. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +6 -1
  455. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +6 -1
  456. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +6 -1
  457. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +10 -5
  458. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +10 -5
  459. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +10 -5
  460. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +10 -5
  461. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +6 -1
  462. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +10 -5
  463. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +6 -1
  464. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +6 -1
  465. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +6 -1
  466. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +10 -5
  467. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +6 -1
  468. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +10 -5
  469. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +6 -1
  470. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +10 -5
  471. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +10 -5
  472. package/dist/tsdoc-metadata.json +1 -1
  473. package/package.json +15 -16
  474. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-BWStTUhO.js +0 -136
  475. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-BWStTUhO.js.map +0 -1
  476. package/dist/dist-cjs/communication-react/index-Di3ptk8o.js +0 -39650
  477. package/dist/dist-cjs/communication-react/index-Di3ptk8o.js.map +0 -1
  478. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.d.ts +0 -17
  479. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +0 -36
  480. package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +0 -1
  481. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +0 -10
  482. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +0 -15
  483. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +0 -1
  484. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts +0 -17
  485. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +0 -125
  486. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +0 -1
  487. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +0 -69
  488. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +0 -43
  489. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +0 -1
  490. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +0 -75
  491. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +0 -75
  492. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +0 -1
  493. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +0 -105
  494. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +0 -68
  495. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +0 -1
  496. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +0 -86
  497. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +0 -39
  498. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
  499. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +0 -49
  500. package/dist/dist-esm/react-components/src/components/HoldButton.js +0 -25
  501. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +0 -1
  502. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +0 -121
  503. package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -123
  504. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
  505. package/dist/dist-esm/react-components/src/components/NotificationBar.js.map +0 -1
  506. package/dist/dist-esm/react-components/src/components/Notifications.js +0 -46
  507. package/dist/dist-esm/react-components/src/components/Notifications.js.map +0 -1
  508. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.d.ts +0 -9
  509. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js +0 -29
  510. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js.map +0 -1
  511. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.d.ts +0 -22
  512. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +0 -89
  513. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +0 -1
  514. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.d.ts +0 -12
  515. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js +0 -23
  516. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js.map +0 -1
  517. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.d.ts +0 -15
  518. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js +0 -39
  519. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js.map +0 -1
  520. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.d.ts +0 -24
  521. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js +0 -64
  522. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js.map +0 -1
  523. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.d.ts +0 -20
  524. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js +0 -46
  525. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js.map +0 -1
  526. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.d.ts +0 -29
  527. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js +0 -73
  528. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js.map +0 -1
  529. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.d.ts +0 -54
  530. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +0 -226
  531. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +0 -1
  532. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +0 -33
  533. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +0 -82
  534. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +0 -1
  535. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +0 -149
  536. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +0 -182
  537. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +0 -1
  538. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.d.ts +0 -16
  539. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +0 -73
  540. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +0 -1
  541. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.d.ts +0 -19
  542. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js +0 -191
  543. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js.map +0 -1
  544. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.d.ts +0 -7
  545. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js +0 -51
  546. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js.map +0 -1
  547. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.d.ts +0 -15
  548. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js +0 -64
  549. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js.map +0 -1
  550. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.d.ts +0 -6
  551. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js +0 -13
  552. package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js.map +0 -1
  553. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +0 -34
  554. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +0 -39
  555. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +0 -1
  556. package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +0 -14
  557. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +0 -18
  558. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +0 -1
  559. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -24
  560. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -550
  561. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
  562. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
  563. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
  564. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
  565. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
  566. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
  567. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
  568. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
  569. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -69
  570. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
  571. package/dist/dist-esm/react-components/src/components/styles/NotificationBar.styles.js.map +0 -1
  572. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +0 -82
  573. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +0 -305
  574. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +0 -1
  575. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +0 -21
  576. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +0 -38
  577. package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +0 -1
  578. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
  579. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -92
  580. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
  581. package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +0 -5
  582. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +0 -32
  583. package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +0 -1
  584. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
  585. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
  586. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
  587. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.d.ts +0 -37
  588. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js +0 -60
  589. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js.map +0 -1
  590. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.d.ts +0 -33
  591. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js +0 -116
  592. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js.map +0 -1
  593. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
  594. package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
  595. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
  596. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
  597. package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
  598. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
  599. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -48
  600. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
  601. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
  602. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
  603. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
  604. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
  605. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
  606. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
  607. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
  608. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -24
  609. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
  610. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
  611. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
  612. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
  613. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
  614. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
  615. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
  616. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
  617. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.d.ts +0 -15
  618. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js +0 -23
  619. package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +0 -1
  620. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
  621. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
  622. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
  623. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.d.ts +0 -80
  624. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js +0 -39
  625. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +0 -1
  626. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.d.ts +0 -38
  627. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +0 -76
  628. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +0 -1
  629. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +0 -5
  630. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js +0 -5
  631. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +0 -1
  632. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -25
  633. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -113
  634. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
  635. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
  636. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
  637. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
  638. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
  639. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
  640. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
  641. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
  642. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
  643. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
@@ -1,17 +0,0 @@
1
- import { LocalRecordingCallFeature } from '@azure/communication-calling';
2
- import { CallContext } from './CallContext';
3
- import { CallIdRef } from './CallIdRef';
4
- /**
5
- * @private
6
- */
7
- export declare class LocalRecordingSubscriber {
8
- private _callIdRef;
9
- private _context;
10
- private _recording;
11
- constructor(callIdRef: CallIdRef, context: CallContext, recording: LocalRecordingCallFeature);
12
- private subscribe;
13
- unsubscribe: () => void;
14
- private isAvailableChanged;
15
- private isRecordingsUpdated;
16
- }
17
- //# sourceMappingURL=LocalRecordingSubscriber.d.ts.map
@@ -1,36 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- /* @conditional-compile-remove(local-recording-notification) */
4
- /**
5
- * @private
6
- */
7
- export class LocalRecordingSubscriber {
8
- constructor(callIdRef, context, recording) {
9
- this.subscribe = () => {
10
- this._recording.on('isLocalRecordingActiveChanged', this.isAvailableChanged);
11
- this._recording.on('localRecordingsUpdated', this.isRecordingsUpdated);
12
- };
13
- this.unsubscribe = () => {
14
- this._recording.off('isLocalRecordingActiveChanged', this.isAvailableChanged);
15
- this._recording.off('localRecordingsUpdated', this.isRecordingsUpdated);
16
- };
17
- this.isAvailableChanged = () => {
18
- this._context.setCallLocalRecordingActive(this._callIdRef.callId, this._recording.isRecordingActive);
19
- };
20
- this.isRecordingsUpdated = (data) => {
21
- this._context.setCallLocalRecordingInfos(this._callIdRef.callId, this._recording.recordings, data.removed);
22
- };
23
- this._callIdRef = callIdRef;
24
- this._context = context;
25
- this._recording = recording;
26
- // If recording as already started when we joined the call, make sure it is reflected in state as there may not
27
- // be an event for it.
28
- if (this._recording.isRecordingActive) {
29
- this._context.setCallLocalRecordingActive(this._callIdRef.callId, this._recording.isRecordingActive);
30
- // recordings getter only returns a list of active recordings, so we can set the list of recordings here
31
- this._context.setCallLocalRecordingInfos(this._callIdRef.callId, this._recording.recordings, []);
32
- }
33
- this.subscribe();
34
- }
35
- }
36
- //# sourceMappingURL=LocalRecordingSubscriber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocalRecordingSubscriber.js","sourceRoot":"","sources":["../../../../preprocess-dist/calling-stateful-client/src/LocalRecordingSubscriber.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,+DAA+D;AAC/D;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAInC,YAAY,SAAoB,EAAE,OAAoB,EAAE,SAAoC;QAcpF,cAAS,GAAG,GAAS,EAAE;YAC7B,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,+BAA+B,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;YAC7E,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,wBAAwB,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACzE,CAAC,CAAC;QACK,gBAAW,GAAG,GAAS,EAAE;YAC9B,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,+BAA+B,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;YAC9E,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,wBAAwB,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;QAC1E,CAAC,CAAC;QACM,uBAAkB,GAAG,GAAS,EAAE;YACtC,IAAI,CAAC,QAAQ,CAAC,2BAA2B,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;QACvG,CAAC,CAAC;QACM,wBAAmB,GAAG,CAAC,IAG9B,EAAQ,EAAE;YACT,IAAI,CAAC,QAAQ,CAAC,0BAA0B,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7G,CAAC,CAAC;QA7BA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QACxB,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAE5B,+GAA+G;QAC/G,sBAAsB;QACtB,IAAI,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAE,CAAC;YACtC,IAAI,CAAC,QAAQ,CAAC,2BAA2B,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;YACrG,wGAAwG;YACxG,IAAI,CAAC,QAAQ,CAAC,0BAA0B,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACnG,CAAC;QACD,IAAI,CAAC,SAAS,EAAE,CAAC;IACnB,CAAC;CAkBF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(local-recording-notification) */\nimport { LocalRecordingCallFeature, LocalRecordingInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(local-recording-notification) */\nimport { CallContext } from './CallContext';\n/* @conditional-compile-remove(local-recording-notification) */\nimport { CallIdRef } from './CallIdRef';\n\n/* @conditional-compile-remove(local-recording-notification) */\n/**\n * @private\n */\nexport class LocalRecordingSubscriber {\n private _callIdRef: CallIdRef;\n private _context: CallContext;\n private _recording: LocalRecordingCallFeature;\n constructor(callIdRef: CallIdRef, context: CallContext, recording: LocalRecordingCallFeature) {\n this._callIdRef = callIdRef;\n this._context = context;\n this._recording = recording;\n\n // If recording as already started when we joined the call, make sure it is reflected in state as there may not\n // be an event for it.\n if (this._recording.isRecordingActive) {\n this._context.setCallLocalRecordingActive(this._callIdRef.callId, this._recording.isRecordingActive);\n // recordings getter only returns a list of active recordings, so we can set the list of recordings here\n this._context.setCallLocalRecordingInfos(this._callIdRef.callId, this._recording.recordings, []);\n }\n this.subscribe();\n }\n private subscribe = (): void => {\n this._recording.on('isLocalRecordingActiveChanged', this.isAvailableChanged);\n this._recording.on('localRecordingsUpdated', this.isRecordingsUpdated);\n };\n public unsubscribe = (): void => {\n this._recording.off('isLocalRecordingActiveChanged', this.isAvailableChanged);\n this._recording.off('localRecordingsUpdated', this.isRecordingsUpdated);\n };\n private isAvailableChanged = (): void => {\n this._context.setCallLocalRecordingActive(this._callIdRef.callId, this._recording.isRecordingActive);\n };\n private isRecordingsUpdated = (data: {\n added: LocalRecordingInfo[];\n removed: LocalRecordingInfo[];\n }): void => {\n this._context.setCallLocalRecordingInfos(this._callIdRef.callId, this._recording.recordings, data.removed);\n };\n}"]}
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import { Mention } from '../MentionPopover';
3
- /**
4
- * Provides the default implementation for rendering an Mention in a message thread
5
- * @param mention - The mention to render
6
- *
7
- * @private
8
- */
9
- export declare const defaultOnMentionRender: (mention: Mention) => JSX.Element;
10
- //# sourceMappingURL=MentionRenderer.d.ts.map
@@ -1,15 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import React from 'react';
4
- /**
5
- * Provides the default implementation for rendering an Mention in a message thread
6
- * @param mention - The mention to render
7
- *
8
- * @private
9
- */
10
- export const defaultOnMentionRender = (mention) => {
11
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
12
- const MsftMention = 'msft-mention';
13
- return React.createElement(MsftMention, { id: mention.id, key: Math.random().toString() }, mention.displayText);
14
- };
15
- //# sourceMappingURL=MentionRenderer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MentionRenderer.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/ChatMessage/MentionRenderer.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,OAAgB,EAAe,EAAE;IACtE,8DAA8D;IAC9D,MAAM,WAAW,GAAI,cAAsB,CAAC;IAC5C,OAAO,oBAAC,WAAW,IAAC,EAAE,EAAE,OAAO,CAAC,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,IAC5D,OAAO,CAAC,WAAW,CACR,CAAC;AACnB,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport React from 'react';\nimport { Mention } from '../MentionPopover';\n\n/**\n * Provides the default implementation for rendering an Mention in a message thread\n * @param mention - The mention to render\n *\n * @private\n */\nexport const defaultOnMentionRender = (mention: Mention): JSX.Element => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const MsftMention = ('msft-mention' as any);\n return <MsftMention id={mention.id} key={Math.random().toString()}>\n {mention.displayText}\n </MsftMention>;\n};"]}
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { MessageThreadStrings } from '../../MessageThread';
3
- import { ChatMessage } from '../../../types';
4
- import { AttachmentMetadata } from "../../../../../acs-ui-common/src";
5
- /** @private */
6
- export type ChatMessageComponentAsRichTextEditBoxProps = {
7
- onCancel?: (messageId: string) => void;
8
- onSubmit: (text: string, /* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata?: AttachmentMetadata[]) => void;
9
- message: ChatMessage;
10
- strings: MessageThreadStrings;
11
- };
12
- /**
13
- * @private
14
- */
15
- export declare const ChatMessageComponentAsRichTextEditBox: (props: ChatMessageComponentAsRichTextEditBoxProps) => JSX.Element;
16
- export default ChatMessageComponentAsRichTextEditBox;
17
- //# sourceMappingURL=ChatMessageComponentAsRichTextEditBox.d.ts.map
@@ -1,125 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import { mergeStyles, Stack } from '@fluentui/react';
4
- import { ChatMyMessage } from '@fluentui-contrib/react-chat';
5
- import { mergeClasses } from '@fluentui/react-components';
6
- import { _formatString } from "../../../../../acs-ui-common/src";
7
- import { useTheme } from '../../../theming';
8
- import React, { useCallback, useEffect, useMemo, useState } from 'react';
9
- /* @conditional-compile-remove(file-sharing-acs) */
10
- import { useReducer } from 'react';
11
- import { editBoxWidthStyles, richTextEditBoxActionButtonIcon } from '../../styles/EditBox.styles';
12
- import { InputBoxButton } from '../../InputBoxButton';
13
- import { useChatMyMessageStyles } from '../../styles/MessageThread.styles';
14
- import { _AttachmentUploadCards } from '../../Attachment/AttachmentUploadCards';
15
- import { useChatMessageRichTextEditContainerStyles } from '../../styles/ChatMessageComponent.styles';
16
- import { MAXIMUM_LENGTH_OF_MESSAGE } from '../../utils/SendBoxUtils';
17
- import { getMessageState, onRenderCancelIcon, onRenderSubmitIcon } from '../../utils/ChatMessageComponentAsEditBoxUtils';
18
- /* @conditional-compile-remove(file-sharing-acs) */
19
- import { attachmentMetadataReducer, getMessageWithAttachmentMetadata, doesMessageContainMultipleAttachments } from '../../utils/ChatMessageComponentAsEditBoxUtils';
20
- import { RichTextInputBoxComponent } from '../../RichTextEditor/RichTextInputBoxComponent';
21
- import { editBoxRichTextEditorStyle, richTextActionButtonsStyle } from '../../styles/RichTextEditor.styles';
22
- import { RichTextSendBoxErrors } from '../../RichTextEditor/RichTextSendBoxErrors';
23
- import { useLocale } from '../../../localization';
24
- /* @conditional-compile-remove(file-sharing-acs) */
25
- import { FluentV9ThemeProvider } from '../../../theming/FluentV9ThemeProvider';
26
- /* @conditional-compile-remove(file-sharing-acs) */
27
- import { attachmentUploadCardsStyles } from '../../styles/SendBox.styles';
28
- /**
29
- * @private
30
- */
31
- export const ChatMessageComponentAsRichTextEditBox = (props) => {
32
- var _a;
33
- const { onCancel, onSubmit, strings, message } = props;
34
- const [textValue, setTextValue] = useState(message.content || '');
35
- /* @conditional-compile-remove(file-sharing-acs) */
36
- const [attachmentMetadata, handleAttachmentAction] = useReducer(attachmentMetadataReducer, (_a = getMessageWithAttachmentMetadata(message)) !== null && _a !== void 0 ? _a : []);
37
- const editTextFieldRef = React.useRef(null);
38
- const theme = useTheme();
39
- const messageState = useMemo(() => {
40
- return getMessageState(textValue, /* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata !== null && attachmentMetadata !== void 0 ? attachmentMetadata : []);
41
- }, [/* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata, textValue]);
42
- const submitEnabled = messageState === 'OK';
43
- const editContainerStyles = useChatMessageRichTextEditContainerStyles();
44
- const chatMyMessageStyles = useChatMyMessageStyles();
45
- const locale = useLocale().strings;
46
- const setText = useCallback((newValue) => {
47
- setTextValue(newValue !== null && newValue !== void 0 ? newValue : '');
48
- }, []);
49
- useEffect(() => {
50
- var _a;
51
- (_a = editTextFieldRef.current) === null || _a === void 0 ? void 0 : _a.focus();
52
- }, []);
53
- const textTooLongMessage = useMemo(() => {
54
- return messageState === 'too long' ? _formatString(strings.editBoxTextLimit, {
55
- limitNumber: `${MAXIMUM_LENGTH_OF_MESSAGE}`
56
- }) : undefined;
57
- }, [messageState, strings.editBoxTextLimit]);
58
- const iconClassName = useCallback((isHover) => {
59
- const color = isHover ? theme.palette.accent : theme.palette.neutralSecondary;
60
- return mergeStyles(richTextEditBoxActionButtonIcon, {
61
- color
62
- });
63
- }, [theme.palette.accent, theme.palette.neutralSecondary]);
64
- const onRenderThemedCancelIcon = useCallback((isHover) => {
65
- return onRenderCancelIcon(iconClassName(isHover));
66
- }, [iconClassName]);
67
- const onRenderThemedSubmitIcon = useCallback((isHover) => {
68
- return onRenderSubmitIcon(iconClassName(isHover));
69
- }, [iconClassName]);
70
- /* @conditional-compile-remove(file-sharing-acs) */
71
- const hasMultipleAttachments = useMemo(() => {
72
- return doesMessageContainMultipleAttachments(message);
73
- }, [message]);
74
- const actionButtons = useMemo(() => {
75
- return React.createElement(Stack, { horizontal: true },
76
- React.createElement(InputBoxButton, { className: richTextActionButtonsStyle, ariaLabel: strings.editBoxCancelButton, tooltipContent: strings.editBoxCancelButton, onRenderIcon: onRenderThemedCancelIcon, onClick: () => {
77
- onCancel && onCancel(message.messageId);
78
- }, id: 'dismissIconWrapper', "data-testId": strings.editBoxCancelButton }),
79
- React.createElement(InputBoxButton, { className: richTextActionButtonsStyle, ariaLabel: strings.editBoxSubmitButton, tooltipContent: strings.editBoxSubmitButton, onRenderIcon: onRenderThemedSubmitIcon, onClick: e => {
80
- // it's very important to pass an empty attachment here
81
- // so when user removes all attachments, UI can reflect it instantly
82
- // if you set it to undefined, the attachments pre-edited would still be there
83
- // until edit message event is received
84
- submitEnabled && onSubmit(textValue, /* @conditional-compile-remove(file-sharing-acs) */ attachmentMetadata);
85
- e.stopPropagation();
86
- }, id: 'submitIconWrapper', "data-testId": strings.editBoxSubmitButton }));
87
- }, [
88
- attachmentMetadata, message.messageId, onCancel, onRenderThemedCancelIcon, onRenderThemedSubmitIcon, onSubmit, strings.editBoxCancelButton, strings.editBoxSubmitButton, submitEnabled, textValue
89
- ]);
90
- const richTextLocaleStrings = useMemo(() => {
91
- /* @conditional-compile-remove(rich-text-editor) */
92
- return Object.assign(Object.assign({}, locale.richTextSendBox), strings);
93
- return locale.sendBox;
94
- }, [/* @conditional-compile-remove(rich-text-editor) */ locale.richTextSendBox, /* @conditional-compile-remove(rich-text-editor) */ strings, locale.sendBox]);
95
- /* @conditional-compile-remove(file-sharing-acs) */
96
- const onCancelAttachmentUpload = useCallback((attachmentId) => {
97
- // edit box only capable of removing attachments
98
- // we need to expand attachment actions
99
- // if we want to support more actions e.g. add
100
- handleAttachmentAction({
101
- type: 'remove',
102
- id: attachmentId
103
- });
104
- }, []);
105
- /* @conditional-compile-remove(file-sharing-acs) */
106
- const onRenderAttachmentUploads = useCallback(() => {
107
- return React.createElement(Stack, { className: attachmentUploadCardsStyles },
108
- React.createElement(FluentV9ThemeProvider, { v8Theme: theme },
109
- React.createElement(_AttachmentUploadCards, { attachments: attachmentMetadata, onCancelAttachmentUpload: onCancelAttachmentUpload })));
110
- }, [attachmentMetadata, onCancelAttachmentUpload, theme]);
111
- const getContent = () => {
112
- return React.createElement(Stack, { className: mergeStyles(editBoxWidthStyles) },
113
- React.createElement(RichTextSendBoxErrors, { textTooLongMessage: textTooLongMessage, systemMessage: message.failureReason }),
114
- React.createElement(RichTextInputBoxComponent, { placeholderText: strings.editBoxPlaceholderText, onChange: setText, editorComponentRef: editTextFieldRef, initialContent: message.content, strings: richTextLocaleStrings, disabled: false, actionComponents: actionButtons, richTextEditorStyleProps: editBoxRichTextEditorStyle, isHorizontalLayoutDisabled: true,
115
- /* @conditional-compile-remove(file-sharing-acs) */ onRenderAttachmentUploads: onRenderAttachmentUploads }));
116
- };
117
- const attached = message.attached === true ? 'center' : message.attached === 'bottom' ? 'bottom' : 'top';
118
- return React.createElement(ChatMyMessage, { attached: attached, root: {
119
- className: mergeClasses(chatMyMessageStyles.root, /* @conditional-compile-remove(file-sharing-acs) */ hasMultipleAttachments ? chatMyMessageStyles.multipleAttachments : undefined)
120
- }, body: {
121
- className: mergeClasses(editContainerStyles.body, attached !== 'top' ? editContainerStyles.bodyAttached : undefined)
122
- } }, getContent());
123
- };
124
- export default ChatMessageComponentAsRichTextEditBox;
125
- //# sourceMappingURL=ChatMessageComponentAsRichTextEditBox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChatMessageComponentAsRichTextEditBox.js","sourceRoot":"","sources":["../../../../../../../preprocess-dist/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.tsx"],"names":[],"mappings":"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AI;gBAChV,mDAAmD,CAAC,yBAAyB,EAAE,yBAAyB,GAAI,CACpG,CAAC;IACb,CAAC,CAAC;IACF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC;IACzG,OAAO,oBAAC,aAAa,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9C,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC,IAAI,EAAE,mDAAmD,CACrG,sBAAsB,CAAC,CAAC,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;SAC9E,EAAE,IAAI,EAAE;YACP,SAAS,EAAE,YAAY,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACrH,IACI,UAAU,EAAE,CACC,CAAC;AACrB,CAAC,CAAC;AACF,eAAe,qCAAqC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { mergeStyles, Stack } from '@fluentui/react';\nimport { ChatMyMessage } from '@fluentui-contrib/react-chat';\nimport { mergeClasses } from '@fluentui/react-components';\nimport { _formatString } from '@internal/acs-ui-common';\nimport { useTheme } from '../../../theming';\nimport React, { useCallback, useEffect, useMemo, useState } from 'react';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { useReducer } from 'react';\nimport { editBoxWidthStyles, richTextEditBoxActionButtonIcon } from '../../styles/EditBox.styles';\nimport { InputBoxButton } from '../../InputBoxButton';\nimport { MessageThreadStrings } from '../../MessageThread';\nimport { useChatMyMessageStyles } from '../../styles/MessageThread.styles';\nimport { ChatMessage } from '../../../types';\nimport { _AttachmentUploadCards } from '../../Attachment/AttachmentUploadCards';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { AttachmentMetadata } from '@internal/acs-ui-common';\nimport { useChatMessageRichTextEditContainerStyles } from '../../styles/ChatMessageComponent.styles';\nimport { MAXIMUM_LENGTH_OF_MESSAGE } from '../../utils/SendBoxUtils';\nimport { getMessageState, onRenderCancelIcon, onRenderSubmitIcon } from '../../utils/ChatMessageComponentAsEditBoxUtils';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { attachmentMetadataReducer, getMessageWithAttachmentMetadata, doesMessageContainMultipleAttachments } from '../../utils/ChatMessageComponentAsEditBoxUtils';\nimport { RichTextEditorComponentRef } from '../../RichTextEditor/RichTextEditor';\nimport { RichTextInputBoxComponent } from '../../RichTextEditor/RichTextInputBoxComponent';\nimport { editBoxRichTextEditorStyle, richTextActionButtonsStyle } from '../../styles/RichTextEditor.styles';\nimport { RichTextSendBoxErrors } from '../../RichTextEditor/RichTextSendBoxErrors';\nimport { useLocale } from '../../../localization';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { FluentV9ThemeProvider } from '../../../theming/FluentV9ThemeProvider';\n/* @conditional-compile-remove(file-sharing-acs) */\nimport { attachmentUploadCardsStyles } from '../../styles/SendBox.styles';\n\n/** @private */\nexport type ChatMessageComponentAsRichTextEditBoxProps = {\n onCancel?: (messageId: string) => void;\n onSubmit: (text: string, /* @conditional-compile-remove(file-sharing-acs) */\n attachmentMetadata?: AttachmentMetadata[]) => void;\n message: ChatMessage;\n strings: MessageThreadStrings;\n};\n\n/**\n * @private\n */\nexport const ChatMessageComponentAsRichTextEditBox = (props: ChatMessageComponentAsRichTextEditBoxProps): JSX.Element => {\n const {\n onCancel,\n onSubmit,\n strings,\n message\n } = props;\n const [textValue, setTextValue] = useState<string>(message.content || '');\n /* @conditional-compile-remove(file-sharing-acs) */\n const [attachmentMetadata, handleAttachmentAction] = useReducer(attachmentMetadataReducer, getMessageWithAttachmentMetadata(message) ?? []);\n const editTextFieldRef = React.useRef<RichTextEditorComponentRef>(null);\n const theme = useTheme();\n const messageState = useMemo(() => {\n return getMessageState(textValue, /* @conditional-compile-remove(file-sharing-acs) */attachmentMetadata ?? []);\n }, [/* @conditional-compile-remove(file-sharing-acs) */attachmentMetadata, textValue]);\n const submitEnabled = messageState === 'OK';\n const editContainerStyles = useChatMessageRichTextEditContainerStyles();\n const chatMyMessageStyles = useChatMyMessageStyles();\n const locale = useLocale().strings;\n const setText = useCallback((newValue?: string): void => {\n setTextValue(newValue ?? '');\n }, []);\n useEffect(() => {\n editTextFieldRef.current?.focus();\n }, []);\n const textTooLongMessage = useMemo(() => {\n return messageState === 'too long' ? _formatString(strings.editBoxTextLimit, {\n limitNumber: `${MAXIMUM_LENGTH_OF_MESSAGE}`\n }) : undefined;\n }, [messageState, strings.editBoxTextLimit]);\n const iconClassName = useCallback((isHover: boolean) => {\n const color = isHover ? theme.palette.accent : theme.palette.neutralSecondary;\n return mergeStyles(richTextEditBoxActionButtonIcon, {\n color\n });\n }, [theme.palette.accent, theme.palette.neutralSecondary]);\n const onRenderThemedCancelIcon = useCallback((isHover: boolean) => {\n return onRenderCancelIcon(iconClassName(isHover));\n }, [iconClassName]);\n const onRenderThemedSubmitIcon = useCallback((isHover: boolean) => {\n return onRenderSubmitIcon(iconClassName(isHover));\n }, [iconClassName]);\n\n /* @conditional-compile-remove(file-sharing-acs) */\n const hasMultipleAttachments = useMemo(() => {\n return doesMessageContainMultipleAttachments(message);\n }, [message]);\n const actionButtons = useMemo(() => {\n return <Stack horizontal>\n <InputBoxButton className={richTextActionButtonsStyle} ariaLabel={strings.editBoxCancelButton} tooltipContent={strings.editBoxCancelButton} onRenderIcon={onRenderThemedCancelIcon} onClick={() => {\n onCancel && onCancel(message.messageId);\n }} id={'dismissIconWrapper'} data-testId={strings.editBoxCancelButton} />\n <InputBoxButton className={richTextActionButtonsStyle} ariaLabel={strings.editBoxSubmitButton} tooltipContent={strings.editBoxSubmitButton} onRenderIcon={onRenderThemedSubmitIcon} onClick={e => {\n // it's very important to pass an empty attachment here\n // so when user removes all attachments, UI can reflect it instantly\n // if you set it to undefined, the attachments pre-edited would still be there\n // until edit message event is received\n submitEnabled && onSubmit(textValue, /* @conditional-compile-remove(file-sharing-acs) */attachmentMetadata);\n e.stopPropagation();\n }} id={'submitIconWrapper'} data-testId={strings.editBoxSubmitButton} />\n </Stack>;\n }, [/* @conditional-compile-remove(file-sharing-acs) */\n attachmentMetadata, message.messageId, onCancel, onRenderThemedCancelIcon, onRenderThemedSubmitIcon, onSubmit, strings.editBoxCancelButton, strings.editBoxSubmitButton, submitEnabled, textValue]);\n const richTextLocaleStrings = useMemo(() => {\n /* @conditional-compile-remove(rich-text-editor) */\n return {\n ...locale.richTextSendBox,\n ...strings\n };\n return locale.sendBox;\n }, [/* @conditional-compile-remove(rich-text-editor) */locale.richTextSendBox, /* @conditional-compile-remove(rich-text-editor) */strings, locale.sendBox]);\n\n /* @conditional-compile-remove(file-sharing-acs) */\n const onCancelAttachmentUpload = useCallback((attachmentId: string) => {\n // edit box only capable of removing attachments\n // we need to expand attachment actions\n // if we want to support more actions e.g. add\n handleAttachmentAction({\n type: 'remove',\n id: attachmentId\n });\n }, []);\n\n /* @conditional-compile-remove(file-sharing-acs) */\n const onRenderAttachmentUploads = useCallback(() => {\n return <Stack className={attachmentUploadCardsStyles}>\n <FluentV9ThemeProvider v8Theme={theme}>\n <_AttachmentUploadCards attachments={attachmentMetadata} onCancelAttachmentUpload={onCancelAttachmentUpload} />\n </FluentV9ThemeProvider>\n </Stack>;\n }, [attachmentMetadata, onCancelAttachmentUpload, theme]);\n const getContent = (): JSX.Element => {\n return <Stack className={mergeStyles(editBoxWidthStyles)}>\n <RichTextSendBoxErrors textTooLongMessage={textTooLongMessage} systemMessage={message.failureReason} />\n <RichTextInputBoxComponent placeholderText={strings.editBoxPlaceholderText} onChange={setText} editorComponentRef={editTextFieldRef} initialContent={message.content} strings={richTextLocaleStrings} disabled={false} actionComponents={actionButtons} richTextEditorStyleProps={editBoxRichTextEditorStyle} isHorizontalLayoutDisabled={true}\n /* @conditional-compile-remove(file-sharing-acs) */ onRenderAttachmentUploads={onRenderAttachmentUploads} />\n </Stack>;\n };\n const attached = message.attached === true ? 'center' : message.attached === 'bottom' ? 'bottom' : 'top';\n return <ChatMyMessage attached={attached} root={{\n className: mergeClasses(chatMyMessageStyles.root, /* @conditional-compile-remove(file-sharing-acs) */\n hasMultipleAttachments ? chatMyMessageStyles.multipleAttachments : undefined)\n }} body={{\n className: mergeClasses(editContainerStyles.body, attached !== 'top' ? editContainerStyles.bodyAttached : undefined)\n }}>\n {getContent()}\n </ChatMyMessage>;\n};\nexport default ChatMessageComponentAsRichTextEditBox;"]}
@@ -1,69 +0,0 @@
1
- /// <reference types="react" />
2
- import { IButtonStyles, ILinkStyles } from '@fluentui/react';
3
- import { BaseCustomStyles } from '../../types';
4
- /**
5
- * @beta
6
- * Props for BrowserPermissionDenied component.
7
- */
8
- export interface BrowserPermissionDeniedProps {
9
- /**
10
- * Action to be taken by the more help link. Possible to send to external page or show other modal.
11
- */
12
- onTroubleshootingClick?: () => void;
13
- /**
14
- * Action to be taken by the try again primary button.
15
- */
16
- onTryAgainClick?: () => void;
17
- /**
18
- * Localization strings for BrowserPermissionDenied component.
19
- */
20
- strings?: BrowserPermissionDeniedStrings;
21
- /**
22
- * Allows users to pass in an object contains custom CSS styles.
23
- * @Example
24
- * ```
25
- * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
26
- * ```
27
- */
28
- styles?: BrowserPermissionDeniedStyles;
29
- }
30
- /**
31
- * @beta
32
- * Strings for BrowserPermissionDenied component
33
- */
34
- export interface BrowserPermissionDeniedStrings {
35
- /**
36
- * Main button text string.
37
- */
38
- primaryButtonText: string;
39
- /**
40
- * Main text string.
41
- */
42
- primaryText: string;
43
- /**
44
- * Subtext string.
45
- */
46
- secondaryText: string;
47
- /**
48
- * More help link string.
49
- */
50
- linkText: string;
51
- }
52
- /**
53
- * Fluent styles for {@link BrowserPermissionDenied}.
54
- *
55
- * @beta
56
- */
57
- export interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
58
- /** Styles for the primary button. */
59
- primaryButton?: IButtonStyles;
60
- /** Styles for the help troubleshooting link text. */
61
- troubleshootingLink?: ILinkStyles;
62
- }
63
- /**
64
- * @beta
65
- *
66
- * Component to allow Contoso to help their end user with their devices should their browser experience device permission issues.
67
- */
68
- export declare const BrowserPermissionDenied: (props: BrowserPermissionDeniedProps) => JSX.Element;
69
- //# sourceMappingURL=BrowserPermissionDenied.d.ts.map
@@ -1,43 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import React from 'react';
4
- /* @conditional-compile-remove(call-readiness) */
5
- import { Stack, Text, Link, Icon, PrimaryButton, mergeStyleSets } from '@fluentui/react';
6
- /* @conditional-compile-remove(call-readiness) */
7
- import { useLocale } from '../../localization';
8
- /* @conditional-compile-remove(call-readiness) */
9
- import { iconContainerStyles, iconPrimaryStyles, linkTextStyles, primaryButtonStyles, primaryTextStyles, secondaryTextStyles, textContainerStyles } from './../styles/BrowserPermissionDenied.styles';
10
- /* @conditional-compile-remove(call-readiness) */
11
- import { isValidString } from '../utils';
12
- /* @conditional-compile-remove(call-readiness) */
13
- const BrowserPermissionDeniedContainer = (props) => {
14
- const { onTroubleshootingClick, onTryAgainClick, strings, styles } = props;
15
- return React.createElement(Stack, { style: {
16
- padding: '2rem',
17
- paddingTop: '2.5rem',
18
- maxWidth: '25.375rem'
19
- } },
20
- React.createElement(Stack, { horizontal: true, style: {
21
- paddingBottom: '1.5rem'
22
- }, horizontalAlign: 'space-between' },
23
- React.createElement(Stack, { styles: iconContainerStyles, horizontalAlign: 'center' },
24
- React.createElement(Icon, { styles: iconPrimaryStyles, iconName: 'BrowserPermissionDeniedError' }))),
25
- React.createElement(Stack, { styles: textContainerStyles },
26
- isValidString(strings === null || strings === void 0 ? void 0 : strings.primaryText) && React.createElement(Text, { styles: primaryTextStyles }, strings === null || strings === void 0 ? void 0 : strings.primaryText),
27
- isValidString(strings === null || strings === void 0 ? void 0 : strings.secondaryText) && React.createElement(Text, { styles: secondaryTextStyles }, strings === null || strings === void 0 ? void 0 : strings.secondaryText),
28
- onTryAgainClick && isValidString(strings === null || strings === void 0 ? void 0 : strings.primaryButtonText) && React.createElement(PrimaryButton, { styles: mergeStyleSets(primaryButtonStyles, styles === null || styles === void 0 ? void 0 : styles.primaryButton), text: strings === null || strings === void 0 ? void 0 : strings.primaryButtonText, onClick: onTryAgainClick }),
29
- onTroubleshootingClick && isValidString(strings === null || strings === void 0 ? void 0 : strings.linkText) && React.createElement(Link, { styles: mergeStyleSets(linkTextStyles, styles === null || styles === void 0 ? void 0 : styles.troubleshootingLink), onClick: onTroubleshootingClick }, strings === null || strings === void 0 ? void 0 : strings.linkText)));
30
- };
31
- /**
32
- * @beta
33
- *
34
- * Component to allow Contoso to help their end user with their devices should their browser experience device permission issues.
35
- */
36
- export const BrowserPermissionDenied = (props) => {
37
- /* @conditional-compile-remove(call-readiness) */
38
- const locale = useLocale().strings.BrowserPermissionDenied;
39
- /* @conditional-compile-remove(call-readiness) */
40
- return React.createElement(BrowserPermissionDeniedContainer, Object.assign({}, props, { strings: props.strings ? props.strings : locale }));
41
- return React.createElement(React.Fragment, null);
42
- };
43
- //# sourceMappingURL=BrowserPermissionDenied.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrowserPermissionDenied.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/DevicePermissions/BrowserPermissionDenied.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,iDAAiD;AACjD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACzF,iDAAiD;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAA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IAAI,oBAAC,aAAa,IAAC,MAAM,EAAE,cAAc,CAAC,mBAAmB,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,aAAa,CAAC,EAAE,IAAI,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,iBAAiB,EAAE,OAAO,EAAE,eAAe,GAAI;YAEjN,sBAAsB,IAAI,aAAa,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAC,IAAI,oBAAC,IAAI,IAAC,MAAM,EAAE,cAAc,CAAC,cAAc,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,mBAAmB,CAAC,EAAE,OAAO,EAAE,sBAAsB,IACpK,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CACb,CACH,CACF,CAAC;AACb,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAmC,EAAe,EAAE;IAC1F,iDAAiD;IACjD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC;IAC3D,iDAAiD;IACjD,OAAO,oBAAC,gCAAgC,oBAAK,KAAK,IAAE,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC;IACxG,OAAO,yCAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { IButtonStyles, ILinkStyles } from '@fluentui/react';\n/* @conditional-compile-remove(call-readiness) */\nimport { Stack, Text, Link, Icon, PrimaryButton, mergeStyleSets } from '@fluentui/react';\n/* @conditional-compile-remove(call-readiness) */\nimport { useLocale } from '../../localization';\n/* @conditional-compile-remove(call-readiness) */\nimport { _formatString, _pxToRem } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(call-readiness) */\nimport { iconContainerStyles, iconPrimaryStyles, linkTextStyles, primaryButtonStyles, primaryTextStyles, secondaryTextStyles, textContainerStyles } from './../styles/BrowserPermissionDenied.styles';\nimport { BaseCustomStyles } from '../../types';\n/* @conditional-compile-remove(call-readiness) */\nimport { isValidString } from '../utils';\n\n/**\n * @beta\n * Props for BrowserPermissionDenied component.\n */\nexport interface BrowserPermissionDeniedProps {\n /**\n * Action to be taken by the more help link. Possible to send to external page or show other modal.\n */\n onTroubleshootingClick?: () => void;\n /**\n * Action to be taken by the try again primary button.\n */\n onTryAgainClick?: () => void;\n /**\n * Localization strings for BrowserPermissionDenied component.\n */\n strings?: BrowserPermissionDeniedStrings;\n /**\n * Allows users to pass in an object contains custom CSS styles.\n * @Example\n * ```\n * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />\n * ```\n */\n styles?: BrowserPermissionDeniedStyles;\n}\n\n/**\n * @beta\n * Strings for BrowserPermissionDenied component\n */\nexport interface BrowserPermissionDeniedStrings {\n /**\n * Main button text string.\n */\n primaryButtonText: string;\n /**\n * Main text string.\n */\n primaryText: string;\n /**\n * Subtext string.\n */\n secondaryText: string;\n /**\n * More help link string.\n */\n linkText: string;\n}\n\n/**\n * Fluent styles for {@link BrowserPermissionDenied}.\n *\n * @beta\n */\nexport interface BrowserPermissionDeniedStyles extends BaseCustomStyles {\n /** Styles for the primary button. */\n primaryButton?: IButtonStyles;\n /** Styles for the help troubleshooting link text. */\n troubleshootingLink?: ILinkStyles;\n}\n\n/* @conditional-compile-remove(call-readiness) */\nconst BrowserPermissionDeniedContainer = (props: BrowserPermissionDeniedProps): JSX.Element => {\n const {\n onTroubleshootingClick,\n onTryAgainClick,\n strings,\n styles\n } = props;\n return <Stack style={{\n padding: '2rem',\n paddingTop: '2.5rem',\n maxWidth: '25.375rem'\n }}>\n <Stack horizontal style={{\n paddingBottom: '1.5rem'\n }} horizontalAlign={'space-between'}>\n <Stack styles={iconContainerStyles} horizontalAlign={'center'}>\n <Icon styles={iconPrimaryStyles} iconName={'BrowserPermissionDeniedError'}></Icon>\n </Stack>\n </Stack>\n <Stack styles={textContainerStyles}>\n {isValidString(strings?.primaryText) && <Text styles={primaryTextStyles}>{strings?.primaryText}</Text>}\n {isValidString(strings?.secondaryText) && <Text styles={secondaryTextStyles}>{strings?.secondaryText}</Text>}\n\n {onTryAgainClick && isValidString(strings?.primaryButtonText) && <PrimaryButton styles={mergeStyleSets(primaryButtonStyles, styles?.primaryButton)} text={strings?.primaryButtonText} onClick={onTryAgainClick} />}\n\n {onTroubleshootingClick && isValidString(strings?.linkText) && <Link styles={mergeStyleSets(linkTextStyles, styles?.troubleshootingLink)} onClick={onTroubleshootingClick}>\n {strings?.linkText}\n </Link>}\n </Stack>\n </Stack>;\n};\n\n/**\n * @beta\n *\n * Component to allow Contoso to help their end user with their devices should their browser experience device permission issues.\n */\nexport const BrowserPermissionDenied = (props: BrowserPermissionDeniedProps): JSX.Element => {\n /* @conditional-compile-remove(call-readiness) */\n const locale = useLocale().strings.BrowserPermissionDenied;\n /* @conditional-compile-remove(call-readiness) */\n return <BrowserPermissionDeniedContainer {...props} strings={props.strings ? props.strings : locale} />;\n return <></>;\n};"]}
@@ -1,75 +0,0 @@
1
- /// <reference types="react" />
2
- import { BrowserPermissionDeniedProps, BrowserPermissionDeniedStrings } from './BrowserPermissionDenied';
3
- /**
4
- * @beta
5
- * Props for BrowserPermissionDeniedIOS component.
6
- */
7
- export interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
8
- /**
9
- * Localization strings for BrowserPermissionDeniedIOS component.
10
- */
11
- strings?: BrowserPermissionDeniedIOSStrings;
12
- /**
13
- * Link to image source.
14
- *
15
- * Image is inserted into the top of the component.
16
- */
17
- imageSource?: string;
18
- }
19
- /**
20
- * @beta
21
- * Strings for BrowserPermissionDeniedIOS component
22
- */
23
- export interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
24
- /**
25
- * Image alt text
26
- */
27
- imageAltText: string;
28
- /**
29
- * Main text string.
30
- */
31
- primaryText: string;
32
- /**
33
- * Subtext string.
34
- */
35
- secondaryText: string;
36
- /**
37
- * Step 1 string
38
- */
39
- step1Text: string;
40
- /**
41
- * Step 1 digit string
42
- */
43
- step1DigitText: string;
44
- /**
45
- * Step 2 string
46
- */
47
- step2Text: string;
48
- /**
49
- * Step 2 digit string
50
- */
51
- step2DigitText: string;
52
- /**
53
- * Step 3 string
54
- */
55
- step3Text: string;
56
- /**
57
- * Step 3 digit string
58
- */
59
- step3DigitText: string;
60
- /**
61
- * Step 4 string
62
- */
63
- step4Text: string;
64
- /**
65
- * Step 4 digit string
66
- */
67
- step4DigitText: string;
68
- }
69
- /**
70
- * @beta
71
- *
72
- * Component to allow Contoso to help their end user with their devices should their browser experience device permission issues.
73
- */
74
- export declare const BrowserPermissionDeniedIOS: (props: BrowserPermissionDeniedIOSProps) => JSX.Element;
75
- //# sourceMappingURL=BrowserPermissionDeniedIOS.d.ts.map
@@ -1,75 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT License.
3
- import React from 'react';
4
- /* @conditional-compile-remove(call-readiness) */
5
- import { useMemo } from 'react';
6
- /* @conditional-compile-remove(call-readiness) */
7
- import { Stack, Text, Link, PrimaryButton, mergeStyleSets, useTheme, Image, ImageFit } from '@fluentui/react';
8
- /* @conditional-compile-remove(call-readiness) */
9
- import { useLocale } from '../../localization';
10
- /* @conditional-compile-remove(call-readiness) */
11
- import { browserPermissionContainerStyles, iOSImageContainer, iOSStepsCircleStyles, iOSStepsContainerStyles, iOSStepsDigitTextStyles, iOSStepsTextStyles, linkTextStyles, primaryButtonStyles, primaryTextStyles, secondaryTextStyles, textContainerStyles } from './../styles/BrowserPermissionDenied.styles';
12
- /* @conditional-compile-remove(call-readiness) */
13
- import { isValidString } from '../utils';
14
- /* @conditional-compile-remove(call-readiness) */
15
- const BrowserPermissionDeniedIOSContainer = (props) => {
16
- const { imageSource, onTroubleshootingClick, onTryAgainClick, strings, styles } = props;
17
- const theme = useTheme();
18
- const stepsCircleStyle = useMemo(() => {
19
- return mergeStyleSets(iOSStepsCircleStyles, {
20
- root: {
21
- background: theme.palette.neutralLighter
22
- }
23
- });
24
- }, [theme]);
25
- return React.createElement(Stack, { styles: browserPermissionContainerStyles },
26
- imageSource && React.createElement(Stack, { styles: mergeStyleSets(iOSImageContainer, {
27
- root: {
28
- background: theme.palette.neutralLighter
29
- }
30
- }) }, isValidString(strings === null || strings === void 0 ? void 0 : strings.imageAltText) && React.createElement(Image, { src: imageSource !== null && imageSource !== void 0 ? imageSource : '', alt: strings === null || strings === void 0 ? void 0 : strings.imageAltText, imageFit: ImageFit.centerContain, style: {
31
- padding: '1.5rem'
32
- } })),
33
- React.createElement(Stack, { style: {
34
- padding: '1rem',
35
- paddingBottom: '1.25rem'
36
- } },
37
- React.createElement(Stack, { styles: textContainerStyles },
38
- isValidString(strings === null || strings === void 0 ? void 0 : strings.primaryText) && React.createElement(Text, { styles: primaryTextStyles }, strings === null || strings === void 0 ? void 0 : strings.primaryText),
39
- isValidString(strings === null || strings === void 0 ? void 0 : strings.secondaryText) && React.createElement(Text, { styles: secondaryTextStyles }, strings === null || strings === void 0 ? void 0 : strings.secondaryText),
40
- isValidString(strings === null || strings === void 0 ? void 0 : strings.step1Text) && React.createElement(Stack, { styles: iOSStepsContainerStyles },
41
- React.createElement(Stack, { horizontalAlign: 'center', styles: stepsCircleStyle },
42
- React.createElement(Text, { styles: iOSStepsDigitTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step1DigitText)),
43
- React.createElement(Text, { styles: iOSStepsTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step1Text)),
44
- isValidString(strings === null || strings === void 0 ? void 0 : strings.step2Text) && React.createElement(Stack, { styles: iOSStepsContainerStyles },
45
- React.createElement(Stack, { horizontalAlign: 'center', styles: stepsCircleStyle },
46
- React.createElement(Text, { styles: iOSStepsDigitTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step2DigitText)),
47
- React.createElement(Text, { styles: iOSStepsTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step2Text)),
48
- isValidString(strings === null || strings === void 0 ? void 0 : strings.step3Text) && React.createElement(Stack, { styles: iOSStepsContainerStyles },
49
- React.createElement(Stack, { horizontalAlign: 'center', styles: stepsCircleStyle },
50
- React.createElement(Text, { styles: iOSStepsDigitTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step3DigitText)),
51
- React.createElement(Text, { styles: iOSStepsTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step3Text)),
52
- isValidString(strings === null || strings === void 0 ? void 0 : strings.step4Text) && React.createElement(Stack, { styles: mergeStyleSets(iOSStepsContainerStyles, {
53
- root: {
54
- paddingBottom: '1.5rem'
55
- }
56
- }) },
57
- React.createElement(Stack, { horizontalAlign: 'center', styles: stepsCircleStyle },
58
- React.createElement(Text, { styles: iOSStepsDigitTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step4DigitText)),
59
- React.createElement(Text, { styles: iOSStepsTextStyles }, strings === null || strings === void 0 ? void 0 : strings.step4Text)),
60
- isValidString(strings === null || strings === void 0 ? void 0 : strings.primaryButtonText) && React.createElement(PrimaryButton, { styles: mergeStyleSets(primaryButtonStyles, styles === null || styles === void 0 ? void 0 : styles.primaryButton), text: strings === null || strings === void 0 ? void 0 : strings.primaryButtonText, onClick: onTryAgainClick }),
61
- isValidString(strings === null || strings === void 0 ? void 0 : strings.linkText) && React.createElement(Link, { styles: mergeStyleSets(linkTextStyles, styles === null || styles === void 0 ? void 0 : styles.troubleshootingLink), onClick: onTroubleshootingClick }, strings === null || strings === void 0 ? void 0 : strings.linkText))));
62
- };
63
- /**
64
- * @beta
65
- *
66
- * Component to allow Contoso to help their end user with their devices should their browser experience device permission issues.
67
- */
68
- export const BrowserPermissionDeniedIOS = (props) => {
69
- /* @conditional-compile-remove(call-readiness) */
70
- const locale = useLocale().strings.BrowserPermissionDeniedIOS;
71
- /* @conditional-compile-remove(call-readiness) */
72
- return React.createElement(BrowserPermissionDeniedIOSContainer, Object.assign({}, props, { strings: props.strings ? props.strings : locale }));
73
- return React.createElement(React.Fragment, null);
74
- };
75
- //# sourceMappingURL=BrowserPermissionDeniedIOS.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BrowserPermissionDeniedIOS.js","sourceRoot":"","sources":["../../../../../../preprocess-dist/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,iDAAiD;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,iDAAiD;AACjD,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,cAAc,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC9G,iDAAiD;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,iDAAiD;AACjD,OAAO,EAAE,gCAAgC,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,cAAc,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAE/S,iDAAiD;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAsEzC,iDAAiD;AACjD,MAAM,mCAAmC,GAAG,CAAC,KAAsC,EAAe,EAAE;IAClG,MAAM,EACJ,WAAW,EACX,sBAAsB,EACtB,eAAe,EACf,OAAO,EACP,MAAM,EACP,GAAG,KAAK,CAAC;IACV,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,EAAE;QACpC,OAAO,cAAc,CAAC,oBAAoB,EAAE;YAC1C,IAAI,EAAE;gBACJ,UAAU,EAAE,KAAK,CAAC,O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G,OAAO,yCAAK,CAAC;AACf,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\n/* @conditional-compile-remove(call-readiness) */\nimport { useMemo } from 'react';\n/* @conditional-compile-remove(call-readiness) */\nimport { Stack, Text, Link, PrimaryButton, mergeStyleSets, useTheme, Image, ImageFit } from '@fluentui/react';\n/* @conditional-compile-remove(call-readiness) */\nimport { useLocale } from '../../localization';\n/* @conditional-compile-remove(call-readiness) */\nimport { _formatString, _pxToRem } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(call-readiness) */\nimport { browserPermissionContainerStyles, iOSImageContainer, iOSStepsCircleStyles, iOSStepsContainerStyles, iOSStepsDigitTextStyles, iOSStepsTextStyles, linkTextStyles, primaryButtonStyles, primaryTextStyles, secondaryTextStyles, textContainerStyles } from './../styles/BrowserPermissionDenied.styles';\nimport { BrowserPermissionDeniedProps, BrowserPermissionDeniedStrings } from './BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nimport { isValidString } from '../utils';\n\n/**\n * @beta\n * Props for BrowserPermissionDeniedIOS component.\n */\nexport interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {\n /**\n * Localization strings for BrowserPermissionDeniedIOS component.\n */\n strings?: BrowserPermissionDeniedIOSStrings;\n /**\n * Link to image source.\n *\n * Image is inserted into the top of the component.\n */\n imageSource?: string;\n}\n\n/**\n * @beta\n * Strings for BrowserPermissionDeniedIOS component\n */\nexport interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {\n /**\n * Image alt text\n */\n imageAltText: string;\n /**\n * Main text string.\n */\n primaryText: string;\n /**\n * Subtext string.\n */\n secondaryText: string;\n /**\n * Step 1 string\n */\n step1Text: string;\n /**\n * Step 1 digit string\n */\n step1DigitText: string;\n /**\n * Step 2 string\n */\n step2Text: string;\n /**\n * Step 2 digit string\n */\n step2DigitText: string;\n /**\n * Step 3 string\n */\n step3Text: string;\n /**\n * Step 3 digit string\n */\n step3DigitText: string;\n /**\n * Step 4 string\n */\n step4Text: string;\n /**\n * Step 4 digit string\n */\n step4DigitText: string;\n}\n\n/* @conditional-compile-remove(call-readiness) */\nconst BrowserPermissionDeniedIOSContainer = (props: BrowserPermissionDeniedIOSProps): JSX.Element => {\n const {\n imageSource,\n onTroubleshootingClick,\n onTryAgainClick,\n strings,\n styles\n } = props;\n const theme = useTheme();\n const stepsCircleStyle = useMemo(() => {\n return mergeStyleSets(iOSStepsCircleStyles, {\n root: {\n background: theme.palette.neutralLighter\n }\n });\n }, [theme]);\n return <Stack styles={browserPermissionContainerStyles}>\n {imageSource && <Stack styles={mergeStyleSets(iOSImageContainer, {\n root: {\n background: theme.palette.neutralLighter\n }\n })}>\n {isValidString(strings?.imageAltText) && <Image src={imageSource ?? ''} alt={strings?.imageAltText} imageFit={ImageFit.centerContain} style={{\n padding: '1.5rem'\n }} />}\n </Stack>}\n <Stack style={{\n padding: '1rem',\n paddingBottom: '1.25rem'\n }}>\n <Stack styles={textContainerStyles}>\n {isValidString(strings?.primaryText) && <Text styles={primaryTextStyles}>{strings?.primaryText}</Text>}\n {isValidString(strings?.secondaryText) && <Text styles={secondaryTextStyles}>{strings?.secondaryText}</Text>}\n {isValidString(strings?.step1Text) && <Stack styles={iOSStepsContainerStyles}>\n <Stack horizontalAlign={'center'} styles={stepsCircleStyle}>\n <Text styles={iOSStepsDigitTextStyles}>{strings?.step1DigitText}</Text>\n </Stack>\n <Text styles={iOSStepsTextStyles}>{strings?.step1Text}</Text>\n </Stack>}\n {isValidString(strings?.step2Text) && <Stack styles={iOSStepsContainerStyles}>\n <Stack horizontalAlign={'center'} styles={stepsCircleStyle}>\n <Text styles={iOSStepsDigitTextStyles}>{strings?.step2DigitText}</Text>\n </Stack>\n <Text styles={iOSStepsTextStyles}>{strings?.step2Text}</Text>\n </Stack>}\n {isValidString(strings?.step3Text) && <Stack styles={iOSStepsContainerStyles}>\n <Stack horizontalAlign={'center'} styles={stepsCircleStyle}>\n <Text styles={iOSStepsDigitTextStyles}>{strings?.step3DigitText}</Text>\n </Stack>\n <Text styles={iOSStepsTextStyles}>{strings?.step3Text}</Text>\n </Stack>}\n {isValidString(strings?.step4Text) && <Stack styles={mergeStyleSets(iOSStepsContainerStyles, {\n root: {\n paddingBottom: '1.5rem'\n }\n })}>\n <Stack horizontalAlign={'center'} styles={stepsCircleStyle}>\n <Text styles={iOSStepsDigitTextStyles}>{strings?.step4DigitText}</Text>\n </Stack>\n <Text styles={iOSStepsTextStyles}>{strings?.step4Text}</Text>\n </Stack>}\n {isValidString(strings?.primaryButtonText) && <PrimaryButton styles={mergeStyleSets(primaryButtonStyles, styles?.primaryButton)} text={strings?.primaryButtonText} onClick={onTryAgainClick} />}\n {isValidString(strings?.linkText) && <Link styles={mergeStyleSets(linkTextStyles, styles?.troubleshootingLink)} onClick={onTroubleshootingClick}>\n {strings?.linkText}\n </Link>}\n </Stack>\n </Stack>\n </Stack>;\n};\n\n/**\n * @beta\n *\n * Component to allow Contoso to help their end user with their devices should their browser experience device permission issues.\n */\nexport const BrowserPermissionDeniedIOS = (props: BrowserPermissionDeniedIOSProps): JSX.Element => {\n /* @conditional-compile-remove(call-readiness) */\n const locale = useLocale().strings.BrowserPermissionDeniedIOS;\n /* @conditional-compile-remove(call-readiness) */\n return <BrowserPermissionDeniedIOSContainer {...props} strings={props.strings ? props.strings : locale} />;\n return <></>;\n};"]}