@azure/communication-react 1.10.0-beta.1 → 1.10.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 +50 -2142
- package/dist/dist-cjs/communication-react/index.js +2386 -8530
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.d.ts +7 -0
- package/dist/dist-esm/acs-ui-common/src/common.js +9 -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 +5 -2
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +6 -8
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -12
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +1 -13
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -4
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +1 -11
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -17
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +0 -10
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -15
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -4
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -19
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +0 -6
- package/dist/dist-esm/calling-component-bindings/src/index.js +0 -8
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +0 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +5 -16
- 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 +6 -8
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +16 -12
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +0 -4
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +0 -11
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +1 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +4 -10
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +2 -8
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +5 -6
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -2
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +1 -58
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -8
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +1 -62
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -41
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +7 -12
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +0 -12
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +1 -25
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -33
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -3
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -4
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +6 -119
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +1 -3
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -4
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +0 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +0 -27
- package/dist/dist-esm/communication-react/src/index.js +0 -16
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +4 -3
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +2 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +1 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +2 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +2 -7
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +1 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +14 -50
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -92
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBarButton.d.ts +6 -0
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +0 -6
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +1 -29
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +5 -26
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -18
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -51
- package/dist/dist-esm/react-components/src/components/MessageThread.js +8 -57
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -13
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +0 -3
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +6 -23
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +3 -4
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +0 -41
- package/dist/dist-esm/react-components/src/components/SendBox.js +3 -31
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +5 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +14 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +3 -9
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +5 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +9 -14
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -15
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +0 -13
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +5 -15
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +0 -19
- package/dist/dist-esm/react-components/src/components/index.js +0 -12
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -4
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -5
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -63
- 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 +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +2 -1
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +3 -2
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +3 -2
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -15
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -108
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +2 -21
- package/dist/dist-esm/react-components/src/theming/themes.js +0 -16
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -27
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -6
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +1 -78
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +6 -83
- 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 -144
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +4 -75
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +12 -291
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +1 -130
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +32 -70
- 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 +10 -91
- 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 +8 -35
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +6 -19
- 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/StartCallButton.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +2 -36
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +1 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +6 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +28 -111
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +0 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +16 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +80 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js +13 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +1 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +3 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -88
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -68
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +7 -34
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -30
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +4 -111
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +0 -64
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +2 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -40
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +0 -13
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +1 -37
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +1 -11
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +5 -133
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +2 -28
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +4 -126
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +0 -28
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +1 -159
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -17
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +1 -8
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +8 -15
- 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.js +1 -2
- 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 -48
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +1 -46
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.d.ts +11 -0
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +34 -28
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -21
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -28
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +9 -2
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -25
- 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 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +6 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +6 -5
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +3 -3
- 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/ImageGallery.d.ts +0 -71
- package/dist/dist-esm/react-components/src/components/ImageGallery.js +0 -56
- package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +0 -121
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -117
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -41
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -573
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +0 -68
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +0 -205
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -68
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -92
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +0 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +0 -113
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +0 -37
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +0 -73
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +0 -34
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -107
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +0 -50
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +0 -11
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +0 -40
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +0 -1
@@ -17,7 +17,6 @@
|
|
17
17
|
|
18
18
|
/// <reference types="react" />
|
19
19
|
|
20
|
-
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
21
20
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
21
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
23
22
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
@@ -30,7 +29,6 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
30
29
|
import { CallDirection } from '@azure/communication-calling';
|
31
30
|
import { CallEndReason } from '@azure/communication-calling';
|
32
31
|
import { CallerInfo } from '@azure/communication-calling';
|
33
|
-
import { CallKind } from '@azure/communication-calling';
|
34
32
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
35
33
|
import { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
36
34
|
import { CaptionsResultType } from '@azure/communication-calling';
|
@@ -49,8 +47,6 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
49
47
|
import { DeviceAccess } from '@azure/communication-calling';
|
50
48
|
import { DeviceManager } from '@azure/communication-calling';
|
51
49
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
52
|
-
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
53
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
54
50
|
import { GroupCallLocator } from '@azure/communication-calling';
|
55
51
|
import { IButtonProps } from '@fluentui/react';
|
56
52
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -58,23 +54,19 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
58
54
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
59
55
|
import { IContextualMenuProps } from '@fluentui/react';
|
60
56
|
import { IContextualMenuStyles } from '@fluentui/react';
|
61
|
-
import { ILinkStyles } from '@fluentui/react';
|
62
57
|
import { IMessageBarProps } from '@fluentui/react';
|
63
|
-
import { IncomingCall } from '@azure/communication-calling';
|
64
58
|
import { IPersonaStyleProps } from '@fluentui/react';
|
65
59
|
import { IPersonaStyles } from '@fluentui/react';
|
66
60
|
import { IRawStyle } from '@fluentui/react';
|
67
61
|
import { IRenderFunction } from '@fluentui/react';
|
68
62
|
import { IStyle } from '@fluentui/react';
|
69
63
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
70
|
-
import { ITextFieldStyles } from '@fluentui/react';
|
71
64
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
72
65
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
73
66
|
import { LocalVideoStream } from '@azure/communication-calling';
|
74
67
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
75
68
|
import { MediaStreamType } from '@azure/communication-calling';
|
76
69
|
import { MicrosoftTeamsAppKind } from '@azure/communication-common';
|
77
|
-
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
78
70
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
79
71
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
80
72
|
import { PartialTheme } from '@fluentui/react';
|
@@ -84,23 +76,17 @@ import { PermissionConstraints } from '@azure/communication-calling';
|
|
84
76
|
import { PersonaInitialsColor } from '@fluentui/react';
|
85
77
|
import { PersonaPresence } from '@fluentui/react';
|
86
78
|
import { PersonaSize } from '@fluentui/react';
|
87
|
-
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
88
79
|
import { PhoneNumberKind } from '@azure/communication-common';
|
89
80
|
import { PropertyChangedEvent } from '@azure/communication-calling';
|
90
81
|
import { default as React_2 } from 'react';
|
91
82
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
92
83
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
93
|
-
import { RoomCallLocator } from '@azure/communication-calling';
|
94
84
|
import { ScalingMode } from '@azure/communication-calling';
|
95
85
|
import { SendMessageOptions } from '@azure/communication-chat';
|
96
86
|
import { StartCallOptions } from '@azure/communication-calling';
|
97
87
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
98
|
-
import { SyntheticEvent } from 'react';
|
99
|
-
import { TeamsCall } from '@azure/communication-calling';
|
100
|
-
import { TeamsCallAgent } from '@azure/communication-calling';
|
101
88
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
102
89
|
import { Theme } from '@fluentui/react';
|
103
|
-
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
104
90
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
105
91
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
106
92
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
@@ -108,22 +94,6 @@ import { VideoEffectName } from '@azure/communication-calling';
|
|
108
94
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
109
95
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
110
96
|
|
111
|
-
/**
|
112
|
-
* Transfer feature state
|
113
|
-
*
|
114
|
-
* @beta
|
115
|
-
*/
|
116
|
-
export declare interface AcceptedTransfer {
|
117
|
-
/**
|
118
|
-
* Stores call id of accepted transfer
|
119
|
-
*/
|
120
|
-
callId: string;
|
121
|
-
/**
|
122
|
-
* Stores timestamp when transfer was accepted
|
123
|
-
*/
|
124
|
-
timestamp: Date;
|
125
|
-
}
|
126
|
-
|
127
97
|
/**
|
128
98
|
* Active error messages to be shown via {@link ErrorBar}.
|
129
99
|
*
|
@@ -143,38 +113,6 @@ export declare interface ActiveErrorMessage {
|
|
143
113
|
timestamp?: Date;
|
144
114
|
}
|
145
115
|
|
146
|
-
/**
|
147
|
-
* Attributes required for SendBox to show file uploads like name, progress etc.
|
148
|
-
* @beta
|
149
|
-
*/
|
150
|
-
export declare interface ActiveFileUpload {
|
151
|
-
/**
|
152
|
-
* Unique identifier for the file upload.
|
153
|
-
*/
|
154
|
-
id: string;
|
155
|
-
/**
|
156
|
-
* File name to be rendered for uploaded file.
|
157
|
-
*/
|
158
|
-
filename: string;
|
159
|
-
/**
|
160
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
161
|
-
* This is unrelated to the `uploadComplete` property.
|
162
|
-
* It is only used to show the progress of the upload.
|
163
|
-
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
164
|
-
* property to true to mark the upload as complete.
|
165
|
-
*/
|
166
|
-
progress: number;
|
167
|
-
/**
|
168
|
-
* Error to be displayed to the user if the upload fails.
|
169
|
-
*/
|
170
|
-
error?: SendBoxErrorBarError;
|
171
|
-
/**
|
172
|
-
* `true` means that the upload is completed.
|
173
|
-
* This is independent of the upload `progress`.
|
174
|
-
*/
|
175
|
-
uploadComplete?: boolean;
|
176
|
-
}
|
177
|
-
|
178
116
|
/**
|
179
117
|
* Error reported via error events and stored in adapter state.
|
180
118
|
*
|
@@ -241,13 +179,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
241
179
|
*/
|
242
180
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
243
181
|
|
244
|
-
/**
|
245
|
-
* @beta
|
246
|
-
*/
|
247
|
-
export declare interface AttachmentDownloadResult {
|
248
|
-
blobUrl: string;
|
249
|
-
}
|
250
|
-
|
251
182
|
/**
|
252
183
|
* Custom data attributes for displaying avatar for a user.
|
253
184
|
*
|
@@ -277,11 +208,6 @@ export declare type AvatarPersonaData = {
|
|
277
208
|
* @defaultvalue `white`
|
278
209
|
*/
|
279
210
|
initialsTextColor?: string;
|
280
|
-
/**
|
281
|
-
* If true, show the special coin for unknown persona.
|
282
|
-
* It has '?' in place of initials, with static font and background colors
|
283
|
-
*/
|
284
|
-
showUnknownPersonaCoin?: boolean;
|
285
211
|
};
|
286
212
|
|
287
213
|
/**
|
@@ -303,11 +229,6 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
303
229
|
displayName: string;
|
304
230
|
credential: CommunicationTokenCredential;
|
305
231
|
locator: CallAdapterLocator;
|
306
|
-
/**
|
307
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
308
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
309
|
-
*/
|
310
|
-
alternateCallerId?: string;
|
311
232
|
/**
|
312
233
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
313
234
|
*/
|
@@ -332,7 +253,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
332
253
|
displayName: string;
|
333
254
|
credential: CommunicationTokenCredential;
|
334
255
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
335
|
-
alternateCallerId?: string;
|
336
256
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
337
257
|
};
|
338
258
|
|
@@ -348,7 +268,6 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
348
268
|
chatClient: StatefulChatClient;
|
349
269
|
chatThreadClient: ChatThreadClient;
|
350
270
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
351
|
-
chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
|
352
271
|
};
|
353
272
|
|
354
273
|
/**
|
@@ -364,14 +283,6 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
364
283
|
threadId: string;
|
365
284
|
};
|
366
285
|
|
367
|
-
/**
|
368
|
-
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
369
|
-
* @beta
|
370
|
-
*/
|
371
|
-
export declare type AzureCommunicationChatAdapterOptions = {
|
372
|
-
credential?: CommunicationTokenCredential;
|
373
|
-
};
|
374
|
-
|
375
286
|
/**
|
376
287
|
* Properties common to all composites exported from this library.
|
377
288
|
*
|
@@ -427,186 +338,6 @@ export declare interface BaseCustomStyles {
|
|
427
338
|
root?: IStyle;
|
428
339
|
}
|
429
340
|
|
430
|
-
/**
|
431
|
-
* Base interface that all Meta Data should extend.
|
432
|
-
* Typically used for ACS to ACS file transfers.
|
433
|
-
* @beta
|
434
|
-
*/
|
435
|
-
export declare interface BaseFileMetadata {
|
436
|
-
/**
|
437
|
-
* File name to be displayed.
|
438
|
-
*/
|
439
|
-
name: string;
|
440
|
-
/**
|
441
|
-
* Extension is used for rendering the file icon.
|
442
|
-
* An unknown extension will be rendered as a generic icon.
|
443
|
-
* Example: `jpeg`
|
444
|
-
*/
|
445
|
-
extension: string;
|
446
|
-
/**
|
447
|
-
* Download URL for the file.
|
448
|
-
*/
|
449
|
-
url: string;
|
450
|
-
/**
|
451
|
-
* Unique ID of the file.
|
452
|
-
*/
|
453
|
-
id: string;
|
454
|
-
/**
|
455
|
-
* Attachment Type
|
456
|
-
*/
|
457
|
-
attachmentType: FileMetadataAttachmentType;
|
458
|
-
}
|
459
|
-
|
460
|
-
/**
|
461
|
-
* Content blocked message type.
|
462
|
-
*
|
463
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
464
|
-
*
|
465
|
-
* @beta
|
466
|
-
*/
|
467
|
-
export declare interface BlockedMessage extends MessageCommon {
|
468
|
-
messageType: 'blocked';
|
469
|
-
warningText?: string;
|
470
|
-
linkText?: string;
|
471
|
-
link?: string;
|
472
|
-
deletedOn?: Date;
|
473
|
-
senderId?: string;
|
474
|
-
senderDisplayName?: string;
|
475
|
-
status?: MessageStatus;
|
476
|
-
attached?: MessageAttachedStatus;
|
477
|
-
mine?: boolean;
|
478
|
-
}
|
479
|
-
|
480
|
-
/**
|
481
|
-
* @beta
|
482
|
-
* Props for BrowserPermissionDeniedIOS component.
|
483
|
-
*/
|
484
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
485
|
-
/**
|
486
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
487
|
-
*/
|
488
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
489
|
-
/**
|
490
|
-
* Link to image source.
|
491
|
-
*
|
492
|
-
* Image is inserted into the top of the component.
|
493
|
-
*/
|
494
|
-
imageSource?: string;
|
495
|
-
}
|
496
|
-
|
497
|
-
/**
|
498
|
-
* @beta
|
499
|
-
* Strings for BrowserPermissionDeniedIOS component
|
500
|
-
*/
|
501
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
502
|
-
/**
|
503
|
-
* Image alt text
|
504
|
-
*/
|
505
|
-
imageAltText: string;
|
506
|
-
/**
|
507
|
-
* Main text string.
|
508
|
-
*/
|
509
|
-
primaryText: string;
|
510
|
-
/**
|
511
|
-
* Subtext string.
|
512
|
-
*/
|
513
|
-
secondaryText: string;
|
514
|
-
/**
|
515
|
-
* Step 1 string
|
516
|
-
*/
|
517
|
-
step1Text: string;
|
518
|
-
/**
|
519
|
-
* Step 1 digit string
|
520
|
-
*/
|
521
|
-
step1DigitText: string;
|
522
|
-
/**
|
523
|
-
* Step 2 string
|
524
|
-
*/
|
525
|
-
step2Text: string;
|
526
|
-
/**
|
527
|
-
* Step 2 digit string
|
528
|
-
*/
|
529
|
-
step2DigitText: string;
|
530
|
-
/**
|
531
|
-
* Step 3 string
|
532
|
-
*/
|
533
|
-
step3Text: string;
|
534
|
-
/**
|
535
|
-
* Step 3 digit string
|
536
|
-
*/
|
537
|
-
step3DigitText: string;
|
538
|
-
/**
|
539
|
-
* Step 4 string
|
540
|
-
*/
|
541
|
-
step4Text: string;
|
542
|
-
/**
|
543
|
-
* Step 4 digit string
|
544
|
-
*/
|
545
|
-
step4DigitText: string;
|
546
|
-
}
|
547
|
-
|
548
|
-
/**
|
549
|
-
* @beta
|
550
|
-
* Props for BrowserPermissionDenied component.
|
551
|
-
*/
|
552
|
-
export declare interface BrowserPermissionDeniedProps {
|
553
|
-
/**
|
554
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
555
|
-
*/
|
556
|
-
onTroubleshootingClick?: () => void;
|
557
|
-
/**
|
558
|
-
* Action to be taken by the try again primary button.
|
559
|
-
*/
|
560
|
-
onTryAgainClick?: () => void;
|
561
|
-
/**
|
562
|
-
* Localization strings for BrowserPermissionDenied component.
|
563
|
-
*/
|
564
|
-
strings?: BrowserPermissionDeniedStrings;
|
565
|
-
/**
|
566
|
-
* Allows users to pass in an object contains custom CSS styles.
|
567
|
-
* @Example
|
568
|
-
* ```
|
569
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
570
|
-
* ```
|
571
|
-
*/
|
572
|
-
styles?: BrowserPermissionDeniedStyles;
|
573
|
-
}
|
574
|
-
|
575
|
-
/**
|
576
|
-
* @beta
|
577
|
-
* Strings for BrowserPermissionDenied component
|
578
|
-
*/
|
579
|
-
export declare interface BrowserPermissionDeniedStrings {
|
580
|
-
/**
|
581
|
-
* Main button text string.
|
582
|
-
*/
|
583
|
-
primaryButtonText: string;
|
584
|
-
/**
|
585
|
-
* Main text string.
|
586
|
-
*/
|
587
|
-
primaryText: string;
|
588
|
-
/**
|
589
|
-
* Subtext string.
|
590
|
-
*/
|
591
|
-
secondaryText: string;
|
592
|
-
/**
|
593
|
-
* More help link string.
|
594
|
-
*/
|
595
|
-
linkText: string;
|
596
|
-
}
|
597
|
-
|
598
|
-
/**
|
599
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
600
|
-
*
|
601
|
-
* @beta
|
602
|
-
*/
|
603
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
604
|
-
/** Styles for the primary button. */
|
605
|
-
primaryButton?: IButtonStyles;
|
606
|
-
/** Styles for the help troubleshooting link text. */
|
607
|
-
troubleshootingLink?: ILinkStyles;
|
608
|
-
}
|
609
|
-
|
610
341
|
/**
|
611
342
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
612
343
|
*
|
@@ -640,12 +371,6 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
640
371
|
* @public
|
641
372
|
*/
|
642
373
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
643
|
-
/**
|
644
|
-
* Start the call.
|
645
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
646
|
-
* @beta
|
647
|
-
*/
|
648
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
649
374
|
}
|
650
375
|
|
651
376
|
/**
|
@@ -690,12 +415,6 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
690
415
|
* @public
|
691
416
|
*/
|
692
417
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
693
|
-
/**
|
694
|
-
* Start the call.
|
695
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
696
|
-
* @beta
|
697
|
-
*/
|
698
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
699
418
|
}
|
700
419
|
|
701
420
|
/**
|
@@ -772,12 +491,6 @@ export declare interface CallAdapterCallOperations {
|
|
772
491
|
* @public
|
773
492
|
*/
|
774
493
|
removeParticipant(userId: string): Promise<void>;
|
775
|
-
/**
|
776
|
-
* Remove a participant from the call.
|
777
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
778
|
-
* @beta
|
779
|
-
*/
|
780
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
781
494
|
/**
|
782
495
|
* Create the html view for a stream.
|
783
496
|
*
|
@@ -829,35 +542,6 @@ export declare interface CallAdapterCallOperations {
|
|
829
542
|
* @public
|
830
543
|
*/
|
831
544
|
disposeLocalVideoStreamView(): Promise<void>;
|
832
|
-
/**
|
833
|
-
* Holds the call.
|
834
|
-
*
|
835
|
-
* @beta
|
836
|
-
*/
|
837
|
-
holdCall(): Promise<void>;
|
838
|
-
/**
|
839
|
-
* Resumes the call from a `LocalHold` state.
|
840
|
-
*
|
841
|
-
* @beta
|
842
|
-
*/
|
843
|
-
resumeCall(): Promise<void>;
|
844
|
-
/**
|
845
|
-
* Add a participant to the call.
|
846
|
-
*
|
847
|
-
* @beta
|
848
|
-
*/
|
849
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
850
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
851
|
-
/**
|
852
|
-
* send dtmf tone to another participant in a 1:1 PSTN call
|
853
|
-
*
|
854
|
-
* @beta
|
855
|
-
*/
|
856
|
-
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
857
|
-
/**
|
858
|
-
* Continues into a call when the browser version is not supported.
|
859
|
-
*/
|
860
|
-
allowUnsupportedBrowserVersion(): void;
|
861
545
|
/**
|
862
546
|
* Function to Start captions
|
863
547
|
* @param options - options for start captions
|
@@ -917,22 +601,10 @@ export declare type CallAdapterClientState = {
|
|
917
601
|
devices: DeviceManagerState;
|
918
602
|
endedCall?: CallState;
|
919
603
|
isTeamsCall: boolean;
|
920
|
-
/**
|
921
|
-
* State to track whether the call is a rooms call.
|
922
|
-
*/
|
923
|
-
isRoomsCall: boolean;
|
924
604
|
/**
|
925
605
|
* Latest error encountered for each operation performed via the adapter.
|
926
606
|
*/
|
927
607
|
latestErrors: AdapterErrors;
|
928
|
-
/**
|
929
|
-
* Azure communications Phone number to make PSTN calls with.
|
930
|
-
*/
|
931
|
-
alternateCallerId?: string;
|
932
|
-
/**
|
933
|
-
* Environment information about system the adapter is made on
|
934
|
-
*/
|
935
|
-
environmentInfo?: EnvironmentInfo;
|
936
608
|
/**
|
937
609
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
938
610
|
* control bar with the CallComposite.
|
@@ -950,10 +622,6 @@ export declare type CallAdapterClientState = {
|
|
950
622
|
* State to track the selected video background effect.
|
951
623
|
*/
|
952
624
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
953
|
-
/**
|
954
|
-
* Call from transfer request accepted by local user
|
955
|
-
*/
|
956
|
-
acceptedTransferCallState?: CallState;
|
957
625
|
};
|
958
626
|
|
959
627
|
/**
|
@@ -1038,7 +706,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1038
706
|
*
|
1039
707
|
* @public
|
1040
708
|
*/
|
1041
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator
|
709
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
|
1042
710
|
|
1043
711
|
/**
|
1044
712
|
* {@link CommonCallAdapter} state.
|
@@ -1131,10 +799,6 @@ export declare interface CallAdapterSubscribers {
|
|
1131
799
|
* Subscribe function for 'isSpokenLanguageChanged' event.
|
1132
800
|
*/
|
1133
801
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1134
|
-
/**
|
1135
|
-
* Subscribe function for 'transferRequested' event.
|
1136
|
-
*/
|
1137
|
-
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1138
802
|
/**
|
1139
803
|
* Subscribe function for 'capabilitiesChanged' event.
|
1140
804
|
*/
|
@@ -1203,10 +867,6 @@ export declare interface CallAdapterSubscribers {
|
|
1203
867
|
* Unsubscribe function for 'isSpokenLanguageChanged' event.
|
1204
868
|
*/
|
1205
869
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1206
|
-
/**
|
1207
|
-
* Unsubscribe function for 'transferRequested' event.
|
1208
|
-
*/
|
1209
|
-
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1210
870
|
/**
|
1211
871
|
* Unsubscribe function for 'capabilitiesChanged' event.
|
1212
872
|
*/
|
@@ -1221,7 +881,6 @@ export declare interface CallAdapterSubscribers {
|
|
1221
881
|
export declare type CallAdapterUiState = {
|
1222
882
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1223
883
|
page: CallCompositePage;
|
1224
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1225
884
|
};
|
1226
885
|
|
1227
886
|
/**
|
@@ -1240,7 +899,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
1240
899
|
*/
|
1241
900
|
export declare interface CallAgentProviderProps {
|
1242
901
|
children: React_2.ReactNode;
|
1243
|
-
callAgent?: CallAgent
|
902
|
+
callAgent?: CallAgent;
|
1244
903
|
}
|
1245
904
|
|
1246
905
|
/**
|
@@ -1265,7 +924,7 @@ export declare interface CallAgentState {
|
|
1265
924
|
*/
|
1266
925
|
export declare interface CallAndChatLocator {
|
1267
926
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1268
|
-
callLocator: GroupCallLocator
|
927
|
+
callLocator: GroupCallLocator;
|
1269
928
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1270
929
|
chatThreadId: string;
|
1271
930
|
}
|
@@ -1352,16 +1011,6 @@ export declare interface CallClientState {
|
|
1352
1011
|
* See documentation of {@Link CallErrors} for details.
|
1353
1012
|
*/
|
1354
1013
|
latestErrors: CallErrors;
|
1355
|
-
/**
|
1356
|
-
* A phone number in E.164 format that will be used to represent callers identity.
|
1357
|
-
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1358
|
-
* be used as the caller id in the PSTN call.
|
1359
|
-
*/
|
1360
|
-
alternateCallerId?: string;
|
1361
|
-
/**
|
1362
|
-
* state to track the environment that the stateful client was made in is supported
|
1363
|
-
*/
|
1364
|
-
environmentInfo?: EnvironmentInfo;
|
1365
1014
|
}
|
1366
1015
|
|
1367
1016
|
/**
|
@@ -1432,10 +1081,6 @@ export declare type CallCompositeIcons = {
|
|
1432
1081
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1433
1082
|
VideoTileMicOff?: JSX.Element;
|
1434
1083
|
LocalCameraSwitch?: JSX.Element;
|
1435
|
-
PeoplePaneAddPerson?: JSX.Element;
|
1436
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
1437
|
-
DialpadStartCall?: JSX.Element;
|
1438
|
-
NoticePageAccessDeniedRoomsCall?: JSX.Element;
|
1439
1084
|
BlurVideoBackground?: JSX.Element;
|
1440
1085
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
1441
1086
|
GalleryOptions?: JSX.Element;
|
@@ -1466,66 +1111,10 @@ export declare type CallCompositeOptions = {
|
|
1466
1111
|
* @defaultValue true
|
1467
1112
|
*/
|
1468
1113
|
callControls?: boolean | CallControlOptions;
|
1469
|
-
/**
|
1470
|
-
* Device permissions check options for your call.
|
1471
|
-
* Here you can choose what device permissions you prompt the user for,
|
1472
|
-
* as well as what device permissions must be accepted before starting a call.
|
1473
|
-
*/
|
1474
|
-
deviceChecks?: DeviceCheckOptions;
|
1475
|
-
/**
|
1476
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1477
|
-
* unable to grant your site the required permissions for the call.
|
1478
|
-
*
|
1479
|
-
* @example
|
1480
|
-
* ```ts
|
1481
|
-
* onPermissionsTroubleshootingClick: () =>
|
1482
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1483
|
-
* ```
|
1484
|
-
*
|
1485
|
-
* @remarks
|
1486
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1487
|
-
*/
|
1488
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1489
|
-
camera: PermissionState;
|
1490
|
-
microphone: PermissionState;
|
1491
|
-
}) => void;
|
1492
|
-
/**
|
1493
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1494
|
-
* having network issues when connecting to the call.
|
1495
|
-
*
|
1496
|
-
* @example
|
1497
|
-
* ```ts
|
1498
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1499
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1500
|
-
* ```
|
1501
|
-
*
|
1502
|
-
* @remarks
|
1503
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1504
|
-
*/
|
1505
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1506
|
-
/**
|
1507
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1508
|
-
*
|
1509
|
-
* @example
|
1510
|
-
* ```ts
|
1511
|
-
* onBrowserTroubleShootingClick?: () =>
|
1512
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1513
|
-
* ```
|
1514
|
-
*
|
1515
|
-
* @remarks
|
1516
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
1517
|
-
*/
|
1518
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1519
1114
|
/**
|
1520
1115
|
* Remote participant video tile menu options
|
1521
1116
|
*/
|
1522
1117
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
1523
|
-
/**
|
1524
|
-
* Options for controlling the local video tile.
|
1525
|
-
*
|
1526
|
-
* @remarks if 'false' the local video tile will not be rendered.
|
1527
|
-
*/
|
1528
|
-
localVideoTile?: boolean | LocalVideoTileOptions;
|
1529
1118
|
/**
|
1530
1119
|
* Options for controlling the starting layout of the composite's video gallery
|
1531
1120
|
*/
|
@@ -1542,7 +1131,7 @@ export declare type CallCompositeOptions = {
|
|
1542
1131
|
*
|
1543
1132
|
* @public
|
1544
1133
|
*/
|
1545
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' |
|
1134
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1546
1135
|
|
1547
1136
|
/**
|
1548
1137
|
* Props for {@link CallComposite}.
|
@@ -1788,86 +1377,14 @@ export declare interface CallCompositeStrings {
|
|
1788
1377
|
* Label for SidePaneHeader dismiss button
|
1789
1378
|
*/
|
1790
1379
|
dismissSidePaneButtonLabel?: string;
|
1791
|
-
/**
|
1792
|
-
* Side pane People section subheader.
|
1793
|
-
*/
|
1794
|
-
peoplePaneSubTitle: string;
|
1795
|
-
/**
|
1796
|
-
* Label for button to copy invite link
|
1797
|
-
*/
|
1798
|
-
copyInviteLinkButtonLabel: string;
|
1799
|
-
/**
|
1800
|
-
* Label for button to open dialpad
|
1801
|
-
*/
|
1802
|
-
openDialpadButtonLabel: string;
|
1803
|
-
/**
|
1804
|
-
* Label for menu item to remove participant
|
1805
|
-
*/
|
1806
|
-
removeMenuLabel: string;
|
1807
|
-
/**
|
1808
|
-
* Label for add people dropdown
|
1809
|
-
*/
|
1810
|
-
peoplePaneAddPeopleButtonLabel: string;
|
1811
|
-
/**
|
1812
|
-
* Label for button to start a call
|
1813
|
-
*/
|
1814
|
-
dialpadStartCallButtonLabel: string;
|
1815
|
-
/**
|
1816
|
-
* Title for dialpad Modal
|
1817
|
-
*/
|
1818
|
-
dialpadModalTitle: string;
|
1819
|
-
/**
|
1820
|
-
* Aria Label for dialpad Modal
|
1821
|
-
*/
|
1822
|
-
dialpadModalAriaLabel: string;
|
1823
|
-
/**
|
1824
|
-
* Aria Label for dialpad Modal close button
|
1825
|
-
*/
|
1826
|
-
dialpadCloseModalButtonAriaLabel: string;
|
1827
1380
|
/**
|
1828
1381
|
* label for more button in the Calling composite
|
1829
1382
|
*/
|
1830
1383
|
moreButtonCallingLabel: string;
|
1831
|
-
/**
|
1832
|
-
* Label for the resume call button on the hold pane
|
1833
|
-
*/
|
1834
|
-
resumeCallButtonLabel: string;
|
1835
|
-
/**
|
1836
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1837
|
-
*/
|
1838
|
-
resumingCallButtonLabel: string;
|
1839
|
-
/**
|
1840
|
-
* Aria label for the resume call button on the hold pane
|
1841
|
-
*/
|
1842
|
-
resumeCallButtonAriaLabel: string;
|
1843
|
-
/**
|
1844
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1845
|
-
*/
|
1846
|
-
resumingCallButtonAriaLabel: string;
|
1847
|
-
/**
|
1848
|
-
* Label for the hold pane
|
1849
|
-
*/
|
1850
|
-
holdScreenLabel: string;
|
1851
|
-
/**
|
1852
|
-
* Placeholder text for dtmf dialpad
|
1853
|
-
*/
|
1854
|
-
dtmfDialpadPlaceholderText: string;
|
1855
|
-
/**
|
1856
|
-
* Label for the button to open dtmf dialpad
|
1857
|
-
*/
|
1858
|
-
openDtmfDialpadLabel: string;
|
1859
1384
|
/**
|
1860
1385
|
* aria label for when the invite link has been actioned
|
1861
1386
|
*/
|
1862
1387
|
copyInviteLinkActionedAriaLabel: string;
|
1863
|
-
/**
|
1864
|
-
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1865
|
-
*/
|
1866
|
-
roomNotFoundTitle: string;
|
1867
|
-
/**
|
1868
|
-
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1869
|
-
*/
|
1870
|
-
roomNotFoundDetails?: string;
|
1871
1388
|
/**
|
1872
1389
|
* Video Effects pane title.
|
1873
1390
|
*/
|
@@ -1905,37 +1422,17 @@ export declare interface CallCompositeStrings {
|
|
1905
1422
|
*/
|
1906
1423
|
cameraOffBackgroundEffectWarningText?: string;
|
1907
1424
|
/**
|
1908
|
-
*
|
1425
|
+
* Notice to be announced by narrator when a participant joins a call
|
1909
1426
|
*/
|
1910
|
-
|
1427
|
+
participantJoinedNoticeString: string;
|
1911
1428
|
/**
|
1912
|
-
*
|
1429
|
+
* Notice to be announced by narrator when a participant joins a call
|
1913
1430
|
*/
|
1914
|
-
|
1431
|
+
twoParticipantJoinedNoticeString: string;
|
1915
1432
|
/**
|
1916
|
-
*
|
1433
|
+
* Notice to be announced by narrator when a participant joins a call
|
1917
1434
|
*/
|
1918
|
-
|
1919
|
-
/**
|
1920
|
-
* Control bar People button ToolTipContent
|
1921
|
-
*/
|
1922
|
-
peopleButtonTooltipClose: string;
|
1923
|
-
/**
|
1924
|
-
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1925
|
-
*/
|
1926
|
-
outboundCallingNoticeString: string;
|
1927
|
-
/**
|
1928
|
-
* Notice to be announced by narrator when a participant joins a call
|
1929
|
-
*/
|
1930
|
-
participantJoinedNoticeString: string;
|
1931
|
-
/**
|
1932
|
-
* Notice to be announced by narrator when a participant joins a call
|
1933
|
-
*/
|
1934
|
-
twoParticipantJoinedNoticeString: string;
|
1935
|
-
/**
|
1936
|
-
* Notice to be announced by narrator when a participant joins a call
|
1937
|
-
*/
|
1938
|
-
threeParticipantJoinedNoticeString: string;
|
1435
|
+
threeParticipantJoinedNoticeString: string;
|
1939
1436
|
/**
|
1940
1437
|
* Notice to be announced by narrator when a participant leaves a call
|
1941
1438
|
*/
|
@@ -2048,58 +1545,6 @@ export declare interface CallCompositeStrings {
|
|
2048
1545
|
* captions banner loading spinner label
|
2049
1546
|
*/
|
2050
1547
|
captionsBannerSpinnerText?: string;
|
2051
|
-
/**
|
2052
|
-
* transfer page text when showing the transferor who initiated the transfer
|
2053
|
-
*/
|
2054
|
-
transferPageTransferorText: string;
|
2055
|
-
/**
|
2056
|
-
* transfer page text when showing the transfer target
|
2057
|
-
*/
|
2058
|
-
transferPageTransferTargetText: string;
|
2059
|
-
/**
|
2060
|
-
* transfer page display name for unknown participant
|
2061
|
-
*/
|
2062
|
-
transferPageUnknownTransferorDisplayName: string;
|
2063
|
-
/**
|
2064
|
-
* transfer page display name for unknown participant
|
2065
|
-
*/
|
2066
|
-
transferPageUnknownTransferTargetDisplayName: string;
|
2067
|
-
/**
|
2068
|
-
* notice to be announced by narrator the transfer page is showing
|
2069
|
-
*/
|
2070
|
-
transferPageNoticeString: string;
|
2071
|
-
/**
|
2072
|
-
* Title text of the page shown to the user when target participant could not be reached
|
2073
|
-
*/
|
2074
|
-
participantCouldNotBeReachedTitle?: string;
|
2075
|
-
/**
|
2076
|
-
* More details text of the page shown to the user when target participant could not be reached
|
2077
|
-
*/
|
2078
|
-
participantCouldNotBeReachedMoreDetails?: string;
|
2079
|
-
/**
|
2080
|
-
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2081
|
-
*/
|
2082
|
-
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2083
|
-
/**
|
2084
|
-
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2085
|
-
*/
|
2086
|
-
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2087
|
-
/**
|
2088
|
-
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2089
|
-
*/
|
2090
|
-
unableToResolveTenantTitle?: string;
|
2091
|
-
/**
|
2092
|
-
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2093
|
-
*/
|
2094
|
-
unableToResolveTenantMoreDetails?: string;
|
2095
|
-
/**
|
2096
|
-
* Title text of the page shown to the user when target participant id is malformed
|
2097
|
-
*/
|
2098
|
-
participantIdIsMalformedTitle?: string;
|
2099
|
-
/**
|
2100
|
-
* More details text of the page shown to the user when target participant id is malformed
|
2101
|
-
*/
|
2102
|
-
participantIdIsMalformedMoreDetails?: string;
|
2103
1548
|
/**
|
2104
1549
|
* Controls label to move the overflow gallery around
|
2105
1550
|
*/
|
@@ -2132,6 +1577,10 @@ export declare interface CallCompositeStrings {
|
|
2132
1577
|
* All strings for capability changed notification
|
2133
1578
|
*/
|
2134
1579
|
capabilityChangedNotification?: CapabilityChangedNotificationStrings;
|
1580
|
+
/**
|
1581
|
+
* String for the dismiss control on the local and remote PIP on mobile
|
1582
|
+
*/
|
1583
|
+
dismissModalAriaLabel?: string;
|
2135
1584
|
}
|
2136
1585
|
|
2137
1586
|
/**
|
@@ -2216,7 +1665,7 @@ export declare type CallErrors = {
|
|
2216
1665
|
*
|
2217
1666
|
* @public
|
2218
1667
|
*/
|
2219
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' |
|
1668
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'VideoEffectsFeature.startEffects';
|
2220
1669
|
|
2221
1670
|
/**
|
2222
1671
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2296,23 +1745,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2296
1745
|
raisedHand?: RaisedHand;
|
2297
1746
|
};
|
2298
1747
|
|
2299
|
-
/**
|
2300
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2301
|
-
*
|
2302
|
-
* @remarks
|
2303
|
-
* This is currently in beta and only supports calling one Teams User.
|
2304
|
-
*
|
2305
|
-
* @example
|
2306
|
-
* ```
|
2307
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2308
|
-
* ```
|
2309
|
-
*
|
2310
|
-
* @beta
|
2311
|
-
*/
|
2312
|
-
export declare type CallParticipantsLocator = {
|
2313
|
-
participantIds: string[];
|
2314
|
-
};
|
2315
|
-
|
2316
1748
|
/**
|
2317
1749
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
2318
1750
|
*
|
@@ -2329,7 +1761,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2329
1761
|
*/
|
2330
1762
|
export declare interface CallProviderProps {
|
2331
1763
|
children: React_2.ReactNode;
|
2332
|
-
call?: Call
|
1764
|
+
call?: Call;
|
2333
1765
|
}
|
2334
1766
|
|
2335
1767
|
/**
|
@@ -2343,10 +1775,6 @@ export declare interface CallState {
|
|
2343
1775
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2344
1776
|
*/
|
2345
1777
|
id: string;
|
2346
|
-
/**
|
2347
|
-
* Type of the call.
|
2348
|
-
*/
|
2349
|
-
kind: CallKind;
|
2350
1778
|
/**
|
2351
1779
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2352
1780
|
*/
|
@@ -2445,14 +1873,6 @@ export declare interface CallState {
|
|
2445
1873
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2446
1874
|
*/
|
2447
1875
|
role?: ParticipantRole;
|
2448
|
-
/**
|
2449
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2450
|
-
*/
|
2451
|
-
totalParticipantCount?: number;
|
2452
|
-
/**
|
2453
|
-
* Transfer state of call
|
2454
|
-
*/
|
2455
|
-
transfer: TransferFeature;
|
2456
1876
|
/**
|
2457
1877
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
2458
1878
|
*/
|
@@ -2480,12 +1900,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2480
1900
|
* @public
|
2481
1901
|
*/
|
2482
1902
|
removeParticipant(userId: string): Promise<void>;
|
2483
|
-
/**
|
2484
|
-
* Remove a participant from the call.
|
2485
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2486
|
-
* @beta
|
2487
|
-
*/
|
2488
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2489
1903
|
/**
|
2490
1904
|
* Join the call with microphone initially on/off.
|
2491
1905
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2551,12 +1965,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2551
1965
|
* @public
|
2552
1966
|
*/
|
2553
1967
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2554
|
-
/**
|
2555
|
-
* Start the call.
|
2556
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2557
|
-
* @beta
|
2558
|
-
*/
|
2559
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
2560
1968
|
/**
|
2561
1969
|
* Start sharing the screen during a call.
|
2562
1970
|
*
|
@@ -2746,52 +2154,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2746
2154
|
* @public
|
2747
2155
|
*/
|
2748
2156
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2749
|
-
/** @beta */
|
2750
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2751
|
-
/** @beta */
|
2752
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
2753
|
-
/** @beta */
|
2754
|
-
clearFileUploads: () => void;
|
2755
|
-
/** @beta */
|
2756
|
-
cancelFileUpload: (id: string) => void;
|
2757
|
-
/** @beta */
|
2758
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
2759
|
-
/** @beta */
|
2760
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2761
|
-
/** @beta */
|
2762
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2763
|
-
downloadAttachments: (options: {
|
2764
|
-
attachmentUrls: string[];
|
2765
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
2766
|
-
/**
|
2767
|
-
* Puts the Call in a Localhold.
|
2768
|
-
*
|
2769
|
-
* @beta
|
2770
|
-
*/
|
2771
|
-
holdCall: () => Promise<void>;
|
2772
|
-
/**
|
2773
|
-
* Resumes the call from a LocalHold state.
|
2774
|
-
*
|
2775
|
-
* @beta
|
2776
|
-
*/
|
2777
|
-
resumeCall: () => Promise<void>;
|
2778
|
-
/**
|
2779
|
-
* Adds a new Participant to the call.
|
2780
|
-
*
|
2781
|
-
* @beta
|
2782
|
-
*/
|
2783
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2784
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2785
|
-
/**
|
2786
|
-
* send dtmf tone to another participant in the call in 1:1 calls
|
2787
|
-
*
|
2788
|
-
* @beta
|
2789
|
-
*/
|
2790
|
-
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2791
|
-
/**
|
2792
|
-
* Continues into a call when the browser version is not supported.
|
2793
|
-
*/
|
2794
|
-
allowUnsupportedBrowserVersion(): void;
|
2795
2157
|
/**
|
2796
2158
|
* Function to Start captions
|
2797
2159
|
* @param options - options for start captions
|
@@ -2917,22 +2279,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
2917
2279
|
* @public
|
2918
2280
|
*/
|
2919
2281
|
page: CallCompositePage;
|
2920
|
-
/**
|
2921
|
-
* Files being uploaded by a user in the current thread.
|
2922
|
-
* Should be set to null once the upload is complete.
|
2923
|
-
* Array of type {@link FileUploadsUiState}
|
2924
|
-
*
|
2925
|
-
* @beta
|
2926
|
-
*/
|
2927
|
-
fileUploads?: FileUploadsUiState;
|
2928
|
-
/**
|
2929
|
-
* State to track whether the end user has opted in to using a
|
2930
|
-
* out of date version of a supported browser. Allows the user
|
2931
|
-
* to start a call in this state.
|
2932
|
-
*
|
2933
|
-
* @beta
|
2934
|
-
*/
|
2935
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
2936
2282
|
}
|
2937
2283
|
|
2938
2284
|
/**
|
@@ -2957,12 +2303,6 @@ export declare interface CallWithChatClientState {
|
|
2957
2303
|
devices: DeviceManagerState;
|
2958
2304
|
/** State of whether the active call is a Teams interop call */
|
2959
2305
|
isTeamsCall: boolean;
|
2960
|
-
/** State of whether the active call is a rooms call */
|
2961
|
-
isRoomsCall: boolean;
|
2962
|
-
/** alternateCallerId for PSTN call */
|
2963
|
-
alternateCallerId?: string | undefined;
|
2964
|
-
/** Environment information for system adapter is made on */
|
2965
|
-
environmentInfo?: EnvironmentInfo;
|
2966
2306
|
/** Default set of background images for background replacement effect */
|
2967
2307
|
videoBackgroundImages?: VideoBackgroundImage[];
|
2968
2308
|
/** Dependency to be injected for video background effects */
|
@@ -3037,9 +2377,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
3037
2377
|
ParticipantItemScreenShareStart?: JSX.Element;
|
3038
2378
|
VideoTileMicOff?: JSX.Element;
|
3039
2379
|
LocalCameraSwitch?: JSX.Element;
|
3040
|
-
PeoplePaneAddPerson?: JSX.Element;
|
3041
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
3042
|
-
DialpadStartCall?: JSX.Element;
|
3043
2380
|
DefaultCustomButton?: JSX.Element;
|
3044
2381
|
EditBoxCancel?: JSX.Element;
|
3045
2382
|
EditBoxSubmit?: JSX.Element;
|
@@ -3067,72 +2404,10 @@ export declare type CallWithChatCompositeOptions = {
|
|
3067
2404
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
3068
2405
|
*/
|
3069
2406
|
callControls?: boolean | CallWithChatControlOptions;
|
3070
|
-
/**
|
3071
|
-
* Properties for configuring the File Sharing feature.
|
3072
|
-
* If undefined, file sharing feature will be disabled.
|
3073
|
-
* @beta
|
3074
|
-
*/
|
3075
|
-
fileSharing?: FileSharingOptions;
|
3076
|
-
/**
|
3077
|
-
* Device permissions check options for your call.
|
3078
|
-
* Here you can choose what device permissions you prompt the user for,
|
3079
|
-
* as well as what device permissions must be accepted before starting a call.
|
3080
|
-
*/
|
3081
|
-
deviceChecks?: DeviceCheckOptions;
|
3082
|
-
/**
|
3083
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3084
|
-
* unable to grant your site the required permissions for the call.
|
3085
|
-
*
|
3086
|
-
* @example
|
3087
|
-
* ```ts
|
3088
|
-
* onPermissionsTroubleshootingClick: () =>
|
3089
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3090
|
-
* ```
|
3091
|
-
*
|
3092
|
-
* @remarks
|
3093
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3094
|
-
*/
|
3095
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3096
|
-
camera: PermissionState;
|
3097
|
-
microphone: PermissionState;
|
3098
|
-
}) => void;
|
3099
|
-
/**
|
3100
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
3101
|
-
* experienced when connecting to a call.
|
3102
|
-
*
|
3103
|
-
* @example
|
3104
|
-
* ```ts
|
3105
|
-
* onNetworkingTroubleShootingClick?: () =>
|
3106
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3107
|
-
* ```
|
3108
|
-
*
|
3109
|
-
* @remarks
|
3110
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3111
|
-
*/
|
3112
|
-
onNetworkingTroubleShootingClick?: () => void;
|
3113
|
-
/**
|
3114
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3115
|
-
*
|
3116
|
-
* @example
|
3117
|
-
* ```ts
|
3118
|
-
* onBrowserTroubleShootingClick?: () =>
|
3119
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3120
|
-
* ```
|
3121
|
-
*
|
3122
|
-
* @remarks
|
3123
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
3124
|
-
*/
|
3125
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
3126
2407
|
/**
|
3127
2408
|
* Remote participant video tile menu options
|
3128
2409
|
*/
|
3129
2410
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
3130
|
-
/**
|
3131
|
-
* Options for controlling the local video tile.
|
3132
|
-
*
|
3133
|
-
* @remarks if 'false' the local video tile will not be rendered.
|
3134
|
-
*/
|
3135
|
-
localVideoTile?: boolean | LocalVideoTileOptions;
|
3136
2411
|
/**
|
3137
2412
|
* Options for controlling the starting layout of the composite's video gallery
|
3138
2413
|
*/
|
@@ -3293,10 +2568,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3293
2568
|
* Label for button to copy invite link
|
3294
2569
|
*/
|
3295
2570
|
copyInviteLinkButtonLabel: string;
|
3296
|
-
/**
|
3297
|
-
* Label for button to open dialpad
|
3298
|
-
*/
|
3299
|
-
openDialpadButtonLabel: string;
|
3300
2571
|
/**
|
3301
2572
|
* Label for SidePaneHeader dismiss button
|
3302
2573
|
*/
|
@@ -3309,34 +2580,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
3309
2580
|
* Aria label string for return to call back button
|
3310
2581
|
*/
|
3311
2582
|
returnToCallButtonAriaLabel?: string;
|
3312
|
-
/**
|
3313
|
-
* Label for add people dropdown
|
3314
|
-
*/
|
3315
|
-
peoplePaneAddPeopleButtonLabel: string;
|
3316
|
-
/**
|
3317
|
-
* Label for button to start a call
|
3318
|
-
*/
|
3319
|
-
dialpadStartCallButtonLabel: string;
|
3320
|
-
/**
|
3321
|
-
* Title for dialpad Modal
|
3322
|
-
*/
|
3323
|
-
dialpadModalTitle: string;
|
3324
|
-
/**
|
3325
|
-
* Aria Label for dialpad Modal
|
3326
|
-
*/
|
3327
|
-
dialpadModalAriaLabel: string;
|
3328
|
-
/**
|
3329
|
-
* Aria Label for dialpad Modal close button
|
3330
|
-
*/
|
3331
|
-
dialpadCloseModalButtonAriaLabel: string;
|
3332
|
-
/**
|
3333
|
-
* Placeholder text for dtmf dialpad
|
3334
|
-
*/
|
3335
|
-
dtmfDialpadPlaceholderText: string;
|
3336
|
-
/**
|
3337
|
-
* Label for the button to open dtmf dialpad
|
3338
|
-
*/
|
3339
|
-
openDtmfDialpadLabel: string;
|
3340
2583
|
/**
|
3341
2584
|
* aria label for when the invite link has been actioned
|
3342
2585
|
*/
|
@@ -3353,9 +2596,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3353
2596
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
3354
2597
|
* @defaultValue true
|
3355
2598
|
*/
|
3356
|
-
chatButton?: boolean
|
3357
|
-
disabled: boolean;
|
3358
|
-
};
|
2599
|
+
chatButton?: boolean;
|
3359
2600
|
}
|
3360
2601
|
|
3361
2602
|
/**
|
@@ -3365,35 +2606,6 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3365
2606
|
*/
|
3366
2607
|
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3367
2608
|
|
3368
|
-
/**
|
3369
|
-
* @beta
|
3370
|
-
*
|
3371
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3372
|
-
* by their browsers settings.
|
3373
|
-
*/
|
3374
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3375
|
-
|
3376
|
-
/**
|
3377
|
-
* @beta
|
3378
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
3379
|
-
*/
|
3380
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3381
|
-
/** Icon name for the camera icon */
|
3382
|
-
cameraIconName?: string;
|
3383
|
-
/** Icon name for the microphone icon */
|
3384
|
-
microphoneIconName?: string;
|
3385
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
3386
|
-
connectorIconName?: string;
|
3387
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3388
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3389
|
-
}
|
3390
|
-
|
3391
|
-
/**
|
3392
|
-
* @beta
|
3393
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3394
|
-
*/
|
3395
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3396
|
-
|
3397
2609
|
/**
|
3398
2610
|
* A button to turn camera on / off.
|
3399
2611
|
*
|
@@ -3550,31 +2762,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3550
2762
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3551
2763
|
}
|
3552
2764
|
|
3553
|
-
/**
|
3554
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3555
|
-
* by their browsers settings.
|
3556
|
-
*
|
3557
|
-
* @beta
|
3558
|
-
*/
|
3559
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3560
|
-
|
3561
|
-
/**
|
3562
|
-
* @beta
|
3563
|
-
* Props for CameraSitePermissions component.
|
3564
|
-
*/
|
3565
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3566
|
-
/** Icon name for the camera icon */
|
3567
|
-
cameraIconName?: string;
|
3568
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3569
|
-
strings?: CameraSitePermissionsStrings;
|
3570
|
-
}
|
3571
|
-
|
3572
|
-
/**
|
3573
|
-
* @beta
|
3574
|
-
* Strings for CameraSitePermissions component.
|
3575
|
-
*/
|
3576
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3577
|
-
|
3578
2765
|
/**
|
3579
2766
|
* @public
|
3580
2767
|
* Callback function run when a message edit is cancelled.
|
@@ -3780,7 +2967,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3780
2967
|
*
|
3781
2968
|
* @public
|
3782
2969
|
*/
|
3783
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers
|
2970
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
|
3784
2971
|
|
3785
2972
|
/**
|
3786
2973
|
* {@link ChatAdapter} state.
|
@@ -3888,9 +3075,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
3888
3075
|
/**
|
3889
3076
|
* Update a message content.
|
3890
3077
|
*/
|
3891
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
3892
|
-
attachedFilesMetadata?: FileMetadata[];
|
3893
|
-
}): Promise<void>;
|
3078
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
3894
3079
|
/**
|
3895
3080
|
* Delete a message in the thread.
|
3896
3081
|
*/
|
@@ -3903,9 +3088,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3903
3088
|
*
|
3904
3089
|
*/
|
3905
3090
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3906
|
-
downloadAttachments: (options: {
|
3907
|
-
attachmentUrls: string[];
|
3908
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
3909
3091
|
}
|
3910
3092
|
|
3911
3093
|
/**
|
@@ -3915,13 +3097,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3915
3097
|
*/
|
3916
3098
|
export declare type ChatAdapterUiState = {
|
3917
3099
|
error?: Error;
|
3918
|
-
/**
|
3919
|
-
* Files being uploaded by a user in the current thread.
|
3920
|
-
* Should be set to null once the upload is complete.
|
3921
|
-
* Array of type {@link FileUploadsUiState}
|
3922
|
-
* @beta
|
3923
|
-
*/
|
3924
|
-
fileUploads?: FileUploadsUiState;
|
3925
3100
|
};
|
3926
3101
|
|
3927
3102
|
/**
|
@@ -4024,7 +3199,6 @@ export declare type ChatCompositeIcons = {
|
|
4024
3199
|
ParticipantItemOptionsHovered?: JSX.Element;
|
4025
3200
|
SendBoxSend?: JSX.Element;
|
4026
3201
|
SendBoxSendHovered?: JSX.Element;
|
4027
|
-
SendBoxAttachFile?: JSX.Element;
|
4028
3202
|
};
|
4029
3203
|
|
4030
3204
|
/**
|
@@ -4039,13 +3213,6 @@ export declare type ChatCompositeOptions = {
|
|
4039
3213
|
* @defaultValue true
|
4040
3214
|
*/
|
4041
3215
|
errorBar?: boolean;
|
4042
|
-
/**
|
4043
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4044
|
-
* @defaultValue false
|
4045
|
-
*
|
4046
|
-
* @beta
|
4047
|
-
*/
|
4048
|
-
participantPane?: boolean;
|
4049
3216
|
/**
|
4050
3217
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
4051
3218
|
* @defaultValue true
|
@@ -4056,12 +3223,6 @@ export declare type ChatCompositeOptions = {
|
|
4056
3223
|
* When undefined nothing has focus on render
|
4057
3224
|
*/
|
4058
3225
|
autoFocus?: 'sendBoxTextField';
|
4059
|
-
/**
|
4060
|
-
* Properties for configuring the File Sharing feature.
|
4061
|
-
* If undefined, file sharing feature will be disabled.
|
4062
|
-
* @beta
|
4063
|
-
*/
|
4064
|
-
fileSharing?: FileSharingOptions;
|
4065
3226
|
};
|
4066
3227
|
|
4067
3228
|
/**
|
@@ -4089,12 +3250,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
4089
3250
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
4090
3251
|
*/
|
4091
3252
|
options?: ChatCompositeOptions;
|
4092
|
-
/**
|
4093
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
4094
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4095
|
-
* @defaultValue 'desktop'
|
4096
|
-
*/
|
4097
|
-
formFactor?: 'desktop' | 'mobile';
|
4098
3253
|
}
|
4099
3254
|
|
4100
3255
|
/**
|
@@ -4109,10 +3264,6 @@ export declare interface ChatCompositeStrings {
|
|
4109
3264
|
* Chat list header text
|
4110
3265
|
*/
|
4111
3266
|
chatListHeader: string;
|
4112
|
-
/**
|
4113
|
-
* Upload File Button text
|
4114
|
-
*/
|
4115
|
-
uploadFile: string;
|
4116
3267
|
}
|
4117
3268
|
|
4118
3269
|
/**
|
@@ -4161,7 +3312,7 @@ export declare type ChatErrors = {
|
|
4161
3312
|
*
|
4162
3313
|
* @public
|
4163
3314
|
*/
|
4164
|
-
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' |
|
3315
|
+
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';
|
4165
3316
|
|
4166
3317
|
/**
|
4167
3318
|
* Object containing all the handlers required for chat components.
|
@@ -4178,9 +3329,7 @@ export declare type ChatHandlers = {
|
|
4178
3329
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
4179
3330
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
4180
3331
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
4181
|
-
onUpdateMessage: (messageId: string, content: string
|
4182
|
-
attachedFilesMetadata?: FileMetadata[];
|
4183
|
-
}) => Promise<void>;
|
3332
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
4184
3333
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
4185
3334
|
};
|
4186
3335
|
|
@@ -4207,12 +3356,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4207
3356
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
4208
3357
|
*/
|
4209
3358
|
metadata?: Record<string, string>;
|
4210
|
-
/**
|
4211
|
-
* @beta
|
4212
|
-
* A list of files attached to the message.
|
4213
|
-
* {@link FileMetadata}
|
4214
|
-
*/
|
4215
|
-
attachedFilesMetadata?: FileMetadata[];
|
4216
3359
|
}
|
4217
3360
|
|
4218
3361
|
/**
|
@@ -4226,7 +3369,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
4226
3369
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
4227
3370
|
clientMessageId?: string;
|
4228
3371
|
status: MessageStatus;
|
4229
|
-
policyViolation?: boolean;
|
4230
3372
|
};
|
4231
3373
|
|
4232
3374
|
/**
|
@@ -4246,26 +3388,6 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
4246
3388
|
*/
|
4247
3389
|
export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
|
4248
3390
|
|
4249
|
-
/**
|
4250
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4251
|
-
*
|
4252
|
-
* @beta
|
4253
|
-
*/
|
4254
|
-
export declare interface ChatTheme {
|
4255
|
-
/**
|
4256
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4257
|
-
*
|
4258
|
-
* @beta
|
4259
|
-
*/
|
4260
|
-
chatPalette: {
|
4261
|
-
modalOverlayBlack: string;
|
4262
|
-
modalTitleWhite: string;
|
4263
|
-
modalButtonBackground: string;
|
4264
|
-
modalButtonBackgroundHover: string;
|
4265
|
-
modalButtonBackgroundActive: string;
|
4266
|
-
};
|
4267
|
-
}
|
4268
|
-
|
4269
3391
|
/**
|
4270
3392
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
4271
3393
|
*
|
@@ -4391,12 +3513,6 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
4391
3513
|
* @public
|
4392
3514
|
*/
|
4393
3515
|
startCall(participants: string[], options?: StartCallOptions): void;
|
4394
|
-
/**
|
4395
|
-
* Start the call.
|
4396
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
4397
|
-
* @beta
|
4398
|
-
*/
|
4399
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
4400
3516
|
}
|
4401
3517
|
|
4402
3518
|
/**
|
@@ -4412,12 +3528,6 @@ export declare type CommonCallAdapterOptions = {
|
|
4412
3528
|
videoBackgroundImages?: VideoBackgroundImage[];
|
4413
3529
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
4414
3530
|
};
|
4415
|
-
/**
|
4416
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4417
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4418
|
-
* and would not be updated again within the lifecycle of adapter.
|
4419
|
-
*/
|
4420
|
-
onFetchProfile?: OnFetchProfileCallback;
|
4421
3531
|
};
|
4422
3532
|
|
4423
3533
|
/**
|
@@ -4440,9 +3550,7 @@ export declare type CommonCallControlOptions = {
|
|
4440
3550
|
* Show or Hide Camera Button during a call
|
4441
3551
|
* @defaultValue true
|
4442
3552
|
*/
|
4443
|
-
cameraButton?: boolean
|
4444
|
-
disabled: boolean;
|
4445
|
-
};
|
3553
|
+
cameraButton?: boolean;
|
4446
3554
|
/**
|
4447
3555
|
* Show or Hide EndCall button during a call.
|
4448
3556
|
* @defaultValue true
|
@@ -4452,16 +3560,12 @@ export declare type CommonCallControlOptions = {
|
|
4452
3560
|
* Show or Hide Microphone button during a call.
|
4453
3561
|
* @defaultValue true
|
4454
3562
|
*/
|
4455
|
-
microphoneButton?: boolean
|
4456
|
-
disabled: boolean;
|
4457
|
-
};
|
3563
|
+
microphoneButton?: boolean;
|
4458
3564
|
/**
|
4459
3565
|
* Show or Hide Devices button during a call.
|
4460
3566
|
* @defaultValue true
|
4461
3567
|
*/
|
4462
|
-
devicesButton?: boolean
|
4463
|
-
disabled: boolean;
|
4464
|
-
};
|
3568
|
+
devicesButton?: boolean;
|
4465
3569
|
/**
|
4466
3570
|
* Show, Hide or Disable participants button during a call.
|
4467
3571
|
* @defaultValue true
|
@@ -4490,20 +3594,13 @@ export declare type CommonCallControlOptions = {
|
|
4490
3594
|
};
|
4491
3595
|
/**
|
4492
3596
|
* Inject custom buttons in the call controls.
|
4493
|
-
*
|
4494
|
-
* @beta
|
4495
3597
|
*/
|
4496
3598
|
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4497
|
-
holdButton?: boolean | {
|
4498
|
-
disabled: boolean;
|
4499
|
-
};
|
4500
3599
|
/**
|
4501
3600
|
* Show or hide the people button in the composite control bar.
|
4502
3601
|
* @defaultValue true
|
4503
3602
|
*/
|
4504
|
-
peopleButton?: boolean
|
4505
|
-
disabled: boolean;
|
4506
|
-
};
|
3603
|
+
peopleButton?: boolean;
|
4507
3604
|
};
|
4508
3605
|
|
4509
3606
|
/**
|
@@ -4528,9 +3625,6 @@ export declare interface CommonCallingHandlers {
|
|
4528
3625
|
onRaiseHand: () => Promise<void>;
|
4529
3626
|
onLowerHand: () => Promise<void>;
|
4530
3627
|
onToggleRaiseHand: () => Promise<void>;
|
4531
|
-
onToggleHold: () => Promise<void>;
|
4532
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4533
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4534
3628
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4535
3629
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4536
3630
|
/**
|
@@ -4540,10 +3634,7 @@ export declare interface CommonCallingHandlers {
|
|
4540
3634
|
onDisposeLocalStreamView: () => Promise<void>;
|
4541
3635
|
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
4542
3636
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4543
|
-
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4544
3637
|
onRemoveParticipant(userId: string): Promise<void>;
|
4545
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4546
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4547
3638
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
4548
3639
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4549
3640
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -4563,39 +3654,6 @@ export declare type CommonProperties<A, B> = {
|
|
4563
3654
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4564
3655
|
}[keyof A & keyof B];
|
4565
3656
|
|
4566
|
-
/**
|
4567
|
-
* @beta
|
4568
|
-
* Props for SitePermissions components.
|
4569
|
-
*/
|
4570
|
-
export declare interface CommonSitePermissionsProps {
|
4571
|
-
/**
|
4572
|
-
* Name of application calling experience is in.
|
4573
|
-
*/
|
4574
|
-
appName: string;
|
4575
|
-
/**
|
4576
|
-
* Kind of the Site Permissions component.
|
4577
|
-
*/
|
4578
|
-
kind: 'request' | 'denied' | 'check';
|
4579
|
-
/**
|
4580
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4581
|
-
*/
|
4582
|
-
browserHint?: 'safari' | 'unset';
|
4583
|
-
/**
|
4584
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4585
|
-
* If this is not provided the button will not be shown.
|
4586
|
-
*/
|
4587
|
-
onTroubleshootingClick?: () => void;
|
4588
|
-
/**
|
4589
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4590
|
-
* If this is not provided the button will not be shown.
|
4591
|
-
*/
|
4592
|
-
onContinueAnywayClick?: () => void;
|
4593
|
-
/**
|
4594
|
-
* Styles for SitePermissions component.
|
4595
|
-
*/
|
4596
|
-
styles?: SitePermissionsStyles;
|
4597
|
-
}
|
4598
|
-
|
4599
3657
|
/**
|
4600
3658
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4601
3659
|
*
|
@@ -4772,11 +3830,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4772
3830
|
export declare interface ComponentLocale {
|
4773
3831
|
/** Strings for components */
|
4774
3832
|
strings: ComponentStrings;
|
4775
|
-
/**
|
4776
|
-
* Optional function to provide customized date format.
|
4777
|
-
* @beta
|
4778
|
-
*/
|
4779
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4780
3833
|
}
|
4781
3834
|
|
4782
3835
|
/**
|
@@ -4822,62 +3875,16 @@ export declare interface ComponentStrings {
|
|
4822
3875
|
typingIndicator: TypingIndicatorStrings;
|
4823
3876
|
/** Strings for SendBox */
|
4824
3877
|
sendBox: SendBoxStrings;
|
4825
|
-
/** Strings for MentionPopover */
|
4826
|
-
mentionPopover: MentionPopoverStrings;
|
4827
|
-
/** Strings for ImageGallery */
|
4828
|
-
imageGallery: ImageGalleryStrings;
|
4829
3878
|
/** Strings for MessageStatusIndicator */
|
4830
3879
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
4831
3880
|
/** Strings for ErroBar */
|
4832
3881
|
errorBar: ErrorBarStrings;
|
4833
3882
|
/** Strings for VideoGallery */
|
4834
3883
|
videoGallery: VideoGalleryStrings;
|
4835
|
-
/** Strings for Dialpad */
|
4836
|
-
dialpad: DialpadStrings;
|
4837
|
-
/** Strings for VideoTile */
|
4838
|
-
videoTile: VideoTileStrings;
|
4839
|
-
/** Strings for HoldButton */
|
4840
|
-
holdButton: HoldButtonStrings;
|
4841
|
-
/** Strings for a site's permission request prompt */
|
4842
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4843
|
-
/** Strings for a site's permission request prompt */
|
4844
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4845
|
-
/** Strings for a site's permission request prompt */
|
4846
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4847
|
-
/** Strings for a site's permission generic checking prompt */
|
4848
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4849
|
-
/** Strings for a site's permission generic checking prompt */
|
4850
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4851
|
-
/** Strings for a site's permission generic checking prompt */
|
4852
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4853
|
-
/** Strings for a site's permission denied prompt */
|
4854
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4855
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4856
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4857
|
-
/** Strings for a site's permission denied prompt */
|
4858
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4859
|
-
/** Strings for a site's permission denied prompt */
|
4860
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4861
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4862
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4863
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4864
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4865
|
-
/** Strings for unsupported browser UI */
|
4866
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4867
|
-
/** Strings for unsupported browser version UI */
|
4868
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4869
|
-
/** Strings for unsupported browser version UI */
|
4870
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4871
|
-
/** Strings for BrowserPemissionDenied */
|
4872
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4873
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
4874
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4875
3884
|
/**
|
4876
3885
|
* Strings for the VerticalGallery.
|
4877
3886
|
*/
|
4878
3887
|
verticalGallery: VerticalGalleryStrings;
|
4879
|
-
/** Strings for the participant list component */
|
4880
|
-
ParticipantList: ParticipantListStrings;
|
4881
3888
|
}
|
4882
3889
|
|
4883
3890
|
/**
|
@@ -5125,6 +4132,12 @@ export declare interface ControlBarButtonProps extends IButtonProps {
|
|
5125
4132
|
* Key to use for the Label component
|
5126
4133
|
*/
|
5127
4134
|
labelKey?: string;
|
4135
|
+
/**
|
4136
|
+
* Disable tooltip.
|
4137
|
+
*
|
4138
|
+
* @defaultValue 'false'
|
4139
|
+
*/
|
4140
|
+
disableTooltip?: boolean;
|
5128
4141
|
/**
|
5129
4142
|
* Id to use for the tooltip host.
|
5130
4143
|
*
|
@@ -5234,7 +4247,7 @@ export declare interface ControlBarProps {
|
|
5234
4247
|
*
|
5235
4248
|
* @public
|
5236
4249
|
*/
|
5237
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator,
|
4250
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
5238
4251
|
|
5239
4252
|
/**
|
5240
4253
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -5252,7 +4265,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
5252
4265
|
*
|
5253
4266
|
* @public
|
5254
4267
|
*/
|
5255
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator,
|
4268
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5256
4269
|
|
5257
4270
|
/**
|
5258
4271
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -5263,7 +4276,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
5263
4276
|
*
|
5264
4277
|
* @public
|
5265
4278
|
*/
|
5266
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions
|
4279
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
5267
4280
|
|
5268
4281
|
/**
|
5269
4282
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -5282,9 +4295,7 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
5282
4295
|
*
|
5283
4296
|
* @public
|
5284
4297
|
*/
|
5285
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
5286
|
-
credential?: CommunicationTokenCredential;
|
5287
|
-
}): Promise<ChatAdapter>;
|
4298
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
|
5288
4299
|
|
5289
4300
|
/**
|
5290
4301
|
* Type of {@link createDefaultCallingHandlers}.
|
@@ -5315,18 +4326,6 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
5315
4326
|
*/
|
5316
4327
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
5317
4328
|
|
5318
|
-
/**
|
5319
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5320
|
-
*
|
5321
|
-
* Useful when implementing a custom component that utilizes the providers
|
5322
|
-
* exported from this library.
|
5323
|
-
*
|
5324
|
-
* @beta
|
5325
|
-
*/
|
5326
|
-
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?: {
|
5327
|
-
onResolveVideoBackgroundEffectsDependency?: (() => Promise<VideoBackgroundEffectsDependency>) | undefined;
|
5328
|
-
} | undefined) => never | TeamsCallingHandlers;
|
5329
|
-
|
5330
4329
|
/**
|
5331
4330
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
5332
4331
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -5352,21 +4351,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
5352
4351
|
*/
|
5353
4352
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
5354
4353
|
|
5355
|
-
/**
|
5356
|
-
* @beta
|
5357
|
-
*/
|
5358
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5359
|
-
|
5360
|
-
/**
|
5361
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5362
|
-
*
|
5363
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5364
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5365
|
-
*
|
5366
|
-
* @beta
|
5367
|
-
*/
|
5368
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
|
5369
|
-
|
5370
4354
|
/**
|
5371
4355
|
* Object returned after creating a local or remote VideoStream.
|
5372
4356
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -5417,13 +4401,6 @@ export declare type CustomAvatarOptions = {
|
|
5417
4401
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
5418
4402
|
/** Display name to be used in Persona */
|
5419
4403
|
text?: string;
|
5420
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5421
|
-
participantState?: ParticipantState;
|
5422
|
-
/**
|
5423
|
-
* If true, show the special coin for unknown persona.
|
5424
|
-
* It has '?' in place of initials, with static font and background colors
|
5425
|
-
*/
|
5426
|
-
showUnknownPersonaCoin?: boolean;
|
5427
4404
|
};
|
5428
4405
|
|
5429
4406
|
/**
|
@@ -5549,19 +4526,7 @@ export declare interface CustomMessage extends MessageCommon {
|
|
5549
4526
|
*
|
5550
4527
|
* @public
|
5551
4528
|
*/
|
5552
|
-
export declare const darkTheme: PartialTheme & CallingTheme
|
5553
|
-
|
5554
|
-
/**
|
5555
|
-
* @beta
|
5556
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5557
|
-
*/
|
5558
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
5559
|
-
|
5560
|
-
/**
|
5561
|
-
* @beta
|
5562
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5563
|
-
*/
|
5564
|
-
export declare type DeclarativeIncomingCall = IncomingCall;
|
4529
|
+
export declare const darkTheme: PartialTheme & CallingTheme;
|
5565
4530
|
|
5566
4531
|
/**
|
5567
4532
|
* The default set of icons that are available to use in the UI components.
|
@@ -5579,16 +4544,12 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5579
4544
|
ControlButtonMicOn: React_2.JSX.Element;
|
5580
4545
|
ControlButtonOptions: React_2.JSX.Element;
|
5581
4546
|
ControlButtonParticipants: React_2.JSX.Element;
|
5582
|
-
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
5583
4547
|
ControlButtonScreenShareStart: React_2.JSX.Element;
|
5584
4548
|
ControlButtonScreenShareStop: React_2.JSX.Element;
|
5585
4549
|
ControlButtonRaiseHand: React_2.JSX.Element;
|
5586
4550
|
ControlButtonLowerHand: React_2.JSX.Element;
|
5587
4551
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
5588
4552
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
5589
|
-
CancelFileUpload: React_2.JSX.Element;
|
5590
|
-
DownloadFile: React_2.JSX.Element;
|
5591
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
5592
4553
|
EditBoxCancel: React_2.JSX.Element;
|
5593
4554
|
EditBoxSubmit: React_2.JSX.Element;
|
5594
4555
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -5621,20 +4582,9 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5621
4582
|
ParticipantItemOptions: React_2.JSX.Element;
|
5622
4583
|
ParticipantItemOptionsHovered: React_2.JSX.Element;
|
5623
4584
|
ParticipantItemScreenShareStart: React_2.JSX.Element;
|
5624
|
-
HoldCallContextualMenuItem: React_2.JSX.Element;
|
5625
|
-
HoldCallButton: React_2.JSX.Element;
|
5626
|
-
ResumeCall: React_2.JSX.Element;
|
5627
4585
|
SendBoxSend: React_2.JSX.Element;
|
5628
4586
|
SendBoxSendHovered: React_2.JSX.Element;
|
5629
4587
|
VideoTileMicOff: React_2.JSX.Element;
|
5630
|
-
DialpadBackspace: React_2.JSX.Element;
|
5631
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
5632
|
-
SitePermissionCamera: React_2.JSX.Element;
|
5633
|
-
SitePermissionMic: React_2.JSX.Element;
|
5634
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
5635
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
5636
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
5637
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
5638
4588
|
VideoTilePinned: React_2.JSX.Element;
|
5639
4589
|
VideoTileMoreOptions: React_2.JSX.Element;
|
5640
4590
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -5677,7 +4627,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5677
4627
|
ParticipantItemOptionsHovered: JSX.Element | React_2.JSX.Element;
|
5678
4628
|
SendBoxSend: JSX.Element | React_2.JSX.Element;
|
5679
4629
|
SendBoxSendHovered: JSX.Element | React_2.JSX.Element;
|
5680
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5681
4630
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
5682
4631
|
ControlButtonCameraOff: JSX.Element | React_2.JSX.Element;
|
5683
4632
|
ControlButtonCameraOn: JSX.Element | React_2.JSX.Element;
|
@@ -5727,10 +4676,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5727
4676
|
ParticipantItemScreenShareStart: JSX.Element | React_2.JSX.Element;
|
5728
4677
|
VideoTileMicOff: JSX.Element | React_2.JSX.Element;
|
5729
4678
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5730
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5731
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5732
|
-
DialpadStartCall?: JSX.Element | undefined;
|
5733
|
-
NoticePageAccessDeniedRoomsCall?: JSX.Element | undefined;
|
5734
4679
|
BlurVideoBackground?: JSX.Element | undefined;
|
5735
4680
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
5736
4681
|
GalleryOptions?: JSX.Element | undefined;
|
@@ -5750,25 +4695,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5750
4695
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5751
4696
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5752
4697
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
4698
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
5753
4699
|
ChatMessageOptions: React_2.JSX.Element;
|
5754
|
-
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
5755
|
-
CancelFileUpload: React_2.JSX.Element;
|
5756
|
-
DownloadFile: React_2.JSX.Element;
|
5757
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
5758
4700
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
5759
4701
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
5760
4702
|
MessageResend: React_2.JSX.Element;
|
5761
|
-
HoldCallContextualMenuItem: React_2.JSX.Element;
|
5762
|
-
HoldCallButton: React_2.JSX.Element;
|
5763
|
-
ResumeCall: React_2.JSX.Element;
|
5764
|
-
DialpadBackspace: React_2.JSX.Element;
|
5765
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
5766
|
-
SitePermissionCamera: React_2.JSX.Element;
|
5767
|
-
SitePermissionMic: React_2.JSX.Element;
|
5768
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
5769
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
5770
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
5771
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
5772
4703
|
VideoTilePinned: React_2.JSX.Element;
|
5773
4704
|
VideoTileMoreOptions: React_2.JSX.Element;
|
5774
4705
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -5793,29 +4724,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5793
4724
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
5794
4725
|
};
|
5795
4726
|
|
5796
|
-
/**
|
5797
|
-
* Device Checks.
|
5798
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5799
|
-
*
|
5800
|
-
* @beta
|
5801
|
-
*/
|
5802
|
-
export declare interface DeviceCheckOptions {
|
5803
|
-
/**
|
5804
|
-
* Camera Permission prompts for your call.
|
5805
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5806
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5807
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5808
|
-
*/
|
5809
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
5810
|
-
/**
|
5811
|
-
* Microphone permission prompts for your call.
|
5812
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5813
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5814
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5815
|
-
*/
|
5816
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5817
|
-
}
|
5818
|
-
|
5819
4727
|
/**
|
5820
4728
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
5821
4729
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -6034,60 +4942,6 @@ export declare interface DiagnosticsCallFeatureState {
|
|
6034
4942
|
media: MediaDiagnosticsState;
|
6035
4943
|
}
|
6036
4944
|
|
6037
|
-
/**
|
6038
|
-
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
6039
|
-
* It will return empty component for stable builds
|
6040
|
-
*
|
6041
|
-
* @beta
|
6042
|
-
*/
|
6043
|
-
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
6044
|
-
|
6045
|
-
/**
|
6046
|
-
* Props for {@link Dialpad} component.
|
6047
|
-
*
|
6048
|
-
* @beta
|
6049
|
-
*/
|
6050
|
-
export declare interface DialpadProps {
|
6051
|
-
strings?: DialpadStrings;
|
6052
|
-
/** function to send dtmf tones on button click */
|
6053
|
-
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
6054
|
-
/** Callback for dialpad button behavior*/
|
6055
|
-
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
6056
|
-
/** set dialpad textfield content */
|
6057
|
-
textFieldValue?: string;
|
6058
|
-
/** on change function for text field, provides an unformatted plain text*/
|
6059
|
-
onChange?: (input: string) => void;
|
6060
|
-
/** boolean input to determine when to show/hide delete button, default true */
|
6061
|
-
showDeleteButton?: boolean;
|
6062
|
-
/** boolean input to determine if dialpad is in mobile view, default false */
|
6063
|
-
isMobile?: boolean;
|
6064
|
-
styles?: DialpadStyles;
|
6065
|
-
}
|
6066
|
-
|
6067
|
-
/**
|
6068
|
-
* Strings of {@link Dialpad} that can be overridden.
|
6069
|
-
*
|
6070
|
-
* @beta
|
6071
|
-
*/
|
6072
|
-
export declare interface DialpadStrings {
|
6073
|
-
placeholderText: string;
|
6074
|
-
deleteButtonAriaLabel?: string;
|
6075
|
-
}
|
6076
|
-
|
6077
|
-
/**
|
6078
|
-
* Styles for {@link Dialpad} component.
|
6079
|
-
*
|
6080
|
-
* @beta
|
6081
|
-
*/
|
6082
|
-
export declare interface DialpadStyles {
|
6083
|
-
root?: IStyle;
|
6084
|
-
button?: IButtonStyles;
|
6085
|
-
textField?: Partial<ITextFieldStyles>;
|
6086
|
-
digit?: IStyle;
|
6087
|
-
letter?: IStyle;
|
6088
|
-
deleteIcon?: IButtonStyles;
|
6089
|
-
}
|
6090
|
-
|
6091
4945
|
/**
|
6092
4946
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
6093
4947
|
*
|
@@ -6108,13 +4962,6 @@ export declare interface Disposable {
|
|
6108
4962
|
dispose(): void;
|
6109
4963
|
}
|
6110
4964
|
|
6111
|
-
/**
|
6112
|
-
* DTMF tone for PSTN calls.
|
6113
|
-
*
|
6114
|
-
* @beta
|
6115
|
-
*/
|
6116
|
-
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
6117
|
-
|
6118
4965
|
/**
|
6119
4966
|
* A type for trivial selectors that return no data.
|
6120
4967
|
*
|
@@ -6368,199 +5215,6 @@ export declare interface ErrorBarStrings {
|
|
6368
5215
|
*/
|
6369
5216
|
export declare type ErrorType = keyof ErrorBarStrings;
|
6370
5217
|
|
6371
|
-
/**
|
6372
|
-
* @beta
|
6373
|
-
* A file download error returned via a {@link FileDownloadHandler}.
|
6374
|
-
* This error message is used to render an error message in the UI.
|
6375
|
-
*/
|
6376
|
-
export declare interface FileDownloadError {
|
6377
|
-
/** The error message to display in the UI */
|
6378
|
-
errorMessage: string;
|
6379
|
-
}
|
6380
|
-
|
6381
|
-
/**
|
6382
|
-
* @beta
|
6383
|
-
*
|
6384
|
-
* A callback function for handling file downloads.
|
6385
|
-
* The function needs to return a promise that resolves to a file download URL.
|
6386
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6387
|
-
*
|
6388
|
-
* @example
|
6389
|
-
* ```ts
|
6390
|
-
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6391
|
-
* if (isUnauthorizedUser(userId)) {
|
6392
|
-
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6393
|
-
* } else {
|
6394
|
-
* return new URL(fileData.url);
|
6395
|
-
* }
|
6396
|
-
* }
|
6397
|
-
*
|
6398
|
-
* const App = () => (
|
6399
|
-
* <ChatComposite
|
6400
|
-
* ...
|
6401
|
-
* fileSharing={{
|
6402
|
-
* fileDownloadHandler: fileDownloadHandler
|
6403
|
-
* }}
|
6404
|
-
* />
|
6405
|
-
* )
|
6406
|
-
*
|
6407
|
-
* ```
|
6408
|
-
* @param userId - The user ID of the user downloading the file.
|
6409
|
-
* @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
|
6410
|
-
*/
|
6411
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
|
6412
|
-
|
6413
|
-
/**
|
6414
|
-
* Meta Data containing information about the uploaded file.
|
6415
|
-
* @beta
|
6416
|
-
*/
|
6417
|
-
export declare type FileMetadata = FileSharingMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ ImageFileMetadata;
|
6418
|
-
|
6419
|
-
/**
|
6420
|
-
* @beta
|
6421
|
-
*/
|
6422
|
-
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
|
6423
|
-
|
6424
|
-
/**
|
6425
|
-
* Meta Data containing basic information about the uploaded file.
|
6426
|
-
* Typically used for ACS to ACS file transfers.
|
6427
|
-
* @beta
|
6428
|
-
*/
|
6429
|
-
export declare interface FileSharingMetadata extends BaseFileMetadata {
|
6430
|
-
attachmentType: 'fileSharing';
|
6431
|
-
payload?: Record<string, string>;
|
6432
|
-
}
|
6433
|
-
|
6434
|
-
/**
|
6435
|
-
* Properties for configuring the File Sharing feature.
|
6436
|
-
* @beta
|
6437
|
-
*/
|
6438
|
-
export declare interface FileSharingOptions {
|
6439
|
-
/**
|
6440
|
-
* A string containing the comma separated list of accepted file types.
|
6441
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6442
|
-
* Accepts any type of file if not specified.
|
6443
|
-
* @beta
|
6444
|
-
*/
|
6445
|
-
accept?: string;
|
6446
|
-
/**
|
6447
|
-
* Allows multiple files to be selected if set to `true`.
|
6448
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6449
|
-
* @defaultValue false
|
6450
|
-
* @beta
|
6451
|
-
*/
|
6452
|
-
multiple?: boolean;
|
6453
|
-
/**
|
6454
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6455
|
-
* @beta
|
6456
|
-
*/
|
6457
|
-
uploadHandler: FileUploadHandler;
|
6458
|
-
/**
|
6459
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6460
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6461
|
-
* initiate the download.
|
6462
|
-
*/
|
6463
|
-
downloadHandler?: FileDownloadHandler;
|
6464
|
-
}
|
6465
|
-
|
6466
|
-
/**
|
6467
|
-
* @beta
|
6468
|
-
*/
|
6469
|
-
export declare interface FileUploadAdapter {
|
6470
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6471
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
6472
|
-
clearFileUploads: () => void;
|
6473
|
-
cancelFileUpload: (id: string) => void;
|
6474
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
6475
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6476
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
6477
|
-
}
|
6478
|
-
|
6479
|
-
/**
|
6480
|
-
* @beta
|
6481
|
-
* Error message to be displayed to the user if the upload fails.
|
6482
|
-
*/
|
6483
|
-
export declare type FileUploadError = {
|
6484
|
-
message: string;
|
6485
|
-
timestamp: number;
|
6486
|
-
};
|
6487
|
-
|
6488
|
-
/**
|
6489
|
-
* @beta
|
6490
|
-
* A callback function for handling file uploads.
|
6491
|
-
*
|
6492
|
-
* @param userId - The user ID of the user uploading the file.
|
6493
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6494
|
-
*/
|
6495
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6496
|
-
|
6497
|
-
/**
|
6498
|
-
* A wrapper object for a file that is being uploaded.
|
6499
|
-
* Allows mmanaging file uploads by providing common functions for updating the
|
6500
|
-
* upload progress, canceling an upload, completing an upload etc.
|
6501
|
-
* @beta
|
6502
|
-
*/
|
6503
|
-
export declare interface FileUploadManager {
|
6504
|
-
/**
|
6505
|
-
* Unique identifier for the file upload.
|
6506
|
-
*/
|
6507
|
-
id: string;
|
6508
|
-
/**
|
6509
|
-
* HTML {@link File} object for the uploaded file.
|
6510
|
-
*/
|
6511
|
-
file?: File;
|
6512
|
-
/**
|
6513
|
-
* Update the progress of the upload.
|
6514
|
-
* @param value - number between 0 and 1
|
6515
|
-
*/
|
6516
|
-
notifyUploadProgressChanged: (value: number) => void;
|
6517
|
-
/**
|
6518
|
-
* Mark the upload as complete.
|
6519
|
-
* Requires the `metadata` param containing uploaded file information.
|
6520
|
-
* @param metadata - {@link FileMetadata}
|
6521
|
-
*/
|
6522
|
-
notifyUploadCompleted: (metadata: FileMetadata) => void;
|
6523
|
-
/**
|
6524
|
-
* Mark the upload as failed.
|
6525
|
-
* @param message - An error message that can be displayed to the user.
|
6526
|
-
*/
|
6527
|
-
notifyUploadFailed: (message: string) => void;
|
6528
|
-
}
|
6529
|
-
|
6530
|
-
/**
|
6531
|
-
* Contains the state attibutes of a file upload like name, progress etc.
|
6532
|
-
* @beta
|
6533
|
-
*/
|
6534
|
-
export declare interface FileUploadState {
|
6535
|
-
/**
|
6536
|
-
* Unique identifier for the file upload.
|
6537
|
-
*/
|
6538
|
-
id: string;
|
6539
|
-
/**
|
6540
|
-
* Filename extracted from the {@link File} object.
|
6541
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
6542
|
-
*/
|
6543
|
-
filename: string;
|
6544
|
-
/**
|
6545
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
6546
|
-
*/
|
6547
|
-
progress: number;
|
6548
|
-
/**
|
6549
|
-
* Meta Data {@link FileMetadata} containing information about the uploaded file.
|
6550
|
-
*/
|
6551
|
-
metadata?: FileMetadata;
|
6552
|
-
/**
|
6553
|
-
* Error message to be displayed to the user if the upload fails.
|
6554
|
-
*/
|
6555
|
-
error?: FileUploadError;
|
6556
|
-
}
|
6557
|
-
|
6558
|
-
/**
|
6559
|
-
* A record containing {@link FileUploadState} mapped to unique ids.
|
6560
|
-
* @beta
|
6561
|
-
*/
|
6562
|
-
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
6563
|
-
|
6564
5218
|
/**
|
6565
5219
|
* Provider to apply a Fluent theme across this library's react components.
|
6566
5220
|
*
|
@@ -6600,7 +5254,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
6600
5254
|
*
|
6601
5255
|
* @public
|
6602
5256
|
*/
|
6603
|
-
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 :
|
5257
|
+
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : undefined;
|
6604
5258
|
|
6605
5259
|
/**
|
6606
5260
|
* Get the selector for a specified component.
|
@@ -6662,63 +5316,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
6662
5316
|
children?: IStyle;
|
6663
5317
|
}
|
6664
5318
|
|
6665
|
-
/**
|
6666
|
-
* a button to hold or resume a ongoing call.
|
6667
|
-
*
|
6668
|
-
* Can be used with {@link ControlBar}
|
6669
|
-
*
|
6670
|
-
* @param props - properties for the hold button.
|
6671
|
-
* @returns
|
6672
|
-
* @beta
|
6673
|
-
*/
|
6674
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6675
|
-
|
6676
|
-
/**
|
6677
|
-
*@beta
|
6678
|
-
*/
|
6679
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6680
|
-
/**
|
6681
|
-
* Utility property for using this component with communication react handlers
|
6682
|
-
* Holds the call or resumes it based on call state.
|
6683
|
-
*/
|
6684
|
-
onToggleHold: () => Promise<void>;
|
6685
|
-
/**
|
6686
|
-
* Optional strings to override in component
|
6687
|
-
*/
|
6688
|
-
strings?: HoldButtonStrings;
|
6689
|
-
}
|
6690
|
-
|
6691
|
-
/**
|
6692
|
-
* Selector type for the {@link HoldButton} component.
|
6693
|
-
* @public
|
6694
|
-
*/
|
6695
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6696
|
-
checked: boolean;
|
6697
|
-
};
|
6698
|
-
|
6699
|
-
/**
|
6700
|
-
* Strings for the hold button labels
|
6701
|
-
* @beta
|
6702
|
-
*/
|
6703
|
-
export declare interface HoldButtonStrings {
|
6704
|
-
/**
|
6705
|
-
* Label for when action is to resume call.
|
6706
|
-
*/
|
6707
|
-
onLabel: string;
|
6708
|
-
/**
|
6709
|
-
* Label for when action is to hold call.
|
6710
|
-
*/
|
6711
|
-
offLabel: string;
|
6712
|
-
/**
|
6713
|
-
* Content for when button is checked
|
6714
|
-
*/
|
6715
|
-
tooltipOnContent: string;
|
6716
|
-
/**
|
6717
|
-
* Content for when button is unchecked
|
6718
|
-
*/
|
6719
|
-
tooltipOffContent: string;
|
6720
|
-
}
|
6721
|
-
|
6722
5319
|
/**
|
6723
5320
|
* {@link HorizontalGallery} Component Styles.
|
6724
5321
|
* @public
|
@@ -6803,108 +5400,8 @@ export declare interface _Identifiers {
|
|
6803
5400
|
verticalGalleryVideoTile: string;
|
6804
5401
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6805
5402
|
verticalGalleryPageCounter: string;
|
6806
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
6807
|
-
mentionSuggestionList: string;
|
6808
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
6809
|
-
mentionSuggestionItem: string;
|
6810
|
-
}
|
6811
|
-
|
6812
|
-
/**
|
6813
|
-
* Meta Data containing data for images.
|
6814
|
-
* @beta
|
6815
|
-
*/
|
6816
|
-
export declare interface ImageFileMetadata extends BaseFileMetadata {
|
6817
|
-
attachmentType: 'inlineImage';
|
6818
|
-
previewUrl?: string;
|
6819
5403
|
}
|
6820
5404
|
|
6821
|
-
/**
|
6822
|
-
* Component to render a fullscreen modal for a selected image.
|
6823
|
-
*
|
6824
|
-
* @beta
|
6825
|
-
*/
|
6826
|
-
export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
|
6827
|
-
|
6828
|
-
/**
|
6829
|
-
* Props for {@link ImageGallery}.
|
6830
|
-
*
|
6831
|
-
* @beta
|
6832
|
-
*/
|
6833
|
-
export declare interface ImageGalleryImageProps {
|
6834
|
-
/** Image Url used to display the image in a large scale. */
|
6835
|
-
imageUrl: string;
|
6836
|
-
/** String used as a file name when downloading this image to user's local device. */
|
6837
|
-
downloadFilename: string;
|
6838
|
-
/** Optional string used as a alt text for the image. @default 'image' */
|
6839
|
-
altText?: string;
|
6840
|
-
/** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
|
6841
|
-
title?: string;
|
6842
|
-
/** Optional JSX element used as a title icon and displayed to the left of the title element. */
|
6843
|
-
titleIcon?: JSX.Element;
|
6844
|
-
}
|
6845
|
-
|
6846
|
-
/**
|
6847
|
-
* Props for {@link ImageGallery}.
|
6848
|
-
*
|
6849
|
-
* @beta
|
6850
|
-
*/
|
6851
|
-
export declare interface ImageGalleryProps {
|
6852
|
-
/**
|
6853
|
-
* Boolean that controls whether the modal is displayed.
|
6854
|
-
*/
|
6855
|
-
isOpen: boolean;
|
6856
|
-
/**
|
6857
|
-
* Array of images used to populate the ImageGallery
|
6858
|
-
*/
|
6859
|
-
images: Array<ImageGalleryImageProps>;
|
6860
|
-
/**
|
6861
|
-
* Callback to invoke when the ImageGallery modal is dismissed
|
6862
|
-
*/
|
6863
|
-
onDismiss: () => void;
|
6864
|
-
/**
|
6865
|
-
* Callback called when the download button is clicked.
|
6866
|
-
*/
|
6867
|
-
onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
|
6868
|
-
/**
|
6869
|
-
* Callback called when there's an error loading the image.
|
6870
|
-
*/
|
6871
|
-
onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
|
6872
|
-
/**
|
6873
|
-
* Indicating which index of the images array to start with.
|
6874
|
-
*/
|
6875
|
-
startIndex?: number;
|
6876
|
-
}
|
6877
|
-
|
6878
|
-
/**
|
6879
|
-
* Strings of {@link ImageGallery} that can be overridden.
|
6880
|
-
*
|
6881
|
-
* @beta
|
6882
|
-
*/
|
6883
|
-
export declare interface ImageGalleryStrings {
|
6884
|
-
/**
|
6885
|
-
* Download button label for ImageGallery
|
6886
|
-
*/
|
6887
|
-
downloadButtonLabel: string;
|
6888
|
-
/**
|
6889
|
-
* Dismiss button aria label for ImageGallery
|
6890
|
-
*/
|
6891
|
-
dismissButtonAriaLabel: string;
|
6892
|
-
}
|
6893
|
-
|
6894
|
-
/**
|
6895
|
-
* @beta
|
6896
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
6897
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
6898
|
-
*/
|
6899
|
-
export declare type IncomingCallManagement = {
|
6900
|
-
/**
|
6901
|
-
* @beta
|
6902
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
6903
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
6904
|
-
*/
|
6905
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
6906
|
-
};
|
6907
|
-
|
6908
5405
|
/**
|
6909
5406
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
6910
5407
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -7035,7 +5532,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
7035
5532
|
*
|
7036
5533
|
* @public
|
7037
5534
|
*/
|
7038
|
-
export declare const lightTheme: PartialTheme & CallingTheme
|
5535
|
+
export declare const lightTheme: PartialTheme & CallingTheme;
|
7039
5536
|
|
7040
5537
|
/**
|
7041
5538
|
* Whether the stream is loading or not.
|
@@ -7119,117 +5616,22 @@ export declare interface LocalVideoStreamVideoEffectsState {
|
|
7119
5616
|
activeEffects?: VideoEffectName[];
|
7120
5617
|
}
|
7121
5618
|
|
7122
|
-
/**
|
7123
|
-
* Options for the local video tile in the Call composite.
|
7124
|
-
*
|
7125
|
-
* @beta
|
7126
|
-
*/
|
7127
|
-
export declare interface LocalVideoTileOptions {
|
7128
|
-
/**
|
7129
|
-
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
7130
|
-
*
|
7131
|
-
* @defaultValue 'floating'
|
7132
|
-
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
7133
|
-
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
7134
|
-
* local video tile rules and be docked in the bottom corner.
|
7135
|
-
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
7136
|
-
*/
|
7137
|
-
position?: 'grid' | 'floating';
|
7138
|
-
}
|
7139
|
-
|
7140
|
-
/**
|
7141
|
-
* different modes of the local video tile
|
7142
|
-
*
|
7143
|
-
* @beta
|
7144
|
-
*/
|
7145
|
-
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
7146
|
-
|
7147
5619
|
/**
|
7148
5620
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
7149
5621
|
*
|
7150
|
-
* @public
|
7151
|
-
*/
|
7152
|
-
export declare type MediaDiagnosticChangedEvent = MediaDiagnosticChangedEventArgs & {
|
7153
|
-
type: 'media';
|
7154
|
-
};
|
7155
|
-
|
7156
|
-
/**
|
7157
|
-
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7158
|
-
*
|
7159
|
-
* @public
|
7160
|
-
*/
|
7161
|
-
export declare interface MediaDiagnosticsState {
|
7162
|
-
latest: LatestMediaDiagnostics;
|
7163
|
-
}
|
7164
|
-
|
7165
|
-
/**
|
7166
|
-
* Mention's state, as reflected in the UI.
|
7167
|
-
*
|
7168
|
-
* @beta
|
7169
|
-
*/
|
7170
|
-
export declare interface Mention {
|
7171
|
-
/** ID of a mention */
|
7172
|
-
id: string;
|
7173
|
-
/** Display text of a mention */
|
7174
|
-
displayText: string;
|
7175
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
7176
|
-
icon?: JSX.Element;
|
7177
|
-
}
|
7178
|
-
|
7179
|
-
/**
|
7180
|
-
* Options to display suggestions in the mention scenario.
|
7181
|
-
*
|
7182
|
-
* @beta
|
7183
|
-
*/
|
7184
|
-
export declare interface MentionDisplayOptions {
|
7185
|
-
/**
|
7186
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
7187
|
-
*/
|
7188
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7189
|
-
}
|
7190
|
-
|
7191
|
-
/**
|
7192
|
-
* Options to lookup suggestions in the mention scenario.
|
7193
|
-
*
|
7194
|
-
* @beta
|
7195
|
-
*/
|
7196
|
-
export declare interface MentionLookupOptions {
|
7197
|
-
/**
|
7198
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
7199
|
-
*
|
7200
|
-
* @defaultValue `@`
|
7201
|
-
*/
|
7202
|
-
trigger?: string;
|
7203
|
-
/**
|
7204
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
7205
|
-
*/
|
7206
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7207
|
-
/**
|
7208
|
-
* Optional callback to render an item of the mention suggestions list.
|
7209
|
-
*/
|
7210
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
7211
|
-
}
|
7212
|
-
|
7213
|
-
/**
|
7214
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
7215
|
-
*
|
7216
|
-
* @beta
|
5622
|
+
* @public
|
7217
5623
|
*/
|
7218
|
-
export declare type
|
7219
|
-
|
7220
|
-
displayOptions?: MentionDisplayOptions;
|
5624
|
+
export declare type MediaDiagnosticChangedEvent = MediaDiagnosticChangedEventArgs & {
|
5625
|
+
type: 'media';
|
7221
5626
|
};
|
7222
5627
|
|
7223
5628
|
/**
|
7224
|
-
*
|
5629
|
+
* State only proxy for {@link @azure/communication-calling#MediaDiagnostics}.
|
7225
5630
|
*
|
7226
|
-
* @
|
5631
|
+
* @public
|
7227
5632
|
*/
|
7228
|
-
export declare interface
|
7229
|
-
|
7230
|
-
* Header text for MentionPopover
|
7231
|
-
*/
|
7232
|
-
mentionPopoverHeader: string;
|
5633
|
+
export declare interface MediaDiagnosticsState {
|
5634
|
+
latest: LatestMediaDiagnostics;
|
7233
5635
|
}
|
7234
5636
|
|
7235
5637
|
/**
|
@@ -7239,7 +5641,7 @@ export declare interface MentionPopoverStrings {
|
|
7239
5641
|
*
|
7240
5642
|
* @public
|
7241
5643
|
*/
|
7242
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
5644
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7243
5645
|
|
7244
5646
|
/**
|
7245
5647
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -7459,7 +5861,7 @@ export declare type MessageThreadProps = {
|
|
7459
5861
|
/**
|
7460
5862
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
7461
5863
|
*/
|
7462
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
5864
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7463
5865
|
/**
|
7464
5866
|
* number of participants in the thread
|
7465
5867
|
*/
|
@@ -7541,17 +5943,6 @@ export declare type MessageThreadProps = {
|
|
7541
5943
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
7542
5944
|
*/
|
7543
5945
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7544
|
-
/**
|
7545
|
-
* Optional callback to render uploaded files in the message component.
|
7546
|
-
* @beta
|
7547
|
-
*/
|
7548
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7549
|
-
/**
|
7550
|
-
* Optional callback to retrieve the inline image in a message.
|
7551
|
-
* @param attachment - FileMetadata object we want to render
|
7552
|
-
* @beta
|
7553
|
-
*/
|
7554
|
-
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
7555
5946
|
/**
|
7556
5947
|
* Optional callback to edit a message.
|
7557
5948
|
*
|
@@ -7593,28 +5984,6 @@ export declare type MessageThreadProps = {
|
|
7593
5984
|
* Optional strings to override in component
|
7594
5985
|
*/
|
7595
5986
|
strings?: Partial<MessageThreadStrings>;
|
7596
|
-
/**
|
7597
|
-
* @beta
|
7598
|
-
* Optional function called when someone clicks on the file download icon.
|
7599
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7600
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
7601
|
-
*/
|
7602
|
-
fileDownloadHandler?: FileDownloadHandler;
|
7603
|
-
/**
|
7604
|
-
* Optional function to provide customized date format.
|
7605
|
-
* @beta
|
7606
|
-
*/
|
7607
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7608
|
-
/**
|
7609
|
-
* Optional props needed to lookup a mention query and display mentions
|
7610
|
-
* @beta
|
7611
|
-
*/
|
7612
|
-
mentionOptions?: MentionOptions;
|
7613
|
-
/**
|
7614
|
-
* Optional callback called when an inline image is clicked.
|
7615
|
-
* @beta
|
7616
|
-
*/
|
7617
|
-
onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
|
7618
5987
|
};
|
7619
5988
|
|
7620
5989
|
/**
|
@@ -7686,14 +6055,6 @@ export declare interface MessageThreadStrings {
|
|
7686
6055
|
editBoxSubmitButton: string;
|
7687
6056
|
/** String for action menu indicating there are more options */
|
7688
6057
|
actionMenuMoreOptions?: string;
|
7689
|
-
/** String for download file button in file card */
|
7690
|
-
downloadFile: string;
|
7691
|
-
/** String for policy violation message removal */
|
7692
|
-
blockedWarningText: string;
|
7693
|
-
/** String for policy violation message removal details link */
|
7694
|
-
blockedWarningLinkText: string;
|
7695
|
-
/** String for aria text in file attachment group*/
|
7696
|
-
fileCardGroupMessage: string;
|
7697
6058
|
}
|
7698
6059
|
|
7699
6060
|
/**
|
@@ -7721,7 +6082,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
7721
6082
|
/** Styles for system message container. */
|
7722
6083
|
systemMessageContainer?: ComponentSlotStyle;
|
7723
6084
|
/** Styles for blocked message container. */
|
7724
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
7725
6085
|
/** Styles for message status indicator container. */
|
7726
6086
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
7727
6087
|
}
|
@@ -7890,31 +6250,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
7890
6250
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
7891
6251
|
}
|
7892
6252
|
|
7893
|
-
/**
|
7894
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
7895
|
-
* by their browsers settings.
|
7896
|
-
*
|
7897
|
-
* @beta
|
7898
|
-
*/
|
7899
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
7900
|
-
|
7901
|
-
/**
|
7902
|
-
* @beta
|
7903
|
-
* Props for MicrophoneSitePermissions component.
|
7904
|
-
*/
|
7905
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
7906
|
-
/** Icon name for the microphone icon */
|
7907
|
-
microphoneIconName?: string;
|
7908
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
7909
|
-
strings?: MicrophoneSitePermissionsStrings;
|
7910
|
-
}
|
7911
|
-
|
7912
|
-
/**
|
7913
|
-
* @beta
|
7914
|
-
* Strings for MicrophoneSitePermissions component.
|
7915
|
-
*/
|
7916
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
7917
|
-
|
7918
6253
|
/**
|
7919
6254
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
7920
6255
|
*
|
@@ -7933,13 +6268,6 @@ export declare interface NetworkDiagnosticsState {
|
|
7933
6268
|
latest: LatestNetworkDiagnostics;
|
7934
6269
|
}
|
7935
6270
|
|
7936
|
-
/**
|
7937
|
-
* Callback function used to provide custom data to build profile for a user.
|
7938
|
-
*
|
7939
|
-
* @beta
|
7940
|
-
*/
|
7941
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
7942
|
-
|
7943
6271
|
/**
|
7944
6272
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
7945
6273
|
*
|
@@ -8062,14 +6390,6 @@ export declare interface ParticipantItemProps {
|
|
8062
6390
|
onClick?: (props?: ParticipantItemProps) => void;
|
8063
6391
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8064
6392
|
showParticipantOverflowTooltip?: boolean;
|
8065
|
-
/**
|
8066
|
-
* Optional value to determine and display a participants connection status.
|
8067
|
-
* For example, `Connecting`, `Ringing` etc.
|
8068
|
-
* The actual text that is displayed is determined by the localized string
|
8069
|
-
* corresponding to the provided participant state.
|
8070
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8071
|
-
*/
|
8072
|
-
participantState?: ParticipantState;
|
8073
6393
|
/**
|
8074
6394
|
* Optional aria property that prefixes the ParticipantItems aria content
|
8075
6395
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -8095,10 +6415,6 @@ export declare interface ParticipantItemStrings {
|
|
8095
6415
|
mutedIconLabel: string;
|
8096
6416
|
/** placeholder text for participants who does not have a display name*/
|
8097
6417
|
displayNamePlaceholder?: string;
|
8098
|
-
/** String shown when `participantState` is `Ringing` */
|
8099
|
-
participantStateRinging?: string;
|
8100
|
-
/** String shown when `participantState` is `Hold` */
|
8101
|
-
participantStateHold?: string;
|
8102
6418
|
}
|
8103
6419
|
|
8104
6420
|
/**
|
@@ -8178,10 +6494,6 @@ export declare type ParticipantListProps = {
|
|
8178
6494
|
styles?: ParticipantListStyles;
|
8179
6495
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8180
6496
|
showParticipantOverflowTooltip?: boolean;
|
8181
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8182
|
-
totalParticipantCount?: number;
|
8183
|
-
/** Strings for the participant list */
|
8184
|
-
strings?: ParticipantListStrings;
|
8185
6497
|
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
8186
6498
|
participantAriaLabelledBy?: string;
|
8187
6499
|
};
|
@@ -8194,21 +6506,8 @@ export declare type ParticipantListProps = {
|
|
8194
6506
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
8195
6507
|
participants: CallParticipantListParticipant[];
|
8196
6508
|
myUserId: string;
|
8197
|
-
totalParticipantCount?: number;
|
8198
6509
|
};
|
8199
6510
|
|
8200
|
-
/**
|
8201
|
-
* Strings for the {@link ParticipantList}.
|
8202
|
-
*
|
8203
|
-
* @beta
|
8204
|
-
*/
|
8205
|
-
export declare interface ParticipantListStrings {
|
8206
|
-
/**
|
8207
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
8208
|
-
*/
|
8209
|
-
overflowParticipantCount?: string;
|
8210
|
-
}
|
8211
|
-
|
8212
6511
|
/**
|
8213
6512
|
* Styles for the {@link ParticipantList}.
|
8214
6513
|
*
|
@@ -8425,18 +6724,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
8425
6724
|
*/
|
8426
6725
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
8427
6726
|
|
8428
|
-
/**
|
8429
|
-
* The profile of a user.
|
8430
|
-
*
|
8431
|
-
* @beta
|
8432
|
-
*/
|
8433
|
-
export declare type Profile = {
|
8434
|
-
/**
|
8435
|
-
* Primary text to display, usually the name of the person.
|
8436
|
-
*/
|
8437
|
-
displayName?: string;
|
8438
|
-
};
|
8439
|
-
|
8440
6727
|
/**
|
8441
6728
|
* Raised hand state with order
|
8442
6729
|
*
|
@@ -8589,10 +6876,6 @@ export declare interface RemoteParticipantState {
|
|
8589
6876
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
|
8590
6877
|
*/
|
8591
6878
|
isSpeaking: boolean;
|
8592
|
-
/**
|
8593
|
-
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
8594
|
-
*/
|
8595
|
-
role?: ParticipantRole;
|
8596
6879
|
/**
|
8597
6880
|
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
8598
6881
|
*/
|
@@ -8621,7 +6904,6 @@ export declare interface RemoteVideoStreamState {
|
|
8621
6904
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
8622
6905
|
* @beta
|
8623
6906
|
*/
|
8624
|
-
isReceiving: boolean;
|
8625
6907
|
/**
|
8626
6908
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
8627
6909
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -8721,19 +7003,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
8721
7003
|
*/
|
8722
7004
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
8723
7005
|
|
8724
|
-
/**
|
8725
|
-
* @beta
|
8726
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
8727
|
-
*/
|
8728
|
-
export declare interface SendBoxErrorBarError {
|
8729
|
-
/** Error Message to be displayed */
|
8730
|
-
message: string;
|
8731
|
-
/**
|
8732
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
8733
|
-
*/
|
8734
|
-
timestamp: number;
|
8735
|
-
}
|
8736
|
-
|
8737
7006
|
/**
|
8738
7007
|
* Props for {@link SendBox}.
|
8739
7008
|
*
|
@@ -8753,11 +7022,6 @@ export declare interface SendBoxProps {
|
|
8753
7022
|
* Optional override behavior on send button click
|
8754
7023
|
*/
|
8755
7024
|
onSendMessage?: (content: string) => Promise<void>;
|
8756
|
-
/**
|
8757
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
8758
|
-
* @beta
|
8759
|
-
*/
|
8760
|
-
mentionLookupOptions?: MentionLookupOptions;
|
8761
7025
|
/**
|
8762
7026
|
* Optional callback called when user is typing
|
8763
7027
|
*/
|
@@ -8794,25 +7058,6 @@ export declare interface SendBoxProps {
|
|
8794
7058
|
* When undefined nothing has focus on render
|
8795
7059
|
*/
|
8796
7060
|
autoFocus?: 'sendBoxTextField';
|
8797
|
-
/**
|
8798
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
8799
|
-
* vertically to accommodate the uploaded files. File uploads will
|
8800
|
-
* be rendered below the text area in sendBox.
|
8801
|
-
* @beta
|
8802
|
-
*/
|
8803
|
-
onRenderFileUploads?: () => JSX.Element;
|
8804
|
-
/**
|
8805
|
-
* Optional array of active file uploads where each object has attributes
|
8806
|
-
* of a file upload like name, progress, errorMessage etc.
|
8807
|
-
* @beta
|
8808
|
-
*/
|
8809
|
-
activeFileUploads?: ActiveFileUpload[];
|
8810
|
-
/**
|
8811
|
-
* Optional callback to remove the file upload before sending by clicking on
|
8812
|
-
* cancel icon.
|
8813
|
-
* @beta
|
8814
|
-
*/
|
8815
|
-
onCancelFileUpload?: (fileId: string) => void;
|
8816
7061
|
}
|
8817
7062
|
|
8818
7063
|
/**
|
@@ -8843,22 +7088,6 @@ export declare interface SendBoxStrings {
|
|
8843
7088
|
* Aria label for send message button
|
8844
7089
|
*/
|
8845
7090
|
sendButtonAriaLabel: string;
|
8846
|
-
/**
|
8847
|
-
* Error message indicating that all file uploads are not complete.
|
8848
|
-
*/
|
8849
|
-
fileUploadsPendingError: string;
|
8850
|
-
/**
|
8851
|
-
* Aria label to notify user when focus is on cancel file upload button.
|
8852
|
-
*/
|
8853
|
-
removeFile: string;
|
8854
|
-
/**
|
8855
|
-
* Aria label to notify user file uploading starts.
|
8856
|
-
*/
|
8857
|
-
uploading: string;
|
8858
|
-
/**
|
8859
|
-
* Aria label to notify user file is uploaded.
|
8860
|
-
*/
|
8861
|
-
uploadCompleted: string;
|
8862
7091
|
}
|
8863
7092
|
|
8864
7093
|
/**
|
@@ -8879,45 +7108,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
8879
7108
|
systemMessage?: IStyle;
|
8880
7109
|
}
|
8881
7110
|
|
8882
|
-
/**
|
8883
|
-
* @beta
|
8884
|
-
* Strings for SitePermissions component
|
8885
|
-
*/
|
8886
|
-
export declare type SitePermissionsStrings = {
|
8887
|
-
/**
|
8888
|
-
* Main text string.
|
8889
|
-
*/
|
8890
|
-
primaryText?: string;
|
8891
|
-
/**
|
8892
|
-
* Subtext string.
|
8893
|
-
*/
|
8894
|
-
secondaryText?: string;
|
8895
|
-
/**
|
8896
|
-
* More help link string.
|
8897
|
-
*/
|
8898
|
-
linkText?: string;
|
8899
|
-
/**
|
8900
|
-
* Primary button text string.
|
8901
|
-
*/
|
8902
|
-
primaryButtonText?: string;
|
8903
|
-
/**
|
8904
|
-
* Aria label describing the content of the container
|
8905
|
-
*/
|
8906
|
-
ariaLabel?: string;
|
8907
|
-
};
|
8908
|
-
|
8909
|
-
/**
|
8910
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
8911
|
-
*
|
8912
|
-
* @beta
|
8913
|
-
*/
|
8914
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
8915
|
-
/** Styles for the primary button. */
|
8916
|
-
primaryButton?: IButtonStyles;
|
8917
|
-
/** Styles for the help troubleshooting link text. */
|
8918
|
-
troubleshootingLink?: ILinkStyles;
|
8919
|
-
}
|
8920
|
-
|
8921
7111
|
/**
|
8922
7112
|
* @public
|
8923
7113
|
* spoken language strings for captions setting modal
|
@@ -9074,19 +7264,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
9074
7264
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
9075
7265
|
*/
|
9076
7266
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9077
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
9078
|
-
/**
|
9079
|
-
* The CallAgent is used to handle calls.
|
9080
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9081
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
9082
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
9083
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9084
|
-
* createCallAgent() method again to create a new CallAgent.
|
9085
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9086
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
9087
|
-
* @public
|
9088
|
-
*/
|
9089
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
9090
7267
|
}
|
9091
7268
|
|
9092
7269
|
/**
|
@@ -9099,16 +7276,7 @@ export declare type StatefulCallClientArgs = {
|
|
9099
7276
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
9100
7277
|
* state. It is not used by StatefulCallClient.
|
9101
7278
|
*/
|
9102
|
-
userId: CommunicationUserIdentifier
|
9103
|
-
/**
|
9104
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9105
|
-
* to start a PSTN call.
|
9106
|
-
*
|
9107
|
-
* example: +11234567
|
9108
|
-
*
|
9109
|
-
* This is not a cached value from the headless calling client.
|
9110
|
-
*/
|
9111
|
-
alternateCallerId?: string;
|
7279
|
+
userId: CommunicationUserIdentifier;
|
9112
7280
|
};
|
9113
7281
|
|
9114
7282
|
/**
|
@@ -9263,74 +7431,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
9263
7431
|
*/
|
9264
7432
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
9265
7433
|
|
9266
|
-
/**
|
9267
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9268
|
-
*
|
9269
|
-
* @beta
|
9270
|
-
*/
|
9271
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9272
|
-
/**
|
9273
|
-
* Join the call with microphone initially on/off.
|
9274
|
-
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9275
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
9276
|
-
*
|
9277
|
-
* @beta
|
9278
|
-
*/
|
9279
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9280
|
-
/**
|
9281
|
-
* Join the call with options bag to set microphone/camera initial state when joining call
|
9282
|
-
* true = turn on the device when joining call
|
9283
|
-
* false = turn off the device when joining call
|
9284
|
-
* 'keep'/undefined = retain devices' precall state
|
9285
|
-
*
|
9286
|
-
* @param options - param to set microphone/camera initially on/off.
|
9287
|
-
*
|
9288
|
-
* @public
|
9289
|
-
*/
|
9290
|
-
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9291
|
-
/**
|
9292
|
-
* Start the call.
|
9293
|
-
*
|
9294
|
-
* @param participants - An array of participant ids to join
|
9295
|
-
*
|
9296
|
-
* @beta
|
9297
|
-
*/
|
9298
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9299
|
-
/**
|
9300
|
-
* Start the call.
|
9301
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9302
|
-
* @beta
|
9303
|
-
*/
|
9304
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9305
|
-
}
|
9306
|
-
|
9307
|
-
/**
|
9308
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9309
|
-
*
|
9310
|
-
* @beta
|
9311
|
-
*/
|
9312
|
-
export declare type TeamsCallAdapterArgs = {
|
9313
|
-
userId: MicrosoftTeamsUserIdentifier;
|
9314
|
-
credential: CommunicationTokenCredential;
|
9315
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9316
|
-
/**
|
9317
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
9318
|
-
*/
|
9319
|
-
options?: TeamsAdapterOptions;
|
9320
|
-
};
|
9321
|
-
|
9322
|
-
/**
|
9323
|
-
* Object containing all the teams call handlers required for calling components.
|
9324
|
-
*
|
9325
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9326
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
9327
|
-
*
|
9328
|
-
* @beta
|
9329
|
-
*/
|
9330
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9331
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9332
|
-
}
|
9333
|
-
|
9334
7434
|
/**
|
9335
7435
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
9336
7436
|
*
|
@@ -9376,27 +7476,6 @@ export declare interface TranscriptionCallFeature {
|
|
9376
7476
|
isTranscriptionActive: boolean;
|
9377
7477
|
}
|
9378
7478
|
|
9379
|
-
/**
|
9380
|
-
* Transfer feature state
|
9381
|
-
*
|
9382
|
-
* @beta
|
9383
|
-
*/
|
9384
|
-
export declare interface TransferFeature {
|
9385
|
-
/**
|
9386
|
-
* Accepted transfer requests
|
9387
|
-
*/
|
9388
|
-
acceptedTransfers: {
|
9389
|
-
[key: string]: AcceptedTransfer;
|
9390
|
-
};
|
9391
|
-
}
|
9392
|
-
|
9393
|
-
/**
|
9394
|
-
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
9395
|
-
*
|
9396
|
-
* @beta
|
9397
|
-
*/
|
9398
|
-
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
9399
|
-
|
9400
7479
|
/**
|
9401
7480
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
9402
7481
|
*
|
@@ -9531,117 +7610,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
9531
7610
|
typingString?: IStyle;
|
9532
7611
|
}
|
9533
7612
|
|
9534
|
-
/**
|
9535
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
9536
|
-
*
|
9537
|
-
* @beta
|
9538
|
-
*/
|
9539
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
9540
|
-
|
9541
|
-
/**
|
9542
|
-
* props for {@link UnsupportedBrowser} UI
|
9543
|
-
*
|
9544
|
-
* @beta
|
9545
|
-
*/
|
9546
|
-
export declare interface UnsupportedBrowserProps {
|
9547
|
-
/** Handler to perform an action when the help link is actioned */
|
9548
|
-
onTroubleshootingClick?: () => void;
|
9549
|
-
/** String overrides for the component */
|
9550
|
-
strings?: UnsupportedBrowserStrings;
|
9551
|
-
}
|
9552
|
-
|
9553
|
-
/**
|
9554
|
-
* Strings for UnsupportedBrowser component
|
9555
|
-
*
|
9556
|
-
* @beta
|
9557
|
-
*/
|
9558
|
-
export declare interface UnsupportedBrowserStrings {
|
9559
|
-
/** String for the primary text */
|
9560
|
-
primaryText: string;
|
9561
|
-
/** String for the secondary text */
|
9562
|
-
secondaryText: string;
|
9563
|
-
/** String to display in the text for the help link */
|
9564
|
-
moreHelpLinkText: string;
|
9565
|
-
}
|
9566
|
-
|
9567
|
-
/**
|
9568
|
-
* UI to display to the user that the browser version they are using is out of date
|
9569
|
-
* and not supported by Azure Communications Calling service.
|
9570
|
-
*
|
9571
|
-
* @beta
|
9572
|
-
*/
|
9573
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
9574
|
-
|
9575
|
-
/**
|
9576
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
9577
|
-
*
|
9578
|
-
* @beta
|
9579
|
-
*/
|
9580
|
-
export declare interface UnsupportedBrowserVersionProps {
|
9581
|
-
/** Handler to perform an action when the help link is actioned */
|
9582
|
-
onTroubleshootingClick?: () => void;
|
9583
|
-
/** String overrides for the component */
|
9584
|
-
strings?: UnsupportedBrowserVersionStrings;
|
9585
|
-
/** Handler to allow user to continue into the call */
|
9586
|
-
onContinueAnywayClick?: () => void;
|
9587
|
-
}
|
9588
|
-
|
9589
|
-
/**
|
9590
|
-
* Strings for UnsupportedBrowser component
|
9591
|
-
*
|
9592
|
-
* @beta
|
9593
|
-
*/
|
9594
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
9595
|
-
/** String for the primary text */
|
9596
|
-
primaryText: string;
|
9597
|
-
/** String for the secondary text */
|
9598
|
-
secondaryText: string;
|
9599
|
-
/** String to display in the text for the help link */
|
9600
|
-
moreHelpLinkText: string;
|
9601
|
-
/** String for continue without updating button */
|
9602
|
-
continueAnywayButtonText?: string;
|
9603
|
-
}
|
9604
|
-
|
9605
|
-
/**
|
9606
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
9607
|
-
*
|
9608
|
-
* @beta
|
9609
|
-
*/
|
9610
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
9611
|
-
|
9612
|
-
/**
|
9613
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
9614
|
-
*
|
9615
|
-
* @beta
|
9616
|
-
*/
|
9617
|
-
export declare interface UnsupportedOperatingSystemProps {
|
9618
|
-
/** Handler to perform a action when the help link is actioned */
|
9619
|
-
onTroubleshootingClick?: () => void;
|
9620
|
-
/** String overrides for the component */
|
9621
|
-
strings?: UnsupportedOperatingSystemStrings;
|
9622
|
-
}
|
9623
|
-
|
9624
|
-
/**
|
9625
|
-
* Strings for UnsupportedBrowser component
|
9626
|
-
*
|
9627
|
-
* @beta
|
9628
|
-
*/
|
9629
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
9630
|
-
/** String for the primary text */
|
9631
|
-
primaryText: string;
|
9632
|
-
/** String for the secondary text */
|
9633
|
-
secondaryText: string;
|
9634
|
-
/** String to display in the text for the help link */
|
9635
|
-
moreHelpLinkText: string;
|
9636
|
-
}
|
9637
|
-
|
9638
7613
|
/**
|
9639
7614
|
* @public
|
9640
7615
|
* Callback function run when a message is updated.
|
9641
7616
|
*/
|
9642
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
9643
|
-
attachedFilesMetadata?: FileMetadata[];
|
9644
|
-
}) => Promise<void>;
|
7617
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
9645
7618
|
|
9646
7619
|
/**
|
9647
7620
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -9789,44 +7762,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
9789
7762
|
*/
|
9790
7763
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
9791
7764
|
|
9792
|
-
/**
|
9793
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
9794
|
-
*
|
9795
|
-
* Useful when implementing a custom component that utilizes the providers
|
9796
|
-
* exported from this library.
|
9797
|
-
*
|
9798
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
9799
|
-
*
|
9800
|
-
* @beta
|
9801
|
-
*/
|
9802
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9803
|
-
|
9804
|
-
/**
|
9805
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
9806
|
-
*
|
9807
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
9808
|
-
* creation of the adapter internally.
|
9809
|
-
*
|
9810
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
9811
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
9812
|
-
*
|
9813
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
9814
|
-
* See storybook for typical usage examples.
|
9815
|
-
*
|
9816
|
-
* @beta
|
9817
|
-
*/
|
9818
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
9819
|
-
|
9820
|
-
/**
|
9821
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
9822
|
-
*
|
9823
|
-
* Useful when implementing a custom component that utilizes the providers
|
9824
|
-
* exported from this library.
|
9825
|
-
*
|
9826
|
-
* @beta
|
9827
|
-
*/
|
9828
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
9829
|
-
|
9830
7765
|
/**
|
9831
7766
|
* React hook to access theme
|
9832
7767
|
*
|
@@ -10088,13 +8023,6 @@ export declare interface VideoGalleryProps {
|
|
10088
8023
|
* @defaultValue 'horizontalBottom'
|
10089
8024
|
*/
|
10090
8025
|
overflowGalleryPosition?: OverflowGalleryPosition;
|
10091
|
-
/**
|
10092
|
-
* Determines the aspect ratio of local video tile in the video gallery.
|
10093
|
-
* @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
|
10094
|
-
* 16:9 (landscape) aspect ratios.
|
10095
|
-
* @defaultValue 'followDeviceOrientation'
|
10096
|
-
*/
|
10097
|
-
localVideoTileSize?: LocalVideoTileSize;
|
10098
8026
|
}
|
10099
8027
|
|
10100
8028
|
/**
|
@@ -10107,11 +8035,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
10107
8035
|
isSpeaking?: boolean;
|
10108
8036
|
/** Video stream of shared screen */
|
10109
8037
|
screenShareStream?: VideoGalleryStream;
|
10110
|
-
/**
|
10111
|
-
* @beta
|
10112
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10113
|
-
*/
|
10114
|
-
state?: ParticipantState;
|
10115
8038
|
/** Whether participant is raised a hand */
|
10116
8039
|
raisedHand?: RaisedHand;
|
10117
8040
|
}
|
@@ -10351,12 +8274,6 @@ export declare interface VideoTileProps {
|
|
10351
8274
|
isSpeaking?: boolean;
|
10352
8275
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
10353
8276
|
raisedHand?: RaisedHand;
|
10354
|
-
/**
|
10355
|
-
* The call connection state of the participant.
|
10356
|
-
* For example, `Hold` means the participant is on hold.
|
10357
|
-
*/
|
10358
|
-
participantState?: ParticipantState;
|
10359
|
-
strings?: VideoTileStrings;
|
10360
8277
|
/**
|
10361
8278
|
* Display custom menu items in the VideoTile's contextual menu.
|
10362
8279
|
* Uses Fluent UI ContextualMenu.
|
@@ -10369,15 +8286,6 @@ export declare interface VideoTileProps {
|
|
10369
8286
|
onLongTouch?: () => void;
|
10370
8287
|
}
|
10371
8288
|
|
10372
|
-
/**
|
10373
|
-
* Strings of {@link VideoTile} that can be overridden.
|
10374
|
-
* @beta
|
10375
|
-
*/
|
10376
|
-
export declare interface VideoTileStrings {
|
10377
|
-
participantStateRinging: string;
|
10378
|
-
participantStateHold: string;
|
10379
|
-
}
|
10380
|
-
|
10381
8289
|
/**
|
10382
8290
|
* Fluent styles for {@link VideoTile}.
|
10383
8291
|
*
|