@azure/communication-react 1.15.0-beta.2 → 1.15.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.
- package/dist/communication-react.d.ts +586 -1782
- package/dist/dist-cjs/communication-react/index.js +7510 -10404
- package/dist/dist-cjs/communication-react/index.js.map +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/baseSelectors.d.ts +11 -2
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +16 -6
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +15 -12
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +19 -21
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +5 -5
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +8 -11
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +74 -21
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +0 -10
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +14 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -15
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +3 -4
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +6 -17
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +1 -5
- package/dist/dist-esm/calling-component-bindings/src/index.js +1 -7
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +0 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +28 -12
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +3 -4
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +2 -14
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +1 -20
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +0 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +0 -12
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +13 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +31 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +8 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +42 -8
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +2 -0
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +23 -7
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +5 -6
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -2
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +97 -47
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +14 -9
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +99 -39
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +32 -0
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +3 -3
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +20 -30
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js +0 -1
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +8 -8
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.d.ts +18 -0
- package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js +49 -0
- package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +0 -11
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +16 -0
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +30 -0
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +1 -25
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -33
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +3 -3
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -5
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +1 -5
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +1 -87
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -4
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +0 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +2 -21
- package/dist/dist-esm/communication-react/src/index.js +0 -12
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentCard.d.ts +13 -19
- package/dist/dist-esm/react-components/src/components/AttachmentCard.js +65 -63
- package/dist/dist-esm/react-components/src/components/AttachmentCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.d.ts +19 -12
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js +68 -68
- package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.d.ts +7 -36
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js +22 -10
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +2 -10
- 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 +0 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -35
- 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 +1 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +4 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +4 -27
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.d.ts +15 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponentAsEditBox.js → MyMessageComponents/ChatMessageComponentAsEditBox.js} +14 -40
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +18 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +11 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +3 -26
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +5 -9
- 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 +1 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +5 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +4 -25
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +2 -2
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.d.ts +29 -0
- package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js +54 -0
- package/dist/dist-esm/react-components/src/components/Drawer/ReactionDrawerMenuItem.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Drawer/index.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/Drawer/index.js +2 -0
- package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/EndCallButton.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/EndCallButton.js +64 -57
- package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +0 -4
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -18
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +104 -5
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.d.ts +40 -0
- package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js +85 -0
- package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +1 -1
- package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -39
- package/dist/dist-esm/react-components/src/components/MessageThread.js +7 -16
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -13
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +0 -3
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +6 -23
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +56 -0
- package/dist/dist-esm/react-components/src/components/ReactionButton.js +85 -0
- package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +8 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +23 -7
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +0 -42
- package/dist/dist-esm/react-components/src/components/SendBox.js +8 -63
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.d.ts +8 -0
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +5 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +4 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.d.ts +15 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js +63 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js +144 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +18 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +8 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +11 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +51 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/reactionUtils.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/reactionUtils.js +26 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/reactionUtils.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +65 -15
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +39 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +58 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +13 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js +42 -11
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +3 -17
- package/dist/dist-esm/react-components/src/components/index.js +2 -10
- 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 +9 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +28 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +3 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +36 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +130 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.d.ts +71 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js +251 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionOverlay.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -3
- 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.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +40 -0
- 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 +1 -8
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +3 -13
- 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 +5 -5
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +3 -27
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +0 -9
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +0 -14
- 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 +3 -6
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -4
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -5
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +2 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +5 -57
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +19 -3
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +16 -2
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +16 -2
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +5 -13
- package/dist/dist-esm/react-components/src/theming/icons.js +22 -103
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/themes.js +0 -10
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/Attachment.d.ts +69 -73
- package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.d.ts +1 -1
- package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -27
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +34 -0
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ReactionTypes.d.ts +49 -1
- package/dist/dist-esm/react-components/src/types/ReactionTypes.js +2 -1
- package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/SurveyIssues.d.ts +1 -1
- package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.d.ts +1 -1
- package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +15 -6
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +10 -72
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +10 -43
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +26 -97
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +21 -77
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +47 -187
- 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 +48 -92
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +48 -33
- 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/CallControls.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +26 -39
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +8 -34
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +27 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.d.ts +83 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +58 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +99 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +16 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +40 -31
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +19 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +9 -87
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +5 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/getFirstSpotlightedRemoteParticipantSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +10 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.d.ts +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +16 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +0 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -96
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +22 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +162 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +11 -61
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +11 -34
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +47 -26
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +168 -137
- 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 +26 -53
- 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.d.ts +6 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +23 -33
- 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 +0 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +1 -31
- 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 +7 -24
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +7 -14
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +2 -34
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +20 -35
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.d.ts +19 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationAttachmentUploadAdapter.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +7 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +22 -68
- 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 +2 -13
- 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 +2 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +8 -10
- 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/{FileUpload.d.ts → AttachmentUpload.d.ts} +11 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/{FileUpload.js → AttachmentUpload.js} +13 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.d.ts +38 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/{FileUploadButton.js → AttachmentUploadButton.js} +13 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +4 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js +2 -2
- 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 +2 -4
- 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 +0 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +39 -13
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +3 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +13 -24
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +16 -0
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +13 -4
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +13 -16
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +17 -24
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +9 -16
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +15 -15
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.js +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +11 -4
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +9 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +9 -2
- package/package.json +19 -17
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +0 -45
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +0 -91
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.d.ts +0 -17
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +0 -36
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +0 -19
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +0 -91
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +0 -23
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -49
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +0 -20
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +0 -69
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +0 -43
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +0 -105
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +0 -68
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +0 -86
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +0 -39
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +0 -49
- package/dist/dist-esm/react-components/src/components/HoldButton.js +0 -25
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +0 -121
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -123
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +0 -34
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +0 -42
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +0 -18
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -550
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js +0 -17
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -69
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -92
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +0 -32
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +0 -48
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +0 -165
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts +0 -36
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.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/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-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +0 -27
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -107
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +0 -1
@@ -17,7 +17,6 @@
|
|
17
17
|
|
18
18
|
/// <reference types="react" />
|
19
19
|
|
20
|
-
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
21
20
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
21
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
23
22
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
@@ -30,7 +29,6 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
30
29
|
import { CallDirection } from '@azure/communication-calling';
|
31
30
|
import { CallEndReason } from '@azure/communication-calling';
|
32
31
|
import { CallerInfo } from '@azure/communication-calling';
|
33
|
-
import { CallKind } from '@azure/communication-calling';
|
34
32
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
35
33
|
import { CallSurvey } from '@azure/communication-calling';
|
36
34
|
import { CallSurveyResponse } from '@azure/communication-calling';
|
@@ -52,7 +50,6 @@ import { DeviceAccess } from '@azure/communication-calling';
|
|
52
50
|
import { DeviceManager } from '@azure/communication-calling';
|
53
51
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
54
52
|
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
55
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
56
53
|
import { GroupCallLocator } from '@azure/communication-calling';
|
57
54
|
import { IButtonProps } from '@fluentui/react';
|
58
55
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -60,9 +57,7 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
60
57
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
61
58
|
import { IContextualMenuProps } from '@fluentui/react';
|
62
59
|
import { IContextualMenuStyles } from '@fluentui/react';
|
63
|
-
import { ILinkStyles } from '@fluentui/react';
|
64
60
|
import { IMessageBarProps } from '@fluentui/react';
|
65
|
-
import { IncomingCall } from '@azure/communication-calling';
|
66
61
|
import { IPersonaStyleProps } from '@fluentui/react';
|
67
62
|
import { IPersonaStyles } from '@fluentui/react';
|
68
63
|
import { IRawStyle } from '@fluentui/react';
|
@@ -72,12 +67,10 @@ import { IStyleFunctionOrObject } from '@fluentui/react';
|
|
72
67
|
import { ITextFieldStyles } from '@fluentui/react';
|
73
68
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
74
69
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
75
|
-
import { LocalRecordingInfo } from '@azure/communication-calling';
|
76
70
|
import { LocalVideoStream } from '@azure/communication-calling';
|
77
71
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
78
72
|
import { MediaStreamType } from '@azure/communication-calling';
|
79
73
|
import { MicrosoftTeamsAppIdentifier } from '@azure/communication-common';
|
80
|
-
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
81
74
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
82
75
|
import { PartialTheme } from '@fluentui/react';
|
83
76
|
import { ParticipantCapabilities } from '@azure/communication-calling';
|
@@ -86,19 +79,18 @@ import { PermissionConstraints } from '@azure/communication-calling';
|
|
86
79
|
import { PersonaInitialsColor } from '@fluentui/react';
|
87
80
|
import { PersonaPresence } from '@fluentui/react';
|
88
81
|
import { PersonaSize } from '@fluentui/react';
|
89
|
-
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
90
82
|
import { PropertyChangedEvent } from '@azure/communication-calling';
|
91
83
|
import { default as React_2 } from 'react';
|
92
|
-
import {
|
84
|
+
import { Reaction as Reaction_2 } from '@azure/communication-calling';
|
85
|
+
import { ReactionMessage } from '@azure/communication-calling';
|
93
86
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
94
87
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
95
88
|
import { RoomCallLocator } from '@azure/communication-calling';
|
96
89
|
import { ScalingMode } from '@azure/communication-calling';
|
97
90
|
import { SendMessageOptions } from '@azure/communication-chat';
|
91
|
+
import { SpotlightedParticipant } from '@azure/communication-calling';
|
98
92
|
import { StartCallOptions } from '@azure/communication-calling';
|
99
93
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
100
|
-
import { TeamsCall } from '@azure/communication-calling';
|
101
|
-
import { TeamsCallAgent } from '@azure/communication-calling';
|
102
94
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
103
95
|
import { Theme } from '@fluentui/react';
|
104
96
|
import { TransferEventArgs } from '@azure/communication-calling';
|
@@ -144,38 +136,6 @@ export declare interface ActiveErrorMessage {
|
|
144
136
|
timestamp?: Date;
|
145
137
|
}
|
146
138
|
|
147
|
-
/**
|
148
|
-
* Attributes required for SendBox to show attachment uploads like name, progress etc.
|
149
|
-
* @beta
|
150
|
-
*/
|
151
|
-
export declare interface ActiveFileUpload {
|
152
|
-
/**
|
153
|
-
* Unique identifier for the file upload.
|
154
|
-
*/
|
155
|
-
id: string;
|
156
|
-
/**
|
157
|
-
* File name to be rendered for uploaded file.
|
158
|
-
*/
|
159
|
-
filename: string;
|
160
|
-
/**
|
161
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
162
|
-
* This is unrelated to the `uploadComplete` property.
|
163
|
-
* It is only used to show the progress of the upload.
|
164
|
-
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
165
|
-
* property to true to mark the upload as complete.
|
166
|
-
*/
|
167
|
-
progress: number;
|
168
|
-
/**
|
169
|
-
* Error to be displayed to the user if the upload fails.
|
170
|
-
*/
|
171
|
-
error?: SendBoxErrorBarError;
|
172
|
-
/**
|
173
|
-
* `true` means that the upload is completed.
|
174
|
-
* This is independent of the upload `progress`.
|
175
|
-
*/
|
176
|
-
uploadComplete?: boolean;
|
177
|
-
}
|
178
|
-
|
179
139
|
/**
|
180
140
|
* Error reported via error events and stored in adapter state.
|
181
141
|
*
|
@@ -242,33 +202,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
242
202
|
*/
|
243
203
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
244
204
|
|
245
|
-
/**
|
246
|
-
* Metadata containing basic information about the uploaded attachment.
|
247
|
-
*
|
248
|
-
* @beta
|
249
|
-
*/
|
250
|
-
export declare interface AttachmentMetadata {
|
251
|
-
/**
|
252
|
-
* Extension hint, useful for rendering a specific icon.
|
253
|
-
* An unknown or empty extension will be rendered as a generic icon.
|
254
|
-
* Example: `pdf`
|
255
|
-
*/
|
256
|
-
extension: string;
|
257
|
-
/**
|
258
|
-
* Unique ID of the attachment.
|
259
|
-
*/
|
260
|
-
id: string;
|
261
|
-
/**
|
262
|
-
* File name to be displayed.
|
263
|
-
*/
|
264
|
-
name: string;
|
265
|
-
/**
|
266
|
-
* Download URL for the attachment.
|
267
|
-
*/
|
268
|
-
url: string;
|
269
|
-
payload?: Record<string, string>;
|
270
|
-
}
|
271
|
-
|
272
205
|
/**
|
273
206
|
* Custom data attributes for displaying avatar for a user.
|
274
207
|
*
|
@@ -298,11 +231,6 @@ export declare type AvatarPersonaData = {
|
|
298
231
|
* @defaultvalue `white`
|
299
232
|
*/
|
300
233
|
initialsTextColor?: string;
|
301
|
-
/**
|
302
|
-
* If true, show the special coin for unknown persona.
|
303
|
-
* It has '?' in place of initials, with static font and background colors
|
304
|
-
*/
|
305
|
-
showUnknownPersonaCoin?: boolean;
|
306
234
|
};
|
307
235
|
|
308
236
|
/**
|
@@ -324,11 +252,6 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
324
252
|
displayName: string;
|
325
253
|
credential: CommunicationTokenCredential;
|
326
254
|
locator: CallAdapterLocator;
|
327
|
-
/**
|
328
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
329
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
330
|
-
*/
|
331
|
-
alternateCallerId?: string;
|
332
255
|
/**
|
333
256
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
334
257
|
*/
|
@@ -353,7 +276,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
353
276
|
displayName: string;
|
354
277
|
credential: CommunicationTokenCredential;
|
355
278
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
356
|
-
alternateCallerId?: string;
|
357
279
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
358
280
|
};
|
359
281
|
|
@@ -398,11 +320,6 @@ export declare type AzureCommunicationOutboundCallAdapterArgs = {
|
|
398
320
|
displayName: string;
|
399
321
|
credential: CommunicationTokenCredential;
|
400
322
|
targetCallees: StartCallIdentifier[];
|
401
|
-
/**
|
402
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
403
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
404
|
-
*/
|
405
|
-
alternateCallerId?: string;
|
406
323
|
/**
|
407
324
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
408
325
|
*/
|
@@ -464,156 +381,6 @@ export declare interface BaseCustomStyles {
|
|
464
381
|
root?: IStyle;
|
465
382
|
}
|
466
383
|
|
467
|
-
/**
|
468
|
-
* Content blocked message type.
|
469
|
-
*
|
470
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
471
|
-
*
|
472
|
-
* @beta
|
473
|
-
*/
|
474
|
-
export declare interface BlockedMessage extends MessageCommon {
|
475
|
-
messageType: 'blocked';
|
476
|
-
warningText?: string;
|
477
|
-
linkText?: string;
|
478
|
-
link?: string;
|
479
|
-
deletedOn?: Date;
|
480
|
-
senderId?: string;
|
481
|
-
senderDisplayName?: string;
|
482
|
-
status?: MessageStatus;
|
483
|
-
attached?: MessageAttachedStatus;
|
484
|
-
mine?: boolean;
|
485
|
-
}
|
486
|
-
|
487
|
-
/**
|
488
|
-
* @beta
|
489
|
-
* Props for BrowserPermissionDeniedIOS component.
|
490
|
-
*/
|
491
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
492
|
-
/**
|
493
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
494
|
-
*/
|
495
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
496
|
-
/**
|
497
|
-
* Link to image source.
|
498
|
-
*
|
499
|
-
* Image is inserted into the top of the component.
|
500
|
-
*/
|
501
|
-
imageSource?: string;
|
502
|
-
}
|
503
|
-
|
504
|
-
/**
|
505
|
-
* @beta
|
506
|
-
* Strings for BrowserPermissionDeniedIOS component
|
507
|
-
*/
|
508
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
509
|
-
/**
|
510
|
-
* Image alt text
|
511
|
-
*/
|
512
|
-
imageAltText: string;
|
513
|
-
/**
|
514
|
-
* Main text string.
|
515
|
-
*/
|
516
|
-
primaryText: string;
|
517
|
-
/**
|
518
|
-
* Subtext string.
|
519
|
-
*/
|
520
|
-
secondaryText: string;
|
521
|
-
/**
|
522
|
-
* Step 1 string
|
523
|
-
*/
|
524
|
-
step1Text: string;
|
525
|
-
/**
|
526
|
-
* Step 1 digit string
|
527
|
-
*/
|
528
|
-
step1DigitText: string;
|
529
|
-
/**
|
530
|
-
* Step 2 string
|
531
|
-
*/
|
532
|
-
step2Text: string;
|
533
|
-
/**
|
534
|
-
* Step 2 digit string
|
535
|
-
*/
|
536
|
-
step2DigitText: string;
|
537
|
-
/**
|
538
|
-
* Step 3 string
|
539
|
-
*/
|
540
|
-
step3Text: string;
|
541
|
-
/**
|
542
|
-
* Step 3 digit string
|
543
|
-
*/
|
544
|
-
step3DigitText: string;
|
545
|
-
/**
|
546
|
-
* Step 4 string
|
547
|
-
*/
|
548
|
-
step4Text: string;
|
549
|
-
/**
|
550
|
-
* Step 4 digit string
|
551
|
-
*/
|
552
|
-
step4DigitText: string;
|
553
|
-
}
|
554
|
-
|
555
|
-
/**
|
556
|
-
* @beta
|
557
|
-
* Props for BrowserPermissionDenied component.
|
558
|
-
*/
|
559
|
-
export declare interface BrowserPermissionDeniedProps {
|
560
|
-
/**
|
561
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
562
|
-
*/
|
563
|
-
onTroubleshootingClick?: () => void;
|
564
|
-
/**
|
565
|
-
* Action to be taken by the try again primary button.
|
566
|
-
*/
|
567
|
-
onTryAgainClick?: () => void;
|
568
|
-
/**
|
569
|
-
* Localization strings for BrowserPermissionDenied component.
|
570
|
-
*/
|
571
|
-
strings?: BrowserPermissionDeniedStrings;
|
572
|
-
/**
|
573
|
-
* Allows users to pass in an object contains custom CSS styles.
|
574
|
-
* @Example
|
575
|
-
* ```
|
576
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
577
|
-
* ```
|
578
|
-
*/
|
579
|
-
styles?: BrowserPermissionDeniedStyles;
|
580
|
-
}
|
581
|
-
|
582
|
-
/**
|
583
|
-
* @beta
|
584
|
-
* Strings for BrowserPermissionDenied component
|
585
|
-
*/
|
586
|
-
export declare interface BrowserPermissionDeniedStrings {
|
587
|
-
/**
|
588
|
-
* Main button text string.
|
589
|
-
*/
|
590
|
-
primaryButtonText: string;
|
591
|
-
/**
|
592
|
-
* Main text string.
|
593
|
-
*/
|
594
|
-
primaryText: string;
|
595
|
-
/**
|
596
|
-
* Subtext string.
|
597
|
-
*/
|
598
|
-
secondaryText: string;
|
599
|
-
/**
|
600
|
-
* More help link string.
|
601
|
-
*/
|
602
|
-
linkText: string;
|
603
|
-
}
|
604
|
-
|
605
|
-
/**
|
606
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
607
|
-
*
|
608
|
-
* @beta
|
609
|
-
*/
|
610
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
611
|
-
/** Styles for the primary button. */
|
612
|
-
primaryButton?: IButtonStyles;
|
613
|
-
/** Styles for the help troubleshooting link text. */
|
614
|
-
troubleshootingLink?: ILinkStyles;
|
615
|
-
}
|
616
|
-
|
617
384
|
/**
|
618
385
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
619
386
|
*
|
@@ -697,12 +464,6 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
697
464
|
* @public
|
698
465
|
*/
|
699
466
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
700
|
-
/**
|
701
|
-
* Start the call.
|
702
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
703
|
-
* @public
|
704
|
-
*/
|
705
|
-
startCall(participants: StartCallIdentifier[], options?: StartCallOptions): Call | undefined;
|
706
467
|
}
|
707
468
|
|
708
469
|
/**
|
@@ -765,6 +526,12 @@ export declare interface CallAdapterCallOperations {
|
|
765
526
|
* @public
|
766
527
|
*/
|
767
528
|
lowerHand(): Promise<void>;
|
529
|
+
/**
|
530
|
+
* Send reaction emoji
|
531
|
+
*
|
532
|
+
* @public
|
533
|
+
*/
|
534
|
+
onReactionClick(reaction: Reaction_2): Promise<void>;
|
768
535
|
/**
|
769
536
|
* Stop sharing the screen
|
770
537
|
*
|
@@ -779,12 +546,6 @@ export declare interface CallAdapterCallOperations {
|
|
779
546
|
* @public
|
780
547
|
*/
|
781
548
|
removeParticipant(userId: string): Promise<void>;
|
782
|
-
/**
|
783
|
-
* Remove a participant from the call.
|
784
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
785
|
-
* @beta
|
786
|
-
*/
|
787
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
788
549
|
/**
|
789
550
|
* Create the html view for a stream.
|
790
551
|
*
|
@@ -836,35 +597,12 @@ export declare interface CallAdapterCallOperations {
|
|
836
597
|
* @public
|
837
598
|
*/
|
838
599
|
disposeLocalVideoStreamView(): Promise<void>;
|
839
|
-
/**
|
840
|
-
* Holds the call.
|
841
|
-
*
|
842
|
-
* @beta
|
843
|
-
*/
|
844
|
-
holdCall(): Promise<void>;
|
845
|
-
/**
|
846
|
-
* Resumes the call from a `LocalHold` state.
|
847
|
-
*
|
848
|
-
* @beta
|
849
|
-
*/
|
850
|
-
resumeCall(): Promise<void>;
|
851
|
-
/**
|
852
|
-
* Add a participant to the call.
|
853
|
-
*
|
854
|
-
* @beta
|
855
|
-
*/
|
856
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
857
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
858
600
|
/**
|
859
601
|
* send dtmf tone to another participant in a 1:1 PSTN call
|
860
602
|
*
|
861
603
|
* @public
|
862
604
|
*/
|
863
605
|
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
864
|
-
/**
|
865
|
-
* Continues into a call when the browser version is not supported.
|
866
|
-
*/
|
867
|
-
allowUnsupportedBrowserVersion(): void;
|
868
606
|
/**
|
869
607
|
* Function to Start captions
|
870
608
|
* @param options - options for start captions
|
@@ -913,9 +651,23 @@ export declare interface CallAdapterCallOperations {
|
|
913
651
|
/**
|
914
652
|
* Send the end of call survey result
|
915
653
|
*
|
916
|
-
* @
|
654
|
+
* @public
|
917
655
|
*/
|
918
656
|
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
657
|
+
/**
|
658
|
+
* Start spotlight for local and remote participants by their user ids.
|
659
|
+
* If no array of user ids is passed then action is performed on local participant.
|
660
|
+
*/
|
661
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
662
|
+
/**
|
663
|
+
* Stop spotlight for local and remote participants by their user ids.
|
664
|
+
* If no array of user ids is passed then action is performed on local participant.
|
665
|
+
*/
|
666
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
667
|
+
/**
|
668
|
+
* Stop all spotlights
|
669
|
+
*/
|
670
|
+
stopAllSpotlight(): Promise<void>;
|
919
671
|
}
|
920
672
|
|
921
673
|
/**
|
@@ -943,14 +695,6 @@ export declare type CallAdapterClientState = {
|
|
943
695
|
* Latest error encountered for each operation performed via the adapter.
|
944
696
|
*/
|
945
697
|
latestErrors: AdapterErrors;
|
946
|
-
/**
|
947
|
-
* Azure communications Phone number to make PSTN calls with.
|
948
|
-
*/
|
949
|
-
alternateCallerId?: string;
|
950
|
-
/**
|
951
|
-
* Environment information about system the adapter is made on
|
952
|
-
*/
|
953
|
-
environmentInfo?: EnvironmentInfo;
|
954
698
|
/**
|
955
699
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
956
700
|
* control bar with the CallComposite.
|
@@ -976,6 +720,11 @@ export declare type CallAdapterClientState = {
|
|
976
720
|
* State to track the sounds to be used in the call.
|
977
721
|
*/
|
978
722
|
sounds?: CallingSounds;
|
723
|
+
/**
|
724
|
+
* State to track the reactions to be used.
|
725
|
+
* @public
|
726
|
+
*/
|
727
|
+
reactions?: ReactionResources;
|
979
728
|
};
|
980
729
|
|
981
730
|
/**
|
@@ -1060,7 +809,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1060
809
|
*
|
1061
810
|
* @public
|
1062
811
|
*/
|
1063
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator
|
812
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator;
|
1064
813
|
|
1065
814
|
/**
|
1066
815
|
* {@link CommonCallAdapter} state.
|
@@ -1165,6 +914,10 @@ export declare interface CallAdapterSubscribers {
|
|
1165
914
|
* Subscribe function for 'roleChanged' event.
|
1166
915
|
*/
|
1167
916
|
on(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
917
|
+
/**
|
918
|
+
* Subscribe function for 'spotlightChanged' event.
|
919
|
+
*/
|
920
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
1168
921
|
/**
|
1169
922
|
* Unsubscribe function for 'participantsJoined' event.
|
1170
923
|
*/
|
@@ -1241,6 +994,10 @@ export declare interface CallAdapterSubscribers {
|
|
1241
994
|
* Unsubscribe function for 'roleChanged' event.
|
1242
995
|
*/
|
1243
996
|
off(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
997
|
+
/**
|
998
|
+
* Subscribe function for 'spotlightChanged' event.
|
999
|
+
*/
|
1000
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
1244
1001
|
}
|
1245
1002
|
|
1246
1003
|
/**
|
@@ -1251,7 +1008,6 @@ export declare interface CallAdapterSubscribers {
|
|
1251
1008
|
export declare type CallAdapterUiState = {
|
1252
1009
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1253
1010
|
page: CallCompositePage;
|
1254
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1255
1011
|
};
|
1256
1012
|
|
1257
1013
|
/**
|
@@ -1270,7 +1026,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
1270
1026
|
*/
|
1271
1027
|
export declare interface CallAgentProviderProps {
|
1272
1028
|
children: React_2.ReactNode;
|
1273
|
-
callAgent?: CallAgent
|
1029
|
+
callAgent?: CallAgent;
|
1274
1030
|
}
|
1275
1031
|
|
1276
1032
|
/**
|
@@ -1295,7 +1051,7 @@ export declare interface CallAgentState {
|
|
1295
1051
|
*/
|
1296
1052
|
export declare interface CallAndChatLocator {
|
1297
1053
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1298
|
-
callLocator: GroupCallLocator
|
1054
|
+
callLocator: GroupCallLocator;
|
1299
1055
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1300
1056
|
chatThreadId: string;
|
1301
1057
|
}
|
@@ -1382,16 +1138,6 @@ export declare interface CallClientState {
|
|
1382
1138
|
* See documentation of {@Link CallErrors} for details.
|
1383
1139
|
*/
|
1384
1140
|
latestErrors: CallErrors;
|
1385
|
-
/**
|
1386
|
-
* A phone number in E.164 format that will be used to represent callers identity.
|
1387
|
-
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1388
|
-
* be used as the caller id in the PSTN call.
|
1389
|
-
*/
|
1390
|
-
alternateCallerId?: string;
|
1391
|
-
/**
|
1392
|
-
* state to track the environment that the stateful client was made in is supported
|
1393
|
-
*/
|
1394
|
-
environmentInfo?: EnvironmentInfo;
|
1395
1141
|
}
|
1396
1142
|
|
1397
1143
|
/**
|
@@ -1425,8 +1171,11 @@ export declare type CallCompositeIcons = {
|
|
1425
1171
|
ControlButtonMicProhibited?: JSX.Element;
|
1426
1172
|
ControlButtonRaiseHand?: JSX.Element;
|
1427
1173
|
ControlButtonLowerHand?: JSX.Element;
|
1174
|
+
ControlButtonExitSpotlight?: JSX.Element;
|
1428
1175
|
RaiseHandContextualMenuItem?: JSX.Element;
|
1176
|
+
ReactionContextualMenuItem?: JSX.Element;
|
1429
1177
|
LowerHandContextualMenuItem?: JSX.Element;
|
1178
|
+
ReactionButtonIcon?: JSX.Element;
|
1430
1179
|
ErrorBarCallCameraAccessDenied?: JSX.Element;
|
1431
1180
|
ErrorBarCallCameraAlreadyInUse?: JSX.Element;
|
1432
1181
|
ErrorBarCallLocalVideoFreeze?: JSX.Element;
|
@@ -1467,9 +1216,6 @@ export declare type CallCompositeIcons = {
|
|
1467
1216
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1468
1217
|
VideoTileMicOff?: JSX.Element;
|
1469
1218
|
LocalCameraSwitch?: JSX.Element;
|
1470
|
-
PeoplePaneAddPerson?: JSX.Element;
|
1471
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
1472
|
-
DialpadStartCall?: JSX.Element;
|
1473
1219
|
NoticePageInviteToRoomRemoved?: JSX.Element;
|
1474
1220
|
BlurVideoBackground?: JSX.Element;
|
1475
1221
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
@@ -1482,6 +1228,8 @@ export declare type CallCompositeIcons = {
|
|
1482
1228
|
LargeGalleryLayout?: JSX.Element;
|
1483
1229
|
DefaultCustomButton?: JSX.Element;
|
1484
1230
|
DtmfDialpadButton?: JSX.Element;
|
1231
|
+
PeoplePaneMoreButton?: JSX.Element;
|
1232
|
+
StopAllSpotlightMenuButton?: JSX.Element;
|
1485
1233
|
};
|
1486
1234
|
|
1487
1235
|
/**
|
@@ -1502,56 +1250,6 @@ export declare type CallCompositeOptions = {
|
|
1502
1250
|
* @defaultValue true
|
1503
1251
|
*/
|
1504
1252
|
callControls?: boolean | CallControlOptions;
|
1505
|
-
/**
|
1506
|
-
* Device permissions check options for your call.
|
1507
|
-
* Here you can choose what device permissions you prompt the user for,
|
1508
|
-
* as well as what device permissions must be accepted before starting a call.
|
1509
|
-
*/
|
1510
|
-
deviceChecks?: DeviceCheckOptions;
|
1511
|
-
/**
|
1512
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1513
|
-
* unable to grant your site the required permissions for the call.
|
1514
|
-
*
|
1515
|
-
* @example
|
1516
|
-
* ```ts
|
1517
|
-
* onPermissionsTroubleshootingClick: () =>
|
1518
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1519
|
-
* ```
|
1520
|
-
*
|
1521
|
-
* @remarks
|
1522
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1523
|
-
*/
|
1524
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1525
|
-
camera: PermissionState;
|
1526
|
-
microphone: PermissionState;
|
1527
|
-
}) => void;
|
1528
|
-
/**
|
1529
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1530
|
-
* having network issues when connecting to the call.
|
1531
|
-
*
|
1532
|
-
* @example
|
1533
|
-
* ```ts
|
1534
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1535
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1536
|
-
* ```
|
1537
|
-
*
|
1538
|
-
* @remarks
|
1539
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1540
|
-
*/
|
1541
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1542
|
-
/**
|
1543
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1544
|
-
*
|
1545
|
-
* @example
|
1546
|
-
* ```ts
|
1547
|
-
* onBrowserTroubleShootingClick?: () =>
|
1548
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1549
|
-
* ```
|
1550
|
-
*
|
1551
|
-
* @remarks
|
1552
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
1553
|
-
*/
|
1554
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1555
1253
|
/**
|
1556
1254
|
* Remote participant video tile menu options
|
1557
1255
|
*/
|
@@ -1644,6 +1342,16 @@ export declare type CallCompositeOptions = {
|
|
1644
1342
|
url: string;
|
1645
1343
|
};
|
1646
1344
|
};
|
1345
|
+
/**
|
1346
|
+
* Options for settings related to spotlight.
|
1347
|
+
*/
|
1348
|
+
spotlight?: {
|
1349
|
+
/**
|
1350
|
+
* Flag to hide the menu buttons to start and stop spotlight for remote participants and the local participant.
|
1351
|
+
* @defaultValue false
|
1352
|
+
*/
|
1353
|
+
hideSpotlightButtons?: boolean;
|
1354
|
+
};
|
1647
1355
|
};
|
1648
1356
|
|
1649
1357
|
/**
|
@@ -1651,7 +1359,7 @@ export declare type CallCompositeOptions = {
|
|
1651
1359
|
*
|
1652
1360
|
* @public
|
1653
1361
|
*/
|
1654
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' |
|
1362
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
|
1655
1363
|
|
1656
1364
|
/**
|
1657
1365
|
* Props for {@link CallComposite}.
|
@@ -1902,73 +1610,33 @@ export declare interface CallCompositeStrings {
|
|
1902
1610
|
*/
|
1903
1611
|
dismissSidePaneButtonLabel?: string;
|
1904
1612
|
/**
|
1905
|
-
*
|
1906
|
-
*/
|
1907
|
-
peoplePaneSubTitle: string;
|
1908
|
-
/**
|
1909
|
-
* Label for button to copy invite link
|
1910
|
-
*/
|
1911
|
-
copyInviteLinkButtonLabel: string;
|
1912
|
-
/**
|
1913
|
-
* Label for button to open dialpad
|
1914
|
-
*/
|
1915
|
-
openDialpadButtonLabel: string;
|
1916
|
-
/**
|
1917
|
-
* Label for menu item to remove participant
|
1613
|
+
* Label for menu item to start spotlight on participant
|
1918
1614
|
*/
|
1919
|
-
|
1615
|
+
startSpotlightMenuLabel: string;
|
1920
1616
|
/**
|
1921
|
-
* Label for add
|
1617
|
+
* Label for menu item to add spotlight on participant
|
1922
1618
|
*/
|
1923
|
-
|
1619
|
+
addSpotlightMenuLabel: string;
|
1924
1620
|
/**
|
1925
|
-
* Label for
|
1621
|
+
* Label for menu item to stop spotlight on participant
|
1926
1622
|
*/
|
1927
|
-
|
1623
|
+
stopSpotlightMenuLabel: string;
|
1928
1624
|
/**
|
1929
|
-
*
|
1625
|
+
* Label for menu item to stop spotlight on local user
|
1930
1626
|
*/
|
1931
|
-
|
1627
|
+
stopSpotlightOnSelfMenuLabel: string;
|
1932
1628
|
/**
|
1933
|
-
*
|
1629
|
+
* Label for menu item to stop spotlight on local user
|
1934
1630
|
*/
|
1935
|
-
|
1631
|
+
spotlightLimitReachedMenuTitle: string;
|
1936
1632
|
/**
|
1937
|
-
*
|
1633
|
+
* Label for menu item to stop all spotlight
|
1938
1634
|
*/
|
1939
|
-
|
1635
|
+
stopAllSpotlightMenuLabel: string;
|
1940
1636
|
/**
|
1941
1637
|
* label for more button in the Calling composite
|
1942
1638
|
*/
|
1943
1639
|
moreButtonCallingLabel: string;
|
1944
|
-
/**
|
1945
|
-
* Label for the resume call button on the hold pane
|
1946
|
-
*/
|
1947
|
-
resumeCallButtonLabel: string;
|
1948
|
-
/**
|
1949
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1950
|
-
*/
|
1951
|
-
resumingCallButtonLabel: string;
|
1952
|
-
/**
|
1953
|
-
* Aria label for the resume call button on the hold pane
|
1954
|
-
*/
|
1955
|
-
resumeCallButtonAriaLabel: string;
|
1956
|
-
/**
|
1957
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1958
|
-
*/
|
1959
|
-
resumingCallButtonAriaLabel: string;
|
1960
|
-
/**
|
1961
|
-
* Label for the hold pane
|
1962
|
-
*/
|
1963
|
-
holdScreenLabel: string;
|
1964
|
-
/**
|
1965
|
-
* Placeholder text for dtmf dialpad
|
1966
|
-
*/
|
1967
|
-
dtmfDialpadPlaceholderText: string;
|
1968
|
-
/**
|
1969
|
-
* Label for the button to open dtmf dialpad
|
1970
|
-
*/
|
1971
|
-
openDtmfDialpadLabel: string;
|
1972
1640
|
/**
|
1973
1641
|
* aria label for when the invite link has been actioned
|
1974
1642
|
*/
|
@@ -2041,14 +1709,6 @@ export declare interface CallCompositeStrings {
|
|
2041
1709
|
* More details text of the page shown to the user when the user attempts to join a room they are not invited to.
|
2042
1710
|
*/
|
2043
1711
|
notInvitedToRoomDetails?: string;
|
2044
|
-
/**
|
2045
|
-
* Control bar People button ToolTipContent
|
2046
|
-
*/
|
2047
|
-
peopleButtonTooltipOpen: string;
|
2048
|
-
/**
|
2049
|
-
* Control bar People button ToolTipContent
|
2050
|
-
*/
|
2051
|
-
peopleButtonTooltipClose: string;
|
2052
1712
|
/**
|
2053
1713
|
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
2054
1714
|
*/
|
@@ -2197,38 +1857,6 @@ export declare interface CallCompositeStrings {
|
|
2197
1857
|
* notice to be announced by narrator the transfer page is showing
|
2198
1858
|
*/
|
2199
1859
|
transferPageNoticeString: string;
|
2200
|
-
/**
|
2201
|
-
* Title text of the page shown to the user when target participant could not be reached
|
2202
|
-
*/
|
2203
|
-
participantCouldNotBeReachedTitle?: string;
|
2204
|
-
/**
|
2205
|
-
* More details text of the page shown to the user when target participant could not be reached
|
2206
|
-
*/
|
2207
|
-
participantCouldNotBeReachedMoreDetails?: string;
|
2208
|
-
/**
|
2209
|
-
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2210
|
-
*/
|
2211
|
-
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2212
|
-
/**
|
2213
|
-
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2214
|
-
*/
|
2215
|
-
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2216
|
-
/**
|
2217
|
-
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2218
|
-
*/
|
2219
|
-
unableToResolveTenantTitle?: string;
|
2220
|
-
/**
|
2221
|
-
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2222
|
-
*/
|
2223
|
-
unableToResolveTenantMoreDetails?: string;
|
2224
|
-
/**
|
2225
|
-
* Title text of the page shown to the user when target participant id is malformed
|
2226
|
-
*/
|
2227
|
-
participantIdIsMalformedTitle?: string;
|
2228
|
-
/**
|
2229
|
-
* More details text of the page shown to the user when target participant id is malformed
|
2230
|
-
*/
|
2231
|
-
participantIdIsMalformedMoreDetails?: string;
|
2232
1860
|
/**
|
2233
1861
|
* Controls label to move the overflow gallery around
|
2234
1862
|
*/
|
@@ -2313,10 +1941,6 @@ export declare interface CallCompositeStrings {
|
|
2313
1941
|
* Cancel button label for survey
|
2314
1942
|
*/
|
2315
1943
|
surveySkipButtonLabel: string;
|
2316
|
-
/**
|
2317
|
-
* Default text for free form text box
|
2318
|
-
*/
|
2319
|
-
surveyTextboxDefaultText: string;
|
2320
1944
|
/**
|
2321
1945
|
* Thank you text appeared on screen after survey is submitted
|
2322
1946
|
*/
|
@@ -2328,7 +1952,7 @@ export declare interface CallCompositeStrings {
|
|
2328
1952
|
/**
|
2329
1953
|
* Corresponding texts to each call category
|
2330
1954
|
*/
|
2331
|
-
|
1955
|
+
surveyIssuesHeadingStrings: SurveyIssuesHeadingStrings;
|
2332
1956
|
/**
|
2333
1957
|
* String for the dismiss control on the local and remote PIP on mobile
|
2334
1958
|
*/
|
@@ -2377,6 +2001,18 @@ export declare interface CallCompositeStrings {
|
|
2377
2001
|
* Label to hide the dtmf dialer in the more button menu
|
2378
2002
|
*/
|
2379
2003
|
dtmfDialerMoreButtonLabelOff?: string;
|
2004
|
+
/**
|
2005
|
+
* Strings for spotlight prompt
|
2006
|
+
*/
|
2007
|
+
spotlightPrompt: SpotlightPromptStrings;
|
2008
|
+
/**
|
2009
|
+
* Label for button to exit spotlight
|
2010
|
+
*/
|
2011
|
+
exitSpotlightButtonLabel: string;
|
2012
|
+
/**
|
2013
|
+
* Tooltip for button to exit spotlight
|
2014
|
+
*/
|
2015
|
+
exitSpotlightButtonTooltip: string;
|
2380
2016
|
}
|
2381
2017
|
|
2382
2018
|
/**
|
@@ -2461,7 +2097,7 @@ export declare type CallErrors = {
|
|
2461
2097
|
*
|
2462
2098
|
* @public
|
2463
2099
|
*/
|
2464
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' |
|
2100
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'VideoEffectsFeature.startEffects' | 'Call.setConstraints';
|
2465
2101
|
|
2466
2102
|
/**
|
2467
2103
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2558,23 +2194,14 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2558
2194
|
isSpeaking?: boolean;
|
2559
2195
|
/** Whether calling participant is raised hand */
|
2560
2196
|
raisedHand?: RaisedHand;
|
2561
|
-
|
2562
|
-
|
2563
|
-
|
2564
|
-
|
2565
|
-
|
2566
|
-
|
2567
|
-
|
2568
|
-
|
2569
|
-
* @example
|
2570
|
-
* ```
|
2571
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2572
|
-
* ```
|
2573
|
-
*
|
2574
|
-
* @beta
|
2575
|
-
*/
|
2576
|
-
export declare type CallParticipantsLocator = {
|
2577
|
-
participantIds: string[];
|
2197
|
+
/**
|
2198
|
+
* Whether calling participant has reacted
|
2199
|
+
*
|
2200
|
+
* @beta
|
2201
|
+
* */
|
2202
|
+
reaction?: Reaction;
|
2203
|
+
/** Whether calling participant is spotlighted **/
|
2204
|
+
spotlight?: Spotlight;
|
2578
2205
|
};
|
2579
2206
|
|
2580
2207
|
/**
|
@@ -2593,7 +2220,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2593
2220
|
*/
|
2594
2221
|
export declare interface CallProviderProps {
|
2595
2222
|
children: React_2.ReactNode;
|
2596
|
-
call?: Call
|
2223
|
+
call?: Call;
|
2597
2224
|
}
|
2598
2225
|
|
2599
2226
|
/**
|
@@ -2607,10 +2234,6 @@ export declare interface CallState {
|
|
2607
2234
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2608
2235
|
*/
|
2609
2236
|
id: string;
|
2610
|
-
/**
|
2611
|
-
* Type of the call.
|
2612
|
-
*/
|
2613
|
-
kind: CallKind;
|
2614
2237
|
/**
|
2615
2238
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2616
2239
|
*/
|
@@ -2678,13 +2301,22 @@ export declare interface CallState {
|
|
2678
2301
|
*/
|
2679
2302
|
recording: RecordingCallFeature;
|
2680
2303
|
/**
|
2681
|
-
* Proxy of {@link @azure/communication-calling#
|
2304
|
+
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
|
2305
|
+
*
|
2306
|
+
*@public
|
2682
2307
|
*/
|
2683
|
-
|
2308
|
+
pptLive: PPTLiveCallFeatureState;
|
2684
2309
|
/**
|
2685
2310
|
* Proxy of {@link @azure/communication-calling#RaiseHandCallFeature}.
|
2686
2311
|
*/
|
2687
2312
|
raiseHand: RaiseHandCallFeature;
|
2313
|
+
/**
|
2314
|
+
* Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
|
2315
|
+
* UI helper props receivedOn which indicates the timestamp when the message was received.
|
2316
|
+
*
|
2317
|
+
* @public
|
2318
|
+
*/
|
2319
|
+
localParticipantReaction?: ReactionState;
|
2688
2320
|
/**
|
2689
2321
|
* Stores the currently active screenshare participant's key. If there is no screenshare active, then this will be
|
2690
2322
|
* undefined. You can use this key to access the remoteParticipant data in {@link CallState.remoteParticipants} object.
|
@@ -2695,6 +2327,17 @@ export declare interface CallState {
|
|
2695
2327
|
* This property is added by the stateful layer and is not a proxy of SDK state
|
2696
2328
|
*/
|
2697
2329
|
screenShareRemoteParticipant?: string;
|
2330
|
+
/**
|
2331
|
+
* Stores the currently active pptlive participant's key. Will be reused by White board etc. If there is no screenshare active, then this will be
|
2332
|
+
* undefined. You can use this key to access the remoteParticipant data in {@link CallState.remoteParticipants} object.
|
2333
|
+
*
|
2334
|
+
* Note this only applies to PPTLive in RemoteParticipant.
|
2335
|
+
*
|
2336
|
+
* This property is added by the stateful layer and is not a proxy of SDK state
|
2337
|
+
*
|
2338
|
+
*@public
|
2339
|
+
*/
|
2340
|
+
contentSharingRemoteParticipant?: string;
|
2698
2341
|
/**
|
2699
2342
|
* Stores the local date when the call started on the client. This property is added by the stateful layer and is not
|
2700
2343
|
* a proxy of SDK state.
|
@@ -2713,10 +2356,6 @@ export declare interface CallState {
|
|
2713
2356
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2714
2357
|
*/
|
2715
2358
|
role?: ParticipantRole;
|
2716
|
-
/**
|
2717
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2718
|
-
*/
|
2719
|
-
totalParticipantCount?: number;
|
2720
2359
|
/**
|
2721
2360
|
* Transfer state of call
|
2722
2361
|
*/
|
@@ -2725,11 +2364,15 @@ export declare interface CallState {
|
|
2725
2364
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
2726
2365
|
*/
|
2727
2366
|
capabilitiesFeature?: CapabilitiesFeatureState;
|
2367
|
+
/**
|
2368
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature}.
|
2369
|
+
*/
|
2370
|
+
spotlight?: SpotlightCallFeatureState;
|
2728
2371
|
}
|
2729
2372
|
|
2730
2373
|
/**
|
2731
2374
|
* Represents the improvement suggestion part of call survey
|
2732
|
-
* @
|
2375
|
+
* @public
|
2733
2376
|
*/
|
2734
2377
|
export declare interface CallSurveyImprovementSuggestions {
|
2735
2378
|
/**
|
@@ -2771,12 +2414,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2771
2414
|
* @public
|
2772
2415
|
*/
|
2773
2416
|
removeParticipant(userId: string): Promise<void>;
|
2774
|
-
/**
|
2775
|
-
* Remove a participant from the call.
|
2776
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2777
|
-
* @beta
|
2778
|
-
*/
|
2779
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2780
2417
|
/**
|
2781
2418
|
* Join the call with microphone initially on/off.
|
2782
2419
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2847,7 +2484,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
2847
2484
|
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2848
2485
|
* @public
|
2849
2486
|
*/
|
2850
|
-
startCall(participants: (MicrosoftTeamsAppIdentifier |
|
2487
|
+
startCall(participants: (MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], options?: StartCallOptions): Call | undefined;
|
2851
2488
|
/**
|
2852
2489
|
* Start sharing the screen during a call.
|
2853
2490
|
*
|
@@ -2872,6 +2509,13 @@ export declare interface CallWithChatAdapterManagement {
|
|
2872
2509
|
* @public
|
2873
2510
|
*/
|
2874
2511
|
lowerHand(): Promise<void>;
|
2512
|
+
/**
|
2513
|
+
* Send Reaction to ongoing meeting.
|
2514
|
+
* @param reaction - A value of type {@link @azure/communication-calling#Reaction}
|
2515
|
+
*
|
2516
|
+
* @public
|
2517
|
+
*/
|
2518
|
+
onReactionClick(reaction: Reaction_2): Promise<void>;
|
2875
2519
|
/**
|
2876
2520
|
* Create the html view for a stream.
|
2877
2521
|
*
|
@@ -3037,53 +2681,16 @@ export declare interface CallWithChatAdapterManagement {
|
|
3037
2681
|
* @public
|
3038
2682
|
*/
|
3039
2683
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3040
|
-
/** @beta */
|
3041
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
3042
|
-
/** @beta */
|
3043
|
-
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
3044
|
-
/** @beta */
|
3045
|
-
clearFileUploads: () => void;
|
3046
|
-
/** @beta */
|
3047
|
-
cancelFileUpload: (id: string) => void;
|
3048
|
-
/** @beta */
|
3049
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
3050
|
-
/** @beta */
|
3051
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
3052
|
-
/** @beta */
|
3053
|
-
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
3054
2684
|
/** @public */
|
3055
2685
|
downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
|
3056
2686
|
/** @public */
|
3057
2687
|
removeResourceFromCache(resourceDetails: ResourceDetails): void;
|
3058
|
-
/**
|
3059
|
-
* Puts the Call in a Localhold.
|
3060
|
-
*
|
3061
|
-
* @beta
|
3062
|
-
*/
|
3063
|
-
holdCall: () => Promise<void>;
|
3064
|
-
/**
|
3065
|
-
* Resumes the call from a LocalHold state.
|
3066
|
-
*
|
3067
|
-
* @beta
|
3068
|
-
*/
|
3069
|
-
resumeCall: () => Promise<void>;
|
3070
|
-
/**
|
3071
|
-
* Adds a new Participant to the call.
|
3072
|
-
*
|
3073
|
-
* @beta
|
3074
|
-
*/
|
3075
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
3076
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
3077
2688
|
/**
|
3078
2689
|
* send dtmf tone to another participant in the call in 1:1 calls
|
3079
2690
|
*
|
3080
2691
|
* @public
|
3081
2692
|
*/
|
3082
2693
|
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3083
|
-
/**
|
3084
|
-
* Continues into a call when the browser version is not supported.
|
3085
|
-
*/
|
3086
|
-
allowUnsupportedBrowserVersion(): void;
|
3087
2694
|
/**
|
3088
2695
|
* Function to Start captions
|
3089
2696
|
* @param options - options for start captions
|
@@ -3132,9 +2739,21 @@ export declare interface CallWithChatAdapterManagement {
|
|
3132
2739
|
/**
|
3133
2740
|
* Send the end of call survey result
|
3134
2741
|
*
|
3135
|
-
* @
|
2742
|
+
* @public
|
3136
2743
|
*/
|
3137
2744
|
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
2745
|
+
/**
|
2746
|
+
* Start spotlight
|
2747
|
+
*/
|
2748
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
2749
|
+
/**
|
2750
|
+
* Stop spotlight
|
2751
|
+
*/
|
2752
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
2753
|
+
/**
|
2754
|
+
* Stop all spotlights
|
2755
|
+
*/
|
2756
|
+
stopAllSpotlight(): Promise<void>;
|
3138
2757
|
}
|
3139
2758
|
|
3140
2759
|
/**
|
@@ -3167,6 +2786,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
3167
2786
|
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
3168
2787
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
3169
2788
|
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
2789
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
3170
2790
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
3171
2791
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
3172
2792
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -3183,6 +2803,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
3183
2803
|
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
3184
2804
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
3185
2805
|
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
2806
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
3186
2807
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
3187
2808
|
on(event: 'messageEdited', listener: MessageEditedListener): void;
|
3188
2809
|
on(event: 'messageDeleted', listener: MessageDeletedListener): void;
|
@@ -3219,22 +2840,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
3219
2840
|
* @public
|
3220
2841
|
*/
|
3221
2842
|
page: CallCompositePage;
|
3222
|
-
/**
|
3223
|
-
* Files being uploaded by a user in the current thread.
|
3224
|
-
* Should be set to null once the upload is complete.
|
3225
|
-
* Array of type {@link FileUploadsUiState}
|
3226
|
-
*
|
3227
|
-
* @beta
|
3228
|
-
*/
|
3229
|
-
fileUploads?: FileUploadsUiState;
|
3230
|
-
/**
|
3231
|
-
* State to track whether the end user has opted in to using a
|
3232
|
-
* out of date version of a supported browser. Allows the user
|
3233
|
-
* to start a call in this state.
|
3234
|
-
*
|
3235
|
-
* @beta
|
3236
|
-
*/
|
3237
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
3238
2843
|
}
|
3239
2844
|
|
3240
2845
|
/**
|
@@ -3259,16 +2864,16 @@ export declare interface CallWithChatClientState {
|
|
3259
2864
|
devices: DeviceManagerState;
|
3260
2865
|
/** State of whether the active call is a Teams interop call */
|
3261
2866
|
isTeamsCall: boolean;
|
3262
|
-
/** alternateCallerId for PSTN call */
|
3263
|
-
alternateCallerId?: string | undefined;
|
3264
|
-
/** Environment information for system adapter is made on */
|
3265
|
-
environmentInfo?: EnvironmentInfo;
|
3266
2867
|
/** Default set of background images for background replacement effect */
|
3267
2868
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3268
2869
|
/** Dependency to be injected for video background effects */
|
3269
2870
|
onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
3270
2871
|
/** State to track the selected video background effect */
|
3271
2872
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
2873
|
+
/**
|
2874
|
+
* Reaction resources to render in meetings
|
2875
|
+
* */
|
2876
|
+
reactions?: ReactionResources;
|
3272
2877
|
}
|
3273
2878
|
|
3274
2879
|
/**
|
@@ -3337,9 +2942,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
3337
2942
|
ParticipantItemScreenShareStart?: JSX.Element;
|
3338
2943
|
VideoTileMicOff?: JSX.Element;
|
3339
2944
|
LocalCameraSwitch?: JSX.Element;
|
3340
|
-
PeoplePaneAddPerson?: JSX.Element;
|
3341
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
3342
|
-
DialpadStartCall?: JSX.Element;
|
3343
2945
|
DefaultCustomButton?: JSX.Element;
|
3344
2946
|
DtmfDialpadButton?: JSX.Element;
|
3345
2947
|
EditBoxCancel?: JSX.Element;
|
@@ -3355,6 +2957,8 @@ export declare type CallWithChatCompositeIcons = {
|
|
3355
2957
|
SendBoxAttachFile?: JSX.Element;
|
3356
2958
|
ParticipantItemOptions?: JSX.Element;
|
3357
2959
|
ParticipantItemOptionsHovered?: JSX.Element;
|
2960
|
+
PeoplePaneMoreButton?: JSX.Element;
|
2961
|
+
StopAllSpotlightMenuButton?: JSX.Element;
|
3358
2962
|
};
|
3359
2963
|
|
3360
2964
|
/**
|
@@ -3368,62 +2972,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
3368
2972
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
3369
2973
|
*/
|
3370
2974
|
callControls?: boolean | CallWithChatControlOptions;
|
3371
|
-
/**
|
3372
|
-
* Properties for configuring the File Sharing feature.
|
3373
|
-
* If undefined, file sharing feature will be disabled.
|
3374
|
-
* @beta
|
3375
|
-
*/
|
3376
|
-
fileSharing?: FileSharingOptions;
|
3377
|
-
/**
|
3378
|
-
* Device permissions check options for your call.
|
3379
|
-
* Here you can choose what device permissions you prompt the user for,
|
3380
|
-
* as well as what device permissions must be accepted before starting a call.
|
3381
|
-
*/
|
3382
|
-
deviceChecks?: DeviceCheckOptions;
|
3383
|
-
/**
|
3384
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3385
|
-
* unable to grant your site the required permissions for the call.
|
3386
|
-
*
|
3387
|
-
* @example
|
3388
|
-
* ```ts
|
3389
|
-
* onPermissionsTroubleshootingClick: () =>
|
3390
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3391
|
-
* ```
|
3392
|
-
*
|
3393
|
-
* @remarks
|
3394
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3395
|
-
*/
|
3396
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3397
|
-
camera: PermissionState;
|
3398
|
-
microphone: PermissionState;
|
3399
|
-
}) => void;
|
3400
|
-
/**
|
3401
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
3402
|
-
* experienced when connecting to a call.
|
3403
|
-
*
|
3404
|
-
* @example
|
3405
|
-
* ```ts
|
3406
|
-
* onNetworkingTroubleShootingClick?: () =>
|
3407
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3408
|
-
* ```
|
3409
|
-
*
|
3410
|
-
* @remarks
|
3411
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3412
|
-
*/
|
3413
|
-
onNetworkingTroubleShootingClick?: () => void;
|
3414
|
-
/**
|
3415
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3416
|
-
*
|
3417
|
-
* @example
|
3418
|
-
* ```ts
|
3419
|
-
* onBrowserTroubleShootingClick?: () =>
|
3420
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3421
|
-
* ```
|
3422
|
-
*
|
3423
|
-
* @remarks
|
3424
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
3425
|
-
*/
|
3426
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
3427
2975
|
/**
|
3428
2976
|
* Remote participant video tile menu options
|
3429
2977
|
*/
|
@@ -3516,6 +3064,16 @@ export declare type CallWithChatCompositeOptions = {
|
|
3516
3064
|
url: string;
|
3517
3065
|
};
|
3518
3066
|
};
|
3067
|
+
/**
|
3068
|
+
* Options for settings related to spotlight.
|
3069
|
+
*/
|
3070
|
+
spotlight?: {
|
3071
|
+
/**
|
3072
|
+
* Flag to hide the menu buttons to start and stop spotlight for remote participants and the local participant.
|
3073
|
+
* @defaultValue false
|
3074
|
+
*/
|
3075
|
+
hideSpotlightButtons?: boolean;
|
3076
|
+
};
|
3519
3077
|
};
|
3520
3078
|
|
3521
3079
|
/**
|
@@ -3667,10 +3225,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3667
3225
|
* Label for button to copy invite link
|
3668
3226
|
*/
|
3669
3227
|
copyInviteLinkButtonLabel: string;
|
3670
|
-
/**
|
3671
|
-
* Label for button to open dialpad
|
3672
|
-
*/
|
3673
|
-
openDialpadButtonLabel: string;
|
3674
3228
|
/**
|
3675
3229
|
* Label for SidePaneHeader dismiss button
|
3676
3230
|
*/
|
@@ -3683,34 +3237,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3683
3237
|
* Aria label string for return to call back button
|
3684
3238
|
*/
|
3685
3239
|
returnToCallButtonAriaLabel?: string;
|
3686
|
-
/**
|
3687
|
-
* Label for add people dropdown
|
3688
|
-
*/
|
3689
|
-
peoplePaneAddPeopleButtonLabel: string;
|
3690
|
-
/**
|
3691
|
-
* Label for button to start a call
|
3692
|
-
*/
|
3693
|
-
dialpadStartCallButtonLabel: string;
|
3694
|
-
/**
|
3695
|
-
* Title for dialpad Modal
|
3696
|
-
*/
|
3697
|
-
dialpadModalTitle: string;
|
3698
|
-
/**
|
3699
|
-
* Aria Label for dialpad Modal
|
3700
|
-
*/
|
3701
|
-
dialpadModalAriaLabel: string;
|
3702
|
-
/**
|
3703
|
-
* Aria Label for dialpad Modal close button
|
3704
|
-
*/
|
3705
|
-
dialpadCloseModalButtonAriaLabel: string;
|
3706
|
-
/**
|
3707
|
-
* Placeholder text for dtmf dialpad
|
3708
|
-
*/
|
3709
|
-
dtmfDialpadPlaceholderText: string;
|
3710
|
-
/**
|
3711
|
-
* Label for the button to open dtmf dialpad
|
3712
|
-
*/
|
3713
|
-
openDtmfDialpadLabel: string;
|
3714
3240
|
/**
|
3715
3241
|
* aria label for when the invite link has been actioned
|
3716
3242
|
*/
|
@@ -3727,9 +3253,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3727
3253
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
3728
3254
|
* @defaultValue true
|
3729
3255
|
*/
|
3730
|
-
chatButton?: boolean
|
3731
|
-
disabled: boolean;
|
3732
|
-
};
|
3256
|
+
chatButton?: boolean;
|
3733
3257
|
}
|
3734
3258
|
|
3735
3259
|
/**
|
@@ -3737,36 +3261,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3737
3261
|
*
|
3738
3262
|
* @public
|
3739
3263
|
*/
|
3740
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(
|
3741
|
-
|
3742
|
-
/**
|
3743
|
-
* @beta
|
3744
|
-
*
|
3745
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3746
|
-
* by their browsers settings.
|
3747
|
-
*/
|
3748
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3749
|
-
|
3750
|
-
/**
|
3751
|
-
* @beta
|
3752
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
3753
|
-
*/
|
3754
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3755
|
-
/** Icon name for the camera icon */
|
3756
|
-
cameraIconName?: string;
|
3757
|
-
/** Icon name for the microphone icon */
|
3758
|
-
microphoneIconName?: string;
|
3759
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
3760
|
-
connectorIconName?: string;
|
3761
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3762
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3763
|
-
}
|
3764
|
-
|
3765
|
-
/**
|
3766
|
-
* @beta
|
3767
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3768
|
-
*/
|
3769
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3264
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | 'capabilitiesChanged' | /* @conditional-compile-remove(spotlight) */ 'spotlightChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3770
3265
|
|
3771
3266
|
/**
|
3772
3267
|
* A button to turn camera on / off.
|
@@ -3924,31 +3419,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3924
3419
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3925
3420
|
}
|
3926
3421
|
|
3927
|
-
/**
|
3928
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3929
|
-
* by their browsers settings.
|
3930
|
-
*
|
3931
|
-
* @beta
|
3932
|
-
*/
|
3933
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3934
|
-
|
3935
|
-
/**
|
3936
|
-
* @beta
|
3937
|
-
* Props for CameraSitePermissions component.
|
3938
|
-
*/
|
3939
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3940
|
-
/** Icon name for the camera icon */
|
3941
|
-
cameraIconName?: string;
|
3942
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3943
|
-
strings?: CameraSitePermissionsStrings;
|
3944
|
-
}
|
3945
|
-
|
3946
|
-
/**
|
3947
|
-
* @beta
|
3948
|
-
* Strings for CameraSitePermissions component.
|
3949
|
-
*/
|
3950
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3951
|
-
|
3952
3422
|
/**
|
3953
3423
|
* @public
|
3954
3424
|
* Callback function run when a message edit is cancelled.
|
@@ -4154,7 +3624,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
4154
3624
|
*
|
4155
3625
|
* @public
|
4156
3626
|
*/
|
4157
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers
|
3627
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
|
4158
3628
|
|
4159
3629
|
/**
|
4160
3630
|
* {@link ChatAdapter} state.
|
@@ -4278,9 +3748,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
4278
3748
|
/**
|
4279
3749
|
* Update a message content.
|
4280
3750
|
*/
|
4281
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
4282
|
-
attachmentMetadata?: AttachmentMetadata[];
|
4283
|
-
}): Promise<void>;
|
3751
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
4284
3752
|
/**
|
4285
3753
|
* Delete a message in the thread.
|
4286
3754
|
*/
|
@@ -4310,20 +3778,13 @@ export declare interface ChatAdapterThreadManagement {
|
|
4310
3778
|
*/
|
4311
3779
|
export declare type ChatAdapterUiState = {
|
4312
3780
|
error?: Error;
|
4313
|
-
/**
|
4314
|
-
* Files being uploaded by a user in the current thread.
|
4315
|
-
* Should be set to null once the upload is complete.
|
4316
|
-
* Array of type {@link FileUploadsUiState}
|
4317
|
-
* @beta
|
4318
|
-
*/
|
4319
|
-
fileUploads?: FileUploadsUiState;
|
4320
3781
|
};
|
4321
3782
|
|
4322
3783
|
/**
|
4323
3784
|
* Represents the type of attachment
|
4324
3785
|
* @public
|
4325
3786
|
*/
|
4326
|
-
export declare type ChatAttachmentType = 'unknown' | 'image'
|
3787
|
+
export declare type ChatAttachmentType = 'unknown' | 'image';
|
4327
3788
|
|
4328
3789
|
/**
|
4329
3790
|
* Common props for selectors for {@link ChatClientState}.
|
@@ -4425,7 +3886,6 @@ export declare type ChatCompositeIcons = {
|
|
4425
3886
|
ParticipantItemOptionsHovered?: JSX.Element;
|
4426
3887
|
SendBoxSend?: JSX.Element;
|
4427
3888
|
SendBoxSendHovered?: JSX.Element;
|
4428
|
-
SendBoxAttachFile?: JSX.Element;
|
4429
3889
|
};
|
4430
3890
|
|
4431
3891
|
/**
|
@@ -4440,13 +3900,6 @@ export declare type ChatCompositeOptions = {
|
|
4440
3900
|
* @defaultValue true
|
4441
3901
|
*/
|
4442
3902
|
errorBar?: boolean;
|
4443
|
-
/**
|
4444
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4445
|
-
* @defaultValue false
|
4446
|
-
*
|
4447
|
-
* @beta
|
4448
|
-
*/
|
4449
|
-
participantPane?: boolean;
|
4450
3903
|
/**
|
4451
3904
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
4452
3905
|
* @defaultValue true
|
@@ -4457,12 +3910,6 @@ export declare type ChatCompositeOptions = {
|
|
4457
3910
|
* When undefined nothing has focus on render
|
4458
3911
|
*/
|
4459
3912
|
autoFocus?: 'sendBoxTextField';
|
4460
|
-
/**
|
4461
|
-
* Properties for configuring the File Sharing feature.
|
4462
|
-
* If undefined, file sharing feature will be disabled.
|
4463
|
-
* @beta
|
4464
|
-
*/
|
4465
|
-
fileSharing?: FileSharingOptions;
|
4466
3913
|
};
|
4467
3914
|
|
4468
3915
|
/**
|
@@ -4490,12 +3937,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
4490
3937
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
4491
3938
|
*/
|
4492
3939
|
options?: ChatCompositeOptions;
|
4493
|
-
/**
|
4494
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
4495
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4496
|
-
* @defaultValue 'desktop'
|
4497
|
-
*/
|
4498
|
-
formFactor?: 'desktop' | 'mobile';
|
4499
3940
|
}
|
4500
3941
|
|
4501
3942
|
/**
|
@@ -4510,10 +3951,6 @@ export declare interface ChatCompositeStrings {
|
|
4510
3951
|
* Chat list header text
|
4511
3952
|
*/
|
4512
3953
|
chatListHeader: string;
|
4513
|
-
/**
|
4514
|
-
* Upload File Button text
|
4515
|
-
*/
|
4516
|
-
uploadFile: string;
|
4517
3954
|
}
|
4518
3955
|
|
4519
3956
|
/**
|
@@ -4562,7 +3999,7 @@ export declare type ChatErrors = {
|
|
4562
3999
|
*
|
4563
4000
|
* @public
|
4564
4001
|
*/
|
4565
|
-
export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' |
|
4002
|
+
export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | 'ChatThreadClient.updateTopic';
|
4566
4003
|
|
4567
4004
|
/**
|
4568
4005
|
* Object containing all the handlers required for chat components.
|
@@ -4579,10 +4016,7 @@ export declare type ChatHandlers = {
|
|
4579
4016
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
4580
4017
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
4581
4018
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
4582
|
-
onUpdateMessage: (messageId: string, content: string
|
4583
|
-
metadata?: Record<string, string>;
|
4584
|
-
attachmentMetadata?: AttachmentMetadata[];
|
4585
|
-
}) => Promise<void>;
|
4019
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
4586
4020
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
4587
4021
|
};
|
4588
4022
|
|
@@ -4609,12 +4043,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4609
4043
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
4610
4044
|
*/
|
4611
4045
|
metadata?: Record<string, string>;
|
4612
|
-
/**
|
4613
|
-
* @beta
|
4614
|
-
* A list of file attachments for the message.
|
4615
|
-
* {@link AttachmentMetadata}
|
4616
|
-
*/
|
4617
|
-
files?: AttachmentMetadata[];
|
4618
4046
|
}
|
4619
4047
|
|
4620
4048
|
/**
|
@@ -4628,7 +4056,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4628
4056
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
4629
4057
|
clientMessageId?: string;
|
4630
4058
|
status: MessageStatus;
|
4631
|
-
policyViolation?: boolean;
|
4632
4059
|
resourceCache?: Record<string, ResourceFetchResult>;
|
4633
4060
|
};
|
4634
4061
|
|
@@ -4795,16 +4222,15 @@ export declare type CommonCallAdapterOptions = {
|
|
4795
4222
|
videoBackgroundImages?: VideoBackgroundImage[];
|
4796
4223
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
4797
4224
|
};
|
4798
|
-
/**
|
4799
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4800
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4801
|
-
* and would not be updated again within the lifecycle of adapter.
|
4802
|
-
*/
|
4803
|
-
onFetchProfile?: OnFetchProfileCallback;
|
4804
4225
|
/**
|
4805
4226
|
* Sounds to use for calling events
|
4806
4227
|
*/
|
4807
4228
|
callingSounds?: CallingSounds;
|
4229
|
+
/**
|
4230
|
+
* Reaction resource for reaction resources
|
4231
|
+
* @beta
|
4232
|
+
*/
|
4233
|
+
reactionResources?: ReactionResources;
|
4808
4234
|
};
|
4809
4235
|
|
4810
4236
|
/**
|
@@ -4827,9 +4253,7 @@ export declare type CommonCallControlOptions = {
|
|
4827
4253
|
* Show or Hide Camera Button during a call
|
4828
4254
|
* @defaultValue true
|
4829
4255
|
*/
|
4830
|
-
cameraButton?: boolean
|
4831
|
-
disabled: boolean;
|
4832
|
-
};
|
4256
|
+
cameraButton?: boolean;
|
4833
4257
|
/**
|
4834
4258
|
* Show or Hide EndCall button during a call.
|
4835
4259
|
* @defaultValue true
|
@@ -4839,16 +4263,12 @@ export declare type CommonCallControlOptions = {
|
|
4839
4263
|
* Show or Hide Microphone button during a call.
|
4840
4264
|
* @defaultValue true
|
4841
4265
|
*/
|
4842
|
-
microphoneButton?: boolean
|
4843
|
-
disabled: boolean;
|
4844
|
-
};
|
4266
|
+
microphoneButton?: boolean;
|
4845
4267
|
/**
|
4846
4268
|
* Show or Hide Devices button during a call.
|
4847
4269
|
* @defaultValue true
|
4848
4270
|
*/
|
4849
|
-
devicesButton?: boolean
|
4850
|
-
disabled: boolean;
|
4851
|
-
};
|
4271
|
+
devicesButton?: boolean;
|
4852
4272
|
/**
|
4853
4273
|
* Show, Hide or Disable participants button during a call.
|
4854
4274
|
* @defaultValue true
|
@@ -4876,25 +4296,31 @@ export declare type CommonCallControlOptions = {
|
|
4876
4296
|
disabled: boolean;
|
4877
4297
|
};
|
4878
4298
|
/**
|
4879
|
-
*
|
4299
|
+
* Show, Hide or Disable the reaction button during a call.
|
4300
|
+
* @defaultValue true
|
4880
4301
|
*/
|
4881
|
-
|
4882
|
-
holdButton?: boolean | {
|
4302
|
+
reactionButton?: boolean | {
|
4883
4303
|
disabled: boolean;
|
4884
4304
|
};
|
4305
|
+
/**
|
4306
|
+
* Inject custom buttons in the call controls.
|
4307
|
+
*/
|
4308
|
+
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4885
4309
|
/**
|
4886
4310
|
* Show or hide the people button in the composite control bar.
|
4887
4311
|
* @defaultValue true
|
4888
4312
|
*/
|
4889
|
-
peopleButton?: boolean
|
4890
|
-
disabled: boolean;
|
4891
|
-
};
|
4313
|
+
peopleButton?: boolean;
|
4892
4314
|
/**
|
4893
4315
|
* Show or hide the dialpad button in the composite control bar.
|
4894
4316
|
*/
|
4895
4317
|
dtmfDialerButton?: boolean | {
|
4896
4318
|
disabled: boolean;
|
4897
4319
|
};
|
4320
|
+
/**
|
4321
|
+
* Show or hide the exit spotlight button in the composite control bar when local participant is spotlighted.
|
4322
|
+
*/
|
4323
|
+
exitSpotlightButton?: boolean;
|
4898
4324
|
};
|
4899
4325
|
|
4900
4326
|
/**
|
@@ -4919,9 +4345,7 @@ export declare interface CommonCallingHandlers {
|
|
4919
4345
|
onRaiseHand: () => Promise<void>;
|
4920
4346
|
onLowerHand: () => Promise<void>;
|
4921
4347
|
onToggleRaiseHand: () => Promise<void>;
|
4922
|
-
|
4923
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4924
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4348
|
+
onReactionClick: (reaction: Reaction_2) => Promise<void>;
|
4925
4349
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4926
4350
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4927
4351
|
/**
|
@@ -4933,8 +4357,6 @@ export declare interface CommonCallingHandlers {
|
|
4933
4357
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4934
4358
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4935
4359
|
onRemoveParticipant(userId: string): Promise<void>;
|
4936
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4937
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4938
4360
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
4939
4361
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4940
4362
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -4944,6 +4366,9 @@ export declare interface CommonCallingHandlers {
|
|
4944
4366
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
4945
4367
|
onSetCaptionLanguage: (language: string) => Promise<void>;
|
4946
4368
|
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
4369
|
+
onStartSpotlight: (userIds?: string[]) => Promise<void>;
|
4370
|
+
onStopSpotlight: (userIds?: string[]) => Promise<void>;
|
4371
|
+
onStopAllSpotlight: () => Promise<void>;
|
4947
4372
|
}
|
4948
4373
|
|
4949
4374
|
/**
|
@@ -4955,39 +4380,6 @@ export declare type CommonProperties<A, B> = {
|
|
4955
4380
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4956
4381
|
}[keyof A & keyof B];
|
4957
4382
|
|
4958
|
-
/**
|
4959
|
-
* @beta
|
4960
|
-
* Props for SitePermissions components.
|
4961
|
-
*/
|
4962
|
-
export declare interface CommonSitePermissionsProps {
|
4963
|
-
/**
|
4964
|
-
* Name of application calling experience is in.
|
4965
|
-
*/
|
4966
|
-
appName: string;
|
4967
|
-
/**
|
4968
|
-
* Kind of the Site Permissions component.
|
4969
|
-
*/
|
4970
|
-
kind: 'request' | 'denied' | 'check';
|
4971
|
-
/**
|
4972
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4973
|
-
*/
|
4974
|
-
browserHint?: 'safari' | 'unset';
|
4975
|
-
/**
|
4976
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4977
|
-
* If this is not provided the button will not be shown.
|
4978
|
-
*/
|
4979
|
-
onTroubleshootingClick?: () => void;
|
4980
|
-
/**
|
4981
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4982
|
-
* If this is not provided the button will not be shown.
|
4983
|
-
*/
|
4984
|
-
onContinueAnywayClick?: () => void;
|
4985
|
-
/**
|
4986
|
-
* Styles for SitePermissions component.
|
4987
|
-
*/
|
4988
|
-
styles?: SitePermissionsStyles;
|
4989
|
-
}
|
4990
|
-
|
4991
4383
|
/**
|
4992
4384
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4993
4385
|
*
|
@@ -5164,11 +4556,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
5164
4556
|
export declare interface ComponentLocale {
|
5165
4557
|
/** Strings for components */
|
5166
4558
|
strings: ComponentStrings;
|
5167
|
-
/**
|
5168
|
-
* Optional function to provide customized date format.
|
5169
|
-
* @beta
|
5170
|
-
*/
|
5171
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
5172
4559
|
}
|
5173
4560
|
|
5174
4561
|
/**
|
@@ -5210,12 +4597,14 @@ export declare interface ComponentStrings {
|
|
5210
4597
|
screenShareButton: ScreenShareButtonStrings;
|
5211
4598
|
/** Strings for RaiseHandButton */
|
5212
4599
|
raiseHandButton: RaiseHandButtonStrings;
|
4600
|
+
/**
|
4601
|
+
* Strings for ReactionButton
|
4602
|
+
* */
|
4603
|
+
reactionButton: ReactionButtonStrings;
|
5213
4604
|
/** Strings for TypingIndicator */
|
5214
4605
|
typingIndicator: TypingIndicatorStrings;
|
5215
4606
|
/** Strings for SendBox */
|
5216
4607
|
sendBox: SendBoxStrings;
|
5217
|
-
/** Strings for MentionPopover */
|
5218
|
-
mentionPopover: MentionPopoverStrings;
|
5219
4608
|
/** Strings for ImageOverlay */
|
5220
4609
|
imageOverlay: ImageOverlayStrings;
|
5221
4610
|
/** Strings for MessageStatusIndicator */
|
@@ -5226,50 +4615,10 @@ export declare interface ComponentStrings {
|
|
5226
4615
|
videoGallery: VideoGalleryStrings;
|
5227
4616
|
/** Strings for Dialpad */
|
5228
4617
|
dialpad: DialpadStrings;
|
5229
|
-
/** Strings for VideoTile */
|
5230
|
-
videoTile: VideoTileStrings;
|
5231
|
-
/** Strings for HoldButton */
|
5232
|
-
holdButton: HoldButtonStrings;
|
5233
|
-
/** Strings for a site's permission request prompt */
|
5234
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5235
|
-
/** Strings for a site's permission request prompt */
|
5236
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
5237
|
-
/** Strings for a site's permission request prompt */
|
5238
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5239
|
-
/** Strings for a site's permission generic checking prompt */
|
5240
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5241
|
-
/** Strings for a site's permission generic checking prompt */
|
5242
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
5243
|
-
/** Strings for a site's permission generic checking prompt */
|
5244
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5245
|
-
/** Strings for a site's permission denied prompt */
|
5246
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5247
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
5248
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5249
|
-
/** Strings for a site's permission denied prompt */
|
5250
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
5251
|
-
/** Strings for a site's permission denied prompt */
|
5252
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5253
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
5254
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5255
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
5256
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5257
|
-
/** Strings for unsupported browser UI */
|
5258
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
5259
|
-
/** Strings for unsupported browser version UI */
|
5260
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
5261
|
-
/** Strings for unsupported browser version UI */
|
5262
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
5263
|
-
/** Strings for BrowserPemissionDenied */
|
5264
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
5265
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
5266
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
5267
4618
|
/**
|
5268
4619
|
* Strings for the VerticalGallery.
|
5269
4620
|
*/
|
5270
4621
|
verticalGallery: VerticalGalleryStrings;
|
5271
|
-
/** Strings for the participant list component */
|
5272
|
-
ParticipantList: ParticipantListStrings;
|
5273
4622
|
}
|
5274
4623
|
|
5275
4624
|
/**
|
@@ -5671,7 +5020,7 @@ export declare function createAzureCommunicationCallAdapterFromClient(callClient
|
|
5671
5020
|
*
|
5672
5021
|
* @public
|
5673
5022
|
*/
|
5674
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator,
|
5023
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5675
5024
|
|
5676
5025
|
/**
|
5677
5026
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -5732,18 +5081,6 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
5732
5081
|
*/
|
5733
5082
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
5734
5083
|
|
5735
|
-
/**
|
5736
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5737
|
-
*
|
5738
|
-
* Useful when implementing a custom component that utilizes the providers
|
5739
|
-
* exported from this library.
|
5740
|
-
*
|
5741
|
-
* @beta
|
5742
|
-
*/
|
5743
|
-
export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall, options?: {
|
5744
|
-
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
5745
|
-
}) => never | TeamsCallingHandlers;
|
5746
|
-
|
5747
5084
|
/**
|
5748
5085
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
5749
5086
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -5769,21 +5106,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
5769
5106
|
*/
|
5770
5107
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
|
5771
5108
|
|
5772
|
-
/**
|
5773
|
-
* @beta
|
5774
|
-
*/
|
5775
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5776
|
-
|
5777
|
-
/**
|
5778
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5779
|
-
*
|
5780
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5781
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5782
|
-
*
|
5783
|
-
* @beta
|
5784
|
-
*/
|
5785
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
5786
|
-
|
5787
5109
|
/**
|
5788
5110
|
* Object returned after creating a local or remote VideoStream.
|
5789
5111
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -5834,13 +5156,6 @@ export declare type CustomAvatarOptions = {
|
|
5834
5156
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
5835
5157
|
/** Display name to be used in Persona */
|
5836
5158
|
text?: string;
|
5837
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5838
|
-
participantState?: ParticipantState;
|
5839
|
-
/**
|
5840
|
-
* If true, show the special coin for unknown persona.
|
5841
|
-
* It has '?' in place of initials, with static font and background colors
|
5842
|
-
*/
|
5843
|
-
showUnknownPersonaCoin?: boolean;
|
5844
5159
|
};
|
5845
5160
|
|
5846
5161
|
/**
|
@@ -5968,18 +5283,6 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5968
5283
|
*/
|
5969
5284
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
5970
5285
|
|
5971
|
-
/**
|
5972
|
-
* @beta
|
5973
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5974
|
-
*/
|
5975
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
5976
|
-
|
5977
|
-
/**
|
5978
|
-
* @beta
|
5979
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5980
|
-
*/
|
5981
|
-
export declare type DeclarativeIncomingCall = IncomingCall;
|
5982
|
-
|
5983
5286
|
/**
|
5984
5287
|
* The default set of icons that are available to use in the UI components.
|
5985
5288
|
*
|
@@ -6003,9 +5306,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
6003
5306
|
ControlButtonLowerHand: React_2.JSX.Element;
|
6004
5307
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
6005
5308
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
6006
|
-
|
6007
|
-
DownloadFile: React_2.JSX.Element;
|
6008
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
5309
|
+
ReactionButtonIcon: React_2.JSX.Element;
|
6009
5310
|
EditBoxCancel: React_2.JSX.Element;
|
6010
5311
|
EditBoxSubmit: React_2.JSX.Element;
|
6011
5312
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -6038,20 +5339,11 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
6038
5339
|
ParticipantItemOptions: React_2.JSX.Element;
|
6039
5340
|
ParticipantItemOptionsHovered: React_2.JSX.Element;
|
6040
5341
|
ParticipantItemScreenShareStart: React_2.JSX.Element;
|
6041
|
-
|
6042
|
-
HoldCallButton: React_2.JSX.Element;
|
6043
|
-
ResumeCall: React_2.JSX.Element;
|
5342
|
+
ParticipantItemSpotlighted: React_2.JSX.Element;
|
6044
5343
|
SendBoxSend: React_2.JSX.Element;
|
6045
5344
|
SendBoxSendHovered: React_2.JSX.Element;
|
6046
5345
|
VideoTileMicOff: React_2.JSX.Element;
|
6047
5346
|
DialpadBackspace: React_2.JSX.Element;
|
6048
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
6049
|
-
SitePermissionCamera: React_2.JSX.Element;
|
6050
|
-
SitePermissionMic: React_2.JSX.Element;
|
6051
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
6052
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
6053
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
6054
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
6055
5347
|
VideoTilePinned: React_2.JSX.Element;
|
6056
5348
|
VideoTileMoreOptions: React_2.JSX.Element;
|
6057
5349
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -6076,6 +5368,9 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
6076
5368
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6077
5369
|
SurveyStarIcon: React_2.JSX.Element;
|
6078
5370
|
SurveyStarIconFilled: React_2.JSX.Element;
|
5371
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
5372
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
5373
|
+
VideoTileSpotlighted: React_2.JSX.Element;
|
6079
5374
|
};
|
6080
5375
|
|
6081
5376
|
/**
|
@@ -6096,7 +5391,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6096
5391
|
ParticipantItemOptionsHovered: JSX.Element;
|
6097
5392
|
SendBoxSend: JSX.Element;
|
6098
5393
|
SendBoxSendHovered: JSX.Element;
|
6099
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
6100
5394
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
6101
5395
|
ControlButtonCameraOff: JSX.Element;
|
6102
5396
|
ControlButtonCameraOn: JSX.Element;
|
@@ -6111,8 +5405,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6111
5405
|
ControlButtonMicProhibited?: JSX.Element | undefined;
|
6112
5406
|
ControlButtonRaiseHand: JSX.Element;
|
6113
5407
|
ControlButtonLowerHand: JSX.Element;
|
5408
|
+
ControlButtonExitSpotlight?: JSX.Element | undefined;
|
6114
5409
|
RaiseHandContextualMenuItem: JSX.Element;
|
5410
|
+
ReactionContextualMenuItem?: JSX.Element | undefined;
|
6115
5411
|
LowerHandContextualMenuItem: JSX.Element;
|
5412
|
+
ReactionButtonIcon: JSX.Element;
|
6116
5413
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
6117
5414
|
ErrorBarCallCameraAlreadyInUse: JSX.Element;
|
6118
5415
|
ErrorBarCallLocalVideoFreeze: JSX.Element;
|
@@ -6151,9 +5448,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6151
5448
|
ParticipantItemScreenShareStart: JSX.Element;
|
6152
5449
|
VideoTileMicOff: JSX.Element;
|
6153
5450
|
LocalCameraSwitch?: JSX.Element | undefined;
|
6154
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
6155
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
6156
|
-
DialpadStartCall?: JSX.Element | undefined;
|
6157
5451
|
NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
|
6158
5452
|
BlurVideoBackground?: JSX.Element | undefined;
|
6159
5453
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
@@ -6166,6 +5460,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6166
5460
|
LargeGalleryLayout?: JSX.Element | undefined;
|
6167
5461
|
DefaultCustomButton?: JSX.Element | undefined;
|
6168
5462
|
DtmfDialpadButton?: JSX.Element | undefined;
|
5463
|
+
PeoplePaneMoreButton?: JSX.Element | undefined;
|
5464
|
+
StopAllSpotlightMenuButton?: JSX.Element | undefined;
|
6169
5465
|
ChevronLeft?: JSX.Element | undefined;
|
6170
5466
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
6171
5467
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
@@ -6175,25 +5471,14 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6175
5471
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
6176
5472
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
6177
5473
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
5474
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
6178
5475
|
ChatMessageOptions: React_2.JSX.Element;
|
6179
5476
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
6180
|
-
CancelFileUpload: React_2.JSX.Element;
|
6181
|
-
DownloadFile: React_2.JSX.Element;
|
6182
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
6183
5477
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
6184
5478
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
6185
5479
|
MessageResend: React_2.JSX.Element;
|
6186
|
-
|
6187
|
-
HoldCallButton: React_2.JSX.Element;
|
6188
|
-
ResumeCall: React_2.JSX.Element;
|
5480
|
+
ParticipantItemSpotlighted: React_2.JSX.Element;
|
6189
5481
|
DialpadBackspace: React_2.JSX.Element;
|
6190
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
6191
|
-
SitePermissionCamera: React_2.JSX.Element;
|
6192
|
-
SitePermissionMic: React_2.JSX.Element;
|
6193
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
6194
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
6195
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
6196
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
6197
5482
|
VideoTilePinned: React_2.JSX.Element;
|
6198
5483
|
VideoTileMoreOptions: React_2.JSX.Element;
|
6199
5484
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -6218,31 +5503,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6218
5503
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6219
5504
|
SurveyStarIcon: React_2.JSX.Element;
|
6220
5505
|
SurveyStarIconFilled: React_2.JSX.Element;
|
5506
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
5507
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
5508
|
+
VideoTileSpotlighted: React_2.JSX.Element;
|
6221
5509
|
};
|
6222
5510
|
|
6223
|
-
/**
|
6224
|
-
* Device Checks.
|
6225
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
6226
|
-
*
|
6227
|
-
* @beta
|
6228
|
-
*/
|
6229
|
-
export declare interface DeviceCheckOptions {
|
6230
|
-
/**
|
6231
|
-
* Camera Permission prompts for your call.
|
6232
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6233
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6234
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6235
|
-
*/
|
6236
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
6237
|
-
/**
|
6238
|
-
* Microphone permission prompts for your call.
|
6239
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6240
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6241
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6242
|
-
*/
|
6243
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
6244
|
-
}
|
6245
|
-
|
6246
5511
|
/**
|
6247
5512
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
6248
5513
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -6522,6 +5787,10 @@ export declare interface DialpadProps {
|
|
6522
5787
|
* and can be edited to change the number being dialed.
|
6523
5788
|
*/
|
6524
5789
|
dialpadMode?: DialpadMode;
|
5790
|
+
/**
|
5791
|
+
* Audio context for generating DTMF tones. If this if not provided the dialpad will create one iteslf.
|
5792
|
+
*/
|
5793
|
+
dtmfAudioContext?: AudioContext;
|
6525
5794
|
}
|
6526
5795
|
|
6527
5796
|
/**
|
@@ -6604,7 +5873,7 @@ export declare interface EndCallButtonProps extends ControlBarButtonProps {
|
|
6604
5873
|
* Utility property for using this component with `communication react eventHandlers`.
|
6605
5874
|
* Maps directly to the `onClick` property.
|
6606
5875
|
*/
|
6607
|
-
onHangUp?: () => Promise<void>;
|
5876
|
+
onHangUp?: (forEveryone?: boolean) => Promise<void>;
|
6608
5877
|
/**
|
6609
5878
|
* Optional strings to override in component
|
6610
5879
|
*/
|
@@ -6820,6 +6089,10 @@ export declare interface ErrorBarStrings {
|
|
6820
6089
|
* Unable to start effect
|
6821
6090
|
*/
|
6822
6091
|
unableToStartVideoEffect?: string;
|
6092
|
+
/**
|
6093
|
+
* An error message when starting spotlight while max participants are spotlighted
|
6094
|
+
*/
|
6095
|
+
startSpotlightWhileMaxParticipantsAreSpotlighted: string;
|
6823
6096
|
}
|
6824
6097
|
|
6825
6098
|
/**
|
@@ -6830,189 +6103,17 @@ export declare interface ErrorBarStrings {
|
|
6830
6103
|
export declare type ErrorType = keyof ErrorBarStrings;
|
6831
6104
|
|
6832
6105
|
/**
|
6833
|
-
*
|
6834
|
-
*
|
6835
|
-
*
|
6106
|
+
* Provider to apply a Fluent theme across this library's react components.
|
6107
|
+
*
|
6108
|
+
* @remarks Components in this library are composed primarily from [Fluent UI](https://developer.microsoft.com/fluentui#/controls/web),
|
6109
|
+
* controls, mixing v8 and v9 controls.
|
6110
|
+
* This provider handles applying any theme provided to the underlying Fluent UI controls. *
|
6111
|
+
* @public
|
6836
6112
|
*/
|
6837
|
-
export declare
|
6838
|
-
/** The error message to display in the UI */
|
6839
|
-
errorMessage: string;
|
6840
|
-
}
|
6113
|
+
export declare const FluentThemeProvider: (props: FluentThemeProviderProps) => JSX.Element;
|
6841
6114
|
|
6842
6115
|
/**
|
6843
|
-
* @
|
6844
|
-
*
|
6845
|
-
* A callback function for handling attachment downloads.
|
6846
|
-
* The function needs to return a promise that resolves to a attachment download URL.
|
6847
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6848
|
-
*
|
6849
|
-
* @example
|
6850
|
-
* ```ts
|
6851
|
-
* const attachmentDownloadHandler: FileDownloadHandler = async (userId, attachmentData) => {
|
6852
|
-
* if (isUnauthorizedUser(userId)) {
|
6853
|
-
* return { errorMessage: 'You don’t have permission to download this attachment.' };
|
6854
|
-
* } else {
|
6855
|
-
* return new URL(attachmentData.url);
|
6856
|
-
* }
|
6857
|
-
* }
|
6858
|
-
*
|
6859
|
-
* const App = () => (
|
6860
|
-
* <ChatComposite
|
6861
|
-
* ...
|
6862
|
-
* fileSharing={{
|
6863
|
-
* fileDownloadHandler: fileDownloadHandler
|
6864
|
-
* }}
|
6865
|
-
* />
|
6866
|
-
* )
|
6867
|
-
*
|
6868
|
-
* ```
|
6869
|
-
* @param userId - The user ID of the user downloading the attachment.
|
6870
|
-
* @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
|
6871
|
-
*/
|
6872
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
6873
|
-
|
6874
|
-
/**
|
6875
|
-
* Properties for configuring the File Sharing feature.
|
6876
|
-
* @beta
|
6877
|
-
*/
|
6878
|
-
export declare interface FileSharingOptions {
|
6879
|
-
/**
|
6880
|
-
* A string containing the comma separated list of accepted file types.
|
6881
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6882
|
-
* Accepts any type of file if not specified.
|
6883
|
-
* @beta
|
6884
|
-
*/
|
6885
|
-
accept?: string;
|
6886
|
-
/**
|
6887
|
-
* Allows multiple files to be selected if set to `true`.
|
6888
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6889
|
-
* @defaultValue false
|
6890
|
-
* @beta
|
6891
|
-
*/
|
6892
|
-
multiple?: boolean;
|
6893
|
-
/**
|
6894
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6895
|
-
* @beta
|
6896
|
-
*/
|
6897
|
-
uploadHandler: FileUploadHandler;
|
6898
|
-
/**
|
6899
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6900
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6901
|
-
* initiate the download.
|
6902
|
-
*/
|
6903
|
-
downloadHandler?: FileDownloadHandler;
|
6904
|
-
}
|
6905
|
-
|
6906
|
-
/**
|
6907
|
-
* @beta
|
6908
|
-
*/
|
6909
|
-
export declare interface FileUploadAdapter {
|
6910
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6911
|
-
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
6912
|
-
clearFileUploads: () => void;
|
6913
|
-
cancelFileUpload: (id: string) => void;
|
6914
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
6915
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6916
|
-
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
6917
|
-
}
|
6918
|
-
|
6919
|
-
/**
|
6920
|
-
* @beta
|
6921
|
-
* Error message to be displayed to the user if the upload fails.
|
6922
|
-
*/
|
6923
|
-
export declare type FileUploadError = {
|
6924
|
-
message: string;
|
6925
|
-
timestamp: number;
|
6926
|
-
};
|
6927
|
-
|
6928
|
-
/**
|
6929
|
-
* @beta
|
6930
|
-
* A callback function for handling file uploads.
|
6931
|
-
*
|
6932
|
-
* @param userId - The user ID of the user uploading the file.
|
6933
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6934
|
-
*/
|
6935
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6936
|
-
|
6937
|
-
/**
|
6938
|
-
* A wrapper object for a file that is being uploaded.
|
6939
|
-
* Allows managing file uploads by providing common functions for updating the
|
6940
|
-
* upload progress, canceling an upload, completing an upload etc.
|
6941
|
-
* @beta
|
6942
|
-
*/
|
6943
|
-
export declare interface FileUploadManager {
|
6944
|
-
/**
|
6945
|
-
* Unique identifier for the file upload.
|
6946
|
-
*/
|
6947
|
-
id: string;
|
6948
|
-
/**
|
6949
|
-
* HTML {@link File} object for the uploaded file.
|
6950
|
-
*/
|
6951
|
-
file?: File;
|
6952
|
-
/**
|
6953
|
-
* Update the progress of the upload.
|
6954
|
-
* @param value - number between 0 and 1
|
6955
|
-
*/
|
6956
|
-
notifyUploadProgressChanged: (value: number) => void;
|
6957
|
-
/**
|
6958
|
-
* Mark the upload as complete.
|
6959
|
-
* Requires the `metadata` param containing uploaded file information.
|
6960
|
-
* @param metadata - {@link AttachmentMetadata}
|
6961
|
-
*/
|
6962
|
-
notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
|
6963
|
-
/**
|
6964
|
-
* Mark the upload as failed.
|
6965
|
-
* @param message - An error message that can be displayed to the user.
|
6966
|
-
*/
|
6967
|
-
notifyUploadFailed: (message: string) => void;
|
6968
|
-
}
|
6969
|
-
|
6970
|
-
/**
|
6971
|
-
* Contains the state attributes of a file upload like name, progress etc.
|
6972
|
-
* @beta
|
6973
|
-
*/
|
6974
|
-
export declare interface FileUploadState {
|
6975
|
-
/**
|
6976
|
-
* Unique identifier for the file upload.
|
6977
|
-
*/
|
6978
|
-
id: string;
|
6979
|
-
/**
|
6980
|
-
* Filename extracted from the {@link File} object.
|
6981
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
6982
|
-
*/
|
6983
|
-
filename: string;
|
6984
|
-
/**
|
6985
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
6986
|
-
*/
|
6987
|
-
progress: number;
|
6988
|
-
/**
|
6989
|
-
* Metadata {@link AttachmentMetadata} containing information about the uploaded file.
|
6990
|
-
*/
|
6991
|
-
metadata?: AttachmentMetadata;
|
6992
|
-
/**
|
6993
|
-
* Error message to be displayed to the user if the upload fails.
|
6994
|
-
*/
|
6995
|
-
error?: FileUploadError;
|
6996
|
-
}
|
6997
|
-
|
6998
|
-
/**
|
6999
|
-
* A record containing {@link FileUploadState} mapped to unique ids.
|
7000
|
-
* @beta
|
7001
|
-
*/
|
7002
|
-
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
7003
|
-
|
7004
|
-
/**
|
7005
|
-
* Provider to apply a Fluent theme across this library's react components.
|
7006
|
-
*
|
7007
|
-
* @remarks Components in this library are composed primarily from [Fluent UI](https://developer.microsoft.com/fluentui#/controls/web),
|
7008
|
-
* controls, mixing v8 and v9 controls.
|
7009
|
-
* This provider handles applying any theme provided to the underlying Fluent UI controls. *
|
7010
|
-
* @public
|
7011
|
-
*/
|
7012
|
-
export declare const FluentThemeProvider: (props: FluentThemeProviderProps) => JSX.Element;
|
7013
|
-
|
7014
|
-
/**
|
7015
|
-
* Props for {@link FluentThemeProvider}.
|
6116
|
+
* Props for {@link FluentThemeProvider}.
|
7016
6117
|
*
|
7017
6118
|
* @public
|
7018
6119
|
*/
|
@@ -7042,7 +6143,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
7042
6143
|
*
|
7043
6144
|
* @public
|
7044
6145
|
*/
|
7045
|
-
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector :
|
6146
|
+
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : undefined;
|
7046
6147
|
|
7047
6148
|
/**
|
7048
6149
|
* Get the selector for a specified component.
|
@@ -7104,63 +6205,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
7104
6205
|
children?: IStyle;
|
7105
6206
|
}
|
7106
6207
|
|
7107
|
-
/**
|
7108
|
-
* a button to hold or resume a ongoing call.
|
7109
|
-
*
|
7110
|
-
* Can be used with {@link ControlBar}
|
7111
|
-
*
|
7112
|
-
* @param props - properties for the hold button.
|
7113
|
-
* @returns
|
7114
|
-
* @beta
|
7115
|
-
*/
|
7116
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
7117
|
-
|
7118
|
-
/**
|
7119
|
-
*@beta
|
7120
|
-
*/
|
7121
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
7122
|
-
/**
|
7123
|
-
* Utility property for using this component with communication react handlers
|
7124
|
-
* Holds the call or resumes it based on call state.
|
7125
|
-
*/
|
7126
|
-
onToggleHold: () => Promise<void>;
|
7127
|
-
/**
|
7128
|
-
* Optional strings to override in component
|
7129
|
-
*/
|
7130
|
-
strings?: HoldButtonStrings;
|
7131
|
-
}
|
7132
|
-
|
7133
|
-
/**
|
7134
|
-
* Selector type for the {@link HoldButton} component.
|
7135
|
-
* @public
|
7136
|
-
*/
|
7137
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
7138
|
-
checked: boolean;
|
7139
|
-
};
|
7140
|
-
|
7141
|
-
/**
|
7142
|
-
* Strings for the hold button labels
|
7143
|
-
* @beta
|
7144
|
-
*/
|
7145
|
-
export declare interface HoldButtonStrings {
|
7146
|
-
/**
|
7147
|
-
* Label for when action is to resume call.
|
7148
|
-
*/
|
7149
|
-
onLabel: string;
|
7150
|
-
/**
|
7151
|
-
* Label for when action is to hold call.
|
7152
|
-
*/
|
7153
|
-
offLabel: string;
|
7154
|
-
/**
|
7155
|
-
* Content for when button is checked
|
7156
|
-
*/
|
7157
|
-
tooltipOnContent: string;
|
7158
|
-
/**
|
7159
|
-
* Content for when button is unchecked
|
7160
|
-
*/
|
7161
|
-
tooltipOffContent: string;
|
7162
|
-
}
|
7163
|
-
|
7164
6208
|
/**
|
7165
6209
|
* {@link HorizontalGallery} Component Styles.
|
7166
6210
|
* @public
|
@@ -7245,10 +6289,6 @@ export declare interface _Identifiers {
|
|
7245
6289
|
verticalGalleryVideoTile: string;
|
7246
6290
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
7247
6291
|
verticalGalleryPageCounter: string;
|
7248
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
7249
|
-
mentionSuggestionList: string;
|
7250
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
7251
|
-
mentionSuggestionItem: string;
|
7252
6292
|
}
|
7253
6293
|
|
7254
6294
|
/**
|
@@ -7310,27 +6350,6 @@ export declare interface ImageOverlayStrings {
|
|
7310
6350
|
dismissButtonAriaLabel: string;
|
7311
6351
|
}
|
7312
6352
|
|
7313
|
-
/**
|
7314
|
-
* Preset dark theme for the ImageOverlay component.
|
7315
|
-
*
|
7316
|
-
* @public
|
7317
|
-
*/
|
7318
|
-
export declare const imageOverlayTheme: PartialTheme;
|
7319
|
-
|
7320
|
-
/**
|
7321
|
-
* @beta
|
7322
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
7323
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
7324
|
-
*/
|
7325
|
-
export declare type IncomingCallManagement = {
|
7326
|
-
/**
|
7327
|
-
* @beta
|
7328
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
7329
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
7330
|
-
*/
|
7331
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
7332
|
-
};
|
7333
|
-
|
7334
6353
|
/**
|
7335
6354
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
7336
6355
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -7515,28 +6534,6 @@ export declare type LocalizationProviderProps = {
|
|
7515
6534
|
children: React_2.ReactNode;
|
7516
6535
|
};
|
7517
6536
|
|
7518
|
-
/**
|
7519
|
-
* State only version of {@link @azure/communication-calling#LocalRecordingCallFeature}. {@link StatefulCallClient} will
|
7520
|
-
* automatically listen for local recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
7521
|
-
*
|
7522
|
-
* @beta
|
7523
|
-
*/
|
7524
|
-
export declare interface LocalRecordingCallFeatureState {
|
7525
|
-
/**
|
7526
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.isRecordingActive}.
|
7527
|
-
*/
|
7528
|
-
isLocalRecordingActive: boolean;
|
7529
|
-
/**
|
7530
|
-
* Contains list of information of started recordings
|
7531
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.recordings}.
|
7532
|
-
*/
|
7533
|
-
activeLocalRecordings?: LocalRecordingInfo[];
|
7534
|
-
/**
|
7535
|
-
* Contains list of information of stopped recordings
|
7536
|
-
*/
|
7537
|
-
lastStoppedLocalRecording?: LocalRecordingInfo[];
|
7538
|
-
}
|
7539
|
-
|
7540
6537
|
/**
|
7541
6538
|
* @public
|
7542
6539
|
*/
|
@@ -7642,76 +6639,6 @@ export declare interface MediaDiagnosticsState {
|
|
7642
6639
|
latest: LatestMediaDiagnostics;
|
7643
6640
|
}
|
7644
6641
|
|
7645
|
-
/**
|
7646
|
-
* Mention's state, as reflected in the UI.
|
7647
|
-
*
|
7648
|
-
* @beta
|
7649
|
-
*/
|
7650
|
-
export declare interface Mention {
|
7651
|
-
/** ID of a mention */
|
7652
|
-
id: string;
|
7653
|
-
/** Display text of a mention */
|
7654
|
-
displayText: string;
|
7655
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
7656
|
-
icon?: JSX.Element;
|
7657
|
-
}
|
7658
|
-
|
7659
|
-
/**
|
7660
|
-
* Options to display suggestions in the mention scenario.
|
7661
|
-
*
|
7662
|
-
* @beta
|
7663
|
-
*/
|
7664
|
-
export declare interface MentionDisplayOptions {
|
7665
|
-
/**
|
7666
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
7667
|
-
*/
|
7668
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7669
|
-
}
|
7670
|
-
|
7671
|
-
/**
|
7672
|
-
* Options to lookup suggestions in the mention scenario.
|
7673
|
-
*
|
7674
|
-
* @beta
|
7675
|
-
*/
|
7676
|
-
export declare interface MentionLookupOptions {
|
7677
|
-
/**
|
7678
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
7679
|
-
*
|
7680
|
-
* @defaultValue `@`
|
7681
|
-
*/
|
7682
|
-
trigger?: string;
|
7683
|
-
/**
|
7684
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
7685
|
-
*/
|
7686
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7687
|
-
/**
|
7688
|
-
* Optional callback to render an item of the mention suggestions list.
|
7689
|
-
*/
|
7690
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
7691
|
-
}
|
7692
|
-
|
7693
|
-
/**
|
7694
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
7695
|
-
*
|
7696
|
-
* @beta
|
7697
|
-
*/
|
7698
|
-
export declare type MentionOptions = {
|
7699
|
-
lookupOptions?: MentionLookupOptions;
|
7700
|
-
displayOptions?: MentionDisplayOptions;
|
7701
|
-
};
|
7702
|
-
|
7703
|
-
/**
|
7704
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
7705
|
-
*
|
7706
|
-
* @beta
|
7707
|
-
*/
|
7708
|
-
export declare interface MentionPopoverStrings {
|
7709
|
-
/**
|
7710
|
-
* Header text for MentionPopover
|
7711
|
-
*/
|
7712
|
-
mentionPopoverHeader: string;
|
7713
|
-
}
|
7714
|
-
|
7715
6642
|
/**
|
7716
6643
|
* Discriminated union of all messages.
|
7717
6644
|
*
|
@@ -7719,7 +6646,7 @@ export declare interface MentionPopoverStrings {
|
|
7719
6646
|
*
|
7720
6647
|
* @public
|
7721
6648
|
*/
|
7722
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
6649
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7723
6650
|
|
7724
6651
|
/**
|
7725
6652
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -7953,7 +6880,7 @@ export declare type MessageThreadProps = {
|
|
7953
6880
|
/**
|
7954
6881
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
7955
6882
|
*/
|
7956
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
6883
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7957
6884
|
/**
|
7958
6885
|
* number of participants in the thread
|
7959
6886
|
*/
|
@@ -8034,11 +6961,6 @@ export declare type MessageThreadProps = {
|
|
8034
6961
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
8035
6962
|
*/
|
8036
6963
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
8037
|
-
/**
|
8038
|
-
* Optional callback to render attached files in the message component.
|
8039
|
-
* @beta
|
8040
|
-
*/
|
8041
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
8042
6964
|
/**
|
8043
6965
|
* Optional callback to edit a message.
|
8044
6966
|
*
|
@@ -8080,23 +7002,6 @@ export declare type MessageThreadProps = {
|
|
8080
7002
|
* Optional strings to override in component
|
8081
7003
|
*/
|
8082
7004
|
strings?: Partial<MessageThreadStrings>;
|
8083
|
-
/**
|
8084
|
-
* @beta
|
8085
|
-
* Optional function called when someone clicks on the file download icon.
|
8086
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
8087
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
8088
|
-
*/
|
8089
|
-
fileDownloadHandler?: FileDownloadHandler;
|
8090
|
-
/**
|
8091
|
-
* Optional function to provide customized date format.
|
8092
|
-
* @beta
|
8093
|
-
*/
|
8094
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
8095
|
-
/**
|
8096
|
-
* Optional props needed to lookup a mention query and display mentions
|
8097
|
-
* @beta
|
8098
|
-
*/
|
8099
|
-
mentionOptions?: MentionOptions;
|
8100
7005
|
/**
|
8101
7006
|
* Optional callback called when an inline image is clicked.
|
8102
7007
|
* @beta
|
@@ -8175,14 +7080,6 @@ export declare interface MessageThreadStrings {
|
|
8175
7080
|
actionMenuMoreOptions?: string;
|
8176
7081
|
/** Aria label to announce when a message is deleted */
|
8177
7082
|
messageDeletedAnnouncementAriaLabel: string;
|
8178
|
-
/** String for download file button in attachment card */
|
8179
|
-
downloadAttachment: string;
|
8180
|
-
/** String for policy violation message removal */
|
8181
|
-
blockedWarningText: string;
|
8182
|
-
/** String for policy violation message removal details link */
|
8183
|
-
blockedWarningLinkText: string;
|
8184
|
-
/** String for aria text in file attachment group*/
|
8185
|
-
attachmentCardGroupMessage: string;
|
8186
7083
|
}
|
8187
7084
|
|
8188
7085
|
/**
|
@@ -8210,7 +7107,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
8210
7107
|
/** Styles for system message container. */
|
8211
7108
|
systemMessageContainer?: ComponentSlotStyle;
|
8212
7109
|
/** Styles for blocked message container. */
|
8213
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
8214
7110
|
/** Styles for message status indicator container. */
|
8215
7111
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
8216
7112
|
}
|
@@ -8379,31 +7275,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
8379
7275
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
8380
7276
|
}
|
8381
7277
|
|
8382
|
-
/**
|
8383
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
8384
|
-
* by their browsers settings.
|
8385
|
-
*
|
8386
|
-
* @beta
|
8387
|
-
*/
|
8388
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
8389
|
-
|
8390
|
-
/**
|
8391
|
-
* @beta
|
8392
|
-
* Props for MicrophoneSitePermissions component.
|
8393
|
-
*/
|
8394
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
8395
|
-
/** Icon name for the microphone icon */
|
8396
|
-
microphoneIconName?: string;
|
8397
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
8398
|
-
strings?: MicrophoneSitePermissionsStrings;
|
8399
|
-
}
|
8400
|
-
|
8401
|
-
/**
|
8402
|
-
* @beta
|
8403
|
-
* Strings for MicrophoneSitePermissions component.
|
8404
|
-
*/
|
8405
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
8406
|
-
|
8407
7278
|
/**
|
8408
7279
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
8409
7280
|
*
|
@@ -8422,13 +7293,6 @@ export declare interface NetworkDiagnosticsState {
|
|
8422
7293
|
latest: LatestNetworkDiagnostics;
|
8423
7294
|
}
|
8424
7295
|
|
8425
|
-
/**
|
8426
|
-
* Callback function used to provide custom data to build profile for a user.
|
8427
|
-
*
|
8428
|
-
* @beta
|
8429
|
-
*/
|
8430
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
8431
|
-
|
8432
7296
|
/**
|
8433
7297
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
8434
7298
|
*
|
@@ -8551,14 +7415,6 @@ export declare interface ParticipantItemProps {
|
|
8551
7415
|
onClick?: (props?: ParticipantItemProps) => void;
|
8552
7416
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8553
7417
|
showParticipantOverflowTooltip?: boolean;
|
8554
|
-
/**
|
8555
|
-
* Optional value to determine and display a participants connection status.
|
8556
|
-
* For example, `Connecting`, `Ringing` etc.
|
8557
|
-
* The actual text that is displayed is determined by the localized string
|
8558
|
-
* corresponding to the provided participant state.
|
8559
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8560
|
-
*/
|
8561
|
-
participantState?: ParticipantState;
|
8562
7418
|
/**
|
8563
7419
|
* Optional aria property that prefixes the ParticipantItems aria content
|
8564
7420
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -8584,10 +7440,6 @@ export declare interface ParticipantItemStrings {
|
|
8584
7440
|
mutedIconLabel: string;
|
8585
7441
|
/** placeholder text for participants who does not have a display name*/
|
8586
7442
|
displayNamePlaceholder?: string;
|
8587
|
-
/** String shown when `participantState` is `Ringing` */
|
8588
|
-
participantStateRinging?: string;
|
8589
|
-
/** String shown when `participantState` is `Hold` */
|
8590
|
-
participantStateHold?: string;
|
8591
7443
|
}
|
8592
7444
|
|
8593
7445
|
/**
|
@@ -8666,10 +7518,6 @@ export declare type ParticipantListProps = {
|
|
8666
7518
|
styles?: ParticipantListStyles;
|
8667
7519
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8668
7520
|
showParticipantOverflowTooltip?: boolean;
|
8669
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8670
|
-
totalParticipantCount?: number;
|
8671
|
-
/** Strings for the participant list */
|
8672
|
-
strings?: ParticipantListStrings;
|
8673
7521
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
8674
7522
|
participantAriaLabelledBy?: string;
|
8675
7523
|
};
|
@@ -8682,21 +7530,8 @@ export declare type ParticipantListProps = {
|
|
8682
7530
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
8683
7531
|
participants: CallParticipantListParticipant[];
|
8684
7532
|
myUserId: string;
|
8685
|
-
totalParticipantCount?: number;
|
8686
7533
|
};
|
8687
7534
|
|
8688
|
-
/**
|
8689
|
-
* Strings for the {@link ParticipantList}.
|
8690
|
-
*
|
8691
|
-
* @beta
|
8692
|
-
*/
|
8693
|
-
export declare interface ParticipantListStrings {
|
8694
|
-
/**
|
8695
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
8696
|
-
*/
|
8697
|
-
overflowParticipantCount?: string;
|
8698
|
-
}
|
8699
|
-
|
8700
7535
|
/**
|
8701
7536
|
* Styles for the {@link ParticipantList}.
|
8702
7537
|
*
|
@@ -8914,16 +7749,17 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
8914
7749
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
8915
7750
|
|
8916
7751
|
/**
|
8917
|
-
*
|
7752
|
+
* State only version of {@link @azure/communication-calling#PPTLiveCallFeature}. {@link StatefulCallClient} will
|
7753
|
+
* automatically listen for pptLive on the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
8918
7754
|
*
|
8919
|
-
* @
|
7755
|
+
* @public
|
8920
7756
|
*/
|
8921
|
-
export declare
|
7757
|
+
export declare interface PPTLiveCallFeatureState {
|
8922
7758
|
/**
|
8923
|
-
*
|
7759
|
+
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature.isActive}.
|
8924
7760
|
*/
|
8925
|
-
|
8926
|
-
}
|
7761
|
+
isActive: boolean;
|
7762
|
+
}
|
8927
7763
|
|
8928
7764
|
/**
|
8929
7765
|
* Raised hand state with order
|
@@ -9015,68 +7851,184 @@ export declare interface RaiseHandCallFeature {
|
|
9015
7851
|
}
|
9016
7852
|
|
9017
7853
|
/**
|
9018
|
-
*
|
7854
|
+
* Reaction state with reaction type to render
|
9019
7855
|
*
|
9020
7856
|
* @public
|
9021
7857
|
*/
|
9022
|
-
export declare type
|
9023
|
-
|
9024
|
-
|
9025
|
-
|
9026
|
-
|
7858
|
+
export declare type Reaction = {
|
7859
|
+
/**
|
7860
|
+
* Specifies the type of reaction videoTile should render i.e. like, heart etc.
|
7861
|
+
*/
|
7862
|
+
reactionType: string;
|
7863
|
+
/**
|
7864
|
+
* Received timestamp for the message as default Date format.
|
7865
|
+
*/
|
7866
|
+
receivedOn: Date;
|
9027
7867
|
};
|
9028
7868
|
|
9029
7869
|
/**
|
9030
|
-
*
|
9031
|
-
* automatically listen for recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
7870
|
+
* Props for {@link ReactionButton}.
|
9032
7871
|
*
|
9033
7872
|
* @public
|
9034
7873
|
*/
|
9035
|
-
export declare interface
|
7874
|
+
export declare interface ReactionButtonProps extends ControlBarButtonProps {
|
9036
7875
|
/**
|
9037
|
-
*
|
7876
|
+
* Optional strings to override in component
|
9038
7877
|
*/
|
9039
|
-
|
7878
|
+
strings?: Partial<ReactionButtonStrings>;
|
9040
7879
|
/**
|
9041
|
-
*
|
9042
|
-
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.recordings}.
|
7880
|
+
* Click event to send reaction to meeting
|
9043
7881
|
*/
|
9044
|
-
|
7882
|
+
onReactionClick: (reaction: string) => Promise<void>;
|
9045
7883
|
/**
|
9046
|
-
*
|
7884
|
+
* Reaction resource locator and parameters
|
9047
7885
|
*/
|
9048
|
-
|
7886
|
+
reactionResources: ReactionResources;
|
9049
7887
|
}
|
9050
7888
|
|
9051
7889
|
/**
|
9052
|
-
*
|
9053
|
-
* automatically retrieve RemoteParticipants and add their state to the state exposed by {@link StatefulCallClient}.
|
7890
|
+
* Strings of {@link ReactionButton} that can be overridden.
|
9054
7891
|
*
|
9055
7892
|
* @public
|
9056
7893
|
*/
|
9057
|
-
export declare interface
|
7894
|
+
export declare interface ReactionButtonStrings {
|
7895
|
+
/** Label of the button. */
|
7896
|
+
label: string;
|
7897
|
+
/** Aria label for reaction button accessibility announcement */
|
7898
|
+
ariaLabel: string;
|
7899
|
+
/** Tooltip content when the button is disabled. */
|
7900
|
+
tooltipDisabledContent?: string;
|
7901
|
+
/** Tooltip content when the button is enabled. */
|
7902
|
+
tooltipContent?: string;
|
7903
|
+
/** Tooltip content of like reaction button. */
|
7904
|
+
likeReactionTooltipContent?: string;
|
7905
|
+
/** Tooltip content of heart reaction button. */
|
7906
|
+
heartReactionTooltipContent?: string;
|
7907
|
+
/** Tooltip content of clap reaction button. */
|
7908
|
+
applauseReactionTooltipContent?: string;
|
7909
|
+
/** Tooltip content of laugh reaction button. */
|
7910
|
+
laughReactionTooltipContent?: string;
|
7911
|
+
/** Tooltip content of surprised reaction button. */
|
7912
|
+
surprisedReactionTooltipContent?: string;
|
7913
|
+
}
|
7914
|
+
|
7915
|
+
/**
|
7916
|
+
* Interface for animation sprite image and related metadata
|
7917
|
+
* @public
|
7918
|
+
*/
|
7919
|
+
export declare interface ReactionResources {
|
9058
7920
|
/**
|
9059
|
-
*
|
7921
|
+
* Like reaction animation resource.
|
9060
7922
|
*/
|
9061
|
-
|
7923
|
+
likeReaction?: ReactionSprite;
|
9062
7924
|
/**
|
9063
|
-
*
|
7925
|
+
* Heart reaction animation resource.
|
9064
7926
|
*/
|
9065
|
-
|
7927
|
+
heartReaction?: ReactionSprite;
|
9066
7928
|
/**
|
9067
|
-
*
|
7929
|
+
* Laugh reaction animation resource.
|
9068
7930
|
*/
|
9069
|
-
|
7931
|
+
laughReaction?: ReactionSprite;
|
9070
7932
|
/**
|
9071
|
-
*
|
7933
|
+
* Applause reaction animation resource.
|
9072
7934
|
*/
|
9073
|
-
|
7935
|
+
applauseReaction?: ReactionSprite;
|
9074
7936
|
/**
|
9075
|
-
*
|
9076
|
-
* {@link RemoteVideoStream} fields keyed by {@link @azure/communication-calling#RemoteVideoStream.id}.
|
7937
|
+
* Surprised reaction animation resource.
|
9077
7938
|
*/
|
9078
|
-
|
9079
|
-
|
7939
|
+
surprisedReaction?: ReactionSprite;
|
7940
|
+
}
|
7941
|
+
|
7942
|
+
/**
|
7943
|
+
* Type for animation sprite image and related metadata
|
7944
|
+
* @public
|
7945
|
+
*/
|
7946
|
+
export declare type ReactionSprite = {
|
7947
|
+
/**
|
7948
|
+
* Path to animation sprite image for reaction.
|
7949
|
+
*/
|
7950
|
+
url: string;
|
7951
|
+
/**
|
7952
|
+
* The frame count of the resource reaction in the sprite image
|
7953
|
+
*/
|
7954
|
+
frameCount: number;
|
7955
|
+
/**
|
7956
|
+
* The square size of one frame in the animation resource..
|
7957
|
+
*/
|
7958
|
+
size?: number;
|
7959
|
+
};
|
7960
|
+
|
7961
|
+
/**
|
7962
|
+
* State only version of {@link @azure/communication-calling#Call.ReactionMessage} with UI helper props receivedOn.
|
7963
|
+
* Reaction state with a timestamp which helps UI to decide to render the reaction accordingly.
|
7964
|
+
*
|
7965
|
+
* @public
|
7966
|
+
*/
|
7967
|
+
export declare type ReactionState = {
|
7968
|
+
/**
|
7969
|
+
* Reaction message from the meeting {@link @azure/communication-calling#Call.ReactionMessage}
|
7970
|
+
*/
|
7971
|
+
reactionMessage: ReactionMessage;
|
7972
|
+
/**
|
7973
|
+
* Received timestamp of the reaction message in a meeting.
|
7974
|
+
*/
|
7975
|
+
receivedOn: Date;
|
7976
|
+
};
|
7977
|
+
|
7978
|
+
/**
|
7979
|
+
* An array of key value pairs that stores each sender's display name and last read message
|
7980
|
+
*
|
7981
|
+
* @public
|
7982
|
+
*/
|
7983
|
+
export declare type ReadReceiptsBySenderId = {
|
7984
|
+
[key: string]: {
|
7985
|
+
lastReadMessage: string;
|
7986
|
+
displayName: string;
|
7987
|
+
};
|
7988
|
+
};
|
7989
|
+
|
7990
|
+
/**
|
7991
|
+
* State only version of {@link @azure/communication-calling#RecordingCallFeature}. {@link StatefulCallClient} will
|
7992
|
+
* automatically listen for recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
7993
|
+
*
|
7994
|
+
* @public
|
7995
|
+
*/
|
7996
|
+
export declare interface RecordingCallFeature {
|
7997
|
+
/**
|
7998
|
+
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.isRecordingActive}.
|
7999
|
+
*/
|
8000
|
+
isRecordingActive: boolean;
|
8001
|
+
}
|
8002
|
+
|
8003
|
+
/**
|
8004
|
+
* State only version of {@link @azure/communication-calling#RemoteParticipant}. {@link StatefulCallClient} will
|
8005
|
+
* automatically retrieve RemoteParticipants and add their state to the state exposed by {@link StatefulCallClient}.
|
8006
|
+
*
|
8007
|
+
* @public
|
8008
|
+
*/
|
8009
|
+
export declare interface RemoteParticipantState {
|
8010
|
+
/**
|
8011
|
+
* Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
|
8012
|
+
*/
|
8013
|
+
identifier: CommunicationIdentifierKind;
|
8014
|
+
/**
|
8015
|
+
* Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
|
8016
|
+
*/
|
8017
|
+
displayName?: string;
|
8018
|
+
/**
|
8019
|
+
* Proxy of {@link @azure/communication-calling#RemoteParticipant.state}.
|
8020
|
+
*/
|
8021
|
+
state: RemoteParticipantState_2;
|
8022
|
+
/**
|
8023
|
+
* Proxy of {@link @azure/communication-calling#RemoteParticipant.callEndReason}.
|
8024
|
+
*/
|
8025
|
+
callEndReason?: CallEndReason;
|
8026
|
+
/**
|
8027
|
+
* Proxy of {@link @azure/communication-calling#RemoteParticipant.videoStreams} as an object with
|
8028
|
+
* {@link RemoteVideoStream} fields keyed by {@link @azure/communication-calling#RemoteVideoStream.id}.
|
8029
|
+
*/
|
8030
|
+
videoStreams: {
|
8031
|
+
[key: number]: RemoteVideoStreamState;
|
9080
8032
|
};
|
9081
8033
|
/**
|
9082
8034
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isMuted}.
|
@@ -9094,6 +8046,23 @@ export declare interface RemoteParticipantState {
|
|
9094
8046
|
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
9095
8047
|
*/
|
9096
8048
|
raisedHand?: RaisedHandState;
|
8049
|
+
/**
|
8050
|
+
* Proxy of {@link @azure/communication-calling#Call.PPTLive.target}.
|
8051
|
+
*
|
8052
|
+
* @public
|
8053
|
+
*/
|
8054
|
+
contentSharingStream?: HTMLElement;
|
8055
|
+
/**
|
8056
|
+
* Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
|
8057
|
+
* UI helper props receivedOn which indicates the timestamp when the message was received.
|
8058
|
+
*
|
8059
|
+
* @public
|
8060
|
+
*/
|
8061
|
+
reactionState?: ReactionState;
|
8062
|
+
/**
|
8063
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.spotlightedParticipants}.
|
8064
|
+
*/
|
8065
|
+
spotlight?: SpotlightState;
|
9097
8066
|
}
|
9098
8067
|
|
9099
8068
|
/**
|
@@ -9238,19 +8207,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
9238
8207
|
*/
|
9239
8208
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
9240
8209
|
|
9241
|
-
/**
|
9242
|
-
* @beta
|
9243
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
9244
|
-
*/
|
9245
|
-
export declare interface SendBoxErrorBarError {
|
9246
|
-
/** Error Message to be displayed */
|
9247
|
-
message: string;
|
9248
|
-
/**
|
9249
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
9250
|
-
*/
|
9251
|
-
timestamp: number;
|
9252
|
-
}
|
9253
|
-
|
9254
8210
|
/**
|
9255
8211
|
* Props for {@link SendBox}.
|
9256
8212
|
*
|
@@ -9270,11 +8226,6 @@ export declare interface SendBoxProps {
|
|
9270
8226
|
* Optional override behavior on send button click
|
9271
8227
|
*/
|
9272
8228
|
onSendMessage?: (content: string) => Promise<void>;
|
9273
|
-
/**
|
9274
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
9275
|
-
* @beta
|
9276
|
-
*/
|
9277
|
-
mentionLookupOptions?: MentionLookupOptions;
|
9278
8229
|
/**
|
9279
8230
|
* Optional callback called when user is typing
|
9280
8231
|
*/
|
@@ -9311,25 +8262,6 @@ export declare interface SendBoxProps {
|
|
9311
8262
|
* When undefined nothing has focus on render
|
9312
8263
|
*/
|
9313
8264
|
autoFocus?: 'sendBoxTextField';
|
9314
|
-
/**
|
9315
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
9316
|
-
* vertically to accommodate the uploaded files. File uploads will
|
9317
|
-
* be rendered below the text area in sendBox.
|
9318
|
-
* @beta
|
9319
|
-
*/
|
9320
|
-
onRenderFileUploads?: () => JSX.Element;
|
9321
|
-
/**
|
9322
|
-
* Optional array of active attachment uploads where each object has attributes
|
9323
|
-
* of a attachment upload like name, progress, errorMessage etc.
|
9324
|
-
* @beta
|
9325
|
-
*/
|
9326
|
-
activeFileUploads?: ActiveFileUpload[];
|
9327
|
-
/**
|
9328
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
9329
|
-
* cancel icon.
|
9330
|
-
* @beta
|
9331
|
-
*/
|
9332
|
-
onCancelFileUpload?: (fileId: string) => void;
|
9333
8265
|
}
|
9334
8266
|
|
9335
8267
|
/**
|
@@ -9360,22 +8292,6 @@ export declare interface SendBoxStrings {
|
|
9360
8292
|
* Aria label for send message button
|
9361
8293
|
*/
|
9362
8294
|
sendButtonAriaLabel: string;
|
9363
|
-
/**
|
9364
|
-
* Error message indicating that all attachment uploads are not complete.
|
9365
|
-
*/
|
9366
|
-
attachmentUploadsPendingError: string;
|
9367
|
-
/**
|
9368
|
-
* Aria label to notify user when focus is on cancel attachment upload button.
|
9369
|
-
*/
|
9370
|
-
removeAttachment: string;
|
9371
|
-
/**
|
9372
|
-
* Aria label to notify user attachment uploading starts.
|
9373
|
-
*/
|
9374
|
-
uploading: string;
|
9375
|
-
/**
|
9376
|
-
* Aria label to notify user attachment is uploaded.
|
9377
|
-
*/
|
9378
|
-
uploadCompleted: string;
|
9379
8295
|
}
|
9380
8296
|
|
9381
8297
|
/**
|
@@ -9396,45 +8312,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
9396
8312
|
systemMessage?: IStyle;
|
9397
8313
|
}
|
9398
8314
|
|
9399
|
-
/**
|
9400
|
-
* @beta
|
9401
|
-
* Strings for SitePermissions component
|
9402
|
-
*/
|
9403
|
-
export declare type SitePermissionsStrings = {
|
9404
|
-
/**
|
9405
|
-
* Main text string.
|
9406
|
-
*/
|
9407
|
-
primaryText?: string;
|
9408
|
-
/**
|
9409
|
-
* Subtext string.
|
9410
|
-
*/
|
9411
|
-
secondaryText?: string;
|
9412
|
-
/**
|
9413
|
-
* More help link string.
|
9414
|
-
*/
|
9415
|
-
linkText?: string;
|
9416
|
-
/**
|
9417
|
-
* Primary button text string.
|
9418
|
-
*/
|
9419
|
-
primaryButtonText?: string;
|
9420
|
-
/**
|
9421
|
-
* Aria label describing the content of the container
|
9422
|
-
*/
|
9423
|
-
ariaLabel?: string;
|
9424
|
-
};
|
9425
|
-
|
9426
|
-
/**
|
9427
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
9428
|
-
*
|
9429
|
-
* @beta
|
9430
|
-
*/
|
9431
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
9432
|
-
/** Styles for the primary button. */
|
9433
|
-
primaryButton?: IButtonStyles;
|
9434
|
-
/** Styles for the help troubleshooting link text. */
|
9435
|
-
troubleshootingLink?: ILinkStyles;
|
9436
|
-
}
|
9437
|
-
|
9438
8315
|
/**
|
9439
8316
|
* @public
|
9440
8317
|
* Type for representing a custom sound to use for a calling event
|
@@ -9494,11 +8371,128 @@ export declare interface SpokenLanguageStrings {
|
|
9494
8371
|
'zh-tw': string;
|
9495
8372
|
}
|
9496
8373
|
|
8374
|
+
/**
|
8375
|
+
* Spotlight state with order
|
8376
|
+
*
|
8377
|
+
* @public
|
8378
|
+
*/
|
8379
|
+
export declare type Spotlight = {
|
8380
|
+
/**
|
8381
|
+
* Specifies the order position of the spotlight
|
8382
|
+
*/
|
8383
|
+
spotlightedOrderPosition?: number;
|
8384
|
+
};
|
8385
|
+
|
8386
|
+
/**
|
8387
|
+
* State only version of {@link @azure/communication-calling#SpotlightCallFeature}
|
8388
|
+
*
|
8389
|
+
* @public
|
8390
|
+
*/
|
8391
|
+
export declare interface SpotlightCallFeatureState {
|
8392
|
+
/**
|
8393
|
+
* Ordered array of spotlighted participants in call
|
8394
|
+
*/
|
8395
|
+
spotlightedParticipants: SpotlightedParticipant[];
|
8396
|
+
/**
|
8397
|
+
* Local participant spotlight
|
8398
|
+
*/
|
8399
|
+
localParticipantSpotlight?: SpotlightState;
|
8400
|
+
/**
|
8401
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.maxParticipantsToSpotlight}.
|
8402
|
+
*/
|
8403
|
+
maxParticipantsToSpotlight: number;
|
8404
|
+
}
|
8405
|
+
|
8406
|
+
/**
|
8407
|
+
* Callback for {@link CallAdapterSubscribers} 'spotlightChanged' event.
|
8408
|
+
*
|
8409
|
+
* @public
|
8410
|
+
*/
|
8411
|
+
export declare type SpotlightChangedListener = (args: {
|
8412
|
+
added: SpotlightedParticipant[];
|
8413
|
+
removed: SpotlightedParticipant[];
|
8414
|
+
}) => void;
|
8415
|
+
|
8416
|
+
/**
|
8417
|
+
* Strings used in prompt related to spotlight
|
8418
|
+
* @public
|
8419
|
+
*/
|
8420
|
+
export declare interface SpotlightPromptStrings {
|
8421
|
+
/**
|
8422
|
+
* Heading for prompt when starting spotlight on participant
|
8423
|
+
*/
|
8424
|
+
startSpotlightHeading: string;
|
8425
|
+
/**
|
8426
|
+
* Text for prompt when starting spotlight on participant
|
8427
|
+
*/
|
8428
|
+
startSpotlightText: string;
|
8429
|
+
/**
|
8430
|
+
* Label for button to confirm starting spotlight on local user in prompt
|
8431
|
+
*/
|
8432
|
+
startSpotlightOnSelfText: string;
|
8433
|
+
/**
|
8434
|
+
* Label for button to confirm starting spotlight on participant in prompt
|
8435
|
+
*/
|
8436
|
+
startSpotlightConfirmButtonLabel: string;
|
8437
|
+
/**
|
8438
|
+
* Label for button to cancel starting spotlight on participant in prompt
|
8439
|
+
*/
|
8440
|
+
startSpotlightCancelButtonLabel: string;
|
8441
|
+
/**
|
8442
|
+
* Heading for prompt when stopping spotlight on participant
|
8443
|
+
*/
|
8444
|
+
stopSpotlightHeading: string;
|
8445
|
+
/**
|
8446
|
+
* Heading for prompt when stopping spotlight on local user
|
8447
|
+
*/
|
8448
|
+
stopSpotlightOnSelfHeading: string;
|
8449
|
+
/**
|
8450
|
+
* Heading for prompt when stopping all spotlight
|
8451
|
+
*/
|
8452
|
+
stopAllSpotlightHeading: string;
|
8453
|
+
/**
|
8454
|
+
* Text for prompt when stopping spotlight on participant
|
8455
|
+
*/
|
8456
|
+
stopSpotlightText: string;
|
8457
|
+
/**
|
8458
|
+
* Text for prompt when stopping spotlight on local user
|
8459
|
+
*/
|
8460
|
+
stopSpotlightOnSelfText: string;
|
8461
|
+
/**
|
8462
|
+
* Text for prompt when stopping all spotlight
|
8463
|
+
*/
|
8464
|
+
stopAllSpotlightText: string;
|
8465
|
+
/**
|
8466
|
+
* Label for button to confirm stopping spotlight on participant(s) in prompt
|
8467
|
+
*/
|
8468
|
+
stopSpotlightConfirmButtonLabel: string;
|
8469
|
+
/**
|
8470
|
+
* Label for button to confirm stopping spotlight on local user in prompt
|
8471
|
+
*/
|
8472
|
+
stopSpotlightOnSelfConfirmButtonLabel: string;
|
8473
|
+
/**
|
8474
|
+
* Label for button to cancel stopping spotlight on participant(s) in prompt
|
8475
|
+
*/
|
8476
|
+
stopSpotlightCancelButtonLabel: string;
|
8477
|
+
}
|
8478
|
+
|
8479
|
+
/**
|
8480
|
+
* Spotlight state with order
|
8481
|
+
*
|
8482
|
+
* @public
|
8483
|
+
*/
|
8484
|
+
export declare interface SpotlightState {
|
8485
|
+
/**
|
8486
|
+
* Order position of spotlight in call
|
8487
|
+
*/
|
8488
|
+
spotlightedOrderPosition?: number;
|
8489
|
+
}
|
8490
|
+
|
9497
8491
|
/**
|
9498
8492
|
* Identifier types for initiating a call using the CallAdapter
|
9499
8493
|
* @public
|
9500
8494
|
*/
|
9501
|
-
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier |
|
8495
|
+
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | UnknownIdentifier);
|
9502
8496
|
|
9503
8497
|
/**
|
9504
8498
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
@@ -9611,19 +8605,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
9611
8605
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
9612
8606
|
*/
|
9613
8607
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9614
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
9615
|
-
/**
|
9616
|
-
* The CallAgent is used to handle calls.
|
9617
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9618
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
9619
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
9620
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9621
|
-
* createCallAgent() method again to create a new CallAgent.
|
9622
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9623
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
9624
|
-
* @public
|
9625
|
-
*/
|
9626
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
9627
8608
|
}
|
9628
8609
|
|
9629
8610
|
/**
|
@@ -9636,16 +8617,7 @@ export declare type StatefulCallClientArgs = {
|
|
9636
8617
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
9637
8618
|
* state. It is not used by StatefulCallClient.
|
9638
8619
|
*/
|
9639
|
-
userId: CommunicationUserIdentifier
|
9640
|
-
/**
|
9641
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9642
|
-
* to start a PSTN call.
|
9643
|
-
*
|
9644
|
-
* example: +11234567
|
9645
|
-
*
|
9646
|
-
* This is not a cached value from the headless calling client.
|
9647
|
-
*/
|
9648
|
-
alternateCallerId?: string;
|
8620
|
+
userId: CommunicationUserIdentifier;
|
9649
8621
|
};
|
9650
8622
|
|
9651
8623
|
/**
|
@@ -9795,7 +8767,7 @@ export declare interface StreamMediaProps {
|
|
9795
8767
|
}
|
9796
8768
|
|
9797
8769
|
/**
|
9798
|
-
* @
|
8770
|
+
* @public
|
9799
8771
|
* Corresponding texts to each call issue
|
9800
8772
|
*/
|
9801
8773
|
export declare interface SurveyIssues {
|
@@ -9840,7 +8812,7 @@ export declare interface SurveyIssues {
|
|
9840
8812
|
}
|
9841
8813
|
|
9842
8814
|
/**
|
9843
|
-
* @
|
8815
|
+
* @public
|
9844
8816
|
* Corresponding texts to each call issue category
|
9845
8817
|
*/
|
9846
8818
|
export declare interface SurveyIssuesHeadingStrings {
|
@@ -9876,74 +8848,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
9876
8848
|
*/
|
9877
8849
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
9878
8850
|
|
9879
|
-
/**
|
9880
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9881
|
-
*
|
9882
|
-
* @beta
|
9883
|
-
*/
|
9884
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9885
|
-
/**
|
9886
|
-
* Join the call with microphone initially on/off.
|
9887
|
-
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9888
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
9889
|
-
*
|
9890
|
-
* @beta
|
9891
|
-
*/
|
9892
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9893
|
-
/**
|
9894
|
-
* Join the call with options bag to set microphone/camera initial state when joining call
|
9895
|
-
* true = turn on the device when joining call
|
9896
|
-
* false = turn off the device when joining call
|
9897
|
-
* 'keep'/undefined = retain devices' precall state
|
9898
|
-
*
|
9899
|
-
* @param options - param to set microphone/camera initially on/off.
|
9900
|
-
*
|
9901
|
-
* @public
|
9902
|
-
*/
|
9903
|
-
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9904
|
-
/**
|
9905
|
-
* Start the call.
|
9906
|
-
*
|
9907
|
-
* @param participants - An array of participant ids to join
|
9908
|
-
*
|
9909
|
-
* @beta
|
9910
|
-
*/
|
9911
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9912
|
-
/**
|
9913
|
-
* Start the call.
|
9914
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9915
|
-
* @beta
|
9916
|
-
*/
|
9917
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9918
|
-
}
|
9919
|
-
|
9920
|
-
/**
|
9921
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9922
|
-
*
|
9923
|
-
* @beta
|
9924
|
-
*/
|
9925
|
-
export declare type TeamsCallAdapterArgs = {
|
9926
|
-
userId: MicrosoftTeamsUserIdentifier;
|
9927
|
-
credential: CommunicationTokenCredential;
|
9928
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9929
|
-
/**
|
9930
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
9931
|
-
*/
|
9932
|
-
options?: TeamsAdapterOptions;
|
9933
|
-
};
|
9934
|
-
|
9935
|
-
/**
|
9936
|
-
* Object containing all the teams call handlers required for calling components.
|
9937
|
-
*
|
9938
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9939
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
9940
|
-
*
|
9941
|
-
* @beta
|
9942
|
-
*/
|
9943
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9944
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9945
|
-
}
|
9946
|
-
|
9947
8851
|
/**
|
9948
8852
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
9949
8853
|
*
|
@@ -10144,118 +9048,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
10144
9048
|
typingString?: IStyle;
|
10145
9049
|
}
|
10146
9050
|
|
10147
|
-
/**
|
10148
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
10149
|
-
*
|
10150
|
-
* @beta
|
10151
|
-
*/
|
10152
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
10153
|
-
|
10154
|
-
/**
|
10155
|
-
* props for {@link UnsupportedBrowser} UI
|
10156
|
-
*
|
10157
|
-
* @beta
|
10158
|
-
*/
|
10159
|
-
export declare interface UnsupportedBrowserProps {
|
10160
|
-
/** Handler to perform an action when the help link is actioned */
|
10161
|
-
onTroubleshootingClick?: () => void;
|
10162
|
-
/** String overrides for the component */
|
10163
|
-
strings?: UnsupportedBrowserStrings;
|
10164
|
-
}
|
10165
|
-
|
10166
|
-
/**
|
10167
|
-
* Strings for UnsupportedBrowser component
|
10168
|
-
*
|
10169
|
-
* @beta
|
10170
|
-
*/
|
10171
|
-
export declare interface UnsupportedBrowserStrings {
|
10172
|
-
/** String for the primary text */
|
10173
|
-
primaryText: string;
|
10174
|
-
/** String for the secondary text */
|
10175
|
-
secondaryText: string;
|
10176
|
-
/** String to display in the text for the help link */
|
10177
|
-
moreHelpLinkText: string;
|
10178
|
-
}
|
10179
|
-
|
10180
|
-
/**
|
10181
|
-
* UI to display to the user that the browser version they are using is out of date
|
10182
|
-
* and not supported by Azure Communications Calling service.
|
10183
|
-
*
|
10184
|
-
* @beta
|
10185
|
-
*/
|
10186
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
10187
|
-
|
10188
|
-
/**
|
10189
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
10190
|
-
*
|
10191
|
-
* @beta
|
10192
|
-
*/
|
10193
|
-
export declare interface UnsupportedBrowserVersionProps {
|
10194
|
-
/** Handler to perform an action when the help link is actioned */
|
10195
|
-
onTroubleshootingClick?: () => void;
|
10196
|
-
/** String overrides for the component */
|
10197
|
-
strings?: UnsupportedBrowserVersionStrings;
|
10198
|
-
/** Handler to allow user to continue into the call */
|
10199
|
-
onContinueAnywayClick?: () => void;
|
10200
|
-
}
|
10201
|
-
|
10202
|
-
/**
|
10203
|
-
* Strings for UnsupportedBrowser component
|
10204
|
-
*
|
10205
|
-
* @beta
|
10206
|
-
*/
|
10207
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
10208
|
-
/** String for the primary text */
|
10209
|
-
primaryText: string;
|
10210
|
-
/** String for the secondary text */
|
10211
|
-
secondaryText: string;
|
10212
|
-
/** String to display in the text for the help link */
|
10213
|
-
moreHelpLinkText: string;
|
10214
|
-
/** String for continue without updating button */
|
10215
|
-
continueAnywayButtonText?: string;
|
10216
|
-
}
|
10217
|
-
|
10218
|
-
/**
|
10219
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
10220
|
-
*
|
10221
|
-
* @beta
|
10222
|
-
*/
|
10223
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
10224
|
-
|
10225
|
-
/**
|
10226
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
10227
|
-
*
|
10228
|
-
* @beta
|
10229
|
-
*/
|
10230
|
-
export declare interface UnsupportedOperatingSystemProps {
|
10231
|
-
/** Handler to perform a action when the help link is actioned */
|
10232
|
-
onTroubleshootingClick?: () => void;
|
10233
|
-
/** String overrides for the component */
|
10234
|
-
strings?: UnsupportedOperatingSystemStrings;
|
10235
|
-
}
|
10236
|
-
|
10237
|
-
/**
|
10238
|
-
* Strings for UnsupportedBrowser component
|
10239
|
-
*
|
10240
|
-
* @beta
|
10241
|
-
*/
|
10242
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
10243
|
-
/** String for the primary text */
|
10244
|
-
primaryText: string;
|
10245
|
-
/** String for the secondary text */
|
10246
|
-
secondaryText: string;
|
10247
|
-
/** String to display in the text for the help link */
|
10248
|
-
moreHelpLinkText: string;
|
10249
|
-
}
|
10250
|
-
|
10251
9051
|
/**
|
10252
9052
|
* @public
|
10253
9053
|
* Callback function run when a message is updated.
|
10254
9054
|
*/
|
10255
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
10256
|
-
metadata?: Record<string, string>;
|
10257
|
-
attachmentMetadata?: AttachmentMetadata[];
|
10258
|
-
}) => Promise<void>;
|
9055
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
10259
9056
|
|
10260
9057
|
/**
|
10261
9058
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -10403,44 +9200,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
10403
9200
|
*/
|
10404
9201
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: ParamT extends Selector ? Parameters<ParamT>[1] : undefined, type?: 'calling' | 'chat') => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
10405
9202
|
|
10406
|
-
/**
|
10407
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
10408
|
-
*
|
10409
|
-
* Useful when implementing a custom component that utilizes the providers
|
10410
|
-
* exported from this library.
|
10411
|
-
*
|
10412
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
10413
|
-
*
|
10414
|
-
* @beta
|
10415
|
-
*/
|
10416
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10417
|
-
|
10418
|
-
/**
|
10419
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
10420
|
-
*
|
10421
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
10422
|
-
* creation of the adapter internally.
|
10423
|
-
*
|
10424
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
10425
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
10426
|
-
*
|
10427
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
10428
|
-
* See storybook for typical usage examples.
|
10429
|
-
*
|
10430
|
-
* @beta
|
10431
|
-
*/
|
10432
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
10433
|
-
|
10434
|
-
/**
|
10435
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
10436
|
-
*
|
10437
|
-
* Useful when implementing a custom component that utilizes the providers
|
10438
|
-
* exported from this library.
|
10439
|
-
*
|
10440
|
-
* @beta
|
10441
|
-
*/
|
10442
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
10443
|
-
|
10444
9203
|
/**
|
10445
9204
|
* React hook to access theme
|
10446
9205
|
*
|
@@ -10590,6 +9349,11 @@ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | 'spe
|
|
10590
9349
|
export declare interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {
|
10591
9350
|
/** Whether local participant is raised a hand */
|
10592
9351
|
raisedHand?: RaisedHand;
|
9352
|
+
/**
|
9353
|
+
* Whether local participant has reacted
|
9354
|
+
*
|
9355
|
+
* */
|
9356
|
+
reaction?: Reaction;
|
10593
9357
|
}
|
10594
9358
|
|
10595
9359
|
/**
|
@@ -10608,6 +9372,8 @@ export declare type VideoGalleryParticipant = {
|
|
10608
9372
|
videoStream?: VideoGalleryStream;
|
10609
9373
|
/** Whether participant is screen sharing or not */
|
10610
9374
|
isScreenSharingOn?: boolean;
|
9375
|
+
/** Whether participant is spotlighted **/
|
9376
|
+
spotlight?: Spotlight;
|
10611
9377
|
};
|
10612
9378
|
|
10613
9379
|
/**
|
@@ -10691,6 +9457,30 @@ export declare interface VideoGalleryProps {
|
|
10691
9457
|
* This callback will be called when a participant video tile is un-pinned.
|
10692
9458
|
*/
|
10693
9459
|
onUnpinParticipant?: (userId: string) => void;
|
9460
|
+
/**
|
9461
|
+
* List of spotlighted participant userIds.
|
9462
|
+
*/
|
9463
|
+
spotlightedParticipants?: string[];
|
9464
|
+
/**
|
9465
|
+
* This callback is to start spotlight for local participant video tile.
|
9466
|
+
*/
|
9467
|
+
onStartLocalSpotlight?: () => Promise<void>;
|
9468
|
+
/**
|
9469
|
+
* This callback is to stop spotlight for local participant video tile.
|
9470
|
+
*/
|
9471
|
+
onStartRemoteSpotlight?: (userIds: string[]) => Promise<void>;
|
9472
|
+
/**
|
9473
|
+
* This callback is to start spotlight for remote participant video tiles.
|
9474
|
+
*/
|
9475
|
+
onStopLocalSpotlight?: () => Promise<void>;
|
9476
|
+
/**
|
9477
|
+
* This callback is to stop spotlight for remote participant video tiles.
|
9478
|
+
*/
|
9479
|
+
onStopRemoteSpotlight?: (userIds: string[]) => Promise<void>;
|
9480
|
+
/**
|
9481
|
+
* Maximum participants that can be spotlighted
|
9482
|
+
*/
|
9483
|
+
maxParticipantsToSpotlight?: number;
|
10694
9484
|
/**
|
10695
9485
|
* Options for showing the remote video tile menu.
|
10696
9486
|
*
|
@@ -10709,6 +9499,10 @@ export declare interface VideoGalleryProps {
|
|
10709
9499
|
* @defaultValue 'followDeviceOrientation'
|
10710
9500
|
*/
|
10711
9501
|
localVideoTileSize?: LocalVideoTileSize;
|
9502
|
+
/**
|
9503
|
+
* Reaction resources for like, heart, laugh, applause and surprised.
|
9504
|
+
*/
|
9505
|
+
reactionResources?: ReactionResources;
|
10712
9506
|
}
|
10713
9507
|
|
10714
9508
|
/**
|
@@ -10721,13 +9515,14 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
10721
9515
|
isSpeaking?: boolean;
|
10722
9516
|
/** Video stream of shared screen */
|
10723
9517
|
screenShareStream?: VideoGalleryStream;
|
10724
|
-
/**
|
10725
|
-
* @beta
|
10726
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10727
|
-
*/
|
10728
|
-
state?: ParticipantState;
|
10729
9518
|
/** Whether participant is raised a hand */
|
10730
9519
|
raisedHand?: RaisedHand;
|
9520
|
+
/**
|
9521
|
+
* Whether participant has reacted
|
9522
|
+
*
|
9523
|
+
* @public
|
9524
|
+
* */
|
9525
|
+
reaction?: Reaction;
|
10731
9526
|
}
|
10732
9527
|
|
10733
9528
|
/**
|
@@ -10741,6 +9536,8 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
10741
9536
|
remoteParticipants: VideoGalleryRemoteParticipant[];
|
10742
9537
|
dominantSpeakers?: string[];
|
10743
9538
|
optimalVideoCount?: number;
|
9539
|
+
spotlightedParticipants?: string[];
|
9540
|
+
maxParticipantsToSpotlight?: number;
|
10744
9541
|
};
|
10745
9542
|
|
10746
9543
|
/**
|
@@ -10804,6 +9601,16 @@ export declare interface VideoGalleryStrings {
|
|
10804
9601
|
pinnedParticipantAnnouncementAriaLabel: string;
|
10805
9602
|
/** Aria label to announce when remote participant's video tile is unpinned */
|
10806
9603
|
unpinnedParticipantAnnouncementAriaLabel: string;
|
9604
|
+
/** Menu text shown in Video Tile contextual menu to start spotlight on participant's video tile */
|
9605
|
+
startSpotlightVideoTileMenuLabel: string;
|
9606
|
+
/** Menu text shown in Video Tile contextual menu to add spotlight to participant's video tile */
|
9607
|
+
addSpotlightVideoTileMenuLabel: string;
|
9608
|
+
/** Menu title for start spotlight menu item when spotlight limit is reached */
|
9609
|
+
spotlightLimitReachedMenuTitle: string;
|
9610
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on participant's video tile */
|
9611
|
+
stopSpotlightVideoTileMenuLabel: string;
|
9612
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on local user's video tile */
|
9613
|
+
stopSpotlightOnSelfVideoTileMenuLabel: string;
|
10807
9614
|
}
|
10808
9615
|
|
10809
9616
|
/**
|
@@ -10913,6 +9720,10 @@ export declare interface VideoTileProps {
|
|
10913
9720
|
userId?: string;
|
10914
9721
|
/** Component with the video stream. */
|
10915
9722
|
renderElement?: JSX.Element | null;
|
9723
|
+
/**
|
9724
|
+
* Overlay component responsible for rendering reaction
|
9725
|
+
*/
|
9726
|
+
overlay?: JSX.Element | null;
|
10916
9727
|
/** Determines if the video is mirrored or not. */
|
10917
9728
|
isMirrored?: boolean;
|
10918
9729
|
/** Custom render Component function for no video is available. Render a Persona Icon if undefined. */
|
@@ -10965,12 +9776,6 @@ export declare interface VideoTileProps {
|
|
10965
9776
|
isSpeaking?: boolean;
|
10966
9777
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
10967
9778
|
raisedHand?: RaisedHand;
|
10968
|
-
/**
|
10969
|
-
* The call connection state of the participant.
|
10970
|
-
* For example, `Hold` means the participant is on hold.
|
10971
|
-
*/
|
10972
|
-
participantState?: ParticipantState;
|
10973
|
-
strings?: VideoTileStrings;
|
10974
9779
|
/**
|
10975
9780
|
* Display custom menu items in the VideoTile's contextual menu.
|
10976
9781
|
* Uses Fluent UI ContextualMenu.
|
@@ -10981,15 +9786,14 @@ export declare interface VideoTileProps {
|
|
10981
9786
|
* Callback triggered by video tile on touch and hold.
|
10982
9787
|
*/
|
10983
9788
|
onLongTouch?: () => void;
|
10984
|
-
|
10985
|
-
|
10986
|
-
|
10987
|
-
|
10988
|
-
|
10989
|
-
|
10990
|
-
|
10991
|
-
|
10992
|
-
participantStateHold: string;
|
9789
|
+
/**
|
9790
|
+
* If true, the video tile will show the spotlighted icon.
|
9791
|
+
*/
|
9792
|
+
isSpotlighted?: boolean;
|
9793
|
+
/**
|
9794
|
+
* Reactions resources' url and metadata.
|
9795
|
+
*/
|
9796
|
+
reactionResources?: ReactionResources;
|
10993
9797
|
}
|
10994
9798
|
|
10995
9799
|
/**
|