@azure/communication-react 1.8.0-beta.1 → 1.8.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 +166 -2272
- package/dist/dist-cjs/communication-react/index.js +7671 -13703
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +6 -2
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +6 -9
- 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 -12
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +14 -18
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -4
- 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 +3 -13
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +1 -17
- 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 +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -15
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -4
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -17
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +0 -6
- package/dist/dist-esm/calling-component-bindings/src/index.js +0 -8
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +0 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +2 -18
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +3 -4
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +2 -14
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +1 -20
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +0 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +0 -12
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +0 -4
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +0 -11
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +1 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +1 -8
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +2 -8
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +5 -6
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -2
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +25 -63
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -8
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +14 -63
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -41
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +9 -11
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.d.ts +16 -0
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js +24 -0
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +1 -13
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.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 +1 -25
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -33
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -3
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -4
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +6 -119
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/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/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 +0 -27
- 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/react-components/src/components/CameraButton.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.js +3 -3
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +11 -3
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +1 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +2 -6
- 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 -2
- 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 -14
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -80
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +4 -4
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -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/FileDownloadCards.d.ts +1 -29
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +2 -24
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -18
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -46
- package/dist/dist-esm/react-components/src/components/MessageThread.js +9 -55
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -13
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +0 -3
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +5 -23
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +1 -3
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +0 -41
- 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/UnsupportedBrowser.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/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/VideoGallery/DefaultLayout.js +4 -16
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +6 -28
- 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 -6
- 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 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +3 -24
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -15
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +3 -30
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +8 -21
- 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 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +2 -19
- package/dist/dist-esm/react-components/src/components/index.js +1 -11
- 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 +0 -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 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -65
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -17
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -112
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +2 -2
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -27
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -6
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +2 -98
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +15 -80
- 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 +3 -142
- 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 +13 -78
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +25 -286
- 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 +22 -136
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +2 -6
- 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 +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +15 -65
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +105 -123
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.d.ts +88 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +103 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +8 -35
- 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/MediaGallery.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +7 -40
- 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/buttons/Camera.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +10 -7
- 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/Devices.js +2 -36
- 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/Microphone.js +9 -6
- 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/ScreenShare.js +1 -8
- 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.js +6 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +3 -7
- 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 +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +2 -4
- 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 +2 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +6 -97
- 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 +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +9 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +17 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -0
- 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/types/CapabilityChangedNotificationTracking.d.ts +9 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.d.ts +33 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +101 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +3 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -88
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -61
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +5 -30
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +8 -30
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +4 -111
- 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 +8 -69
- 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 +2 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -40
- 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 -24
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +1 -11
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +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/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.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/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 -5
- 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 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +6 -13
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +1 -70
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +4 -66
- 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 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +3 -20
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -17
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +7 -30
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +6 -14
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -21
- 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 +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +15 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +15 -1
- package/package.json +15 -15
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +0 -45
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +0 -95
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.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/ChatMessage/MentionRenderer.d.ts +0 -9
- 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 -68
- 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 -74
- 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 -104
- 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 -85
- 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 -48
- 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 -117
- 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/TextFieldWithMention/TextFieldWithMention.d.ts +0 -41
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -573
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -31
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -71
- 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/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 -47
- 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 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -7
- 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 -21
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +0 -13
- 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 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/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 -17
- 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 -14
- 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 -21
- 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 -21
- 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/SendDtmfDialpad.d.ts +0 -16
- 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
@@ -15,7 +15,6 @@
|
|
15
15
|
* @packageDocumentation
|
16
16
|
*/
|
17
17
|
|
18
|
-
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
19
18
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
20
19
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
21
20
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
@@ -28,8 +27,8 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
28
27
|
import { CallDirection } from '@azure/communication-calling';
|
29
28
|
import { CallEndReason } from '@azure/communication-calling';
|
30
29
|
import { CallerInfo } from '@azure/communication-calling';
|
31
|
-
import { CallKind } from '@azure/communication-calling';
|
32
30
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
31
|
+
import { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
33
32
|
import { CaptionsResultType } from '@azure/communication-calling';
|
34
33
|
import { ChatClient } from '@azure/communication-chat';
|
35
34
|
import { ChatClientOptions } from '@azure/communication-chat';
|
@@ -46,8 +45,6 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
46
45
|
import { DeviceAccess } from '@azure/communication-calling';
|
47
46
|
import { DeviceManager } from '@azure/communication-calling';
|
48
47
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
49
|
-
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
50
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
51
48
|
import { GroupCallLocator } from '@azure/communication-calling';
|
52
49
|
import { IButtonProps } from '@fluentui/react';
|
53
50
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -55,26 +52,22 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
55
52
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
56
53
|
import { IContextualMenuProps } from '@fluentui/react';
|
57
54
|
import { IContextualMenuStyles } from '@fluentui/react';
|
58
|
-
import { ILinkStyles } from '@fluentui/react';
|
59
55
|
import { IMessageBarProps } from '@fluentui/react';
|
60
|
-
import { IncomingCall } from '@azure/communication-calling';
|
61
56
|
import { IPersonaStyleProps } from '@fluentui/react';
|
62
57
|
import { IPersonaStyles } from '@fluentui/react';
|
63
58
|
import { IRawStyle } from '@fluentui/react';
|
64
59
|
import { IRenderFunction } from '@fluentui/react';
|
65
60
|
import { IStyle } from '@fluentui/react';
|
66
61
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
67
|
-
import { ITextFieldStyles } from '@fluentui/react';
|
68
62
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
69
63
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
70
64
|
import { LocalVideoStream } from '@azure/communication-calling';
|
71
65
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
72
66
|
import { MediaStreamType } from '@azure/communication-calling';
|
73
|
-
import { MicrosoftBotKind } from '@azure/communication-common';
|
74
|
-
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
75
67
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
76
68
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
77
69
|
import { PartialTheme } from '@fluentui/react';
|
70
|
+
import { ParticipantCapabilities } from '@azure/communication-calling';
|
78
71
|
import { ParticipantRole } from '@azure/communication-calling';
|
79
72
|
import { PermissionConstraints } from '@azure/communication-calling';
|
80
73
|
import { PersonaInitialsColor } from '@fluentui/react';
|
@@ -86,16 +79,12 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
|
|
86
79
|
import { default as React_2 } from 'react';
|
87
80
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
88
81
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
89
|
-
import { RoomCallLocator } from '@azure/communication-calling';
|
90
82
|
import { ScalingMode } from '@azure/communication-calling';
|
91
83
|
import { SendMessageOptions } from '@azure/communication-chat';
|
92
84
|
import { StartCallOptions } from '@azure/communication-calling';
|
93
85
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
94
|
-
import { TeamsCall } from '@azure/communication-calling';
|
95
|
-
import { TeamsCallAgent } from '@azure/communication-calling';
|
96
86
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
97
87
|
import { Theme } from '@fluentui/react';
|
98
|
-
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
99
88
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
100
89
|
import { UnknownIdentifier } from '@azure/communication-common';
|
101
90
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
@@ -104,22 +93,6 @@ import { VideoEffectName } from '@azure/communication-calling';
|
|
104
93
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
105
94
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
106
95
|
|
107
|
-
/**
|
108
|
-
* Transfer feature state
|
109
|
-
*
|
110
|
-
* @beta
|
111
|
-
*/
|
112
|
-
export declare interface AcceptedTransfer {
|
113
|
-
/**
|
114
|
-
* Stores call id of accepted transfer
|
115
|
-
*/
|
116
|
-
callId: string;
|
117
|
-
/**
|
118
|
-
* Stores timestamp when transfer was accepted
|
119
|
-
*/
|
120
|
-
timestamp: Date;
|
121
|
-
}
|
122
|
-
|
123
96
|
/**
|
124
97
|
* Active error messages to be shown via {@link ErrorBar}.
|
125
98
|
*
|
@@ -139,38 +112,6 @@ export declare interface ActiveErrorMessage {
|
|
139
112
|
timestamp?: Date;
|
140
113
|
}
|
141
114
|
|
142
|
-
/**
|
143
|
-
* Attributes required for SendBox to show file uploads like name, progress etc.
|
144
|
-
* @beta
|
145
|
-
*/
|
146
|
-
export declare interface ActiveFileUpload {
|
147
|
-
/**
|
148
|
-
* Unique identifier for the file upload.
|
149
|
-
*/
|
150
|
-
id: string;
|
151
|
-
/**
|
152
|
-
* File name to be rendered for uploaded file.
|
153
|
-
*/
|
154
|
-
filename: string;
|
155
|
-
/**
|
156
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
157
|
-
* This is unrelated to the `uploadComplete` property.
|
158
|
-
* It is only used to show the progress of the upload.
|
159
|
-
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
160
|
-
* property to true to mark the upload as complete.
|
161
|
-
*/
|
162
|
-
progress: number;
|
163
|
-
/**
|
164
|
-
* Error to be displayed to the user if the upload fails.
|
165
|
-
*/
|
166
|
-
error?: SendBoxErrorBarError;
|
167
|
-
/**
|
168
|
-
* `true` means that the upload is completed.
|
169
|
-
* This is independent of the upload `progress`.
|
170
|
-
*/
|
171
|
-
uploadComplete?: boolean;
|
172
|
-
}
|
173
|
-
|
174
115
|
/**
|
175
116
|
* Error reported via error events and stored in adapter state.
|
176
117
|
*
|
@@ -237,13 +178,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
237
178
|
*/
|
238
179
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
239
180
|
|
240
|
-
/**
|
241
|
-
* @beta
|
242
|
-
*/
|
243
|
-
export declare interface AttachmentDownloadResult {
|
244
|
-
blobUrl: string;
|
245
|
-
}
|
246
|
-
|
247
181
|
/**
|
248
182
|
* Custom data attributes for displaying avatar for a user.
|
249
183
|
*
|
@@ -273,11 +207,6 @@ export declare type AvatarPersonaData = {
|
|
273
207
|
* @defaultvalue `white`
|
274
208
|
*/
|
275
209
|
initialsTextColor?: string;
|
276
|
-
/**
|
277
|
-
* If true, show the special coin for unknown persona.
|
278
|
-
* It has '?' in place of initials, with static font and background colors
|
279
|
-
*/
|
280
|
-
showUnknownPersonaCoin?: boolean;
|
281
210
|
};
|
282
211
|
|
283
212
|
/**
|
@@ -299,11 +228,6 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
299
228
|
displayName: string;
|
300
229
|
credential: CommunicationTokenCredential;
|
301
230
|
locator: CallAdapterLocator;
|
302
|
-
/**
|
303
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
304
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
305
|
-
*/
|
306
|
-
alternateCallerId?: string;
|
307
231
|
/**
|
308
232
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
309
233
|
*/
|
@@ -313,7 +237,7 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
313
237
|
/**
|
314
238
|
* Optional parameters to create {@link AzureCommunicationCallAdapter}
|
315
239
|
*
|
316
|
-
* @
|
240
|
+
* @public
|
317
241
|
*/
|
318
242
|
export declare type AzureCommunicationCallAdapterOptions = CommonCallAdapterOptions;
|
319
243
|
|
@@ -328,7 +252,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
328
252
|
displayName: string;
|
329
253
|
credential: CommunicationTokenCredential;
|
330
254
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
331
|
-
alternateCallerId?: string;
|
332
255
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
333
256
|
};
|
334
257
|
|
@@ -344,7 +267,6 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
344
267
|
chatClient: StatefulChatClient;
|
345
268
|
chatThreadClient: ChatThreadClient;
|
346
269
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
347
|
-
chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
|
348
270
|
};
|
349
271
|
|
350
272
|
/**
|
@@ -360,14 +282,6 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
360
282
|
threadId: string;
|
361
283
|
};
|
362
284
|
|
363
|
-
/**
|
364
|
-
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
365
|
-
* @beta
|
366
|
-
*/
|
367
|
-
export declare type AzureCommunicationChatAdapterOptions = {
|
368
|
-
credential?: CommunicationTokenCredential;
|
369
|
-
};
|
370
|
-
|
371
285
|
/**
|
372
286
|
* Properties common to all composites exported from this library.
|
373
287
|
*
|
@@ -423,186 +337,6 @@ export declare interface BaseCustomStyles {
|
|
423
337
|
root?: IStyle;
|
424
338
|
}
|
425
339
|
|
426
|
-
/**
|
427
|
-
* Base interface that all Meta Data should extend.
|
428
|
-
* Typically used for ACS to ACS file transfers.
|
429
|
-
* @beta
|
430
|
-
*/
|
431
|
-
export declare interface BaseFileMetadata {
|
432
|
-
/**
|
433
|
-
* File name to be displayed.
|
434
|
-
*/
|
435
|
-
name: string;
|
436
|
-
/**
|
437
|
-
* Extension is used for rendering the file icon.
|
438
|
-
* An unknown extension will be rendered as a generic icon.
|
439
|
-
* Example: `jpeg`
|
440
|
-
*/
|
441
|
-
extension: string;
|
442
|
-
/**
|
443
|
-
* Download URL for the file.
|
444
|
-
*/
|
445
|
-
url: string;
|
446
|
-
/**
|
447
|
-
* Unique ID of the file.
|
448
|
-
*/
|
449
|
-
id: string;
|
450
|
-
/**
|
451
|
-
* Attachment Type
|
452
|
-
*/
|
453
|
-
attachmentType: FileMetadataAttachmentType;
|
454
|
-
}
|
455
|
-
|
456
|
-
/**
|
457
|
-
* Content blocked message type.
|
458
|
-
*
|
459
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
460
|
-
*
|
461
|
-
* @beta
|
462
|
-
*/
|
463
|
-
export declare interface BlockedMessage extends MessageCommon {
|
464
|
-
messageType: 'blocked';
|
465
|
-
warningText?: string;
|
466
|
-
linkText?: string;
|
467
|
-
link?: string;
|
468
|
-
deletedOn?: Date;
|
469
|
-
senderId?: string;
|
470
|
-
senderDisplayName?: string;
|
471
|
-
status?: MessageStatus;
|
472
|
-
attached?: MessageAttachedStatus;
|
473
|
-
mine?: boolean;
|
474
|
-
}
|
475
|
-
|
476
|
-
/**
|
477
|
-
* @beta
|
478
|
-
* Props for BrowserPermissionDeniedIOS component.
|
479
|
-
*/
|
480
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
481
|
-
/**
|
482
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
483
|
-
*/
|
484
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
485
|
-
/**
|
486
|
-
* Link to image source.
|
487
|
-
*
|
488
|
-
* Image is inserted into the top of the component.
|
489
|
-
*/
|
490
|
-
imageSource?: string;
|
491
|
-
}
|
492
|
-
|
493
|
-
/**
|
494
|
-
* @beta
|
495
|
-
* Strings for BrowserPermissionDeniedIOS component
|
496
|
-
*/
|
497
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
498
|
-
/**
|
499
|
-
* Image alt text
|
500
|
-
*/
|
501
|
-
imageAltText: string;
|
502
|
-
/**
|
503
|
-
* Main text string.
|
504
|
-
*/
|
505
|
-
primaryText: string;
|
506
|
-
/**
|
507
|
-
* Subtext string.
|
508
|
-
*/
|
509
|
-
secondaryText: string;
|
510
|
-
/**
|
511
|
-
* Step 1 string
|
512
|
-
*/
|
513
|
-
step1Text: string;
|
514
|
-
/**
|
515
|
-
* Step 1 digit string
|
516
|
-
*/
|
517
|
-
step1DigitText: string;
|
518
|
-
/**
|
519
|
-
* Step 2 string
|
520
|
-
*/
|
521
|
-
step2Text: string;
|
522
|
-
/**
|
523
|
-
* Step 2 digit string
|
524
|
-
*/
|
525
|
-
step2DigitText: string;
|
526
|
-
/**
|
527
|
-
* Step 3 string
|
528
|
-
*/
|
529
|
-
step3Text: string;
|
530
|
-
/**
|
531
|
-
* Step 3 digit string
|
532
|
-
*/
|
533
|
-
step3DigitText: string;
|
534
|
-
/**
|
535
|
-
* Step 4 string
|
536
|
-
*/
|
537
|
-
step4Text: string;
|
538
|
-
/**
|
539
|
-
* Step 4 digit string
|
540
|
-
*/
|
541
|
-
step4DigitText: string;
|
542
|
-
}
|
543
|
-
|
544
|
-
/**
|
545
|
-
* @beta
|
546
|
-
* Props for BrowserPermissionDenied component.
|
547
|
-
*/
|
548
|
-
export declare interface BrowserPermissionDeniedProps {
|
549
|
-
/**
|
550
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
551
|
-
*/
|
552
|
-
onTroubleshootingClick?: () => void;
|
553
|
-
/**
|
554
|
-
* Action to be taken by the try again primary button.
|
555
|
-
*/
|
556
|
-
onTryAgainClick?: () => void;
|
557
|
-
/**
|
558
|
-
* Localization strings for BrowserPermissionDenied component.
|
559
|
-
*/
|
560
|
-
strings?: BrowserPermissionDeniedStrings;
|
561
|
-
/**
|
562
|
-
* Allows users to pass in an object contains custom CSS styles.
|
563
|
-
* @Example
|
564
|
-
* ```
|
565
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
566
|
-
* ```
|
567
|
-
*/
|
568
|
-
styles?: BrowserPermissionDeniedStyles;
|
569
|
-
}
|
570
|
-
|
571
|
-
/**
|
572
|
-
* @beta
|
573
|
-
* Strings for BrowserPermissionDenied component
|
574
|
-
*/
|
575
|
-
export declare interface BrowserPermissionDeniedStrings {
|
576
|
-
/**
|
577
|
-
* Main button text string.
|
578
|
-
*/
|
579
|
-
primaryButtonText: string;
|
580
|
-
/**
|
581
|
-
* Main text string.
|
582
|
-
*/
|
583
|
-
primaryText: string;
|
584
|
-
/**
|
585
|
-
* Subtext string.
|
586
|
-
*/
|
587
|
-
secondaryText: string;
|
588
|
-
/**
|
589
|
-
* More help link string.
|
590
|
-
*/
|
591
|
-
linkText: string;
|
592
|
-
}
|
593
|
-
|
594
|
-
/**
|
595
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
596
|
-
*
|
597
|
-
* @beta
|
598
|
-
*/
|
599
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
600
|
-
/** Styles for the primary button. */
|
601
|
-
primaryButton?: IButtonStyles;
|
602
|
-
/** Styles for the help troubleshooting link text. */
|
603
|
-
troubleshootingLink?: ILinkStyles;
|
604
|
-
}
|
605
|
-
|
606
340
|
/**
|
607
341
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
608
342
|
*
|
@@ -636,12 +370,6 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
636
370
|
* @public
|
637
371
|
*/
|
638
372
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
639
|
-
/**
|
640
|
-
* Start the call.
|
641
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
642
|
-
* @beta
|
643
|
-
*/
|
644
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
645
373
|
}
|
646
374
|
|
647
375
|
/**
|
@@ -686,12 +414,6 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
686
414
|
* @public
|
687
415
|
*/
|
688
416
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
689
|
-
/**
|
690
|
-
* Start the call.
|
691
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
692
|
-
* @beta
|
693
|
-
*/
|
694
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
695
417
|
}
|
696
418
|
|
697
419
|
/**
|
@@ -768,12 +490,6 @@ export declare interface CallAdapterCallOperations {
|
|
768
490
|
* @public
|
769
491
|
*/
|
770
492
|
removeParticipant(userId: string): Promise<void>;
|
771
|
-
/**
|
772
|
-
* Remove a participant from the call.
|
773
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
774
|
-
* @beta
|
775
|
-
*/
|
776
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
777
493
|
/**
|
778
494
|
* Create the html view for a stream.
|
779
495
|
*
|
@@ -825,35 +541,6 @@ export declare interface CallAdapterCallOperations {
|
|
825
541
|
* @public
|
826
542
|
*/
|
827
543
|
disposeLocalVideoStreamView(): Promise<void>;
|
828
|
-
/**
|
829
|
-
* Holds the call.
|
830
|
-
*
|
831
|
-
* @beta
|
832
|
-
*/
|
833
|
-
holdCall(): Promise<void>;
|
834
|
-
/**
|
835
|
-
* Resumes the call from a `LocalHold` state.
|
836
|
-
*
|
837
|
-
* @beta
|
838
|
-
*/
|
839
|
-
resumeCall(): Promise<void>;
|
840
|
-
/**
|
841
|
-
* Add a participant to the call.
|
842
|
-
*
|
843
|
-
* @beta
|
844
|
-
*/
|
845
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
846
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
847
|
-
/**
|
848
|
-
* send dtmf tone to another participant in a 1:1 PSTN call
|
849
|
-
*
|
850
|
-
* @beta
|
851
|
-
*/
|
852
|
-
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
853
|
-
/**
|
854
|
-
* Continues into a call when the browser version is not supported.
|
855
|
-
*/
|
856
|
-
allowUnsupportedBrowserVersion(): void;
|
857
544
|
/**
|
858
545
|
* Function to Start captions
|
859
546
|
* @param options - options for start captions
|
@@ -876,13 +563,13 @@ export declare interface CallAdapterCallOperations {
|
|
876
563
|
/**
|
877
564
|
* Start the video background effect.
|
878
565
|
*
|
879
|
-
* @
|
566
|
+
* @public
|
880
567
|
*/
|
881
568
|
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
882
569
|
/**
|
883
570
|
* Stop the video background effect.
|
884
571
|
*
|
885
|
-
* @
|
572
|
+
* @public
|
886
573
|
*/
|
887
574
|
stopVideoBackgroundEffects(): Promise<void>;
|
888
575
|
/**
|
@@ -890,13 +577,13 @@ export declare interface CallAdapterCallOperations {
|
|
890
577
|
*
|
891
578
|
* @param backgroundImages - Array of custom background images.
|
892
579
|
*
|
893
|
-
* @
|
580
|
+
* @public
|
894
581
|
*/
|
895
582
|
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
896
583
|
/**
|
897
584
|
* Update the selected video background effect.
|
898
585
|
*
|
899
|
-
* @
|
586
|
+
* @public
|
900
587
|
*/
|
901
588
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
902
589
|
}
|
@@ -913,22 +600,10 @@ export declare type CallAdapterClientState = {
|
|
913
600
|
devices: DeviceManagerState;
|
914
601
|
endedCall?: CallState;
|
915
602
|
isTeamsCall: boolean;
|
916
|
-
/**
|
917
|
-
* State to track whether the call is a rooms call.
|
918
|
-
*/
|
919
|
-
isRoomsCall: boolean;
|
920
603
|
/**
|
921
604
|
* Latest error encountered for each operation performed via the adapter.
|
922
605
|
*/
|
923
606
|
latestErrors: AdapterErrors;
|
924
|
-
/**
|
925
|
-
* Azure communications Phone number to make PSTN calls with.
|
926
|
-
*/
|
927
|
-
alternateCallerId?: string;
|
928
|
-
/**
|
929
|
-
* Environment information about system the adapter is made on
|
930
|
-
*/
|
931
|
-
environmentInfo?: EnvironmentInfo;
|
932
607
|
/**
|
933
608
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
934
609
|
* control bar with the CallComposite.
|
@@ -946,10 +621,6 @@ export declare type CallAdapterClientState = {
|
|
946
621
|
* State to track the selected video background effect.
|
947
622
|
*/
|
948
623
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
949
|
-
/**
|
950
|
-
* Call from transfer request accepted by local user
|
951
|
-
*/
|
952
|
-
acceptedTransferCallState?: CallState;
|
953
624
|
};
|
954
625
|
|
955
626
|
/**
|
@@ -1034,7 +705,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1034
705
|
*
|
1035
706
|
* @public
|
1036
707
|
*/
|
1037
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator
|
708
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
|
1038
709
|
|
1039
710
|
/**
|
1040
711
|
* {@link CommonCallAdapter} state.
|
@@ -1128,9 +799,9 @@ export declare interface CallAdapterSubscribers {
|
|
1128
799
|
*/
|
1129
800
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1130
801
|
/**
|
1131
|
-
* Subscribe function for '
|
802
|
+
* Subscribe function for 'capabilitiesChanged' event.
|
1132
803
|
*/
|
1133
|
-
on(event: '
|
804
|
+
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
1134
805
|
/**
|
1135
806
|
* Unsubscribe function for 'participantsJoined' event.
|
1136
807
|
*/
|
@@ -1196,9 +867,9 @@ export declare interface CallAdapterSubscribers {
|
|
1196
867
|
*/
|
1197
868
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1198
869
|
/**
|
1199
|
-
* Unsubscribe function for '
|
870
|
+
* Unsubscribe function for 'capabilitiesChanged' event.
|
1200
871
|
*/
|
1201
|
-
off(event: '
|
872
|
+
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
1202
873
|
}
|
1203
874
|
|
1204
875
|
/**
|
@@ -1209,7 +880,6 @@ export declare interface CallAdapterSubscribers {
|
|
1209
880
|
export declare type CallAdapterUiState = {
|
1210
881
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1211
882
|
page: CallCompositePage;
|
1212
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1213
883
|
};
|
1214
884
|
|
1215
885
|
/**
|
@@ -1228,7 +898,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
1228
898
|
*/
|
1229
899
|
export declare interface CallAgentProviderProps {
|
1230
900
|
children: React_2.ReactNode;
|
1231
|
-
callAgent?: CallAgent
|
901
|
+
callAgent?: CallAgent;
|
1232
902
|
}
|
1233
903
|
|
1234
904
|
/**
|
@@ -1253,7 +923,7 @@ export declare interface CallAgentState {
|
|
1253
923
|
*/
|
1254
924
|
export declare interface CallAndChatLocator {
|
1255
925
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1256
|
-
callLocator: GroupCallLocator
|
926
|
+
callLocator: GroupCallLocator;
|
1257
927
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1258
928
|
chatThreadId: string;
|
1259
929
|
}
|
@@ -1340,16 +1010,6 @@ export declare interface CallClientState {
|
|
1340
1010
|
* See documentation of {@Link CallErrors} for details.
|
1341
1011
|
*/
|
1342
1012
|
latestErrors: CallErrors;
|
1343
|
-
/**
|
1344
|
-
* A phone number in E.164 format that will be used to represent callers identity.
|
1345
|
-
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1346
|
-
* be used as the caller id in the PSTN call.
|
1347
|
-
*/
|
1348
|
-
alternateCallerId?: string;
|
1349
|
-
/**
|
1350
|
-
* state to track the environment that the stateful client was made in is supported
|
1351
|
-
*/
|
1352
|
-
environmentInfo?: EnvironmentInfo;
|
1353
1013
|
}
|
1354
1014
|
|
1355
1015
|
/**
|
@@ -1379,6 +1039,8 @@ export declare type CallCompositeIcons = {
|
|
1379
1039
|
ControlButtonParticipants?: JSX.Element;
|
1380
1040
|
ControlButtonScreenShareStart?: JSX.Element;
|
1381
1041
|
ControlButtonScreenShareStop?: JSX.Element;
|
1042
|
+
ControlButtonCameraProhibited?: JSX.Element;
|
1043
|
+
ControlButtonMicProhibited?: JSX.Element;
|
1382
1044
|
ControlButtonRaiseHand?: JSX.Element;
|
1383
1045
|
ControlButtonLowerHand?: JSX.Element;
|
1384
1046
|
RaiseHandContextualMenuItem?: JSX.Element;
|
@@ -1418,10 +1080,6 @@ export declare type CallCompositeIcons = {
|
|
1418
1080
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1419
1081
|
VideoTileMicOff?: JSX.Element;
|
1420
1082
|
LocalCameraSwitch?: JSX.Element;
|
1421
|
-
PeoplePaneAddPerson?: JSX.Element;
|
1422
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
1423
|
-
DialpadStartCall?: JSX.Element;
|
1424
|
-
NoticePageAccessDeniedRoomsCall?: JSX.Element;
|
1425
1083
|
BlurVideoBackground?: JSX.Element;
|
1426
1084
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
1427
1085
|
};
|
@@ -1444,66 +1102,10 @@ export declare type CallCompositeOptions = {
|
|
1444
1102
|
* @defaultValue true
|
1445
1103
|
*/
|
1446
1104
|
callControls?: boolean | CallControlOptions;
|
1447
|
-
/**
|
1448
|
-
* Device permissions check options for your call.
|
1449
|
-
* Here you can choose what device permissions you prompt the user for,
|
1450
|
-
* as well as what device permissions must be accepted before starting a call.
|
1451
|
-
*/
|
1452
|
-
deviceChecks?: DeviceCheckOptions;
|
1453
|
-
/**
|
1454
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1455
|
-
* unable to grant your site the required permissions for the call.
|
1456
|
-
*
|
1457
|
-
* @example
|
1458
|
-
* ```ts
|
1459
|
-
* onPermissionsTroubleshootingClick: () =>
|
1460
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1461
|
-
* ```
|
1462
|
-
*
|
1463
|
-
* @remarks
|
1464
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1465
|
-
*/
|
1466
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1467
|
-
camera: PermissionState;
|
1468
|
-
microphone: PermissionState;
|
1469
|
-
}) => void;
|
1470
|
-
/**
|
1471
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1472
|
-
* having network issues when connecting to the call.
|
1473
|
-
*
|
1474
|
-
* @example
|
1475
|
-
* ```ts
|
1476
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1477
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1478
|
-
* ```
|
1479
|
-
*
|
1480
|
-
* @remarks
|
1481
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1482
|
-
*/
|
1483
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1484
|
-
/**
|
1485
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1486
|
-
*
|
1487
|
-
* @example
|
1488
|
-
* ```ts
|
1489
|
-
* onBrowserTroubleShootingClick?: () =>
|
1490
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1491
|
-
* ```
|
1492
|
-
*
|
1493
|
-
* @remarks
|
1494
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
1495
|
-
*/
|
1496
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1497
1105
|
/**
|
1498
1106
|
* Remote participant video tile menu options
|
1499
1107
|
*/
|
1500
|
-
|
1501
|
-
/**
|
1502
|
-
* Options for controlling the local video tile.
|
1503
|
-
*
|
1504
|
-
* @remarks if 'false' the local video tile will not be rendered.
|
1505
|
-
*/
|
1506
|
-
localVideoTile?: boolean | LocalVideoTileOptions;
|
1108
|
+
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
1507
1109
|
};
|
1508
1110
|
|
1509
1111
|
/**
|
@@ -1511,7 +1113,7 @@ export declare type CallCompositeOptions = {
|
|
1511
1113
|
*
|
1512
1114
|
* @public
|
1513
1115
|
*/
|
1514
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' |
|
1116
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1515
1117
|
|
1516
1118
|
/**
|
1517
1119
|
* Props for {@link CallComposite}.
|
@@ -1757,86 +1359,14 @@ export declare interface CallCompositeStrings {
|
|
1757
1359
|
* Label for SidePaneHeader dismiss button
|
1758
1360
|
*/
|
1759
1361
|
dismissSidePaneButtonLabel?: string;
|
1760
|
-
/**
|
1761
|
-
* Side pane People section subheader.
|
1762
|
-
*/
|
1763
|
-
peoplePaneSubTitle: string;
|
1764
|
-
/**
|
1765
|
-
* Label for button to copy invite link
|
1766
|
-
*/
|
1767
|
-
copyInviteLinkButtonLabel: string;
|
1768
|
-
/**
|
1769
|
-
* Label for button to open dialpad
|
1770
|
-
*/
|
1771
|
-
openDialpadButtonLabel: string;
|
1772
|
-
/**
|
1773
|
-
* Label for menu item to remove participant
|
1774
|
-
*/
|
1775
|
-
removeMenuLabel: string;
|
1776
|
-
/**
|
1777
|
-
* Label for add people dropdown
|
1778
|
-
*/
|
1779
|
-
peoplePaneAddPeopleButtonLabel: string;
|
1780
|
-
/**
|
1781
|
-
* Label for button to start a call
|
1782
|
-
*/
|
1783
|
-
dialpadStartCallButtonLabel: string;
|
1784
|
-
/**
|
1785
|
-
* Title for dialpad Modal
|
1786
|
-
*/
|
1787
|
-
dialpadModalTitle: string;
|
1788
|
-
/**
|
1789
|
-
* Aria Label for dialpad Modal
|
1790
|
-
*/
|
1791
|
-
dialpadModalAriaLabel: string;
|
1792
|
-
/**
|
1793
|
-
* Aria Label for dialpad Modal close button
|
1794
|
-
*/
|
1795
|
-
dialpadCloseModalButtonAriaLabel: string;
|
1796
1362
|
/**
|
1797
1363
|
* label for more button in the Calling composite
|
1798
1364
|
*/
|
1799
1365
|
moreButtonCallingLabel: string;
|
1800
|
-
/**
|
1801
|
-
* Label for the resume call button on the hold pane
|
1802
|
-
*/
|
1803
|
-
resumeCallButtonLabel: string;
|
1804
|
-
/**
|
1805
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1806
|
-
*/
|
1807
|
-
resumingCallButtonLabel: string;
|
1808
|
-
/**
|
1809
|
-
* Aria label for the resume call button on the hold pane
|
1810
|
-
*/
|
1811
|
-
resumeCallButtonAriaLabel: string;
|
1812
|
-
/**
|
1813
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1814
|
-
*/
|
1815
|
-
resumingCallButtonAriaLabel: string;
|
1816
|
-
/**
|
1817
|
-
* Label for the hold pane
|
1818
|
-
*/
|
1819
|
-
holdScreenLabel: string;
|
1820
|
-
/**
|
1821
|
-
* Placeholder text for dtmf dialpad
|
1822
|
-
*/
|
1823
|
-
dtmfDialpadPlaceholderText: string;
|
1824
|
-
/**
|
1825
|
-
* Label for the button to open dtmf dialpad
|
1826
|
-
*/
|
1827
|
-
openDtmfDialpadLabel: string;
|
1828
1366
|
/**
|
1829
1367
|
* aria label for when the invite link has been actioned
|
1830
1368
|
*/
|
1831
1369
|
copyInviteLinkActionedAriaLabel: string;
|
1832
|
-
/**
|
1833
|
-
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1834
|
-
*/
|
1835
|
-
roomNotFoundTitle: string;
|
1836
|
-
/**
|
1837
|
-
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1838
|
-
*/
|
1839
|
-
roomNotFoundDetails?: string;
|
1840
1370
|
/**
|
1841
1371
|
* Video Effects pane title.
|
1842
1372
|
*/
|
@@ -1873,26 +1403,6 @@ export declare interface CallCompositeStrings {
|
|
1873
1403
|
* 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.
|
1874
1404
|
*/
|
1875
1405
|
cameraOffBackgroundEffectWarningText?: string;
|
1876
|
-
/**
|
1877
|
-
* Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1878
|
-
*/
|
1879
|
-
deniedPermissionToRoomTitle: string;
|
1880
|
-
/**
|
1881
|
-
* More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1882
|
-
*/
|
1883
|
-
deniedPermissionToRoomDetails?: string;
|
1884
|
-
/**
|
1885
|
-
* Control bar People button ToolTipContent
|
1886
|
-
*/
|
1887
|
-
peopleButtonTooltipOpen: string;
|
1888
|
-
/**
|
1889
|
-
* Control bar People button ToolTipContent
|
1890
|
-
*/
|
1891
|
-
peopleButtonTooltipClose: string;
|
1892
|
-
/**
|
1893
|
-
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1894
|
-
*/
|
1895
|
-
outboundCallingNoticeString: string;
|
1896
1406
|
/**
|
1897
1407
|
* Notice to be announced by narrator when a participant joins a call
|
1898
1408
|
*/
|
@@ -2018,57 +1528,9 @@ export declare interface CallCompositeStrings {
|
|
2018
1528
|
*/
|
2019
1529
|
captionsBannerSpinnerText?: string;
|
2020
1530
|
/**
|
2021
|
-
*
|
2022
|
-
*/
|
2023
|
-
transferPageTransferorText: string;
|
2024
|
-
/**
|
2025
|
-
* transfer page text when showing the transfer target
|
2026
|
-
*/
|
2027
|
-
transferPageTransferTargetText: string;
|
2028
|
-
/**
|
2029
|
-
* transfer page display name for unknown participant
|
2030
|
-
*/
|
2031
|
-
transferPageUnknownTransferorDisplayName: string;
|
2032
|
-
/**
|
2033
|
-
* transfer page display name for unknown participant
|
2034
|
-
*/
|
2035
|
-
transferPageUnknownTransferTargetDisplayName: string;
|
2036
|
-
/**
|
2037
|
-
* notice to be announced by narrator the transfer page is showing
|
2038
|
-
*/
|
2039
|
-
transferPageNoticeString: string;
|
2040
|
-
/**
|
2041
|
-
* Title text of the page shown to the user when target participant could not be reached
|
2042
|
-
*/
|
2043
|
-
participantCouldNotBeReachedTitle?: string;
|
2044
|
-
/**
|
2045
|
-
* More details text of the page shown to the user when target participant could not be reached
|
2046
|
-
*/
|
2047
|
-
participantCouldNotBeReachedMoreDetails?: string;
|
2048
|
-
/**
|
2049
|
-
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2050
|
-
*/
|
2051
|
-
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2052
|
-
/**
|
2053
|
-
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2054
|
-
*/
|
2055
|
-
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2056
|
-
/**
|
2057
|
-
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
1531
|
+
* All strings for capability changed notification
|
2058
1532
|
*/
|
2059
|
-
|
2060
|
-
/**
|
2061
|
-
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2062
|
-
*/
|
2063
|
-
unableToResolveTenantMoreDetails?: string;
|
2064
|
-
/**
|
2065
|
-
* Title text of the page shown to the user when target participant id is malformed
|
2066
|
-
*/
|
2067
|
-
participantIdIsMalformedTitle?: string;
|
2068
|
-
/**
|
2069
|
-
* More details text of the page shown to the user when target participant id is malformed
|
2070
|
-
*/
|
2071
|
-
participantIdIsMalformedMoreDetails?: string;
|
1533
|
+
capabilityChangedNotification?: CapabilityChangedNotificationStrings;
|
2072
1534
|
}
|
2073
1535
|
|
2074
1536
|
/**
|
@@ -2153,7 +1615,7 @@ export declare type CallErrors = {
|
|
2153
1615
|
*
|
2154
1616
|
* @public
|
2155
1617
|
*/
|
2156
|
-
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' |
|
1618
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'VideoEffectsFeature.startEffects';
|
2157
1619
|
|
2158
1620
|
/**
|
2159
1621
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2187,7 +1649,7 @@ export declare interface CallingHandlers extends CommonCallingHandlers {
|
|
2187
1649
|
|
2188
1650
|
/**
|
2189
1651
|
* Configuration options to include video effect background dependency.
|
2190
|
-
* @
|
1652
|
+
* @public
|
2191
1653
|
*/
|
2192
1654
|
export declare type CallingHandlersOptions = {
|
2193
1655
|
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
@@ -2201,7 +1663,7 @@ export declare type CallingHandlersOptions = {
|
|
2201
1663
|
export declare type CallingReturnProps<Component extends (props: any) => JSX.Element> = GetCallingSelector<Component> extends (state: CallClientState, props: any) => any ? ReturnType<GetCallingSelector<Component>> & Common<CallingHandlers, Parameters<Component>[0]> : never;
|
2202
1664
|
|
2203
1665
|
/**
|
2204
|
-
* Custom Fluent theme
|
1666
|
+
* Custom Fluent theme palette used by calling related components in this library.
|
2205
1667
|
*
|
2206
1668
|
* @public
|
2207
1669
|
*/
|
@@ -2233,23 +1695,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2233
1695
|
raisedHand?: RaisedHand;
|
2234
1696
|
};
|
2235
1697
|
|
2236
|
-
/**
|
2237
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2238
|
-
*
|
2239
|
-
* @remarks
|
2240
|
-
* This is currently in beta and only supports calling one Teams User.
|
2241
|
-
*
|
2242
|
-
* @example
|
2243
|
-
* ```
|
2244
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2245
|
-
* ```
|
2246
|
-
*
|
2247
|
-
* @beta
|
2248
|
-
*/
|
2249
|
-
export declare type CallParticipantsLocator = {
|
2250
|
-
participantIds: string[];
|
2251
|
-
};
|
2252
|
-
|
2253
1698
|
/**
|
2254
1699
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
2255
1700
|
*
|
@@ -2266,7 +1711,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2266
1711
|
*/
|
2267
1712
|
export declare interface CallProviderProps {
|
2268
1713
|
children: React_2.ReactNode;
|
2269
|
-
call?: Call
|
1714
|
+
call?: Call;
|
2270
1715
|
}
|
2271
1716
|
|
2272
1717
|
/**
|
@@ -2280,10 +1725,6 @@ export declare interface CallState {
|
|
2280
1725
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2281
1726
|
*/
|
2282
1727
|
id: string;
|
2283
|
-
/**
|
2284
|
-
* Type of the call.
|
2285
|
-
*/
|
2286
|
-
kind: CallKind;
|
2287
1728
|
/**
|
2288
1729
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2289
1730
|
*/
|
@@ -2383,13 +1824,9 @@ export declare interface CallState {
|
|
2383
1824
|
*/
|
2384
1825
|
role?: ParticipantRole;
|
2385
1826
|
/**
|
2386
|
-
* Proxy of {@link @azure/communication-calling#
|
2387
|
-
*/
|
2388
|
-
totalParticipantCount?: number;
|
2389
|
-
/**
|
2390
|
-
* Transfer state of call
|
1827
|
+
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
2391
1828
|
*/
|
2392
|
-
|
1829
|
+
capabilitiesFeature?: CapabilitiesFeatureState;
|
2393
1830
|
}
|
2394
1831
|
|
2395
1832
|
/**
|
@@ -2413,12 +1850,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2413
1850
|
* @public
|
2414
1851
|
*/
|
2415
1852
|
removeParticipant(userId: string): Promise<void>;
|
2416
|
-
/**
|
2417
|
-
* Remove a participant from the call.
|
2418
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2419
|
-
* @beta
|
2420
|
-
*/
|
2421
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2422
1853
|
/**
|
2423
1854
|
* Join the call with microphone initially on/off.
|
2424
1855
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2484,12 +1915,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2484
1915
|
* @public
|
2485
1916
|
*/
|
2486
1917
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2487
|
-
/**
|
2488
|
-
* Start the call.
|
2489
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2490
|
-
* @beta
|
2491
|
-
*/
|
2492
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
2493
1918
|
/**
|
2494
1919
|
* Start sharing the screen during a call.
|
2495
1920
|
*
|
@@ -2679,52 +2104,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2679
2104
|
* @public
|
2680
2105
|
*/
|
2681
2106
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2682
|
-
/** @beta */
|
2683
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2684
|
-
/** @beta */
|
2685
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
2686
|
-
/** @beta */
|
2687
|
-
clearFileUploads: () => void;
|
2688
|
-
/** @beta */
|
2689
|
-
cancelFileUpload: (id: string) => void;
|
2690
|
-
/** @beta */
|
2691
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
2692
|
-
/** @beta */
|
2693
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2694
|
-
/** @beta */
|
2695
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2696
|
-
downloadAttachments: (options: {
|
2697
|
-
attachmentUrls: string[];
|
2698
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
2699
|
-
/**
|
2700
|
-
* Puts the Call in a Localhold.
|
2701
|
-
*
|
2702
|
-
* @beta
|
2703
|
-
*/
|
2704
|
-
holdCall: () => Promise<void>;
|
2705
|
-
/**
|
2706
|
-
* Resumes the call from a LocalHold state.
|
2707
|
-
*
|
2708
|
-
* @beta
|
2709
|
-
*/
|
2710
|
-
resumeCall: () => Promise<void>;
|
2711
|
-
/**
|
2712
|
-
* Adds a new Participant to the call.
|
2713
|
-
*
|
2714
|
-
* @beta
|
2715
|
-
*/
|
2716
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2717
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2718
|
-
/**
|
2719
|
-
* send dtmf tone to another participant in the call in 1:1 calls
|
2720
|
-
*
|
2721
|
-
* @beta
|
2722
|
-
*/
|
2723
|
-
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2724
|
-
/**
|
2725
|
-
* Continues into a call when the browser version is not supported.
|
2726
|
-
*/
|
2727
|
-
allowUnsupportedBrowserVersion(): void;
|
2728
2107
|
/**
|
2729
2108
|
* Function to Start captions
|
2730
2109
|
* @param options - options for start captions
|
@@ -2747,13 +2126,13 @@ export declare interface CallWithChatAdapterManagement {
|
|
2747
2126
|
/**
|
2748
2127
|
* Start the video background effect.
|
2749
2128
|
*
|
2750
|
-
* @
|
2129
|
+
* @public
|
2751
2130
|
*/
|
2752
2131
|
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
2753
2132
|
/**
|
2754
2133
|
* Stop the video background effect.
|
2755
2134
|
*
|
2756
|
-
* @
|
2135
|
+
* @public
|
2757
2136
|
*/
|
2758
2137
|
stopVideoBackgroundEffects(): Promise<void>;
|
2759
2138
|
/**
|
@@ -2761,13 +2140,13 @@ export declare interface CallWithChatAdapterManagement {
|
|
2761
2140
|
*
|
2762
2141
|
* @param backgroundImages - Array of custom background images.
|
2763
2142
|
*
|
2764
|
-
* @
|
2143
|
+
* @public
|
2765
2144
|
*/
|
2766
2145
|
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
2767
2146
|
/**
|
2768
2147
|
* Update the selected video background effect
|
2769
2148
|
*
|
2770
|
-
* @
|
2149
|
+
* @public
|
2771
2150
|
*/
|
2772
2151
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
2773
2152
|
}
|
@@ -2801,6 +2180,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2801
2180
|
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2802
2181
|
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
2803
2182
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
2183
|
+
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
2804
2184
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
2805
2185
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
2806
2186
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -2816,6 +2196,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2816
2196
|
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2817
2197
|
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
2818
2198
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
2199
|
+
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
2819
2200
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
2820
2201
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
2821
2202
|
on(event: 'messageRead', listener: MessageReadListener): void;
|
@@ -2848,22 +2229,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
2848
2229
|
* @public
|
2849
2230
|
*/
|
2850
2231
|
page: CallCompositePage;
|
2851
|
-
/**
|
2852
|
-
* Files being uploaded by a user in the current thread.
|
2853
|
-
* Should be set to null once the upload is complete.
|
2854
|
-
* Array of type {@link FileUploadsUiState}
|
2855
|
-
*
|
2856
|
-
* @beta
|
2857
|
-
*/
|
2858
|
-
fileUploads?: FileUploadsUiState;
|
2859
|
-
/**
|
2860
|
-
* State to track whether the end user has opted in to using a
|
2861
|
-
* out of date version of a supported browser. Allows the user
|
2862
|
-
* to start a call in this state.
|
2863
|
-
*
|
2864
|
-
* @beta
|
2865
|
-
*/
|
2866
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
2867
2232
|
}
|
2868
2233
|
|
2869
2234
|
/**
|
@@ -2888,12 +2253,6 @@ export declare interface CallWithChatClientState {
|
|
2888
2253
|
devices: DeviceManagerState;
|
2889
2254
|
/** State of whether the active call is a Teams interop call */
|
2890
2255
|
isTeamsCall: boolean;
|
2891
|
-
/** State of whether the active call is a rooms call */
|
2892
|
-
isRoomsCall: boolean;
|
2893
|
-
/** alternateCallerId for PSTN call */
|
2894
|
-
alternateCallerId?: string | undefined;
|
2895
|
-
/** Environment information for system adapter is made on */
|
2896
|
-
environmentInfo?: EnvironmentInfo;
|
2897
2256
|
/** Default set of background images for background replacement effect */
|
2898
2257
|
videoBackgroundImages?: VideoBackgroundImage[];
|
2899
2258
|
/** Dependency to be injected for video background effects */
|
@@ -2933,6 +2292,8 @@ export declare type CallWithChatCompositeIcons = {
|
|
2933
2292
|
ControlButtonOptions?: JSX.Element;
|
2934
2293
|
ControlButtonScreenShareStart?: JSX.Element;
|
2935
2294
|
ControlButtonScreenShareStop?: JSX.Element;
|
2295
|
+
ControlButtonCameraProhibited?: JSX.Element;
|
2296
|
+
ControlButtonMicProhibited?: JSX.Element;
|
2936
2297
|
ErrorBarCallCameraAccessDenied?: JSX.Element;
|
2937
2298
|
ErrorBarCallCameraAlreadyInUse?: JSX.Element;
|
2938
2299
|
ErrorBarCallLocalVideoFreeze?: JSX.Element;
|
@@ -2966,9 +2327,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
2966
2327
|
ParticipantItemScreenShareStart?: JSX.Element;
|
2967
2328
|
VideoTileMicOff?: JSX.Element;
|
2968
2329
|
LocalCameraSwitch?: JSX.Element;
|
2969
|
-
PeoplePaneAddPerson?: JSX.Element;
|
2970
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
2971
|
-
DialpadStartCall?: JSX.Element;
|
2972
2330
|
EditBoxCancel?: JSX.Element;
|
2973
2331
|
EditBoxSubmit?: JSX.Element;
|
2974
2332
|
MessageDelivered?: JSX.Element;
|
@@ -2978,79 +2336,23 @@ export declare type CallWithChatCompositeIcons = {
|
|
2978
2336
|
MessageSeen?: JSX.Element;
|
2979
2337
|
MessageSending?: JSX.Element;
|
2980
2338
|
SendBoxSend?: JSX.Element;
|
2981
|
-
SendBoxSendHovered?: JSX.Element;
|
2982
|
-
SendBoxAttachFile?: JSX.Element;
|
2983
|
-
ParticipantItemOptions?: JSX.Element;
|
2984
|
-
ParticipantItemOptionsHovered?: JSX.Element;
|
2985
|
-
};
|
2986
|
-
|
2987
|
-
/**
|
2988
|
-
* Optional features of the {@link CallWithChatComposite}.
|
2989
|
-
*
|
2990
|
-
* @public
|
2991
|
-
*/
|
2992
|
-
export declare type CallWithChatCompositeOptions = {
|
2993
|
-
/**
|
2994
|
-
* Call control options to change what buttons show on the call-with-chat composite control bar.
|
2995
|
-
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
2996
|
-
*/
|
2997
|
-
callControls?: boolean | CallWithChatControlOptions;
|
2998
|
-
/**
|
2999
|
-
* Properties for configuring the File Sharing feature.
|
3000
|
-
* If undefined, file sharing feature will be disabled.
|
3001
|
-
* @beta
|
3002
|
-
*/
|
3003
|
-
fileSharing?: FileSharingOptions;
|
3004
|
-
/**
|
3005
|
-
* Device permissions check options for your call.
|
3006
|
-
* Here you can choose what device permissions you prompt the user for,
|
3007
|
-
* as well as what device permissions must be accepted before starting a call.
|
3008
|
-
*/
|
3009
|
-
deviceChecks?: DeviceCheckOptions;
|
3010
|
-
/**
|
3011
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3012
|
-
* unable to grant your site the required permissions for the call.
|
3013
|
-
*
|
3014
|
-
* @example
|
3015
|
-
* ```ts
|
3016
|
-
* onPermissionsTroubleshootingClick: () =>
|
3017
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3018
|
-
* ```
|
3019
|
-
*
|
3020
|
-
* @remarks
|
3021
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3022
|
-
*/
|
3023
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3024
|
-
camera: PermissionState;
|
3025
|
-
microphone: PermissionState;
|
3026
|
-
}) => void;
|
3027
|
-
/**
|
3028
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
3029
|
-
* experienced when connecting to a call.
|
3030
|
-
*
|
3031
|
-
* @example
|
3032
|
-
* ```ts
|
3033
|
-
* onNetworkingTroubleShootingClick?: () =>
|
3034
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3035
|
-
* ```
|
3036
|
-
*
|
3037
|
-
* @remarks
|
3038
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3039
|
-
*/
|
3040
|
-
onNetworkingTroubleShootingClick?: () => void;
|
2339
|
+
SendBoxSendHovered?: JSX.Element;
|
2340
|
+
SendBoxAttachFile?: JSX.Element;
|
2341
|
+
ParticipantItemOptions?: JSX.Element;
|
2342
|
+
ParticipantItemOptionsHovered?: JSX.Element;
|
2343
|
+
};
|
2344
|
+
|
2345
|
+
/**
|
2346
|
+
* Optional features of the {@link CallWithChatComposite}.
|
2347
|
+
*
|
2348
|
+
* @public
|
2349
|
+
*/
|
2350
|
+
export declare type CallWithChatCompositeOptions = {
|
3041
2351
|
/**
|
3042
|
-
*
|
3043
|
-
*
|
3044
|
-
* @example
|
3045
|
-
* ```ts
|
3046
|
-
* onBrowserTroubleShootingClick?: () =>
|
3047
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3048
|
-
* ```
|
3049
|
-
*
|
3050
|
-
* @remarks
|
3051
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
2352
|
+
* Call control options to change what buttons show on the call-with-chat composite control bar.
|
2353
|
+
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
3052
2354
|
*/
|
3053
|
-
|
2355
|
+
callControls?: boolean | CallWithChatControlOptions;
|
3054
2356
|
};
|
3055
2357
|
|
3056
2358
|
/**
|
@@ -3198,10 +2500,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3198
2500
|
* Label for button to copy invite link
|
3199
2501
|
*/
|
3200
2502
|
copyInviteLinkButtonLabel: string;
|
3201
|
-
/**
|
3202
|
-
* Label for button to open dialpad
|
3203
|
-
*/
|
3204
|
-
openDialpadButtonLabel: string;
|
3205
2503
|
/**
|
3206
2504
|
* Label for SidePaneHeader dismiss button
|
3207
2505
|
*/
|
@@ -3214,34 +2512,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3214
2512
|
* Aria label string for return to call back button
|
3215
2513
|
*/
|
3216
2514
|
returnToCallButtonAriaLabel?: string;
|
3217
|
-
/**
|
3218
|
-
* Label for add people dropdown
|
3219
|
-
*/
|
3220
|
-
peoplePaneAddPeopleButtonLabel: string;
|
3221
|
-
/**
|
3222
|
-
* Label for button to start a call
|
3223
|
-
*/
|
3224
|
-
dialpadStartCallButtonLabel: string;
|
3225
|
-
/**
|
3226
|
-
* Title for dialpad Modal
|
3227
|
-
*/
|
3228
|
-
dialpadModalTitle: string;
|
3229
|
-
/**
|
3230
|
-
* Aria Label for dialpad Modal
|
3231
|
-
*/
|
3232
|
-
dialpadModalAriaLabel: string;
|
3233
|
-
/**
|
3234
|
-
* Aria Label for dialpad Modal close button
|
3235
|
-
*/
|
3236
|
-
dialpadCloseModalButtonAriaLabel: string;
|
3237
|
-
/**
|
3238
|
-
* Placeholder text for dtmf dialpad
|
3239
|
-
*/
|
3240
|
-
dtmfDialpadPlaceholderText: string;
|
3241
|
-
/**
|
3242
|
-
* Label for the button to open dtmf dialpad
|
3243
|
-
*/
|
3244
|
-
openDtmfDialpadLabel: string;
|
3245
2515
|
/**
|
3246
2516
|
* aria label for when the invite link has been actioned
|
3247
2517
|
*/
|
@@ -3258,9 +2528,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3258
2528
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
3259
2529
|
* @defaultValue true
|
3260
2530
|
*/
|
3261
|
-
chatButton?: boolean
|
3262
|
-
disabled: boolean;
|
3263
|
-
};
|
2531
|
+
chatButton?: boolean;
|
3264
2532
|
}
|
3265
2533
|
|
3266
2534
|
/**
|
@@ -3268,36 +2536,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3268
2536
|
*
|
3269
2537
|
* @public
|
3270
2538
|
*/
|
3271
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3272
|
-
|
3273
|
-
/**
|
3274
|
-
* @beta
|
3275
|
-
*
|
3276
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3277
|
-
* by their browsers settings.
|
3278
|
-
*/
|
3279
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3280
|
-
|
3281
|
-
/**
|
3282
|
-
* @beta
|
3283
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
3284
|
-
*/
|
3285
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3286
|
-
/** Icon name for the camera icon */
|
3287
|
-
cameraIconName?: string;
|
3288
|
-
/** Icon name for the microphone icon */
|
3289
|
-
microphoneIconName?: string;
|
3290
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
3291
|
-
connectorIconName?: string;
|
3292
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3293
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3294
|
-
}
|
3295
|
-
|
3296
|
-
/**
|
3297
|
-
* @beta
|
3298
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3299
|
-
*/
|
3300
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2539
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3301
2540
|
|
3302
2541
|
/**
|
3303
2542
|
* A button to turn camera on / off.
|
@@ -3364,7 +2603,7 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
|
|
3364
2603
|
/**
|
3365
2604
|
* Callback when a effects is clicked
|
3366
2605
|
*/
|
3367
|
-
|
2606
|
+
onClickVideoEffects?: (showVideoEffects: boolean) => void;
|
3368
2607
|
}
|
3369
2608
|
|
3370
2609
|
/**
|
@@ -3456,38 +2695,82 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3456
2695
|
}
|
3457
2696
|
|
3458
2697
|
/**
|
3459
|
-
*
|
3460
|
-
*
|
3461
|
-
*
|
3462
|
-
* @beta
|
2698
|
+
* @public
|
2699
|
+
* Callback function run when a message edit is cancelled.
|
3463
2700
|
*/
|
3464
|
-
export declare
|
2701
|
+
export declare type CancelEditCallback = (messageId: string) => void;
|
3465
2702
|
|
3466
2703
|
/**
|
3467
|
-
* @
|
3468
|
-
*
|
2704
|
+
* Callback for {@link CallAdapterSubscribers} 'capabilitiesChanged' event.
|
2705
|
+
*
|
2706
|
+
* @public
|
3469
2707
|
*/
|
3470
|
-
export declare
|
3471
|
-
/** Icon name for the camera icon */
|
3472
|
-
cameraIconName?: string;
|
3473
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3474
|
-
strings?: CameraSitePermissionsStrings;
|
3475
|
-
}
|
2708
|
+
export declare type CapabilitiesChangedListener = (data: CapabilitiesChangeInfo) => void;
|
3476
2709
|
|
3477
2710
|
/**
|
3478
|
-
* @
|
3479
|
-
*
|
2711
|
+
* State only version of {@link @azure/communication-calling#CapabilitiesFeature}
|
2712
|
+
*
|
2713
|
+
* @public
|
3480
2714
|
*/
|
3481
|
-
export declare
|
2715
|
+
export declare interface CapabilitiesFeatureState {
|
2716
|
+
/**
|
2717
|
+
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature.capabilities}.
|
2718
|
+
*/
|
2719
|
+
capabilities: ParticipantCapabilities;
|
2720
|
+
/**
|
2721
|
+
* Proxy of the latest {@link @azure/communication-calling#CapabilitiesChangeInfo}
|
2722
|
+
*/
|
2723
|
+
latestCapabilitiesChangeInfo: CapabilitiesChangeInfo;
|
2724
|
+
}
|
3482
2725
|
|
3483
2726
|
/**
|
2727
|
+
* Strings for capability changed notification
|
3484
2728
|
* @public
|
3485
|
-
* Callback function run when a message edit is cancelled.
|
3486
2729
|
*/
|
3487
|
-
export declare
|
2730
|
+
export declare interface CapabilityChangedNotificationStrings {
|
2731
|
+
/**
|
2732
|
+
* Strings for 'turnVideoOn' capability
|
2733
|
+
*/
|
2734
|
+
turnVideoOn?: {
|
2735
|
+
/**
|
2736
|
+
* Notification message shown to the user when capability to turn video on is lost due to a meeting option change
|
2737
|
+
*/
|
2738
|
+
lostDueToMeetingOption?: string;
|
2739
|
+
/**
|
2740
|
+
* Notification message shown to the user when capability to turn video on is granted due to a meeting option change
|
2741
|
+
*/
|
2742
|
+
grantedDueToMeetingOption?: string;
|
2743
|
+
};
|
2744
|
+
/**
|
2745
|
+
* Strings for 'unmuteMic' capability
|
2746
|
+
*/
|
2747
|
+
unmuteMic?: {
|
2748
|
+
/**
|
2749
|
+
* Notification message shown to the user when capability to unmute mic is lost due to a meeting option change
|
2750
|
+
*/
|
2751
|
+
lostDueToMeetingOption?: string;
|
2752
|
+
/**
|
2753
|
+
* Notification message shown to the user when capability to unmute mic is granted due to a meeting option change
|
2754
|
+
*/
|
2755
|
+
grantedDueToMeetingOption?: string;
|
2756
|
+
};
|
2757
|
+
/**
|
2758
|
+
* Strings for 'shareScreen' capability
|
2759
|
+
*/
|
2760
|
+
shareScreen?: {
|
2761
|
+
/**
|
2762
|
+
* Notification message shown to the user when capability to share screen is lost due to a role change to Attendeee
|
2763
|
+
*/
|
2764
|
+
lostDueToRoleChangeToAttendee?: string;
|
2765
|
+
/**
|
2766
|
+
* Notification message shown to the user when capability to share screen is granted due to a role change to Presenter
|
2767
|
+
*/
|
2768
|
+
grantedDueToRoleChangeToPresenter?: string;
|
2769
|
+
};
|
2770
|
+
}
|
3488
2771
|
|
3489
2772
|
/**
|
3490
|
-
* @
|
2773
|
+
* @public
|
3491
2774
|
* caption language strings for captions setting modal
|
3492
2775
|
*/
|
3493
2776
|
export declare interface CaptionLanguageStrings {
|
@@ -3526,7 +2809,7 @@ export declare interface CaptionLanguageStrings {
|
|
3526
2809
|
}
|
3527
2810
|
|
3528
2811
|
/**
|
3529
|
-
* @
|
2812
|
+
* @public
|
3530
2813
|
*/
|
3531
2814
|
export declare interface CaptionsCallFeatureState {
|
3532
2815
|
/**
|
@@ -3560,7 +2843,7 @@ export declare interface CaptionsCallFeatureState {
|
|
3560
2843
|
}
|
3561
2844
|
|
3562
2845
|
/**
|
3563
|
-
* @
|
2846
|
+
* @public
|
3564
2847
|
*/
|
3565
2848
|
export declare interface CaptionsInfo {
|
3566
2849
|
/**
|
@@ -3596,7 +2879,7 @@ export declare interface CaptionsInfo {
|
|
3596
2879
|
/**
|
3597
2880
|
* options bag to start captions
|
3598
2881
|
*
|
3599
|
-
* @
|
2882
|
+
* @public
|
3600
2883
|
*/
|
3601
2884
|
export declare type CaptionsOptions = {
|
3602
2885
|
spokenLanguage: string;
|
@@ -3605,7 +2888,7 @@ export declare type CaptionsOptions = {
|
|
3605
2888
|
/**
|
3606
2889
|
* Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
|
3607
2890
|
*
|
3608
|
-
* @
|
2891
|
+
* @public
|
3609
2892
|
*/
|
3610
2893
|
export declare type CaptionsReceivedListener = (event: {
|
3611
2894
|
captionsInfo: CaptionsInfo;
|
@@ -3616,7 +2899,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3616
2899
|
*
|
3617
2900
|
* @public
|
3618
2901
|
*/
|
3619
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers
|
2902
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
|
3620
2903
|
|
3621
2904
|
/**
|
3622
2905
|
* {@link ChatAdapter} state.
|
@@ -3724,9 +3007,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
3724
3007
|
/**
|
3725
3008
|
* Update a message content.
|
3726
3009
|
*/
|
3727
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
3728
|
-
attachedFilesMetadata?: FileMetadata[];
|
3729
|
-
}): Promise<void>;
|
3010
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
3730
3011
|
/**
|
3731
3012
|
* Delete a message in the thread.
|
3732
3013
|
*/
|
@@ -3739,9 +3020,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3739
3020
|
*
|
3740
3021
|
*/
|
3741
3022
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3742
|
-
downloadAttachments: (options: {
|
3743
|
-
attachmentUrls: string[];
|
3744
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
3745
3023
|
}
|
3746
3024
|
|
3747
3025
|
/**
|
@@ -3751,13 +3029,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3751
3029
|
*/
|
3752
3030
|
export declare type ChatAdapterUiState = {
|
3753
3031
|
error?: Error;
|
3754
|
-
/**
|
3755
|
-
* Files being uploaded by a user in the current thread.
|
3756
|
-
* Should be set to null once the upload is complete.
|
3757
|
-
* Array of type {@link FileUploadsUiState}
|
3758
|
-
* @beta
|
3759
|
-
*/
|
3760
|
-
fileUploads?: FileUploadsUiState;
|
3761
3032
|
};
|
3762
3033
|
|
3763
3034
|
/**
|
@@ -3860,7 +3131,6 @@ export declare type ChatCompositeIcons = {
|
|
3860
3131
|
ParticipantItemOptionsHovered?: JSX.Element;
|
3861
3132
|
SendBoxSend?: JSX.Element;
|
3862
3133
|
SendBoxSendHovered?: JSX.Element;
|
3863
|
-
SendBoxAttachFile?: JSX.Element;
|
3864
3134
|
};
|
3865
3135
|
|
3866
3136
|
/**
|
@@ -3875,13 +3145,6 @@ export declare type ChatCompositeOptions = {
|
|
3875
3145
|
* @defaultValue true
|
3876
3146
|
*/
|
3877
3147
|
errorBar?: boolean;
|
3878
|
-
/**
|
3879
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
3880
|
-
* @defaultValue false
|
3881
|
-
*
|
3882
|
-
* @beta
|
3883
|
-
*/
|
3884
|
-
participantPane?: boolean;
|
3885
3148
|
/**
|
3886
3149
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
3887
3150
|
* @defaultValue true
|
@@ -3892,12 +3155,6 @@ export declare type ChatCompositeOptions = {
|
|
3892
3155
|
* When undefined nothing has focus on render
|
3893
3156
|
*/
|
3894
3157
|
autoFocus?: 'sendBoxTextField';
|
3895
|
-
/**
|
3896
|
-
* Properties for configuring the File Sharing feature.
|
3897
|
-
* If undefined, file sharing feature will be disabled.
|
3898
|
-
* @beta
|
3899
|
-
*/
|
3900
|
-
fileSharing?: FileSharingOptions;
|
3901
3158
|
};
|
3902
3159
|
|
3903
3160
|
/**
|
@@ -3925,12 +3182,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
3925
3182
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
3926
3183
|
*/
|
3927
3184
|
options?: ChatCompositeOptions;
|
3928
|
-
/**
|
3929
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
3930
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
3931
|
-
* @defaultValue 'desktop'
|
3932
|
-
*/
|
3933
|
-
formFactor?: 'desktop' | 'mobile';
|
3934
3185
|
}
|
3935
3186
|
|
3936
3187
|
/**
|
@@ -3945,10 +3196,6 @@ export declare interface ChatCompositeStrings {
|
|
3945
3196
|
* Chat list header text
|
3946
3197
|
*/
|
3947
3198
|
chatListHeader: string;
|
3948
|
-
/**
|
3949
|
-
* Upload File Button text
|
3950
|
-
*/
|
3951
|
-
uploadFile: string;
|
3952
3199
|
}
|
3953
3200
|
|
3954
3201
|
/**
|
@@ -3997,7 +3244,7 @@ export declare type ChatErrors = {
|
|
3997
3244
|
*
|
3998
3245
|
* @public
|
3999
3246
|
*/
|
4000
|
-
export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' |
|
3247
|
+
export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | 'ChatThreadClient.updateTopic';
|
4001
3248
|
|
4002
3249
|
/**
|
4003
3250
|
* Object containing all the handlers required for chat components.
|
@@ -4014,9 +3261,7 @@ export declare type ChatHandlers = {
|
|
4014
3261
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
4015
3262
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
4016
3263
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
4017
|
-
onUpdateMessage: (messageId: string, content: string
|
4018
|
-
attachedFilesMetadata?: FileMetadata[];
|
4019
|
-
}) => Promise<void>;
|
3264
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
4020
3265
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
4021
3266
|
};
|
4022
3267
|
|
@@ -4043,12 +3288,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4043
3288
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
4044
3289
|
*/
|
4045
3290
|
metadata?: Record<string, string>;
|
4046
|
-
/**
|
4047
|
-
* @beta
|
4048
|
-
* A list of files attached to the message.
|
4049
|
-
* {@link FileMetadata}
|
4050
|
-
*/
|
4051
|
-
attachedFilesMetadata?: FileMetadata[];
|
4052
3291
|
}
|
4053
3292
|
|
4054
3293
|
/**
|
@@ -4062,7 +3301,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4062
3301
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
4063
3302
|
clientMessageId?: string;
|
4064
3303
|
status: MessageStatus;
|
4065
|
-
policyViolation?: boolean;
|
4066
3304
|
};
|
4067
3305
|
|
4068
3306
|
/**
|
@@ -4207,18 +3445,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
4207
3445
|
* @public
|
4208
3446
|
*/
|
4209
3447
|
startCall(participants: string[], options?: StartCallOptions): void;
|
4210
|
-
/**
|
4211
|
-
* Start the call.
|
4212
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
4213
|
-
* @beta
|
4214
|
-
*/
|
4215
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
4216
3448
|
}
|
4217
3449
|
|
4218
3450
|
/**
|
4219
3451
|
* Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
|
4220
3452
|
*
|
4221
|
-
* @
|
3453
|
+
* @public
|
4222
3454
|
*/
|
4223
3455
|
export declare type CommonCallAdapterOptions = {
|
4224
3456
|
/**
|
@@ -4228,12 +3460,6 @@ export declare type CommonCallAdapterOptions = {
|
|
4228
3460
|
videoBackgroundImages?: VideoBackgroundImage[];
|
4229
3461
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
4230
3462
|
};
|
4231
|
-
/**
|
4232
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4233
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4234
|
-
* and would not be updated again within the lifecycle of adapter.
|
4235
|
-
*/
|
4236
|
-
onFetchProfile?: OnFetchProfileCallback;
|
4237
3463
|
};
|
4238
3464
|
|
4239
3465
|
/**
|
@@ -4256,9 +3482,7 @@ export declare type CommonCallControlOptions = {
|
|
4256
3482
|
* Show or Hide Camera Button during a call
|
4257
3483
|
* @defaultValue true
|
4258
3484
|
*/
|
4259
|
-
cameraButton?: boolean
|
4260
|
-
disabled: boolean;
|
4261
|
-
};
|
3485
|
+
cameraButton?: boolean;
|
4262
3486
|
/**
|
4263
3487
|
* Show or Hide EndCall button during a call.
|
4264
3488
|
* @defaultValue true
|
@@ -4268,16 +3492,12 @@ export declare type CommonCallControlOptions = {
|
|
4268
3492
|
* Show or Hide Microphone button during a call.
|
4269
3493
|
* @defaultValue true
|
4270
3494
|
*/
|
4271
|
-
microphoneButton?: boolean
|
4272
|
-
disabled: boolean;
|
4273
|
-
};
|
3495
|
+
microphoneButton?: boolean;
|
4274
3496
|
/**
|
4275
3497
|
* Show or Hide Devices button during a call.
|
4276
3498
|
* @defaultValue true
|
4277
3499
|
*/
|
4278
|
-
devicesButton?: boolean
|
4279
|
-
disabled: boolean;
|
4280
|
-
};
|
3500
|
+
devicesButton?: boolean;
|
4281
3501
|
/**
|
4282
3502
|
* Show, Hide or Disable participants button during a call.
|
4283
3503
|
* @defaultValue true
|
@@ -4304,22 +3524,11 @@ export declare type CommonCallControlOptions = {
|
|
4304
3524
|
raiseHandButton?: boolean | {
|
4305
3525
|
disabled: boolean;
|
4306
3526
|
};
|
4307
|
-
/**
|
4308
|
-
* Inject custom buttons in the call controls.
|
4309
|
-
*
|
4310
|
-
* @beta
|
4311
|
-
*/
|
4312
|
-
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4313
|
-
holdButton?: boolean | {
|
4314
|
-
disabled: boolean;
|
4315
|
-
};
|
4316
3527
|
/**
|
4317
3528
|
* Show or hide the people button in the composite control bar.
|
4318
3529
|
* @defaultValue true
|
4319
3530
|
*/
|
4320
|
-
peopleButton?: boolean
|
4321
|
-
disabled: boolean;
|
4322
|
-
};
|
3531
|
+
peopleButton?: boolean;
|
4323
3532
|
};
|
4324
3533
|
|
4325
3534
|
/**
|
@@ -4344,9 +3553,6 @@ export declare interface CommonCallingHandlers {
|
|
4344
3553
|
onRaiseHand: () => Promise<void>;
|
4345
3554
|
onLowerHand: () => Promise<void>;
|
4346
3555
|
onToggleRaiseHand: () => Promise<void>;
|
4347
|
-
onToggleHold: () => Promise<void>;
|
4348
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4349
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4350
3556
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4351
3557
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4352
3558
|
/**
|
@@ -4356,10 +3562,7 @@ export declare interface CommonCallingHandlers {
|
|
4356
3562
|
onDisposeLocalStreamView: () => Promise<void>;
|
4357
3563
|
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
4358
3564
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4359
|
-
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4360
3565
|
onRemoveParticipant(userId: string): Promise<void>;
|
4361
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4362
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4363
3566
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
4364
3567
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4365
3568
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -4379,39 +3582,6 @@ export declare type CommonProperties<A, B> = {
|
|
4379
3582
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4380
3583
|
}[keyof A & keyof B];
|
4381
3584
|
|
4382
|
-
/**
|
4383
|
-
* @beta
|
4384
|
-
* Props for SitePermissions components.
|
4385
|
-
*/
|
4386
|
-
export declare interface CommonSitePermissionsProps {
|
4387
|
-
/**
|
4388
|
-
* Name of application calling experience is in.
|
4389
|
-
*/
|
4390
|
-
appName: string;
|
4391
|
-
/**
|
4392
|
-
* Kind of the Site Permissions component.
|
4393
|
-
*/
|
4394
|
-
kind: 'request' | 'denied' | 'check';
|
4395
|
-
/**
|
4396
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4397
|
-
*/
|
4398
|
-
browserHint?: 'safari' | 'unset';
|
4399
|
-
/**
|
4400
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4401
|
-
* If this is not provided the button will not be shown.
|
4402
|
-
*/
|
4403
|
-
onTroubleshootingClick?: () => void;
|
4404
|
-
/**
|
4405
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4406
|
-
* If this is not provided the button will not be shown.
|
4407
|
-
*/
|
4408
|
-
onContinueAnywayClick?: () => void;
|
4409
|
-
/**
|
4410
|
-
* Styles for SitePermissions component.
|
4411
|
-
*/
|
4412
|
-
styles?: SitePermissionsStyles;
|
4413
|
-
}
|
4414
|
-
|
4415
3585
|
/**
|
4416
3586
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4417
3587
|
*
|
@@ -4588,11 +3758,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4588
3758
|
export declare interface ComponentLocale {
|
4589
3759
|
/** Strings for components */
|
4590
3760
|
strings: ComponentStrings;
|
4591
|
-
/**
|
4592
|
-
* Optional function to provide customized date format.
|
4593
|
-
* @beta
|
4594
|
-
*/
|
4595
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4596
3761
|
}
|
4597
3762
|
|
4598
3763
|
/**
|
@@ -4638,60 +3803,12 @@ export declare interface ComponentStrings {
|
|
4638
3803
|
typingIndicator: TypingIndicatorStrings;
|
4639
3804
|
/** Strings for SendBox */
|
4640
3805
|
sendBox: SendBoxStrings;
|
4641
|
-
/** Strings for MentionPopover */
|
4642
|
-
mentionPopover: MentionPopoverStrings;
|
4643
3806
|
/** Strings for MessageStatusIndicator */
|
4644
3807
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
4645
3808
|
/** Strings for ErroBar */
|
4646
3809
|
errorBar: ErrorBarStrings;
|
4647
3810
|
/** Strings for VideoGallery */
|
4648
3811
|
videoGallery: VideoGalleryStrings;
|
4649
|
-
/** Strings for Dialpad */
|
4650
|
-
dialpad: DialpadStrings;
|
4651
|
-
/** Strings for VideoTile */
|
4652
|
-
videoTile: VideoTileStrings;
|
4653
|
-
/** Strings for HoldButton */
|
4654
|
-
holdButton: HoldButtonStrings;
|
4655
|
-
/** Strings for a site's permission request prompt */
|
4656
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4657
|
-
/** Strings for a site's permission request prompt */
|
4658
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4659
|
-
/** Strings for a site's permission request prompt */
|
4660
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4661
|
-
/** Strings for a site's permission generic checking prompt */
|
4662
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4663
|
-
/** Strings for a site's permission generic checking prompt */
|
4664
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4665
|
-
/** Strings for a site's permission generic checking prompt */
|
4666
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4667
|
-
/** Strings for a site's permission denied prompt */
|
4668
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4669
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4670
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4671
|
-
/** Strings for a site's permission denied prompt */
|
4672
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4673
|
-
/** Strings for a site's permission denied prompt */
|
4674
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4675
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4676
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4677
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4678
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4679
|
-
/** Strings for unsupported browser UI */
|
4680
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4681
|
-
/** Strings for unsupported browser version UI */
|
4682
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4683
|
-
/** Strings for unsupported browser version UI */
|
4684
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4685
|
-
/** Strings for BrowserPemissionDenied */
|
4686
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4687
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
4688
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4689
|
-
/**
|
4690
|
-
* Strings for the VerticalGallery.
|
4691
|
-
*/
|
4692
|
-
VerticalGallery: VerticalGalleryStrings;
|
4693
|
-
/** Strings for the participant list component */
|
4694
|
-
ParticipantList: ParticipantListStrings;
|
4695
3812
|
}
|
4696
3813
|
|
4697
3814
|
/**
|
@@ -5048,7 +4165,7 @@ export declare interface ControlBarProps {
|
|
5048
4165
|
*
|
5049
4166
|
* @public
|
5050
4167
|
*/
|
5051
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator,
|
4168
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
5052
4169
|
|
5053
4170
|
/**
|
5054
4171
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -5066,7 +4183,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
5066
4183
|
*
|
5067
4184
|
* @public
|
5068
4185
|
*/
|
5069
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator,
|
4186
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5070
4187
|
|
5071
4188
|
/**
|
5072
4189
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -5077,7 +4194,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
5077
4194
|
*
|
5078
4195
|
* @public
|
5079
4196
|
*/
|
5080
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions
|
4197
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
5081
4198
|
|
5082
4199
|
/**
|
5083
4200
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -5096,9 +4213,7 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
5096
4213
|
*
|
5097
4214
|
* @public
|
5098
4215
|
*/
|
5099
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
5100
|
-
credential?: CommunicationTokenCredential;
|
5101
|
-
}): Promise<ChatAdapter>;
|
4216
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
|
5102
4217
|
|
5103
4218
|
/**
|
5104
4219
|
* Type of {@link createDefaultCallingHandlers}.
|
@@ -5129,18 +4244,6 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
5129
4244
|
*/
|
5130
4245
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
5131
4246
|
|
5132
|
-
/**
|
5133
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5134
|
-
*
|
5135
|
-
* Useful when implementing a custom component that utilizes the providers
|
5136
|
-
* exported from this library.
|
5137
|
-
*
|
5138
|
-
* @beta
|
5139
|
-
*/
|
5140
|
-
export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall, options?: {
|
5141
|
-
onResolveVideoBackgroundEffectsDependency?: (() => Promise<VideoBackgroundEffectsDependency>) | undefined;
|
5142
|
-
} | undefined) => never | TeamsCallingHandlers;
|
5143
|
-
|
5144
4247
|
/**
|
5145
4248
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
5146
4249
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -5166,21 +4269,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
5166
4269
|
*/
|
5167
4270
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
5168
4271
|
|
5169
|
-
/**
|
5170
|
-
* @beta
|
5171
|
-
*/
|
5172
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5173
|
-
|
5174
|
-
/**
|
5175
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5176
|
-
*
|
5177
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5178
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5179
|
-
*
|
5180
|
-
* @beta
|
5181
|
-
*/
|
5182
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
|
5183
|
-
|
5184
4272
|
/**
|
5185
4273
|
* Object returned after creating a local or remote VideoStream.
|
5186
4274
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -5231,146 +4319,8 @@ export declare type CustomAvatarOptions = {
|
|
5231
4319
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
5232
4320
|
/** Display name to be used in Persona */
|
5233
4321
|
text?: string;
|
5234
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5235
|
-
participantState?: ParticipantState;
|
5236
|
-
/**
|
5237
|
-
* If true, show the special coin for unknown persona.
|
5238
|
-
* It has '?' in place of initials, with static font and background colors
|
5239
|
-
*/
|
5240
|
-
showUnknownPersonaCoin?: boolean;
|
5241
4322
|
};
|
5242
4323
|
|
5243
|
-
/**
|
5244
|
-
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
5245
|
-
*
|
5246
|
-
* The response indicates where the custom button should be placed.
|
5247
|
-
*
|
5248
|
-
* Performance tip: This callback is only called when either the callback or its arguments change.
|
5249
|
-
* @beta
|
5250
|
-
*/
|
5251
|
-
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
5252
|
-
export { CustomCallControlButtonCallback }
|
5253
|
-
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
5254
|
-
|
5255
|
-
/**
|
5256
|
-
* Arguments for {@link CustomCallControlButtonCallback}.
|
5257
|
-
*
|
5258
|
-
* @beta
|
5259
|
-
*/
|
5260
|
-
export declare interface CustomCallControlButtonCallbackArgs {
|
5261
|
-
/**
|
5262
|
-
* Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
|
5263
|
-
*
|
5264
|
-
* @defaultValue `'default'`
|
5265
|
-
*/
|
5266
|
-
displayType?: CallControlDisplayType;
|
5267
|
-
}
|
5268
|
-
|
5269
|
-
/**
|
5270
|
-
* Placement for a custom button injected in the {@link CommonCallControlBar}.
|
5271
|
-
*
|
5272
|
-
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
5273
|
-
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
5274
|
-
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
5275
|
-
*
|
5276
|
-
* Multiple buttons assigned the same placement are appended in order.
|
5277
|
-
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
5278
|
-
* in the order provided.
|
5279
|
-
*
|
5280
|
-
* Only 'primary' placement works when legacy call control is enabled in call composite
|
5281
|
-
*
|
5282
|
-
* @beta
|
5283
|
-
*/
|
5284
|
-
declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
5285
|
-
export { CustomCallControlButtonPlacement }
|
5286
|
-
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
5287
|
-
|
5288
|
-
/**
|
5289
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
5290
|
-
*
|
5291
|
-
* Includes the placement prop necessary to indicate where to place the
|
5292
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5293
|
-
*
|
5294
|
-
* @beta
|
5295
|
-
*/
|
5296
|
-
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
5297
|
-
/**
|
5298
|
-
* Where to place the custom button relative to other buttons.
|
5299
|
-
*/
|
5300
|
-
placement: CustomCallControlButtonPlacement;
|
5301
|
-
/**
|
5302
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5303
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5304
|
-
*/
|
5305
|
-
iconName?: string;
|
5306
|
-
}
|
5307
|
-
|
5308
|
-
/**
|
5309
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
5310
|
-
*
|
5311
|
-
* Includes the icon and placement prop necessary to indicate where to place the
|
5312
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5313
|
-
*
|
5314
|
-
* @beta
|
5315
|
-
*/
|
5316
|
-
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
5317
|
-
/**
|
5318
|
-
* Where to place the custom button relative to other buttons.
|
5319
|
-
*/
|
5320
|
-
placement: CustomCallControlButtonPlacement;
|
5321
|
-
/**
|
5322
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5323
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5324
|
-
*/
|
5325
|
-
iconName?: string;
|
5326
|
-
}
|
5327
|
-
|
5328
|
-
/**
|
5329
|
-
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
5330
|
-
*
|
5331
|
-
* @beta
|
5332
|
-
*/
|
5333
|
-
export declare interface CustomControlButtonProps {
|
5334
|
-
/**
|
5335
|
-
* Calback for when button is clicked
|
5336
|
-
*/
|
5337
|
-
onItemClick?: () => void;
|
5338
|
-
/**
|
5339
|
-
* Whether the buttons is disabled
|
5340
|
-
*/
|
5341
|
-
disabled?: boolean;
|
5342
|
-
/**
|
5343
|
-
* Whether the label is displayed or not.
|
5344
|
-
*
|
5345
|
-
* @defaultValue `false`
|
5346
|
-
*/
|
5347
|
-
showLabel?: boolean;
|
5348
|
-
/**
|
5349
|
-
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
5350
|
-
*/
|
5351
|
-
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
5352
|
-
/**
|
5353
|
-
* Optional label for the button
|
5354
|
-
*/
|
5355
|
-
text?: string;
|
5356
|
-
/**
|
5357
|
-
* A unique key for the button
|
5358
|
-
*/
|
5359
|
-
key?: string | number;
|
5360
|
-
/**
|
5361
|
-
* The aria label of the button for the benefit of screen readers.
|
5362
|
-
*/
|
5363
|
-
ariaLabel?: string;
|
5364
|
-
/**
|
5365
|
-
* Detailed description of the button for the benefit of screen readers.
|
5366
|
-
*/
|
5367
|
-
ariaDescription?: string;
|
5368
|
-
/**
|
5369
|
-
* A unique id set for the standard HTML id attibute
|
5370
|
-
*/
|
5371
|
-
id?: string;
|
5372
|
-
}
|
5373
|
-
|
5374
4324
|
/**
|
5375
4325
|
* A custom message type.
|
5376
4326
|
*
|
@@ -5384,23 +4334,11 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5384
4334
|
}
|
5385
4335
|
|
5386
4336
|
/**
|
5387
|
-
* Preset dark theme for components exported from this library.
|
5388
|
-
*
|
5389
|
-
* @public
|
5390
|
-
*/
|
5391
|
-
export declare const darkTheme: PartialTheme & CallingTheme;
|
5392
|
-
|
5393
|
-
/**
|
5394
|
-
* @beta
|
5395
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5396
|
-
*/
|
5397
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
5398
|
-
|
5399
|
-
/**
|
5400
|
-
* @beta
|
5401
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
4337
|
+
* Preset dark theme for components exported from this library.
|
4338
|
+
*
|
4339
|
+
* @public
|
5402
4340
|
*/
|
5403
|
-
export declare
|
4341
|
+
export declare const darkTheme: PartialTheme & CallingTheme;
|
5404
4342
|
|
5405
4343
|
/**
|
5406
4344
|
* The default set of icons that are available to use in the UI components.
|
@@ -5418,16 +4356,12 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5418
4356
|
ControlButtonMicOn: JSX.Element;
|
5419
4357
|
ControlButtonOptions: JSX.Element;
|
5420
4358
|
ControlButtonParticipants: JSX.Element;
|
5421
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5422
4359
|
ControlButtonScreenShareStart: JSX.Element;
|
5423
4360
|
ControlButtonScreenShareStop: JSX.Element;
|
5424
4361
|
ControlButtonRaiseHand: JSX.Element;
|
5425
4362
|
ControlButtonLowerHand: JSX.Element;
|
5426
4363
|
RaiseHandContextualMenuItem: JSX.Element;
|
5427
4364
|
LowerHandContextualMenuItem: JSX.Element;
|
5428
|
-
CancelFileUpload: JSX.Element;
|
5429
|
-
DownloadFile: JSX.Element;
|
5430
|
-
DataLossPreventionProhibited: JSX.Element;
|
5431
4365
|
EditBoxCancel: JSX.Element;
|
5432
4366
|
EditBoxSubmit: JSX.Element;
|
5433
4367
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -5460,20 +4394,9 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5460
4394
|
ParticipantItemOptions: JSX.Element;
|
5461
4395
|
ParticipantItemOptionsHovered: JSX.Element;
|
5462
4396
|
ParticipantItemScreenShareStart: JSX.Element;
|
5463
|
-
HoldCallContextualMenuItem: JSX.Element;
|
5464
|
-
HoldCallButton: JSX.Element;
|
5465
|
-
ResumeCall: JSX.Element;
|
5466
4397
|
SendBoxSend: JSX.Element;
|
5467
4398
|
SendBoxSendHovered: JSX.Element;
|
5468
4399
|
VideoTileMicOff: JSX.Element;
|
5469
|
-
DialpadBackspace: JSX.Element;
|
5470
|
-
SitePermissionsSparkle: JSX.Element;
|
5471
|
-
SitePermissionCamera: JSX.Element;
|
5472
|
-
SitePermissionMic: JSX.Element;
|
5473
|
-
SitePermissionCameraDenied: JSX.Element;
|
5474
|
-
SitePermissionMicDenied: JSX.Element;
|
5475
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5476
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5477
4400
|
VideoTilePinned: JSX.Element;
|
5478
4401
|
VideoTileMoreOptions: JSX.Element;
|
5479
4402
|
VideoTileScaleFit: JSX.Element;
|
@@ -5484,8 +4407,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5484
4407
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
5485
4408
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
5486
4409
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5487
|
-
VerticalGalleryLeftButton: JSX.Element;
|
5488
|
-
VerticalGalleryRightButton: JSX.Element;
|
5489
4410
|
ControlButtonVideoEffectsOption: JSX.Element;
|
5490
4411
|
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5491
4412
|
CaptionsIcon: JSX.Element;
|
@@ -5516,7 +4437,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5516
4437
|
ParticipantItemOptionsHovered: JSX.Element;
|
5517
4438
|
SendBoxSend: JSX.Element;
|
5518
4439
|
SendBoxSendHovered: JSX.Element;
|
5519
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5520
4440
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
5521
4441
|
ControlButtonCameraOff: JSX.Element;
|
5522
4442
|
ControlButtonCameraOn: JSX.Element;
|
@@ -5527,6 +4447,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5527
4447
|
ControlButtonParticipants: JSX.Element;
|
5528
4448
|
ControlButtonScreenShareStart: JSX.Element;
|
5529
4449
|
ControlButtonScreenShareStop: JSX.Element;
|
4450
|
+
ControlButtonCameraProhibited?: JSX.Element | undefined;
|
4451
|
+
ControlButtonMicProhibited?: JSX.Element | undefined;
|
5530
4452
|
ControlButtonRaiseHand: JSX.Element;
|
5531
4453
|
ControlButtonLowerHand: JSX.Element;
|
5532
4454
|
RaiseHandContextualMenuItem: JSX.Element;
|
@@ -5564,10 +4486,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5564
4486
|
ParticipantItemScreenShareStart: JSX.Element;
|
5565
4487
|
VideoTileMicOff: JSX.Element;
|
5566
4488
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5567
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5568
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5569
|
-
DialpadStartCall?: JSX.Element | undefined;
|
5570
|
-
NoticePageAccessDeniedRoomsCall?: JSX.Element | undefined;
|
5571
4489
|
BlurVideoBackground?: JSX.Element | undefined;
|
5572
4490
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
5573
4491
|
ChevronLeft?: JSX.Element | undefined;
|
@@ -5579,25 +4497,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5579
4497
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5580
4498
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5581
4499
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
4500
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
5582
4501
|
ChatMessageOptions: JSX.Element;
|
5583
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5584
|
-
CancelFileUpload: JSX.Element;
|
5585
|
-
DownloadFile: JSX.Element;
|
5586
|
-
DataLossPreventionProhibited: JSX.Element;
|
5587
4502
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
5588
4503
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
5589
4504
|
MessageResend: JSX.Element;
|
5590
|
-
HoldCallContextualMenuItem: JSX.Element;
|
5591
|
-
HoldCallButton: JSX.Element;
|
5592
|
-
ResumeCall: JSX.Element;
|
5593
|
-
DialpadBackspace: JSX.Element;
|
5594
|
-
SitePermissionsSparkle: JSX.Element;
|
5595
|
-
SitePermissionCamera: JSX.Element;
|
5596
|
-
SitePermissionMic: JSX.Element;
|
5597
|
-
SitePermissionCameraDenied: JSX.Element;
|
5598
|
-
SitePermissionMicDenied: JSX.Element;
|
5599
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5600
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5601
4505
|
VideoTilePinned: JSX.Element;
|
5602
4506
|
VideoTileMoreOptions: JSX.Element;
|
5603
4507
|
VideoTileScaleFit: JSX.Element;
|
@@ -5608,8 +4512,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5608
4512
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
5609
4513
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
5610
4514
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5611
|
-
VerticalGalleryLeftButton: JSX.Element;
|
5612
|
-
VerticalGalleryRightButton: JSX.Element;
|
5613
4515
|
ControlButtonVideoEffectsOption: JSX.Element;
|
5614
4516
|
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5615
4517
|
CaptionsIcon: JSX.Element;
|
@@ -5622,29 +4524,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5622
4524
|
ContextMenuSpeakerIcon: JSX.Element;
|
5623
4525
|
};
|
5624
4526
|
|
5625
|
-
/**
|
5626
|
-
* Device Checks.
|
5627
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5628
|
-
*
|
5629
|
-
* @beta
|
5630
|
-
*/
|
5631
|
-
export declare interface DeviceCheckOptions {
|
5632
|
-
/**
|
5633
|
-
* Camera Permission prompts for your call.
|
5634
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5635
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5636
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5637
|
-
*/
|
5638
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
5639
|
-
/**
|
5640
|
-
* Microphone permission prompts for your call.
|
5641
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5642
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5643
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5644
|
-
*/
|
5645
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5646
|
-
}
|
5647
|
-
|
5648
4527
|
/**
|
5649
4528
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
5650
4529
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -5863,60 +4742,6 @@ export declare interface DiagnosticsCallFeatureState {
|
|
5863
4742
|
media: MediaDiagnosticsState;
|
5864
4743
|
}
|
5865
4744
|
|
5866
|
-
/**
|
5867
|
-
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
5868
|
-
* It will return empty component for stable builds
|
5869
|
-
*
|
5870
|
-
* @beta
|
5871
|
-
*/
|
5872
|
-
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
5873
|
-
|
5874
|
-
/**
|
5875
|
-
* Props for {@link Dialpad} component.
|
5876
|
-
*
|
5877
|
-
* @beta
|
5878
|
-
*/
|
5879
|
-
export declare interface DialpadProps {
|
5880
|
-
strings?: DialpadStrings;
|
5881
|
-
/** function to send dtmf tones on button click */
|
5882
|
-
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
5883
|
-
/** Callback for dialpad button behavior*/
|
5884
|
-
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
5885
|
-
/** set dialpad textfield content */
|
5886
|
-
textFieldValue?: string;
|
5887
|
-
/** on change function for text field, provides an unformatted plain text*/
|
5888
|
-
onChange?: (input: string) => void;
|
5889
|
-
/** boolean input to determine when to show/hide delete button, default true */
|
5890
|
-
showDeleteButton?: boolean;
|
5891
|
-
/** boolean input to determine if dialpad is in mobile view, default false */
|
5892
|
-
isMobile?: boolean;
|
5893
|
-
styles?: DialpadStyles;
|
5894
|
-
}
|
5895
|
-
|
5896
|
-
/**
|
5897
|
-
* Strings of {@link Dialpad} that can be overridden.
|
5898
|
-
*
|
5899
|
-
* @beta
|
5900
|
-
*/
|
5901
|
-
export declare interface DialpadStrings {
|
5902
|
-
placeholderText: string;
|
5903
|
-
deleteButtonAriaLabel?: string;
|
5904
|
-
}
|
5905
|
-
|
5906
|
-
/**
|
5907
|
-
* Styles for {@link Dialpad} component.
|
5908
|
-
*
|
5909
|
-
* @beta
|
5910
|
-
*/
|
5911
|
-
export declare interface DialpadStyles {
|
5912
|
-
root?: IStyle;
|
5913
|
-
button?: IButtonStyles;
|
5914
|
-
textField?: Partial<ITextFieldStyles>;
|
5915
|
-
digit?: IStyle;
|
5916
|
-
letter?: IStyle;
|
5917
|
-
deleteIcon?: IButtonStyles;
|
5918
|
-
}
|
5919
|
-
|
5920
4745
|
/**
|
5921
4746
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
5922
4747
|
*
|
@@ -5937,13 +4762,6 @@ export declare interface Disposable {
|
|
5937
4762
|
dispose(): void;
|
5938
4763
|
}
|
5939
4764
|
|
5940
|
-
/**
|
5941
|
-
* DTMF tone for PSTN calls.
|
5942
|
-
*
|
5943
|
-
* @beta
|
5944
|
-
*/
|
5945
|
-
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
5946
|
-
|
5947
4765
|
/**
|
5948
4766
|
* A type for trivial selectors that return no data.
|
5949
4767
|
*
|
@@ -6197,199 +5015,6 @@ export declare interface ErrorBarStrings {
|
|
6197
5015
|
*/
|
6198
5016
|
export declare type ErrorType = keyof ErrorBarStrings;
|
6199
5017
|
|
6200
|
-
/**
|
6201
|
-
* @beta
|
6202
|
-
* A file download error returned via a {@link FileDownloadHandler}.
|
6203
|
-
* This error message is used to render an error message in the UI.
|
6204
|
-
*/
|
6205
|
-
export declare interface FileDownloadError {
|
6206
|
-
/** The error message to display in the UI */
|
6207
|
-
errorMessage: string;
|
6208
|
-
}
|
6209
|
-
|
6210
|
-
/**
|
6211
|
-
* @beta
|
6212
|
-
*
|
6213
|
-
* A callback function for handling file downloads.
|
6214
|
-
* The function needs to return a promise that resolves to a file download URL.
|
6215
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6216
|
-
*
|
6217
|
-
* @example
|
6218
|
-
* ```ts
|
6219
|
-
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6220
|
-
* if (isUnauthorizedUser(userId)) {
|
6221
|
-
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6222
|
-
* } else {
|
6223
|
-
* return new URL(fileData.url);
|
6224
|
-
* }
|
6225
|
-
* }
|
6226
|
-
*
|
6227
|
-
* const App = () => (
|
6228
|
-
* <ChatComposite
|
6229
|
-
* ...
|
6230
|
-
* fileSharing={{
|
6231
|
-
* fileDownloadHandler: fileDownloadHandler
|
6232
|
-
* }}
|
6233
|
-
* />
|
6234
|
-
* )
|
6235
|
-
*
|
6236
|
-
* ```
|
6237
|
-
* @param userId - The user ID of the user downloading the file.
|
6238
|
-
* @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
|
6239
|
-
*/
|
6240
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
|
6241
|
-
|
6242
|
-
/**
|
6243
|
-
* Meta Data containing information about the uploaded file.
|
6244
|
-
* @beta
|
6245
|
-
*/
|
6246
|
-
export declare type FileMetadata = FileSharingMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ ImageFileMetadata;
|
6247
|
-
|
6248
|
-
/**
|
6249
|
-
* @beta
|
6250
|
-
*/
|
6251
|
-
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
|
6252
|
-
|
6253
|
-
/**
|
6254
|
-
* Meta Data containing basic information about the uploaded file.
|
6255
|
-
* Typically used for ACS to ACS file transfers.
|
6256
|
-
* @beta
|
6257
|
-
*/
|
6258
|
-
export declare interface FileSharingMetadata extends BaseFileMetadata {
|
6259
|
-
attachmentType: 'fileSharing';
|
6260
|
-
payload?: Record<string, string>;
|
6261
|
-
}
|
6262
|
-
|
6263
|
-
/**
|
6264
|
-
* Properties for configuring the File Sharing feature.
|
6265
|
-
* @beta
|
6266
|
-
*/
|
6267
|
-
export declare interface FileSharingOptions {
|
6268
|
-
/**
|
6269
|
-
* A string containing the comma separated list of accepted file types.
|
6270
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6271
|
-
* Accepts any type of file if not specified.
|
6272
|
-
* @beta
|
6273
|
-
*/
|
6274
|
-
accept?: string;
|
6275
|
-
/**
|
6276
|
-
* Allows multiple files to be selected if set to `true`.
|
6277
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6278
|
-
* @defaultValue false
|
6279
|
-
* @beta
|
6280
|
-
*/
|
6281
|
-
multiple?: boolean;
|
6282
|
-
/**
|
6283
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6284
|
-
* @beta
|
6285
|
-
*/
|
6286
|
-
uploadHandler: FileUploadHandler;
|
6287
|
-
/**
|
6288
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6289
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6290
|
-
* initiate the download.
|
6291
|
-
*/
|
6292
|
-
downloadHandler?: FileDownloadHandler;
|
6293
|
-
}
|
6294
|
-
|
6295
|
-
/**
|
6296
|
-
* @beta
|
6297
|
-
*/
|
6298
|
-
export declare interface FileUploadAdapter {
|
6299
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6300
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
6301
|
-
clearFileUploads: () => void;
|
6302
|
-
cancelFileUpload: (id: string) => void;
|
6303
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
6304
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6305
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
6306
|
-
}
|
6307
|
-
|
6308
|
-
/**
|
6309
|
-
* @beta
|
6310
|
-
* Error message to be displayed to the user if the upload fails.
|
6311
|
-
*/
|
6312
|
-
export declare type FileUploadError = {
|
6313
|
-
message: string;
|
6314
|
-
timestamp: number;
|
6315
|
-
};
|
6316
|
-
|
6317
|
-
/**
|
6318
|
-
* @beta
|
6319
|
-
* A callback function for handling file uploads.
|
6320
|
-
*
|
6321
|
-
* @param userId - The user ID of the user uploading the file.
|
6322
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6323
|
-
*/
|
6324
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6325
|
-
|
6326
|
-
/**
|
6327
|
-
* A wrapper object for a file that is being uploaded.
|
6328
|
-
* Allows mmanaging file uploads by providing common functions for updating the
|
6329
|
-
* upload progress, canceling an upload, completing an upload etc.
|
6330
|
-
* @beta
|
6331
|
-
*/
|
6332
|
-
export declare interface FileUploadManager {
|
6333
|
-
/**
|
6334
|
-
* Unique identifier for the file upload.
|
6335
|
-
*/
|
6336
|
-
id: string;
|
6337
|
-
/**
|
6338
|
-
* HTML {@link File} object for the uploaded file.
|
6339
|
-
*/
|
6340
|
-
file?: File;
|
6341
|
-
/**
|
6342
|
-
* Update the progress of the upload.
|
6343
|
-
* @param value - number between 0 and 1
|
6344
|
-
*/
|
6345
|
-
notifyUploadProgressChanged: (value: number) => void;
|
6346
|
-
/**
|
6347
|
-
* Mark the upload as complete.
|
6348
|
-
* Requires the `metadata` param containing uploaded file information.
|
6349
|
-
* @param metadata - {@link FileMetadata}
|
6350
|
-
*/
|
6351
|
-
notifyUploadCompleted: (metadata: FileMetadata) => void;
|
6352
|
-
/**
|
6353
|
-
* Mark the upload as failed.
|
6354
|
-
* @param message - An error message that can be displayed to the user.
|
6355
|
-
*/
|
6356
|
-
notifyUploadFailed: (message: string) => void;
|
6357
|
-
}
|
6358
|
-
|
6359
|
-
/**
|
6360
|
-
* Contains the state attibutes of a file upload like name, progress etc.
|
6361
|
-
* @beta
|
6362
|
-
*/
|
6363
|
-
export declare interface FileUploadState {
|
6364
|
-
/**
|
6365
|
-
* Unique identifier for the file upload.
|
6366
|
-
*/
|
6367
|
-
id: string;
|
6368
|
-
/**
|
6369
|
-
* Filename extracted from the {@link File} object.
|
6370
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
6371
|
-
*/
|
6372
|
-
filename: string;
|
6373
|
-
/**
|
6374
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
6375
|
-
*/
|
6376
|
-
progress: number;
|
6377
|
-
/**
|
6378
|
-
* Meta Data {@link FileMetadata} containing information about the uploaded file.
|
6379
|
-
*/
|
6380
|
-
metadata?: FileMetadata;
|
6381
|
-
/**
|
6382
|
-
* Error message to be displayed to the user if the upload fails.
|
6383
|
-
*/
|
6384
|
-
error?: FileUploadError;
|
6385
|
-
}
|
6386
|
-
|
6387
|
-
/**
|
6388
|
-
* A record containing {@link FileUploadState} mapped to unique ids.
|
6389
|
-
* @beta
|
6390
|
-
*/
|
6391
|
-
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
6392
|
-
|
6393
5018
|
/**
|
6394
5019
|
* Provider to apply a Fluent theme across this library's react components.
|
6395
5020
|
*
|
@@ -6430,7 +5055,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
6430
5055
|
*
|
6431
5056
|
* @public
|
6432
5057
|
*/
|
6433
|
-
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 :
|
5058
|
+
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;
|
6434
5059
|
|
6435
5060
|
/**
|
6436
5061
|
* Get the selector for a specified component.
|
@@ -6492,63 +5117,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
6492
5117
|
children?: IStyle;
|
6493
5118
|
}
|
6494
5119
|
|
6495
|
-
/**
|
6496
|
-
* a button to hold or resume a ongoing call.
|
6497
|
-
*
|
6498
|
-
* Can be used with {@link ControlBar}
|
6499
|
-
*
|
6500
|
-
* @param props - properties for the hold button.
|
6501
|
-
* @returns
|
6502
|
-
* @beta
|
6503
|
-
*/
|
6504
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6505
|
-
|
6506
|
-
/**
|
6507
|
-
*@beta
|
6508
|
-
*/
|
6509
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6510
|
-
/**
|
6511
|
-
* Utility property for using this component with communication react handlers
|
6512
|
-
* Holds the call or resumes it based on call state.
|
6513
|
-
*/
|
6514
|
-
onToggleHold: () => Promise<void>;
|
6515
|
-
/**
|
6516
|
-
* Optional strings to override in component
|
6517
|
-
*/
|
6518
|
-
strings?: HoldButtonStrings;
|
6519
|
-
}
|
6520
|
-
|
6521
|
-
/**
|
6522
|
-
* Selector type for the {@link HoldButton} component.
|
6523
|
-
* @public
|
6524
|
-
*/
|
6525
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6526
|
-
checked: boolean;
|
6527
|
-
};
|
6528
|
-
|
6529
|
-
/**
|
6530
|
-
* Strings for the hold button labels
|
6531
|
-
* @beta
|
6532
|
-
*/
|
6533
|
-
export declare interface HoldButtonStrings {
|
6534
|
-
/**
|
6535
|
-
* Label for when action is to resume call.
|
6536
|
-
*/
|
6537
|
-
onLabel: string;
|
6538
|
-
/**
|
6539
|
-
* Label for when action is to hold call.
|
6540
|
-
*/
|
6541
|
-
offLabel: string;
|
6542
|
-
/**
|
6543
|
-
* Content for when button is checked
|
6544
|
-
*/
|
6545
|
-
tooltipOnContent: string;
|
6546
|
-
/**
|
6547
|
-
* Content for when button is unchecked
|
6548
|
-
*/
|
6549
|
-
tooltipOffContent: string;
|
6550
|
-
}
|
6551
|
-
|
6552
5120
|
/**
|
6553
5121
|
* {@link HorizontalGallery} Component Styles.
|
6554
5122
|
* @public
|
@@ -6629,39 +5197,8 @@ export declare interface _Identifiers {
|
|
6629
5197
|
overflowGalleryRightNavButton: string;
|
6630
5198
|
/** `data-ui-id` value for the video tiles in the horizontal gallery */
|
6631
5199
|
horizontalGalleryVideoTile: string;
|
6632
|
-
/** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
|
6633
|
-
verticalGalleryVideoTile: string;
|
6634
|
-
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6635
|
-
verticalGalleryPageCounter: string;
|
6636
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
6637
|
-
mentionSuggestionList: string;
|
6638
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
6639
|
-
mentionSuggestionItem: string;
|
6640
|
-
}
|
6641
|
-
|
6642
|
-
/**
|
6643
|
-
* Meta Data containing data for images.
|
6644
|
-
* @beta
|
6645
|
-
*/
|
6646
|
-
export declare interface ImageFileMetadata extends BaseFileMetadata {
|
6647
|
-
attachmentType: 'inlineImage';
|
6648
|
-
previewUrl?: string;
|
6649
5200
|
}
|
6650
5201
|
|
6651
|
-
/**
|
6652
|
-
* @beta
|
6653
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
6654
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
6655
|
-
*/
|
6656
|
-
export declare type IncomingCallManagement = {
|
6657
|
-
/**
|
6658
|
-
* @beta
|
6659
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
6660
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
6661
|
-
*/
|
6662
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
6663
|
-
};
|
6664
|
-
|
6665
5202
|
/**
|
6666
5203
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
6667
5204
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -6697,7 +5234,7 @@ export declare interface IncomingCallState {
|
|
6697
5234
|
/**
|
6698
5235
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
|
6699
5236
|
*
|
6700
|
-
* @
|
5237
|
+
* @public
|
6701
5238
|
*/
|
6702
5239
|
export declare type IsCaptionLanguageChangedListener = (event: {
|
6703
5240
|
activeCaptionLanguage: string;
|
@@ -6706,7 +5243,7 @@ export declare type IsCaptionLanguageChangedListener = (event: {
|
|
6706
5243
|
/**
|
6707
5244
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
|
6708
5245
|
*
|
6709
|
-
* @
|
5246
|
+
* @public
|
6710
5247
|
*/
|
6711
5248
|
export declare type IsCaptionsActiveChangedListener = (event: {
|
6712
5249
|
isActive: boolean;
|
@@ -6744,7 +5281,7 @@ export declare type IsSpeakingChangedListener = (event: {
|
|
6744
5281
|
/**
|
6745
5282
|
* Callback for {@link CallAdapterSubscribers} 'isSpokenLanguageChanged' event.
|
6746
5283
|
*
|
6747
|
-
* @
|
5284
|
+
* @public
|
6748
5285
|
*/
|
6749
5286
|
export declare type IsSpokenLanguageChangedListener = (event: {
|
6750
5287
|
activeSpokenLanguage: string;
|
@@ -6859,7 +5396,7 @@ export declare interface LocalVideoStreamState {
|
|
6859
5396
|
view?: VideoStreamRendererViewState;
|
6860
5397
|
/**
|
6861
5398
|
* Stores the state of the video effects.
|
6862
|
-
* @
|
5399
|
+
* @public
|
6863
5400
|
*/
|
6864
5401
|
videoEffects?: LocalVideoStreamVideoEffectsState;
|
6865
5402
|
}
|
@@ -6867,7 +5404,7 @@ export declare interface LocalVideoStreamState {
|
|
6867
5404
|
/**
|
6868
5405
|
* State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
|
6869
5406
|
*
|
6870
|
-
* @
|
5407
|
+
* @public
|
6871
5408
|
*/
|
6872
5409
|
export declare interface LocalVideoStreamVideoEffectsState {
|
6873
5410
|
/**
|
@@ -6876,32 +5413,6 @@ export declare interface LocalVideoStreamVideoEffectsState {
|
|
6876
5413
|
activeEffects?: VideoEffectName[];
|
6877
5414
|
}
|
6878
5415
|
|
6879
|
-
/**
|
6880
|
-
* Options for the local video tile in the Call composite.
|
6881
|
-
*
|
6882
|
-
* @beta
|
6883
|
-
*/
|
6884
|
-
export declare interface LocalVideoTileOptions {
|
6885
|
-
/**
|
6886
|
-
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
6887
|
-
*
|
6888
|
-
* @defaultValue 'floating'
|
6889
|
-
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
6890
|
-
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
6891
|
-
* local video tile rules and be docked in the bottom corner.
|
6892
|
-
* 'hidden' - local video tile will not be rendered.
|
6893
|
-
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
6894
|
-
*/
|
6895
|
-
position?: 'grid' | 'floating';
|
6896
|
-
}
|
6897
|
-
|
6898
|
-
/**
|
6899
|
-
* different modes of the local video tile
|
6900
|
-
*
|
6901
|
-
* @beta
|
6902
|
-
*/
|
6903
|
-
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
6904
|
-
|
6905
5416
|
/**
|
6906
5417
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
6907
5418
|
*
|
@@ -6920,76 +5431,6 @@ export declare interface MediaDiagnosticsState {
|
|
6920
5431
|
latest: LatestMediaDiagnostics;
|
6921
5432
|
}
|
6922
5433
|
|
6923
|
-
/**
|
6924
|
-
* Mention's state, as reflected in the UI.
|
6925
|
-
*
|
6926
|
-
* @beta
|
6927
|
-
*/
|
6928
|
-
export declare interface Mention {
|
6929
|
-
/** ID of a mention */
|
6930
|
-
id: string;
|
6931
|
-
/** Display text of a mention */
|
6932
|
-
displayText: string;
|
6933
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
6934
|
-
icon?: JSX.Element;
|
6935
|
-
}
|
6936
|
-
|
6937
|
-
/**
|
6938
|
-
* Options to display suggestions in the mention scenario.
|
6939
|
-
*
|
6940
|
-
* @beta
|
6941
|
-
*/
|
6942
|
-
export declare interface MentionDisplayOptions {
|
6943
|
-
/**
|
6944
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
6945
|
-
*/
|
6946
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
6947
|
-
}
|
6948
|
-
|
6949
|
-
/**
|
6950
|
-
* Options to lookup suggestions in the mention scenario.
|
6951
|
-
*
|
6952
|
-
* @beta
|
6953
|
-
*/
|
6954
|
-
export declare interface MentionLookupOptions {
|
6955
|
-
/**
|
6956
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
6957
|
-
*
|
6958
|
-
* @defaultValue `@`
|
6959
|
-
*/
|
6960
|
-
trigger?: string;
|
6961
|
-
/**
|
6962
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
6963
|
-
*/
|
6964
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
6965
|
-
/**
|
6966
|
-
* Optional callback to render an item of the mention suggestions list.
|
6967
|
-
*/
|
6968
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
6969
|
-
}
|
6970
|
-
|
6971
|
-
/**
|
6972
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
6973
|
-
*
|
6974
|
-
* @beta
|
6975
|
-
*/
|
6976
|
-
export declare type MentionOptions = {
|
6977
|
-
lookupOptions?: MentionLookupOptions;
|
6978
|
-
displayOptions?: MentionDisplayOptions;
|
6979
|
-
};
|
6980
|
-
|
6981
|
-
/**
|
6982
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
6983
|
-
*
|
6984
|
-
* @beta
|
6985
|
-
*/
|
6986
|
-
export declare interface MentionPopoverStrings {
|
6987
|
-
/**
|
6988
|
-
* Header text for MentionPopover
|
6989
|
-
*/
|
6990
|
-
mentionPopoverHeader: string;
|
6991
|
-
}
|
6992
|
-
|
6993
5434
|
/**
|
6994
5435
|
* Discriminated union of all messages.
|
6995
5436
|
*
|
@@ -6997,7 +5438,7 @@ export declare interface MentionPopoverStrings {
|
|
6997
5438
|
*
|
6998
5439
|
* @public
|
6999
5440
|
*/
|
7000
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
5441
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7001
5442
|
|
7002
5443
|
/**
|
7003
5444
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -7217,7 +5658,7 @@ export declare type MessageThreadProps = {
|
|
7217
5658
|
/**
|
7218
5659
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
7219
5660
|
*/
|
7220
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
5661
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7221
5662
|
/**
|
7222
5663
|
* number of participants in the thread
|
7223
5664
|
*/
|
@@ -7299,17 +5740,6 @@ export declare type MessageThreadProps = {
|
|
7299
5740
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
7300
5741
|
*/
|
7301
5742
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7302
|
-
/**
|
7303
|
-
* Optional callback to render uploaded files in the message component.
|
7304
|
-
* @beta
|
7305
|
-
*/
|
7306
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7307
|
-
/**
|
7308
|
-
* Optional callback to retrieve the inline image in a message.
|
7309
|
-
* @param attachment - FileMetadata object we want to render
|
7310
|
-
* @beta
|
7311
|
-
*/
|
7312
|
-
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
7313
5743
|
/**
|
7314
5744
|
* Optional callback to edit a message.
|
7315
5745
|
*
|
@@ -7351,23 +5781,6 @@ export declare type MessageThreadProps = {
|
|
7351
5781
|
* Optional strings to override in component
|
7352
5782
|
*/
|
7353
5783
|
strings?: Partial<MessageThreadStrings>;
|
7354
|
-
/**
|
7355
|
-
* @beta
|
7356
|
-
* Optional function called when someone clicks on the file download icon.
|
7357
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7358
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
7359
|
-
*/
|
7360
|
-
fileDownloadHandler?: FileDownloadHandler;
|
7361
|
-
/**
|
7362
|
-
* Optional function to provide customized date format.
|
7363
|
-
* @beta
|
7364
|
-
*/
|
7365
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7366
|
-
/**
|
7367
|
-
* Optional props needed to lookup a mention query and display mentions
|
7368
|
-
* @beta
|
7369
|
-
*/
|
7370
|
-
mentionOptions?: MentionOptions;
|
7371
5784
|
};
|
7372
5785
|
|
7373
5786
|
/**
|
@@ -7439,14 +5852,6 @@ export declare interface MessageThreadStrings {
|
|
7439
5852
|
editBoxSubmitButton: string;
|
7440
5853
|
/** String for action menu indicating there are more options */
|
7441
5854
|
actionMenuMoreOptions?: string;
|
7442
|
-
/** String for download file button in file card */
|
7443
|
-
downloadFile: string;
|
7444
|
-
/** String for policy violation message removal */
|
7445
|
-
blockedWarningText: string;
|
7446
|
-
/** String for policy violation message removal details link */
|
7447
|
-
blockedWarningLinkText: string;
|
7448
|
-
/** String for aria text in file attachment group*/
|
7449
|
-
fileCardGroupMessage: string;
|
7450
5855
|
}
|
7451
5856
|
|
7452
5857
|
/**
|
@@ -7474,7 +5879,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
7474
5879
|
/** Styles for system message container. */
|
7475
5880
|
systemMessageContainer?: ComponentSlotStyle;
|
7476
5881
|
/** Styles for blocked message container. */
|
7477
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
7478
5882
|
/** Styles for message status indicator container. */
|
7479
5883
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
7480
5884
|
}
|
@@ -7643,31 +6047,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
7643
6047
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
7644
6048
|
}
|
7645
6049
|
|
7646
|
-
/**
|
7647
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
7648
|
-
* by their browsers settings.
|
7649
|
-
*
|
7650
|
-
* @beta
|
7651
|
-
*/
|
7652
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
7653
|
-
|
7654
|
-
/**
|
7655
|
-
* @beta
|
7656
|
-
* Props for MicrophoneSitePermissions component.
|
7657
|
-
*/
|
7658
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
7659
|
-
/** Icon name for the microphone icon */
|
7660
|
-
microphoneIconName?: string;
|
7661
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
7662
|
-
strings?: MicrophoneSitePermissionsStrings;
|
7663
|
-
}
|
7664
|
-
|
7665
|
-
/**
|
7666
|
-
* @beta
|
7667
|
-
* Strings for MicrophoneSitePermissions component.
|
7668
|
-
*/
|
7669
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
7670
|
-
|
7671
6050
|
/**
|
7672
6051
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
7673
6052
|
*
|
@@ -7686,13 +6065,6 @@ export declare interface NetworkDiagnosticsState {
|
|
7686
6065
|
latest: LatestNetworkDiagnostics;
|
7687
6066
|
}
|
7688
6067
|
|
7689
|
-
/**
|
7690
|
-
* Callback function used to provide custom data to build profile for a user.
|
7691
|
-
*
|
7692
|
-
* @beta
|
7693
|
-
*/
|
7694
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
7695
|
-
|
7696
6068
|
/**
|
7697
6069
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
7698
6070
|
*
|
@@ -7712,21 +6084,21 @@ defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element;
|
|
7712
6084
|
/**
|
7713
6085
|
* Dependency resolution for video background effects.
|
7714
6086
|
*
|
7715
|
-
* @
|
6087
|
+
* @public
|
7716
6088
|
*/
|
7717
6089
|
export declare const onResolveVideoEffectDependency: () => Promise<VideoBackgroundEffectsDependency>;
|
7718
6090
|
|
7719
6091
|
/**
|
7720
6092
|
*
|
7721
6093
|
* Dependency resolution for video background effects using lazy loading.
|
7722
|
-
* @
|
6094
|
+
* @public
|
7723
6095
|
*/
|
7724
6096
|
export declare const onResolveVideoEffectDependencyLazy: () => Promise<VideoBackgroundEffectsDependency>;
|
7725
6097
|
|
7726
6098
|
/**
|
7727
6099
|
* State only version of Optimal Video Count Feature {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
|
7728
6100
|
*
|
7729
|
-
* @
|
6101
|
+
* @public
|
7730
6102
|
*/
|
7731
6103
|
export declare interface OptimalVideoCountFeatureState {
|
7732
6104
|
/**
|
@@ -7751,13 +6123,6 @@ export declare interface OptionsDevice {
|
|
7751
6123
|
name: string;
|
7752
6124
|
}
|
7753
6125
|
|
7754
|
-
/**
|
7755
|
-
* Different modes and positions of the overflow gallery in the VideoGallery
|
7756
|
-
*
|
7757
|
-
* @beta
|
7758
|
-
*/
|
7759
|
-
export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
|
7760
|
-
|
7761
6126
|
/**
|
7762
6127
|
* A system message notifying that a participant was added to the chat thread.
|
7763
6128
|
*
|
@@ -7815,14 +6180,6 @@ export declare interface ParticipantItemProps {
|
|
7815
6180
|
onClick?: (props?: ParticipantItemProps) => void;
|
7816
6181
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
7817
6182
|
showParticipantOverflowTooltip?: boolean;
|
7818
|
-
/**
|
7819
|
-
* Optional value to determine and display a participants connection status.
|
7820
|
-
* For example, `Connecting`, `Ringing` etc.
|
7821
|
-
* The actual text that is displayed is determined by the localized string
|
7822
|
-
* corresponding to the provided participant state.
|
7823
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
7824
|
-
*/
|
7825
|
-
participantState?: ParticipantState;
|
7826
6183
|
/**
|
7827
6184
|
* Optional aria property that prefixes the ParticipantItems aria content
|
7828
6185
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -7848,10 +6205,6 @@ export declare interface ParticipantItemStrings {
|
|
7848
6205
|
mutedIconLabel: string;
|
7849
6206
|
/** placeholder text for participants who does not have a display name*/
|
7850
6207
|
displayNamePlaceholder?: string;
|
7851
|
-
/** String shown when `participantState` is `Ringing` */
|
7852
|
-
participantStateRinging?: string;
|
7853
|
-
/** String shown when `participantState` is `Hold` */
|
7854
|
-
participantStateHold?: string;
|
7855
6208
|
}
|
7856
6209
|
|
7857
6210
|
/**
|
@@ -7931,10 +6284,6 @@ export declare type ParticipantListProps = {
|
|
7931
6284
|
styles?: ParticipantListStyles;
|
7932
6285
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
7933
6286
|
showParticipantOverflowTooltip?: boolean;
|
7934
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
7935
|
-
totalParticipantCount?: number;
|
7936
|
-
/** Strings for the participant list */
|
7937
|
-
strings?: ParticipantListStrings;
|
7938
6287
|
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
7939
6288
|
participantAriaLabelledBy?: string;
|
7940
6289
|
};
|
@@ -7947,21 +6296,8 @@ export declare type ParticipantListProps = {
|
|
7947
6296
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
7948
6297
|
participants: CallParticipantListParticipant[];
|
7949
6298
|
myUserId: string;
|
7950
|
-
totalParticipantCount?: number;
|
7951
6299
|
};
|
7952
6300
|
|
7953
|
-
/**
|
7954
|
-
* Strings for the {@link ParticipantList}.
|
7955
|
-
*
|
7956
|
-
* @beta
|
7957
|
-
*/
|
7958
|
-
export declare interface ParticipantListStrings {
|
7959
|
-
/**
|
7960
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
7961
|
-
*/
|
7962
|
-
overflowParticipantCount?: string;
|
7963
|
-
}
|
7964
|
-
|
7965
6301
|
/**
|
7966
6302
|
* Styles for the {@link ParticipantList}.
|
7967
6303
|
*
|
@@ -8178,18 +6514,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
8178
6514
|
*/
|
8179
6515
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
8180
6516
|
|
8181
|
-
/**
|
8182
|
-
* The profile of a user.
|
8183
|
-
*
|
8184
|
-
* @beta
|
8185
|
-
*/
|
8186
|
-
export declare type Profile = {
|
8187
|
-
/**
|
8188
|
-
* Primary text to display, usually the name of the person.
|
8189
|
-
*/
|
8190
|
-
displayName?: string;
|
8191
|
-
};
|
8192
|
-
|
8193
6517
|
/**
|
8194
6518
|
* Raised hand state with order
|
8195
6519
|
*
|
@@ -8314,7 +6638,7 @@ export declare interface RemoteParticipantState {
|
|
8314
6638
|
/**
|
8315
6639
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
|
8316
6640
|
*/
|
8317
|
-
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind
|
6641
|
+
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind;
|
8318
6642
|
/**
|
8319
6643
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
|
8320
6644
|
*/
|
@@ -8342,10 +6666,6 @@ export declare interface RemoteParticipantState {
|
|
8342
6666
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
|
8343
6667
|
*/
|
8344
6668
|
isSpeaking: boolean;
|
8345
|
-
/**
|
8346
|
-
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
8347
|
-
*/
|
8348
|
-
role?: ParticipantRole;
|
8349
6669
|
/**
|
8350
6670
|
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
8351
6671
|
*/
|
@@ -8374,7 +6694,6 @@ export declare interface RemoteVideoStreamState {
|
|
8374
6694
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
8375
6695
|
* @beta
|
8376
6696
|
*/
|
8377
|
-
isReceiving: boolean;
|
8378
6697
|
/**
|
8379
6698
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
8380
6699
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -8392,7 +6711,7 @@ export declare interface RemoteVideoStreamState {
|
|
8392
6711
|
/**
|
8393
6712
|
* Menu options for remote video tiles in {@link VideoGallery}.
|
8394
6713
|
*
|
8395
|
-
* @
|
6714
|
+
* @public
|
8396
6715
|
*/
|
8397
6716
|
export declare interface RemoteVideoTileMenuOptions {
|
8398
6717
|
/**
|
@@ -8474,19 +6793,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
8474
6793
|
*/
|
8475
6794
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
8476
6795
|
|
8477
|
-
/**
|
8478
|
-
* @beta
|
8479
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
8480
|
-
*/
|
8481
|
-
export declare interface SendBoxErrorBarError {
|
8482
|
-
/** Error Message to be displayed */
|
8483
|
-
message: string;
|
8484
|
-
/**
|
8485
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
8486
|
-
*/
|
8487
|
-
timestamp: number;
|
8488
|
-
}
|
8489
|
-
|
8490
6796
|
/**
|
8491
6797
|
* Props for {@link SendBox}.
|
8492
6798
|
*
|
@@ -8506,11 +6812,6 @@ export declare interface SendBoxProps {
|
|
8506
6812
|
* Optional override behavior on send button click
|
8507
6813
|
*/
|
8508
6814
|
onSendMessage?: (content: string) => Promise<void>;
|
8509
|
-
/**
|
8510
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
8511
|
-
* @beta
|
8512
|
-
*/
|
8513
|
-
mentionLookupOptions?: MentionLookupOptions;
|
8514
6815
|
/**
|
8515
6816
|
* Optional callback called when user is typing
|
8516
6817
|
*/
|
@@ -8547,25 +6848,6 @@ export declare interface SendBoxProps {
|
|
8547
6848
|
* When undefined nothing has focus on render
|
8548
6849
|
*/
|
8549
6850
|
autoFocus?: 'sendBoxTextField';
|
8550
|
-
/**
|
8551
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
8552
|
-
* vertically to accommodate the uploaded files. File uploads will
|
8553
|
-
* be rendered below the text area in sendBox.
|
8554
|
-
* @beta
|
8555
|
-
*/
|
8556
|
-
onRenderFileUploads?: () => JSX.Element;
|
8557
|
-
/**
|
8558
|
-
* Optional array of active file uploads where each object has attributes
|
8559
|
-
* of a file upload like name, progress, errorMessage etc.
|
8560
|
-
* @beta
|
8561
|
-
*/
|
8562
|
-
activeFileUploads?: ActiveFileUpload[];
|
8563
|
-
/**
|
8564
|
-
* Optional callback to remove the file upload before sending by clicking on
|
8565
|
-
* cancel icon.
|
8566
|
-
* @beta
|
8567
|
-
*/
|
8568
|
-
onCancelFileUpload?: (fileId: string) => void;
|
8569
6851
|
}
|
8570
6852
|
|
8571
6853
|
/**
|
@@ -8596,22 +6878,6 @@ export declare interface SendBoxStrings {
|
|
8596
6878
|
* Aria label for send message button
|
8597
6879
|
*/
|
8598
6880
|
sendButtonAriaLabel: string;
|
8599
|
-
/**
|
8600
|
-
* Error message indicating that all file uploads are not complete.
|
8601
|
-
*/
|
8602
|
-
fileUploadsPendingError: string;
|
8603
|
-
/**
|
8604
|
-
* Aria label to notify user when focus is on cancel file upload button.
|
8605
|
-
*/
|
8606
|
-
removeFile: string;
|
8607
|
-
/**
|
8608
|
-
* Aria label to notify user file uploading starts.
|
8609
|
-
*/
|
8610
|
-
uploading: string;
|
8611
|
-
/**
|
8612
|
-
* Aria label to notify user file is uploaded.
|
8613
|
-
*/
|
8614
|
-
uploadCompleted: string;
|
8615
6881
|
}
|
8616
6882
|
|
8617
6883
|
/**
|
@@ -8633,46 +6899,7 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
8633
6899
|
}
|
8634
6900
|
|
8635
6901
|
/**
|
8636
|
-
* @
|
8637
|
-
* Strings for SitePermissions component
|
8638
|
-
*/
|
8639
|
-
export declare type SitePermissionsStrings = {
|
8640
|
-
/**
|
8641
|
-
* Main text string.
|
8642
|
-
*/
|
8643
|
-
primaryText?: string;
|
8644
|
-
/**
|
8645
|
-
* Subtext string.
|
8646
|
-
*/
|
8647
|
-
secondaryText?: string;
|
8648
|
-
/**
|
8649
|
-
* More help link string.
|
8650
|
-
*/
|
8651
|
-
linkText?: string;
|
8652
|
-
/**
|
8653
|
-
* Primary button text string.
|
8654
|
-
*/
|
8655
|
-
primaryButtonText?: string;
|
8656
|
-
/**
|
8657
|
-
* Aria label describing the content of the container
|
8658
|
-
*/
|
8659
|
-
ariaLabel?: string;
|
8660
|
-
};
|
8661
|
-
|
8662
|
-
/**
|
8663
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
8664
|
-
*
|
8665
|
-
* @beta
|
8666
|
-
*/
|
8667
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
8668
|
-
/** Styles for the primary button. */
|
8669
|
-
primaryButton?: IButtonStyles;
|
8670
|
-
/** Styles for the help troubleshooting link text. */
|
8671
|
-
troubleshootingLink?: ILinkStyles;
|
8672
|
-
}
|
8673
|
-
|
8674
|
-
/**
|
8675
|
-
* @beta
|
6902
|
+
* @public
|
8676
6903
|
* spoken language strings for captions setting modal
|
8677
6904
|
*/
|
8678
6905
|
export declare interface SpokenLanguageStrings {
|
@@ -8827,19 +7054,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
8827
7054
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
8828
7055
|
*/
|
8829
7056
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
8830
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
8831
|
-
/**
|
8832
|
-
* The CallAgent is used to handle calls.
|
8833
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
8834
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
8835
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
8836
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
8837
|
-
* createCallAgent() method again to create a new CallAgent.
|
8838
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
8839
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
8840
|
-
* @public
|
8841
|
-
*/
|
8842
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
8843
7057
|
}
|
8844
7058
|
|
8845
7059
|
/**
|
@@ -8852,16 +7066,7 @@ export declare type StatefulCallClientArgs = {
|
|
8852
7066
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
8853
7067
|
* state. It is not used by StatefulCallClient.
|
8854
7068
|
*/
|
8855
|
-
userId: CommunicationUserIdentifier
|
8856
|
-
/**
|
8857
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
8858
|
-
* to start a PSTN call.
|
8859
|
-
*
|
8860
|
-
* example: +11234567
|
8861
|
-
*
|
8862
|
-
* This is not a cached value from the headless calling client.
|
8863
|
-
*/
|
8864
|
-
alternateCallerId?: string;
|
7069
|
+
userId: CommunicationUserIdentifier;
|
8865
7070
|
};
|
8866
7071
|
|
8867
7072
|
/**
|
@@ -8954,7 +7159,7 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
8954
7159
|
* {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
|
8955
7160
|
* video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
|
8956
7161
|
*
|
8957
|
-
* @
|
7162
|
+
* @public
|
8958
7163
|
*/
|
8959
7164
|
getUnparentedVideoStreams: () => LocalVideoStream[];
|
8960
7165
|
}
|
@@ -9012,78 +7217,10 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
9012
7217
|
/**
|
9013
7218
|
* Optional parameters to create {@link TeamsCallAdapter}
|
9014
7219
|
*
|
9015
|
-
* @
|
7220
|
+
* @public
|
9016
7221
|
*/
|
9017
7222
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
9018
7223
|
|
9019
|
-
/**
|
9020
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9021
|
-
*
|
9022
|
-
* @beta
|
9023
|
-
*/
|
9024
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9025
|
-
/**
|
9026
|
-
* Join the call with microphone initially on/off.
|
9027
|
-
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9028
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
9029
|
-
*
|
9030
|
-
* @beta
|
9031
|
-
*/
|
9032
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9033
|
-
/**
|
9034
|
-
* Join the call with options bag to set microphone/camera initial state when joining call
|
9035
|
-
* true = turn on the device when joining call
|
9036
|
-
* false = turn off the device when joining call
|
9037
|
-
* 'keep'/undefined = retain devices' precall state
|
9038
|
-
*
|
9039
|
-
* @param options - param to set microphone/camera initially on/off.
|
9040
|
-
*
|
9041
|
-
* @public
|
9042
|
-
*/
|
9043
|
-
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9044
|
-
/**
|
9045
|
-
* Start the call.
|
9046
|
-
*
|
9047
|
-
* @param participants - An array of participant ids to join
|
9048
|
-
*
|
9049
|
-
* @beta
|
9050
|
-
*/
|
9051
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9052
|
-
/**
|
9053
|
-
* Start the call.
|
9054
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9055
|
-
* @beta
|
9056
|
-
*/
|
9057
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9058
|
-
}
|
9059
|
-
|
9060
|
-
/**
|
9061
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9062
|
-
*
|
9063
|
-
* @beta
|
9064
|
-
*/
|
9065
|
-
export declare type TeamsCallAdapterArgs = {
|
9066
|
-
userId: MicrosoftTeamsUserIdentifier;
|
9067
|
-
credential: CommunicationTokenCredential;
|
9068
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9069
|
-
/**
|
9070
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
9071
|
-
*/
|
9072
|
-
options?: TeamsAdapterOptions;
|
9073
|
-
};
|
9074
|
-
|
9075
|
-
/**
|
9076
|
-
* Object containing all the teams call handlers required for calling components.
|
9077
|
-
*
|
9078
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9079
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
9080
|
-
*
|
9081
|
-
* @beta
|
9082
|
-
*/
|
9083
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9084
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9085
|
-
}
|
9086
|
-
|
9087
7224
|
/**
|
9088
7225
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
9089
7226
|
*
|
@@ -9129,27 +7266,6 @@ export declare interface TranscriptionCallFeature {
|
|
9129
7266
|
isTranscriptionActive: boolean;
|
9130
7267
|
}
|
9131
7268
|
|
9132
|
-
/**
|
9133
|
-
* Transfer feature state
|
9134
|
-
*
|
9135
|
-
* @beta
|
9136
|
-
*/
|
9137
|
-
export declare interface TransferFeature {
|
9138
|
-
/**
|
9139
|
-
* Accepted transfer requests
|
9140
|
-
*/
|
9141
|
-
acceptedTransfers: {
|
9142
|
-
[key: string]: AcceptedTransfer;
|
9143
|
-
};
|
9144
|
-
}
|
9145
|
-
|
9146
|
-
/**
|
9147
|
-
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
9148
|
-
*
|
9149
|
-
* @beta
|
9150
|
-
*/
|
9151
|
-
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
9152
|
-
|
9153
7269
|
/**
|
9154
7270
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
9155
7271
|
*
|
@@ -9284,117 +7400,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
9284
7400
|
typingString?: IStyle;
|
9285
7401
|
}
|
9286
7402
|
|
9287
|
-
/**
|
9288
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
9289
|
-
*
|
9290
|
-
* @beta
|
9291
|
-
*/
|
9292
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
9293
|
-
|
9294
|
-
/**
|
9295
|
-
* props for {@link UnsupportedBrowser} UI
|
9296
|
-
*
|
9297
|
-
* @beta
|
9298
|
-
*/
|
9299
|
-
export declare interface UnsupportedBrowserProps {
|
9300
|
-
/** Handler to perform an action when the help link is actioned */
|
9301
|
-
onTroubleshootingClick?: () => void;
|
9302
|
-
/** String overrides for the component */
|
9303
|
-
strings?: UnsupportedBrowserStrings;
|
9304
|
-
}
|
9305
|
-
|
9306
|
-
/**
|
9307
|
-
* Strings for UnsupportedBrowser component
|
9308
|
-
*
|
9309
|
-
* @beta
|
9310
|
-
*/
|
9311
|
-
export declare interface UnsupportedBrowserStrings {
|
9312
|
-
/** String for the primary text */
|
9313
|
-
primaryText: string;
|
9314
|
-
/** String for the secondary text */
|
9315
|
-
secondaryText: string;
|
9316
|
-
/** String to display in the text for the help link */
|
9317
|
-
moreHelpLinkText: string;
|
9318
|
-
}
|
9319
|
-
|
9320
|
-
/**
|
9321
|
-
* UI to display to the user that the browser version they are using is out of date
|
9322
|
-
* and not supported by Azure Communications Calling service.
|
9323
|
-
*
|
9324
|
-
* @beta
|
9325
|
-
*/
|
9326
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
9327
|
-
|
9328
|
-
/**
|
9329
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
9330
|
-
*
|
9331
|
-
* @beta
|
9332
|
-
*/
|
9333
|
-
export declare interface UnsupportedBrowserVersionProps {
|
9334
|
-
/** Handler to perform an action when the help link is actioned */
|
9335
|
-
onTroubleshootingClick?: () => void;
|
9336
|
-
/** String overrides for the component */
|
9337
|
-
strings?: UnsupportedBrowserVersionStrings;
|
9338
|
-
/** Handler to allow user to continue into the call */
|
9339
|
-
onContinueAnywayClick?: () => void;
|
9340
|
-
}
|
9341
|
-
|
9342
|
-
/**
|
9343
|
-
* Strings for UnsupportedBrowser component
|
9344
|
-
*
|
9345
|
-
* @beta
|
9346
|
-
*/
|
9347
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
9348
|
-
/** String for the primary text */
|
9349
|
-
primaryText: string;
|
9350
|
-
/** String for the secondary text */
|
9351
|
-
secondaryText: string;
|
9352
|
-
/** String to display in the text for the help link */
|
9353
|
-
moreHelpLinkText: string;
|
9354
|
-
/** String for continue without updating button */
|
9355
|
-
continueAnywayButtonText?: string;
|
9356
|
-
}
|
9357
|
-
|
9358
|
-
/**
|
9359
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
9360
|
-
*
|
9361
|
-
* @beta
|
9362
|
-
*/
|
9363
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
9364
|
-
|
9365
|
-
/**
|
9366
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
9367
|
-
*
|
9368
|
-
* @beta
|
9369
|
-
*/
|
9370
|
-
export declare interface UnsupportedOperatingSystemProps {
|
9371
|
-
/** Handler to perform a action when the help link is actioned */
|
9372
|
-
onTroubleshootingClick?: () => void;
|
9373
|
-
/** String overrides for the component */
|
9374
|
-
strings?: UnsupportedOperatingSystemStrings;
|
9375
|
-
}
|
9376
|
-
|
9377
|
-
/**
|
9378
|
-
* Strings for UnsupportedBrowser component
|
9379
|
-
*
|
9380
|
-
* @beta
|
9381
|
-
*/
|
9382
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
9383
|
-
/** String for the primary text */
|
9384
|
-
primaryText: string;
|
9385
|
-
/** String for the secondary text */
|
9386
|
-
secondaryText: string;
|
9387
|
-
/** String to display in the text for the help link */
|
9388
|
-
moreHelpLinkText: string;
|
9389
|
-
}
|
9390
|
-
|
9391
7403
|
/**
|
9392
7404
|
* @public
|
9393
7405
|
* Callback function run when a message is updated.
|
9394
7406
|
*/
|
9395
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
9396
|
-
attachedFilesMetadata?: FileMetadata[];
|
9397
|
-
}) => Promise<void>;
|
7407
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
9398
7408
|
|
9399
7409
|
/**
|
9400
7410
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -9542,44 +7552,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
9542
7552
|
*/
|
9543
7553
|
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;
|
9544
7554
|
|
9545
|
-
/**
|
9546
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
9547
|
-
*
|
9548
|
-
* Useful when implementing a custom component that utilizes the providers
|
9549
|
-
* exported from this library.
|
9550
|
-
*
|
9551
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
9552
|
-
*
|
9553
|
-
* @beta
|
9554
|
-
*/
|
9555
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9556
|
-
|
9557
|
-
/**
|
9558
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
9559
|
-
*
|
9560
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
9561
|
-
* creation of the adapter internally.
|
9562
|
-
*
|
9563
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
9564
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
9565
|
-
*
|
9566
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
9567
|
-
* See storybook for typical usage examples.
|
9568
|
-
*
|
9569
|
-
* @beta
|
9570
|
-
*/
|
9571
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
9572
|
-
|
9573
|
-
/**
|
9574
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
9575
|
-
*
|
9576
|
-
* Useful when implementing a custom component that utilizes the providers
|
9577
|
-
* exported from this library.
|
9578
|
-
*
|
9579
|
-
* @beta
|
9580
|
-
*/
|
9581
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
9582
|
-
|
9583
7555
|
/**
|
9584
7556
|
* React hook to access theme
|
9585
7557
|
*
|
@@ -9587,54 +7559,10 @@ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compil
|
|
9587
7559
|
*/
|
9588
7560
|
export declare const useTheme: () => Theme;
|
9589
7561
|
|
9590
|
-
/**
|
9591
|
-
* Styles for the control bar inside the VerticalGallery component
|
9592
|
-
*
|
9593
|
-
* @beta
|
9594
|
-
*/
|
9595
|
-
export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
|
9596
|
-
/**
|
9597
|
-
* styles for the next button in the VerticalGalleryControlBar
|
9598
|
-
*/
|
9599
|
-
nextButton?: IStyle;
|
9600
|
-
/**
|
9601
|
-
* Styles for the previous button in the VerticalGalleryControlBar
|
9602
|
-
*/
|
9603
|
-
previousButton?: IStyle;
|
9604
|
-
/**
|
9605
|
-
* Styles for the counter in the VerticalGalleryControlBar
|
9606
|
-
*/
|
9607
|
-
counter?: IStyle;
|
9608
|
-
}
|
9609
|
-
|
9610
|
-
/**
|
9611
|
-
* Strings for localization of the vertical gallery.
|
9612
|
-
*
|
9613
|
-
* @beta
|
9614
|
-
*/
|
9615
|
-
export declare interface VerticalGalleryStrings {
|
9616
|
-
/** Aria label for the left page navigation button */
|
9617
|
-
leftNavButtonAriaLabel?: string;
|
9618
|
-
/** Aria label for the right page navigation button */
|
9619
|
-
rightNavButtonAriaLabel?: string;
|
9620
|
-
}
|
9621
|
-
|
9622
|
-
/**
|
9623
|
-
* Styles for the VerticalGallery component
|
9624
|
-
*
|
9625
|
-
* @beta
|
9626
|
-
*/
|
9627
|
-
export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
9628
|
-
/** Styles for each video tile in the vertical gallery */
|
9629
|
-
children?: IStyle;
|
9630
|
-
/** Styles for the verticalGallery control bar */
|
9631
|
-
controlBar?: VerticalGalleryControlBarStyles;
|
9632
|
-
}
|
9633
|
-
|
9634
7562
|
/**
|
9635
7563
|
* Contains the attibutes of the blur video background effect
|
9636
7564
|
*
|
9637
|
-
* @
|
7565
|
+
* @public
|
9638
7566
|
*/
|
9639
7567
|
export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig {
|
9640
7568
|
/**
|
@@ -9646,14 +7574,14 @@ export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig
|
|
9646
7574
|
/**
|
9647
7575
|
* Contains the attibutes of a selected video background effect
|
9648
7576
|
*
|
9649
|
-
* @
|
7577
|
+
* @public
|
9650
7578
|
*/
|
9651
7579
|
export declare type VideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
|
9652
7580
|
|
9653
7581
|
/**
|
9654
7582
|
* Dependency type to be injected for video background effects
|
9655
7583
|
*
|
9656
|
-
* @
|
7584
|
+
* @public
|
9657
7585
|
*/
|
9658
7586
|
export declare type VideoBackgroundEffectsDependency = {
|
9659
7587
|
createBackgroundBlurEffect: (config?: BackgroundBlurConfig) => BackgroundBlurEffect;
|
@@ -9663,7 +7591,7 @@ export declare type VideoBackgroundEffectsDependency = {
|
|
9663
7591
|
/**
|
9664
7592
|
* Contains the attibutes of a background image like url, name etc.
|
9665
7593
|
*
|
9666
|
-
* @
|
7594
|
+
* @public
|
9667
7595
|
*/
|
9668
7596
|
export declare interface VideoBackgroundImage {
|
9669
7597
|
/**
|
@@ -9683,7 +7611,7 @@ export declare interface VideoBackgroundImage {
|
|
9683
7611
|
/**
|
9684
7612
|
* Contains the attibutes to remove video background effect
|
9685
7613
|
*
|
9686
|
-
* @
|
7614
|
+
* @public
|
9687
7615
|
*/
|
9688
7616
|
export declare interface VideoBackgroundNoEffect {
|
9689
7617
|
/**
|
@@ -9695,7 +7623,7 @@ export declare interface VideoBackgroundNoEffect {
|
|
9695
7623
|
/**
|
9696
7624
|
* Contains the attibutes of a selected replacement video background effect
|
9697
7625
|
*
|
9698
|
-
* @
|
7626
|
+
* @public
|
9699
7627
|
*/
|
9700
7628
|
export declare interface VideoBackgroundReplacementEffect extends BackgroundReplacementConfig {
|
9701
7629
|
/**
|
@@ -9835,19 +7763,7 @@ export declare interface VideoGalleryProps {
|
|
9835
7763
|
*
|
9836
7764
|
* @defaultValue \{ kind: 'contextual' \}
|
9837
7765
|
*/
|
9838
|
-
|
9839
|
-
/**
|
9840
|
-
* Determines the layout of the overflowGallery inside the VideoGallery.
|
9841
|
-
* @defaultValue 'HorizontalBottom'
|
9842
|
-
*/
|
9843
|
-
overflowGalleryPosition?: OverflowGalleryPosition;
|
9844
|
-
/**
|
9845
|
-
* Determines the aspect ratio of local video tile in the video gallery.
|
9846
|
-
* @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
|
9847
|
-
* 16:9 (landscape) aspect ratios.
|
9848
|
-
* @defaultValue 'followDeviceOrientation'
|
9849
|
-
*/
|
9850
|
-
localVideoTileSize?: LocalVideoTileSize;
|
7766
|
+
remoteVideoTileMenu?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
|
9851
7767
|
}
|
9852
7768
|
|
9853
7769
|
/**
|
@@ -9860,11 +7776,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
9860
7776
|
isSpeaking?: boolean;
|
9861
7777
|
/** Video stream of shared screen */
|
9862
7778
|
screenShareStream?: VideoGalleryStream;
|
9863
|
-
/**
|
9864
|
-
* @beta
|
9865
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
9866
|
-
*/
|
9867
|
-
state?: ParticipantState;
|
9868
7779
|
/** Whether participant is raised a hand */
|
9869
7780
|
raisedHand?: RaisedHand;
|
9870
7781
|
}
|
@@ -9956,8 +7867,6 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
|
|
9956
7867
|
horizontalGallery?: HorizontalGalleryStyles;
|
9957
7868
|
/** Styles for the local video */
|
9958
7869
|
localVideo?: IStyle;
|
9959
|
-
/** Styles for the vertical gallery */
|
9960
|
-
verticalGallery?: VerticalGalleryStyles;
|
9961
7870
|
}
|
9962
7871
|
|
9963
7872
|
/**
|
@@ -10005,7 +7914,7 @@ export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
|
|
10005
7914
|
/**
|
10006
7915
|
* Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
|
10007
7916
|
*
|
10008
|
-
* @
|
7917
|
+
* @public
|
10009
7918
|
*/
|
10010
7919
|
export declare interface VideoTileContextualMenuProps {
|
10011
7920
|
/**
|
@@ -10017,7 +7926,7 @@ export declare interface VideoTileContextualMenuProps {
|
|
10017
7926
|
/**
|
10018
7927
|
* Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
|
10019
7928
|
*
|
10020
|
-
* @
|
7929
|
+
* @public
|
10021
7930
|
*/
|
10022
7931
|
export declare interface VideoTileDrawerMenuProps {
|
10023
7932
|
/**
|
@@ -10104,12 +8013,6 @@ export declare interface VideoTileProps {
|
|
10104
8013
|
isSpeaking?: boolean;
|
10105
8014
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
10106
8015
|
raisedHand?: RaisedHand;
|
10107
|
-
/**
|
10108
|
-
* The call connection state of the participant.
|
10109
|
-
* For example, `Hold` means the participant is on hold.
|
10110
|
-
*/
|
10111
|
-
participantState?: ParticipantState;
|
10112
|
-
strings?: VideoTileStrings;
|
10113
8016
|
/**
|
10114
8017
|
* Display custom menu items in the VideoTile's contextual menu.
|
10115
8018
|
* Uses Fluent UI ContextualMenu.
|
@@ -10122,15 +8025,6 @@ export declare interface VideoTileProps {
|
|
10122
8025
|
onLongTouch?: () => void;
|
10123
8026
|
}
|
10124
8027
|
|
10125
|
-
/**
|
10126
|
-
* Strings of {@link VideoTile} that can be overridden.
|
10127
|
-
* @beta
|
10128
|
-
*/
|
10129
|
-
export declare interface VideoTileStrings {
|
10130
|
-
participantStateRinging: string;
|
10131
|
-
participantStateHold: string;
|
10132
|
-
}
|
10133
|
-
|
10134
8028
|
/**
|
10135
8029
|
* Fluent styles for {@link VideoTile}.
|
10136
8030
|
*
|