@azure/communication-react 1.6.0 → 1.6.1-alpha-202306230016
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 +2998 -57
- package/dist/dist-cjs/communication-react/index.js +17520 -8246
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetry.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 +30 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +62 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +13 -0
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +20 -5
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +48 -0
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +73 -0
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +26 -55
- 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 +24 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +133 -31
- 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 +11 -1
- 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 +15 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +43 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +81 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +22 -0
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +9 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js +10 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +24 -11
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
- package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +21 -6
- 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 +5 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +11 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +23 -11
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -0
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +30 -6
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +62 -67
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +166 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +23 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +199 -4
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +155 -71
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +6 -0
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +68 -3
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +18 -0
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +38 -0
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +10 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +52 -9
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +9 -0
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +56 -57
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +28 -18
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +28 -0
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +49 -0
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.d.ts +24 -0
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +28 -0
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +25 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +33 -31
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
- package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +89 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +9 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +18 -0
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
- package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
- package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +6 -0
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/index.js +2 -0
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
- package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +13 -14
- package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +4 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +131 -15
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
- package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
- package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +5 -9
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +10 -11
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +113 -127
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +30 -0
- package/dist/dist-esm/communication-react/src/index.js +14 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
- package/dist/dist-esm/northstar-wrapper/src/index.js +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
- package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
- package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +8 -0
- package/dist/dist-esm/react-components/src/components/CameraButton.js +24 -12
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Caption.d.ts +21 -0
- package/dist/dist-esm/react-components/src/components/Caption.js +32 -0
- package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +41 -0
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +51 -0
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +37 -0
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +95 -0
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +7 -8
- 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 +36 -17
- 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 +17 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +18 -5
- 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 +2 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +31 -35
- 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 +17 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +59 -23
- 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 +14 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +102 -21
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
- package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
- package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +16 -12
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +42 -44
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
- package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ErrorBar.js +2 -4
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js +2 -3
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +26 -13
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
- package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
- package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
- package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +12 -11
- package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +31 -15
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
- package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +27 -9
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +124 -0
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +23 -36
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +46 -2
- package/dist/dist-esm/react-components/src/components/MessageThread.js +199 -83
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +18 -0
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +21 -18
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +27 -11
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +63 -8
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +35 -0
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +33 -0
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +41 -0
- package/dist/dist-esm/react-components/src/components/SendBox.js +39 -13
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +70 -0
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +59 -0
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
- package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
- package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +41 -0
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +582 -0
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +792 -0
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
- package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +3 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +3 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js +37 -36
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +13 -15
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -3
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +46 -12
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +10 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +80 -22
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +9 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +44 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +10 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +24 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +13 -35
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +10 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +29 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +25 -30
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +83 -18
- 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 +103 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +186 -17
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +22 -0
- package/dist/dist-esm/react-components/src/components/VideoTile.js +97 -35
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +21 -0
- package/dist/dist-esm/react-components/src/components/index.js +18 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +37 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +67 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +34 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +86 -0
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +3 -12
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js +16 -0
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +1 -3
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +1 -4
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +31 -0
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +70 -0
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +30 -7
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +0 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +4 -13
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +0 -3
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +8 -13
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
- package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
- package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.d.ts +0 -4
- package/dist/dist-esm/react-components/src/components/utils.js +13 -14
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
- package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
- package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +8 -0
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +9 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +4 -0
- package/dist/dist-esm/react-components/src/index.js +2 -0
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +62 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/index.js +20 -60
- package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +61 -0
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +74 -0
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -0
- package/dist/dist-esm/react-components/src/permissions/index.d.ts +2 -0
- package/dist/dist-esm/react-components/src/permissions/index.js +4 -0
- package/dist/dist-esm/react-components/src/permissions/index.js.map +1 -0
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -6
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +29 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +147 -11
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +27 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +8 -0
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +3 -0
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js +2 -0
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +8 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +2 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/Logger.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/Logger.js +8 -0
- package/dist/dist-esm/react-composites/src/Logger.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +113 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +120 -22
- 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 +277 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js +2 -0
- 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 +119 -16
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +526 -44
- 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 +299 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +9 -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/CallAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +8 -2
- 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 +9 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +128 -18
- 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 +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +131 -13
- 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/CallReadinessModal.d.ts +48 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
- 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 +20 -2
- 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 +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
- 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/ExpandedLocalVideoTile.js +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +32 -22
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +72 -21
- 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/LocalPreview.js +25 -34
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +53 -22
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +22 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +5 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +29 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +78 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +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 +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -1
- 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/Custom.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +7 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +44 -5
- 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/EndCall.js +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +8 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
- 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 +13 -9
- 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.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +66 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +8 -2
- 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 +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +162 -16
- 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/HoldPage.d.ts +19 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +36 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +17 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +113 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +21 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +36 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +61 -0
- 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 +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
- 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 +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +8 -7
- 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/CallControls.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
- 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 +0 -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/styles/NetworkReconnectTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +37 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +55 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +3 -2
- 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/MediaGalleryUtils.js +9 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +24 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +123 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +61 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +83 -20
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +3 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +44 -0
- 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 +53 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +244 -9
- 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 +142 -1
- 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 +23 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +96 -1
- 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 +13 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +37 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +27 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +19 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +20 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +6 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +51 -9
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
- 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 +28 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +152 -29
- 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 +28 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
- 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 +17 -2
- 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 +2 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
- 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/file-sharing/FileUploadHandler.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +13 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +23 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -6
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +68 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +104 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +38 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +3 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +64 -24
- 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 +32 -25
- 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.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +190 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +13 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +162 -20
- 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/MoreDrawer.styles.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +24 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +20 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +55 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +24 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +21 -6
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +9 -9
- 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 +32 -5
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +42 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +40 -0
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +10 -16
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +12 -8
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +156 -0
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +46 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +24 -4
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +5 -16
- 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/styles/Pane.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +15 -54
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +9 -31
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +26 -4
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
- package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +10 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
- package/package.json +20 -18
@@ -17,7 +17,10 @@
|
|
17
17
|
|
18
18
|
/// <reference types="react" />
|
19
19
|
|
20
|
+
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
20
21
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
|
+
import { BackgroundBlurConfig } from '@azure/communication-calling-effects';
|
23
|
+
import { BackgroundReplacementConfig } from '@azure/communication-calling-effects';
|
21
24
|
import { Call } from '@azure/communication-calling';
|
22
25
|
import { CallAgent } from '@azure/communication-calling';
|
23
26
|
import { CallClient } from '@azure/communication-calling';
|
@@ -25,7 +28,9 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
25
28
|
import { CallDirection } from '@azure/communication-calling';
|
26
29
|
import { CallEndReason } from '@azure/communication-calling';
|
27
30
|
import { CallerInfo } from '@azure/communication-calling';
|
31
|
+
import { CallKind } from '@azure/communication-calling';
|
28
32
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
33
|
+
import { CaptionsResultType } from '@azure/communication-calling';
|
29
34
|
import { ChatClient } from '@azure/communication-chat';
|
30
35
|
import { ChatClientOptions } from '@azure/communication-chat';
|
31
36
|
import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
|
@@ -41,26 +46,35 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
41
46
|
import { DeviceAccess } from '@azure/communication-calling';
|
42
47
|
import { DeviceManager } from '@azure/communication-calling';
|
43
48
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
49
|
+
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
50
|
+
import { EnvironmentInfo } from '@azure/communication-calling';
|
44
51
|
import { GroupCallLocator } from '@azure/communication-calling';
|
45
52
|
import { IButtonProps } from '@fluentui/react';
|
46
53
|
import { IButtonStyles } from '@fluentui/react';
|
47
54
|
import { IContextualMenuItem } from '@fluentui/react';
|
48
55
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
56
|
+
import { IContextualMenuProps } from '@fluentui/react';
|
49
57
|
import { IContextualMenuStyles } from '@fluentui/react';
|
58
|
+
import { ILinkStyles } from '@fluentui/react';
|
50
59
|
import { IMessageBarProps } from '@fluentui/react';
|
60
|
+
import { IncomingCall } from '@azure/communication-calling';
|
51
61
|
import { IPersonaStyleProps } from '@fluentui/react';
|
52
62
|
import { IPersonaStyles } from '@fluentui/react';
|
53
63
|
import { IRawStyle } from '@fluentui/react';
|
54
64
|
import { IRenderFunction } from '@fluentui/react';
|
55
65
|
import { IStyle } from '@fluentui/react';
|
56
66
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
67
|
+
import { ITextFieldStyles } from '@fluentui/react';
|
57
68
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
58
69
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
70
|
+
import { LocalVideoStream } from '@azure/communication-calling';
|
59
71
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
60
72
|
import { MediaStreamType } from '@azure/communication-calling';
|
73
|
+
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
61
74
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
62
75
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
63
76
|
import { PartialTheme } from '@fluentui/react';
|
77
|
+
import { ParticipantRole } from '@azure/communication-calling';
|
64
78
|
import { PermissionConstraints } from '@azure/communication-calling';
|
65
79
|
import { PersonaInitialsColor } from '@fluentui/react';
|
66
80
|
import { PersonaPresence } from '@fluentui/react';
|
@@ -71,18 +85,40 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
|
|
71
85
|
import { default as React_2 } from 'react';
|
72
86
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
73
87
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
88
|
+
import { RoomCallLocator } from '@azure/communication-calling';
|
74
89
|
import { ScalingMode } from '@azure/communication-calling';
|
75
90
|
import { SendMessageOptions } from '@azure/communication-chat';
|
76
91
|
import { StartCallOptions } from '@azure/communication-calling';
|
92
|
+
import { StartCaptionsOptions } from '@azure/communication-calling';
|
93
|
+
import { TeamsCall } from '@azure/communication-calling';
|
94
|
+
import { TeamsCallAgent } from '@azure/communication-calling';
|
77
95
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
78
96
|
import { Theme } from '@fluentui/react';
|
97
|
+
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
79
98
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
80
99
|
import { UnknownIdentifier } from '@azure/communication-common';
|
81
100
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
82
101
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
102
|
+
import { VideoEffectName } from '@azure/communication-calling';
|
83
103
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
84
104
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
85
105
|
|
106
|
+
/**
|
107
|
+
* Transfer feature state
|
108
|
+
*
|
109
|
+
* @beta
|
110
|
+
*/
|
111
|
+
export declare interface AcceptedTransfer {
|
112
|
+
/**
|
113
|
+
* Stores call id of accepted transfer
|
114
|
+
*/
|
115
|
+
callId: string;
|
116
|
+
/**
|
117
|
+
* Stores timestamp when transfer was accepted
|
118
|
+
*/
|
119
|
+
timestamp: Date;
|
120
|
+
}
|
121
|
+
|
86
122
|
/**
|
87
123
|
* Active error messages to be shown via {@link ErrorBar}.
|
88
124
|
*
|
@@ -102,6 +138,38 @@ export declare interface ActiveErrorMessage {
|
|
102
138
|
timestamp?: Date;
|
103
139
|
}
|
104
140
|
|
141
|
+
/**
|
142
|
+
* Attributes required for SendBox to show file uploads like name, progress etc.
|
143
|
+
* @beta
|
144
|
+
*/
|
145
|
+
export declare interface ActiveFileUpload {
|
146
|
+
/**
|
147
|
+
* Unique identifier for the file upload.
|
148
|
+
*/
|
149
|
+
id: string;
|
150
|
+
/**
|
151
|
+
* File name to be rendered for uploaded file.
|
152
|
+
*/
|
153
|
+
filename: string;
|
154
|
+
/**
|
155
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
156
|
+
* This is unrelated to the `uploadComplete` property.
|
157
|
+
* It is only used to show the progress of the upload.
|
158
|
+
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
159
|
+
* property to true to mark the upload as complete.
|
160
|
+
*/
|
161
|
+
progress: number;
|
162
|
+
/**
|
163
|
+
* Error to be displayed to the user if the upload fails.
|
164
|
+
*/
|
165
|
+
error?: SendBoxErrorBarError;
|
166
|
+
/**
|
167
|
+
* `true` means that the upload is completed.
|
168
|
+
* This is independent of the upload `progress`.
|
169
|
+
*/
|
170
|
+
uploadComplete?: boolean;
|
171
|
+
}
|
172
|
+
|
105
173
|
/**
|
106
174
|
* Error reported via error events and stored in adapter state.
|
107
175
|
*
|
@@ -168,6 +236,13 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
168
236
|
*/
|
169
237
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
170
238
|
|
239
|
+
/**
|
240
|
+
* @beta
|
241
|
+
*/
|
242
|
+
export declare interface AttachmentDownloadResult {
|
243
|
+
blobUrl: string;
|
244
|
+
}
|
245
|
+
|
171
246
|
/**
|
172
247
|
* Custom data attributes for displaying avatar for a user.
|
173
248
|
*
|
@@ -197,6 +272,11 @@ export declare type AvatarPersonaData = {
|
|
197
272
|
* @defaultvalue `white`
|
198
273
|
*/
|
199
274
|
initialsTextColor?: string;
|
275
|
+
/**
|
276
|
+
* If true, show the special coin for unknown persona.
|
277
|
+
* It has '?' in place of initials, with static font and background colors
|
278
|
+
*/
|
279
|
+
showUnknownPersonaCoin?: boolean;
|
200
280
|
};
|
201
281
|
|
202
282
|
/**
|
@@ -218,8 +298,31 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
218
298
|
displayName: string;
|
219
299
|
credential: CommunicationTokenCredential;
|
220
300
|
locator: CallAdapterLocator;
|
301
|
+
/**
|
302
|
+
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
303
|
+
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
304
|
+
*/
|
305
|
+
alternateCallerId?: string;
|
306
|
+
/**
|
307
|
+
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
308
|
+
*/
|
309
|
+
options?: AzureCommunicationCallAdapterOptions;
|
221
310
|
};
|
222
311
|
|
312
|
+
/**
|
313
|
+
* Optional parameters to create {@link AzureCommunicationCallAdapter}
|
314
|
+
*
|
315
|
+
* @beta
|
316
|
+
*/
|
317
|
+
export declare type AzureCommunicationCallAdapterOptions = {
|
318
|
+
/**
|
319
|
+
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
320
|
+
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
321
|
+
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
322
|
+
*/
|
323
|
+
roleHint?: Role;
|
324
|
+
} & CommonCallAdapterOptions;
|
325
|
+
|
223
326
|
/**
|
224
327
|
* Arguments for {@link createAzureCommunicationCallWithChatAdapter}
|
225
328
|
*
|
@@ -231,6 +334,8 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
231
334
|
displayName: string;
|
232
335
|
credential: CommunicationTokenCredential;
|
233
336
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
337
|
+
alternateCallerId?: string;
|
338
|
+
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
234
339
|
};
|
235
340
|
|
236
341
|
/**
|
@@ -244,6 +349,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
244
349
|
callClient: StatefulCallClient;
|
245
350
|
chatClient: StatefulChatClient;
|
246
351
|
chatThreadClient: ChatThreadClient;
|
352
|
+
options?: AzureCommunicationChatAdapterOptions;
|
247
353
|
};
|
248
354
|
|
249
355
|
/**
|
@@ -259,6 +365,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
259
365
|
threadId: string;
|
260
366
|
};
|
261
367
|
|
368
|
+
/**
|
369
|
+
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
370
|
+
* @beta
|
371
|
+
*/
|
372
|
+
export declare type AzureCommunicationChatAdapterOptions = {
|
373
|
+
credential?: CommunicationTokenCredential;
|
374
|
+
};
|
375
|
+
|
262
376
|
/**
|
263
377
|
* Properties common to all composites exported from this library.
|
264
378
|
*
|
@@ -314,6 +428,156 @@ export declare interface BaseCustomStyles {
|
|
314
428
|
root?: IStyle;
|
315
429
|
}
|
316
430
|
|
431
|
+
/**
|
432
|
+
* Content blocked message type.
|
433
|
+
*
|
434
|
+
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
435
|
+
*
|
436
|
+
* @beta
|
437
|
+
*/
|
438
|
+
export declare interface BlockedMessage extends MessageCommon {
|
439
|
+
messageType: 'blocked';
|
440
|
+
warningText?: string;
|
441
|
+
linkText?: string;
|
442
|
+
link?: string;
|
443
|
+
deletedOn?: Date;
|
444
|
+
senderId?: string;
|
445
|
+
senderDisplayName?: string;
|
446
|
+
status?: MessageStatus;
|
447
|
+
attached?: MessageAttachedStatus;
|
448
|
+
mine?: boolean;
|
449
|
+
}
|
450
|
+
|
451
|
+
/**
|
452
|
+
* @beta
|
453
|
+
* Props for BrowserPermissionDeniedIOS component.
|
454
|
+
*/
|
455
|
+
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
456
|
+
/**
|
457
|
+
* Localization strings for BrowserPermissionDeniedIOS component.
|
458
|
+
*/
|
459
|
+
strings?: BrowserPermissionDeniedIOSStrings;
|
460
|
+
/**
|
461
|
+
* Link to image source.
|
462
|
+
*
|
463
|
+
* Image is inserted into the top of the component.
|
464
|
+
*/
|
465
|
+
imageSource?: string;
|
466
|
+
}
|
467
|
+
|
468
|
+
/**
|
469
|
+
* @beta
|
470
|
+
* Strings for BrowserPermissionDeniedIOS component
|
471
|
+
*/
|
472
|
+
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
473
|
+
/**
|
474
|
+
* Image alt text
|
475
|
+
*/
|
476
|
+
imageAltText: string;
|
477
|
+
/**
|
478
|
+
* Main text string.
|
479
|
+
*/
|
480
|
+
primaryText: string;
|
481
|
+
/**
|
482
|
+
* Subtext string.
|
483
|
+
*/
|
484
|
+
secondaryText: string;
|
485
|
+
/**
|
486
|
+
* Step 1 string
|
487
|
+
*/
|
488
|
+
step1Text: string;
|
489
|
+
/**
|
490
|
+
* Step 1 digit string
|
491
|
+
*/
|
492
|
+
step1DigitText: string;
|
493
|
+
/**
|
494
|
+
* Step 2 string
|
495
|
+
*/
|
496
|
+
step2Text: string;
|
497
|
+
/**
|
498
|
+
* Step 2 digit string
|
499
|
+
*/
|
500
|
+
step2DigitText: string;
|
501
|
+
/**
|
502
|
+
* Step 3 string
|
503
|
+
*/
|
504
|
+
step3Text: string;
|
505
|
+
/**
|
506
|
+
* Step 3 digit string
|
507
|
+
*/
|
508
|
+
step3DigitText: string;
|
509
|
+
/**
|
510
|
+
* Step 4 string
|
511
|
+
*/
|
512
|
+
step4Text: string;
|
513
|
+
/**
|
514
|
+
* Step 4 digit string
|
515
|
+
*/
|
516
|
+
step4DigitText: string;
|
517
|
+
}
|
518
|
+
|
519
|
+
/**
|
520
|
+
* @beta
|
521
|
+
* Props for BrowserPermissionDenied component.
|
522
|
+
*/
|
523
|
+
export declare interface BrowserPermissionDeniedProps {
|
524
|
+
/**
|
525
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
526
|
+
*/
|
527
|
+
onTroubleshootingClick?: () => void;
|
528
|
+
/**
|
529
|
+
* Action to be taken by the try again primary button.
|
530
|
+
*/
|
531
|
+
onTryAgainClick?: () => void;
|
532
|
+
/**
|
533
|
+
* Localization strings for BrowserPermissionDenied component.
|
534
|
+
*/
|
535
|
+
strings?: BrowserPermissionDeniedStrings;
|
536
|
+
/**
|
537
|
+
* Allows users to pass in an object contains custom CSS styles.
|
538
|
+
* @Example
|
539
|
+
* ```
|
540
|
+
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
541
|
+
* ```
|
542
|
+
*/
|
543
|
+
styles?: BrowserPermissionDeniedStyles;
|
544
|
+
}
|
545
|
+
|
546
|
+
/**
|
547
|
+
* @beta
|
548
|
+
* Strings for BrowserPermissionDenied component
|
549
|
+
*/
|
550
|
+
export declare interface BrowserPermissionDeniedStrings {
|
551
|
+
/**
|
552
|
+
* Main button text string.
|
553
|
+
*/
|
554
|
+
primaryButtonText: string;
|
555
|
+
/**
|
556
|
+
* Main text string.
|
557
|
+
*/
|
558
|
+
primaryText: string;
|
559
|
+
/**
|
560
|
+
* Subtext string.
|
561
|
+
*/
|
562
|
+
secondaryText: string;
|
563
|
+
/**
|
564
|
+
* More help link string.
|
565
|
+
*/
|
566
|
+
linkText: string;
|
567
|
+
}
|
568
|
+
|
569
|
+
/**
|
570
|
+
* Fluent styles for {@link BrowserPermissionDenied}.
|
571
|
+
*
|
572
|
+
* @beta
|
573
|
+
*/
|
574
|
+
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
575
|
+
/** Styles for the primary button. */
|
576
|
+
primaryButton?: IButtonStyles;
|
577
|
+
/** Styles for the help troubleshooting link text. */
|
578
|
+
troubleshootingLink?: ILinkStyles;
|
579
|
+
}
|
580
|
+
|
317
581
|
/**
|
318
582
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
319
583
|
*
|
@@ -336,6 +600,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
336
600
|
* @public
|
337
601
|
*/
|
338
602
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
603
|
+
/**
|
604
|
+
* Start the call.
|
605
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
606
|
+
* @beta
|
607
|
+
*/
|
608
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
339
609
|
}
|
340
610
|
|
341
611
|
/**
|
@@ -369,6 +639,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
369
639
|
* @public
|
370
640
|
*/
|
371
641
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
642
|
+
/**
|
643
|
+
* Start the call.
|
644
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
645
|
+
* @beta
|
646
|
+
*/
|
647
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
372
648
|
}
|
373
649
|
|
374
650
|
/**
|
@@ -433,6 +709,12 @@ export declare interface CallAdapterCallOperations {
|
|
433
709
|
* @public
|
434
710
|
*/
|
435
711
|
removeParticipant(userId: string): Promise<void>;
|
712
|
+
/**
|
713
|
+
* Remove a participant from the call.
|
714
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
715
|
+
* @beta
|
716
|
+
*/
|
717
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
436
718
|
/**
|
437
719
|
* Create the html view for a stream.
|
438
720
|
*
|
@@ -451,12 +733,113 @@ export declare interface CallAdapterCallOperations {
|
|
451
733
|
* @remarks
|
452
734
|
* This method is implemented for composite
|
453
735
|
*
|
736
|
+
* @deprecated Use {@link disposeRemoteVideoStreamView}, {@link disposeLocalVideoStreamView} and {@link disposeRemoteVideoStreamView} instead.
|
737
|
+
*
|
454
738
|
* @param remoteUserId - Id of the participant to render, leave it undefined to dispose the local camera view
|
455
739
|
* @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
|
456
740
|
*
|
457
741
|
* @public
|
458
742
|
*/
|
459
743
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
744
|
+
/**
|
745
|
+
* Dispose the html view for a screen share stream
|
746
|
+
*
|
747
|
+
* @remarks
|
748
|
+
* this method is implemented for composite
|
749
|
+
*
|
750
|
+
* @param remoteUserId - Id of the participant to dispose the screen share stream view for.
|
751
|
+
*
|
752
|
+
* @public
|
753
|
+
*/
|
754
|
+
disposeScreenShareStreamView(remoteUserId: string): Promise<void>;
|
755
|
+
/**
|
756
|
+
* Dispose the html view for a remote video stream
|
757
|
+
*
|
758
|
+
* @param remoteUserId - Id of the participant to dispose
|
759
|
+
*
|
760
|
+
* @public
|
761
|
+
*/
|
762
|
+
disposeRemoteVideoStreamView(remoteUserId: string): Promise<void>;
|
763
|
+
/**
|
764
|
+
* Dispose the html view for a local video stream
|
765
|
+
*
|
766
|
+
* @public
|
767
|
+
*/
|
768
|
+
disposeLocalVideoStreamView(): Promise<void>;
|
769
|
+
/**
|
770
|
+
* Holds the call.
|
771
|
+
*
|
772
|
+
* @beta
|
773
|
+
*/
|
774
|
+
holdCall(): Promise<void>;
|
775
|
+
/**
|
776
|
+
* Resumes the call from a `LocalHold` state.
|
777
|
+
*
|
778
|
+
* @beta
|
779
|
+
*/
|
780
|
+
resumeCall(): Promise<void>;
|
781
|
+
/**
|
782
|
+
* Add a participant to the call.
|
783
|
+
*
|
784
|
+
* @beta
|
785
|
+
*/
|
786
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
787
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
788
|
+
/**
|
789
|
+
* send dtmf tone to another participant in a 1:1 PSTN call
|
790
|
+
*
|
791
|
+
* @beta
|
792
|
+
*/
|
793
|
+
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
794
|
+
/**
|
795
|
+
* Continues into a call when the browser version is not supported.
|
796
|
+
*/
|
797
|
+
allowUnsupportedBrowserVersion(): void;
|
798
|
+
/**
|
799
|
+
* Function to Start captions
|
800
|
+
* @param options - options for start captions
|
801
|
+
*/
|
802
|
+
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
803
|
+
/**
|
804
|
+
* Function to set caption language
|
805
|
+
* @param language - language set for caption
|
806
|
+
*/
|
807
|
+
setCaptionLanguage(language: string): Promise<void>;
|
808
|
+
/**
|
809
|
+
* Function to set spoken language
|
810
|
+
* @param language - spoken language
|
811
|
+
*/
|
812
|
+
setSpokenLanguage(language: string): Promise<void>;
|
813
|
+
/**
|
814
|
+
* Funtion to stop captions
|
815
|
+
*/
|
816
|
+
stopCaptions(): Promise<void>;
|
817
|
+
/**
|
818
|
+
* Start the video background effect.
|
819
|
+
*
|
820
|
+
* @beta
|
821
|
+
*/
|
822
|
+
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
823
|
+
/**
|
824
|
+
* Stop the video background effect.
|
825
|
+
*
|
826
|
+
* @beta
|
827
|
+
*/
|
828
|
+
stopVideoBackgroundEffects(): Promise<void>;
|
829
|
+
/**
|
830
|
+
* Override the background picker images for background replacement effect.
|
831
|
+
*
|
832
|
+
* @param backgroundImages - Array of custom background images.
|
833
|
+
*
|
834
|
+
* @beta
|
835
|
+
*/
|
836
|
+
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
837
|
+
/**
|
838
|
+
* Update the selected video background effect.
|
839
|
+
*
|
840
|
+
* @beta
|
841
|
+
*/
|
842
|
+
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
460
843
|
}
|
461
844
|
|
462
845
|
/**
|
@@ -475,11 +858,37 @@ export declare type CallAdapterClientState = {
|
|
475
858
|
* Latest error encountered for each operation performed via the adapter.
|
476
859
|
*/
|
477
860
|
latestErrors: AdapterErrors;
|
861
|
+
/**
|
862
|
+
* Azure communications Phone number to make PSTN calls with.
|
863
|
+
*/
|
864
|
+
alternateCallerId?: string;
|
865
|
+
/**
|
866
|
+
* Environment information about system the adapter is made on
|
867
|
+
*/
|
868
|
+
environmentInfo?: EnvironmentInfo;
|
869
|
+
/**
|
870
|
+
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
871
|
+
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
872
|
+
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
873
|
+
*/
|
874
|
+
roleHint?: Role;
|
478
875
|
/**
|
479
876
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
480
877
|
* control bar with the CallComposite.
|
481
878
|
*/
|
482
879
|
cameraStatus?: 'On' | 'Off';
|
880
|
+
/**
|
881
|
+
* Default set of background images for background replacement effect.
|
882
|
+
*/
|
883
|
+
videoBackgroundImages?: VideoBackgroundImage[];
|
884
|
+
/**
|
885
|
+
* State to track the selected video background effect.
|
886
|
+
*/
|
887
|
+
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
888
|
+
/**
|
889
|
+
* Call from transfer request accepted by local user
|
890
|
+
*/
|
891
|
+
acceptedTransferCallState?: CallState;
|
483
892
|
};
|
484
893
|
|
485
894
|
/**
|
@@ -564,7 +973,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
564
973
|
*
|
565
974
|
* @public
|
566
975
|
*/
|
567
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
|
976
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
568
977
|
|
569
978
|
/**
|
570
979
|
* {@link CommonCallAdapter} state.
|
@@ -641,6 +1050,18 @@ export declare interface CallAdapterSubscribers {
|
|
641
1050
|
* Subscribe function for 'error' event.
|
642
1051
|
*/
|
643
1052
|
on(event: 'error', listener: (e: AdapterError) => void): void;
|
1053
|
+
/**
|
1054
|
+
* Subscribe function for 'captionsReceived' event.
|
1055
|
+
*/
|
1056
|
+
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
1057
|
+
/**
|
1058
|
+
* Subscribe function for 'isCaptionsActiveChanged' event.
|
1059
|
+
*/
|
1060
|
+
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1061
|
+
/**
|
1062
|
+
* Subscribe function for 'transferRequested' event.
|
1063
|
+
*/
|
1064
|
+
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
644
1065
|
/**
|
645
1066
|
* Unsubscribe function for 'participantsJoined' event.
|
646
1067
|
*/
|
@@ -689,6 +1110,18 @@ export declare interface CallAdapterSubscribers {
|
|
689
1110
|
* Unsubscribe function for 'error' event.
|
690
1111
|
*/
|
691
1112
|
off(event: 'error', listener: (e: AdapterError) => void): void;
|
1113
|
+
/**
|
1114
|
+
* Unsubscribe function for 'captionsReceived' event.
|
1115
|
+
*/
|
1116
|
+
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
1117
|
+
/**
|
1118
|
+
* Unsubscribe function for 'isCaptionsActiveChanged' event.
|
1119
|
+
*/
|
1120
|
+
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1121
|
+
/**
|
1122
|
+
* Unsubscribe function for 'transferRequested' event.
|
1123
|
+
*/
|
1124
|
+
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
692
1125
|
}
|
693
1126
|
|
694
1127
|
/**
|
@@ -699,6 +1132,7 @@ export declare interface CallAdapterSubscribers {
|
|
699
1132
|
export declare type CallAdapterUiState = {
|
700
1133
|
isLocalPreviewMicrophoneEnabled: boolean;
|
701
1134
|
page: CallCompositePage;
|
1135
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
702
1136
|
};
|
703
1137
|
|
704
1138
|
/**
|
@@ -717,7 +1151,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
717
1151
|
*/
|
718
1152
|
export declare interface CallAgentProviderProps {
|
719
1153
|
children: React_2.ReactNode;
|
720
|
-
callAgent?: CallAgent;
|
1154
|
+
callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
721
1155
|
}
|
722
1156
|
|
723
1157
|
/**
|
@@ -742,7 +1176,7 @@ export declare interface CallAgentState {
|
|
742
1176
|
*/
|
743
1177
|
export declare interface CallAndChatLocator {
|
744
1178
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
745
|
-
callLocator: GroupCallLocator;
|
1179
|
+
callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
|
746
1180
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
747
1181
|
chatThreadId: string;
|
748
1182
|
}
|
@@ -829,6 +1263,16 @@ export declare interface CallClientState {
|
|
829
1263
|
* See documentation of {@Link CallErrors} for details.
|
830
1264
|
*/
|
831
1265
|
latestErrors: CallErrors;
|
1266
|
+
/**
|
1267
|
+
* A phone number in E.164 format that will be used to represent callers identity.
|
1268
|
+
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1269
|
+
* be used as the caller id in the PSTN call.
|
1270
|
+
*/
|
1271
|
+
alternateCallerId?: string;
|
1272
|
+
/**
|
1273
|
+
* state to track the environment that the stateful client was made in is supported
|
1274
|
+
*/
|
1275
|
+
environmentInfo?: EnvironmentInfo;
|
832
1276
|
}
|
833
1277
|
|
834
1278
|
/**
|
@@ -893,6 +1337,12 @@ export declare type CallCompositeIcons = {
|
|
893
1337
|
ParticipantItemScreenShareStart?: JSX.Element;
|
894
1338
|
VideoTileMicOff?: JSX.Element;
|
895
1339
|
LocalCameraSwitch?: JSX.Element;
|
1340
|
+
PeoplePaneAddPerson?: JSX.Element;
|
1341
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
1342
|
+
DialpadStartCall?: JSX.Element;
|
1343
|
+
NoticePageInvalidRoom?: JSX.Element;
|
1344
|
+
BlurVideoBackground?: JSX.Element;
|
1345
|
+
RemoveVideoBackgroundEffect?: JSX.Element;
|
896
1346
|
};
|
897
1347
|
|
898
1348
|
/**
|
@@ -913,6 +1363,66 @@ export declare type CallCompositeOptions = {
|
|
913
1363
|
* @defaultValue true
|
914
1364
|
*/
|
915
1365
|
callControls?: boolean | CallControlOptions;
|
1366
|
+
/**
|
1367
|
+
* Device permissions check options for your call.
|
1368
|
+
* Here you can choose what device permissions you prompt the user for,
|
1369
|
+
* as well as what device permissions must be accepted before starting a call.
|
1370
|
+
*/
|
1371
|
+
deviceChecks?: DeviceCheckOptions;
|
1372
|
+
/**
|
1373
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1374
|
+
* unable to grant your site the required permissions for the call.
|
1375
|
+
*
|
1376
|
+
* @example
|
1377
|
+
* ```ts
|
1378
|
+
* onPermissionsTroubleshootingClick: () =>
|
1379
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1380
|
+
* ```
|
1381
|
+
*
|
1382
|
+
* @remarks
|
1383
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1384
|
+
*/
|
1385
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1386
|
+
camera: PermissionState;
|
1387
|
+
microphone: PermissionState;
|
1388
|
+
}) => void;
|
1389
|
+
/**
|
1390
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1391
|
+
* having network issues when connecting to the call.
|
1392
|
+
*
|
1393
|
+
* @example
|
1394
|
+
* ```ts
|
1395
|
+
* onNetworkingTroubleShootingClick?: () =>
|
1396
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1397
|
+
* ```
|
1398
|
+
*
|
1399
|
+
* @remarks
|
1400
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1401
|
+
*/
|
1402
|
+
onNetworkingTroubleShootingClick?: () => void;
|
1403
|
+
/**
|
1404
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1405
|
+
*
|
1406
|
+
* @example
|
1407
|
+
* ```ts
|
1408
|
+
* onBrowserTroubleShootingClick?: () =>
|
1409
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1410
|
+
* ```
|
1411
|
+
*
|
1412
|
+
* @remarks
|
1413
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
1414
|
+
*/
|
1415
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1416
|
+
/**
|
1417
|
+
* Remote participant video tile menu options
|
1418
|
+
*/
|
1419
|
+
remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
|
1420
|
+
/**
|
1421
|
+
* Options for controlling the local video tile.
|
1422
|
+
*
|
1423
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
1424
|
+
*/
|
1425
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
916
1426
|
};
|
917
1427
|
|
918
1428
|
/**
|
@@ -920,7 +1430,7 @@ export declare type CallCompositeOptions = {
|
|
920
1430
|
*
|
921
1431
|
* @public
|
922
1432
|
*/
|
923
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1433
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
|
924
1434
|
|
925
1435
|
/**
|
926
1436
|
* Props for {@link CallComposite}.
|
@@ -1139,9 +1649,165 @@ export declare interface CallCompositeStrings {
|
|
1139
1649
|
*/
|
1140
1650
|
microphoneToggleInLobbyNotAllowed: string;
|
1141
1651
|
/**
|
1142
|
-
*
|
1652
|
+
* Side pane People section Title.
|
1653
|
+
*/
|
1654
|
+
peoplePaneTitle: string;
|
1655
|
+
/**
|
1656
|
+
* Aria label string for return to call back button
|
1657
|
+
*/
|
1658
|
+
returnToCallButtonAriaLabel?: string;
|
1659
|
+
/**
|
1660
|
+
* Aria Description string for return to call button
|
1661
|
+
*/
|
1662
|
+
returnToCallButtonAriaDescription?: string;
|
1663
|
+
/**
|
1664
|
+
* control bar People button label
|
1665
|
+
*/
|
1666
|
+
peopleButtonLabel: string;
|
1667
|
+
/**
|
1668
|
+
* control bar Chat button label.
|
1669
|
+
*/
|
1670
|
+
chatButtonLabel: string;
|
1671
|
+
/**
|
1672
|
+
* Label for SidePaneHeader dismiss button
|
1673
|
+
*/
|
1674
|
+
dismissSidePaneButtonLabel?: string;
|
1675
|
+
/**
|
1676
|
+
* Side pane People section subheader.
|
1677
|
+
*/
|
1678
|
+
peoplePaneSubTitle: string;
|
1679
|
+
/**
|
1680
|
+
* Label for button to copy invite link
|
1681
|
+
*/
|
1682
|
+
copyInviteLinkButtonLabel: string;
|
1683
|
+
/**
|
1684
|
+
* Label for button to open dialpad
|
1685
|
+
*/
|
1686
|
+
openDialpadButtonLabel: string;
|
1687
|
+
/**
|
1688
|
+
* Label for menu item to remove participant
|
1689
|
+
*/
|
1690
|
+
removeMenuLabel: string;
|
1691
|
+
/**
|
1692
|
+
* Label for add people dropdown
|
1693
|
+
*/
|
1694
|
+
peoplePaneAddPeopleButtonLabel: string;
|
1695
|
+
/**
|
1696
|
+
* Label for button to start a call
|
1697
|
+
*/
|
1698
|
+
dialpadStartCallButtonLabel: string;
|
1699
|
+
/**
|
1700
|
+
* Title for dialpad Modal
|
1701
|
+
*/
|
1702
|
+
dialpadModalTitle: string;
|
1703
|
+
/**
|
1704
|
+
* Aria Label for dialpad Modal
|
1705
|
+
*/
|
1706
|
+
dialpadModalAriaLabel: string;
|
1707
|
+
/**
|
1708
|
+
* Aria Label for dialpad Modal close button
|
1709
|
+
*/
|
1710
|
+
dialpadCloseModalButtonAriaLabel: string;
|
1711
|
+
/**
|
1712
|
+
* label for more button in the Calling composite
|
1713
|
+
*/
|
1714
|
+
moreButtonCallingLabel: string;
|
1715
|
+
/**
|
1716
|
+
* Label for the resume call button on the hold pane
|
1717
|
+
*/
|
1718
|
+
resumeCallButtonLabel: string;
|
1719
|
+
/**
|
1720
|
+
* Label for the resume call button on the hold pane when call is resuming
|
1721
|
+
*/
|
1722
|
+
resumingCallButtonLabel: string;
|
1723
|
+
/**
|
1724
|
+
* Aria label for the resume call button on the hold pane
|
1725
|
+
*/
|
1726
|
+
resumeCallButtonAriaLabel: string;
|
1727
|
+
/**
|
1728
|
+
* Aria label for the resume call button on the hold pane when call is resuming
|
1729
|
+
*/
|
1730
|
+
resumingCallButtonAriaLabel: string;
|
1731
|
+
/**
|
1732
|
+
* Label for the hold pane
|
1733
|
+
*/
|
1734
|
+
holdScreenLabel: string;
|
1735
|
+
/**
|
1736
|
+
* Placeholder text for dtmf dialpad
|
1737
|
+
*/
|
1738
|
+
dtmfDialpadPlaceholderText: string;
|
1739
|
+
/**
|
1740
|
+
* Label for the button to open dtmf dialpad
|
1741
|
+
*/
|
1742
|
+
openDtmfDialpadLabel: string;
|
1743
|
+
/**
|
1744
|
+
* aria label for when the invite link has been actioned
|
1143
1745
|
*/
|
1144
1746
|
copyInviteLinkActionedAriaLabel: string;
|
1747
|
+
/**
|
1748
|
+
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1749
|
+
*/
|
1750
|
+
roomNotFoundTitle: string;
|
1751
|
+
/**
|
1752
|
+
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1753
|
+
*/
|
1754
|
+
roomNotFoundDetails?: string;
|
1755
|
+
/**
|
1756
|
+
* Video Effects pane title.
|
1757
|
+
*/
|
1758
|
+
videoEffectsPaneTitle: string;
|
1759
|
+
/**
|
1760
|
+
* Video Effects pane sub section title for choosing background.
|
1761
|
+
*/
|
1762
|
+
videoEffectsPaneBackgroundSelectionTitle: string;
|
1763
|
+
/**
|
1764
|
+
* Label for the button to open effects
|
1765
|
+
*/
|
1766
|
+
configurationPageVideoEffectsButtonLabel?: string;
|
1767
|
+
/**
|
1768
|
+
* Error message for video effect failure
|
1769
|
+
*/
|
1770
|
+
unableToStartVideoEffect?: string;
|
1771
|
+
/**
|
1772
|
+
* Label for the blur video background effect item
|
1773
|
+
*/
|
1774
|
+
blurBackgroundEffectButtonLabel?: string;
|
1775
|
+
/**
|
1776
|
+
* Tooltip text for the blur video background effect item
|
1777
|
+
*/
|
1778
|
+
blurBackgroundTooltip?: string;
|
1779
|
+
/**
|
1780
|
+
* Label for the remove video background effect item
|
1781
|
+
*/
|
1782
|
+
removeBackgroundEffectButtonLabel?: string;
|
1783
|
+
/**
|
1784
|
+
* Tooltip text for the blur video background effect item
|
1785
|
+
*/
|
1786
|
+
removeBackgroundTooltip?: string;
|
1787
|
+
/**
|
1788
|
+
* Text to show when warning the user the camera is off and inform the user to turn the camera on to see the selected video background effect.
|
1789
|
+
*/
|
1790
|
+
cameraOffBackgroundEffectWarningText?: string;
|
1791
|
+
/**
|
1792
|
+
* Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1793
|
+
*/
|
1794
|
+
deniedPermissionToRoomTitle: string;
|
1795
|
+
/**
|
1796
|
+
* More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1797
|
+
*/
|
1798
|
+
deniedPermissionToRoomDetails?: string;
|
1799
|
+
/**
|
1800
|
+
* Control bar People button ToolTipContent
|
1801
|
+
*/
|
1802
|
+
peopleButtonTooltipOpen: string;
|
1803
|
+
/**
|
1804
|
+
* Control bar People button ToolTipContent
|
1805
|
+
*/
|
1806
|
+
peopleButtonTooltipClose: string;
|
1807
|
+
/**
|
1808
|
+
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1809
|
+
*/
|
1810
|
+
outboundCallingNoticeString: string;
|
1145
1811
|
/**
|
1146
1812
|
* Notice to be announced by narrator when a participant joins a call
|
1147
1813
|
*/
|
@@ -1186,6 +1852,126 @@ export declare interface CallCompositeStrings {
|
|
1186
1852
|
* string to be used to announce when multiple unnamed participants have left at the same time.
|
1187
1853
|
*/
|
1188
1854
|
manyUnnamedParticipantsLeft: string;
|
1855
|
+
/**
|
1856
|
+
* string to be used to open live captions contextual menu
|
1857
|
+
*/
|
1858
|
+
liveCaptionsLabel?: string;
|
1859
|
+
/**
|
1860
|
+
* label for opening captions setting modal
|
1861
|
+
*/
|
1862
|
+
captionsSettingsLabel?: string;
|
1863
|
+
/**
|
1864
|
+
* string to be used to start captions
|
1865
|
+
*/
|
1866
|
+
startCaptionsButtonOnLabel?: string;
|
1867
|
+
/**
|
1868
|
+
* string to be used to stop captions
|
1869
|
+
*/
|
1870
|
+
startCaptionsButtonOffLabel?: string;
|
1871
|
+
/**
|
1872
|
+
* tooltip string to be used to show captions is on
|
1873
|
+
*/
|
1874
|
+
startCaptionsButtonTooltipOnContent?: string;
|
1875
|
+
/**
|
1876
|
+
*tooltip string to be used to show captions is off
|
1877
|
+
*/
|
1878
|
+
startCaptionsButtonTooltipOffContent?: string;
|
1879
|
+
/**
|
1880
|
+
* captions setting modal title
|
1881
|
+
*/
|
1882
|
+
captionsSettingsModalTitle?: string;
|
1883
|
+
/**
|
1884
|
+
* label for dropdown inside captions setting modal
|
1885
|
+
*/
|
1886
|
+
captionsSettingsDropdownLabel?: string;
|
1887
|
+
/**
|
1888
|
+
* text under captions setting dropdown indicating what the dropdown is for
|
1889
|
+
*/
|
1890
|
+
captionsSettingsDropdownInfoText?: string;
|
1891
|
+
/**
|
1892
|
+
* confirm button label in captions setting modal
|
1893
|
+
*/
|
1894
|
+
captionsSettingsConfirmButtonLabel?: string;
|
1895
|
+
/**
|
1896
|
+
* cancel button label in captions setting modal
|
1897
|
+
*/
|
1898
|
+
captionsSettingsCancelButtonLabel?: string;
|
1899
|
+
/**
|
1900
|
+
* arial label for captions setting modal
|
1901
|
+
*/
|
1902
|
+
captionsSettingsModalAriaLabel?: string;
|
1903
|
+
/**
|
1904
|
+
* arial label for captions setting modal close button
|
1905
|
+
*/
|
1906
|
+
captionsSettingsCloseModalButtonAriaLabel?: string;
|
1907
|
+
/**
|
1908
|
+
* label for more button inside captions banner
|
1909
|
+
*/
|
1910
|
+
captionsBannerMoreButtonCallingLabel?: string;
|
1911
|
+
/**
|
1912
|
+
* arial label for more button inside captions banner
|
1913
|
+
*/
|
1914
|
+
captionsBannerMoreButtonTooltip?: string;
|
1915
|
+
/**
|
1916
|
+
* list of key value pairs that pairs language code to language names
|
1917
|
+
*/
|
1918
|
+
captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
|
1919
|
+
/**
|
1920
|
+
* captions banner loading spinner label
|
1921
|
+
*/
|
1922
|
+
captionsBannerSpinnerText?: string;
|
1923
|
+
/**
|
1924
|
+
* transfer page text when showing the transferor who initiated the transfer
|
1925
|
+
*/
|
1926
|
+
transferPageTransferorText: string;
|
1927
|
+
/**
|
1928
|
+
* transfer page text when showing the transfer target
|
1929
|
+
*/
|
1930
|
+
transferPageTransferTargetText: string;
|
1931
|
+
/**
|
1932
|
+
* transfer page display name for unknown participant
|
1933
|
+
*/
|
1934
|
+
transferPageUnknownTransferorDisplayName: string;
|
1935
|
+
/**
|
1936
|
+
* transfer page display name for unknown participant
|
1937
|
+
*/
|
1938
|
+
transferPageUnknownTransferTargetDisplayName: string;
|
1939
|
+
/**
|
1940
|
+
* notice to be announced by narrator the transfer page is showing
|
1941
|
+
*/
|
1942
|
+
transferPageNoticeString: string;
|
1943
|
+
/**
|
1944
|
+
* Title text of the page shown to the user when target participant could not be reached
|
1945
|
+
*/
|
1946
|
+
participantCouldNotBeReachedTitle?: string;
|
1947
|
+
/**
|
1948
|
+
* More details text of the page shown to the user when target participant could not be reached
|
1949
|
+
*/
|
1950
|
+
participantCouldNotBeReachedMoreDetails?: string;
|
1951
|
+
/**
|
1952
|
+
* Title text of the page shown to the user when permission to reach participant is not allowed
|
1953
|
+
*/
|
1954
|
+
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
1955
|
+
/**
|
1956
|
+
* More details text of the page shown to the user when permission to reach participant is not allowed
|
1957
|
+
*/
|
1958
|
+
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
1959
|
+
/**
|
1960
|
+
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
1961
|
+
*/
|
1962
|
+
unableToResolveTenantTitle?: string;
|
1963
|
+
/**
|
1964
|
+
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
1965
|
+
*/
|
1966
|
+
unableToResolveTenantMoreDetails?: string;
|
1967
|
+
/**
|
1968
|
+
* Title text of the page shown to the user when target participant id is malformed
|
1969
|
+
*/
|
1970
|
+
participantIdIsMalformedTitle?: string;
|
1971
|
+
/**
|
1972
|
+
* More details text of the page shown to the user when target participant id is malformed
|
1973
|
+
*/
|
1974
|
+
participantIdIsMalformedMoreDetails?: string;
|
1189
1975
|
}
|
1190
1976
|
|
1191
1977
|
/**
|
@@ -1200,7 +1986,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
|
|
1200
1986
|
*
|
1201
1987
|
* @public
|
1202
1988
|
*/
|
1203
|
-
export declare type CallControlOptions =
|
1989
|
+
export declare type CallControlOptions = CommonCallControlOptions & {
|
1204
1990
|
/**
|
1205
1991
|
* Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
|
1206
1992
|
* @defaultValue true
|
@@ -1208,7 +1994,8 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
|
|
1208
1994
|
participantsButton?: boolean | {
|
1209
1995
|
disabled: boolean;
|
1210
1996
|
};
|
1211
|
-
|
1997
|
+
legacyControlBarExperience?: boolean;
|
1998
|
+
};
|
1212
1999
|
|
1213
2000
|
/**
|
1214
2001
|
* Callback for {@link CallAdapterSubscribers} 'callEnded' event.
|
@@ -1269,7 +2056,7 @@ export declare type CallErrors = {
|
|
1269
2056
|
*
|
1270
2057
|
* @public
|
1271
2058
|
*/
|
1272
|
-
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';
|
2059
|
+
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' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | /* @conditional-compile-remove(video-background-effects) */ 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
|
1273
2060
|
|
1274
2061
|
/**
|
1275
2062
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1336,6 +2123,25 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
1336
2123
|
isMuted?: boolean;
|
1337
2124
|
/** Whether calling participant is speaking */
|
1338
2125
|
isSpeaking?: boolean;
|
2126
|
+
/** Role of participant in Rooms call */
|
2127
|
+
role?: Role;
|
2128
|
+
};
|
2129
|
+
|
2130
|
+
/**
|
2131
|
+
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2132
|
+
*
|
2133
|
+
* @remarks
|
2134
|
+
* This is currently in beta and only supports calling one Teams User.
|
2135
|
+
*
|
2136
|
+
* @example
|
2137
|
+
* ```
|
2138
|
+
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2139
|
+
* ```
|
2140
|
+
*
|
2141
|
+
* @beta
|
2142
|
+
*/
|
2143
|
+
export declare type CallParticipantsLocator = {
|
2144
|
+
participantIds: string[];
|
1339
2145
|
};
|
1340
2146
|
|
1341
2147
|
/**
|
@@ -1354,7 +2160,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
1354
2160
|
*/
|
1355
2161
|
export declare interface CallProviderProps {
|
1356
2162
|
children: React_2.ReactNode;
|
1357
|
-
call?: Call;
|
2163
|
+
call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
1358
2164
|
}
|
1359
2165
|
|
1360
2166
|
/**
|
@@ -1368,6 +2174,10 @@ export declare interface CallState {
|
|
1368
2174
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
1369
2175
|
*/
|
1370
2176
|
id: string;
|
2177
|
+
/**
|
2178
|
+
* Type of the call.
|
2179
|
+
*/
|
2180
|
+
kind: CallKind;
|
1371
2181
|
/**
|
1372
2182
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
1373
2183
|
*/
|
@@ -1422,6 +2232,14 @@ export declare interface CallState {
|
|
1422
2232
|
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
1423
2233
|
*/
|
1424
2234
|
transcription: TranscriptionCallFeature;
|
2235
|
+
/**
|
2236
|
+
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
2237
|
+
*/
|
2238
|
+
captionsFeature: CaptionsCallFeatureState;
|
2239
|
+
/**
|
2240
|
+
* Proxy of {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
|
2241
|
+
*/
|
2242
|
+
optimalVideoCount: OptimalVideoCountFeatureState;
|
1425
2243
|
/**
|
1426
2244
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
1427
2245
|
*/
|
@@ -1450,6 +2268,18 @@ export declare interface CallState {
|
|
1450
2268
|
* Stores the latest call diagnostics.
|
1451
2269
|
*/
|
1452
2270
|
diagnostics: DiagnosticsCallFeatureState;
|
2271
|
+
/**
|
2272
|
+
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2273
|
+
*/
|
2274
|
+
role?: ParticipantRole;
|
2275
|
+
/**
|
2276
|
+
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2277
|
+
*/
|
2278
|
+
totalParticipantCount?: number;
|
2279
|
+
/**
|
2280
|
+
* Transfer state of call
|
2281
|
+
*/
|
2282
|
+
transfer: TransferFeature;
|
1453
2283
|
}
|
1454
2284
|
|
1455
2285
|
/**
|
@@ -1473,6 +2303,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
1473
2303
|
* @public
|
1474
2304
|
*/
|
1475
2305
|
removeParticipant(userId: string): Promise<void>;
|
2306
|
+
/**
|
2307
|
+
* Remove a participant from the call.
|
2308
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2309
|
+
* @beta
|
2310
|
+
*/
|
2311
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
1476
2312
|
/**
|
1477
2313
|
* Join the call with microphone initially on/off.
|
1478
2314
|
*
|
@@ -1527,6 +2363,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
1527
2363
|
* @public
|
1528
2364
|
*/
|
1529
2365
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2366
|
+
/**
|
2367
|
+
* Start the call.
|
2368
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2369
|
+
* @beta
|
2370
|
+
*/
|
2371
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
1530
2372
|
/**
|
1531
2373
|
* Start sharing the screen during a call.
|
1532
2374
|
*
|
@@ -1563,6 +2405,31 @@ export declare interface CallWithChatAdapterManagement {
|
|
1563
2405
|
* @public
|
1564
2406
|
*/
|
1565
2407
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
2408
|
+
/**
|
2409
|
+
* Dispose the html view for a screen share stream
|
2410
|
+
*
|
2411
|
+
* @remarks
|
2412
|
+
* this method is implemented for composite
|
2413
|
+
*
|
2414
|
+
* @param remoteUserId - Id of the participant to dispose the screen share stream view for.
|
2415
|
+
*
|
2416
|
+
* @public
|
2417
|
+
*/
|
2418
|
+
disposeScreenShareStreamView(remoteUserId: string): Promise<void>;
|
2419
|
+
/**
|
2420
|
+
* Dispose the html view for a remote video stream
|
2421
|
+
*
|
2422
|
+
* @param remoteUserId - Id of the participant to dispose
|
2423
|
+
*
|
2424
|
+
* @public
|
2425
|
+
*/
|
2426
|
+
disposeRemoteVideoStreamView(remoteUserId: string): Promise<void>;
|
2427
|
+
/**
|
2428
|
+
* Dispose the html view for a local video stream
|
2429
|
+
*
|
2430
|
+
* @public
|
2431
|
+
*/
|
2432
|
+
disposeLocalVideoStreamView(): Promise<void>;
|
1566
2433
|
/**
|
1567
2434
|
* Ask for permissions of devices.
|
1568
2435
|
*
|
@@ -1679,6 +2546,97 @@ export declare interface CallWithChatAdapterManagement {
|
|
1679
2546
|
* @public
|
1680
2547
|
*/
|
1681
2548
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2549
|
+
/** @beta */
|
2550
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2551
|
+
/** @beta */
|
2552
|
+
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
2553
|
+
/** @beta */
|
2554
|
+
clearFileUploads: () => void;
|
2555
|
+
/** @beta */
|
2556
|
+
cancelFileUpload: (id: string) => void;
|
2557
|
+
/** @beta */
|
2558
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
2559
|
+
/** @beta */
|
2560
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2561
|
+
/** @beta */
|
2562
|
+
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2563
|
+
downloadAttachments: (options: {
|
2564
|
+
attachmentUrls: string[];
|
2565
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
2566
|
+
/**
|
2567
|
+
* Puts the Call in a Localhold.
|
2568
|
+
*
|
2569
|
+
* @beta
|
2570
|
+
*/
|
2571
|
+
holdCall: () => Promise<void>;
|
2572
|
+
/**
|
2573
|
+
* Resumes the call from a LocalHold state.
|
2574
|
+
*
|
2575
|
+
* @beta
|
2576
|
+
*/
|
2577
|
+
resumeCall: () => Promise<void>;
|
2578
|
+
/**
|
2579
|
+
* Adds a new Participant to the call.
|
2580
|
+
*
|
2581
|
+
* @beta
|
2582
|
+
*/
|
2583
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2584
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2585
|
+
/**
|
2586
|
+
* send dtmf tone to another participant in the call in 1:1 calls
|
2587
|
+
*
|
2588
|
+
* @beta
|
2589
|
+
*/
|
2590
|
+
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2591
|
+
/**
|
2592
|
+
* Continues into a call when the browser version is not supported.
|
2593
|
+
*/
|
2594
|
+
allowUnsupportedBrowserVersion(): void;
|
2595
|
+
/**
|
2596
|
+
* Function to Start captions
|
2597
|
+
* @param options - options for start captions
|
2598
|
+
*/
|
2599
|
+
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
2600
|
+
/**
|
2601
|
+
* Function to set caption language
|
2602
|
+
* @param language - language set for caption
|
2603
|
+
*/
|
2604
|
+
setCaptionLanguage(language: string): Promise<void>;
|
2605
|
+
/**
|
2606
|
+
* Function to set spoken language
|
2607
|
+
* @param language - spoken language
|
2608
|
+
*/
|
2609
|
+
setSpokenLanguage(language: string): Promise<void>;
|
2610
|
+
/**
|
2611
|
+
* Funtion to stop captions
|
2612
|
+
*/
|
2613
|
+
stopCaptions(): Promise<void>;
|
2614
|
+
/**
|
2615
|
+
* Start the video background effect.
|
2616
|
+
*
|
2617
|
+
* @beta
|
2618
|
+
*/
|
2619
|
+
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
2620
|
+
/**
|
2621
|
+
* Stop the video background effect.
|
2622
|
+
*
|
2623
|
+
* @beta
|
2624
|
+
*/
|
2625
|
+
stopVideoBackgroundEffects(): Promise<void>;
|
2626
|
+
/**
|
2627
|
+
* Override the background picker images for background replacement effect.
|
2628
|
+
*
|
2629
|
+
* @param backgroundImages - Array of custom background images.
|
2630
|
+
*
|
2631
|
+
* @beta
|
2632
|
+
*/
|
2633
|
+
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
2634
|
+
/**
|
2635
|
+
* Update the selected video background effect
|
2636
|
+
*
|
2637
|
+
* @beta
|
2638
|
+
*/
|
2639
|
+
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
1682
2640
|
}
|
1683
2641
|
|
1684
2642
|
/**
|
@@ -1706,6 +2664,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
1706
2664
|
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
1707
2665
|
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
1708
2666
|
on(event: 'callError', listener: (e: AdapterError) => void): void;
|
2667
|
+
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2668
|
+
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1709
2669
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
1710
2670
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
1711
2671
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -1717,6 +2677,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
1717
2677
|
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
1718
2678
|
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
1719
2679
|
off(event: 'callError', listener: (e: AdapterError) => void): void;
|
2680
|
+
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2681
|
+
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1720
2682
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
1721
2683
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
1722
2684
|
on(event: 'messageRead', listener: MessageReadListener): void;
|
@@ -1749,6 +2711,22 @@ export declare interface CallWithChatAdapterUiState {
|
|
1749
2711
|
* @public
|
1750
2712
|
*/
|
1751
2713
|
page: CallCompositePage;
|
2714
|
+
/**
|
2715
|
+
* Files being uploaded by a user in the current thread.
|
2716
|
+
* Should be set to null once the upload is complete.
|
2717
|
+
* Array of type {@link FileUploadsUiState}
|
2718
|
+
*
|
2719
|
+
* @beta
|
2720
|
+
*/
|
2721
|
+
fileUploads?: FileUploadsUiState;
|
2722
|
+
/**
|
2723
|
+
* State to track whether the end user has opted in to using a
|
2724
|
+
* out of date version of a supported browser. Allows the user
|
2725
|
+
* to start a call in this state.
|
2726
|
+
*
|
2727
|
+
* @beta
|
2728
|
+
*/
|
2729
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
1752
2730
|
}
|
1753
2731
|
|
1754
2732
|
/**
|
@@ -1773,6 +2751,14 @@ export declare interface CallWithChatClientState {
|
|
1773
2751
|
devices: DeviceManagerState;
|
1774
2752
|
/** State of whether the active call is a Teams interop call */
|
1775
2753
|
isTeamsCall: boolean;
|
2754
|
+
/** alternateCallerId for PSTN call */
|
2755
|
+
alternateCallerId?: string | undefined;
|
2756
|
+
/** Environment information for system adapter is made on */
|
2757
|
+
environmentInfo?: EnvironmentInfo;
|
2758
|
+
/** Default set of background images for background replacement effect */
|
2759
|
+
videoBackgroundImages?: VideoBackgroundImage[];
|
2760
|
+
/** State to track the selected video background effect */
|
2761
|
+
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
1776
2762
|
}
|
1777
2763
|
|
1778
2764
|
/**
|
@@ -1839,6 +2825,9 @@ export declare type CallWithChatCompositeIcons = {
|
|
1839
2825
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1840
2826
|
VideoTileMicOff?: JSX.Element;
|
1841
2827
|
LocalCameraSwitch?: JSX.Element;
|
2828
|
+
PeoplePaneAddPerson?: JSX.Element;
|
2829
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
2830
|
+
DialpadStartCall?: JSX.Element;
|
1842
2831
|
EditBoxCancel?: JSX.Element;
|
1843
2832
|
EditBoxSubmit?: JSX.Element;
|
1844
2833
|
MessageDelivered?: JSX.Element;
|
@@ -1865,6 +2854,62 @@ export declare type CallWithChatCompositeOptions = {
|
|
1865
2854
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
1866
2855
|
*/
|
1867
2856
|
callControls?: boolean | CallWithChatControlOptions;
|
2857
|
+
/**
|
2858
|
+
* Properties for configuring the File Sharing feature.
|
2859
|
+
* If undefined, file sharing feature will be disabled.
|
2860
|
+
* @beta
|
2861
|
+
*/
|
2862
|
+
fileSharing?: FileSharingOptions;
|
2863
|
+
/**
|
2864
|
+
* Device permissions check options for your call.
|
2865
|
+
* Here you can choose what device permissions you prompt the user for,
|
2866
|
+
* as well as what device permissions must be accepted before starting a call.
|
2867
|
+
*/
|
2868
|
+
deviceChecks?: DeviceCheckOptions;
|
2869
|
+
/**
|
2870
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
2871
|
+
* unable to grant your site the required permissions for the call.
|
2872
|
+
*
|
2873
|
+
* @example
|
2874
|
+
* ```ts
|
2875
|
+
* onPermissionsTroubleshootingClick: () =>
|
2876
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
2877
|
+
* ```
|
2878
|
+
*
|
2879
|
+
* @remarks
|
2880
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
2881
|
+
*/
|
2882
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
2883
|
+
camera: PermissionState;
|
2884
|
+
microphone: PermissionState;
|
2885
|
+
}) => void;
|
2886
|
+
/**
|
2887
|
+
* Optional callback to supply users with further troubleshooting steps for network issues
|
2888
|
+
* experienced when connecting to a call.
|
2889
|
+
*
|
2890
|
+
* @example
|
2891
|
+
* ```ts
|
2892
|
+
* onNetworkingTroubleShootingClick?: () =>
|
2893
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
2894
|
+
* ```
|
2895
|
+
*
|
2896
|
+
* @remarks
|
2897
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
2898
|
+
*/
|
2899
|
+
onNetworkingTroubleShootingClick?: () => void;
|
2900
|
+
/**
|
2901
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
2902
|
+
*
|
2903
|
+
* @example
|
2904
|
+
* ```ts
|
2905
|
+
* onBrowserTroubleShootingClick?: () =>
|
2906
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
2907
|
+
* ```
|
2908
|
+
*
|
2909
|
+
* @remarks
|
2910
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
2911
|
+
*/
|
2912
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1868
2913
|
};
|
1869
2914
|
|
1870
2915
|
/**
|
@@ -1950,6 +2995,18 @@ export declare interface CallWithChatCompositeStrings {
|
|
1950
2995
|
* Only used with `mobileView` set to `true`.
|
1951
2996
|
*/
|
1952
2997
|
moreDrawerSpeakerMenuTitle: string;
|
2998
|
+
/**
|
2999
|
+
* Title for the captions sub-menu in more button drawer.
|
3000
|
+
*
|
3001
|
+
* Only used with `mobileView` set to `true`.
|
3002
|
+
*/
|
3003
|
+
moreDrawerCaptionsMenuTitle: string;
|
3004
|
+
/**
|
3005
|
+
* Title for the spoken language sub-menu in more button drawer.
|
3006
|
+
*
|
3007
|
+
* Only used with `mobileView` set to `true`.
|
3008
|
+
*/
|
3009
|
+
moreDrawerSpokenLanguageMenuTitle: string;
|
1953
3010
|
/**
|
1954
3011
|
* {@Link CallWithChatComposite} control bar More button label
|
1955
3012
|
*/
|
@@ -1990,6 +3047,10 @@ export declare interface CallWithChatCompositeStrings {
|
|
1990
3047
|
* Label for button to copy invite link
|
1991
3048
|
*/
|
1992
3049
|
copyInviteLinkButtonLabel: string;
|
3050
|
+
/**
|
3051
|
+
* Label for button to open dialpad
|
3052
|
+
*/
|
3053
|
+
openDialpadButtonLabel: string;
|
1993
3054
|
/**
|
1994
3055
|
* Label for SidePaneHeader dismiss button
|
1995
3056
|
*/
|
@@ -2002,6 +3063,34 @@ export declare interface CallWithChatCompositeStrings {
|
|
2002
3063
|
* Aria label string for return to call back button
|
2003
3064
|
*/
|
2004
3065
|
returnToCallButtonAriaLabel?: string;
|
3066
|
+
/**
|
3067
|
+
* Label for add people dropdown
|
3068
|
+
*/
|
3069
|
+
peoplePaneAddPeopleButtonLabel: string;
|
3070
|
+
/**
|
3071
|
+
* Label for button to start a call
|
3072
|
+
*/
|
3073
|
+
dialpadStartCallButtonLabel: string;
|
3074
|
+
/**
|
3075
|
+
* Title for dialpad Modal
|
3076
|
+
*/
|
3077
|
+
dialpadModalTitle: string;
|
3078
|
+
/**
|
3079
|
+
* Aria Label for dialpad Modal
|
3080
|
+
*/
|
3081
|
+
dialpadModalAriaLabel: string;
|
3082
|
+
/**
|
3083
|
+
* Aria Label for dialpad Modal close button
|
3084
|
+
*/
|
3085
|
+
dialpadCloseModalButtonAriaLabel: string;
|
3086
|
+
/**
|
3087
|
+
* Placeholder text for dtmf dialpad
|
3088
|
+
*/
|
3089
|
+
dtmfDialpadPlaceholderText: string;
|
3090
|
+
/**
|
3091
|
+
* Label for the button to open dtmf dialpad
|
3092
|
+
*/
|
3093
|
+
openDtmfDialpadLabel: string;
|
2005
3094
|
/**
|
2006
3095
|
* aria label for when the invite link has been actioned
|
2007
3096
|
*/
|
@@ -2018,7 +3107,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2018
3107
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2019
3108
|
* @defaultValue true
|
2020
3109
|
*/
|
2021
|
-
chatButton?: boolean
|
3110
|
+
chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3111
|
+
disabled: boolean;
|
3112
|
+
};
|
2022
3113
|
}
|
2023
3114
|
|
2024
3115
|
/**
|
@@ -2026,7 +3117,36 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2026
3117
|
*
|
2027
3118
|
* @public
|
2028
3119
|
*/
|
2029
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3120
|
+
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' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3121
|
+
|
3122
|
+
/**
|
3123
|
+
* @beta
|
3124
|
+
*
|
3125
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3126
|
+
* by their browsers settings.
|
3127
|
+
*/
|
3128
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3129
|
+
|
3130
|
+
/**
|
3131
|
+
* @beta
|
3132
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
3133
|
+
*/
|
3134
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3135
|
+
/** Icon name for the camera icon */
|
3136
|
+
cameraIconName?: string;
|
3137
|
+
/** Icon name for the microphone icon */
|
3138
|
+
microphoneIconName?: string;
|
3139
|
+
/** Icon name for the central icon between the camera and microphone icons */
|
3140
|
+
connectorIconName?: string;
|
3141
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3142
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3143
|
+
}
|
3144
|
+
|
3145
|
+
/**
|
3146
|
+
* @beta
|
3147
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
3148
|
+
*/
|
3149
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2030
3150
|
|
2031
3151
|
/**
|
2032
3152
|
* A button to turn camera on / off.
|
@@ -2090,6 +3210,10 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
|
|
2090
3210
|
* Styles for {@link CameraButton} and the device selection flyout.
|
2091
3211
|
*/
|
2092
3212
|
styles?: Partial<CameraButtonStyles>;
|
3213
|
+
/**
|
3214
|
+
* Callback when a effects is clicked
|
3215
|
+
*/
|
3216
|
+
onShowVideoEffectsPicker?: (showVideoEffectsOptions: boolean) => void;
|
2093
3217
|
}
|
2094
3218
|
|
2095
3219
|
/**
|
@@ -2162,6 +3286,10 @@ export declare interface CameraButtonStrings {
|
|
2162
3286
|
* Title for primary action section of split button
|
2163
3287
|
*/
|
2164
3288
|
cameraPrimaryActionSplitButtonTitle?: string;
|
3289
|
+
/**
|
3290
|
+
* Title for video effects menu item
|
3291
|
+
*/
|
3292
|
+
videoEffectsMenuItemTitle?: string;
|
2165
3293
|
}
|
2166
3294
|
|
2167
3295
|
/**
|
@@ -2176,18 +3304,177 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2176
3304
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
2177
3305
|
}
|
2178
3306
|
|
3307
|
+
/**
|
3308
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3309
|
+
* by their browsers settings.
|
3310
|
+
*
|
3311
|
+
* @beta
|
3312
|
+
*/
|
3313
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3314
|
+
|
3315
|
+
/**
|
3316
|
+
* @beta
|
3317
|
+
* Props for CameraSitePermissions component.
|
3318
|
+
*/
|
3319
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3320
|
+
/** Icon name for the camera icon */
|
3321
|
+
cameraIconName?: string;
|
3322
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
3323
|
+
strings?: CameraSitePermissionsStrings;
|
3324
|
+
}
|
3325
|
+
|
3326
|
+
/**
|
3327
|
+
* @beta
|
3328
|
+
* Strings for CameraSitePermissions component.
|
3329
|
+
*/
|
3330
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3331
|
+
|
2179
3332
|
/**
|
2180
3333
|
* @public
|
2181
3334
|
* Callback function run when a message edit is cancelled.
|
2182
3335
|
*/
|
2183
3336
|
export declare type CancelEditCallback = (messageId: string) => void;
|
2184
3337
|
|
3338
|
+
/**
|
3339
|
+
* @beta
|
3340
|
+
* strings for captions setting modal
|
3341
|
+
*/
|
3342
|
+
export declare interface CaptionsAvailableLanguageStrings {
|
3343
|
+
'ar-ae': string;
|
3344
|
+
'ar-sa': string;
|
3345
|
+
'da-dk': string;
|
3346
|
+
'de-de': string;
|
3347
|
+
'en-au': string;
|
3348
|
+
'en-ca': string;
|
3349
|
+
'en-gb': string;
|
3350
|
+
'en-in': string;
|
3351
|
+
'en-nz': string;
|
3352
|
+
'en-us': string;
|
3353
|
+
'es-es': string;
|
3354
|
+
'es-mx': string;
|
3355
|
+
'fi-fi': string;
|
3356
|
+
'fr-ca': string;
|
3357
|
+
'fr-fr': string;
|
3358
|
+
'hi-in': string;
|
3359
|
+
'it-it': string;
|
3360
|
+
'ja-jp': string;
|
3361
|
+
'ko-kr': string;
|
3362
|
+
'nb-no': string;
|
3363
|
+
'nl-be': string;
|
3364
|
+
'nl-nl': string;
|
3365
|
+
'pl-pl': string;
|
3366
|
+
'pt-br': string;
|
3367
|
+
'ru-ru': string;
|
3368
|
+
'sv-se': string;
|
3369
|
+
'zh-cn': string;
|
3370
|
+
'zh-hk': string;
|
3371
|
+
'cs-cz': string;
|
3372
|
+
'pt-pt': string;
|
3373
|
+
'tr-tr': string;
|
3374
|
+
'vi-vn': string;
|
3375
|
+
'th-th': string;
|
3376
|
+
'he-il': string;
|
3377
|
+
'cy-gb': string;
|
3378
|
+
'uk-ua': string;
|
3379
|
+
'el-gr': string;
|
3380
|
+
'hu-hu': string;
|
3381
|
+
'ro-ro': string;
|
3382
|
+
'sk-sk': string;
|
3383
|
+
'zh-tw': string;
|
3384
|
+
}
|
3385
|
+
|
3386
|
+
/**
|
3387
|
+
* @beta
|
3388
|
+
*/
|
3389
|
+
export declare interface CaptionsCallFeatureState {
|
3390
|
+
/**
|
3391
|
+
* supported spoken languages
|
3392
|
+
*/
|
3393
|
+
supportedSpokenLanguages: string[];
|
3394
|
+
/**
|
3395
|
+
* array of received captions
|
3396
|
+
*/
|
3397
|
+
captions: CaptionsInfo[];
|
3398
|
+
/**
|
3399
|
+
* whether captions is on/off
|
3400
|
+
*/
|
3401
|
+
isCaptionsFeatureActive: boolean;
|
3402
|
+
/**
|
3403
|
+
* whether start captions button is clicked or now
|
3404
|
+
*/
|
3405
|
+
startCaptionsInProgress: boolean;
|
3406
|
+
/**
|
3407
|
+
* supported caption languages
|
3408
|
+
*/
|
3409
|
+
supportedCaptionLanguages: string[];
|
3410
|
+
/**
|
3411
|
+
* current spoken language
|
3412
|
+
*/
|
3413
|
+
currentSpokenLanguage: string;
|
3414
|
+
/**
|
3415
|
+
* current caption language
|
3416
|
+
*/
|
3417
|
+
currentCaptionLanguage: string;
|
3418
|
+
}
|
3419
|
+
|
3420
|
+
/**
|
3421
|
+
* @beta
|
3422
|
+
*/
|
3423
|
+
export declare interface CaptionsInfo {
|
3424
|
+
/**
|
3425
|
+
* The state in which this caption data can be classified.
|
3426
|
+
*/
|
3427
|
+
resultType: CaptionsResultType;
|
3428
|
+
/**
|
3429
|
+
* The information of the call participant who spoke the captioned text.
|
3430
|
+
*/
|
3431
|
+
speaker: CallerInfo;
|
3432
|
+
/**
|
3433
|
+
* The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
|
3434
|
+
*/
|
3435
|
+
spokenLanguage: string;
|
3436
|
+
/**
|
3437
|
+
* The caption text.
|
3438
|
+
*/
|
3439
|
+
captionText: string;
|
3440
|
+
/**
|
3441
|
+
* Timestamp of when the captioned words were initially spoken.
|
3442
|
+
*/
|
3443
|
+
timestamp: Date;
|
3444
|
+
/**
|
3445
|
+
* The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
|
3446
|
+
*/
|
3447
|
+
captionLanguage?: string;
|
3448
|
+
/**
|
3449
|
+
* The original spoken caption text prior to translating to subtitle language
|
3450
|
+
*/
|
3451
|
+
spokenText?: string;
|
3452
|
+
}
|
3453
|
+
|
3454
|
+
/**
|
3455
|
+
* options bag to start captions
|
3456
|
+
*
|
3457
|
+
* @beta
|
3458
|
+
*/
|
3459
|
+
export declare type CaptionsOptions = {
|
3460
|
+
spokenLanguage: string;
|
3461
|
+
};
|
3462
|
+
|
3463
|
+
/**
|
3464
|
+
* Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
|
3465
|
+
*
|
3466
|
+
* @beta
|
3467
|
+
*/
|
3468
|
+
export declare type CaptionsReceivedListener = (event: {
|
3469
|
+
captionsInfo: CaptionsInfo;
|
3470
|
+
}) => void;
|
3471
|
+
|
2185
3472
|
/**
|
2186
3473
|
* {@link ChatComposite} Adapter interface.
|
2187
3474
|
*
|
2188
3475
|
* @public
|
2189
3476
|
*/
|
2190
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
|
3477
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers & FileUploadAdapter;
|
2191
3478
|
|
2192
3479
|
/**
|
2193
3480
|
* {@link ChatAdapter} state.
|
@@ -2295,7 +3582,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
2295
3582
|
/**
|
2296
3583
|
* Update a message content.
|
2297
3584
|
*/
|
2298
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
3585
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
3586
|
+
attachedFilesMetadata?: FileMetadata[];
|
3587
|
+
}): Promise<void>;
|
2299
3588
|
/**
|
2300
3589
|
* Delete a message in the thread.
|
2301
3590
|
*/
|
@@ -2308,6 +3597,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
2308
3597
|
*
|
2309
3598
|
*/
|
2310
3599
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3600
|
+
downloadAttachments: (options: {
|
3601
|
+
attachmentUrls: string[];
|
3602
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
2311
3603
|
}
|
2312
3604
|
|
2313
3605
|
/**
|
@@ -2317,6 +3609,13 @@ export declare interface ChatAdapterThreadManagement {
|
|
2317
3609
|
*/
|
2318
3610
|
export declare type ChatAdapterUiState = {
|
2319
3611
|
error?: Error;
|
3612
|
+
/**
|
3613
|
+
* Files being uploaded by a user in the current thread.
|
3614
|
+
* Should be set to null once the upload is complete.
|
3615
|
+
* Array of type {@link FileUploadsUiState}
|
3616
|
+
* @beta
|
3617
|
+
*/
|
3618
|
+
fileUploads?: FileUploadsUiState;
|
2320
3619
|
};
|
2321
3620
|
|
2322
3621
|
/**
|
@@ -2419,6 +3718,7 @@ export declare type ChatCompositeIcons = {
|
|
2419
3718
|
ParticipantItemOptionsHovered?: JSX.Element;
|
2420
3719
|
SendBoxSend?: JSX.Element;
|
2421
3720
|
SendBoxSendHovered?: JSX.Element;
|
3721
|
+
SendBoxAttachFile?: JSX.Element;
|
2422
3722
|
};
|
2423
3723
|
|
2424
3724
|
/**
|
@@ -2433,6 +3733,13 @@ export declare type ChatCompositeOptions = {
|
|
2433
3733
|
* @defaultValue true
|
2434
3734
|
*/
|
2435
3735
|
errorBar?: boolean;
|
3736
|
+
/**
|
3737
|
+
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
3738
|
+
* @defaultValue false
|
3739
|
+
*
|
3740
|
+
* @beta
|
3741
|
+
*/
|
3742
|
+
participantPane?: boolean;
|
2436
3743
|
/**
|
2437
3744
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
2438
3745
|
* @defaultValue true
|
@@ -2443,6 +3750,12 @@ export declare type ChatCompositeOptions = {
|
|
2443
3750
|
* When undefined nothing has focus on render
|
2444
3751
|
*/
|
2445
3752
|
autoFocus?: 'sendBoxTextField';
|
3753
|
+
/**
|
3754
|
+
* Properties for configuring the File Sharing feature.
|
3755
|
+
* If undefined, file sharing feature will be disabled.
|
3756
|
+
* @beta
|
3757
|
+
*/
|
3758
|
+
fileSharing?: FileSharingOptions;
|
2446
3759
|
};
|
2447
3760
|
|
2448
3761
|
/**
|
@@ -2470,6 +3783,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
2470
3783
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
2471
3784
|
*/
|
2472
3785
|
options?: ChatCompositeOptions;
|
3786
|
+
/**
|
3787
|
+
* Optimizes the composite form factor for either desktop or mobile.
|
3788
|
+
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
3789
|
+
* @defaultValue 'desktop'
|
3790
|
+
*/
|
3791
|
+
formFactor?: 'desktop' | 'mobile';
|
2473
3792
|
}
|
2474
3793
|
|
2475
3794
|
/**
|
@@ -2484,6 +3803,10 @@ export declare interface ChatCompositeStrings {
|
|
2484
3803
|
* Chat list header text
|
2485
3804
|
*/
|
2486
3805
|
chatListHeader: string;
|
3806
|
+
/**
|
3807
|
+
* Upload File Button text
|
3808
|
+
*/
|
3809
|
+
uploadFile: string;
|
2487
3810
|
}
|
2488
3811
|
|
2489
3812
|
/**
|
@@ -2549,7 +3872,9 @@ export declare type ChatHandlers = {
|
|
2549
3872
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
2550
3873
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
2551
3874
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
2552
|
-
onUpdateMessage: (messageId: string, content: string
|
3875
|
+
onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
3876
|
+
attachedFilesMetadata?: FileMetadata[];
|
3877
|
+
}) => Promise<void>;
|
2553
3878
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
2554
3879
|
};
|
2555
3880
|
|
@@ -2576,6 +3901,12 @@ export declare interface ChatMessage extends MessageCommon {
|
|
2576
3901
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
2577
3902
|
*/
|
2578
3903
|
metadata?: Record<string, string>;
|
3904
|
+
/**
|
3905
|
+
* @beta
|
3906
|
+
* A list of files attached to the message.
|
3907
|
+
* {@link FileMetadata}
|
3908
|
+
*/
|
3909
|
+
attachedFilesMetadata?: FileMetadata[];
|
2579
3910
|
}
|
2580
3911
|
|
2581
3912
|
/**
|
@@ -2589,6 +3920,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
2589
3920
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
2590
3921
|
clientMessageId?: string;
|
2591
3922
|
status: MessageStatus;
|
3923
|
+
policyViolation?: boolean;
|
2592
3924
|
};
|
2593
3925
|
|
2594
3926
|
/**
|
@@ -2722,8 +4054,32 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
2722
4054
|
* @public
|
2723
4055
|
*/
|
2724
4056
|
startCall(participants: string[], options?: StartCallOptions): void;
|
4057
|
+
/**
|
4058
|
+
* Start the call.
|
4059
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
4060
|
+
* @beta
|
4061
|
+
*/
|
4062
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
2725
4063
|
}
|
2726
4064
|
|
4065
|
+
/**
|
4066
|
+
* Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
|
4067
|
+
*
|
4068
|
+
* @beta
|
4069
|
+
*/
|
4070
|
+
export declare type CommonCallAdapterOptions = {
|
4071
|
+
/**
|
4072
|
+
* Default set of background images for background image picker.
|
4073
|
+
*/
|
4074
|
+
videoBackgroundImages?: VideoBackgroundImage[];
|
4075
|
+
/**
|
4076
|
+
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4077
|
+
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4078
|
+
* and would not be updated again within the lifecycle of adapter.
|
4079
|
+
*/
|
4080
|
+
onFetchProfile?: OnFetchProfileCallback;
|
4081
|
+
};
|
4082
|
+
|
2727
4083
|
/**
|
2728
4084
|
* Customization options for the control bar in calling experience.
|
2729
4085
|
*
|
@@ -2744,7 +4100,9 @@ export declare type CommonCallControlOptions = {
|
|
2744
4100
|
* Show or Hide Camera Button during a call
|
2745
4101
|
* @defaultValue true
|
2746
4102
|
*/
|
2747
|
-
cameraButton?: boolean
|
4103
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4104
|
+
disabled: boolean;
|
4105
|
+
};
|
2748
4106
|
/**
|
2749
4107
|
* Show or Hide EndCall button during a call.
|
2750
4108
|
* @defaultValue true
|
@@ -2754,12 +4112,16 @@ export declare type CommonCallControlOptions = {
|
|
2754
4112
|
* Show or Hide Microphone button during a call.
|
2755
4113
|
* @defaultValue true
|
2756
4114
|
*/
|
2757
|
-
microphoneButton?: boolean
|
4115
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4116
|
+
disabled: boolean;
|
4117
|
+
};
|
2758
4118
|
/**
|
2759
4119
|
* Show or Hide Devices button during a call.
|
2760
4120
|
* @defaultValue true
|
2761
4121
|
*/
|
2762
|
-
devicesButton?: boolean
|
4122
|
+
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4123
|
+
disabled: boolean;
|
4124
|
+
};
|
2763
4125
|
/**
|
2764
4126
|
* Show, Hide or Disable participants button during a call.
|
2765
4127
|
* @defaultValue true
|
@@ -2768,17 +4130,33 @@ export declare type CommonCallControlOptions = {
|
|
2768
4130
|
disabled: boolean;
|
2769
4131
|
};
|
2770
4132
|
/**
|
2771
|
-
* Show, Hide or Disable the screen share button during a call.
|
4133
|
+
* Show, Hide or Disable the screen share button during a call.
|
4134
|
+
* @defaultValue true
|
4135
|
+
*/
|
4136
|
+
screenShareButton?: boolean | {
|
4137
|
+
disabled: boolean;
|
4138
|
+
};
|
4139
|
+
/**
|
4140
|
+
* Show, Hide or disable the more button during a call.
|
2772
4141
|
* @defaultValue true
|
2773
4142
|
*/
|
2774
|
-
|
4143
|
+
moreButton?: boolean;
|
4144
|
+
/**
|
4145
|
+
* Inject custom buttons in the call controls.
|
4146
|
+
*
|
4147
|
+
* @beta
|
4148
|
+
*/
|
4149
|
+
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4150
|
+
holdButton?: boolean | {
|
2775
4151
|
disabled: boolean;
|
2776
4152
|
};
|
2777
4153
|
/**
|
2778
4154
|
* Show or hide the people button in the composite control bar.
|
2779
4155
|
* @defaultValue true
|
2780
4156
|
*/
|
2781
|
-
peopleButton?: boolean
|
4157
|
+
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4158
|
+
disabled: boolean;
|
4159
|
+
};
|
2782
4160
|
};
|
2783
4161
|
|
2784
4162
|
/**
|
@@ -2800,12 +4178,30 @@ export declare interface CommonCallingHandlers {
|
|
2800
4178
|
onStopScreenShare: () => Promise<void>;
|
2801
4179
|
onToggleScreenShare: () => Promise<void>;
|
2802
4180
|
onHangUp: (forEveryone?: boolean) => Promise<void>;
|
4181
|
+
onToggleHold: () => Promise<void>;
|
4182
|
+
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4183
|
+
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
2803
4184
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
2804
4185
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4186
|
+
/**
|
4187
|
+
* @deprecated use {@link onDisposeRemoteVideoStreamView} and {@link onDisposeRemoteScreenShareStreamView} instead.
|
4188
|
+
*/
|
2805
4189
|
onDisposeRemoteStreamView: (userId: string) => Promise<void>;
|
2806
4190
|
onDisposeLocalStreamView: () => Promise<void>;
|
4191
|
+
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
4192
|
+
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4193
|
+
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2807
4194
|
onRemoveParticipant(userId: string): Promise<void>;
|
4195
|
+
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4196
|
+
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
2808
4197
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
4198
|
+
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4199
|
+
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
4200
|
+
onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>;
|
4201
|
+
onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
|
4202
|
+
onStopCaptions: () => Promise<void>;
|
4203
|
+
onSetSpokenLanguage: (language: string) => Promise<void>;
|
4204
|
+
onSetCaptionLanguage: (language: string) => Promise<void>;
|
2809
4205
|
}
|
2810
4206
|
|
2811
4207
|
/**
|
@@ -2817,6 +4213,39 @@ export declare type CommonProperties<A, B> = {
|
|
2817
4213
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
2818
4214
|
}[keyof A & keyof B];
|
2819
4215
|
|
4216
|
+
/**
|
4217
|
+
* @beta
|
4218
|
+
* Props for SitePermissions components.
|
4219
|
+
*/
|
4220
|
+
export declare interface CommonSitePermissionsProps {
|
4221
|
+
/**
|
4222
|
+
* Name of application calling experience is in.
|
4223
|
+
*/
|
4224
|
+
appName: string;
|
4225
|
+
/**
|
4226
|
+
* Kind of the Site Permissions component.
|
4227
|
+
*/
|
4228
|
+
kind: 'request' | 'denied' | 'check';
|
4229
|
+
/**
|
4230
|
+
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4231
|
+
*/
|
4232
|
+
browserHint?: 'safari' | 'unset';
|
4233
|
+
/**
|
4234
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4235
|
+
* If this is not provided the button will not be shown.
|
4236
|
+
*/
|
4237
|
+
onTroubleshootingClick?: () => void;
|
4238
|
+
/**
|
4239
|
+
* Action that is taken when the user clicks the continue anyway button.
|
4240
|
+
* If this is not provided the button will not be shown.
|
4241
|
+
*/
|
4242
|
+
onContinueAnywayClick?: () => void;
|
4243
|
+
/**
|
4244
|
+
* Styles for SitePermissions component.
|
4245
|
+
*/
|
4246
|
+
styles?: SitePermissionsStyles;
|
4247
|
+
}
|
4248
|
+
|
2820
4249
|
/**
|
2821
4250
|
* A Chat or Calling participant's state, as reflected in the UI.
|
2822
4251
|
*
|
@@ -2986,6 +4415,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
2986
4415
|
export declare interface ComponentLocale {
|
2987
4416
|
/** Strings for components */
|
2988
4417
|
strings: ComponentStrings;
|
4418
|
+
/**
|
4419
|
+
* Optional function to provide customized date format.
|
4420
|
+
* @beta
|
4421
|
+
*/
|
4422
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
2989
4423
|
}
|
2990
4424
|
|
2991
4425
|
/**
|
@@ -3029,12 +4463,58 @@ export declare interface ComponentStrings {
|
|
3029
4463
|
typingIndicator: TypingIndicatorStrings;
|
3030
4464
|
/** Strings for SendBox */
|
3031
4465
|
sendBox: SendBoxStrings;
|
4466
|
+
/** Strings for MentionPopover */
|
4467
|
+
mentionPopover: MentionPopoverStrings;
|
3032
4468
|
/** Strings for MessageStatusIndicator */
|
3033
4469
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
3034
4470
|
/** Strings for ErroBar */
|
3035
4471
|
errorBar: ErrorBarStrings;
|
3036
4472
|
/** Strings for VideoGallery */
|
3037
4473
|
videoGallery: VideoGalleryStrings;
|
4474
|
+
/** Strings for Dialpad */
|
4475
|
+
dialpad: DialpadStrings;
|
4476
|
+
/** Strings for VideoTile */
|
4477
|
+
videoTile: VideoTileStrings;
|
4478
|
+
/** Strings for HoldButton */
|
4479
|
+
holdButton: HoldButtonStrings;
|
4480
|
+
/** Strings for a site's permission request prompt */
|
4481
|
+
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4482
|
+
/** Strings for a site's permission request prompt */
|
4483
|
+
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4484
|
+
/** Strings for a site's permission request prompt */
|
4485
|
+
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4486
|
+
/** Strings for a site's permission generic checking prompt */
|
4487
|
+
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4488
|
+
/** Strings for a site's permission generic checking prompt */
|
4489
|
+
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4490
|
+
/** Strings for a site's permission generic checking prompt */
|
4491
|
+
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4492
|
+
/** Strings for a site's permission denied prompt */
|
4493
|
+
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4494
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
4495
|
+
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4496
|
+
/** Strings for a site's permission denied prompt */
|
4497
|
+
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4498
|
+
/** Strings for a site's permission denied prompt */
|
4499
|
+
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4500
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
4501
|
+
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4502
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
4503
|
+
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4504
|
+
/** Strings for unsupported browser UI */
|
4505
|
+
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4506
|
+
/** Strings for unsupported browser version UI */
|
4507
|
+
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4508
|
+
/** Strings for unsupported browser version UI */
|
4509
|
+
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4510
|
+
/** Strings for BrowserPemissionDenied */
|
4511
|
+
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4512
|
+
/** Strings for BrowserPemissionDeniedIOS */
|
4513
|
+
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4514
|
+
/**
|
4515
|
+
* Strings for the VerticalGallery.
|
4516
|
+
*/
|
4517
|
+
VerticalGallery: VerticalGalleryStrings;
|
3038
4518
|
}
|
3039
4519
|
|
3040
4520
|
/**
|
@@ -3384,7 +4864,7 @@ export declare interface ControlBarProps {
|
|
3384
4864
|
*
|
3385
4865
|
* @public
|
3386
4866
|
*/
|
3387
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4867
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
3388
4868
|
|
3389
4869
|
/**
|
3390
4870
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -3394,7 +4874,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
|
|
3394
4874
|
*
|
3395
4875
|
* @public
|
3396
4876
|
*/
|
3397
|
-
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator) => Promise<CallAdapter>;
|
4877
|
+
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
|
3398
4878
|
|
3399
4879
|
/**
|
3400
4880
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -3402,7 +4882,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
3402
4882
|
*
|
3403
4883
|
* @public
|
3404
4884
|
*/
|
3405
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
4885
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
3406
4886
|
|
3407
4887
|
/**
|
3408
4888
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -3412,7 +4892,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
3412
4892
|
*
|
3413
4893
|
* @public
|
3414
4894
|
*/
|
3415
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4895
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, options }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
3416
4896
|
|
3417
4897
|
/**
|
3418
4898
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -3431,7 +4911,9 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
3431
4911
|
*
|
3432
4912
|
* @public
|
3433
4913
|
*/
|
3434
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
4914
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
|
4915
|
+
credential?: CommunicationTokenCredential;
|
4916
|
+
}): Promise<ChatAdapter>;
|
3435
4917
|
|
3436
4918
|
/**
|
3437
4919
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -3455,6 +4937,16 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
|
|
3455
4937
|
*/
|
3456
4938
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
3457
4939
|
|
4940
|
+
/**
|
4941
|
+
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
4942
|
+
*
|
4943
|
+
* Useful when implementing a custom component that utilizes the providers
|
4944
|
+
* exported from this library.
|
4945
|
+
*
|
4946
|
+
* @beta
|
4947
|
+
*/
|
4948
|
+
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) => never | TeamsCallingHandlers;
|
4949
|
+
|
3458
4950
|
/**
|
3459
4951
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
3460
4952
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -3480,6 +4972,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
3480
4972
|
*/
|
3481
4973
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
3482
4974
|
|
4975
|
+
/**
|
4976
|
+
* @beta
|
4977
|
+
*/
|
4978
|
+
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
4979
|
+
|
4980
|
+
/**
|
4981
|
+
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
4982
|
+
*
|
4983
|
+
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
4984
|
+
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
4985
|
+
*
|
4986
|
+
* @beta
|
4987
|
+
*/
|
4988
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
|
4989
|
+
|
3483
4990
|
/**
|
3484
4991
|
* Object returned after creating a local or remote VideoStream.
|
3485
4992
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -3530,8 +5037,146 @@ export declare type CustomAvatarOptions = {
|
|
3530
5037
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
3531
5038
|
/** Display name to be used in Persona */
|
3532
5039
|
text?: string;
|
5040
|
+
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5041
|
+
participantState?: ParticipantState;
|
5042
|
+
/**
|
5043
|
+
* If true, show the special coin for unknown persona.
|
5044
|
+
* It has '?' in place of initials, with static font and background colors
|
5045
|
+
*/
|
5046
|
+
showUnknownPersonaCoin?: boolean;
|
3533
5047
|
};
|
3534
5048
|
|
5049
|
+
/**
|
5050
|
+
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
5051
|
+
*
|
5052
|
+
* The response indicates where the custom button should be placed.
|
5053
|
+
*
|
5054
|
+
* Performance tip: This callback is only called when either the callback or its arguments change.
|
5055
|
+
* @beta
|
5056
|
+
*/
|
5057
|
+
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
5058
|
+
export { CustomCallControlButtonCallback }
|
5059
|
+
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
5060
|
+
|
5061
|
+
/**
|
5062
|
+
* Arguments for {@link CustomCallControlButtonCallback}.
|
5063
|
+
*
|
5064
|
+
* @beta
|
5065
|
+
*/
|
5066
|
+
export declare interface CustomCallControlButtonCallbackArgs {
|
5067
|
+
/**
|
5068
|
+
* Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
|
5069
|
+
*
|
5070
|
+
* @defaultValue `'default'`
|
5071
|
+
*/
|
5072
|
+
displayType?: CallControlDisplayType;
|
5073
|
+
}
|
5074
|
+
|
5075
|
+
/**
|
5076
|
+
* Placement for a custom button injected in the {@link CommonCallControlBar}.
|
5077
|
+
*
|
5078
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
5079
|
+
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
5080
|
+
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
5081
|
+
*
|
5082
|
+
* Multiple buttons assigned the same placement are appended in order.
|
5083
|
+
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
5084
|
+
* in the order provided.
|
5085
|
+
*
|
5086
|
+
* Only 'primary' placement works when legacy call control is enabled in call composite
|
5087
|
+
*
|
5088
|
+
* @beta
|
5089
|
+
*/
|
5090
|
+
declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
5091
|
+
export { CustomCallControlButtonPlacement }
|
5092
|
+
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
5093
|
+
|
5094
|
+
/**
|
5095
|
+
* Response from {@link CustomCallControlButtonCallback}.
|
5096
|
+
*
|
5097
|
+
* Includes the placement prop necessary to indicate where to place the
|
5098
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5099
|
+
*
|
5100
|
+
* @beta
|
5101
|
+
*/
|
5102
|
+
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
5103
|
+
/**
|
5104
|
+
* Where to place the custom button relative to other buttons.
|
5105
|
+
*/
|
5106
|
+
placement: CustomCallControlButtonPlacement;
|
5107
|
+
/**
|
5108
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5109
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5110
|
+
*/
|
5111
|
+
iconName?: string;
|
5112
|
+
}
|
5113
|
+
|
5114
|
+
/**
|
5115
|
+
* Response from {@link CustomCallControlButtonCallback}.
|
5116
|
+
*
|
5117
|
+
* Includes the icon and placement prop necessary to indicate where to place the
|
5118
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5119
|
+
*
|
5120
|
+
* @beta
|
5121
|
+
*/
|
5122
|
+
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
5123
|
+
/**
|
5124
|
+
* Where to place the custom button relative to other buttons.
|
5125
|
+
*/
|
5126
|
+
placement: CustomCallControlButtonPlacement;
|
5127
|
+
/**
|
5128
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5129
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5130
|
+
*/
|
5131
|
+
iconName?: string;
|
5132
|
+
}
|
5133
|
+
|
5134
|
+
/**
|
5135
|
+
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
5136
|
+
*
|
5137
|
+
* @beta
|
5138
|
+
*/
|
5139
|
+
export declare interface CustomControlButtonProps {
|
5140
|
+
/**
|
5141
|
+
* Calback for when button is clicked
|
5142
|
+
*/
|
5143
|
+
onItemClick?: () => void;
|
5144
|
+
/**
|
5145
|
+
* Whether the buttons is disabled
|
5146
|
+
*/
|
5147
|
+
disabled?: boolean;
|
5148
|
+
/**
|
5149
|
+
* Whether the label is displayed or not.
|
5150
|
+
*
|
5151
|
+
* @defaultValue `false`
|
5152
|
+
*/
|
5153
|
+
showLabel?: boolean;
|
5154
|
+
/**
|
5155
|
+
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
5156
|
+
*/
|
5157
|
+
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
5158
|
+
/**
|
5159
|
+
* Optional label for the button
|
5160
|
+
*/
|
5161
|
+
text?: string;
|
5162
|
+
/**
|
5163
|
+
* A unique key for the button
|
5164
|
+
*/
|
5165
|
+
key?: string | number;
|
5166
|
+
/**
|
5167
|
+
* The aria label of the button for the benefit of screen readers.
|
5168
|
+
*/
|
5169
|
+
ariaLabel?: string;
|
5170
|
+
/**
|
5171
|
+
* Detailed description of the button for the benefit of screen readers.
|
5172
|
+
*/
|
5173
|
+
ariaDescription?: string;
|
5174
|
+
/**
|
5175
|
+
* A unique id set for the standard HTML id attibute
|
5176
|
+
*/
|
5177
|
+
id?: string;
|
5178
|
+
}
|
5179
|
+
|
3535
5180
|
/**
|
3536
5181
|
* A custom message type.
|
3537
5182
|
*
|
@@ -3551,6 +5196,18 @@ export declare interface CustomMessage extends MessageCommon {
|
|
3551
5196
|
*/
|
3552
5197
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
3553
5198
|
|
5199
|
+
/**
|
5200
|
+
* @beta
|
5201
|
+
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5202
|
+
*/
|
5203
|
+
export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
|
5204
|
+
|
5205
|
+
/**
|
5206
|
+
* @beta
|
5207
|
+
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5208
|
+
*/
|
5209
|
+
export declare type DeclarativeIncomingCall = IncomingCall;
|
5210
|
+
|
3554
5211
|
/**
|
3555
5212
|
* The default set of icons that are available to use in the UI components.
|
3556
5213
|
*
|
@@ -3567,8 +5224,12 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
3567
5224
|
ControlButtonMicOn: JSX.Element;
|
3568
5225
|
ControlButtonOptions: JSX.Element;
|
3569
5226
|
ControlButtonParticipants: JSX.Element;
|
5227
|
+
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
3570
5228
|
ControlButtonScreenShareStart: JSX.Element;
|
3571
5229
|
ControlButtonScreenShareStop: JSX.Element;
|
5230
|
+
CancelFileUpload: JSX.Element;
|
5231
|
+
DownloadFile: JSX.Element;
|
5232
|
+
DataLossPreventionProhibited: JSX.Element;
|
3572
5233
|
EditBoxCancel: JSX.Element;
|
3573
5234
|
EditBoxSubmit: JSX.Element;
|
3574
5235
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -3601,13 +5262,38 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
3601
5262
|
ParticipantItemOptions: JSX.Element;
|
3602
5263
|
ParticipantItemOptionsHovered: JSX.Element;
|
3603
5264
|
ParticipantItemScreenShareStart: JSX.Element;
|
5265
|
+
HoldCallContextualMenuItem: JSX.Element;
|
5266
|
+
HoldCallButton: JSX.Element;
|
5267
|
+
ResumeCall: JSX.Element;
|
3604
5268
|
SendBoxSend: JSX.Element;
|
3605
5269
|
SendBoxSendHovered: JSX.Element;
|
3606
5270
|
VideoTileMicOff: JSX.Element;
|
5271
|
+
DialpadBackspace: JSX.Element;
|
5272
|
+
SitePermissionsSparkle: JSX.Element;
|
5273
|
+
SitePermissionCamera: JSX.Element;
|
5274
|
+
SitePermissionMic: JSX.Element;
|
5275
|
+
SitePermissionCameraDenied: JSX.Element;
|
5276
|
+
SitePermissionMicDenied: JSX.Element;
|
5277
|
+
UnsupportedEnvironmentWarning: JSX.Element;
|
5278
|
+
BrowserPermissionDeniedError: JSX.Element;
|
5279
|
+
VideoTilePinned: JSX.Element;
|
5280
|
+
VideoTileMoreOptions: JSX.Element;
|
5281
|
+
VideoTileScaleFit: JSX.Element;
|
5282
|
+
VideoTileScaleFill: JSX.Element;
|
5283
|
+
PinParticipant: JSX.Element;
|
5284
|
+
UnpinParticipant: JSX.Element;
|
3607
5285
|
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
3608
5286
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
3609
5287
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
3610
5288
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5289
|
+
VerticalGalleryLeftButton: JSX.Element;
|
5290
|
+
VerticalGalleryRightButton: JSX.Element;
|
5291
|
+
ControlButtonVideoEffectsOption: JSX.Element;
|
5292
|
+
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5293
|
+
CaptionsIcon: JSX.Element;
|
5294
|
+
CaptionsOffIcon: JSX.Element;
|
5295
|
+
CaptionsSettingsIcon: JSX.Element;
|
5296
|
+
ChangeSpokenLanguageIcon: JSX.Element;
|
3611
5297
|
};
|
3612
5298
|
|
3613
5299
|
/**
|
@@ -3628,6 +5314,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
3628
5314
|
ParticipantItemOptionsHovered: JSX.Element;
|
3629
5315
|
SendBoxSend: JSX.Element;
|
3630
5316
|
SendBoxSendHovered: JSX.Element;
|
5317
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
3631
5318
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
3632
5319
|
ControlButtonCameraOff: JSX.Element;
|
3633
5320
|
ControlButtonCameraOn: JSX.Element;
|
@@ -3671,6 +5358,12 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
3671
5358
|
ParticipantItemScreenShareStart: JSX.Element;
|
3672
5359
|
VideoTileMicOff: JSX.Element;
|
3673
5360
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5361
|
+
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5362
|
+
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5363
|
+
DialpadStartCall?: JSX.Element | undefined;
|
5364
|
+
NoticePageInvalidRoom?: JSX.Element | undefined;
|
5365
|
+
BlurVideoBackground?: JSX.Element | undefined;
|
5366
|
+
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
3674
5367
|
ChevronLeft?: JSX.Element | undefined;
|
3675
5368
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
3676
5369
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
@@ -3680,17 +5373,68 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
3680
5373
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
3681
5374
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
3682
5375
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
3683
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
3684
5376
|
ChatMessageOptions: JSX.Element;
|
5377
|
+
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5378
|
+
CancelFileUpload: JSX.Element;
|
5379
|
+
DownloadFile: JSX.Element;
|
5380
|
+
DataLossPreventionProhibited: JSX.Element;
|
3685
5381
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
3686
5382
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
3687
5383
|
MessageResend: JSX.Element;
|
5384
|
+
HoldCallContextualMenuItem: JSX.Element;
|
5385
|
+
HoldCallButton: JSX.Element;
|
5386
|
+
ResumeCall: JSX.Element;
|
5387
|
+
DialpadBackspace: JSX.Element;
|
5388
|
+
SitePermissionsSparkle: JSX.Element;
|
5389
|
+
SitePermissionCamera: JSX.Element;
|
5390
|
+
SitePermissionMic: JSX.Element;
|
5391
|
+
SitePermissionCameraDenied: JSX.Element;
|
5392
|
+
SitePermissionMicDenied: JSX.Element;
|
5393
|
+
UnsupportedEnvironmentWarning: JSX.Element;
|
5394
|
+
BrowserPermissionDeniedError: JSX.Element;
|
5395
|
+
VideoTilePinned: JSX.Element;
|
5396
|
+
VideoTileMoreOptions: JSX.Element;
|
5397
|
+
VideoTileScaleFit: JSX.Element;
|
5398
|
+
VideoTileScaleFill: JSX.Element;
|
5399
|
+
PinParticipant: JSX.Element;
|
5400
|
+
UnpinParticipant: JSX.Element;
|
3688
5401
|
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
3689
5402
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
3690
5403
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
3691
5404
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5405
|
+
VerticalGalleryLeftButton: JSX.Element;
|
5406
|
+
VerticalGalleryRightButton: JSX.Element;
|
5407
|
+
ControlButtonVideoEffectsOption: JSX.Element;
|
5408
|
+
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5409
|
+
CaptionsIcon: JSX.Element;
|
5410
|
+
CaptionsOffIcon: JSX.Element;
|
5411
|
+
CaptionsSettingsIcon: JSX.Element;
|
5412
|
+
ChangeSpokenLanguageIcon: JSX.Element;
|
3692
5413
|
};
|
3693
5414
|
|
5415
|
+
/**
|
5416
|
+
* Device Checks.
|
5417
|
+
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5418
|
+
*
|
5419
|
+
* @beta
|
5420
|
+
*/
|
5421
|
+
export declare interface DeviceCheckOptions {
|
5422
|
+
/**
|
5423
|
+
* Camera Permission prompts for your call.
|
5424
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5425
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5426
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5427
|
+
*/
|
5428
|
+
camera: 'required' | 'optional' | 'doNotPrompt';
|
5429
|
+
/**
|
5430
|
+
* Microphone permission prompts for your call.
|
5431
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5432
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5433
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5434
|
+
*/
|
5435
|
+
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5436
|
+
}
|
5437
|
+
|
3694
5438
|
/**
|
3695
5439
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
3696
5440
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -3909,6 +5653,60 @@ export declare interface DiagnosticsCallFeatureState {
|
|
3909
5653
|
media: MediaDiagnosticsState;
|
3910
5654
|
}
|
3911
5655
|
|
5656
|
+
/**
|
5657
|
+
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
5658
|
+
* It will return empty component for stable builds
|
5659
|
+
*
|
5660
|
+
* @beta
|
5661
|
+
*/
|
5662
|
+
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
5663
|
+
|
5664
|
+
/**
|
5665
|
+
* Props for {@link Dialpad} component.
|
5666
|
+
*
|
5667
|
+
* @beta
|
5668
|
+
*/
|
5669
|
+
export declare interface DialpadProps {
|
5670
|
+
strings?: DialpadStrings;
|
5671
|
+
/** function to send dtmf tones on button click */
|
5672
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
5673
|
+
/** Callback for dialpad button behavior*/
|
5674
|
+
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
5675
|
+
/** set dialpad textfield content */
|
5676
|
+
textFieldValue?: string;
|
5677
|
+
/** on change function for text field, provides an unformatted plain text*/
|
5678
|
+
onChange?: (input: string) => void;
|
5679
|
+
/** boolean input to determine when to show/hide delete button, default true */
|
5680
|
+
showDeleteButton?: boolean;
|
5681
|
+
/** boolean input to determine if dialpad is in mobile view, default false */
|
5682
|
+
isMobile?: boolean;
|
5683
|
+
styles?: DialpadStyles;
|
5684
|
+
}
|
5685
|
+
|
5686
|
+
/**
|
5687
|
+
* Strings of {@link Dialpad} that can be overridden.
|
5688
|
+
*
|
5689
|
+
* @beta
|
5690
|
+
*/
|
5691
|
+
export declare interface DialpadStrings {
|
5692
|
+
placeholderText: string;
|
5693
|
+
deleteButtonAriaLabel?: string;
|
5694
|
+
}
|
5695
|
+
|
5696
|
+
/**
|
5697
|
+
* Styles for {@link Dialpad} component.
|
5698
|
+
*
|
5699
|
+
* @beta
|
5700
|
+
*/
|
5701
|
+
export declare interface DialpadStyles {
|
5702
|
+
root?: IStyle;
|
5703
|
+
button?: IButtonStyles;
|
5704
|
+
textField?: Partial<ITextFieldStyles>;
|
5705
|
+
digit?: IStyle;
|
5706
|
+
letter?: IStyle;
|
5707
|
+
deleteIcon?: IButtonStyles;
|
5708
|
+
}
|
5709
|
+
|
3912
5710
|
/**
|
3913
5711
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
3914
5712
|
*
|
@@ -3929,6 +5727,13 @@ export declare interface Disposable {
|
|
3929
5727
|
dispose(): void;
|
3930
5728
|
}
|
3931
5729
|
|
5730
|
+
/**
|
5731
|
+
* DTMF tone for PSTN calls.
|
5732
|
+
*
|
5733
|
+
* @beta
|
5734
|
+
*/
|
5735
|
+
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
5736
|
+
|
3932
5737
|
/**
|
3933
5738
|
* A type for trivial selectors that return no data.
|
3934
5739
|
*
|
@@ -4124,54 +5929,259 @@ export declare interface ErrorBarStrings {
|
|
4124
5929
|
*/
|
4125
5930
|
callCameraAccessDenied: string;
|
4126
5931
|
/**
|
4127
|
-
* Message shown when camera can be enumerated but access is blocked by the system, for safari browsers
|
5932
|
+
* Message shown when camera can be enumerated but access is blocked by the system, for safari browsers
|
5933
|
+
*/
|
5934
|
+
callCameraAccessDeniedSafari: string;
|
5935
|
+
/**
|
5936
|
+
* Message shown when local video fails to start because camera is already in use by
|
5937
|
+
* another applciation.
|
5938
|
+
*/
|
5939
|
+
callCameraAlreadyInUse: string;
|
5940
|
+
/**
|
5941
|
+
* Message shown when local video is stopped by the system (not by local or remote participants)
|
5942
|
+
*/
|
5943
|
+
callVideoStoppedBySystem: string;
|
5944
|
+
/**
|
5945
|
+
* Message shown when local video was recovered by the system (not by the local participant)
|
5946
|
+
*/
|
5947
|
+
callVideoRecoveredBySystem: string;
|
5948
|
+
/**
|
5949
|
+
* Mac OS specific message shown when system denies access to camera.
|
5950
|
+
*/
|
5951
|
+
callMacOsCameraAccessDenied: string;
|
5952
|
+
/**
|
5953
|
+
* Mac OS specific message shown when system denies sharing local screen on a call.
|
5954
|
+
*/
|
5955
|
+
callMacOsScreenShareAccessDenied: string;
|
5956
|
+
/**
|
5957
|
+
* Dimiss errorbar button aria label read by screen reader accessibility tools
|
5958
|
+
*/
|
5959
|
+
dismissButtonAriaLabel?: string;
|
5960
|
+
/**
|
5961
|
+
* An error message when joining a call fails.
|
5962
|
+
*/
|
5963
|
+
failedToJoinCallGeneric?: string;
|
5964
|
+
/**
|
5965
|
+
* An error message when joining a call fails specifically due to an invalid meeting link.
|
5966
|
+
*/
|
5967
|
+
failedToJoinCallInvalidMeetingLink?: string;
|
5968
|
+
/**
|
5969
|
+
* Error bar string letting you know remote participants see a frozen stream for you.
|
5970
|
+
*/
|
5971
|
+
cameraFrozenForRemoteParticipants?: string;
|
5972
|
+
/**
|
5973
|
+
* Unable to start effect
|
5974
|
+
*/
|
5975
|
+
unableToStartVideoEffect?: string;
|
5976
|
+
}
|
5977
|
+
|
5978
|
+
/**
|
5979
|
+
* All errors that can be shown in the {@link ErrorBar}.
|
5980
|
+
*
|
5981
|
+
* @public
|
5982
|
+
*/
|
5983
|
+
export declare type ErrorType = keyof ErrorBarStrings;
|
5984
|
+
|
5985
|
+
/**
|
5986
|
+
* @beta
|
5987
|
+
* A file download error returned via a {@link FileDownloadHandler}.
|
5988
|
+
* This error message is used to render an error message in the UI.
|
5989
|
+
*/
|
5990
|
+
export declare interface FileDownloadError {
|
5991
|
+
/** The error message to display in the UI */
|
5992
|
+
errorMessage: string;
|
5993
|
+
}
|
5994
|
+
|
5995
|
+
/**
|
5996
|
+
* @beta
|
5997
|
+
*
|
5998
|
+
* A callback function for handling file downloads.
|
5999
|
+
* The function needs to return a promise that resolves to a file download URL.
|
6000
|
+
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6001
|
+
*
|
6002
|
+
* @example
|
6003
|
+
* ```ts
|
6004
|
+
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6005
|
+
* if (isUnauthorizedUser(userId)) {
|
6006
|
+
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6007
|
+
* } else {
|
6008
|
+
* return new URL(fileData.url);
|
6009
|
+
* }
|
6010
|
+
* }
|
6011
|
+
*
|
6012
|
+
* const App = () => (
|
6013
|
+
* <ChatComposite
|
6014
|
+
* ...
|
6015
|
+
* fileSharing={{
|
6016
|
+
* fileDownloadHandler: fileDownloadHandler
|
6017
|
+
* }}
|
6018
|
+
* />
|
6019
|
+
* )
|
6020
|
+
*
|
6021
|
+
* ```
|
6022
|
+
* @param userId - The user ID of the user downloading the file.
|
6023
|
+
* @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
|
6024
|
+
*/
|
6025
|
+
export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
|
6026
|
+
|
6027
|
+
/**
|
6028
|
+
* Meta Data containing information about the uploaded file.
|
6029
|
+
* @beta
|
6030
|
+
*/
|
6031
|
+
export declare interface FileMetadata {
|
6032
|
+
attachmentType: FileMetadataAttachmentType;
|
6033
|
+
id: string;
|
6034
|
+
/**
|
6035
|
+
* File name to be displayed.
|
6036
|
+
*/
|
6037
|
+
name: string;
|
6038
|
+
/**
|
6039
|
+
* Extension is used for rendering the file icon.
|
6040
|
+
* An unknown extension will be rendered as a generic icon.
|
6041
|
+
* Example: `jpeg`
|
6042
|
+
*/
|
6043
|
+
extension: string;
|
6044
|
+
/**
|
6045
|
+
* Download URL for the file.
|
6046
|
+
*/
|
6047
|
+
url: string;
|
6048
|
+
previewUrl?: string;
|
6049
|
+
}
|
6050
|
+
|
6051
|
+
/**
|
6052
|
+
* @beta
|
6053
|
+
*/
|
6054
|
+
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'teamsInlineImage' | 'unknown';
|
6055
|
+
|
6056
|
+
/**
|
6057
|
+
* Properties for configuring the File Sharing feature.
|
6058
|
+
* @beta
|
6059
|
+
*/
|
6060
|
+
export declare interface FileSharingOptions {
|
6061
|
+
/**
|
6062
|
+
* A string containing the comma separated list of accepted file types.
|
6063
|
+
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6064
|
+
* Accepts any type of file if not specified.
|
6065
|
+
* @beta
|
6066
|
+
*/
|
6067
|
+
accept?: string;
|
6068
|
+
/**
|
6069
|
+
* Allows multiple files to be selected if set to `true`.
|
6070
|
+
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6071
|
+
* @defaultValue false
|
6072
|
+
* @beta
|
6073
|
+
*/
|
6074
|
+
multiple?: boolean;
|
6075
|
+
/**
|
6076
|
+
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6077
|
+
* @beta
|
6078
|
+
*/
|
6079
|
+
uploadHandler: FileUploadHandler;
|
6080
|
+
/**
|
6081
|
+
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6082
|
+
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6083
|
+
* initiate the download.
|
6084
|
+
*/
|
6085
|
+
downloadHandler?: FileDownloadHandler;
|
6086
|
+
}
|
6087
|
+
|
6088
|
+
/**
|
6089
|
+
* @beta
|
6090
|
+
*/
|
6091
|
+
export declare interface FileUploadAdapter {
|
6092
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6093
|
+
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
6094
|
+
clearFileUploads: () => void;
|
6095
|
+
cancelFileUpload: (id: string) => void;
|
6096
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
6097
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6098
|
+
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
6099
|
+
}
|
6100
|
+
|
6101
|
+
/**
|
6102
|
+
* @beta
|
6103
|
+
* Error message to be displayed to the user if the upload fails.
|
6104
|
+
*/
|
6105
|
+
export declare type FileUploadError = {
|
6106
|
+
message: string;
|
6107
|
+
timestamp: number;
|
6108
|
+
};
|
6109
|
+
|
6110
|
+
/**
|
6111
|
+
* @beta
|
6112
|
+
* A callback function for handling file uploads.
|
6113
|
+
*
|
6114
|
+
* @param userId - The user ID of the user uploading the file.
|
6115
|
+
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6116
|
+
*/
|
6117
|
+
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6118
|
+
|
6119
|
+
/**
|
6120
|
+
* A wrapper object for a file that is being uploaded.
|
6121
|
+
* Allows mmanaging file uploads by providing common functions for updating the
|
6122
|
+
* upload progress, canceling an upload, completing an upload etc.
|
6123
|
+
* @beta
|
6124
|
+
*/
|
6125
|
+
export declare interface FileUploadManager {
|
6126
|
+
/**
|
6127
|
+
* Unique identifier for the file upload.
|
4128
6128
|
*/
|
4129
|
-
|
6129
|
+
id: string;
|
4130
6130
|
/**
|
4131
|
-
*
|
4132
|
-
* another applciation.
|
6131
|
+
* HTML {@link File} object for the uploaded file.
|
4133
6132
|
*/
|
4134
|
-
|
6133
|
+
file?: File;
|
4135
6134
|
/**
|
4136
|
-
*
|
6135
|
+
* Update the progress of the upload.
|
6136
|
+
* @param value - number between 0 and 1
|
4137
6137
|
*/
|
4138
|
-
|
6138
|
+
notifyUploadProgressChanged: (value: number) => void;
|
4139
6139
|
/**
|
4140
|
-
*
|
6140
|
+
* Mark the upload as complete.
|
6141
|
+
* Requires the `metadata` param containing uploaded file information.
|
6142
|
+
* @param metadata - {@link FileMetadata}
|
4141
6143
|
*/
|
4142
|
-
|
6144
|
+
notifyUploadCompleted: (metadata: FileMetadata) => void;
|
4143
6145
|
/**
|
4144
|
-
*
|
6146
|
+
* Mark the upload as failed.
|
6147
|
+
* @param message - An error message that can be displayed to the user.
|
4145
6148
|
*/
|
4146
|
-
|
6149
|
+
notifyUploadFailed: (message: string) => void;
|
6150
|
+
}
|
6151
|
+
|
6152
|
+
/**
|
6153
|
+
* Contains the state attibutes of a file upload like name, progress etc.
|
6154
|
+
* @beta
|
6155
|
+
*/
|
6156
|
+
export declare interface FileUploadState {
|
4147
6157
|
/**
|
4148
|
-
*
|
6158
|
+
* Unique identifier for the file upload.
|
4149
6159
|
*/
|
4150
|
-
|
6160
|
+
id: string;
|
4151
6161
|
/**
|
4152
|
-
*
|
6162
|
+
* Filename extracted from the {@link File} object.
|
6163
|
+
* This attribute is used to render the filename if `metadata.name` is not available.
|
4153
6164
|
*/
|
4154
|
-
|
6165
|
+
filename: string;
|
4155
6166
|
/**
|
4156
|
-
*
|
6167
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
4157
6168
|
*/
|
4158
|
-
|
6169
|
+
progress: number;
|
4159
6170
|
/**
|
4160
|
-
*
|
6171
|
+
* Meta Data {@link FileMetadata} containing information about the uploaded file.
|
4161
6172
|
*/
|
4162
|
-
|
6173
|
+
metadata?: FileMetadata;
|
4163
6174
|
/**
|
4164
|
-
* Error
|
6175
|
+
* Error message to be displayed to the user if the upload fails.
|
4165
6176
|
*/
|
4166
|
-
|
6177
|
+
error?: FileUploadError;
|
4167
6178
|
}
|
4168
6179
|
|
4169
6180
|
/**
|
4170
|
-
*
|
4171
|
-
*
|
4172
|
-
* @public
|
6181
|
+
* A record containing {@link FileUploadState} mapped to unique ids.
|
6182
|
+
* @beta
|
4173
6183
|
*/
|
4174
|
-
export declare type
|
6184
|
+
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
4175
6185
|
|
4176
6186
|
/**
|
4177
6187
|
* Provider to apply a Fluent theme across this library's react components.
|
@@ -4213,7 +6223,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
4213
6223
|
*
|
4214
6224
|
* @public
|
4215
6225
|
*/
|
4216
|
-
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;
|
6226
|
+
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
|
4217
6227
|
|
4218
6228
|
/**
|
4219
6229
|
* Get the selector for a specified component.
|
@@ -4275,6 +6285,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
4275
6285
|
children?: IStyle;
|
4276
6286
|
}
|
4277
6287
|
|
6288
|
+
/**
|
6289
|
+
* a button to hold or resume a ongoing call.
|
6290
|
+
*
|
6291
|
+
* Can be used with {@link ControlBar}
|
6292
|
+
*
|
6293
|
+
* @param props - properties for the hold button.
|
6294
|
+
* @returns
|
6295
|
+
* @beta
|
6296
|
+
*/
|
6297
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6298
|
+
|
6299
|
+
/**
|
6300
|
+
*@beta
|
6301
|
+
*/
|
6302
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6303
|
+
/**
|
6304
|
+
* Utility property for using this component with communication react handlers
|
6305
|
+
* Holds the call or resumes it based on call state.
|
6306
|
+
*/
|
6307
|
+
onToggleHold: () => Promise<void>;
|
6308
|
+
/**
|
6309
|
+
* Optional strings to override in component
|
6310
|
+
*/
|
6311
|
+
strings?: HoldButtonStrings;
|
6312
|
+
}
|
6313
|
+
|
6314
|
+
/**
|
6315
|
+
* Selector type for the {@link HoldButton} component.
|
6316
|
+
* @public
|
6317
|
+
*/
|
6318
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6319
|
+
checked: boolean;
|
6320
|
+
};
|
6321
|
+
|
6322
|
+
/**
|
6323
|
+
* Strings for the hold button labels
|
6324
|
+
* @beta
|
6325
|
+
*/
|
6326
|
+
export declare interface HoldButtonStrings {
|
6327
|
+
/**
|
6328
|
+
* Label for when action is to resume call.
|
6329
|
+
*/
|
6330
|
+
onLabel: string;
|
6331
|
+
/**
|
6332
|
+
* Label for when action is to hold call.
|
6333
|
+
*/
|
6334
|
+
offLabel: string;
|
6335
|
+
/**
|
6336
|
+
* Content for when button is checked
|
6337
|
+
*/
|
6338
|
+
tooltipOnContent: string;
|
6339
|
+
/**
|
6340
|
+
* Content for when button is unchecked
|
6341
|
+
*/
|
6342
|
+
tooltipOffContent: string;
|
6343
|
+
}
|
6344
|
+
|
4278
6345
|
/**
|
4279
6346
|
* {@link HorizontalGallery} Component Styles.
|
4280
6347
|
* @public
|
@@ -4355,8 +6422,30 @@ export declare interface _Identifiers {
|
|
4355
6422
|
overflowGalleryRightNavButton: string;
|
4356
6423
|
/** `data-ui-id` value for the video tiles in the horizontal gallery */
|
4357
6424
|
horizontalGalleryVideoTile: string;
|
6425
|
+
/** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
|
6426
|
+
verticalGalleryVideoTile: string;
|
6427
|
+
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6428
|
+
verticalGalleryPageCounter: string;
|
6429
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
6430
|
+
mentionSuggestionList: string;
|
6431
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
6432
|
+
mentionSuggestionItem: string;
|
4358
6433
|
}
|
4359
6434
|
|
6435
|
+
/**
|
6436
|
+
* @beta
|
6437
|
+
* This contains a readonly array that returns all the active `incomingCalls`.
|
6438
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
6439
|
+
*/
|
6440
|
+
export declare type IncomingCallManagement = {
|
6441
|
+
/**
|
6442
|
+
* @beta
|
6443
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
6444
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
6445
|
+
*/
|
6446
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
6447
|
+
};
|
6448
|
+
|
4360
6449
|
/**
|
4361
6450
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
4362
6451
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -4389,6 +6478,15 @@ export declare interface IncomingCallState {
|
|
4389
6478
|
endTime?: Date;
|
4390
6479
|
}
|
4391
6480
|
|
6481
|
+
/**
|
6482
|
+
* Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
|
6483
|
+
*
|
6484
|
+
* @beta
|
6485
|
+
*/
|
6486
|
+
export declare type IsCaptionsActiveChangedListener = (event: {
|
6487
|
+
isActive: boolean;
|
6488
|
+
}) => void;
|
6489
|
+
|
4392
6490
|
/**
|
4393
6491
|
* Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
|
4394
6492
|
*
|
@@ -4500,8 +6598,51 @@ export declare interface LocalVideoStreamState {
|
|
4500
6598
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
4501
6599
|
*/
|
4502
6600
|
view?: VideoStreamRendererViewState;
|
6601
|
+
/**
|
6602
|
+
* Stores the state of the video effects.
|
6603
|
+
* @beta
|
6604
|
+
*/
|
6605
|
+
videoEffects?: LocalVideoStreamVideoEffectsState;
|
6606
|
+
}
|
6607
|
+
|
6608
|
+
/**
|
6609
|
+
* State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
|
6610
|
+
*
|
6611
|
+
* @beta
|
6612
|
+
*/
|
6613
|
+
export declare interface LocalVideoStreamVideoEffectsState {
|
6614
|
+
/**
|
6615
|
+
* List of effects if any are active.
|
6616
|
+
*/
|
6617
|
+
activeEffects?: VideoEffectName[];
|
6618
|
+
}
|
6619
|
+
|
6620
|
+
/**
|
6621
|
+
* Options for the local video tile in the Call composite.
|
6622
|
+
*
|
6623
|
+
* @beta
|
6624
|
+
*/
|
6625
|
+
export declare interface LocalVideoTileOptions {
|
6626
|
+
/**
|
6627
|
+
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
6628
|
+
*
|
6629
|
+
* @defaultValue 'floating'
|
6630
|
+
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
6631
|
+
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
6632
|
+
* local video tile rules and be docked in the bottom corner.
|
6633
|
+
* 'hidden' - local video tile will not be rendered.
|
6634
|
+
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
6635
|
+
*/
|
6636
|
+
position?: 'grid' | 'floating';
|
4503
6637
|
}
|
4504
6638
|
|
6639
|
+
/**
|
6640
|
+
* different modes of the local video tile
|
6641
|
+
*
|
6642
|
+
* @beta
|
6643
|
+
*/
|
6644
|
+
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
6645
|
+
|
4505
6646
|
/**
|
4506
6647
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
4507
6648
|
*
|
@@ -4520,6 +6661,76 @@ export declare interface MediaDiagnosticsState {
|
|
4520
6661
|
latest: LatestMediaDiagnostics;
|
4521
6662
|
}
|
4522
6663
|
|
6664
|
+
/**
|
6665
|
+
* Mention's state, as reflected in the UI.
|
6666
|
+
*
|
6667
|
+
* @beta
|
6668
|
+
*/
|
6669
|
+
export declare interface Mention {
|
6670
|
+
/** ID of a mention */
|
6671
|
+
id: string;
|
6672
|
+
/** Display text of a mention */
|
6673
|
+
displayText: string;
|
6674
|
+
/** Optional React element to render an item icon of a mention suggestion */
|
6675
|
+
icon?: JSX.Element;
|
6676
|
+
}
|
6677
|
+
|
6678
|
+
/**
|
6679
|
+
* Options to display suggestions in the mention scenario.
|
6680
|
+
*
|
6681
|
+
* @beta
|
6682
|
+
*/
|
6683
|
+
export declare interface MentionDisplayOptions {
|
6684
|
+
/**
|
6685
|
+
* Optional callback for customizing the mention renderer in a message thread.
|
6686
|
+
*/
|
6687
|
+
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
6688
|
+
}
|
6689
|
+
|
6690
|
+
/**
|
6691
|
+
* Options to lookup suggestions in the mention scenario.
|
6692
|
+
*
|
6693
|
+
* @beta
|
6694
|
+
*/
|
6695
|
+
export declare interface MentionLookupOptions {
|
6696
|
+
/**
|
6697
|
+
* Optional string to set trigger keyword for mention a specific participant.
|
6698
|
+
*
|
6699
|
+
* @defaultValue `@`
|
6700
|
+
*/
|
6701
|
+
trigger?: string;
|
6702
|
+
/**
|
6703
|
+
* Optional callback to fetch a list of mention suggestions base on the query.
|
6704
|
+
*/
|
6705
|
+
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
6706
|
+
/**
|
6707
|
+
* Optional callback to render an item of the mention suggestions list.
|
6708
|
+
*/
|
6709
|
+
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
6710
|
+
}
|
6711
|
+
|
6712
|
+
/**
|
6713
|
+
* Options to lookup suggestions and display mentions in the mention scenario.
|
6714
|
+
*
|
6715
|
+
* @beta
|
6716
|
+
*/
|
6717
|
+
export declare type MentionOptions = {
|
6718
|
+
lookupOptions?: MentionLookupOptions;
|
6719
|
+
displayOptions?: MentionDisplayOptions;
|
6720
|
+
};
|
6721
|
+
|
6722
|
+
/**
|
6723
|
+
* Strings of {@link _MentionPopover} that can be overridden.
|
6724
|
+
*
|
6725
|
+
* @beta
|
6726
|
+
*/
|
6727
|
+
export declare interface MentionPopoverStrings {
|
6728
|
+
/**
|
6729
|
+
* Header text for MentionPopover
|
6730
|
+
*/
|
6731
|
+
mentionPopoverHeader: string;
|
6732
|
+
}
|
6733
|
+
|
4523
6734
|
/**
|
4524
6735
|
* Discriminated union of all messages.
|
4525
6736
|
*
|
@@ -4527,7 +6738,7 @@ export declare interface MediaDiagnosticsState {
|
|
4527
6738
|
*
|
4528
6739
|
* @public
|
4529
6740
|
*/
|
4530
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
6741
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
|
4531
6742
|
|
4532
6743
|
/**
|
4533
6744
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -4747,7 +6958,7 @@ export declare type MessageThreadProps = {
|
|
4747
6958
|
/**
|
4748
6959
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
4749
6960
|
*/
|
4750
|
-
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
6961
|
+
messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
|
4751
6962
|
/**
|
4752
6963
|
* number of participants in the thread
|
4753
6964
|
*/
|
@@ -4829,6 +7040,17 @@ export declare type MessageThreadProps = {
|
|
4829
7040
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
4830
7041
|
*/
|
4831
7042
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7043
|
+
/**
|
7044
|
+
* Optional callback to render uploaded files in the message component.
|
7045
|
+
* @beta
|
7046
|
+
*/
|
7047
|
+
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7048
|
+
/**
|
7049
|
+
* Optional callback to retrieve the inline image in a message.
|
7050
|
+
* @param attachment - FileMetadata object we want to render
|
7051
|
+
* @beta
|
7052
|
+
*/
|
7053
|
+
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
4832
7054
|
/**
|
4833
7055
|
* Optional callback to edit a message.
|
4834
7056
|
*
|
@@ -4870,6 +7092,23 @@ export declare type MessageThreadProps = {
|
|
4870
7092
|
* Optional strings to override in component
|
4871
7093
|
*/
|
4872
7094
|
strings?: Partial<MessageThreadStrings>;
|
7095
|
+
/**
|
7096
|
+
* @beta
|
7097
|
+
* Optional function called when someone clicks on the file download icon.
|
7098
|
+
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7099
|
+
* this function will be called with the data inside `fileSharingMetadata` key.
|
7100
|
+
*/
|
7101
|
+
fileDownloadHandler?: FileDownloadHandler;
|
7102
|
+
/**
|
7103
|
+
* Optional function to provide customized date format.
|
7104
|
+
* @beta
|
7105
|
+
*/
|
7106
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7107
|
+
/**
|
7108
|
+
* Optional props needed to lookup a mention query and display mentions
|
7109
|
+
* @beta
|
7110
|
+
*/
|
7111
|
+
mentionOptions?: MentionOptions;
|
4873
7112
|
};
|
4874
7113
|
|
4875
7114
|
/**
|
@@ -4941,6 +7180,14 @@ export declare interface MessageThreadStrings {
|
|
4941
7180
|
editBoxSubmitButton: string;
|
4942
7181
|
/** String for action menu indicating there are more options */
|
4943
7182
|
actionMenuMoreOptions?: string;
|
7183
|
+
/** String for download file button in file card */
|
7184
|
+
downloadFile: string;
|
7185
|
+
/** String for policy violation message removal */
|
7186
|
+
blockedWarningText: string;
|
7187
|
+
/** String for policy violation message removal details link */
|
7188
|
+
blockedWarningLinkText: string;
|
7189
|
+
/** String for aria text in file attachment group*/
|
7190
|
+
fileCardGroupMessage: string;
|
4944
7191
|
}
|
4945
7192
|
|
4946
7193
|
/**
|
@@ -4968,6 +7215,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
4968
7215
|
/** Styles for system message container. */
|
4969
7216
|
systemMessageContainer?: ComponentSlotStyle;
|
4970
7217
|
/** Styles for blocked message container. */
|
7218
|
+
blockedMessageContainer?: ComponentSlotStyle;
|
4971
7219
|
/** Styles for message status indicator container. */
|
4972
7220
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
4973
7221
|
}
|
@@ -5136,6 +7384,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
5136
7384
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
5137
7385
|
}
|
5138
7386
|
|
7387
|
+
/**
|
7388
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
7389
|
+
* by their browsers settings.
|
7390
|
+
*
|
7391
|
+
* @beta
|
7392
|
+
*/
|
7393
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
7394
|
+
|
7395
|
+
/**
|
7396
|
+
* @beta
|
7397
|
+
* Props for MicrophoneSitePermissions component.
|
7398
|
+
*/
|
7399
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
7400
|
+
/** Icon name for the microphone icon */
|
7401
|
+
microphoneIconName?: string;
|
7402
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
7403
|
+
strings?: MicrophoneSitePermissionsStrings;
|
7404
|
+
}
|
7405
|
+
|
7406
|
+
/**
|
7407
|
+
* @beta
|
7408
|
+
* Strings for MicrophoneSitePermissions component.
|
7409
|
+
*/
|
7410
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
7411
|
+
|
5139
7412
|
/**
|
5140
7413
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
5141
7414
|
*
|
@@ -5154,6 +7427,13 @@ export declare interface NetworkDiagnosticsState {
|
|
5154
7427
|
latest: LatestNetworkDiagnostics;
|
5155
7428
|
}
|
5156
7429
|
|
7430
|
+
/**
|
7431
|
+
* Callback function used to provide custom data to build profile for a user.
|
7432
|
+
*
|
7433
|
+
* @beta
|
7434
|
+
*/
|
7435
|
+
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
7436
|
+
|
5157
7437
|
/**
|
5158
7438
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
5159
7439
|
*
|
@@ -5170,6 +7450,18 @@ userId?: string, options?: CustomAvatarOptions,
|
|
5170
7450
|
*/
|
5171
7451
|
defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element;
|
5172
7452
|
|
7453
|
+
/**
|
7454
|
+
* State only version of Optimal Video Count Feature {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
|
7455
|
+
*
|
7456
|
+
* @beta
|
7457
|
+
*/
|
7458
|
+
export declare interface OptimalVideoCountFeatureState {
|
7459
|
+
/**
|
7460
|
+
* State of the current optimal video count.
|
7461
|
+
*/
|
7462
|
+
maxRemoteVideoStreams: number;
|
7463
|
+
}
|
7464
|
+
|
5173
7465
|
/**
|
5174
7466
|
* A device, e.g. camera, microphone, or speaker, in the {@link DevicesButton} flyout.
|
5175
7467
|
*
|
@@ -5186,6 +7478,13 @@ export declare interface OptionsDevice {
|
|
5186
7478
|
name: string;
|
5187
7479
|
}
|
5188
7480
|
|
7481
|
+
/**
|
7482
|
+
* Different modes and positions of the overflow gallery in the VideoGallery
|
7483
|
+
*
|
7484
|
+
* @beta
|
7485
|
+
*/
|
7486
|
+
export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
|
7487
|
+
|
5189
7488
|
/**
|
5190
7489
|
* A system message notifying that a participant was added to the chat thread.
|
5191
7490
|
*
|
@@ -5243,6 +7542,19 @@ export declare interface ParticipantItemProps {
|
|
5243
7542
|
onClick?: (props?: ParticipantItemProps) => void;
|
5244
7543
|
/** prop to determine if we should show tooltip for participants or not */
|
5245
7544
|
showParticipantOverflowTooltip?: boolean;
|
7545
|
+
/**
|
7546
|
+
* Optional value to determine and display a participants connection status.
|
7547
|
+
* For example, `Connecting`, `Ringing` etc.
|
7548
|
+
* The actual text that is displayed is determined by the localized string
|
7549
|
+
* corresponding to the provided participant state.
|
7550
|
+
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
7551
|
+
*/
|
7552
|
+
participantState?: ParticipantState;
|
7553
|
+
/**
|
7554
|
+
* Optional aria property that prefixes the ParticipantItems aria content
|
7555
|
+
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
7556
|
+
*/
|
7557
|
+
ariaLabelledBy?: string;
|
5246
7558
|
}
|
5247
7559
|
|
5248
7560
|
/**
|
@@ -5263,6 +7575,10 @@ export declare interface ParticipantItemStrings {
|
|
5263
7575
|
mutedIconLabel: string;
|
5264
7576
|
/** placeholder text for participants who does not have a display name*/
|
5265
7577
|
displayNamePlaceholder?: string;
|
7578
|
+
/** String shown when `participantState` is `Ringing` */
|
7579
|
+
participantStateRinging?: string;
|
7580
|
+
/** String shown when `participantState` is `Hold` */
|
7581
|
+
participantStateHold?: string;
|
5266
7582
|
}
|
5267
7583
|
|
5268
7584
|
/**
|
@@ -5342,6 +7658,8 @@ export declare type ParticipantListProps = {
|
|
5342
7658
|
styles?: ParticipantListStyles;
|
5343
7659
|
/** prop to determine if we should show tooltip for participants or not */
|
5344
7660
|
showParticipantOverflowTooltip?: boolean;
|
7661
|
+
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
7662
|
+
participantAriaLabelledBy?: string;
|
5345
7663
|
};
|
5346
7664
|
|
5347
7665
|
/**
|
@@ -5570,6 +7888,18 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
5570
7888
|
*/
|
5571
7889
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
5572
7890
|
|
7891
|
+
/**
|
7892
|
+
* The profile of a user.
|
7893
|
+
*
|
7894
|
+
* @beta
|
7895
|
+
*/
|
7896
|
+
export declare type Profile = {
|
7897
|
+
/**
|
7898
|
+
* Primary text to display, usually the name of the person.
|
7899
|
+
*/
|
7900
|
+
displayName?: string;
|
7901
|
+
};
|
7902
|
+
|
5573
7903
|
/**
|
5574
7904
|
* An array of key value pairs that stores each sender's display name and last read message
|
5575
7905
|
*
|
@@ -5633,6 +7963,10 @@ export declare interface RemoteParticipantState {
|
|
5633
7963
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
|
5634
7964
|
*/
|
5635
7965
|
isSpeaking: boolean;
|
7966
|
+
/**
|
7967
|
+
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
7968
|
+
*/
|
7969
|
+
role?: ParticipantRole;
|
5636
7970
|
}
|
5637
7971
|
|
5638
7972
|
/**
|
@@ -5657,6 +7991,7 @@ export declare interface RemoteVideoStreamState {
|
|
5657
7991
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
5658
7992
|
* @beta
|
5659
7993
|
*/
|
7994
|
+
isReceiving: boolean;
|
5660
7995
|
/**
|
5661
7996
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
5662
7997
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -5664,6 +7999,26 @@ export declare interface RemoteVideoStreamState {
|
|
5664
7999
|
view?: VideoStreamRendererViewState;
|
5665
8000
|
}
|
5666
8001
|
|
8002
|
+
/**
|
8003
|
+
* Menu options for remote video tiles in {@link VideoGallery}.
|
8004
|
+
*
|
8005
|
+
* @beta
|
8006
|
+
*/
|
8007
|
+
export declare interface RemoteVideoTileMenuOptions {
|
8008
|
+
/**
|
8009
|
+
* If set to true, remote video tiles in the VideoGallery will not have menu options
|
8010
|
+
*
|
8011
|
+
* @defaultValue false
|
8012
|
+
*/
|
8013
|
+
isHidden?: boolean;
|
8014
|
+
}
|
8015
|
+
|
8016
|
+
/**
|
8017
|
+
* @beta
|
8018
|
+
* The role of a call participant.
|
8019
|
+
*/
|
8020
|
+
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
|
8021
|
+
|
5667
8022
|
/**
|
5668
8023
|
* A button to start / stop screen sharing.
|
5669
8024
|
*
|
@@ -5697,6 +8052,7 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
|
|
5697
8052
|
*/
|
5698
8053
|
export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
5699
8054
|
checked?: boolean;
|
8055
|
+
disabled?: boolean;
|
5700
8056
|
};
|
5701
8057
|
|
5702
8058
|
/**
|
@@ -5734,6 +8090,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
5734
8090
|
*/
|
5735
8091
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
5736
8092
|
|
8093
|
+
/**
|
8094
|
+
* @beta
|
8095
|
+
* Error to be displayed to the user in an error bar above sendbox.
|
8096
|
+
*/
|
8097
|
+
export declare interface SendBoxErrorBarError {
|
8098
|
+
/** Error Message to be displayed */
|
8099
|
+
message: string;
|
8100
|
+
/**
|
8101
|
+
* Unix Timestamp. Preferred generation using `Date.now()`
|
8102
|
+
*/
|
8103
|
+
timestamp: number;
|
8104
|
+
}
|
8105
|
+
|
5737
8106
|
/**
|
5738
8107
|
* Props for {@link SendBox}.
|
5739
8108
|
*
|
@@ -5753,6 +8122,11 @@ export declare interface SendBoxProps {
|
|
5753
8122
|
* Optional callback called when message is sent
|
5754
8123
|
*/
|
5755
8124
|
onSendMessage?: (content: string) => Promise<void>;
|
8125
|
+
/**
|
8126
|
+
* Optional props needed to lookup suggestions in the mention scenario.
|
8127
|
+
* @beta
|
8128
|
+
*/
|
8129
|
+
mentionLookupOptions?: MentionLookupOptions;
|
5756
8130
|
/**
|
5757
8131
|
* Optional callback called when user is typing
|
5758
8132
|
*/
|
@@ -5789,6 +8163,25 @@ export declare interface SendBoxProps {
|
|
5789
8163
|
* When undefined nothing has focus on render
|
5790
8164
|
*/
|
5791
8165
|
autoFocus?: 'sendBoxTextField';
|
8166
|
+
/**
|
8167
|
+
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
8168
|
+
* vertically to accommodate the uploaded files. File uploads will
|
8169
|
+
* be rendered below the text area in sendBox.
|
8170
|
+
* @beta
|
8171
|
+
*/
|
8172
|
+
onRenderFileUploads?: () => JSX.Element;
|
8173
|
+
/**
|
8174
|
+
* Optional array of active file uploads where each object has attributes
|
8175
|
+
* of a file upload like name, progress, errorMessage etc.
|
8176
|
+
* @beta
|
8177
|
+
*/
|
8178
|
+
activeFileUploads?: ActiveFileUpload[];
|
8179
|
+
/**
|
8180
|
+
* Optional callback to remove the file upload before sending by clicking on
|
8181
|
+
* cancel icon.
|
8182
|
+
* @beta
|
8183
|
+
*/
|
8184
|
+
onCancelFileUpload?: (fileId: string) => void;
|
5792
8185
|
}
|
5793
8186
|
|
5794
8187
|
/**
|
@@ -5819,6 +8212,22 @@ export declare interface SendBoxStrings {
|
|
5819
8212
|
* Aria label for send message button
|
5820
8213
|
*/
|
5821
8214
|
sendButtonAriaLabel: string;
|
8215
|
+
/**
|
8216
|
+
* Error message indicating that all file uploads are not complete.
|
8217
|
+
*/
|
8218
|
+
fileUploadsPendingError: string;
|
8219
|
+
/**
|
8220
|
+
* Aria label to notify user when focus is on cancel file upload button.
|
8221
|
+
*/
|
8222
|
+
removeFile: string;
|
8223
|
+
/**
|
8224
|
+
* Aria label to notify user file uploading starts.
|
8225
|
+
*/
|
8226
|
+
uploading: string;
|
8227
|
+
/**
|
8228
|
+
* Aria label to notify user file is uploaded.
|
8229
|
+
*/
|
8230
|
+
uploadCompleted: string;
|
5822
8231
|
}
|
5823
8232
|
|
5824
8233
|
/**
|
@@ -5839,6 +8248,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
5839
8248
|
systemMessage?: IStyle;
|
5840
8249
|
}
|
5841
8250
|
|
8251
|
+
/**
|
8252
|
+
* @beta
|
8253
|
+
* Strings for SitePermissions component
|
8254
|
+
*/
|
8255
|
+
export declare type SitePermissionsStrings = {
|
8256
|
+
/**
|
8257
|
+
* Main text string.
|
8258
|
+
*/
|
8259
|
+
primaryText?: string;
|
8260
|
+
/**
|
8261
|
+
* Subtext string.
|
8262
|
+
*/
|
8263
|
+
secondaryText?: string;
|
8264
|
+
/**
|
8265
|
+
* More help link string.
|
8266
|
+
*/
|
8267
|
+
linkText?: string;
|
8268
|
+
/**
|
8269
|
+
* Primary button text string.
|
8270
|
+
*/
|
8271
|
+
primaryButtonText?: string;
|
8272
|
+
/**
|
8273
|
+
* Aria label describing the content of the container
|
8274
|
+
*/
|
8275
|
+
ariaLabel?: string;
|
8276
|
+
};
|
8277
|
+
|
8278
|
+
/**
|
8279
|
+
* Fluent styles for {@link SitePermissionsContainer}.
|
8280
|
+
*
|
8281
|
+
* @beta
|
8282
|
+
*/
|
8283
|
+
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
8284
|
+
/** Styles for the primary button. */
|
8285
|
+
primaryButton?: IButtonStyles;
|
8286
|
+
/** Styles for the help troubleshooting link text. */
|
8287
|
+
troubleshootingLink?: ILinkStyles;
|
8288
|
+
}
|
8289
|
+
|
5842
8290
|
/**
|
5843
8291
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
5844
8292
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -5945,6 +8393,19 @@ export declare interface StatefulCallClient extends CallClient {
|
|
5945
8393
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
5946
8394
|
*/
|
5947
8395
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
8396
|
+
/** @conditional-compile-remove(one-to-n-calling) */
|
8397
|
+
/**
|
8398
|
+
* The CallAgent is used to handle calls.
|
8399
|
+
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
8400
|
+
* - The CallClient can only have one active CallAgent instance at a time.
|
8401
|
+
* - You can create a new CallClient instance to create a new CallAgent.
|
8402
|
+
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
8403
|
+
* createCallAgent() method again to create a new CallAgent.
|
8404
|
+
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
8405
|
+
* @param options - The CallAgentOptions for additional options like display name.
|
8406
|
+
* @public
|
8407
|
+
*/
|
8408
|
+
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
5948
8409
|
}
|
5949
8410
|
|
5950
8411
|
/**
|
@@ -5957,7 +8418,16 @@ export declare type StatefulCallClientArgs = {
|
|
5957
8418
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
5958
8419
|
* state. It is not used by StatefulCallClient.
|
5959
8420
|
*/
|
5960
|
-
userId: CommunicationUserIdentifier;
|
8421
|
+
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
8422
|
+
/**
|
8423
|
+
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
8424
|
+
* to start a PSTN call.
|
8425
|
+
*
|
8426
|
+
* example: +11234567
|
8427
|
+
*
|
8428
|
+
* This is not a cached value from the headless calling client.
|
8429
|
+
*/
|
8430
|
+
alternateCallerId?: string;
|
5961
8431
|
};
|
5962
8432
|
|
5963
8433
|
/**
|
@@ -6045,6 +8515,14 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
6045
8515
|
* {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
|
6046
8516
|
*/
|
6047
8517
|
selectCamera: (VideoDeviceInfo: any) => void;
|
8518
|
+
/**
|
8519
|
+
* Gets the list of unparented video streams. This is a list of video streams that have not been added to a
|
8520
|
+
* {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
|
8521
|
+
* video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
|
8522
|
+
*
|
8523
|
+
* @beta
|
8524
|
+
*/
|
8525
|
+
getUnparentedVideoStreams: () => LocalVideoStream[];
|
6048
8526
|
}
|
6049
8527
|
|
6050
8528
|
/**
|
@@ -6097,6 +8575,70 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
6097
8575
|
iconName: string;
|
6098
8576
|
}
|
6099
8577
|
|
8578
|
+
/**
|
8579
|
+
* Optional parameters to create {@link TeamsCallAdapter}
|
8580
|
+
*
|
8581
|
+
* @beta
|
8582
|
+
*/
|
8583
|
+
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
8584
|
+
|
8585
|
+
/**
|
8586
|
+
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
8587
|
+
*
|
8588
|
+
* @beta
|
8589
|
+
*/
|
8590
|
+
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
8591
|
+
/**
|
8592
|
+
* Join the call with microphone initially on/off.
|
8593
|
+
*
|
8594
|
+
* @param microphoneOn - Whether microphone is initially enabled
|
8595
|
+
*
|
8596
|
+
* @beta
|
8597
|
+
*/
|
8598
|
+
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
8599
|
+
/**
|
8600
|
+
* Start the call.
|
8601
|
+
*
|
8602
|
+
* @param participants - An array of participant ids to join
|
8603
|
+
*
|
8604
|
+
* @beta
|
8605
|
+
*/
|
8606
|
+
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
8607
|
+
/**
|
8608
|
+
* Start the call.
|
8609
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
8610
|
+
* @beta
|
8611
|
+
*/
|
8612
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
8613
|
+
}
|
8614
|
+
|
8615
|
+
/**
|
8616
|
+
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
8617
|
+
*
|
8618
|
+
* @beta
|
8619
|
+
*/
|
8620
|
+
export declare type TeamsCallAdapterArgs = {
|
8621
|
+
userId: MicrosoftTeamsUserIdentifier;
|
8622
|
+
credential: CommunicationTokenCredential;
|
8623
|
+
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
8624
|
+
/**
|
8625
|
+
* Optional parameters for the {@link TeamsCallAdapter} created
|
8626
|
+
*/
|
8627
|
+
options?: TeamsAdapterOptions;
|
8628
|
+
};
|
8629
|
+
|
8630
|
+
/**
|
8631
|
+
* Object containing all the teams call handlers required for calling components.
|
8632
|
+
*
|
8633
|
+
* Calling related components from this package are able to pick out relevant handlers from this object.
|
8634
|
+
* See {@link useHandlers} and {@link usePropsFor}.
|
8635
|
+
*
|
8636
|
+
* @beta
|
8637
|
+
*/
|
8638
|
+
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
8639
|
+
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
8640
|
+
}
|
8641
|
+
|
6100
8642
|
/**
|
6101
8643
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
6102
8644
|
*
|
@@ -6142,6 +8684,27 @@ export declare interface TranscriptionCallFeature {
|
|
6142
8684
|
isTranscriptionActive: boolean;
|
6143
8685
|
}
|
6144
8686
|
|
8687
|
+
/**
|
8688
|
+
* Transfer feature state
|
8689
|
+
*
|
8690
|
+
* @beta
|
8691
|
+
*/
|
8692
|
+
export declare interface TransferFeature {
|
8693
|
+
/**
|
8694
|
+
* Accepted transfer requests
|
8695
|
+
*/
|
8696
|
+
acceptedTransfers: {
|
8697
|
+
[key: string]: AcceptedTransfer;
|
8698
|
+
};
|
8699
|
+
}
|
8700
|
+
|
8701
|
+
/**
|
8702
|
+
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
8703
|
+
*
|
8704
|
+
* @beta
|
8705
|
+
*/
|
8706
|
+
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
8707
|
+
|
6145
8708
|
/**
|
6146
8709
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
6147
8710
|
*
|
@@ -6276,11 +8839,117 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
6276
8839
|
typingString?: IStyle;
|
6277
8840
|
}
|
6278
8841
|
|
8842
|
+
/**
|
8843
|
+
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
8844
|
+
*
|
8845
|
+
* @beta
|
8846
|
+
*/
|
8847
|
+
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
8848
|
+
|
8849
|
+
/**
|
8850
|
+
* props for {@link UnsupportedBrowser} UI
|
8851
|
+
*
|
8852
|
+
* @beta
|
8853
|
+
*/
|
8854
|
+
export declare interface UnsupportedBrowserProps {
|
8855
|
+
/** Handler to perform an action when the help link is actioned */
|
8856
|
+
onTroubleshootingClick?: () => void;
|
8857
|
+
/** String overrides for the component */
|
8858
|
+
strings?: UnsupportedBrowserStrings;
|
8859
|
+
}
|
8860
|
+
|
8861
|
+
/**
|
8862
|
+
* Strings for UnsupportedBrowser component
|
8863
|
+
*
|
8864
|
+
* @beta
|
8865
|
+
*/
|
8866
|
+
export declare interface UnsupportedBrowserStrings {
|
8867
|
+
/** String for the primary text */
|
8868
|
+
primaryText: string;
|
8869
|
+
/** String for the secondary text */
|
8870
|
+
secondaryText: string;
|
8871
|
+
/** String to display in the text for the help link */
|
8872
|
+
moreHelpLinkText: string;
|
8873
|
+
}
|
8874
|
+
|
8875
|
+
/**
|
8876
|
+
* UI to display to the user that the browser version they are using is out of date
|
8877
|
+
* and not supported by Azure Communications Calling service.
|
8878
|
+
*
|
8879
|
+
* @beta
|
8880
|
+
*/
|
8881
|
+
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
8882
|
+
|
8883
|
+
/**
|
8884
|
+
* props for {@link UnsupportedBrowserVersion} UI
|
8885
|
+
*
|
8886
|
+
* @beta
|
8887
|
+
*/
|
8888
|
+
export declare interface UnsupportedBrowserVersionProps {
|
8889
|
+
/** Handler to perform an action when the help link is actioned */
|
8890
|
+
onTroubleshootingClick?: () => void;
|
8891
|
+
/** String overrides for the component */
|
8892
|
+
strings?: UnsupportedBrowserVersionStrings;
|
8893
|
+
/** Handler to allow user to continue into the call */
|
8894
|
+
onContinueAnywayClick?: () => void;
|
8895
|
+
}
|
8896
|
+
|
8897
|
+
/**
|
8898
|
+
* Strings for UnsupportedBrowser component
|
8899
|
+
*
|
8900
|
+
* @beta
|
8901
|
+
*/
|
8902
|
+
export declare interface UnsupportedBrowserVersionStrings {
|
8903
|
+
/** String for the primary text */
|
8904
|
+
primaryText: string;
|
8905
|
+
/** String for the secondary text */
|
8906
|
+
secondaryText: string;
|
8907
|
+
/** String to display in the text for the help link */
|
8908
|
+
moreHelpLinkText: string;
|
8909
|
+
/** String for continue without updating button */
|
8910
|
+
continueAnywayButtonText?: string;
|
8911
|
+
}
|
8912
|
+
|
8913
|
+
/**
|
8914
|
+
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
8915
|
+
*
|
8916
|
+
* @beta
|
8917
|
+
*/
|
8918
|
+
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
8919
|
+
|
8920
|
+
/**
|
8921
|
+
* Props for {@link UnsupportedOperatingSystem} UI
|
8922
|
+
*
|
8923
|
+
* @beta
|
8924
|
+
*/
|
8925
|
+
export declare interface UnsupportedOperatingSystemProps {
|
8926
|
+
/** Handler to perform a action when the help link is actioned */
|
8927
|
+
onTroubleshootingClick?: () => void;
|
8928
|
+
/** String overrides for the component */
|
8929
|
+
strings?: UnsupportedOperatingSystemStrings;
|
8930
|
+
}
|
8931
|
+
|
8932
|
+
/**
|
8933
|
+
* Strings for UnsupportedBrowser component
|
8934
|
+
*
|
8935
|
+
* @beta
|
8936
|
+
*/
|
8937
|
+
export declare interface UnsupportedOperatingSystemStrings {
|
8938
|
+
/** String for the primary text */
|
8939
|
+
primaryText: string;
|
8940
|
+
/** String for the secondary text */
|
8941
|
+
secondaryText: string;
|
8942
|
+
/** String to display in the text for the help link */
|
8943
|
+
moreHelpLinkText: string;
|
8944
|
+
}
|
8945
|
+
|
6279
8946
|
/**
|
6280
8947
|
* @public
|
6281
8948
|
* Callback function run when a message is updated.
|
6282
8949
|
*/
|
6283
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
8950
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
8951
|
+
attachedFilesMetadata?: FileMetadata[];
|
8952
|
+
}) => Promise<void>;
|
6284
8953
|
|
6285
8954
|
/**
|
6286
8955
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -6428,6 +9097,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
6428
9097
|
*/
|
6429
9098
|
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;
|
6430
9099
|
|
9100
|
+
/**
|
9101
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
9102
|
+
*
|
9103
|
+
* Useful when implementing a custom component that utilizes the providers
|
9104
|
+
* exported from this library.
|
9105
|
+
*
|
9106
|
+
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
9107
|
+
*
|
9108
|
+
* @beta
|
9109
|
+
*/
|
9110
|
+
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9111
|
+
|
9112
|
+
/**
|
9113
|
+
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
9114
|
+
*
|
9115
|
+
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
9116
|
+
* creation of the adapter internally.
|
9117
|
+
*
|
9118
|
+
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
9119
|
+
* as they are created. The adapter is only created when all arguments are defined.
|
9120
|
+
*
|
9121
|
+
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
9122
|
+
* See storybook for typical usage examples.
|
9123
|
+
*
|
9124
|
+
* @beta
|
9125
|
+
*/
|
9126
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
9127
|
+
|
9128
|
+
/**
|
9129
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
9130
|
+
*
|
9131
|
+
* Useful when implementing a custom component that utilizes the providers
|
9132
|
+
* exported from this library.
|
9133
|
+
*
|
9134
|
+
* @beta
|
9135
|
+
*/
|
9136
|
+
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
9137
|
+
|
6431
9138
|
/**
|
6432
9139
|
* React hook to access theme
|
6433
9140
|
*
|
@@ -6435,6 +9142,117 @@ export declare const useSelector: <ParamT extends Selector | undefined>(selector
|
|
6435
9142
|
*/
|
6436
9143
|
export declare const useTheme: () => Theme;
|
6437
9144
|
|
9145
|
+
/**
|
9146
|
+
* Styles for the control bar inside the VerticalGallery component
|
9147
|
+
*
|
9148
|
+
* @beta
|
9149
|
+
*/
|
9150
|
+
export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
|
9151
|
+
/**
|
9152
|
+
* styles for the next button in the VerticalGalleryControlBar
|
9153
|
+
*/
|
9154
|
+
nextButton?: IStyle;
|
9155
|
+
/**
|
9156
|
+
* Styles for the previous button in the VerticalGalleryControlBar
|
9157
|
+
*/
|
9158
|
+
previousButton?: IStyle;
|
9159
|
+
/**
|
9160
|
+
* Styles for the counter in the VerticalGalleryControlBar
|
9161
|
+
*/
|
9162
|
+
counter?: IStyle;
|
9163
|
+
}
|
9164
|
+
|
9165
|
+
/**
|
9166
|
+
* Strings for localization of the vertical gallery.
|
9167
|
+
*
|
9168
|
+
* @beta
|
9169
|
+
*/
|
9170
|
+
export declare interface VerticalGalleryStrings {
|
9171
|
+
/** Aria label for the left page navigation button */
|
9172
|
+
leftNavButtonAriaLabel?: string;
|
9173
|
+
/** Aria label for the right page navigation button */
|
9174
|
+
rightNavButtonAriaLabel?: string;
|
9175
|
+
}
|
9176
|
+
|
9177
|
+
/**
|
9178
|
+
* Styles for the VerticalGallery component
|
9179
|
+
*
|
9180
|
+
* @beta
|
9181
|
+
*/
|
9182
|
+
export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
9183
|
+
/** Styles for each video tile in the vertical gallery */
|
9184
|
+
children?: IStyle;
|
9185
|
+
/** Styles for the verticalGallery control bar */
|
9186
|
+
controlBar?: VerticalGalleryControlBarStyles;
|
9187
|
+
}
|
9188
|
+
|
9189
|
+
/**
|
9190
|
+
* Contains the attibutes of the blur video background effect
|
9191
|
+
*
|
9192
|
+
* @beta
|
9193
|
+
*/
|
9194
|
+
export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig {
|
9195
|
+
/**
|
9196
|
+
* Name of effect to blur video background effect
|
9197
|
+
*/
|
9198
|
+
effectName: 'blur';
|
9199
|
+
}
|
9200
|
+
|
9201
|
+
/**
|
9202
|
+
* Contains the attibutes of a selected video background effect
|
9203
|
+
*
|
9204
|
+
* @beta
|
9205
|
+
*/
|
9206
|
+
export declare type VideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
|
9207
|
+
|
9208
|
+
/**
|
9209
|
+
* Contains the attibutes of a background image like url, name etc.
|
9210
|
+
*
|
9211
|
+
* @beta
|
9212
|
+
*/
|
9213
|
+
export declare interface VideoBackgroundImage {
|
9214
|
+
/**
|
9215
|
+
* key for unique identification of the custom background
|
9216
|
+
*/
|
9217
|
+
key: string;
|
9218
|
+
/**
|
9219
|
+
* URL of the uploaded background image.
|
9220
|
+
*/
|
9221
|
+
url: string;
|
9222
|
+
/**
|
9223
|
+
* Image name to be displayed.
|
9224
|
+
*/
|
9225
|
+
tooltipText?: string;
|
9226
|
+
}
|
9227
|
+
|
9228
|
+
/**
|
9229
|
+
* Contains the attibutes to remove video background effect
|
9230
|
+
*
|
9231
|
+
* @beta
|
9232
|
+
*/
|
9233
|
+
export declare interface VideoBackgroundNoEffect {
|
9234
|
+
/**
|
9235
|
+
* Name of effect to remove video background effect
|
9236
|
+
*/
|
9237
|
+
effectName: 'none';
|
9238
|
+
}
|
9239
|
+
|
9240
|
+
/**
|
9241
|
+
* Contains the attibutes of a selected replacement video background effect
|
9242
|
+
*
|
9243
|
+
* @beta
|
9244
|
+
*/
|
9245
|
+
export declare interface VideoBackgroundReplacementEffect extends BackgroundReplacementConfig {
|
9246
|
+
/**
|
9247
|
+
* Name of effect to replace video background effect
|
9248
|
+
*/
|
9249
|
+
effectName: 'replacement';
|
9250
|
+
/**
|
9251
|
+
* key for unique identification of the custom background
|
9252
|
+
*/
|
9253
|
+
key?: string;
|
9254
|
+
}
|
9255
|
+
|
6438
9256
|
/**
|
6439
9257
|
* VideoGallery represents a layout of video tiles for a specific call.
|
6440
9258
|
* It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
|
@@ -6510,8 +9328,16 @@ export declare interface VideoGalleryProps {
|
|
6510
9328
|
onCreateRemoteStreamView?: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
6511
9329
|
/** Callback to render a remote video tile */
|
6512
9330
|
onRenderRemoteVideoTile?: (remoteParticipant: VideoGalleryRemoteParticipant) => JSX.Element;
|
6513
|
-
/**
|
9331
|
+
/**
|
9332
|
+
* @deprecated use {@link onDisposeRemoteVideoStreamView} and {@link onDisposeRemoteScreenShareStreamView} instead
|
9333
|
+
*
|
9334
|
+
* Callback to dispose a remote video stream view
|
9335
|
+
*/
|
6514
9336
|
onDisposeRemoteStreamView?: (userId: string) => Promise<void>;
|
9337
|
+
/** Callback to dispose a remote video stream view */
|
9338
|
+
onDisposeRemoteVideoStreamView?: (userId: string) => Promise<void>;
|
9339
|
+
/** Callback to dispose a remote screen share stream view */
|
9340
|
+
onDisposeRemoteScreenShareStreamView?: (userId: string) => Promise<void>;
|
6515
9341
|
/** Callback to render a particpant avatar */
|
6516
9342
|
onRenderAvatar?: OnRenderAvatarCallback;
|
6517
9343
|
/**
|
@@ -6534,6 +9360,36 @@ export declare interface VideoGalleryProps {
|
|
6534
9360
|
* Camera control information for button to switch cameras.
|
6535
9361
|
*/
|
6536
9362
|
localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
|
9363
|
+
/**
|
9364
|
+
* List of pinned participant userIds.
|
9365
|
+
*/
|
9366
|
+
pinnedParticipants?: string[];
|
9367
|
+
/**
|
9368
|
+
* This callback will be called when a participant video tile is pinned.
|
9369
|
+
*/
|
9370
|
+
onPinParticipant?: (userId: string) => void;
|
9371
|
+
/**
|
9372
|
+
* This callback will be called when a participant video tile is un-pinned.
|
9373
|
+
*/
|
9374
|
+
onUnpinParticipant?: (userId: string) => void;
|
9375
|
+
/**
|
9376
|
+
* Options for showing the remote video tile menu.
|
9377
|
+
*
|
9378
|
+
* @defaultValue \{ kind: 'contextual' \}
|
9379
|
+
*/
|
9380
|
+
remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
|
9381
|
+
/**
|
9382
|
+
* Determines the layout of the overflowGallery inside the VideoGallery.
|
9383
|
+
* @defaultValue 'HorizontalBottom'
|
9384
|
+
*/
|
9385
|
+
overflowGalleryPosition?: OverflowGalleryPosition;
|
9386
|
+
/**
|
9387
|
+
* Determines the aspect ratio of local video tile in the video gallery.
|
9388
|
+
* @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
|
9389
|
+
* 16:9 (landscape) aspect ratios.
|
9390
|
+
* @defaultValue 'followDeviceOrientation'
|
9391
|
+
*/
|
9392
|
+
localVideoTileSize?: LocalVideoTileSize;
|
6537
9393
|
}
|
6538
9394
|
|
6539
9395
|
/**
|
@@ -6546,6 +9402,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
6546
9402
|
isSpeaking?: boolean;
|
6547
9403
|
/** Video stream of shared screen */
|
6548
9404
|
screenShareStream?: VideoGalleryStream;
|
9405
|
+
/**
|
9406
|
+
* @beta
|
9407
|
+
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
9408
|
+
*/
|
9409
|
+
state?: ParticipantState;
|
6549
9410
|
}
|
6550
9411
|
|
6551
9412
|
/**
|
@@ -6558,6 +9419,7 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
6558
9419
|
localParticipant: VideoGalleryLocalParticipant;
|
6559
9420
|
remoteParticipants: VideoGalleryRemoteParticipant[];
|
6560
9421
|
dominantSpeakers?: string[];
|
9422
|
+
optimalVideoCount?: number;
|
6561
9423
|
};
|
6562
9424
|
|
6563
9425
|
/**
|
@@ -6576,6 +9438,8 @@ export declare interface VideoGalleryStream {
|
|
6576
9438
|
isMirrored?: boolean;
|
6577
9439
|
/** Render element of the video stream */
|
6578
9440
|
renderElement?: HTMLElement;
|
9441
|
+
/** Scaling mode of the video stream */
|
9442
|
+
scalingMode?: ViewScalingMode;
|
6579
9443
|
}
|
6580
9444
|
|
6581
9445
|
/**
|
@@ -6598,6 +9462,22 @@ export declare interface VideoGalleryStrings {
|
|
6598
9462
|
localVideoSelectedDescription: string;
|
6599
9463
|
/** placeholder text for participants who does not have a display name*/
|
6600
9464
|
displayNamePlaceholder: string;
|
9465
|
+
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
|
9466
|
+
fitRemoteParticipantToFrame: string;
|
9467
|
+
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
|
9468
|
+
fillRemoteParticipantFrame: string;
|
9469
|
+
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
9470
|
+
pinParticipantForMe: string;
|
9471
|
+
/** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
|
9472
|
+
unpinParticipantForMe: string;
|
9473
|
+
/** Aria label for pin participant menu item of remote participant's video tile */
|
9474
|
+
pinParticipantMenuItemAriaLabel: string;
|
9475
|
+
/** Aria label for unpin participant menu item of remote participant's video tile */
|
9476
|
+
unpinParticipantMenuItemAriaLabel: string;
|
9477
|
+
/** Aria label to announce when remote participant's video tile is pinned */
|
9478
|
+
pinnedParticipantAnnouncementAriaLabel: string;
|
9479
|
+
/** Aria label to announce when remote participant's video tile is unpinned */
|
9480
|
+
unpinnedParticipantAnnouncementAriaLabel: string;
|
6601
9481
|
}
|
6602
9482
|
|
6603
9483
|
/**
|
@@ -6611,6 +9491,8 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
|
|
6611
9491
|
horizontalGallery?: HorizontalGalleryStyles;
|
6612
9492
|
/** Styles for the local video */
|
6613
9493
|
localVideo?: IStyle;
|
9494
|
+
/** Styles for the vertical gallery */
|
9495
|
+
verticalGallery?: VerticalGalleryStyles;
|
6614
9496
|
}
|
6615
9497
|
|
6616
9498
|
/**
|
@@ -6655,6 +9537,36 @@ export declare interface VideoStreamRendererViewState {
|
|
6655
9537
|
*/
|
6656
9538
|
export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
|
6657
9539
|
|
9540
|
+
/**
|
9541
|
+
* Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
|
9542
|
+
*
|
9543
|
+
* @beta
|
9544
|
+
*/
|
9545
|
+
export declare interface VideoTileContextualMenuProps {
|
9546
|
+
/**
|
9547
|
+
* The menu property kind
|
9548
|
+
*/
|
9549
|
+
kind: 'contextual';
|
9550
|
+
}
|
9551
|
+
|
9552
|
+
/**
|
9553
|
+
* Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
|
9554
|
+
*
|
9555
|
+
* @beta
|
9556
|
+
*/
|
9557
|
+
export declare interface VideoTileDrawerMenuProps {
|
9558
|
+
/**
|
9559
|
+
* The menu property kind
|
9560
|
+
*/
|
9561
|
+
kind: 'drawer';
|
9562
|
+
/**
|
9563
|
+
* The optional id property provided on an element that the drawer menu should render within when a
|
9564
|
+
* remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
|
9565
|
+
* render within the VideoGallery component.
|
9566
|
+
*/
|
9567
|
+
hostId?: string;
|
9568
|
+
}
|
9569
|
+
|
6658
9570
|
/**
|
6659
9571
|
* Props for {@link VideoTile}.
|
6660
9572
|
*
|
@@ -6693,6 +9605,10 @@ export declare interface VideoTileProps {
|
|
6693
9605
|
* Whether the video is muted or not.
|
6694
9606
|
*/
|
6695
9607
|
isMuted?: boolean;
|
9608
|
+
/**
|
9609
|
+
* If true, the video tile will show the pin icon.
|
9610
|
+
*/
|
9611
|
+
isPinned?: boolean;
|
6696
9612
|
/**
|
6697
9613
|
* Display Name of the Participant to be shown in the label.
|
6698
9614
|
* @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
|
@@ -6721,6 +9637,31 @@ export declare interface VideoTileProps {
|
|
6721
9637
|
noVideoAvailableAriaLabel?: string;
|
6722
9638
|
/** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
|
6723
9639
|
isSpeaking?: boolean;
|
9640
|
+
/**
|
9641
|
+
* The call connection state of the participant.
|
9642
|
+
* For example, `Hold` means the participant is on hold.
|
9643
|
+
*/
|
9644
|
+
participantState?: ParticipantState;
|
9645
|
+
strings?: VideoTileStrings;
|
9646
|
+
/**
|
9647
|
+
* Display custom menu items in the VideoTile's contextual menu.
|
9648
|
+
* Uses Fluent UI ContextualMenu.
|
9649
|
+
* An ellipses icon will be displayed to open the contextual menu if this prop is defined.
|
9650
|
+
*/
|
9651
|
+
contextualMenu?: IContextualMenuProps;
|
9652
|
+
/**
|
9653
|
+
* Callback triggered by video tile on touch and hold.
|
9654
|
+
*/
|
9655
|
+
onLongTouch?: () => void;
|
9656
|
+
}
|
9657
|
+
|
9658
|
+
/**
|
9659
|
+
* Strings of {@link VideoTile} that can be overridden.
|
9660
|
+
* @beta
|
9661
|
+
*/
|
9662
|
+
export declare interface VideoTileStrings {
|
9663
|
+
participantStateRinging: string;
|
9664
|
+
participantStateHold: string;
|
6724
9665
|
}
|
6725
9666
|
|
6726
9667
|
/**
|