@azure/communication-react 1.16.0-alpha-202405080011 → 1.16.0-alpha-202405132302
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.
- package/dist/communication-react.d.ts +109 -117
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-MqUGJDlB.js → ChatMessageComponentAsRichTextEditBox-Vvv1aBkI.js} +23 -14
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-Vvv1aBkI.js.map +1 -0
- package/dist/dist-cjs/communication-react/{index-CY4kAQ6s.js → index-DdWRffLC.js} +742 -906
- package/dist/dist-cjs/communication-react/index-DdWRffLC.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.d.ts +74 -0
- package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +2 -0
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.d.ts +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +24 -4
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +3 -6
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +43 -26
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +0 -2
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.d.ts +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +5 -3
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/{AttachmentCard.d.ts → Attachment/AttachmentCard.d.ts} +3 -2
- package/dist/dist-esm/react-components/src/components/{AttachmentCard.js → Attachment/AttachmentCard.js} +17 -16
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{AttachmentCardGroup.js → Attachment/AttachmentCardGroup.js} +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{AttachmentDownloadCards.d.ts → Attachment/AttachmentDownloadCards.d.ts} +3 -2
- package/dist/dist-esm/react-components/src/components/{AttachmentDownloadCards.js → Attachment/AttachmentDownloadCards.js} +2 -2
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{AttachmentUploadCards.d.ts → Attachment/AttachmentUploadCards.d.ts} +3 -3
- package/dist/dist-esm/react-components/src/components/{AttachmentUploadCards.js → Attachment/AttachmentUploadCards.js} +3 -3
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +3 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +3 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.d.ts +2 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +21 -12
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +2 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts +2 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +25 -14
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +6 -3
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +31 -13
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +3 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +29 -29
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +6 -7
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +28 -28
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +30 -23
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +43 -27
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +4 -4
- package/dist/dist-esm/react-components/src/components/SendBox.js +42 -17
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +10 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +13 -13
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +28 -28
- package/dist/dist-esm/react-components/src/components/index.d.ts +6 -6
- package/dist/dist-esm/react-components/src/components/index.js +3 -3
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +4 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +2 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +27 -2
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +14 -2
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +4 -3
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +6 -5
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.js +18 -18
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +38 -19
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +18 -18
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +18 -18
- package/dist/dist-esm/react-components/src/theming/icons.js +3 -3
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/Attachment.d.ts +21 -49
- package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +7 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +57 -30
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +9 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +6 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +14 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +7 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +6 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +4 -15
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +5 -76
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -23
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +5 -11
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +22 -40
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +2 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +3 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +73 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +4 -17
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +29 -89
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +6 -19
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +0 -31
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.d.ts +66 -61
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js +33 -44
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +1 -8
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +22 -10
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +6 -6
- package/dist/dist-esm/react-composites/src/composites/common/Survey.d.ts +20 -7
- package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +1 -1
- package/package.json +5 -5
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-MqUGJDlB.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-CY4kAQ6s.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/AttachmentCard.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/AttachmentCardGroup.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.d.ts +0 -48
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js +0 -188
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.d.ts +0 -29
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js +0 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/attachmentUploadsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +0 -1
- /package/dist/dist-esm/react-components/src/components/{AttachmentCardGroup.d.ts → Attachment/AttachmentCardGroup.d.ts} +0 -0
package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"baseSelectors.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/selectors/baseSelectors.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAwBlC,OAAO,EAAa,YAAY,EAA+B,sDAA6C;AAO5G;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAsB,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;AAEjG;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAuB,EAAsB,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,EAAE,CAAA,EAAA,CAAC;AAEzF;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAuB,EAAyB,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;AAEhG;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAuB,EAAiB,EAAE,eAAC,OAAA,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,KAAK,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AAC,KAAuB,EAAwB,EAAE;;IAC3F,OAAO,MAAA,KAAK,CAAC,IAAI,0CAAE,eAAe,CAAC,wBAAwB,CAAC;AAC9D,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAW,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;AAEtF;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAuB,EAAiB,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;AAE9F;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,KAAuB,EAAsC,EAAE;;IAC9G,OAAO,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,mBAAmB,0CAAE,4BAA4B,CAAC;AACvE,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAuB,EAAyC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC;AAExH;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAuB,EAAoB,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,SAAS,CAAA,EAAA,CAAC;AAEjG,4CAA4C;AAC5C;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAuB,EAAwC,EAAE,eAC1G,OAAA,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,SAAS,0CAAE,uBAAuB,CAAA,EAAA,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { CallState as SDKCallStatus, DominantSpeakersInfo } from '@azure/communication-calling';\nimport { ParticipantCapabilities } from '@azure/communication-calling';\nimport { VideoDeviceInfo, AudioDeviceInfo } from '@azure/communication-calling';\n\nimport { CapabilitiesChangeInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { EnvironmentInfo } from '@azure/communication-calling';\n\nimport { ParticipantRole } from '@azure/communication-calling';\nimport {\n CallState,\n DeviceManagerState,\n DiagnosticsCallFeatureState,\n LocalVideoStreamState,\n RemoteParticipantState\n} from '@internal/calling-stateful-client';\nimport { CaptionsInfo } from '@internal/calling-stateful-client';\n/* @conditional-compile-remove(spotlight) */\nimport { SpotlightedParticipant } from '@azure/communication-calling';\nimport { CallAdapterState, CallCompositePage } from '../adapter/CallAdapter';\n\nimport { VideoBackgroundEffect } from '../adapter/CallAdapter';\nimport { _isInCall, _isPreviewOn, _dominantSpeakersWithFlatId } from '@internal/calling-component-bindings';\nimport { AdapterErrors } from '../../common/adapters';\nimport { RaisedHandState } from '@internal/calling-stateful-client';\nimport { CommunicationIdentifier } from '@azure/communication-common';\n/* @conditional-compile-remove(acs-close-captions) */\nimport { CaptionsKind } from '@azure/communication-calling';\n\n/**\n * @private\n */\nexport const getDisplayName = (state: CallAdapterState): string | undefined => state.displayName;\n\n/**\n * @private\n */\nexport const getCallId = (state: CallAdapterState): string | undefined => state.call?.id;\n\n/**\n * @private\n */\nexport const getEndedCall = (state: CallAdapterState): CallState | undefined => state.endedCall;\n\n/**\n * @private\n */\nexport const getCallStatus = (state: CallAdapterState): SDKCallStatus => state.call?.state ?? 'None';\n\n/**\n * @private\n */\nexport const getDeviceManager = (state: CallAdapterState): DeviceManagerState => state.devices;\n\n/**\n * @private\n */\nexport const getIsScreenShareOn = (state: CallAdapterState): boolean => state.call?.isScreenSharingOn ?? false;\n\n/**\n * @private\n */\nexport const getLocalParticipantRaisedHand = (state: CallAdapterState): RaisedHandState | undefined =>\n state.call?.raiseHand.localParticipantRaisedHand;\n\n/**\n * @private\n */\nexport const getCapabilites = (state: CallAdapterState): ParticipantCapabilities | undefined =>\n state.call?.capabilitiesFeature?.capabilities;\n\n/**\n * @private\n */\nexport const getIsPreviewCameraOn = (state: CallAdapterState): boolean => _isPreviewOn(state.devices);\n\n/**\n * @private\n */\nexport const getMicrophones = (state: CallAdapterState): AudioDeviceInfo[] => state.devices.microphones;\n\n/**\n * @private\n */\nexport const getCameras = (state: CallAdapterState): VideoDeviceInfo[] => state.devices.cameras;\n\n/**\n * @private\n */\nexport const getRole = (state: CallAdapterState): ParticipantRole | undefined => state.call?.role;\n\n/**\n * @private\n */\nexport const getPage = (state: CallAdapterState): CallCompositePage => state.page;\n\n/**\n * @private\n */\nexport const getTransferCall = (state: CallAdapterState): CallState | undefined => state.acceptedTransferCallState;\n\n/**\n * @private\n */\nexport const getLocalMicrophoneEnabled = (state: CallAdapterState): boolean => state.isLocalPreviewMicrophoneEnabled;\n\n/**\n * @private\n */\nexport const getLocalVideoStreams = (state: CallAdapterState): LocalVideoStreamState[] | undefined =>\n state.call?.localVideoStreams;\n\n/**\n * @private\n */\nexport const getIsTranscriptionActive = (state: CallAdapterState): boolean =>\n !!state.call?.transcription.isTranscriptionActive;\n\n/**\n * @private\n */\nexport const getIsRecordingActive = (state: CallAdapterState): boolean => !!state.call?.recording.isRecordingActive;\n\n/**\n * @private\n */\nexport const getUserFacingDiagnostics = (state: CallAdapterState): DiagnosticsCallFeatureState | undefined =>\n state.call?.diagnostics;\n\n/**\n * @private\n */\nexport const getDominantSpeakerInfo = (state: CallAdapterState): undefined | DominantSpeakersInfo =>\n state.call?.dominantSpeakers;\n\n/**\n * @private\n */\nexport const getRemoteParticipants = (\n state: CallAdapterState\n):\n | undefined\n | {\n [keys: string]: RemoteParticipantState;\n } => state.call?.remoteParticipants;\n\n/* @conditional-compile-remove(unsupported-browser) */\n/**\n * @private\n */\nexport const getEnvironmentInfo = (state: CallAdapterState): EnvironmentInfo | undefined => state.environmentInfo;\n\n/**\n * @private\n */\nexport const getSelectedVideoEffect = (state: CallAdapterState): VideoBackgroundEffect | undefined =>\n state.selectedVideoBackgroundEffect;\n\n/* @conditional-compile-remove(acs-close-captions) */\n/** @private */\nexport const getCaptionsKind = (state: CallAdapterState): CaptionsKind | undefined => {\n return state.call?.captionsFeature.captionsKind;\n};\n\n/** @private */\nexport const getCaptions = (state: CallAdapterState): CaptionsInfo[] | undefined => {\n return state.call?.captionsFeature.captions;\n};\n\n/** @private */\nexport const getCaptionsStatus = (state: CallAdapterState): boolean | undefined => {\n return state.call?.captionsFeature.isCaptionsFeatureActive;\n};\n\n/** @private */\nexport const getCurrentCaptionLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentCaptionLanguage;\n};\n\n/** @private */\nexport const getCurrentSpokenLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentSpokenLanguage;\n};\n\n/** @private */\nexport const getSupportedCaptionLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedCaptionLanguages;\n};\n\n/** @private */\nexport const getSupportedSpokenLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedSpokenLanguages;\n};\n\n/**\n * @private\n */\nexport const getIsTeamsCall = (state: CallAdapterState): boolean => state.isTeamsCall;\n\n/**\n * @private\n */\nexport const getLatestErrors = (state: CallAdapterState): AdapterErrors => state.latestErrors;\n\n/**\n * @private\n */\nexport const getLatestCapabilitiesChangedInfo = (state: CallAdapterState): CapabilitiesChangeInfo | undefined => {\n return state.call?.capabilitiesFeature?.latestCapabilitiesChangeInfo;\n};\n\n/**\n * @private\n */\nexport const getTargetCallees = (state: CallAdapterState): CommunicationIdentifier[] | undefined => state.targetCallees;\n\n/**\n * @private\n */\nexport const getStartTime = (state: CallAdapterState): Date | undefined => state.call?.startTime;\n\n/* @conditional-compile-remove(spotlight) */\n/**\n * @private\n */\nexport const getSpotlightedParticipants = (state: CallAdapterState): SpotlightedParticipant[] | undefined =>\n state.call?.spotlight?.spotlightedParticipants;\n"]}
|
1
|
+
{"version":3,"file":"baseSelectors.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/selectors/baseSelectors.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAwBlC,OAAO,EAAa,YAAY,EAA+B,sDAA6C;AAO5G;;GAEG;AACH,MA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AAC,KAAuB,EAAoB,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,SAAS,CAAA,EAAA,CAAC;AAEjG,4CAA4C;AAC5C;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAuB,EAAwC,EAAE,eAC1G,OAAA,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,SAAS,0CAAE,uBAAuB,CAAA,EAAA,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { CallState as SDKCallStatus, DominantSpeakersInfo } from '@azure/communication-calling';\nimport { ParticipantCapabilities } from '@azure/communication-calling';\nimport { VideoDeviceInfo, AudioDeviceInfo } from '@azure/communication-calling';\n\nimport { CapabilitiesChangeInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { EnvironmentInfo } from '@azure/communication-calling';\n\nimport { ParticipantRole } from '@azure/communication-calling';\nimport {\n CallState,\n DeviceManagerState,\n DiagnosticsCallFeatureState,\n LocalVideoStreamState,\n RemoteParticipantState\n} from '@internal/calling-stateful-client';\nimport { CaptionsInfo } from '@internal/calling-stateful-client';\n/* @conditional-compile-remove(spotlight) */\nimport { SpotlightedParticipant } from '@azure/communication-calling';\nimport { CallAdapterState, CallCompositePage } from '../adapter/CallAdapter';\n\nimport { VideoBackgroundEffect } from '../adapter/CallAdapter';\nimport { _isInCall, _isPreviewOn, _dominantSpeakersWithFlatId } from '@internal/calling-component-bindings';\nimport { AdapterErrors } from '../../common/adapters';\nimport { RaisedHandState } from '@internal/calling-stateful-client';\nimport { CommunicationIdentifier } from '@azure/communication-common';\n/* @conditional-compile-remove(acs-close-captions) */\nimport { CaptionsKind } from '@azure/communication-calling';\n\n/**\n * @private\n */\nexport const getDisplayName = (state: CallAdapterState): string | undefined => state.displayName;\n\n/**\n * @private\n */\nexport const getCallId = (state: CallAdapterState): string | undefined => state.call?.id;\n\n/**\n * @private\n */\nexport const getEndedCall = (state: CallAdapterState): CallState | undefined => state.endedCall;\n\n/**\n * @private\n */\nexport const getCallStatus = (state: CallAdapterState): SDKCallStatus => state.call?.state ?? 'None';\n\n/**\n * @private\n */\nexport const getDeviceManager = (state: CallAdapterState): DeviceManagerState => state.devices;\n\n/**\n * @private\n */\nexport const getIsScreenShareOn = (state: CallAdapterState): boolean => state.call?.isScreenSharingOn ?? false;\n\n/**\n * @private\n */\nexport const getLocalParticipantRaisedHand = (state: CallAdapterState): RaisedHandState | undefined =>\n state.call?.raiseHand.localParticipantRaisedHand;\n\n/**\n * @private\n */\nexport const getCapabilites = (state: CallAdapterState): ParticipantCapabilities | undefined =>\n state.call?.capabilitiesFeature?.capabilities;\n\n/**\n * @private\n */\nexport const getIsPreviewCameraOn = (state: CallAdapterState): boolean => _isPreviewOn(state.devices);\n\n/**\n * @private\n */\nexport const getMicrophones = (state: CallAdapterState): AudioDeviceInfo[] => state.devices.microphones;\n\n/**\n * @private\n */\nexport const getCameras = (state: CallAdapterState): VideoDeviceInfo[] => state.devices.cameras;\n\n/**\n * @private\n */\nexport const getRole = (state: CallAdapterState): ParticipantRole | undefined => state.call?.role;\n\n/**\n * @private\n */\nexport const getPage = (state: CallAdapterState): CallCompositePage => state.page;\n\n/**\n * @private\n */\nexport const getTransferCall = (state: CallAdapterState): CallState | undefined => state.acceptedTransferCallState;\n\n/**\n * @private\n */\nexport const getLocalMicrophoneEnabled = (state: CallAdapterState): boolean => state.isLocalPreviewMicrophoneEnabled;\n\n/**\n * @private\n */\nexport const getLocalVideoStreams = (state: CallAdapterState): LocalVideoStreamState[] | undefined =>\n state.call?.localVideoStreams;\n\n/**\n * @private\n */\nexport const getIsTranscriptionActive = (state: CallAdapterState): boolean =>\n !!state.call?.transcription.isTranscriptionActive;\n\n/**\n * @private\n */\nexport const getIsRecordingActive = (state: CallAdapterState): boolean => !!state.call?.recording.isRecordingActive;\n\n/**\n * @private\n */\nexport const getUserFacingDiagnostics = (state: CallAdapterState): DiagnosticsCallFeatureState | undefined =>\n state.call?.diagnostics;\n\n/**\n * @private\n */\nexport const getDominantSpeakerInfo = (state: CallAdapterState): undefined | DominantSpeakersInfo =>\n state.call?.dominantSpeakers;\n\n/**\n * @private\n */\nexport const getRemoteParticipants = (\n state: CallAdapterState\n):\n | undefined\n | {\n [keys: string]: RemoteParticipantState;\n } => state.call?.remoteParticipants;\n\n/* @conditional-compile-remove(unsupported-browser) */\n/**\n * @private\n */\nexport const getEnvironmentInfo = (state: CallAdapterState): EnvironmentInfo | undefined => state.environmentInfo;\n\n/**\n * @private\n */\nexport const getSelectedVideoEffect = (state: CallAdapterState): VideoBackgroundEffect | undefined =>\n state.selectedVideoBackgroundEffect;\n\n/* @conditional-compile-remove(acs-close-captions) */\n/** @private */\nexport const getCaptionsKind = (state: CallAdapterState): CaptionsKind | undefined => {\n return state.call?.captionsFeature.captionsKind;\n};\n\n/** @private */\nexport const getCaptions = (state: CallAdapterState): CaptionsInfo[] | undefined => {\n return state.call?.captionsFeature.captions;\n};\n\n/** @private */\nexport const getCaptionsStatus = (state: CallAdapterState): boolean | undefined => {\n return state.call?.captionsFeature.isCaptionsFeatureActive;\n};\n\n/** @private */\nexport const getCurrentCaptionLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentCaptionLanguage;\n};\n\n/** @private */\nexport const getCurrentSpokenLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentSpokenLanguage;\n};\n\n/** @private */\nexport const getSupportedCaptionLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedCaptionLanguages;\n};\n\n/** @private */\nexport const getSupportedSpokenLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedSpokenLanguages;\n};\n\n/**\n * @private\n */\nexport const getIsTeamsCall = (state: CallAdapterState): boolean => state.isTeamsCall;\n\n/**\n * @private\n */\nexport const getIsTeamsMeeting = (state: CallAdapterState): boolean => state.isTeamsMeeting;\n\n/**\n * @private\n */\nexport const getLatestErrors = (state: CallAdapterState): AdapterErrors => state.latestErrors;\n\n/**\n * @private\n */\nexport const getLatestCapabilitiesChangedInfo = (state: CallAdapterState): CapabilitiesChangeInfo | undefined => {\n return state.call?.capabilitiesFeature?.latestCapabilitiesChangeInfo;\n};\n\n/**\n * @private\n */\nexport const getTargetCallees = (state: CallAdapterState): CommunicationIdentifier[] | undefined => state.targetCallees;\n\n/**\n * @private\n */\nexport const getStartTime = (state: CallAdapterState): Date | undefined => state.call?.startTime;\n\n/* @conditional-compile-remove(spotlight) */\n/**\n * @private\n */\nexport const getSpotlightedParticipants = (state: CallAdapterState): SpotlightedParticipant[] | undefined =>\n state.call?.spotlight?.spotlightedParticipants;\n"]}
|
@@ -42,7 +42,7 @@ export declare const reduceCallControlsForMobile: (callControlOptions: CallContr
|
|
42
42
|
*/
|
43
43
|
export declare const getEndedCallPageProps: (locale: CompositeLocale, endedCall?: CallState) => {
|
44
44
|
title: string;
|
45
|
-
moreDetails?: string
|
45
|
+
moreDetails?: string;
|
46
46
|
disableStartCallButton: boolean;
|
47
47
|
iconName: keyof CallCompositeIcons;
|
48
48
|
};
|
package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts
CHANGED
@@ -2,21 +2,21 @@ import { PromptProps } from '../components/Prompt';
|
|
2
2
|
/**
|
3
3
|
* @internal
|
4
4
|
*/
|
5
|
-
export declare const useLocalSpotlightCallbacksWithPrompt: (onStartLocalSpotlight?: () => Promise<void>, onStopLocalSpotlight?: () => Promise<void>, setIsPromptOpen?: (
|
5
|
+
export declare const useLocalSpotlightCallbacksWithPrompt: (onStartLocalSpotlight?: () => Promise<void>, onStopLocalSpotlight?: () => Promise<void>, setIsPromptOpen?: (isOpen: boolean) => void, setPromptProps?: (promptProps: PromptProps) => void) => {
|
6
6
|
onStartLocalSpotlightWithPrompt?: () => Promise<void>;
|
7
7
|
onStopLocalSpotlightWithPrompt?: () => Promise<void>;
|
8
8
|
};
|
9
9
|
/**
|
10
10
|
* @internal
|
11
11
|
*/
|
12
|
-
export declare const useRemoteSpotlightCallbacksWithPrompt: (onStartRemoteSpotlight?: (
|
13
|
-
onStartRemoteSpotlightWithPrompt?: (
|
14
|
-
onStopRemoteSpotlightWithPrompt?: (
|
12
|
+
export declare const useRemoteSpotlightCallbacksWithPrompt: (onStartRemoteSpotlight?: (userIds: string[]) => Promise<void>, onStopRemoteSpotlight?: (userIds: string[]) => Promise<void>, setIsPromptOpen?: (isOpen: boolean) => void, setPromptProps?: (promptProps: PromptProps) => void) => {
|
13
|
+
onStartRemoteSpotlightWithPrompt?: (userIds: string[]) => Promise<void>;
|
14
|
+
onStopRemoteSpotlightWithPrompt?: (userIds: string[]) => Promise<void>;
|
15
15
|
};
|
16
16
|
/**
|
17
17
|
* @internal
|
18
18
|
*/
|
19
|
-
export declare const useStopAllSpotlightCallbackWithPrompt: (stopAllSpotlight?: () => Promise<void>, setIsPromptOpen?: (
|
20
|
-
stopAllSpotlightWithPrompt?: (
|
19
|
+
export declare const useStopAllSpotlightCallbackWithPrompt: (stopAllSpotlight?: () => Promise<void>, setIsPromptOpen?: (isOpen: boolean) => void, setPromptProps?: (promptProps: PromptProps) => void) => {
|
20
|
+
stopAllSpotlightWithPrompt?: (userIds?: string[]) => Promise<void>;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=spotlightUtils.d.ts.map
|
@@ -5,7 +5,7 @@ import { StartCaptionsOptions } from '@azure/communication-calling';
|
|
5
5
|
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
6
6
|
import { DtmfTone } from '@azure/communication-calling';
|
7
7
|
import { CreateVideoStreamViewResult, VideoStreamOptions } from "../../../../../react-components/src";
|
8
|
-
import {
|
8
|
+
import { MessageOptions } from "../../../../../acs-ui-common/src";
|
9
9
|
import { ParticipantsJoinedListener, ParticipantsLeftListener, IsMutedChangedListener, CallIdChangedListener, IsLocalScreenSharingActiveChangedListener, DisplayNameChangedListener, IsSpeakingChangedListener, CallAdapter, CallEndedListener } from '../../CallComposite';
|
10
10
|
import { MessageReceivedListener, MessageReadListener, ChatAdapter, ParticipantsRemovedListener, ParticipantsAddedListener, MessageEditedListener, MessageDeletedListener } from '../../ChatComposite';
|
11
11
|
import { ResourceDetails } from '../../ChatComposite';
|
@@ -109,9 +109,7 @@ export declare class AzureCommunicationCallWithChatAdapter implements CallWithCh
|
|
109
109
|
/** Fetch initial Call and Chat data such as chat messages. */
|
110
110
|
fetchInitialData(): Promise<void>;
|
111
111
|
/** Send a chat message. */
|
112
|
-
sendMessage(content: string): Promise<void>;
|
113
|
-
/** Send a chat message with attachments. */
|
114
|
-
sendMessageWithAttachments(content: string, attachments: AttachmentMetadata[]): Promise<void>;
|
112
|
+
sendMessage(content: string, options?: MessageOptions): Promise<void>;
|
115
113
|
/** Send a chat read receipt. */
|
116
114
|
sendReadReceipt(chatMessageId: string): Promise<void>;
|
117
115
|
/** Send an isTyping indicator. */
|
@@ -119,18 +117,9 @@ export declare class AzureCommunicationCallWithChatAdapter implements CallWithCh
|
|
119
117
|
/** Load previous Chat messages. */
|
120
118
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
121
119
|
/** Update an existing message. */
|
122
|
-
updateMessage(messageId: string, content: string,
|
123
|
-
attachmentMetadata?: AttachmentMetadata[];
|
124
|
-
}): Promise<void>;
|
120
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string> | /* @conditional-compile-remove(attachment-upload) */ MessageOptions): Promise<void>;
|
125
121
|
/** Delete an existing message. */
|
126
122
|
deleteMessage(messageId: string): Promise<void>;
|
127
|
-
registerActiveUploads: (files: File[]) => AttachmentUploadTask[];
|
128
|
-
registerCompletedUploads: (metadata: AttachmentMetadata[]) => AttachmentUploadTask[];
|
129
|
-
clearUploads: () => void;
|
130
|
-
cancelUpload: (id: string) => void;
|
131
|
-
updateUploadProgress: (id: string, progress: number) => void;
|
132
|
-
updateUploadStatusMessage: (id: string, errorMessage: string) => void;
|
133
|
-
updateUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
134
123
|
downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
|
135
124
|
removeResourceFromCache(resourceDetails: ResourceDetails): void;
|
136
125
|
holdCall(): Promise<void>;
|
@@ -312,7 +301,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
312
301
|
*
|
313
302
|
* @public
|
314
303
|
*/
|
315
|
-
export declare const useAzureCommunicationCallWithChatAdapter: (args: Partial<AzureCommunicationCallWithChatAdapterArgs>, afterCreate?: (
|
304
|
+
export declare const useAzureCommunicationCallWithChatAdapter: (args: Partial<AzureCommunicationCallWithChatAdapterArgs>, afterCreate?: (adapter: CallWithChatAdapter) => Promise<CallWithChatAdapter>, beforeDispose?: (adapter: CallWithChatAdapter) => Promise<void>) => CallWithChatAdapter | undefined;
|
316
305
|
/**
|
317
306
|
* Arguments for {@link createAzureCommunicationCallWithChatAdapterFromClient}
|
318
307
|
*
|
@@ -57,48 +57,6 @@ export class AzureCommunicationCallWithChatAdapter {
|
|
57
57
|
constructor(callAdapter, chatAdapter) {
|
58
58
|
this.emitter = new EventEmitter();
|
59
59
|
this.isAdapterDisposed = false;
|
60
|
-
/* @conditional-compile-remove(attachment-upload) */
|
61
|
-
this.registerActiveUploads = (files) => {
|
62
|
-
return this.executeWithResolvedChatAdapter((adapter) => {
|
63
|
-
return adapter.registerActiveUploads(files);
|
64
|
-
});
|
65
|
-
};
|
66
|
-
/* @conditional-compile-remove(attachment-upload) */
|
67
|
-
this.registerCompletedUploads = (metadata) => {
|
68
|
-
return this.executeWithResolvedChatAdapter((adapter) => {
|
69
|
-
return adapter.registerCompletedUploads(metadata);
|
70
|
-
});
|
71
|
-
};
|
72
|
-
/* @conditional-compile-remove(attachment-upload) */
|
73
|
-
this.clearUploads = () => {
|
74
|
-
this.executeWithResolvedChatAdapter((adapter) => {
|
75
|
-
adapter.clearUploads();
|
76
|
-
});
|
77
|
-
};
|
78
|
-
/* @conditional-compile-remove(attachment-upload) */
|
79
|
-
this.cancelUpload = (id) => {
|
80
|
-
this.executeWithResolvedChatAdapter((adapter) => {
|
81
|
-
adapter.cancelUpload(id);
|
82
|
-
});
|
83
|
-
};
|
84
|
-
/* @conditional-compile-remove(attachment-upload) */
|
85
|
-
this.updateUploadProgress = (id, progress) => {
|
86
|
-
this.executeWithResolvedChatAdapter((adapter) => {
|
87
|
-
adapter.updateUploadProgress(id, progress);
|
88
|
-
});
|
89
|
-
};
|
90
|
-
/* @conditional-compile-remove(attachment-upload) */
|
91
|
-
this.updateUploadStatusMessage = (id, errorMessage) => {
|
92
|
-
this.executeWithResolvedChatAdapter((adapter) => {
|
93
|
-
adapter.updateUploadStatusMessage(id, errorMessage);
|
94
|
-
});
|
95
|
-
};
|
96
|
-
/* @conditional-compile-remove(attachment-upload) */
|
97
|
-
this.updateUploadMetadata = (id, metadata) => {
|
98
|
-
this.executeWithResolvedChatAdapter((adapter) => {
|
99
|
-
adapter.updateUploadMetadata(id, metadata);
|
100
|
-
});
|
101
|
-
};
|
102
60
|
this.bindPublicMethods();
|
103
61
|
this.callAdapter = callAdapter;
|
104
62
|
this.context = new CallWithChatContext(callWithChatAdapterStateFromBackingStates(callAdapter));
|
@@ -158,8 +116,6 @@ export class AzureCommunicationCallWithChatAdapter {
|
|
158
116
|
this.disposeScreenShareStreamView.bind(this);
|
159
117
|
this.fetchInitialData.bind(this);
|
160
118
|
this.sendMessage.bind(this);
|
161
|
-
/* @conditional-compile-remove(attachment-upload) */
|
162
|
-
this.sendMessageWithAttachments.bind(this);
|
163
119
|
this.sendReadReceipt.bind(this);
|
164
120
|
this.sendTypingIndicator.bind(this);
|
165
121
|
this.loadPreviousChatMessages.bind(this);
|
@@ -167,20 +123,6 @@ export class AzureCommunicationCallWithChatAdapter {
|
|
167
123
|
this.deleteMessage.bind(this);
|
168
124
|
this.on.bind(this);
|
169
125
|
this.off.bind(this);
|
170
|
-
/* @conditional-compile-remove(attachment-upload) */
|
171
|
-
this.registerActiveUploads = this.registerActiveUploads.bind(this);
|
172
|
-
/* @conditional-compile-remove(attachment-upload) */
|
173
|
-
this.registerCompletedUploads = this.registerCompletedUploads.bind(this);
|
174
|
-
/* @conditional-compile-remove(attachment-upload) */
|
175
|
-
this.clearUploads = this.clearUploads.bind(this);
|
176
|
-
/* @conditional-compile-remove(attachment-upload) */
|
177
|
-
this.cancelUpload = this.cancelUpload.bind(this);
|
178
|
-
/* @conditional-compile-remove(attachment-upload) */
|
179
|
-
this.updateUploadProgress = this.updateUploadProgress.bind(this);
|
180
|
-
/* @conditional-compile-remove(attachment-upload) */
|
181
|
-
this.updateUploadStatusMessage = this.updateUploadStatusMessage.bind(this);
|
182
|
-
/* @conditional-compile-remove(attachment-upload) */
|
183
|
-
this.updateUploadMetadata = this.updateUploadMetadata.bind(this);
|
184
126
|
this.downloadResourceToCache = this.downloadResourceToCache.bind(this);
|
185
127
|
this.removeResourceFromCache = this.removeResourceFromCache.bind(this);
|
186
128
|
/* @conditional-compile-remove(PSTN-calls) */
|
@@ -398,24 +340,12 @@ export class AzureCommunicationCallWithChatAdapter {
|
|
398
340
|
});
|
399
341
|
}
|
400
342
|
/** Send a chat message. */
|
401
|
-
sendMessage(content
|
402
|
-
return __awaiter(this, void 0, void 0, function* () {
|
403
|
-
return yield this.executeWithResolvedChatAdapter((adapter) => {
|
404
|
-
return adapter.sendMessage(content);
|
405
|
-
});
|
406
|
-
});
|
407
|
-
}
|
343
|
+
sendMessage(content,
|
408
344
|
/* @conditional-compile-remove(attachment-upload) */
|
409
|
-
|
410
|
-
sendMessageWithAttachments(content, attachments) {
|
345
|
+
options) {
|
411
346
|
return __awaiter(this, void 0, void 0, function* () {
|
412
347
|
return yield this.executeWithResolvedChatAdapter((adapter) => {
|
413
|
-
|
414
|
-
fileSharingMetadata: JSON.stringify(attachments)
|
415
|
-
};
|
416
|
-
return adapter.sendMessage(content, {
|
417
|
-
metadata: fileSharingMetadata
|
418
|
-
});
|
348
|
+
return adapter.sendMessage(content, /* @conditional-compile-remove(attachment-upload) */ options);
|
419
349
|
});
|
420
350
|
});
|
421
351
|
}
|
@@ -444,11 +374,10 @@ export class AzureCommunicationCallWithChatAdapter {
|
|
444
374
|
});
|
445
375
|
}
|
446
376
|
/** Update an existing message. */
|
447
|
-
updateMessage(messageId, content,
|
377
|
+
updateMessage(messageId, content, options) {
|
448
378
|
return __awaiter(this, void 0, void 0, function* () {
|
449
379
|
return this.executeWithResolvedChatAdapter((adapter) => {
|
450
|
-
return adapter.updateMessage(messageId, content,
|
451
|
-
/* @conditional-compile-remove(attachment-upload) */ options);
|
380
|
+
return adapter.updateMessage(messageId, content, options);
|
452
381
|
});
|
453
382
|
});
|
454
383
|
}
|