@azure/communication-react 1.3.1-alpha-202205310013.0 → 1.3.2-alpha-202206290013.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/CHANGELOG.json +957 -0
  2. package/CHANGELOG.md +65 -1
  3. package/dist/communication-react.d.ts +405 -31
  4. package/dist/dist-cjs/communication-react/index.js +1655 -762
  5. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/index.d.ts +2 -0
  7. package/dist/dist-esm/acs-ui-common/src/index.d.ts.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/index.js +1 -0
  9. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts +16 -0
  11. package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts.map +1 -0
  12. package/dist/dist-esm/acs-ui-common/src/logEvent.js +11 -0
  13. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -0
  14. package/dist/dist-esm/acs-ui-common/src/safeStringify.d.ts.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/safeStringify.js +17 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  18. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +4 -0
  19. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +9 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  22. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +12 -0
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts.map +1 -1
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +14 -2
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.d.ts.map +1 -1
  27. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +32 -13
  28. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  29. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +2 -0
  30. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +6 -2
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  33. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
  34. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +22 -0
  36. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  37. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +4 -2
  38. package/dist/dist-esm/calling-component-bindings/src/index.d.ts.map +1 -1
  39. package/dist/dist-esm/calling-component-bindings/src/index.js +4 -2
  40. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  41. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts.map +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +34 -36
  43. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  44. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts +6 -0
  45. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts.map +1 -0
  46. package/dist/dist-esm/calling-component-bindings/src/{SelectorUtils.js → utils/SelectorUtils.js} +0 -0
  47. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -0
  48. package/dist/dist-esm/calling-component-bindings/src/{callUtils.d.ts → utils/callUtils.d.ts} +7 -1
  49. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts.map +1 -0
  50. package/dist/dist-esm/calling-component-bindings/src/{callUtils.js → utils/callUtils.js} +28 -0
  51. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -0
  52. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +6 -0
  53. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts.map +1 -0
  54. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +25 -0
  55. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -0
  56. package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.d.ts → utils/videoGalleryUtils.d.ts} +3 -5
  57. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts.map +1 -0
  58. package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.js → utils/videoGalleryUtils.js} +3 -1
  59. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -0
  60. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts.map +1 -1
  61. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +10 -3
  62. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  63. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +17 -1
  64. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts.map +1 -1
  65. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +22 -5
  66. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  67. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +6 -1
  68. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts.map +1 -1
  69. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -0
  71. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts.map +1 -1
  72. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +19 -0
  73. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  74. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -0
  76. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  77. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts +22 -0
  78. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts.map +1 -0
  79. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +49 -0
  80. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -0
  81. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +26 -0
  82. package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/Logger.js +30 -0
  84. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  85. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  86. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  88. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +13 -0
  90. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.d.ts.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +133 -25
  94. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  95. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +2 -0
  96. package/dist/dist-esm/calling-stateful-client/src/index.d.ts.map +1 -1
  97. package/dist/dist-esm/communication-react/src/index.d.ts +7 -1
  98. package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
  99. package/dist/dist-esm/communication-react/src/index.js +4 -0
  100. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  101. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +2 -2
  102. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts.map +1 -1
  103. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts +1 -1
  104. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts.map +1 -1
  105. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts.map +1 -1
  106. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +1 -0
  107. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  108. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts.map +1 -1
  109. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +1 -1
  110. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  111. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts.map +1 -1
  112. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +16 -2
  113. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  114. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +33 -21
  115. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -1
  116. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +87 -30
  117. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  118. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +16 -3
  119. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
  120. package/dist/dist-esm/react-components/src/components/ErrorBar.js +22 -1
  121. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  122. package/dist/dist-esm/react-components/src/components/FileCard.d.ts +5 -0
  123. package/dist/dist-esm/react-components/src/components/FileCard.d.ts.map +1 -1
  124. package/dist/dist-esm/react-components/src/components/FileCard.js +44 -14
  125. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  126. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
  127. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts.map +1 -1
  128. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +18 -1
  129. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  130. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +17 -0
  131. package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts.map +1 -1
  132. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +19 -2
  133. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  134. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  135. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts.map +1 -0
  136. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  137. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  138. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts.map +1 -1
  139. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +15 -4
  140. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  141. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +3 -1
  142. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
  143. package/dist/dist-esm/react-components/src/components/MessageThread.js +15 -12
  144. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  145. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +3 -3
  146. package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts.map +1 -1
  147. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -6
  148. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  149. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +5 -1
  150. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
  151. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +3 -2
  152. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  153. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +2 -0
  154. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts.map +1 -1
  155. package/dist/dist-esm/react-components/src/components/ParticipantList.js +5 -7
  156. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  157. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +2 -0
  158. package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts.map +1 -1
  159. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +4 -3
  160. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  161. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -0
  162. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts.map +1 -1
  163. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +6 -3
  164. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  165. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +12 -0
  166. package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
  167. package/dist/dist-esm/react-components/src/components/SendBox.js +10 -5
  168. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  169. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts.map +1 -1
  170. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +8 -5
  171. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  172. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts +7 -0
  173. package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts.map +1 -1
  174. package/dist/dist-esm/react-components/src/components/StreamMedia.js +7 -4
  175. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  176. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +4 -1
  177. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  178. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +1 -0
  179. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts.map +1 -1
  180. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +2 -2
  181. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  182. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts +2 -2
  183. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts.map +1 -1
  184. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +18 -70
  185. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  186. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -0
  187. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts.map +1 -1
  188. package/dist/dist-esm/react-components/src/components/VideoGallery.js +6 -4
  189. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  190. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts.map +1 -1
  191. package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
  192. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  193. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts +7 -0
  194. package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts.map +1 -0
  195. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +32 -0
  196. package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +1 -0
  197. package/dist/dist-esm/react-components/src/components/index.d.ts +6 -2
  198. package/dist/dist-esm/react-components/src/components/index.d.ts.map +1 -1
  199. package/dist/dist-esm/react-components/src/components/index.js +4 -1
  200. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts +13 -1
  202. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +34 -0
  204. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts +9 -0
  206. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts.map +1 -0
  207. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js +26 -0
  208. package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +1 -0
  209. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -0
  210. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts.map +1 -1
  211. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  212. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +37 -6
  213. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +37 -6
  214. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +22 -4
  215. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +38 -7
  216. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +37 -6
  217. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +37 -6
  218. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +37 -6
  219. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +37 -6
  220. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +37 -6
  221. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +37 -6
  222. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +37 -6
  223. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +37 -6
  224. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +37 -6
  225. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +37 -6
  226. package/dist/dist-esm/react-components/src/theming/icons.d.ts +6 -0
  227. package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
  228. package/dist/dist-esm/react-components/src/theming/icons.js +12 -2
  229. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  230. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -0
  231. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts.map +1 -1
  232. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +12 -2
  233. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
  234. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +52 -3
  235. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  236. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +42 -2
  237. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts.map +1 -1
  238. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts.map +1 -1
  239. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
  240. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  241. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +1 -0
  242. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts.map +1 -1
  243. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +7 -18
  244. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  245. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts.map +1 -1
  246. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +3 -3
  247. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  248. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts.map +1 -1
  249. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +3 -2
  250. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  251. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts.map +1 -1
  252. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +2 -23
  253. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  254. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts.map +1 -1
  255. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +3 -3
  256. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  257. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts +2 -3
  258. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts.map +1 -1
  259. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +2 -2
  260. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  261. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +9 -1
  262. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts.map +1 -1
  263. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +39 -10
  264. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  265. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -0
  266. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts.map +1 -1
  267. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +1 -1
  268. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  269. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +10 -9
  270. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  271. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -1
  272. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts.map +1 -1
  273. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  274. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -1
  275. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  276. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts.map +1 -1
  277. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +4 -4
  278. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  279. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts.map +1 -1
  280. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +10 -1
  281. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  282. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +41 -13
  283. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts.map +1 -1
  284. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +7 -0
  285. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts.map +1 -1
  286. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +7 -2
  287. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  288. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts.map +1 -1
  289. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +20 -3
  290. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
  291. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +68 -0
  292. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts.map +1 -0
  293. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +70 -0
  294. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
  295. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js +1 -1
  296. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +1 -1
  297. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +4 -4
  298. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
  299. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +11 -2
  300. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
  301. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +38 -2
  302. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  303. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +27 -3
  304. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts.map +1 -1
  305. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +7 -2
  306. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts.map +1 -1
  307. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +14 -2
  308. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  309. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts +1 -1
  310. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts.map +1 -1
  311. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +19 -1
  312. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
  313. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
  314. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts.map +1 -1
  315. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts.map +1 -1
  316. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +1 -1
  317. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  318. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +1 -0
  319. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts.map +1 -1
  320. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +2 -2
  321. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
  322. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  323. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts.map +1 -1
  324. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts.map +1 -1
  325. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -1
  326. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  327. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts +5 -0
  328. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
  329. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +7 -1
  330. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  331. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts.map +1 -1
  332. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +32 -8
  333. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  334. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts.map +1 -1
  335. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +8 -2
  336. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  337. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts.map +1 -1
  338. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +8 -4
  339. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  340. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -0
  341. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
  342. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  343. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts +6 -0
  344. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts.map +1 -0
  345. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js +12 -0
  346. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -0
  347. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts +6 -2
  348. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts.map +1 -1
  349. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +20 -4
  350. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  351. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +10 -5
  352. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +10 -5
  353. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -2
  354. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +10 -5
  355. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +10 -5
  356. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +10 -5
  357. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +10 -5
  358. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +10 -5
  359. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +10 -5
  360. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +10 -5
  361. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +10 -5
  362. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +10 -5
  363. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +10 -5
  364. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +10 -5
  365. package/package.json +10 -10
  366. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts +0 -6
  367. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts.map +0 -1
  368. package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.js.map +0 -1
  369. package/dist/dist-esm/calling-component-bindings/src/callUtils.d.ts.map +0 -1
  370. package/dist/dist-esm/calling-component-bindings/src/callUtils.js.map +0 -1
  371. package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.d.ts.map +0 -1
  372. package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.js.map +0 -1
  373. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts +0 -74
  374. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts.map +0 -1
  375. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js +0 -85
  376. package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js.map +0 -1
  377. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts +0 -21
  378. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts.map +0 -1
  379. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js +0 -59
  380. package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js.map +0 -1
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "People",
47
- "peopleButtonTooltipContentOpen": "Show Participants",
48
- "peopleButtonTooltipContentClose": "Hide Participants",
47
+ "peopleButtonTooltipOpen": "Show participants",
48
+ "peopleButtonTooltipClose": "Hide participants",
49
49
  "chatButtonLabel": "Chat",
50
- "chatButtonTooltipContentOpen": "Show Chat",
51
- "chatButtonTooltipContentClose": "Hide Chat",
50
+ "chatButtonTooltipClosedWithMessageCount": "Show chat ({unreadMessagesCount} unread)",
51
+ "chatButtonTooltipOpen": "Show chat",
52
+ "chatButtonTooltipClose": "Hide chat",
53
+ "moreDrawerAudioDeviceMenuTitle": "Audio Device",
52
54
  "moreDrawerMicrophoneMenuTitle": "Microphone",
53
55
  "moreDrawerSpeakerMenuTitle": "Speaker",
54
56
  "moreDrawerButtonLabel": "More options",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "New Message",
60
62
  "pictureInPictureTileAriaLabel": "Video Feeds. Click to return to call screen.",
61
63
  "removeMenuLabel": "Remove",
62
- "copyInviteLinkButtonLabel": "Copy invite link"
64
+ "copyInviteLinkButtonLabel": "Copy invite link",
65
+ "dismissSidePaneButton": "Close",
66
+ "returnToCallButtonAriaDescription": "Return to Call",
67
+ "returnToCallButtonAriaLabel": "Back"
63
68
  }
64
69
  }
@@ -40,7 +40,8 @@
40
40
  "microphoneToggleInLobbyNotAllowed": "Cannot mute or unmute while in lobby."
41
41
  },
42
42
  "chat": {
43
- "chatListHeader": "In this chat"
43
+ "chatListHeader": "In this chat",
44
+ "uploadFile": "Upload File"
44
45
  },
45
46
  "callWithChat": {
46
47
  "peopleButtonLabel": "People",
@@ -62,7 +63,7 @@
62
63
  "pictureInPictureTileAriaLabel": "Video Feeds. Click to return to call screen.",
63
64
  "removeMenuLabel": "Remove",
64
65
  "copyInviteLinkButtonLabel": "Copy invite link",
65
- "dismissSidePaneButton": "Close",
66
+ "dismissSidePaneButtonLabel": "Close",
66
67
  "returnToCallButtonAriaDescription": "Return to Call",
67
68
  "returnToCallButtonAriaLabel": "Back"
68
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "Contactos",
47
- "peopleButtonTooltipContentOpen": "Mostrar participantes",
48
- "peopleButtonTooltipContentClose": "Ocultar participantes",
47
+ "peopleButtonTooltipOpen": "Mostrar participantes",
48
+ "peopleButtonTooltipClose": "Ocultar participantes",
49
49
  "chatButtonLabel": "Chat",
50
- "chatButtonTooltipContentOpen": "Mostrar chat",
51
- "chatButtonTooltipContentClose": "Ocultar chat",
50
+ "chatButtonTooltipClosedWithMessageCount": "Mostrar chat ({unreadMessagesCount} no leídos)",
51
+ "chatButtonTooltipOpen": "Mostrar chat",
52
+ "chatButtonTooltipClose": "Ocultar chat",
53
+ "moreDrawerAudioDeviceMenuTitle": "Dispositivo de audio",
52
54
  "moreDrawerMicrophoneMenuTitle": "Micrófono",
53
55
  "moreDrawerSpeakerMenuTitle": "Altavoz",
54
56
  "moreDrawerButtonLabel": "Más opciones",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "Nuevo mensaje",
60
62
  "pictureInPictureTileAriaLabel": "Fuentes de vídeo. Hacer clic para volver a la pantalla de la llamada.",
61
63
  "removeMenuLabel": "Quitar",
62
- "copyInviteLinkButtonLabel": "Copiar vínculo de invitación"
64
+ "copyInviteLinkButtonLabel": "Copiar vínculo de invitación",
65
+ "dismissSidePaneButton": "Cerrar",
66
+ "returnToCallButtonAriaDescription": "Volver a llamada",
67
+ "returnToCallButtonAriaLabel": "Volver"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "Personnes",
47
- "peopleButtonTooltipContentOpen": "Afficher les participants",
48
- "peopleButtonTooltipContentClose": "Masquer les participants",
47
+ "peopleButtonTooltipOpen": "Afficher les participants",
48
+ "peopleButtonTooltipClose": "Masquer les participants",
49
49
  "chatButtonLabel": "Clavardage",
50
- "chatButtonTooltipContentOpen": "Afficher la conversation",
51
- "chatButtonTooltipContentClose": "Masquer la conversation",
50
+ "chatButtonTooltipClosedWithMessageCount": "Afficher la conversation ({unreadMessagesCount} non lu)",
51
+ "chatButtonTooltipOpen": "Afficher la conversation",
52
+ "chatButtonTooltipClose": "Masquer la conversation",
53
+ "moreDrawerAudioDeviceMenuTitle": "Périphérique audio",
52
54
  "moreDrawerMicrophoneMenuTitle": "Microphone",
53
55
  "moreDrawerSpeakerMenuTitle": "Haut-parleur",
54
56
  "moreDrawerButtonLabel": "Autres options",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "Nouveau message",
60
62
  "pictureInPictureTileAriaLabel": "Flux vidéo. Cliquez pour revenir à l’écran d’appel.",
61
63
  "removeMenuLabel": "Supprimer",
62
- "copyInviteLinkButtonLabel": "Copier le lien d'invitation"
64
+ "copyInviteLinkButtonLabel": "Copier le lien d'invitation",
65
+ "dismissSidePaneButton": "Fermer",
66
+ "returnToCallButtonAriaDescription": "Revenir à l’appel",
67
+ "returnToCallButtonAriaLabel": "Précédent"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "Persone",
47
- "peopleButtonTooltipContentOpen": "Mostra partecipanti",
48
- "peopleButtonTooltipContentClose": "Nascondi partecipanti",
47
+ "peopleButtonTooltipOpen": "Mostra partecipanti",
48
+ "peopleButtonTooltipClose": "Nascondi partecipanti",
49
49
  "chatButtonLabel": "Chat",
50
- "chatButtonTooltipContentOpen": "Mostra chat",
51
- "chatButtonTooltipContentClose": "Nascondi chat",
50
+ "chatButtonTooltipClosedWithMessageCount": "Mostra chat ({unreadMessagesCount} non letto)",
51
+ "chatButtonTooltipOpen": "Mostra chat",
52
+ "chatButtonTooltipClose": "Nascondi chat",
53
+ "moreDrawerAudioDeviceMenuTitle": "Dispositivo audio",
52
54
  "moreDrawerMicrophoneMenuTitle": "Microfono",
53
55
  "moreDrawerSpeakerMenuTitle": "Altoparlante",
54
56
  "moreDrawerButtonLabel": "Altre opzioni",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "Nuovo messaggio",
60
62
  "pictureInPictureTileAriaLabel": "Feed video. Fare clic per tornare alla schermata della chiamata.",
61
63
  "removeMenuLabel": "Rimuovi",
62
- "copyInviteLinkButtonLabel": "Copia il collegamento dell’invito"
64
+ "copyInviteLinkButtonLabel": "Copia il collegamento dell’invito",
65
+ "dismissSidePaneButton": "Chiudi",
66
+ "returnToCallButtonAriaDescription": "Torna alla chiamata",
67
+ "returnToCallButtonAriaLabel": "Indietro"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "ユーザー",
47
- "peopleButtonTooltipContentOpen": "参加者を表示",
48
- "peopleButtonTooltipContentClose": "参加者を非表示",
47
+ "peopleButtonTooltipOpen": "参加者を表示",
48
+ "peopleButtonTooltipClose": "参加者を非表示",
49
49
  "chatButtonLabel": "チャット",
50
- "chatButtonTooltipContentOpen": "チャットを表示",
51
- "chatButtonTooltipContentClose": "チャットを非表示",
50
+ "chatButtonTooltipClosedWithMessageCount": "チャットを表示する ({unreadMessagesCount} 件の未読)",
51
+ "chatButtonTooltipOpen": "チャットを表示",
52
+ "chatButtonTooltipClose": "チャットを非表示",
53
+ "moreDrawerAudioDeviceMenuTitle": "オーディオ デバイス",
52
54
  "moreDrawerMicrophoneMenuTitle": "マイク",
53
55
  "moreDrawerSpeakerMenuTitle": "スピーカー",
54
56
  "moreDrawerButtonLabel": "その他のオプション",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "新規メッセージ",
60
62
  "pictureInPictureTileAriaLabel": "ビデオ フィード。 クリックすると通話画面に戻ります。",
61
63
  "removeMenuLabel": "削除",
62
- "copyInviteLinkButtonLabel": "招待用のリンクをコピー"
64
+ "copyInviteLinkButtonLabel": "招待用のリンクをコピー",
65
+ "dismissSidePaneButton": "閉じる",
66
+ "returnToCallButtonAriaDescription": "通話に戻る",
67
+ "returnToCallButtonAriaLabel": "戻る"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "사용자",
47
- "peopleButtonTooltipContentOpen": "프레젠테이션 표시",
48
- "peopleButtonTooltipContentClose": "참가자 숨기기",
47
+ "peopleButtonTooltipOpen": "참가자 표시",
48
+ "peopleButtonTooltipClose": "참가자 숨기기",
49
49
  "chatButtonLabel": "채팅",
50
- "chatButtonTooltipContentOpen": "채팅 표시",
51
- "chatButtonTooltipContentClose": "채팅 숨기기",
50
+ "chatButtonTooltipClosedWithMessageCount": "채팅 표시({unreadMessagesCount} 읽지 않음)",
51
+ "chatButtonTooltipOpen": "채팅 표시",
52
+ "chatButtonTooltipClose": "채팅 숨기기",
53
+ "moreDrawerAudioDeviceMenuTitle": "오디오 장치",
52
54
  "moreDrawerMicrophoneMenuTitle": "마이크",
53
55
  "moreDrawerSpeakerMenuTitle": "발화자",
54
56
  "moreDrawerButtonLabel": "기타 옵션",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "새 메시지",
60
62
  "pictureInPictureTileAriaLabel": "비디오 피드입니다. 클릭하면 통화 화면으로 돌아갑니다.",
61
63
  "removeMenuLabel": "제거",
62
- "copyInviteLinkButtonLabel": "초대 링크 복사"
64
+ "copyInviteLinkButtonLabel": "초대 링크 복사",
65
+ "dismissSidePaneButton": "닫기",
66
+ "returnToCallButtonAriaDescription": "통화로 돌아가기",
67
+ "returnToCallButtonAriaLabel": "뒤로"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "Personen",
47
- "peopleButtonTooltipContentOpen": "Deelnemers weergeven",
48
- "peopleButtonTooltipContentClose": "Deelnemers verbergen",
47
+ "peopleButtonTooltipOpen": "Deelnemers weergeven",
48
+ "peopleButtonTooltipClose": "Deelnemers verbergen",
49
49
  "chatButtonLabel": "Chatten",
50
- "chatButtonTooltipContentOpen": "Chat weergeven",
51
- "chatButtonTooltipContentClose": "Chat verbergen",
50
+ "chatButtonTooltipClosedWithMessageCount": "Chat weergeven ({unreadMessagesCount} ongelezen)",
51
+ "chatButtonTooltipOpen": "Chat weergeven",
52
+ "chatButtonTooltipClose": "Chat verbergen",
53
+ "moreDrawerAudioDeviceMenuTitle": "Audioapparaat",
52
54
  "moreDrawerMicrophoneMenuTitle": "Microfoon",
53
55
  "moreDrawerSpeakerMenuTitle": "Luidspreker",
54
56
  "moreDrawerButtonLabel": "Meer opties",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "Nieuw bericht",
60
62
  "pictureInPictureTileAriaLabel": "Videofeeds. Klik om terug te keren naar het oproepscherm.",
61
63
  "removeMenuLabel": "Verwijderen",
62
- "copyInviteLinkButtonLabel": "Uitnodigingskoppeling kopiëren"
64
+ "copyInviteLinkButtonLabel": "Uitnodigingskoppeling kopiëren",
65
+ "dismissSidePaneButton": "Sluiten",
66
+ "returnToCallButtonAriaDescription": "Terug naar gesprek",
67
+ "returnToCallButtonAriaLabel": "Terug"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "Pessoas",
47
- "peopleButtonTooltipContentOpen": "Mostrar Participantes",
48
- "peopleButtonTooltipContentClose": "Ocultar participantes",
47
+ "peopleButtonTooltipOpen": "Mostrar Participantes",
48
+ "peopleButtonTooltipClose": "Ocultar participantes",
49
49
  "chatButtonLabel": "Chat",
50
- "chatButtonTooltipContentOpen": "Mostrar Chat",
51
- "chatButtonTooltipContentClose": "Ocultar Chat",
50
+ "chatButtonTooltipClosedWithMessageCount": "Mostrar chat ({unreadMessagesCount} não lido)",
51
+ "chatButtonTooltipOpen": "Mostrar chat",
52
+ "chatButtonTooltipClose": "Ocultar chat",
53
+ "moreDrawerAudioDeviceMenuTitle": "Dispositivo de Áudio",
52
54
  "moreDrawerMicrophoneMenuTitle": "Microfone",
53
55
  "moreDrawerSpeakerMenuTitle": "Alto-falante",
54
56
  "moreDrawerButtonLabel": "Mais opções",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "Nova mensagem",
60
62
  "pictureInPictureTileAriaLabel": "Feeds de vídeo. Clique para retornar à tela de chamada.",
61
63
  "removeMenuLabel": "Remover",
62
- "copyInviteLinkButtonLabel": "Copiar o link de convite"
64
+ "copyInviteLinkButtonLabel": "Copiar o link de convite",
65
+ "dismissSidePaneButton": "Fechar",
66
+ "returnToCallButtonAriaDescription": "Retornar à Chamada",
67
+ "returnToCallButtonAriaLabel": "Voltar"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "Люди",
47
- "peopleButtonTooltipContentOpen": "Показать участников",
48
- "peopleButtonTooltipContentClose": "Скрыть участников",
47
+ "peopleButtonTooltipOpen": "Показать участников",
48
+ "peopleButtonTooltipClose": "Скрыть участников",
49
49
  "chatButtonLabel": "Чат",
50
- "chatButtonTooltipContentOpen": "Показать чат",
51
- "chatButtonTooltipContentClose": "Скрыть чат",
50
+ "chatButtonTooltipClosedWithMessageCount": "Показать чат (непрочитано: {unreadMessagesCount})",
51
+ "chatButtonTooltipOpen": "Показать чат",
52
+ "chatButtonTooltipClose": "Скрыть чат",
53
+ "moreDrawerAudioDeviceMenuTitle": "Звуковое устройство",
52
54
  "moreDrawerMicrophoneMenuTitle": "Микрофон",
53
55
  "moreDrawerSpeakerMenuTitle": "Динамик",
54
56
  "moreDrawerButtonLabel": "Дополнительные параметры",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "Новое сообщение",
60
62
  "pictureInPictureTileAriaLabel": "Ленты видео. Щелкните, чтобы вернуться на экран вызова.",
61
63
  "removeMenuLabel": "Удалить",
62
- "copyInviteLinkButtonLabel": "Копировать ссылку с приглашением"
64
+ "copyInviteLinkButtonLabel": "Копировать ссылку с приглашением",
65
+ "dismissSidePaneButton": "Закрыть",
66
+ "returnToCallButtonAriaDescription": "Вернуться к звонку",
67
+ "returnToCallButtonAriaLabel": "Назад"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "Kişiler",
47
- "peopleButtonTooltipContentOpen": "Katılımcıları Göster",
48
- "peopleButtonTooltipContentClose": "Katılımcıları Gizle",
47
+ "peopleButtonTooltipOpen": "Katılımcıları göster",
48
+ "peopleButtonTooltipClose": "Katılımcıları gizle",
49
49
  "chatButtonLabel": "Sohbet",
50
- "chatButtonTooltipContentOpen": "Sohbeti Göster",
51
- "chatButtonTooltipContentClose": "Sohbeti Gizle",
50
+ "chatButtonTooltipClosedWithMessageCount": "Sohbeti göster ({unreadMessagesCount} okunmamış)",
51
+ "chatButtonTooltipOpen": "Sohbeti göster",
52
+ "chatButtonTooltipClose": "Sohbeti gizle",
53
+ "moreDrawerAudioDeviceMenuTitle": "Ses Cihazı",
52
54
  "moreDrawerMicrophoneMenuTitle": "Mikrofon",
53
55
  "moreDrawerSpeakerMenuTitle": "Hoparlör",
54
56
  "moreDrawerButtonLabel": "Diğer seçenekler",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "Yeni İleti",
60
62
  "pictureInPictureTileAriaLabel": "Video Akışları. Çağrı ekranına dönmek için tıklayın.",
61
63
  "removeMenuLabel": "Kaldır",
62
- "copyInviteLinkButtonLabel": "Davet bağlantısını kopyala"
64
+ "copyInviteLinkButtonLabel": "Davet bağlantısını kopyala",
65
+ "dismissSidePaneButton": "Kapat",
66
+ "returnToCallButtonAriaDescription": "Aramaya Dön",
67
+ "returnToCallButtonAriaLabel": "Geri"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "人员",
47
- "peopleButtonTooltipContentOpen": "显示参与者",
48
- "peopleButtonTooltipContentClose": "隐藏参与者",
47
+ "peopleButtonTooltipOpen": "显示参与者",
48
+ "peopleButtonTooltipClose": "隐藏参与者",
49
49
  "chatButtonLabel": "聊天",
50
- "chatButtonTooltipContentOpen": "显示聊天",
51
- "chatButtonTooltipContentClose": "隐藏聊天",
50
+ "chatButtonTooltipClosedWithMessageCount": "显示聊天({unreadMessagesCount} 条未读)",
51
+ "chatButtonTooltipOpen": "显示聊天",
52
+ "chatButtonTooltipClose": "隐藏聊天",
53
+ "moreDrawerAudioDeviceMenuTitle": "音频设备",
52
54
  "moreDrawerMicrophoneMenuTitle": "麦克风",
53
55
  "moreDrawerSpeakerMenuTitle": "扬声器",
54
56
  "moreDrawerButtonLabel": "更多选项",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "新建消息",
60
62
  "pictureInPictureTileAriaLabel": "视频源。单击以返回到通话屏幕。",
61
63
  "removeMenuLabel": "删除",
62
- "copyInviteLinkButtonLabel": "复制邀请链接"
64
+ "copyInviteLinkButtonLabel": "复制邀请链接",
65
+ "dismissSidePaneButton": "关闭",
66
+ "returnToCallButtonAriaDescription": "返回通话",
67
+ "returnToCallButtonAriaLabel": "返回"
63
68
  }
64
69
  }
@@ -44,11 +44,13 @@
44
44
  },
45
45
  "callWithChat": {
46
46
  "peopleButtonLabel": "人員",
47
- "peopleButtonTooltipContentOpen": "顯示參與者",
48
- "peopleButtonTooltipContentClose": "隱藏參與者",
47
+ "peopleButtonTooltipOpen": "顯示參與者",
48
+ "peopleButtonTooltipClose": "隱藏參與者",
49
49
  "chatButtonLabel": "聊天",
50
- "chatButtonTooltipContentOpen": "顯示聊天",
51
- "chatButtonTooltipContentClose": "隱藏聊天",
50
+ "chatButtonTooltipClosedWithMessageCount": "顯示聊天 ({unreadMessagesCount} 個未讀取)",
51
+ "chatButtonTooltipOpen": "顯示聊天",
52
+ "chatButtonTooltipClose": "隱藏聊天",
53
+ "moreDrawerAudioDeviceMenuTitle": "音訊裝置",
52
54
  "moreDrawerMicrophoneMenuTitle": "麥克風",
53
55
  "moreDrawerSpeakerMenuTitle": "揚聲器",
54
56
  "moreDrawerButtonLabel": "更多選項",
@@ -59,6 +61,9 @@
59
61
  "chatButtonNewMessageNotificationLabel": "新訊息",
60
62
  "pictureInPictureTileAriaLabel": "影片摘要。按一下以返回通話畫面。",
61
63
  "removeMenuLabel": "移除",
62
- "copyInviteLinkButtonLabel": "複製邀請連結"
64
+ "copyInviteLinkButtonLabel": "複製邀請連結",
65
+ "dismissSidePaneButton": "關閉",
66
+ "returnToCallButtonAriaDescription": "返回通話",
67
+ "returnToCallButtonAriaLabel": "返回"
63
68
  }
64
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/communication-react",
3
- "version": "1.3.1-alpha-202205310013.0",
3
+ "version": "1.3.2-alpha-202206290013.0",
4
4
  "sideEffects": false,
5
5
  "description": "React library for building modern communication user experiences utilizing Azure Communication Services",
6
6
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "@fluentui/react-icons": "~1.1.137",
33
33
  "@fluentui/react-northstar": "0.61.0",
34
34
  "@fluentui/react-window-provider": "~2.2.0",
35
- "@fluentui/react": "~8.17.2",
35
+ "@fluentui/react": "~8.62.4",
36
36
  "copy-to-clipboard": "~3.3.1",
37
37
  "events": "~3.3.0",
38
38
  "html-to-react": "~1.4.5",
@@ -45,7 +45,7 @@
45
45
  "uuid": "^8.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@azure/communication-calling": "1.4.3-beta.1 || 1.4.4",
48
+ "@azure/communication-calling": "1.5.4-beta.1 || 1.4.4",
49
49
  "@azure/communication-chat": "1.2.0",
50
50
  "@types/react": ">=16.8.0 <18.0.0",
51
51
  "@types/react-dom": ">=16.8.0 <18.0.0",
@@ -80,17 +80,17 @@
80
80
  "_by-flavor": "rushx _current-flavor && env-cmd -f ../../common/config/env/.env --use-shell"
81
81
  },
82
82
  "devDependencies": {
83
- "@azure/communication-calling": "1.4.3-beta.1 || 1.4.4",
83
+ "@azure/communication-calling": "1.5.4-beta.1 || 1.4.4",
84
84
  "@azure/communication-chat": "1.2.0",
85
85
  "@azure/core-auth": "1.3.2",
86
86
  "@babel/cli": "~7.16.0",
87
87
  "@babel/core": "~7.16.0",
88
- "@internal/calling-component-bindings": "1.3.1-alpha-202205310013.0",
89
- "@internal/calling-stateful-client": "1.3.1-alpha-202205310013.0",
90
- "@internal/chat-component-bindings": "1.3.1-alpha-202205310013.0",
91
- "@internal/chat-stateful-client": "1.3.1-alpha-202205310013.0",
92
- "@internal/react-components": "1.3.1-alpha-202205310013.0",
93
- "@internal/react-composites": "1.3.1-alpha-202205310013.0",
88
+ "@internal/calling-component-bindings": "1.3.2-alpha-202206290013.0",
89
+ "@internal/calling-stateful-client": "1.3.2-alpha-202206290013.0",
90
+ "@internal/chat-component-bindings": "1.3.2-alpha-202206290013.0",
91
+ "@internal/chat-stateful-client": "1.3.2-alpha-202206290013.0",
92
+ "@internal/react-components": "1.3.2-alpha-202206290013.0",
93
+ "@internal/react-composites": "1.3.2-alpha-202206290013.0",
94
94
  "@microsoft/api-documenter": "~7.12.11",
95
95
  "@microsoft/api-extractor": "~7.18.0",
96
96
  "@rollup/plugin-json": "~4.1.0",
@@ -1,6 +0,0 @@
1
- import { RemoteParticipantState } from "../../calling-stateful-client/src";
2
- /**
3
- * @private
4
- */
5
- export declare const checkIsSpeaking: (participant: RemoteParticipantState) => boolean;
6
- //# sourceMappingURL=SelectorUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectorUtils.d.ts","sourceRoot":"","sources":["../../../../../calling-component-bindings/src/SelectorUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,0CAA0C;AAE3E;;GAEG;AACH,eAAO,MAAM,eAAe,gBAAiB,sBAAsB,KAAG,OACtB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectorUtils.js","sourceRoot":"","sources":["../../../../../calling-component-bindings/src/SelectorUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAmC,EAAW,EAAE,CAC9E,WAAW,CAAC,UAAU,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"callUtils.d.ts","sourceRoot":"","sources":["../../../../../calling-component-bindings/src/callUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,0CAA0C;AAC3F,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;;GAIG;AACH,eAAO,MAAM,SAAS,2CAA8B,OAC0B,CAAC;AAE/E;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,eAAgB,UAAU,GAAG,SAAS,KAAG,OACD,CAAC;AAE5E;;;;;GAKG;AACH,eAAO,MAAM,YAAY,kBAAmB,kBAAkB,KAAG,OAIhE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,eAAsB,kBAAkB,KAAG,QAAQ,IAAI,CAK9F,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"callUtils.js","sourceRoot":"","sources":["../../../../../calling-component-bindings/src/callUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAKlC;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,UAAuB,EAAW,EAAE,CAC5D,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,MAAM,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAE/E;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,UAAkC,EAAW,EAAE,CACpF,CAAC,CAAC,UAAU,IAAI,CAAC,YAAY,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,aAAiC,EAAW,EAAE;IACzE,iHAAiH;IACjH,gFAAgF;IAChF,OAAO,aAAa,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,IAAI,aAAa,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC;AACzG,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAO,UAA8B,EAAiB,EAAE;IACjG,MAAM,eAAe,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;IAC5E,KAAK,MAAM,IAAI,IAAI,eAAe,EAAE;QAClC,MAAM,UAAU,CAAC,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,IAAI,CAAC,CAAC;KAC1D;AACH,CAAC,CAAA,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"videoGalleryUtils.d.ts","sourceRoot":"","sources":["../../../../../calling-component-bindings/src/videoGalleryUtils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,0CAA0C;AACnG,OAAO,EAAE,6BAA6B,EAAsB,mCAAmC;AAG/F,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,2DAA8C,SAAS,GAAG,MAAM,EAEvG,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC;;kBAM7C,6BAA6B,EAmB/B,CAAC;AAoBF,eAAe;AACf,eAAO,MAAM,uDAAuD,WAC1D,MAAM,WACL,OAAO,cACJ,OAAO;;wCAGlB,6BA8BF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"videoGalleryUtils.js","sourceRoot":"","sources":["../../../../../calling-component-bindings/src/videoGalleryUtils.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,YAAY,EAAE,6BAA6B,EAAE,gCAAgC;AAGtF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,gBAAuC,EAAwB,EAAE;;IAC3G,OAAO,MAAA,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAE,YAAY,0CAAE,GAAG,CAAC,6BAA6B,CAAC,CAAC;AAC5E,CAAC,CAAC;AAEF,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAAG,CACjD,kBAIa,EACoB,EAAE;IACnC,IAAI,CAAC,kBAAkB,EAAE;QACvB,OAAO,EAAE,CAAC;KACX;IACD,OAAO,mCAAmC,CAAC,CAAC,UAAU,EAAE,EAAE;QACxD,OAAO,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC;aACrC,MAAM,CAAC,CAAC,WAAmC,EAAE,EAAE;YAC9C,OAAO,WAAW,CAAC,KAAK,KAAK,SAAS,CAAC;QACzC,CAAC,CAAC;aACD,GAAG,CAAC,CAAC,WAAmC,EAAE,EAAE;YAC3C,OAAO,UAAU,CACf,6BAA6B,CAAC,WAAW,CAAC,UAAU,CAAC,EACrD,WAAW,CAAC,OAAO,EACnB,eAAe,CAAC,WAAW,CAAC,EAC5B,WAAW,CAAC,YAAY,EACxB,WAAW,CAAC,WAAW,CACxB,CAAC;QACJ,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AAEF,MAAM,mCAAmC,GAAG,YAAY,CACtD,CACE,MAAc,EACd,OAAgB,EAChB,UAAmB,EACnB,YAAuD,EACvD,WAAoB,EACW,EAAE;IACjC,OAAO,uDAAuD,CAC5D,MAAM,EACN,OAAO,EACP,UAAU,EACV,YAAY,EACZ,WAAW,CACZ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe;AACf,MAAM,CAAC,MAAM,uDAAuD,GAAG,CACrE,MAAc,EACd,OAAgB,EAChB,UAAmB,EACnB,YAAuD,EACvD,WAAoB,EACW,EAAE;IACjC,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IACzD,IAAI,WAAW,GAAmC,SAAS,CAAC;IAC5D,IAAI,iBAAiB,GAAmC,SAAS,CAAC;IAElE,IAAI,oBAAoB,CAAC,CAAC,CAAC,EAAE;QAC3B,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAC,eAAe,KAAK,OAAO,EAAE;YACvD,WAAW,GAAG,4CAA4C,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;SACrF;aAAM;YACL,iBAAiB,GAAG,4CAA4C,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;SAC3F;KACF;IAED,IAAI,oBAAoB,CAAC,CAAC,CAAC,EAAE;QAC3B,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAC,eAAe,KAAK,eAAe,EAAE;YAC/D,iBAAiB,GAAG,4CAA4C,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;SAC3F;aAAM;YACL,WAAW,GAAG,4CAA4C,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;SACrF;KACF;IAED,OAAO;QACL,MAAM;QACN,WAAW;QACX,OAAO;QACP,UAAU;QACV,WAAW;QACX,iBAAiB;QACjB,iBAAiB,EAAE,iBAAiB,KAAK,SAAS,IAAI,iBAAiB,CAAC,WAAW;KACpF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,4CAA4C,GAAG,CAAC,MAA8B,EAAsB,EAAE;;IAC1G,OAAO;QACL,EAAE,EAAE,MAAM,CAAC,EAAE;QACb,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,UAAU,EAAE,MAAA,MAAM,CAAC,IAAI,0CAAE,UAAU;QACnC,aAAa,EAAE,MAAA,MAAM,CAAC,IAAI,0CAAE,MAAM;KACnC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,74 +0,0 @@
1
- /**
2
- * Argument provided to the action triggered via {@link TriggerFunc} that signifies
3
- * that the action has been cancelled externally.
4
- *
5
- * See documentation for {@link useCancellableTask} for details.
6
- *
7
- * @private
8
- */
9
- export interface Cancellable {
10
- cancelled: boolean;
11
- }
12
- /**
13
- * Function returned by {@link useCancellableTask} to trigger an action that can be
14
- * externally cancelled.
15
- *
16
- * See documentation for {@link useCancellableTask} for details.
17
- *
18
- * @private
19
- */
20
- export declare type TriggerFunc = (action: (cancellable: Cancellable) => Promise<void>) => void;
21
- /**
22
- * Function returned by {@link useCancellableTask} to externally cancel an async action.
23
- *
24
- * See documentation for {@link useCancellableTask} for details.
25
- *
26
- * @private
27
- */
28
- export declare type CancelFunc = () => void;
29
- /**
30
- * A custom React hook to manage the lifecycle of a cancellable async task
31
- * cooperatively.
32
- *
33
- * This hook may be useful when a component needs to run some task
34
- * asynchronously that may need to be later cancelled.
35
- *
36
- * - Task cancellation is cooperative. The triggered action must check for task
37
- * cancellation at appropriate points and return early when cancelled.
38
- * - There can be only one task in progress at any time. Triggering a second
39
- * task cancels the previously triggered task, if it exists.
40
- *
41
- * ## Example
42
- * ```ts
43
- * const [triggerFunc, cancelFunc] = useCancellableTask();
44
- *
45
- * useEffect(() => {
46
- * // Some asynchronous task that needs to be triggered (but not waited upon).
47
- * triggerFunc(async (cancellable: Cancellable) => {
48
- * // Task cancellation is cooperative. The following blocking call is not
49
- * // cancellable (it does not take the cancellable argument at all). So
50
- * // any cancellation will only take effect once this call is await'ed.
51
- * const costlyBlockingCallReturn = await costlyBlockingCall(someArg);
52
- *
53
- * // Cooperative cancellation.
54
- * if (cancellable.cancelled) {
55
- * return;
56
- * }
57
- *
58
- * // If not cancelled, continue. The most common scenario is setting some
59
- * // state variable from the parent component.
60
- * setCostlyValue(costlyBlockingCallReturn)
61
- * });
62
- *
63
- * // There can be many reasons to cancel the task.
64
- * // In this example, the task is canceled before the useEffect runs again.
65
- * // Strictly speaking this is unnecessary because triggering another task
66
- * // would automatically cancel previously triggered task.
67
- * return () => {
68
- * cancelFunc();
69
- * }
70
- * }, [someArg]);
71
- * ```
72
- */
73
- export declare const useCancellableTask: () => [TriggerFunc, CancelFunc];
74
- //# sourceMappingURL=useCancellableTask.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCancellableTask.d.ts","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/useCancellableTask.ts"],"names":[],"mappings":"AAKA;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,oBAAY,WAAW,GAAG,CAAC,MAAM,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;AAExF;;;;;;GAMG;AACH,oBAAY,UAAU,GAAG,MAAM,IAAI,CAAC;AAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,eAAO,MAAM,kBAAkB,QAAO,CAAC,WAAW,EAAE,UAAU,CAwB7D,CAAC"}
@@ -1,85 +0,0 @@
1
- // Copyright (c) Microsoft Corporation.
2
- // Licensed under the MIT license.
3
- import { useEffect, useMemo } from 'react';
4
- /**
5
- * A custom React hook to manage the lifecycle of a cancellable async task
6
- * cooperatively.
7
- *
8
- * This hook may be useful when a component needs to run some task
9
- * asynchronously that may need to be later cancelled.
10
- *
11
- * - Task cancellation is cooperative. The triggered action must check for task
12
- * cancellation at appropriate points and return early when cancelled.
13
- * - There can be only one task in progress at any time. Triggering a second
14
- * task cancels the previously triggered task, if it exists.
15
- *
16
- * ## Example
17
- * ```ts
18
- * const [triggerFunc, cancelFunc] = useCancellableTask();
19
- *
20
- * useEffect(() => {
21
- * // Some asynchronous task that needs to be triggered (but not waited upon).
22
- * triggerFunc(async (cancellable: Cancellable) => {
23
- * // Task cancellation is cooperative. The following blocking call is not
24
- * // cancellable (it does not take the cancellable argument at all). So
25
- * // any cancellation will only take effect once this call is await'ed.
26
- * const costlyBlockingCallReturn = await costlyBlockingCall(someArg);
27
- *
28
- * // Cooperative cancellation.
29
- * if (cancellable.cancelled) {
30
- * return;
31
- * }
32
- *
33
- * // If not cancelled, continue. The most common scenario is setting some
34
- * // state variable from the parent component.
35
- * setCostlyValue(costlyBlockingCallReturn)
36
- * });
37
- *
38
- * // There can be many reasons to cancel the task.
39
- * // In this example, the task is canceled before the useEffect runs again.
40
- * // Strictly speaking this is unnecessary because triggering another task
41
- * // would automatically cancel previously triggered task.
42
- * return () => {
43
- * cancelFunc();
44
- * }
45
- * }, [someArg]);
46
- * ```
47
- */
48
- export const useCancellableTask = () => {
49
- // Memoize all internal objects and returned values so that
50
- // this hook returns referentially stable values on each render.
51
- const cancelMarker = useMemo(() => {
52
- return new CancelMarker();
53
- }, []);
54
- // Cancel any pending task when component unmounts.
55
- useEffect(() => {
56
- return cancelMarker.cancel;
57
- },
58
- // eslint-disable-next-line react-hooks/exhaustive-deps
59
- []);
60
- const response = useMemo(() => {
61
- const trigger = (action) => {
62
- const cancellable = cancelMarker.reset();
63
- action(cancellable);
64
- };
65
- return [trigger, cancelMarker.cancel];
66
- }, [cancelMarker]);
67
- return response;
68
- };
69
- class CancelMarker {
70
- constructor() {
71
- this.cancellable = null;
72
- this.cancel = () => {
73
- if (this.cancellable) {
74
- this.cancellable.cancelled = true;
75
- this.cancellable = null;
76
- }
77
- };
78
- this.reset = () => {
79
- this.cancel();
80
- this.cancellable = { cancelled: false };
81
- return this.cancellable;
82
- };
83
- }
84
- }
85
- //# sourceMappingURL=useCancellableTask.js.map