@azure/communication-react 1.14.0-beta.1 → 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 +143 -1785
- package/dist/dist-cjs/communication-react/index.js +9016 -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 +39 -72
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +5 -28
- 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 +8 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +13 -82
- 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 +40 -61
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +16 -32
- 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
|
*/
|
@@ -1540,6 +1220,45 @@ export declare type CallCompositeOptions = {
|
|
1540
1220
|
*/
|
1541
1221
|
layout?: VideoGalleryLayout;
|
1542
1222
|
};
|
1223
|
+
/**
|
1224
|
+
* Options for setting additional customizations related to personalized branding.
|
1225
|
+
*/
|
1226
|
+
branding?: {
|
1227
|
+
/**
|
1228
|
+
* Logo displayed on the configuration page.
|
1229
|
+
*/
|
1230
|
+
logo?: {
|
1231
|
+
/**
|
1232
|
+
* URL for the logo image.
|
1233
|
+
*
|
1234
|
+
* @remarks
|
1235
|
+
* Recommended size is 80x80 pixels.
|
1236
|
+
*/
|
1237
|
+
url: string;
|
1238
|
+
/**
|
1239
|
+
* Alt text for the logo image.
|
1240
|
+
*/
|
1241
|
+
alt?: string;
|
1242
|
+
/**
|
1243
|
+
* The logo can be displayed as a circle.
|
1244
|
+
*
|
1245
|
+
* @defaultValue 'unset'
|
1246
|
+
*/
|
1247
|
+
shape?: 'unset' | 'circle';
|
1248
|
+
};
|
1249
|
+
/**
|
1250
|
+
* Background image displayed on the configuration page.
|
1251
|
+
*/
|
1252
|
+
backgroundImage?: {
|
1253
|
+
/**
|
1254
|
+
* URL for the background image.
|
1255
|
+
*
|
1256
|
+
* @remarks
|
1257
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
1258
|
+
*/
|
1259
|
+
url: string;
|
1260
|
+
};
|
1261
|
+
};
|
1543
1262
|
};
|
1544
1263
|
|
1545
1264
|
/**
|
@@ -1547,7 +1266,7 @@ export declare type CallCompositeOptions = {
|
|
1547
1266
|
*
|
1548
1267
|
* @public
|
1549
1268
|
*/
|
1550
|
-
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';
|
1551
1270
|
|
1552
1271
|
/**
|
1553
1272
|
* Props for {@link CallComposite}.
|
@@ -1769,6 +1488,10 @@ export declare interface CallCompositeStrings {
|
|
1769
1488
|
* Side pane People section Title.
|
1770
1489
|
*/
|
1771
1490
|
peoplePaneTitle: string;
|
1491
|
+
/**
|
1492
|
+
* Aria label of more button in people pane
|
1493
|
+
*/
|
1494
|
+
peoplePaneMoreButtonAriaLabel: string;
|
1772
1495
|
/**
|
1773
1496
|
* Aria label string for return to call back button
|
1774
1497
|
*/
|
@@ -1793,74 +1516,10 @@ export declare interface CallCompositeStrings {
|
|
1793
1516
|
* Label for SidePaneHeader dismiss button
|
1794
1517
|
*/
|
1795
1518
|
dismissSidePaneButtonLabel?: string;
|
1796
|
-
/**
|
1797
|
-
* Side pane People section subheader.
|
1798
|
-
*/
|
1799
|
-
peoplePaneSubTitle: string;
|
1800
|
-
/**
|
1801
|
-
* Label for button to copy invite link
|
1802
|
-
*/
|
1803
|
-
copyInviteLinkButtonLabel: string;
|
1804
|
-
/**
|
1805
|
-
* Label for button to open dialpad
|
1806
|
-
*/
|
1807
|
-
openDialpadButtonLabel: string;
|
1808
|
-
/**
|
1809
|
-
* Label for menu item to remove participant
|
1810
|
-
*/
|
1811
|
-
removeMenuLabel: string;
|
1812
|
-
/**
|
1813
|
-
* Label for add people dropdown
|
1814
|
-
*/
|
1815
|
-
peoplePaneAddPeopleButtonLabel: string;
|
1816
|
-
/**
|
1817
|
-
* Label for button to start a call
|
1818
|
-
*/
|
1819
|
-
dialpadStartCallButtonLabel: string;
|
1820
|
-
/**
|
1821
|
-
* Title for dialpad Modal
|
1822
|
-
*/
|
1823
|
-
dialpadModalTitle: string;
|
1824
|
-
/**
|
1825
|
-
* Aria Label for dialpad Modal
|
1826
|
-
*/
|
1827
|
-
dialpadModalAriaLabel: string;
|
1828
|
-
/**
|
1829
|
-
* Aria Label for dialpad Modal close button
|
1830
|
-
*/
|
1831
|
-
dialpadCloseModalButtonAriaLabel: string;
|
1832
1519
|
/**
|
1833
1520
|
* label for more button in the Calling composite
|
1834
1521
|
*/
|
1835
1522
|
moreButtonCallingLabel: string;
|
1836
|
-
/**
|
1837
|
-
* Label for the resume call button on the hold pane
|
1838
|
-
*/
|
1839
|
-
resumeCallButtonLabel: string;
|
1840
|
-
/**
|
1841
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1842
|
-
*/
|
1843
|
-
resumingCallButtonLabel: string;
|
1844
|
-
/**
|
1845
|
-
* Aria label for the resume call button on the hold pane
|
1846
|
-
*/
|
1847
|
-
resumeCallButtonAriaLabel: string;
|
1848
|
-
/**
|
1849
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1850
|
-
*/
|
1851
|
-
resumingCallButtonAriaLabel: string;
|
1852
|
-
/**
|
1853
|
-
* Label for the hold pane
|
1854
|
-
*/
|
1855
|
-
holdScreenLabel: string;
|
1856
|
-
/**
|
1857
|
-
* Placeholder text for dtmf dialpad
|
1858
|
-
*/
|
1859
|
-
dtmfDialpadPlaceholderText: string;
|
1860
|
-
/**
|
1861
|
-
* Label for the button to open dtmf dialpad
|
1862
|
-
*/
|
1863
|
-
openDtmfDialpadLabel: string;
|
1864
1523
|
/**
|
1865
1524
|
* aria label for when the invite link has been actioned
|
1866
1525
|
*/
|
@@ -1933,14 +1592,6 @@ export declare interface CallCompositeStrings {
|
|
1933
1592
|
* More details text of the page shown to the user when the user attempts to join a room they are not invited to.
|
1934
1593
|
*/
|
1935
1594
|
notInvitedToRoomDetails?: string;
|
1936
|
-
/**
|
1937
|
-
* Control bar People button ToolTipContent
|
1938
|
-
*/
|
1939
|
-
peopleButtonTooltipOpen: string;
|
1940
|
-
/**
|
1941
|
-
* Control bar People button ToolTipContent
|
1942
|
-
*/
|
1943
|
-
peopleButtonTooltipClose: string;
|
1944
1595
|
/**
|
1945
1596
|
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1946
1597
|
*/
|
@@ -2089,38 +1740,6 @@ export declare interface CallCompositeStrings {
|
|
2089
1740
|
* notice to be announced by narrator the transfer page is showing
|
2090
1741
|
*/
|
2091
1742
|
transferPageNoticeString: string;
|
2092
|
-
/**
|
2093
|
-
* Title text of the page shown to the user when target participant could not be reached
|
2094
|
-
*/
|
2095
|
-
participantCouldNotBeReachedTitle?: string;
|
2096
|
-
/**
|
2097
|
-
* More details text of the page shown to the user when target participant could not be reached
|
2098
|
-
*/
|
2099
|
-
participantCouldNotBeReachedMoreDetails?: string;
|
2100
|
-
/**
|
2101
|
-
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2102
|
-
*/
|
2103
|
-
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2104
|
-
/**
|
2105
|
-
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2106
|
-
*/
|
2107
|
-
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2108
|
-
/**
|
2109
|
-
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2110
|
-
*/
|
2111
|
-
unableToResolveTenantTitle?: string;
|
2112
|
-
/**
|
2113
|
-
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2114
|
-
*/
|
2115
|
-
unableToResolveTenantMoreDetails?: string;
|
2116
|
-
/**
|
2117
|
-
* Title text of the page shown to the user when target participant id is malformed
|
2118
|
-
*/
|
2119
|
-
participantIdIsMalformedTitle?: string;
|
2120
|
-
/**
|
2121
|
-
* More details text of the page shown to the user when target participant id is malformed
|
2122
|
-
*/
|
2123
|
-
participantIdIsMalformedMoreDetails?: string;
|
2124
1743
|
/**
|
2125
1744
|
* Controls label to move the overflow gallery around
|
2126
1745
|
*/
|
@@ -2285,7 +1904,7 @@ export declare type CallErrors = {
|
|
2285
1904
|
*
|
2286
1905
|
* @public
|
2287
1906
|
*/
|
2288
|
-
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';
|
2289
1908
|
|
2290
1909
|
/**
|
2291
1910
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2384,23 +2003,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2384
2003
|
raisedHand?: RaisedHand;
|
2385
2004
|
};
|
2386
2005
|
|
2387
|
-
/**
|
2388
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2389
|
-
*
|
2390
|
-
* @remarks
|
2391
|
-
* This is currently in beta and only supports calling one Teams User.
|
2392
|
-
*
|
2393
|
-
* @example
|
2394
|
-
* ```
|
2395
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2396
|
-
* ```
|
2397
|
-
*
|
2398
|
-
* @beta
|
2399
|
-
*/
|
2400
|
-
export declare type CallParticipantsLocator = {
|
2401
|
-
participantIds: string[];
|
2402
|
-
};
|
2403
|
-
|
2404
2006
|
/**
|
2405
2007
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
2406
2008
|
*
|
@@ -2417,7 +2019,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2417
2019
|
*/
|
2418
2020
|
export declare interface CallProviderProps {
|
2419
2021
|
children: React_2.ReactNode;
|
2420
|
-
call?: Call
|
2022
|
+
call?: Call;
|
2421
2023
|
}
|
2422
2024
|
|
2423
2025
|
/**
|
@@ -2431,10 +2033,6 @@ export declare interface CallState {
|
|
2431
2033
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2432
2034
|
*/
|
2433
2035
|
id: string;
|
2434
|
-
/**
|
2435
|
-
* Type of the call.
|
2436
|
-
*/
|
2437
|
-
kind: CallKind;
|
2438
2036
|
/**
|
2439
2037
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2440
2038
|
*/
|
@@ -2533,10 +2131,6 @@ export declare interface CallState {
|
|
2533
2131
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2534
2132
|
*/
|
2535
2133
|
role?: ParticipantRole;
|
2536
|
-
/**
|
2537
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2538
|
-
*/
|
2539
|
-
totalParticipantCount?: number;
|
2540
2134
|
/**
|
2541
2135
|
* Transfer state of call
|
2542
2136
|
*/
|
@@ -2568,12 +2162,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2568
2162
|
* @public
|
2569
2163
|
*/
|
2570
2164
|
removeParticipant(userId: string): Promise<void>;
|
2571
|
-
/**
|
2572
|
-
* Remove a participant from the call.
|
2573
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2574
|
-
* @beta
|
2575
|
-
*/
|
2576
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2577
2165
|
/**
|
2578
2166
|
* Join the call with microphone initially on/off.
|
2579
2167
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2644,7 +2232,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
2644
2232
|
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2645
2233
|
* @public
|
2646
2234
|
*/
|
2647
|
-
startCall(participants: (MicrosoftTeamsAppIdentifier |
|
2235
|
+
startCall(participants: (MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], options?: StartCallOptions): Call | undefined;
|
2648
2236
|
/**
|
2649
2237
|
* Start sharing the screen during a call.
|
2650
2238
|
*
|
@@ -2834,53 +2422,16 @@ export declare interface CallWithChatAdapterManagement {
|
|
2834
2422
|
* @public
|
2835
2423
|
*/
|
2836
2424
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2837
|
-
/** @
|
2838
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2839
|
-
/** @beta */
|
2840
|
-
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
2841
|
-
/** @beta */
|
2842
|
-
clearFileUploads: () => void;
|
2843
|
-
/** @beta */
|
2844
|
-
cancelFileUpload: (id: string) => void;
|
2845
|
-
/** @beta */
|
2846
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
2847
|
-
/** @beta */
|
2848
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2849
|
-
/** @beta */
|
2850
|
-
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
2851
|
-
/** @beta */
|
2425
|
+
/** @public */
|
2852
2426
|
downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
|
2853
|
-
/** @
|
2427
|
+
/** @public */
|
2854
2428
|
removeResourceFromCache(resourceDetails: ResourceDetails): void;
|
2855
|
-
/**
|
2856
|
-
* Puts the Call in a Localhold.
|
2857
|
-
*
|
2858
|
-
* @beta
|
2859
|
-
*/
|
2860
|
-
holdCall: () => Promise<void>;
|
2861
|
-
/**
|
2862
|
-
* Resumes the call from a LocalHold state.
|
2863
|
-
*
|
2864
|
-
* @beta
|
2865
|
-
*/
|
2866
|
-
resumeCall: () => Promise<void>;
|
2867
|
-
/**
|
2868
|
-
* Adds a new Participant to the call.
|
2869
|
-
*
|
2870
|
-
* @beta
|
2871
|
-
*/
|
2872
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2873
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2874
2429
|
/**
|
2875
2430
|
* send dtmf tone to another participant in the call in 1:1 calls
|
2876
2431
|
*
|
2877
2432
|
* @public
|
2878
2433
|
*/
|
2879
2434
|
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2880
|
-
/**
|
2881
|
-
* Continues into a call when the browser version is not supported.
|
2882
|
-
*/
|
2883
|
-
allowUnsupportedBrowserVersion(): void;
|
2884
2435
|
/**
|
2885
2436
|
* Function to Start captions
|
2886
2437
|
* @param options - options for start captions
|
@@ -3010,22 +2561,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
3010
2561
|
* @public
|
3011
2562
|
*/
|
3012
2563
|
page: CallCompositePage;
|
3013
|
-
/**
|
3014
|
-
* Files being uploaded by a user in the current thread.
|
3015
|
-
* Should be set to null once the upload is complete.
|
3016
|
-
* Array of type {@link FileUploadsUiState}
|
3017
|
-
*
|
3018
|
-
* @beta
|
3019
|
-
*/
|
3020
|
-
fileUploads?: FileUploadsUiState;
|
3021
|
-
/**
|
3022
|
-
* State to track whether the end user has opted in to using a
|
3023
|
-
* out of date version of a supported browser. Allows the user
|
3024
|
-
* to start a call in this state.
|
3025
|
-
*
|
3026
|
-
* @beta
|
3027
|
-
*/
|
3028
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
3029
2564
|
}
|
3030
2565
|
|
3031
2566
|
/**
|
@@ -3050,10 +2585,6 @@ export declare interface CallWithChatClientState {
|
|
3050
2585
|
devices: DeviceManagerState;
|
3051
2586
|
/** State of whether the active call is a Teams interop call */
|
3052
2587
|
isTeamsCall: boolean;
|
3053
|
-
/** alternateCallerId for PSTN call */
|
3054
|
-
alternateCallerId?: string | undefined;
|
3055
|
-
/** Environment information for system adapter is made on */
|
3056
|
-
environmentInfo?: EnvironmentInfo;
|
3057
2588
|
/** Default set of background images for background replacement effect */
|
3058
2589
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3059
2590
|
/** Dependency to be injected for video background effects */
|
@@ -3128,9 +2659,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
3128
2659
|
ParticipantItemScreenShareStart?: JSX.Element;
|
3129
2660
|
VideoTileMicOff?: JSX.Element;
|
3130
2661
|
LocalCameraSwitch?: JSX.Element;
|
3131
|
-
PeoplePaneAddPerson?: JSX.Element;
|
3132
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
3133
|
-
DialpadStartCall?: JSX.Element;
|
3134
2662
|
DefaultCustomButton?: JSX.Element;
|
3135
2663
|
DtmfDialpadButton?: JSX.Element;
|
3136
2664
|
EditBoxCancel?: JSX.Element;
|
@@ -3159,62 +2687,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
3159
2687
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
3160
2688
|
*/
|
3161
2689
|
callControls?: boolean | CallWithChatControlOptions;
|
3162
|
-
/**
|
3163
|
-
* Properties for configuring the File Sharing feature.
|
3164
|
-
* If undefined, file sharing feature will be disabled.
|
3165
|
-
* @beta
|
3166
|
-
*/
|
3167
|
-
fileSharing?: FileSharingOptions;
|
3168
|
-
/**
|
3169
|
-
* Device permissions check options for your call.
|
3170
|
-
* Here you can choose what device permissions you prompt the user for,
|
3171
|
-
* as well as what device permissions must be accepted before starting a call.
|
3172
|
-
*/
|
3173
|
-
deviceChecks?: DeviceCheckOptions;
|
3174
|
-
/**
|
3175
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3176
|
-
* unable to grant your site the required permissions for the call.
|
3177
|
-
*
|
3178
|
-
* @example
|
3179
|
-
* ```ts
|
3180
|
-
* onPermissionsTroubleshootingClick: () =>
|
3181
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3182
|
-
* ```
|
3183
|
-
*
|
3184
|
-
* @remarks
|
3185
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3186
|
-
*/
|
3187
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3188
|
-
camera: PermissionState;
|
3189
|
-
microphone: PermissionState;
|
3190
|
-
}) => void;
|
3191
|
-
/**
|
3192
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
3193
|
-
* experienced when connecting to a call.
|
3194
|
-
*
|
3195
|
-
* @example
|
3196
|
-
* ```ts
|
3197
|
-
* onNetworkingTroubleShootingClick?: () =>
|
3198
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3199
|
-
* ```
|
3200
|
-
*
|
3201
|
-
* @remarks
|
3202
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3203
|
-
*/
|
3204
|
-
onNetworkingTroubleShootingClick?: () => void;
|
3205
|
-
/**
|
3206
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3207
|
-
*
|
3208
|
-
* @example
|
3209
|
-
* ```ts
|
3210
|
-
* onBrowserTroubleShootingClick?: () =>
|
3211
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3212
|
-
* ```
|
3213
|
-
*
|
3214
|
-
* @remarks
|
3215
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
3216
|
-
*/
|
3217
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
3218
2690
|
/**
|
3219
2691
|
* Remote participant video tile menu options
|
3220
2692
|
*/
|
@@ -3234,6 +2706,45 @@ export declare type CallWithChatCompositeOptions = {
|
|
3234
2706
|
*/
|
3235
2707
|
layout?: VideoGalleryLayout;
|
3236
2708
|
};
|
2709
|
+
/**
|
2710
|
+
* Options for setting additional customizations related to personalized branding.
|
2711
|
+
*/
|
2712
|
+
branding?: {
|
2713
|
+
/**
|
2714
|
+
* Logo displayed on the configuration page.
|
2715
|
+
*/
|
2716
|
+
logo?: {
|
2717
|
+
/**
|
2718
|
+
* URL for the logo image.
|
2719
|
+
*
|
2720
|
+
* @remarks
|
2721
|
+
* Recommended size is 80x80 pixels.
|
2722
|
+
*/
|
2723
|
+
url: string;
|
2724
|
+
/**
|
2725
|
+
* Alt text for the logo image.
|
2726
|
+
*/
|
2727
|
+
alt?: string;
|
2728
|
+
/**
|
2729
|
+
* The logo can be displayed as a circle.
|
2730
|
+
*
|
2731
|
+
* @defaultValue 'unset'
|
2732
|
+
*/
|
2733
|
+
shape?: 'unset' | 'circle';
|
2734
|
+
};
|
2735
|
+
/**
|
2736
|
+
* Background image displayed on the configuration page.
|
2737
|
+
*/
|
2738
|
+
backgroundImage?: {
|
2739
|
+
/**
|
2740
|
+
* URL for the background image.
|
2741
|
+
*
|
2742
|
+
* @remarks
|
2743
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
2744
|
+
*/
|
2745
|
+
url: string;
|
2746
|
+
};
|
2747
|
+
};
|
3237
2748
|
};
|
3238
2749
|
|
3239
2750
|
/**
|
@@ -3385,10 +2896,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3385
2896
|
* Label for button to copy invite link
|
3386
2897
|
*/
|
3387
2898
|
copyInviteLinkButtonLabel: string;
|
3388
|
-
/**
|
3389
|
-
* Label for button to open dialpad
|
3390
|
-
*/
|
3391
|
-
openDialpadButtonLabel: string;
|
3392
2899
|
/**
|
3393
2900
|
* Label for SidePaneHeader dismiss button
|
3394
2901
|
*/
|
@@ -3401,34 +2908,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3401
2908
|
* Aria label string for return to call back button
|
3402
2909
|
*/
|
3403
2910
|
returnToCallButtonAriaLabel?: string;
|
3404
|
-
/**
|
3405
|
-
* Label for add people dropdown
|
3406
|
-
*/
|
3407
|
-
peoplePaneAddPeopleButtonLabel: string;
|
3408
|
-
/**
|
3409
|
-
* Label for button to start a call
|
3410
|
-
*/
|
3411
|
-
dialpadStartCallButtonLabel: string;
|
3412
|
-
/**
|
3413
|
-
* Title for dialpad Modal
|
3414
|
-
*/
|
3415
|
-
dialpadModalTitle: string;
|
3416
|
-
/**
|
3417
|
-
* Aria Label for dialpad Modal
|
3418
|
-
*/
|
3419
|
-
dialpadModalAriaLabel: string;
|
3420
|
-
/**
|
3421
|
-
* Aria Label for dialpad Modal close button
|
3422
|
-
*/
|
3423
|
-
dialpadCloseModalButtonAriaLabel: string;
|
3424
|
-
/**
|
3425
|
-
* Placeholder text for dtmf dialpad
|
3426
|
-
*/
|
3427
|
-
dtmfDialpadPlaceholderText: string;
|
3428
|
-
/**
|
3429
|
-
* Label for the button to open dtmf dialpad
|
3430
|
-
*/
|
3431
|
-
openDtmfDialpadLabel: string;
|
3432
2911
|
/**
|
3433
2912
|
* aria label for when the invite link has been actioned
|
3434
2913
|
*/
|
@@ -3445,9 +2924,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3445
2924
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
3446
2925
|
* @defaultValue true
|
3447
2926
|
*/
|
3448
|
-
chatButton?: boolean
|
3449
|
-
disabled: boolean;
|
3450
|
-
};
|
2927
|
+
chatButton?: boolean;
|
3451
2928
|
}
|
3452
2929
|
|
3453
2930
|
/**
|
@@ -3457,35 +2934,6 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3457
2934
|
*/
|
3458
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';
|
3459
2936
|
|
3460
|
-
/**
|
3461
|
-
* @beta
|
3462
|
-
*
|
3463
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3464
|
-
* by their browsers settings.
|
3465
|
-
*/
|
3466
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3467
|
-
|
3468
|
-
/**
|
3469
|
-
* @beta
|
3470
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
3471
|
-
*/
|
3472
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3473
|
-
/** Icon name for the camera icon */
|
3474
|
-
cameraIconName?: string;
|
3475
|
-
/** Icon name for the microphone icon */
|
3476
|
-
microphoneIconName?: string;
|
3477
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
3478
|
-
connectorIconName?: string;
|
3479
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3480
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3481
|
-
}
|
3482
|
-
|
3483
|
-
/**
|
3484
|
-
* @beta
|
3485
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3486
|
-
*/
|
3487
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3488
|
-
|
3489
2937
|
/**
|
3490
2938
|
* A button to turn camera on / off.
|
3491
2939
|
*
|
@@ -3642,31 +3090,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3642
3090
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3643
3091
|
}
|
3644
3092
|
|
3645
|
-
/**
|
3646
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3647
|
-
* by their browsers settings.
|
3648
|
-
*
|
3649
|
-
* @beta
|
3650
|
-
*/
|
3651
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3652
|
-
|
3653
|
-
/**
|
3654
|
-
* @beta
|
3655
|
-
* Props for CameraSitePermissions component.
|
3656
|
-
*/
|
3657
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3658
|
-
/** Icon name for the camera icon */
|
3659
|
-
cameraIconName?: string;
|
3660
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3661
|
-
strings?: CameraSitePermissionsStrings;
|
3662
|
-
}
|
3663
|
-
|
3664
|
-
/**
|
3665
|
-
* @beta
|
3666
|
-
* Strings for CameraSitePermissions component.
|
3667
|
-
*/
|
3668
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3669
|
-
|
3670
3093
|
/**
|
3671
3094
|
* @public
|
3672
3095
|
* Callback function run when a message edit is cancelled.
|
@@ -3872,7 +3295,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3872
3295
|
*
|
3873
3296
|
* @public
|
3874
3297
|
*/
|
3875
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers
|
3298
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
|
3876
3299
|
|
3877
3300
|
/**
|
3878
3301
|
* {@link ChatAdapter} state.
|
@@ -3996,9 +3419,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
3996
3419
|
/**
|
3997
3420
|
* Update a message content.
|
3998
3421
|
*/
|
3999
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
4000
|
-
attachmentMetadata?: AttachmentMetadata[];
|
4001
|
-
}): Promise<void>;
|
3422
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
4002
3423
|
/**
|
4003
3424
|
* Delete a message in the thread.
|
4004
3425
|
*/
|
@@ -4028,20 +3449,13 @@ export declare interface ChatAdapterThreadManagement {
|
|
4028
3449
|
*/
|
4029
3450
|
export declare type ChatAdapterUiState = {
|
4030
3451
|
error?: Error;
|
4031
|
-
/**
|
4032
|
-
* Files being uploaded by a user in the current thread.
|
4033
|
-
* Should be set to null once the upload is complete.
|
4034
|
-
* Array of type {@link FileUploadsUiState}
|
4035
|
-
* @beta
|
4036
|
-
*/
|
4037
|
-
fileUploads?: FileUploadsUiState;
|
4038
3452
|
};
|
4039
3453
|
|
4040
3454
|
/**
|
4041
3455
|
* Represents the type of attachment
|
4042
|
-
* @
|
3456
|
+
* @public
|
4043
3457
|
*/
|
4044
|
-
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';
|
4045
3459
|
|
4046
3460
|
/**
|
4047
3461
|
* Common props for selectors for {@link ChatClientState}.
|
@@ -4143,7 +3557,6 @@ export declare type ChatCompositeIcons = {
|
|
4143
3557
|
ParticipantItemOptionsHovered?: JSX.Element;
|
4144
3558
|
SendBoxSend?: JSX.Element;
|
4145
3559
|
SendBoxSendHovered?: JSX.Element;
|
4146
|
-
SendBoxAttachFile?: JSX.Element;
|
4147
3560
|
};
|
4148
3561
|
|
4149
3562
|
/**
|
@@ -4158,13 +3571,6 @@ export declare type ChatCompositeOptions = {
|
|
4158
3571
|
* @defaultValue true
|
4159
3572
|
*/
|
4160
3573
|
errorBar?: boolean;
|
4161
|
-
/**
|
4162
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4163
|
-
* @defaultValue false
|
4164
|
-
*
|
4165
|
-
* @beta
|
4166
|
-
*/
|
4167
|
-
participantPane?: boolean;
|
4168
3574
|
/**
|
4169
3575
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
4170
3576
|
* @defaultValue true
|
@@ -4175,12 +3581,6 @@ export declare type ChatCompositeOptions = {
|
|
4175
3581
|
* When undefined nothing has focus on render
|
4176
3582
|
*/
|
4177
3583
|
autoFocus?: 'sendBoxTextField';
|
4178
|
-
/**
|
4179
|
-
* Properties for configuring the File Sharing feature.
|
4180
|
-
* If undefined, file sharing feature will be disabled.
|
4181
|
-
* @beta
|
4182
|
-
*/
|
4183
|
-
fileSharing?: FileSharingOptions;
|
4184
3584
|
};
|
4185
3585
|
|
4186
3586
|
/**
|
@@ -4208,12 +3608,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
4208
3608
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
4209
3609
|
*/
|
4210
3610
|
options?: ChatCompositeOptions;
|
4211
|
-
/**
|
4212
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
4213
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4214
|
-
* @defaultValue 'desktop'
|
4215
|
-
*/
|
4216
|
-
formFactor?: 'desktop' | 'mobile';
|
4217
3611
|
}
|
4218
3612
|
|
4219
3613
|
/**
|
@@ -4228,10 +3622,6 @@ export declare interface ChatCompositeStrings {
|
|
4228
3622
|
* Chat list header text
|
4229
3623
|
*/
|
4230
3624
|
chatListHeader: string;
|
4231
|
-
/**
|
4232
|
-
* Upload File Button text
|
4233
|
-
*/
|
4234
|
-
uploadFile: string;
|
4235
3625
|
}
|
4236
3626
|
|
4237
3627
|
/**
|
@@ -4280,7 +3670,7 @@ export declare type ChatErrors = {
|
|
4280
3670
|
*
|
4281
3671
|
* @public
|
4282
3672
|
*/
|
4283
|
-
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';
|
4284
3674
|
|
4285
3675
|
/**
|
4286
3676
|
* Object containing all the handlers required for chat components.
|
@@ -4297,10 +3687,7 @@ export declare type ChatHandlers = {
|
|
4297
3687
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
4298
3688
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
4299
3689
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
4300
|
-
onUpdateMessage: (messageId: string, content: string
|
4301
|
-
metadata?: Record<string, string>;
|
4302
|
-
attachmentMetadata?: AttachmentMetadata[];
|
4303
|
-
}) => Promise<void>;
|
3690
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
4304
3691
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
4305
3692
|
};
|
4306
3693
|
|
@@ -4327,18 +3714,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4327
3714
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
4328
3715
|
*/
|
4329
3716
|
metadata?: Record<string, string>;
|
4330
|
-
/**
|
4331
|
-
* @beta
|
4332
|
-
* A list of file attachments for the message.
|
4333
|
-
* {@link FileMetadata}
|
4334
|
-
*/
|
4335
|
-
files?: FileMetadata[];
|
4336
|
-
/**
|
4337
|
-
* @beta
|
4338
|
-
* A list of inline images embedded in the message.
|
4339
|
-
* {@link InlineImageMetadata}
|
4340
|
-
*/
|
4341
|
-
inlineImages?: InlineImageMetadata[];
|
4342
3717
|
}
|
4343
3718
|
|
4344
3719
|
/**
|
@@ -4352,8 +3727,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4352
3727
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
4353
3728
|
clientMessageId?: string;
|
4354
3729
|
status: MessageStatus;
|
4355
|
-
|
4356
|
-
resourceCache?: Record<string, string>;
|
3730
|
+
resourceCache?: Record<string, ResourceFetchResult>;
|
4357
3731
|
};
|
4358
3732
|
|
4359
3733
|
/**
|
@@ -4519,12 +3893,6 @@ export declare type CommonCallAdapterOptions = {
|
|
4519
3893
|
videoBackgroundImages?: VideoBackgroundImage[];
|
4520
3894
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
4521
3895
|
};
|
4522
|
-
/**
|
4523
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4524
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4525
|
-
* and would not be updated again within the lifecycle of adapter.
|
4526
|
-
*/
|
4527
|
-
onFetchProfile?: OnFetchProfileCallback;
|
4528
3896
|
/**
|
4529
3897
|
* Sounds to use for calling events
|
4530
3898
|
*/
|
@@ -4551,9 +3919,7 @@ export declare type CommonCallControlOptions = {
|
|
4551
3919
|
* Show or Hide Camera Button during a call
|
4552
3920
|
* @defaultValue true
|
4553
3921
|
*/
|
4554
|
-
cameraButton?: boolean
|
4555
|
-
disabled: boolean;
|
4556
|
-
};
|
3922
|
+
cameraButton?: boolean;
|
4557
3923
|
/**
|
4558
3924
|
* Show or Hide EndCall button during a call.
|
4559
3925
|
* @defaultValue true
|
@@ -4563,16 +3929,12 @@ export declare type CommonCallControlOptions = {
|
|
4563
3929
|
* Show or Hide Microphone button during a call.
|
4564
3930
|
* @defaultValue true
|
4565
3931
|
*/
|
4566
|
-
microphoneButton?: boolean
|
4567
|
-
disabled: boolean;
|
4568
|
-
};
|
3932
|
+
microphoneButton?: boolean;
|
4569
3933
|
/**
|
4570
3934
|
* Show or Hide Devices button during a call.
|
4571
3935
|
* @defaultValue true
|
4572
3936
|
*/
|
4573
|
-
devicesButton?: boolean
|
4574
|
-
disabled: boolean;
|
4575
|
-
};
|
3937
|
+
devicesButton?: boolean;
|
4576
3938
|
/**
|
4577
3939
|
* Show, Hide or Disable participants button during a call.
|
4578
3940
|
* @defaultValue true
|
@@ -4603,16 +3965,11 @@ export declare type CommonCallControlOptions = {
|
|
4603
3965
|
* Inject custom buttons in the call controls.
|
4604
3966
|
*/
|
4605
3967
|
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4606
|
-
holdButton?: boolean | {
|
4607
|
-
disabled: boolean;
|
4608
|
-
};
|
4609
3968
|
/**
|
4610
3969
|
* Show or hide the people button in the composite control bar.
|
4611
3970
|
* @defaultValue true
|
4612
3971
|
*/
|
4613
|
-
peopleButton?: boolean
|
4614
|
-
disabled: boolean;
|
4615
|
-
};
|
3972
|
+
peopleButton?: boolean;
|
4616
3973
|
/**
|
4617
3974
|
* Show or hide the dialpad button in the composite control bar.
|
4618
3975
|
*/
|
@@ -4643,9 +4000,6 @@ export declare interface CommonCallingHandlers {
|
|
4643
4000
|
onRaiseHand: () => Promise<void>;
|
4644
4001
|
onLowerHand: () => Promise<void>;
|
4645
4002
|
onToggleRaiseHand: () => Promise<void>;
|
4646
|
-
onToggleHold: () => Promise<void>;
|
4647
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4648
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4649
4003
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4650
4004
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4651
4005
|
/**
|
@@ -4657,8 +4011,6 @@ export declare interface CommonCallingHandlers {
|
|
4657
4011
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4658
4012
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4659
4013
|
onRemoveParticipant(userId: string): Promise<void>;
|
4660
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4661
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4662
4014
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
4663
4015
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4664
4016
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -4678,39 +4030,6 @@ export declare type CommonProperties<A, B> = {
|
|
4678
4030
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4679
4031
|
}[keyof A & keyof B];
|
4680
4032
|
|
4681
|
-
/**
|
4682
|
-
* @beta
|
4683
|
-
* Props for SitePermissions components.
|
4684
|
-
*/
|
4685
|
-
export declare interface CommonSitePermissionsProps {
|
4686
|
-
/**
|
4687
|
-
* Name of application calling experience is in.
|
4688
|
-
*/
|
4689
|
-
appName: string;
|
4690
|
-
/**
|
4691
|
-
* Kind of the Site Permissions component.
|
4692
|
-
*/
|
4693
|
-
kind: 'request' | 'denied' | 'check';
|
4694
|
-
/**
|
4695
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4696
|
-
*/
|
4697
|
-
browserHint?: 'safari' | 'unset';
|
4698
|
-
/**
|
4699
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4700
|
-
* If this is not provided the button will not be shown.
|
4701
|
-
*/
|
4702
|
-
onTroubleshootingClick?: () => void;
|
4703
|
-
/**
|
4704
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4705
|
-
* If this is not provided the button will not be shown.
|
4706
|
-
*/
|
4707
|
-
onContinueAnywayClick?: () => void;
|
4708
|
-
/**
|
4709
|
-
* Styles for SitePermissions component.
|
4710
|
-
*/
|
4711
|
-
styles?: SitePermissionsStyles;
|
4712
|
-
}
|
4713
|
-
|
4714
4033
|
/**
|
4715
4034
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4716
4035
|
*
|
@@ -4887,11 +4206,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4887
4206
|
export declare interface ComponentLocale {
|
4888
4207
|
/** Strings for components */
|
4889
4208
|
strings: ComponentStrings;
|
4890
|
-
/**
|
4891
|
-
* Optional function to provide customized date format.
|
4892
|
-
* @beta
|
4893
|
-
*/
|
4894
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4895
4209
|
}
|
4896
4210
|
|
4897
4211
|
/**
|
@@ -4937,8 +4251,6 @@ export declare interface ComponentStrings {
|
|
4937
4251
|
typingIndicator: TypingIndicatorStrings;
|
4938
4252
|
/** Strings for SendBox */
|
4939
4253
|
sendBox: SendBoxStrings;
|
4940
|
-
/** Strings for MentionPopover */
|
4941
|
-
mentionPopover: MentionPopoverStrings;
|
4942
4254
|
/** Strings for ImageOverlay */
|
4943
4255
|
imageOverlay: ImageOverlayStrings;
|
4944
4256
|
/** Strings for MessageStatusIndicator */
|
@@ -4949,50 +4261,10 @@ export declare interface ComponentStrings {
|
|
4949
4261
|
videoGallery: VideoGalleryStrings;
|
4950
4262
|
/** Strings for Dialpad */
|
4951
4263
|
dialpad: DialpadStrings;
|
4952
|
-
/** Strings for VideoTile */
|
4953
|
-
videoTile: VideoTileStrings;
|
4954
|
-
/** Strings for HoldButton */
|
4955
|
-
holdButton: HoldButtonStrings;
|
4956
|
-
/** Strings for a site's permission request prompt */
|
4957
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4958
|
-
/** Strings for a site's permission request prompt */
|
4959
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4960
|
-
/** Strings for a site's permission request prompt */
|
4961
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4962
|
-
/** Strings for a site's permission generic checking prompt */
|
4963
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4964
|
-
/** Strings for a site's permission generic checking prompt */
|
4965
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4966
|
-
/** Strings for a site's permission generic checking prompt */
|
4967
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4968
|
-
/** Strings for a site's permission denied prompt */
|
4969
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4970
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4971
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4972
|
-
/** Strings for a site's permission denied prompt */
|
4973
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4974
|
-
/** Strings for a site's permission denied prompt */
|
4975
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4976
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4977
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4978
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4979
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4980
|
-
/** Strings for unsupported browser UI */
|
4981
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4982
|
-
/** Strings for unsupported browser version UI */
|
4983
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4984
|
-
/** Strings for unsupported browser version UI */
|
4985
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4986
|
-
/** Strings for BrowserPemissionDenied */
|
4987
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4988
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
4989
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4990
4264
|
/**
|
4991
4265
|
* Strings for the VerticalGallery.
|
4992
4266
|
*/
|
4993
4267
|
verticalGallery: VerticalGalleryStrings;
|
4994
|
-
/** Strings for the participant list component */
|
4995
|
-
ParticipantList: ParticipantListStrings;
|
4996
4268
|
}
|
4997
4269
|
|
4998
4270
|
/**
|
@@ -5394,7 +4666,7 @@ export declare function createAzureCommunicationCallAdapterFromClient(callClient
|
|
5394
4666
|
*
|
5395
4667
|
* @public
|
5396
4668
|
*/
|
5397
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator,
|
4669
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5398
4670
|
|
5399
4671
|
/**
|
5400
4672
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -5455,18 +4727,6 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
5455
4727
|
*/
|
5456
4728
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
5457
4729
|
|
5458
|
-
/**
|
5459
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5460
|
-
*
|
5461
|
-
* Useful when implementing a custom component that utilizes the providers
|
5462
|
-
* exported from this library.
|
5463
|
-
*
|
5464
|
-
* @beta
|
5465
|
-
*/
|
5466
|
-
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?: {
|
5467
|
-
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
5468
|
-
}) => never | TeamsCallingHandlers;
|
5469
|
-
|
5470
4730
|
/**
|
5471
4731
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
5472
4732
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -5492,21 +4752,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
5492
4752
|
*/
|
5493
4753
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
|
5494
4754
|
|
5495
|
-
/**
|
5496
|
-
* @beta
|
5497
|
-
*/
|
5498
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5499
|
-
|
5500
|
-
/**
|
5501
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5502
|
-
*
|
5503
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5504
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5505
|
-
*
|
5506
|
-
* @beta
|
5507
|
-
*/
|
5508
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
5509
|
-
|
5510
4755
|
/**
|
5511
4756
|
* Object returned after creating a local or remote VideoStream.
|
5512
4757
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -5557,13 +4802,6 @@ export declare type CustomAvatarOptions = {
|
|
5557
4802
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
5558
4803
|
/** Display name to be used in Persona */
|
5559
4804
|
text?: string;
|
5560
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5561
|
-
participantState?: ParticipantState;
|
5562
|
-
/**
|
5563
|
-
* If true, show the special coin for unknown persona.
|
5564
|
-
* It has '?' in place of initials, with static font and background colors
|
5565
|
-
*/
|
5566
|
-
showUnknownPersonaCoin?: boolean;
|
5567
4805
|
};
|
5568
4806
|
|
5569
4807
|
/**
|
@@ -5691,18 +4929,6 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5691
4929
|
*/
|
5692
4930
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
5693
4931
|
|
5694
|
-
/**
|
5695
|
-
* @beta
|
5696
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5697
|
-
*/
|
5698
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
5699
|
-
|
5700
|
-
/**
|
5701
|
-
* @beta
|
5702
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5703
|
-
*/
|
5704
|
-
export declare type DeclarativeIncomingCall = IncomingCall;
|
5705
|
-
|
5706
4932
|
/**
|
5707
4933
|
* The default set of icons that are available to use in the UI components.
|
5708
4934
|
*
|
@@ -5726,9 +4952,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5726
4952
|
ControlButtonLowerHand: React_2.JSX.Element;
|
5727
4953
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
5728
4954
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
5729
|
-
CancelFileUpload: React_2.JSX.Element;
|
5730
|
-
DownloadFile: React_2.JSX.Element;
|
5731
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
5732
4955
|
EditBoxCancel: React_2.JSX.Element;
|
5733
4956
|
EditBoxSubmit: React_2.JSX.Element;
|
5734
4957
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -5761,20 +4984,10 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5761
4984
|
ParticipantItemOptions: React_2.JSX.Element;
|
5762
4985
|
ParticipantItemOptionsHovered: React_2.JSX.Element;
|
5763
4986
|
ParticipantItemScreenShareStart: React_2.JSX.Element;
|
5764
|
-
HoldCallContextualMenuItem: React_2.JSX.Element;
|
5765
|
-
HoldCallButton: React_2.JSX.Element;
|
5766
|
-
ResumeCall: React_2.JSX.Element;
|
5767
4987
|
SendBoxSend: React_2.JSX.Element;
|
5768
4988
|
SendBoxSendHovered: React_2.JSX.Element;
|
5769
4989
|
VideoTileMicOff: React_2.JSX.Element;
|
5770
4990
|
DialpadBackspace: React_2.JSX.Element;
|
5771
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
5772
|
-
SitePermissionCamera: React_2.JSX.Element;
|
5773
|
-
SitePermissionMic: React_2.JSX.Element;
|
5774
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
5775
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
5776
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
5777
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
5778
4991
|
VideoTilePinned: React_2.JSX.Element;
|
5779
4992
|
VideoTileMoreOptions: React_2.JSX.Element;
|
5780
4993
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -5817,7 +5030,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5817
5030
|
ParticipantItemOptionsHovered: JSX.Element;
|
5818
5031
|
SendBoxSend: JSX.Element;
|
5819
5032
|
SendBoxSendHovered: JSX.Element;
|
5820
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5821
5033
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
5822
5034
|
ControlButtonCameraOff: JSX.Element;
|
5823
5035
|
ControlButtonCameraOn: JSX.Element;
|
@@ -5872,9 +5084,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5872
5084
|
ParticipantItemScreenShareStart: JSX.Element;
|
5873
5085
|
VideoTileMicOff: JSX.Element;
|
5874
5086
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5875
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5876
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5877
|
-
DialpadStartCall?: JSX.Element | undefined;
|
5878
5087
|
NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
|
5879
5088
|
BlurVideoBackground?: JSX.Element | undefined;
|
5880
5089
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
@@ -5896,25 +5105,13 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5896
5105
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5897
5106
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5898
5107
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
5108
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
5899
5109
|
ChatMessageOptions: React_2.JSX.Element;
|
5900
5110
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
5901
|
-
CancelFileUpload: React_2.JSX.Element;
|
5902
|
-
DownloadFile: React_2.JSX.Element;
|
5903
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
5904
5111
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
5905
5112
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
5906
5113
|
MessageResend: React_2.JSX.Element;
|
5907
|
-
HoldCallContextualMenuItem: React_2.JSX.Element;
|
5908
|
-
HoldCallButton: React_2.JSX.Element;
|
5909
|
-
ResumeCall: React_2.JSX.Element;
|
5910
5114
|
DialpadBackspace: React_2.JSX.Element;
|
5911
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
5912
|
-
SitePermissionCamera: React_2.JSX.Element;
|
5913
|
-
SitePermissionMic: React_2.JSX.Element;
|
5914
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
5915
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
5916
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
5917
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
5918
5115
|
VideoTilePinned: React_2.JSX.Element;
|
5919
5116
|
VideoTileMoreOptions: React_2.JSX.Element;
|
5920
5117
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -5939,29 +5136,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5939
5136
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
5940
5137
|
};
|
5941
5138
|
|
5942
|
-
/**
|
5943
|
-
* Device Checks.
|
5944
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5945
|
-
*
|
5946
|
-
* @beta
|
5947
|
-
*/
|
5948
|
-
export declare interface DeviceCheckOptions {
|
5949
|
-
/**
|
5950
|
-
* Camera Permission prompts for your call.
|
5951
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5952
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5953
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5954
|
-
*/
|
5955
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
5956
|
-
/**
|
5957
|
-
* Microphone permission prompts for your call.
|
5958
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5959
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5960
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5961
|
-
*/
|
5962
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5963
|
-
}
|
5964
|
-
|
5965
5139
|
/**
|
5966
5140
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
5967
5141
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -6548,206 +5722,6 @@ export declare interface ErrorBarStrings {
|
|
6548
5722
|
*/
|
6549
5723
|
export declare type ErrorType = keyof ErrorBarStrings;
|
6550
5724
|
|
6551
|
-
/**
|
6552
|
-
* @beta
|
6553
|
-
* A file download error returned via a {@link FileDownloadHandler}.
|
6554
|
-
* This error message is used to render an error message in the UI.
|
6555
|
-
*/
|
6556
|
-
export declare interface FileDownloadError {
|
6557
|
-
/** The error message to display in the UI */
|
6558
|
-
errorMessage: string;
|
6559
|
-
}
|
6560
|
-
|
6561
|
-
/**
|
6562
|
-
* @beta
|
6563
|
-
*
|
6564
|
-
* A callback function for handling file downloads.
|
6565
|
-
* The function needs to return a promise that resolves to a file download URL.
|
6566
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6567
|
-
*
|
6568
|
-
* @example
|
6569
|
-
* ```ts
|
6570
|
-
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6571
|
-
* if (isUnauthorizedUser(userId)) {
|
6572
|
-
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6573
|
-
* } else {
|
6574
|
-
* return new URL(fileData.url);
|
6575
|
-
* }
|
6576
|
-
* }
|
6577
|
-
*
|
6578
|
-
* const App = () => (
|
6579
|
-
* <ChatComposite
|
6580
|
-
* ...
|
6581
|
-
* fileSharing={{
|
6582
|
-
* fileDownloadHandler: fileDownloadHandler
|
6583
|
-
* }}
|
6584
|
-
* />
|
6585
|
-
* )
|
6586
|
-
*
|
6587
|
-
* ```
|
6588
|
-
* @param userId - The user ID of the user downloading the file.
|
6589
|
-
* @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
|
6590
|
-
*/
|
6591
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
6592
|
-
|
6593
|
-
/**
|
6594
|
-
* Metadata containing basic information about the uploaded file.
|
6595
|
-
*
|
6596
|
-
* @beta
|
6597
|
-
*/
|
6598
|
-
export declare interface FileMetadata {
|
6599
|
-
attachmentType: 'file';
|
6600
|
-
/**
|
6601
|
-
* Extension hint, useful for rendering a specific icon.
|
6602
|
-
* An unknown or empty extension will be rendered as a generic icon.
|
6603
|
-
* Example: `pdf`
|
6604
|
-
*/
|
6605
|
-
extension: string;
|
6606
|
-
/**
|
6607
|
-
* Unique ID of the file.
|
6608
|
-
*/
|
6609
|
-
id: string;
|
6610
|
-
/**
|
6611
|
-
* File name to be displayed.
|
6612
|
-
*/
|
6613
|
-
name: string;
|
6614
|
-
/**
|
6615
|
-
* Download URL for the file.
|
6616
|
-
*/
|
6617
|
-
url: string;
|
6618
|
-
payload?: Record<string, string>;
|
6619
|
-
}
|
6620
|
-
|
6621
|
-
/**
|
6622
|
-
* Properties for configuring the File Sharing feature.
|
6623
|
-
* @beta
|
6624
|
-
*/
|
6625
|
-
export declare interface FileSharingOptions {
|
6626
|
-
/**
|
6627
|
-
* A string containing the comma separated list of accepted file types.
|
6628
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6629
|
-
* Accepts any type of file if not specified.
|
6630
|
-
* @beta
|
6631
|
-
*/
|
6632
|
-
accept?: string;
|
6633
|
-
/**
|
6634
|
-
* Allows multiple files to be selected if set to `true`.
|
6635
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6636
|
-
* @defaultValue false
|
6637
|
-
* @beta
|
6638
|
-
*/
|
6639
|
-
multiple?: boolean;
|
6640
|
-
/**
|
6641
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6642
|
-
* @beta
|
6643
|
-
*/
|
6644
|
-
uploadHandler: FileUploadHandler;
|
6645
|
-
/**
|
6646
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6647
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6648
|
-
* initiate the download.
|
6649
|
-
*/
|
6650
|
-
downloadHandler?: FileDownloadHandler;
|
6651
|
-
}
|
6652
|
-
|
6653
|
-
/**
|
6654
|
-
* @beta
|
6655
|
-
*/
|
6656
|
-
export declare interface FileUploadAdapter {
|
6657
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6658
|
-
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
6659
|
-
clearFileUploads: () => void;
|
6660
|
-
cancelFileUpload: (id: string) => void;
|
6661
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
6662
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6663
|
-
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
6664
|
-
}
|
6665
|
-
|
6666
|
-
/**
|
6667
|
-
* @beta
|
6668
|
-
* Error message to be displayed to the user if the upload fails.
|
6669
|
-
*/
|
6670
|
-
export declare type FileUploadError = {
|
6671
|
-
message: string;
|
6672
|
-
timestamp: number;
|
6673
|
-
};
|
6674
|
-
|
6675
|
-
/**
|
6676
|
-
* @beta
|
6677
|
-
* A callback function for handling file uploads.
|
6678
|
-
*
|
6679
|
-
* @param userId - The user ID of the user uploading the file.
|
6680
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6681
|
-
*/
|
6682
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6683
|
-
|
6684
|
-
/**
|
6685
|
-
* A wrapper object for a file that is being uploaded.
|
6686
|
-
* Allows managing file uploads by providing common functions for updating the
|
6687
|
-
* upload progress, canceling an upload, completing an upload etc.
|
6688
|
-
* @beta
|
6689
|
-
*/
|
6690
|
-
export declare interface FileUploadManager {
|
6691
|
-
/**
|
6692
|
-
* Unique identifier for the file upload.
|
6693
|
-
*/
|
6694
|
-
id: string;
|
6695
|
-
/**
|
6696
|
-
* HTML {@link File} object for the uploaded file.
|
6697
|
-
*/
|
6698
|
-
file?: File;
|
6699
|
-
/**
|
6700
|
-
* Update the progress of the upload.
|
6701
|
-
* @param value - number between 0 and 1
|
6702
|
-
*/
|
6703
|
-
notifyUploadProgressChanged: (value: number) => void;
|
6704
|
-
/**
|
6705
|
-
* Mark the upload as complete.
|
6706
|
-
* Requires the `metadata` param containing uploaded file information.
|
6707
|
-
* @param metadata - {@link AttachmentMetadata}
|
6708
|
-
*/
|
6709
|
-
notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
|
6710
|
-
/**
|
6711
|
-
* Mark the upload as failed.
|
6712
|
-
* @param message - An error message that can be displayed to the user.
|
6713
|
-
*/
|
6714
|
-
notifyUploadFailed: (message: string) => void;
|
6715
|
-
}
|
6716
|
-
|
6717
|
-
/**
|
6718
|
-
* Contains the state attributes of a file upload like name, progress etc.
|
6719
|
-
* @beta
|
6720
|
-
*/
|
6721
|
-
export declare interface FileUploadState {
|
6722
|
-
/**
|
6723
|
-
* Unique identifier for the file upload.
|
6724
|
-
*/
|
6725
|
-
id: string;
|
6726
|
-
/**
|
6727
|
-
* Filename extracted from the {@link File} object.
|
6728
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
6729
|
-
*/
|
6730
|
-
filename: string;
|
6731
|
-
/**
|
6732
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
6733
|
-
*/
|
6734
|
-
progress: number;
|
6735
|
-
/**
|
6736
|
-
* Metadata {@link AttachmentMetadata} containing information about the uploaded file.
|
6737
|
-
*/
|
6738
|
-
metadata?: AttachmentMetadata;
|
6739
|
-
/**
|
6740
|
-
* Error message to be displayed to the user if the upload fails.
|
6741
|
-
*/
|
6742
|
-
error?: FileUploadError;
|
6743
|
-
}
|
6744
|
-
|
6745
|
-
/**
|
6746
|
-
* A record containing {@link FileUploadState} mapped to unique ids.
|
6747
|
-
* @beta
|
6748
|
-
*/
|
6749
|
-
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
6750
|
-
|
6751
5725
|
/**
|
6752
5726
|
* Provider to apply a Fluent theme across this library's react components.
|
6753
5727
|
*
|
@@ -6789,7 +5763,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
6789
5763
|
*
|
6790
5764
|
* @public
|
6791
5765
|
*/
|
6792
|
-
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;
|
6793
5767
|
|
6794
5768
|
/**
|
6795
5769
|
* Get the selector for a specified component.
|
@@ -6851,63 +5825,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
6851
5825
|
children?: IStyle;
|
6852
5826
|
}
|
6853
5827
|
|
6854
|
-
/**
|
6855
|
-
* a button to hold or resume a ongoing call.
|
6856
|
-
*
|
6857
|
-
* Can be used with {@link ControlBar}
|
6858
|
-
*
|
6859
|
-
* @param props - properties for the hold button.
|
6860
|
-
* @returns
|
6861
|
-
* @beta
|
6862
|
-
*/
|
6863
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6864
|
-
|
6865
|
-
/**
|
6866
|
-
*@beta
|
6867
|
-
*/
|
6868
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6869
|
-
/**
|
6870
|
-
* Utility property for using this component with communication react handlers
|
6871
|
-
* Holds the call or resumes it based on call state.
|
6872
|
-
*/
|
6873
|
-
onToggleHold: () => Promise<void>;
|
6874
|
-
/**
|
6875
|
-
* Optional strings to override in component
|
6876
|
-
*/
|
6877
|
-
strings?: HoldButtonStrings;
|
6878
|
-
}
|
6879
|
-
|
6880
|
-
/**
|
6881
|
-
* Selector type for the {@link HoldButton} component.
|
6882
|
-
* @public
|
6883
|
-
*/
|
6884
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6885
|
-
checked: boolean;
|
6886
|
-
};
|
6887
|
-
|
6888
|
-
/**
|
6889
|
-
* Strings for the hold button labels
|
6890
|
-
* @beta
|
6891
|
-
*/
|
6892
|
-
export declare interface HoldButtonStrings {
|
6893
|
-
/**
|
6894
|
-
* Label for when action is to resume call.
|
6895
|
-
*/
|
6896
|
-
onLabel: string;
|
6897
|
-
/**
|
6898
|
-
* Label for when action is to hold call.
|
6899
|
-
*/
|
6900
|
-
offLabel: string;
|
6901
|
-
/**
|
6902
|
-
* Content for when button is checked
|
6903
|
-
*/
|
6904
|
-
tooltipOnContent: string;
|
6905
|
-
/**
|
6906
|
-
* Content for when button is unchecked
|
6907
|
-
*/
|
6908
|
-
tooltipOffContent: string;
|
6909
|
-
}
|
6910
|
-
|
6911
5828
|
/**
|
6912
5829
|
* {@link HorizontalGallery} Component Styles.
|
6913
5830
|
* @public
|
@@ -6992,23 +5909,19 @@ export declare interface _Identifiers {
|
|
6992
5909
|
verticalGalleryVideoTile: string;
|
6993
5910
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6994
5911
|
verticalGalleryPageCounter: string;
|
6995
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
6996
|
-
mentionSuggestionList: string;
|
6997
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
6998
|
-
mentionSuggestionItem: string;
|
6999
5912
|
}
|
7000
5913
|
|
7001
5914
|
/**
|
7002
5915
|
* Component to render a fullscreen modal for a selected image.
|
7003
5916
|
*
|
7004
|
-
* @
|
5917
|
+
* @public
|
7005
5918
|
*/
|
7006
5919
|
export declare const ImageOverlay: (props: ImageOverlayProps) => JSX.Element;
|
7007
5920
|
|
7008
5921
|
/**
|
7009
5922
|
* Props for {@link ImageOverlay}.
|
7010
5923
|
*
|
7011
|
-
* @
|
5924
|
+
* @public
|
7012
5925
|
*/
|
7013
5926
|
export declare interface ImageOverlayProps {
|
7014
5927
|
/**
|
@@ -7044,7 +5957,7 @@ export declare interface ImageOverlayProps {
|
|
7044
5957
|
/**
|
7045
5958
|
* Strings of {@link ImageOverlay} that can be overridden.
|
7046
5959
|
*
|
7047
|
-
* @
|
5960
|
+
* @public
|
7048
5961
|
*/
|
7049
5962
|
export declare interface ImageOverlayStrings {
|
7050
5963
|
/**
|
@@ -7057,27 +5970,6 @@ export declare interface ImageOverlayStrings {
|
|
7057
5970
|
dismissButtonAriaLabel: string;
|
7058
5971
|
}
|
7059
5972
|
|
7060
|
-
/**
|
7061
|
-
* Preset dark theme for the ImageOverlay component.
|
7062
|
-
*
|
7063
|
-
* @beta
|
7064
|
-
*/
|
7065
|
-
export declare const imageOverlayTheme: PartialTheme;
|
7066
|
-
|
7067
|
-
/**
|
7068
|
-
* @beta
|
7069
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
7070
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
7071
|
-
*/
|
7072
|
-
export declare type IncomingCallManagement = {
|
7073
|
-
/**
|
7074
|
-
* @beta
|
7075
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
7076
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
7077
|
-
*/
|
7078
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
7079
|
-
};
|
7080
|
-
|
7081
5973
|
/**
|
7082
5974
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
7083
5975
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -7113,41 +6005,19 @@ export declare interface IncomingCallState {
|
|
7113
6005
|
/**
|
7114
6006
|
* InlineImage's state, as reflected in the UI.
|
7115
6007
|
*
|
7116
|
-
* @
|
6008
|
+
* @public
|
7117
6009
|
*/
|
7118
6010
|
export declare interface InlineImage {
|
7119
6011
|
/** ID of the message that the inline image is belonged to */
|
7120
6012
|
messageId: string;
|
7121
6013
|
/** Attributes of the inline image */
|
7122
|
-
|
7123
|
-
}
|
7124
|
-
|
7125
|
-
/**
|
7126
|
-
* Metadata for rendering images inline with a message.
|
7127
|
-
* This does not include images attached as files.
|
7128
|
-
* @beta
|
7129
|
-
*/
|
7130
|
-
export declare interface InlineImageMetadata {
|
7131
|
-
attachmentType: 'inlineImage';
|
7132
|
-
/**
|
7133
|
-
* Unique ID of the attachment.
|
7134
|
-
*/
|
7135
|
-
id: string;
|
7136
|
-
previewUrl?: string;
|
7137
|
-
/**
|
7138
|
-
* Download URL for the full resolution version.
|
7139
|
-
*/
|
7140
|
-
url: string;
|
7141
|
-
/**
|
7142
|
-
* Optional fetched Image source fot the full resolution version.
|
7143
|
-
*/
|
7144
|
-
fullSizeImageSrc?: string;
|
6014
|
+
imageAttributes: React_2.ImgHTMLAttributes<HTMLImageElement>;
|
7145
6015
|
}
|
7146
6016
|
|
7147
6017
|
/**
|
7148
6018
|
* Options to display inline image in the inline image scenario.
|
7149
6019
|
*
|
7150
|
-
* @
|
6020
|
+
* @public
|
7151
6021
|
*/
|
7152
6022
|
export declare interface InlineImageOptions {
|
7153
6023
|
/**
|
@@ -7362,101 +6232,31 @@ export declare interface LocalVideoTileOptions {
|
|
7362
6232
|
* different modes of the local video tile
|
7363
6233
|
*
|
7364
6234
|
* @public
|
7365
|
-
*/
|
7366
|
-
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
7367
|
-
|
7368
|
-
/**
|
7369
|
-
* Modes of how the longpress handlers can be tiggered.
|
7370
|
-
* @public
|
7371
|
-
*/
|
7372
|
-
export declare type LongPressTrigger = 'mouseAndTouch' | 'touch';
|
7373
|
-
|
7374
|
-
/**
|
7375
|
-
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
7376
|
-
*
|
7377
|
-
* @public
|
7378
|
-
*/
|
7379
|
-
export declare type MediaDiagnosticChangedEvent = MediaDiagnosticChangedEventArgs & {
|
7380
|
-
type: 'media';
|
7381
|
-
};
|
7382
|
-
|
7383
|
-
/**
|
7384
|
-
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7385
|
-
*
|
7386
|
-
* @public
|
7387
|
-
*/
|
7388
|
-
export declare interface MediaDiagnosticsState {
|
7389
|
-
latest: LatestMediaDiagnostics;
|
7390
|
-
}
|
7391
|
-
|
7392
|
-
/**
|
7393
|
-
* Mention's state, as reflected in the UI.
|
7394
|
-
*
|
7395
|
-
* @beta
|
7396
|
-
*/
|
7397
|
-
export declare interface Mention {
|
7398
|
-
/** ID of a mention */
|
7399
|
-
id: string;
|
7400
|
-
/** Display text of a mention */
|
7401
|
-
displayText: string;
|
7402
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
7403
|
-
icon?: JSX.Element;
|
7404
|
-
}
|
7405
|
-
|
7406
|
-
/**
|
7407
|
-
* Options to display suggestions in the mention scenario.
|
7408
|
-
*
|
7409
|
-
* @beta
|
7410
|
-
*/
|
7411
|
-
export declare interface MentionDisplayOptions {
|
7412
|
-
/**
|
7413
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
7414
|
-
*/
|
7415
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7416
|
-
}
|
6235
|
+
*/
|
6236
|
+
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
7417
6237
|
|
7418
6238
|
/**
|
7419
|
-
*
|
7420
|
-
*
|
7421
|
-
* @beta
|
6239
|
+
* Modes of how the longpress handlers can be tiggered.
|
6240
|
+
* @public
|
7422
6241
|
*/
|
7423
|
-
export declare
|
7424
|
-
/**
|
7425
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
7426
|
-
*
|
7427
|
-
* @defaultValue `@`
|
7428
|
-
*/
|
7429
|
-
trigger?: string;
|
7430
|
-
/**
|
7431
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
7432
|
-
*/
|
7433
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7434
|
-
/**
|
7435
|
-
* Optional callback to render an item of the mention suggestions list.
|
7436
|
-
*/
|
7437
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
7438
|
-
}
|
6242
|
+
export declare type LongPressTrigger = 'mouseAndTouch' | 'touch';
|
7439
6243
|
|
7440
6244
|
/**
|
7441
|
-
*
|
6245
|
+
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
7442
6246
|
*
|
7443
|
-
* @
|
6247
|
+
* @public
|
7444
6248
|
*/
|
7445
|
-
export declare type
|
7446
|
-
|
7447
|
-
displayOptions?: MentionDisplayOptions;
|
6249
|
+
export declare type MediaDiagnosticChangedEvent = MediaDiagnosticChangedEventArgs & {
|
6250
|
+
type: 'media';
|
7448
6251
|
};
|
7449
6252
|
|
7450
6253
|
/**
|
7451
|
-
*
|
6254
|
+
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7452
6255
|
*
|
7453
|
-
* @
|
6256
|
+
* @public
|
7454
6257
|
*/
|
7455
|
-
export declare interface
|
7456
|
-
|
7457
|
-
* Header text for MentionPopover
|
7458
|
-
*/
|
7459
|
-
mentionPopoverHeader: string;
|
6258
|
+
export declare interface MediaDiagnosticsState {
|
6259
|
+
latest: LatestMediaDiagnostics;
|
7460
6260
|
}
|
7461
6261
|
|
7462
6262
|
/**
|
@@ -7466,7 +6266,7 @@ export declare interface MentionPopoverStrings {
|
|
7466
6266
|
*
|
7467
6267
|
* @public
|
7468
6268
|
*/
|
7469
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
6269
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7470
6270
|
|
7471
6271
|
/**
|
7472
6272
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -7700,7 +6500,7 @@ export declare type MessageThreadProps = {
|
|
7700
6500
|
/**
|
7701
6501
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
7702
6502
|
*/
|
7703
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
6503
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7704
6504
|
/**
|
7705
6505
|
* number of participants in the thread
|
7706
6506
|
*/
|
@@ -7781,11 +6581,6 @@ export declare type MessageThreadProps = {
|
|
7781
6581
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
7782
6582
|
*/
|
7783
6583
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7784
|
-
/**
|
7785
|
-
* Optional callback to render attached files in the message component.
|
7786
|
-
* @beta
|
7787
|
-
*/
|
7788
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7789
6584
|
/**
|
7790
6585
|
* Optional callback to edit a message.
|
7791
6586
|
*
|
@@ -7827,23 +6622,6 @@ export declare type MessageThreadProps = {
|
|
7827
6622
|
* Optional strings to override in component
|
7828
6623
|
*/
|
7829
6624
|
strings?: Partial<MessageThreadStrings>;
|
7830
|
-
/**
|
7831
|
-
* @beta
|
7832
|
-
* Optional function called when someone clicks on the file download icon.
|
7833
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7834
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
7835
|
-
*/
|
7836
|
-
fileDownloadHandler?: FileDownloadHandler;
|
7837
|
-
/**
|
7838
|
-
* Optional function to provide customized date format.
|
7839
|
-
* @beta
|
7840
|
-
*/
|
7841
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7842
|
-
/**
|
7843
|
-
* Optional props needed to lookup a mention query and display mentions
|
7844
|
-
* @beta
|
7845
|
-
*/
|
7846
|
-
mentionOptions?: MentionOptions;
|
7847
6625
|
/**
|
7848
6626
|
* Optional callback called when an inline image is clicked.
|
7849
6627
|
* @beta
|
@@ -7922,14 +6700,6 @@ export declare interface MessageThreadStrings {
|
|
7922
6700
|
actionMenuMoreOptions?: string;
|
7923
6701
|
/** Aria label to announce when a message is deleted */
|
7924
6702
|
messageDeletedAnnouncementAriaLabel: string;
|
7925
|
-
/** String for download file button in file card */
|
7926
|
-
downloadFile: string;
|
7927
|
-
/** String for policy violation message removal */
|
7928
|
-
blockedWarningText: string;
|
7929
|
-
/** String for policy violation message removal details link */
|
7930
|
-
blockedWarningLinkText: string;
|
7931
|
-
/** String for aria text in file attachment group*/
|
7932
|
-
fileCardGroupMessage: string;
|
7933
6703
|
}
|
7934
6704
|
|
7935
6705
|
/**
|
@@ -7957,7 +6727,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
7957
6727
|
/** Styles for system message container. */
|
7958
6728
|
systemMessageContainer?: ComponentSlotStyle;
|
7959
6729
|
/** Styles for blocked message container. */
|
7960
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
7961
6730
|
/** Styles for message status indicator container. */
|
7962
6731
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
7963
6732
|
}
|
@@ -8126,31 +6895,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
8126
6895
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
8127
6896
|
}
|
8128
6897
|
|
8129
|
-
/**
|
8130
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
8131
|
-
* by their browsers settings.
|
8132
|
-
*
|
8133
|
-
* @beta
|
8134
|
-
*/
|
8135
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
8136
|
-
|
8137
|
-
/**
|
8138
|
-
* @beta
|
8139
|
-
* Props for MicrophoneSitePermissions component.
|
8140
|
-
*/
|
8141
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
8142
|
-
/** Icon name for the microphone icon */
|
8143
|
-
microphoneIconName?: string;
|
8144
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
8145
|
-
strings?: MicrophoneSitePermissionsStrings;
|
8146
|
-
}
|
8147
|
-
|
8148
|
-
/**
|
8149
|
-
* @beta
|
8150
|
-
* Strings for MicrophoneSitePermissions component.
|
8151
|
-
*/
|
8152
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
8153
|
-
|
8154
6898
|
/**
|
8155
6899
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
8156
6900
|
*
|
@@ -8169,13 +6913,6 @@ export declare interface NetworkDiagnosticsState {
|
|
8169
6913
|
latest: LatestNetworkDiagnostics;
|
8170
6914
|
}
|
8171
6915
|
|
8172
|
-
/**
|
8173
|
-
* Callback function used to provide custom data to build profile for a user.
|
8174
|
-
*
|
8175
|
-
* @beta
|
8176
|
-
*/
|
8177
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
8178
|
-
|
8179
6916
|
/**
|
8180
6917
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
8181
6918
|
*
|
@@ -8239,7 +6976,7 @@ export declare interface OptionsDevice {
|
|
8239
6976
|
*
|
8240
6977
|
* @public
|
8241
6978
|
*/
|
8242
|
-
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' |
|
6979
|
+
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' | 'horizontalTop';
|
8243
6980
|
|
8244
6981
|
/**
|
8245
6982
|
* A system message notifying that a participant was added to the chat thread.
|
@@ -8298,14 +7035,6 @@ export declare interface ParticipantItemProps {
|
|
8298
7035
|
onClick?: (props?: ParticipantItemProps) => void;
|
8299
7036
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8300
7037
|
showParticipantOverflowTooltip?: boolean;
|
8301
|
-
/**
|
8302
|
-
* Optional value to determine and display a participants connection status.
|
8303
|
-
* For example, `Connecting`, `Ringing` etc.
|
8304
|
-
* The actual text that is displayed is determined by the localized string
|
8305
|
-
* corresponding to the provided participant state.
|
8306
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8307
|
-
*/
|
8308
|
-
participantState?: ParticipantState;
|
8309
7038
|
/**
|
8310
7039
|
* Optional aria property that prefixes the ParticipantItems aria content
|
8311
7040
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -8331,10 +7060,6 @@ export declare interface ParticipantItemStrings {
|
|
8331
7060
|
mutedIconLabel: string;
|
8332
7061
|
/** placeholder text for participants who does not have a display name*/
|
8333
7062
|
displayNamePlaceholder?: string;
|
8334
|
-
/** String shown when `participantState` is `Ringing` */
|
8335
|
-
participantStateRinging?: string;
|
8336
|
-
/** String shown when `participantState` is `Hold` */
|
8337
|
-
participantStateHold?: string;
|
8338
7063
|
}
|
8339
7064
|
|
8340
7065
|
/**
|
@@ -8413,10 +7138,6 @@ export declare type ParticipantListProps = {
|
|
8413
7138
|
styles?: ParticipantListStyles;
|
8414
7139
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8415
7140
|
showParticipantOverflowTooltip?: boolean;
|
8416
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8417
|
-
totalParticipantCount?: number;
|
8418
|
-
/** Strings for the participant list */
|
8419
|
-
strings?: ParticipantListStrings;
|
8420
7141
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
8421
7142
|
participantAriaLabelledBy?: string;
|
8422
7143
|
};
|
@@ -8429,21 +7150,8 @@ export declare type ParticipantListProps = {
|
|
8429
7150
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
8430
7151
|
participants: CallParticipantListParticipant[];
|
8431
7152
|
myUserId: string;
|
8432
|
-
totalParticipantCount?: number;
|
8433
7153
|
};
|
8434
7154
|
|
8435
|
-
/**
|
8436
|
-
* Strings for the {@link ParticipantList}.
|
8437
|
-
*
|
8438
|
-
* @beta
|
8439
|
-
*/
|
8440
|
-
export declare interface ParticipantListStrings {
|
8441
|
-
/**
|
8442
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
8443
|
-
*/
|
8444
|
-
overflowParticipantCount?: string;
|
8445
|
-
}
|
8446
|
-
|
8447
7155
|
/**
|
8448
7156
|
* Styles for the {@link ParticipantList}.
|
8449
7157
|
*
|
@@ -8660,18 +7368,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
8660
7368
|
*/
|
8661
7369
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
8662
7370
|
|
8663
|
-
/**
|
8664
|
-
* The profile of a user.
|
8665
|
-
*
|
8666
|
-
* @beta
|
8667
|
-
*/
|
8668
|
-
export declare type Profile = {
|
8669
|
-
/**
|
8670
|
-
* Primary text to display, usually the name of the person.
|
8671
|
-
*/
|
8672
|
-
displayName?: string;
|
8673
|
-
};
|
8674
|
-
|
8675
7371
|
/**
|
8676
7372
|
* Raised hand state with order
|
8677
7373
|
*
|
@@ -8856,7 +7552,6 @@ export declare interface RemoteVideoStreamState {
|
|
8856
7552
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
8857
7553
|
* @beta
|
8858
7554
|
*/
|
8859
|
-
isReceiving: boolean;
|
8860
7555
|
/**
|
8861
7556
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
8862
7557
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -8896,6 +7591,15 @@ export declare type ResourceDetails = {
|
|
8896
7591
|
resourceUrl: string;
|
8897
7592
|
};
|
8898
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
|
+
|
8899
7603
|
/**
|
8900
7604
|
* A button to start / stop screen sharing.
|
8901
7605
|
*
|
@@ -8967,19 +7671,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
8967
7671
|
*/
|
8968
7672
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
8969
7673
|
|
8970
|
-
/**
|
8971
|
-
* @beta
|
8972
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
8973
|
-
*/
|
8974
|
-
export declare interface SendBoxErrorBarError {
|
8975
|
-
/** Error Message to be displayed */
|
8976
|
-
message: string;
|
8977
|
-
/**
|
8978
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
8979
|
-
*/
|
8980
|
-
timestamp: number;
|
8981
|
-
}
|
8982
|
-
|
8983
7674
|
/**
|
8984
7675
|
* Props for {@link SendBox}.
|
8985
7676
|
*
|
@@ -8999,11 +7690,6 @@ export declare interface SendBoxProps {
|
|
8999
7690
|
* Optional override behavior on send button click
|
9000
7691
|
*/
|
9001
7692
|
onSendMessage?: (content: string) => Promise<void>;
|
9002
|
-
/**
|
9003
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
9004
|
-
* @beta
|
9005
|
-
*/
|
9006
|
-
mentionLookupOptions?: MentionLookupOptions;
|
9007
7693
|
/**
|
9008
7694
|
* Optional callback called when user is typing
|
9009
7695
|
*/
|
@@ -9040,25 +7726,6 @@ export declare interface SendBoxProps {
|
|
9040
7726
|
* When undefined nothing has focus on render
|
9041
7727
|
*/
|
9042
7728
|
autoFocus?: 'sendBoxTextField';
|
9043
|
-
/**
|
9044
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
9045
|
-
* vertically to accommodate the uploaded files. File uploads will
|
9046
|
-
* be rendered below the text area in sendBox.
|
9047
|
-
* @beta
|
9048
|
-
*/
|
9049
|
-
onRenderFileUploads?: () => JSX.Element;
|
9050
|
-
/**
|
9051
|
-
* Optional array of active file uploads where each object has attributes
|
9052
|
-
* of a file upload like name, progress, errorMessage etc.
|
9053
|
-
* @beta
|
9054
|
-
*/
|
9055
|
-
activeFileUploads?: ActiveFileUpload[];
|
9056
|
-
/**
|
9057
|
-
* Optional callback to remove the file upload before sending by clicking on
|
9058
|
-
* cancel icon.
|
9059
|
-
* @beta
|
9060
|
-
*/
|
9061
|
-
onCancelFileUpload?: (fileId: string) => void;
|
9062
7729
|
}
|
9063
7730
|
|
9064
7731
|
/**
|
@@ -9089,22 +7756,6 @@ export declare interface SendBoxStrings {
|
|
9089
7756
|
* Aria label for send message button
|
9090
7757
|
*/
|
9091
7758
|
sendButtonAriaLabel: string;
|
9092
|
-
/**
|
9093
|
-
* Error message indicating that all file uploads are not complete.
|
9094
|
-
*/
|
9095
|
-
fileUploadsPendingError: string;
|
9096
|
-
/**
|
9097
|
-
* Aria label to notify user when focus is on cancel file upload button.
|
9098
|
-
*/
|
9099
|
-
removeFile: string;
|
9100
|
-
/**
|
9101
|
-
* Aria label to notify user file uploading starts.
|
9102
|
-
*/
|
9103
|
-
uploading: string;
|
9104
|
-
/**
|
9105
|
-
* Aria label to notify user file is uploaded.
|
9106
|
-
*/
|
9107
|
-
uploadCompleted: string;
|
9108
7759
|
}
|
9109
7760
|
|
9110
7761
|
/**
|
@@ -9125,45 +7776,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
9125
7776
|
systemMessage?: IStyle;
|
9126
7777
|
}
|
9127
7778
|
|
9128
|
-
/**
|
9129
|
-
* @beta
|
9130
|
-
* Strings for SitePermissions component
|
9131
|
-
*/
|
9132
|
-
export declare type SitePermissionsStrings = {
|
9133
|
-
/**
|
9134
|
-
* Main text string.
|
9135
|
-
*/
|
9136
|
-
primaryText?: string;
|
9137
|
-
/**
|
9138
|
-
* Subtext string.
|
9139
|
-
*/
|
9140
|
-
secondaryText?: string;
|
9141
|
-
/**
|
9142
|
-
* More help link string.
|
9143
|
-
*/
|
9144
|
-
linkText?: string;
|
9145
|
-
/**
|
9146
|
-
* Primary button text string.
|
9147
|
-
*/
|
9148
|
-
primaryButtonText?: string;
|
9149
|
-
/**
|
9150
|
-
* Aria label describing the content of the container
|
9151
|
-
*/
|
9152
|
-
ariaLabel?: string;
|
9153
|
-
};
|
9154
|
-
|
9155
|
-
/**
|
9156
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
9157
|
-
*
|
9158
|
-
* @beta
|
9159
|
-
*/
|
9160
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
9161
|
-
/** Styles for the primary button. */
|
9162
|
-
primaryButton?: IButtonStyles;
|
9163
|
-
/** Styles for the help troubleshooting link text. */
|
9164
|
-
troubleshootingLink?: ILinkStyles;
|
9165
|
-
}
|
9166
|
-
|
9167
7779
|
/**
|
9168
7780
|
* @public
|
9169
7781
|
* Type for representing a custom sound to use for a calling event
|
@@ -9227,7 +7839,7 @@ export declare interface SpokenLanguageStrings {
|
|
9227
7839
|
* Identifier types for initiating a call using the CallAdapter
|
9228
7840
|
* @public
|
9229
7841
|
*/
|
9230
|
-
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier |
|
7842
|
+
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | UnknownIdentifier);
|
9231
7843
|
|
9232
7844
|
/**
|
9233
7845
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
@@ -9261,6 +7873,7 @@ export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | /* @con
|
|
9261
7873
|
* - RecordingCallFeature 'isRecordingActiveChanged'
|
9262
7874
|
* - RaiseHandCallFeature 'raisedHandEvent'
|
9263
7875
|
* - RaiseHandCallFeature 'loweredHandEvent'
|
7876
|
+
* - PPTLiveCallFeature 'isAciveChanged'
|
9264
7877
|
* - ReactionCallFeature 'reaction'
|
9265
7878
|
*
|
9266
7879
|
* @public
|
@@ -9338,19 +7951,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
9338
7951
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
9339
7952
|
*/
|
9340
7953
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9341
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
9342
|
-
/**
|
9343
|
-
* The CallAgent is used to handle calls.
|
9344
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9345
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
9346
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
9347
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9348
|
-
* createCallAgent() method again to create a new CallAgent.
|
9349
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9350
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
9351
|
-
* @public
|
9352
|
-
*/
|
9353
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
9354
7954
|
}
|
9355
7955
|
|
9356
7956
|
/**
|
@@ -9363,16 +7963,7 @@ export declare type StatefulCallClientArgs = {
|
|
9363
7963
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
9364
7964
|
* state. It is not used by StatefulCallClient.
|
9365
7965
|
*/
|
9366
|
-
userId: CommunicationUserIdentifier
|
9367
|
-
/**
|
9368
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9369
|
-
* to start a PSTN call.
|
9370
|
-
*
|
9371
|
-
* example: +11234567
|
9372
|
-
*
|
9373
|
-
* This is not a cached value from the headless calling client.
|
9374
|
-
*/
|
9375
|
-
alternateCallerId?: string;
|
7966
|
+
userId: CommunicationUserIdentifier;
|
9376
7967
|
};
|
9377
7968
|
|
9378
7969
|
/**
|
@@ -9547,74 +8138,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
9547
8138
|
*/
|
9548
8139
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
9549
8140
|
|
9550
|
-
/**
|
9551
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9552
|
-
*
|
9553
|
-
* @beta
|
9554
|
-
*/
|
9555
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9556
|
-
/**
|
9557
|
-
* Join the call with microphone initially on/off.
|
9558
|
-
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9559
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
9560
|
-
*
|
9561
|
-
* @beta
|
9562
|
-
*/
|
9563
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9564
|
-
/**
|
9565
|
-
* Join the call with options bag to set microphone/camera initial state when joining call
|
9566
|
-
* true = turn on the device when joining call
|
9567
|
-
* false = turn off the device when joining call
|
9568
|
-
* 'keep'/undefined = retain devices' precall state
|
9569
|
-
*
|
9570
|
-
* @param options - param to set microphone/camera initially on/off.
|
9571
|
-
*
|
9572
|
-
* @public
|
9573
|
-
*/
|
9574
|
-
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9575
|
-
/**
|
9576
|
-
* Start the call.
|
9577
|
-
*
|
9578
|
-
* @param participants - An array of participant ids to join
|
9579
|
-
*
|
9580
|
-
* @beta
|
9581
|
-
*/
|
9582
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9583
|
-
/**
|
9584
|
-
* Start the call.
|
9585
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9586
|
-
* @beta
|
9587
|
-
*/
|
9588
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9589
|
-
}
|
9590
|
-
|
9591
|
-
/**
|
9592
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9593
|
-
*
|
9594
|
-
* @beta
|
9595
|
-
*/
|
9596
|
-
export declare type TeamsCallAdapterArgs = {
|
9597
|
-
userId: MicrosoftTeamsUserIdentifier;
|
9598
|
-
credential: CommunicationTokenCredential;
|
9599
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9600
|
-
/**
|
9601
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
9602
|
-
*/
|
9603
|
-
options?: TeamsAdapterOptions;
|
9604
|
-
};
|
9605
|
-
|
9606
|
-
/**
|
9607
|
-
* Object containing all the teams call handlers required for calling components.
|
9608
|
-
*
|
9609
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9610
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
9611
|
-
*
|
9612
|
-
* @beta
|
9613
|
-
*/
|
9614
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9615
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9616
|
-
}
|
9617
|
-
|
9618
8141
|
/**
|
9619
8142
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
9620
8143
|
*
|
@@ -9815,118 +8338,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
9815
8338
|
typingString?: IStyle;
|
9816
8339
|
}
|
9817
8340
|
|
9818
|
-
/**
|
9819
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
9820
|
-
*
|
9821
|
-
* @beta
|
9822
|
-
*/
|
9823
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
9824
|
-
|
9825
|
-
/**
|
9826
|
-
* props for {@link UnsupportedBrowser} UI
|
9827
|
-
*
|
9828
|
-
* @beta
|
9829
|
-
*/
|
9830
|
-
export declare interface UnsupportedBrowserProps {
|
9831
|
-
/** Handler to perform an action when the help link is actioned */
|
9832
|
-
onTroubleshootingClick?: () => void;
|
9833
|
-
/** String overrides for the component */
|
9834
|
-
strings?: UnsupportedBrowserStrings;
|
9835
|
-
}
|
9836
|
-
|
9837
|
-
/**
|
9838
|
-
* Strings for UnsupportedBrowser component
|
9839
|
-
*
|
9840
|
-
* @beta
|
9841
|
-
*/
|
9842
|
-
export declare interface UnsupportedBrowserStrings {
|
9843
|
-
/** String for the primary text */
|
9844
|
-
primaryText: string;
|
9845
|
-
/** String for the secondary text */
|
9846
|
-
secondaryText: string;
|
9847
|
-
/** String to display in the text for the help link */
|
9848
|
-
moreHelpLinkText: string;
|
9849
|
-
}
|
9850
|
-
|
9851
|
-
/**
|
9852
|
-
* UI to display to the user that the browser version they are using is out of date
|
9853
|
-
* and not supported by Azure Communications Calling service.
|
9854
|
-
*
|
9855
|
-
* @beta
|
9856
|
-
*/
|
9857
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
9858
|
-
|
9859
|
-
/**
|
9860
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
9861
|
-
*
|
9862
|
-
* @beta
|
9863
|
-
*/
|
9864
|
-
export declare interface UnsupportedBrowserVersionProps {
|
9865
|
-
/** Handler to perform an action when the help link is actioned */
|
9866
|
-
onTroubleshootingClick?: () => void;
|
9867
|
-
/** String overrides for the component */
|
9868
|
-
strings?: UnsupportedBrowserVersionStrings;
|
9869
|
-
/** Handler to allow user to continue into the call */
|
9870
|
-
onContinueAnywayClick?: () => void;
|
9871
|
-
}
|
9872
|
-
|
9873
|
-
/**
|
9874
|
-
* Strings for UnsupportedBrowser component
|
9875
|
-
*
|
9876
|
-
* @beta
|
9877
|
-
*/
|
9878
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
9879
|
-
/** String for the primary text */
|
9880
|
-
primaryText: string;
|
9881
|
-
/** String for the secondary text */
|
9882
|
-
secondaryText: string;
|
9883
|
-
/** String to display in the text for the help link */
|
9884
|
-
moreHelpLinkText: string;
|
9885
|
-
/** String for continue without updating button */
|
9886
|
-
continueAnywayButtonText?: string;
|
9887
|
-
}
|
9888
|
-
|
9889
|
-
/**
|
9890
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
9891
|
-
*
|
9892
|
-
* @beta
|
9893
|
-
*/
|
9894
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
9895
|
-
|
9896
|
-
/**
|
9897
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
9898
|
-
*
|
9899
|
-
* @beta
|
9900
|
-
*/
|
9901
|
-
export declare interface UnsupportedOperatingSystemProps {
|
9902
|
-
/** Handler to perform a action when the help link is actioned */
|
9903
|
-
onTroubleshootingClick?: () => void;
|
9904
|
-
/** String overrides for the component */
|
9905
|
-
strings?: UnsupportedOperatingSystemStrings;
|
9906
|
-
}
|
9907
|
-
|
9908
|
-
/**
|
9909
|
-
* Strings for UnsupportedBrowser component
|
9910
|
-
*
|
9911
|
-
* @beta
|
9912
|
-
*/
|
9913
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
9914
|
-
/** String for the primary text */
|
9915
|
-
primaryText: string;
|
9916
|
-
/** String for the secondary text */
|
9917
|
-
secondaryText: string;
|
9918
|
-
/** String to display in the text for the help link */
|
9919
|
-
moreHelpLinkText: string;
|
9920
|
-
}
|
9921
|
-
|
9922
8341
|
/**
|
9923
8342
|
* @public
|
9924
8343
|
* Callback function run when a message is updated.
|
9925
8344
|
*/
|
9926
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
9927
|
-
metadata?: Record<string, string>;
|
9928
|
-
attachmentMetadata?: AttachmentMetadata[];
|
9929
|
-
}) => Promise<void>;
|
8345
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
9930
8346
|
|
9931
8347
|
/**
|
9932
8348
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -10074,44 +8490,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
10074
8490
|
*/
|
10075
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;
|
10076
8492
|
|
10077
|
-
/**
|
10078
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
10079
|
-
*
|
10080
|
-
* Useful when implementing a custom component that utilizes the providers
|
10081
|
-
* exported from this library.
|
10082
|
-
*
|
10083
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
10084
|
-
*
|
10085
|
-
* @beta
|
10086
|
-
*/
|
10087
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10088
|
-
|
10089
|
-
/**
|
10090
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
10091
|
-
*
|
10092
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
10093
|
-
* creation of the adapter internally.
|
10094
|
-
*
|
10095
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
10096
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
10097
|
-
*
|
10098
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
10099
|
-
* See storybook for typical usage examples.
|
10100
|
-
*
|
10101
|
-
* @beta
|
10102
|
-
*/
|
10103
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
10104
|
-
|
10105
|
-
/**
|
10106
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
10107
|
-
*
|
10108
|
-
* Useful when implementing a custom component that utilizes the providers
|
10109
|
-
* exported from this library.
|
10110
|
-
*
|
10111
|
-
* @beta
|
10112
|
-
*/
|
10113
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
10114
|
-
|
10115
8493
|
/**
|
10116
8494
|
* React hook to access theme
|
10117
8495
|
*
|
@@ -10251,7 +8629,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
10251
8629
|
/**
|
10252
8630
|
* @public
|
10253
8631
|
*/
|
10254
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' |
|
8632
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | 'speaker' | 'focusedContent';
|
10255
8633
|
|
10256
8634
|
/**
|
10257
8635
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -10392,11 +8770,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
10392
8770
|
isSpeaking?: boolean;
|
10393
8771
|
/** Video stream of shared screen */
|
10394
8772
|
screenShareStream?: VideoGalleryStream;
|
10395
|
-
/**
|
10396
|
-
* @beta
|
10397
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10398
|
-
*/
|
10399
|
-
state?: ParticipantState;
|
10400
8773
|
/** Whether participant is raised a hand */
|
10401
8774
|
raisedHand?: RaisedHand;
|
10402
8775
|
}
|
@@ -10407,7 +8780,7 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
10407
8780
|
* @public
|
10408
8781
|
*/
|
10409
8782
|
export declare type VideoGallerySelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
10410
|
-
screenShareParticipant
|
8783
|
+
screenShareParticipant?: VideoGalleryRemoteParticipant;
|
10411
8784
|
localParticipant: VideoGalleryLocalParticipant;
|
10412
8785
|
remoteParticipants: VideoGalleryRemoteParticipant[];
|
10413
8786
|
dominantSpeakers?: string[];
|
@@ -10636,12 +9009,6 @@ export declare interface VideoTileProps {
|
|
10636
9009
|
isSpeaking?: boolean;
|
10637
9010
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
10638
9011
|
raisedHand?: RaisedHand;
|
10639
|
-
/**
|
10640
|
-
* The call connection state of the participant.
|
10641
|
-
* For example, `Hold` means the participant is on hold.
|
10642
|
-
*/
|
10643
|
-
participantState?: ParticipantState;
|
10644
|
-
strings?: VideoTileStrings;
|
10645
9012
|
/**
|
10646
9013
|
* Display custom menu items in the VideoTile's contextual menu.
|
10647
9014
|
* Uses Fluent UI ContextualMenu.
|
@@ -10654,15 +9021,6 @@ export declare interface VideoTileProps {
|
|
10654
9021
|
onLongTouch?: () => void;
|
10655
9022
|
}
|
10656
9023
|
|
10657
|
-
/**
|
10658
|
-
* Strings of {@link VideoTile} that can be overridden.
|
10659
|
-
* @beta
|
10660
|
-
*/
|
10661
|
-
export declare interface VideoTileStrings {
|
10662
|
-
participantStateRinging: string;
|
10663
|
-
participantStateHold: string;
|
10664
|
-
}
|
10665
|
-
|
10666
9024
|
/**
|
10667
9025
|
* Fluent styles for {@link VideoTile}.
|
10668
9026
|
*
|