@azure/communication-react 1.14.0-beta.2 → 1.14.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 +65 -1785
- package/dist/dist-cjs/communication-react/index.js +8999 -14017
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.d.ts +5 -0
- package/dist/dist-esm/acs-ui-common/src/common.js +7 -0
- package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/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 -5
- 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 -10
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -14
- 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 -3
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -12
- 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 -8
- 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/videoGalleryUtils.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +2 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +0 -3
- 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 +1 -22
- 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 -5
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +2 -39
- package/dist/dist-esm/calling-stateful-client/src/CallContext.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 -6
- package/dist/dist-esm/calling-stateful-client/src/Converter.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 +2 -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 -2
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -5
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +21 -131
- 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/ChatContext.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +28 -9
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +23 -14
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +91 -70
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.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/index.d.ts +1 -0
- package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +9 -2
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +2 -23
- package/dist/dist-esm/communication-react/src/index.js +0 -12
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +4 -4
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +1 -13
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +3 -7
- 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 +1 -6
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +21 -60
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +1 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +4 -30
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +2 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +3 -14
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +23 -57
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +6 -25
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +3 -32
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +5 -27
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +14 -10
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxButton.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/InputBoxButton.js +2 -2
- package/dist/dist-esm/react-components/src/components/InputBoxButton.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 -40
- package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -14
- 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 -42
- package/dist/dist-esm/react-components/src/components/SendBox.js +8 -63
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.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/VideoGallery/DefaultLayout.js +3 -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.js +4 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +4 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +4 -21
- 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 +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +5 -12
- 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 -15
- package/dist/dist-esm/react-components/src/components/index.js +0 -10
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +10 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.d.ts +10 -4
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +17 -4
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +15 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +22 -12
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +16 -0
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +27 -0
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +1 -10
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +1 -15
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.d.ts +0 -6
- package/dist/dist-esm/react-components/src/components/utils.js +0 -8
- package/dist/dist-esm/react-components/src/components/utils.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 +0 -57
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -1
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +25 -6
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/utils.js +2 -2
- package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +23 -4
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +23 -4
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -13
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -102
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/themes.js +0 -10
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +7 -0
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -34
- 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 -72
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +6 -31
- 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 +4 -104
- 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 +6 -77
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +7 -192
- 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 +2 -91
- 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/CallingSoundSubscriber.js +7 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.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 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +9 -33
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +2 -38
- 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 +5 -31
- 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.js +2 -8
- 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/SidePane/SidePane.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +1 -10
- 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/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 +10 -21
- 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 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +4 -33
- 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 +7 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +7 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +9 -96
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -61
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +4 -30
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +4 -24
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +3 -92
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +3 -53
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +2 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +1 -34
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +0 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +1 -31
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +1 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +70 -76
- 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 +1 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +0 -68
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/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 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.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/FileUpload.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/hooks/useHandlers.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +7 -21
- 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/CustomButton.d.ts +10 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +1 -40
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +0 -7
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.d.ts +21 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js +45 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +4 -37
- 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 +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/Drawer/SpokenLanguageSettingsDrawer.d.ts +21 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/{CaptionSettingsDrawer.js → SpokenLanguageSettingsDrawer.js} +4 -3
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/MoreButton.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.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -14
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +18 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +8 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -24
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -15
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +2 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +7 -3
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +6 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +6 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +10 -9
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +0 -45
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +0 -91
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/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/MentionPopover.d.ts +0 -121
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -123
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +0 -18
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -550
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -69
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -92
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +0 -32
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +0 -27
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -107
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.d.ts +0 -21
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.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';
|
@@ -50,7 +48,6 @@ import { DeviceAccess } from '@azure/communication-calling';
|
|
50
48
|
import { DeviceManager } from '@azure/communication-calling';
|
51
49
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
52
50
|
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
53
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
54
51
|
import { GroupCallLocator } from '@azure/communication-calling';
|
55
52
|
import { IButtonProps } from '@fluentui/react';
|
56
53
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -58,9 +55,7 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
58
55
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
59
56
|
import { IContextualMenuProps } from '@fluentui/react';
|
60
57
|
import { IContextualMenuStyles } from '@fluentui/react';
|
61
|
-
import { ILinkStyles } from '@fluentui/react';
|
62
58
|
import { IMessageBarProps } from '@fluentui/react';
|
63
|
-
import { IncomingCall } from '@azure/communication-calling';
|
64
59
|
import { IPersonaStyleProps } from '@fluentui/react';
|
65
60
|
import { IPersonaStyles } from '@fluentui/react';
|
66
61
|
import { IRawStyle } from '@fluentui/react';
|
@@ -74,7 +69,6 @@ import { LocalVideoStream } from '@azure/communication-calling';
|
|
74
69
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
75
70
|
import { MediaStreamType } from '@azure/communication-calling';
|
76
71
|
import { MicrosoftTeamsAppIdentifier } from '@azure/communication-common';
|
77
|
-
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
78
72
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
79
73
|
import { PartialTheme } from '@fluentui/react';
|
80
74
|
import { ParticipantCapabilities } from '@azure/communication-calling';
|
@@ -83,7 +77,6 @@ import { PermissionConstraints } from '@azure/communication-calling';
|
|
83
77
|
import { PersonaInitialsColor } from '@fluentui/react';
|
84
78
|
import { PersonaPresence } from '@fluentui/react';
|
85
79
|
import { PersonaSize } from '@fluentui/react';
|
86
|
-
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
87
80
|
import { PropertyChangedEvent } from '@azure/communication-calling';
|
88
81
|
import { default as React_2 } from 'react';
|
89
82
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
@@ -93,8 +86,6 @@ import { ScalingMode } from '@azure/communication-calling';
|
|
93
86
|
import { SendMessageOptions } from '@azure/communication-chat';
|
94
87
|
import { StartCallOptions } from '@azure/communication-calling';
|
95
88
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
96
|
-
import { TeamsCall } from '@azure/communication-calling';
|
97
|
-
import { TeamsCallAgent } from '@azure/communication-calling';
|
98
89
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
99
90
|
import { Theme } from '@fluentui/react';
|
100
91
|
import { TransferEventArgs } from '@azure/communication-calling';
|
@@ -140,38 +131,6 @@ export declare interface ActiveErrorMessage {
|
|
140
131
|
timestamp?: Date;
|
141
132
|
}
|
142
133
|
|
143
|
-
/**
|
144
|
-
* Attributes required for SendBox to show file uploads like name, progress etc.
|
145
|
-
* @beta
|
146
|
-
*/
|
147
|
-
export declare interface ActiveFileUpload {
|
148
|
-
/**
|
149
|
-
* Unique identifier for the file upload.
|
150
|
-
*/
|
151
|
-
id: string;
|
152
|
-
/**
|
153
|
-
* File name to be rendered for uploaded file.
|
154
|
-
*/
|
155
|
-
filename: string;
|
156
|
-
/**
|
157
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
158
|
-
* This is unrelated to the `uploadComplete` property.
|
159
|
-
* It is only used to show the progress of the upload.
|
160
|
-
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
161
|
-
* property to true to mark the upload as complete.
|
162
|
-
*/
|
163
|
-
progress: number;
|
164
|
-
/**
|
165
|
-
* Error to be displayed to the user if the upload fails.
|
166
|
-
*/
|
167
|
-
error?: SendBoxErrorBarError;
|
168
|
-
/**
|
169
|
-
* `true` means that the upload is completed.
|
170
|
-
* This is independent of the upload `progress`.
|
171
|
-
*/
|
172
|
-
uploadComplete?: boolean;
|
173
|
-
}
|
174
|
-
|
175
134
|
/**
|
176
135
|
* Error reported via error events and stored in adapter state.
|
177
136
|
*
|
@@ -238,12 +197,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
238
197
|
*/
|
239
198
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
240
199
|
|
241
|
-
/**
|
242
|
-
* Metadata containing information about the uploaded file.
|
243
|
-
* @beta
|
244
|
-
*/
|
245
|
-
export declare type AttachmentMetadata = FileMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ InlineImageMetadata;
|
246
|
-
|
247
200
|
/**
|
248
201
|
* Custom data attributes for displaying avatar for a user.
|
249
202
|
*
|
@@ -273,11 +226,6 @@ export declare type AvatarPersonaData = {
|
|
273
226
|
* @defaultvalue `white`
|
274
227
|
*/
|
275
228
|
initialsTextColor?: string;
|
276
|
-
/**
|
277
|
-
* If true, show the special coin for unknown persona.
|
278
|
-
* It has '?' in place of initials, with static font and background colors
|
279
|
-
*/
|
280
|
-
showUnknownPersonaCoin?: boolean;
|
281
229
|
};
|
282
230
|
|
283
231
|
/**
|
@@ -299,11 +247,6 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
299
247
|
displayName: string;
|
300
248
|
credential: CommunicationTokenCredential;
|
301
249
|
locator: CallAdapterLocator;
|
302
|
-
/**
|
303
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
304
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
305
|
-
*/
|
306
|
-
alternateCallerId?: string;
|
307
250
|
/**
|
308
251
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
309
252
|
*/
|
@@ -328,7 +271,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
328
271
|
displayName: string;
|
329
272
|
credential: CommunicationTokenCredential;
|
330
273
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
331
|
-
alternateCallerId?: string;
|
332
274
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
333
275
|
};
|
334
276
|
|
@@ -373,11 +315,6 @@ export declare type AzureCommunicationOutboundCallAdapterArgs = {
|
|
373
315
|
displayName: string;
|
374
316
|
credential: CommunicationTokenCredential;
|
375
317
|
targetCallees: StartCallIdentifier[];
|
376
|
-
/**
|
377
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
378
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
379
|
-
*/
|
380
|
-
alternateCallerId?: string;
|
381
318
|
/**
|
382
319
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
383
320
|
*/
|
@@ -439,156 +376,6 @@ export declare interface BaseCustomStyles {
|
|
439
376
|
root?: IStyle;
|
440
377
|
}
|
441
378
|
|
442
|
-
/**
|
443
|
-
* Content blocked message type.
|
444
|
-
*
|
445
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
446
|
-
*
|
447
|
-
* @beta
|
448
|
-
*/
|
449
|
-
export declare interface BlockedMessage extends MessageCommon {
|
450
|
-
messageType: 'blocked';
|
451
|
-
warningText?: string;
|
452
|
-
linkText?: string;
|
453
|
-
link?: string;
|
454
|
-
deletedOn?: Date;
|
455
|
-
senderId?: string;
|
456
|
-
senderDisplayName?: string;
|
457
|
-
status?: MessageStatus;
|
458
|
-
attached?: MessageAttachedStatus;
|
459
|
-
mine?: boolean;
|
460
|
-
}
|
461
|
-
|
462
|
-
/**
|
463
|
-
* @beta
|
464
|
-
* Props for BrowserPermissionDeniedIOS component.
|
465
|
-
*/
|
466
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
467
|
-
/**
|
468
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
469
|
-
*/
|
470
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
471
|
-
/**
|
472
|
-
* Link to image source.
|
473
|
-
*
|
474
|
-
* Image is inserted into the top of the component.
|
475
|
-
*/
|
476
|
-
imageSource?: string;
|
477
|
-
}
|
478
|
-
|
479
|
-
/**
|
480
|
-
* @beta
|
481
|
-
* Strings for BrowserPermissionDeniedIOS component
|
482
|
-
*/
|
483
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
484
|
-
/**
|
485
|
-
* Image alt text
|
486
|
-
*/
|
487
|
-
imageAltText: string;
|
488
|
-
/**
|
489
|
-
* Main text string.
|
490
|
-
*/
|
491
|
-
primaryText: string;
|
492
|
-
/**
|
493
|
-
* Subtext string.
|
494
|
-
*/
|
495
|
-
secondaryText: string;
|
496
|
-
/**
|
497
|
-
* Step 1 string
|
498
|
-
*/
|
499
|
-
step1Text: string;
|
500
|
-
/**
|
501
|
-
* Step 1 digit string
|
502
|
-
*/
|
503
|
-
step1DigitText: string;
|
504
|
-
/**
|
505
|
-
* Step 2 string
|
506
|
-
*/
|
507
|
-
step2Text: string;
|
508
|
-
/**
|
509
|
-
* Step 2 digit string
|
510
|
-
*/
|
511
|
-
step2DigitText: string;
|
512
|
-
/**
|
513
|
-
* Step 3 string
|
514
|
-
*/
|
515
|
-
step3Text: string;
|
516
|
-
/**
|
517
|
-
* Step 3 digit string
|
518
|
-
*/
|
519
|
-
step3DigitText: string;
|
520
|
-
/**
|
521
|
-
* Step 4 string
|
522
|
-
*/
|
523
|
-
step4Text: string;
|
524
|
-
/**
|
525
|
-
* Step 4 digit string
|
526
|
-
*/
|
527
|
-
step4DigitText: string;
|
528
|
-
}
|
529
|
-
|
530
|
-
/**
|
531
|
-
* @beta
|
532
|
-
* Props for BrowserPermissionDenied component.
|
533
|
-
*/
|
534
|
-
export declare interface BrowserPermissionDeniedProps {
|
535
|
-
/**
|
536
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
537
|
-
*/
|
538
|
-
onTroubleshootingClick?: () => void;
|
539
|
-
/**
|
540
|
-
* Action to be taken by the try again primary button.
|
541
|
-
*/
|
542
|
-
onTryAgainClick?: () => void;
|
543
|
-
/**
|
544
|
-
* Localization strings for BrowserPermissionDenied component.
|
545
|
-
*/
|
546
|
-
strings?: BrowserPermissionDeniedStrings;
|
547
|
-
/**
|
548
|
-
* Allows users to pass in an object contains custom CSS styles.
|
549
|
-
* @Example
|
550
|
-
* ```
|
551
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
552
|
-
* ```
|
553
|
-
*/
|
554
|
-
styles?: BrowserPermissionDeniedStyles;
|
555
|
-
}
|
556
|
-
|
557
|
-
/**
|
558
|
-
* @beta
|
559
|
-
* Strings for BrowserPermissionDenied component
|
560
|
-
*/
|
561
|
-
export declare interface BrowserPermissionDeniedStrings {
|
562
|
-
/**
|
563
|
-
* Main button text string.
|
564
|
-
*/
|
565
|
-
primaryButtonText: string;
|
566
|
-
/**
|
567
|
-
* Main text string.
|
568
|
-
*/
|
569
|
-
primaryText: string;
|
570
|
-
/**
|
571
|
-
* Subtext string.
|
572
|
-
*/
|
573
|
-
secondaryText: string;
|
574
|
-
/**
|
575
|
-
* More help link string.
|
576
|
-
*/
|
577
|
-
linkText: string;
|
578
|
-
}
|
579
|
-
|
580
|
-
/**
|
581
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
582
|
-
*
|
583
|
-
* @beta
|
584
|
-
*/
|
585
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
586
|
-
/** Styles for the primary button. */
|
587
|
-
primaryButton?: IButtonStyles;
|
588
|
-
/** Styles for the help troubleshooting link text. */
|
589
|
-
troubleshootingLink?: ILinkStyles;
|
590
|
-
}
|
591
|
-
|
592
379
|
/**
|
593
380
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
594
381
|
*
|
@@ -672,12 +459,6 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
672
459
|
* @public
|
673
460
|
*/
|
674
461
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
675
|
-
/**
|
676
|
-
* Start the call.
|
677
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
678
|
-
* @public
|
679
|
-
*/
|
680
|
-
startCall(participants: StartCallIdentifier[], options?: StartCallOptions): Call | undefined;
|
681
462
|
}
|
682
463
|
|
683
464
|
/**
|
@@ -754,12 +535,6 @@ export declare interface CallAdapterCallOperations {
|
|
754
535
|
* @public
|
755
536
|
*/
|
756
537
|
removeParticipant(userId: string): Promise<void>;
|
757
|
-
/**
|
758
|
-
* Remove a participant from the call.
|
759
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
760
|
-
* @beta
|
761
|
-
*/
|
762
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
763
538
|
/**
|
764
539
|
* Create the html view for a stream.
|
765
540
|
*
|
@@ -811,35 +586,12 @@ export declare interface CallAdapterCallOperations {
|
|
811
586
|
* @public
|
812
587
|
*/
|
813
588
|
disposeLocalVideoStreamView(): Promise<void>;
|
814
|
-
/**
|
815
|
-
* Holds the call.
|
816
|
-
*
|
817
|
-
* @beta
|
818
|
-
*/
|
819
|
-
holdCall(): Promise<void>;
|
820
|
-
/**
|
821
|
-
* Resumes the call from a `LocalHold` state.
|
822
|
-
*
|
823
|
-
* @beta
|
824
|
-
*/
|
825
|
-
resumeCall(): Promise<void>;
|
826
|
-
/**
|
827
|
-
* Add a participant to the call.
|
828
|
-
*
|
829
|
-
* @beta
|
830
|
-
*/
|
831
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
832
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
833
589
|
/**
|
834
590
|
* send dtmf tone to another participant in a 1:1 PSTN call
|
835
591
|
*
|
836
592
|
* @public
|
837
593
|
*/
|
838
594
|
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
839
|
-
/**
|
840
|
-
* Continues into a call when the browser version is not supported.
|
841
|
-
*/
|
842
|
-
allowUnsupportedBrowserVersion(): void;
|
843
595
|
/**
|
844
596
|
* Function to Start captions
|
845
597
|
* @param options - options for start captions
|
@@ -912,14 +664,6 @@ export declare type CallAdapterClientState = {
|
|
912
664
|
* Latest error encountered for each operation performed via the adapter.
|
913
665
|
*/
|
914
666
|
latestErrors: AdapterErrors;
|
915
|
-
/**
|
916
|
-
* Azure communications Phone number to make PSTN calls with.
|
917
|
-
*/
|
918
|
-
alternateCallerId?: string;
|
919
|
-
/**
|
920
|
-
* Environment information about system the adapter is made on
|
921
|
-
*/
|
922
|
-
environmentInfo?: EnvironmentInfo;
|
923
667
|
/**
|
924
668
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
925
669
|
* control bar with the CallComposite.
|
@@ -1029,7 +773,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1029
773
|
*
|
1030
774
|
* @public
|
1031
775
|
*/
|
1032
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator
|
776
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator;
|
1033
777
|
|
1034
778
|
/**
|
1035
779
|
* {@link CommonCallAdapter} state.
|
@@ -1220,7 +964,6 @@ export declare interface CallAdapterSubscribers {
|
|
1220
964
|
export declare type CallAdapterUiState = {
|
1221
965
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1222
966
|
page: CallCompositePage;
|
1223
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1224
967
|
};
|
1225
968
|
|
1226
969
|
/**
|
@@ -1239,7 +982,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
1239
982
|
*/
|
1240
983
|
export declare interface CallAgentProviderProps {
|
1241
984
|
children: React_2.ReactNode;
|
1242
|
-
callAgent?: CallAgent
|
985
|
+
callAgent?: CallAgent;
|
1243
986
|
}
|
1244
987
|
|
1245
988
|
/**
|
@@ -1264,7 +1007,7 @@ export declare interface CallAgentState {
|
|
1264
1007
|
*/
|
1265
1008
|
export declare interface CallAndChatLocator {
|
1266
1009
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1267
|
-
callLocator: GroupCallLocator
|
1010
|
+
callLocator: GroupCallLocator;
|
1268
1011
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1269
1012
|
chatThreadId: string;
|
1270
1013
|
}
|
@@ -1351,16 +1094,6 @@ export declare interface CallClientState {
|
|
1351
1094
|
* See documentation of {@Link CallErrors} for details.
|
1352
1095
|
*/
|
1353
1096
|
latestErrors: CallErrors;
|
1354
|
-
/**
|
1355
|
-
* A phone number in E.164 format that will be used to represent callers identity.
|
1356
|
-
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1357
|
-
* be used as the caller id in the PSTN call.
|
1358
|
-
*/
|
1359
|
-
alternateCallerId?: string;
|
1360
|
-
/**
|
1361
|
-
* state to track the environment that the stateful client was made in is supported
|
1362
|
-
*/
|
1363
|
-
environmentInfo?: EnvironmentInfo;
|
1364
1097
|
}
|
1365
1098
|
|
1366
1099
|
/**
|
@@ -1436,9 +1169,6 @@ export declare type CallCompositeIcons = {
|
|
1436
1169
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1437
1170
|
VideoTileMicOff?: JSX.Element;
|
1438
1171
|
LocalCameraSwitch?: JSX.Element;
|
1439
|
-
PeoplePaneAddPerson?: JSX.Element;
|
1440
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
1441
|
-
DialpadStartCall?: JSX.Element;
|
1442
1172
|
NoticePageInviteToRoomRemoved?: JSX.Element;
|
1443
1173
|
BlurVideoBackground?: JSX.Element;
|
1444
1174
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
@@ -1471,56 +1201,6 @@ export declare type CallCompositeOptions = {
|
|
1471
1201
|
* @defaultValue true
|
1472
1202
|
*/
|
1473
1203
|
callControls?: boolean | CallControlOptions;
|
1474
|
-
/**
|
1475
|
-
* Device permissions check options for your call.
|
1476
|
-
* Here you can choose what device permissions you prompt the user for,
|
1477
|
-
* as well as what device permissions must be accepted before starting a call.
|
1478
|
-
*/
|
1479
|
-
deviceChecks?: DeviceCheckOptions;
|
1480
|
-
/**
|
1481
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1482
|
-
* unable to grant your site the required permissions for the call.
|
1483
|
-
*
|
1484
|
-
* @example
|
1485
|
-
* ```ts
|
1486
|
-
* onPermissionsTroubleshootingClick: () =>
|
1487
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1488
|
-
* ```
|
1489
|
-
*
|
1490
|
-
* @remarks
|
1491
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1492
|
-
*/
|
1493
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1494
|
-
camera: PermissionState;
|
1495
|
-
microphone: PermissionState;
|
1496
|
-
}) => void;
|
1497
|
-
/**
|
1498
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1499
|
-
* having network issues when connecting to the call.
|
1500
|
-
*
|
1501
|
-
* @example
|
1502
|
-
* ```ts
|
1503
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1504
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1505
|
-
* ```
|
1506
|
-
*
|
1507
|
-
* @remarks
|
1508
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1509
|
-
*/
|
1510
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1511
|
-
/**
|
1512
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1513
|
-
*
|
1514
|
-
* @example
|
1515
|
-
* ```ts
|
1516
|
-
* onBrowserTroubleShootingClick?: () =>
|
1517
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1518
|
-
* ```
|
1519
|
-
*
|
1520
|
-
* @remarks
|
1521
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
1522
|
-
*/
|
1523
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1524
1204
|
/**
|
1525
1205
|
* Remote participant video tile menu options
|
1526
1206
|
*/
|
@@ -1586,7 +1266,7 @@ export declare type CallCompositeOptions = {
|
|
1586
1266
|
*
|
1587
1267
|
* @public
|
1588
1268
|
*/
|
1589
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' |
|
1269
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
|
1590
1270
|
|
1591
1271
|
/**
|
1592
1272
|
* Props for {@link CallComposite}.
|
@@ -1808,6 +1488,10 @@ export declare interface CallCompositeStrings {
|
|
1808
1488
|
* Side pane People section Title.
|
1809
1489
|
*/
|
1810
1490
|
peoplePaneTitle: string;
|
1491
|
+
/**
|
1492
|
+
* Aria label of more button in people pane
|
1493
|
+
*/
|
1494
|
+
peoplePaneMoreButtonAriaLabel: string;
|
1811
1495
|
/**
|
1812
1496
|
* Aria label string for return to call back button
|
1813
1497
|
*/
|
@@ -1832,74 +1516,10 @@ export declare interface CallCompositeStrings {
|
|
1832
1516
|
* Label for SidePaneHeader dismiss button
|
1833
1517
|
*/
|
1834
1518
|
dismissSidePaneButtonLabel?: string;
|
1835
|
-
/**
|
1836
|
-
* Side pane People section subheader.
|
1837
|
-
*/
|
1838
|
-
peoplePaneSubTitle: string;
|
1839
|
-
/**
|
1840
|
-
* Label for button to copy invite link
|
1841
|
-
*/
|
1842
|
-
copyInviteLinkButtonLabel: string;
|
1843
|
-
/**
|
1844
|
-
* Label for button to open dialpad
|
1845
|
-
*/
|
1846
|
-
openDialpadButtonLabel: string;
|
1847
|
-
/**
|
1848
|
-
* Label for menu item to remove participant
|
1849
|
-
*/
|
1850
|
-
removeMenuLabel: string;
|
1851
|
-
/**
|
1852
|
-
* Label for add people dropdown
|
1853
|
-
*/
|
1854
|
-
peoplePaneAddPeopleButtonLabel: string;
|
1855
|
-
/**
|
1856
|
-
* Label for button to start a call
|
1857
|
-
*/
|
1858
|
-
dialpadStartCallButtonLabel: string;
|
1859
|
-
/**
|
1860
|
-
* Title for dialpad Modal
|
1861
|
-
*/
|
1862
|
-
dialpadModalTitle: string;
|
1863
|
-
/**
|
1864
|
-
* Aria Label for dialpad Modal
|
1865
|
-
*/
|
1866
|
-
dialpadModalAriaLabel: string;
|
1867
|
-
/**
|
1868
|
-
* Aria Label for dialpad Modal close button
|
1869
|
-
*/
|
1870
|
-
dialpadCloseModalButtonAriaLabel: string;
|
1871
1519
|
/**
|
1872
1520
|
* label for more button in the Calling composite
|
1873
1521
|
*/
|
1874
1522
|
moreButtonCallingLabel: string;
|
1875
|
-
/**
|
1876
|
-
* Label for the resume call button on the hold pane
|
1877
|
-
*/
|
1878
|
-
resumeCallButtonLabel: string;
|
1879
|
-
/**
|
1880
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1881
|
-
*/
|
1882
|
-
resumingCallButtonLabel: string;
|
1883
|
-
/**
|
1884
|
-
* Aria label for the resume call button on the hold pane
|
1885
|
-
*/
|
1886
|
-
resumeCallButtonAriaLabel: string;
|
1887
|
-
/**
|
1888
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1889
|
-
*/
|
1890
|
-
resumingCallButtonAriaLabel: string;
|
1891
|
-
/**
|
1892
|
-
* Label for the hold pane
|
1893
|
-
*/
|
1894
|
-
holdScreenLabel: string;
|
1895
|
-
/**
|
1896
|
-
* Placeholder text for dtmf dialpad
|
1897
|
-
*/
|
1898
|
-
dtmfDialpadPlaceholderText: string;
|
1899
|
-
/**
|
1900
|
-
* Label for the button to open dtmf dialpad
|
1901
|
-
*/
|
1902
|
-
openDtmfDialpadLabel: string;
|
1903
1523
|
/**
|
1904
1524
|
* aria label for when the invite link has been actioned
|
1905
1525
|
*/
|
@@ -1972,14 +1592,6 @@ export declare interface CallCompositeStrings {
|
|
1972
1592
|
* More details text of the page shown to the user when the user attempts to join a room they are not invited to.
|
1973
1593
|
*/
|
1974
1594
|
notInvitedToRoomDetails?: string;
|
1975
|
-
/**
|
1976
|
-
* Control bar People button ToolTipContent
|
1977
|
-
*/
|
1978
|
-
peopleButtonTooltipOpen: string;
|
1979
|
-
/**
|
1980
|
-
* Control bar People button ToolTipContent
|
1981
|
-
*/
|
1982
|
-
peopleButtonTooltipClose: string;
|
1983
1595
|
/**
|
1984
1596
|
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1985
1597
|
*/
|
@@ -2128,38 +1740,6 @@ export declare interface CallCompositeStrings {
|
|
2128
1740
|
* notice to be announced by narrator the transfer page is showing
|
2129
1741
|
*/
|
2130
1742
|
transferPageNoticeString: string;
|
2131
|
-
/**
|
2132
|
-
* Title text of the page shown to the user when target participant could not be reached
|
2133
|
-
*/
|
2134
|
-
participantCouldNotBeReachedTitle?: string;
|
2135
|
-
/**
|
2136
|
-
* More details text of the page shown to the user when target participant could not be reached
|
2137
|
-
*/
|
2138
|
-
participantCouldNotBeReachedMoreDetails?: string;
|
2139
|
-
/**
|
2140
|
-
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2141
|
-
*/
|
2142
|
-
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2143
|
-
/**
|
2144
|
-
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2145
|
-
*/
|
2146
|
-
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2147
|
-
/**
|
2148
|
-
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2149
|
-
*/
|
2150
|
-
unableToResolveTenantTitle?: string;
|
2151
|
-
/**
|
2152
|
-
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2153
|
-
*/
|
2154
|
-
unableToResolveTenantMoreDetails?: string;
|
2155
|
-
/**
|
2156
|
-
* Title text of the page shown to the user when target participant id is malformed
|
2157
|
-
*/
|
2158
|
-
participantIdIsMalformedTitle?: string;
|
2159
|
-
/**
|
2160
|
-
* More details text of the page shown to the user when target participant id is malformed
|
2161
|
-
*/
|
2162
|
-
participantIdIsMalformedMoreDetails?: string;
|
2163
1743
|
/**
|
2164
1744
|
* Controls label to move the overflow gallery around
|
2165
1745
|
*/
|
@@ -2324,7 +1904,7 @@ export declare type CallErrors = {
|
|
2324
1904
|
*
|
2325
1905
|
* @public
|
2326
1906
|
*/
|
2327
|
-
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' |
|
1907
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'VideoEffectsFeature.startEffects' | 'Call.setConstraints';
|
2328
1908
|
|
2329
1909
|
/**
|
2330
1910
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2423,23 +2003,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2423
2003
|
raisedHand?: RaisedHand;
|
2424
2004
|
};
|
2425
2005
|
|
2426
|
-
/**
|
2427
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2428
|
-
*
|
2429
|
-
* @remarks
|
2430
|
-
* This is currently in beta and only supports calling one Teams User.
|
2431
|
-
*
|
2432
|
-
* @example
|
2433
|
-
* ```
|
2434
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2435
|
-
* ```
|
2436
|
-
*
|
2437
|
-
* @beta
|
2438
|
-
*/
|
2439
|
-
export declare type CallParticipantsLocator = {
|
2440
|
-
participantIds: string[];
|
2441
|
-
};
|
2442
|
-
|
2443
2006
|
/**
|
2444
2007
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
2445
2008
|
*
|
@@ -2456,7 +2019,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2456
2019
|
*/
|
2457
2020
|
export declare interface CallProviderProps {
|
2458
2021
|
children: React_2.ReactNode;
|
2459
|
-
call?: Call
|
2022
|
+
call?: Call;
|
2460
2023
|
}
|
2461
2024
|
|
2462
2025
|
/**
|
@@ -2470,10 +2033,6 @@ export declare interface CallState {
|
|
2470
2033
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2471
2034
|
*/
|
2472
2035
|
id: string;
|
2473
|
-
/**
|
2474
|
-
* Type of the call.
|
2475
|
-
*/
|
2476
|
-
kind: CallKind;
|
2477
2036
|
/**
|
2478
2037
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2479
2038
|
*/
|
@@ -2572,10 +2131,6 @@ export declare interface CallState {
|
|
2572
2131
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2573
2132
|
*/
|
2574
2133
|
role?: ParticipantRole;
|
2575
|
-
/**
|
2576
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2577
|
-
*/
|
2578
|
-
totalParticipantCount?: number;
|
2579
2134
|
/**
|
2580
2135
|
* Transfer state of call
|
2581
2136
|
*/
|
@@ -2607,12 +2162,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2607
2162
|
* @public
|
2608
2163
|
*/
|
2609
2164
|
removeParticipant(userId: string): Promise<void>;
|
2610
|
-
/**
|
2611
|
-
* Remove a participant from the call.
|
2612
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2613
|
-
* @beta
|
2614
|
-
*/
|
2615
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2616
2165
|
/**
|
2617
2166
|
* Join the call with microphone initially on/off.
|
2618
2167
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2683,7 +2232,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
2683
2232
|
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2684
2233
|
* @public
|
2685
2234
|
*/
|
2686
|
-
startCall(participants: (MicrosoftTeamsAppIdentifier |
|
2235
|
+
startCall(participants: (MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], options?: StartCallOptions): Call | undefined;
|
2687
2236
|
/**
|
2688
2237
|
* Start sharing the screen during a call.
|
2689
2238
|
*
|
@@ -2873,53 +2422,16 @@ export declare interface CallWithChatAdapterManagement {
|
|
2873
2422
|
* @public
|
2874
2423
|
*/
|
2875
2424
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2876
|
-
/** @
|
2877
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2878
|
-
/** @beta */
|
2879
|
-
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
2880
|
-
/** @beta */
|
2881
|
-
clearFileUploads: () => void;
|
2882
|
-
/** @beta */
|
2883
|
-
cancelFileUpload: (id: string) => void;
|
2884
|
-
/** @beta */
|
2885
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
2886
|
-
/** @beta */
|
2887
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2888
|
-
/** @beta */
|
2889
|
-
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
2890
|
-
/** @beta */
|
2425
|
+
/** @public */
|
2891
2426
|
downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
|
2892
|
-
/** @
|
2427
|
+
/** @public */
|
2893
2428
|
removeResourceFromCache(resourceDetails: ResourceDetails): void;
|
2894
|
-
/**
|
2895
|
-
* Puts the Call in a Localhold.
|
2896
|
-
*
|
2897
|
-
* @beta
|
2898
|
-
*/
|
2899
|
-
holdCall: () => Promise<void>;
|
2900
|
-
/**
|
2901
|
-
* Resumes the call from a LocalHold state.
|
2902
|
-
*
|
2903
|
-
* @beta
|
2904
|
-
*/
|
2905
|
-
resumeCall: () => Promise<void>;
|
2906
|
-
/**
|
2907
|
-
* Adds a new Participant to the call.
|
2908
|
-
*
|
2909
|
-
* @beta
|
2910
|
-
*/
|
2911
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2912
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2913
2429
|
/**
|
2914
2430
|
* send dtmf tone to another participant in the call in 1:1 calls
|
2915
2431
|
*
|
2916
2432
|
* @public
|
2917
2433
|
*/
|
2918
2434
|
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2919
|
-
/**
|
2920
|
-
* Continues into a call when the browser version is not supported.
|
2921
|
-
*/
|
2922
|
-
allowUnsupportedBrowserVersion(): void;
|
2923
2435
|
/**
|
2924
2436
|
* Function to Start captions
|
2925
2437
|
* @param options - options for start captions
|
@@ -3049,22 +2561,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
3049
2561
|
* @public
|
3050
2562
|
*/
|
3051
2563
|
page: CallCompositePage;
|
3052
|
-
/**
|
3053
|
-
* Files being uploaded by a user in the current thread.
|
3054
|
-
* Should be set to null once the upload is complete.
|
3055
|
-
* Array of type {@link FileUploadsUiState}
|
3056
|
-
*
|
3057
|
-
* @beta
|
3058
|
-
*/
|
3059
|
-
fileUploads?: FileUploadsUiState;
|
3060
|
-
/**
|
3061
|
-
* State to track whether the end user has opted in to using a
|
3062
|
-
* out of date version of a supported browser. Allows the user
|
3063
|
-
* to start a call in this state.
|
3064
|
-
*
|
3065
|
-
* @beta
|
3066
|
-
*/
|
3067
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
3068
2564
|
}
|
3069
2565
|
|
3070
2566
|
/**
|
@@ -3089,10 +2585,6 @@ export declare interface CallWithChatClientState {
|
|
3089
2585
|
devices: DeviceManagerState;
|
3090
2586
|
/** State of whether the active call is a Teams interop call */
|
3091
2587
|
isTeamsCall: boolean;
|
3092
|
-
/** alternateCallerId for PSTN call */
|
3093
|
-
alternateCallerId?: string | undefined;
|
3094
|
-
/** Environment information for system adapter is made on */
|
3095
|
-
environmentInfo?: EnvironmentInfo;
|
3096
2588
|
/** Default set of background images for background replacement effect */
|
3097
2589
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3098
2590
|
/** Dependency to be injected for video background effects */
|
@@ -3167,9 +2659,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
3167
2659
|
ParticipantItemScreenShareStart?: JSX.Element;
|
3168
2660
|
VideoTileMicOff?: JSX.Element;
|
3169
2661
|
LocalCameraSwitch?: JSX.Element;
|
3170
|
-
PeoplePaneAddPerson?: JSX.Element;
|
3171
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
3172
|
-
DialpadStartCall?: JSX.Element;
|
3173
2662
|
DefaultCustomButton?: JSX.Element;
|
3174
2663
|
DtmfDialpadButton?: JSX.Element;
|
3175
2664
|
EditBoxCancel?: JSX.Element;
|
@@ -3198,62 +2687,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
3198
2687
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
3199
2688
|
*/
|
3200
2689
|
callControls?: boolean | CallWithChatControlOptions;
|
3201
|
-
/**
|
3202
|
-
* Properties for configuring the File Sharing feature.
|
3203
|
-
* If undefined, file sharing feature will be disabled.
|
3204
|
-
* @beta
|
3205
|
-
*/
|
3206
|
-
fileSharing?: FileSharingOptions;
|
3207
|
-
/**
|
3208
|
-
* Device permissions check options for your call.
|
3209
|
-
* Here you can choose what device permissions you prompt the user for,
|
3210
|
-
* as well as what device permissions must be accepted before starting a call.
|
3211
|
-
*/
|
3212
|
-
deviceChecks?: DeviceCheckOptions;
|
3213
|
-
/**
|
3214
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3215
|
-
* unable to grant your site the required permissions for the call.
|
3216
|
-
*
|
3217
|
-
* @example
|
3218
|
-
* ```ts
|
3219
|
-
* onPermissionsTroubleshootingClick: () =>
|
3220
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3221
|
-
* ```
|
3222
|
-
*
|
3223
|
-
* @remarks
|
3224
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3225
|
-
*/
|
3226
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3227
|
-
camera: PermissionState;
|
3228
|
-
microphone: PermissionState;
|
3229
|
-
}) => void;
|
3230
|
-
/**
|
3231
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
3232
|
-
* experienced when connecting to a call.
|
3233
|
-
*
|
3234
|
-
* @example
|
3235
|
-
* ```ts
|
3236
|
-
* onNetworkingTroubleShootingClick?: () =>
|
3237
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3238
|
-
* ```
|
3239
|
-
*
|
3240
|
-
* @remarks
|
3241
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3242
|
-
*/
|
3243
|
-
onNetworkingTroubleShootingClick?: () => void;
|
3244
|
-
/**
|
3245
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3246
|
-
*
|
3247
|
-
* @example
|
3248
|
-
* ```ts
|
3249
|
-
* onBrowserTroubleShootingClick?: () =>
|
3250
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3251
|
-
* ```
|
3252
|
-
*
|
3253
|
-
* @remarks
|
3254
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
3255
|
-
*/
|
3256
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
3257
2690
|
/**
|
3258
2691
|
* Remote participant video tile menu options
|
3259
2692
|
*/
|
@@ -3463,10 +2896,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3463
2896
|
* Label for button to copy invite link
|
3464
2897
|
*/
|
3465
2898
|
copyInviteLinkButtonLabel: string;
|
3466
|
-
/**
|
3467
|
-
* Label for button to open dialpad
|
3468
|
-
*/
|
3469
|
-
openDialpadButtonLabel: string;
|
3470
2899
|
/**
|
3471
2900
|
* Label for SidePaneHeader dismiss button
|
3472
2901
|
*/
|
@@ -3479,34 +2908,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3479
2908
|
* Aria label string for return to call back button
|
3480
2909
|
*/
|
3481
2910
|
returnToCallButtonAriaLabel?: string;
|
3482
|
-
/**
|
3483
|
-
* Label for add people dropdown
|
3484
|
-
*/
|
3485
|
-
peoplePaneAddPeopleButtonLabel: string;
|
3486
|
-
/**
|
3487
|
-
* Label for button to start a call
|
3488
|
-
*/
|
3489
|
-
dialpadStartCallButtonLabel: string;
|
3490
|
-
/**
|
3491
|
-
* Title for dialpad Modal
|
3492
|
-
*/
|
3493
|
-
dialpadModalTitle: string;
|
3494
|
-
/**
|
3495
|
-
* Aria Label for dialpad Modal
|
3496
|
-
*/
|
3497
|
-
dialpadModalAriaLabel: string;
|
3498
|
-
/**
|
3499
|
-
* Aria Label for dialpad Modal close button
|
3500
|
-
*/
|
3501
|
-
dialpadCloseModalButtonAriaLabel: string;
|
3502
|
-
/**
|
3503
|
-
* Placeholder text for dtmf dialpad
|
3504
|
-
*/
|
3505
|
-
dtmfDialpadPlaceholderText: string;
|
3506
|
-
/**
|
3507
|
-
* Label for the button to open dtmf dialpad
|
3508
|
-
*/
|
3509
|
-
openDtmfDialpadLabel: string;
|
3510
2911
|
/**
|
3511
2912
|
* aria label for when the invite link has been actioned
|
3512
2913
|
*/
|
@@ -3523,9 +2924,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3523
2924
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
3524
2925
|
* @defaultValue true
|
3525
2926
|
*/
|
3526
|
-
chatButton?: boolean
|
3527
|
-
disabled: boolean;
|
3528
|
-
};
|
2927
|
+
chatButton?: boolean;
|
3529
2928
|
}
|
3530
2929
|
|
3531
2930
|
/**
|
@@ -3535,35 +2934,6 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3535
2934
|
*/
|
3536
2935
|
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' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3537
2936
|
|
3538
|
-
/**
|
3539
|
-
* @beta
|
3540
|
-
*
|
3541
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3542
|
-
* by their browsers settings.
|
3543
|
-
*/
|
3544
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3545
|
-
|
3546
|
-
/**
|
3547
|
-
* @beta
|
3548
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
3549
|
-
*/
|
3550
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3551
|
-
/** Icon name for the camera icon */
|
3552
|
-
cameraIconName?: string;
|
3553
|
-
/** Icon name for the microphone icon */
|
3554
|
-
microphoneIconName?: string;
|
3555
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
3556
|
-
connectorIconName?: string;
|
3557
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3558
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3559
|
-
}
|
3560
|
-
|
3561
|
-
/**
|
3562
|
-
* @beta
|
3563
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3564
|
-
*/
|
3565
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3566
|
-
|
3567
2937
|
/**
|
3568
2938
|
* A button to turn camera on / off.
|
3569
2939
|
*
|
@@ -3720,31 +3090,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3720
3090
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3721
3091
|
}
|
3722
3092
|
|
3723
|
-
/**
|
3724
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3725
|
-
* by their browsers settings.
|
3726
|
-
*
|
3727
|
-
* @beta
|
3728
|
-
*/
|
3729
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3730
|
-
|
3731
|
-
/**
|
3732
|
-
* @beta
|
3733
|
-
* Props for CameraSitePermissions component.
|
3734
|
-
*/
|
3735
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3736
|
-
/** Icon name for the camera icon */
|
3737
|
-
cameraIconName?: string;
|
3738
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3739
|
-
strings?: CameraSitePermissionsStrings;
|
3740
|
-
}
|
3741
|
-
|
3742
|
-
/**
|
3743
|
-
* @beta
|
3744
|
-
* Strings for CameraSitePermissions component.
|
3745
|
-
*/
|
3746
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3747
|
-
|
3748
3093
|
/**
|
3749
3094
|
* @public
|
3750
3095
|
* Callback function run when a message edit is cancelled.
|
@@ -3950,7 +3295,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3950
3295
|
*
|
3951
3296
|
* @public
|
3952
3297
|
*/
|
3953
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers
|
3298
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
|
3954
3299
|
|
3955
3300
|
/**
|
3956
3301
|
* {@link ChatAdapter} state.
|
@@ -4074,9 +3419,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
4074
3419
|
/**
|
4075
3420
|
* Update a message content.
|
4076
3421
|
*/
|
4077
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
4078
|
-
attachmentMetadata?: AttachmentMetadata[];
|
4079
|
-
}): Promise<void>;
|
3422
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
4080
3423
|
/**
|
4081
3424
|
* Delete a message in the thread.
|
4082
3425
|
*/
|
@@ -4106,20 +3449,13 @@ export declare interface ChatAdapterThreadManagement {
|
|
4106
3449
|
*/
|
4107
3450
|
export declare type ChatAdapterUiState = {
|
4108
3451
|
error?: Error;
|
4109
|
-
/**
|
4110
|
-
* Files being uploaded by a user in the current thread.
|
4111
|
-
* Should be set to null once the upload is complete.
|
4112
|
-
* Array of type {@link FileUploadsUiState}
|
4113
|
-
* @beta
|
4114
|
-
*/
|
4115
|
-
fileUploads?: FileUploadsUiState;
|
4116
3452
|
};
|
4117
3453
|
|
4118
3454
|
/**
|
4119
3455
|
* Represents the type of attachment
|
4120
|
-
* @
|
3456
|
+
* @public
|
4121
3457
|
*/
|
4122
|
-
export declare type ChatAttachmentType = 'unknown' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ '
|
3458
|
+
export declare type ChatAttachmentType = 'unknown' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'image';
|
4123
3459
|
|
4124
3460
|
/**
|
4125
3461
|
* Common props for selectors for {@link ChatClientState}.
|
@@ -4221,7 +3557,6 @@ export declare type ChatCompositeIcons = {
|
|
4221
3557
|
ParticipantItemOptionsHovered?: JSX.Element;
|
4222
3558
|
SendBoxSend?: JSX.Element;
|
4223
3559
|
SendBoxSendHovered?: JSX.Element;
|
4224
|
-
SendBoxAttachFile?: JSX.Element;
|
4225
3560
|
};
|
4226
3561
|
|
4227
3562
|
/**
|
@@ -4236,13 +3571,6 @@ export declare type ChatCompositeOptions = {
|
|
4236
3571
|
* @defaultValue true
|
4237
3572
|
*/
|
4238
3573
|
errorBar?: boolean;
|
4239
|
-
/**
|
4240
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4241
|
-
* @defaultValue false
|
4242
|
-
*
|
4243
|
-
* @beta
|
4244
|
-
*/
|
4245
|
-
participantPane?: boolean;
|
4246
3574
|
/**
|
4247
3575
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
4248
3576
|
* @defaultValue true
|
@@ -4253,12 +3581,6 @@ export declare type ChatCompositeOptions = {
|
|
4253
3581
|
* When undefined nothing has focus on render
|
4254
3582
|
*/
|
4255
3583
|
autoFocus?: 'sendBoxTextField';
|
4256
|
-
/**
|
4257
|
-
* Properties for configuring the File Sharing feature.
|
4258
|
-
* If undefined, file sharing feature will be disabled.
|
4259
|
-
* @beta
|
4260
|
-
*/
|
4261
|
-
fileSharing?: FileSharingOptions;
|
4262
3584
|
};
|
4263
3585
|
|
4264
3586
|
/**
|
@@ -4286,12 +3608,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
4286
3608
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
4287
3609
|
*/
|
4288
3610
|
options?: ChatCompositeOptions;
|
4289
|
-
/**
|
4290
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
4291
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4292
|
-
* @defaultValue 'desktop'
|
4293
|
-
*/
|
4294
|
-
formFactor?: 'desktop' | 'mobile';
|
4295
3611
|
}
|
4296
3612
|
|
4297
3613
|
/**
|
@@ -4306,10 +3622,6 @@ export declare interface ChatCompositeStrings {
|
|
4306
3622
|
* Chat list header text
|
4307
3623
|
*/
|
4308
3624
|
chatListHeader: string;
|
4309
|
-
/**
|
4310
|
-
* Upload File Button text
|
4311
|
-
*/
|
4312
|
-
uploadFile: string;
|
4313
3625
|
}
|
4314
3626
|
|
4315
3627
|
/**
|
@@ -4358,7 +3670,7 @@ export declare type ChatErrors = {
|
|
4358
3670
|
*
|
4359
3671
|
* @public
|
4360
3672
|
*/
|
4361
|
-
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' |
|
3673
|
+
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';
|
4362
3674
|
|
4363
3675
|
/**
|
4364
3676
|
* Object containing all the handlers required for chat components.
|
@@ -4375,10 +3687,7 @@ export declare type ChatHandlers = {
|
|
4375
3687
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
4376
3688
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
4377
3689
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
4378
|
-
onUpdateMessage: (messageId: string, content: string
|
4379
|
-
metadata?: Record<string, string>;
|
4380
|
-
attachmentMetadata?: AttachmentMetadata[];
|
4381
|
-
}) => Promise<void>;
|
3690
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
4382
3691
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
4383
3692
|
};
|
4384
3693
|
|
@@ -4405,18 +3714,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4405
3714
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
4406
3715
|
*/
|
4407
3716
|
metadata?: Record<string, string>;
|
4408
|
-
/**
|
4409
|
-
* @beta
|
4410
|
-
* A list of file attachments for the message.
|
4411
|
-
* {@link FileMetadata}
|
4412
|
-
*/
|
4413
|
-
files?: FileMetadata[];
|
4414
|
-
/**
|
4415
|
-
* @beta
|
4416
|
-
* A list of inline images embedded in the message.
|
4417
|
-
* {@link InlineImageMetadata}
|
4418
|
-
*/
|
4419
|
-
inlineImages?: InlineImageMetadata[];
|
4420
3717
|
}
|
4421
3718
|
|
4422
3719
|
/**
|
@@ -4430,8 +3727,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4430
3727
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
4431
3728
|
clientMessageId?: string;
|
4432
3729
|
status: MessageStatus;
|
4433
|
-
|
4434
|
-
resourceCache?: Record<string, string>;
|
3730
|
+
resourceCache?: Record<string, ResourceFetchResult>;
|
4435
3731
|
};
|
4436
3732
|
|
4437
3733
|
/**
|
@@ -4597,12 +3893,6 @@ export declare type CommonCallAdapterOptions = {
|
|
4597
3893
|
videoBackgroundImages?: VideoBackgroundImage[];
|
4598
3894
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
4599
3895
|
};
|
4600
|
-
/**
|
4601
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4602
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4603
|
-
* and would not be updated again within the lifecycle of adapter.
|
4604
|
-
*/
|
4605
|
-
onFetchProfile?: OnFetchProfileCallback;
|
4606
3896
|
/**
|
4607
3897
|
* Sounds to use for calling events
|
4608
3898
|
*/
|
@@ -4629,9 +3919,7 @@ export declare type CommonCallControlOptions = {
|
|
4629
3919
|
* Show or Hide Camera Button during a call
|
4630
3920
|
* @defaultValue true
|
4631
3921
|
*/
|
4632
|
-
cameraButton?: boolean
|
4633
|
-
disabled: boolean;
|
4634
|
-
};
|
3922
|
+
cameraButton?: boolean;
|
4635
3923
|
/**
|
4636
3924
|
* Show or Hide EndCall button during a call.
|
4637
3925
|
* @defaultValue true
|
@@ -4641,16 +3929,12 @@ export declare type CommonCallControlOptions = {
|
|
4641
3929
|
* Show or Hide Microphone button during a call.
|
4642
3930
|
* @defaultValue true
|
4643
3931
|
*/
|
4644
|
-
microphoneButton?: boolean
|
4645
|
-
disabled: boolean;
|
4646
|
-
};
|
3932
|
+
microphoneButton?: boolean;
|
4647
3933
|
/**
|
4648
3934
|
* Show or Hide Devices button during a call.
|
4649
3935
|
* @defaultValue true
|
4650
3936
|
*/
|
4651
|
-
devicesButton?: boolean
|
4652
|
-
disabled: boolean;
|
4653
|
-
};
|
3937
|
+
devicesButton?: boolean;
|
4654
3938
|
/**
|
4655
3939
|
* Show, Hide or Disable participants button during a call.
|
4656
3940
|
* @defaultValue true
|
@@ -4681,16 +3965,11 @@ export declare type CommonCallControlOptions = {
|
|
4681
3965
|
* Inject custom buttons in the call controls.
|
4682
3966
|
*/
|
4683
3967
|
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4684
|
-
holdButton?: boolean | {
|
4685
|
-
disabled: boolean;
|
4686
|
-
};
|
4687
3968
|
/**
|
4688
3969
|
* Show or hide the people button in the composite control bar.
|
4689
3970
|
* @defaultValue true
|
4690
3971
|
*/
|
4691
|
-
peopleButton?: boolean
|
4692
|
-
disabled: boolean;
|
4693
|
-
};
|
3972
|
+
peopleButton?: boolean;
|
4694
3973
|
/**
|
4695
3974
|
* Show or hide the dialpad button in the composite control bar.
|
4696
3975
|
*/
|
@@ -4721,9 +4000,6 @@ export declare interface CommonCallingHandlers {
|
|
4721
4000
|
onRaiseHand: () => Promise<void>;
|
4722
4001
|
onLowerHand: () => Promise<void>;
|
4723
4002
|
onToggleRaiseHand: () => Promise<void>;
|
4724
|
-
onToggleHold: () => Promise<void>;
|
4725
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4726
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4727
4003
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4728
4004
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4729
4005
|
/**
|
@@ -4735,8 +4011,6 @@ export declare interface CommonCallingHandlers {
|
|
4735
4011
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4736
4012
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4737
4013
|
onRemoveParticipant(userId: string): Promise<void>;
|
4738
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4739
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4740
4014
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
4741
4015
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4742
4016
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -4756,39 +4030,6 @@ export declare type CommonProperties<A, B> = {
|
|
4756
4030
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4757
4031
|
}[keyof A & keyof B];
|
4758
4032
|
|
4759
|
-
/**
|
4760
|
-
* @beta
|
4761
|
-
* Props for SitePermissions components.
|
4762
|
-
*/
|
4763
|
-
export declare interface CommonSitePermissionsProps {
|
4764
|
-
/**
|
4765
|
-
* Name of application calling experience is in.
|
4766
|
-
*/
|
4767
|
-
appName: string;
|
4768
|
-
/**
|
4769
|
-
* Kind of the Site Permissions component.
|
4770
|
-
*/
|
4771
|
-
kind: 'request' | 'denied' | 'check';
|
4772
|
-
/**
|
4773
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4774
|
-
*/
|
4775
|
-
browserHint?: 'safari' | 'unset';
|
4776
|
-
/**
|
4777
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4778
|
-
* If this is not provided the button will not be shown.
|
4779
|
-
*/
|
4780
|
-
onTroubleshootingClick?: () => void;
|
4781
|
-
/**
|
4782
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4783
|
-
* If this is not provided the button will not be shown.
|
4784
|
-
*/
|
4785
|
-
onContinueAnywayClick?: () => void;
|
4786
|
-
/**
|
4787
|
-
* Styles for SitePermissions component.
|
4788
|
-
*/
|
4789
|
-
styles?: SitePermissionsStyles;
|
4790
|
-
}
|
4791
|
-
|
4792
4033
|
/**
|
4793
4034
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4794
4035
|
*
|
@@ -4965,11 +4206,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4965
4206
|
export declare interface ComponentLocale {
|
4966
4207
|
/** Strings for components */
|
4967
4208
|
strings: ComponentStrings;
|
4968
|
-
/**
|
4969
|
-
* Optional function to provide customized date format.
|
4970
|
-
* @beta
|
4971
|
-
*/
|
4972
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4973
4209
|
}
|
4974
4210
|
|
4975
4211
|
/**
|
@@ -5015,8 +4251,6 @@ export declare interface ComponentStrings {
|
|
5015
4251
|
typingIndicator: TypingIndicatorStrings;
|
5016
4252
|
/** Strings for SendBox */
|
5017
4253
|
sendBox: SendBoxStrings;
|
5018
|
-
/** Strings for MentionPopover */
|
5019
|
-
mentionPopover: MentionPopoverStrings;
|
5020
4254
|
/** Strings for ImageOverlay */
|
5021
4255
|
imageOverlay: ImageOverlayStrings;
|
5022
4256
|
/** Strings for MessageStatusIndicator */
|
@@ -5027,50 +4261,10 @@ export declare interface ComponentStrings {
|
|
5027
4261
|
videoGallery: VideoGalleryStrings;
|
5028
4262
|
/** Strings for Dialpad */
|
5029
4263
|
dialpad: DialpadStrings;
|
5030
|
-
/** Strings for VideoTile */
|
5031
|
-
videoTile: VideoTileStrings;
|
5032
|
-
/** Strings for HoldButton */
|
5033
|
-
holdButton: HoldButtonStrings;
|
5034
|
-
/** Strings for a site's permission request prompt */
|
5035
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5036
|
-
/** Strings for a site's permission request prompt */
|
5037
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
5038
|
-
/** Strings for a site's permission request prompt */
|
5039
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5040
|
-
/** Strings for a site's permission generic checking prompt */
|
5041
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5042
|
-
/** Strings for a site's permission generic checking prompt */
|
5043
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
5044
|
-
/** Strings for a site's permission generic checking prompt */
|
5045
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5046
|
-
/** Strings for a site's permission denied prompt */
|
5047
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5048
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
5049
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5050
|
-
/** Strings for a site's permission denied prompt */
|
5051
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
5052
|
-
/** Strings for a site's permission denied prompt */
|
5053
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5054
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
5055
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5056
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
5057
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5058
|
-
/** Strings for unsupported browser UI */
|
5059
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
5060
|
-
/** Strings for unsupported browser version UI */
|
5061
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
5062
|
-
/** Strings for unsupported browser version UI */
|
5063
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
5064
|
-
/** Strings for BrowserPemissionDenied */
|
5065
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
5066
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
5067
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
5068
4264
|
/**
|
5069
4265
|
* Strings for the VerticalGallery.
|
5070
4266
|
*/
|
5071
4267
|
verticalGallery: VerticalGalleryStrings;
|
5072
|
-
/** Strings for the participant list component */
|
5073
|
-
ParticipantList: ParticipantListStrings;
|
5074
4268
|
}
|
5075
4269
|
|
5076
4270
|
/**
|
@@ -5472,7 +4666,7 @@ export declare function createAzureCommunicationCallAdapterFromClient(callClient
|
|
5472
4666
|
*
|
5473
4667
|
* @public
|
5474
4668
|
*/
|
5475
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator,
|
4669
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5476
4670
|
|
5477
4671
|
/**
|
5478
4672
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -5533,18 +4727,6 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
5533
4727
|
*/
|
5534
4728
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
5535
4729
|
|
5536
|
-
/**
|
5537
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5538
|
-
*
|
5539
|
-
* Useful when implementing a custom component that utilizes the providers
|
5540
|
-
* exported from this library.
|
5541
|
-
*
|
5542
|
-
* @beta
|
5543
|
-
*/
|
5544
|
-
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?: {
|
5545
|
-
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
5546
|
-
}) => never | TeamsCallingHandlers;
|
5547
|
-
|
5548
4730
|
/**
|
5549
4731
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
5550
4732
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -5570,21 +4752,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
5570
4752
|
*/
|
5571
4753
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
|
5572
4754
|
|
5573
|
-
/**
|
5574
|
-
* @beta
|
5575
|
-
*/
|
5576
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5577
|
-
|
5578
|
-
/**
|
5579
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5580
|
-
*
|
5581
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5582
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5583
|
-
*
|
5584
|
-
* @beta
|
5585
|
-
*/
|
5586
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
5587
|
-
|
5588
4755
|
/**
|
5589
4756
|
* Object returned after creating a local or remote VideoStream.
|
5590
4757
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -5635,13 +4802,6 @@ export declare type CustomAvatarOptions = {
|
|
5635
4802
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
5636
4803
|
/** Display name to be used in Persona */
|
5637
4804
|
text?: string;
|
5638
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5639
|
-
participantState?: ParticipantState;
|
5640
|
-
/**
|
5641
|
-
* If true, show the special coin for unknown persona.
|
5642
|
-
* It has '?' in place of initials, with static font and background colors
|
5643
|
-
*/
|
5644
|
-
showUnknownPersonaCoin?: boolean;
|
5645
4805
|
};
|
5646
4806
|
|
5647
4807
|
/**
|
@@ -5769,18 +4929,6 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5769
4929
|
*/
|
5770
4930
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
5771
4931
|
|
5772
|
-
/**
|
5773
|
-
* @beta
|
5774
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5775
|
-
*/
|
5776
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
5777
|
-
|
5778
|
-
/**
|
5779
|
-
* @beta
|
5780
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5781
|
-
*/
|
5782
|
-
export declare type DeclarativeIncomingCall = IncomingCall;
|
5783
|
-
|
5784
4932
|
/**
|
5785
4933
|
* The default set of icons that are available to use in the UI components.
|
5786
4934
|
*
|
@@ -5804,9 +4952,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5804
4952
|
ControlButtonLowerHand: React_2.JSX.Element;
|
5805
4953
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
5806
4954
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
5807
|
-
CancelFileUpload: React_2.JSX.Element;
|
5808
|
-
DownloadFile: React_2.JSX.Element;
|
5809
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
5810
4955
|
EditBoxCancel: React_2.JSX.Element;
|
5811
4956
|
EditBoxSubmit: React_2.JSX.Element;
|
5812
4957
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -5839,20 +4984,10 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5839
4984
|
ParticipantItemOptions: React_2.JSX.Element;
|
5840
4985
|
ParticipantItemOptionsHovered: React_2.JSX.Element;
|
5841
4986
|
ParticipantItemScreenShareStart: React_2.JSX.Element;
|
5842
|
-
HoldCallContextualMenuItem: React_2.JSX.Element;
|
5843
|
-
HoldCallButton: React_2.JSX.Element;
|
5844
|
-
ResumeCall: React_2.JSX.Element;
|
5845
4987
|
SendBoxSend: React_2.JSX.Element;
|
5846
4988
|
SendBoxSendHovered: React_2.JSX.Element;
|
5847
4989
|
VideoTileMicOff: React_2.JSX.Element;
|
5848
4990
|
DialpadBackspace: React_2.JSX.Element;
|
5849
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
5850
|
-
SitePermissionCamera: React_2.JSX.Element;
|
5851
|
-
SitePermissionMic: React_2.JSX.Element;
|
5852
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
5853
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
5854
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
5855
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
5856
4991
|
VideoTilePinned: React_2.JSX.Element;
|
5857
4992
|
VideoTileMoreOptions: React_2.JSX.Element;
|
5858
4993
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -5895,7 +5030,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5895
5030
|
ParticipantItemOptionsHovered: JSX.Element;
|
5896
5031
|
SendBoxSend: JSX.Element;
|
5897
5032
|
SendBoxSendHovered: JSX.Element;
|
5898
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5899
5033
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
5900
5034
|
ControlButtonCameraOff: JSX.Element;
|
5901
5035
|
ControlButtonCameraOn: JSX.Element;
|
@@ -5950,9 +5084,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5950
5084
|
ParticipantItemScreenShareStart: JSX.Element;
|
5951
5085
|
VideoTileMicOff: JSX.Element;
|
5952
5086
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5953
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5954
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5955
|
-
DialpadStartCall?: JSX.Element | undefined;
|
5956
5087
|
NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
|
5957
5088
|
BlurVideoBackground?: JSX.Element | undefined;
|
5958
5089
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
@@ -5974,25 +5105,13 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5974
5105
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5975
5106
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5976
5107
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
5108
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
5977
5109
|
ChatMessageOptions: React_2.JSX.Element;
|
5978
5110
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
5979
|
-
CancelFileUpload: React_2.JSX.Element;
|
5980
|
-
DownloadFile: React_2.JSX.Element;
|
5981
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
5982
5111
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
5983
5112
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
5984
5113
|
MessageResend: React_2.JSX.Element;
|
5985
|
-
HoldCallContextualMenuItem: React_2.JSX.Element;
|
5986
|
-
HoldCallButton: React_2.JSX.Element;
|
5987
|
-
ResumeCall: React_2.JSX.Element;
|
5988
5114
|
DialpadBackspace: React_2.JSX.Element;
|
5989
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
5990
|
-
SitePermissionCamera: React_2.JSX.Element;
|
5991
|
-
SitePermissionMic: React_2.JSX.Element;
|
5992
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
5993
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
5994
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
5995
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
5996
5115
|
VideoTilePinned: React_2.JSX.Element;
|
5997
5116
|
VideoTileMoreOptions: React_2.JSX.Element;
|
5998
5117
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -6017,29 +5136,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
6017
5136
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6018
5137
|
};
|
6019
5138
|
|
6020
|
-
/**
|
6021
|
-
* Device Checks.
|
6022
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
6023
|
-
*
|
6024
|
-
* @beta
|
6025
|
-
*/
|
6026
|
-
export declare interface DeviceCheckOptions {
|
6027
|
-
/**
|
6028
|
-
* Camera Permission prompts for your call.
|
6029
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6030
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6031
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6032
|
-
*/
|
6033
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
6034
|
-
/**
|
6035
|
-
* Microphone permission prompts for your call.
|
6036
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6037
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6038
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6039
|
-
*/
|
6040
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
6041
|
-
}
|
6042
|
-
|
6043
5139
|
/**
|
6044
5140
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
6045
5141
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -6626,206 +5722,6 @@ export declare interface ErrorBarStrings {
|
|
6626
5722
|
*/
|
6627
5723
|
export declare type ErrorType = keyof ErrorBarStrings;
|
6628
5724
|
|
6629
|
-
/**
|
6630
|
-
* @beta
|
6631
|
-
* A file download error returned via a {@link FileDownloadHandler}.
|
6632
|
-
* This error message is used to render an error message in the UI.
|
6633
|
-
*/
|
6634
|
-
export declare interface FileDownloadError {
|
6635
|
-
/** The error message to display in the UI */
|
6636
|
-
errorMessage: string;
|
6637
|
-
}
|
6638
|
-
|
6639
|
-
/**
|
6640
|
-
* @beta
|
6641
|
-
*
|
6642
|
-
* A callback function for handling file downloads.
|
6643
|
-
* The function needs to return a promise that resolves to a file download URL.
|
6644
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6645
|
-
*
|
6646
|
-
* @example
|
6647
|
-
* ```ts
|
6648
|
-
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6649
|
-
* if (isUnauthorizedUser(userId)) {
|
6650
|
-
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6651
|
-
* } else {
|
6652
|
-
* return new URL(fileData.url);
|
6653
|
-
* }
|
6654
|
-
* }
|
6655
|
-
*
|
6656
|
-
* const App = () => (
|
6657
|
-
* <ChatComposite
|
6658
|
-
* ...
|
6659
|
-
* fileSharing={{
|
6660
|
-
* fileDownloadHandler: fileDownloadHandler
|
6661
|
-
* }}
|
6662
|
-
* />
|
6663
|
-
* )
|
6664
|
-
*
|
6665
|
-
* ```
|
6666
|
-
* @param userId - The user ID of the user downloading the file.
|
6667
|
-
* @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
|
6668
|
-
*/
|
6669
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
6670
|
-
|
6671
|
-
/**
|
6672
|
-
* Metadata containing basic information about the uploaded file.
|
6673
|
-
*
|
6674
|
-
* @beta
|
6675
|
-
*/
|
6676
|
-
export declare interface FileMetadata {
|
6677
|
-
attachmentType: 'file';
|
6678
|
-
/**
|
6679
|
-
* Extension hint, useful for rendering a specific icon.
|
6680
|
-
* An unknown or empty extension will be rendered as a generic icon.
|
6681
|
-
* Example: `pdf`
|
6682
|
-
*/
|
6683
|
-
extension: string;
|
6684
|
-
/**
|
6685
|
-
* Unique ID of the file.
|
6686
|
-
*/
|
6687
|
-
id: string;
|
6688
|
-
/**
|
6689
|
-
* File name to be displayed.
|
6690
|
-
*/
|
6691
|
-
name: string;
|
6692
|
-
/**
|
6693
|
-
* Download URL for the file.
|
6694
|
-
*/
|
6695
|
-
url: string;
|
6696
|
-
payload?: Record<string, string>;
|
6697
|
-
}
|
6698
|
-
|
6699
|
-
/**
|
6700
|
-
* Properties for configuring the File Sharing feature.
|
6701
|
-
* @beta
|
6702
|
-
*/
|
6703
|
-
export declare interface FileSharingOptions {
|
6704
|
-
/**
|
6705
|
-
* A string containing the comma separated list of accepted file types.
|
6706
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6707
|
-
* Accepts any type of file if not specified.
|
6708
|
-
* @beta
|
6709
|
-
*/
|
6710
|
-
accept?: string;
|
6711
|
-
/**
|
6712
|
-
* Allows multiple files to be selected if set to `true`.
|
6713
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6714
|
-
* @defaultValue false
|
6715
|
-
* @beta
|
6716
|
-
*/
|
6717
|
-
multiple?: boolean;
|
6718
|
-
/**
|
6719
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6720
|
-
* @beta
|
6721
|
-
*/
|
6722
|
-
uploadHandler: FileUploadHandler;
|
6723
|
-
/**
|
6724
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6725
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6726
|
-
* initiate the download.
|
6727
|
-
*/
|
6728
|
-
downloadHandler?: FileDownloadHandler;
|
6729
|
-
}
|
6730
|
-
|
6731
|
-
/**
|
6732
|
-
* @beta
|
6733
|
-
*/
|
6734
|
-
export declare interface FileUploadAdapter {
|
6735
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6736
|
-
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
6737
|
-
clearFileUploads: () => void;
|
6738
|
-
cancelFileUpload: (id: string) => void;
|
6739
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
6740
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6741
|
-
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
6742
|
-
}
|
6743
|
-
|
6744
|
-
/**
|
6745
|
-
* @beta
|
6746
|
-
* Error message to be displayed to the user if the upload fails.
|
6747
|
-
*/
|
6748
|
-
export declare type FileUploadError = {
|
6749
|
-
message: string;
|
6750
|
-
timestamp: number;
|
6751
|
-
};
|
6752
|
-
|
6753
|
-
/**
|
6754
|
-
* @beta
|
6755
|
-
* A callback function for handling file uploads.
|
6756
|
-
*
|
6757
|
-
* @param userId - The user ID of the user uploading the file.
|
6758
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6759
|
-
*/
|
6760
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6761
|
-
|
6762
|
-
/**
|
6763
|
-
* A wrapper object for a file that is being uploaded.
|
6764
|
-
* Allows managing file uploads by providing common functions for updating the
|
6765
|
-
* upload progress, canceling an upload, completing an upload etc.
|
6766
|
-
* @beta
|
6767
|
-
*/
|
6768
|
-
export declare interface FileUploadManager {
|
6769
|
-
/**
|
6770
|
-
* Unique identifier for the file upload.
|
6771
|
-
*/
|
6772
|
-
id: string;
|
6773
|
-
/**
|
6774
|
-
* HTML {@link File} object for the uploaded file.
|
6775
|
-
*/
|
6776
|
-
file?: File;
|
6777
|
-
/**
|
6778
|
-
* Update the progress of the upload.
|
6779
|
-
* @param value - number between 0 and 1
|
6780
|
-
*/
|
6781
|
-
notifyUploadProgressChanged: (value: number) => void;
|
6782
|
-
/**
|
6783
|
-
* Mark the upload as complete.
|
6784
|
-
* Requires the `metadata` param containing uploaded file information.
|
6785
|
-
* @param metadata - {@link AttachmentMetadata}
|
6786
|
-
*/
|
6787
|
-
notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
|
6788
|
-
/**
|
6789
|
-
* Mark the upload as failed.
|
6790
|
-
* @param message - An error message that can be displayed to the user.
|
6791
|
-
*/
|
6792
|
-
notifyUploadFailed: (message: string) => void;
|
6793
|
-
}
|
6794
|
-
|
6795
|
-
/**
|
6796
|
-
* Contains the state attributes of a file upload like name, progress etc.
|
6797
|
-
* @beta
|
6798
|
-
*/
|
6799
|
-
export declare interface FileUploadState {
|
6800
|
-
/**
|
6801
|
-
* Unique identifier for the file upload.
|
6802
|
-
*/
|
6803
|
-
id: string;
|
6804
|
-
/**
|
6805
|
-
* Filename extracted from the {@link File} object.
|
6806
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
6807
|
-
*/
|
6808
|
-
filename: string;
|
6809
|
-
/**
|
6810
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
6811
|
-
*/
|
6812
|
-
progress: number;
|
6813
|
-
/**
|
6814
|
-
* Metadata {@link AttachmentMetadata} containing information about the uploaded file.
|
6815
|
-
*/
|
6816
|
-
metadata?: AttachmentMetadata;
|
6817
|
-
/**
|
6818
|
-
* Error message to be displayed to the user if the upload fails.
|
6819
|
-
*/
|
6820
|
-
error?: FileUploadError;
|
6821
|
-
}
|
6822
|
-
|
6823
|
-
/**
|
6824
|
-
* A record containing {@link FileUploadState} mapped to unique ids.
|
6825
|
-
* @beta
|
6826
|
-
*/
|
6827
|
-
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
6828
|
-
|
6829
5725
|
/**
|
6830
5726
|
* Provider to apply a Fluent theme across this library's react components.
|
6831
5727
|
*
|
@@ -6867,7 +5763,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
6867
5763
|
*
|
6868
5764
|
* @public
|
6869
5765
|
*/
|
6870
|
-
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector :
|
5766
|
+
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : undefined;
|
6871
5767
|
|
6872
5768
|
/**
|
6873
5769
|
* Get the selector for a specified component.
|
@@ -6929,63 +5825,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
6929
5825
|
children?: IStyle;
|
6930
5826
|
}
|
6931
5827
|
|
6932
|
-
/**
|
6933
|
-
* a button to hold or resume a ongoing call.
|
6934
|
-
*
|
6935
|
-
* Can be used with {@link ControlBar}
|
6936
|
-
*
|
6937
|
-
* @param props - properties for the hold button.
|
6938
|
-
* @returns
|
6939
|
-
* @beta
|
6940
|
-
*/
|
6941
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6942
|
-
|
6943
|
-
/**
|
6944
|
-
*@beta
|
6945
|
-
*/
|
6946
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6947
|
-
/**
|
6948
|
-
* Utility property for using this component with communication react handlers
|
6949
|
-
* Holds the call or resumes it based on call state.
|
6950
|
-
*/
|
6951
|
-
onToggleHold: () => Promise<void>;
|
6952
|
-
/**
|
6953
|
-
* Optional strings to override in component
|
6954
|
-
*/
|
6955
|
-
strings?: HoldButtonStrings;
|
6956
|
-
}
|
6957
|
-
|
6958
|
-
/**
|
6959
|
-
* Selector type for the {@link HoldButton} component.
|
6960
|
-
* @public
|
6961
|
-
*/
|
6962
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6963
|
-
checked: boolean;
|
6964
|
-
};
|
6965
|
-
|
6966
|
-
/**
|
6967
|
-
* Strings for the hold button labels
|
6968
|
-
* @beta
|
6969
|
-
*/
|
6970
|
-
export declare interface HoldButtonStrings {
|
6971
|
-
/**
|
6972
|
-
* Label for when action is to resume call.
|
6973
|
-
*/
|
6974
|
-
onLabel: string;
|
6975
|
-
/**
|
6976
|
-
* Label for when action is to hold call.
|
6977
|
-
*/
|
6978
|
-
offLabel: string;
|
6979
|
-
/**
|
6980
|
-
* Content for when button is checked
|
6981
|
-
*/
|
6982
|
-
tooltipOnContent: string;
|
6983
|
-
/**
|
6984
|
-
* Content for when button is unchecked
|
6985
|
-
*/
|
6986
|
-
tooltipOffContent: string;
|
6987
|
-
}
|
6988
|
-
|
6989
5828
|
/**
|
6990
5829
|
* {@link HorizontalGallery} Component Styles.
|
6991
5830
|
* @public
|
@@ -7070,23 +5909,19 @@ export declare interface _Identifiers {
|
|
7070
5909
|
verticalGalleryVideoTile: string;
|
7071
5910
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
7072
5911
|
verticalGalleryPageCounter: string;
|
7073
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
7074
|
-
mentionSuggestionList: string;
|
7075
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
7076
|
-
mentionSuggestionItem: string;
|
7077
5912
|
}
|
7078
5913
|
|
7079
5914
|
/**
|
7080
5915
|
* Component to render a fullscreen modal for a selected image.
|
7081
5916
|
*
|
7082
|
-
* @
|
5917
|
+
* @public
|
7083
5918
|
*/
|
7084
5919
|
export declare const ImageOverlay: (props: ImageOverlayProps) => JSX.Element;
|
7085
5920
|
|
7086
5921
|
/**
|
7087
5922
|
* Props for {@link ImageOverlay}.
|
7088
5923
|
*
|
7089
|
-
* @
|
5924
|
+
* @public
|
7090
5925
|
*/
|
7091
5926
|
export declare interface ImageOverlayProps {
|
7092
5927
|
/**
|
@@ -7122,7 +5957,7 @@ export declare interface ImageOverlayProps {
|
|
7122
5957
|
/**
|
7123
5958
|
* Strings of {@link ImageOverlay} that can be overridden.
|
7124
5959
|
*
|
7125
|
-
* @
|
5960
|
+
* @public
|
7126
5961
|
*/
|
7127
5962
|
export declare interface ImageOverlayStrings {
|
7128
5963
|
/**
|
@@ -7135,27 +5970,6 @@ export declare interface ImageOverlayStrings {
|
|
7135
5970
|
dismissButtonAriaLabel: string;
|
7136
5971
|
}
|
7137
5972
|
|
7138
|
-
/**
|
7139
|
-
* Preset dark theme for the ImageOverlay component.
|
7140
|
-
*
|
7141
|
-
* @beta
|
7142
|
-
*/
|
7143
|
-
export declare const imageOverlayTheme: PartialTheme;
|
7144
|
-
|
7145
|
-
/**
|
7146
|
-
* @beta
|
7147
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
7148
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
7149
|
-
*/
|
7150
|
-
export declare type IncomingCallManagement = {
|
7151
|
-
/**
|
7152
|
-
* @beta
|
7153
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
7154
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
7155
|
-
*/
|
7156
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
7157
|
-
};
|
7158
|
-
|
7159
5973
|
/**
|
7160
5974
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
7161
5975
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -7191,41 +6005,19 @@ export declare interface IncomingCallState {
|
|
7191
6005
|
/**
|
7192
6006
|
* InlineImage's state, as reflected in the UI.
|
7193
6007
|
*
|
7194
|
-
* @
|
6008
|
+
* @public
|
7195
6009
|
*/
|
7196
6010
|
export declare interface InlineImage {
|
7197
6011
|
/** ID of the message that the inline image is belonged to */
|
7198
6012
|
messageId: string;
|
7199
6013
|
/** Attributes of the inline image */
|
7200
|
-
|
7201
|
-
}
|
7202
|
-
|
7203
|
-
/**
|
7204
|
-
* Metadata for rendering images inline with a message.
|
7205
|
-
* This does not include images attached as files.
|
7206
|
-
* @beta
|
7207
|
-
*/
|
7208
|
-
export declare interface InlineImageMetadata {
|
7209
|
-
attachmentType: 'inlineImage';
|
7210
|
-
/**
|
7211
|
-
* Unique ID of the attachment.
|
7212
|
-
*/
|
7213
|
-
id: string;
|
7214
|
-
previewUrl?: string;
|
7215
|
-
/**
|
7216
|
-
* Download URL for the full resolution version.
|
7217
|
-
*/
|
7218
|
-
url: string;
|
7219
|
-
/**
|
7220
|
-
* Optional fetched Image source fot the full resolution version.
|
7221
|
-
*/
|
7222
|
-
fullSizeImageSrc?: string;
|
6014
|
+
imageAttributes: React_2.ImgHTMLAttributes<HTMLImageElement>;
|
7223
6015
|
}
|
7224
6016
|
|
7225
6017
|
/**
|
7226
6018
|
* Options to display inline image in the inline image scenario.
|
7227
6019
|
*
|
7228
|
-
* @
|
6020
|
+
* @public
|
7229
6021
|
*/
|
7230
6022
|
export declare interface InlineImageOptions {
|
7231
6023
|
/**
|
@@ -7440,101 +6232,31 @@ export declare interface LocalVideoTileOptions {
|
|
7440
6232
|
* different modes of the local video tile
|
7441
6233
|
*
|
7442
6234
|
* @public
|
7443
|
-
*/
|
7444
|
-
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
7445
|
-
|
7446
|
-
/**
|
7447
|
-
* Modes of how the longpress handlers can be tiggered.
|
7448
|
-
* @public
|
7449
|
-
*/
|
7450
|
-
export declare type LongPressTrigger = 'mouseAndTouch' | 'touch';
|
7451
|
-
|
7452
|
-
/**
|
7453
|
-
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
7454
|
-
*
|
7455
|
-
* @public
|
7456
|
-
*/
|
7457
|
-
export declare type MediaDiagnosticChangedEvent = MediaDiagnosticChangedEventArgs & {
|
7458
|
-
type: 'media';
|
7459
|
-
};
|
7460
|
-
|
7461
|
-
/**
|
7462
|
-
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7463
|
-
*
|
7464
|
-
* @public
|
7465
|
-
*/
|
7466
|
-
export declare interface MediaDiagnosticsState {
|
7467
|
-
latest: LatestMediaDiagnostics;
|
7468
|
-
}
|
7469
|
-
|
7470
|
-
/**
|
7471
|
-
* Mention's state, as reflected in the UI.
|
7472
|
-
*
|
7473
|
-
* @beta
|
7474
|
-
*/
|
7475
|
-
export declare interface Mention {
|
7476
|
-
/** ID of a mention */
|
7477
|
-
id: string;
|
7478
|
-
/** Display text of a mention */
|
7479
|
-
displayText: string;
|
7480
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
7481
|
-
icon?: JSX.Element;
|
7482
|
-
}
|
7483
|
-
|
7484
|
-
/**
|
7485
|
-
* Options to display suggestions in the mention scenario.
|
7486
|
-
*
|
7487
|
-
* @beta
|
7488
|
-
*/
|
7489
|
-
export declare interface MentionDisplayOptions {
|
7490
|
-
/**
|
7491
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
7492
|
-
*/
|
7493
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7494
|
-
}
|
6235
|
+
*/
|
6236
|
+
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
7495
6237
|
|
7496
6238
|
/**
|
7497
|
-
*
|
7498
|
-
*
|
7499
|
-
* @beta
|
6239
|
+
* Modes of how the longpress handlers can be tiggered.
|
6240
|
+
* @public
|
7500
6241
|
*/
|
7501
|
-
export declare
|
7502
|
-
/**
|
7503
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
7504
|
-
*
|
7505
|
-
* @defaultValue `@`
|
7506
|
-
*/
|
7507
|
-
trigger?: string;
|
7508
|
-
/**
|
7509
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
7510
|
-
*/
|
7511
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7512
|
-
/**
|
7513
|
-
* Optional callback to render an item of the mention suggestions list.
|
7514
|
-
*/
|
7515
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
7516
|
-
}
|
6242
|
+
export declare type LongPressTrigger = 'mouseAndTouch' | 'touch';
|
7517
6243
|
|
7518
6244
|
/**
|
7519
|
-
*
|
6245
|
+
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
7520
6246
|
*
|
7521
|
-
* @
|
6247
|
+
* @public
|
7522
6248
|
*/
|
7523
|
-
export declare type
|
7524
|
-
|
7525
|
-
displayOptions?: MentionDisplayOptions;
|
6249
|
+
export declare type MediaDiagnosticChangedEvent = MediaDiagnosticChangedEventArgs & {
|
6250
|
+
type: 'media';
|
7526
6251
|
};
|
7527
6252
|
|
7528
6253
|
/**
|
7529
|
-
*
|
6254
|
+
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7530
6255
|
*
|
7531
|
-
* @
|
6256
|
+
* @public
|
7532
6257
|
*/
|
7533
|
-
export declare interface
|
7534
|
-
|
7535
|
-
* Header text for MentionPopover
|
7536
|
-
*/
|
7537
|
-
mentionPopoverHeader: string;
|
6258
|
+
export declare interface MediaDiagnosticsState {
|
6259
|
+
latest: LatestMediaDiagnostics;
|
7538
6260
|
}
|
7539
6261
|
|
7540
6262
|
/**
|
@@ -7544,7 +6266,7 @@ export declare interface MentionPopoverStrings {
|
|
7544
6266
|
*
|
7545
6267
|
* @public
|
7546
6268
|
*/
|
7547
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
6269
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7548
6270
|
|
7549
6271
|
/**
|
7550
6272
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -7778,7 +6500,7 @@ export declare type MessageThreadProps = {
|
|
7778
6500
|
/**
|
7779
6501
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
7780
6502
|
*/
|
7781
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
6503
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7782
6504
|
/**
|
7783
6505
|
* number of participants in the thread
|
7784
6506
|
*/
|
@@ -7859,11 +6581,6 @@ export declare type MessageThreadProps = {
|
|
7859
6581
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
7860
6582
|
*/
|
7861
6583
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7862
|
-
/**
|
7863
|
-
* Optional callback to render attached files in the message component.
|
7864
|
-
* @beta
|
7865
|
-
*/
|
7866
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7867
6584
|
/**
|
7868
6585
|
* Optional callback to edit a message.
|
7869
6586
|
*
|
@@ -7905,23 +6622,6 @@ export declare type MessageThreadProps = {
|
|
7905
6622
|
* Optional strings to override in component
|
7906
6623
|
*/
|
7907
6624
|
strings?: Partial<MessageThreadStrings>;
|
7908
|
-
/**
|
7909
|
-
* @beta
|
7910
|
-
* Optional function called when someone clicks on the file download icon.
|
7911
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7912
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
7913
|
-
*/
|
7914
|
-
fileDownloadHandler?: FileDownloadHandler;
|
7915
|
-
/**
|
7916
|
-
* Optional function to provide customized date format.
|
7917
|
-
* @beta
|
7918
|
-
*/
|
7919
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7920
|
-
/**
|
7921
|
-
* Optional props needed to lookup a mention query and display mentions
|
7922
|
-
* @beta
|
7923
|
-
*/
|
7924
|
-
mentionOptions?: MentionOptions;
|
7925
6625
|
/**
|
7926
6626
|
* Optional callback called when an inline image is clicked.
|
7927
6627
|
* @beta
|
@@ -8000,14 +6700,6 @@ export declare interface MessageThreadStrings {
|
|
8000
6700
|
actionMenuMoreOptions?: string;
|
8001
6701
|
/** Aria label to announce when a message is deleted */
|
8002
6702
|
messageDeletedAnnouncementAriaLabel: string;
|
8003
|
-
/** String for download file button in file card */
|
8004
|
-
downloadFile: string;
|
8005
|
-
/** String for policy violation message removal */
|
8006
|
-
blockedWarningText: string;
|
8007
|
-
/** String for policy violation message removal details link */
|
8008
|
-
blockedWarningLinkText: string;
|
8009
|
-
/** String for aria text in file attachment group*/
|
8010
|
-
fileCardGroupMessage: string;
|
8011
6703
|
}
|
8012
6704
|
|
8013
6705
|
/**
|
@@ -8035,7 +6727,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
8035
6727
|
/** Styles for system message container. */
|
8036
6728
|
systemMessageContainer?: ComponentSlotStyle;
|
8037
6729
|
/** Styles for blocked message container. */
|
8038
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
8039
6730
|
/** Styles for message status indicator container. */
|
8040
6731
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
8041
6732
|
}
|
@@ -8204,31 +6895,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
8204
6895
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
8205
6896
|
}
|
8206
6897
|
|
8207
|
-
/**
|
8208
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
8209
|
-
* by their browsers settings.
|
8210
|
-
*
|
8211
|
-
* @beta
|
8212
|
-
*/
|
8213
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
8214
|
-
|
8215
|
-
/**
|
8216
|
-
* @beta
|
8217
|
-
* Props for MicrophoneSitePermissions component.
|
8218
|
-
*/
|
8219
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
8220
|
-
/** Icon name for the microphone icon */
|
8221
|
-
microphoneIconName?: string;
|
8222
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
8223
|
-
strings?: MicrophoneSitePermissionsStrings;
|
8224
|
-
}
|
8225
|
-
|
8226
|
-
/**
|
8227
|
-
* @beta
|
8228
|
-
* Strings for MicrophoneSitePermissions component.
|
8229
|
-
*/
|
8230
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
8231
|
-
|
8232
6898
|
/**
|
8233
6899
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
8234
6900
|
*
|
@@ -8247,13 +6913,6 @@ export declare interface NetworkDiagnosticsState {
|
|
8247
6913
|
latest: LatestNetworkDiagnostics;
|
8248
6914
|
}
|
8249
6915
|
|
8250
|
-
/**
|
8251
|
-
* Callback function used to provide custom data to build profile for a user.
|
8252
|
-
*
|
8253
|
-
* @beta
|
8254
|
-
*/
|
8255
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
8256
|
-
|
8257
6916
|
/**
|
8258
6917
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
8259
6918
|
*
|
@@ -8317,7 +6976,7 @@ export declare interface OptionsDevice {
|
|
8317
6976
|
*
|
8318
6977
|
* @public
|
8319
6978
|
*/
|
8320
|
-
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' |
|
6979
|
+
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' | 'horizontalTop';
|
8321
6980
|
|
8322
6981
|
/**
|
8323
6982
|
* A system message notifying that a participant was added to the chat thread.
|
@@ -8376,14 +7035,6 @@ export declare interface ParticipantItemProps {
|
|
8376
7035
|
onClick?: (props?: ParticipantItemProps) => void;
|
8377
7036
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8378
7037
|
showParticipantOverflowTooltip?: boolean;
|
8379
|
-
/**
|
8380
|
-
* Optional value to determine and display a participants connection status.
|
8381
|
-
* For example, `Connecting`, `Ringing` etc.
|
8382
|
-
* The actual text that is displayed is determined by the localized string
|
8383
|
-
* corresponding to the provided participant state.
|
8384
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8385
|
-
*/
|
8386
|
-
participantState?: ParticipantState;
|
8387
7038
|
/**
|
8388
7039
|
* Optional aria property that prefixes the ParticipantItems aria content
|
8389
7040
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -8409,10 +7060,6 @@ export declare interface ParticipantItemStrings {
|
|
8409
7060
|
mutedIconLabel: string;
|
8410
7061
|
/** placeholder text for participants who does not have a display name*/
|
8411
7062
|
displayNamePlaceholder?: string;
|
8412
|
-
/** String shown when `participantState` is `Ringing` */
|
8413
|
-
participantStateRinging?: string;
|
8414
|
-
/** String shown when `participantState` is `Hold` */
|
8415
|
-
participantStateHold?: string;
|
8416
7063
|
}
|
8417
7064
|
|
8418
7065
|
/**
|
@@ -8491,10 +7138,6 @@ export declare type ParticipantListProps = {
|
|
8491
7138
|
styles?: ParticipantListStyles;
|
8492
7139
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8493
7140
|
showParticipantOverflowTooltip?: boolean;
|
8494
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8495
|
-
totalParticipantCount?: number;
|
8496
|
-
/** Strings for the participant list */
|
8497
|
-
strings?: ParticipantListStrings;
|
8498
7141
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
8499
7142
|
participantAriaLabelledBy?: string;
|
8500
7143
|
};
|
@@ -8507,21 +7150,8 @@ export declare type ParticipantListProps = {
|
|
8507
7150
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
8508
7151
|
participants: CallParticipantListParticipant[];
|
8509
7152
|
myUserId: string;
|
8510
|
-
totalParticipantCount?: number;
|
8511
7153
|
};
|
8512
7154
|
|
8513
|
-
/**
|
8514
|
-
* Strings for the {@link ParticipantList}.
|
8515
|
-
*
|
8516
|
-
* @beta
|
8517
|
-
*/
|
8518
|
-
export declare interface ParticipantListStrings {
|
8519
|
-
/**
|
8520
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
8521
|
-
*/
|
8522
|
-
overflowParticipantCount?: string;
|
8523
|
-
}
|
8524
|
-
|
8525
7155
|
/**
|
8526
7156
|
* Styles for the {@link ParticipantList}.
|
8527
7157
|
*
|
@@ -8738,18 +7368,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
8738
7368
|
*/
|
8739
7369
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
8740
7370
|
|
8741
|
-
/**
|
8742
|
-
* The profile of a user.
|
8743
|
-
*
|
8744
|
-
* @beta
|
8745
|
-
*/
|
8746
|
-
export declare type Profile = {
|
8747
|
-
/**
|
8748
|
-
* Primary text to display, usually the name of the person.
|
8749
|
-
*/
|
8750
|
-
displayName?: string;
|
8751
|
-
};
|
8752
|
-
|
8753
7371
|
/**
|
8754
7372
|
* Raised hand state with order
|
8755
7373
|
*
|
@@ -8934,7 +7552,6 @@ export declare interface RemoteVideoStreamState {
|
|
8934
7552
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
8935
7553
|
* @beta
|
8936
7554
|
*/
|
8937
|
-
isReceiving: boolean;
|
8938
7555
|
/**
|
8939
7556
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
8940
7557
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -8974,6 +7591,15 @@ export declare type ResourceDetails = {
|
|
8974
7591
|
resourceUrl: string;
|
8975
7592
|
};
|
8976
7593
|
|
7594
|
+
/**
|
7595
|
+
* Result of the Resource downloaded from stateful client
|
7596
|
+
* @public
|
7597
|
+
*/
|
7598
|
+
export declare type ResourceFetchResult = {
|
7599
|
+
sourceUrl?: string;
|
7600
|
+
error?: Error;
|
7601
|
+
};
|
7602
|
+
|
8977
7603
|
/**
|
8978
7604
|
* A button to start / stop screen sharing.
|
8979
7605
|
*
|
@@ -9045,19 +7671,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
9045
7671
|
*/
|
9046
7672
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
9047
7673
|
|
9048
|
-
/**
|
9049
|
-
* @beta
|
9050
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
9051
|
-
*/
|
9052
|
-
export declare interface SendBoxErrorBarError {
|
9053
|
-
/** Error Message to be displayed */
|
9054
|
-
message: string;
|
9055
|
-
/**
|
9056
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
9057
|
-
*/
|
9058
|
-
timestamp: number;
|
9059
|
-
}
|
9060
|
-
|
9061
7674
|
/**
|
9062
7675
|
* Props for {@link SendBox}.
|
9063
7676
|
*
|
@@ -9077,11 +7690,6 @@ export declare interface SendBoxProps {
|
|
9077
7690
|
* Optional override behavior on send button click
|
9078
7691
|
*/
|
9079
7692
|
onSendMessage?: (content: string) => Promise<void>;
|
9080
|
-
/**
|
9081
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
9082
|
-
* @beta
|
9083
|
-
*/
|
9084
|
-
mentionLookupOptions?: MentionLookupOptions;
|
9085
7693
|
/**
|
9086
7694
|
* Optional callback called when user is typing
|
9087
7695
|
*/
|
@@ -9118,25 +7726,6 @@ export declare interface SendBoxProps {
|
|
9118
7726
|
* When undefined nothing has focus on render
|
9119
7727
|
*/
|
9120
7728
|
autoFocus?: 'sendBoxTextField';
|
9121
|
-
/**
|
9122
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
9123
|
-
* vertically to accommodate the uploaded files. File uploads will
|
9124
|
-
* be rendered below the text area in sendBox.
|
9125
|
-
* @beta
|
9126
|
-
*/
|
9127
|
-
onRenderFileUploads?: () => JSX.Element;
|
9128
|
-
/**
|
9129
|
-
* Optional array of active file uploads where each object has attributes
|
9130
|
-
* of a file upload like name, progress, errorMessage etc.
|
9131
|
-
* @beta
|
9132
|
-
*/
|
9133
|
-
activeFileUploads?: ActiveFileUpload[];
|
9134
|
-
/**
|
9135
|
-
* Optional callback to remove the file upload before sending by clicking on
|
9136
|
-
* cancel icon.
|
9137
|
-
* @beta
|
9138
|
-
*/
|
9139
|
-
onCancelFileUpload?: (fileId: string) => void;
|
9140
7729
|
}
|
9141
7730
|
|
9142
7731
|
/**
|
@@ -9167,22 +7756,6 @@ export declare interface SendBoxStrings {
|
|
9167
7756
|
* Aria label for send message button
|
9168
7757
|
*/
|
9169
7758
|
sendButtonAriaLabel: string;
|
9170
|
-
/**
|
9171
|
-
* Error message indicating that all file uploads are not complete.
|
9172
|
-
*/
|
9173
|
-
fileUploadsPendingError: string;
|
9174
|
-
/**
|
9175
|
-
* Aria label to notify user when focus is on cancel file upload button.
|
9176
|
-
*/
|
9177
|
-
removeFile: string;
|
9178
|
-
/**
|
9179
|
-
* Aria label to notify user file uploading starts.
|
9180
|
-
*/
|
9181
|
-
uploading: string;
|
9182
|
-
/**
|
9183
|
-
* Aria label to notify user file is uploaded.
|
9184
|
-
*/
|
9185
|
-
uploadCompleted: string;
|
9186
7759
|
}
|
9187
7760
|
|
9188
7761
|
/**
|
@@ -9203,45 +7776,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
9203
7776
|
systemMessage?: IStyle;
|
9204
7777
|
}
|
9205
7778
|
|
9206
|
-
/**
|
9207
|
-
* @beta
|
9208
|
-
* Strings for SitePermissions component
|
9209
|
-
*/
|
9210
|
-
export declare type SitePermissionsStrings = {
|
9211
|
-
/**
|
9212
|
-
* Main text string.
|
9213
|
-
*/
|
9214
|
-
primaryText?: string;
|
9215
|
-
/**
|
9216
|
-
* Subtext string.
|
9217
|
-
*/
|
9218
|
-
secondaryText?: string;
|
9219
|
-
/**
|
9220
|
-
* More help link string.
|
9221
|
-
*/
|
9222
|
-
linkText?: string;
|
9223
|
-
/**
|
9224
|
-
* Primary button text string.
|
9225
|
-
*/
|
9226
|
-
primaryButtonText?: string;
|
9227
|
-
/**
|
9228
|
-
* Aria label describing the content of the container
|
9229
|
-
*/
|
9230
|
-
ariaLabel?: string;
|
9231
|
-
};
|
9232
|
-
|
9233
|
-
/**
|
9234
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
9235
|
-
*
|
9236
|
-
* @beta
|
9237
|
-
*/
|
9238
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
9239
|
-
/** Styles for the primary button. */
|
9240
|
-
primaryButton?: IButtonStyles;
|
9241
|
-
/** Styles for the help troubleshooting link text. */
|
9242
|
-
troubleshootingLink?: ILinkStyles;
|
9243
|
-
}
|
9244
|
-
|
9245
7779
|
/**
|
9246
7780
|
* @public
|
9247
7781
|
* Type for representing a custom sound to use for a calling event
|
@@ -9305,7 +7839,7 @@ export declare interface SpokenLanguageStrings {
|
|
9305
7839
|
* Identifier types for initiating a call using the CallAdapter
|
9306
7840
|
* @public
|
9307
7841
|
*/
|
9308
|
-
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier |
|
7842
|
+
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | UnknownIdentifier);
|
9309
7843
|
|
9310
7844
|
/**
|
9311
7845
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
@@ -9339,6 +7873,7 @@ export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | /* @con
|
|
9339
7873
|
* - RecordingCallFeature 'isRecordingActiveChanged'
|
9340
7874
|
* - RaiseHandCallFeature 'raisedHandEvent'
|
9341
7875
|
* - RaiseHandCallFeature 'loweredHandEvent'
|
7876
|
+
* - PPTLiveCallFeature 'isAciveChanged'
|
9342
7877
|
* - ReactionCallFeature 'reaction'
|
9343
7878
|
*
|
9344
7879
|
* @public
|
@@ -9416,19 +7951,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
9416
7951
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
9417
7952
|
*/
|
9418
7953
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9419
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
9420
|
-
/**
|
9421
|
-
* The CallAgent is used to handle calls.
|
9422
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9423
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
9424
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
9425
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9426
|
-
* createCallAgent() method again to create a new CallAgent.
|
9427
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9428
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
9429
|
-
* @public
|
9430
|
-
*/
|
9431
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
9432
7954
|
}
|
9433
7955
|
|
9434
7956
|
/**
|
@@ -9441,16 +7963,7 @@ export declare type StatefulCallClientArgs = {
|
|
9441
7963
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
9442
7964
|
* state. It is not used by StatefulCallClient.
|
9443
7965
|
*/
|
9444
|
-
userId: CommunicationUserIdentifier
|
9445
|
-
/**
|
9446
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9447
|
-
* to start a PSTN call.
|
9448
|
-
*
|
9449
|
-
* example: +11234567
|
9450
|
-
*
|
9451
|
-
* This is not a cached value from the headless calling client.
|
9452
|
-
*/
|
9453
|
-
alternateCallerId?: string;
|
7966
|
+
userId: CommunicationUserIdentifier;
|
9454
7967
|
};
|
9455
7968
|
|
9456
7969
|
/**
|
@@ -9625,74 +8138,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
9625
8138
|
*/
|
9626
8139
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
9627
8140
|
|
9628
|
-
/**
|
9629
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9630
|
-
*
|
9631
|
-
* @beta
|
9632
|
-
*/
|
9633
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9634
|
-
/**
|
9635
|
-
* Join the call with microphone initially on/off.
|
9636
|
-
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9637
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
9638
|
-
*
|
9639
|
-
* @beta
|
9640
|
-
*/
|
9641
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9642
|
-
/**
|
9643
|
-
* Join the call with options bag to set microphone/camera initial state when joining call
|
9644
|
-
* true = turn on the device when joining call
|
9645
|
-
* false = turn off the device when joining call
|
9646
|
-
* 'keep'/undefined = retain devices' precall state
|
9647
|
-
*
|
9648
|
-
* @param options - param to set microphone/camera initially on/off.
|
9649
|
-
*
|
9650
|
-
* @public
|
9651
|
-
*/
|
9652
|
-
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9653
|
-
/**
|
9654
|
-
* Start the call.
|
9655
|
-
*
|
9656
|
-
* @param participants - An array of participant ids to join
|
9657
|
-
*
|
9658
|
-
* @beta
|
9659
|
-
*/
|
9660
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9661
|
-
/**
|
9662
|
-
* Start the call.
|
9663
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9664
|
-
* @beta
|
9665
|
-
*/
|
9666
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9667
|
-
}
|
9668
|
-
|
9669
|
-
/**
|
9670
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9671
|
-
*
|
9672
|
-
* @beta
|
9673
|
-
*/
|
9674
|
-
export declare type TeamsCallAdapterArgs = {
|
9675
|
-
userId: MicrosoftTeamsUserIdentifier;
|
9676
|
-
credential: CommunicationTokenCredential;
|
9677
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9678
|
-
/**
|
9679
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
9680
|
-
*/
|
9681
|
-
options?: TeamsAdapterOptions;
|
9682
|
-
};
|
9683
|
-
|
9684
|
-
/**
|
9685
|
-
* Object containing all the teams call handlers required for calling components.
|
9686
|
-
*
|
9687
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9688
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
9689
|
-
*
|
9690
|
-
* @beta
|
9691
|
-
*/
|
9692
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9693
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9694
|
-
}
|
9695
|
-
|
9696
8141
|
/**
|
9697
8142
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
9698
8143
|
*
|
@@ -9893,118 +8338,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
9893
8338
|
typingString?: IStyle;
|
9894
8339
|
}
|
9895
8340
|
|
9896
|
-
/**
|
9897
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
9898
|
-
*
|
9899
|
-
* @beta
|
9900
|
-
*/
|
9901
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
9902
|
-
|
9903
|
-
/**
|
9904
|
-
* props for {@link UnsupportedBrowser} UI
|
9905
|
-
*
|
9906
|
-
* @beta
|
9907
|
-
*/
|
9908
|
-
export declare interface UnsupportedBrowserProps {
|
9909
|
-
/** Handler to perform an action when the help link is actioned */
|
9910
|
-
onTroubleshootingClick?: () => void;
|
9911
|
-
/** String overrides for the component */
|
9912
|
-
strings?: UnsupportedBrowserStrings;
|
9913
|
-
}
|
9914
|
-
|
9915
|
-
/**
|
9916
|
-
* Strings for UnsupportedBrowser component
|
9917
|
-
*
|
9918
|
-
* @beta
|
9919
|
-
*/
|
9920
|
-
export declare interface UnsupportedBrowserStrings {
|
9921
|
-
/** String for the primary text */
|
9922
|
-
primaryText: string;
|
9923
|
-
/** String for the secondary text */
|
9924
|
-
secondaryText: string;
|
9925
|
-
/** String to display in the text for the help link */
|
9926
|
-
moreHelpLinkText: string;
|
9927
|
-
}
|
9928
|
-
|
9929
|
-
/**
|
9930
|
-
* UI to display to the user that the browser version they are using is out of date
|
9931
|
-
* and not supported by Azure Communications Calling service.
|
9932
|
-
*
|
9933
|
-
* @beta
|
9934
|
-
*/
|
9935
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
9936
|
-
|
9937
|
-
/**
|
9938
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
9939
|
-
*
|
9940
|
-
* @beta
|
9941
|
-
*/
|
9942
|
-
export declare interface UnsupportedBrowserVersionProps {
|
9943
|
-
/** Handler to perform an action when the help link is actioned */
|
9944
|
-
onTroubleshootingClick?: () => void;
|
9945
|
-
/** String overrides for the component */
|
9946
|
-
strings?: UnsupportedBrowserVersionStrings;
|
9947
|
-
/** Handler to allow user to continue into the call */
|
9948
|
-
onContinueAnywayClick?: () => void;
|
9949
|
-
}
|
9950
|
-
|
9951
|
-
/**
|
9952
|
-
* Strings for UnsupportedBrowser component
|
9953
|
-
*
|
9954
|
-
* @beta
|
9955
|
-
*/
|
9956
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
9957
|
-
/** String for the primary text */
|
9958
|
-
primaryText: string;
|
9959
|
-
/** String for the secondary text */
|
9960
|
-
secondaryText: string;
|
9961
|
-
/** String to display in the text for the help link */
|
9962
|
-
moreHelpLinkText: string;
|
9963
|
-
/** String for continue without updating button */
|
9964
|
-
continueAnywayButtonText?: string;
|
9965
|
-
}
|
9966
|
-
|
9967
|
-
/**
|
9968
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
9969
|
-
*
|
9970
|
-
* @beta
|
9971
|
-
*/
|
9972
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
9973
|
-
|
9974
|
-
/**
|
9975
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
9976
|
-
*
|
9977
|
-
* @beta
|
9978
|
-
*/
|
9979
|
-
export declare interface UnsupportedOperatingSystemProps {
|
9980
|
-
/** Handler to perform a action when the help link is actioned */
|
9981
|
-
onTroubleshootingClick?: () => void;
|
9982
|
-
/** String overrides for the component */
|
9983
|
-
strings?: UnsupportedOperatingSystemStrings;
|
9984
|
-
}
|
9985
|
-
|
9986
|
-
/**
|
9987
|
-
* Strings for UnsupportedBrowser component
|
9988
|
-
*
|
9989
|
-
* @beta
|
9990
|
-
*/
|
9991
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
9992
|
-
/** String for the primary text */
|
9993
|
-
primaryText: string;
|
9994
|
-
/** String for the secondary text */
|
9995
|
-
secondaryText: string;
|
9996
|
-
/** String to display in the text for the help link */
|
9997
|
-
moreHelpLinkText: string;
|
9998
|
-
}
|
9999
|
-
|
10000
8341
|
/**
|
10001
8342
|
* @public
|
10002
8343
|
* Callback function run when a message is updated.
|
10003
8344
|
*/
|
10004
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
10005
|
-
metadata?: Record<string, string>;
|
10006
|
-
attachmentMetadata?: AttachmentMetadata[];
|
10007
|
-
}) => Promise<void>;
|
8345
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
10008
8346
|
|
10009
8347
|
/**
|
10010
8348
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -10152,44 +8490,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
10152
8490
|
*/
|
10153
8491
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: 'calling' | 'chat') => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
10154
8492
|
|
10155
|
-
/**
|
10156
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
10157
|
-
*
|
10158
|
-
* Useful when implementing a custom component that utilizes the providers
|
10159
|
-
* exported from this library.
|
10160
|
-
*
|
10161
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
10162
|
-
*
|
10163
|
-
* @beta
|
10164
|
-
*/
|
10165
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10166
|
-
|
10167
|
-
/**
|
10168
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
10169
|
-
*
|
10170
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
10171
|
-
* creation of the adapter internally.
|
10172
|
-
*
|
10173
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
10174
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
10175
|
-
*
|
10176
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
10177
|
-
* See storybook for typical usage examples.
|
10178
|
-
*
|
10179
|
-
* @beta
|
10180
|
-
*/
|
10181
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
10182
|
-
|
10183
|
-
/**
|
10184
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
10185
|
-
*
|
10186
|
-
* Useful when implementing a custom component that utilizes the providers
|
10187
|
-
* exported from this library.
|
10188
|
-
*
|
10189
|
-
* @beta
|
10190
|
-
*/
|
10191
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
10192
|
-
|
10193
8493
|
/**
|
10194
8494
|
* React hook to access theme
|
10195
8495
|
*
|
@@ -10329,7 +8629,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
10329
8629
|
/**
|
10330
8630
|
* @public
|
10331
8631
|
*/
|
10332
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' |
|
8632
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | 'speaker' | 'focusedContent';
|
10333
8633
|
|
10334
8634
|
/**
|
10335
8635
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -10470,11 +8770,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
10470
8770
|
isSpeaking?: boolean;
|
10471
8771
|
/** Video stream of shared screen */
|
10472
8772
|
screenShareStream?: VideoGalleryStream;
|
10473
|
-
/**
|
10474
|
-
* @beta
|
10475
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10476
|
-
*/
|
10477
|
-
state?: ParticipantState;
|
10478
8773
|
/** Whether participant is raised a hand */
|
10479
8774
|
raisedHand?: RaisedHand;
|
10480
8775
|
}
|
@@ -10485,7 +8780,7 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
10485
8780
|
* @public
|
10486
8781
|
*/
|
10487
8782
|
export declare type VideoGallerySelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
10488
|
-
screenShareParticipant
|
8783
|
+
screenShareParticipant?: VideoGalleryRemoteParticipant;
|
10489
8784
|
localParticipant: VideoGalleryLocalParticipant;
|
10490
8785
|
remoteParticipants: VideoGalleryRemoteParticipant[];
|
10491
8786
|
dominantSpeakers?: string[];
|
@@ -10714,12 +9009,6 @@ export declare interface VideoTileProps {
|
|
10714
9009
|
isSpeaking?: boolean;
|
10715
9010
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
10716
9011
|
raisedHand?: RaisedHand;
|
10717
|
-
/**
|
10718
|
-
* The call connection state of the participant.
|
10719
|
-
* For example, `Hold` means the participant is on hold.
|
10720
|
-
*/
|
10721
|
-
participantState?: ParticipantState;
|
10722
|
-
strings?: VideoTileStrings;
|
10723
9012
|
/**
|
10724
9013
|
* Display custom menu items in the VideoTile's contextual menu.
|
10725
9014
|
* Uses Fluent UI ContextualMenu.
|
@@ -10732,15 +9021,6 @@ export declare interface VideoTileProps {
|
|
10732
9021
|
onLongTouch?: () => void;
|
10733
9022
|
}
|
10734
9023
|
|
10735
|
-
/**
|
10736
|
-
* Strings of {@link VideoTile} that can be overridden.
|
10737
|
-
* @beta
|
10738
|
-
*/
|
10739
|
-
export declare interface VideoTileStrings {
|
10740
|
-
participantStateRinging: string;
|
10741
|
-
participantStateHold: string;
|
10742
|
-
}
|
10743
|
-
|
10744
9024
|
/**
|
10745
9025
|
* Fluent styles for {@link VideoTile}.
|
10746
9026
|
*
|