@azure/communication-react 1.7.0-beta.1 → 1.7.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 +161 -2948
- package/dist/dist-cjs/communication-react/index.js +5454 -14293
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/areEqual.d.ts +0 -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 +1 -25
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +3 -59
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -13
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +3 -16
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -6
- 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 +13 -20
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +2 -74
- 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 +7 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +3 -16
- 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 +1 -5
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -22
- 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 -10
- package/dist/dist-esm/calling-component-bindings/src/index.js +0 -10
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +18 -13
- 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 +1 -13
- 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 +1 -6
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +4 -15
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +5 -11
- 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 +0 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +2 -10
- 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 +6 -7
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +1 -166
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -23
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +2 -191
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -93
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -6
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +8 -67
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +0 -10
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -48
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +0 -9
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -25
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +3 -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 -9
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -18
- 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 +0 -6
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/index.js +0 -2
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -4
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +0 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +18 -2
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.d.ts +5 -0
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +15 -106
- 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/EventSubscriber.js +1 -3
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +2 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.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 +1 -31
- package/dist/dist-esm/communication-react/src/index.js +0 -14
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +0 -1
- package/dist/dist-esm/northstar-wrapper/src/index.js +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/Announcer.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/Announcer.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +0 -9
- package/dist/dist-esm/react-components/src/components/CameraButton.js +0 -21
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +1 -18
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +2 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +0 -3
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +1 -6
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +1 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +3 -20
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -76
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/ControlBarButton.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +0 -6
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/EndCallButton.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +5 -5
- package/dist/dist-esm/react-components/src/components/ErrorBar.js +5 -2
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +11 -12
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +6 -15
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.d.ts +0 -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/LocalVideoCameraButton.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -47
- package/dist/dist-esm/react-components/src/components/MessageThread.js +9 -56
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +1 -15
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +2 -4
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +7 -13
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +2 -42
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +1 -42
- package/dist/dist-esm/react-components/src/components/SendBox.js +3 -31
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/SystemMessage.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/TypingIndicator.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +0 -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.d.ts +0 -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.d.ts +0 -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.d.ts +0 -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/VerticalGallery.js +4 -17
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +3 -2
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +5 -18
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +0 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +11 -31
- 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 +0 -7
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +0 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +3 -32
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +3 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +6 -8
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -48
- 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 +0 -95
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +10 -108
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +0 -22
- package/dist/dist-esm/react-components/src/components/VideoTile.js +6 -86
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/index.js +0 -18
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +5 -28
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
- 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 -8
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -9
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -4
- package/dist/dist-esm/react-components/src/index.js +0 -2
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -62
- 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 +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +13 -3
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +10 -0
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +10 -0
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -30
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -142
- package/dist/dist-esm/react-components/src/theming/icons.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 -9
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +0 -3
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -9
- 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 +0 -114
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +25 -99
- 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 +0 -277
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js +0 -2
- 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 +10 -110
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +50 -447
- 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 +50 -253
- 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 +2 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +3 -9
- 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 -10
- 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 +3 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +20 -104
- 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 +3 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +6 -149
- 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/ConfigurationPageCameraDropdown.d.ts +0 -3
- 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.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +3 -21
- 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 -3
- 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/ExpandedLocalVideoTile.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +5 -45
- 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.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +4 -32
- 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/MutedNotification.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +9 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +3 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +4 -4
- 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/StartCallButton.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +7 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -2
- 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/Custom.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +2 -33
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +0 -1
- 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/Participants.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +0 -2
- 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 +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +5 -53
- 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 +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -13
- 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 +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +2 -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 +3 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +11 -121
- 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/LobbyPage.d.ts +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -36
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -61
- 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/dominantRemoteParticipantSelector.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +14 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.d.ts +9 -0
- package/dist/dist-esm/{react-components/src/permissions/index.js → react-composites/src/composites/CallComposite/types/ErrorTracking.js} +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.d.ts +21 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +43 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +4 -31
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -109
- 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/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -62
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +11 -32
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.d.ts +3 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +4 -26
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +32 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -44
- 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 +7 -48
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +14 -192
- 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 +14 -118
- 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 +4 -21
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +8 -89
- 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 -13
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +1 -37
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +3 -19
- 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 -21
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +3 -43
- 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/AzureCommunicationChatAdapter.d.ts +2 -28
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +4 -126
- 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/AzureCommunicationFileUploadAdapter.d.ts +0 -28
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +1 -159
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -17
- 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.js +0 -2
- 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/FileUploadButton.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +1 -8
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -4
- 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 -6
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -11
- 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 -6
- 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 +5 -5
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +9 -41
- 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/PeopleButton.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +0 -14
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +0 -176
- 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 +0 -3
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +1 -14
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/MoreButton.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +10 -1
- 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 +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +4 -20
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +2 -4
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -47
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +1 -21
- 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 +4 -26
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +8 -6
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +4 -2
- package/package.json +22 -25
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +0 -48
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +0 -72
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +0 -43
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +0 -85
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +0 -18
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +0 -38
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +0 -28
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +0 -49
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.d.ts +0 -24
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +0 -30
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.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 -89
- 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/Caption.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/Caption.js +0 -32
- package/dist/dist-esm/react-components/src/components/Caption.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +0 -41
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +0 -50
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +0 -37
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +0 -93
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.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 -118
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +0 -35
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +0 -33
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +0 -70
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +0 -61
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -41
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -545
- 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 -788
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +0 -26
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +0 -31
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.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/Captions.style.d.ts +0 -37
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +0 -67
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +0 -34
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +0 -86
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js +0 -16
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -31
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -70
- 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/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/permissions/PermissionsProvider.d.ts +0 -61
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +0 -74
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +0 -1
- package/dist/dist-esm/react-components/src/permissions/index.d.ts +0 -2
- package/dist/dist-esm/react-components/src/permissions/index.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/SidePane/useVideoEffectsPane.d.ts +0 -29
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.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 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -30
- 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/TransferPage.d.ts +0 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +0 -113
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.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/selectors/activeVideoBackgroundEffectSelector.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +0 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.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/CallComposite/styles/TransferPage.styles.d.ts +0 -37
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +0 -73
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.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/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 -13
- 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 -23
- 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/CaptionsBanner.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +0 -69
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +0 -108
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +0 -38
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +0 -212
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +0 -24
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +0 -52
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +0 -24
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +0 -50
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +0 -11
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +0 -40
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +0 -14
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +0 -149
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +0 -1
@@ -15,12 +15,7 @@
|
|
15
15
|
* @packageDocumentation
|
16
16
|
*/
|
17
17
|
|
18
|
-
/// <reference types="react" />
|
19
|
-
|
20
|
-
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
21
18
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
|
-
import { BackgroundBlurConfig } from '@azure/communication-calling-effects';
|
23
|
-
import { BackgroundReplacementConfig } from '@azure/communication-calling-effects';
|
24
19
|
import { Call } from '@azure/communication-calling';
|
25
20
|
import { CallAgent } from '@azure/communication-calling';
|
26
21
|
import { CallClient } from '@azure/communication-calling';
|
@@ -28,9 +23,7 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
28
23
|
import { CallDirection } from '@azure/communication-calling';
|
29
24
|
import { CallEndReason } from '@azure/communication-calling';
|
30
25
|
import { CallerInfo } from '@azure/communication-calling';
|
31
|
-
import { CallKind } from '@azure/communication-calling';
|
32
26
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
33
|
-
import { CaptionsResultType } from '@azure/communication-calling';
|
34
27
|
import { ChatClient } from '@azure/communication-chat';
|
35
28
|
import { ChatClientOptions } from '@azure/communication-chat';
|
36
29
|
import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
|
@@ -46,35 +39,26 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
46
39
|
import { DeviceAccess } from '@azure/communication-calling';
|
47
40
|
import { DeviceManager } from '@azure/communication-calling';
|
48
41
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
49
|
-
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
50
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
51
42
|
import { GroupCallLocator } from '@azure/communication-calling';
|
52
43
|
import { IButtonProps } from '@fluentui/react';
|
53
44
|
import { IButtonStyles } from '@fluentui/react';
|
54
45
|
import { IContextualMenuItem } from '@fluentui/react';
|
55
46
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
56
|
-
import { IContextualMenuProps } from '@fluentui/react';
|
57
47
|
import { IContextualMenuStyles } from '@fluentui/react';
|
58
|
-
import { ILinkStyles } from '@fluentui/react';
|
59
48
|
import { IMessageBarProps } from '@fluentui/react';
|
60
|
-
import { IncomingCall } from '@azure/communication-calling';
|
61
49
|
import { IPersonaStyleProps } from '@fluentui/react';
|
62
50
|
import { IPersonaStyles } from '@fluentui/react';
|
63
51
|
import { IRawStyle } from '@fluentui/react';
|
64
52
|
import { IRenderFunction } from '@fluentui/react';
|
65
53
|
import { IStyle } from '@fluentui/react';
|
66
54
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
67
|
-
import { ITextFieldStyles } from '@fluentui/react';
|
68
55
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
69
56
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
70
|
-
import { LocalVideoStream } from '@azure/communication-calling';
|
71
57
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
72
58
|
import { MediaStreamType } from '@azure/communication-calling';
|
73
|
-
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
74
59
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
75
60
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
76
61
|
import { PartialTheme } from '@fluentui/react';
|
77
|
-
import { ParticipantRole } from '@azure/communication-calling';
|
78
62
|
import { PermissionConstraints } from '@azure/communication-calling';
|
79
63
|
import { PersonaInitialsColor } from '@fluentui/react';
|
80
64
|
import { PersonaPresence } from '@fluentui/react';
|
@@ -85,40 +69,18 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
|
|
85
69
|
import { default as React_2 } from 'react';
|
86
70
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
87
71
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
88
|
-
import { RoomCallLocator } from '@azure/communication-calling';
|
89
72
|
import { ScalingMode } from '@azure/communication-calling';
|
90
73
|
import { SendMessageOptions } from '@azure/communication-chat';
|
91
74
|
import { StartCallOptions } from '@azure/communication-calling';
|
92
|
-
import { StartCaptionsOptions } from '@azure/communication-calling';
|
93
|
-
import { TeamsCall } from '@azure/communication-calling';
|
94
|
-
import { TeamsCallAgent } from '@azure/communication-calling';
|
95
75
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
96
76
|
import { Theme } from '@fluentui/react';
|
97
|
-
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
98
77
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
99
78
|
import { UnknownIdentifier } from '@azure/communication-common';
|
100
79
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
101
80
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
102
|
-
import { VideoEffectName } from '@azure/communication-calling';
|
103
81
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
104
82
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
105
83
|
|
106
|
-
/**
|
107
|
-
* Transfer feature state
|
108
|
-
*
|
109
|
-
* @beta
|
110
|
-
*/
|
111
|
-
export declare interface AcceptedTransfer {
|
112
|
-
/**
|
113
|
-
* Stores call id of accepted transfer
|
114
|
-
*/
|
115
|
-
callId: string;
|
116
|
-
/**
|
117
|
-
* Stores timestamp when transfer was accepted
|
118
|
-
*/
|
119
|
-
timestamp: Date;
|
120
|
-
}
|
121
|
-
|
122
84
|
/**
|
123
85
|
* Active error messages to be shown via {@link ErrorBar}.
|
124
86
|
*
|
@@ -138,38 +100,6 @@ export declare interface ActiveErrorMessage {
|
|
138
100
|
timestamp?: Date;
|
139
101
|
}
|
140
102
|
|
141
|
-
/**
|
142
|
-
* Attributes required for SendBox to show file uploads like name, progress etc.
|
143
|
-
* @beta
|
144
|
-
*/
|
145
|
-
export declare interface ActiveFileUpload {
|
146
|
-
/**
|
147
|
-
* Unique identifier for the file upload.
|
148
|
-
*/
|
149
|
-
id: string;
|
150
|
-
/**
|
151
|
-
* File name to be rendered for uploaded file.
|
152
|
-
*/
|
153
|
-
filename: string;
|
154
|
-
/**
|
155
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
156
|
-
* This is unrelated to the `uploadComplete` property.
|
157
|
-
* It is only used to show the progress of the upload.
|
158
|
-
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
159
|
-
* property to true to mark the upload as complete.
|
160
|
-
*/
|
161
|
-
progress: number;
|
162
|
-
/**
|
163
|
-
* Error to be displayed to the user if the upload fails.
|
164
|
-
*/
|
165
|
-
error?: SendBoxErrorBarError;
|
166
|
-
/**
|
167
|
-
* `true` means that the upload is completed.
|
168
|
-
* This is independent of the upload `progress`.
|
169
|
-
*/
|
170
|
-
uploadComplete?: boolean;
|
171
|
-
}
|
172
|
-
|
173
103
|
/**
|
174
104
|
* Error reported via error events and stored in adapter state.
|
175
105
|
*
|
@@ -236,13 +166,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
236
166
|
*/
|
237
167
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
238
168
|
|
239
|
-
/**
|
240
|
-
* @beta
|
241
|
-
*/
|
242
|
-
export declare interface AttachmentDownloadResult {
|
243
|
-
blobUrl: string;
|
244
|
-
}
|
245
|
-
|
246
169
|
/**
|
247
170
|
* Custom data attributes for displaying avatar for a user.
|
248
171
|
*
|
@@ -272,11 +195,6 @@ export declare type AvatarPersonaData = {
|
|
272
195
|
* @defaultvalue `white`
|
273
196
|
*/
|
274
197
|
initialsTextColor?: string;
|
275
|
-
/**
|
276
|
-
* If true, show the special coin for unknown persona.
|
277
|
-
* It has '?' in place of initials, with static font and background colors
|
278
|
-
*/
|
279
|
-
showUnknownPersonaCoin?: boolean;
|
280
198
|
};
|
281
199
|
|
282
200
|
/**
|
@@ -298,31 +216,8 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
298
216
|
displayName: string;
|
299
217
|
credential: CommunicationTokenCredential;
|
300
218
|
locator: CallAdapterLocator;
|
301
|
-
/**
|
302
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
303
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
304
|
-
*/
|
305
|
-
alternateCallerId?: string;
|
306
|
-
/**
|
307
|
-
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
308
|
-
*/
|
309
|
-
options?: AzureCommunicationCallAdapterOptions;
|
310
219
|
};
|
311
220
|
|
312
|
-
/**
|
313
|
-
* Optional parameters to create {@link AzureCommunicationCallAdapter}
|
314
|
-
*
|
315
|
-
* @beta
|
316
|
-
*/
|
317
|
-
export declare type AzureCommunicationCallAdapterOptions = {
|
318
|
-
/**
|
319
|
-
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
320
|
-
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
321
|
-
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
322
|
-
*/
|
323
|
-
roleHint?: Role;
|
324
|
-
} & CommonCallAdapterOptions;
|
325
|
-
|
326
221
|
/**
|
327
222
|
* Arguments for {@link createAzureCommunicationCallWithChatAdapter}
|
328
223
|
*
|
@@ -334,8 +229,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
334
229
|
displayName: string;
|
335
230
|
credential: CommunicationTokenCredential;
|
336
231
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
337
|
-
alternateCallerId?: string;
|
338
|
-
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
339
232
|
};
|
340
233
|
|
341
234
|
/**
|
@@ -349,7 +242,6 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
349
242
|
callClient: StatefulCallClient;
|
350
243
|
chatClient: StatefulChatClient;
|
351
244
|
chatThreadClient: ChatThreadClient;
|
352
|
-
options?: AzureCommunicationChatAdapterOptions;
|
353
245
|
};
|
354
246
|
|
355
247
|
/**
|
@@ -365,14 +257,6 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
365
257
|
threadId: string;
|
366
258
|
};
|
367
259
|
|
368
|
-
/**
|
369
|
-
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
370
|
-
* @beta
|
371
|
-
*/
|
372
|
-
export declare type AzureCommunicationChatAdapterOptions = {
|
373
|
-
credential?: CommunicationTokenCredential;
|
374
|
-
};
|
375
|
-
|
376
260
|
/**
|
377
261
|
* Properties common to all composites exported from this library.
|
378
262
|
*
|
@@ -428,156 +312,6 @@ export declare interface BaseCustomStyles {
|
|
428
312
|
root?: IStyle;
|
429
313
|
}
|
430
314
|
|
431
|
-
/**
|
432
|
-
* Content blocked message type.
|
433
|
-
*
|
434
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
435
|
-
*
|
436
|
-
* @beta
|
437
|
-
*/
|
438
|
-
export declare interface BlockedMessage extends MessageCommon {
|
439
|
-
messageType: 'blocked';
|
440
|
-
warningText?: string;
|
441
|
-
linkText?: string;
|
442
|
-
link?: string;
|
443
|
-
deletedOn?: Date;
|
444
|
-
senderId?: string;
|
445
|
-
senderDisplayName?: string;
|
446
|
-
status?: MessageStatus;
|
447
|
-
attached?: MessageAttachedStatus;
|
448
|
-
mine?: boolean;
|
449
|
-
}
|
450
|
-
|
451
|
-
/**
|
452
|
-
* @beta
|
453
|
-
* Props for BrowserPermissionDeniedIOS component.
|
454
|
-
*/
|
455
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
456
|
-
/**
|
457
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
458
|
-
*/
|
459
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
460
|
-
/**
|
461
|
-
* Link to image source.
|
462
|
-
*
|
463
|
-
* Image is inserted into the top of the component.
|
464
|
-
*/
|
465
|
-
imageSource?: string;
|
466
|
-
}
|
467
|
-
|
468
|
-
/**
|
469
|
-
* @beta
|
470
|
-
* Strings for BrowserPermissionDeniedIOS component
|
471
|
-
*/
|
472
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
473
|
-
/**
|
474
|
-
* Image alt text
|
475
|
-
*/
|
476
|
-
imageAltText: string;
|
477
|
-
/**
|
478
|
-
* Main text string.
|
479
|
-
*/
|
480
|
-
primaryText: string;
|
481
|
-
/**
|
482
|
-
* Subtext string.
|
483
|
-
*/
|
484
|
-
secondaryText: string;
|
485
|
-
/**
|
486
|
-
* Step 1 string
|
487
|
-
*/
|
488
|
-
step1Text: string;
|
489
|
-
/**
|
490
|
-
* Step 1 digit string
|
491
|
-
*/
|
492
|
-
step1DigitText: string;
|
493
|
-
/**
|
494
|
-
* Step 2 string
|
495
|
-
*/
|
496
|
-
step2Text: string;
|
497
|
-
/**
|
498
|
-
* Step 2 digit string
|
499
|
-
*/
|
500
|
-
step2DigitText: string;
|
501
|
-
/**
|
502
|
-
* Step 3 string
|
503
|
-
*/
|
504
|
-
step3Text: string;
|
505
|
-
/**
|
506
|
-
* Step 3 digit string
|
507
|
-
*/
|
508
|
-
step3DigitText: string;
|
509
|
-
/**
|
510
|
-
* Step 4 string
|
511
|
-
*/
|
512
|
-
step4Text: string;
|
513
|
-
/**
|
514
|
-
* Step 4 digit string
|
515
|
-
*/
|
516
|
-
step4DigitText: string;
|
517
|
-
}
|
518
|
-
|
519
|
-
/**
|
520
|
-
* @beta
|
521
|
-
* Props for BrowserPermissionDenied component.
|
522
|
-
*/
|
523
|
-
export declare interface BrowserPermissionDeniedProps {
|
524
|
-
/**
|
525
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
526
|
-
*/
|
527
|
-
onTroubleshootingClick?: () => void;
|
528
|
-
/**
|
529
|
-
* Action to be taken by the try again primary button.
|
530
|
-
*/
|
531
|
-
onTryAgainClick?: () => void;
|
532
|
-
/**
|
533
|
-
* Localization strings for BrowserPermissionDenied component.
|
534
|
-
*/
|
535
|
-
strings?: BrowserPermissionDeniedStrings;
|
536
|
-
/**
|
537
|
-
* Allows users to pass in an object contains custom CSS styles.
|
538
|
-
* @Example
|
539
|
-
* ```
|
540
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
541
|
-
* ```
|
542
|
-
*/
|
543
|
-
styles?: BrowserPermissionDeniedStyles;
|
544
|
-
}
|
545
|
-
|
546
|
-
/**
|
547
|
-
* @beta
|
548
|
-
* Strings for BrowserPermissionDenied component
|
549
|
-
*/
|
550
|
-
export declare interface BrowserPermissionDeniedStrings {
|
551
|
-
/**
|
552
|
-
* Main button text string.
|
553
|
-
*/
|
554
|
-
primaryButtonText: string;
|
555
|
-
/**
|
556
|
-
* Main text string.
|
557
|
-
*/
|
558
|
-
primaryText: string;
|
559
|
-
/**
|
560
|
-
* Subtext string.
|
561
|
-
*/
|
562
|
-
secondaryText: string;
|
563
|
-
/**
|
564
|
-
* More help link string.
|
565
|
-
*/
|
566
|
-
linkText: string;
|
567
|
-
}
|
568
|
-
|
569
|
-
/**
|
570
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
571
|
-
*
|
572
|
-
* @beta
|
573
|
-
*/
|
574
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
575
|
-
/** Styles for the primary button. */
|
576
|
-
primaryButton?: IButtonStyles;
|
577
|
-
/** Styles for the help troubleshooting link text. */
|
578
|
-
troubleshootingLink?: ILinkStyles;
|
579
|
-
}
|
580
|
-
|
581
315
|
/**
|
582
316
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
583
317
|
*
|
@@ -586,26 +320,31 @@ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles
|
|
586
320
|
export declare interface CallAdapter extends CommonCallAdapter {
|
587
321
|
/**
|
588
322
|
* Join the call with microphone initially on/off.
|
589
|
-
*
|
323
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
590
324
|
* @param microphoneOn - Whether microphone is initially enabled
|
591
325
|
*
|
592
326
|
* @public
|
593
327
|
*/
|
594
328
|
joinCall(microphoneOn?: boolean): Call | undefined;
|
595
329
|
/**
|
596
|
-
*
|
330
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
331
|
+
* true = turn on the device when joining call
|
332
|
+
* false = turn off the device when joining call
|
333
|
+
* 'keep'/undefined = retain devices' precall state
|
597
334
|
*
|
598
|
-
* @param
|
335
|
+
* @param options - param to set microphone/camera initially on/off/use precall state.
|
599
336
|
*
|
600
337
|
* @public
|
601
338
|
*/
|
602
|
-
|
339
|
+
joinCall(options?: JoinCallOptions): Call | undefined;
|
603
340
|
/**
|
604
341
|
* Start the call.
|
605
|
-
*
|
606
|
-
* @
|
342
|
+
*
|
343
|
+
* @param participants - An array of participant ids to join
|
344
|
+
*
|
345
|
+
* @public
|
607
346
|
*/
|
608
|
-
startCall(participants:
|
347
|
+
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
609
348
|
}
|
610
349
|
|
611
350
|
/**
|
@@ -625,26 +364,31 @@ export declare type CallAdapterCallEndedEvent = {
|
|
625
364
|
export declare interface CallAdapterCallManagement extends CallAdapterCallOperations {
|
626
365
|
/**
|
627
366
|
* Join the call with microphone initially on/off.
|
628
|
-
*
|
367
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
629
368
|
* @param microphoneOn - Whether microphone is initially enabled
|
630
369
|
*
|
631
370
|
* @public
|
632
371
|
*/
|
633
372
|
joinCall(microphoneOn?: boolean): Call | undefined;
|
634
373
|
/**
|
635
|
-
*
|
374
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
375
|
+
* true = turn on the device when joining call
|
376
|
+
* false = turn off the device when joining call
|
377
|
+
* 'keep'/undefined = retain devices' precall state
|
636
378
|
*
|
637
|
-
* @param
|
379
|
+
* @param options - param to set microphone/camera initially on/off/use precall state.
|
638
380
|
*
|
639
381
|
* @public
|
640
382
|
*/
|
641
|
-
|
383
|
+
joinCall(options?: JoinCallOptions): Call | undefined;
|
642
384
|
/**
|
643
385
|
* Start the call.
|
644
|
-
*
|
645
|
-
* @
|
386
|
+
*
|
387
|
+
* @param participants - An array of participant ids to join
|
388
|
+
*
|
389
|
+
* @public
|
646
390
|
*/
|
647
|
-
startCall(participants:
|
391
|
+
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
648
392
|
}
|
649
393
|
|
650
394
|
/**
|
@@ -709,12 +453,6 @@ export declare interface CallAdapterCallOperations {
|
|
709
453
|
* @public
|
710
454
|
*/
|
711
455
|
removeParticipant(userId: string): Promise<void>;
|
712
|
-
/**
|
713
|
-
* Remove a participant from the call.
|
714
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
715
|
-
* @beta
|
716
|
-
*/
|
717
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
718
456
|
/**
|
719
457
|
* Create the html view for a stream.
|
720
458
|
*
|
@@ -766,80 +504,6 @@ export declare interface CallAdapterCallOperations {
|
|
766
504
|
* @public
|
767
505
|
*/
|
768
506
|
disposeLocalVideoStreamView(): Promise<void>;
|
769
|
-
/**
|
770
|
-
* Holds the call.
|
771
|
-
*
|
772
|
-
* @beta
|
773
|
-
*/
|
774
|
-
holdCall(): Promise<void>;
|
775
|
-
/**
|
776
|
-
* Resumes the call from a `LocalHold` state.
|
777
|
-
*
|
778
|
-
* @beta
|
779
|
-
*/
|
780
|
-
resumeCall(): Promise<void>;
|
781
|
-
/**
|
782
|
-
* Add a participant to the call.
|
783
|
-
*
|
784
|
-
* @beta
|
785
|
-
*/
|
786
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
787
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
788
|
-
/**
|
789
|
-
* send dtmf tone to another participant in a 1:1 PSTN call
|
790
|
-
*
|
791
|
-
* @beta
|
792
|
-
*/
|
793
|
-
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
794
|
-
/**
|
795
|
-
* Continues into a call when the browser version is not supported.
|
796
|
-
*/
|
797
|
-
allowUnsupportedBrowserVersion(): void;
|
798
|
-
/**
|
799
|
-
* Function to Start captions
|
800
|
-
* @param options - options for start captions
|
801
|
-
*/
|
802
|
-
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
803
|
-
/**
|
804
|
-
* Function to set caption language
|
805
|
-
* @param language - language set for caption
|
806
|
-
*/
|
807
|
-
setCaptionLanguage(language: string): Promise<void>;
|
808
|
-
/**
|
809
|
-
* Function to set spoken language
|
810
|
-
* @param language - spoken language
|
811
|
-
*/
|
812
|
-
setSpokenLanguage(language: string): Promise<void>;
|
813
|
-
/**
|
814
|
-
* Funtion to stop captions
|
815
|
-
*/
|
816
|
-
stopCaptions(): Promise<void>;
|
817
|
-
/**
|
818
|
-
* Start the video background effect.
|
819
|
-
*
|
820
|
-
* @beta
|
821
|
-
*/
|
822
|
-
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
823
|
-
/**
|
824
|
-
* Stop the video background effect.
|
825
|
-
*
|
826
|
-
* @beta
|
827
|
-
*/
|
828
|
-
stopVideoBackgroundEffects(): Promise<void>;
|
829
|
-
/**
|
830
|
-
* Override the background picker images for background replacement effect.
|
831
|
-
*
|
832
|
-
* @param backgroundImages - Array of custom background images.
|
833
|
-
*
|
834
|
-
* @beta
|
835
|
-
*/
|
836
|
-
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
837
|
-
/**
|
838
|
-
* Update the selected video background effect.
|
839
|
-
*
|
840
|
-
* @beta
|
841
|
-
*/
|
842
|
-
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
843
507
|
}
|
844
508
|
|
845
509
|
/**
|
@@ -858,37 +522,11 @@ export declare type CallAdapterClientState = {
|
|
858
522
|
* Latest error encountered for each operation performed via the adapter.
|
859
523
|
*/
|
860
524
|
latestErrors: AdapterErrors;
|
861
|
-
/**
|
862
|
-
* Azure communications Phone number to make PSTN calls with.
|
863
|
-
*/
|
864
|
-
alternateCallerId?: string;
|
865
|
-
/**
|
866
|
-
* Environment information about system the adapter is made on
|
867
|
-
*/
|
868
|
-
environmentInfo?: EnvironmentInfo;
|
869
|
-
/**
|
870
|
-
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
871
|
-
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
872
|
-
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
873
|
-
*/
|
874
|
-
roleHint?: Role;
|
875
525
|
/**
|
876
526
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
877
527
|
* control bar with the CallComposite.
|
878
528
|
*/
|
879
529
|
cameraStatus?: 'On' | 'Off';
|
880
|
-
/**
|
881
|
-
* Default set of background images for background replacement effect.
|
882
|
-
*/
|
883
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
884
|
-
/**
|
885
|
-
* State to track the selected video background effect.
|
886
|
-
*/
|
887
|
-
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
888
|
-
/**
|
889
|
-
* Call from transfer request accepted by local user
|
890
|
-
*/
|
891
|
-
acceptedTransferCallState?: CallState;
|
892
530
|
};
|
893
531
|
|
894
532
|
/**
|
@@ -973,7 +611,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
973
611
|
*
|
974
612
|
* @public
|
975
613
|
*/
|
976
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator
|
614
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
|
977
615
|
|
978
616
|
/**
|
979
617
|
* {@link CommonCallAdapter} state.
|
@@ -1050,18 +688,6 @@ export declare interface CallAdapterSubscribers {
|
|
1050
688
|
* Subscribe function for 'error' event.
|
1051
689
|
*/
|
1052
690
|
on(event: 'error', listener: (e: AdapterError) => void): void;
|
1053
|
-
/**
|
1054
|
-
* Subscribe function for 'captionsReceived' event.
|
1055
|
-
*/
|
1056
|
-
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
1057
|
-
/**
|
1058
|
-
* Subscribe function for 'isCaptionsActiveChanged' event.
|
1059
|
-
*/
|
1060
|
-
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1061
|
-
/**
|
1062
|
-
* Subscribe function for 'transferRequested' event.
|
1063
|
-
*/
|
1064
|
-
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1065
691
|
/**
|
1066
692
|
* Unsubscribe function for 'participantsJoined' event.
|
1067
693
|
*/
|
@@ -1110,18 +736,6 @@ export declare interface CallAdapterSubscribers {
|
|
1110
736
|
* Unsubscribe function for 'error' event.
|
1111
737
|
*/
|
1112
738
|
off(event: 'error', listener: (e: AdapterError) => void): void;
|
1113
|
-
/**
|
1114
|
-
* Unsubscribe function for 'captionsReceived' event.
|
1115
|
-
*/
|
1116
|
-
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
1117
|
-
/**
|
1118
|
-
* Unsubscribe function for 'isCaptionsActiveChanged' event.
|
1119
|
-
*/
|
1120
|
-
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1121
|
-
/**
|
1122
|
-
* Unsubscribe function for 'transferRequested' event.
|
1123
|
-
*/
|
1124
|
-
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1125
739
|
}
|
1126
740
|
|
1127
741
|
/**
|
@@ -1132,7 +746,6 @@ export declare interface CallAdapterSubscribers {
|
|
1132
746
|
export declare type CallAdapterUiState = {
|
1133
747
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1134
748
|
page: CallCompositePage;
|
1135
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1136
749
|
};
|
1137
750
|
|
1138
751
|
/**
|
@@ -1151,7 +764,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
1151
764
|
*/
|
1152
765
|
export declare interface CallAgentProviderProps {
|
1153
766
|
children: React_2.ReactNode;
|
1154
|
-
callAgent?: CallAgent
|
767
|
+
callAgent?: CallAgent;
|
1155
768
|
}
|
1156
769
|
|
1157
770
|
/**
|
@@ -1176,7 +789,7 @@ export declare interface CallAgentState {
|
|
1176
789
|
*/
|
1177
790
|
export declare interface CallAndChatLocator {
|
1178
791
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1179
|
-
callLocator: GroupCallLocator
|
792
|
+
callLocator: GroupCallLocator;
|
1180
793
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1181
794
|
chatThreadId: string;
|
1182
795
|
}
|
@@ -1263,16 +876,6 @@ export declare interface CallClientState {
|
|
1263
876
|
* See documentation of {@Link CallErrors} for details.
|
1264
877
|
*/
|
1265
878
|
latestErrors: CallErrors;
|
1266
|
-
/**
|
1267
|
-
* A phone number in E.164 format that will be used to represent callers identity.
|
1268
|
-
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1269
|
-
* be used as the caller id in the PSTN call.
|
1270
|
-
*/
|
1271
|
-
alternateCallerId?: string;
|
1272
|
-
/**
|
1273
|
-
* state to track the environment that the stateful client was made in is supported
|
1274
|
-
*/
|
1275
|
-
environmentInfo?: EnvironmentInfo;
|
1276
879
|
}
|
1277
880
|
|
1278
881
|
/**
|
@@ -1337,12 +940,6 @@ export declare type CallCompositeIcons = {
|
|
1337
940
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1338
941
|
VideoTileMicOff?: JSX.Element;
|
1339
942
|
LocalCameraSwitch?: JSX.Element;
|
1340
|
-
PeoplePaneAddPerson?: JSX.Element;
|
1341
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
1342
|
-
DialpadStartCall?: JSX.Element;
|
1343
|
-
NoticePageInvalidRoom?: JSX.Element;
|
1344
|
-
BlurVideoBackground?: JSX.Element;
|
1345
|
-
RemoveVideoBackgroundEffect?: JSX.Element;
|
1346
943
|
};
|
1347
944
|
|
1348
945
|
/**
|
@@ -1363,66 +960,6 @@ export declare type CallCompositeOptions = {
|
|
1363
960
|
* @defaultValue true
|
1364
961
|
*/
|
1365
962
|
callControls?: boolean | CallControlOptions;
|
1366
|
-
/**
|
1367
|
-
* Device permissions check options for your call.
|
1368
|
-
* Here you can choose what device permissions you prompt the user for,
|
1369
|
-
* as well as what device permissions must be accepted before starting a call.
|
1370
|
-
*/
|
1371
|
-
deviceChecks?: DeviceCheckOptions;
|
1372
|
-
/**
|
1373
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1374
|
-
* unable to grant your site the required permissions for the call.
|
1375
|
-
*
|
1376
|
-
* @example
|
1377
|
-
* ```ts
|
1378
|
-
* onPermissionsTroubleshootingClick: () =>
|
1379
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1380
|
-
* ```
|
1381
|
-
*
|
1382
|
-
* @remarks
|
1383
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1384
|
-
*/
|
1385
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1386
|
-
camera: PermissionState;
|
1387
|
-
microphone: PermissionState;
|
1388
|
-
}) => void;
|
1389
|
-
/**
|
1390
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1391
|
-
* having network issues when connecting to the call.
|
1392
|
-
*
|
1393
|
-
* @example
|
1394
|
-
* ```ts
|
1395
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1396
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1397
|
-
* ```
|
1398
|
-
*
|
1399
|
-
* @remarks
|
1400
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1401
|
-
*/
|
1402
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1403
|
-
/**
|
1404
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1405
|
-
*
|
1406
|
-
* @example
|
1407
|
-
* ```ts
|
1408
|
-
* onBrowserTroubleShootingClick?: () =>
|
1409
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1410
|
-
* ```
|
1411
|
-
*
|
1412
|
-
* @remarks
|
1413
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
1414
|
-
*/
|
1415
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1416
|
-
/**
|
1417
|
-
* Remote participant video tile menu options
|
1418
|
-
*/
|
1419
|
-
remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
|
1420
|
-
/**
|
1421
|
-
* Options for controlling the local video tile.
|
1422
|
-
*
|
1423
|
-
* @remarks if 'false' the local video tile will not be rendered.
|
1424
|
-
*/
|
1425
|
-
localVideoTile?: boolean | LocalVideoTileOptions;
|
1426
963
|
};
|
1427
964
|
|
1428
965
|
/**
|
@@ -1430,7 +967,7 @@ export declare type CallCompositeOptions = {
|
|
1430
967
|
*
|
1431
968
|
* @public
|
1432
969
|
*/
|
1433
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' |
|
970
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1434
971
|
|
1435
972
|
/**
|
1436
973
|
* Props for {@link CallComposite}.
|
@@ -1649,167 +1186,11 @@ export declare interface CallCompositeStrings {
|
|
1649
1186
|
*/
|
1650
1187
|
microphoneToggleInLobbyNotAllowed: string;
|
1651
1188
|
/**
|
1652
|
-
*
|
1189
|
+
* aria label for when the invite link has been actioned
|
1653
1190
|
*/
|
1654
|
-
|
1191
|
+
copyInviteLinkActionedAriaLabel: string;
|
1655
1192
|
/**
|
1656
|
-
*
|
1657
|
-
*/
|
1658
|
-
returnToCallButtonAriaLabel?: string;
|
1659
|
-
/**
|
1660
|
-
* Aria Description string for return to call button
|
1661
|
-
*/
|
1662
|
-
returnToCallButtonAriaDescription?: string;
|
1663
|
-
/**
|
1664
|
-
* control bar People button label
|
1665
|
-
*/
|
1666
|
-
peopleButtonLabel: string;
|
1667
|
-
/**
|
1668
|
-
* control bar Chat button label.
|
1669
|
-
*/
|
1670
|
-
chatButtonLabel: string;
|
1671
|
-
/**
|
1672
|
-
* Label for SidePaneHeader dismiss button
|
1673
|
-
*/
|
1674
|
-
dismissSidePaneButtonLabel?: string;
|
1675
|
-
/**
|
1676
|
-
* Side pane People section subheader.
|
1677
|
-
*/
|
1678
|
-
peoplePaneSubTitle: string;
|
1679
|
-
/**
|
1680
|
-
* Label for button to copy invite link
|
1681
|
-
*/
|
1682
|
-
copyInviteLinkButtonLabel: string;
|
1683
|
-
/**
|
1684
|
-
* Label for button to open dialpad
|
1685
|
-
*/
|
1686
|
-
openDialpadButtonLabel: string;
|
1687
|
-
/**
|
1688
|
-
* Label for menu item to remove participant
|
1689
|
-
*/
|
1690
|
-
removeMenuLabel: string;
|
1691
|
-
/**
|
1692
|
-
* Label for add people dropdown
|
1693
|
-
*/
|
1694
|
-
peoplePaneAddPeopleButtonLabel: string;
|
1695
|
-
/**
|
1696
|
-
* Label for button to start a call
|
1697
|
-
*/
|
1698
|
-
dialpadStartCallButtonLabel: string;
|
1699
|
-
/**
|
1700
|
-
* Title for dialpad Modal
|
1701
|
-
*/
|
1702
|
-
dialpadModalTitle: string;
|
1703
|
-
/**
|
1704
|
-
* Aria Label for dialpad Modal
|
1705
|
-
*/
|
1706
|
-
dialpadModalAriaLabel: string;
|
1707
|
-
/**
|
1708
|
-
* Aria Label for dialpad Modal close button
|
1709
|
-
*/
|
1710
|
-
dialpadCloseModalButtonAriaLabel: string;
|
1711
|
-
/**
|
1712
|
-
* label for more button in the Calling composite
|
1713
|
-
*/
|
1714
|
-
moreButtonCallingLabel: string;
|
1715
|
-
/**
|
1716
|
-
* Label for the resume call button on the hold pane
|
1717
|
-
*/
|
1718
|
-
resumeCallButtonLabel: string;
|
1719
|
-
/**
|
1720
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1721
|
-
*/
|
1722
|
-
resumingCallButtonLabel: string;
|
1723
|
-
/**
|
1724
|
-
* Aria label for the resume call button on the hold pane
|
1725
|
-
*/
|
1726
|
-
resumeCallButtonAriaLabel: string;
|
1727
|
-
/**
|
1728
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1729
|
-
*/
|
1730
|
-
resumingCallButtonAriaLabel: string;
|
1731
|
-
/**
|
1732
|
-
* Label for the hold pane
|
1733
|
-
*/
|
1734
|
-
holdScreenLabel: string;
|
1735
|
-
/**
|
1736
|
-
* Placeholder text for dtmf dialpad
|
1737
|
-
*/
|
1738
|
-
dtmfDialpadPlaceholderText: string;
|
1739
|
-
/**
|
1740
|
-
* Label for the button to open dtmf dialpad
|
1741
|
-
*/
|
1742
|
-
openDtmfDialpadLabel: string;
|
1743
|
-
/**
|
1744
|
-
* aria label for when the invite link has been actioned
|
1745
|
-
*/
|
1746
|
-
copyInviteLinkActionedAriaLabel: string;
|
1747
|
-
/**
|
1748
|
-
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1749
|
-
*/
|
1750
|
-
roomNotFoundTitle: string;
|
1751
|
-
/**
|
1752
|
-
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1753
|
-
*/
|
1754
|
-
roomNotFoundDetails?: string;
|
1755
|
-
/**
|
1756
|
-
* Video Effects pane title.
|
1757
|
-
*/
|
1758
|
-
videoEffectsPaneTitle: string;
|
1759
|
-
/**
|
1760
|
-
* Video Effects pane sub section title for choosing background.
|
1761
|
-
*/
|
1762
|
-
videoEffectsPaneBackgroundSelectionTitle: string;
|
1763
|
-
/**
|
1764
|
-
* Label for the button to open effects
|
1765
|
-
*/
|
1766
|
-
configurationPageVideoEffectsButtonLabel?: string;
|
1767
|
-
/**
|
1768
|
-
* Error message for video effect failure
|
1769
|
-
*/
|
1770
|
-
unableToStartVideoEffect?: string;
|
1771
|
-
/**
|
1772
|
-
* Label for the blur video background effect item
|
1773
|
-
*/
|
1774
|
-
blurBackgroundEffectButtonLabel?: string;
|
1775
|
-
/**
|
1776
|
-
* Tooltip text for the blur video background effect item
|
1777
|
-
*/
|
1778
|
-
blurBackgroundTooltip?: string;
|
1779
|
-
/**
|
1780
|
-
* Label for the remove video background effect item
|
1781
|
-
*/
|
1782
|
-
removeBackgroundEffectButtonLabel?: string;
|
1783
|
-
/**
|
1784
|
-
* Tooltip text for the blur video background effect item
|
1785
|
-
*/
|
1786
|
-
removeBackgroundTooltip?: string;
|
1787
|
-
/**
|
1788
|
-
* Text to show when warning the user the camera is off and inform the user to turn the camera on to see the selected video background effect.
|
1789
|
-
*/
|
1790
|
-
cameraOffBackgroundEffectWarningText?: string;
|
1791
|
-
/**
|
1792
|
-
* Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1793
|
-
*/
|
1794
|
-
deniedPermissionToRoomTitle: string;
|
1795
|
-
/**
|
1796
|
-
* More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1797
|
-
*/
|
1798
|
-
deniedPermissionToRoomDetails?: string;
|
1799
|
-
/**
|
1800
|
-
* Control bar People button ToolTipContent
|
1801
|
-
*/
|
1802
|
-
peopleButtonTooltipOpen: string;
|
1803
|
-
/**
|
1804
|
-
* Control bar People button ToolTipContent
|
1805
|
-
*/
|
1806
|
-
peopleButtonTooltipClose: string;
|
1807
|
-
/**
|
1808
|
-
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1809
|
-
*/
|
1810
|
-
outboundCallingNoticeString: string;
|
1811
|
-
/**
|
1812
|
-
* Notice to be announced by narrator when a participant joins a call
|
1193
|
+
* Notice to be announced by narrator when a participant joins a call
|
1813
1194
|
*/
|
1814
1195
|
participantJoinedNoticeString: string;
|
1815
1196
|
/**
|
@@ -1852,126 +1233,6 @@ export declare interface CallCompositeStrings {
|
|
1852
1233
|
* string to be used to announce when multiple unnamed participants have left at the same time.
|
1853
1234
|
*/
|
1854
1235
|
manyUnnamedParticipantsLeft: string;
|
1855
|
-
/**
|
1856
|
-
* string to be used to open live captions contextual menu
|
1857
|
-
*/
|
1858
|
-
liveCaptionsLabel?: string;
|
1859
|
-
/**
|
1860
|
-
* label for opening captions setting modal
|
1861
|
-
*/
|
1862
|
-
captionsSettingsLabel?: string;
|
1863
|
-
/**
|
1864
|
-
* string to be used to start captions
|
1865
|
-
*/
|
1866
|
-
startCaptionsButtonOnLabel?: string;
|
1867
|
-
/**
|
1868
|
-
* string to be used to stop captions
|
1869
|
-
*/
|
1870
|
-
startCaptionsButtonOffLabel?: string;
|
1871
|
-
/**
|
1872
|
-
* tooltip string to be used to show captions is on
|
1873
|
-
*/
|
1874
|
-
startCaptionsButtonTooltipOnContent?: string;
|
1875
|
-
/**
|
1876
|
-
*tooltip string to be used to show captions is off
|
1877
|
-
*/
|
1878
|
-
startCaptionsButtonTooltipOffContent?: string;
|
1879
|
-
/**
|
1880
|
-
* captions setting modal title
|
1881
|
-
*/
|
1882
|
-
captionsSettingsModalTitle?: string;
|
1883
|
-
/**
|
1884
|
-
* label for dropdown inside captions setting modal
|
1885
|
-
*/
|
1886
|
-
captionsSettingsDropdownLabel?: string;
|
1887
|
-
/**
|
1888
|
-
* text under captions setting dropdown indicating what the dropdown is for
|
1889
|
-
*/
|
1890
|
-
captionsSettingsDropdownInfoText?: string;
|
1891
|
-
/**
|
1892
|
-
* confirm button label in captions setting modal
|
1893
|
-
*/
|
1894
|
-
captionsSettingsConfirmButtonLabel?: string;
|
1895
|
-
/**
|
1896
|
-
* cancel button label in captions setting modal
|
1897
|
-
*/
|
1898
|
-
captionsSettingsCancelButtonLabel?: string;
|
1899
|
-
/**
|
1900
|
-
* arial label for captions setting modal
|
1901
|
-
*/
|
1902
|
-
captionsSettingsModalAriaLabel?: string;
|
1903
|
-
/**
|
1904
|
-
* arial label for captions setting modal close button
|
1905
|
-
*/
|
1906
|
-
captionsSettingsCloseModalButtonAriaLabel?: string;
|
1907
|
-
/**
|
1908
|
-
* label for more button inside captions banner
|
1909
|
-
*/
|
1910
|
-
captionsBannerMoreButtonCallingLabel?: string;
|
1911
|
-
/**
|
1912
|
-
* arial label for more button inside captions banner
|
1913
|
-
*/
|
1914
|
-
captionsBannerMoreButtonTooltip?: string;
|
1915
|
-
/**
|
1916
|
-
* list of key value pairs that pairs language code to language names
|
1917
|
-
*/
|
1918
|
-
captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
|
1919
|
-
/**
|
1920
|
-
* captions banner loading spinner label
|
1921
|
-
*/
|
1922
|
-
captionsBannerSpinnerText?: string;
|
1923
|
-
/**
|
1924
|
-
* transfer page text when showing the transferor who initiated the transfer
|
1925
|
-
*/
|
1926
|
-
transferPageTransferorText: string;
|
1927
|
-
/**
|
1928
|
-
* transfer page text when showing the transfer target
|
1929
|
-
*/
|
1930
|
-
transferPageTransferTargetText: string;
|
1931
|
-
/**
|
1932
|
-
* transfer page display name for unknown participant
|
1933
|
-
*/
|
1934
|
-
transferPageUnknownTransferorDisplayName: string;
|
1935
|
-
/**
|
1936
|
-
* transfer page display name for unknown participant
|
1937
|
-
*/
|
1938
|
-
transferPageUnknownTransferTargetDisplayName: string;
|
1939
|
-
/**
|
1940
|
-
* notice to be announced by narrator the transfer page is showing
|
1941
|
-
*/
|
1942
|
-
transferPageNoticeString: string;
|
1943
|
-
/**
|
1944
|
-
* Title text of the page shown to the user when target participant could not be reached
|
1945
|
-
*/
|
1946
|
-
participantCouldNotBeReachedTitle?: string;
|
1947
|
-
/**
|
1948
|
-
* More details text of the page shown to the user when target participant could not be reached
|
1949
|
-
*/
|
1950
|
-
participantCouldNotBeReachedMoreDetails?: string;
|
1951
|
-
/**
|
1952
|
-
* Title text of the page shown to the user when permission to reach participant is not allowed
|
1953
|
-
*/
|
1954
|
-
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
1955
|
-
/**
|
1956
|
-
* More details text of the page shown to the user when permission to reach participant is not allowed
|
1957
|
-
*/
|
1958
|
-
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
1959
|
-
/**
|
1960
|
-
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
1961
|
-
*/
|
1962
|
-
unableToResolveTenantTitle?: string;
|
1963
|
-
/**
|
1964
|
-
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
1965
|
-
*/
|
1966
|
-
unableToResolveTenantMoreDetails?: string;
|
1967
|
-
/**
|
1968
|
-
* Title text of the page shown to the user when target participant id is malformed
|
1969
|
-
*/
|
1970
|
-
participantIdIsMalformedTitle?: string;
|
1971
|
-
/**
|
1972
|
-
* More details text of the page shown to the user when target participant id is malformed
|
1973
|
-
*/
|
1974
|
-
participantIdIsMalformedMoreDetails?: string;
|
1975
1236
|
}
|
1976
1237
|
|
1977
1238
|
/**
|
@@ -1994,7 +1255,6 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
|
|
1994
1255
|
participantsButton?: boolean | {
|
1995
1256
|
disabled: boolean;
|
1996
1257
|
};
|
1997
|
-
legacyControlBarExperience?: boolean;
|
1998
1258
|
});
|
1999
1259
|
|
2000
1260
|
/**
|
@@ -2056,7 +1316,7 @@ export declare type CallErrors = {
|
|
2056
1316
|
*
|
2057
1317
|
* @public
|
2058
1318
|
*/
|
2059
|
-
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' |
|
1319
|
+
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';
|
2060
1320
|
|
2061
1321
|
/**
|
2062
1322
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2123,25 +1383,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2123
1383
|
isMuted?: boolean;
|
2124
1384
|
/** Whether calling participant is speaking */
|
2125
1385
|
isSpeaking?: boolean;
|
2126
|
-
/** Role of participant in Rooms call */
|
2127
|
-
role?: Role;
|
2128
|
-
};
|
2129
|
-
|
2130
|
-
/**
|
2131
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2132
|
-
*
|
2133
|
-
* @remarks
|
2134
|
-
* This is currently in beta and only supports calling one Teams User.
|
2135
|
-
*
|
2136
|
-
* @example
|
2137
|
-
* ```
|
2138
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2139
|
-
* ```
|
2140
|
-
*
|
2141
|
-
* @beta
|
2142
|
-
*/
|
2143
|
-
export declare type CallParticipantsLocator = {
|
2144
|
-
participantIds: string[];
|
2145
1386
|
};
|
2146
1387
|
|
2147
1388
|
/**
|
@@ -2160,7 +1401,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2160
1401
|
*/
|
2161
1402
|
export declare interface CallProviderProps {
|
2162
1403
|
children: React_2.ReactNode;
|
2163
|
-
call?: Call
|
1404
|
+
call?: Call;
|
2164
1405
|
}
|
2165
1406
|
|
2166
1407
|
/**
|
@@ -2174,10 +1415,6 @@ export declare interface CallState {
|
|
2174
1415
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2175
1416
|
*/
|
2176
1417
|
id: string;
|
2177
|
-
/**
|
2178
|
-
* Type of the call.
|
2179
|
-
*/
|
2180
|
-
kind: CallKind;
|
2181
1418
|
/**
|
2182
1419
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2183
1420
|
*/
|
@@ -2232,14 +1469,6 @@ export declare interface CallState {
|
|
2232
1469
|
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
2233
1470
|
*/
|
2234
1471
|
transcription: TranscriptionCallFeature;
|
2235
|
-
/**
|
2236
|
-
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
2237
|
-
*/
|
2238
|
-
captionsFeature: CaptionsCallFeatureState;
|
2239
|
-
/**
|
2240
|
-
* Proxy of {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
|
2241
|
-
*/
|
2242
|
-
optimalVideoCount: OptimalVideoCountFeatureState;
|
2243
1472
|
/**
|
2244
1473
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
2245
1474
|
*/
|
@@ -2268,18 +1497,6 @@ export declare interface CallState {
|
|
2268
1497
|
* Stores the latest call diagnostics.
|
2269
1498
|
*/
|
2270
1499
|
diagnostics: DiagnosticsCallFeatureState;
|
2271
|
-
/**
|
2272
|
-
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2273
|
-
*/
|
2274
|
-
role?: ParticipantRole;
|
2275
|
-
/**
|
2276
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2277
|
-
*/
|
2278
|
-
totalParticipantCount?: number;
|
2279
|
-
/**
|
2280
|
-
* Transfer state of call
|
2281
|
-
*/
|
2282
|
-
transfer: TransferFeature;
|
2283
1500
|
}
|
2284
1501
|
|
2285
1502
|
/**
|
@@ -2303,20 +1520,25 @@ export declare interface CallWithChatAdapterManagement {
|
|
2303
1520
|
* @public
|
2304
1521
|
*/
|
2305
1522
|
removeParticipant(userId: string): Promise<void>;
|
2306
|
-
/**
|
2307
|
-
* Remove a participant from the call.
|
2308
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2309
|
-
* @beta
|
2310
|
-
*/
|
2311
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2312
1523
|
/**
|
2313
1524
|
* Join the call with microphone initially on/off.
|
2314
|
-
*
|
1525
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
2315
1526
|
* @param microphoneOn - Whether microphone is initially enabled
|
2316
1527
|
*
|
2317
1528
|
* @public
|
2318
1529
|
*/
|
2319
1530
|
joinCall(microphoneOn?: boolean): Call | undefined;
|
1531
|
+
/**
|
1532
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
1533
|
+
* true = turn on the device when joining call
|
1534
|
+
* false = turn off the device when joining call
|
1535
|
+
* 'keep'/undefined = retain devices' precall state
|
1536
|
+
*
|
1537
|
+
* @param options - param to set microphone/camera initially on/off/use precall state.
|
1538
|
+
*
|
1539
|
+
* @public
|
1540
|
+
*/
|
1541
|
+
joinCall(options?: JoinCallOptions): Call | undefined;
|
2320
1542
|
/**
|
2321
1543
|
* Leave the call.
|
2322
1544
|
*
|
@@ -2363,12 +1585,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2363
1585
|
* @public
|
2364
1586
|
*/
|
2365
1587
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2366
|
-
/**
|
2367
|
-
* Start the call.
|
2368
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2369
|
-
* @beta
|
2370
|
-
*/
|
2371
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
2372
1588
|
/**
|
2373
1589
|
* Start sharing the screen during a call.
|
2374
1590
|
*
|
@@ -2546,97 +1762,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2546
1762
|
* @public
|
2547
1763
|
*/
|
2548
1764
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2549
|
-
/** @beta */
|
2550
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2551
|
-
/** @beta */
|
2552
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
2553
|
-
/** @beta */
|
2554
|
-
clearFileUploads: () => void;
|
2555
|
-
/** @beta */
|
2556
|
-
cancelFileUpload: (id: string) => void;
|
2557
|
-
/** @beta */
|
2558
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
2559
|
-
/** @beta */
|
2560
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2561
|
-
/** @beta */
|
2562
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2563
|
-
downloadAttachments: (options: {
|
2564
|
-
attachmentUrls: string[];
|
2565
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
2566
|
-
/**
|
2567
|
-
* Puts the Call in a Localhold.
|
2568
|
-
*
|
2569
|
-
* @beta
|
2570
|
-
*/
|
2571
|
-
holdCall: () => Promise<void>;
|
2572
|
-
/**
|
2573
|
-
* Resumes the call from a LocalHold state.
|
2574
|
-
*
|
2575
|
-
* @beta
|
2576
|
-
*/
|
2577
|
-
resumeCall: () => Promise<void>;
|
2578
|
-
/**
|
2579
|
-
* Adds a new Participant to the call.
|
2580
|
-
*
|
2581
|
-
* @beta
|
2582
|
-
*/
|
2583
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2584
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2585
|
-
/**
|
2586
|
-
* send dtmf tone to another participant in the call in 1:1 calls
|
2587
|
-
*
|
2588
|
-
* @beta
|
2589
|
-
*/
|
2590
|
-
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2591
|
-
/**
|
2592
|
-
* Continues into a call when the browser version is not supported.
|
2593
|
-
*/
|
2594
|
-
allowUnsupportedBrowserVersion(): void;
|
2595
|
-
/**
|
2596
|
-
* Function to Start captions
|
2597
|
-
* @param options - options for start captions
|
2598
|
-
*/
|
2599
|
-
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
2600
|
-
/**
|
2601
|
-
* Function to set caption language
|
2602
|
-
* @param language - language set for caption
|
2603
|
-
*/
|
2604
|
-
setCaptionLanguage(language: string): Promise<void>;
|
2605
|
-
/**
|
2606
|
-
* Function to set spoken language
|
2607
|
-
* @param language - spoken language
|
2608
|
-
*/
|
2609
|
-
setSpokenLanguage(language: string): Promise<void>;
|
2610
|
-
/**
|
2611
|
-
* Funtion to stop captions
|
2612
|
-
*/
|
2613
|
-
stopCaptions(): Promise<void>;
|
2614
|
-
/**
|
2615
|
-
* Start the video background effect.
|
2616
|
-
*
|
2617
|
-
* @beta
|
2618
|
-
*/
|
2619
|
-
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
2620
|
-
/**
|
2621
|
-
* Stop the video background effect.
|
2622
|
-
*
|
2623
|
-
* @beta
|
2624
|
-
*/
|
2625
|
-
stopVideoBackgroundEffects(): Promise<void>;
|
2626
|
-
/**
|
2627
|
-
* Override the background picker images for background replacement effect.
|
2628
|
-
*
|
2629
|
-
* @param backgroundImages - Array of custom background images.
|
2630
|
-
*
|
2631
|
-
* @beta
|
2632
|
-
*/
|
2633
|
-
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
2634
|
-
/**
|
2635
|
-
* Update the selected video background effect
|
2636
|
-
*
|
2637
|
-
* @beta
|
2638
|
-
*/
|
2639
|
-
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
2640
1765
|
}
|
2641
1766
|
|
2642
1767
|
/**
|
@@ -2664,8 +1789,6 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2664
1789
|
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
2665
1790
|
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
2666
1791
|
on(event: 'callError', listener: (e: AdapterError) => void): void;
|
2667
|
-
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2668
|
-
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2669
1792
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
2670
1793
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
2671
1794
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -2677,8 +1800,6 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2677
1800
|
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
2678
1801
|
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
2679
1802
|
off(event: 'callError', listener: (e: AdapterError) => void): void;
|
2680
|
-
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2681
|
-
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2682
1803
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
2683
1804
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
2684
1805
|
on(event: 'messageRead', listener: MessageReadListener): void;
|
@@ -2711,22 +1832,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
2711
1832
|
* @public
|
2712
1833
|
*/
|
2713
1834
|
page: CallCompositePage;
|
2714
|
-
/**
|
2715
|
-
* Files being uploaded by a user in the current thread.
|
2716
|
-
* Should be set to null once the upload is complete.
|
2717
|
-
* Array of type {@link FileUploadsUiState}
|
2718
|
-
*
|
2719
|
-
* @beta
|
2720
|
-
*/
|
2721
|
-
fileUploads?: FileUploadsUiState;
|
2722
|
-
/**
|
2723
|
-
* State to track whether the end user has opted in to using a
|
2724
|
-
* out of date version of a supported browser. Allows the user
|
2725
|
-
* to start a call in this state.
|
2726
|
-
*
|
2727
|
-
* @beta
|
2728
|
-
*/
|
2729
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
2730
1835
|
}
|
2731
1836
|
|
2732
1837
|
/**
|
@@ -2751,14 +1856,6 @@ export declare interface CallWithChatClientState {
|
|
2751
1856
|
devices: DeviceManagerState;
|
2752
1857
|
/** State of whether the active call is a Teams interop call */
|
2753
1858
|
isTeamsCall: boolean;
|
2754
|
-
/** alternateCallerId for PSTN call */
|
2755
|
-
alternateCallerId?: string | undefined;
|
2756
|
-
/** Environment information for system adapter is made on */
|
2757
|
-
environmentInfo?: EnvironmentInfo;
|
2758
|
-
/** Default set of background images for background replacement effect */
|
2759
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
2760
|
-
/** State to track the selected video background effect */
|
2761
|
-
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
2762
1859
|
}
|
2763
1860
|
|
2764
1861
|
/**
|
@@ -2825,9 +1922,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
2825
1922
|
ParticipantItemScreenShareStart?: JSX.Element;
|
2826
1923
|
VideoTileMicOff?: JSX.Element;
|
2827
1924
|
LocalCameraSwitch?: JSX.Element;
|
2828
|
-
PeoplePaneAddPerson?: JSX.Element;
|
2829
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
2830
|
-
DialpadStartCall?: JSX.Element;
|
2831
1925
|
EditBoxCancel?: JSX.Element;
|
2832
1926
|
EditBoxSubmit?: JSX.Element;
|
2833
1927
|
MessageDelivered?: JSX.Element;
|
@@ -2854,62 +1948,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
2854
1948
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
2855
1949
|
*/
|
2856
1950
|
callControls?: boolean | CallWithChatControlOptions;
|
2857
|
-
/**
|
2858
|
-
* Properties for configuring the File Sharing feature.
|
2859
|
-
* If undefined, file sharing feature will be disabled.
|
2860
|
-
* @beta
|
2861
|
-
*/
|
2862
|
-
fileSharing?: FileSharingOptions;
|
2863
|
-
/**
|
2864
|
-
* Device permissions check options for your call.
|
2865
|
-
* Here you can choose what device permissions you prompt the user for,
|
2866
|
-
* as well as what device permissions must be accepted before starting a call.
|
2867
|
-
*/
|
2868
|
-
deviceChecks?: DeviceCheckOptions;
|
2869
|
-
/**
|
2870
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
2871
|
-
* unable to grant your site the required permissions for the call.
|
2872
|
-
*
|
2873
|
-
* @example
|
2874
|
-
* ```ts
|
2875
|
-
* onPermissionsTroubleshootingClick: () =>
|
2876
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
2877
|
-
* ```
|
2878
|
-
*
|
2879
|
-
* @remarks
|
2880
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
2881
|
-
*/
|
2882
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
2883
|
-
camera: PermissionState;
|
2884
|
-
microphone: PermissionState;
|
2885
|
-
}) => void;
|
2886
|
-
/**
|
2887
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
2888
|
-
* experienced when connecting to a call.
|
2889
|
-
*
|
2890
|
-
* @example
|
2891
|
-
* ```ts
|
2892
|
-
* onNetworkingTroubleShootingClick?: () =>
|
2893
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
2894
|
-
* ```
|
2895
|
-
*
|
2896
|
-
* @remarks
|
2897
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
2898
|
-
*/
|
2899
|
-
onNetworkingTroubleShootingClick?: () => void;
|
2900
|
-
/**
|
2901
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
2902
|
-
*
|
2903
|
-
* @example
|
2904
|
-
* ```ts
|
2905
|
-
* onBrowserTroubleShootingClick?: () =>
|
2906
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
2907
|
-
* ```
|
2908
|
-
*
|
2909
|
-
* @remarks
|
2910
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
2911
|
-
*/
|
2912
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2913
1951
|
};
|
2914
1952
|
|
2915
1953
|
/**
|
@@ -2995,18 +2033,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
2995
2033
|
* Only used with `mobileView` set to `true`.
|
2996
2034
|
*/
|
2997
2035
|
moreDrawerSpeakerMenuTitle: string;
|
2998
|
-
/**
|
2999
|
-
* Title for the captions sub-menu in more button drawer.
|
3000
|
-
*
|
3001
|
-
* Only used with `mobileView` set to `true`.
|
3002
|
-
*/
|
3003
|
-
moreDrawerCaptionsMenuTitle: string;
|
3004
|
-
/**
|
3005
|
-
* Title for the spoken language sub-menu in more button drawer.
|
3006
|
-
*
|
3007
|
-
* Only used with `mobileView` set to `true`.
|
3008
|
-
*/
|
3009
|
-
moreDrawerSpokenLanguageMenuTitle: string;
|
3010
2036
|
/**
|
3011
2037
|
* {@Link CallWithChatComposite} control bar More button label
|
3012
2038
|
*/
|
@@ -3047,10 +2073,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3047
2073
|
* Label for button to copy invite link
|
3048
2074
|
*/
|
3049
2075
|
copyInviteLinkButtonLabel: string;
|
3050
|
-
/**
|
3051
|
-
* Label for button to open dialpad
|
3052
|
-
*/
|
3053
|
-
openDialpadButtonLabel: string;
|
3054
2076
|
/**
|
3055
2077
|
* Label for SidePaneHeader dismiss button
|
3056
2078
|
*/
|
@@ -3063,34 +2085,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3063
2085
|
* Aria label string for return to call back button
|
3064
2086
|
*/
|
3065
2087
|
returnToCallButtonAriaLabel?: string;
|
3066
|
-
/**
|
3067
|
-
* Label for add people dropdown
|
3068
|
-
*/
|
3069
|
-
peoplePaneAddPeopleButtonLabel: string;
|
3070
|
-
/**
|
3071
|
-
* Label for button to start a call
|
3072
|
-
*/
|
3073
|
-
dialpadStartCallButtonLabel: string;
|
3074
|
-
/**
|
3075
|
-
* Title for dialpad Modal
|
3076
|
-
*/
|
3077
|
-
dialpadModalTitle: string;
|
3078
|
-
/**
|
3079
|
-
* Aria Label for dialpad Modal
|
3080
|
-
*/
|
3081
|
-
dialpadModalAriaLabel: string;
|
3082
|
-
/**
|
3083
|
-
* Aria Label for dialpad Modal close button
|
3084
|
-
*/
|
3085
|
-
dialpadCloseModalButtonAriaLabel: string;
|
3086
|
-
/**
|
3087
|
-
* Placeholder text for dtmf dialpad
|
3088
|
-
*/
|
3089
|
-
dtmfDialpadPlaceholderText: string;
|
3090
|
-
/**
|
3091
|
-
* Label for the button to open dtmf dialpad
|
3092
|
-
*/
|
3093
|
-
openDtmfDialpadLabel: string;
|
3094
2088
|
/**
|
3095
2089
|
* aria label for when the invite link has been actioned
|
3096
2090
|
*/
|
@@ -3107,9 +2101,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3107
2101
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
3108
2102
|
* @defaultValue true
|
3109
2103
|
*/
|
3110
|
-
chatButton?: boolean
|
3111
|
-
disabled: boolean;
|
3112
|
-
};
|
2104
|
+
chatButton?: boolean;
|
3113
2105
|
}
|
3114
2106
|
|
3115
2107
|
/**
|
@@ -3117,36 +2109,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3117
2109
|
*
|
3118
2110
|
* @public
|
3119
2111
|
*/
|
3120
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' |
|
3121
|
-
|
3122
|
-
/**
|
3123
|
-
* @beta
|
3124
|
-
*
|
3125
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3126
|
-
* by their browsers settings.
|
3127
|
-
*/
|
3128
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3129
|
-
|
3130
|
-
/**
|
3131
|
-
* @beta
|
3132
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
3133
|
-
*/
|
3134
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3135
|
-
/** Icon name for the camera icon */
|
3136
|
-
cameraIconName?: string;
|
3137
|
-
/** Icon name for the microphone icon */
|
3138
|
-
microphoneIconName?: string;
|
3139
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
3140
|
-
connectorIconName?: string;
|
3141
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3142
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3143
|
-
}
|
3144
|
-
|
3145
|
-
/**
|
3146
|
-
* @beta
|
3147
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3148
|
-
*/
|
3149
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2112
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3150
2113
|
|
3151
2114
|
/**
|
3152
2115
|
* A button to turn camera on / off.
|
@@ -3210,10 +2173,6 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
|
|
3210
2173
|
* Styles for {@link CameraButton} and the device selection flyout.
|
3211
2174
|
*/
|
3212
2175
|
styles?: Partial<CameraButtonStyles>;
|
3213
|
-
/**
|
3214
|
-
* Callback when a effects is clicked
|
3215
|
-
*/
|
3216
|
-
onShowVideoEffectsPicker?: (showVideoEffectsOptions: boolean) => void;
|
3217
2176
|
}
|
3218
2177
|
|
3219
2178
|
/**
|
@@ -3286,10 +2245,6 @@ export declare interface CameraButtonStrings {
|
|
3286
2245
|
* Title for primary action section of split button
|
3287
2246
|
*/
|
3288
2247
|
cameraPrimaryActionSplitButtonTitle?: string;
|
3289
|
-
/**
|
3290
|
-
* Title for video effects menu item
|
3291
|
-
*/
|
3292
|
-
videoEffectsMenuItemTitle?: string;
|
3293
2248
|
}
|
3294
2249
|
|
3295
2250
|
/**
|
@@ -3304,177 +2259,18 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3304
2259
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3305
2260
|
}
|
3306
2261
|
|
3307
|
-
/**
|
3308
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3309
|
-
* by their browsers settings.
|
3310
|
-
*
|
3311
|
-
* @beta
|
3312
|
-
*/
|
3313
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3314
|
-
|
3315
|
-
/**
|
3316
|
-
* @beta
|
3317
|
-
* Props for CameraSitePermissions component.
|
3318
|
-
*/
|
3319
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3320
|
-
/** Icon name for the camera icon */
|
3321
|
-
cameraIconName?: string;
|
3322
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3323
|
-
strings?: CameraSitePermissionsStrings;
|
3324
|
-
}
|
3325
|
-
|
3326
|
-
/**
|
3327
|
-
* @beta
|
3328
|
-
* Strings for CameraSitePermissions component.
|
3329
|
-
*/
|
3330
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3331
|
-
|
3332
2262
|
/**
|
3333
2263
|
* @public
|
3334
2264
|
* Callback function run when a message edit is cancelled.
|
3335
2265
|
*/
|
3336
2266
|
export declare type CancelEditCallback = (messageId: string) => void;
|
3337
2267
|
|
3338
|
-
/**
|
3339
|
-
* @beta
|
3340
|
-
* strings for captions setting modal
|
3341
|
-
*/
|
3342
|
-
export declare interface CaptionsAvailableLanguageStrings {
|
3343
|
-
'ar-ae': string;
|
3344
|
-
'ar-sa': string;
|
3345
|
-
'da-dk': string;
|
3346
|
-
'de-de': string;
|
3347
|
-
'en-au': string;
|
3348
|
-
'en-ca': string;
|
3349
|
-
'en-gb': string;
|
3350
|
-
'en-in': string;
|
3351
|
-
'en-nz': string;
|
3352
|
-
'en-us': string;
|
3353
|
-
'es-es': string;
|
3354
|
-
'es-mx': string;
|
3355
|
-
'fi-fi': string;
|
3356
|
-
'fr-ca': string;
|
3357
|
-
'fr-fr': string;
|
3358
|
-
'hi-in': string;
|
3359
|
-
'it-it': string;
|
3360
|
-
'ja-jp': string;
|
3361
|
-
'ko-kr': string;
|
3362
|
-
'nb-no': string;
|
3363
|
-
'nl-be': string;
|
3364
|
-
'nl-nl': string;
|
3365
|
-
'pl-pl': string;
|
3366
|
-
'pt-br': string;
|
3367
|
-
'ru-ru': string;
|
3368
|
-
'sv-se': string;
|
3369
|
-
'zh-cn': string;
|
3370
|
-
'zh-hk': string;
|
3371
|
-
'cs-cz': string;
|
3372
|
-
'pt-pt': string;
|
3373
|
-
'tr-tr': string;
|
3374
|
-
'vi-vn': string;
|
3375
|
-
'th-th': string;
|
3376
|
-
'he-il': string;
|
3377
|
-
'cy-gb': string;
|
3378
|
-
'uk-ua': string;
|
3379
|
-
'el-gr': string;
|
3380
|
-
'hu-hu': string;
|
3381
|
-
'ro-ro': string;
|
3382
|
-
'sk-sk': string;
|
3383
|
-
'zh-tw': string;
|
3384
|
-
}
|
3385
|
-
|
3386
|
-
/**
|
3387
|
-
* @beta
|
3388
|
-
*/
|
3389
|
-
export declare interface CaptionsCallFeatureState {
|
3390
|
-
/**
|
3391
|
-
* supported spoken languages
|
3392
|
-
*/
|
3393
|
-
supportedSpokenLanguages: string[];
|
3394
|
-
/**
|
3395
|
-
* array of received captions
|
3396
|
-
*/
|
3397
|
-
captions: CaptionsInfo[];
|
3398
|
-
/**
|
3399
|
-
* whether captions is on/off
|
3400
|
-
*/
|
3401
|
-
isCaptionsFeatureActive: boolean;
|
3402
|
-
/**
|
3403
|
-
* whether start captions button is clicked or now
|
3404
|
-
*/
|
3405
|
-
startCaptionsInProgress: boolean;
|
3406
|
-
/**
|
3407
|
-
* supported caption languages
|
3408
|
-
*/
|
3409
|
-
supportedCaptionLanguages: string[];
|
3410
|
-
/**
|
3411
|
-
* current spoken language
|
3412
|
-
*/
|
3413
|
-
currentSpokenLanguage: string;
|
3414
|
-
/**
|
3415
|
-
* current caption language
|
3416
|
-
*/
|
3417
|
-
currentCaptionLanguage: string;
|
3418
|
-
}
|
3419
|
-
|
3420
|
-
/**
|
3421
|
-
* @beta
|
3422
|
-
*/
|
3423
|
-
export declare interface CaptionsInfo {
|
3424
|
-
/**
|
3425
|
-
* The state in which this caption data can be classified.
|
3426
|
-
*/
|
3427
|
-
resultType: CaptionsResultType;
|
3428
|
-
/**
|
3429
|
-
* The information of the call participant who spoke the captioned text.
|
3430
|
-
*/
|
3431
|
-
speaker: CallerInfo;
|
3432
|
-
/**
|
3433
|
-
* The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
|
3434
|
-
*/
|
3435
|
-
spokenLanguage: string;
|
3436
|
-
/**
|
3437
|
-
* The caption text.
|
3438
|
-
*/
|
3439
|
-
captionText: string;
|
3440
|
-
/**
|
3441
|
-
* Timestamp of when the captioned words were initially spoken.
|
3442
|
-
*/
|
3443
|
-
timestamp: Date;
|
3444
|
-
/**
|
3445
|
-
* The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
|
3446
|
-
*/
|
3447
|
-
captionLanguage?: string;
|
3448
|
-
/**
|
3449
|
-
* The original spoken caption text prior to translating to subtitle language
|
3450
|
-
*/
|
3451
|
-
spokenText?: string;
|
3452
|
-
}
|
3453
|
-
|
3454
|
-
/**
|
3455
|
-
* options bag to start captions
|
3456
|
-
*
|
3457
|
-
* @beta
|
3458
|
-
*/
|
3459
|
-
export declare type CaptionsOptions = {
|
3460
|
-
spokenLanguage: string;
|
3461
|
-
};
|
3462
|
-
|
3463
|
-
/**
|
3464
|
-
* Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
|
3465
|
-
*
|
3466
|
-
* @beta
|
3467
|
-
*/
|
3468
|
-
export declare type CaptionsReceivedListener = (event: {
|
3469
|
-
captionsInfo: CaptionsInfo;
|
3470
|
-
}) => void;
|
3471
|
-
|
3472
2268
|
/**
|
3473
2269
|
* {@link ChatComposite} Adapter interface.
|
3474
2270
|
*
|
3475
2271
|
* @public
|
3476
2272
|
*/
|
3477
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers
|
2273
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
|
3478
2274
|
|
3479
2275
|
/**
|
3480
2276
|
* {@link ChatAdapter} state.
|
@@ -3582,9 +2378,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
3582
2378
|
/**
|
3583
2379
|
* Update a message content.
|
3584
2380
|
*/
|
3585
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
3586
|
-
attachedFilesMetadata?: FileMetadata[];
|
3587
|
-
}): Promise<void>;
|
2381
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
3588
2382
|
/**
|
3589
2383
|
* Delete a message in the thread.
|
3590
2384
|
*/
|
@@ -3597,9 +2391,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3597
2391
|
*
|
3598
2392
|
*/
|
3599
2393
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3600
|
-
downloadAttachments: (options: {
|
3601
|
-
attachmentUrls: string[];
|
3602
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
3603
2394
|
}
|
3604
2395
|
|
3605
2396
|
/**
|
@@ -3609,13 +2400,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3609
2400
|
*/
|
3610
2401
|
export declare type ChatAdapterUiState = {
|
3611
2402
|
error?: Error;
|
3612
|
-
/**
|
3613
|
-
* Files being uploaded by a user in the current thread.
|
3614
|
-
* Should be set to null once the upload is complete.
|
3615
|
-
* Array of type {@link FileUploadsUiState}
|
3616
|
-
* @beta
|
3617
|
-
*/
|
3618
|
-
fileUploads?: FileUploadsUiState;
|
3619
2403
|
};
|
3620
2404
|
|
3621
2405
|
/**
|
@@ -3718,7 +2502,6 @@ export declare type ChatCompositeIcons = {
|
|
3718
2502
|
ParticipantItemOptionsHovered?: JSX.Element;
|
3719
2503
|
SendBoxSend?: JSX.Element;
|
3720
2504
|
SendBoxSendHovered?: JSX.Element;
|
3721
|
-
SendBoxAttachFile?: JSX.Element;
|
3722
2505
|
};
|
3723
2506
|
|
3724
2507
|
/**
|
@@ -3733,13 +2516,6 @@ export declare type ChatCompositeOptions = {
|
|
3733
2516
|
* @defaultValue true
|
3734
2517
|
*/
|
3735
2518
|
errorBar?: boolean;
|
3736
|
-
/**
|
3737
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
3738
|
-
* @defaultValue false
|
3739
|
-
*
|
3740
|
-
* @beta
|
3741
|
-
*/
|
3742
|
-
participantPane?: boolean;
|
3743
2519
|
/**
|
3744
2520
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
3745
2521
|
* @defaultValue true
|
@@ -3750,12 +2526,6 @@ export declare type ChatCompositeOptions = {
|
|
3750
2526
|
* When undefined nothing has focus on render
|
3751
2527
|
*/
|
3752
2528
|
autoFocus?: 'sendBoxTextField';
|
3753
|
-
/**
|
3754
|
-
* Properties for configuring the File Sharing feature.
|
3755
|
-
* If undefined, file sharing feature will be disabled.
|
3756
|
-
* @beta
|
3757
|
-
*/
|
3758
|
-
fileSharing?: FileSharingOptions;
|
3759
2529
|
};
|
3760
2530
|
|
3761
2531
|
/**
|
@@ -3783,12 +2553,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
3783
2553
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
3784
2554
|
*/
|
3785
2555
|
options?: ChatCompositeOptions;
|
3786
|
-
/**
|
3787
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
3788
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
3789
|
-
* @defaultValue 'desktop'
|
3790
|
-
*/
|
3791
|
-
formFactor?: 'desktop' | 'mobile';
|
3792
2556
|
}
|
3793
2557
|
|
3794
2558
|
/**
|
@@ -3803,10 +2567,6 @@ export declare interface ChatCompositeStrings {
|
|
3803
2567
|
* Chat list header text
|
3804
2568
|
*/
|
3805
2569
|
chatListHeader: string;
|
3806
|
-
/**
|
3807
|
-
* Upload File Button text
|
3808
|
-
*/
|
3809
|
-
uploadFile: string;
|
3810
2570
|
}
|
3811
2571
|
|
3812
2572
|
/**
|
@@ -3872,9 +2632,7 @@ export declare type ChatHandlers = {
|
|
3872
2632
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
3873
2633
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
3874
2634
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
3875
|
-
onUpdateMessage: (messageId: string, content: string
|
3876
|
-
attachedFilesMetadata?: FileMetadata[];
|
3877
|
-
}) => Promise<void>;
|
2635
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
3878
2636
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
3879
2637
|
};
|
3880
2638
|
|
@@ -3901,12 +2659,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3901
2659
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
3902
2660
|
*/
|
3903
2661
|
metadata?: Record<string, string>;
|
3904
|
-
/**
|
3905
|
-
* @beta
|
3906
|
-
* A list of files attached to the message.
|
3907
|
-
* {@link FileMetadata}
|
3908
|
-
*/
|
3909
|
-
attachedFilesMetadata?: FileMetadata[];
|
3910
2662
|
}
|
3911
2663
|
|
3912
2664
|
/**
|
@@ -3920,7 +2672,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3920
2672
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3921
2673
|
clientMessageId?: string;
|
3922
2674
|
status: MessageStatus;
|
3923
|
-
policyViolation?: boolean;
|
3924
2675
|
};
|
3925
2676
|
|
3926
2677
|
/**
|
@@ -4040,46 +2791,33 @@ export declare type Common<A, B> = Pick<A, CommonProperties<A, B>>;
|
|
4040
2791
|
export declare interface CommonCallAdapter extends AdapterState<CallAdapterState>, Disposable, CallAdapterCallOperations, CallAdapterDeviceManagement, CallAdapterSubscribers {
|
4041
2792
|
/**
|
4042
2793
|
* Join the call with microphone initially on/off.
|
4043
|
-
*
|
2794
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
4044
2795
|
* @param microphoneOn - Whether microphone is initially enabled
|
4045
2796
|
*
|
4046
2797
|
* @public
|
4047
2798
|
*/
|
4048
2799
|
joinCall(microphoneOn?: boolean): void;
|
4049
2800
|
/**
|
4050
|
-
*
|
2801
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
2802
|
+
* true = turn on the device when joining call
|
2803
|
+
* false = turn off the device when joining call
|
2804
|
+
* 'keep'/undefined = retain devices' precall state
|
4051
2805
|
*
|
4052
|
-
* @param
|
2806
|
+
* @param options - param to set microphone/camera initially on/off/use precall state.
|
4053
2807
|
*
|
4054
2808
|
* @public
|
4055
2809
|
*/
|
4056
|
-
|
2810
|
+
joinCall(options?: JoinCallOptions): void;
|
4057
2811
|
/**
|
4058
2812
|
* Start the call.
|
4059
|
-
*
|
4060
|
-
* @
|
2813
|
+
*
|
2814
|
+
* @param participants - An array of participant ids to join
|
2815
|
+
*
|
2816
|
+
* @public
|
4061
2817
|
*/
|
4062
|
-
startCall(participants:
|
2818
|
+
startCall(participants: string[], options?: StartCallOptions): void;
|
4063
2819
|
}
|
4064
2820
|
|
4065
|
-
/**
|
4066
|
-
* Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
|
4067
|
-
*
|
4068
|
-
* @beta
|
4069
|
-
*/
|
4070
|
-
export declare type CommonCallAdapterOptions = {
|
4071
|
-
/**
|
4072
|
-
* Default set of background images for background image picker.
|
4073
|
-
*/
|
4074
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
4075
|
-
/**
|
4076
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4077
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4078
|
-
* and would not be updated again within the lifecycle of adapter.
|
4079
|
-
*/
|
4080
|
-
onFetchProfile?: OnFetchProfileCallback;
|
4081
|
-
};
|
4082
|
-
|
4083
2821
|
/**
|
4084
2822
|
* Customization options for the control bar in calling experience.
|
4085
2823
|
*
|
@@ -4100,9 +2838,7 @@ export declare type CommonCallControlOptions = {
|
|
4100
2838
|
* Show or Hide Camera Button during a call
|
4101
2839
|
* @defaultValue true
|
4102
2840
|
*/
|
4103
|
-
cameraButton?: boolean
|
4104
|
-
disabled: boolean;
|
4105
|
-
};
|
2841
|
+
cameraButton?: boolean;
|
4106
2842
|
/**
|
4107
2843
|
* Show or Hide EndCall button during a call.
|
4108
2844
|
* @defaultValue true
|
@@ -4112,16 +2848,12 @@ export declare type CommonCallControlOptions = {
|
|
4112
2848
|
* Show or Hide Microphone button during a call.
|
4113
2849
|
* @defaultValue true
|
4114
2850
|
*/
|
4115
|
-
microphoneButton?: boolean
|
4116
|
-
disabled: boolean;
|
4117
|
-
};
|
2851
|
+
microphoneButton?: boolean;
|
4118
2852
|
/**
|
4119
2853
|
* Show or Hide Devices button during a call.
|
4120
2854
|
* @defaultValue true
|
4121
2855
|
*/
|
4122
|
-
devicesButton?: boolean
|
4123
|
-
disabled: boolean;
|
4124
|
-
};
|
2856
|
+
devicesButton?: boolean;
|
4125
2857
|
/**
|
4126
2858
|
* Show, Hide or Disable participants button during a call.
|
4127
2859
|
* @defaultValue true
|
@@ -4136,27 +2868,11 @@ export declare type CommonCallControlOptions = {
|
|
4136
2868
|
screenShareButton?: boolean | {
|
4137
2869
|
disabled: boolean;
|
4138
2870
|
};
|
4139
|
-
/**
|
4140
|
-
* Show, Hide or disable the more button during a call.
|
4141
|
-
* @defaultValue true
|
4142
|
-
*/
|
4143
|
-
moreButton?: boolean;
|
4144
|
-
/**
|
4145
|
-
* Inject custom buttons in the call controls.
|
4146
|
-
*
|
4147
|
-
* @beta
|
4148
|
-
*/
|
4149
|
-
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4150
|
-
holdButton?: boolean | {
|
4151
|
-
disabled: boolean;
|
4152
|
-
};
|
4153
2871
|
/**
|
4154
2872
|
* Show or hide the people button in the composite control bar.
|
4155
2873
|
* @defaultValue true
|
4156
2874
|
*/
|
4157
|
-
peopleButton?: boolean
|
4158
|
-
disabled: boolean;
|
4159
|
-
};
|
2875
|
+
peopleButton?: boolean;
|
4160
2876
|
};
|
4161
2877
|
|
4162
2878
|
/**
|
@@ -4178,9 +2894,6 @@ export declare interface CommonCallingHandlers {
|
|
4178
2894
|
onStopScreenShare: () => Promise<void>;
|
4179
2895
|
onToggleScreenShare: () => Promise<void>;
|
4180
2896
|
onHangUp: (forEveryone?: boolean) => Promise<void>;
|
4181
|
-
onToggleHold: () => Promise<void>;
|
4182
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4183
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4184
2897
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4185
2898
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4186
2899
|
/**
|
@@ -4190,62 +2903,19 @@ export declare interface CommonCallingHandlers {
|
|
4190
2903
|
onDisposeLocalStreamView: () => Promise<void>;
|
4191
2904
|
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
4192
2905
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4193
|
-
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4194
2906
|
onRemoveParticipant(userId: string): Promise<void>;
|
4195
|
-
|
4196
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4197
|
-
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
4198
|
-
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4199
|
-
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
4200
|
-
onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>;
|
4201
|
-
onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
|
4202
|
-
onStopCaptions: () => Promise<void>;
|
4203
|
-
onSetSpokenLanguage: (language: string) => Promise<void>;
|
4204
|
-
onSetCaptionLanguage: (language: string) => Promise<void>;
|
4205
|
-
}
|
4206
|
-
|
4207
|
-
/**
|
4208
|
-
* Return intersect properties of 2 types
|
4209
|
-
*
|
4210
|
-
* @public
|
4211
|
-
*/
|
4212
|
-
export declare type CommonProperties<A, B> = {
|
4213
|
-
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4214
|
-
}[keyof A & keyof B];
|
4215
|
-
|
4216
|
-
/**
|
4217
|
-
* @beta
|
4218
|
-
* Props for SitePermissions components.
|
4219
|
-
*/
|
4220
|
-
export declare interface CommonSitePermissionsProps {
|
4221
|
-
/**
|
4222
|
-
* Name of application calling experience is in.
|
4223
|
-
*/
|
4224
|
-
appName: string;
|
4225
|
-
/**
|
4226
|
-
* Kind of the Site Permissions component.
|
4227
|
-
*/
|
4228
|
-
kind: 'request' | 'denied' | 'check';
|
4229
|
-
/**
|
4230
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4231
|
-
*/
|
4232
|
-
browserHint?: 'safari' | 'unset';
|
4233
|
-
/**
|
4234
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4235
|
-
* If this is not provided the button will not be shown.
|
4236
|
-
*/
|
4237
|
-
onTroubleshootingClick?: () => void;
|
4238
|
-
/**
|
4239
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4240
|
-
* If this is not provided the button will not be shown.
|
4241
|
-
*/
|
4242
|
-
onContinueAnywayClick?: () => void;
|
4243
|
-
/**
|
4244
|
-
* Styles for SitePermissions component.
|
4245
|
-
*/
|
4246
|
-
styles?: SitePermissionsStyles;
|
2907
|
+
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
4247
2908
|
}
|
4248
2909
|
|
2910
|
+
/**
|
2911
|
+
* Return intersect properties of 2 types
|
2912
|
+
*
|
2913
|
+
* @public
|
2914
|
+
*/
|
2915
|
+
export declare type CommonProperties<A, B> = {
|
2916
|
+
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
2917
|
+
}[keyof A & keyof B];
|
2918
|
+
|
4249
2919
|
/**
|
4250
2920
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4251
2921
|
*
|
@@ -4422,11 +3092,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4422
3092
|
export declare interface ComponentLocale {
|
4423
3093
|
/** Strings for components */
|
4424
3094
|
strings: ComponentStrings;
|
4425
|
-
/**
|
4426
|
-
* Optional function to provide customized date format.
|
4427
|
-
* @beta
|
4428
|
-
*/
|
4429
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4430
3095
|
}
|
4431
3096
|
|
4432
3097
|
/**
|
@@ -4470,58 +3135,12 @@ export declare interface ComponentStrings {
|
|
4470
3135
|
typingIndicator: TypingIndicatorStrings;
|
4471
3136
|
/** Strings for SendBox */
|
4472
3137
|
sendBox: SendBoxStrings;
|
4473
|
-
/** Strings for MentionPopover */
|
4474
|
-
mentionPopover: MentionPopoverStrings;
|
4475
3138
|
/** Strings for MessageStatusIndicator */
|
4476
3139
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
4477
3140
|
/** Strings for ErroBar */
|
4478
3141
|
errorBar: ErrorBarStrings;
|
4479
3142
|
/** Strings for VideoGallery */
|
4480
3143
|
videoGallery: VideoGalleryStrings;
|
4481
|
-
/** Strings for Dialpad */
|
4482
|
-
dialpad: DialpadStrings;
|
4483
|
-
/** Strings for VideoTile */
|
4484
|
-
videoTile: VideoTileStrings;
|
4485
|
-
/** Strings for HoldButton */
|
4486
|
-
holdButton: HoldButtonStrings;
|
4487
|
-
/** Strings for a site's permission request prompt */
|
4488
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4489
|
-
/** Strings for a site's permission request prompt */
|
4490
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4491
|
-
/** Strings for a site's permission request prompt */
|
4492
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4493
|
-
/** Strings for a site's permission generic checking prompt */
|
4494
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4495
|
-
/** Strings for a site's permission generic checking prompt */
|
4496
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4497
|
-
/** Strings for a site's permission generic checking prompt */
|
4498
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4499
|
-
/** Strings for a site's permission denied prompt */
|
4500
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4501
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4502
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4503
|
-
/** Strings for a site's permission denied prompt */
|
4504
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4505
|
-
/** Strings for a site's permission denied prompt */
|
4506
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4507
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4508
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4509
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4510
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4511
|
-
/** Strings for unsupported browser UI */
|
4512
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4513
|
-
/** Strings for unsupported browser version UI */
|
4514
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4515
|
-
/** Strings for unsupported browser version UI */
|
4516
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4517
|
-
/** Strings for BrowserPemissionDenied */
|
4518
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4519
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
4520
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4521
|
-
/**
|
4522
|
-
* Strings for the VerticalGallery.
|
4523
|
-
*/
|
4524
|
-
VerticalGallery: VerticalGalleryStrings;
|
4525
3144
|
}
|
4526
3145
|
|
4527
3146
|
/**
|
@@ -4878,7 +3497,7 @@ export declare interface ControlBarProps {
|
|
4878
3497
|
*
|
4879
3498
|
* @public
|
4880
3499
|
*/
|
4881
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator
|
3500
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4882
3501
|
|
4883
3502
|
/**
|
4884
3503
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4888,7 +3507,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
|
|
4888
3507
|
*
|
4889
3508
|
* @public
|
4890
3509
|
*/
|
4891
|
-
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator
|
3510
|
+
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator) => Promise<CallAdapter>;
|
4892
3511
|
|
4893
3512
|
/**
|
4894
3513
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -4896,7 +3515,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
4896
3515
|
*
|
4897
3516
|
* @public
|
4898
3517
|
*/
|
4899
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator
|
3518
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
4900
3519
|
|
4901
3520
|
/**
|
4902
3521
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -4906,7 +3525,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
4906
3525
|
*
|
4907
3526
|
* @public
|
4908
3527
|
*/
|
4909
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient
|
3528
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4910
3529
|
|
4911
3530
|
/**
|
4912
3531
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -4925,9 +3544,14 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4925
3544
|
*
|
4926
3545
|
* @public
|
4927
3546
|
*/
|
4928
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
4929
|
-
|
4930
|
-
|
3547
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
|
3548
|
+
|
3549
|
+
/**
|
3550
|
+
* Type of {@link createDefaultCallingHandlers}.
|
3551
|
+
*
|
3552
|
+
* @public
|
3553
|
+
*/
|
3554
|
+
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined) => CallingHandlers;
|
4931
3555
|
|
4932
3556
|
/**
|
4933
3557
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -4937,7 +3561,7 @@ export declare function createAzureCommunicationChatAdapterFromClient(chatClient
|
|
4937
3561
|
*
|
4938
3562
|
* @public
|
4939
3563
|
*/
|
4940
|
-
export declare const createDefaultCallingHandlers:
|
3564
|
+
export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
4941
3565
|
|
4942
3566
|
/**
|
4943
3567
|
* Create the default implementation of {@link ChatHandlers}.
|
@@ -4951,16 +3575,6 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
|
|
4951
3575
|
*/
|
4952
3576
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
4953
3577
|
|
4954
|
-
/**
|
4955
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
4956
|
-
*
|
4957
|
-
* Useful when implementing a custom component that utilizes the providers
|
4958
|
-
* exported from this library.
|
4959
|
-
*
|
4960
|
-
* @beta
|
4961
|
-
*/
|
4962
|
-
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) => never | TeamsCallingHandlers;
|
4963
|
-
|
4964
3578
|
/**
|
4965
3579
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
4966
3580
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -4986,21 +3600,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4986
3600
|
*/
|
4987
3601
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
4988
3602
|
|
4989
|
-
/**
|
4990
|
-
* @beta
|
4991
|
-
*/
|
4992
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
4993
|
-
|
4994
|
-
/**
|
4995
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
4996
|
-
*
|
4997
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
4998
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
4999
|
-
*
|
5000
|
-
* @beta
|
5001
|
-
*/
|
5002
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
|
5003
|
-
|
5004
3603
|
/**
|
5005
3604
|
* Object returned after creating a local or remote VideoStream.
|
5006
3605
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -5051,146 +3650,8 @@ export declare type CustomAvatarOptions = {
|
|
5051
3650
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
5052
3651
|
/** Display name to be used in Persona */
|
5053
3652
|
text?: string;
|
5054
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5055
|
-
participantState?: ParticipantState;
|
5056
|
-
/**
|
5057
|
-
* If true, show the special coin for unknown persona.
|
5058
|
-
* It has '?' in place of initials, with static font and background colors
|
5059
|
-
*/
|
5060
|
-
showUnknownPersonaCoin?: boolean;
|
5061
3653
|
};
|
5062
3654
|
|
5063
|
-
/**
|
5064
|
-
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
5065
|
-
*
|
5066
|
-
* The response indicates where the custom button should be placed.
|
5067
|
-
*
|
5068
|
-
* Performance tip: This callback is only called when either the callback or its arguments change.
|
5069
|
-
* @beta
|
5070
|
-
*/
|
5071
|
-
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
5072
|
-
export { CustomCallControlButtonCallback }
|
5073
|
-
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
5074
|
-
|
5075
|
-
/**
|
5076
|
-
* Arguments for {@link CustomCallControlButtonCallback}.
|
5077
|
-
*
|
5078
|
-
* @beta
|
5079
|
-
*/
|
5080
|
-
export declare interface CustomCallControlButtonCallbackArgs {
|
5081
|
-
/**
|
5082
|
-
* Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
|
5083
|
-
*
|
5084
|
-
* @defaultValue `'default'`
|
5085
|
-
*/
|
5086
|
-
displayType?: CallControlDisplayType;
|
5087
|
-
}
|
5088
|
-
|
5089
|
-
/**
|
5090
|
-
* Placement for a custom button injected in the {@link CommonCallControlBar}.
|
5091
|
-
*
|
5092
|
-
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
5093
|
-
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
5094
|
-
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
5095
|
-
*
|
5096
|
-
* Multiple buttons assigned the same placement are appended in order.
|
5097
|
-
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
5098
|
-
* in the order provided.
|
5099
|
-
*
|
5100
|
-
* Only 'primary' placement works when legacy call control is enabled in call composite
|
5101
|
-
*
|
5102
|
-
* @beta
|
5103
|
-
*/
|
5104
|
-
declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
5105
|
-
export { CustomCallControlButtonPlacement }
|
5106
|
-
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
5107
|
-
|
5108
|
-
/**
|
5109
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
5110
|
-
*
|
5111
|
-
* Includes the placement prop necessary to indicate where to place the
|
5112
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5113
|
-
*
|
5114
|
-
* @beta
|
5115
|
-
*/
|
5116
|
-
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
5117
|
-
/**
|
5118
|
-
* Where to place the custom button relative to other buttons.
|
5119
|
-
*/
|
5120
|
-
placement: CustomCallControlButtonPlacement;
|
5121
|
-
/**
|
5122
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5123
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5124
|
-
*/
|
5125
|
-
iconName?: string;
|
5126
|
-
}
|
5127
|
-
|
5128
|
-
/**
|
5129
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
5130
|
-
*
|
5131
|
-
* Includes the icon and placement prop necessary to indicate where to place the
|
5132
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5133
|
-
*
|
5134
|
-
* @beta
|
5135
|
-
*/
|
5136
|
-
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
5137
|
-
/**
|
5138
|
-
* Where to place the custom button relative to other buttons.
|
5139
|
-
*/
|
5140
|
-
placement: CustomCallControlButtonPlacement;
|
5141
|
-
/**
|
5142
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5143
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5144
|
-
*/
|
5145
|
-
iconName?: string;
|
5146
|
-
}
|
5147
|
-
|
5148
|
-
/**
|
5149
|
-
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
5150
|
-
*
|
5151
|
-
* @beta
|
5152
|
-
*/
|
5153
|
-
export declare interface CustomControlButtonProps {
|
5154
|
-
/**
|
5155
|
-
* Calback for when button is clicked
|
5156
|
-
*/
|
5157
|
-
onItemClick?: () => void;
|
5158
|
-
/**
|
5159
|
-
* Whether the buttons is disabled
|
5160
|
-
*/
|
5161
|
-
disabled?: boolean;
|
5162
|
-
/**
|
5163
|
-
* Whether the label is displayed or not.
|
5164
|
-
*
|
5165
|
-
* @defaultValue `false`
|
5166
|
-
*/
|
5167
|
-
showLabel?: boolean;
|
5168
|
-
/**
|
5169
|
-
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
5170
|
-
*/
|
5171
|
-
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
5172
|
-
/**
|
5173
|
-
* Optional label for the button
|
5174
|
-
*/
|
5175
|
-
text?: string;
|
5176
|
-
/**
|
5177
|
-
* A unique key for the button
|
5178
|
-
*/
|
5179
|
-
key?: string | number;
|
5180
|
-
/**
|
5181
|
-
* The aria label of the button for the benefit of screen readers.
|
5182
|
-
*/
|
5183
|
-
ariaLabel?: string;
|
5184
|
-
/**
|
5185
|
-
* Detailed description of the button for the benefit of screen readers.
|
5186
|
-
*/
|
5187
|
-
ariaDescription?: string;
|
5188
|
-
/**
|
5189
|
-
* A unique id set for the standard HTML id attibute
|
5190
|
-
*/
|
5191
|
-
id?: string;
|
5192
|
-
}
|
5193
|
-
|
5194
3655
|
/**
|
5195
3656
|
* A custom message type.
|
5196
3657
|
*
|
@@ -5210,18 +3671,6 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5210
3671
|
*/
|
5211
3672
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
5212
3673
|
|
5213
|
-
/**
|
5214
|
-
* @beta
|
5215
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5216
|
-
*/
|
5217
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
5218
|
-
|
5219
|
-
/**
|
5220
|
-
* @beta
|
5221
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5222
|
-
*/
|
5223
|
-
export declare type DeclarativeIncomingCall = IncomingCall;
|
5224
|
-
|
5225
3674
|
/**
|
5226
3675
|
* The default set of icons that are available to use in the UI components.
|
5227
3676
|
*
|
@@ -5238,12 +3687,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5238
3687
|
ControlButtonMicOn: JSX.Element;
|
5239
3688
|
ControlButtonOptions: JSX.Element;
|
5240
3689
|
ControlButtonParticipants: JSX.Element;
|
5241
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5242
3690
|
ControlButtonScreenShareStart: JSX.Element;
|
5243
3691
|
ControlButtonScreenShareStop: JSX.Element;
|
5244
|
-
CancelFileUpload: JSX.Element;
|
5245
|
-
DownloadFile: JSX.Element;
|
5246
|
-
DataLossPreventionProhibited: JSX.Element;
|
5247
3692
|
EditBoxCancel: JSX.Element;
|
5248
3693
|
EditBoxSubmit: JSX.Element;
|
5249
3694
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -5276,38 +3721,13 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5276
3721
|
ParticipantItemOptions: JSX.Element;
|
5277
3722
|
ParticipantItemOptionsHovered: JSX.Element;
|
5278
3723
|
ParticipantItemScreenShareStart: JSX.Element;
|
5279
|
-
HoldCallContextualMenuItem: JSX.Element;
|
5280
|
-
HoldCallButton: JSX.Element;
|
5281
|
-
ResumeCall: JSX.Element;
|
5282
3724
|
SendBoxSend: JSX.Element;
|
5283
3725
|
SendBoxSendHovered: JSX.Element;
|
5284
3726
|
VideoTileMicOff: JSX.Element;
|
5285
|
-
DialpadBackspace: JSX.Element;
|
5286
|
-
SitePermissionsSparkle: JSX.Element;
|
5287
|
-
SitePermissionCamera: JSX.Element;
|
5288
|
-
SitePermissionMic: JSX.Element;
|
5289
|
-
SitePermissionCameraDenied: JSX.Element;
|
5290
|
-
SitePermissionMicDenied: JSX.Element;
|
5291
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5292
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5293
|
-
VideoTilePinned: JSX.Element;
|
5294
|
-
VideoTileMoreOptions: JSX.Element;
|
5295
|
-
VideoTileScaleFit: JSX.Element;
|
5296
|
-
VideoTileScaleFill: JSX.Element;
|
5297
|
-
PinParticipant: JSX.Element;
|
5298
|
-
UnpinParticipant: JSX.Element;
|
5299
3727
|
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
5300
3728
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
5301
3729
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
5302
3730
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5303
|
-
VerticalGalleryLeftButton: JSX.Element;
|
5304
|
-
VerticalGalleryRightButton: JSX.Element;
|
5305
|
-
ControlButtonVideoEffectsOption: JSX.Element;
|
5306
|
-
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5307
|
-
CaptionsIcon: JSX.Element;
|
5308
|
-
CaptionsOffIcon: JSX.Element;
|
5309
|
-
CaptionsSettingsIcon: JSX.Element;
|
5310
|
-
ChangeSpokenLanguageIcon: JSX.Element;
|
5311
3731
|
ContextMenuCameraIcon: JSX.Element;
|
5312
3732
|
ContextMenuMicIcon: JSX.Element;
|
5313
3733
|
ContextMenuSpeakerIcon: JSX.Element;
|
@@ -5331,7 +3751,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5331
3751
|
ParticipantItemOptionsHovered: JSX.Element;
|
5332
3752
|
SendBoxSend: JSX.Element;
|
5333
3753
|
SendBoxSendHovered: JSX.Element;
|
5334
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5335
3754
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
5336
3755
|
ControlButtonCameraOff: JSX.Element;
|
5337
3756
|
ControlButtonCameraOn: JSX.Element;
|
@@ -5375,12 +3794,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5375
3794
|
ParticipantItemScreenShareStart: JSX.Element;
|
5376
3795
|
VideoTileMicOff: JSX.Element;
|
5377
3796
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5378
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5379
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5380
|
-
DialpadStartCall?: JSX.Element | undefined;
|
5381
|
-
NoticePageInvalidRoom?: JSX.Element | undefined;
|
5382
|
-
BlurVideoBackground?: JSX.Element | undefined;
|
5383
|
-
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
5384
3797
|
ChevronLeft?: JSX.Element | undefined;
|
5385
3798
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
5386
3799
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
@@ -5390,71 +3803,20 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5390
3803
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5391
3804
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5392
3805
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
3806
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
5393
3807
|
ChatMessageOptions: JSX.Element;
|
5394
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5395
|
-
CancelFileUpload: JSX.Element;
|
5396
|
-
DownloadFile: JSX.Element;
|
5397
|
-
DataLossPreventionProhibited: JSX.Element;
|
5398
3808
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
5399
3809
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
5400
3810
|
MessageResend: JSX.Element;
|
5401
|
-
HoldCallContextualMenuItem: JSX.Element;
|
5402
|
-
HoldCallButton: JSX.Element;
|
5403
|
-
ResumeCall: JSX.Element;
|
5404
|
-
DialpadBackspace: JSX.Element;
|
5405
|
-
SitePermissionsSparkle: JSX.Element;
|
5406
|
-
SitePermissionCamera: JSX.Element;
|
5407
|
-
SitePermissionMic: JSX.Element;
|
5408
|
-
SitePermissionCameraDenied: JSX.Element;
|
5409
|
-
SitePermissionMicDenied: JSX.Element;
|
5410
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5411
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5412
|
-
VideoTilePinned: JSX.Element;
|
5413
|
-
VideoTileMoreOptions: JSX.Element;
|
5414
|
-
VideoTileScaleFit: JSX.Element;
|
5415
|
-
VideoTileScaleFill: JSX.Element;
|
5416
|
-
PinParticipant: JSX.Element;
|
5417
|
-
UnpinParticipant: JSX.Element;
|
5418
3811
|
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
5419
3812
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
5420
3813
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
5421
3814
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5422
|
-
VerticalGalleryLeftButton: JSX.Element;
|
5423
|
-
VerticalGalleryRightButton: JSX.Element;
|
5424
|
-
ControlButtonVideoEffectsOption: JSX.Element;
|
5425
|
-
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5426
|
-
CaptionsIcon: JSX.Element;
|
5427
|
-
CaptionsOffIcon: JSX.Element;
|
5428
|
-
CaptionsSettingsIcon: JSX.Element;
|
5429
|
-
ChangeSpokenLanguageIcon: JSX.Element;
|
5430
3815
|
ContextMenuCameraIcon: JSX.Element;
|
5431
3816
|
ContextMenuMicIcon: JSX.Element;
|
5432
3817
|
ContextMenuSpeakerIcon: JSX.Element;
|
5433
3818
|
};
|
5434
3819
|
|
5435
|
-
/**
|
5436
|
-
* Device Checks.
|
5437
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5438
|
-
*
|
5439
|
-
* @beta
|
5440
|
-
*/
|
5441
|
-
export declare interface DeviceCheckOptions {
|
5442
|
-
/**
|
5443
|
-
* Camera Permission prompts for your call.
|
5444
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5445
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5446
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5447
|
-
*/
|
5448
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
5449
|
-
/**
|
5450
|
-
* Microphone permission prompts for your call.
|
5451
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5452
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5453
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5454
|
-
*/
|
5455
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5456
|
-
}
|
5457
|
-
|
5458
3820
|
/**
|
5459
3821
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
5460
3822
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -5673,60 +4035,6 @@ export declare interface DiagnosticsCallFeatureState {
|
|
5673
4035
|
media: MediaDiagnosticsState;
|
5674
4036
|
}
|
5675
4037
|
|
5676
|
-
/**
|
5677
|
-
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
5678
|
-
* It will return empty component for stable builds
|
5679
|
-
*
|
5680
|
-
* @beta
|
5681
|
-
*/
|
5682
|
-
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
5683
|
-
|
5684
|
-
/**
|
5685
|
-
* Props for {@link Dialpad} component.
|
5686
|
-
*
|
5687
|
-
* @beta
|
5688
|
-
*/
|
5689
|
-
export declare interface DialpadProps {
|
5690
|
-
strings?: DialpadStrings;
|
5691
|
-
/** function to send dtmf tones on button click */
|
5692
|
-
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
5693
|
-
/** Callback for dialpad button behavior*/
|
5694
|
-
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
5695
|
-
/** set dialpad textfield content */
|
5696
|
-
textFieldValue?: string;
|
5697
|
-
/** on change function for text field, provides an unformatted plain text*/
|
5698
|
-
onChange?: (input: string) => void;
|
5699
|
-
/** boolean input to determine when to show/hide delete button, default true */
|
5700
|
-
showDeleteButton?: boolean;
|
5701
|
-
/** boolean input to determine if dialpad is in mobile view, default false */
|
5702
|
-
isMobile?: boolean;
|
5703
|
-
styles?: DialpadStyles;
|
5704
|
-
}
|
5705
|
-
|
5706
|
-
/**
|
5707
|
-
* Strings of {@link Dialpad} that can be overridden.
|
5708
|
-
*
|
5709
|
-
* @beta
|
5710
|
-
*/
|
5711
|
-
export declare interface DialpadStrings {
|
5712
|
-
placeholderText: string;
|
5713
|
-
deleteButtonAriaLabel?: string;
|
5714
|
-
}
|
5715
|
-
|
5716
|
-
/**
|
5717
|
-
* Styles for {@link Dialpad} component.
|
5718
|
-
*
|
5719
|
-
* @beta
|
5720
|
-
*/
|
5721
|
-
export declare interface DialpadStyles {
|
5722
|
-
root?: IStyle;
|
5723
|
-
button?: IButtonStyles;
|
5724
|
-
textField?: Partial<ITextFieldStyles>;
|
5725
|
-
digit?: IStyle;
|
5726
|
-
letter?: IStyle;
|
5727
|
-
deleteIcon?: IButtonStyles;
|
5728
|
-
}
|
5729
|
-
|
5730
4038
|
/**
|
5731
4039
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
5732
4040
|
*
|
@@ -5747,13 +4055,6 @@ export declare interface Disposable {
|
|
5747
4055
|
dispose(): void;
|
5748
4056
|
}
|
5749
4057
|
|
5750
|
-
/**
|
5751
|
-
* DTMF tone for PSTN calls.
|
5752
|
-
*
|
5753
|
-
* @beta
|
5754
|
-
*/
|
5755
|
-
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
5756
|
-
|
5757
4058
|
/**
|
5758
4059
|
* A type for trivial selectors that return no data.
|
5759
4060
|
*
|
@@ -5846,6 +4147,11 @@ export declare interface ErrorBarProps extends IMessageBarProps {
|
|
5846
4147
|
* @defaultValue false
|
5847
4148
|
*/
|
5848
4149
|
ignorePremountErrors?: boolean;
|
4150
|
+
/**
|
4151
|
+
* Callback called when the dismiss button is triggered.
|
4152
|
+
* Use this to control errors shown when they dismissed by the user.
|
4153
|
+
*/
|
4154
|
+
onDismissError?: (dismissedError: ActiveErrorMessage) => void;
|
5849
4155
|
}
|
5850
4156
|
|
5851
4157
|
/**
|
@@ -5968,240 +4274,35 @@ export declare interface ErrorBarStrings {
|
|
5968
4274
|
/**
|
5969
4275
|
* Mac OS specific message shown when system denies access to camera.
|
5970
4276
|
*/
|
5971
|
-
callMacOsCameraAccessDenied: string;
|
5972
|
-
/**
|
5973
|
-
* Mac OS specific message shown when system denies sharing local screen on a call.
|
5974
|
-
*/
|
5975
|
-
callMacOsScreenShareAccessDenied: string;
|
5976
|
-
/**
|
5977
|
-
* Dimiss errorbar button aria label read by screen reader accessibility tools
|
5978
|
-
*/
|
5979
|
-
dismissButtonAriaLabel?: string;
|
5980
|
-
/**
|
5981
|
-
* An error message when joining a call fails.
|
5982
|
-
*/
|
5983
|
-
failedToJoinCallGeneric?: string;
|
5984
|
-
/**
|
5985
|
-
* An error message when joining a call fails specifically due to an invalid meeting link.
|
5986
|
-
*/
|
5987
|
-
failedToJoinCallInvalidMeetingLink?: string;
|
5988
|
-
/**
|
5989
|
-
* Error bar string letting you know remote participants see a frozen stream for you.
|
5990
|
-
*/
|
5991
|
-
cameraFrozenForRemoteParticipants?: string;
|
5992
|
-
/**
|
5993
|
-
* Unable to start effect
|
5994
|
-
*/
|
5995
|
-
unableToStartVideoEffect?: string;
|
5996
|
-
}
|
5997
|
-
|
5998
|
-
/**
|
5999
|
-
* All errors that can be shown in the {@link ErrorBar}.
|
6000
|
-
*
|
6001
|
-
* @public
|
6002
|
-
*/
|
6003
|
-
export declare type ErrorType = keyof ErrorBarStrings;
|
6004
|
-
|
6005
|
-
/**
|
6006
|
-
* @beta
|
6007
|
-
* A file download error returned via a {@link FileDownloadHandler}.
|
6008
|
-
* This error message is used to render an error message in the UI.
|
6009
|
-
*/
|
6010
|
-
export declare interface FileDownloadError {
|
6011
|
-
/** The error message to display in the UI */
|
6012
|
-
errorMessage: string;
|
6013
|
-
}
|
6014
|
-
|
6015
|
-
/**
|
6016
|
-
* @beta
|
6017
|
-
*
|
6018
|
-
* A callback function for handling file downloads.
|
6019
|
-
* The function needs to return a promise that resolves to a file download URL.
|
6020
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6021
|
-
*
|
6022
|
-
* @example
|
6023
|
-
* ```ts
|
6024
|
-
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6025
|
-
* if (isUnauthorizedUser(userId)) {
|
6026
|
-
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6027
|
-
* } else {
|
6028
|
-
* return new URL(fileData.url);
|
6029
|
-
* }
|
6030
|
-
* }
|
6031
|
-
*
|
6032
|
-
* const App = () => (
|
6033
|
-
* <ChatComposite
|
6034
|
-
* ...
|
6035
|
-
* fileSharing={{
|
6036
|
-
* fileDownloadHandler: fileDownloadHandler
|
6037
|
-
* }}
|
6038
|
-
* />
|
6039
|
-
* )
|
6040
|
-
*
|
6041
|
-
* ```
|
6042
|
-
* @param userId - The user ID of the user downloading the file.
|
6043
|
-
* @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
|
6044
|
-
*/
|
6045
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
|
6046
|
-
|
6047
|
-
/**
|
6048
|
-
* Meta Data containing information about the uploaded file.
|
6049
|
-
* @beta
|
6050
|
-
*/
|
6051
|
-
export declare interface FileMetadata {
|
6052
|
-
attachmentType: FileMetadataAttachmentType;
|
6053
|
-
id: string;
|
6054
|
-
/**
|
6055
|
-
* File name to be displayed.
|
6056
|
-
*/
|
6057
|
-
name: string;
|
6058
|
-
/**
|
6059
|
-
* Extension is used for rendering the file icon.
|
6060
|
-
* An unknown extension will be rendered as a generic icon.
|
6061
|
-
* Example: `jpeg`
|
6062
|
-
*/
|
6063
|
-
extension: string;
|
6064
|
-
/**
|
6065
|
-
* Download URL for the file.
|
6066
|
-
*/
|
6067
|
-
url: string;
|
6068
|
-
previewUrl?: string;
|
6069
|
-
}
|
6070
|
-
|
6071
|
-
/**
|
6072
|
-
* @beta
|
6073
|
-
*/
|
6074
|
-
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'teamsInlineImage' | 'unknown';
|
6075
|
-
|
6076
|
-
/**
|
6077
|
-
* Properties for configuring the File Sharing feature.
|
6078
|
-
* @beta
|
6079
|
-
*/
|
6080
|
-
export declare interface FileSharingOptions {
|
6081
|
-
/**
|
6082
|
-
* A string containing the comma separated list of accepted file types.
|
6083
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6084
|
-
* Accepts any type of file if not specified.
|
6085
|
-
* @beta
|
6086
|
-
*/
|
6087
|
-
accept?: string;
|
6088
|
-
/**
|
6089
|
-
* Allows multiple files to be selected if set to `true`.
|
6090
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6091
|
-
* @defaultValue false
|
6092
|
-
* @beta
|
6093
|
-
*/
|
6094
|
-
multiple?: boolean;
|
6095
|
-
/**
|
6096
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6097
|
-
* @beta
|
6098
|
-
*/
|
6099
|
-
uploadHandler: FileUploadHandler;
|
6100
|
-
/**
|
6101
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6102
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6103
|
-
* initiate the download.
|
6104
|
-
*/
|
6105
|
-
downloadHandler?: FileDownloadHandler;
|
6106
|
-
}
|
6107
|
-
|
6108
|
-
/**
|
6109
|
-
* @beta
|
6110
|
-
*/
|
6111
|
-
export declare interface FileUploadAdapter {
|
6112
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6113
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
6114
|
-
clearFileUploads: () => void;
|
6115
|
-
cancelFileUpload: (id: string) => void;
|
6116
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
6117
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6118
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
6119
|
-
}
|
6120
|
-
|
6121
|
-
/**
|
6122
|
-
* @beta
|
6123
|
-
* Error message to be displayed to the user if the upload fails.
|
6124
|
-
*/
|
6125
|
-
export declare type FileUploadError = {
|
6126
|
-
message: string;
|
6127
|
-
timestamp: number;
|
6128
|
-
};
|
6129
|
-
|
6130
|
-
/**
|
6131
|
-
* @beta
|
6132
|
-
* A callback function for handling file uploads.
|
6133
|
-
*
|
6134
|
-
* @param userId - The user ID of the user uploading the file.
|
6135
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6136
|
-
*/
|
6137
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6138
|
-
|
6139
|
-
/**
|
6140
|
-
* A wrapper object for a file that is being uploaded.
|
6141
|
-
* Allows mmanaging file uploads by providing common functions for updating the
|
6142
|
-
* upload progress, canceling an upload, completing an upload etc.
|
6143
|
-
* @beta
|
6144
|
-
*/
|
6145
|
-
export declare interface FileUploadManager {
|
6146
|
-
/**
|
6147
|
-
* Unique identifier for the file upload.
|
6148
|
-
*/
|
6149
|
-
id: string;
|
6150
|
-
/**
|
6151
|
-
* HTML {@link File} object for the uploaded file.
|
6152
|
-
*/
|
6153
|
-
file?: File;
|
6154
|
-
/**
|
6155
|
-
* Update the progress of the upload.
|
6156
|
-
* @param value - number between 0 and 1
|
6157
|
-
*/
|
6158
|
-
notifyUploadProgressChanged: (value: number) => void;
|
6159
|
-
/**
|
6160
|
-
* Mark the upload as complete.
|
6161
|
-
* Requires the `metadata` param containing uploaded file information.
|
6162
|
-
* @param metadata - {@link FileMetadata}
|
6163
|
-
*/
|
6164
|
-
notifyUploadCompleted: (metadata: FileMetadata) => void;
|
6165
|
-
/**
|
6166
|
-
* Mark the upload as failed.
|
6167
|
-
* @param message - An error message that can be displayed to the user.
|
6168
|
-
*/
|
6169
|
-
notifyUploadFailed: (message: string) => void;
|
6170
|
-
}
|
6171
|
-
|
6172
|
-
/**
|
6173
|
-
* Contains the state attibutes of a file upload like name, progress etc.
|
6174
|
-
* @beta
|
6175
|
-
*/
|
6176
|
-
export declare interface FileUploadState {
|
4277
|
+
callMacOsCameraAccessDenied: string;
|
6177
4278
|
/**
|
6178
|
-
*
|
4279
|
+
* Mac OS specific message shown when system denies sharing local screen on a call.
|
6179
4280
|
*/
|
6180
|
-
|
4281
|
+
callMacOsScreenShareAccessDenied: string;
|
6181
4282
|
/**
|
6182
|
-
*
|
6183
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
4283
|
+
* Dimiss errorbar button aria label read by screen reader accessibility tools
|
6184
4284
|
*/
|
6185
|
-
|
4285
|
+
dismissButtonAriaLabel?: string;
|
6186
4286
|
/**
|
6187
|
-
*
|
4287
|
+
* An error message when joining a call fails.
|
6188
4288
|
*/
|
6189
|
-
|
4289
|
+
failedToJoinCallGeneric?: string;
|
6190
4290
|
/**
|
6191
|
-
*
|
4291
|
+
* An error message when joining a call fails specifically due to an invalid meeting link.
|
6192
4292
|
*/
|
6193
|
-
|
4293
|
+
failedToJoinCallInvalidMeetingLink?: string;
|
6194
4294
|
/**
|
6195
|
-
* Error
|
4295
|
+
* Error bar string letting you know remote participants see a frozen stream for you.
|
6196
4296
|
*/
|
6197
|
-
|
4297
|
+
cameraFrozenForRemoteParticipants?: string;
|
6198
4298
|
}
|
6199
4299
|
|
6200
4300
|
/**
|
6201
|
-
*
|
6202
|
-
*
|
4301
|
+
* All errors that can be shown in the {@link ErrorBar}.
|
4302
|
+
*
|
4303
|
+
* @public
|
6203
4304
|
*/
|
6204
|
-
export declare type
|
4305
|
+
export declare type ErrorType = keyof ErrorBarStrings;
|
6205
4306
|
|
6206
4307
|
/**
|
6207
4308
|
* Provider to apply a Fluent theme across this library's react components.
|
@@ -6243,7 +4344,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
6243
4344
|
*
|
6244
4345
|
* @public
|
6245
4346
|
*/
|
6246
|
-
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 :
|
4347
|
+
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 : undefined;
|
6247
4348
|
|
6248
4349
|
/**
|
6249
4350
|
* Get the selector for a specified component.
|
@@ -6305,63 +4406,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
6305
4406
|
children?: IStyle;
|
6306
4407
|
}
|
6307
4408
|
|
6308
|
-
/**
|
6309
|
-
* a button to hold or resume a ongoing call.
|
6310
|
-
*
|
6311
|
-
* Can be used with {@link ControlBar}
|
6312
|
-
*
|
6313
|
-
* @param props - properties for the hold button.
|
6314
|
-
* @returns
|
6315
|
-
* @beta
|
6316
|
-
*/
|
6317
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6318
|
-
|
6319
|
-
/**
|
6320
|
-
*@beta
|
6321
|
-
*/
|
6322
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6323
|
-
/**
|
6324
|
-
* Utility property for using this component with communication react handlers
|
6325
|
-
* Holds the call or resumes it based on call state.
|
6326
|
-
*/
|
6327
|
-
onToggleHold: () => Promise<void>;
|
6328
|
-
/**
|
6329
|
-
* Optional strings to override in component
|
6330
|
-
*/
|
6331
|
-
strings?: HoldButtonStrings;
|
6332
|
-
}
|
6333
|
-
|
6334
|
-
/**
|
6335
|
-
* Selector type for the {@link HoldButton} component.
|
6336
|
-
* @public
|
6337
|
-
*/
|
6338
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6339
|
-
checked: boolean;
|
6340
|
-
};
|
6341
|
-
|
6342
|
-
/**
|
6343
|
-
* Strings for the hold button labels
|
6344
|
-
* @beta
|
6345
|
-
*/
|
6346
|
-
export declare interface HoldButtonStrings {
|
6347
|
-
/**
|
6348
|
-
* Label for when action is to resume call.
|
6349
|
-
*/
|
6350
|
-
onLabel: string;
|
6351
|
-
/**
|
6352
|
-
* Label for when action is to hold call.
|
6353
|
-
*/
|
6354
|
-
offLabel: string;
|
6355
|
-
/**
|
6356
|
-
* Content for when button is checked
|
6357
|
-
*/
|
6358
|
-
tooltipOnContent: string;
|
6359
|
-
/**
|
6360
|
-
* Content for when button is unchecked
|
6361
|
-
*/
|
6362
|
-
tooltipOffContent: string;
|
6363
|
-
}
|
6364
|
-
|
6365
4409
|
/**
|
6366
4410
|
* {@link HorizontalGallery} Component Styles.
|
6367
4411
|
* @public
|
@@ -6442,30 +4486,8 @@ export declare interface _Identifiers {
|
|
6442
4486
|
overflowGalleryRightNavButton: string;
|
6443
4487
|
/** `data-ui-id` value for the video tiles in the horizontal gallery */
|
6444
4488
|
horizontalGalleryVideoTile: string;
|
6445
|
-
/** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
|
6446
|
-
verticalGalleryVideoTile: string;
|
6447
|
-
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6448
|
-
verticalGalleryPageCounter: string;
|
6449
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
6450
|
-
mentionSuggestionList: string;
|
6451
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
6452
|
-
mentionSuggestionItem: string;
|
6453
4489
|
}
|
6454
4490
|
|
6455
|
-
/**
|
6456
|
-
* @beta
|
6457
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
6458
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
6459
|
-
*/
|
6460
|
-
export declare type IncomingCallManagement = {
|
6461
|
-
/**
|
6462
|
-
* @beta
|
6463
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
6464
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
6465
|
-
*/
|
6466
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
6467
|
-
};
|
6468
|
-
|
6469
4491
|
/**
|
6470
4492
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
6471
4493
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -6498,15 +4520,6 @@ export declare interface IncomingCallState {
|
|
6498
4520
|
endTime?: Date;
|
6499
4521
|
}
|
6500
4522
|
|
6501
|
-
/**
|
6502
|
-
* Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
|
6503
|
-
*
|
6504
|
-
* @beta
|
6505
|
-
*/
|
6506
|
-
export declare type IsCaptionsActiveChangedListener = (event: {
|
6507
|
-
isActive: boolean;
|
6508
|
-
}) => void;
|
6509
|
-
|
6510
4523
|
/**
|
6511
4524
|
* Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
|
6512
4525
|
*
|
@@ -6536,6 +4549,31 @@ export declare type IsSpeakingChangedListener = (event: {
|
|
6536
4549
|
isSpeaking: boolean;
|
6537
4550
|
}) => void;
|
6538
4551
|
|
4552
|
+
/**
|
4553
|
+
* Options for setting microphone and camera state when joining a call
|
4554
|
+
* true = turn on the device when joining call
|
4555
|
+
* false = turn off the device when joining call
|
4556
|
+
* 'keep'/undefined = retain devices' precall state
|
4557
|
+
*
|
4558
|
+
* @public
|
4559
|
+
*/
|
4560
|
+
export declare interface JoinCallOptions {
|
4561
|
+
/**
|
4562
|
+
* microphone state when joining call
|
4563
|
+
* true: turn on
|
4564
|
+
* false: turn off
|
4565
|
+
* 'keep': maintain precall state
|
4566
|
+
*/
|
4567
|
+
microphoneOn?: boolean | 'keep';
|
4568
|
+
/**
|
4569
|
+
* camera state when joining call
|
4570
|
+
* true: turn on
|
4571
|
+
* false: turn off
|
4572
|
+
* 'keep': maintain precall state
|
4573
|
+
*/
|
4574
|
+
cameraOn?: boolean | 'keep';
|
4575
|
+
}
|
4576
|
+
|
6539
4577
|
/**
|
6540
4578
|
* Arguments for {@link MessageThreadProps.onRenderJumpToNewMessageButton}.
|
6541
4579
|
*
|
@@ -6618,51 +4656,8 @@ export declare interface LocalVideoStreamState {
|
|
6618
4656
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
6619
4657
|
*/
|
6620
4658
|
view?: VideoStreamRendererViewState;
|
6621
|
-
/**
|
6622
|
-
* Stores the state of the video effects.
|
6623
|
-
* @beta
|
6624
|
-
*/
|
6625
|
-
videoEffects?: LocalVideoStreamVideoEffectsState;
|
6626
|
-
}
|
6627
|
-
|
6628
|
-
/**
|
6629
|
-
* State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
|
6630
|
-
*
|
6631
|
-
* @beta
|
6632
|
-
*/
|
6633
|
-
export declare interface LocalVideoStreamVideoEffectsState {
|
6634
|
-
/**
|
6635
|
-
* List of effects if any are active.
|
6636
|
-
*/
|
6637
|
-
activeEffects?: VideoEffectName[];
|
6638
|
-
}
|
6639
|
-
|
6640
|
-
/**
|
6641
|
-
* Options for the local video tile in the Call composite.
|
6642
|
-
*
|
6643
|
-
* @beta
|
6644
|
-
*/
|
6645
|
-
export declare interface LocalVideoTileOptions {
|
6646
|
-
/**
|
6647
|
-
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
6648
|
-
*
|
6649
|
-
* @defaultValue 'floating'
|
6650
|
-
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
6651
|
-
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
6652
|
-
* local video tile rules and be docked in the bottom corner.
|
6653
|
-
* 'hidden' - local video tile will not be rendered.
|
6654
|
-
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
6655
|
-
*/
|
6656
|
-
position?: 'grid' | 'floating';
|
6657
4659
|
}
|
6658
4660
|
|
6659
|
-
/**
|
6660
|
-
* different modes of the local video tile
|
6661
|
-
*
|
6662
|
-
* @beta
|
6663
|
-
*/
|
6664
|
-
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
6665
|
-
|
6666
4661
|
/**
|
6667
4662
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
6668
4663
|
*
|
@@ -6681,76 +4676,6 @@ export declare interface MediaDiagnosticsState {
|
|
6681
4676
|
latest: LatestMediaDiagnostics;
|
6682
4677
|
}
|
6683
4678
|
|
6684
|
-
/**
|
6685
|
-
* Mention's state, as reflected in the UI.
|
6686
|
-
*
|
6687
|
-
* @beta
|
6688
|
-
*/
|
6689
|
-
export declare interface Mention {
|
6690
|
-
/** ID of a mention */
|
6691
|
-
id: string;
|
6692
|
-
/** Display text of a mention */
|
6693
|
-
displayText: string;
|
6694
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
6695
|
-
icon?: JSX.Element;
|
6696
|
-
}
|
6697
|
-
|
6698
|
-
/**
|
6699
|
-
* Options to display suggestions in the mention scenario.
|
6700
|
-
*
|
6701
|
-
* @beta
|
6702
|
-
*/
|
6703
|
-
export declare interface MentionDisplayOptions {
|
6704
|
-
/**
|
6705
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
6706
|
-
*/
|
6707
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
6708
|
-
}
|
6709
|
-
|
6710
|
-
/**
|
6711
|
-
* Options to lookup suggestions in the mention scenario.
|
6712
|
-
*
|
6713
|
-
* @beta
|
6714
|
-
*/
|
6715
|
-
export declare interface MentionLookupOptions {
|
6716
|
-
/**
|
6717
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
6718
|
-
*
|
6719
|
-
* @defaultValue `@`
|
6720
|
-
*/
|
6721
|
-
trigger?: string;
|
6722
|
-
/**
|
6723
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
6724
|
-
*/
|
6725
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
6726
|
-
/**
|
6727
|
-
* Optional callback to render an item of the mention suggestions list.
|
6728
|
-
*/
|
6729
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
6730
|
-
}
|
6731
|
-
|
6732
|
-
/**
|
6733
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
6734
|
-
*
|
6735
|
-
* @beta
|
6736
|
-
*/
|
6737
|
-
export declare type MentionOptions = {
|
6738
|
-
lookupOptions?: MentionLookupOptions;
|
6739
|
-
displayOptions?: MentionDisplayOptions;
|
6740
|
-
};
|
6741
|
-
|
6742
|
-
/**
|
6743
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
6744
|
-
*
|
6745
|
-
* @beta
|
6746
|
-
*/
|
6747
|
-
export declare interface MentionPopoverStrings {
|
6748
|
-
/**
|
6749
|
-
* Header text for MentionPopover
|
6750
|
-
*/
|
6751
|
-
mentionPopoverHeader: string;
|
6752
|
-
}
|
6753
|
-
|
6754
4679
|
/**
|
6755
4680
|
* Discriminated union of all messages.
|
6756
4681
|
*
|
@@ -6758,7 +4683,7 @@ export declare interface MentionPopoverStrings {
|
|
6758
4683
|
*
|
6759
4684
|
* @public
|
6760
4685
|
*/
|
6761
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
4686
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
6762
4687
|
|
6763
4688
|
/**
|
6764
4689
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -6978,7 +4903,7 @@ export declare type MessageThreadProps = {
|
|
6978
4903
|
/**
|
6979
4904
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
6980
4905
|
*/
|
6981
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
4906
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
6982
4907
|
/**
|
6983
4908
|
* number of participants in the thread
|
6984
4909
|
*/
|
@@ -7060,17 +4985,6 @@ export declare type MessageThreadProps = {
|
|
7060
4985
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
7061
4986
|
*/
|
7062
4987
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7063
|
-
/**
|
7064
|
-
* Optional callback to render uploaded files in the message component.
|
7065
|
-
* @beta
|
7066
|
-
*/
|
7067
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7068
|
-
/**
|
7069
|
-
* Optional callback to retrieve the inline image in a message.
|
7070
|
-
* @param attachment - FileMetadata object we want to render
|
7071
|
-
* @beta
|
7072
|
-
*/
|
7073
|
-
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
7074
4988
|
/**
|
7075
4989
|
* Optional callback to edit a message.
|
7076
4990
|
*
|
@@ -7112,23 +5026,6 @@ export declare type MessageThreadProps = {
|
|
7112
5026
|
* Optional strings to override in component
|
7113
5027
|
*/
|
7114
5028
|
strings?: Partial<MessageThreadStrings>;
|
7115
|
-
/**
|
7116
|
-
* @beta
|
7117
|
-
* Optional function called when someone clicks on the file download icon.
|
7118
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7119
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
7120
|
-
*/
|
7121
|
-
fileDownloadHandler?: FileDownloadHandler;
|
7122
|
-
/**
|
7123
|
-
* Optional function to provide customized date format.
|
7124
|
-
* @beta
|
7125
|
-
*/
|
7126
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7127
|
-
/**
|
7128
|
-
* Optional props needed to lookup a mention query and display mentions
|
7129
|
-
* @beta
|
7130
|
-
*/
|
7131
|
-
mentionOptions?: MentionOptions;
|
7132
5029
|
};
|
7133
5030
|
|
7134
5031
|
/**
|
@@ -7200,14 +5097,6 @@ export declare interface MessageThreadStrings {
|
|
7200
5097
|
editBoxSubmitButton: string;
|
7201
5098
|
/** String for action menu indicating there are more options */
|
7202
5099
|
actionMenuMoreOptions?: string;
|
7203
|
-
/** String for download file button in file card */
|
7204
|
-
downloadFile: string;
|
7205
|
-
/** String for policy violation message removal */
|
7206
|
-
blockedWarningText: string;
|
7207
|
-
/** String for policy violation message removal details link */
|
7208
|
-
blockedWarningLinkText: string;
|
7209
|
-
/** String for aria text in file attachment group*/
|
7210
|
-
fileCardGroupMessage: string;
|
7211
5100
|
}
|
7212
5101
|
|
7213
5102
|
/**
|
@@ -7235,7 +5124,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
7235
5124
|
/** Styles for system message container. */
|
7236
5125
|
systemMessageContainer?: ComponentSlotStyle;
|
7237
5126
|
/** Styles for blocked message container. */
|
7238
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
7239
5127
|
/** Styles for message status indicator container. */
|
7240
5128
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
7241
5129
|
}
|
@@ -7404,31 +5292,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
7404
5292
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
7405
5293
|
}
|
7406
5294
|
|
7407
|
-
/**
|
7408
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
7409
|
-
* by their browsers settings.
|
7410
|
-
*
|
7411
|
-
* @beta
|
7412
|
-
*/
|
7413
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
7414
|
-
|
7415
|
-
/**
|
7416
|
-
* @beta
|
7417
|
-
* Props for MicrophoneSitePermissions component.
|
7418
|
-
*/
|
7419
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
7420
|
-
/** Icon name for the microphone icon */
|
7421
|
-
microphoneIconName?: string;
|
7422
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
7423
|
-
strings?: MicrophoneSitePermissionsStrings;
|
7424
|
-
}
|
7425
|
-
|
7426
|
-
/**
|
7427
|
-
* @beta
|
7428
|
-
* Strings for MicrophoneSitePermissions component.
|
7429
|
-
*/
|
7430
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
7431
|
-
|
7432
5295
|
/**
|
7433
5296
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
7434
5297
|
*
|
@@ -7447,13 +5310,6 @@ export declare interface NetworkDiagnosticsState {
|
|
7447
5310
|
latest: LatestNetworkDiagnostics;
|
7448
5311
|
}
|
7449
5312
|
|
7450
|
-
/**
|
7451
|
-
* Callback function used to provide custom data to build profile for a user.
|
7452
|
-
*
|
7453
|
-
* @beta
|
7454
|
-
*/
|
7455
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
7456
|
-
|
7457
5313
|
/**
|
7458
5314
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
7459
5315
|
*
|
@@ -7470,18 +5326,6 @@ userId?: string, options?: CustomAvatarOptions,
|
|
7470
5326
|
*/
|
7471
5327
|
defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element;
|
7472
5328
|
|
7473
|
-
/**
|
7474
|
-
* State only version of Optimal Video Count Feature {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
|
7475
|
-
*
|
7476
|
-
* @beta
|
7477
|
-
*/
|
7478
|
-
export declare interface OptimalVideoCountFeatureState {
|
7479
|
-
/**
|
7480
|
-
* State of the current optimal video count.
|
7481
|
-
*/
|
7482
|
-
maxRemoteVideoStreams: number;
|
7483
|
-
}
|
7484
|
-
|
7485
5329
|
/**
|
7486
5330
|
* A device, e.g. camera, microphone, or speaker, in the {@link DevicesButton} flyout.
|
7487
5331
|
*
|
@@ -7498,13 +5342,6 @@ export declare interface OptionsDevice {
|
|
7498
5342
|
name: string;
|
7499
5343
|
}
|
7500
5344
|
|
7501
|
-
/**
|
7502
|
-
* Different modes and positions of the overflow gallery in the VideoGallery
|
7503
|
-
*
|
7504
|
-
* @beta
|
7505
|
-
*/
|
7506
|
-
export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
|
7507
|
-
|
7508
5345
|
/**
|
7509
5346
|
* A system message notifying that a participant was added to the chat thread.
|
7510
5347
|
*
|
@@ -7560,16 +5397,8 @@ export declare interface ParticipantItemProps {
|
|
7560
5397
|
* Optional callback when component is clicked
|
7561
5398
|
*/
|
7562
5399
|
onClick?: (props?: ParticipantItemProps) => void;
|
7563
|
-
/**
|
5400
|
+
/** Optional value to determine if the tooltip should be shown for participants or not */
|
7564
5401
|
showParticipantOverflowTooltip?: boolean;
|
7565
|
-
/**
|
7566
|
-
* Optional value to determine and display a participants connection status.
|
7567
|
-
* For example, `Connecting`, `Ringing` etc.
|
7568
|
-
* The actual text that is displayed is determined by the localized string
|
7569
|
-
* corresponding to the provided participant state.
|
7570
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
7571
|
-
*/
|
7572
|
-
participantState?: ParticipantState;
|
7573
5402
|
/**
|
7574
5403
|
* Optional aria property that prefixes the ParticipantItems aria content
|
7575
5404
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -7595,10 +5424,6 @@ export declare interface ParticipantItemStrings {
|
|
7595
5424
|
mutedIconLabel: string;
|
7596
5425
|
/** placeholder text for participants who does not have a display name*/
|
7597
5426
|
displayNamePlaceholder?: string;
|
7598
|
-
/** String shown when `participantState` is `Ringing` */
|
7599
|
-
participantStateRinging?: string;
|
7600
|
-
/** String shown when `participantState` is `Hold` */
|
7601
|
-
participantStateHold?: string;
|
7602
5427
|
}
|
7603
5428
|
|
7604
5429
|
/**
|
@@ -7676,7 +5501,7 @@ export declare type ParticipantListProps = {
|
|
7676
5501
|
onParticipantClick?: (participant?: ParticipantListParticipant) => void;
|
7677
5502
|
/** Styles for the {@link ParticipantList} */
|
7678
5503
|
styles?: ParticipantListStyles;
|
7679
|
-
/**
|
5504
|
+
/** Optional value to determine if the tooltip should be shown for participants or not */
|
7680
5505
|
showParticipantOverflowTooltip?: boolean;
|
7681
5506
|
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
7682
5507
|
participantAriaLabelledBy?: string;
|
@@ -7814,7 +5639,7 @@ export declare interface ParticipantsButtonProps extends ControlBarButtonProps {
|
|
7814
5639
|
* Optional strings to override in component
|
7815
5640
|
*/
|
7816
5641
|
strings?: Partial<ParticipantsButtonStrings>;
|
7817
|
-
/**
|
5642
|
+
/** Optional value to determine if the tooltip should be shown for participants or not */
|
7818
5643
|
showParticipantOverflowTooltip?: boolean;
|
7819
5644
|
}
|
7820
5645
|
|
@@ -7908,18 +5733,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
7908
5733
|
*/
|
7909
5734
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
7910
5735
|
|
7911
|
-
/**
|
7912
|
-
* The profile of a user.
|
7913
|
-
*
|
7914
|
-
* @beta
|
7915
|
-
*/
|
7916
|
-
export declare type Profile = {
|
7917
|
-
/**
|
7918
|
-
* Primary text to display, usually the name of the person.
|
7919
|
-
*/
|
7920
|
-
displayName?: string;
|
7921
|
-
};
|
7922
|
-
|
7923
5736
|
/**
|
7924
5737
|
* An array of key value pairs that stores each sender's display name and last read message
|
7925
5738
|
*
|
@@ -7983,10 +5796,6 @@ export declare interface RemoteParticipantState {
|
|
7983
5796
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
|
7984
5797
|
*/
|
7985
5798
|
isSpeaking: boolean;
|
7986
|
-
/**
|
7987
|
-
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
7988
|
-
*/
|
7989
|
-
role?: ParticipantRole;
|
7990
5799
|
}
|
7991
5800
|
|
7992
5801
|
/**
|
@@ -8011,7 +5820,6 @@ export declare interface RemoteVideoStreamState {
|
|
8011
5820
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
8012
5821
|
* @beta
|
8013
5822
|
*/
|
8014
|
-
isReceiving: boolean;
|
8015
5823
|
/**
|
8016
5824
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
8017
5825
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -8019,26 +5827,6 @@ export declare interface RemoteVideoStreamState {
|
|
8019
5827
|
view?: VideoStreamRendererViewState;
|
8020
5828
|
}
|
8021
5829
|
|
8022
|
-
/**
|
8023
|
-
* Menu options for remote video tiles in {@link VideoGallery}.
|
8024
|
-
*
|
8025
|
-
* @beta
|
8026
|
-
*/
|
8027
|
-
export declare interface RemoteVideoTileMenuOptions {
|
8028
|
-
/**
|
8029
|
-
* If set to true, remote video tiles in the VideoGallery will not have menu options
|
8030
|
-
*
|
8031
|
-
* @defaultValue false
|
8032
|
-
*/
|
8033
|
-
isHidden?: boolean;
|
8034
|
-
}
|
8035
|
-
|
8036
|
-
/**
|
8037
|
-
* @beta
|
8038
|
-
* The role of a call participant.
|
8039
|
-
*/
|
8040
|
-
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
|
8041
|
-
|
8042
5830
|
/**
|
8043
5831
|
* A button to start / stop screen sharing.
|
8044
5832
|
*
|
@@ -8072,7 +5860,6 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
|
|
8072
5860
|
*/
|
8073
5861
|
export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
8074
5862
|
checked?: boolean;
|
8075
|
-
disabled?: boolean;
|
8076
5863
|
};
|
8077
5864
|
|
8078
5865
|
/**
|
@@ -8110,19 +5897,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
8110
5897
|
*/
|
8111
5898
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
8112
5899
|
|
8113
|
-
/**
|
8114
|
-
* @beta
|
8115
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
8116
|
-
*/
|
8117
|
-
export declare interface SendBoxErrorBarError {
|
8118
|
-
/** Error Message to be displayed */
|
8119
|
-
message: string;
|
8120
|
-
/**
|
8121
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
8122
|
-
*/
|
8123
|
-
timestamp: number;
|
8124
|
-
}
|
8125
|
-
|
8126
5900
|
/**
|
8127
5901
|
* Props for {@link SendBox}.
|
8128
5902
|
*
|
@@ -8139,14 +5913,9 @@ export declare interface SendBoxProps {
|
|
8139
5913
|
*/
|
8140
5914
|
systemMessage?: string;
|
8141
5915
|
/**
|
8142
|
-
* Optional
|
5916
|
+
* Optional override behavior on send button click
|
8143
5917
|
*/
|
8144
5918
|
onSendMessage?: (content: string) => Promise<void>;
|
8145
|
-
/**
|
8146
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
8147
|
-
* @beta
|
8148
|
-
*/
|
8149
|
-
mentionLookupOptions?: MentionLookupOptions;
|
8150
5919
|
/**
|
8151
5920
|
* Optional callback called when user is typing
|
8152
5921
|
*/
|
@@ -8183,25 +5952,6 @@ export declare interface SendBoxProps {
|
|
8183
5952
|
* When undefined nothing has focus on render
|
8184
5953
|
*/
|
8185
5954
|
autoFocus?: 'sendBoxTextField';
|
8186
|
-
/**
|
8187
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
8188
|
-
* vertically to accommodate the uploaded files. File uploads will
|
8189
|
-
* be rendered below the text area in sendBox.
|
8190
|
-
* @beta
|
8191
|
-
*/
|
8192
|
-
onRenderFileUploads?: () => JSX.Element;
|
8193
|
-
/**
|
8194
|
-
* Optional array of active file uploads where each object has attributes
|
8195
|
-
* of a file upload like name, progress, errorMessage etc.
|
8196
|
-
* @beta
|
8197
|
-
*/
|
8198
|
-
activeFileUploads?: ActiveFileUpload[];
|
8199
|
-
/**
|
8200
|
-
* Optional callback to remove the file upload before sending by clicking on
|
8201
|
-
* cancel icon.
|
8202
|
-
* @beta
|
8203
|
-
*/
|
8204
|
-
onCancelFileUpload?: (fileId: string) => void;
|
8205
5955
|
}
|
8206
5956
|
|
8207
5957
|
/**
|
@@ -8232,79 +5982,24 @@ export declare interface SendBoxStrings {
|
|
8232
5982
|
* Aria label for send message button
|
8233
5983
|
*/
|
8234
5984
|
sendButtonAriaLabel: string;
|
8235
|
-
/**
|
8236
|
-
* Error message indicating that all file uploads are not complete.
|
8237
|
-
*/
|
8238
|
-
fileUploadsPendingError: string;
|
8239
|
-
/**
|
8240
|
-
* Aria label to notify user when focus is on cancel file upload button.
|
8241
|
-
*/
|
8242
|
-
removeFile: string;
|
8243
|
-
/**
|
8244
|
-
* Aria label to notify user file uploading starts.
|
8245
|
-
*/
|
8246
|
-
uploading: string;
|
8247
|
-
/**
|
8248
|
-
* Aria label to notify user file is uploaded.
|
8249
|
-
*/
|
8250
|
-
uploadCompleted: string;
|
8251
5985
|
}
|
8252
5986
|
|
8253
5987
|
/**
|
8254
|
-
* Fluent styles for {@link Sendbox}.
|
8255
|
-
*
|
8256
|
-
* @public
|
8257
|
-
*/
|
8258
|
-
export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
8259
|
-
/** Styles for the text field. */
|
8260
|
-
textField?: IStyle;
|
8261
|
-
/** styles for the text field container */
|
8262
|
-
textFieldContainer?: IStyle;
|
8263
|
-
/** Styles for the container of the send message icon. */
|
8264
|
-
sendMessageIconContainer?: IStyle;
|
8265
|
-
/** Styles for the send message icon; These styles will be ignored when a custom send message icon is provided. */
|
8266
|
-
sendMessageIcon?: IStyle;
|
8267
|
-
/** Styles for the system message; These styles will be ignored when a custom system message component is provided. */
|
8268
|
-
systemMessage?: IStyle;
|
8269
|
-
}
|
8270
|
-
|
8271
|
-
/**
|
8272
|
-
* @beta
|
8273
|
-
* Strings for SitePermissions component
|
8274
|
-
*/
|
8275
|
-
export declare type SitePermissionsStrings = {
|
8276
|
-
/**
|
8277
|
-
* Main text string.
|
8278
|
-
*/
|
8279
|
-
primaryText?: string;
|
8280
|
-
/**
|
8281
|
-
* Subtext string.
|
8282
|
-
*/
|
8283
|
-
secondaryText?: string;
|
8284
|
-
/**
|
8285
|
-
* More help link string.
|
8286
|
-
*/
|
8287
|
-
linkText?: string;
|
8288
|
-
/**
|
8289
|
-
* Primary button text string.
|
8290
|
-
*/
|
8291
|
-
primaryButtonText?: string;
|
8292
|
-
/**
|
8293
|
-
* Aria label describing the content of the container
|
8294
|
-
*/
|
8295
|
-
ariaLabel?: string;
|
8296
|
-
};
|
8297
|
-
|
8298
|
-
/**
|
8299
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
5988
|
+
* Fluent styles for {@link Sendbox}.
|
8300
5989
|
*
|
8301
|
-
* @
|
5990
|
+
* @public
|
8302
5991
|
*/
|
8303
|
-
export declare interface
|
8304
|
-
/** Styles for the
|
8305
|
-
|
8306
|
-
/**
|
8307
|
-
|
5992
|
+
export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
5993
|
+
/** Styles for the text field. */
|
5994
|
+
textField?: IStyle;
|
5995
|
+
/** styles for the text field container */
|
5996
|
+
textFieldContainer?: IStyle;
|
5997
|
+
/** Styles for the container of the send message icon. */
|
5998
|
+
sendMessageIconContainer?: IStyle;
|
5999
|
+
/** Styles for the send message icon; These styles will be ignored when a custom send message icon is provided. */
|
6000
|
+
sendMessageIcon?: IStyle;
|
6001
|
+
/** Styles for the system message; These styles will be ignored when a custom system message component is provided. */
|
6002
|
+
systemMessage?: IStyle;
|
8308
6003
|
}
|
8309
6004
|
|
8310
6005
|
/**
|
@@ -8337,6 +6032,8 @@ export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
|
8337
6032
|
* - RemoteVideoStream 'isAvailableChanged'
|
8338
6033
|
* - TranscriptionCallFeature 'isTranscriptionActiveChanged'
|
8339
6034
|
* - RecordingCallFeature 'isRecordingActiveChanged'
|
6035
|
+
* - RaiseHandCallFeature 'raisedHandEvent'
|
6036
|
+
* - RaiseHandCallFeature 'loweredHandEvent'
|
8340
6037
|
*
|
8341
6038
|
* @public
|
8342
6039
|
*/
|
@@ -8413,19 +6110,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
8413
6110
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
8414
6111
|
*/
|
8415
6112
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
8416
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
8417
|
-
/**
|
8418
|
-
* The CallAgent is used to handle calls.
|
8419
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
8420
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
8421
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
8422
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
8423
|
-
* createCallAgent() method again to create a new CallAgent.
|
8424
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
8425
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
8426
|
-
* @public
|
8427
|
-
*/
|
8428
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
8429
6113
|
}
|
8430
6114
|
|
8431
6115
|
/**
|
@@ -8438,16 +6122,7 @@ export declare type StatefulCallClientArgs = {
|
|
8438
6122
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
8439
6123
|
* state. It is not used by StatefulCallClient.
|
8440
6124
|
*/
|
8441
|
-
userId: CommunicationUserIdentifier
|
8442
|
-
/**
|
8443
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
8444
|
-
* to start a PSTN call.
|
8445
|
-
*
|
8446
|
-
* example: +11234567
|
8447
|
-
*
|
8448
|
-
* This is not a cached value from the headless calling client.
|
8449
|
-
*/
|
8450
|
-
alternateCallerId?: string;
|
6125
|
+
userId: CommunicationUserIdentifier;
|
8451
6126
|
};
|
8452
6127
|
|
8453
6128
|
/**
|
@@ -8535,14 +6210,6 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
8535
6210
|
* {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
|
8536
6211
|
*/
|
8537
6212
|
selectCamera: (VideoDeviceInfo: any) => void;
|
8538
|
-
/**
|
8539
|
-
* Gets the list of unparented video streams. This is a list of video streams that have not been added to a
|
8540
|
-
* {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
|
8541
|
-
* video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
|
8542
|
-
*
|
8543
|
-
* @beta
|
8544
|
-
*/
|
8545
|
-
getUnparentedVideoStreams: () => LocalVideoStream[];
|
8546
6213
|
}
|
8547
6214
|
|
8548
6215
|
/**
|
@@ -8595,70 +6262,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
8595
6262
|
iconName: string;
|
8596
6263
|
}
|
8597
6264
|
|
8598
|
-
/**
|
8599
|
-
* Optional parameters to create {@link TeamsCallAdapter}
|
8600
|
-
*
|
8601
|
-
* @beta
|
8602
|
-
*/
|
8603
|
-
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
8604
|
-
|
8605
|
-
/**
|
8606
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
8607
|
-
*
|
8608
|
-
* @beta
|
8609
|
-
*/
|
8610
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
8611
|
-
/**
|
8612
|
-
* Join the call with microphone initially on/off.
|
8613
|
-
*
|
8614
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
8615
|
-
*
|
8616
|
-
* @beta
|
8617
|
-
*/
|
8618
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
8619
|
-
/**
|
8620
|
-
* Start the call.
|
8621
|
-
*
|
8622
|
-
* @param participants - An array of participant ids to join
|
8623
|
-
*
|
8624
|
-
* @beta
|
8625
|
-
*/
|
8626
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
8627
|
-
/**
|
8628
|
-
* Start the call.
|
8629
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
8630
|
-
* @beta
|
8631
|
-
*/
|
8632
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
8633
|
-
}
|
8634
|
-
|
8635
|
-
/**
|
8636
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
8637
|
-
*
|
8638
|
-
* @beta
|
8639
|
-
*/
|
8640
|
-
export declare type TeamsCallAdapterArgs = {
|
8641
|
-
userId: MicrosoftTeamsUserIdentifier;
|
8642
|
-
credential: CommunicationTokenCredential;
|
8643
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
8644
|
-
/**
|
8645
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
8646
|
-
*/
|
8647
|
-
options?: TeamsAdapterOptions;
|
8648
|
-
};
|
8649
|
-
|
8650
|
-
/**
|
8651
|
-
* Object containing all the teams call handlers required for calling components.
|
8652
|
-
*
|
8653
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
8654
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
8655
|
-
*
|
8656
|
-
* @beta
|
8657
|
-
*/
|
8658
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
8659
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
8660
|
-
}
|
8661
|
-
|
8662
6265
|
/**
|
8663
6266
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
8664
6267
|
*
|
@@ -8704,27 +6307,6 @@ export declare interface TranscriptionCallFeature {
|
|
8704
6307
|
isTranscriptionActive: boolean;
|
8705
6308
|
}
|
8706
6309
|
|
8707
|
-
/**
|
8708
|
-
* Transfer feature state
|
8709
|
-
*
|
8710
|
-
* @beta
|
8711
|
-
*/
|
8712
|
-
export declare interface TransferFeature {
|
8713
|
-
/**
|
8714
|
-
* Accepted transfer requests
|
8715
|
-
*/
|
8716
|
-
acceptedTransfers: {
|
8717
|
-
[key: string]: AcceptedTransfer;
|
8718
|
-
};
|
8719
|
-
}
|
8720
|
-
|
8721
|
-
/**
|
8722
|
-
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
8723
|
-
*
|
8724
|
-
* @beta
|
8725
|
-
*/
|
8726
|
-
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
8727
|
-
|
8728
6310
|
/**
|
8729
6311
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
8730
6312
|
*
|
@@ -8859,117 +6441,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
8859
6441
|
typingString?: IStyle;
|
8860
6442
|
}
|
8861
6443
|
|
8862
|
-
/**
|
8863
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
8864
|
-
*
|
8865
|
-
* @beta
|
8866
|
-
*/
|
8867
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
8868
|
-
|
8869
|
-
/**
|
8870
|
-
* props for {@link UnsupportedBrowser} UI
|
8871
|
-
*
|
8872
|
-
* @beta
|
8873
|
-
*/
|
8874
|
-
export declare interface UnsupportedBrowserProps {
|
8875
|
-
/** Handler to perform an action when the help link is actioned */
|
8876
|
-
onTroubleshootingClick?: () => void;
|
8877
|
-
/** String overrides for the component */
|
8878
|
-
strings?: UnsupportedBrowserStrings;
|
8879
|
-
}
|
8880
|
-
|
8881
|
-
/**
|
8882
|
-
* Strings for UnsupportedBrowser component
|
8883
|
-
*
|
8884
|
-
* @beta
|
8885
|
-
*/
|
8886
|
-
export declare interface UnsupportedBrowserStrings {
|
8887
|
-
/** String for the primary text */
|
8888
|
-
primaryText: string;
|
8889
|
-
/** String for the secondary text */
|
8890
|
-
secondaryText: string;
|
8891
|
-
/** String to display in the text for the help link */
|
8892
|
-
moreHelpLinkText: string;
|
8893
|
-
}
|
8894
|
-
|
8895
|
-
/**
|
8896
|
-
* UI to display to the user that the browser version they are using is out of date
|
8897
|
-
* and not supported by Azure Communications Calling service.
|
8898
|
-
*
|
8899
|
-
* @beta
|
8900
|
-
*/
|
8901
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
8902
|
-
|
8903
|
-
/**
|
8904
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
8905
|
-
*
|
8906
|
-
* @beta
|
8907
|
-
*/
|
8908
|
-
export declare interface UnsupportedBrowserVersionProps {
|
8909
|
-
/** Handler to perform an action when the help link is actioned */
|
8910
|
-
onTroubleshootingClick?: () => void;
|
8911
|
-
/** String overrides for the component */
|
8912
|
-
strings?: UnsupportedBrowserVersionStrings;
|
8913
|
-
/** Handler to allow user to continue into the call */
|
8914
|
-
onContinueAnywayClick?: () => void;
|
8915
|
-
}
|
8916
|
-
|
8917
|
-
/**
|
8918
|
-
* Strings for UnsupportedBrowser component
|
8919
|
-
*
|
8920
|
-
* @beta
|
8921
|
-
*/
|
8922
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
8923
|
-
/** String for the primary text */
|
8924
|
-
primaryText: string;
|
8925
|
-
/** String for the secondary text */
|
8926
|
-
secondaryText: string;
|
8927
|
-
/** String to display in the text for the help link */
|
8928
|
-
moreHelpLinkText: string;
|
8929
|
-
/** String for continue without updating button */
|
8930
|
-
continueAnywayButtonText?: string;
|
8931
|
-
}
|
8932
|
-
|
8933
|
-
/**
|
8934
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
8935
|
-
*
|
8936
|
-
* @beta
|
8937
|
-
*/
|
8938
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
8939
|
-
|
8940
|
-
/**
|
8941
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
8942
|
-
*
|
8943
|
-
* @beta
|
8944
|
-
*/
|
8945
|
-
export declare interface UnsupportedOperatingSystemProps {
|
8946
|
-
/** Handler to perform a action when the help link is actioned */
|
8947
|
-
onTroubleshootingClick?: () => void;
|
8948
|
-
/** String overrides for the component */
|
8949
|
-
strings?: UnsupportedOperatingSystemStrings;
|
8950
|
-
}
|
8951
|
-
|
8952
|
-
/**
|
8953
|
-
* Strings for UnsupportedBrowser component
|
8954
|
-
*
|
8955
|
-
* @beta
|
8956
|
-
*/
|
8957
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
8958
|
-
/** String for the primary text */
|
8959
|
-
primaryText: string;
|
8960
|
-
/** String for the secondary text */
|
8961
|
-
secondaryText: string;
|
8962
|
-
/** String to display in the text for the help link */
|
8963
|
-
moreHelpLinkText: string;
|
8964
|
-
}
|
8965
|
-
|
8966
6444
|
/**
|
8967
6445
|
* @public
|
8968
6446
|
* Callback function run when a message is updated.
|
8969
6447
|
*/
|
8970
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
8971
|
-
attachedFilesMetadata?: FileMetadata[];
|
8972
|
-
}) => Promise<void>;
|
6448
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
8973
6449
|
|
8974
6450
|
/**
|
8975
6451
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -9117,44 +6593,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
9117
6593
|
*/
|
9118
6594
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
9119
6595
|
|
9120
|
-
/**
|
9121
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
9122
|
-
*
|
9123
|
-
* Useful when implementing a custom component that utilizes the providers
|
9124
|
-
* exported from this library.
|
9125
|
-
*
|
9126
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
9127
|
-
*
|
9128
|
-
* @beta
|
9129
|
-
*/
|
9130
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9131
|
-
|
9132
|
-
/**
|
9133
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
9134
|
-
*
|
9135
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
9136
|
-
* creation of the adapter internally.
|
9137
|
-
*
|
9138
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
9139
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
9140
|
-
*
|
9141
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
9142
|
-
* See storybook for typical usage examples.
|
9143
|
-
*
|
9144
|
-
* @beta
|
9145
|
-
*/
|
9146
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
9147
|
-
|
9148
|
-
/**
|
9149
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
9150
|
-
*
|
9151
|
-
* Useful when implementing a custom component that utilizes the providers
|
9152
|
-
* exported from this library.
|
9153
|
-
*
|
9154
|
-
* @beta
|
9155
|
-
*/
|
9156
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
9157
|
-
|
9158
6596
|
/**
|
9159
6597
|
* React hook to access theme
|
9160
6598
|
*
|
@@ -9162,117 +6600,6 @@ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compil
|
|
9162
6600
|
*/
|
9163
6601
|
export declare const useTheme: () => Theme;
|
9164
6602
|
|
9165
|
-
/**
|
9166
|
-
* Styles for the control bar inside the VerticalGallery component
|
9167
|
-
*
|
9168
|
-
* @beta
|
9169
|
-
*/
|
9170
|
-
export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
|
9171
|
-
/**
|
9172
|
-
* styles for the next button in the VerticalGalleryControlBar
|
9173
|
-
*/
|
9174
|
-
nextButton?: IStyle;
|
9175
|
-
/**
|
9176
|
-
* Styles for the previous button in the VerticalGalleryControlBar
|
9177
|
-
*/
|
9178
|
-
previousButton?: IStyle;
|
9179
|
-
/**
|
9180
|
-
* Styles for the counter in the VerticalGalleryControlBar
|
9181
|
-
*/
|
9182
|
-
counter?: IStyle;
|
9183
|
-
}
|
9184
|
-
|
9185
|
-
/**
|
9186
|
-
* Strings for localization of the vertical gallery.
|
9187
|
-
*
|
9188
|
-
* @beta
|
9189
|
-
*/
|
9190
|
-
export declare interface VerticalGalleryStrings {
|
9191
|
-
/** Aria label for the left page navigation button */
|
9192
|
-
leftNavButtonAriaLabel?: string;
|
9193
|
-
/** Aria label for the right page navigation button */
|
9194
|
-
rightNavButtonAriaLabel?: string;
|
9195
|
-
}
|
9196
|
-
|
9197
|
-
/**
|
9198
|
-
* Styles for the VerticalGallery component
|
9199
|
-
*
|
9200
|
-
* @beta
|
9201
|
-
*/
|
9202
|
-
export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
9203
|
-
/** Styles for each video tile in the vertical gallery */
|
9204
|
-
children?: IStyle;
|
9205
|
-
/** Styles for the verticalGallery control bar */
|
9206
|
-
controlBar?: VerticalGalleryControlBarStyles;
|
9207
|
-
}
|
9208
|
-
|
9209
|
-
/**
|
9210
|
-
* Contains the attibutes of the blur video background effect
|
9211
|
-
*
|
9212
|
-
* @beta
|
9213
|
-
*/
|
9214
|
-
export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig {
|
9215
|
-
/**
|
9216
|
-
* Name of effect to blur video background effect
|
9217
|
-
*/
|
9218
|
-
effectName: 'blur';
|
9219
|
-
}
|
9220
|
-
|
9221
|
-
/**
|
9222
|
-
* Contains the attibutes of a selected video background effect
|
9223
|
-
*
|
9224
|
-
* @beta
|
9225
|
-
*/
|
9226
|
-
export declare type VideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
|
9227
|
-
|
9228
|
-
/**
|
9229
|
-
* Contains the attibutes of a background image like url, name etc.
|
9230
|
-
*
|
9231
|
-
* @beta
|
9232
|
-
*/
|
9233
|
-
export declare interface VideoBackgroundImage {
|
9234
|
-
/**
|
9235
|
-
* key for unique identification of the custom background
|
9236
|
-
*/
|
9237
|
-
key: string;
|
9238
|
-
/**
|
9239
|
-
* URL of the uploaded background image.
|
9240
|
-
*/
|
9241
|
-
url: string;
|
9242
|
-
/**
|
9243
|
-
* Image name to be displayed.
|
9244
|
-
*/
|
9245
|
-
tooltipText?: string;
|
9246
|
-
}
|
9247
|
-
|
9248
|
-
/**
|
9249
|
-
* Contains the attibutes to remove video background effect
|
9250
|
-
*
|
9251
|
-
* @beta
|
9252
|
-
*/
|
9253
|
-
export declare interface VideoBackgroundNoEffect {
|
9254
|
-
/**
|
9255
|
-
* Name of effect to remove video background effect
|
9256
|
-
*/
|
9257
|
-
effectName: 'none';
|
9258
|
-
}
|
9259
|
-
|
9260
|
-
/**
|
9261
|
-
* Contains the attibutes of a selected replacement video background effect
|
9262
|
-
*
|
9263
|
-
* @beta
|
9264
|
-
*/
|
9265
|
-
export declare interface VideoBackgroundReplacementEffect extends BackgroundReplacementConfig {
|
9266
|
-
/**
|
9267
|
-
* Name of effect to replace video background effect
|
9268
|
-
*/
|
9269
|
-
effectName: 'replacement';
|
9270
|
-
/**
|
9271
|
-
* key for unique identification of the custom background
|
9272
|
-
*/
|
9273
|
-
key?: string;
|
9274
|
-
}
|
9275
|
-
|
9276
6603
|
/**
|
9277
6604
|
* VideoGallery represents a layout of video tiles for a specific call.
|
9278
6605
|
* It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
|
@@ -9291,7 +6618,8 @@ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo';
|
|
9291
6618
|
*
|
9292
6619
|
* @public
|
9293
6620
|
*/
|
9294
|
-
export declare
|
6621
|
+
export declare interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {
|
6622
|
+
}
|
9295
6623
|
|
9296
6624
|
/**
|
9297
6625
|
* The state of a participant in the {@link VideoGallery}.
|
@@ -9380,36 +6708,6 @@ export declare interface VideoGalleryProps {
|
|
9380
6708
|
* Camera control information for button to switch cameras.
|
9381
6709
|
*/
|
9382
6710
|
localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
|
9383
|
-
/**
|
9384
|
-
* List of pinned participant userIds.
|
9385
|
-
*/
|
9386
|
-
pinnedParticipants?: string[];
|
9387
|
-
/**
|
9388
|
-
* This callback will be called when a participant video tile is pinned.
|
9389
|
-
*/
|
9390
|
-
onPinParticipant?: (userId: string) => void;
|
9391
|
-
/**
|
9392
|
-
* This callback will be called when a participant video tile is un-pinned.
|
9393
|
-
*/
|
9394
|
-
onUnpinParticipant?: (userId: string) => void;
|
9395
|
-
/**
|
9396
|
-
* Options for showing the remote video tile menu.
|
9397
|
-
*
|
9398
|
-
* @defaultValue \{ kind: 'contextual' \}
|
9399
|
-
*/
|
9400
|
-
remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
|
9401
|
-
/**
|
9402
|
-
* Determines the layout of the overflowGallery inside the VideoGallery.
|
9403
|
-
* @defaultValue 'HorizontalBottom'
|
9404
|
-
*/
|
9405
|
-
overflowGalleryPosition?: OverflowGalleryPosition;
|
9406
|
-
/**
|
9407
|
-
* Determines the aspect ratio of local video tile in the video gallery.
|
9408
|
-
* @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
|
9409
|
-
* 16:9 (landscape) aspect ratios.
|
9410
|
-
* @defaultValue 'followDeviceOrientation'
|
9411
|
-
*/
|
9412
|
-
localVideoTileSize?: LocalVideoTileSize;
|
9413
6711
|
}
|
9414
6712
|
|
9415
6713
|
/**
|
@@ -9422,11 +6720,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
9422
6720
|
isSpeaking?: boolean;
|
9423
6721
|
/** Video stream of shared screen */
|
9424
6722
|
screenShareStream?: VideoGalleryStream;
|
9425
|
-
/**
|
9426
|
-
* @beta
|
9427
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
9428
|
-
*/
|
9429
|
-
state?: ParticipantState;
|
9430
6723
|
}
|
9431
6724
|
|
9432
6725
|
/**
|
@@ -9439,7 +6732,6 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
9439
6732
|
localParticipant: VideoGalleryLocalParticipant;
|
9440
6733
|
remoteParticipants: VideoGalleryRemoteParticipant[];
|
9441
6734
|
dominantSpeakers?: string[];
|
9442
|
-
optimalVideoCount?: number;
|
9443
6735
|
};
|
9444
6736
|
|
9445
6737
|
/**
|
@@ -9458,8 +6750,6 @@ export declare interface VideoGalleryStream {
|
|
9458
6750
|
isMirrored?: boolean;
|
9459
6751
|
/** Render element of the video stream */
|
9460
6752
|
renderElement?: HTMLElement;
|
9461
|
-
/** Scaling mode of the video stream */
|
9462
|
-
scalingMode?: ViewScalingMode;
|
9463
6753
|
}
|
9464
6754
|
|
9465
6755
|
/**
|
@@ -9482,22 +6772,6 @@ export declare interface VideoGalleryStrings {
|
|
9482
6772
|
localVideoSelectedDescription: string;
|
9483
6773
|
/** placeholder text for participants who does not have a display name*/
|
9484
6774
|
displayNamePlaceholder: string;
|
9485
|
-
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
|
9486
|
-
fitRemoteParticipantToFrame: string;
|
9487
|
-
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
|
9488
|
-
fillRemoteParticipantFrame: string;
|
9489
|
-
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
9490
|
-
pinParticipantForMe: string;
|
9491
|
-
/** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
|
9492
|
-
unpinParticipantForMe: string;
|
9493
|
-
/** Aria label for pin participant menu item of remote participant's video tile */
|
9494
|
-
pinParticipantMenuItemAriaLabel: string;
|
9495
|
-
/** Aria label for unpin participant menu item of remote participant's video tile */
|
9496
|
-
unpinParticipantMenuItemAriaLabel: string;
|
9497
|
-
/** Aria label to announce when remote participant's video tile is pinned */
|
9498
|
-
pinnedParticipantAnnouncementAriaLabel: string;
|
9499
|
-
/** Aria label to announce when remote participant's video tile is unpinned */
|
9500
|
-
unpinnedParticipantAnnouncementAriaLabel: string;
|
9501
6775
|
}
|
9502
6776
|
|
9503
6777
|
/**
|
@@ -9511,8 +6785,6 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
|
|
9511
6785
|
horizontalGallery?: HorizontalGalleryStyles;
|
9512
6786
|
/** Styles for the local video */
|
9513
6787
|
localVideo?: IStyle;
|
9514
|
-
/** Styles for the vertical gallery */
|
9515
|
-
verticalGallery?: VerticalGalleryStyles;
|
9516
6788
|
}
|
9517
6789
|
|
9518
6790
|
/**
|
@@ -9557,36 +6829,6 @@ export declare interface VideoStreamRendererViewState {
|
|
9557
6829
|
*/
|
9558
6830
|
export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
|
9559
6831
|
|
9560
|
-
/**
|
9561
|
-
* Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
|
9562
|
-
*
|
9563
|
-
* @beta
|
9564
|
-
*/
|
9565
|
-
export declare interface VideoTileContextualMenuProps {
|
9566
|
-
/**
|
9567
|
-
* The menu property kind
|
9568
|
-
*/
|
9569
|
-
kind: 'contextual';
|
9570
|
-
}
|
9571
|
-
|
9572
|
-
/**
|
9573
|
-
* Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
|
9574
|
-
*
|
9575
|
-
* @beta
|
9576
|
-
*/
|
9577
|
-
export declare interface VideoTileDrawerMenuProps {
|
9578
|
-
/**
|
9579
|
-
* The menu property kind
|
9580
|
-
*/
|
9581
|
-
kind: 'drawer';
|
9582
|
-
/**
|
9583
|
-
* The optional id property provided on an element that the drawer menu should render within when a
|
9584
|
-
* remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
|
9585
|
-
* render within the VideoGallery component.
|
9586
|
-
*/
|
9587
|
-
hostId?: string;
|
9588
|
-
}
|
9589
|
-
|
9590
6832
|
/**
|
9591
6833
|
* Props for {@link VideoTile}.
|
9592
6834
|
*
|
@@ -9625,10 +6867,6 @@ export declare interface VideoTileProps {
|
|
9625
6867
|
* Whether the video is muted or not.
|
9626
6868
|
*/
|
9627
6869
|
isMuted?: boolean;
|
9628
|
-
/**
|
9629
|
-
* If true, the video tile will show the pin icon.
|
9630
|
-
*/
|
9631
|
-
isPinned?: boolean;
|
9632
6870
|
/**
|
9633
6871
|
* Display Name of the Participant to be shown in the label.
|
9634
6872
|
* @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
|
@@ -9657,31 +6895,6 @@ export declare interface VideoTileProps {
|
|
9657
6895
|
noVideoAvailableAriaLabel?: string;
|
9658
6896
|
/** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
|
9659
6897
|
isSpeaking?: boolean;
|
9660
|
-
/**
|
9661
|
-
* The call connection state of the participant.
|
9662
|
-
* For example, `Hold` means the participant is on hold.
|
9663
|
-
*/
|
9664
|
-
participantState?: ParticipantState;
|
9665
|
-
strings?: VideoTileStrings;
|
9666
|
-
/**
|
9667
|
-
* Display custom menu items in the VideoTile's contextual menu.
|
9668
|
-
* Uses Fluent UI ContextualMenu.
|
9669
|
-
* An ellipses icon will be displayed to open the contextual menu if this prop is defined.
|
9670
|
-
*/
|
9671
|
-
contextualMenu?: IContextualMenuProps;
|
9672
|
-
/**
|
9673
|
-
* Callback triggered by video tile on touch and hold.
|
9674
|
-
*/
|
9675
|
-
onLongTouch?: () => void;
|
9676
|
-
}
|
9677
|
-
|
9678
|
-
/**
|
9679
|
-
* Strings of {@link VideoTile} that can be overridden.
|
9680
|
-
* @beta
|
9681
|
-
*/
|
9682
|
-
export declare interface VideoTileStrings {
|
9683
|
-
participantStateRinging: string;
|
9684
|
-
participantStateHold: string;
|
9685
6898
|
}
|
9686
6899
|
|
9687
6900
|
/**
|