@azure/communication-react 1.9.0-beta.1 → 1.9.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 +48 -2285
- package/dist/dist-cjs/communication-react/index.js +3869 -10219
- 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 +1 -2
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +0 -8
- 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 +1 -13
- 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 +1 -11
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +2 -18
- 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.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 -19
- 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 +2 -60
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -8
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +1 -62
- 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 +0 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +0 -12
- package/dist/dist-esm/calling-stateful-client/src/Converter.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 +0 -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 -16
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +1 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +2 -9
- 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 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +6 -43
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -92
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.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 -51
- package/dist/dist-esm/react-components/src/components/MessageThread.js +8 -57
- 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 +4 -22
- 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.d.ts +5 -5
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js +2 -2
- 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 -4
- 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 +7 -12
- 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 +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +4 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +7 -12
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/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 -16
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +5 -15
- 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 +0 -19
- package/dist/dist-esm/react-components/src/components/index.js +0 -12
- 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 +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 -4
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -5
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +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 +1 -64
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -15
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -108
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +2 -21
- package/dist/dist-esm/react-components/src/theming/themes.js +0 -16
- package/dist/dist-esm/react-components/src/theming/themes.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 +0 -78
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +4 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +0 -144
- 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 +5 -75
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +12 -289
- 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 +1 -130
- 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 +0 -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 +1 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +10 -67
- 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 +8 -89
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +6 -33
- 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 +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +9 -22
- 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.js +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/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 +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/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 +0 -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 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +2 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +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.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/LocalVideoTileSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -10
- 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/callStatusSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +0 -5
- 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/selectors/lobbySelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +0 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +0 -5
- 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 -68
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +5 -35
- 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 +5 -30
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +10 -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 +0 -64
- 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 +5 -133
- 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/CaptionsBanner.js +15 -3
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.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 -14
- 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 +1 -3
- 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/MoreDrawer.js +3 -65
- 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 +1 -28
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -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/package.json +13 -13
- 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 -91
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +0 -23
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -49
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +0 -69
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +0 -43
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +0 -105
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +0 -68
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +0 -86
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +0 -39
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +0 -49
- package/dist/dist-esm/react-components/src/components/HoldButton.js +0 -25
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +0 -71
- package/dist/dist-esm/react-components/src/components/ImageGallery.js +0 -64
- package/dist/dist-esm/react-components/src/components/ImageGallery.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/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/ImageGallery.style.d.ts +0 -72
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +0 -215
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -68
- 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 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +0 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +0 -113
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +0 -37
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +0 -73
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +0 -34
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -107
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +0 -50
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +0 -11
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +0 -40
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +0 -1
@@ -17,7 +17,6 @@
|
|
17
17
|
|
18
18
|
/// <reference types="react" />
|
19
19
|
|
20
|
-
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
21
20
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
21
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
23
22
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
@@ -30,7 +29,6 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
30
29
|
import { CallDirection } from '@azure/communication-calling';
|
31
30
|
import { CallEndReason } from '@azure/communication-calling';
|
32
31
|
import { CallerInfo } from '@azure/communication-calling';
|
33
|
-
import { CallKind } from '@azure/communication-calling';
|
34
32
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
35
33
|
import { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
36
34
|
import { CaptionsResultType } from '@azure/communication-calling';
|
@@ -49,8 +47,6 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
49
47
|
import { DeviceAccess } from '@azure/communication-calling';
|
50
48
|
import { DeviceManager } from '@azure/communication-calling';
|
51
49
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
52
|
-
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
53
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
54
50
|
import { GroupCallLocator } from '@azure/communication-calling';
|
55
51
|
import { IButtonProps } from '@fluentui/react';
|
56
52
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -58,23 +54,18 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
58
54
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
59
55
|
import { IContextualMenuProps } from '@fluentui/react';
|
60
56
|
import { IContextualMenuStyles } from '@fluentui/react';
|
61
|
-
import { ILinkStyles } from '@fluentui/react';
|
62
57
|
import { IMessageBarProps } from '@fluentui/react';
|
63
|
-
import { IncomingCall } from '@azure/communication-calling';
|
64
58
|
import { IPersonaStyleProps } from '@fluentui/react';
|
65
59
|
import { IPersonaStyles } from '@fluentui/react';
|
66
60
|
import { IRawStyle } from '@fluentui/react';
|
67
61
|
import { IRenderFunction } from '@fluentui/react';
|
68
62
|
import { IStyle } from '@fluentui/react';
|
69
63
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
70
|
-
import { ITextFieldStyles } from '@fluentui/react';
|
71
64
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
72
65
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
73
66
|
import { LocalVideoStream } from '@azure/communication-calling';
|
74
67
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
75
68
|
import { MediaStreamType } from '@azure/communication-calling';
|
76
|
-
import { MicrosoftBotKind } from '@azure/communication-common';
|
77
|
-
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
78
69
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
79
70
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
80
71
|
import { PartialTheme } from '@fluentui/react';
|
@@ -90,17 +81,12 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
|
|
90
81
|
import { default as React_2 } from 'react';
|
91
82
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
92
83
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
93
|
-
import { RoomCallLocator } from '@azure/communication-calling';
|
94
84
|
import { ScalingMode } from '@azure/communication-calling';
|
95
85
|
import { SendMessageOptions } from '@azure/communication-chat';
|
96
86
|
import { StartCallOptions } from '@azure/communication-calling';
|
97
87
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
98
|
-
import { SyntheticEvent } from 'react';
|
99
|
-
import { TeamsCall } from '@azure/communication-calling';
|
100
|
-
import { TeamsCallAgent } from '@azure/communication-calling';
|
101
88
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
102
89
|
import { Theme } from '@fluentui/react';
|
103
|
-
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
104
90
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
105
91
|
import { UnknownIdentifier } from '@azure/communication-common';
|
106
92
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
@@ -109,22 +95,6 @@ import { VideoEffectName } from '@azure/communication-calling';
|
|
109
95
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
110
96
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
111
97
|
|
112
|
-
/**
|
113
|
-
* Transfer feature state
|
114
|
-
*
|
115
|
-
* @beta
|
116
|
-
*/
|
117
|
-
export declare interface AcceptedTransfer {
|
118
|
-
/**
|
119
|
-
* Stores call id of accepted transfer
|
120
|
-
*/
|
121
|
-
callId: string;
|
122
|
-
/**
|
123
|
-
* Stores timestamp when transfer was accepted
|
124
|
-
*/
|
125
|
-
timestamp: Date;
|
126
|
-
}
|
127
|
-
|
128
98
|
/**
|
129
99
|
* Active error messages to be shown via {@link ErrorBar}.
|
130
100
|
*
|
@@ -144,38 +114,6 @@ export declare interface ActiveErrorMessage {
|
|
144
114
|
timestamp?: Date;
|
145
115
|
}
|
146
116
|
|
147
|
-
/**
|
148
|
-
* Attributes required for SendBox to show file uploads like name, progress etc.
|
149
|
-
* @beta
|
150
|
-
*/
|
151
|
-
export declare interface ActiveFileUpload {
|
152
|
-
/**
|
153
|
-
* Unique identifier for the file upload.
|
154
|
-
*/
|
155
|
-
id: string;
|
156
|
-
/**
|
157
|
-
* File name to be rendered for uploaded file.
|
158
|
-
*/
|
159
|
-
filename: string;
|
160
|
-
/**
|
161
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
162
|
-
* This is unrelated to the `uploadComplete` property.
|
163
|
-
* It is only used to show the progress of the upload.
|
164
|
-
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
165
|
-
* property to true to mark the upload as complete.
|
166
|
-
*/
|
167
|
-
progress: number;
|
168
|
-
/**
|
169
|
-
* Error to be displayed to the user if the upload fails.
|
170
|
-
*/
|
171
|
-
error?: SendBoxErrorBarError;
|
172
|
-
/**
|
173
|
-
* `true` means that the upload is completed.
|
174
|
-
* This is independent of the upload `progress`.
|
175
|
-
*/
|
176
|
-
uploadComplete?: boolean;
|
177
|
-
}
|
178
|
-
|
179
117
|
/**
|
180
118
|
* Error reported via error events and stored in adapter state.
|
181
119
|
*
|
@@ -242,13 +180,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
242
180
|
*/
|
243
181
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
244
182
|
|
245
|
-
/**
|
246
|
-
* @beta
|
247
|
-
*/
|
248
|
-
export declare interface AttachmentDownloadResult {
|
249
|
-
blobUrl: string;
|
250
|
-
}
|
251
|
-
|
252
183
|
/**
|
253
184
|
* Custom data attributes for displaying avatar for a user.
|
254
185
|
*
|
@@ -278,11 +209,6 @@ export declare type AvatarPersonaData = {
|
|
278
209
|
* @defaultvalue `white`
|
279
210
|
*/
|
280
211
|
initialsTextColor?: string;
|
281
|
-
/**
|
282
|
-
* If true, show the special coin for unknown persona.
|
283
|
-
* It has '?' in place of initials, with static font and background colors
|
284
|
-
*/
|
285
|
-
showUnknownPersonaCoin?: boolean;
|
286
212
|
};
|
287
213
|
|
288
214
|
/**
|
@@ -304,11 +230,6 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
304
230
|
displayName: string;
|
305
231
|
credential: CommunicationTokenCredential;
|
306
232
|
locator: CallAdapterLocator;
|
307
|
-
/**
|
308
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
309
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
310
|
-
*/
|
311
|
-
alternateCallerId?: string;
|
312
233
|
/**
|
313
234
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
314
235
|
*/
|
@@ -333,7 +254,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
333
254
|
displayName: string;
|
334
255
|
credential: CommunicationTokenCredential;
|
335
256
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
336
|
-
alternateCallerId?: string;
|
337
257
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
338
258
|
};
|
339
259
|
|
@@ -349,7 +269,6 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
349
269
|
chatClient: StatefulChatClient;
|
350
270
|
chatThreadClient: ChatThreadClient;
|
351
271
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
352
|
-
chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
|
353
272
|
};
|
354
273
|
|
355
274
|
/**
|
@@ -365,14 +284,6 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
365
284
|
threadId: string;
|
366
285
|
};
|
367
286
|
|
368
|
-
/**
|
369
|
-
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
370
|
-
* @beta
|
371
|
-
*/
|
372
|
-
export declare type AzureCommunicationChatAdapterOptions = {
|
373
|
-
credential?: CommunicationTokenCredential;
|
374
|
-
};
|
375
|
-
|
376
287
|
/**
|
377
288
|
* Properties common to all composites exported from this library.
|
378
289
|
*
|
@@ -428,186 +339,6 @@ export declare interface BaseCustomStyles {
|
|
428
339
|
root?: IStyle;
|
429
340
|
}
|
430
341
|
|
431
|
-
/**
|
432
|
-
* Base interface that all Meta Data should extend.
|
433
|
-
* Typically used for ACS to ACS file transfers.
|
434
|
-
* @beta
|
435
|
-
*/
|
436
|
-
export declare interface BaseFileMetadata {
|
437
|
-
/**
|
438
|
-
* File name to be displayed.
|
439
|
-
*/
|
440
|
-
name: string;
|
441
|
-
/**
|
442
|
-
* Extension is used for rendering the file icon.
|
443
|
-
* An unknown extension will be rendered as a generic icon.
|
444
|
-
* Example: `jpeg`
|
445
|
-
*/
|
446
|
-
extension: string;
|
447
|
-
/**
|
448
|
-
* Download URL for the file.
|
449
|
-
*/
|
450
|
-
url: string;
|
451
|
-
/**
|
452
|
-
* Unique ID of the file.
|
453
|
-
*/
|
454
|
-
id: string;
|
455
|
-
/**
|
456
|
-
* Attachment Type
|
457
|
-
*/
|
458
|
-
attachmentType: FileMetadataAttachmentType;
|
459
|
-
}
|
460
|
-
|
461
|
-
/**
|
462
|
-
* Content blocked message type.
|
463
|
-
*
|
464
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
465
|
-
*
|
466
|
-
* @beta
|
467
|
-
*/
|
468
|
-
export declare interface BlockedMessage extends MessageCommon {
|
469
|
-
messageType: 'blocked';
|
470
|
-
warningText?: string;
|
471
|
-
linkText?: string;
|
472
|
-
link?: string;
|
473
|
-
deletedOn?: Date;
|
474
|
-
senderId?: string;
|
475
|
-
senderDisplayName?: string;
|
476
|
-
status?: MessageStatus;
|
477
|
-
attached?: MessageAttachedStatus;
|
478
|
-
mine?: boolean;
|
479
|
-
}
|
480
|
-
|
481
|
-
/**
|
482
|
-
* @beta
|
483
|
-
* Props for BrowserPermissionDeniedIOS component.
|
484
|
-
*/
|
485
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
486
|
-
/**
|
487
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
488
|
-
*/
|
489
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
490
|
-
/**
|
491
|
-
* Link to image source.
|
492
|
-
*
|
493
|
-
* Image is inserted into the top of the component.
|
494
|
-
*/
|
495
|
-
imageSource?: string;
|
496
|
-
}
|
497
|
-
|
498
|
-
/**
|
499
|
-
* @beta
|
500
|
-
* Strings for BrowserPermissionDeniedIOS component
|
501
|
-
*/
|
502
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
503
|
-
/**
|
504
|
-
* Image alt text
|
505
|
-
*/
|
506
|
-
imageAltText: string;
|
507
|
-
/**
|
508
|
-
* Main text string.
|
509
|
-
*/
|
510
|
-
primaryText: string;
|
511
|
-
/**
|
512
|
-
* Subtext string.
|
513
|
-
*/
|
514
|
-
secondaryText: string;
|
515
|
-
/**
|
516
|
-
* Step 1 string
|
517
|
-
*/
|
518
|
-
step1Text: string;
|
519
|
-
/**
|
520
|
-
* Step 1 digit string
|
521
|
-
*/
|
522
|
-
step1DigitText: string;
|
523
|
-
/**
|
524
|
-
* Step 2 string
|
525
|
-
*/
|
526
|
-
step2Text: string;
|
527
|
-
/**
|
528
|
-
* Step 2 digit string
|
529
|
-
*/
|
530
|
-
step2DigitText: string;
|
531
|
-
/**
|
532
|
-
* Step 3 string
|
533
|
-
*/
|
534
|
-
step3Text: string;
|
535
|
-
/**
|
536
|
-
* Step 3 digit string
|
537
|
-
*/
|
538
|
-
step3DigitText: string;
|
539
|
-
/**
|
540
|
-
* Step 4 string
|
541
|
-
*/
|
542
|
-
step4Text: string;
|
543
|
-
/**
|
544
|
-
* Step 4 digit string
|
545
|
-
*/
|
546
|
-
step4DigitText: string;
|
547
|
-
}
|
548
|
-
|
549
|
-
/**
|
550
|
-
* @beta
|
551
|
-
* Props for BrowserPermissionDenied component.
|
552
|
-
*/
|
553
|
-
export declare interface BrowserPermissionDeniedProps {
|
554
|
-
/**
|
555
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
556
|
-
*/
|
557
|
-
onTroubleshootingClick?: () => void;
|
558
|
-
/**
|
559
|
-
* Action to be taken by the try again primary button.
|
560
|
-
*/
|
561
|
-
onTryAgainClick?: () => void;
|
562
|
-
/**
|
563
|
-
* Localization strings for BrowserPermissionDenied component.
|
564
|
-
*/
|
565
|
-
strings?: BrowserPermissionDeniedStrings;
|
566
|
-
/**
|
567
|
-
* Allows users to pass in an object contains custom CSS styles.
|
568
|
-
* @Example
|
569
|
-
* ```
|
570
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
571
|
-
* ```
|
572
|
-
*/
|
573
|
-
styles?: BrowserPermissionDeniedStyles;
|
574
|
-
}
|
575
|
-
|
576
|
-
/**
|
577
|
-
* @beta
|
578
|
-
* Strings for BrowserPermissionDenied component
|
579
|
-
*/
|
580
|
-
export declare interface BrowserPermissionDeniedStrings {
|
581
|
-
/**
|
582
|
-
* Main button text string.
|
583
|
-
*/
|
584
|
-
primaryButtonText: string;
|
585
|
-
/**
|
586
|
-
* Main text string.
|
587
|
-
*/
|
588
|
-
primaryText: string;
|
589
|
-
/**
|
590
|
-
* Subtext string.
|
591
|
-
*/
|
592
|
-
secondaryText: string;
|
593
|
-
/**
|
594
|
-
* More help link string.
|
595
|
-
*/
|
596
|
-
linkText: string;
|
597
|
-
}
|
598
|
-
|
599
|
-
/**
|
600
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
601
|
-
*
|
602
|
-
* @beta
|
603
|
-
*/
|
604
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
605
|
-
/** Styles for the primary button. */
|
606
|
-
primaryButton?: IButtonStyles;
|
607
|
-
/** Styles for the help troubleshooting link text. */
|
608
|
-
troubleshootingLink?: ILinkStyles;
|
609
|
-
}
|
610
|
-
|
611
342
|
/**
|
612
343
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
613
344
|
*
|
@@ -641,12 +372,6 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
641
372
|
* @public
|
642
373
|
*/
|
643
374
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
644
|
-
/**
|
645
|
-
* Start the call.
|
646
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
647
|
-
* @beta
|
648
|
-
*/
|
649
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
650
375
|
}
|
651
376
|
|
652
377
|
/**
|
@@ -691,12 +416,6 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
691
416
|
* @public
|
692
417
|
*/
|
693
418
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
694
|
-
/**
|
695
|
-
* Start the call.
|
696
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
697
|
-
* @beta
|
698
|
-
*/
|
699
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
700
419
|
}
|
701
420
|
|
702
421
|
/**
|
@@ -773,12 +492,6 @@ export declare interface CallAdapterCallOperations {
|
|
773
492
|
* @public
|
774
493
|
*/
|
775
494
|
removeParticipant(userId: string): Promise<void>;
|
776
|
-
/**
|
777
|
-
* Remove a participant from the call.
|
778
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
779
|
-
* @beta
|
780
|
-
*/
|
781
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
782
495
|
/**
|
783
496
|
* Create the html view for a stream.
|
784
497
|
*
|
@@ -830,35 +543,6 @@ export declare interface CallAdapterCallOperations {
|
|
830
543
|
* @public
|
831
544
|
*/
|
832
545
|
disposeLocalVideoStreamView(): Promise<void>;
|
833
|
-
/**
|
834
|
-
* Holds the call.
|
835
|
-
*
|
836
|
-
* @beta
|
837
|
-
*/
|
838
|
-
holdCall(): Promise<void>;
|
839
|
-
/**
|
840
|
-
* Resumes the call from a `LocalHold` state.
|
841
|
-
*
|
842
|
-
* @beta
|
843
|
-
*/
|
844
|
-
resumeCall(): Promise<void>;
|
845
|
-
/**
|
846
|
-
* Add a participant to the call.
|
847
|
-
*
|
848
|
-
* @beta
|
849
|
-
*/
|
850
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
851
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
852
|
-
/**
|
853
|
-
* send dtmf tone to another participant in a 1:1 PSTN call
|
854
|
-
*
|
855
|
-
* @beta
|
856
|
-
*/
|
857
|
-
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
858
|
-
/**
|
859
|
-
* Continues into a call when the browser version is not supported.
|
860
|
-
*/
|
861
|
-
allowUnsupportedBrowserVersion(): void;
|
862
546
|
/**
|
863
547
|
* Function to Start captions
|
864
548
|
* @param options - options for start captions
|
@@ -918,22 +602,10 @@ export declare type CallAdapterClientState = {
|
|
918
602
|
devices: DeviceManagerState;
|
919
603
|
endedCall?: CallState;
|
920
604
|
isTeamsCall: boolean;
|
921
|
-
/**
|
922
|
-
* State to track whether the call is a rooms call.
|
923
|
-
*/
|
924
|
-
isRoomsCall: boolean;
|
925
605
|
/**
|
926
606
|
* Latest error encountered for each operation performed via the adapter.
|
927
607
|
*/
|
928
608
|
latestErrors: AdapterErrors;
|
929
|
-
/**
|
930
|
-
* Azure communications Phone number to make PSTN calls with.
|
931
|
-
*/
|
932
|
-
alternateCallerId?: string;
|
933
|
-
/**
|
934
|
-
* Environment information about system the adapter is made on
|
935
|
-
*/
|
936
|
-
environmentInfo?: EnvironmentInfo;
|
937
609
|
/**
|
938
610
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
939
611
|
* control bar with the CallComposite.
|
@@ -951,10 +623,6 @@ export declare type CallAdapterClientState = {
|
|
951
623
|
* State to track the selected video background effect.
|
952
624
|
*/
|
953
625
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
954
|
-
/**
|
955
|
-
* Call from transfer request accepted by local user
|
956
|
-
*/
|
957
|
-
acceptedTransferCallState?: CallState;
|
958
626
|
};
|
959
627
|
|
960
628
|
/**
|
@@ -1039,7 +707,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1039
707
|
*
|
1040
708
|
* @public
|
1041
709
|
*/
|
1042
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator
|
710
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
|
1043
711
|
|
1044
712
|
/**
|
1045
713
|
* {@link CommonCallAdapter} state.
|
@@ -1132,10 +800,6 @@ export declare interface CallAdapterSubscribers {
|
|
1132
800
|
* Subscribe function for 'isSpokenLanguageChanged' event.
|
1133
801
|
*/
|
1134
802
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1135
|
-
/**
|
1136
|
-
* Subscribe function for 'transferRequested' event.
|
1137
|
-
*/
|
1138
|
-
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1139
803
|
/**
|
1140
804
|
* Subscribe function for 'capabilitiesChanged' event.
|
1141
805
|
*/
|
@@ -1204,10 +868,6 @@ export declare interface CallAdapterSubscribers {
|
|
1204
868
|
* Unsubscribe function for 'isSpokenLanguageChanged' event.
|
1205
869
|
*/
|
1206
870
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1207
|
-
/**
|
1208
|
-
* Unsubscribe function for 'transferRequested' event.
|
1209
|
-
*/
|
1210
|
-
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1211
871
|
/**
|
1212
872
|
* Unsubscribe function for 'capabilitiesChanged' event.
|
1213
873
|
*/
|
@@ -1222,7 +882,6 @@ export declare interface CallAdapterSubscribers {
|
|
1222
882
|
export declare type CallAdapterUiState = {
|
1223
883
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1224
884
|
page: CallCompositePage;
|
1225
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1226
885
|
};
|
1227
886
|
|
1228
887
|
/**
|
@@ -1241,7 +900,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
1241
900
|
*/
|
1242
901
|
export declare interface CallAgentProviderProps {
|
1243
902
|
children: React_2.ReactNode;
|
1244
|
-
callAgent?: CallAgent
|
903
|
+
callAgent?: CallAgent;
|
1245
904
|
}
|
1246
905
|
|
1247
906
|
/**
|
@@ -1266,7 +925,7 @@ export declare interface CallAgentState {
|
|
1266
925
|
*/
|
1267
926
|
export declare interface CallAndChatLocator {
|
1268
927
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1269
|
-
callLocator: GroupCallLocator
|
928
|
+
callLocator: GroupCallLocator;
|
1270
929
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1271
930
|
chatThreadId: string;
|
1272
931
|
}
|
@@ -1353,16 +1012,6 @@ export declare interface CallClientState {
|
|
1353
1012
|
* See documentation of {@Link CallErrors} for details.
|
1354
1013
|
*/
|
1355
1014
|
latestErrors: CallErrors;
|
1356
|
-
/**
|
1357
|
-
* A phone number in E.164 format that will be used to represent callers identity.
|
1358
|
-
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1359
|
-
* be used as the caller id in the PSTN call.
|
1360
|
-
*/
|
1361
|
-
alternateCallerId?: string;
|
1362
|
-
/**
|
1363
|
-
* state to track the environment that the stateful client was made in is supported
|
1364
|
-
*/
|
1365
|
-
environmentInfo?: EnvironmentInfo;
|
1366
1015
|
}
|
1367
1016
|
|
1368
1017
|
/**
|
@@ -1433,10 +1082,6 @@ export declare type CallCompositeIcons = {
|
|
1433
1082
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1434
1083
|
VideoTileMicOff?: JSX.Element;
|
1435
1084
|
LocalCameraSwitch?: JSX.Element;
|
1436
|
-
PeoplePaneAddPerson?: JSX.Element;
|
1437
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
1438
|
-
DialpadStartCall?: JSX.Element;
|
1439
|
-
NoticePageAccessDeniedRoomsCall?: JSX.Element;
|
1440
1085
|
BlurVideoBackground?: JSX.Element;
|
1441
1086
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
1442
1087
|
GalleryOptions?: JSX.Element;
|
@@ -1466,66 +1111,10 @@ export declare type CallCompositeOptions = {
|
|
1466
1111
|
* @defaultValue true
|
1467
1112
|
*/
|
1468
1113
|
callControls?: boolean | CallControlOptions;
|
1469
|
-
/**
|
1470
|
-
* Device permissions check options for your call.
|
1471
|
-
* Here you can choose what device permissions you prompt the user for,
|
1472
|
-
* as well as what device permissions must be accepted before starting a call.
|
1473
|
-
*/
|
1474
|
-
deviceChecks?: DeviceCheckOptions;
|
1475
|
-
/**
|
1476
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1477
|
-
* unable to grant your site the required permissions for the call.
|
1478
|
-
*
|
1479
|
-
* @example
|
1480
|
-
* ```ts
|
1481
|
-
* onPermissionsTroubleshootingClick: () =>
|
1482
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1483
|
-
* ```
|
1484
|
-
*
|
1485
|
-
* @remarks
|
1486
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1487
|
-
*/
|
1488
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1489
|
-
camera: PermissionState;
|
1490
|
-
microphone: PermissionState;
|
1491
|
-
}) => void;
|
1492
|
-
/**
|
1493
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1494
|
-
* having network issues when connecting to the call.
|
1495
|
-
*
|
1496
|
-
* @example
|
1497
|
-
* ```ts
|
1498
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1499
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1500
|
-
* ```
|
1501
|
-
*
|
1502
|
-
* @remarks
|
1503
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1504
|
-
*/
|
1505
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1506
|
-
/**
|
1507
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1508
|
-
*
|
1509
|
-
* @example
|
1510
|
-
* ```ts
|
1511
|
-
* onBrowserTroubleShootingClick?: () =>
|
1512
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1513
|
-
* ```
|
1514
|
-
*
|
1515
|
-
* @remarks
|
1516
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
1517
|
-
*/
|
1518
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1519
1114
|
/**
|
1520
1115
|
* Remote participant video tile menu options
|
1521
1116
|
*/
|
1522
1117
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
1523
|
-
/**
|
1524
|
-
* Options for controlling the local video tile.
|
1525
|
-
*
|
1526
|
-
* @remarks if 'false' the local video tile will not be rendered.
|
1527
|
-
*/
|
1528
|
-
localVideoTile?: boolean | LocalVideoTileOptions;
|
1529
1118
|
/**
|
1530
1119
|
* Options for controlling the starting layout of the composite's video gallery
|
1531
1120
|
*/
|
@@ -1542,7 +1131,7 @@ export declare type CallCompositeOptions = {
|
|
1542
1131
|
*
|
1543
1132
|
* @public
|
1544
1133
|
*/
|
1545
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' |
|
1134
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1546
1135
|
|
1547
1136
|
/**
|
1548
1137
|
* Props for {@link CallComposite}.
|
@@ -1788,86 +1377,14 @@ export declare interface CallCompositeStrings {
|
|
1788
1377
|
* Label for SidePaneHeader dismiss button
|
1789
1378
|
*/
|
1790
1379
|
dismissSidePaneButtonLabel?: string;
|
1791
|
-
/**
|
1792
|
-
* Side pane People section subheader.
|
1793
|
-
*/
|
1794
|
-
peoplePaneSubTitle: string;
|
1795
|
-
/**
|
1796
|
-
* Label for button to copy invite link
|
1797
|
-
*/
|
1798
|
-
copyInviteLinkButtonLabel: string;
|
1799
|
-
/**
|
1800
|
-
* Label for button to open dialpad
|
1801
|
-
*/
|
1802
|
-
openDialpadButtonLabel: string;
|
1803
|
-
/**
|
1804
|
-
* Label for menu item to remove participant
|
1805
|
-
*/
|
1806
|
-
removeMenuLabel: string;
|
1807
|
-
/**
|
1808
|
-
* Label for add people dropdown
|
1809
|
-
*/
|
1810
|
-
peoplePaneAddPeopleButtonLabel: string;
|
1811
|
-
/**
|
1812
|
-
* Label for button to start a call
|
1813
|
-
*/
|
1814
|
-
dialpadStartCallButtonLabel: string;
|
1815
|
-
/**
|
1816
|
-
* Title for dialpad Modal
|
1817
|
-
*/
|
1818
|
-
dialpadModalTitle: string;
|
1819
|
-
/**
|
1820
|
-
* Aria Label for dialpad Modal
|
1821
|
-
*/
|
1822
|
-
dialpadModalAriaLabel: string;
|
1823
|
-
/**
|
1824
|
-
* Aria Label for dialpad Modal close button
|
1825
|
-
*/
|
1826
|
-
dialpadCloseModalButtonAriaLabel: string;
|
1827
1380
|
/**
|
1828
1381
|
* label for more button in the Calling composite
|
1829
1382
|
*/
|
1830
1383
|
moreButtonCallingLabel: string;
|
1831
|
-
/**
|
1832
|
-
* Label for the resume call button on the hold pane
|
1833
|
-
*/
|
1834
|
-
resumeCallButtonLabel: string;
|
1835
|
-
/**
|
1836
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1837
|
-
*/
|
1838
|
-
resumingCallButtonLabel: string;
|
1839
|
-
/**
|
1840
|
-
* Aria label for the resume call button on the hold pane
|
1841
|
-
*/
|
1842
|
-
resumeCallButtonAriaLabel: string;
|
1843
|
-
/**
|
1844
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1845
|
-
*/
|
1846
|
-
resumingCallButtonAriaLabel: string;
|
1847
|
-
/**
|
1848
|
-
* Label for the hold pane
|
1849
|
-
*/
|
1850
|
-
holdScreenLabel: string;
|
1851
|
-
/**
|
1852
|
-
* Placeholder text for dtmf dialpad
|
1853
|
-
*/
|
1854
|
-
dtmfDialpadPlaceholderText: string;
|
1855
|
-
/**
|
1856
|
-
* Label for the button to open dtmf dialpad
|
1857
|
-
*/
|
1858
|
-
openDtmfDialpadLabel: string;
|
1859
1384
|
/**
|
1860
1385
|
* aria label for when the invite link has been actioned
|
1861
1386
|
*/
|
1862
1387
|
copyInviteLinkActionedAriaLabel: string;
|
1863
|
-
/**
|
1864
|
-
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1865
|
-
*/
|
1866
|
-
roomNotFoundTitle: string;
|
1867
|
-
/**
|
1868
|
-
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1869
|
-
*/
|
1870
|
-
roomNotFoundDetails?: string;
|
1871
1388
|
/**
|
1872
1389
|
* Video Effects pane title.
|
1873
1390
|
*/
|
@@ -1905,37 +1422,17 @@ export declare interface CallCompositeStrings {
|
|
1905
1422
|
*/
|
1906
1423
|
cameraOffBackgroundEffectWarningText?: string;
|
1907
1424
|
/**
|
1908
|
-
*
|
1425
|
+
* Notice to be announced by narrator when a participant joins a call
|
1909
1426
|
*/
|
1910
|
-
|
1427
|
+
participantJoinedNoticeString: string;
|
1911
1428
|
/**
|
1912
|
-
*
|
1429
|
+
* Notice to be announced by narrator when a participant joins a call
|
1913
1430
|
*/
|
1914
|
-
|
1431
|
+
twoParticipantJoinedNoticeString: string;
|
1915
1432
|
/**
|
1916
|
-
*
|
1433
|
+
* Notice to be announced by narrator when a participant joins a call
|
1917
1434
|
*/
|
1918
|
-
|
1919
|
-
/**
|
1920
|
-
* Control bar People button ToolTipContent
|
1921
|
-
*/
|
1922
|
-
peopleButtonTooltipClose: string;
|
1923
|
-
/**
|
1924
|
-
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1925
|
-
*/
|
1926
|
-
outboundCallingNoticeString: string;
|
1927
|
-
/**
|
1928
|
-
* Notice to be announced by narrator when a participant joins a call
|
1929
|
-
*/
|
1930
|
-
participantJoinedNoticeString: string;
|
1931
|
-
/**
|
1932
|
-
* Notice to be announced by narrator when a participant joins a call
|
1933
|
-
*/
|
1934
|
-
twoParticipantJoinedNoticeString: string;
|
1935
|
-
/**
|
1936
|
-
* Notice to be announced by narrator when a participant joins a call
|
1937
|
-
*/
|
1938
|
-
threeParticipantJoinedNoticeString: string;
|
1435
|
+
threeParticipantJoinedNoticeString: string;
|
1939
1436
|
/**
|
1940
1437
|
* Notice to be announced by narrator when a participant leaves a call
|
1941
1438
|
*/
|
@@ -2048,58 +1545,6 @@ export declare interface CallCompositeStrings {
|
|
2048
1545
|
* captions banner loading spinner label
|
2049
1546
|
*/
|
2050
1547
|
captionsBannerSpinnerText?: string;
|
2051
|
-
/**
|
2052
|
-
* transfer page text when showing the transferor who initiated the transfer
|
2053
|
-
*/
|
2054
|
-
transferPageTransferorText: string;
|
2055
|
-
/**
|
2056
|
-
* transfer page text when showing the transfer target
|
2057
|
-
*/
|
2058
|
-
transferPageTransferTargetText: string;
|
2059
|
-
/**
|
2060
|
-
* transfer page display name for unknown participant
|
2061
|
-
*/
|
2062
|
-
transferPageUnknownTransferorDisplayName: string;
|
2063
|
-
/**
|
2064
|
-
* transfer page display name for unknown participant
|
2065
|
-
*/
|
2066
|
-
transferPageUnknownTransferTargetDisplayName: string;
|
2067
|
-
/**
|
2068
|
-
* notice to be announced by narrator the transfer page is showing
|
2069
|
-
*/
|
2070
|
-
transferPageNoticeString: string;
|
2071
|
-
/**
|
2072
|
-
* Title text of the page shown to the user when target participant could not be reached
|
2073
|
-
*/
|
2074
|
-
participantCouldNotBeReachedTitle?: string;
|
2075
|
-
/**
|
2076
|
-
* More details text of the page shown to the user when target participant could not be reached
|
2077
|
-
*/
|
2078
|
-
participantCouldNotBeReachedMoreDetails?: string;
|
2079
|
-
/**
|
2080
|
-
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2081
|
-
*/
|
2082
|
-
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2083
|
-
/**
|
2084
|
-
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2085
|
-
*/
|
2086
|
-
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2087
|
-
/**
|
2088
|
-
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2089
|
-
*/
|
2090
|
-
unableToResolveTenantTitle?: string;
|
2091
|
-
/**
|
2092
|
-
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2093
|
-
*/
|
2094
|
-
unableToResolveTenantMoreDetails?: string;
|
2095
|
-
/**
|
2096
|
-
* Title text of the page shown to the user when target participant id is malformed
|
2097
|
-
*/
|
2098
|
-
participantIdIsMalformedTitle?: string;
|
2099
|
-
/**
|
2100
|
-
* More details text of the page shown to the user when target participant id is malformed
|
2101
|
-
*/
|
2102
|
-
participantIdIsMalformedMoreDetails?: string;
|
2103
1548
|
/**
|
2104
1549
|
* Controls label to move the overflow gallery around
|
2105
1550
|
*/
|
@@ -2216,7 +1661,7 @@ export declare type CallErrors = {
|
|
2216
1661
|
*
|
2217
1662
|
* @public
|
2218
1663
|
*/
|
2219
|
-
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' |
|
1664
|
+
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';
|
2220
1665
|
|
2221
1666
|
/**
|
2222
1667
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2296,23 +1741,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2296
1741
|
raisedHand?: RaisedHand;
|
2297
1742
|
};
|
2298
1743
|
|
2299
|
-
/**
|
2300
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2301
|
-
*
|
2302
|
-
* @remarks
|
2303
|
-
* This is currently in beta and only supports calling one Teams User.
|
2304
|
-
*
|
2305
|
-
* @example
|
2306
|
-
* ```
|
2307
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2308
|
-
* ```
|
2309
|
-
*
|
2310
|
-
* @beta
|
2311
|
-
*/
|
2312
|
-
export declare type CallParticipantsLocator = {
|
2313
|
-
participantIds: string[];
|
2314
|
-
};
|
2315
|
-
|
2316
1744
|
/**
|
2317
1745
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
2318
1746
|
*
|
@@ -2329,7 +1757,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2329
1757
|
*/
|
2330
1758
|
export declare interface CallProviderProps {
|
2331
1759
|
children: React_2.ReactNode;
|
2332
|
-
call?: Call
|
1760
|
+
call?: Call;
|
2333
1761
|
}
|
2334
1762
|
|
2335
1763
|
/**
|
@@ -2343,10 +1771,6 @@ export declare interface CallState {
|
|
2343
1771
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2344
1772
|
*/
|
2345
1773
|
id: string;
|
2346
|
-
/**
|
2347
|
-
* Type of the call.
|
2348
|
-
*/
|
2349
|
-
kind: CallKind;
|
2350
1774
|
/**
|
2351
1775
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2352
1776
|
*/
|
@@ -2445,14 +1869,6 @@ export declare interface CallState {
|
|
2445
1869
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2446
1870
|
*/
|
2447
1871
|
role?: ParticipantRole;
|
2448
|
-
/**
|
2449
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2450
|
-
*/
|
2451
|
-
totalParticipantCount?: number;
|
2452
|
-
/**
|
2453
|
-
* Transfer state of call
|
2454
|
-
*/
|
2455
|
-
transfer: TransferFeature;
|
2456
1872
|
/**
|
2457
1873
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
2458
1874
|
*/
|
@@ -2480,12 +1896,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2480
1896
|
* @public
|
2481
1897
|
*/
|
2482
1898
|
removeParticipant(userId: string): Promise<void>;
|
2483
|
-
/**
|
2484
|
-
* Remove a participant from the call.
|
2485
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2486
|
-
* @beta
|
2487
|
-
*/
|
2488
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2489
1899
|
/**
|
2490
1900
|
* Join the call with microphone initially on/off.
|
2491
1901
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2551,12 +1961,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2551
1961
|
* @public
|
2552
1962
|
*/
|
2553
1963
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2554
|
-
/**
|
2555
|
-
* Start the call.
|
2556
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2557
|
-
* @beta
|
2558
|
-
*/
|
2559
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
2560
1964
|
/**
|
2561
1965
|
* Start sharing the screen during a call.
|
2562
1966
|
*
|
@@ -2746,52 +2150,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2746
2150
|
* @public
|
2747
2151
|
*/
|
2748
2152
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2749
|
-
/** @beta */
|
2750
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2751
|
-
/** @beta */
|
2752
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
2753
|
-
/** @beta */
|
2754
|
-
clearFileUploads: () => void;
|
2755
|
-
/** @beta */
|
2756
|
-
cancelFileUpload: (id: string) => void;
|
2757
|
-
/** @beta */
|
2758
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
2759
|
-
/** @beta */
|
2760
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2761
|
-
/** @beta */
|
2762
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2763
|
-
downloadAttachments: (options: {
|
2764
|
-
attachmentUrls: string[];
|
2765
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
2766
|
-
/**
|
2767
|
-
* Puts the Call in a Localhold.
|
2768
|
-
*
|
2769
|
-
* @beta
|
2770
|
-
*/
|
2771
|
-
holdCall: () => Promise<void>;
|
2772
|
-
/**
|
2773
|
-
* Resumes the call from a LocalHold state.
|
2774
|
-
*
|
2775
|
-
* @beta
|
2776
|
-
*/
|
2777
|
-
resumeCall: () => Promise<void>;
|
2778
|
-
/**
|
2779
|
-
* Adds a new Participant to the call.
|
2780
|
-
*
|
2781
|
-
* @beta
|
2782
|
-
*/
|
2783
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2784
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2785
|
-
/**
|
2786
|
-
* send dtmf tone to another participant in the call in 1:1 calls
|
2787
|
-
*
|
2788
|
-
* @beta
|
2789
|
-
*/
|
2790
|
-
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2791
|
-
/**
|
2792
|
-
* Continues into a call when the browser version is not supported.
|
2793
|
-
*/
|
2794
|
-
allowUnsupportedBrowserVersion(): void;
|
2795
2153
|
/**
|
2796
2154
|
* Function to Start captions
|
2797
2155
|
* @param options - options for start captions
|
@@ -2917,22 +2275,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
2917
2275
|
* @public
|
2918
2276
|
*/
|
2919
2277
|
page: CallCompositePage;
|
2920
|
-
/**
|
2921
|
-
* Files being uploaded by a user in the current thread.
|
2922
|
-
* Should be set to null once the upload is complete.
|
2923
|
-
* Array of type {@link FileUploadsUiState}
|
2924
|
-
*
|
2925
|
-
* @beta
|
2926
|
-
*/
|
2927
|
-
fileUploads?: FileUploadsUiState;
|
2928
|
-
/**
|
2929
|
-
* State to track whether the end user has opted in to using a
|
2930
|
-
* out of date version of a supported browser. Allows the user
|
2931
|
-
* to start a call in this state.
|
2932
|
-
*
|
2933
|
-
* @beta
|
2934
|
-
*/
|
2935
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
2936
2278
|
}
|
2937
2279
|
|
2938
2280
|
/**
|
@@ -2957,12 +2299,6 @@ export declare interface CallWithChatClientState {
|
|
2957
2299
|
devices: DeviceManagerState;
|
2958
2300
|
/** State of whether the active call is a Teams interop call */
|
2959
2301
|
isTeamsCall: boolean;
|
2960
|
-
/** State of whether the active call is a rooms call */
|
2961
|
-
isRoomsCall: boolean;
|
2962
|
-
/** alternateCallerId for PSTN call */
|
2963
|
-
alternateCallerId?: string | undefined;
|
2964
|
-
/** Environment information for system adapter is made on */
|
2965
|
-
environmentInfo?: EnvironmentInfo;
|
2966
2302
|
/** Default set of background images for background replacement effect */
|
2967
2303
|
videoBackgroundImages?: VideoBackgroundImage[];
|
2968
2304
|
/** Dependency to be injected for video background effects */
|
@@ -3037,9 +2373,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
3037
2373
|
ParticipantItemScreenShareStart?: JSX.Element;
|
3038
2374
|
VideoTileMicOff?: JSX.Element;
|
3039
2375
|
LocalCameraSwitch?: JSX.Element;
|
3040
|
-
PeoplePaneAddPerson?: JSX.Element;
|
3041
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
3042
|
-
DialpadStartCall?: JSX.Element;
|
3043
2376
|
EditBoxCancel?: JSX.Element;
|
3044
2377
|
EditBoxSubmit?: JSX.Element;
|
3045
2378
|
MessageDelivered?: JSX.Element;
|
@@ -3066,72 +2399,10 @@ export declare type CallWithChatCompositeOptions = {
|
|
3066
2399
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
3067
2400
|
*/
|
3068
2401
|
callControls?: boolean | CallWithChatControlOptions;
|
3069
|
-
/**
|
3070
|
-
* Properties for configuring the File Sharing feature.
|
3071
|
-
* If undefined, file sharing feature will be disabled.
|
3072
|
-
* @beta
|
3073
|
-
*/
|
3074
|
-
fileSharing?: FileSharingOptions;
|
3075
|
-
/**
|
3076
|
-
* Device permissions check options for your call.
|
3077
|
-
* Here you can choose what device permissions you prompt the user for,
|
3078
|
-
* as well as what device permissions must be accepted before starting a call.
|
3079
|
-
*/
|
3080
|
-
deviceChecks?: DeviceCheckOptions;
|
3081
|
-
/**
|
3082
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3083
|
-
* unable to grant your site the required permissions for the call.
|
3084
|
-
*
|
3085
|
-
* @example
|
3086
|
-
* ```ts
|
3087
|
-
* onPermissionsTroubleshootingClick: () =>
|
3088
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3089
|
-
* ```
|
3090
|
-
*
|
3091
|
-
* @remarks
|
3092
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3093
|
-
*/
|
3094
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3095
|
-
camera: PermissionState;
|
3096
|
-
microphone: PermissionState;
|
3097
|
-
}) => void;
|
3098
|
-
/**
|
3099
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
3100
|
-
* experienced when connecting to a call.
|
3101
|
-
*
|
3102
|
-
* @example
|
3103
|
-
* ```ts
|
3104
|
-
* onNetworkingTroubleShootingClick?: () =>
|
3105
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3106
|
-
* ```
|
3107
|
-
*
|
3108
|
-
* @remarks
|
3109
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3110
|
-
*/
|
3111
|
-
onNetworkingTroubleShootingClick?: () => void;
|
3112
|
-
/**
|
3113
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3114
|
-
*
|
3115
|
-
* @example
|
3116
|
-
* ```ts
|
3117
|
-
* onBrowserTroubleShootingClick?: () =>
|
3118
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3119
|
-
* ```
|
3120
|
-
*
|
3121
|
-
* @remarks
|
3122
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
3123
|
-
*/
|
3124
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
3125
2402
|
/**
|
3126
2403
|
* Remote participant video tile menu options
|
3127
2404
|
*/
|
3128
2405
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
3129
|
-
/**
|
3130
|
-
* Options for controlling the local video tile.
|
3131
|
-
*
|
3132
|
-
* @remarks if 'false' the local video tile will not be rendered.
|
3133
|
-
*/
|
3134
|
-
localVideoTile?: boolean | LocalVideoTileOptions;
|
3135
2406
|
/**
|
3136
2407
|
* Options for controlling the starting layout of the composite's video gallery
|
3137
2408
|
*/
|
@@ -3292,10 +2563,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3292
2563
|
* Label for button to copy invite link
|
3293
2564
|
*/
|
3294
2565
|
copyInviteLinkButtonLabel: string;
|
3295
|
-
/**
|
3296
|
-
* Label for button to open dialpad
|
3297
|
-
*/
|
3298
|
-
openDialpadButtonLabel: string;
|
3299
2566
|
/**
|
3300
2567
|
* Label for SidePaneHeader dismiss button
|
3301
2568
|
*/
|
@@ -3308,34 +2575,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3308
2575
|
* Aria label string for return to call back button
|
3309
2576
|
*/
|
3310
2577
|
returnToCallButtonAriaLabel?: string;
|
3311
|
-
/**
|
3312
|
-
* Label for add people dropdown
|
3313
|
-
*/
|
3314
|
-
peoplePaneAddPeopleButtonLabel: string;
|
3315
|
-
/**
|
3316
|
-
* Label for button to start a call
|
3317
|
-
*/
|
3318
|
-
dialpadStartCallButtonLabel: string;
|
3319
|
-
/**
|
3320
|
-
* Title for dialpad Modal
|
3321
|
-
*/
|
3322
|
-
dialpadModalTitle: string;
|
3323
|
-
/**
|
3324
|
-
* Aria Label for dialpad Modal
|
3325
|
-
*/
|
3326
|
-
dialpadModalAriaLabel: string;
|
3327
|
-
/**
|
3328
|
-
* Aria Label for dialpad Modal close button
|
3329
|
-
*/
|
3330
|
-
dialpadCloseModalButtonAriaLabel: string;
|
3331
|
-
/**
|
3332
|
-
* Placeholder text for dtmf dialpad
|
3333
|
-
*/
|
3334
|
-
dtmfDialpadPlaceholderText: string;
|
3335
|
-
/**
|
3336
|
-
* Label for the button to open dtmf dialpad
|
3337
|
-
*/
|
3338
|
-
openDtmfDialpadLabel: string;
|
3339
2578
|
/**
|
3340
2579
|
* aria label for when the invite link has been actioned
|
3341
2580
|
*/
|
@@ -3352,9 +2591,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3352
2591
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
3353
2592
|
* @defaultValue true
|
3354
2593
|
*/
|
3355
|
-
chatButton?: boolean
|
3356
|
-
disabled: boolean;
|
3357
|
-
};
|
2594
|
+
chatButton?: boolean;
|
3358
2595
|
}
|
3359
2596
|
|
3360
2597
|
/**
|
@@ -3364,35 +2601,6 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3364
2601
|
*/
|
3365
2602
|
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';
|
3366
2603
|
|
3367
|
-
/**
|
3368
|
-
* @beta
|
3369
|
-
*
|
3370
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3371
|
-
* by their browsers settings.
|
3372
|
-
*/
|
3373
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3374
|
-
|
3375
|
-
/**
|
3376
|
-
* @beta
|
3377
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
3378
|
-
*/
|
3379
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3380
|
-
/** Icon name for the camera icon */
|
3381
|
-
cameraIconName?: string;
|
3382
|
-
/** Icon name for the microphone icon */
|
3383
|
-
microphoneIconName?: string;
|
3384
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
3385
|
-
connectorIconName?: string;
|
3386
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3387
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3388
|
-
}
|
3389
|
-
|
3390
|
-
/**
|
3391
|
-
* @beta
|
3392
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3393
|
-
*/
|
3394
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3395
|
-
|
3396
2604
|
/**
|
3397
2605
|
* A button to turn camera on / off.
|
3398
2606
|
*
|
@@ -3549,31 +2757,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3549
2757
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3550
2758
|
}
|
3551
2759
|
|
3552
|
-
/**
|
3553
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3554
|
-
* by their browsers settings.
|
3555
|
-
*
|
3556
|
-
* @beta
|
3557
|
-
*/
|
3558
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3559
|
-
|
3560
|
-
/**
|
3561
|
-
* @beta
|
3562
|
-
* Props for CameraSitePermissions component.
|
3563
|
-
*/
|
3564
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3565
|
-
/** Icon name for the camera icon */
|
3566
|
-
cameraIconName?: string;
|
3567
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3568
|
-
strings?: CameraSitePermissionsStrings;
|
3569
|
-
}
|
3570
|
-
|
3571
|
-
/**
|
3572
|
-
* @beta
|
3573
|
-
* Strings for CameraSitePermissions component.
|
3574
|
-
*/
|
3575
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3576
|
-
|
3577
2760
|
/**
|
3578
2761
|
* @public
|
3579
2762
|
* Callback function run when a message edit is cancelled.
|
@@ -3779,7 +2962,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3779
2962
|
*
|
3780
2963
|
* @public
|
3781
2964
|
*/
|
3782
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers
|
2965
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
|
3783
2966
|
|
3784
2967
|
/**
|
3785
2968
|
* {@link ChatAdapter} state.
|
@@ -3887,9 +3070,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
3887
3070
|
/**
|
3888
3071
|
* Update a message content.
|
3889
3072
|
*/
|
3890
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
3891
|
-
attachedFilesMetadata?: FileMetadata[];
|
3892
|
-
}): Promise<void>;
|
3073
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
3893
3074
|
/**
|
3894
3075
|
* Delete a message in the thread.
|
3895
3076
|
*/
|
@@ -3902,9 +3083,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3902
3083
|
*
|
3903
3084
|
*/
|
3904
3085
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3905
|
-
downloadAttachments: (options: {
|
3906
|
-
attachmentUrls: string[];
|
3907
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
3908
3086
|
}
|
3909
3087
|
|
3910
3088
|
/**
|
@@ -3914,13 +3092,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3914
3092
|
*/
|
3915
3093
|
export declare type ChatAdapterUiState = {
|
3916
3094
|
error?: Error;
|
3917
|
-
/**
|
3918
|
-
* Files being uploaded by a user in the current thread.
|
3919
|
-
* Should be set to null once the upload is complete.
|
3920
|
-
* Array of type {@link FileUploadsUiState}
|
3921
|
-
* @beta
|
3922
|
-
*/
|
3923
|
-
fileUploads?: FileUploadsUiState;
|
3924
3095
|
};
|
3925
3096
|
|
3926
3097
|
/**
|
@@ -4023,7 +3194,6 @@ export declare type ChatCompositeIcons = {
|
|
4023
3194
|
ParticipantItemOptionsHovered?: JSX.Element;
|
4024
3195
|
SendBoxSend?: JSX.Element;
|
4025
3196
|
SendBoxSendHovered?: JSX.Element;
|
4026
|
-
SendBoxAttachFile?: JSX.Element;
|
4027
3197
|
};
|
4028
3198
|
|
4029
3199
|
/**
|
@@ -4038,13 +3208,6 @@ export declare type ChatCompositeOptions = {
|
|
4038
3208
|
* @defaultValue true
|
4039
3209
|
*/
|
4040
3210
|
errorBar?: boolean;
|
4041
|
-
/**
|
4042
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4043
|
-
* @defaultValue false
|
4044
|
-
*
|
4045
|
-
* @beta
|
4046
|
-
*/
|
4047
|
-
participantPane?: boolean;
|
4048
3211
|
/**
|
4049
3212
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
4050
3213
|
* @defaultValue true
|
@@ -4055,12 +3218,6 @@ export declare type ChatCompositeOptions = {
|
|
4055
3218
|
* When undefined nothing has focus on render
|
4056
3219
|
*/
|
4057
3220
|
autoFocus?: 'sendBoxTextField';
|
4058
|
-
/**
|
4059
|
-
* Properties for configuring the File Sharing feature.
|
4060
|
-
* If undefined, file sharing feature will be disabled.
|
4061
|
-
* @beta
|
4062
|
-
*/
|
4063
|
-
fileSharing?: FileSharingOptions;
|
4064
3221
|
};
|
4065
3222
|
|
4066
3223
|
/**
|
@@ -4088,12 +3245,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
4088
3245
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
4089
3246
|
*/
|
4090
3247
|
options?: ChatCompositeOptions;
|
4091
|
-
/**
|
4092
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
4093
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4094
|
-
* @defaultValue 'desktop'
|
4095
|
-
*/
|
4096
|
-
formFactor?: 'desktop' | 'mobile';
|
4097
3248
|
}
|
4098
3249
|
|
4099
3250
|
/**
|
@@ -4108,10 +3259,6 @@ export declare interface ChatCompositeStrings {
|
|
4108
3259
|
* Chat list header text
|
4109
3260
|
*/
|
4110
3261
|
chatListHeader: string;
|
4111
|
-
/**
|
4112
|
-
* Upload File Button text
|
4113
|
-
*/
|
4114
|
-
uploadFile: string;
|
4115
3262
|
}
|
4116
3263
|
|
4117
3264
|
/**
|
@@ -4160,7 +3307,7 @@ export declare type ChatErrors = {
|
|
4160
3307
|
*
|
4161
3308
|
* @public
|
4162
3309
|
*/
|
4163
|
-
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' |
|
3310
|
+
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';
|
4164
3311
|
|
4165
3312
|
/**
|
4166
3313
|
* Object containing all the handlers required for chat components.
|
@@ -4177,9 +3324,7 @@ export declare type ChatHandlers = {
|
|
4177
3324
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
4178
3325
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
4179
3326
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
4180
|
-
onUpdateMessage: (messageId: string, content: string
|
4181
|
-
attachedFilesMetadata?: FileMetadata[];
|
4182
|
-
}) => Promise<void>;
|
3327
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
4183
3328
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
4184
3329
|
};
|
4185
3330
|
|
@@ -4206,12 +3351,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4206
3351
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
4207
3352
|
*/
|
4208
3353
|
metadata?: Record<string, string>;
|
4209
|
-
/**
|
4210
|
-
* @beta
|
4211
|
-
* A list of files attached to the message.
|
4212
|
-
* {@link FileMetadata}
|
4213
|
-
*/
|
4214
|
-
attachedFilesMetadata?: FileMetadata[];
|
4215
3354
|
}
|
4216
3355
|
|
4217
3356
|
/**
|
@@ -4225,7 +3364,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4225
3364
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
4226
3365
|
clientMessageId?: string;
|
4227
3366
|
status: MessageStatus;
|
4228
|
-
policyViolation?: boolean;
|
4229
3367
|
};
|
4230
3368
|
|
4231
3369
|
/**
|
@@ -4245,26 +3383,6 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
4245
3383
|
*/
|
4246
3384
|
export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
|
4247
3385
|
|
4248
|
-
/**
|
4249
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4250
|
-
*
|
4251
|
-
* @beta
|
4252
|
-
*/
|
4253
|
-
export declare interface ChatTheme {
|
4254
|
-
/**
|
4255
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4256
|
-
*
|
4257
|
-
* @beta
|
4258
|
-
*/
|
4259
|
-
chatPalette: {
|
4260
|
-
modalOverlayBlack: string;
|
4261
|
-
modalTitleWhite: string;
|
4262
|
-
modalButtonBackground: string;
|
4263
|
-
modalButtonBackgroundHover: string;
|
4264
|
-
modalButtonBackgroundActive: string;
|
4265
|
-
};
|
4266
|
-
}
|
4267
|
-
|
4268
3386
|
/**
|
4269
3387
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
4270
3388
|
*
|
@@ -4390,12 +3508,6 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
4390
3508
|
* @public
|
4391
3509
|
*/
|
4392
3510
|
startCall(participants: string[], options?: StartCallOptions): void;
|
4393
|
-
/**
|
4394
|
-
* Start the call.
|
4395
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
4396
|
-
* @beta
|
4397
|
-
*/
|
4398
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
4399
3511
|
}
|
4400
3512
|
|
4401
3513
|
/**
|
@@ -4411,12 +3523,6 @@ export declare type CommonCallAdapterOptions = {
|
|
4411
3523
|
videoBackgroundImages?: VideoBackgroundImage[];
|
4412
3524
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
4413
3525
|
};
|
4414
|
-
/**
|
4415
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4416
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4417
|
-
* and would not be updated again within the lifecycle of adapter.
|
4418
|
-
*/
|
4419
|
-
onFetchProfile?: OnFetchProfileCallback;
|
4420
3526
|
};
|
4421
3527
|
|
4422
3528
|
/**
|
@@ -4439,9 +3545,7 @@ export declare type CommonCallControlOptions = {
|
|
4439
3545
|
* Show or Hide Camera Button during a call
|
4440
3546
|
* @defaultValue true
|
4441
3547
|
*/
|
4442
|
-
cameraButton?: boolean
|
4443
|
-
disabled: boolean;
|
4444
|
-
};
|
3548
|
+
cameraButton?: boolean;
|
4445
3549
|
/**
|
4446
3550
|
* Show or Hide EndCall button during a call.
|
4447
3551
|
* @defaultValue true
|
@@ -4451,16 +3555,12 @@ export declare type CommonCallControlOptions = {
|
|
4451
3555
|
* Show or Hide Microphone button during a call.
|
4452
3556
|
* @defaultValue true
|
4453
3557
|
*/
|
4454
|
-
microphoneButton?: boolean
|
4455
|
-
disabled: boolean;
|
4456
|
-
};
|
3558
|
+
microphoneButton?: boolean;
|
4457
3559
|
/**
|
4458
3560
|
* Show or Hide Devices button during a call.
|
4459
3561
|
* @defaultValue true
|
4460
3562
|
*/
|
4461
|
-
devicesButton?: boolean
|
4462
|
-
disabled: boolean;
|
4463
|
-
};
|
3563
|
+
devicesButton?: boolean;
|
4464
3564
|
/**
|
4465
3565
|
* Show, Hide or Disable participants button during a call.
|
4466
3566
|
* @defaultValue true
|
@@ -4487,22 +3587,11 @@ export declare type CommonCallControlOptions = {
|
|
4487
3587
|
raiseHandButton?: boolean | {
|
4488
3588
|
disabled: boolean;
|
4489
3589
|
};
|
4490
|
-
/**
|
4491
|
-
* Inject custom buttons in the call controls.
|
4492
|
-
*
|
4493
|
-
* @beta
|
4494
|
-
*/
|
4495
|
-
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4496
|
-
holdButton?: boolean | {
|
4497
|
-
disabled: boolean;
|
4498
|
-
};
|
4499
3590
|
/**
|
4500
3591
|
* Show or hide the people button in the composite control bar.
|
4501
3592
|
* @defaultValue true
|
4502
3593
|
*/
|
4503
|
-
peopleButton?: boolean
|
4504
|
-
disabled: boolean;
|
4505
|
-
};
|
3594
|
+
peopleButton?: boolean;
|
4506
3595
|
};
|
4507
3596
|
|
4508
3597
|
/**
|
@@ -4527,9 +3616,6 @@ export declare interface CommonCallingHandlers {
|
|
4527
3616
|
onRaiseHand: () => Promise<void>;
|
4528
3617
|
onLowerHand: () => Promise<void>;
|
4529
3618
|
onToggleRaiseHand: () => Promise<void>;
|
4530
|
-
onToggleHold: () => Promise<void>;
|
4531
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4532
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4533
3619
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4534
3620
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4535
3621
|
/**
|
@@ -4539,10 +3625,7 @@ export declare interface CommonCallingHandlers {
|
|
4539
3625
|
onDisposeLocalStreamView: () => Promise<void>;
|
4540
3626
|
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
4541
3627
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4542
|
-
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4543
3628
|
onRemoveParticipant(userId: string): Promise<void>;
|
4544
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4545
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4546
3629
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
4547
3630
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4548
3631
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -4562,39 +3645,6 @@ export declare type CommonProperties<A, B> = {
|
|
4562
3645
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4563
3646
|
}[keyof A & keyof B];
|
4564
3647
|
|
4565
|
-
/**
|
4566
|
-
* @beta
|
4567
|
-
* Props for SitePermissions components.
|
4568
|
-
*/
|
4569
|
-
export declare interface CommonSitePermissionsProps {
|
4570
|
-
/**
|
4571
|
-
* Name of application calling experience is in.
|
4572
|
-
*/
|
4573
|
-
appName: string;
|
4574
|
-
/**
|
4575
|
-
* Kind of the Site Permissions component.
|
4576
|
-
*/
|
4577
|
-
kind: 'request' | 'denied' | 'check';
|
4578
|
-
/**
|
4579
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4580
|
-
*/
|
4581
|
-
browserHint?: 'safari' | 'unset';
|
4582
|
-
/**
|
4583
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4584
|
-
* If this is not provided the button will not be shown.
|
4585
|
-
*/
|
4586
|
-
onTroubleshootingClick?: () => void;
|
4587
|
-
/**
|
4588
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4589
|
-
* If this is not provided the button will not be shown.
|
4590
|
-
*/
|
4591
|
-
onContinueAnywayClick?: () => void;
|
4592
|
-
/**
|
4593
|
-
* Styles for SitePermissions component.
|
4594
|
-
*/
|
4595
|
-
styles?: SitePermissionsStyles;
|
4596
|
-
}
|
4597
|
-
|
4598
3648
|
/**
|
4599
3649
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4600
3650
|
*
|
@@ -4771,11 +3821,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4771
3821
|
export declare interface ComponentLocale {
|
4772
3822
|
/** Strings for components */
|
4773
3823
|
strings: ComponentStrings;
|
4774
|
-
/**
|
4775
|
-
* Optional function to provide customized date format.
|
4776
|
-
* @beta
|
4777
|
-
*/
|
4778
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4779
3824
|
}
|
4780
3825
|
|
4781
3826
|
/**
|
@@ -4821,62 +3866,16 @@ export declare interface ComponentStrings {
|
|
4821
3866
|
typingIndicator: TypingIndicatorStrings;
|
4822
3867
|
/** Strings for SendBox */
|
4823
3868
|
sendBox: SendBoxStrings;
|
4824
|
-
/** Strings for MentionPopover */
|
4825
|
-
mentionPopover: MentionPopoverStrings;
|
4826
|
-
/** Strings for ImageGallery */
|
4827
|
-
imageGallery: ImageGalleryStrings;
|
4828
3869
|
/** Strings for MessageStatusIndicator */
|
4829
3870
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
4830
3871
|
/** Strings for ErroBar */
|
4831
3872
|
errorBar: ErrorBarStrings;
|
4832
3873
|
/** Strings for VideoGallery */
|
4833
3874
|
videoGallery: VideoGalleryStrings;
|
4834
|
-
/** Strings for Dialpad */
|
4835
|
-
dialpad: DialpadStrings;
|
4836
|
-
/** Strings for VideoTile */
|
4837
|
-
videoTile: VideoTileStrings;
|
4838
|
-
/** Strings for HoldButton */
|
4839
|
-
holdButton: HoldButtonStrings;
|
4840
|
-
/** Strings for a site's permission request prompt */
|
4841
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4842
|
-
/** Strings for a site's permission request prompt */
|
4843
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4844
|
-
/** Strings for a site's permission request prompt */
|
4845
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4846
|
-
/** Strings for a site's permission generic checking prompt */
|
4847
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4848
|
-
/** Strings for a site's permission generic checking prompt */
|
4849
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4850
|
-
/** Strings for a site's permission generic checking prompt */
|
4851
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4852
|
-
/** Strings for a site's permission denied prompt */
|
4853
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4854
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4855
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4856
|
-
/** Strings for a site's permission denied prompt */
|
4857
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4858
|
-
/** Strings for a site's permission denied prompt */
|
4859
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4860
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4861
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4862
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4863
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4864
|
-
/** Strings for unsupported browser UI */
|
4865
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4866
|
-
/** Strings for unsupported browser version UI */
|
4867
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4868
|
-
/** Strings for unsupported browser version UI */
|
4869
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4870
|
-
/** Strings for BrowserPemissionDenied */
|
4871
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4872
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
4873
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4874
3875
|
/**
|
4875
3876
|
* Strings for the VerticalGallery.
|
4876
3877
|
*/
|
4877
|
-
|
4878
|
-
/** Strings for the participant list component */
|
4879
|
-
ParticipantList: ParticipantListStrings;
|
3878
|
+
verticalGallery: VerticalGalleryStrings;
|
4880
3879
|
}
|
4881
3880
|
|
4882
3881
|
/**
|
@@ -5233,7 +4232,7 @@ export declare interface ControlBarProps {
|
|
5233
4232
|
*
|
5234
4233
|
* @public
|
5235
4234
|
*/
|
5236
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator,
|
4235
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
5237
4236
|
|
5238
4237
|
/**
|
5239
4238
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -5251,7 +4250,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
5251
4250
|
*
|
5252
4251
|
* @public
|
5253
4252
|
*/
|
5254
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator,
|
4253
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5255
4254
|
|
5256
4255
|
/**
|
5257
4256
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -5262,7 +4261,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
5262
4261
|
*
|
5263
4262
|
* @public
|
5264
4263
|
*/
|
5265
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions
|
4264
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
5266
4265
|
|
5267
4266
|
/**
|
5268
4267
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -5281,9 +4280,7 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
5281
4280
|
*
|
5282
4281
|
* @public
|
5283
4282
|
*/
|
5284
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
5285
|
-
credential?: CommunicationTokenCredential;
|
5286
|
-
}): Promise<ChatAdapter>;
|
4283
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
|
5287
4284
|
|
5288
4285
|
/**
|
5289
4286
|
* Type of {@link createDefaultCallingHandlers}.
|
@@ -5314,18 +4311,6 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
5314
4311
|
*/
|
5315
4312
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
5316
4313
|
|
5317
|
-
/**
|
5318
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5319
|
-
*
|
5320
|
-
* Useful when implementing a custom component that utilizes the providers
|
5321
|
-
* exported from this library.
|
5322
|
-
*
|
5323
|
-
* @beta
|
5324
|
-
*/
|
5325
|
-
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?: {
|
5326
|
-
onResolveVideoBackgroundEffectsDependency?: (() => Promise<VideoBackgroundEffectsDependency>) | undefined;
|
5327
|
-
} | undefined) => never | TeamsCallingHandlers;
|
5328
|
-
|
5329
4314
|
/**
|
5330
4315
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
5331
4316
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -5351,21 +4336,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
5351
4336
|
*/
|
5352
4337
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
5353
4338
|
|
5354
|
-
/**
|
5355
|
-
* @beta
|
5356
|
-
*/
|
5357
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5358
|
-
|
5359
|
-
/**
|
5360
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5361
|
-
*
|
5362
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5363
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5364
|
-
*
|
5365
|
-
* @beta
|
5366
|
-
*/
|
5367
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
|
5368
|
-
|
5369
4339
|
/**
|
5370
4340
|
* Object returned after creating a local or remote VideoStream.
|
5371
4341
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -5416,152 +4386,14 @@ export declare type CustomAvatarOptions = {
|
|
5416
4386
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
5417
4387
|
/** Display name to be used in Persona */
|
5418
4388
|
text?: string;
|
5419
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5420
|
-
participantState?: ParticipantState;
|
5421
|
-
/**
|
5422
|
-
* If true, show the special coin for unknown persona.
|
5423
|
-
* It has '?' in place of initials, with static font and background colors
|
5424
|
-
*/
|
5425
|
-
showUnknownPersonaCoin?: boolean;
|
5426
4389
|
};
|
5427
4390
|
|
5428
4391
|
/**
|
5429
|
-
* A
|
4392
|
+
* A custom message type.
|
5430
4393
|
*
|
5431
|
-
*
|
4394
|
+
* Custom messages are not rendered by default, but applications can provide custom renderers for them.
|
5432
4395
|
*
|
5433
|
-
*
|
5434
|
-
* @beta
|
5435
|
-
*/
|
5436
|
-
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
5437
|
-
export { CustomCallControlButtonCallback }
|
5438
|
-
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
5439
|
-
|
5440
|
-
/**
|
5441
|
-
* Arguments for {@link CustomCallControlButtonCallback}.
|
5442
|
-
*
|
5443
|
-
* @beta
|
5444
|
-
*/
|
5445
|
-
export declare interface CustomCallControlButtonCallbackArgs {
|
5446
|
-
/**
|
5447
|
-
* Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
|
5448
|
-
*
|
5449
|
-
* @defaultValue `'default'`
|
5450
|
-
*/
|
5451
|
-
displayType?: CallControlDisplayType;
|
5452
|
-
}
|
5453
|
-
|
5454
|
-
/**
|
5455
|
-
* Placement for a custom button injected in the {@link CommonCallControlBar}.
|
5456
|
-
*
|
5457
|
-
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
5458
|
-
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
5459
|
-
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
5460
|
-
*
|
5461
|
-
* Multiple buttons assigned the same placement are appended in order.
|
5462
|
-
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
5463
|
-
* in the order provided.
|
5464
|
-
*
|
5465
|
-
* Only 'primary' placement works when legacy call control is enabled in call composite
|
5466
|
-
*
|
5467
|
-
* @beta
|
5468
|
-
*/
|
5469
|
-
declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
5470
|
-
export { CustomCallControlButtonPlacement }
|
5471
|
-
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
5472
|
-
|
5473
|
-
/**
|
5474
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
5475
|
-
*
|
5476
|
-
* Includes the placement prop necessary to indicate where to place the
|
5477
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5478
|
-
*
|
5479
|
-
* @beta
|
5480
|
-
*/
|
5481
|
-
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
5482
|
-
/**
|
5483
|
-
* Where to place the custom button relative to other buttons.
|
5484
|
-
*/
|
5485
|
-
placement: CustomCallControlButtonPlacement;
|
5486
|
-
/**
|
5487
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5488
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5489
|
-
*/
|
5490
|
-
iconName?: string;
|
5491
|
-
}
|
5492
|
-
|
5493
|
-
/**
|
5494
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
5495
|
-
*
|
5496
|
-
* Includes the icon and placement prop necessary to indicate where to place the
|
5497
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5498
|
-
*
|
5499
|
-
* @beta
|
5500
|
-
*/
|
5501
|
-
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
5502
|
-
/**
|
5503
|
-
* Where to place the custom button relative to other buttons.
|
5504
|
-
*/
|
5505
|
-
placement: CustomCallControlButtonPlacement;
|
5506
|
-
/**
|
5507
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5508
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5509
|
-
*/
|
5510
|
-
iconName?: string;
|
5511
|
-
}
|
5512
|
-
|
5513
|
-
/**
|
5514
|
-
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
5515
|
-
*
|
5516
|
-
* @beta
|
5517
|
-
*/
|
5518
|
-
export declare interface CustomControlButtonProps {
|
5519
|
-
/**
|
5520
|
-
* Calback for when button is clicked
|
5521
|
-
*/
|
5522
|
-
onItemClick?: () => void;
|
5523
|
-
/**
|
5524
|
-
* Whether the buttons is disabled
|
5525
|
-
*/
|
5526
|
-
disabled?: boolean;
|
5527
|
-
/**
|
5528
|
-
* Whether the label is displayed or not.
|
5529
|
-
*
|
5530
|
-
* @defaultValue `false`
|
5531
|
-
*/
|
5532
|
-
showLabel?: boolean;
|
5533
|
-
/**
|
5534
|
-
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
5535
|
-
*/
|
5536
|
-
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
5537
|
-
/**
|
5538
|
-
* Optional label for the button
|
5539
|
-
*/
|
5540
|
-
text?: string;
|
5541
|
-
/**
|
5542
|
-
* A unique key for the button
|
5543
|
-
*/
|
5544
|
-
key?: string | number;
|
5545
|
-
/**
|
5546
|
-
* The aria label of the button for the benefit of screen readers.
|
5547
|
-
*/
|
5548
|
-
ariaLabel?: string;
|
5549
|
-
/**
|
5550
|
-
* Detailed description of the button for the benefit of screen readers.
|
5551
|
-
*/
|
5552
|
-
ariaDescription?: string;
|
5553
|
-
/**
|
5554
|
-
* A unique id set for the standard HTML id attibute
|
5555
|
-
*/
|
5556
|
-
id?: string;
|
5557
|
-
}
|
5558
|
-
|
5559
|
-
/**
|
5560
|
-
* A custom message type.
|
5561
|
-
*
|
5562
|
-
* Custom messages are not rendered by default, but applications can provide custom renderers for them.
|
5563
|
-
*
|
5564
|
-
* @public
|
4396
|
+
* @public
|
5565
4397
|
*/
|
5566
4398
|
export declare interface CustomMessage extends MessageCommon {
|
5567
4399
|
messageType: 'custom';
|
@@ -5573,19 +4405,7 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5573
4405
|
*
|
5574
4406
|
* @public
|
5575
4407
|
*/
|
5576
|
-
export declare const darkTheme: PartialTheme & CallingTheme
|
5577
|
-
|
5578
|
-
/**
|
5579
|
-
* @beta
|
5580
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5581
|
-
*/
|
5582
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
5583
|
-
|
5584
|
-
/**
|
5585
|
-
* @beta
|
5586
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5587
|
-
*/
|
5588
|
-
export declare type DeclarativeIncomingCall = IncomingCall;
|
4408
|
+
export declare const darkTheme: PartialTheme & CallingTheme;
|
5589
4409
|
|
5590
4410
|
/**
|
5591
4411
|
* The default set of icons that are available to use in the UI components.
|
@@ -5603,16 +4423,12 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5603
4423
|
ControlButtonMicOn: JSX.Element;
|
5604
4424
|
ControlButtonOptions: JSX.Element;
|
5605
4425
|
ControlButtonParticipants: JSX.Element;
|
5606
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5607
4426
|
ControlButtonScreenShareStart: JSX.Element;
|
5608
4427
|
ControlButtonScreenShareStop: JSX.Element;
|
5609
4428
|
ControlButtonRaiseHand: JSX.Element;
|
5610
4429
|
ControlButtonLowerHand: JSX.Element;
|
5611
4430
|
RaiseHandContextualMenuItem: JSX.Element;
|
5612
4431
|
LowerHandContextualMenuItem: JSX.Element;
|
5613
|
-
CancelFileUpload: JSX.Element;
|
5614
|
-
DownloadFile: JSX.Element;
|
5615
|
-
DataLossPreventionProhibited: JSX.Element;
|
5616
4432
|
EditBoxCancel: JSX.Element;
|
5617
4433
|
EditBoxSubmit: JSX.Element;
|
5618
4434
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -5645,20 +4461,9 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5645
4461
|
ParticipantItemOptions: JSX.Element;
|
5646
4462
|
ParticipantItemOptionsHovered: JSX.Element;
|
5647
4463
|
ParticipantItemScreenShareStart: JSX.Element;
|
5648
|
-
HoldCallContextualMenuItem: JSX.Element;
|
5649
|
-
HoldCallButton: JSX.Element;
|
5650
|
-
ResumeCall: JSX.Element;
|
5651
4464
|
SendBoxSend: JSX.Element;
|
5652
4465
|
SendBoxSendHovered: JSX.Element;
|
5653
4466
|
VideoTileMicOff: JSX.Element;
|
5654
|
-
DialpadBackspace: JSX.Element;
|
5655
|
-
SitePermissionsSparkle: JSX.Element;
|
5656
|
-
SitePermissionCamera: JSX.Element;
|
5657
|
-
SitePermissionMic: JSX.Element;
|
5658
|
-
SitePermissionCameraDenied: JSX.Element;
|
5659
|
-
SitePermissionMicDenied: JSX.Element;
|
5660
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5661
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5662
4467
|
VideoTilePinned: JSX.Element;
|
5663
4468
|
VideoTileMoreOptions: JSX.Element;
|
5664
4469
|
VideoTileScaleFit: JSX.Element;
|
@@ -5701,7 +4506,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5701
4506
|
ParticipantItemOptionsHovered: JSX.Element;
|
5702
4507
|
SendBoxSend: JSX.Element;
|
5703
4508
|
SendBoxSendHovered: JSX.Element;
|
5704
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5705
4509
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
5706
4510
|
ControlButtonCameraOff: JSX.Element;
|
5707
4511
|
ControlButtonCameraOn: JSX.Element;
|
@@ -5751,10 +4555,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5751
4555
|
ParticipantItemScreenShareStart: JSX.Element;
|
5752
4556
|
VideoTileMicOff: JSX.Element;
|
5753
4557
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5754
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5755
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5756
|
-
DialpadStartCall?: JSX.Element | undefined;
|
5757
|
-
NoticePageAccessDeniedRoomsCall?: JSX.Element | undefined;
|
5758
4558
|
BlurVideoBackground?: JSX.Element | undefined;
|
5759
4559
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
5760
4560
|
GalleryOptions?: JSX.Element | undefined;
|
@@ -5773,25 +4573,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5773
4573
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5774
4574
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5775
4575
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
4576
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
5776
4577
|
ChatMessageOptions: JSX.Element;
|
5777
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5778
|
-
CancelFileUpload: JSX.Element;
|
5779
|
-
DownloadFile: JSX.Element;
|
5780
|
-
DataLossPreventionProhibited: JSX.Element;
|
5781
4578
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
5782
4579
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
5783
4580
|
MessageResend: JSX.Element;
|
5784
|
-
HoldCallContextualMenuItem: JSX.Element;
|
5785
|
-
HoldCallButton: JSX.Element;
|
5786
|
-
ResumeCall: JSX.Element;
|
5787
|
-
DialpadBackspace: JSX.Element;
|
5788
|
-
SitePermissionsSparkle: JSX.Element;
|
5789
|
-
SitePermissionCamera: JSX.Element;
|
5790
|
-
SitePermissionMic: JSX.Element;
|
5791
|
-
SitePermissionCameraDenied: JSX.Element;
|
5792
|
-
SitePermissionMicDenied: JSX.Element;
|
5793
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5794
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5795
4581
|
VideoTilePinned: JSX.Element;
|
5796
4582
|
VideoTileMoreOptions: JSX.Element;
|
5797
4583
|
VideoTileScaleFit: JSX.Element;
|
@@ -5816,29 +4602,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5816
4602
|
ContextMenuSpeakerIcon: JSX.Element;
|
5817
4603
|
};
|
5818
4604
|
|
5819
|
-
/**
|
5820
|
-
* Device Checks.
|
5821
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5822
|
-
*
|
5823
|
-
* @beta
|
5824
|
-
*/
|
5825
|
-
export declare interface DeviceCheckOptions {
|
5826
|
-
/**
|
5827
|
-
* Camera Permission prompts for your call.
|
5828
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5829
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5830
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5831
|
-
*/
|
5832
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
5833
|
-
/**
|
5834
|
-
* Microphone permission prompts for your call.
|
5835
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5836
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5837
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5838
|
-
*/
|
5839
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5840
|
-
}
|
5841
|
-
|
5842
4605
|
/**
|
5843
4606
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
5844
4607
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -6057,60 +4820,6 @@ export declare interface DiagnosticsCallFeatureState {
|
|
6057
4820
|
media: MediaDiagnosticsState;
|
6058
4821
|
}
|
6059
4822
|
|
6060
|
-
/**
|
6061
|
-
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
6062
|
-
* It will return empty component for stable builds
|
6063
|
-
*
|
6064
|
-
* @beta
|
6065
|
-
*/
|
6066
|
-
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
6067
|
-
|
6068
|
-
/**
|
6069
|
-
* Props for {@link Dialpad} component.
|
6070
|
-
*
|
6071
|
-
* @beta
|
6072
|
-
*/
|
6073
|
-
export declare interface DialpadProps {
|
6074
|
-
strings?: DialpadStrings;
|
6075
|
-
/** function to send dtmf tones on button click */
|
6076
|
-
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
6077
|
-
/** Callback for dialpad button behavior*/
|
6078
|
-
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
6079
|
-
/** set dialpad textfield content */
|
6080
|
-
textFieldValue?: string;
|
6081
|
-
/** on change function for text field, provides an unformatted plain text*/
|
6082
|
-
onChange?: (input: string) => void;
|
6083
|
-
/** boolean input to determine when to show/hide delete button, default true */
|
6084
|
-
showDeleteButton?: boolean;
|
6085
|
-
/** boolean input to determine if dialpad is in mobile view, default false */
|
6086
|
-
isMobile?: boolean;
|
6087
|
-
styles?: DialpadStyles;
|
6088
|
-
}
|
6089
|
-
|
6090
|
-
/**
|
6091
|
-
* Strings of {@link Dialpad} that can be overridden.
|
6092
|
-
*
|
6093
|
-
* @beta
|
6094
|
-
*/
|
6095
|
-
export declare interface DialpadStrings {
|
6096
|
-
placeholderText: string;
|
6097
|
-
deleteButtonAriaLabel?: string;
|
6098
|
-
}
|
6099
|
-
|
6100
|
-
/**
|
6101
|
-
* Styles for {@link Dialpad} component.
|
6102
|
-
*
|
6103
|
-
* @beta
|
6104
|
-
*/
|
6105
|
-
export declare interface DialpadStyles {
|
6106
|
-
root?: IStyle;
|
6107
|
-
button?: IButtonStyles;
|
6108
|
-
textField?: Partial<ITextFieldStyles>;
|
6109
|
-
digit?: IStyle;
|
6110
|
-
letter?: IStyle;
|
6111
|
-
deleteIcon?: IButtonStyles;
|
6112
|
-
}
|
6113
|
-
|
6114
4823
|
/**
|
6115
4824
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
6116
4825
|
*
|
@@ -6131,13 +4840,6 @@ export declare interface Disposable {
|
|
6131
4840
|
dispose(): void;
|
6132
4841
|
}
|
6133
4842
|
|
6134
|
-
/**
|
6135
|
-
* DTMF tone for PSTN calls.
|
6136
|
-
*
|
6137
|
-
* @beta
|
6138
|
-
*/
|
6139
|
-
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
6140
|
-
|
6141
4843
|
/**
|
6142
4844
|
* A type for trivial selectors that return no data.
|
6143
4845
|
*
|
@@ -6391,199 +5093,6 @@ export declare interface ErrorBarStrings {
|
|
6391
5093
|
*/
|
6392
5094
|
export declare type ErrorType = keyof ErrorBarStrings;
|
6393
5095
|
|
6394
|
-
/**
|
6395
|
-
* @beta
|
6396
|
-
* A file download error returned via a {@link FileDownloadHandler}.
|
6397
|
-
* This error message is used to render an error message in the UI.
|
6398
|
-
*/
|
6399
|
-
export declare interface FileDownloadError {
|
6400
|
-
/** The error message to display in the UI */
|
6401
|
-
errorMessage: string;
|
6402
|
-
}
|
6403
|
-
|
6404
|
-
/**
|
6405
|
-
* @beta
|
6406
|
-
*
|
6407
|
-
* A callback function for handling file downloads.
|
6408
|
-
* The function needs to return a promise that resolves to a file download URL.
|
6409
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6410
|
-
*
|
6411
|
-
* @example
|
6412
|
-
* ```ts
|
6413
|
-
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6414
|
-
* if (isUnauthorizedUser(userId)) {
|
6415
|
-
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6416
|
-
* } else {
|
6417
|
-
* return new URL(fileData.url);
|
6418
|
-
* }
|
6419
|
-
* }
|
6420
|
-
*
|
6421
|
-
* const App = () => (
|
6422
|
-
* <ChatComposite
|
6423
|
-
* ...
|
6424
|
-
* fileSharing={{
|
6425
|
-
* fileDownloadHandler: fileDownloadHandler
|
6426
|
-
* }}
|
6427
|
-
* />
|
6428
|
-
* )
|
6429
|
-
*
|
6430
|
-
* ```
|
6431
|
-
* @param userId - The user ID of the user downloading the file.
|
6432
|
-
* @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
|
6433
|
-
*/
|
6434
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
|
6435
|
-
|
6436
|
-
/**
|
6437
|
-
* Meta Data containing information about the uploaded file.
|
6438
|
-
* @beta
|
6439
|
-
*/
|
6440
|
-
export declare type FileMetadata = FileSharingMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ ImageFileMetadata;
|
6441
|
-
|
6442
|
-
/**
|
6443
|
-
* @beta
|
6444
|
-
*/
|
6445
|
-
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
|
6446
|
-
|
6447
|
-
/**
|
6448
|
-
* Meta Data containing basic information about the uploaded file.
|
6449
|
-
* Typically used for ACS to ACS file transfers.
|
6450
|
-
* @beta
|
6451
|
-
*/
|
6452
|
-
export declare interface FileSharingMetadata extends BaseFileMetadata {
|
6453
|
-
attachmentType: 'fileSharing';
|
6454
|
-
payload?: Record<string, string>;
|
6455
|
-
}
|
6456
|
-
|
6457
|
-
/**
|
6458
|
-
* Properties for configuring the File Sharing feature.
|
6459
|
-
* @beta
|
6460
|
-
*/
|
6461
|
-
export declare interface FileSharingOptions {
|
6462
|
-
/**
|
6463
|
-
* A string containing the comma separated list of accepted file types.
|
6464
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6465
|
-
* Accepts any type of file if not specified.
|
6466
|
-
* @beta
|
6467
|
-
*/
|
6468
|
-
accept?: string;
|
6469
|
-
/**
|
6470
|
-
* Allows multiple files to be selected if set to `true`.
|
6471
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6472
|
-
* @defaultValue false
|
6473
|
-
* @beta
|
6474
|
-
*/
|
6475
|
-
multiple?: boolean;
|
6476
|
-
/**
|
6477
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6478
|
-
* @beta
|
6479
|
-
*/
|
6480
|
-
uploadHandler: FileUploadHandler;
|
6481
|
-
/**
|
6482
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6483
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6484
|
-
* initiate the download.
|
6485
|
-
*/
|
6486
|
-
downloadHandler?: FileDownloadHandler;
|
6487
|
-
}
|
6488
|
-
|
6489
|
-
/**
|
6490
|
-
* @beta
|
6491
|
-
*/
|
6492
|
-
export declare interface FileUploadAdapter {
|
6493
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6494
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
6495
|
-
clearFileUploads: () => void;
|
6496
|
-
cancelFileUpload: (id: string) => void;
|
6497
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
6498
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6499
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
6500
|
-
}
|
6501
|
-
|
6502
|
-
/**
|
6503
|
-
* @beta
|
6504
|
-
* Error message to be displayed to the user if the upload fails.
|
6505
|
-
*/
|
6506
|
-
export declare type FileUploadError = {
|
6507
|
-
message: string;
|
6508
|
-
timestamp: number;
|
6509
|
-
};
|
6510
|
-
|
6511
|
-
/**
|
6512
|
-
* @beta
|
6513
|
-
* A callback function for handling file uploads.
|
6514
|
-
*
|
6515
|
-
* @param userId - The user ID of the user uploading the file.
|
6516
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6517
|
-
*/
|
6518
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6519
|
-
|
6520
|
-
/**
|
6521
|
-
* A wrapper object for a file that is being uploaded.
|
6522
|
-
* Allows mmanaging file uploads by providing common functions for updating the
|
6523
|
-
* upload progress, canceling an upload, completing an upload etc.
|
6524
|
-
* @beta
|
6525
|
-
*/
|
6526
|
-
export declare interface FileUploadManager {
|
6527
|
-
/**
|
6528
|
-
* Unique identifier for the file upload.
|
6529
|
-
*/
|
6530
|
-
id: string;
|
6531
|
-
/**
|
6532
|
-
* HTML {@link File} object for the uploaded file.
|
6533
|
-
*/
|
6534
|
-
file?: File;
|
6535
|
-
/**
|
6536
|
-
* Update the progress of the upload.
|
6537
|
-
* @param value - number between 0 and 1
|
6538
|
-
*/
|
6539
|
-
notifyUploadProgressChanged: (value: number) => void;
|
6540
|
-
/**
|
6541
|
-
* Mark the upload as complete.
|
6542
|
-
* Requires the `metadata` param containing uploaded file information.
|
6543
|
-
* @param metadata - {@link FileMetadata}
|
6544
|
-
*/
|
6545
|
-
notifyUploadCompleted: (metadata: FileMetadata) => void;
|
6546
|
-
/**
|
6547
|
-
* Mark the upload as failed.
|
6548
|
-
* @param message - An error message that can be displayed to the user.
|
6549
|
-
*/
|
6550
|
-
notifyUploadFailed: (message: string) => void;
|
6551
|
-
}
|
6552
|
-
|
6553
|
-
/**
|
6554
|
-
* Contains the state attibutes of a file upload like name, progress etc.
|
6555
|
-
* @beta
|
6556
|
-
*/
|
6557
|
-
export declare interface FileUploadState {
|
6558
|
-
/**
|
6559
|
-
* Unique identifier for the file upload.
|
6560
|
-
*/
|
6561
|
-
id: string;
|
6562
|
-
/**
|
6563
|
-
* Filename extracted from the {@link File} object.
|
6564
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
6565
|
-
*/
|
6566
|
-
filename: string;
|
6567
|
-
/**
|
6568
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
6569
|
-
*/
|
6570
|
-
progress: number;
|
6571
|
-
/**
|
6572
|
-
* Meta Data {@link FileMetadata} containing information about the uploaded file.
|
6573
|
-
*/
|
6574
|
-
metadata?: FileMetadata;
|
6575
|
-
/**
|
6576
|
-
* Error message to be displayed to the user if the upload fails.
|
6577
|
-
*/
|
6578
|
-
error?: FileUploadError;
|
6579
|
-
}
|
6580
|
-
|
6581
|
-
/**
|
6582
|
-
* A record containing {@link FileUploadState} mapped to unique ids.
|
6583
|
-
* @beta
|
6584
|
-
*/
|
6585
|
-
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
6586
|
-
|
6587
5096
|
/**
|
6588
5097
|
* Provider to apply a Fluent theme across this library's react components.
|
6589
5098
|
*
|
@@ -6623,7 +5132,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
6623
5132
|
*
|
6624
5133
|
* @public
|
6625
5134
|
*/
|
6626
|
-
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 :
|
5135
|
+
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;
|
6627
5136
|
|
6628
5137
|
/**
|
6629
5138
|
* Get the selector for a specified component.
|
@@ -6685,63 +5194,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
6685
5194
|
children?: IStyle;
|
6686
5195
|
}
|
6687
5196
|
|
6688
|
-
/**
|
6689
|
-
* a button to hold or resume a ongoing call.
|
6690
|
-
*
|
6691
|
-
* Can be used with {@link ControlBar}
|
6692
|
-
*
|
6693
|
-
* @param props - properties for the hold button.
|
6694
|
-
* @returns
|
6695
|
-
* @beta
|
6696
|
-
*/
|
6697
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6698
|
-
|
6699
|
-
/**
|
6700
|
-
*@beta
|
6701
|
-
*/
|
6702
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6703
|
-
/**
|
6704
|
-
* Utility property for using this component with communication react handlers
|
6705
|
-
* Holds the call or resumes it based on call state.
|
6706
|
-
*/
|
6707
|
-
onToggleHold: () => Promise<void>;
|
6708
|
-
/**
|
6709
|
-
* Optional strings to override in component
|
6710
|
-
*/
|
6711
|
-
strings?: HoldButtonStrings;
|
6712
|
-
}
|
6713
|
-
|
6714
|
-
/**
|
6715
|
-
* Selector type for the {@link HoldButton} component.
|
6716
|
-
* @public
|
6717
|
-
*/
|
6718
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6719
|
-
checked: boolean;
|
6720
|
-
};
|
6721
|
-
|
6722
|
-
/**
|
6723
|
-
* Strings for the hold button labels
|
6724
|
-
* @beta
|
6725
|
-
*/
|
6726
|
-
export declare interface HoldButtonStrings {
|
6727
|
-
/**
|
6728
|
-
* Label for when action is to resume call.
|
6729
|
-
*/
|
6730
|
-
onLabel: string;
|
6731
|
-
/**
|
6732
|
-
* Label for when action is to hold call.
|
6733
|
-
*/
|
6734
|
-
offLabel: string;
|
6735
|
-
/**
|
6736
|
-
* Content for when button is checked
|
6737
|
-
*/
|
6738
|
-
tooltipOnContent: string;
|
6739
|
-
/**
|
6740
|
-
* Content for when button is unchecked
|
6741
|
-
*/
|
6742
|
-
tooltipOffContent: string;
|
6743
|
-
}
|
6744
|
-
|
6745
5197
|
/**
|
6746
5198
|
* {@link HorizontalGallery} Component Styles.
|
6747
5199
|
* @public
|
@@ -6826,108 +5278,8 @@ export declare interface _Identifiers {
|
|
6826
5278
|
verticalGalleryVideoTile: string;
|
6827
5279
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6828
5280
|
verticalGalleryPageCounter: string;
|
6829
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
6830
|
-
mentionSuggestionList: string;
|
6831
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
6832
|
-
mentionSuggestionItem: string;
|
6833
|
-
}
|
6834
|
-
|
6835
|
-
/**
|
6836
|
-
* Meta Data containing data for images.
|
6837
|
-
* @beta
|
6838
|
-
*/
|
6839
|
-
export declare interface ImageFileMetadata extends BaseFileMetadata {
|
6840
|
-
attachmentType: 'inlineImage';
|
6841
|
-
previewUrl?: string;
|
6842
|
-
}
|
6843
|
-
|
6844
|
-
/**
|
6845
|
-
* Component to render a fullscreen modal for a selected image.
|
6846
|
-
*
|
6847
|
-
* @beta
|
6848
|
-
*/
|
6849
|
-
export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
|
6850
|
-
|
6851
|
-
/**
|
6852
|
-
* Props for {@link ImageGallery}.
|
6853
|
-
*
|
6854
|
-
* @beta
|
6855
|
-
*/
|
6856
|
-
export declare interface ImageGalleryImageProps {
|
6857
|
-
/** Image Url used to display the image in a large scale. */
|
6858
|
-
imageUrl: string;
|
6859
|
-
/** String used as a file name when downloading this image to user's local device. */
|
6860
|
-
downloadFilename: string;
|
6861
|
-
/** Optional string used as a alt text for the image. @default 'image' */
|
6862
|
-
altText?: string;
|
6863
|
-
/** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
|
6864
|
-
title?: string;
|
6865
|
-
/** Optional JSX element used as a title icon and displayed to the left of the title element. */
|
6866
|
-
titleIcon?: JSX.Element;
|
6867
5281
|
}
|
6868
5282
|
|
6869
|
-
/**
|
6870
|
-
* Props for {@link ImageGallery}.
|
6871
|
-
*
|
6872
|
-
* @beta
|
6873
|
-
*/
|
6874
|
-
export declare interface ImageGalleryProps {
|
6875
|
-
/**
|
6876
|
-
* Boolean that controls whether the modal is displayed.
|
6877
|
-
*/
|
6878
|
-
isOpen: boolean;
|
6879
|
-
/**
|
6880
|
-
* Array of images used to populate the ImageGallery
|
6881
|
-
*/
|
6882
|
-
images: Array<ImageGalleryImageProps>;
|
6883
|
-
/**
|
6884
|
-
* Callback to invoke when the ImageGallery modal is dismissed
|
6885
|
-
*/
|
6886
|
-
onDismiss: () => void;
|
6887
|
-
/**
|
6888
|
-
* Callback called when the download button is clicked.
|
6889
|
-
*/
|
6890
|
-
onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
|
6891
|
-
/**
|
6892
|
-
* Callback called when there's an error loading the image.
|
6893
|
-
*/
|
6894
|
-
onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
|
6895
|
-
/**
|
6896
|
-
* Indicating which index of the images array to start with.
|
6897
|
-
*/
|
6898
|
-
startIndex?: number;
|
6899
|
-
}
|
6900
|
-
|
6901
|
-
/**
|
6902
|
-
* Strings of {@link ImageGallery} that can be overridden.
|
6903
|
-
*
|
6904
|
-
* @beta
|
6905
|
-
*/
|
6906
|
-
export declare interface ImageGalleryStrings {
|
6907
|
-
/**
|
6908
|
-
* Download button label for ImageGallery
|
6909
|
-
*/
|
6910
|
-
downloadButtonLabel: string;
|
6911
|
-
/**
|
6912
|
-
* Dismiss button aria label for ImageGallery
|
6913
|
-
*/
|
6914
|
-
dismissButtonAriaLabel: string;
|
6915
|
-
}
|
6916
|
-
|
6917
|
-
/**
|
6918
|
-
* @beta
|
6919
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
6920
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
6921
|
-
*/
|
6922
|
-
export declare type IncomingCallManagement = {
|
6923
|
-
/**
|
6924
|
-
* @beta
|
6925
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
6926
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
6927
|
-
*/
|
6928
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
6929
|
-
};
|
6930
|
-
|
6931
5283
|
/**
|
6932
5284
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
6933
5285
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -7058,7 +5410,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
7058
5410
|
*
|
7059
5411
|
* @public
|
7060
5412
|
*/
|
7061
|
-
export declare const lightTheme: PartialTheme & CallingTheme
|
5413
|
+
export declare const lightTheme: PartialTheme & CallingTheme;
|
7062
5414
|
|
7063
5415
|
/**
|
7064
5416
|
* Whether the stream is loading or not.
|
@@ -7142,31 +5494,6 @@ export declare interface LocalVideoStreamVideoEffectsState {
|
|
7142
5494
|
activeEffects?: VideoEffectName[];
|
7143
5495
|
}
|
7144
5496
|
|
7145
|
-
/**
|
7146
|
-
* Options for the local video tile in the Call composite.
|
7147
|
-
*
|
7148
|
-
* @beta
|
7149
|
-
*/
|
7150
|
-
export declare interface LocalVideoTileOptions {
|
7151
|
-
/**
|
7152
|
-
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
7153
|
-
*
|
7154
|
-
* @defaultValue 'floating'
|
7155
|
-
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
7156
|
-
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
7157
|
-
* local video tile rules and be docked in the bottom corner.
|
7158
|
-
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
7159
|
-
*/
|
7160
|
-
position?: 'grid' | 'floating';
|
7161
|
-
}
|
7162
|
-
|
7163
|
-
/**
|
7164
|
-
* different modes of the local video tile
|
7165
|
-
*
|
7166
|
-
* @beta
|
7167
|
-
*/
|
7168
|
-
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
7169
|
-
|
7170
5497
|
/**
|
7171
5498
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
7172
5499
|
*
|
@@ -7177,82 +5504,12 @@ export declare type MediaDiagnosticChangedEvent = MediaDiagnosticChangedEventArg
|
|
7177
5504
|
};
|
7178
5505
|
|
7179
5506
|
/**
|
7180
|
-
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7181
|
-
*
|
7182
|
-
* @public
|
7183
|
-
*/
|
7184
|
-
export declare interface MediaDiagnosticsState {
|
7185
|
-
latest: LatestMediaDiagnostics;
|
7186
|
-
}
|
7187
|
-
|
7188
|
-
/**
|
7189
|
-
* Mention's state, as reflected in the UI.
|
7190
|
-
*
|
7191
|
-
* @beta
|
7192
|
-
*/
|
7193
|
-
export declare interface Mention {
|
7194
|
-
/** ID of a mention */
|
7195
|
-
id: string;
|
7196
|
-
/** Display text of a mention */
|
7197
|
-
displayText: string;
|
7198
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
7199
|
-
icon?: JSX.Element;
|
7200
|
-
}
|
7201
|
-
|
7202
|
-
/**
|
7203
|
-
* Options to display suggestions in the mention scenario.
|
7204
|
-
*
|
7205
|
-
* @beta
|
7206
|
-
*/
|
7207
|
-
export declare interface MentionDisplayOptions {
|
7208
|
-
/**
|
7209
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
7210
|
-
*/
|
7211
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7212
|
-
}
|
7213
|
-
|
7214
|
-
/**
|
7215
|
-
* Options to lookup suggestions in the mention scenario.
|
7216
|
-
*
|
7217
|
-
* @beta
|
7218
|
-
*/
|
7219
|
-
export declare interface MentionLookupOptions {
|
7220
|
-
/**
|
7221
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
7222
|
-
*
|
7223
|
-
* @defaultValue `@`
|
7224
|
-
*/
|
7225
|
-
trigger?: string;
|
7226
|
-
/**
|
7227
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
7228
|
-
*/
|
7229
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7230
|
-
/**
|
7231
|
-
* Optional callback to render an item of the mention suggestions list.
|
7232
|
-
*/
|
7233
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
7234
|
-
}
|
7235
|
-
|
7236
|
-
/**
|
7237
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
7238
|
-
*
|
7239
|
-
* @beta
|
7240
|
-
*/
|
7241
|
-
export declare type MentionOptions = {
|
7242
|
-
lookupOptions?: MentionLookupOptions;
|
7243
|
-
displayOptions?: MentionDisplayOptions;
|
7244
|
-
};
|
7245
|
-
|
7246
|
-
/**
|
7247
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
5507
|
+
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7248
5508
|
*
|
7249
|
-
* @
|
5509
|
+
* @public
|
7250
5510
|
*/
|
7251
|
-
export declare interface
|
7252
|
-
|
7253
|
-
* Header text for MentionPopover
|
7254
|
-
*/
|
7255
|
-
mentionPopoverHeader: string;
|
5511
|
+
export declare interface MediaDiagnosticsState {
|
5512
|
+
latest: LatestMediaDiagnostics;
|
7256
5513
|
}
|
7257
5514
|
|
7258
5515
|
/**
|
@@ -7262,7 +5519,7 @@ export declare interface MentionPopoverStrings {
|
|
7262
5519
|
*
|
7263
5520
|
* @public
|
7264
5521
|
*/
|
7265
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
5522
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7266
5523
|
|
7267
5524
|
/**
|
7268
5525
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -7482,7 +5739,7 @@ export declare type MessageThreadProps = {
|
|
7482
5739
|
/**
|
7483
5740
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
7484
5741
|
*/
|
7485
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
5742
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7486
5743
|
/**
|
7487
5744
|
* number of participants in the thread
|
7488
5745
|
*/
|
@@ -7564,17 +5821,6 @@ export declare type MessageThreadProps = {
|
|
7564
5821
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
7565
5822
|
*/
|
7566
5823
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7567
|
-
/**
|
7568
|
-
* Optional callback to render uploaded files in the message component.
|
7569
|
-
* @beta
|
7570
|
-
*/
|
7571
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7572
|
-
/**
|
7573
|
-
* Optional callback to retrieve the inline image in a message.
|
7574
|
-
* @param attachment - FileMetadata object we want to render
|
7575
|
-
* @beta
|
7576
|
-
*/
|
7577
|
-
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
7578
5824
|
/**
|
7579
5825
|
* Optional callback to edit a message.
|
7580
5826
|
*
|
@@ -7616,28 +5862,6 @@ export declare type MessageThreadProps = {
|
|
7616
5862
|
* Optional strings to override in component
|
7617
5863
|
*/
|
7618
5864
|
strings?: Partial<MessageThreadStrings>;
|
7619
|
-
/**
|
7620
|
-
* @beta
|
7621
|
-
* Optional function called when someone clicks on the file download icon.
|
7622
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7623
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
7624
|
-
*/
|
7625
|
-
fileDownloadHandler?: FileDownloadHandler;
|
7626
|
-
/**
|
7627
|
-
* Optional function to provide customized date format.
|
7628
|
-
* @beta
|
7629
|
-
*/
|
7630
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7631
|
-
/**
|
7632
|
-
* Optional props needed to lookup a mention query and display mentions
|
7633
|
-
* @beta
|
7634
|
-
*/
|
7635
|
-
mentionOptions?: MentionOptions;
|
7636
|
-
/**
|
7637
|
-
* Optional callback called when an inline image is clicked.
|
7638
|
-
* @beta
|
7639
|
-
*/
|
7640
|
-
onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
|
7641
5865
|
};
|
7642
5866
|
|
7643
5867
|
/**
|
@@ -7709,14 +5933,6 @@ export declare interface MessageThreadStrings {
|
|
7709
5933
|
editBoxSubmitButton: string;
|
7710
5934
|
/** String for action menu indicating there are more options */
|
7711
5935
|
actionMenuMoreOptions?: string;
|
7712
|
-
/** String for download file button in file card */
|
7713
|
-
downloadFile: string;
|
7714
|
-
/** String for policy violation message removal */
|
7715
|
-
blockedWarningText: string;
|
7716
|
-
/** String for policy violation message removal details link */
|
7717
|
-
blockedWarningLinkText: string;
|
7718
|
-
/** String for aria text in file attachment group*/
|
7719
|
-
fileCardGroupMessage: string;
|
7720
5936
|
}
|
7721
5937
|
|
7722
5938
|
/**
|
@@ -7744,7 +5960,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
7744
5960
|
/** Styles for system message container. */
|
7745
5961
|
systemMessageContainer?: ComponentSlotStyle;
|
7746
5962
|
/** Styles for blocked message container. */
|
7747
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
7748
5963
|
/** Styles for message status indicator container. */
|
7749
5964
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
7750
5965
|
}
|
@@ -7913,31 +6128,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
7913
6128
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
7914
6129
|
}
|
7915
6130
|
|
7916
|
-
/**
|
7917
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
7918
|
-
* by their browsers settings.
|
7919
|
-
*
|
7920
|
-
* @beta
|
7921
|
-
*/
|
7922
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
7923
|
-
|
7924
|
-
/**
|
7925
|
-
* @beta
|
7926
|
-
* Props for MicrophoneSitePermissions component.
|
7927
|
-
*/
|
7928
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
7929
|
-
/** Icon name for the microphone icon */
|
7930
|
-
microphoneIconName?: string;
|
7931
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
7932
|
-
strings?: MicrophoneSitePermissionsStrings;
|
7933
|
-
}
|
7934
|
-
|
7935
|
-
/**
|
7936
|
-
* @beta
|
7937
|
-
* Strings for MicrophoneSitePermissions component.
|
7938
|
-
*/
|
7939
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
7940
|
-
|
7941
6131
|
/**
|
7942
6132
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
7943
6133
|
*
|
@@ -7956,13 +6146,6 @@ export declare interface NetworkDiagnosticsState {
|
|
7956
6146
|
latest: LatestNetworkDiagnostics;
|
7957
6147
|
}
|
7958
6148
|
|
7959
|
-
/**
|
7960
|
-
* Callback function used to provide custom data to build profile for a user.
|
7961
|
-
*
|
7962
|
-
* @beta
|
7963
|
-
*/
|
7964
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
7965
|
-
|
7966
6149
|
/**
|
7967
6150
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
7968
6151
|
*
|
@@ -8024,9 +6207,9 @@ export declare interface OptionsDevice {
|
|
8024
6207
|
/**
|
8025
6208
|
* Different modes and positions of the overflow gallery in the VideoGallery
|
8026
6209
|
*
|
8027
|
-
* @
|
6210
|
+
* @public
|
8028
6211
|
*/
|
8029
|
-
export declare type OverflowGalleryPosition = '
|
6212
|
+
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' | /* @conditional-compile-remove(gallery-layouts) */ 'horizontalTop';
|
8030
6213
|
|
8031
6214
|
/**
|
8032
6215
|
* A system message notifying that a participant was added to the chat thread.
|
@@ -8085,14 +6268,6 @@ export declare interface ParticipantItemProps {
|
|
8085
6268
|
onClick?: (props?: ParticipantItemProps) => void;
|
8086
6269
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8087
6270
|
showParticipantOverflowTooltip?: boolean;
|
8088
|
-
/**
|
8089
|
-
* Optional value to determine and display a participants connection status.
|
8090
|
-
* For example, `Connecting`, `Ringing` etc.
|
8091
|
-
* The actual text that is displayed is determined by the localized string
|
8092
|
-
* corresponding to the provided participant state.
|
8093
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8094
|
-
*/
|
8095
|
-
participantState?: ParticipantState;
|
8096
6271
|
/**
|
8097
6272
|
* Optional aria property that prefixes the ParticipantItems aria content
|
8098
6273
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -8118,10 +6293,6 @@ export declare interface ParticipantItemStrings {
|
|
8118
6293
|
mutedIconLabel: string;
|
8119
6294
|
/** placeholder text for participants who does not have a display name*/
|
8120
6295
|
displayNamePlaceholder?: string;
|
8121
|
-
/** String shown when `participantState` is `Ringing` */
|
8122
|
-
participantStateRinging?: string;
|
8123
|
-
/** String shown when `participantState` is `Hold` */
|
8124
|
-
participantStateHold?: string;
|
8125
6296
|
}
|
8126
6297
|
|
8127
6298
|
/**
|
@@ -8201,10 +6372,6 @@ export declare type ParticipantListProps = {
|
|
8201
6372
|
styles?: ParticipantListStyles;
|
8202
6373
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8203
6374
|
showParticipantOverflowTooltip?: boolean;
|
8204
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8205
|
-
totalParticipantCount?: number;
|
8206
|
-
/** Strings for the participant list */
|
8207
|
-
strings?: ParticipantListStrings;
|
8208
6375
|
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
8209
6376
|
participantAriaLabelledBy?: string;
|
8210
6377
|
};
|
@@ -8217,21 +6384,8 @@ export declare type ParticipantListProps = {
|
|
8217
6384
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
8218
6385
|
participants: CallParticipantListParticipant[];
|
8219
6386
|
myUserId: string;
|
8220
|
-
totalParticipantCount?: number;
|
8221
6387
|
};
|
8222
6388
|
|
8223
|
-
/**
|
8224
|
-
* Strings for the {@link ParticipantList}.
|
8225
|
-
*
|
8226
|
-
* @beta
|
8227
|
-
*/
|
8228
|
-
export declare interface ParticipantListStrings {
|
8229
|
-
/**
|
8230
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
8231
|
-
*/
|
8232
|
-
overflowParticipantCount?: string;
|
8233
|
-
}
|
8234
|
-
|
8235
6389
|
/**
|
8236
6390
|
* Styles for the {@link ParticipantList}.
|
8237
6391
|
*
|
@@ -8448,18 +6602,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
8448
6602
|
*/
|
8449
6603
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
8450
6604
|
|
8451
|
-
/**
|
8452
|
-
* The profile of a user.
|
8453
|
-
*
|
8454
|
-
* @beta
|
8455
|
-
*/
|
8456
|
-
export declare type Profile = {
|
8457
|
-
/**
|
8458
|
-
* Primary text to display, usually the name of the person.
|
8459
|
-
*/
|
8460
|
-
displayName?: string;
|
8461
|
-
};
|
8462
|
-
|
8463
6605
|
/**
|
8464
6606
|
* Raised hand state with order
|
8465
6607
|
*
|
@@ -8584,7 +6726,7 @@ export declare interface RemoteParticipantState {
|
|
8584
6726
|
/**
|
8585
6727
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
|
8586
6728
|
*/
|
8587
|
-
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind
|
6729
|
+
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind;
|
8588
6730
|
/**
|
8589
6731
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
|
8590
6732
|
*/
|
@@ -8612,10 +6754,6 @@ export declare interface RemoteParticipantState {
|
|
8612
6754
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
|
8613
6755
|
*/
|
8614
6756
|
isSpeaking: boolean;
|
8615
|
-
/**
|
8616
|
-
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
8617
|
-
*/
|
8618
|
-
role?: ParticipantRole;
|
8619
6757
|
/**
|
8620
6758
|
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
8621
6759
|
*/
|
@@ -8644,7 +6782,6 @@ export declare interface RemoteVideoStreamState {
|
|
8644
6782
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
8645
6783
|
* @beta
|
8646
6784
|
*/
|
8647
|
-
isReceiving: boolean;
|
8648
6785
|
/**
|
8649
6786
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
8650
6787
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -8744,19 +6881,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
8744
6881
|
*/
|
8745
6882
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
8746
6883
|
|
8747
|
-
/**
|
8748
|
-
* @beta
|
8749
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
8750
|
-
*/
|
8751
|
-
export declare interface SendBoxErrorBarError {
|
8752
|
-
/** Error Message to be displayed */
|
8753
|
-
message: string;
|
8754
|
-
/**
|
8755
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
8756
|
-
*/
|
8757
|
-
timestamp: number;
|
8758
|
-
}
|
8759
|
-
|
8760
6884
|
/**
|
8761
6885
|
* Props for {@link SendBox}.
|
8762
6886
|
*
|
@@ -8776,11 +6900,6 @@ export declare interface SendBoxProps {
|
|
8776
6900
|
* Optional override behavior on send button click
|
8777
6901
|
*/
|
8778
6902
|
onSendMessage?: (content: string) => Promise<void>;
|
8779
|
-
/**
|
8780
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
8781
|
-
* @beta
|
8782
|
-
*/
|
8783
|
-
mentionLookupOptions?: MentionLookupOptions;
|
8784
6903
|
/**
|
8785
6904
|
* Optional callback called when user is typing
|
8786
6905
|
*/
|
@@ -8817,25 +6936,6 @@ export declare interface SendBoxProps {
|
|
8817
6936
|
* When undefined nothing has focus on render
|
8818
6937
|
*/
|
8819
6938
|
autoFocus?: 'sendBoxTextField';
|
8820
|
-
/**
|
8821
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
8822
|
-
* vertically to accommodate the uploaded files. File uploads will
|
8823
|
-
* be rendered below the text area in sendBox.
|
8824
|
-
* @beta
|
8825
|
-
*/
|
8826
|
-
onRenderFileUploads?: () => JSX.Element;
|
8827
|
-
/**
|
8828
|
-
* Optional array of active file uploads where each object has attributes
|
8829
|
-
* of a file upload like name, progress, errorMessage etc.
|
8830
|
-
* @beta
|
8831
|
-
*/
|
8832
|
-
activeFileUploads?: ActiveFileUpload[];
|
8833
|
-
/**
|
8834
|
-
* Optional callback to remove the file upload before sending by clicking on
|
8835
|
-
* cancel icon.
|
8836
|
-
* @beta
|
8837
|
-
*/
|
8838
|
-
onCancelFileUpload?: (fileId: string) => void;
|
8839
6939
|
}
|
8840
6940
|
|
8841
6941
|
/**
|
@@ -8866,22 +6966,6 @@ export declare interface SendBoxStrings {
|
|
8866
6966
|
* Aria label for send message button
|
8867
6967
|
*/
|
8868
6968
|
sendButtonAriaLabel: string;
|
8869
|
-
/**
|
8870
|
-
* Error message indicating that all file uploads are not complete.
|
8871
|
-
*/
|
8872
|
-
fileUploadsPendingError: string;
|
8873
|
-
/**
|
8874
|
-
* Aria label to notify user when focus is on cancel file upload button.
|
8875
|
-
*/
|
8876
|
-
removeFile: string;
|
8877
|
-
/**
|
8878
|
-
* Aria label to notify user file uploading starts.
|
8879
|
-
*/
|
8880
|
-
uploading: string;
|
8881
|
-
/**
|
8882
|
-
* Aria label to notify user file is uploaded.
|
8883
|
-
*/
|
8884
|
-
uploadCompleted: string;
|
8885
6969
|
}
|
8886
6970
|
|
8887
6971
|
/**
|
@@ -8902,45 +6986,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
8902
6986
|
systemMessage?: IStyle;
|
8903
6987
|
}
|
8904
6988
|
|
8905
|
-
/**
|
8906
|
-
* @beta
|
8907
|
-
* Strings for SitePermissions component
|
8908
|
-
*/
|
8909
|
-
export declare type SitePermissionsStrings = {
|
8910
|
-
/**
|
8911
|
-
* Main text string.
|
8912
|
-
*/
|
8913
|
-
primaryText?: string;
|
8914
|
-
/**
|
8915
|
-
* Subtext string.
|
8916
|
-
*/
|
8917
|
-
secondaryText?: string;
|
8918
|
-
/**
|
8919
|
-
* More help link string.
|
8920
|
-
*/
|
8921
|
-
linkText?: string;
|
8922
|
-
/**
|
8923
|
-
* Primary button text string.
|
8924
|
-
*/
|
8925
|
-
primaryButtonText?: string;
|
8926
|
-
/**
|
8927
|
-
* Aria label describing the content of the container
|
8928
|
-
*/
|
8929
|
-
ariaLabel?: string;
|
8930
|
-
};
|
8931
|
-
|
8932
|
-
/**
|
8933
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
8934
|
-
*
|
8935
|
-
* @beta
|
8936
|
-
*/
|
8937
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
8938
|
-
/** Styles for the primary button. */
|
8939
|
-
primaryButton?: IButtonStyles;
|
8940
|
-
/** Styles for the help troubleshooting link text. */
|
8941
|
-
troubleshootingLink?: ILinkStyles;
|
8942
|
-
}
|
8943
|
-
|
8944
6989
|
/**
|
8945
6990
|
* @public
|
8946
6991
|
* spoken language strings for captions setting modal
|
@@ -9097,19 +7142,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
9097
7142
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
9098
7143
|
*/
|
9099
7144
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9100
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
9101
|
-
/**
|
9102
|
-
* The CallAgent is used to handle calls.
|
9103
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9104
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
9105
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
9106
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9107
|
-
* createCallAgent() method again to create a new CallAgent.
|
9108
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9109
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
9110
|
-
* @public
|
9111
|
-
*/
|
9112
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
9113
7145
|
}
|
9114
7146
|
|
9115
7147
|
/**
|
@@ -9122,16 +7154,7 @@ export declare type StatefulCallClientArgs = {
|
|
9122
7154
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
9123
7155
|
* state. It is not used by StatefulCallClient.
|
9124
7156
|
*/
|
9125
|
-
userId: CommunicationUserIdentifier
|
9126
|
-
/**
|
9127
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9128
|
-
* to start a PSTN call.
|
9129
|
-
*
|
9130
|
-
* example: +11234567
|
9131
|
-
*
|
9132
|
-
* This is not a cached value from the headless calling client.
|
9133
|
-
*/
|
9134
|
-
alternateCallerId?: string;
|
7157
|
+
userId: CommunicationUserIdentifier;
|
9135
7158
|
};
|
9136
7159
|
|
9137
7160
|
/**
|
@@ -9286,74 +7309,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
9286
7309
|
*/
|
9287
7310
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
9288
7311
|
|
9289
|
-
/**
|
9290
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9291
|
-
*
|
9292
|
-
* @beta
|
9293
|
-
*/
|
9294
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9295
|
-
/**
|
9296
|
-
* Join the call with microphone initially on/off.
|
9297
|
-
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9298
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
9299
|
-
*
|
9300
|
-
* @beta
|
9301
|
-
*/
|
9302
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9303
|
-
/**
|
9304
|
-
* Join the call with options bag to set microphone/camera initial state when joining call
|
9305
|
-
* true = turn on the device when joining call
|
9306
|
-
* false = turn off the device when joining call
|
9307
|
-
* 'keep'/undefined = retain devices' precall state
|
9308
|
-
*
|
9309
|
-
* @param options - param to set microphone/camera initially on/off.
|
9310
|
-
*
|
9311
|
-
* @public
|
9312
|
-
*/
|
9313
|
-
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9314
|
-
/**
|
9315
|
-
* Start the call.
|
9316
|
-
*
|
9317
|
-
* @param participants - An array of participant ids to join
|
9318
|
-
*
|
9319
|
-
* @beta
|
9320
|
-
*/
|
9321
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9322
|
-
/**
|
9323
|
-
* Start the call.
|
9324
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9325
|
-
* @beta
|
9326
|
-
*/
|
9327
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9328
|
-
}
|
9329
|
-
|
9330
|
-
/**
|
9331
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9332
|
-
*
|
9333
|
-
* @beta
|
9334
|
-
*/
|
9335
|
-
export declare type TeamsCallAdapterArgs = {
|
9336
|
-
userId: MicrosoftTeamsUserIdentifier;
|
9337
|
-
credential: CommunicationTokenCredential;
|
9338
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9339
|
-
/**
|
9340
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
9341
|
-
*/
|
9342
|
-
options?: TeamsAdapterOptions;
|
9343
|
-
};
|
9344
|
-
|
9345
|
-
/**
|
9346
|
-
* Object containing all the teams call handlers required for calling components.
|
9347
|
-
*
|
9348
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9349
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
9350
|
-
*
|
9351
|
-
* @beta
|
9352
|
-
*/
|
9353
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9354
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9355
|
-
}
|
9356
|
-
|
9357
7312
|
/**
|
9358
7313
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
9359
7314
|
*
|
@@ -9399,27 +7354,6 @@ export declare interface TranscriptionCallFeature {
|
|
9399
7354
|
isTranscriptionActive: boolean;
|
9400
7355
|
}
|
9401
7356
|
|
9402
|
-
/**
|
9403
|
-
* Transfer feature state
|
9404
|
-
*
|
9405
|
-
* @beta
|
9406
|
-
*/
|
9407
|
-
export declare interface TransferFeature {
|
9408
|
-
/**
|
9409
|
-
* Accepted transfer requests
|
9410
|
-
*/
|
9411
|
-
acceptedTransfers: {
|
9412
|
-
[key: string]: AcceptedTransfer;
|
9413
|
-
};
|
9414
|
-
}
|
9415
|
-
|
9416
|
-
/**
|
9417
|
-
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
9418
|
-
*
|
9419
|
-
* @beta
|
9420
|
-
*/
|
9421
|
-
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
9422
|
-
|
9423
7357
|
/**
|
9424
7358
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
9425
7359
|
*
|
@@ -9554,117 +7488,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
9554
7488
|
typingString?: IStyle;
|
9555
7489
|
}
|
9556
7490
|
|
9557
|
-
/**
|
9558
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
9559
|
-
*
|
9560
|
-
* @beta
|
9561
|
-
*/
|
9562
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
9563
|
-
|
9564
|
-
/**
|
9565
|
-
* props for {@link UnsupportedBrowser} UI
|
9566
|
-
*
|
9567
|
-
* @beta
|
9568
|
-
*/
|
9569
|
-
export declare interface UnsupportedBrowserProps {
|
9570
|
-
/** Handler to perform an action when the help link is actioned */
|
9571
|
-
onTroubleshootingClick?: () => void;
|
9572
|
-
/** String overrides for the component */
|
9573
|
-
strings?: UnsupportedBrowserStrings;
|
9574
|
-
}
|
9575
|
-
|
9576
|
-
/**
|
9577
|
-
* Strings for UnsupportedBrowser component
|
9578
|
-
*
|
9579
|
-
* @beta
|
9580
|
-
*/
|
9581
|
-
export declare interface UnsupportedBrowserStrings {
|
9582
|
-
/** String for the primary text */
|
9583
|
-
primaryText: string;
|
9584
|
-
/** String for the secondary text */
|
9585
|
-
secondaryText: string;
|
9586
|
-
/** String to display in the text for the help link */
|
9587
|
-
moreHelpLinkText: string;
|
9588
|
-
}
|
9589
|
-
|
9590
|
-
/**
|
9591
|
-
* UI to display to the user that the browser version they are using is out of date
|
9592
|
-
* and not supported by Azure Communications Calling service.
|
9593
|
-
*
|
9594
|
-
* @beta
|
9595
|
-
*/
|
9596
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
9597
|
-
|
9598
|
-
/**
|
9599
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
9600
|
-
*
|
9601
|
-
* @beta
|
9602
|
-
*/
|
9603
|
-
export declare interface UnsupportedBrowserVersionProps {
|
9604
|
-
/** Handler to perform an action when the help link is actioned */
|
9605
|
-
onTroubleshootingClick?: () => void;
|
9606
|
-
/** String overrides for the component */
|
9607
|
-
strings?: UnsupportedBrowserVersionStrings;
|
9608
|
-
/** Handler to allow user to continue into the call */
|
9609
|
-
onContinueAnywayClick?: () => void;
|
9610
|
-
}
|
9611
|
-
|
9612
|
-
/**
|
9613
|
-
* Strings for UnsupportedBrowser component
|
9614
|
-
*
|
9615
|
-
* @beta
|
9616
|
-
*/
|
9617
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
9618
|
-
/** String for the primary text */
|
9619
|
-
primaryText: string;
|
9620
|
-
/** String for the secondary text */
|
9621
|
-
secondaryText: string;
|
9622
|
-
/** String to display in the text for the help link */
|
9623
|
-
moreHelpLinkText: string;
|
9624
|
-
/** String for continue without updating button */
|
9625
|
-
continueAnywayButtonText?: string;
|
9626
|
-
}
|
9627
|
-
|
9628
|
-
/**
|
9629
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
9630
|
-
*
|
9631
|
-
* @beta
|
9632
|
-
*/
|
9633
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
9634
|
-
|
9635
|
-
/**
|
9636
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
9637
|
-
*
|
9638
|
-
* @beta
|
9639
|
-
*/
|
9640
|
-
export declare interface UnsupportedOperatingSystemProps {
|
9641
|
-
/** Handler to perform a action when the help link is actioned */
|
9642
|
-
onTroubleshootingClick?: () => void;
|
9643
|
-
/** String overrides for the component */
|
9644
|
-
strings?: UnsupportedOperatingSystemStrings;
|
9645
|
-
}
|
9646
|
-
|
9647
|
-
/**
|
9648
|
-
* Strings for UnsupportedBrowser component
|
9649
|
-
*
|
9650
|
-
* @beta
|
9651
|
-
*/
|
9652
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
9653
|
-
/** String for the primary text */
|
9654
|
-
primaryText: string;
|
9655
|
-
/** String for the secondary text */
|
9656
|
-
secondaryText: string;
|
9657
|
-
/** String to display in the text for the help link */
|
9658
|
-
moreHelpLinkText: string;
|
9659
|
-
}
|
9660
|
-
|
9661
7491
|
/**
|
9662
7492
|
* @public
|
9663
7493
|
* Callback function run when a message is updated.
|
9664
7494
|
*/
|
9665
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
9666
|
-
attachedFilesMetadata?: FileMetadata[];
|
9667
|
-
}) => Promise<void>;
|
7495
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
9668
7496
|
|
9669
7497
|
/**
|
9670
7498
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -9812,44 +7640,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
9812
7640
|
*/
|
9813
7641
|
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;
|
9814
7642
|
|
9815
|
-
/**
|
9816
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
9817
|
-
*
|
9818
|
-
* Useful when implementing a custom component that utilizes the providers
|
9819
|
-
* exported from this library.
|
9820
|
-
*
|
9821
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
9822
|
-
*
|
9823
|
-
* @beta
|
9824
|
-
*/
|
9825
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9826
|
-
|
9827
|
-
/**
|
9828
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
9829
|
-
*
|
9830
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
9831
|
-
* creation of the adapter internally.
|
9832
|
-
*
|
9833
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
9834
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
9835
|
-
*
|
9836
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
9837
|
-
* See storybook for typical usage examples.
|
9838
|
-
*
|
9839
|
-
* @beta
|
9840
|
-
*/
|
9841
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
9842
|
-
|
9843
|
-
/**
|
9844
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
9845
|
-
*
|
9846
|
-
* Useful when implementing a custom component that utilizes the providers
|
9847
|
-
* exported from this library.
|
9848
|
-
*
|
9849
|
-
* @beta
|
9850
|
-
*/
|
9851
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
9852
|
-
|
9853
7643
|
/**
|
9854
7644
|
* React hook to access theme
|
9855
7645
|
*
|
@@ -9860,7 +7650,7 @@ export declare const useTheme: () => Theme;
|
|
9860
7650
|
/**
|
9861
7651
|
* Styles for the control bar inside the VerticalGallery component
|
9862
7652
|
*
|
9863
|
-
* @
|
7653
|
+
* @public
|
9864
7654
|
*/
|
9865
7655
|
export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
|
9866
7656
|
/**
|
@@ -9880,7 +7670,7 @@ export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyle
|
|
9880
7670
|
/**
|
9881
7671
|
* Strings for localization of the vertical gallery.
|
9882
7672
|
*
|
9883
|
-
* @
|
7673
|
+
* @public
|
9884
7674
|
*/
|
9885
7675
|
export declare interface VerticalGalleryStrings {
|
9886
7676
|
/** Aria label for the left page navigation button */
|
@@ -9892,7 +7682,7 @@ export declare interface VerticalGalleryStrings {
|
|
9892
7682
|
/**
|
9893
7683
|
* Styles for the VerticalGallery component
|
9894
7684
|
*
|
9895
|
-
* @
|
7685
|
+
* @public
|
9896
7686
|
*/
|
9897
7687
|
export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
9898
7688
|
/** Styles for each video tile in the vertical gallery */
|
@@ -10108,16 +7898,9 @@ export declare interface VideoGalleryProps {
|
|
10108
7898
|
remoteVideoTileMenu?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
|
10109
7899
|
/**
|
10110
7900
|
* Determines the layout of the overflowGallery inside the VideoGallery.
|
10111
|
-
* @defaultValue '
|
7901
|
+
* @defaultValue 'horizontalBottom'
|
10112
7902
|
*/
|
10113
7903
|
overflowGalleryPosition?: OverflowGalleryPosition;
|
10114
|
-
/**
|
10115
|
-
* Determines the aspect ratio of local video tile in the video gallery.
|
10116
|
-
* @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
|
10117
|
-
* 16:9 (landscape) aspect ratios.
|
10118
|
-
* @defaultValue 'followDeviceOrientation'
|
10119
|
-
*/
|
10120
|
-
localVideoTileSize?: LocalVideoTileSize;
|
10121
7904
|
}
|
10122
7905
|
|
10123
7906
|
/**
|
@@ -10130,11 +7913,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
10130
7913
|
isSpeaking?: boolean;
|
10131
7914
|
/** Video stream of shared screen */
|
10132
7915
|
screenShareStream?: VideoGalleryStream;
|
10133
|
-
/**
|
10134
|
-
* @beta
|
10135
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10136
|
-
*/
|
10137
|
-
state?: ParticipantState;
|
10138
7916
|
/** Whether participant is raised a hand */
|
10139
7917
|
raisedHand?: RaisedHand;
|
10140
7918
|
}
|
@@ -10374,12 +8152,6 @@ export declare interface VideoTileProps {
|
|
10374
8152
|
isSpeaking?: boolean;
|
10375
8153
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
10376
8154
|
raisedHand?: RaisedHand;
|
10377
|
-
/**
|
10378
|
-
* The call connection state of the participant.
|
10379
|
-
* For example, `Hold` means the participant is on hold.
|
10380
|
-
*/
|
10381
|
-
participantState?: ParticipantState;
|
10382
|
-
strings?: VideoTileStrings;
|
10383
8155
|
/**
|
10384
8156
|
* Display custom menu items in the VideoTile's contextual menu.
|
10385
8157
|
* Uses Fluent UI ContextualMenu.
|
@@ -10392,15 +8164,6 @@ export declare interface VideoTileProps {
|
|
10392
8164
|
onLongTouch?: () => void;
|
10393
8165
|
}
|
10394
8166
|
|
10395
|
-
/**
|
10396
|
-
* Strings of {@link VideoTile} that can be overridden.
|
10397
|
-
* @beta
|
10398
|
-
*/
|
10399
|
-
export declare interface VideoTileStrings {
|
10400
|
-
participantStateRinging: string;
|
10401
|
-
participantStateHold: string;
|
10402
|
-
}
|
10403
|
-
|
10404
8167
|
/**
|
10405
8168
|
* Fluent styles for {@link VideoTile}.
|
10406
8169
|
*
|