@azure/communication-react 1.12.0 → 1.12.1-alpha-202401200012
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 +2699 -76
- package/dist/dist-cjs/communication-react/index.js +18176 -9783
- 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 +12 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +24 -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 +27 -0
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +68 -10
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +12 -5
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +24 -55
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +17 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +96 -47
- 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.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +19 -3
- 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 +45 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +87 -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 +31 -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 +6 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js +8 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +1 -0
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +72 -13
- 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 +23 -7
- 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 +10 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +28 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +6 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +61 -15
- 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 +76 -11
- 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 +66 -71
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +120 -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 +13 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +120 -16
- 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 +109 -79
- 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 +3 -0
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +22 -4
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +26 -12
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -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.js +3 -15
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
- 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/SpotlightSubscriber.d.ts +16 -0
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +27 -0
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
- 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 +32 -24
- 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 +91 -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 +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -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 +5 -0
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- 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 +15 -15
- 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 +5 -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 +176 -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.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.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 +11 -12
- 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 +114 -128
- 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 +31 -0
- package/dist/dist-esm/communication-react/src/index.js +16 -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/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.js +8 -19
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
- package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +44 -22
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
- 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 +37 -22
- 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 +27 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +20 -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 +6 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +65 -32
- 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 +31 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +108 -19
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +12 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +30 -24
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +15 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +108 -21
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +97 -24
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.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 +19 -27
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
- package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +44 -48
- 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.js +9 -5
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
- 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 +40 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +39 -16
- 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 +7 -9
- package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +71 -0
- package/dist/dist-esm/react-components/src/components/ImageGallery.js +53 -0
- package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +26 -17
- 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.d.ts +3 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +57 -11
- 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 +126 -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 +52 -2
- package/dist/dist-esm/react-components/src/components/MessageThread.js +119 -44
- 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 +13 -0
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +17 -17
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +15 -0
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +73 -31
- 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/RTE/RTESendBox.d.ts +16 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +13 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
- package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +49 -0
- package/dist/dist-esm/react-components/src/components/ReactionButton.js +81 -0
- package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +53 -15
- 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.js +2 -2
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
- 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.js +2 -4
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
- 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/Survey/StarSurvey/StarSurvey.d.ts +64 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +55 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +18 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +57 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
- package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
- package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +63 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +122 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +22 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +53 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
- 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 +622 -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 +822 -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 +19 -34
- 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 +6 -12
- 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 -2
- 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 +41 -18
- 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 +14 -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 +74 -28
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +127 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +4 -0
- 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.js +19 -6
- 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.js +2 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +66 -22
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
- 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.js +9 -34
- 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.js +1 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/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 +19 -32
- 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 +79 -33
- 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 +5 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +151 -38
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/VideoTile.js +79 -56
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
- package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +27 -0
- package/dist/dist-esm/react-components/src/components/index.js +22 -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.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +2 -6
- 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.js.map +1 -1
- 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.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/ImageGallery.style.d.ts +68 -0
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +202 -0
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
- 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 +26 -0
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +69 -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 +2 -2
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
- 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 +1 -2
- 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/ReactionButton.styles.d.ts +24 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +75 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
- 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/Stack.style.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +32 -0
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
- 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 +1 -2
- 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 -2
- 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.js +5 -19
- 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.d.ts +11 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +34 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
- 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.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +13 -3
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.js +13 -10
- 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 +4 -0
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +5 -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 +5 -0
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +68 -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/ar-SA/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +6 -1
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -5
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
- package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +19 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +131 -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/themeDuplicates.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.d.ts +21 -2
- package/dist/dist-esm/react-components/src/theming/themes.js +16 -0
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.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 +34 -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 +21 -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/SurveyIssues.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +19 -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.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +152 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +85 -32
- 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 +193 -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 +83 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +428 -54
- 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 +156 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -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/CallingSoundSubscriber.js +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
- 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 +16 -4
- 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 +6 -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.js +111 -33
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +117 -51
- 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/CapabilitiesChangedNotificationBar.js +10 -18
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
- 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 +4 -4
- 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 +34 -23
- 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 +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +63 -26
- 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 +26 -30
- 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.js +59 -43
- 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.js +29 -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 +3 -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.js +13 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
- 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/SvgWithWordWrapping.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
- 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 +14 -7
- 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/RaiseHand.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.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 +12 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +47 -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 +6 -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 +19 -8
- 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 +15 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +142 -20
- 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 +24 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +34 -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.d.ts +35 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +13 -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 +11 -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.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +14 -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/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
- 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/deviceCountSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.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 +4 -4
- 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 +10 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
- 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 +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
- 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 +11 -11
- 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 +2 -9
- 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 +1 -2
- 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 +1 -2
- 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 +2 -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/types/CapabilityChangedNotificationTracking.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.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/TrackCapabilityChangedNotifications.js +10 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +14 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +128 -21
- 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/CallComposite/utils/useConsoleErrors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +142 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +118 -24
- 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 +6 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -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 +39 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +176 -7
- 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 +91 -0
- 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 +16 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +58 -0
- 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.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 +24 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +13 -2
- 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 +4 -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 +147 -11
- 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 +32 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +153 -36
- 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 +1 -3
- 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 +7 -2
- 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 +15 -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 +27 -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 -10
- 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 +12 -5
- 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.js +6 -8
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
- 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 +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +69 -32
- 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 +35 -33
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +136 -53
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/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/CaptionSettingsDrawer.js +5 -7
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +106 -98
- 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.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +1 -0
- 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/captionSettingsDrawer.styles.js.map +1 -1
- 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 +19 -14
- 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 +14 -12
- 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 +28 -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 +7 -15
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
- package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +13 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +87 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.d.ts +13 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js +44 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +23 -0
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
- 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 +33 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +15 -3
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.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 +4 -10
- 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.js +12 -51
- 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 +6 -29
- 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 +22 -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.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/ar-SA/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +12 -12
@@ -17,6 +17,7 @@
|
|
17
17
|
|
18
18
|
/// <reference types="react" />
|
19
19
|
|
20
|
+
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
20
21
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
21
22
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
22
23
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
@@ -29,7 +30,10 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
29
30
|
import { CallDirection } from '@azure/communication-calling';
|
30
31
|
import { CallEndReason } from '@azure/communication-calling';
|
31
32
|
import { CallerInfo } from '@azure/communication-calling';
|
33
|
+
import { CallKind } from '@azure/communication-calling';
|
32
34
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
35
|
+
import { CallSurvey } from '@azure/communication-calling';
|
36
|
+
import { CallSurveyResponse } from '@azure/communication-calling';
|
33
37
|
import { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
34
38
|
import { CaptionsResultType } from '@azure/communication-calling';
|
35
39
|
import { ChatClient } from '@azure/communication-chat';
|
@@ -47,6 +51,8 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
47
51
|
import { DeviceAccess } from '@azure/communication-calling';
|
48
52
|
import { DeviceManager } from '@azure/communication-calling';
|
49
53
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
54
|
+
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
55
|
+
import { EnvironmentInfo } from '@azure/communication-calling';
|
50
56
|
import { GroupCallLocator } from '@azure/communication-calling';
|
51
57
|
import { IButtonProps } from '@fluentui/react';
|
52
58
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -54,18 +60,22 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
54
60
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
55
61
|
import { IContextualMenuProps } from '@fluentui/react';
|
56
62
|
import { IContextualMenuStyles } from '@fluentui/react';
|
63
|
+
import { ILinkStyles } from '@fluentui/react';
|
57
64
|
import { IMessageBarProps } from '@fluentui/react';
|
65
|
+
import { IncomingCall } from '@azure/communication-calling';
|
58
66
|
import { IPersonaStyleProps } from '@fluentui/react';
|
59
67
|
import { IPersonaStyles } from '@fluentui/react';
|
60
68
|
import { IRawStyle } from '@fluentui/react';
|
61
69
|
import { IRenderFunction } from '@fluentui/react';
|
62
70
|
import { IStyle } from '@fluentui/react';
|
63
71
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
72
|
+
import { ITextFieldStyles } from '@fluentui/react';
|
64
73
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
65
74
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
66
75
|
import { LocalVideoStream } from '@azure/communication-calling';
|
67
76
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
68
77
|
import { MediaStreamType } from '@azure/communication-calling';
|
78
|
+
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
69
79
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
70
80
|
import { PartialTheme } from '@fluentui/react';
|
71
81
|
import { ParticipantCapabilities } from '@azure/communication-calling';
|
@@ -74,23 +84,47 @@ import { PermissionConstraints } from '@azure/communication-calling';
|
|
74
84
|
import { PersonaInitialsColor } from '@fluentui/react';
|
75
85
|
import { PersonaPresence } from '@fluentui/react';
|
76
86
|
import { PersonaSize } from '@fluentui/react';
|
87
|
+
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
77
88
|
import { PropertyChangedEvent } from '@azure/communication-calling';
|
78
89
|
import { default as React_2 } from 'react';
|
90
|
+
import { Reaction as Reaction_2 } from '@azure/communication-calling';
|
91
|
+
import { ReactionMessage } from '@azure/communication-calling';
|
79
92
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
80
93
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
81
94
|
import { RoomCallLocator } from '@azure/communication-calling';
|
82
95
|
import { ScalingMode } from '@azure/communication-calling';
|
83
96
|
import { SendMessageOptions } from '@azure/communication-chat';
|
97
|
+
import { SpotlightedParticipant } from '@azure/communication-calling';
|
84
98
|
import { StartCallOptions } from '@azure/communication-calling';
|
85
99
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
100
|
+
import { SyntheticEvent } from 'react';
|
101
|
+
import { TeamsCall } from '@azure/communication-calling';
|
102
|
+
import { TeamsCallAgent } from '@azure/communication-calling';
|
86
103
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
87
104
|
import { Theme } from '@fluentui/react';
|
105
|
+
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
88
106
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
89
107
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
90
108
|
import { VideoEffectName } from '@azure/communication-calling';
|
91
109
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
92
110
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
93
111
|
|
112
|
+
/**
|
113
|
+
* Transfer feature state
|
114
|
+
*
|
115
|
+
* @beta
|
116
|
+
*/
|
117
|
+
export declare interface AcceptedTransfer {
|
118
|
+
/**
|
119
|
+
* Stores call id of accepted transfer
|
120
|
+
*/
|
121
|
+
callId: string;
|
122
|
+
/**
|
123
|
+
* Stores timestamp when transfer was accepted
|
124
|
+
*/
|
125
|
+
timestamp: Date;
|
126
|
+
}
|
127
|
+
|
94
128
|
/**
|
95
129
|
* Active error messages to be shown via {@link ErrorBar}.
|
96
130
|
*
|
@@ -110,6 +144,38 @@ export declare interface ActiveErrorMessage {
|
|
110
144
|
timestamp?: Date;
|
111
145
|
}
|
112
146
|
|
147
|
+
/**
|
148
|
+
* Attributes required for SendBox to show file uploads like name, progress etc.
|
149
|
+
* @beta
|
150
|
+
*/
|
151
|
+
export declare interface ActiveFileUpload {
|
152
|
+
/**
|
153
|
+
* Unique identifier for the file upload.
|
154
|
+
*/
|
155
|
+
id: string;
|
156
|
+
/**
|
157
|
+
* File name to be rendered for uploaded file.
|
158
|
+
*/
|
159
|
+
filename: string;
|
160
|
+
/**
|
161
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
162
|
+
* This is unrelated to the `uploadComplete` property.
|
163
|
+
* It is only used to show the progress of the upload.
|
164
|
+
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
165
|
+
* property to true to mark the upload as complete.
|
166
|
+
*/
|
167
|
+
progress: number;
|
168
|
+
/**
|
169
|
+
* Error to be displayed to the user if the upload fails.
|
170
|
+
*/
|
171
|
+
error?: SendBoxErrorBarError;
|
172
|
+
/**
|
173
|
+
* `true` means that the upload is completed.
|
174
|
+
* This is independent of the upload `progress`.
|
175
|
+
*/
|
176
|
+
uploadComplete?: boolean;
|
177
|
+
}
|
178
|
+
|
113
179
|
/**
|
114
180
|
* Error reported via error events and stored in adapter state.
|
115
181
|
*
|
@@ -176,6 +242,27 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
176
242
|
*/
|
177
243
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
178
244
|
|
245
|
+
/**
|
246
|
+
* Metadata of the attachment object returned by the ACS SDK.
|
247
|
+
* @beta
|
248
|
+
*/
|
249
|
+
export declare interface AttachmentDownloadResult {
|
250
|
+
/**
|
251
|
+
* Unique ID of the attachment.
|
252
|
+
*/
|
253
|
+
attachmentId: string;
|
254
|
+
/**
|
255
|
+
* Blob URL for the attachment.
|
256
|
+
*/
|
257
|
+
blobUrl: string;
|
258
|
+
}
|
259
|
+
|
260
|
+
/**
|
261
|
+
* Metadata containing information about the uploaded file.
|
262
|
+
* @beta
|
263
|
+
*/
|
264
|
+
export declare type AttachmentMetadata = FileMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ InlineImageMetadata;
|
265
|
+
|
179
266
|
/**
|
180
267
|
* Custom data attributes for displaying avatar for a user.
|
181
268
|
*
|
@@ -205,6 +292,11 @@ export declare type AvatarPersonaData = {
|
|
205
292
|
* @defaultvalue `white`
|
206
293
|
*/
|
207
294
|
initialsTextColor?: string;
|
295
|
+
/**
|
296
|
+
* If true, show the special coin for unknown persona.
|
297
|
+
* It has '?' in place of initials, with static font and background colors
|
298
|
+
*/
|
299
|
+
showUnknownPersonaCoin?: boolean;
|
208
300
|
};
|
209
301
|
|
210
302
|
/**
|
@@ -226,6 +318,11 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
226
318
|
displayName: string;
|
227
319
|
credential: CommunicationTokenCredential;
|
228
320
|
locator: CallAdapterLocator;
|
321
|
+
/**
|
322
|
+
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
323
|
+
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
324
|
+
*/
|
325
|
+
alternateCallerId?: string;
|
229
326
|
/**
|
230
327
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
231
328
|
*/
|
@@ -250,6 +347,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
250
347
|
displayName: string;
|
251
348
|
credential: CommunicationTokenCredential;
|
252
349
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
350
|
+
alternateCallerId?: string;
|
253
351
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
254
352
|
};
|
255
353
|
|
@@ -265,6 +363,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
265
363
|
chatClient: StatefulChatClient;
|
266
364
|
chatThreadClient: ChatThreadClient;
|
267
365
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
366
|
+
chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
|
268
367
|
};
|
269
368
|
|
270
369
|
/**
|
@@ -280,6 +379,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
280
379
|
threadId: string;
|
281
380
|
};
|
282
381
|
|
382
|
+
/**
|
383
|
+
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
384
|
+
* @beta
|
385
|
+
*/
|
386
|
+
export declare type AzureCommunicationChatAdapterOptions = {
|
387
|
+
credential?: CommunicationTokenCredential;
|
388
|
+
};
|
389
|
+
|
283
390
|
/**
|
284
391
|
* Properties common to all composites exported from this library.
|
285
392
|
*
|
@@ -335,6 +442,156 @@ export declare interface BaseCustomStyles {
|
|
335
442
|
root?: IStyle;
|
336
443
|
}
|
337
444
|
|
445
|
+
/**
|
446
|
+
* Content blocked message type.
|
447
|
+
*
|
448
|
+
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
449
|
+
*
|
450
|
+
* @beta
|
451
|
+
*/
|
452
|
+
export declare interface BlockedMessage extends MessageCommon {
|
453
|
+
messageType: 'blocked';
|
454
|
+
warningText?: string;
|
455
|
+
linkText?: string;
|
456
|
+
link?: string;
|
457
|
+
deletedOn?: Date;
|
458
|
+
senderId?: string;
|
459
|
+
senderDisplayName?: string;
|
460
|
+
status?: MessageStatus;
|
461
|
+
attached?: MessageAttachedStatus;
|
462
|
+
mine?: boolean;
|
463
|
+
}
|
464
|
+
|
465
|
+
/**
|
466
|
+
* @beta
|
467
|
+
* Props for BrowserPermissionDeniedIOS component.
|
468
|
+
*/
|
469
|
+
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
470
|
+
/**
|
471
|
+
* Localization strings for BrowserPermissionDeniedIOS component.
|
472
|
+
*/
|
473
|
+
strings?: BrowserPermissionDeniedIOSStrings;
|
474
|
+
/**
|
475
|
+
* Link to image source.
|
476
|
+
*
|
477
|
+
* Image is inserted into the top of the component.
|
478
|
+
*/
|
479
|
+
imageSource?: string;
|
480
|
+
}
|
481
|
+
|
482
|
+
/**
|
483
|
+
* @beta
|
484
|
+
* Strings for BrowserPermissionDeniedIOS component
|
485
|
+
*/
|
486
|
+
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
487
|
+
/**
|
488
|
+
* Image alt text
|
489
|
+
*/
|
490
|
+
imageAltText: string;
|
491
|
+
/**
|
492
|
+
* Main text string.
|
493
|
+
*/
|
494
|
+
primaryText: string;
|
495
|
+
/**
|
496
|
+
* Subtext string.
|
497
|
+
*/
|
498
|
+
secondaryText: string;
|
499
|
+
/**
|
500
|
+
* Step 1 string
|
501
|
+
*/
|
502
|
+
step1Text: string;
|
503
|
+
/**
|
504
|
+
* Step 1 digit string
|
505
|
+
*/
|
506
|
+
step1DigitText: string;
|
507
|
+
/**
|
508
|
+
* Step 2 string
|
509
|
+
*/
|
510
|
+
step2Text: string;
|
511
|
+
/**
|
512
|
+
* Step 2 digit string
|
513
|
+
*/
|
514
|
+
step2DigitText: string;
|
515
|
+
/**
|
516
|
+
* Step 3 string
|
517
|
+
*/
|
518
|
+
step3Text: string;
|
519
|
+
/**
|
520
|
+
* Step 3 digit string
|
521
|
+
*/
|
522
|
+
step3DigitText: string;
|
523
|
+
/**
|
524
|
+
* Step 4 string
|
525
|
+
*/
|
526
|
+
step4Text: string;
|
527
|
+
/**
|
528
|
+
* Step 4 digit string
|
529
|
+
*/
|
530
|
+
step4DigitText: string;
|
531
|
+
}
|
532
|
+
|
533
|
+
/**
|
534
|
+
* @beta
|
535
|
+
* Props for BrowserPermissionDenied component.
|
536
|
+
*/
|
537
|
+
export declare interface BrowserPermissionDeniedProps {
|
538
|
+
/**
|
539
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
540
|
+
*/
|
541
|
+
onTroubleshootingClick?: () => void;
|
542
|
+
/**
|
543
|
+
* Action to be taken by the try again primary button.
|
544
|
+
*/
|
545
|
+
onTryAgainClick?: () => void;
|
546
|
+
/**
|
547
|
+
* Localization strings for BrowserPermissionDenied component.
|
548
|
+
*/
|
549
|
+
strings?: BrowserPermissionDeniedStrings;
|
550
|
+
/**
|
551
|
+
* Allows users to pass in an object contains custom CSS styles.
|
552
|
+
* @Example
|
553
|
+
* ```
|
554
|
+
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
555
|
+
* ```
|
556
|
+
*/
|
557
|
+
styles?: BrowserPermissionDeniedStyles;
|
558
|
+
}
|
559
|
+
|
560
|
+
/**
|
561
|
+
* @beta
|
562
|
+
* Strings for BrowserPermissionDenied component
|
563
|
+
*/
|
564
|
+
export declare interface BrowserPermissionDeniedStrings {
|
565
|
+
/**
|
566
|
+
* Main button text string.
|
567
|
+
*/
|
568
|
+
primaryButtonText: string;
|
569
|
+
/**
|
570
|
+
* Main text string.
|
571
|
+
*/
|
572
|
+
primaryText: string;
|
573
|
+
/**
|
574
|
+
* Subtext string.
|
575
|
+
*/
|
576
|
+
secondaryText: string;
|
577
|
+
/**
|
578
|
+
* More help link string.
|
579
|
+
*/
|
580
|
+
linkText: string;
|
581
|
+
}
|
582
|
+
|
583
|
+
/**
|
584
|
+
* Fluent styles for {@link BrowserPermissionDenied}.
|
585
|
+
*
|
586
|
+
* @beta
|
587
|
+
*/
|
588
|
+
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
589
|
+
/** Styles for the primary button. */
|
590
|
+
primaryButton?: IButtonStyles;
|
591
|
+
/** Styles for the help troubleshooting link text. */
|
592
|
+
troubleshootingLink?: ILinkStyles;
|
593
|
+
}
|
594
|
+
|
338
595
|
/**
|
339
596
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
340
597
|
*
|
@@ -368,6 +625,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
368
625
|
* @public
|
369
626
|
*/
|
370
627
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
628
|
+
/**
|
629
|
+
* Start the call.
|
630
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
631
|
+
* @beta
|
632
|
+
*/
|
633
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
371
634
|
}
|
372
635
|
|
373
636
|
/**
|
@@ -412,6 +675,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
412
675
|
* @public
|
413
676
|
*/
|
414
677
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
678
|
+
/**
|
679
|
+
* Start the call.
|
680
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
681
|
+
* @beta
|
682
|
+
*/
|
683
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
415
684
|
}
|
416
685
|
|
417
686
|
/**
|
@@ -474,6 +743,12 @@ export declare interface CallAdapterCallOperations {
|
|
474
743
|
* @public
|
475
744
|
*/
|
476
745
|
lowerHand(): Promise<void>;
|
746
|
+
/**
|
747
|
+
* Send reaction emoji
|
748
|
+
*
|
749
|
+
* @beta
|
750
|
+
*/
|
751
|
+
onReactionClicked(reaction: Reaction_2): Promise<void>;
|
477
752
|
/**
|
478
753
|
* Stop sharing the screen
|
479
754
|
*
|
@@ -488,6 +763,12 @@ export declare interface CallAdapterCallOperations {
|
|
488
763
|
* @public
|
489
764
|
*/
|
490
765
|
removeParticipant(userId: string): Promise<void>;
|
766
|
+
/**
|
767
|
+
* Remove a participant from the call.
|
768
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
769
|
+
* @beta
|
770
|
+
*/
|
771
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
491
772
|
/**
|
492
773
|
* Create the html view for a stream.
|
493
774
|
*
|
@@ -539,6 +820,35 @@ export declare interface CallAdapterCallOperations {
|
|
539
820
|
* @public
|
540
821
|
*/
|
541
822
|
disposeLocalVideoStreamView(): Promise<void>;
|
823
|
+
/**
|
824
|
+
* Holds the call.
|
825
|
+
*
|
826
|
+
* @beta
|
827
|
+
*/
|
828
|
+
holdCall(): Promise<void>;
|
829
|
+
/**
|
830
|
+
* Resumes the call from a `LocalHold` state.
|
831
|
+
*
|
832
|
+
* @beta
|
833
|
+
*/
|
834
|
+
resumeCall(): Promise<void>;
|
835
|
+
/**
|
836
|
+
* Add a participant to the call.
|
837
|
+
*
|
838
|
+
* @beta
|
839
|
+
*/
|
840
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
841
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
842
|
+
/**
|
843
|
+
* send dtmf tone to another participant in a 1:1 PSTN call
|
844
|
+
*
|
845
|
+
* @beta
|
846
|
+
*/
|
847
|
+
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
848
|
+
/**
|
849
|
+
* Continues into a call when the browser version is not supported.
|
850
|
+
*/
|
851
|
+
allowUnsupportedBrowserVersion(): void;
|
542
852
|
/**
|
543
853
|
* Function to Start captions
|
544
854
|
* @param options - options for start captions
|
@@ -584,6 +894,24 @@ export declare interface CallAdapterCallOperations {
|
|
584
894
|
* @public
|
585
895
|
*/
|
586
896
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
897
|
+
/**
|
898
|
+
* Send the end of call survey result
|
899
|
+
*
|
900
|
+
* @beta
|
901
|
+
*/
|
902
|
+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
903
|
+
/**
|
904
|
+
* Start spotlight
|
905
|
+
*
|
906
|
+
* @beta
|
907
|
+
*/
|
908
|
+
startSpotlight(userId: string): Promise<void>;
|
909
|
+
/**
|
910
|
+
* Stop spotlight
|
911
|
+
*
|
912
|
+
* @beta
|
913
|
+
*/
|
914
|
+
stopSpotlight(userId: string): Promise<void>;
|
587
915
|
}
|
588
916
|
|
589
917
|
/**
|
@@ -611,6 +939,14 @@ export declare type CallAdapterClientState = {
|
|
611
939
|
* Latest error encountered for each operation performed via the adapter.
|
612
940
|
*/
|
613
941
|
latestErrors: AdapterErrors;
|
942
|
+
/**
|
943
|
+
* Azure communications Phone number to make PSTN calls with.
|
944
|
+
*/
|
945
|
+
alternateCallerId?: string;
|
946
|
+
/**
|
947
|
+
* Environment information about system the adapter is made on
|
948
|
+
*/
|
949
|
+
environmentInfo?: EnvironmentInfo;
|
614
950
|
/**
|
615
951
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
616
952
|
* control bar with the CallComposite.
|
@@ -628,6 +964,14 @@ export declare type CallAdapterClientState = {
|
|
628
964
|
* State to track the selected video background effect.
|
629
965
|
*/
|
630
966
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
967
|
+
/**
|
968
|
+
* Call from transfer request accepted by local user
|
969
|
+
*/
|
970
|
+
acceptedTransferCallState?: CallState;
|
971
|
+
/**
|
972
|
+
* Hide attendee names in teams meeting
|
973
|
+
*/
|
974
|
+
hideAttendeeNames?: boolean;
|
631
975
|
/**
|
632
976
|
* State to track the sounds to be used in the call.
|
633
977
|
*/
|
@@ -716,7 +1060,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
716
1060
|
*
|
717
1061
|
* @public
|
718
1062
|
*/
|
719
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator;
|
1063
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
720
1064
|
|
721
1065
|
/**
|
722
1066
|
* {@link CommonCallAdapter} state.
|
@@ -809,6 +1153,10 @@ export declare interface CallAdapterSubscribers {
|
|
809
1153
|
* Subscribe function for 'isSpokenLanguageChanged' event.
|
810
1154
|
*/
|
811
1155
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1156
|
+
/**
|
1157
|
+
* Subscribe function for 'transferRequested' event.
|
1158
|
+
*/
|
1159
|
+
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
812
1160
|
/**
|
813
1161
|
* Subscribe function for 'capabilitiesChanged' event.
|
814
1162
|
*/
|
@@ -881,6 +1229,10 @@ export declare interface CallAdapterSubscribers {
|
|
881
1229
|
* Unsubscribe function for 'isSpokenLanguageChanged' event.
|
882
1230
|
*/
|
883
1231
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1232
|
+
/**
|
1233
|
+
* Unsubscribe function for 'transferRequested' event.
|
1234
|
+
*/
|
1235
|
+
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
884
1236
|
/**
|
885
1237
|
* Unsubscribe function for 'capabilitiesChanged' event.
|
886
1238
|
*/
|
@@ -899,6 +1251,7 @@ export declare interface CallAdapterSubscribers {
|
|
899
1251
|
export declare type CallAdapterUiState = {
|
900
1252
|
isLocalPreviewMicrophoneEnabled: boolean;
|
901
1253
|
page: CallCompositePage;
|
1254
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
902
1255
|
};
|
903
1256
|
|
904
1257
|
/**
|
@@ -917,7 +1270,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
917
1270
|
*/
|
918
1271
|
export declare interface CallAgentProviderProps {
|
919
1272
|
children: React_2.ReactNode;
|
920
|
-
callAgent?: CallAgent;
|
1273
|
+
callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
921
1274
|
}
|
922
1275
|
|
923
1276
|
/**
|
@@ -942,7 +1295,7 @@ export declare interface CallAgentState {
|
|
942
1295
|
*/
|
943
1296
|
export declare interface CallAndChatLocator {
|
944
1297
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
945
|
-
callLocator: GroupCallLocator;
|
1298
|
+
callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
|
946
1299
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
947
1300
|
chatThreadId: string;
|
948
1301
|
}
|
@@ -1029,6 +1382,16 @@ export declare interface CallClientState {
|
|
1029
1382
|
* See documentation of {@Link CallErrors} for details.
|
1030
1383
|
*/
|
1031
1384
|
latestErrors: CallErrors;
|
1385
|
+
/**
|
1386
|
+
* A phone number in E.164 format that will be used to represent callers identity.
|
1387
|
+
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1388
|
+
* be used as the caller id in the PSTN call.
|
1389
|
+
*/
|
1390
|
+
alternateCallerId?: string;
|
1391
|
+
/**
|
1392
|
+
* state to track the environment that the stateful client was made in is supported
|
1393
|
+
*/
|
1394
|
+
environmentInfo?: EnvironmentInfo;
|
1032
1395
|
}
|
1033
1396
|
|
1034
1397
|
/**
|
@@ -1063,7 +1426,9 @@ export declare type CallCompositeIcons = {
|
|
1063
1426
|
ControlButtonRaiseHand?: JSX.Element;
|
1064
1427
|
ControlButtonLowerHand?: JSX.Element;
|
1065
1428
|
RaiseHandContextualMenuItem?: JSX.Element;
|
1429
|
+
ReactionContextualMenuItem?: JSX.Element;
|
1066
1430
|
LowerHandContextualMenuItem?: JSX.Element;
|
1431
|
+
ReactionButtonIcon?: JSX.Element;
|
1067
1432
|
ErrorBarCallCameraAccessDenied?: JSX.Element;
|
1068
1433
|
ErrorBarCallCameraAlreadyInUse?: JSX.Element;
|
1069
1434
|
ErrorBarCallLocalVideoFreeze?: JSX.Element;
|
@@ -1104,6 +1469,9 @@ export declare type CallCompositeIcons = {
|
|
1104
1469
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1105
1470
|
VideoTileMicOff?: JSX.Element;
|
1106
1471
|
LocalCameraSwitch?: JSX.Element;
|
1472
|
+
PeoplePaneAddPerson?: JSX.Element;
|
1473
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
1474
|
+
DialpadStartCall?: JSX.Element;
|
1107
1475
|
NoticePageInviteToRoomRemoved?: JSX.Element;
|
1108
1476
|
BlurVideoBackground?: JSX.Element;
|
1109
1477
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
@@ -1135,10 +1503,66 @@ export declare type CallCompositeOptions = {
|
|
1135
1503
|
* @defaultValue true
|
1136
1504
|
*/
|
1137
1505
|
callControls?: boolean | CallControlOptions;
|
1506
|
+
/**
|
1507
|
+
* Device permissions check options for your call.
|
1508
|
+
* Here you can choose what device permissions you prompt the user for,
|
1509
|
+
* as well as what device permissions must be accepted before starting a call.
|
1510
|
+
*/
|
1511
|
+
deviceChecks?: DeviceCheckOptions;
|
1512
|
+
/**
|
1513
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1514
|
+
* unable to grant your site the required permissions for the call.
|
1515
|
+
*
|
1516
|
+
* @example
|
1517
|
+
* ```ts
|
1518
|
+
* onPermissionsTroubleshootingClick: () =>
|
1519
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1520
|
+
* ```
|
1521
|
+
*
|
1522
|
+
* @remarks
|
1523
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1524
|
+
*/
|
1525
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1526
|
+
camera: PermissionState;
|
1527
|
+
microphone: PermissionState;
|
1528
|
+
}) => void;
|
1529
|
+
/**
|
1530
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1531
|
+
* having network issues when connecting to the call.
|
1532
|
+
*
|
1533
|
+
* @example
|
1534
|
+
* ```ts
|
1535
|
+
* onNetworkingTroubleShootingClick?: () =>
|
1536
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1537
|
+
* ```
|
1538
|
+
*
|
1539
|
+
* @remarks
|
1540
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1541
|
+
*/
|
1542
|
+
onNetworkingTroubleShootingClick?: () => void;
|
1543
|
+
/**
|
1544
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1545
|
+
*
|
1546
|
+
* @example
|
1547
|
+
* ```ts
|
1548
|
+
* onBrowserTroubleShootingClick?: () =>
|
1549
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1550
|
+
* ```
|
1551
|
+
*
|
1552
|
+
* @remarks
|
1553
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
1554
|
+
*/
|
1555
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1138
1556
|
/**
|
1139
1557
|
* Remote participant video tile menu options
|
1140
1558
|
*/
|
1141
1559
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
1560
|
+
/**
|
1561
|
+
* Options for controlling the local video tile.
|
1562
|
+
*
|
1563
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
1564
|
+
*/
|
1565
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
1142
1566
|
/**
|
1143
1567
|
* Options for controlling the starting layout of the composite's video gallery
|
1144
1568
|
*/
|
@@ -1148,6 +1572,78 @@ export declare type CallCompositeOptions = {
|
|
1148
1572
|
*/
|
1149
1573
|
layout?: VideoGalleryLayout;
|
1150
1574
|
};
|
1575
|
+
/**
|
1576
|
+
* Options for end of call survey
|
1577
|
+
*/
|
1578
|
+
surveyOptions?: {
|
1579
|
+
/**
|
1580
|
+
* Disable call survey at the end of a call.
|
1581
|
+
* @defaultValue false
|
1582
|
+
*/
|
1583
|
+
disableSurvey?: boolean;
|
1584
|
+
/**
|
1585
|
+
* Optional callback to add extra logic when survey is dismissed. For self-host only
|
1586
|
+
*/
|
1587
|
+
onSurveyDismissed?: () => void;
|
1588
|
+
/**
|
1589
|
+
* Optional callback to handle survey data including free form text response
|
1590
|
+
* Note that free form text response survey option is only going to be enabled when this callback is provided
|
1591
|
+
* User will need to handle all free form text response on their own
|
1592
|
+
*/
|
1593
|
+
onSurveySubmitted?: (callId: string, surveyId: string,
|
1594
|
+
/**
|
1595
|
+
* This is the survey results containing star survey data and API tag survey data.
|
1596
|
+
* This part of the result will always be sent to the calling sdk
|
1597
|
+
* This callback provides user with the ability to gain access to survey data
|
1598
|
+
*/
|
1599
|
+
submittedSurvey: CallSurvey,
|
1600
|
+
/**
|
1601
|
+
* This is the survey results containing free form text
|
1602
|
+
* This part of the result will not be handled by composites
|
1603
|
+
* User will need to collect and handle this information 100% on their own
|
1604
|
+
* Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
|
1605
|
+
*/
|
1606
|
+
improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
|
1607
|
+
};
|
1608
|
+
/**
|
1609
|
+
* Options for setting additional customizations related to personalized branding.
|
1610
|
+
*/
|
1611
|
+
branding?: {
|
1612
|
+
/**
|
1613
|
+
* Logo displayed on the configuration page.
|
1614
|
+
*/
|
1615
|
+
logo?: {
|
1616
|
+
/**
|
1617
|
+
* URL for the logo image.
|
1618
|
+
*
|
1619
|
+
* @remarks
|
1620
|
+
* Recommended size is 80x80 pixels.
|
1621
|
+
*/
|
1622
|
+
url: string;
|
1623
|
+
/**
|
1624
|
+
* Alt text for the logo image.
|
1625
|
+
*/
|
1626
|
+
alt?: string;
|
1627
|
+
/**
|
1628
|
+
* The logo can be displayed as a circle.
|
1629
|
+
*
|
1630
|
+
* @defaultValue 'unset'
|
1631
|
+
*/
|
1632
|
+
shape?: 'unset' | 'circle';
|
1633
|
+
};
|
1634
|
+
/**
|
1635
|
+
* Background image displayed on the configuration page.
|
1636
|
+
*/
|
1637
|
+
backgroundImage?: {
|
1638
|
+
/**
|
1639
|
+
* URL for the background image.
|
1640
|
+
*
|
1641
|
+
* @remarks
|
1642
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
1643
|
+
*/
|
1644
|
+
url: string;
|
1645
|
+
};
|
1646
|
+
};
|
1151
1647
|
};
|
1152
1648
|
|
1153
1649
|
/**
|
@@ -1155,7 +1651,7 @@ export declare type CallCompositeOptions = {
|
|
1155
1651
|
*
|
1156
1652
|
* @public
|
1157
1653
|
*/
|
1158
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1654
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
|
1159
1655
|
|
1160
1656
|
/**
|
1161
1657
|
* Props for {@link CallComposite}.
|
@@ -1401,10 +1897,74 @@ export declare interface CallCompositeStrings {
|
|
1401
1897
|
* Label for SidePaneHeader dismiss button
|
1402
1898
|
*/
|
1403
1899
|
dismissSidePaneButtonLabel?: string;
|
1900
|
+
/**
|
1901
|
+
* Side pane People section subheader.
|
1902
|
+
*/
|
1903
|
+
peoplePaneSubTitle: string;
|
1904
|
+
/**
|
1905
|
+
* Label for button to copy invite link
|
1906
|
+
*/
|
1907
|
+
copyInviteLinkButtonLabel: string;
|
1908
|
+
/**
|
1909
|
+
* Label for button to open dialpad
|
1910
|
+
*/
|
1911
|
+
openDialpadButtonLabel: string;
|
1912
|
+
/**
|
1913
|
+
* Label for menu item to remove participant
|
1914
|
+
*/
|
1915
|
+
removeMenuLabel: string;
|
1916
|
+
/**
|
1917
|
+
* Label for add people dropdown
|
1918
|
+
*/
|
1919
|
+
peoplePaneAddPeopleButtonLabel: string;
|
1920
|
+
/**
|
1921
|
+
* Label for button to start a call
|
1922
|
+
*/
|
1923
|
+
dialpadStartCallButtonLabel: string;
|
1924
|
+
/**
|
1925
|
+
* Title for dialpad Modal
|
1926
|
+
*/
|
1927
|
+
dialpadModalTitle: string;
|
1928
|
+
/**
|
1929
|
+
* Aria Label for dialpad Modal
|
1930
|
+
*/
|
1931
|
+
dialpadModalAriaLabel: string;
|
1932
|
+
/**
|
1933
|
+
* Aria Label for dialpad Modal close button
|
1934
|
+
*/
|
1935
|
+
dialpadCloseModalButtonAriaLabel: string;
|
1404
1936
|
/**
|
1405
1937
|
* label for more button in the Calling composite
|
1406
1938
|
*/
|
1407
1939
|
moreButtonCallingLabel: string;
|
1940
|
+
/**
|
1941
|
+
* Label for the resume call button on the hold pane
|
1942
|
+
*/
|
1943
|
+
resumeCallButtonLabel: string;
|
1944
|
+
/**
|
1945
|
+
* Label for the resume call button on the hold pane when call is resuming
|
1946
|
+
*/
|
1947
|
+
resumingCallButtonLabel: string;
|
1948
|
+
/**
|
1949
|
+
* Aria label for the resume call button on the hold pane
|
1950
|
+
*/
|
1951
|
+
resumeCallButtonAriaLabel: string;
|
1952
|
+
/**
|
1953
|
+
* Aria label for the resume call button on the hold pane when call is resuming
|
1954
|
+
*/
|
1955
|
+
resumingCallButtonAriaLabel: string;
|
1956
|
+
/**
|
1957
|
+
* Label for the hold pane
|
1958
|
+
*/
|
1959
|
+
holdScreenLabel: string;
|
1960
|
+
/**
|
1961
|
+
* Placeholder text for dtmf dialpad
|
1962
|
+
*/
|
1963
|
+
dtmfDialpadPlaceholderText: string;
|
1964
|
+
/**
|
1965
|
+
* Label for the button to open dtmf dialpad
|
1966
|
+
*/
|
1967
|
+
openDtmfDialpadLabel: string;
|
1408
1968
|
/**
|
1409
1969
|
* aria label for when the invite link has been actioned
|
1410
1970
|
*/
|
@@ -1468,15 +2028,27 @@ export declare interface CallCompositeStrings {
|
|
1468
2028
|
/**
|
1469
2029
|
* 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.
|
1470
2030
|
*/
|
1471
|
-
cameraOffBackgroundEffectWarningText?: string;
|
2031
|
+
cameraOffBackgroundEffectWarningText?: string;
|
2032
|
+
/**
|
2033
|
+
* Title text of the page shown to the user when the user attempts to join a room they are not invited to.
|
2034
|
+
*/
|
2035
|
+
notInvitedToRoomTitle: string;
|
2036
|
+
/**
|
2037
|
+
* More details text of the page shown to the user when the user attempts to join a room they are not invited to.
|
2038
|
+
*/
|
2039
|
+
notInvitedToRoomDetails?: string;
|
2040
|
+
/**
|
2041
|
+
* Control bar People button ToolTipContent
|
2042
|
+
*/
|
2043
|
+
peopleButtonTooltipOpen: string;
|
1472
2044
|
/**
|
1473
|
-
*
|
2045
|
+
* Control bar People button ToolTipContent
|
1474
2046
|
*/
|
1475
|
-
|
2047
|
+
peopleButtonTooltipClose: string;
|
1476
2048
|
/**
|
1477
|
-
*
|
2049
|
+
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1478
2050
|
*/
|
1479
|
-
|
2051
|
+
outboundCallingNoticeString: string;
|
1480
2052
|
/**
|
1481
2053
|
* Notice to be announced by narrator when a participant joins a call
|
1482
2054
|
*/
|
@@ -1601,6 +2173,58 @@ export declare interface CallCompositeStrings {
|
|
1601
2173
|
* captions banner loading spinner label
|
1602
2174
|
*/
|
1603
2175
|
captionsBannerSpinnerText?: string;
|
2176
|
+
/**
|
2177
|
+
* transfer page text when showing the transferor who initiated the transfer
|
2178
|
+
*/
|
2179
|
+
transferPageTransferorText: string;
|
2180
|
+
/**
|
2181
|
+
* transfer page text when showing the transfer target
|
2182
|
+
*/
|
2183
|
+
transferPageTransferTargetText: string;
|
2184
|
+
/**
|
2185
|
+
* transfer page display name for unknown participant
|
2186
|
+
*/
|
2187
|
+
transferPageUnknownTransferorDisplayName: string;
|
2188
|
+
/**
|
2189
|
+
* transfer page display name for unknown participant
|
2190
|
+
*/
|
2191
|
+
transferPageUnknownTransferTargetDisplayName: string;
|
2192
|
+
/**
|
2193
|
+
* notice to be announced by narrator the transfer page is showing
|
2194
|
+
*/
|
2195
|
+
transferPageNoticeString: string;
|
2196
|
+
/**
|
2197
|
+
* Title text of the page shown to the user when target participant could not be reached
|
2198
|
+
*/
|
2199
|
+
participantCouldNotBeReachedTitle?: string;
|
2200
|
+
/**
|
2201
|
+
* More details text of the page shown to the user when target participant could not be reached
|
2202
|
+
*/
|
2203
|
+
participantCouldNotBeReachedMoreDetails?: string;
|
2204
|
+
/**
|
2205
|
+
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2206
|
+
*/
|
2207
|
+
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2208
|
+
/**
|
2209
|
+
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2210
|
+
*/
|
2211
|
+
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2212
|
+
/**
|
2213
|
+
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2214
|
+
*/
|
2215
|
+
unableToResolveTenantTitle?: string;
|
2216
|
+
/**
|
2217
|
+
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2218
|
+
*/
|
2219
|
+
unableToResolveTenantMoreDetails?: string;
|
2220
|
+
/**
|
2221
|
+
* Title text of the page shown to the user when target participant id is malformed
|
2222
|
+
*/
|
2223
|
+
participantIdIsMalformedTitle?: string;
|
2224
|
+
/**
|
2225
|
+
* More details text of the page shown to the user when target participant id is malformed
|
2226
|
+
*/
|
2227
|
+
participantIdIsMalformedMoreDetails?: string;
|
1604
2228
|
/**
|
1605
2229
|
* Controls label to move the overflow gallery around
|
1606
2230
|
*/
|
@@ -1633,6 +2257,70 @@ export declare interface CallCompositeStrings {
|
|
1633
2257
|
* All strings for capability changed notification
|
1634
2258
|
*/
|
1635
2259
|
capabilityChangedNotification?: CapabilityChangedNotificationStrings;
|
2260
|
+
/**
|
2261
|
+
* Question for the survey
|
2262
|
+
*/
|
2263
|
+
surveyQuestion: string;
|
2264
|
+
/**
|
2265
|
+
* Helper text to explain what the survey is for
|
2266
|
+
*/
|
2267
|
+
starSurveyHelperText: string;
|
2268
|
+
/**
|
2269
|
+
* Helper text displayed below survey question after user select one star
|
2270
|
+
*/
|
2271
|
+
starSurveyOneStarText: string;
|
2272
|
+
/**
|
2273
|
+
* Helper text displayed below survey question after user select two star
|
2274
|
+
*/
|
2275
|
+
starSurveyTwoStarText: string;
|
2276
|
+
/**
|
2277
|
+
* Helper text displayed below survey question after user select three star
|
2278
|
+
*/
|
2279
|
+
starSurveyThreeStarText: string;
|
2280
|
+
/**
|
2281
|
+
* Helper text displayed below survey question after user select four star
|
2282
|
+
*/
|
2283
|
+
starSurveyFourStarText: string;
|
2284
|
+
/**
|
2285
|
+
* Helper text displayed below survey question after user select five star
|
2286
|
+
*/
|
2287
|
+
starSurveyFiveStarText: string;
|
2288
|
+
/**
|
2289
|
+
* Aria Label for each individual star rating
|
2290
|
+
*/
|
2291
|
+
starRatingAriaLabel: string;
|
2292
|
+
/**
|
2293
|
+
* Tags Survey Question
|
2294
|
+
*/
|
2295
|
+
tagsSurveyQuestion: string;
|
2296
|
+
/**
|
2297
|
+
* Default text for free form text field inside tags survey
|
2298
|
+
*/
|
2299
|
+
tagsSurveyTextFieldDefaultText: string;
|
2300
|
+
/**
|
2301
|
+
* Tags Survey helper text
|
2302
|
+
*/
|
2303
|
+
tagsSurveyHelperText: string;
|
2304
|
+
/**
|
2305
|
+
* Confirm button label for survey
|
2306
|
+
*/
|
2307
|
+
surveyConfirmButtonLabel: string;
|
2308
|
+
/**
|
2309
|
+
* Aria Label for cancel button
|
2310
|
+
*/
|
2311
|
+
surveyCancelButtonAriaLabel: string;
|
2312
|
+
/**
|
2313
|
+
* Default text for free form text box
|
2314
|
+
*/
|
2315
|
+
surveyTextboxDefaultText: string;
|
2316
|
+
/**
|
2317
|
+
* Corresponding texts to each call issue
|
2318
|
+
*/
|
2319
|
+
surveyIssues: SurveyIssues;
|
2320
|
+
/**
|
2321
|
+
* Corresponding texts to each call category
|
2322
|
+
*/
|
2323
|
+
SurveyIssuesHeadingStrings: SurveyIssuesHeadingStrings;
|
1636
2324
|
/**
|
1637
2325
|
* String for the dismiss control on the local and remote PIP on mobile
|
1638
2326
|
*/
|
@@ -1667,7 +2355,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
|
|
1667
2355
|
*
|
1668
2356
|
* @public
|
1669
2357
|
*/
|
1670
|
-
export declare type CallControlOptions =
|
2358
|
+
export declare type CallControlOptions = CommonCallControlOptions & {
|
1671
2359
|
/**
|
1672
2360
|
* Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
|
1673
2361
|
* @defaultValue true
|
@@ -1676,7 +2364,7 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
|
|
1676
2364
|
disabled: boolean;
|
1677
2365
|
};
|
1678
2366
|
legacyControlBarExperience?: boolean;
|
1679
|
-
}
|
2367
|
+
};
|
1680
2368
|
|
1681
2369
|
/**
|
1682
2370
|
* Callback for {@link CallAdapterSubscribers} 'callEnded' event.
|
@@ -1737,7 +2425,7 @@ export declare type CallErrors = {
|
|
1737
2425
|
*
|
1738
2426
|
* @public
|
1739
2427
|
*/
|
1740
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'VideoEffectsFeature.startEffects' | 'Call.setConstraints';
|
2428
|
+
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' | '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' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteAllRemoteParticipants' | 'Call.setConstraints';
|
1741
2429
|
|
1742
2430
|
/**
|
1743
2431
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1834,6 +2522,29 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
1834
2522
|
isSpeaking?: boolean;
|
1835
2523
|
/** Whether calling participant is raised hand */
|
1836
2524
|
raisedHand?: RaisedHand;
|
2525
|
+
/**
|
2526
|
+
* Whether calling participant has reacted
|
2527
|
+
*
|
2528
|
+
* @beta
|
2529
|
+
* */
|
2530
|
+
reaction?: Reaction;
|
2531
|
+
};
|
2532
|
+
|
2533
|
+
/**
|
2534
|
+
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2535
|
+
*
|
2536
|
+
* @remarks
|
2537
|
+
* This is currently in beta and only supports calling one Teams User.
|
2538
|
+
*
|
2539
|
+
* @example
|
2540
|
+
* ```
|
2541
|
+
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2542
|
+
* ```
|
2543
|
+
*
|
2544
|
+
* @beta
|
2545
|
+
*/
|
2546
|
+
export declare type CallParticipantsLocator = {
|
2547
|
+
participantIds: string[];
|
1837
2548
|
};
|
1838
2549
|
|
1839
2550
|
/**
|
@@ -1852,7 +2563,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
1852
2563
|
*/
|
1853
2564
|
export declare interface CallProviderProps {
|
1854
2565
|
children: React_2.ReactNode;
|
1855
|
-
call?: Call;
|
2566
|
+
call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
1856
2567
|
}
|
1857
2568
|
|
1858
2569
|
/**
|
@@ -1866,6 +2577,10 @@ export declare interface CallState {
|
|
1866
2577
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
1867
2578
|
*/
|
1868
2579
|
id: string;
|
2580
|
+
/**
|
2581
|
+
* Type of the call.
|
2582
|
+
*/
|
2583
|
+
kind: CallKind;
|
1869
2584
|
/**
|
1870
2585
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
1871
2586
|
*/
|
@@ -1936,6 +2651,13 @@ export declare interface CallState {
|
|
1936
2651
|
* Proxy of {@link @azure/communication-calling#RaiseHandCallFeature}.
|
1937
2652
|
*/
|
1938
2653
|
raiseHand: RaiseHandCallFeature;
|
2654
|
+
/**
|
2655
|
+
* Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
|
2656
|
+
* UI helper props receivedAt which indicates the timestamp when the message was received.
|
2657
|
+
*
|
2658
|
+
* @beta
|
2659
|
+
*/
|
2660
|
+
localParticipantReaction?: ReactionState;
|
1939
2661
|
/**
|
1940
2662
|
* Stores the currently active screenshare participant's key. If there is no screenshare active, then this will be
|
1941
2663
|
* undefined. You can use this key to access the remoteParticipant data in {@link CallState.remoteParticipants} object.
|
@@ -1964,10 +2686,49 @@ export declare interface CallState {
|
|
1964
2686
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
1965
2687
|
*/
|
1966
2688
|
role?: ParticipantRole;
|
2689
|
+
/**
|
2690
|
+
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2691
|
+
*/
|
2692
|
+
totalParticipantCount?: number;
|
2693
|
+
/**
|
2694
|
+
* Transfer state of call
|
2695
|
+
*/
|
2696
|
+
transfer: TransferFeature;
|
1967
2697
|
/**
|
1968
2698
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
1969
2699
|
*/
|
1970
2700
|
capabilitiesFeature?: CapabilitiesFeatureState;
|
2701
|
+
/**
|
2702
|
+
* Hide attendee names in teams meeting
|
2703
|
+
*/
|
2704
|
+
hideAttendeeNames?: boolean;
|
2705
|
+
/**
|
2706
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature}.
|
2707
|
+
*/
|
2708
|
+
spotlight?: SpotlightCallFeatureState;
|
2709
|
+
}
|
2710
|
+
|
2711
|
+
/**
|
2712
|
+
* Represents the improvement suggestion part of call survey
|
2713
|
+
* @beta
|
2714
|
+
*/
|
2715
|
+
export declare interface CallSurveyImprovementSuggestions {
|
2716
|
+
/**
|
2717
|
+
* Improvement suggestions for overall call
|
2718
|
+
*/
|
2719
|
+
overall?: string;
|
2720
|
+
/**
|
2721
|
+
* Improvement suggestions for audio experience
|
2722
|
+
*/
|
2723
|
+
audio?: string;
|
2724
|
+
/**
|
2725
|
+
* Improvement suggestions for video experience
|
2726
|
+
*/
|
2727
|
+
video?: string;
|
2728
|
+
/**
|
2729
|
+
* Improvement suggestions for screenshare experience
|
2730
|
+
*/
|
2731
|
+
screenshare?: string;
|
1971
2732
|
}
|
1972
2733
|
|
1973
2734
|
/**
|
@@ -1991,6 +2752,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
1991
2752
|
* @public
|
1992
2753
|
*/
|
1993
2754
|
removeParticipant(userId: string): Promise<void>;
|
2755
|
+
/**
|
2756
|
+
* Remove a participant from the call.
|
2757
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2758
|
+
* @beta
|
2759
|
+
*/
|
2760
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
1994
2761
|
/**
|
1995
2762
|
* Join the call with microphone initially on/off.
|
1996
2763
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2056,6 +2823,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
2056
2823
|
* @public
|
2057
2824
|
*/
|
2058
2825
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2826
|
+
/**
|
2827
|
+
* Start the call.
|
2828
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2829
|
+
* @beta
|
2830
|
+
*/
|
2831
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
2059
2832
|
/**
|
2060
2833
|
* Start sharing the screen during a call.
|
2061
2834
|
*
|
@@ -2080,6 +2853,13 @@ export declare interface CallWithChatAdapterManagement {
|
|
2080
2853
|
* @public
|
2081
2854
|
*/
|
2082
2855
|
lowerHand(): Promise<void>;
|
2856
|
+
/**
|
2857
|
+
* Send Reaction to ongoing meeting.
|
2858
|
+
* @param reaction - A value of type {@link @azure/communication-calling#Reaction}
|
2859
|
+
*
|
2860
|
+
* @beta
|
2861
|
+
*/
|
2862
|
+
onReactionClicked(reaction: Reaction_2): Promise<void>;
|
2083
2863
|
/**
|
2084
2864
|
* Create the html view for a stream.
|
2085
2865
|
*
|
@@ -2245,6 +3025,52 @@ export declare interface CallWithChatAdapterManagement {
|
|
2245
3025
|
* @public
|
2246
3026
|
*/
|
2247
3027
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3028
|
+
/** @beta */
|
3029
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
3030
|
+
/** @beta */
|
3031
|
+
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
3032
|
+
/** @beta */
|
3033
|
+
clearFileUploads: () => void;
|
3034
|
+
/** @beta */
|
3035
|
+
cancelFileUpload: (id: string) => void;
|
3036
|
+
/** @beta */
|
3037
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
3038
|
+
/** @beta */
|
3039
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
3040
|
+
/** @beta */
|
3041
|
+
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
3042
|
+
downloadAttachments: (options: {
|
3043
|
+
attachmentUrls: Record<string, string>;
|
3044
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
3045
|
+
/**
|
3046
|
+
* Puts the Call in a Localhold.
|
3047
|
+
*
|
3048
|
+
* @beta
|
3049
|
+
*/
|
3050
|
+
holdCall: () => Promise<void>;
|
3051
|
+
/**
|
3052
|
+
* Resumes the call from a LocalHold state.
|
3053
|
+
*
|
3054
|
+
* @beta
|
3055
|
+
*/
|
3056
|
+
resumeCall: () => Promise<void>;
|
3057
|
+
/**
|
3058
|
+
* Adds a new Participant to the call.
|
3059
|
+
*
|
3060
|
+
* @beta
|
3061
|
+
*/
|
3062
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
3063
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
3064
|
+
/**
|
3065
|
+
* send dtmf tone to another participant in the call in 1:1 calls
|
3066
|
+
*
|
3067
|
+
* @beta
|
3068
|
+
*/
|
3069
|
+
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3070
|
+
/**
|
3071
|
+
* Continues into a call when the browser version is not supported.
|
3072
|
+
*/
|
3073
|
+
allowUnsupportedBrowserVersion(): void;
|
2248
3074
|
/**
|
2249
3075
|
* Function to Start captions
|
2250
3076
|
* @param options - options for start captions
|
@@ -2290,6 +3116,24 @@ export declare interface CallWithChatAdapterManagement {
|
|
2290
3116
|
* @public
|
2291
3117
|
*/
|
2292
3118
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
3119
|
+
/**
|
3120
|
+
* Send the end of call survey result
|
3121
|
+
*
|
3122
|
+
* @beta
|
3123
|
+
*/
|
3124
|
+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
3125
|
+
/**
|
3126
|
+
* Start spotlight
|
3127
|
+
*
|
3128
|
+
* @beta
|
3129
|
+
*/
|
3130
|
+
startSpotlight(userId: string): Promise<void>;
|
3131
|
+
/**
|
3132
|
+
* Stop spotlight
|
3133
|
+
*
|
3134
|
+
* @beta
|
3135
|
+
*/
|
3136
|
+
stopSpotlight(userId: string): Promise<void>;
|
2293
3137
|
}
|
2294
3138
|
|
2295
3139
|
/**
|
@@ -2374,6 +3218,22 @@ export declare interface CallWithChatAdapterUiState {
|
|
2374
3218
|
* @public
|
2375
3219
|
*/
|
2376
3220
|
page: CallCompositePage;
|
3221
|
+
/**
|
3222
|
+
* Files being uploaded by a user in the current thread.
|
3223
|
+
* Should be set to null once the upload is complete.
|
3224
|
+
* Array of type {@link FileUploadsUiState}
|
3225
|
+
*
|
3226
|
+
* @beta
|
3227
|
+
*/
|
3228
|
+
fileUploads?: FileUploadsUiState;
|
3229
|
+
/**
|
3230
|
+
* State to track whether the end user has opted in to using a
|
3231
|
+
* out of date version of a supported browser. Allows the user
|
3232
|
+
* to start a call in this state.
|
3233
|
+
*
|
3234
|
+
* @beta
|
3235
|
+
*/
|
3236
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
2377
3237
|
}
|
2378
3238
|
|
2379
3239
|
/**
|
@@ -2398,12 +3258,18 @@ export declare interface CallWithChatClientState {
|
|
2398
3258
|
devices: DeviceManagerState;
|
2399
3259
|
/** State of whether the active call is a Teams interop call */
|
2400
3260
|
isTeamsCall: boolean;
|
3261
|
+
/** alternateCallerId for PSTN call */
|
3262
|
+
alternateCallerId?: string | undefined;
|
3263
|
+
/** Environment information for system adapter is made on */
|
3264
|
+
environmentInfo?: EnvironmentInfo;
|
2401
3265
|
/** Default set of background images for background replacement effect */
|
2402
3266
|
videoBackgroundImages?: VideoBackgroundImage[];
|
2403
3267
|
/** Dependency to be injected for video background effects */
|
2404
3268
|
onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
2405
3269
|
/** State to track the selected video background effect */
|
2406
3270
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
3271
|
+
/** Hide attendee names in teams meeting */
|
3272
|
+
hideAttendeeNames?: boolean;
|
2407
3273
|
}
|
2408
3274
|
|
2409
3275
|
/**
|
@@ -2472,6 +3338,9 @@ export declare type CallWithChatCompositeIcons = {
|
|
2472
3338
|
ParticipantItemScreenShareStart?: JSX.Element;
|
2473
3339
|
VideoTileMicOff?: JSX.Element;
|
2474
3340
|
LocalCameraSwitch?: JSX.Element;
|
3341
|
+
PeoplePaneAddPerson?: JSX.Element;
|
3342
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
3343
|
+
DialpadStartCall?: JSX.Element;
|
2475
3344
|
DefaultCustomButton?: JSX.Element;
|
2476
3345
|
EditBoxCancel?: JSX.Element;
|
2477
3346
|
EditBoxSubmit?: JSX.Element;
|
@@ -2499,10 +3368,72 @@ export declare type CallWithChatCompositeOptions = {
|
|
2499
3368
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
2500
3369
|
*/
|
2501
3370
|
callControls?: boolean | CallWithChatControlOptions;
|
3371
|
+
/**
|
3372
|
+
* Properties for configuring the File Sharing feature.
|
3373
|
+
* If undefined, file sharing feature will be disabled.
|
3374
|
+
* @beta
|
3375
|
+
*/
|
3376
|
+
fileSharing?: FileSharingOptions;
|
3377
|
+
/**
|
3378
|
+
* Device permissions check options for your call.
|
3379
|
+
* Here you can choose what device permissions you prompt the user for,
|
3380
|
+
* as well as what device permissions must be accepted before starting a call.
|
3381
|
+
*/
|
3382
|
+
deviceChecks?: DeviceCheckOptions;
|
3383
|
+
/**
|
3384
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3385
|
+
* unable to grant your site the required permissions for the call.
|
3386
|
+
*
|
3387
|
+
* @example
|
3388
|
+
* ```ts
|
3389
|
+
* onPermissionsTroubleshootingClick: () =>
|
3390
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3391
|
+
* ```
|
3392
|
+
*
|
3393
|
+
* @remarks
|
3394
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3395
|
+
*/
|
3396
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3397
|
+
camera: PermissionState;
|
3398
|
+
microphone: PermissionState;
|
3399
|
+
}) => void;
|
3400
|
+
/**
|
3401
|
+
* Optional callback to supply users with further troubleshooting steps for network issues
|
3402
|
+
* experienced when connecting to a call.
|
3403
|
+
*
|
3404
|
+
* @example
|
3405
|
+
* ```ts
|
3406
|
+
* onNetworkingTroubleShootingClick?: () =>
|
3407
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3408
|
+
* ```
|
3409
|
+
*
|
3410
|
+
* @remarks
|
3411
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3412
|
+
*/
|
3413
|
+
onNetworkingTroubleShootingClick?: () => void;
|
3414
|
+
/**
|
3415
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3416
|
+
*
|
3417
|
+
* @example
|
3418
|
+
* ```ts
|
3419
|
+
* onBrowserTroubleShootingClick?: () =>
|
3420
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3421
|
+
* ```
|
3422
|
+
*
|
3423
|
+
* @remarks
|
3424
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
3425
|
+
*/
|
3426
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2502
3427
|
/**
|
2503
3428
|
* Remote participant video tile menu options
|
2504
3429
|
*/
|
2505
3430
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
3431
|
+
/**
|
3432
|
+
* Options for controlling the local video tile.
|
3433
|
+
*
|
3434
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
3435
|
+
*/
|
3436
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
2506
3437
|
/**
|
2507
3438
|
* Options for controlling the starting layout of the composite's video gallery
|
2508
3439
|
*/
|
@@ -2512,6 +3443,78 @@ export declare type CallWithChatCompositeOptions = {
|
|
2512
3443
|
*/
|
2513
3444
|
layout?: VideoGalleryLayout;
|
2514
3445
|
};
|
3446
|
+
/**
|
3447
|
+
* Options for end of call survey
|
3448
|
+
*/
|
3449
|
+
surveyOptions?: {
|
3450
|
+
/**
|
3451
|
+
* Disable call survey at the end of a call.
|
3452
|
+
* @defaultValue false
|
3453
|
+
*/
|
3454
|
+
disableSurvey?: boolean;
|
3455
|
+
/**
|
3456
|
+
* Optional callback to add extra logic when survey is dismissed. For self-host only
|
3457
|
+
*/
|
3458
|
+
onSurveyDismissed?: () => void;
|
3459
|
+
/**
|
3460
|
+
* Optional callback to handle survey data including free form text response
|
3461
|
+
* Note that free form text response survey option is only going to be enabled when this callback is provided
|
3462
|
+
* User will need to handle all free form text response on their own
|
3463
|
+
*/
|
3464
|
+
onSurveySubmitted?: (callId: string, surveyId: string,
|
3465
|
+
/**
|
3466
|
+
* This is the survey results containing star survey data and API tag survey data.
|
3467
|
+
* This part of the result will always be sent to the calling sdk
|
3468
|
+
* This callback provides user with the ability to gain access to survey data
|
3469
|
+
*/
|
3470
|
+
submittedSurvey: CallSurvey,
|
3471
|
+
/**
|
3472
|
+
* This is the survey results containing free form text
|
3473
|
+
* This part of the result will not be handled by composites
|
3474
|
+
* User will need to collect and handle this information 100% on their own
|
3475
|
+
* Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
|
3476
|
+
*/
|
3477
|
+
improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
|
3478
|
+
};
|
3479
|
+
/**
|
3480
|
+
* Options for setting additional customizations related to personalized branding.
|
3481
|
+
*/
|
3482
|
+
branding?: {
|
3483
|
+
/**
|
3484
|
+
* Logo displayed on the configuration page.
|
3485
|
+
*/
|
3486
|
+
logo?: {
|
3487
|
+
/**
|
3488
|
+
* URL for the logo image.
|
3489
|
+
*
|
3490
|
+
* @remarks
|
3491
|
+
* Recommended size is 80x80 pixels.
|
3492
|
+
*/
|
3493
|
+
url: string;
|
3494
|
+
/**
|
3495
|
+
* Alt text for the logo image.
|
3496
|
+
*/
|
3497
|
+
alt?: string;
|
3498
|
+
/**
|
3499
|
+
* The logo can be displayed as a circle.
|
3500
|
+
*
|
3501
|
+
* @defaultValue 'unset'
|
3502
|
+
*/
|
3503
|
+
shape?: 'unset' | 'circle';
|
3504
|
+
};
|
3505
|
+
/**
|
3506
|
+
* Background image displayed on the configuration page.
|
3507
|
+
*/
|
3508
|
+
backgroundImage?: {
|
3509
|
+
/**
|
3510
|
+
* URL for the background image.
|
3511
|
+
*
|
3512
|
+
* @remarks
|
3513
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
3514
|
+
*/
|
3515
|
+
url: string;
|
3516
|
+
};
|
3517
|
+
};
|
2515
3518
|
};
|
2516
3519
|
|
2517
3520
|
/**
|
@@ -2663,6 +3666,10 @@ export declare interface CallWithChatCompositeStrings {
|
|
2663
3666
|
* Label for button to copy invite link
|
2664
3667
|
*/
|
2665
3668
|
copyInviteLinkButtonLabel: string;
|
3669
|
+
/**
|
3670
|
+
* Label for button to open dialpad
|
3671
|
+
*/
|
3672
|
+
openDialpadButtonLabel: string;
|
2666
3673
|
/**
|
2667
3674
|
* Label for SidePaneHeader dismiss button
|
2668
3675
|
*/
|
@@ -2675,6 +3682,34 @@ export declare interface CallWithChatCompositeStrings {
|
|
2675
3682
|
* Aria label string for return to call back button
|
2676
3683
|
*/
|
2677
3684
|
returnToCallButtonAriaLabel?: string;
|
3685
|
+
/**
|
3686
|
+
* Label for add people dropdown
|
3687
|
+
*/
|
3688
|
+
peoplePaneAddPeopleButtonLabel: string;
|
3689
|
+
/**
|
3690
|
+
* Label for button to start a call
|
3691
|
+
*/
|
3692
|
+
dialpadStartCallButtonLabel: string;
|
3693
|
+
/**
|
3694
|
+
* Title for dialpad Modal
|
3695
|
+
*/
|
3696
|
+
dialpadModalTitle: string;
|
3697
|
+
/**
|
3698
|
+
* Aria Label for dialpad Modal
|
3699
|
+
*/
|
3700
|
+
dialpadModalAriaLabel: string;
|
3701
|
+
/**
|
3702
|
+
* Aria Label for dialpad Modal close button
|
3703
|
+
*/
|
3704
|
+
dialpadCloseModalButtonAriaLabel: string;
|
3705
|
+
/**
|
3706
|
+
* Placeholder text for dtmf dialpad
|
3707
|
+
*/
|
3708
|
+
dtmfDialpadPlaceholderText: string;
|
3709
|
+
/**
|
3710
|
+
* Label for the button to open dtmf dialpad
|
3711
|
+
*/
|
3712
|
+
openDtmfDialpadLabel: string;
|
2678
3713
|
/**
|
2679
3714
|
* aria label for when the invite link has been actioned
|
2680
3715
|
*/
|
@@ -2691,7 +3726,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2691
3726
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2692
3727
|
* @defaultValue true
|
2693
3728
|
*/
|
2694
|
-
chatButton?: boolean
|
3729
|
+
chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3730
|
+
disabled: boolean;
|
3731
|
+
};
|
2695
3732
|
}
|
2696
3733
|
|
2697
3734
|
/**
|
@@ -2701,6 +3738,35 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2701
3738
|
*/
|
2702
3739
|
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2703
3740
|
|
3741
|
+
/**
|
3742
|
+
* @beta
|
3743
|
+
*
|
3744
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3745
|
+
* by their browsers settings.
|
3746
|
+
*/
|
3747
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3748
|
+
|
3749
|
+
/**
|
3750
|
+
* @beta
|
3751
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
3752
|
+
*/
|
3753
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3754
|
+
/** Icon name for the camera icon */
|
3755
|
+
cameraIconName?: string;
|
3756
|
+
/** Icon name for the microphone icon */
|
3757
|
+
microphoneIconName?: string;
|
3758
|
+
/** Icon name for the central icon between the camera and microphone icons */
|
3759
|
+
connectorIconName?: string;
|
3760
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3761
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3762
|
+
}
|
3763
|
+
|
3764
|
+
/**
|
3765
|
+
* @beta
|
3766
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
3767
|
+
*/
|
3768
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3769
|
+
|
2704
3770
|
/**
|
2705
3771
|
* A button to turn camera on / off.
|
2706
3772
|
*
|
@@ -2857,6 +3923,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2857
3923
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
2858
3924
|
}
|
2859
3925
|
|
3926
|
+
/**
|
3927
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3928
|
+
* by their browsers settings.
|
3929
|
+
*
|
3930
|
+
* @beta
|
3931
|
+
*/
|
3932
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3933
|
+
|
3934
|
+
/**
|
3935
|
+
* @beta
|
3936
|
+
* Props for CameraSitePermissions component.
|
3937
|
+
*/
|
3938
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3939
|
+
/** Icon name for the camera icon */
|
3940
|
+
cameraIconName?: string;
|
3941
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
3942
|
+
strings?: CameraSitePermissionsStrings;
|
3943
|
+
}
|
3944
|
+
|
3945
|
+
/**
|
3946
|
+
* @beta
|
3947
|
+
* Strings for CameraSitePermissions component.
|
3948
|
+
*/
|
3949
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3950
|
+
|
2860
3951
|
/**
|
2861
3952
|
* @public
|
2862
3953
|
* Callback function run when a message edit is cancelled.
|
@@ -3062,7 +4153,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3062
4153
|
*
|
3063
4154
|
* @public
|
3064
4155
|
*/
|
3065
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
|
4156
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers & FileUploadAdapter;
|
3066
4157
|
|
3067
4158
|
/**
|
3068
4159
|
* {@link ChatAdapter} state.
|
@@ -3186,7 +4277,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3186
4277
|
/**
|
3187
4278
|
* Update a message content.
|
3188
4279
|
*/
|
3189
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
4280
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
4281
|
+
attachmentMetadata?: AttachmentMetadata[];
|
4282
|
+
}): Promise<void>;
|
3190
4283
|
/**
|
3191
4284
|
* Delete a message in the thread.
|
3192
4285
|
*/
|
@@ -3199,6 +4292,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3199
4292
|
*
|
3200
4293
|
*/
|
3201
4294
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
4295
|
+
downloadAttachments: (options: {
|
4296
|
+
attachmentUrls: Record<string, string>;
|
4297
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
3202
4298
|
}
|
3203
4299
|
|
3204
4300
|
/**
|
@@ -3208,8 +4304,21 @@ export declare interface ChatAdapterThreadManagement {
|
|
3208
4304
|
*/
|
3209
4305
|
export declare type ChatAdapterUiState = {
|
3210
4306
|
error?: Error;
|
4307
|
+
/**
|
4308
|
+
* Files being uploaded by a user in the current thread.
|
4309
|
+
* Should be set to null once the upload is complete.
|
4310
|
+
* Array of type {@link FileUploadsUiState}
|
4311
|
+
* @beta
|
4312
|
+
*/
|
4313
|
+
fileUploads?: FileUploadsUiState;
|
3211
4314
|
};
|
3212
4315
|
|
4316
|
+
/**
|
4317
|
+
* Represents the type of attachment
|
4318
|
+
* @beta
|
4319
|
+
*/
|
4320
|
+
export declare type ChatAttachmentType = 'unknown' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | /* @conditional-compile-remove(file-sharing) */ 'file';
|
4321
|
+
|
3213
4322
|
/**
|
3214
4323
|
* Common props for selectors for {@link ChatClientState}.
|
3215
4324
|
*
|
@@ -3310,6 +4419,7 @@ export declare type ChatCompositeIcons = {
|
|
3310
4419
|
ParticipantItemOptionsHovered?: JSX.Element;
|
3311
4420
|
SendBoxSend?: JSX.Element;
|
3312
4421
|
SendBoxSendHovered?: JSX.Element;
|
4422
|
+
SendBoxAttachFile?: JSX.Element;
|
3313
4423
|
};
|
3314
4424
|
|
3315
4425
|
/**
|
@@ -3323,7 +4433,14 @@ export declare type ChatCompositeOptions = {
|
|
3323
4433
|
* Hide or show the error bar.
|
3324
4434
|
* @defaultValue true
|
3325
4435
|
*/
|
3326
|
-
errorBar?: boolean;
|
4436
|
+
errorBar?: boolean;
|
4437
|
+
/**
|
4438
|
+
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4439
|
+
* @defaultValue false
|
4440
|
+
*
|
4441
|
+
* @beta
|
4442
|
+
*/
|
4443
|
+
participantPane?: boolean;
|
3327
4444
|
/**
|
3328
4445
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
3329
4446
|
* @defaultValue true
|
@@ -3334,6 +4451,12 @@ export declare type ChatCompositeOptions = {
|
|
3334
4451
|
* When undefined nothing has focus on render
|
3335
4452
|
*/
|
3336
4453
|
autoFocus?: 'sendBoxTextField';
|
4454
|
+
/**
|
4455
|
+
* Properties for configuring the File Sharing feature.
|
4456
|
+
* If undefined, file sharing feature will be disabled.
|
4457
|
+
* @beta
|
4458
|
+
*/
|
4459
|
+
fileSharing?: FileSharingOptions;
|
3337
4460
|
};
|
3338
4461
|
|
3339
4462
|
/**
|
@@ -3361,6 +4484,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
3361
4484
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
3362
4485
|
*/
|
3363
4486
|
options?: ChatCompositeOptions;
|
4487
|
+
/**
|
4488
|
+
* Optimizes the composite form factor for either desktop or mobile.
|
4489
|
+
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4490
|
+
* @defaultValue 'desktop'
|
4491
|
+
*/
|
4492
|
+
formFactor?: 'desktop' | 'mobile';
|
3364
4493
|
}
|
3365
4494
|
|
3366
4495
|
/**
|
@@ -3375,6 +4504,10 @@ export declare interface ChatCompositeStrings {
|
|
3375
4504
|
* Chat list header text
|
3376
4505
|
*/
|
3377
4506
|
chatListHeader: string;
|
4507
|
+
/**
|
4508
|
+
* Upload File Button text
|
4509
|
+
*/
|
4510
|
+
uploadFile: string;
|
3378
4511
|
}
|
3379
4512
|
|
3380
4513
|
/**
|
@@ -3423,7 +4556,7 @@ export declare type ChatErrors = {
|
|
3423
4556
|
*
|
3424
4557
|
* @public
|
3425
4558
|
*/
|
3426
|
-
export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | 'ChatThreadClient.updateTopic';
|
4559
|
+
export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | /* @conditional-compile-remove(chat-beta-sdk) */ 'ChatThreadClient.updateProperties' | 'ChatThreadClient.updateTopic';
|
3427
4560
|
|
3428
4561
|
/**
|
3429
4562
|
* Object containing all the handlers required for chat components.
|
@@ -3440,7 +4573,10 @@ export declare type ChatHandlers = {
|
|
3440
4573
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
3441
4574
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
3442
4575
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
3443
|
-
onUpdateMessage: (messageId: string, content: string
|
4576
|
+
onUpdateMessage: (messageId: string, content: string, options?: {
|
4577
|
+
metadata?: Record<string, string>;
|
4578
|
+
attachmentMetadata?: AttachmentMetadata[];
|
4579
|
+
}) => Promise<void>;
|
3444
4580
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
3445
4581
|
};
|
3446
4582
|
|
@@ -3467,6 +4603,18 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3467
4603
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
3468
4604
|
*/
|
3469
4605
|
metadata?: Record<string, string>;
|
4606
|
+
/**
|
4607
|
+
* @beta
|
4608
|
+
* A list of file attachments for the message.
|
4609
|
+
* {@link FileMetadata}
|
4610
|
+
*/
|
4611
|
+
files?: FileMetadata[];
|
4612
|
+
/**
|
4613
|
+
* @beta
|
4614
|
+
* A list of inline images embedded in the message.
|
4615
|
+
* {@link InlineImageMetadata}
|
4616
|
+
*/
|
4617
|
+
inlineImages?: InlineImageMetadata[];
|
3470
4618
|
}
|
3471
4619
|
|
3472
4620
|
/**
|
@@ -3480,6 +4628,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3480
4628
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3481
4629
|
clientMessageId?: string;
|
3482
4630
|
status: MessageStatus;
|
4631
|
+
policyViolation?: boolean;
|
3483
4632
|
};
|
3484
4633
|
|
3485
4634
|
/**
|
@@ -3499,6 +4648,26 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
3499
4648
|
*/
|
3500
4649
|
export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
|
3501
4650
|
|
4651
|
+
/**
|
4652
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4653
|
+
*
|
4654
|
+
* @beta
|
4655
|
+
*/
|
4656
|
+
export declare interface ChatTheme {
|
4657
|
+
/**
|
4658
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4659
|
+
*
|
4660
|
+
* @beta
|
4661
|
+
*/
|
4662
|
+
chatPalette: {
|
4663
|
+
modalOverlayBlack: string;
|
4664
|
+
modalTitleWhite: string;
|
4665
|
+
modalButtonBackground: string;
|
4666
|
+
modalButtonBackgroundHover: string;
|
4667
|
+
modalButtonBackgroundActive: string;
|
4668
|
+
};
|
4669
|
+
}
|
4670
|
+
|
3502
4671
|
/**
|
3503
4672
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
3504
4673
|
*
|
@@ -3624,6 +4793,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
3624
4793
|
* @public
|
3625
4794
|
*/
|
3626
4795
|
startCall(participants: string[], options?: StartCallOptions): void;
|
4796
|
+
/**
|
4797
|
+
* Start the call.
|
4798
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
4799
|
+
* @beta
|
4800
|
+
*/
|
4801
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
3627
4802
|
}
|
3628
4803
|
|
3629
4804
|
/**
|
@@ -3639,6 +4814,12 @@ export declare type CommonCallAdapterOptions = {
|
|
3639
4814
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3640
4815
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
3641
4816
|
};
|
4817
|
+
/**
|
4818
|
+
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4819
|
+
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4820
|
+
* and would not be updated again within the lifecycle of adapter.
|
4821
|
+
*/
|
4822
|
+
onFetchProfile?: OnFetchProfileCallback;
|
3642
4823
|
/**
|
3643
4824
|
* Sounds to use for calling events
|
3644
4825
|
*/
|
@@ -3665,7 +4846,9 @@ export declare type CommonCallControlOptions = {
|
|
3665
4846
|
* Show or Hide Camera Button during a call
|
3666
4847
|
* @defaultValue true
|
3667
4848
|
*/
|
3668
|
-
cameraButton?: boolean
|
4849
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4850
|
+
disabled: boolean;
|
4851
|
+
};
|
3669
4852
|
/**
|
3670
4853
|
* Show or Hide EndCall button during a call.
|
3671
4854
|
* @defaultValue true
|
@@ -3675,12 +4858,16 @@ export declare type CommonCallControlOptions = {
|
|
3675
4858
|
* Show or Hide Microphone button during a call.
|
3676
4859
|
* @defaultValue true
|
3677
4860
|
*/
|
3678
|
-
microphoneButton?: boolean
|
4861
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4862
|
+
disabled: boolean;
|
4863
|
+
};
|
3679
4864
|
/**
|
3680
4865
|
* Show or Hide Devices button during a call.
|
3681
4866
|
* @defaultValue true
|
3682
4867
|
*/
|
3683
|
-
devicesButton?: boolean
|
4868
|
+
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4869
|
+
disabled: boolean;
|
4870
|
+
};
|
3684
4871
|
/**
|
3685
4872
|
* Show, Hide or Disable participants button during a call.
|
3686
4873
|
* @defaultValue true
|
@@ -3707,15 +4894,27 @@ export declare type CommonCallControlOptions = {
|
|
3707
4894
|
raiseHandButton?: boolean | {
|
3708
4895
|
disabled: boolean;
|
3709
4896
|
};
|
4897
|
+
/**
|
4898
|
+
* Show, Hide or Disable the reaction button during a call.
|
4899
|
+
* @defaultValue true
|
4900
|
+
*/
|
4901
|
+
reactionButton?: boolean | {
|
4902
|
+
disabled: boolean;
|
4903
|
+
};
|
3710
4904
|
/**
|
3711
4905
|
* Inject custom buttons in the call controls.
|
3712
4906
|
*/
|
3713
4907
|
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4908
|
+
holdButton?: boolean | {
|
4909
|
+
disabled: boolean;
|
4910
|
+
};
|
3714
4911
|
/**
|
3715
4912
|
* Show or hide the people button in the composite control bar.
|
3716
4913
|
* @defaultValue true
|
3717
4914
|
*/
|
3718
|
-
peopleButton?: boolean
|
4915
|
+
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4916
|
+
disabled: boolean;
|
4917
|
+
};
|
3719
4918
|
};
|
3720
4919
|
|
3721
4920
|
/**
|
@@ -3740,6 +4939,10 @@ export declare interface CommonCallingHandlers {
|
|
3740
4939
|
onRaiseHand: () => Promise<void>;
|
3741
4940
|
onLowerHand: () => Promise<void>;
|
3742
4941
|
onToggleRaiseHand: () => Promise<void>;
|
4942
|
+
onReactionClicked: (reaction: Reaction_2) => Promise<void>;
|
4943
|
+
onToggleHold: () => Promise<void>;
|
4944
|
+
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4945
|
+
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
3743
4946
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3744
4947
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3745
4948
|
/**
|
@@ -3749,7 +4952,10 @@ export declare interface CommonCallingHandlers {
|
|
3749
4952
|
onDisposeLocalStreamView: () => Promise<void>;
|
3750
4953
|
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
3751
4954
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4955
|
+
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3752
4956
|
onRemoveParticipant(userId: string): Promise<void>;
|
4957
|
+
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4958
|
+
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
3753
4959
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
3754
4960
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
3755
4961
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -3758,6 +4964,9 @@ export declare interface CommonCallingHandlers {
|
|
3758
4964
|
onStopCaptions: () => Promise<void>;
|
3759
4965
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
3760
4966
|
onSetCaptionLanguage: (language: string) => Promise<void>;
|
4967
|
+
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
4968
|
+
onStartSpotlight: (userId: string) => Promise<void>;
|
4969
|
+
onStopSpotlight: (userId: string) => Promise<void>;
|
3761
4970
|
}
|
3762
4971
|
|
3763
4972
|
/**
|
@@ -3769,6 +4978,39 @@ export declare type CommonProperties<A, B> = {
|
|
3769
4978
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3770
4979
|
}[keyof A & keyof B];
|
3771
4980
|
|
4981
|
+
/**
|
4982
|
+
* @beta
|
4983
|
+
* Props for SitePermissions components.
|
4984
|
+
*/
|
4985
|
+
export declare interface CommonSitePermissionsProps {
|
4986
|
+
/**
|
4987
|
+
* Name of application calling experience is in.
|
4988
|
+
*/
|
4989
|
+
appName: string;
|
4990
|
+
/**
|
4991
|
+
* Kind of the Site Permissions component.
|
4992
|
+
*/
|
4993
|
+
kind: 'request' | 'denied' | 'check';
|
4994
|
+
/**
|
4995
|
+
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4996
|
+
*/
|
4997
|
+
browserHint?: 'safari' | 'unset';
|
4998
|
+
/**
|
4999
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
5000
|
+
* If this is not provided the button will not be shown.
|
5001
|
+
*/
|
5002
|
+
onTroubleshootingClick?: () => void;
|
5003
|
+
/**
|
5004
|
+
* Action that is taken when the user clicks the continue anyway button.
|
5005
|
+
* If this is not provided the button will not be shown.
|
5006
|
+
*/
|
5007
|
+
onContinueAnywayClick?: () => void;
|
5008
|
+
/**
|
5009
|
+
* Styles for SitePermissions component.
|
5010
|
+
*/
|
5011
|
+
styles?: SitePermissionsStyles;
|
5012
|
+
}
|
5013
|
+
|
3772
5014
|
/**
|
3773
5015
|
* A Chat or Calling participant's state, as reflected in the UI.
|
3774
5016
|
*
|
@@ -3945,6 +5187,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
3945
5187
|
export declare interface ComponentLocale {
|
3946
5188
|
/** Strings for components */
|
3947
5189
|
strings: ComponentStrings;
|
5190
|
+
/**
|
5191
|
+
* Optional function to provide customized date format.
|
5192
|
+
* @beta
|
5193
|
+
*/
|
5194
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
3948
5195
|
}
|
3949
5196
|
|
3950
5197
|
/**
|
@@ -3986,20 +5233,70 @@ export declare interface ComponentStrings {
|
|
3986
5233
|
screenShareButton: ScreenShareButtonStrings;
|
3987
5234
|
/** Strings for RaiseHandButton */
|
3988
5235
|
raiseHandButton: RaiseHandButtonStrings;
|
5236
|
+
/** Strings for ReactionButton */
|
5237
|
+
reactionButton: ReactionButtonStrings;
|
3989
5238
|
/** Strings for TypingIndicator */
|
3990
5239
|
typingIndicator: TypingIndicatorStrings;
|
3991
5240
|
/** Strings for SendBox */
|
3992
5241
|
sendBox: SendBoxStrings;
|
5242
|
+
/** Strings for MentionPopover */
|
5243
|
+
mentionPopover: MentionPopoverStrings;
|
5244
|
+
/** Strings for ImageGallery */
|
5245
|
+
imageGallery: ImageGalleryStrings;
|
3993
5246
|
/** Strings for MessageStatusIndicator */
|
3994
5247
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
3995
5248
|
/** Strings for ErroBar */
|
3996
5249
|
errorBar: ErrorBarStrings;
|
3997
5250
|
/** Strings for VideoGallery */
|
3998
5251
|
videoGallery: VideoGalleryStrings;
|
5252
|
+
/** Strings for Dialpad */
|
5253
|
+
dialpad: DialpadStrings;
|
5254
|
+
/** Strings for VideoTile */
|
5255
|
+
videoTile: VideoTileStrings;
|
5256
|
+
/** Strings for HoldButton */
|
5257
|
+
holdButton: HoldButtonStrings;
|
5258
|
+
/** Strings for a site's permission request prompt */
|
5259
|
+
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5260
|
+
/** Strings for a site's permission request prompt */
|
5261
|
+
CameraSitePermissionsRequest: SitePermissionsStrings;
|
5262
|
+
/** Strings for a site's permission request prompt */
|
5263
|
+
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5264
|
+
/** Strings for a site's permission generic checking prompt */
|
5265
|
+
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5266
|
+
/** Strings for a site's permission generic checking prompt */
|
5267
|
+
CameraSitePermissionsCheck: SitePermissionsStrings;
|
5268
|
+
/** Strings for a site's permission generic checking prompt */
|
5269
|
+
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5270
|
+
/** Strings for a site's permission denied prompt */
|
5271
|
+
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5272
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5273
|
+
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5274
|
+
/** Strings for a site's permission denied prompt */
|
5275
|
+
CameraSitePermissionsDenied: SitePermissionsStrings;
|
5276
|
+
/** Strings for a site's permission denied prompt */
|
5277
|
+
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5278
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5279
|
+
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5280
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5281
|
+
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5282
|
+
/** Strings for unsupported browser UI */
|
5283
|
+
UnsupportedBrowser: UnsupportedBrowserStrings;
|
5284
|
+
/** Strings for unsupported browser version UI */
|
5285
|
+
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
5286
|
+
/** Strings for unsupported browser version UI */
|
5287
|
+
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
5288
|
+
/** Strings for BrowserPemissionDenied */
|
5289
|
+
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
5290
|
+
/** Strings for BrowserPemissionDeniedIOS */
|
5291
|
+
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
3999
5292
|
/**
|
4000
5293
|
* Strings for the VerticalGallery.
|
4001
5294
|
*/
|
4002
5295
|
verticalGallery: VerticalGalleryStrings;
|
5296
|
+
/** Strings for the participant list component */
|
5297
|
+
ParticipantList: ParticipantListStrings;
|
5298
|
+
/** Strings for the attendee role */
|
5299
|
+
AttendeeRole: string;
|
4003
5300
|
}
|
4004
5301
|
|
4005
5302
|
/**
|
@@ -4362,7 +5659,7 @@ export declare interface ControlBarProps {
|
|
4362
5659
|
*
|
4363
5660
|
* @public
|
4364
5661
|
*/
|
4365
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
5662
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4366
5663
|
|
4367
5664
|
/**
|
4368
5665
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4372,7 +5669,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
|
|
4372
5669
|
*
|
4373
5670
|
* @public
|
4374
5671
|
*/
|
4375
|
-
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator,
|
5672
|
+
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
|
4376
5673
|
|
4377
5674
|
/**
|
4378
5675
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -4380,7 +5677,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
4380
5677
|
*
|
4381
5678
|
* @public
|
4382
5679
|
*/
|
4383
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5680
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
4384
5681
|
|
4385
5682
|
/**
|
4386
5683
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -4391,7 +5688,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
4391
5688
|
*
|
4392
5689
|
* @public
|
4393
5690
|
*/
|
4394
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
5691
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions, chatAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4395
5692
|
|
4396
5693
|
/**
|
4397
5694
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -4410,14 +5707,16 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4410
5707
|
*
|
4411
5708
|
* @public
|
4412
5709
|
*/
|
4413
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
5710
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
|
5711
|
+
credential?: CommunicationTokenCredential;
|
5712
|
+
}): Promise<ChatAdapter>;
|
4414
5713
|
|
4415
5714
|
/**
|
4416
5715
|
* Type of {@link createDefaultCallingHandlers}.
|
4417
5716
|
*
|
4418
5717
|
* @public
|
4419
5718
|
*/
|
4420
|
-
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined,
|
5719
|
+
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, options?: CallingHandlersOptions) => CallingHandlers;
|
4421
5720
|
|
4422
5721
|
/**
|
4423
5722
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -4441,6 +5740,18 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
4441
5740
|
*/
|
4442
5741
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
4443
5742
|
|
5743
|
+
/**
|
5744
|
+
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5745
|
+
*
|
5746
|
+
* Useful when implementing a custom component that utilizes the providers
|
5747
|
+
* exported from this library.
|
5748
|
+
*
|
5749
|
+
* @beta
|
5750
|
+
*/
|
5751
|
+
export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall, options?: {
|
5752
|
+
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
5753
|
+
}) => never | TeamsCallingHandlers;
|
5754
|
+
|
4444
5755
|
/**
|
4445
5756
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
4446
5757
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -4466,6 +5777,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4466
5777
|
*/
|
4467
5778
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
|
4468
5779
|
|
5780
|
+
/**
|
5781
|
+
* @beta
|
5782
|
+
*/
|
5783
|
+
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5784
|
+
|
5785
|
+
/**
|
5786
|
+
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5787
|
+
*
|
5788
|
+
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5789
|
+
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5790
|
+
*
|
5791
|
+
* @beta
|
5792
|
+
*/
|
5793
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
5794
|
+
|
4469
5795
|
/**
|
4470
5796
|
* Object returned after creating a local or remote VideoStream.
|
4471
5797
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -4516,6 +5842,13 @@ export declare type CustomAvatarOptions = {
|
|
4516
5842
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
4517
5843
|
/** Display name to be used in Persona */
|
4518
5844
|
text?: string;
|
5845
|
+
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5846
|
+
participantState?: ParticipantState;
|
5847
|
+
/**
|
5848
|
+
* If true, show the special coin for unknown persona.
|
5849
|
+
* It has '?' in place of initials, with static font and background colors
|
5850
|
+
*/
|
5851
|
+
showUnknownPersonaCoin?: boolean;
|
4519
5852
|
};
|
4520
5853
|
|
4521
5854
|
/**
|
@@ -4641,7 +5974,19 @@ export declare interface CustomMessage extends MessageCommon {
|
|
4641
5974
|
*
|
4642
5975
|
* @public
|
4643
5976
|
*/
|
4644
|
-
export declare const darkTheme: PartialTheme & CallingTheme;
|
5977
|
+
export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
5978
|
+
|
5979
|
+
/**
|
5980
|
+
* @beta
|
5981
|
+
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5982
|
+
*/
|
5983
|
+
export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
|
5984
|
+
|
5985
|
+
/**
|
5986
|
+
* @beta
|
5987
|
+
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5988
|
+
*/
|
5989
|
+
export declare type DeclarativeIncomingCall = IncomingCall;
|
4645
5990
|
|
4646
5991
|
/**
|
4647
5992
|
* The default set of icons that are available to use in the UI components.
|
@@ -4659,12 +6004,17 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4659
6004
|
ControlButtonMicOn: React_2.JSX.Element;
|
4660
6005
|
ControlButtonOptions: React_2.JSX.Element;
|
4661
6006
|
ControlButtonParticipants: React_2.JSX.Element;
|
6007
|
+
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
4662
6008
|
ControlButtonScreenShareStart: React_2.JSX.Element;
|
4663
6009
|
ControlButtonScreenShareStop: React_2.JSX.Element;
|
4664
6010
|
ControlButtonRaiseHand: React_2.JSX.Element;
|
4665
6011
|
ControlButtonLowerHand: React_2.JSX.Element;
|
4666
6012
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
4667
6013
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
6014
|
+
ReactionButtonIcon: React_2.JSX.Element;
|
6015
|
+
CancelFileUpload: React_2.JSX.Element;
|
6016
|
+
DownloadFile: React_2.JSX.Element;
|
6017
|
+
DataLossPreventionProhibited: React_2.JSX.Element;
|
4668
6018
|
EditBoxCancel: React_2.JSX.Element;
|
4669
6019
|
EditBoxSubmit: React_2.JSX.Element;
|
4670
6020
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -4697,9 +6047,20 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4697
6047
|
ParticipantItemOptions: React_2.JSX.Element;
|
4698
6048
|
ParticipantItemOptionsHovered: React_2.JSX.Element;
|
4699
6049
|
ParticipantItemScreenShareStart: React_2.JSX.Element;
|
6050
|
+
HoldCallContextualMenuItem: React_2.JSX.Element;
|
6051
|
+
HoldCallButton: React_2.JSX.Element;
|
6052
|
+
ResumeCall: React_2.JSX.Element;
|
4700
6053
|
SendBoxSend: React_2.JSX.Element;
|
4701
6054
|
SendBoxSendHovered: React_2.JSX.Element;
|
4702
6055
|
VideoTileMicOff: React_2.JSX.Element;
|
6056
|
+
DialpadBackspace: React_2.JSX.Element;
|
6057
|
+
SitePermissionsSparkle: React_2.JSX.Element;
|
6058
|
+
SitePermissionCamera: React_2.JSX.Element;
|
6059
|
+
SitePermissionMic: React_2.JSX.Element;
|
6060
|
+
SitePermissionCameraDenied: React_2.JSX.Element;
|
6061
|
+
SitePermissionMicDenied: React_2.JSX.Element;
|
6062
|
+
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
6063
|
+
BrowserPermissionDeniedError: React_2.JSX.Element;
|
4703
6064
|
VideoTilePinned: React_2.JSX.Element;
|
4704
6065
|
VideoTileMoreOptions: React_2.JSX.Element;
|
4705
6066
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -4722,6 +6083,9 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4722
6083
|
ContextMenuCameraIcon: React_2.JSX.Element;
|
4723
6084
|
ContextMenuMicIcon: React_2.JSX.Element;
|
4724
6085
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6086
|
+
SurveyStarIcon: React_2.JSX.Element;
|
6087
|
+
SurveyStarIconFilled: React_2.JSX.Element;
|
6088
|
+
VideoSpotlighted: React_2.JSX.Element;
|
4725
6089
|
};
|
4726
6090
|
|
4727
6091
|
/**
|
@@ -4742,6 +6106,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4742
6106
|
ParticipantItemOptionsHovered: JSX.Element;
|
4743
6107
|
SendBoxSend: JSX.Element;
|
4744
6108
|
SendBoxSendHovered: JSX.Element;
|
6109
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
4745
6110
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
4746
6111
|
ControlButtonCameraOff: JSX.Element;
|
4747
6112
|
ControlButtonCameraOn: JSX.Element;
|
@@ -4757,7 +6122,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4757
6122
|
ControlButtonRaiseHand: JSX.Element;
|
4758
6123
|
ControlButtonLowerHand: JSX.Element;
|
4759
6124
|
RaiseHandContextualMenuItem: JSX.Element;
|
6125
|
+
ReactionContextualMenuItem?: JSX.Element | undefined;
|
4760
6126
|
LowerHandContextualMenuItem: JSX.Element;
|
6127
|
+
ReactionButtonIcon: JSX.Element;
|
4761
6128
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
4762
6129
|
ErrorBarCallCameraAlreadyInUse: JSX.Element;
|
4763
6130
|
ErrorBarCallLocalVideoFreeze: JSX.Element;
|
@@ -4796,6 +6163,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4796
6163
|
ParticipantItemScreenShareStart: JSX.Element;
|
4797
6164
|
VideoTileMicOff: JSX.Element;
|
4798
6165
|
LocalCameraSwitch?: JSX.Element | undefined;
|
6166
|
+
PeoplePaneAddPerson?: JSX.Element | undefined;
|
6167
|
+
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
6168
|
+
DialpadStartCall?: JSX.Element | undefined;
|
4799
6169
|
NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
|
4800
6170
|
BlurVideoBackground?: JSX.Element | undefined;
|
4801
6171
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
@@ -4816,11 +6186,25 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4816
6186
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
4817
6187
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
4818
6188
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
4819
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
4820
6189
|
ChatMessageOptions: React_2.JSX.Element;
|
6190
|
+
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
6191
|
+
CancelFileUpload: React_2.JSX.Element;
|
6192
|
+
DownloadFile: React_2.JSX.Element;
|
6193
|
+
DataLossPreventionProhibited: React_2.JSX.Element;
|
4821
6194
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
4822
6195
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
4823
6196
|
MessageResend: React_2.JSX.Element;
|
6197
|
+
HoldCallContextualMenuItem: React_2.JSX.Element;
|
6198
|
+
HoldCallButton: React_2.JSX.Element;
|
6199
|
+
ResumeCall: React_2.JSX.Element;
|
6200
|
+
DialpadBackspace: React_2.JSX.Element;
|
6201
|
+
SitePermissionsSparkle: React_2.JSX.Element;
|
6202
|
+
SitePermissionCamera: React_2.JSX.Element;
|
6203
|
+
SitePermissionMic: React_2.JSX.Element;
|
6204
|
+
SitePermissionCameraDenied: React_2.JSX.Element;
|
6205
|
+
SitePermissionMicDenied: React_2.JSX.Element;
|
6206
|
+
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
6207
|
+
BrowserPermissionDeniedError: React_2.JSX.Element;
|
4824
6208
|
VideoTilePinned: React_2.JSX.Element;
|
4825
6209
|
VideoTileMoreOptions: React_2.JSX.Element;
|
4826
6210
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -4843,8 +6227,34 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4843
6227
|
ContextMenuCameraIcon: React_2.JSX.Element;
|
4844
6228
|
ContextMenuMicIcon: React_2.JSX.Element;
|
4845
6229
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6230
|
+
SurveyStarIcon: React_2.JSX.Element;
|
6231
|
+
SurveyStarIconFilled: React_2.JSX.Element;
|
6232
|
+
VideoSpotlighted: React_2.JSX.Element;
|
4846
6233
|
};
|
4847
6234
|
|
6235
|
+
/**
|
6236
|
+
* Device Checks.
|
6237
|
+
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
6238
|
+
*
|
6239
|
+
* @beta
|
6240
|
+
*/
|
6241
|
+
export declare interface DeviceCheckOptions {
|
6242
|
+
/**
|
6243
|
+
* Camera Permission prompts for your call.
|
6244
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6245
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6246
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6247
|
+
*/
|
6248
|
+
camera: 'required' | 'optional' | 'doNotPrompt';
|
6249
|
+
/**
|
6250
|
+
* Microphone permission prompts for your call.
|
6251
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6252
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6253
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6254
|
+
*/
|
6255
|
+
microphone: 'required' | 'optional' | 'doNotPrompt';
|
6256
|
+
}
|
6257
|
+
|
4848
6258
|
/**
|
4849
6259
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
4850
6260
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -5063,6 +6473,87 @@ export declare interface DiagnosticsCallFeatureState {
|
|
5063
6473
|
media: MediaDiagnosticsState;
|
5064
6474
|
}
|
5065
6475
|
|
6476
|
+
/**
|
6477
|
+
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
6478
|
+
* It will return empty component for stable builds
|
6479
|
+
*
|
6480
|
+
* @beta
|
6481
|
+
*/
|
6482
|
+
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
6483
|
+
|
6484
|
+
/**
|
6485
|
+
* Props for {@link Dialpad} component.
|
6486
|
+
*
|
6487
|
+
* @beta
|
6488
|
+
*/
|
6489
|
+
export declare interface DialpadProps {
|
6490
|
+
strings?: DialpadStrings;
|
6491
|
+
/**
|
6492
|
+
* function to send dtmf tones on button click
|
6493
|
+
*/
|
6494
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
6495
|
+
/**
|
6496
|
+
* Callback for dialpad button behavior
|
6497
|
+
*/
|
6498
|
+
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
6499
|
+
/**
|
6500
|
+
* set dialpad textfield content
|
6501
|
+
*/
|
6502
|
+
textFieldValue?: string;
|
6503
|
+
/**
|
6504
|
+
* on change function for text field, provides an unformatted plain text
|
6505
|
+
*/
|
6506
|
+
onChange?: (input: string) => void;
|
6507
|
+
/**
|
6508
|
+
* flag to determine when to show/hide delete button, default true
|
6509
|
+
*/
|
6510
|
+
showDeleteButton?: boolean;
|
6511
|
+
/**
|
6512
|
+
* flag to determine if dialpad is in mobile view, default false
|
6513
|
+
*/
|
6514
|
+
isMobile?: boolean;
|
6515
|
+
/**
|
6516
|
+
* Styles for customizing the dialpad component
|
6517
|
+
*/
|
6518
|
+
styles?: DialpadStyles;
|
6519
|
+
/**
|
6520
|
+
* Disables DTMF sounds when dialpad buttons are pressed. the actual
|
6521
|
+
* tones are still sent to the call.
|
6522
|
+
*/
|
6523
|
+
disableDtmfPlayback?: boolean;
|
6524
|
+
/**
|
6525
|
+
* Enable the ability to edit the number in the text box.
|
6526
|
+
* This mode is for when dailing someone to call to that the user can edit the number before calling if needed.
|
6527
|
+
* @default false
|
6528
|
+
*
|
6529
|
+
*/
|
6530
|
+
enableInputEditing?: boolean;
|
6531
|
+
}
|
6532
|
+
|
6533
|
+
/**
|
6534
|
+
* Strings of {@link Dialpad} that can be overridden.
|
6535
|
+
*
|
6536
|
+
* @beta
|
6537
|
+
*/
|
6538
|
+
export declare interface DialpadStrings {
|
6539
|
+
placeholderText: string;
|
6540
|
+
deleteButtonAriaLabel?: string;
|
6541
|
+
}
|
6542
|
+
|
6543
|
+
/**
|
6544
|
+
* Styles for {@link Dialpad} component.
|
6545
|
+
*
|
6546
|
+
* @beta
|
6547
|
+
*/
|
6548
|
+
export declare interface DialpadStyles {
|
6549
|
+
root?: IStyle;
|
6550
|
+
button?: IButtonStyles;
|
6551
|
+
textField?: Partial<ITextFieldStyles>;
|
6552
|
+
digit?: IStyle;
|
6553
|
+
letter?: IStyle;
|
6554
|
+
deleteIcon?: IButtonStyles;
|
6555
|
+
}
|
6556
|
+
|
5066
6557
|
/**
|
5067
6558
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
5068
6559
|
*
|
@@ -5084,6 +6575,13 @@ declare interface Disposable_2 {
|
|
5084
6575
|
}
|
5085
6576
|
export { Disposable_2 as Disposable }
|
5086
6577
|
|
6578
|
+
/**
|
6579
|
+
* DTMF tone for PSTN calls.
|
6580
|
+
*
|
6581
|
+
* @beta
|
6582
|
+
*/
|
6583
|
+
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
6584
|
+
|
5087
6585
|
/**
|
5088
6586
|
* A type for trivial selectors that return no data.
|
5089
6587
|
*
|
@@ -5288,54 +6786,254 @@ export declare interface ErrorBarStrings {
|
|
5288
6786
|
*/
|
5289
6787
|
callCameraAccessDeniedSafari: string;
|
5290
6788
|
/**
|
5291
|
-
* Message shown when local video fails to start because camera is already in use by
|
5292
|
-
* another applciation.
|
6789
|
+
* Message shown when local video fails to start because camera is already in use by
|
6790
|
+
* another applciation.
|
6791
|
+
*/
|
6792
|
+
callCameraAlreadyInUse: string;
|
6793
|
+
/**
|
6794
|
+
* Message shown when local video is stopped by the system (not by local or remote participants)
|
6795
|
+
*/
|
6796
|
+
callVideoStoppedBySystem: string;
|
6797
|
+
/**
|
6798
|
+
* Message shown when local video was recovered by the system (not by the local participant)
|
6799
|
+
*/
|
6800
|
+
callVideoRecoveredBySystem: string;
|
6801
|
+
/**
|
6802
|
+
* Mac OS specific message shown when system denies access to camera.
|
6803
|
+
*/
|
6804
|
+
callMacOsCameraAccessDenied: string;
|
6805
|
+
/**
|
6806
|
+
* Mac OS specific message shown when system denies sharing local screen on a call.
|
6807
|
+
*/
|
6808
|
+
callMacOsScreenShareAccessDenied: string;
|
6809
|
+
/**
|
6810
|
+
* Dimiss errorbar button aria label read by screen reader accessibility tools
|
6811
|
+
*/
|
6812
|
+
dismissButtonAriaLabel?: string;
|
6813
|
+
/**
|
6814
|
+
* An error message when joining a call fails.
|
6815
|
+
*/
|
6816
|
+
failedToJoinCallGeneric?: string;
|
6817
|
+
/**
|
6818
|
+
* An error message when joining a call fails specifically due to an invalid meeting link.
|
6819
|
+
*/
|
6820
|
+
failedToJoinCallInvalidMeetingLink?: string;
|
6821
|
+
/**
|
6822
|
+
* Error bar string letting you know remote participants see a frozen stream for you.
|
6823
|
+
*/
|
6824
|
+
cameraFrozenForRemoteParticipants?: string;
|
6825
|
+
/**
|
6826
|
+
* Unable to start effect
|
6827
|
+
*/
|
6828
|
+
unableToStartVideoEffect?: string;
|
6829
|
+
}
|
6830
|
+
|
6831
|
+
/**
|
6832
|
+
* All errors that can be shown in the {@link ErrorBar}.
|
6833
|
+
*
|
6834
|
+
* @public
|
6835
|
+
*/
|
6836
|
+
export declare type ErrorType = keyof ErrorBarStrings;
|
6837
|
+
|
6838
|
+
/**
|
6839
|
+
* @beta
|
6840
|
+
* A file download error returned via a {@link FileDownloadHandler}.
|
6841
|
+
* This error message is used to render an error message in the UI.
|
6842
|
+
*/
|
6843
|
+
export declare interface FileDownloadError {
|
6844
|
+
/** The error message to display in the UI */
|
6845
|
+
errorMessage: string;
|
6846
|
+
}
|
6847
|
+
|
6848
|
+
/**
|
6849
|
+
* @beta
|
6850
|
+
*
|
6851
|
+
* A callback function for handling file downloads.
|
6852
|
+
* The function needs to return a promise that resolves to a file download URL.
|
6853
|
+
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6854
|
+
*
|
6855
|
+
* @example
|
6856
|
+
* ```ts
|
6857
|
+
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6858
|
+
* if (isUnauthorizedUser(userId)) {
|
6859
|
+
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6860
|
+
* } else {
|
6861
|
+
* return new URL(fileData.url);
|
6862
|
+
* }
|
6863
|
+
* }
|
6864
|
+
*
|
6865
|
+
* const App = () => (
|
6866
|
+
* <ChatComposite
|
6867
|
+
* ...
|
6868
|
+
* fileSharing={{
|
6869
|
+
* fileDownloadHandler: fileDownloadHandler
|
6870
|
+
* }}
|
6871
|
+
* />
|
6872
|
+
* )
|
6873
|
+
*
|
6874
|
+
* ```
|
6875
|
+
* @param userId - The user ID of the user downloading the file.
|
6876
|
+
* @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
|
6877
|
+
*/
|
6878
|
+
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
6879
|
+
|
6880
|
+
/**
|
6881
|
+
* Metadata containing basic information about the uploaded file.
|
6882
|
+
*
|
6883
|
+
* @beta
|
6884
|
+
*/
|
6885
|
+
export declare interface FileMetadata {
|
6886
|
+
attachmentType: 'file';
|
6887
|
+
/**
|
6888
|
+
* Extension hint, useful for rendering a specific icon.
|
6889
|
+
* An unknown or empty extension will be rendered as a generic icon.
|
6890
|
+
* Example: `pdf`
|
6891
|
+
*/
|
6892
|
+
extension: string;
|
6893
|
+
/**
|
6894
|
+
* Unique ID of the file.
|
6895
|
+
*/
|
6896
|
+
id: string;
|
6897
|
+
/**
|
6898
|
+
* File name to be displayed.
|
6899
|
+
*/
|
6900
|
+
name: string;
|
6901
|
+
/**
|
6902
|
+
* Download URL for the file.
|
6903
|
+
*/
|
6904
|
+
url: string;
|
6905
|
+
payload?: Record<string, string>;
|
6906
|
+
}
|
6907
|
+
|
6908
|
+
/**
|
6909
|
+
* Properties for configuring the File Sharing feature.
|
6910
|
+
* @beta
|
6911
|
+
*/
|
6912
|
+
export declare interface FileSharingOptions {
|
6913
|
+
/**
|
6914
|
+
* A string containing the comma separated list of accepted file types.
|
6915
|
+
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6916
|
+
* Accepts any type of file if not specified.
|
6917
|
+
* @beta
|
6918
|
+
*/
|
6919
|
+
accept?: string;
|
6920
|
+
/**
|
6921
|
+
* Allows multiple files to be selected if set to `true`.
|
6922
|
+
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6923
|
+
* @defaultValue false
|
6924
|
+
* @beta
|
6925
|
+
*/
|
6926
|
+
multiple?: boolean;
|
6927
|
+
/**
|
6928
|
+
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6929
|
+
* @beta
|
6930
|
+
*/
|
6931
|
+
uploadHandler: FileUploadHandler;
|
6932
|
+
/**
|
6933
|
+
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6934
|
+
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6935
|
+
* initiate the download.
|
6936
|
+
*/
|
6937
|
+
downloadHandler?: FileDownloadHandler;
|
6938
|
+
}
|
6939
|
+
|
6940
|
+
/**
|
6941
|
+
* @beta
|
6942
|
+
*/
|
6943
|
+
export declare interface FileUploadAdapter {
|
6944
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6945
|
+
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
6946
|
+
clearFileUploads: () => void;
|
6947
|
+
cancelFileUpload: (id: string) => void;
|
6948
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
6949
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6950
|
+
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
6951
|
+
}
|
6952
|
+
|
6953
|
+
/**
|
6954
|
+
* @beta
|
6955
|
+
* Error message to be displayed to the user if the upload fails.
|
6956
|
+
*/
|
6957
|
+
export declare type FileUploadError = {
|
6958
|
+
message: string;
|
6959
|
+
timestamp: number;
|
6960
|
+
};
|
6961
|
+
|
6962
|
+
/**
|
6963
|
+
* @beta
|
6964
|
+
* A callback function for handling file uploads.
|
6965
|
+
*
|
6966
|
+
* @param userId - The user ID of the user uploading the file.
|
6967
|
+
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6968
|
+
*/
|
6969
|
+
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6970
|
+
|
6971
|
+
/**
|
6972
|
+
* A wrapper object for a file that is being uploaded.
|
6973
|
+
* Allows managing file uploads by providing common functions for updating the
|
6974
|
+
* upload progress, canceling an upload, completing an upload etc.
|
6975
|
+
* @beta
|
6976
|
+
*/
|
6977
|
+
export declare interface FileUploadManager {
|
6978
|
+
/**
|
6979
|
+
* Unique identifier for the file upload.
|
5293
6980
|
*/
|
5294
|
-
|
6981
|
+
id: string;
|
5295
6982
|
/**
|
5296
|
-
*
|
6983
|
+
* HTML {@link File} object for the uploaded file.
|
5297
6984
|
*/
|
5298
|
-
|
6985
|
+
file?: File;
|
5299
6986
|
/**
|
5300
|
-
*
|
6987
|
+
* Update the progress of the upload.
|
6988
|
+
* @param value - number between 0 and 1
|
5301
6989
|
*/
|
5302
|
-
|
6990
|
+
notifyUploadProgressChanged: (value: number) => void;
|
5303
6991
|
/**
|
5304
|
-
*
|
6992
|
+
* Mark the upload as complete.
|
6993
|
+
* Requires the `metadata` param containing uploaded file information.
|
6994
|
+
* @param metadata - {@link AttachmentMetadata}
|
5305
6995
|
*/
|
5306
|
-
|
6996
|
+
notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
|
5307
6997
|
/**
|
5308
|
-
*
|
6998
|
+
* Mark the upload as failed.
|
6999
|
+
* @param message - An error message that can be displayed to the user.
|
5309
7000
|
*/
|
5310
|
-
|
7001
|
+
notifyUploadFailed: (message: string) => void;
|
7002
|
+
}
|
7003
|
+
|
7004
|
+
/**
|
7005
|
+
* Contains the state attributes of a file upload like name, progress etc.
|
7006
|
+
* @beta
|
7007
|
+
*/
|
7008
|
+
export declare interface FileUploadState {
|
5311
7009
|
/**
|
5312
|
-
*
|
7010
|
+
* Unique identifier for the file upload.
|
5313
7011
|
*/
|
5314
|
-
|
7012
|
+
id: string;
|
5315
7013
|
/**
|
5316
|
-
*
|
7014
|
+
* Filename extracted from the {@link File} object.
|
7015
|
+
* This attribute is used to render the filename if `metadata.name` is not available.
|
5317
7016
|
*/
|
5318
|
-
|
7017
|
+
filename: string;
|
5319
7018
|
/**
|
5320
|
-
*
|
7019
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
5321
7020
|
*/
|
5322
|
-
|
7021
|
+
progress: number;
|
5323
7022
|
/**
|
5324
|
-
*
|
7023
|
+
* Metadata {@link AttachmentMetadata} containing information about the uploaded file.
|
5325
7024
|
*/
|
5326
|
-
|
7025
|
+
metadata?: AttachmentMetadata;
|
5327
7026
|
/**
|
5328
|
-
*
|
7027
|
+
* Error message to be displayed to the user if the upload fails.
|
5329
7028
|
*/
|
5330
|
-
|
7029
|
+
error?: FileUploadError;
|
5331
7030
|
}
|
5332
7031
|
|
5333
7032
|
/**
|
5334
|
-
*
|
5335
|
-
*
|
5336
|
-
* @public
|
7033
|
+
* A record containing {@link FileUploadState} mapped to unique ids.
|
7034
|
+
* @beta
|
5337
7035
|
*/
|
5338
|
-
export declare type
|
7036
|
+
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
5339
7037
|
|
5340
7038
|
/**
|
5341
7039
|
* Provider to apply a Fluent theme across this library's react components.
|
@@ -5376,7 +7074,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5376
7074
|
*
|
5377
7075
|
* @public
|
5378
7076
|
*/
|
5379
|
-
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;
|
7077
|
+
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;
|
5380
7078
|
|
5381
7079
|
/**
|
5382
7080
|
* Get the selector for a specified component.
|
@@ -5438,6 +7136,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
5438
7136
|
children?: IStyle;
|
5439
7137
|
}
|
5440
7138
|
|
7139
|
+
/**
|
7140
|
+
* a button to hold or resume a ongoing call.
|
7141
|
+
*
|
7142
|
+
* Can be used with {@link ControlBar}
|
7143
|
+
*
|
7144
|
+
* @param props - properties for the hold button.
|
7145
|
+
* @returns
|
7146
|
+
* @beta
|
7147
|
+
*/
|
7148
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
7149
|
+
|
7150
|
+
/**
|
7151
|
+
*@beta
|
7152
|
+
*/
|
7153
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
7154
|
+
/**
|
7155
|
+
* Utility property for using this component with communication react handlers
|
7156
|
+
* Holds the call or resumes it based on call state.
|
7157
|
+
*/
|
7158
|
+
onToggleHold: () => Promise<void>;
|
7159
|
+
/**
|
7160
|
+
* Optional strings to override in component
|
7161
|
+
*/
|
7162
|
+
strings?: HoldButtonStrings;
|
7163
|
+
}
|
7164
|
+
|
7165
|
+
/**
|
7166
|
+
* Selector type for the {@link HoldButton} component.
|
7167
|
+
* @public
|
7168
|
+
*/
|
7169
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
7170
|
+
checked: boolean;
|
7171
|
+
};
|
7172
|
+
|
7173
|
+
/**
|
7174
|
+
* Strings for the hold button labels
|
7175
|
+
* @beta
|
7176
|
+
*/
|
7177
|
+
export declare interface HoldButtonStrings {
|
7178
|
+
/**
|
7179
|
+
* Label for when action is to resume call.
|
7180
|
+
*/
|
7181
|
+
onLabel: string;
|
7182
|
+
/**
|
7183
|
+
* Label for when action is to hold call.
|
7184
|
+
*/
|
7185
|
+
offLabel: string;
|
7186
|
+
/**
|
7187
|
+
* Content for when button is checked
|
7188
|
+
*/
|
7189
|
+
tooltipOnContent: string;
|
7190
|
+
/**
|
7191
|
+
* Content for when button is unchecked
|
7192
|
+
*/
|
7193
|
+
tooltipOffContent: string;
|
7194
|
+
}
|
7195
|
+
|
5441
7196
|
/**
|
5442
7197
|
* {@link HorizontalGallery} Component Styles.
|
5443
7198
|
* @public
|
@@ -5522,8 +7277,99 @@ export declare interface _Identifiers {
|
|
5522
7277
|
verticalGalleryVideoTile: string;
|
5523
7278
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
5524
7279
|
verticalGalleryPageCounter: string;
|
7280
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
7281
|
+
mentionSuggestionList: string;
|
7282
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
7283
|
+
mentionSuggestionItem: string;
|
7284
|
+
}
|
7285
|
+
|
7286
|
+
/**
|
7287
|
+
* Component to render a fullscreen modal for a selected image.
|
7288
|
+
*
|
7289
|
+
* @beta
|
7290
|
+
*/
|
7291
|
+
export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
|
7292
|
+
|
7293
|
+
/**
|
7294
|
+
* Props for {@link ImageGallery}.
|
7295
|
+
*
|
7296
|
+
* @beta
|
7297
|
+
*/
|
7298
|
+
export declare interface ImageGalleryImageProps {
|
7299
|
+
/** Image Url used to display the image in a large scale. */
|
7300
|
+
imageUrl: string;
|
7301
|
+
/** String used as a file name when downloading this image to user's local device. */
|
7302
|
+
downloadFilename: string;
|
7303
|
+
/** Optional string used as a alt text for the image. @default 'image' */
|
7304
|
+
altText?: string;
|
7305
|
+
/** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
|
7306
|
+
title?: string;
|
7307
|
+
/** Optional JSX element used as a title icon and displayed to the left of the title element. */
|
7308
|
+
titleIcon?: JSX.Element;
|
7309
|
+
}
|
7310
|
+
|
7311
|
+
/**
|
7312
|
+
* Props for {@link ImageGallery}.
|
7313
|
+
*
|
7314
|
+
* @beta
|
7315
|
+
*/
|
7316
|
+
export declare interface ImageGalleryProps {
|
7317
|
+
/**
|
7318
|
+
* Boolean that controls whether the modal is displayed.
|
7319
|
+
*/
|
7320
|
+
isOpen: boolean;
|
7321
|
+
/**
|
7322
|
+
* Array of images used to populate the ImageGallery
|
7323
|
+
*/
|
7324
|
+
images: Array<ImageGalleryImageProps>;
|
7325
|
+
/**
|
7326
|
+
* Callback to invoke when the ImageGallery modal is dismissed
|
7327
|
+
*/
|
7328
|
+
onDismiss: () => void;
|
7329
|
+
/**
|
7330
|
+
* Callback called when the download button is clicked.
|
7331
|
+
*/
|
7332
|
+
onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
|
7333
|
+
/**
|
7334
|
+
* Callback called when there's an error loading the image.
|
7335
|
+
*/
|
7336
|
+
onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
|
7337
|
+
/**
|
7338
|
+
* Indicating which index of the images array to start with.
|
7339
|
+
*/
|
7340
|
+
startIndex?: number;
|
7341
|
+
}
|
7342
|
+
|
7343
|
+
/**
|
7344
|
+
* Strings of {@link ImageGallery} that can be overridden.
|
7345
|
+
*
|
7346
|
+
* @beta
|
7347
|
+
*/
|
7348
|
+
export declare interface ImageGalleryStrings {
|
7349
|
+
/**
|
7350
|
+
* Download button label for ImageGallery
|
7351
|
+
*/
|
7352
|
+
downloadButtonLabel: string;
|
7353
|
+
/**
|
7354
|
+
* Dismiss button aria label for ImageGallery
|
7355
|
+
*/
|
7356
|
+
dismissButtonAriaLabel: string;
|
5525
7357
|
}
|
5526
7358
|
|
7359
|
+
/**
|
7360
|
+
* @beta
|
7361
|
+
* This contains a readonly array that returns all the active `incomingCalls`.
|
7362
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
7363
|
+
*/
|
7364
|
+
export declare type IncomingCallManagement = {
|
7365
|
+
/**
|
7366
|
+
* @beta
|
7367
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
7368
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
7369
|
+
*/
|
7370
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
7371
|
+
};
|
7372
|
+
|
5527
7373
|
/**
|
5528
7374
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
5529
7375
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -5556,6 +7402,24 @@ export declare interface IncomingCallState {
|
|
5556
7402
|
endTime?: Date;
|
5557
7403
|
}
|
5558
7404
|
|
7405
|
+
/**
|
7406
|
+
* Metadata for rendering images inline with a message.
|
7407
|
+
* This does not include images attached as files.
|
7408
|
+
* @beta
|
7409
|
+
*/
|
7410
|
+
export declare interface InlineImageMetadata {
|
7411
|
+
attachmentType: 'inlineImage';
|
7412
|
+
/**
|
7413
|
+
* Unique ID of the attachment.
|
7414
|
+
*/
|
7415
|
+
id: string;
|
7416
|
+
previewUrl?: string;
|
7417
|
+
/**
|
7418
|
+
* Download URL for the full resolution version.
|
7419
|
+
*/
|
7420
|
+
url: string;
|
7421
|
+
}
|
7422
|
+
|
5559
7423
|
/**
|
5560
7424
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
|
5561
7425
|
*
|
@@ -5654,7 +7518,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
5654
7518
|
*
|
5655
7519
|
* @public
|
5656
7520
|
*/
|
5657
|
-
export declare const lightTheme: PartialTheme & CallingTheme;
|
7521
|
+
export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
5658
7522
|
|
5659
7523
|
/**
|
5660
7524
|
* Whether the stream is loading or not.
|
@@ -5740,6 +7604,24 @@ export declare interface LocalVideoStreamVideoEffectsState {
|
|
5740
7604
|
activeEffects?: VideoEffectName[];
|
5741
7605
|
}
|
5742
7606
|
|
7607
|
+
/**
|
7608
|
+
* Options for the local video tile in the Call composite.
|
7609
|
+
*
|
7610
|
+
* @beta
|
7611
|
+
*/
|
7612
|
+
export declare interface LocalVideoTileOptions {
|
7613
|
+
/**
|
7614
|
+
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
7615
|
+
*
|
7616
|
+
* @defaultValue 'floating'
|
7617
|
+
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
7618
|
+
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
7619
|
+
* local video tile rules and be docked in the bottom corner.
|
7620
|
+
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
7621
|
+
*/
|
7622
|
+
position?: 'grid' | 'floating';
|
7623
|
+
}
|
7624
|
+
|
5743
7625
|
/**
|
5744
7626
|
* different modes of the local video tile
|
5745
7627
|
*
|
@@ -5765,6 +7647,76 @@ export declare interface MediaDiagnosticsState {
|
|
5765
7647
|
latest: LatestMediaDiagnostics;
|
5766
7648
|
}
|
5767
7649
|
|
7650
|
+
/**
|
7651
|
+
* Mention's state, as reflected in the UI.
|
7652
|
+
*
|
7653
|
+
* @beta
|
7654
|
+
*/
|
7655
|
+
export declare interface Mention {
|
7656
|
+
/** ID of a mention */
|
7657
|
+
id: string;
|
7658
|
+
/** Display text of a mention */
|
7659
|
+
displayText: string;
|
7660
|
+
/** Optional React element to render an item icon of a mention suggestion */
|
7661
|
+
icon?: JSX.Element;
|
7662
|
+
}
|
7663
|
+
|
7664
|
+
/**
|
7665
|
+
* Options to display suggestions in the mention scenario.
|
7666
|
+
*
|
7667
|
+
* @beta
|
7668
|
+
*/
|
7669
|
+
export declare interface MentionDisplayOptions {
|
7670
|
+
/**
|
7671
|
+
* Optional callback for customizing the mention renderer in a message thread.
|
7672
|
+
*/
|
7673
|
+
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7674
|
+
}
|
7675
|
+
|
7676
|
+
/**
|
7677
|
+
* Options to lookup suggestions in the mention scenario.
|
7678
|
+
*
|
7679
|
+
* @beta
|
7680
|
+
*/
|
7681
|
+
export declare interface MentionLookupOptions {
|
7682
|
+
/**
|
7683
|
+
* Optional string to set trigger keyword for mention a specific participant.
|
7684
|
+
*
|
7685
|
+
* @defaultValue `@`
|
7686
|
+
*/
|
7687
|
+
trigger?: string;
|
7688
|
+
/**
|
7689
|
+
* Optional callback to fetch a list of mention suggestions base on the query.
|
7690
|
+
*/
|
7691
|
+
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7692
|
+
/**
|
7693
|
+
* Optional callback to render an item of the mention suggestions list.
|
7694
|
+
*/
|
7695
|
+
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
7696
|
+
}
|
7697
|
+
|
7698
|
+
/**
|
7699
|
+
* Options to lookup suggestions and display mentions in the mention scenario.
|
7700
|
+
*
|
7701
|
+
* @beta
|
7702
|
+
*/
|
7703
|
+
export declare type MentionOptions = {
|
7704
|
+
lookupOptions?: MentionLookupOptions;
|
7705
|
+
displayOptions?: MentionDisplayOptions;
|
7706
|
+
};
|
7707
|
+
|
7708
|
+
/**
|
7709
|
+
* Strings of {@link _MentionPopover} that can be overridden.
|
7710
|
+
*
|
7711
|
+
* @beta
|
7712
|
+
*/
|
7713
|
+
export declare interface MentionPopoverStrings {
|
7714
|
+
/**
|
7715
|
+
* Header text for MentionPopover
|
7716
|
+
*/
|
7717
|
+
mentionPopoverHeader: string;
|
7718
|
+
}
|
7719
|
+
|
5768
7720
|
/**
|
5769
7721
|
* Discriminated union of all messages.
|
5770
7722
|
*
|
@@ -5772,7 +7724,7 @@ export declare interface MediaDiagnosticsState {
|
|
5772
7724
|
*
|
5773
7725
|
* @public
|
5774
7726
|
*/
|
5775
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7727
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
|
5776
7728
|
|
5777
7729
|
/**
|
5778
7730
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -6006,7 +7958,7 @@ export declare type MessageThreadProps = {
|
|
6006
7958
|
/**
|
6007
7959
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
6008
7960
|
*/
|
6009
|
-
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7961
|
+
messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
|
6010
7962
|
/**
|
6011
7963
|
* number of participants in the thread
|
6012
7964
|
*/
|
@@ -6087,6 +8039,17 @@ export declare type MessageThreadProps = {
|
|
6087
8039
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
6088
8040
|
*/
|
6089
8041
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
8042
|
+
/**
|
8043
|
+
* Optional callback to render attached files in the message component.
|
8044
|
+
* @beta
|
8045
|
+
*/
|
8046
|
+
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
8047
|
+
/**
|
8048
|
+
* Optional callback to retrieve the inline image in a message.
|
8049
|
+
* @param attachment - AttachmentMetadata object we want to render
|
8050
|
+
* @beta
|
8051
|
+
*/
|
8052
|
+
onFetchAttachments?: (attachments: AttachmentMetadata[]) => Promise<AttachmentDownloadResult[]>;
|
6090
8053
|
/**
|
6091
8054
|
* Optional callback to edit a message.
|
6092
8055
|
*
|
@@ -6128,6 +8091,28 @@ export declare type MessageThreadProps = {
|
|
6128
8091
|
* Optional strings to override in component
|
6129
8092
|
*/
|
6130
8093
|
strings?: Partial<MessageThreadStrings>;
|
8094
|
+
/**
|
8095
|
+
* @beta
|
8096
|
+
* Optional function called when someone clicks on the file download icon.
|
8097
|
+
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
8098
|
+
* this function will be called with the data inside `fileSharingMetadata` key.
|
8099
|
+
*/
|
8100
|
+
fileDownloadHandler?: FileDownloadHandler;
|
8101
|
+
/**
|
8102
|
+
* Optional function to provide customized date format.
|
8103
|
+
* @beta
|
8104
|
+
*/
|
8105
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
8106
|
+
/**
|
8107
|
+
* Optional props needed to lookup a mention query and display mentions
|
8108
|
+
* @beta
|
8109
|
+
*/
|
8110
|
+
mentionOptions?: MentionOptions;
|
8111
|
+
/**
|
8112
|
+
* Optional callback called when an inline image is clicked.
|
8113
|
+
* @beta
|
8114
|
+
*/
|
8115
|
+
onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
|
6131
8116
|
};
|
6132
8117
|
|
6133
8118
|
/**
|
@@ -6201,6 +8186,14 @@ export declare interface MessageThreadStrings {
|
|
6201
8186
|
actionMenuMoreOptions?: string;
|
6202
8187
|
/** Aria label to announce when a message is deleted */
|
6203
8188
|
messageDeletedAnnouncementAriaLabel: string;
|
8189
|
+
/** String for download file button in file card */
|
8190
|
+
downloadFile: string;
|
8191
|
+
/** String for policy violation message removal */
|
8192
|
+
blockedWarningText: string;
|
8193
|
+
/** String for policy violation message removal details link */
|
8194
|
+
blockedWarningLinkText: string;
|
8195
|
+
/** String for aria text in file attachment group*/
|
8196
|
+
fileCardGroupMessage: string;
|
6204
8197
|
}
|
6205
8198
|
|
6206
8199
|
/**
|
@@ -6228,6 +8221,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
6228
8221
|
/** Styles for system message container. */
|
6229
8222
|
systemMessageContainer?: ComponentSlotStyle;
|
6230
8223
|
/** Styles for blocked message container. */
|
8224
|
+
blockedMessageContainer?: ComponentSlotStyle;
|
6231
8225
|
/** Styles for message status indicator container. */
|
6232
8226
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
6233
8227
|
}
|
@@ -6396,6 +8390,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6396
8390
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
6397
8391
|
}
|
6398
8392
|
|
8393
|
+
/**
|
8394
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
8395
|
+
* by their browsers settings.
|
8396
|
+
*
|
8397
|
+
* @beta
|
8398
|
+
*/
|
8399
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
8400
|
+
|
8401
|
+
/**
|
8402
|
+
* @beta
|
8403
|
+
* Props for MicrophoneSitePermissions component.
|
8404
|
+
*/
|
8405
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
8406
|
+
/** Icon name for the microphone icon */
|
8407
|
+
microphoneIconName?: string;
|
8408
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
8409
|
+
strings?: MicrophoneSitePermissionsStrings;
|
8410
|
+
}
|
8411
|
+
|
8412
|
+
/**
|
8413
|
+
* @beta
|
8414
|
+
* Strings for MicrophoneSitePermissions component.
|
8415
|
+
*/
|
8416
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
8417
|
+
|
6399
8418
|
/**
|
6400
8419
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
6401
8420
|
*
|
@@ -6414,6 +8433,13 @@ export declare interface NetworkDiagnosticsState {
|
|
6414
8433
|
latest: LatestNetworkDiagnostics;
|
6415
8434
|
}
|
6416
8435
|
|
8436
|
+
/**
|
8437
|
+
* Callback function used to provide custom data to build profile for a user.
|
8438
|
+
*
|
8439
|
+
* @beta
|
8440
|
+
*/
|
8441
|
+
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
8442
|
+
|
6417
8443
|
/**
|
6418
8444
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
6419
8445
|
*
|
@@ -6536,6 +8562,14 @@ export declare interface ParticipantItemProps {
|
|
6536
8562
|
onClick?: (props?: ParticipantItemProps) => void;
|
6537
8563
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6538
8564
|
showParticipantOverflowTooltip?: boolean;
|
8565
|
+
/**
|
8566
|
+
* Optional value to determine and display a participants connection status.
|
8567
|
+
* For example, `Connecting`, `Ringing` etc.
|
8568
|
+
* The actual text that is displayed is determined by the localized string
|
8569
|
+
* corresponding to the provided participant state.
|
8570
|
+
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8571
|
+
*/
|
8572
|
+
participantState?: ParticipantState;
|
6539
8573
|
/**
|
6540
8574
|
* Optional aria property that prefixes the ParticipantItems aria content
|
6541
8575
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -6561,6 +8595,10 @@ export declare interface ParticipantItemStrings {
|
|
6561
8595
|
mutedIconLabel: string;
|
6562
8596
|
/** placeholder text for participants who does not have a display name*/
|
6563
8597
|
displayNamePlaceholder?: string;
|
8598
|
+
/** String shown when `participantState` is `Ringing` */
|
8599
|
+
participantStateRinging?: string;
|
8600
|
+
/** String shown when `participantState` is `Hold` */
|
8601
|
+
participantStateHold?: string;
|
6564
8602
|
}
|
6565
8603
|
|
6566
8604
|
/**
|
@@ -6640,6 +8678,10 @@ export declare type ParticipantListProps = {
|
|
6640
8678
|
styles?: ParticipantListStyles;
|
6641
8679
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6642
8680
|
showParticipantOverflowTooltip?: boolean;
|
8681
|
+
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8682
|
+
totalParticipantCount?: number;
|
8683
|
+
/** Strings for the participant list */
|
8684
|
+
strings?: ParticipantListStrings;
|
6643
8685
|
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
6644
8686
|
participantAriaLabelledBy?: string;
|
6645
8687
|
};
|
@@ -6652,8 +8694,21 @@ export declare type ParticipantListProps = {
|
|
6652
8694
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6653
8695
|
participants: CallParticipantListParticipant[];
|
6654
8696
|
myUserId: string;
|
8697
|
+
totalParticipantCount?: number;
|
6655
8698
|
};
|
6656
8699
|
|
8700
|
+
/**
|
8701
|
+
* Strings for the {@link ParticipantList}.
|
8702
|
+
*
|
8703
|
+
* @beta
|
8704
|
+
*/
|
8705
|
+
export declare interface ParticipantListStrings {
|
8706
|
+
/**
|
8707
|
+
* String for rendering the count of participants not contained in the displayed participant list
|
8708
|
+
*/
|
8709
|
+
overflowParticipantCount?: string;
|
8710
|
+
}
|
8711
|
+
|
6657
8712
|
/**
|
6658
8713
|
* Styles for the {@link ParticipantList}.
|
6659
8714
|
*
|
@@ -6870,6 +8925,18 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
6870
8925
|
*/
|
6871
8926
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
6872
8927
|
|
8928
|
+
/**
|
8929
|
+
* The profile of a user.
|
8930
|
+
*
|
8931
|
+
* @beta
|
8932
|
+
*/
|
8933
|
+
export declare type Profile = {
|
8934
|
+
/**
|
8935
|
+
* Primary text to display, usually the name of the person.
|
8936
|
+
*/
|
8937
|
+
displayName?: string;
|
8938
|
+
};
|
8939
|
+
|
6873
8940
|
/**
|
6874
8941
|
* Raised hand state with order
|
6875
8942
|
*
|
@@ -6936,28 +9003,101 @@ export declare interface RaiseHandButtonStrings {
|
|
6936
9003
|
offLabel: string;
|
6937
9004
|
/** * Tooltip content when the button is disabled. */
|
6938
9005
|
tooltipDisabledContent?: string;
|
6939
|
-
/** Tooltip content when the button is on. */
|
6940
|
-
tooltipOnContent?: string;
|
6941
|
-
/** Tooltip content when the button is off. */
|
6942
|
-
tooltipOffContent?: string;
|
9006
|
+
/** Tooltip content when the button is on. */
|
9007
|
+
tooltipOnContent?: string;
|
9008
|
+
/** Tooltip content when the button is off. */
|
9009
|
+
tooltipOffContent?: string;
|
9010
|
+
}
|
9011
|
+
|
9012
|
+
/**
|
9013
|
+
* State only version of {@link @azure/communication-calling#RaiseHandCallFeature}. {@link StatefulCallClient} will
|
9014
|
+
* automatically listen for raised hands on the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
9015
|
+
*
|
9016
|
+
* @public
|
9017
|
+
*/
|
9018
|
+
export declare interface RaiseHandCallFeature {
|
9019
|
+
/**
|
9020
|
+
* Proxy of {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
|
9021
|
+
*/
|
9022
|
+
raisedHands: RaisedHandState[];
|
9023
|
+
/**
|
9024
|
+
* Contains information for local participant from list {@link @azure/communication-calling#RaiseHandCallFeature.raisedHands}.
|
9025
|
+
*/
|
9026
|
+
localParticipantRaisedHand?: RaisedHandState;
|
9027
|
+
}
|
9028
|
+
|
9029
|
+
/**
|
9030
|
+
* Reaction state with reaction type to render
|
9031
|
+
*
|
9032
|
+
* @beta
|
9033
|
+
*/
|
9034
|
+
export declare type Reaction = {
|
9035
|
+
/**
|
9036
|
+
* Specifies the type of reaction videoTile should render i.e. like, heart etc.
|
9037
|
+
*/
|
9038
|
+
reactionType: string;
|
9039
|
+
/**
|
9040
|
+
* Received timestamp for the message as default Date format.
|
9041
|
+
*/
|
9042
|
+
receivedAt: Date;
|
9043
|
+
};
|
9044
|
+
|
9045
|
+
/**
|
9046
|
+
* Props for {@link ReactionButton}.
|
9047
|
+
*
|
9048
|
+
* @beta
|
9049
|
+
*/
|
9050
|
+
export declare interface ReactionButtonProps extends ControlBarButtonProps {
|
9051
|
+
/**
|
9052
|
+
* Optional strings to override in component
|
9053
|
+
*/
|
9054
|
+
strings?: Partial<ReactionButtonStrings>;
|
9055
|
+
/**
|
9056
|
+
* Click event to send reaction to meeting
|
9057
|
+
*/
|
9058
|
+
onReactionClicked: (reaction: string) => Promise<void>;
|
9059
|
+
}
|
9060
|
+
|
9061
|
+
/**
|
9062
|
+
* Strings of {@link ReactionButton} that can be overridden.
|
9063
|
+
*
|
9064
|
+
* @beta
|
9065
|
+
*/
|
9066
|
+
export declare interface ReactionButtonStrings {
|
9067
|
+
/** Label of the button. */
|
9068
|
+
label: string;
|
9069
|
+
/** Tooltip content when the button is disabled. */
|
9070
|
+
tooltipDisabledContent?: string;
|
9071
|
+
/** Tooltip content when the button is enabled. */
|
9072
|
+
tooltipContent?: string;
|
9073
|
+
/** Tooltip content of like reaction button. */
|
9074
|
+
likeReactionTooltipContent?: string;
|
9075
|
+
/** Tooltip content of heart reaction button. */
|
9076
|
+
heartReactionTooltipContent?: string;
|
9077
|
+
/** Tooltip content of laugh reaction button. */
|
9078
|
+
laughReactionTooltipContent?: string;
|
9079
|
+
/** Tooltip content of clap reaction button. */
|
9080
|
+
applauseReactionTooltipContent?: string;
|
9081
|
+
/** Tooltip content of surprised reaction button. */
|
9082
|
+
surprisedReactionTooltipContent?: string;
|
6943
9083
|
}
|
6944
9084
|
|
6945
9085
|
/**
|
6946
|
-
* State only version of {@link @azure/communication-calling#
|
6947
|
-
*
|
9086
|
+
* State only version of {@link @azure/communication-calling#Call.ReactionMessage} with UI helper props receivedAt.
|
9087
|
+
* Reaction state with a timestamp which helps UI to decide to render the reaction accordingly.
|
6948
9088
|
*
|
6949
|
-
* @
|
9089
|
+
* @beta
|
6950
9090
|
*/
|
6951
|
-
export declare
|
9091
|
+
export declare type ReactionState = {
|
6952
9092
|
/**
|
6953
|
-
*
|
9093
|
+
* Reaction message from the meeting {@link @azure/communication-calling#Call.ReactionMessage}
|
6954
9094
|
*/
|
6955
|
-
|
9095
|
+
reactionMessage: ReactionMessage;
|
6956
9096
|
/**
|
6957
|
-
*
|
9097
|
+
* Received timestamp of the reaction message in a meeting.
|
6958
9098
|
*/
|
6959
|
-
|
6960
|
-
}
|
9099
|
+
receivedAt: Date;
|
9100
|
+
};
|
6961
9101
|
|
6962
9102
|
/**
|
6963
9103
|
* An array of key value pairs that stores each sender's display name and last read message
|
@@ -7030,6 +9170,17 @@ export declare interface RemoteParticipantState {
|
|
7030
9170
|
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
7031
9171
|
*/
|
7032
9172
|
raisedHand?: RaisedHandState;
|
9173
|
+
/**
|
9174
|
+
* Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
|
9175
|
+
* UI helper props receivedAt which indicates the timestamp when the message was received.
|
9176
|
+
*
|
9177
|
+
* @beta
|
9178
|
+
*/
|
9179
|
+
reactionState?: ReactionState;
|
9180
|
+
/**
|
9181
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.spotlightedParticipants}.
|
9182
|
+
*/
|
9183
|
+
spotlighted?: SpotlightState;
|
7033
9184
|
}
|
7034
9185
|
|
7035
9186
|
/**
|
@@ -7054,6 +9205,7 @@ export declare interface RemoteVideoStreamState {
|
|
7054
9205
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
7055
9206
|
* @beta
|
7056
9207
|
*/
|
9208
|
+
isReceiving: boolean;
|
7057
9209
|
/**
|
7058
9210
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
7059
9211
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -7153,6 +9305,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
7153
9305
|
*/
|
7154
9306
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
7155
9307
|
|
9308
|
+
/**
|
9309
|
+
* @beta
|
9310
|
+
* Error to be displayed to the user in an error bar above sendbox.
|
9311
|
+
*/
|
9312
|
+
export declare interface SendBoxErrorBarError {
|
9313
|
+
/** Error Message to be displayed */
|
9314
|
+
message: string;
|
9315
|
+
/**
|
9316
|
+
* Unix Timestamp. Preferred generation using `Date.now()`
|
9317
|
+
*/
|
9318
|
+
timestamp: number;
|
9319
|
+
}
|
9320
|
+
|
7156
9321
|
/**
|
7157
9322
|
* Props for {@link SendBox}.
|
7158
9323
|
*
|
@@ -7172,6 +9337,11 @@ export declare interface SendBoxProps {
|
|
7172
9337
|
* Optional override behavior on send button click
|
7173
9338
|
*/
|
7174
9339
|
onSendMessage?: (content: string) => Promise<void>;
|
9340
|
+
/**
|
9341
|
+
* Optional props needed to lookup suggestions in the mention scenario.
|
9342
|
+
* @beta
|
9343
|
+
*/
|
9344
|
+
mentionLookupOptions?: MentionLookupOptions;
|
7175
9345
|
/**
|
7176
9346
|
* Optional callback called when user is typing
|
7177
9347
|
*/
|
@@ -7208,6 +9378,25 @@ export declare interface SendBoxProps {
|
|
7208
9378
|
* When undefined nothing has focus on render
|
7209
9379
|
*/
|
7210
9380
|
autoFocus?: 'sendBoxTextField';
|
9381
|
+
/**
|
9382
|
+
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
9383
|
+
* vertically to accommodate the uploaded files. File uploads will
|
9384
|
+
* be rendered below the text area in sendBox.
|
9385
|
+
* @beta
|
9386
|
+
*/
|
9387
|
+
onRenderFileUploads?: () => JSX.Element;
|
9388
|
+
/**
|
9389
|
+
* Optional array of active file uploads where each object has attributes
|
9390
|
+
* of a file upload like name, progress, errorMessage etc.
|
9391
|
+
* @beta
|
9392
|
+
*/
|
9393
|
+
activeFileUploads?: ActiveFileUpload[];
|
9394
|
+
/**
|
9395
|
+
* Optional callback to remove the file upload before sending by clicking on
|
9396
|
+
* cancel icon.
|
9397
|
+
* @beta
|
9398
|
+
*/
|
9399
|
+
onCancelFileUpload?: (fileId: string) => void;
|
7211
9400
|
}
|
7212
9401
|
|
7213
9402
|
/**
|
@@ -7238,6 +9427,22 @@ export declare interface SendBoxStrings {
|
|
7238
9427
|
* Aria label for send message button
|
7239
9428
|
*/
|
7240
9429
|
sendButtonAriaLabel: string;
|
9430
|
+
/**
|
9431
|
+
* Error message indicating that all file uploads are not complete.
|
9432
|
+
*/
|
9433
|
+
fileUploadsPendingError: string;
|
9434
|
+
/**
|
9435
|
+
* Aria label to notify user when focus is on cancel file upload button.
|
9436
|
+
*/
|
9437
|
+
removeFile: string;
|
9438
|
+
/**
|
9439
|
+
* Aria label to notify user file uploading starts.
|
9440
|
+
*/
|
9441
|
+
uploading: string;
|
9442
|
+
/**
|
9443
|
+
* Aria label to notify user file is uploaded.
|
9444
|
+
*/
|
9445
|
+
uploadCompleted: string;
|
7241
9446
|
}
|
7242
9447
|
|
7243
9448
|
/**
|
@@ -7258,6 +9463,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7258
9463
|
systemMessage?: IStyle;
|
7259
9464
|
}
|
7260
9465
|
|
9466
|
+
/**
|
9467
|
+
* @beta
|
9468
|
+
* Strings for SitePermissions component
|
9469
|
+
*/
|
9470
|
+
export declare type SitePermissionsStrings = {
|
9471
|
+
/**
|
9472
|
+
* Main text string.
|
9473
|
+
*/
|
9474
|
+
primaryText?: string;
|
9475
|
+
/**
|
9476
|
+
* Subtext string.
|
9477
|
+
*/
|
9478
|
+
secondaryText?: string;
|
9479
|
+
/**
|
9480
|
+
* More help link string.
|
9481
|
+
*/
|
9482
|
+
linkText?: string;
|
9483
|
+
/**
|
9484
|
+
* Primary button text string.
|
9485
|
+
*/
|
9486
|
+
primaryButtonText?: string;
|
9487
|
+
/**
|
9488
|
+
* Aria label describing the content of the container
|
9489
|
+
*/
|
9490
|
+
ariaLabel?: string;
|
9491
|
+
};
|
9492
|
+
|
9493
|
+
/**
|
9494
|
+
* Fluent styles for {@link SitePermissionsContainer}.
|
9495
|
+
*
|
9496
|
+
* @beta
|
9497
|
+
*/
|
9498
|
+
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
9499
|
+
/** Styles for the primary button. */
|
9500
|
+
primaryButton?: IButtonStyles;
|
9501
|
+
/** Styles for the help troubleshooting link text. */
|
9502
|
+
troubleshootingLink?: ILinkStyles;
|
9503
|
+
}
|
9504
|
+
|
7261
9505
|
/**
|
7262
9506
|
* @public
|
7263
9507
|
* Type for representing a custom sound to use for a calling event
|
@@ -7317,6 +9561,30 @@ export declare interface SpokenLanguageStrings {
|
|
7317
9561
|
'zh-tw': string;
|
7318
9562
|
}
|
7319
9563
|
|
9564
|
+
/**
|
9565
|
+
* State only version of {@link @azure/communication-calling#SpotlightCallFeature}
|
9566
|
+
*
|
9567
|
+
* @beta
|
9568
|
+
*/
|
9569
|
+
export declare interface SpotlightCallFeatureState {
|
9570
|
+
/**
|
9571
|
+
* Ordered array of spotlighted participants in call
|
9572
|
+
*/
|
9573
|
+
spotlightedParticipants: SpotlightedParticipant[];
|
9574
|
+
}
|
9575
|
+
|
9576
|
+
/**
|
9577
|
+
* Spotlight state with order
|
9578
|
+
*
|
9579
|
+
* @beta
|
9580
|
+
*/
|
9581
|
+
export declare interface SpotlightState {
|
9582
|
+
/**
|
9583
|
+
* Order position of spotlight in call
|
9584
|
+
*/
|
9585
|
+
spotlightedOrderPosition?: number;
|
9586
|
+
}
|
9587
|
+
|
7320
9588
|
/**
|
7321
9589
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
7322
9590
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -7426,6 +9694,19 @@ export declare interface StatefulCallClient extends CallClient {
|
|
7426
9694
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
7427
9695
|
*/
|
7428
9696
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9697
|
+
/** @conditional-compile-remove(one-to-n-calling) */
|
9698
|
+
/**
|
9699
|
+
* The CallAgent is used to handle calls.
|
9700
|
+
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9701
|
+
* - The CallClient can only have one active CallAgent instance at a time.
|
9702
|
+
* - You can create a new CallClient instance to create a new CallAgent.
|
9703
|
+
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9704
|
+
* createCallAgent() method again to create a new CallAgent.
|
9705
|
+
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9706
|
+
* @param options - The CallAgentOptions for additional options like display name.
|
9707
|
+
* @public
|
9708
|
+
*/
|
9709
|
+
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
7429
9710
|
}
|
7430
9711
|
|
7431
9712
|
/**
|
@@ -7438,7 +9719,16 @@ export declare type StatefulCallClientArgs = {
|
|
7438
9719
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
7439
9720
|
* state. It is not used by StatefulCallClient.
|
7440
9721
|
*/
|
7441
|
-
userId: CommunicationUserIdentifier;
|
9722
|
+
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
9723
|
+
/**
|
9724
|
+
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9725
|
+
* to start a PSTN call.
|
9726
|
+
*
|
9727
|
+
* example: +11234567
|
9728
|
+
*
|
9729
|
+
* This is not a cached value from the headless calling client.
|
9730
|
+
*/
|
9731
|
+
alternateCallerId?: string;
|
7442
9732
|
};
|
7443
9733
|
|
7444
9734
|
/**
|
@@ -7567,6 +9857,62 @@ export declare interface StreamMediaProps {
|
|
7567
9857
|
styles?: BaseCustomStyles;
|
7568
9858
|
}
|
7569
9859
|
|
9860
|
+
/**
|
9861
|
+
* @beta
|
9862
|
+
* Corresponding texts to each call issue
|
9863
|
+
*/
|
9864
|
+
export declare interface SurveyIssues {
|
9865
|
+
overallRating: {
|
9866
|
+
callCannotJoin: string;
|
9867
|
+
callCannotInvite: string;
|
9868
|
+
hadToRejoin: string;
|
9869
|
+
callEndedUnexpectedly: string;
|
9870
|
+
otherIssues: string;
|
9871
|
+
};
|
9872
|
+
audioRating: {
|
9873
|
+
noLocalAudio: string;
|
9874
|
+
noRemoteAudio: string;
|
9875
|
+
echo: string;
|
9876
|
+
audioNoise: string;
|
9877
|
+
lowVolume: string;
|
9878
|
+
audioStoppedUnexpectedly: string;
|
9879
|
+
distortedSpeech: string;
|
9880
|
+
audioInterruption: string;
|
9881
|
+
otherIssues: string;
|
9882
|
+
};
|
9883
|
+
videoRating: {
|
9884
|
+
noVideoReceived: string;
|
9885
|
+
noVideoSent: string;
|
9886
|
+
lowQuality: string;
|
9887
|
+
freezes: string;
|
9888
|
+
stoppedUnexpectedly: string;
|
9889
|
+
darkVideoReceived: string;
|
9890
|
+
audioVideoOutOfSync: string;
|
9891
|
+
otherIssues: string;
|
9892
|
+
};
|
9893
|
+
screenshareRating: {
|
9894
|
+
noContentLocal: string;
|
9895
|
+
noContentRemote: string;
|
9896
|
+
cannotPresent: string;
|
9897
|
+
lowQuality: string;
|
9898
|
+
freezes: string;
|
9899
|
+
stoppedUnexpectedly: string;
|
9900
|
+
largeDelay: string;
|
9901
|
+
otherIssues: string;
|
9902
|
+
};
|
9903
|
+
}
|
9904
|
+
|
9905
|
+
/**
|
9906
|
+
* @beta
|
9907
|
+
* Corresponding texts to each call issue category
|
9908
|
+
*/
|
9909
|
+
export declare interface SurveyIssuesHeadingStrings {
|
9910
|
+
overallRating: string;
|
9911
|
+
audioRating: string;
|
9912
|
+
videoRating: string;
|
9913
|
+
screenshareRating: string;
|
9914
|
+
}
|
9915
|
+
|
7570
9916
|
/**
|
7571
9917
|
* Discriminated union of all system messages.
|
7572
9918
|
*
|
@@ -7593,6 +9939,74 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
7593
9939
|
*/
|
7594
9940
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
7595
9941
|
|
9942
|
+
/**
|
9943
|
+
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9944
|
+
*
|
9945
|
+
* @beta
|
9946
|
+
*/
|
9947
|
+
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9948
|
+
/**
|
9949
|
+
* Join the call with microphone initially on/off.
|
9950
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9951
|
+
* @param microphoneOn - Whether microphone is initially enabled
|
9952
|
+
*
|
9953
|
+
* @beta
|
9954
|
+
*/
|
9955
|
+
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9956
|
+
/**
|
9957
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
9958
|
+
* true = turn on the device when joining call
|
9959
|
+
* false = turn off the device when joining call
|
9960
|
+
* 'keep'/undefined = retain devices' precall state
|
9961
|
+
*
|
9962
|
+
* @param options - param to set microphone/camera initially on/off.
|
9963
|
+
*
|
9964
|
+
* @public
|
9965
|
+
*/
|
9966
|
+
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9967
|
+
/**
|
9968
|
+
* Start the call.
|
9969
|
+
*
|
9970
|
+
* @param participants - An array of participant ids to join
|
9971
|
+
*
|
9972
|
+
* @beta
|
9973
|
+
*/
|
9974
|
+
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9975
|
+
/**
|
9976
|
+
* Start the call.
|
9977
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9978
|
+
* @beta
|
9979
|
+
*/
|
9980
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9981
|
+
}
|
9982
|
+
|
9983
|
+
/**
|
9984
|
+
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9985
|
+
*
|
9986
|
+
* @beta
|
9987
|
+
*/
|
9988
|
+
export declare type TeamsCallAdapterArgs = {
|
9989
|
+
userId: MicrosoftTeamsUserIdentifier;
|
9990
|
+
credential: CommunicationTokenCredential;
|
9991
|
+
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9992
|
+
/**
|
9993
|
+
* Optional parameters for the {@link TeamsCallAdapter} created
|
9994
|
+
*/
|
9995
|
+
options?: TeamsAdapterOptions;
|
9996
|
+
};
|
9997
|
+
|
9998
|
+
/**
|
9999
|
+
* Object containing all the teams call handlers required for calling components.
|
10000
|
+
*
|
10001
|
+
* Calling related components from this package are able to pick out relevant handlers from this object.
|
10002
|
+
* See {@link useHandlers} and {@link usePropsFor}.
|
10003
|
+
*
|
10004
|
+
* @beta
|
10005
|
+
*/
|
10006
|
+
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
10007
|
+
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10008
|
+
}
|
10009
|
+
|
7596
10010
|
/**
|
7597
10011
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
7598
10012
|
*
|
@@ -7638,6 +10052,27 @@ export declare interface TranscriptionCallFeature {
|
|
7638
10052
|
isTranscriptionActive: boolean;
|
7639
10053
|
}
|
7640
10054
|
|
10055
|
+
/**
|
10056
|
+
* Transfer feature state
|
10057
|
+
*
|
10058
|
+
* @beta
|
10059
|
+
*/
|
10060
|
+
export declare interface TransferFeature {
|
10061
|
+
/**
|
10062
|
+
* Accepted transfer requests
|
10063
|
+
*/
|
10064
|
+
acceptedTransfers: {
|
10065
|
+
[key: string]: AcceptedTransfer;
|
10066
|
+
};
|
10067
|
+
}
|
10068
|
+
|
10069
|
+
/**
|
10070
|
+
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
10071
|
+
*
|
10072
|
+
* @beta
|
10073
|
+
*/
|
10074
|
+
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
10075
|
+
|
7641
10076
|
/**
|
7642
10077
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
7643
10078
|
*
|
@@ -7772,11 +10207,118 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
7772
10207
|
typingString?: IStyle;
|
7773
10208
|
}
|
7774
10209
|
|
10210
|
+
/**
|
10211
|
+
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
10212
|
+
*
|
10213
|
+
* @beta
|
10214
|
+
*/
|
10215
|
+
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
10216
|
+
|
10217
|
+
/**
|
10218
|
+
* props for {@link UnsupportedBrowser} UI
|
10219
|
+
*
|
10220
|
+
* @beta
|
10221
|
+
*/
|
10222
|
+
export declare interface UnsupportedBrowserProps {
|
10223
|
+
/** Handler to perform an action when the help link is actioned */
|
10224
|
+
onTroubleshootingClick?: () => void;
|
10225
|
+
/** String overrides for the component */
|
10226
|
+
strings?: UnsupportedBrowserStrings;
|
10227
|
+
}
|
10228
|
+
|
10229
|
+
/**
|
10230
|
+
* Strings for UnsupportedBrowser component
|
10231
|
+
*
|
10232
|
+
* @beta
|
10233
|
+
*/
|
10234
|
+
export declare interface UnsupportedBrowserStrings {
|
10235
|
+
/** String for the primary text */
|
10236
|
+
primaryText: string;
|
10237
|
+
/** String for the secondary text */
|
10238
|
+
secondaryText: string;
|
10239
|
+
/** String to display in the text for the help link */
|
10240
|
+
moreHelpLinkText: string;
|
10241
|
+
}
|
10242
|
+
|
10243
|
+
/**
|
10244
|
+
* UI to display to the user that the browser version they are using is out of date
|
10245
|
+
* and not supported by Azure Communications Calling service.
|
10246
|
+
*
|
10247
|
+
* @beta
|
10248
|
+
*/
|
10249
|
+
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
10250
|
+
|
10251
|
+
/**
|
10252
|
+
* props for {@link UnsupportedBrowserVersion} UI
|
10253
|
+
*
|
10254
|
+
* @beta
|
10255
|
+
*/
|
10256
|
+
export declare interface UnsupportedBrowserVersionProps {
|
10257
|
+
/** Handler to perform an action when the help link is actioned */
|
10258
|
+
onTroubleshootingClick?: () => void;
|
10259
|
+
/** String overrides for the component */
|
10260
|
+
strings?: UnsupportedBrowserVersionStrings;
|
10261
|
+
/** Handler to allow user to continue into the call */
|
10262
|
+
onContinueAnywayClick?: () => void;
|
10263
|
+
}
|
10264
|
+
|
10265
|
+
/**
|
10266
|
+
* Strings for UnsupportedBrowser component
|
10267
|
+
*
|
10268
|
+
* @beta
|
10269
|
+
*/
|
10270
|
+
export declare interface UnsupportedBrowserVersionStrings {
|
10271
|
+
/** String for the primary text */
|
10272
|
+
primaryText: string;
|
10273
|
+
/** String for the secondary text */
|
10274
|
+
secondaryText: string;
|
10275
|
+
/** String to display in the text for the help link */
|
10276
|
+
moreHelpLinkText: string;
|
10277
|
+
/** String for continue without updating button */
|
10278
|
+
continueAnywayButtonText?: string;
|
10279
|
+
}
|
10280
|
+
|
10281
|
+
/**
|
10282
|
+
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
10283
|
+
*
|
10284
|
+
* @beta
|
10285
|
+
*/
|
10286
|
+
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
10287
|
+
|
10288
|
+
/**
|
10289
|
+
* Props for {@link UnsupportedOperatingSystem} UI
|
10290
|
+
*
|
10291
|
+
* @beta
|
10292
|
+
*/
|
10293
|
+
export declare interface UnsupportedOperatingSystemProps {
|
10294
|
+
/** Handler to perform a action when the help link is actioned */
|
10295
|
+
onTroubleshootingClick?: () => void;
|
10296
|
+
/** String overrides for the component */
|
10297
|
+
strings?: UnsupportedOperatingSystemStrings;
|
10298
|
+
}
|
10299
|
+
|
10300
|
+
/**
|
10301
|
+
* Strings for UnsupportedBrowser component
|
10302
|
+
*
|
10303
|
+
* @beta
|
10304
|
+
*/
|
10305
|
+
export declare interface UnsupportedOperatingSystemStrings {
|
10306
|
+
/** String for the primary text */
|
10307
|
+
primaryText: string;
|
10308
|
+
/** String for the secondary text */
|
10309
|
+
secondaryText: string;
|
10310
|
+
/** String to display in the text for the help link */
|
10311
|
+
moreHelpLinkText: string;
|
10312
|
+
}
|
10313
|
+
|
7775
10314
|
/**
|
7776
10315
|
* @public
|
7777
10316
|
* Callback function run when a message is updated.
|
7778
10317
|
*/
|
7779
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
10318
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string, options?: {
|
10319
|
+
metadata?: Record<string, string>;
|
10320
|
+
attachmentMetadata?: AttachmentMetadata[];
|
10321
|
+
}) => Promise<void>;
|
7780
10322
|
|
7781
10323
|
/**
|
7782
10324
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -7924,6 +10466,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
7924
10466
|
*/
|
7925
10467
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: 'calling' | 'chat') => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
7926
10468
|
|
10469
|
+
/**
|
10470
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
10471
|
+
*
|
10472
|
+
* Useful when implementing a custom component that utilizes the providers
|
10473
|
+
* exported from this library.
|
10474
|
+
*
|
10475
|
+
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
10476
|
+
*
|
10477
|
+
* @beta
|
10478
|
+
*/
|
10479
|
+
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10480
|
+
|
10481
|
+
/**
|
10482
|
+
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
10483
|
+
*
|
10484
|
+
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
10485
|
+
* creation of the adapter internally.
|
10486
|
+
*
|
10487
|
+
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
10488
|
+
* as they are created. The adapter is only created when all arguments are defined.
|
10489
|
+
*
|
10490
|
+
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
10491
|
+
* See storybook for typical usage examples.
|
10492
|
+
*
|
10493
|
+
* @beta
|
10494
|
+
*/
|
10495
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
10496
|
+
|
10497
|
+
/**
|
10498
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
10499
|
+
*
|
10500
|
+
* Useful when implementing a custom component that utilizes the providers
|
10501
|
+
* exported from this library.
|
10502
|
+
*
|
10503
|
+
* @beta
|
10504
|
+
*/
|
10505
|
+
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
10506
|
+
|
7927
10507
|
/**
|
7928
10508
|
* React hook to access theme
|
7929
10509
|
*
|
@@ -8063,7 +10643,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
8063
10643
|
/**
|
8064
10644
|
* @public
|
8065
10645
|
*/
|
8066
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
|
10646
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(large-gallery) */ 'largeGallery' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
|
8067
10647
|
|
8068
10648
|
/**
|
8069
10649
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -8073,6 +10653,12 @@ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @
|
|
8073
10653
|
export declare interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {
|
8074
10654
|
/** Whether local participant is raised a hand */
|
8075
10655
|
raisedHand?: RaisedHand;
|
10656
|
+
/**
|
10657
|
+
* Whether local participant has reacted
|
10658
|
+
*
|
10659
|
+
* @beta
|
10660
|
+
* */
|
10661
|
+
reaction?: Reaction;
|
8076
10662
|
}
|
8077
10663
|
|
8078
10664
|
/**
|
@@ -8174,6 +10760,10 @@ export declare interface VideoGalleryProps {
|
|
8174
10760
|
* This callback will be called when a participant video tile is un-pinned.
|
8175
10761
|
*/
|
8176
10762
|
onUnpinParticipant?: (userId: string) => void;
|
10763
|
+
/**
|
10764
|
+
* List of spotlighted participant userIds.
|
10765
|
+
*/
|
10766
|
+
spotlightedParticipants?: string[];
|
8177
10767
|
/**
|
8178
10768
|
* Options for showing the remote video tile menu.
|
8179
10769
|
*
|
@@ -8204,8 +10794,19 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
8204
10794
|
isSpeaking?: boolean;
|
8205
10795
|
/** Video stream of shared screen */
|
8206
10796
|
screenShareStream?: VideoGalleryStream;
|
10797
|
+
/**
|
10798
|
+
* @beta
|
10799
|
+
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10800
|
+
*/
|
10801
|
+
state?: ParticipantState;
|
8207
10802
|
/** Whether participant is raised a hand */
|
8208
10803
|
raisedHand?: RaisedHand;
|
10804
|
+
/**
|
10805
|
+
* Whether participant has reacted
|
10806
|
+
*
|
10807
|
+
* @beta
|
10808
|
+
* */
|
10809
|
+
reaction?: Reaction;
|
8209
10810
|
}
|
8210
10811
|
|
8211
10812
|
/**
|
@@ -8219,6 +10820,7 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
8219
10820
|
remoteParticipants: VideoGalleryRemoteParticipant[];
|
8220
10821
|
dominantSpeakers?: string[];
|
8221
10822
|
optimalVideoCount?: number;
|
10823
|
+
spotlightedParticipants?: string[];
|
8222
10824
|
};
|
8223
10825
|
|
8224
10826
|
/**
|
@@ -8443,6 +11045,14 @@ export declare interface VideoTileProps {
|
|
8443
11045
|
isSpeaking?: boolean;
|
8444
11046
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
8445
11047
|
raisedHand?: RaisedHand;
|
11048
|
+
/** When the participant has reacted, animate the reaction. */
|
11049
|
+
reaction?: Reaction;
|
11050
|
+
/**
|
11051
|
+
* The call connection state of the participant.
|
11052
|
+
* For example, `Hold` means the participant is on hold.
|
11053
|
+
*/
|
11054
|
+
participantState?: ParticipantState;
|
11055
|
+
strings?: VideoTileStrings;
|
8446
11056
|
/**
|
8447
11057
|
* Display custom menu items in the VideoTile's contextual menu.
|
8448
11058
|
* Uses Fluent UI ContextualMenu.
|
@@ -8453,6 +11063,19 @@ export declare interface VideoTileProps {
|
|
8453
11063
|
* Callback triggered by video tile on touch and hold.
|
8454
11064
|
*/
|
8455
11065
|
onLongTouch?: () => void;
|
11066
|
+
/**
|
11067
|
+
* If true, the video tile will show the spotlighted icon.
|
11068
|
+
*/
|
11069
|
+
isSpotlighted?: boolean;
|
11070
|
+
}
|
11071
|
+
|
11072
|
+
/**
|
11073
|
+
* Strings of {@link VideoTile} that can be overridden.
|
11074
|
+
* @beta
|
11075
|
+
*/
|
11076
|
+
export declare interface VideoTileStrings {
|
11077
|
+
participantStateRinging: string;
|
11078
|
+
participantStateHold: string;
|
8456
11079
|
}
|
8457
11080
|
|
8458
11081
|
/**
|