@azure/communication-react 1.11.0 → 1.11.1-alpha-202312190013
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 +2500 -62
- package/dist/dist-cjs/communication-react/index.js +17244 -9807
- 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 +2 -2
- 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 +2 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -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 +12 -0
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +54 -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 +13 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +60 -44
- 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 +19 -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 +52 -14
- 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.js +3 -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 +2 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +39 -13
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +51 -10
- 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 +58 -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 +7 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +68 -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 +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +9 -3
- 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 +22 -12
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +2 -2
- 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/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +25 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +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 +3 -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 +13 -14
- package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +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 +166 -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 +29 -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 +2 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +36 -39
- 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 +22 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +99 -21
- 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 +11 -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 +130 -22
- 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/Dialpad.js +42 -44
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/EndCallButton.js +12 -13
- 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 +34 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +40 -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.js +29 -10
- 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 +125 -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 +125 -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/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/RemoteVideoTile.js +47 -14
- 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 +49 -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 +118 -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 +50 -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 +611 -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 +13 -17
- 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 +10 -32
- 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 +37 -16
- 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 +71 -27
- 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.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.js +62 -22
- 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 +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +130 -36
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/VideoTile.js +40 -55
- 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 +23 -0
- package/dist/dist-esm/react-components/src/components/index.js +18 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.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 +68 -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/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/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.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.js +1 -3
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.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 +4 -0
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +65 -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/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 +17 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +119 -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.d.ts +23 -0
- package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js +4 -0
- package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -0
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +33 -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.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.d.ts +45 -0
- package/dist/dist-esm/react-components/src/types/SurveyIssues.js +4 -0
- package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -0
- package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.d.ts +11 -0
- package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js +4 -0
- package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +6 -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.d.ts +3 -0
- package/dist/dist-esm/react-components/src/types/index.js +3 -0
- 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 +148 -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 +209 -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 +85 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +420 -55
- 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 +146 -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.d.ts +18 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +95 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -0
- 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 +99 -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 +54 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +25 -29
- 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/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 +35 -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 +7 -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 +137 -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 +31 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +11 -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 +9 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +10 -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/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 +17 -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 +18 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +152 -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 +138 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +119 -25
- 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.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 +35 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +156 -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 +71 -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 +12 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +44 -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 +157 -29
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +17 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +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 -6
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +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 +57 -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 +9 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +79 -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 +32 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +18 -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 +15 -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/en-US/strings.json +62 -0
- 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/package.json +3 -3
@@ -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,6 +84,7 @@ 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';
|
79
90
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
@@ -83,14 +94,34 @@ import { ScalingMode } from '@azure/communication-calling';
|
|
83
94
|
import { SendMessageOptions } from '@azure/communication-chat';
|
84
95
|
import { StartCallOptions } from '@azure/communication-calling';
|
85
96
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
97
|
+
import { SyntheticEvent } from 'react';
|
98
|
+
import { TeamsCall } from '@azure/communication-calling';
|
99
|
+
import { TeamsCallAgent } from '@azure/communication-calling';
|
86
100
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
87
101
|
import { Theme } from '@fluentui/react';
|
102
|
+
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
88
103
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
89
104
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
90
105
|
import { VideoEffectName } from '@azure/communication-calling';
|
91
106
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
92
107
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
93
108
|
|
109
|
+
/**
|
110
|
+
* Transfer feature state
|
111
|
+
*
|
112
|
+
* @beta
|
113
|
+
*/
|
114
|
+
export declare interface AcceptedTransfer {
|
115
|
+
/**
|
116
|
+
* Stores call id of accepted transfer
|
117
|
+
*/
|
118
|
+
callId: string;
|
119
|
+
/**
|
120
|
+
* Stores timestamp when transfer was accepted
|
121
|
+
*/
|
122
|
+
timestamp: Date;
|
123
|
+
}
|
124
|
+
|
94
125
|
/**
|
95
126
|
* Active error messages to be shown via {@link ErrorBar}.
|
96
127
|
*
|
@@ -110,6 +141,38 @@ export declare interface ActiveErrorMessage {
|
|
110
141
|
timestamp?: Date;
|
111
142
|
}
|
112
143
|
|
144
|
+
/**
|
145
|
+
* Attributes required for SendBox to show file uploads like name, progress etc.
|
146
|
+
* @beta
|
147
|
+
*/
|
148
|
+
export declare interface ActiveFileUpload {
|
149
|
+
/**
|
150
|
+
* Unique identifier for the file upload.
|
151
|
+
*/
|
152
|
+
id: string;
|
153
|
+
/**
|
154
|
+
* File name to be rendered for uploaded file.
|
155
|
+
*/
|
156
|
+
filename: string;
|
157
|
+
/**
|
158
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
159
|
+
* This is unrelated to the `uploadComplete` property.
|
160
|
+
* It is only used to show the progress of the upload.
|
161
|
+
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
162
|
+
* property to true to mark the upload as complete.
|
163
|
+
*/
|
164
|
+
progress: number;
|
165
|
+
/**
|
166
|
+
* Error to be displayed to the user if the upload fails.
|
167
|
+
*/
|
168
|
+
error?: SendBoxErrorBarError;
|
169
|
+
/**
|
170
|
+
* `true` means that the upload is completed.
|
171
|
+
* This is independent of the upload `progress`.
|
172
|
+
*/
|
173
|
+
uploadComplete?: boolean;
|
174
|
+
}
|
175
|
+
|
113
176
|
/**
|
114
177
|
* Error reported via error events and stored in adapter state.
|
115
178
|
*
|
@@ -176,6 +239,21 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
176
239
|
*/
|
177
240
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
178
241
|
|
242
|
+
/**
|
243
|
+
* Metadata of the attachment object returned by the ACS SDK.
|
244
|
+
* @beta
|
245
|
+
*/
|
246
|
+
export declare interface AttachmentDownloadResult {
|
247
|
+
attachmentId: string;
|
248
|
+
blobUrl: string;
|
249
|
+
}
|
250
|
+
|
251
|
+
/**
|
252
|
+
* Metadata containing information about the uploaded file.
|
253
|
+
* @beta
|
254
|
+
*/
|
255
|
+
export declare type AttachmentMetadata = FileMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ InlineImageMetadata;
|
256
|
+
|
179
257
|
/**
|
180
258
|
* Custom data attributes for displaying avatar for a user.
|
181
259
|
*
|
@@ -205,6 +283,11 @@ export declare type AvatarPersonaData = {
|
|
205
283
|
* @defaultvalue `white`
|
206
284
|
*/
|
207
285
|
initialsTextColor?: string;
|
286
|
+
/**
|
287
|
+
* If true, show the special coin for unknown persona.
|
288
|
+
* It has '?' in place of initials, with static font and background colors
|
289
|
+
*/
|
290
|
+
showUnknownPersonaCoin?: boolean;
|
208
291
|
};
|
209
292
|
|
210
293
|
/**
|
@@ -226,6 +309,11 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
226
309
|
displayName: string;
|
227
310
|
credential: CommunicationTokenCredential;
|
228
311
|
locator: CallAdapterLocator;
|
312
|
+
/**
|
313
|
+
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
314
|
+
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
315
|
+
*/
|
316
|
+
alternateCallerId?: string;
|
229
317
|
/**
|
230
318
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
231
319
|
*/
|
@@ -250,6 +338,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
250
338
|
displayName: string;
|
251
339
|
credential: CommunicationTokenCredential;
|
252
340
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
341
|
+
alternateCallerId?: string;
|
253
342
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
254
343
|
};
|
255
344
|
|
@@ -265,6 +354,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
265
354
|
chatClient: StatefulChatClient;
|
266
355
|
chatThreadClient: ChatThreadClient;
|
267
356
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
357
|
+
chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
|
268
358
|
};
|
269
359
|
|
270
360
|
/**
|
@@ -280,6 +370,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
280
370
|
threadId: string;
|
281
371
|
};
|
282
372
|
|
373
|
+
/**
|
374
|
+
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
375
|
+
* @beta
|
376
|
+
*/
|
377
|
+
export declare type AzureCommunicationChatAdapterOptions = {
|
378
|
+
credential?: CommunicationTokenCredential;
|
379
|
+
};
|
380
|
+
|
283
381
|
/**
|
284
382
|
* Properties common to all composites exported from this library.
|
285
383
|
*
|
@@ -335,6 +433,156 @@ export declare interface BaseCustomStyles {
|
|
335
433
|
root?: IStyle;
|
336
434
|
}
|
337
435
|
|
436
|
+
/**
|
437
|
+
* Content blocked message type.
|
438
|
+
*
|
439
|
+
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
440
|
+
*
|
441
|
+
* @beta
|
442
|
+
*/
|
443
|
+
export declare interface BlockedMessage extends MessageCommon {
|
444
|
+
messageType: 'blocked';
|
445
|
+
warningText?: string;
|
446
|
+
linkText?: string;
|
447
|
+
link?: string;
|
448
|
+
deletedOn?: Date;
|
449
|
+
senderId?: string;
|
450
|
+
senderDisplayName?: string;
|
451
|
+
status?: MessageStatus;
|
452
|
+
attached?: MessageAttachedStatus;
|
453
|
+
mine?: boolean;
|
454
|
+
}
|
455
|
+
|
456
|
+
/**
|
457
|
+
* @beta
|
458
|
+
* Props for BrowserPermissionDeniedIOS component.
|
459
|
+
*/
|
460
|
+
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
461
|
+
/**
|
462
|
+
* Localization strings for BrowserPermissionDeniedIOS component.
|
463
|
+
*/
|
464
|
+
strings?: BrowserPermissionDeniedIOSStrings;
|
465
|
+
/**
|
466
|
+
* Link to image source.
|
467
|
+
*
|
468
|
+
* Image is inserted into the top of the component.
|
469
|
+
*/
|
470
|
+
imageSource?: string;
|
471
|
+
}
|
472
|
+
|
473
|
+
/**
|
474
|
+
* @beta
|
475
|
+
* Strings for BrowserPermissionDeniedIOS component
|
476
|
+
*/
|
477
|
+
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
478
|
+
/**
|
479
|
+
* Image alt text
|
480
|
+
*/
|
481
|
+
imageAltText: string;
|
482
|
+
/**
|
483
|
+
* Main text string.
|
484
|
+
*/
|
485
|
+
primaryText: string;
|
486
|
+
/**
|
487
|
+
* Subtext string.
|
488
|
+
*/
|
489
|
+
secondaryText: string;
|
490
|
+
/**
|
491
|
+
* Step 1 string
|
492
|
+
*/
|
493
|
+
step1Text: string;
|
494
|
+
/**
|
495
|
+
* Step 1 digit string
|
496
|
+
*/
|
497
|
+
step1DigitText: string;
|
498
|
+
/**
|
499
|
+
* Step 2 string
|
500
|
+
*/
|
501
|
+
step2Text: string;
|
502
|
+
/**
|
503
|
+
* Step 2 digit string
|
504
|
+
*/
|
505
|
+
step2DigitText: string;
|
506
|
+
/**
|
507
|
+
* Step 3 string
|
508
|
+
*/
|
509
|
+
step3Text: string;
|
510
|
+
/**
|
511
|
+
* Step 3 digit string
|
512
|
+
*/
|
513
|
+
step3DigitText: string;
|
514
|
+
/**
|
515
|
+
* Step 4 string
|
516
|
+
*/
|
517
|
+
step4Text: string;
|
518
|
+
/**
|
519
|
+
* Step 4 digit string
|
520
|
+
*/
|
521
|
+
step4DigitText: string;
|
522
|
+
}
|
523
|
+
|
524
|
+
/**
|
525
|
+
* @beta
|
526
|
+
* Props for BrowserPermissionDenied component.
|
527
|
+
*/
|
528
|
+
export declare interface BrowserPermissionDeniedProps {
|
529
|
+
/**
|
530
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
531
|
+
*/
|
532
|
+
onTroubleshootingClick?: () => void;
|
533
|
+
/**
|
534
|
+
* Action to be taken by the try again primary button.
|
535
|
+
*/
|
536
|
+
onTryAgainClick?: () => void;
|
537
|
+
/**
|
538
|
+
* Localization strings for BrowserPermissionDenied component.
|
539
|
+
*/
|
540
|
+
strings?: BrowserPermissionDeniedStrings;
|
541
|
+
/**
|
542
|
+
* Allows users to pass in an object contains custom CSS styles.
|
543
|
+
* @Example
|
544
|
+
* ```
|
545
|
+
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
546
|
+
* ```
|
547
|
+
*/
|
548
|
+
styles?: BrowserPermissionDeniedStyles;
|
549
|
+
}
|
550
|
+
|
551
|
+
/**
|
552
|
+
* @beta
|
553
|
+
* Strings for BrowserPermissionDenied component
|
554
|
+
*/
|
555
|
+
export declare interface BrowserPermissionDeniedStrings {
|
556
|
+
/**
|
557
|
+
* Main button text string.
|
558
|
+
*/
|
559
|
+
primaryButtonText: string;
|
560
|
+
/**
|
561
|
+
* Main text string.
|
562
|
+
*/
|
563
|
+
primaryText: string;
|
564
|
+
/**
|
565
|
+
* Subtext string.
|
566
|
+
*/
|
567
|
+
secondaryText: string;
|
568
|
+
/**
|
569
|
+
* More help link string.
|
570
|
+
*/
|
571
|
+
linkText: string;
|
572
|
+
}
|
573
|
+
|
574
|
+
/**
|
575
|
+
* Fluent styles for {@link BrowserPermissionDenied}.
|
576
|
+
*
|
577
|
+
* @beta
|
578
|
+
*/
|
579
|
+
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
580
|
+
/** Styles for the primary button. */
|
581
|
+
primaryButton?: IButtonStyles;
|
582
|
+
/** Styles for the help troubleshooting link text. */
|
583
|
+
troubleshootingLink?: ILinkStyles;
|
584
|
+
}
|
585
|
+
|
338
586
|
/**
|
339
587
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
340
588
|
*
|
@@ -368,6 +616,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
368
616
|
* @public
|
369
617
|
*/
|
370
618
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
619
|
+
/**
|
620
|
+
* Start the call.
|
621
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
622
|
+
* @beta
|
623
|
+
*/
|
624
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
371
625
|
}
|
372
626
|
|
373
627
|
/**
|
@@ -412,6 +666,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
412
666
|
* @public
|
413
667
|
*/
|
414
668
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
669
|
+
/**
|
670
|
+
* Start the call.
|
671
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
672
|
+
* @beta
|
673
|
+
*/
|
674
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
415
675
|
}
|
416
676
|
|
417
677
|
/**
|
@@ -488,6 +748,12 @@ export declare interface CallAdapterCallOperations {
|
|
488
748
|
* @public
|
489
749
|
*/
|
490
750
|
removeParticipant(userId: string): Promise<void>;
|
751
|
+
/**
|
752
|
+
* Remove a participant from the call.
|
753
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
754
|
+
* @beta
|
755
|
+
*/
|
756
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
491
757
|
/**
|
492
758
|
* Create the html view for a stream.
|
493
759
|
*
|
@@ -539,6 +805,35 @@ export declare interface CallAdapterCallOperations {
|
|
539
805
|
* @public
|
540
806
|
*/
|
541
807
|
disposeLocalVideoStreamView(): Promise<void>;
|
808
|
+
/**
|
809
|
+
* Holds the call.
|
810
|
+
*
|
811
|
+
* @beta
|
812
|
+
*/
|
813
|
+
holdCall(): Promise<void>;
|
814
|
+
/**
|
815
|
+
* Resumes the call from a `LocalHold` state.
|
816
|
+
*
|
817
|
+
* @beta
|
818
|
+
*/
|
819
|
+
resumeCall(): Promise<void>;
|
820
|
+
/**
|
821
|
+
* Add a participant to the call.
|
822
|
+
*
|
823
|
+
* @beta
|
824
|
+
*/
|
825
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
826
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
827
|
+
/**
|
828
|
+
* send dtmf tone to another participant in a 1:1 PSTN call
|
829
|
+
*
|
830
|
+
* @beta
|
831
|
+
*/
|
832
|
+
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
833
|
+
/**
|
834
|
+
* Continues into a call when the browser version is not supported.
|
835
|
+
*/
|
836
|
+
allowUnsupportedBrowserVersion(): void;
|
542
837
|
/**
|
543
838
|
* Function to Start captions
|
544
839
|
* @param options - options for start captions
|
@@ -584,6 +879,12 @@ export declare interface CallAdapterCallOperations {
|
|
584
879
|
* @public
|
585
880
|
*/
|
586
881
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
882
|
+
/**
|
883
|
+
* Send the end of call survey result
|
884
|
+
*
|
885
|
+
* @beta
|
886
|
+
*/
|
887
|
+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
587
888
|
}
|
588
889
|
|
589
890
|
/**
|
@@ -595,6 +896,11 @@ export declare type CallAdapterClientState = {
|
|
595
896
|
userId: CommunicationIdentifierKind;
|
596
897
|
displayName?: string;
|
597
898
|
call?: CallState;
|
899
|
+
/**
|
900
|
+
* State to track who the original call went out to. will be undefined the call is not a outbound
|
901
|
+
* modality. This includes, groupCalls, Rooms calls, and Teams InteropMeetings.
|
902
|
+
*/
|
903
|
+
targetCallees?: CommunicationIdentifier[];
|
598
904
|
devices: DeviceManagerState;
|
599
905
|
endedCall?: CallState;
|
600
906
|
isTeamsCall: boolean;
|
@@ -606,6 +912,14 @@ export declare type CallAdapterClientState = {
|
|
606
912
|
* Latest error encountered for each operation performed via the adapter.
|
607
913
|
*/
|
608
914
|
latestErrors: AdapterErrors;
|
915
|
+
/**
|
916
|
+
* Azure communications Phone number to make PSTN calls with.
|
917
|
+
*/
|
918
|
+
alternateCallerId?: string;
|
919
|
+
/**
|
920
|
+
* Environment information about system the adapter is made on
|
921
|
+
*/
|
922
|
+
environmentInfo?: EnvironmentInfo;
|
609
923
|
/**
|
610
924
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
611
925
|
* control bar with the CallComposite.
|
@@ -623,6 +937,18 @@ export declare type CallAdapterClientState = {
|
|
623
937
|
* State to track the selected video background effect.
|
624
938
|
*/
|
625
939
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
940
|
+
/**
|
941
|
+
* Call from transfer request accepted by local user
|
942
|
+
*/
|
943
|
+
acceptedTransferCallState?: CallState;
|
944
|
+
/**
|
945
|
+
* Hide attendee names in teams meeting
|
946
|
+
*/
|
947
|
+
hideAttendeeNames?: boolean;
|
948
|
+
/**
|
949
|
+
* State to track the sounds to be used in the call.
|
950
|
+
*/
|
951
|
+
sounds?: CallingSounds;
|
626
952
|
};
|
627
953
|
|
628
954
|
/**
|
@@ -707,7 +1033,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
707
1033
|
*
|
708
1034
|
* @public
|
709
1035
|
*/
|
710
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator;
|
1036
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
711
1037
|
|
712
1038
|
/**
|
713
1039
|
* {@link CommonCallAdapter} state.
|
@@ -800,6 +1126,10 @@ export declare interface CallAdapterSubscribers {
|
|
800
1126
|
* Subscribe function for 'isSpokenLanguageChanged' event.
|
801
1127
|
*/
|
802
1128
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1129
|
+
/**
|
1130
|
+
* Subscribe function for 'transferRequested' event.
|
1131
|
+
*/
|
1132
|
+
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
803
1133
|
/**
|
804
1134
|
* Subscribe function for 'capabilitiesChanged' event.
|
805
1135
|
*/
|
@@ -872,6 +1202,10 @@ export declare interface CallAdapterSubscribers {
|
|
872
1202
|
* Unsubscribe function for 'isSpokenLanguageChanged' event.
|
873
1203
|
*/
|
874
1204
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1205
|
+
/**
|
1206
|
+
* Unsubscribe function for 'transferRequested' event.
|
1207
|
+
*/
|
1208
|
+
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
875
1209
|
/**
|
876
1210
|
* Unsubscribe function for 'capabilitiesChanged' event.
|
877
1211
|
*/
|
@@ -890,6 +1224,7 @@ export declare interface CallAdapterSubscribers {
|
|
890
1224
|
export declare type CallAdapterUiState = {
|
891
1225
|
isLocalPreviewMicrophoneEnabled: boolean;
|
892
1226
|
page: CallCompositePage;
|
1227
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
893
1228
|
};
|
894
1229
|
|
895
1230
|
/**
|
@@ -908,7 +1243,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
908
1243
|
*/
|
909
1244
|
export declare interface CallAgentProviderProps {
|
910
1245
|
children: React_2.ReactNode;
|
911
|
-
callAgent?: CallAgent;
|
1246
|
+
callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
912
1247
|
}
|
913
1248
|
|
914
1249
|
/**
|
@@ -933,7 +1268,7 @@ export declare interface CallAgentState {
|
|
933
1268
|
*/
|
934
1269
|
export declare interface CallAndChatLocator {
|
935
1270
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
936
|
-
callLocator: GroupCallLocator;
|
1271
|
+
callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
|
937
1272
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
938
1273
|
chatThreadId: string;
|
939
1274
|
}
|
@@ -1020,6 +1355,16 @@ export declare interface CallClientState {
|
|
1020
1355
|
* See documentation of {@Link CallErrors} for details.
|
1021
1356
|
*/
|
1022
1357
|
latestErrors: CallErrors;
|
1358
|
+
/**
|
1359
|
+
* A phone number in E.164 format that will be used to represent callers identity.
|
1360
|
+
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1361
|
+
* be used as the caller id in the PSTN call.
|
1362
|
+
*/
|
1363
|
+
alternateCallerId?: string;
|
1364
|
+
/**
|
1365
|
+
* state to track the environment that the stateful client was made in is supported
|
1366
|
+
*/
|
1367
|
+
environmentInfo?: EnvironmentInfo;
|
1023
1368
|
}
|
1024
1369
|
|
1025
1370
|
/**
|
@@ -1081,9 +1426,11 @@ export declare type CallCompositeIcons = {
|
|
1081
1426
|
NoticePageJoinCallFailedDueToNoNetwork?: JSX.Element;
|
1082
1427
|
NoticePageLeftCall?: JSX.Element;
|
1083
1428
|
NoticePageRemovedFromCall?: JSX.Element;
|
1429
|
+
NoticePageCallRejected?: JSX.Element;
|
1084
1430
|
NoticePageNotInvitedToRoom?: JSX.Element;
|
1085
1431
|
NoticePageRoomNotFound?: JSX.Element;
|
1086
1432
|
NoticePageRoomNotValid?: JSX.Element;
|
1433
|
+
NoticePageCallTimeout?: JSX.Element;
|
1087
1434
|
OptionsCamera?: JSX.Element;
|
1088
1435
|
OptionsMic?: JSX.Element;
|
1089
1436
|
OptionsSpeaker?: JSX.Element;
|
@@ -1093,6 +1440,9 @@ export declare type CallCompositeIcons = {
|
|
1093
1440
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1094
1441
|
VideoTileMicOff?: JSX.Element;
|
1095
1442
|
LocalCameraSwitch?: JSX.Element;
|
1443
|
+
PeoplePaneAddPerson?: JSX.Element;
|
1444
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
1445
|
+
DialpadStartCall?: JSX.Element;
|
1096
1446
|
NoticePageInviteToRoomRemoved?: JSX.Element;
|
1097
1447
|
BlurVideoBackground?: JSX.Element;
|
1098
1448
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
@@ -1124,10 +1474,66 @@ export declare type CallCompositeOptions = {
|
|
1124
1474
|
* @defaultValue true
|
1125
1475
|
*/
|
1126
1476
|
callControls?: boolean | CallControlOptions;
|
1477
|
+
/**
|
1478
|
+
* Device permissions check options for your call.
|
1479
|
+
* Here you can choose what device permissions you prompt the user for,
|
1480
|
+
* as well as what device permissions must be accepted before starting a call.
|
1481
|
+
*/
|
1482
|
+
deviceChecks?: DeviceCheckOptions;
|
1483
|
+
/**
|
1484
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1485
|
+
* unable to grant your site the required permissions for the call.
|
1486
|
+
*
|
1487
|
+
* @example
|
1488
|
+
* ```ts
|
1489
|
+
* onPermissionsTroubleshootingClick: () =>
|
1490
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1491
|
+
* ```
|
1492
|
+
*
|
1493
|
+
* @remarks
|
1494
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1495
|
+
*/
|
1496
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1497
|
+
camera: PermissionState;
|
1498
|
+
microphone: PermissionState;
|
1499
|
+
}) => void;
|
1500
|
+
/**
|
1501
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1502
|
+
* having network issues when connecting to the call.
|
1503
|
+
*
|
1504
|
+
* @example
|
1505
|
+
* ```ts
|
1506
|
+
* onNetworkingTroubleShootingClick?: () =>
|
1507
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1508
|
+
* ```
|
1509
|
+
*
|
1510
|
+
* @remarks
|
1511
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1512
|
+
*/
|
1513
|
+
onNetworkingTroubleShootingClick?: () => void;
|
1514
|
+
/**
|
1515
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1516
|
+
*
|
1517
|
+
* @example
|
1518
|
+
* ```ts
|
1519
|
+
* onBrowserTroubleShootingClick?: () =>
|
1520
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1521
|
+
* ```
|
1522
|
+
*
|
1523
|
+
* @remarks
|
1524
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
1525
|
+
*/
|
1526
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1127
1527
|
/**
|
1128
1528
|
* Remote participant video tile menu options
|
1129
1529
|
*/
|
1130
1530
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
1531
|
+
/**
|
1532
|
+
* Options for controlling the local video tile.
|
1533
|
+
*
|
1534
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
1535
|
+
*/
|
1536
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
1131
1537
|
/**
|
1132
1538
|
* Options for controlling the starting layout of the composite's video gallery
|
1133
1539
|
*/
|
@@ -1137,6 +1543,74 @@ export declare type CallCompositeOptions = {
|
|
1137
1543
|
*/
|
1138
1544
|
layout?: VideoGalleryLayout;
|
1139
1545
|
};
|
1546
|
+
/**
|
1547
|
+
* Options for end of call survey
|
1548
|
+
*/
|
1549
|
+
surveyOptions?: {
|
1550
|
+
/**
|
1551
|
+
* Hide call survey at the end of a call.
|
1552
|
+
* @defaultValue false
|
1553
|
+
*/
|
1554
|
+
hideSurvey?: boolean;
|
1555
|
+
/**
|
1556
|
+
* Optional callback to handle survey data including free form text response
|
1557
|
+
* Note that free form text response survey option is only going to be enabled when this callback is provided
|
1558
|
+
* User will need to handle all free form text response on their own
|
1559
|
+
*/
|
1560
|
+
onSurveySubmitted?: (callId: string, surveyId: string,
|
1561
|
+
/**
|
1562
|
+
* This is the survey results containing star survey data and API tag survey data.
|
1563
|
+
* This part of the result will always be sent to the calling sdk
|
1564
|
+
* This callback provides user with the ability to gain access to survey data
|
1565
|
+
*/
|
1566
|
+
submittedSurvey: CallSurvey,
|
1567
|
+
/**
|
1568
|
+
* This is the survey results containing free form text
|
1569
|
+
* This part of the result will not be handled by composites
|
1570
|
+
* User will need to collect and handle this information 100% on their own
|
1571
|
+
* Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
|
1572
|
+
*/
|
1573
|
+
improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
|
1574
|
+
};
|
1575
|
+
/**
|
1576
|
+
* Options for setting additional customizations related to personalized branding.
|
1577
|
+
*/
|
1578
|
+
branding?: {
|
1579
|
+
/**
|
1580
|
+
* Logo displayed on the configuration page.
|
1581
|
+
*/
|
1582
|
+
logo?: {
|
1583
|
+
/**
|
1584
|
+
* URL for the logo image.
|
1585
|
+
*
|
1586
|
+
* @remarks
|
1587
|
+
* Recommended size is 80x80 pixels.
|
1588
|
+
*/
|
1589
|
+
url: string;
|
1590
|
+
/**
|
1591
|
+
* Alt text for the logo image.
|
1592
|
+
*/
|
1593
|
+
alt?: string;
|
1594
|
+
/**
|
1595
|
+
* The logo can be displayed as a circle.
|
1596
|
+
*
|
1597
|
+
* @defaultValue 'unset'
|
1598
|
+
*/
|
1599
|
+
shape?: 'unset' | 'circle';
|
1600
|
+
};
|
1601
|
+
/**
|
1602
|
+
* Background image displayed on the configuration page.
|
1603
|
+
*/
|
1604
|
+
backgroundImage?: {
|
1605
|
+
/**
|
1606
|
+
* URL for the background image.
|
1607
|
+
*
|
1608
|
+
* @remarks
|
1609
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
1610
|
+
*/
|
1611
|
+
url: string;
|
1612
|
+
};
|
1613
|
+
};
|
1140
1614
|
};
|
1141
1615
|
|
1142
1616
|
/**
|
@@ -1144,7 +1618,7 @@ export declare type CallCompositeOptions = {
|
|
1144
1618
|
*
|
1145
1619
|
* @public
|
1146
1620
|
*/
|
1147
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1621
|
+
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';
|
1148
1622
|
|
1149
1623
|
/**
|
1150
1624
|
* Props for {@link CallComposite}.
|
@@ -1391,63 +1865,127 @@ export declare interface CallCompositeStrings {
|
|
1391
1865
|
*/
|
1392
1866
|
dismissSidePaneButtonLabel?: string;
|
1393
1867
|
/**
|
1394
|
-
*
|
1868
|
+
* Side pane People section subheader.
|
1395
1869
|
*/
|
1396
|
-
|
1870
|
+
peoplePaneSubTitle: string;
|
1397
1871
|
/**
|
1398
|
-
*
|
1872
|
+
* Label for button to copy invite link
|
1399
1873
|
*/
|
1400
|
-
|
1874
|
+
copyInviteLinkButtonLabel: string;
|
1401
1875
|
/**
|
1402
|
-
*
|
1876
|
+
* Label for button to open dialpad
|
1403
1877
|
*/
|
1404
|
-
|
1878
|
+
openDialpadButtonLabel: string;
|
1405
1879
|
/**
|
1406
|
-
*
|
1880
|
+
* Label for menu item to remove participant
|
1407
1881
|
*/
|
1408
|
-
|
1882
|
+
removeMenuLabel: string;
|
1409
1883
|
/**
|
1410
|
-
*
|
1884
|
+
* Label for add people dropdown
|
1411
1885
|
*/
|
1412
|
-
|
1886
|
+
peoplePaneAddPeopleButtonLabel: string;
|
1413
1887
|
/**
|
1414
|
-
*
|
1888
|
+
* Label for button to start a call
|
1415
1889
|
*/
|
1416
|
-
|
1890
|
+
dialpadStartCallButtonLabel: string;
|
1417
1891
|
/**
|
1418
|
-
* Title
|
1892
|
+
* Title for dialpad Modal
|
1419
1893
|
*/
|
1420
|
-
|
1894
|
+
dialpadModalTitle: string;
|
1421
1895
|
/**
|
1422
|
-
*
|
1896
|
+
* Aria Label for dialpad Modal
|
1423
1897
|
*/
|
1424
|
-
|
1898
|
+
dialpadModalAriaLabel: string;
|
1425
1899
|
/**
|
1426
|
-
*
|
1900
|
+
* Aria Label for dialpad Modal close button
|
1427
1901
|
*/
|
1428
|
-
|
1902
|
+
dialpadCloseModalButtonAriaLabel: string;
|
1429
1903
|
/**
|
1430
|
-
*
|
1904
|
+
* label for more button in the Calling composite
|
1431
1905
|
*/
|
1432
|
-
|
1906
|
+
moreButtonCallingLabel: string;
|
1433
1907
|
/**
|
1434
|
-
* Label for the button
|
1908
|
+
* Label for the resume call button on the hold pane
|
1435
1909
|
*/
|
1436
|
-
|
1910
|
+
resumeCallButtonLabel: string;
|
1437
1911
|
/**
|
1438
|
-
*
|
1912
|
+
* Label for the resume call button on the hold pane when call is resuming
|
1439
1913
|
*/
|
1440
|
-
|
1914
|
+
resumingCallButtonLabel: string;
|
1441
1915
|
/**
|
1442
|
-
*
|
1916
|
+
* Aria label for the resume call button on the hold pane
|
1443
1917
|
*/
|
1444
|
-
|
1918
|
+
resumeCallButtonAriaLabel: string;
|
1445
1919
|
/**
|
1446
|
-
*
|
1920
|
+
* Aria label for the resume call button on the hold pane when call is resuming
|
1447
1921
|
*/
|
1448
|
-
|
1922
|
+
resumingCallButtonAriaLabel: string;
|
1449
1923
|
/**
|
1450
|
-
* Label for the
|
1924
|
+
* Label for the hold pane
|
1925
|
+
*/
|
1926
|
+
holdScreenLabel: string;
|
1927
|
+
/**
|
1928
|
+
* Placeholder text for dtmf dialpad
|
1929
|
+
*/
|
1930
|
+
dtmfDialpadPlaceholderText: string;
|
1931
|
+
/**
|
1932
|
+
* Label for the button to open dtmf dialpad
|
1933
|
+
*/
|
1934
|
+
openDtmfDialpadLabel: string;
|
1935
|
+
/**
|
1936
|
+
* aria label for when the invite link has been actioned
|
1937
|
+
*/
|
1938
|
+
copyInviteLinkActionedAriaLabel: string;
|
1939
|
+
/**
|
1940
|
+
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1941
|
+
*/
|
1942
|
+
roomNotFoundTitle: string;
|
1943
|
+
/**
|
1944
|
+
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1945
|
+
*/
|
1946
|
+
roomNotFoundDetails?: string;
|
1947
|
+
/**
|
1948
|
+
* Title text of the page shown to the user when the user attempts to join a room that is not valid.
|
1949
|
+
*/
|
1950
|
+
roomNotValidTitle: string;
|
1951
|
+
/**
|
1952
|
+
* More details text of the page shown to the user when the user attempts to join a room that is not valid.
|
1953
|
+
*/
|
1954
|
+
roomNotValidDetails?: string;
|
1955
|
+
/**
|
1956
|
+
* Title text of the page shown to the user when the user's permission to join the room is removed.
|
1957
|
+
*/
|
1958
|
+
inviteToRoomRemovedTitle: string;
|
1959
|
+
/**
|
1960
|
+
* More details text of the page shown to the user when the user's permission to join the room is removed.
|
1961
|
+
*/
|
1962
|
+
inviteToRoomRemovedDetails?: string;
|
1963
|
+
/**
|
1964
|
+
* Video Effects pane title.
|
1965
|
+
*/
|
1966
|
+
videoEffectsPaneTitle: string;
|
1967
|
+
/**
|
1968
|
+
* Video Effects pane sub section title for choosing background.
|
1969
|
+
*/
|
1970
|
+
videoEffectsPaneBackgroundSelectionTitle: string;
|
1971
|
+
/**
|
1972
|
+
* Label for the button to open effects
|
1973
|
+
*/
|
1974
|
+
configurationPageVideoEffectsButtonLabel?: string;
|
1975
|
+
/**
|
1976
|
+
* Error message for video effect failure
|
1977
|
+
*/
|
1978
|
+
unableToStartVideoEffect?: string;
|
1979
|
+
/**
|
1980
|
+
* Label for the blur video background effect item
|
1981
|
+
*/
|
1982
|
+
blurBackgroundEffectButtonLabel?: string;
|
1983
|
+
/**
|
1984
|
+
* Tooltip text for the blur video background effect item
|
1985
|
+
*/
|
1986
|
+
blurBackgroundTooltip?: string;
|
1987
|
+
/**
|
1988
|
+
* Label for the remove video background effect item
|
1451
1989
|
*/
|
1452
1990
|
removeBackgroundEffectButtonLabel?: string;
|
1453
1991
|
/**
|
@@ -1466,6 +2004,18 @@ export declare interface CallCompositeStrings {
|
|
1466
2004
|
* More details text of the page shown to the user when the user attempts to join a room they are not invited to.
|
1467
2005
|
*/
|
1468
2006
|
notInvitedToRoomDetails?: string;
|
2007
|
+
/**
|
2008
|
+
* Control bar People button ToolTipContent
|
2009
|
+
*/
|
2010
|
+
peopleButtonTooltipOpen: string;
|
2011
|
+
/**
|
2012
|
+
* Control bar People button ToolTipContent
|
2013
|
+
*/
|
2014
|
+
peopleButtonTooltipClose: string;
|
2015
|
+
/**
|
2016
|
+
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
2017
|
+
*/
|
2018
|
+
outboundCallingNoticeString: string;
|
1469
2019
|
/**
|
1470
2020
|
* Notice to be announced by narrator when a participant joins a call
|
1471
2021
|
*/
|
@@ -1590,6 +2140,58 @@ export declare interface CallCompositeStrings {
|
|
1590
2140
|
* captions banner loading spinner label
|
1591
2141
|
*/
|
1592
2142
|
captionsBannerSpinnerText?: string;
|
2143
|
+
/**
|
2144
|
+
* transfer page text when showing the transferor who initiated the transfer
|
2145
|
+
*/
|
2146
|
+
transferPageTransferorText: string;
|
2147
|
+
/**
|
2148
|
+
* transfer page text when showing the transfer target
|
2149
|
+
*/
|
2150
|
+
transferPageTransferTargetText: string;
|
2151
|
+
/**
|
2152
|
+
* transfer page display name for unknown participant
|
2153
|
+
*/
|
2154
|
+
transferPageUnknownTransferorDisplayName: string;
|
2155
|
+
/**
|
2156
|
+
* transfer page display name for unknown participant
|
2157
|
+
*/
|
2158
|
+
transferPageUnknownTransferTargetDisplayName: string;
|
2159
|
+
/**
|
2160
|
+
* notice to be announced by narrator the transfer page is showing
|
2161
|
+
*/
|
2162
|
+
transferPageNoticeString: string;
|
2163
|
+
/**
|
2164
|
+
* Title text of the page shown to the user when target participant could not be reached
|
2165
|
+
*/
|
2166
|
+
participantCouldNotBeReachedTitle?: string;
|
2167
|
+
/**
|
2168
|
+
* More details text of the page shown to the user when target participant could not be reached
|
2169
|
+
*/
|
2170
|
+
participantCouldNotBeReachedMoreDetails?: string;
|
2171
|
+
/**
|
2172
|
+
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2173
|
+
*/
|
2174
|
+
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2175
|
+
/**
|
2176
|
+
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2177
|
+
*/
|
2178
|
+
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2179
|
+
/**
|
2180
|
+
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2181
|
+
*/
|
2182
|
+
unableToResolveTenantTitle?: string;
|
2183
|
+
/**
|
2184
|
+
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2185
|
+
*/
|
2186
|
+
unableToResolveTenantMoreDetails?: string;
|
2187
|
+
/**
|
2188
|
+
* Title text of the page shown to the user when target participant id is malformed
|
2189
|
+
*/
|
2190
|
+
participantIdIsMalformedTitle?: string;
|
2191
|
+
/**
|
2192
|
+
* More details text of the page shown to the user when target participant id is malformed
|
2193
|
+
*/
|
2194
|
+
participantIdIsMalformedMoreDetails?: string;
|
1593
2195
|
/**
|
1594
2196
|
* Controls label to move the overflow gallery around
|
1595
2197
|
*/
|
@@ -1622,10 +2224,90 @@ export declare interface CallCompositeStrings {
|
|
1622
2224
|
* All strings for capability changed notification
|
1623
2225
|
*/
|
1624
2226
|
capabilityChangedNotification?: CapabilityChangedNotificationStrings;
|
2227
|
+
/**
|
2228
|
+
* Question for the survey
|
2229
|
+
*/
|
2230
|
+
surveyQuestion: string;
|
2231
|
+
/**
|
2232
|
+
* Helper text to explain what the survey is for
|
2233
|
+
*/
|
2234
|
+
starSurveyHelperText: string;
|
2235
|
+
/**
|
2236
|
+
* Helper text displayed below survey question after user select one star
|
2237
|
+
*/
|
2238
|
+
starSurveyOneStarText: string;
|
2239
|
+
/**
|
2240
|
+
* Helper text displayed below survey question after user select two star
|
2241
|
+
*/
|
2242
|
+
starSurveyTwoStarText: string;
|
2243
|
+
/**
|
2244
|
+
* Helper text displayed below survey question after user select three star
|
2245
|
+
*/
|
2246
|
+
starSurveyThreeStarText: string;
|
2247
|
+
/**
|
2248
|
+
* Helper text displayed below survey question after user select four star
|
2249
|
+
*/
|
2250
|
+
starSurveyFourStarText: string;
|
2251
|
+
/**
|
2252
|
+
* Helper text displayed below survey question after user select five star
|
2253
|
+
*/
|
2254
|
+
starSurveyFiveStarText: string;
|
2255
|
+
/**
|
2256
|
+
* Aria Label for each individual star rating
|
2257
|
+
*/
|
2258
|
+
starRatingAriaLabel: string;
|
2259
|
+
/**
|
2260
|
+
* Tags Survey Question
|
2261
|
+
*/
|
2262
|
+
tagsSurveyQuestion: string;
|
2263
|
+
/**
|
2264
|
+
* Default text for free form text field inside tags survey
|
2265
|
+
*/
|
2266
|
+
tagsSurveyTextFieldDefaultText: string;
|
2267
|
+
/**
|
2268
|
+
* Tags Survey helper text
|
2269
|
+
*/
|
2270
|
+
tagsSurveyHelperText: string;
|
2271
|
+
/**
|
2272
|
+
* Confirm button label for survey
|
2273
|
+
*/
|
2274
|
+
surveyConfirmButtonLabel: string;
|
2275
|
+
/**
|
2276
|
+
* Aria Label for cancel button
|
2277
|
+
*/
|
2278
|
+
surveyCancelButtonAriaLabel: string;
|
2279
|
+
/**
|
2280
|
+
* Default text for free form text box
|
2281
|
+
*/
|
2282
|
+
surveyTextboxDefaultText: string;
|
2283
|
+
/**
|
2284
|
+
* Corresponding texts to each call issue
|
2285
|
+
*/
|
2286
|
+
surveyIssues: SurveyIssues;
|
2287
|
+
/**
|
2288
|
+
* Corresponding texts to each call category
|
2289
|
+
*/
|
2290
|
+
SurveyIssuesHeadingStrings: SurveyIssuesHeadingStrings;
|
1625
2291
|
/**
|
1626
2292
|
* String for the dismiss control on the local and remote PIP on mobile
|
1627
2293
|
*/
|
1628
2294
|
dismissModalAriaLabel?: string;
|
2295
|
+
/**
|
2296
|
+
* String for title when the call is rejected by the callee
|
2297
|
+
*/
|
2298
|
+
callRejectedTitle: string;
|
2299
|
+
/**
|
2300
|
+
* String for more details when the call is rejected by the callee
|
2301
|
+
*/
|
2302
|
+
callRejectedMoreDetails?: string;
|
2303
|
+
/**
|
2304
|
+
* String for title when the call times out because the remote user does not answer
|
2305
|
+
*/
|
2306
|
+
callTimeoutTitle?: string;
|
2307
|
+
/**
|
2308
|
+
* String for more details when the call times out because the remote user does not answer
|
2309
|
+
*/
|
2310
|
+
callTimeoutDetails?: string;
|
1629
2311
|
}
|
1630
2312
|
|
1631
2313
|
/**
|
@@ -1640,7 +2322,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
|
|
1640
2322
|
*
|
1641
2323
|
* @public
|
1642
2324
|
*/
|
1643
|
-
export declare type CallControlOptions =
|
2325
|
+
export declare type CallControlOptions = CommonCallControlOptions & {
|
1644
2326
|
/**
|
1645
2327
|
* Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
|
1646
2328
|
* @defaultValue true
|
@@ -1649,7 +2331,7 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
|
|
1649
2331
|
disabled: boolean;
|
1650
2332
|
};
|
1651
2333
|
legacyControlBarExperience?: boolean;
|
1652
|
-
}
|
2334
|
+
};
|
1653
2335
|
|
1654
2336
|
/**
|
1655
2337
|
* Callback for {@link CallAdapterSubscribers} 'callEnded' event.
|
@@ -1710,7 +2392,7 @@ export declare type CallErrors = {
|
|
1710
2392
|
*
|
1711
2393
|
* @public
|
1712
2394
|
*/
|
1713
|
-
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';
|
2395
|
+
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' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.setConstraints';
|
1714
2396
|
|
1715
2397
|
/**
|
1716
2398
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1757,6 +2439,25 @@ export declare type CallingHandlersOptions = {
|
|
1757
2439
|
*/
|
1758
2440
|
export declare type CallingReturnProps<Component extends (props: any) => JSX.Element> = GetCallingSelector<Component> extends (state: CallClientState, props: any) => any ? ReturnType<GetCallingSelector<Component>> & Common<CallingHandlers, Parameters<Component>[0]> : never;
|
1759
2441
|
|
2442
|
+
/**
|
2443
|
+
* @beta
|
2444
|
+
* Type for representing a set of sounds to use for different calling events
|
2445
|
+
*/
|
2446
|
+
export declare type CallingSounds = {
|
2447
|
+
/**
|
2448
|
+
* Sound to be played when the call ends
|
2449
|
+
*/
|
2450
|
+
callEnded?: SoundEffect;
|
2451
|
+
/**
|
2452
|
+
* Sound to be played when the call is ringing
|
2453
|
+
*/
|
2454
|
+
callRinging?: SoundEffect;
|
2455
|
+
/**
|
2456
|
+
* Sound to be played when the call is rejected by the user being callede
|
2457
|
+
*/
|
2458
|
+
callBusy?: SoundEffect;
|
2459
|
+
};
|
2460
|
+
|
1760
2461
|
/**
|
1761
2462
|
* Custom Fluent theme palette used by calling related components in this library.
|
1762
2463
|
*
|
@@ -1790,6 +2491,23 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
1790
2491
|
raisedHand?: RaisedHand;
|
1791
2492
|
};
|
1792
2493
|
|
2494
|
+
/**
|
2495
|
+
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2496
|
+
*
|
2497
|
+
* @remarks
|
2498
|
+
* This is currently in beta and only supports calling one Teams User.
|
2499
|
+
*
|
2500
|
+
* @example
|
2501
|
+
* ```
|
2502
|
+
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2503
|
+
* ```
|
2504
|
+
*
|
2505
|
+
* @beta
|
2506
|
+
*/
|
2507
|
+
export declare type CallParticipantsLocator = {
|
2508
|
+
participantIds: string[];
|
2509
|
+
};
|
2510
|
+
|
1793
2511
|
/**
|
1794
2512
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
1795
2513
|
*
|
@@ -1806,7 +2524,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
1806
2524
|
*/
|
1807
2525
|
export declare interface CallProviderProps {
|
1808
2526
|
children: React_2.ReactNode;
|
1809
|
-
call?: Call;
|
2527
|
+
call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
1810
2528
|
}
|
1811
2529
|
|
1812
2530
|
/**
|
@@ -1820,6 +2538,10 @@ export declare interface CallState {
|
|
1820
2538
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
1821
2539
|
*/
|
1822
2540
|
id: string;
|
2541
|
+
/**
|
2542
|
+
* Type of the call.
|
2543
|
+
*/
|
2544
|
+
kind: CallKind;
|
1823
2545
|
/**
|
1824
2546
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
1825
2547
|
*/
|
@@ -1918,10 +2640,45 @@ export declare interface CallState {
|
|
1918
2640
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
1919
2641
|
*/
|
1920
2642
|
role?: ParticipantRole;
|
2643
|
+
/**
|
2644
|
+
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2645
|
+
*/
|
2646
|
+
totalParticipantCount?: number;
|
2647
|
+
/**
|
2648
|
+
* Transfer state of call
|
2649
|
+
*/
|
2650
|
+
transfer: TransferFeature;
|
1921
2651
|
/**
|
1922
2652
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
1923
2653
|
*/
|
1924
2654
|
capabilitiesFeature?: CapabilitiesFeatureState;
|
2655
|
+
/**
|
2656
|
+
* Hide attendee names in teams meeting
|
2657
|
+
*/
|
2658
|
+
hideAttendeeNames?: boolean;
|
2659
|
+
}
|
2660
|
+
|
2661
|
+
/**
|
2662
|
+
* Represents the improvement suggestion part of call survey
|
2663
|
+
* @beta
|
2664
|
+
*/
|
2665
|
+
export declare interface CallSurveyImprovementSuggestions {
|
2666
|
+
/**
|
2667
|
+
* Improvement suggestions for overall call
|
2668
|
+
*/
|
2669
|
+
overall?: string;
|
2670
|
+
/**
|
2671
|
+
* Improvement suggestions for audio experience
|
2672
|
+
*/
|
2673
|
+
audio?: string;
|
2674
|
+
/**
|
2675
|
+
* Improvement suggestions for video experience
|
2676
|
+
*/
|
2677
|
+
video?: string;
|
2678
|
+
/**
|
2679
|
+
* Improvement suggestions for screenshare experience
|
2680
|
+
*/
|
2681
|
+
screenshare?: string;
|
1925
2682
|
}
|
1926
2683
|
|
1927
2684
|
/**
|
@@ -1945,6 +2702,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
1945
2702
|
* @public
|
1946
2703
|
*/
|
1947
2704
|
removeParticipant(userId: string): Promise<void>;
|
2705
|
+
/**
|
2706
|
+
* Remove a participant from the call.
|
2707
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2708
|
+
* @beta
|
2709
|
+
*/
|
2710
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
1948
2711
|
/**
|
1949
2712
|
* Join the call with microphone initially on/off.
|
1950
2713
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2010,6 +2773,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
2010
2773
|
* @public
|
2011
2774
|
*/
|
2012
2775
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2776
|
+
/**
|
2777
|
+
* Start the call.
|
2778
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2779
|
+
* @beta
|
2780
|
+
*/
|
2781
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
2013
2782
|
/**
|
2014
2783
|
* Start sharing the screen during a call.
|
2015
2784
|
*
|
@@ -2199,6 +2968,52 @@ export declare interface CallWithChatAdapterManagement {
|
|
2199
2968
|
* @public
|
2200
2969
|
*/
|
2201
2970
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2971
|
+
/** @beta */
|
2972
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2973
|
+
/** @beta */
|
2974
|
+
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
2975
|
+
/** @beta */
|
2976
|
+
clearFileUploads: () => void;
|
2977
|
+
/** @beta */
|
2978
|
+
cancelFileUpload: (id: string) => void;
|
2979
|
+
/** @beta */
|
2980
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
2981
|
+
/** @beta */
|
2982
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2983
|
+
/** @beta */
|
2984
|
+
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
2985
|
+
downloadAttachments: (options: {
|
2986
|
+
attachmentUrls: Record<string, string>;
|
2987
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
2988
|
+
/**
|
2989
|
+
* Puts the Call in a Localhold.
|
2990
|
+
*
|
2991
|
+
* @beta
|
2992
|
+
*/
|
2993
|
+
holdCall: () => Promise<void>;
|
2994
|
+
/**
|
2995
|
+
* Resumes the call from a LocalHold state.
|
2996
|
+
*
|
2997
|
+
* @beta
|
2998
|
+
*/
|
2999
|
+
resumeCall: () => Promise<void>;
|
3000
|
+
/**
|
3001
|
+
* Adds a new Participant to the call.
|
3002
|
+
*
|
3003
|
+
* @beta
|
3004
|
+
*/
|
3005
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
3006
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
3007
|
+
/**
|
3008
|
+
* send dtmf tone to another participant in the call in 1:1 calls
|
3009
|
+
*
|
3010
|
+
* @beta
|
3011
|
+
*/
|
3012
|
+
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3013
|
+
/**
|
3014
|
+
* Continues into a call when the browser version is not supported.
|
3015
|
+
*/
|
3016
|
+
allowUnsupportedBrowserVersion(): void;
|
2202
3017
|
/**
|
2203
3018
|
* Function to Start captions
|
2204
3019
|
* @param options - options for start captions
|
@@ -2244,6 +3059,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
2244
3059
|
* @public
|
2245
3060
|
*/
|
2246
3061
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
3062
|
+
/**
|
3063
|
+
* Send the end of call survey result
|
3064
|
+
*
|
3065
|
+
* @beta
|
3066
|
+
*/
|
3067
|
+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
2247
3068
|
}
|
2248
3069
|
|
2249
3070
|
/**
|
@@ -2324,6 +3145,22 @@ export declare interface CallWithChatAdapterUiState {
|
|
2324
3145
|
* @public
|
2325
3146
|
*/
|
2326
3147
|
page: CallCompositePage;
|
3148
|
+
/**
|
3149
|
+
* Files being uploaded by a user in the current thread.
|
3150
|
+
* Should be set to null once the upload is complete.
|
3151
|
+
* Array of type {@link FileUploadsUiState}
|
3152
|
+
*
|
3153
|
+
* @beta
|
3154
|
+
*/
|
3155
|
+
fileUploads?: FileUploadsUiState;
|
3156
|
+
/**
|
3157
|
+
* State to track whether the end user has opted in to using a
|
3158
|
+
* out of date version of a supported browser. Allows the user
|
3159
|
+
* to start a call in this state.
|
3160
|
+
*
|
3161
|
+
* @beta
|
3162
|
+
*/
|
3163
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
2327
3164
|
}
|
2328
3165
|
|
2329
3166
|
/**
|
@@ -2348,12 +3185,18 @@ export declare interface CallWithChatClientState {
|
|
2348
3185
|
devices: DeviceManagerState;
|
2349
3186
|
/** State of whether the active call is a Teams interop call */
|
2350
3187
|
isTeamsCall: boolean;
|
3188
|
+
/** alternateCallerId for PSTN call */
|
3189
|
+
alternateCallerId?: string | undefined;
|
3190
|
+
/** Environment information for system adapter is made on */
|
3191
|
+
environmentInfo?: EnvironmentInfo;
|
2351
3192
|
/** Default set of background images for background replacement effect */
|
2352
3193
|
videoBackgroundImages?: VideoBackgroundImage[];
|
2353
3194
|
/** Dependency to be injected for video background effects */
|
2354
3195
|
onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
2355
3196
|
/** State to track the selected video background effect */
|
2356
3197
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
3198
|
+
/** Hide attendee names in teams meeting */
|
3199
|
+
hideAttendeeNames?: boolean;
|
2357
3200
|
}
|
2358
3201
|
|
2359
3202
|
/**
|
@@ -2422,6 +3265,9 @@ export declare type CallWithChatCompositeIcons = {
|
|
2422
3265
|
ParticipantItemScreenShareStart?: JSX.Element;
|
2423
3266
|
VideoTileMicOff?: JSX.Element;
|
2424
3267
|
LocalCameraSwitch?: JSX.Element;
|
3268
|
+
PeoplePaneAddPerson?: JSX.Element;
|
3269
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
3270
|
+
DialpadStartCall?: JSX.Element;
|
2425
3271
|
DefaultCustomButton?: JSX.Element;
|
2426
3272
|
EditBoxCancel?: JSX.Element;
|
2427
3273
|
EditBoxSubmit?: JSX.Element;
|
@@ -2449,10 +3295,72 @@ export declare type CallWithChatCompositeOptions = {
|
|
2449
3295
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
2450
3296
|
*/
|
2451
3297
|
callControls?: boolean | CallWithChatControlOptions;
|
3298
|
+
/**
|
3299
|
+
* Properties for configuring the File Sharing feature.
|
3300
|
+
* If undefined, file sharing feature will be disabled.
|
3301
|
+
* @beta
|
3302
|
+
*/
|
3303
|
+
fileSharing?: FileSharingOptions;
|
3304
|
+
/**
|
3305
|
+
* Device permissions check options for your call.
|
3306
|
+
* Here you can choose what device permissions you prompt the user for,
|
3307
|
+
* as well as what device permissions must be accepted before starting a call.
|
3308
|
+
*/
|
3309
|
+
deviceChecks?: DeviceCheckOptions;
|
3310
|
+
/**
|
3311
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3312
|
+
* unable to grant your site the required permissions for the call.
|
3313
|
+
*
|
3314
|
+
* @example
|
3315
|
+
* ```ts
|
3316
|
+
* onPermissionsTroubleshootingClick: () =>
|
3317
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3318
|
+
* ```
|
3319
|
+
*
|
3320
|
+
* @remarks
|
3321
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3322
|
+
*/
|
3323
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3324
|
+
camera: PermissionState;
|
3325
|
+
microphone: PermissionState;
|
3326
|
+
}) => void;
|
3327
|
+
/**
|
3328
|
+
* Optional callback to supply users with further troubleshooting steps for network issues
|
3329
|
+
* experienced when connecting to a call.
|
3330
|
+
*
|
3331
|
+
* @example
|
3332
|
+
* ```ts
|
3333
|
+
* onNetworkingTroubleShootingClick?: () =>
|
3334
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3335
|
+
* ```
|
3336
|
+
*
|
3337
|
+
* @remarks
|
3338
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3339
|
+
*/
|
3340
|
+
onNetworkingTroubleShootingClick?: () => void;
|
3341
|
+
/**
|
3342
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3343
|
+
*
|
3344
|
+
* @example
|
3345
|
+
* ```ts
|
3346
|
+
* onBrowserTroubleShootingClick?: () =>
|
3347
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3348
|
+
* ```
|
3349
|
+
*
|
3350
|
+
* @remarks
|
3351
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
3352
|
+
*/
|
3353
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2452
3354
|
/**
|
2453
3355
|
* Remote participant video tile menu options
|
2454
3356
|
*/
|
2455
3357
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
3358
|
+
/**
|
3359
|
+
* Options for controlling the local video tile.
|
3360
|
+
*
|
3361
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
3362
|
+
*/
|
3363
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
2456
3364
|
/**
|
2457
3365
|
* Options for controlling the starting layout of the composite's video gallery
|
2458
3366
|
*/
|
@@ -2462,6 +3370,74 @@ export declare type CallWithChatCompositeOptions = {
|
|
2462
3370
|
*/
|
2463
3371
|
layout?: VideoGalleryLayout;
|
2464
3372
|
};
|
3373
|
+
/**
|
3374
|
+
* Options for end of call survey
|
3375
|
+
*/
|
3376
|
+
surveyOptions?: {
|
3377
|
+
/**
|
3378
|
+
* Hide call survey at the end of a call.
|
3379
|
+
* @defaultValue false
|
3380
|
+
*/
|
3381
|
+
hideSurvey?: boolean;
|
3382
|
+
/**
|
3383
|
+
* Optional callback to handle survey data including free form text response
|
3384
|
+
* Note that free form text response survey option is only going to be enabled when this callback is provided
|
3385
|
+
* User will need to handle all free form text response on their own
|
3386
|
+
*/
|
3387
|
+
onSurveySubmitted?: (callId: string, surveyId: string,
|
3388
|
+
/**
|
3389
|
+
* This is the survey results containing star survey data and API tag survey data.
|
3390
|
+
* This part of the result will always be sent to the calling sdk
|
3391
|
+
* This callback provides user with the ability to gain access to survey data
|
3392
|
+
*/
|
3393
|
+
submittedSurvey: CallSurvey,
|
3394
|
+
/**
|
3395
|
+
* This is the survey results containing free form text
|
3396
|
+
* This part of the result will not be handled by composites
|
3397
|
+
* User will need to collect and handle this information 100% on their own
|
3398
|
+
* Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
|
3399
|
+
*/
|
3400
|
+
improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
|
3401
|
+
};
|
3402
|
+
/**
|
3403
|
+
* Options for setting additional customizations related to personalized branding.
|
3404
|
+
*/
|
3405
|
+
branding?: {
|
3406
|
+
/**
|
3407
|
+
* Logo displayed on the configuration page.
|
3408
|
+
*/
|
3409
|
+
logo?: {
|
3410
|
+
/**
|
3411
|
+
* URL for the logo image.
|
3412
|
+
*
|
3413
|
+
* @remarks
|
3414
|
+
* Recommended size is 80x80 pixels.
|
3415
|
+
*/
|
3416
|
+
url: string;
|
3417
|
+
/**
|
3418
|
+
* Alt text for the logo image.
|
3419
|
+
*/
|
3420
|
+
alt?: string;
|
3421
|
+
/**
|
3422
|
+
* The logo can be displayed as a circle.
|
3423
|
+
*
|
3424
|
+
* @defaultValue 'unset'
|
3425
|
+
*/
|
3426
|
+
shape?: 'unset' | 'circle';
|
3427
|
+
};
|
3428
|
+
/**
|
3429
|
+
* Background image displayed on the configuration page.
|
3430
|
+
*/
|
3431
|
+
backgroundImage?: {
|
3432
|
+
/**
|
3433
|
+
* URL for the background image.
|
3434
|
+
*
|
3435
|
+
* @remarks
|
3436
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
3437
|
+
*/
|
3438
|
+
url: string;
|
3439
|
+
};
|
3440
|
+
};
|
2465
3441
|
};
|
2466
3442
|
|
2467
3443
|
/**
|
@@ -2613,6 +3589,10 @@ export declare interface CallWithChatCompositeStrings {
|
|
2613
3589
|
* Label for button to copy invite link
|
2614
3590
|
*/
|
2615
3591
|
copyInviteLinkButtonLabel: string;
|
3592
|
+
/**
|
3593
|
+
* Label for button to open dialpad
|
3594
|
+
*/
|
3595
|
+
openDialpadButtonLabel: string;
|
2616
3596
|
/**
|
2617
3597
|
* Label for SidePaneHeader dismiss button
|
2618
3598
|
*/
|
@@ -2625,6 +3605,34 @@ export declare interface CallWithChatCompositeStrings {
|
|
2625
3605
|
* Aria label string for return to call back button
|
2626
3606
|
*/
|
2627
3607
|
returnToCallButtonAriaLabel?: string;
|
3608
|
+
/**
|
3609
|
+
* Label for add people dropdown
|
3610
|
+
*/
|
3611
|
+
peoplePaneAddPeopleButtonLabel: string;
|
3612
|
+
/**
|
3613
|
+
* Label for button to start a call
|
3614
|
+
*/
|
3615
|
+
dialpadStartCallButtonLabel: string;
|
3616
|
+
/**
|
3617
|
+
* Title for dialpad Modal
|
3618
|
+
*/
|
3619
|
+
dialpadModalTitle: string;
|
3620
|
+
/**
|
3621
|
+
* Aria Label for dialpad Modal
|
3622
|
+
*/
|
3623
|
+
dialpadModalAriaLabel: string;
|
3624
|
+
/**
|
3625
|
+
* Aria Label for dialpad Modal close button
|
3626
|
+
*/
|
3627
|
+
dialpadCloseModalButtonAriaLabel: string;
|
3628
|
+
/**
|
3629
|
+
* Placeholder text for dtmf dialpad
|
3630
|
+
*/
|
3631
|
+
dtmfDialpadPlaceholderText: string;
|
3632
|
+
/**
|
3633
|
+
* Label for the button to open dtmf dialpad
|
3634
|
+
*/
|
3635
|
+
openDtmfDialpadLabel: string;
|
2628
3636
|
/**
|
2629
3637
|
* aria label for when the invite link has been actioned
|
2630
3638
|
*/
|
@@ -2641,7 +3649,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2641
3649
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2642
3650
|
* @defaultValue true
|
2643
3651
|
*/
|
2644
|
-
chatButton?: boolean
|
3652
|
+
chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3653
|
+
disabled: boolean;
|
3654
|
+
};
|
2645
3655
|
}
|
2646
3656
|
|
2647
3657
|
/**
|
@@ -2651,6 +3661,35 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2651
3661
|
*/
|
2652
3662
|
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2653
3663
|
|
3664
|
+
/**
|
3665
|
+
* @beta
|
3666
|
+
*
|
3667
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3668
|
+
* by their browsers settings.
|
3669
|
+
*/
|
3670
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3671
|
+
|
3672
|
+
/**
|
3673
|
+
* @beta
|
3674
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
3675
|
+
*/
|
3676
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3677
|
+
/** Icon name for the camera icon */
|
3678
|
+
cameraIconName?: string;
|
3679
|
+
/** Icon name for the microphone icon */
|
3680
|
+
microphoneIconName?: string;
|
3681
|
+
/** Icon name for the central icon between the camera and microphone icons */
|
3682
|
+
connectorIconName?: string;
|
3683
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3684
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3685
|
+
}
|
3686
|
+
|
3687
|
+
/**
|
3688
|
+
* @beta
|
3689
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
3690
|
+
*/
|
3691
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3692
|
+
|
2654
3693
|
/**
|
2655
3694
|
* A button to turn camera on / off.
|
2656
3695
|
*
|
@@ -2807,6 +3846,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2807
3846
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
2808
3847
|
}
|
2809
3848
|
|
3849
|
+
/**
|
3850
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3851
|
+
* by their browsers settings.
|
3852
|
+
*
|
3853
|
+
* @beta
|
3854
|
+
*/
|
3855
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3856
|
+
|
3857
|
+
/**
|
3858
|
+
* @beta
|
3859
|
+
* Props for CameraSitePermissions component.
|
3860
|
+
*/
|
3861
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3862
|
+
/** Icon name for the camera icon */
|
3863
|
+
cameraIconName?: string;
|
3864
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
3865
|
+
strings?: CameraSitePermissionsStrings;
|
3866
|
+
}
|
3867
|
+
|
3868
|
+
/**
|
3869
|
+
* @beta
|
3870
|
+
* Strings for CameraSitePermissions component.
|
3871
|
+
*/
|
3872
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3873
|
+
|
2810
3874
|
/**
|
2811
3875
|
* @public
|
2812
3876
|
* Callback function run when a message edit is cancelled.
|
@@ -3012,7 +4076,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3012
4076
|
*
|
3013
4077
|
* @public
|
3014
4078
|
*/
|
3015
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
|
4079
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers & FileUploadAdapter;
|
3016
4080
|
|
3017
4081
|
/**
|
3018
4082
|
* {@link ChatAdapter} state.
|
@@ -3120,7 +4184,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3120
4184
|
/**
|
3121
4185
|
* Update a message content.
|
3122
4186
|
*/
|
3123
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
4187
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
4188
|
+
attachmentMetadata?: AttachmentMetadata[];
|
4189
|
+
}): Promise<void>;
|
3124
4190
|
/**
|
3125
4191
|
* Delete a message in the thread.
|
3126
4192
|
*/
|
@@ -3133,6 +4199,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3133
4199
|
*
|
3134
4200
|
*/
|
3135
4201
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
4202
|
+
downloadAttachments: (options: {
|
4203
|
+
attachmentUrls: Record<string, string>;
|
4204
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
3136
4205
|
}
|
3137
4206
|
|
3138
4207
|
/**
|
@@ -3142,8 +4211,21 @@ export declare interface ChatAdapterThreadManagement {
|
|
3142
4211
|
*/
|
3143
4212
|
export declare type ChatAdapterUiState = {
|
3144
4213
|
error?: Error;
|
4214
|
+
/**
|
4215
|
+
* Files being uploaded by a user in the current thread.
|
4216
|
+
* Should be set to null once the upload is complete.
|
4217
|
+
* Array of type {@link FileUploadsUiState}
|
4218
|
+
* @beta
|
4219
|
+
*/
|
4220
|
+
fileUploads?: FileUploadsUiState;
|
3145
4221
|
};
|
3146
4222
|
|
4223
|
+
/**
|
4224
|
+
* Represents the type of attachment
|
4225
|
+
* @beta
|
4226
|
+
*/
|
4227
|
+
export declare type ChatAttachmentType = 'file' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
|
4228
|
+
|
3147
4229
|
/**
|
3148
4230
|
* Common props for selectors for {@link ChatClientState}.
|
3149
4231
|
*
|
@@ -3244,6 +4326,7 @@ export declare type ChatCompositeIcons = {
|
|
3244
4326
|
ParticipantItemOptionsHovered?: JSX.Element;
|
3245
4327
|
SendBoxSend?: JSX.Element;
|
3246
4328
|
SendBoxSendHovered?: JSX.Element;
|
4329
|
+
SendBoxAttachFile?: JSX.Element;
|
3247
4330
|
};
|
3248
4331
|
|
3249
4332
|
/**
|
@@ -3258,6 +4341,13 @@ export declare type ChatCompositeOptions = {
|
|
3258
4341
|
* @defaultValue true
|
3259
4342
|
*/
|
3260
4343
|
errorBar?: boolean;
|
4344
|
+
/**
|
4345
|
+
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4346
|
+
* @defaultValue false
|
4347
|
+
*
|
4348
|
+
* @beta
|
4349
|
+
*/
|
4350
|
+
participantPane?: boolean;
|
3261
4351
|
/**
|
3262
4352
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
3263
4353
|
* @defaultValue true
|
@@ -3268,6 +4358,12 @@ export declare type ChatCompositeOptions = {
|
|
3268
4358
|
* When undefined nothing has focus on render
|
3269
4359
|
*/
|
3270
4360
|
autoFocus?: 'sendBoxTextField';
|
4361
|
+
/**
|
4362
|
+
* Properties for configuring the File Sharing feature.
|
4363
|
+
* If undefined, file sharing feature will be disabled.
|
4364
|
+
* @beta
|
4365
|
+
*/
|
4366
|
+
fileSharing?: FileSharingOptions;
|
3271
4367
|
};
|
3272
4368
|
|
3273
4369
|
/**
|
@@ -3295,6 +4391,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
3295
4391
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
3296
4392
|
*/
|
3297
4393
|
options?: ChatCompositeOptions;
|
4394
|
+
/**
|
4395
|
+
* Optimizes the composite form factor for either desktop or mobile.
|
4396
|
+
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4397
|
+
* @defaultValue 'desktop'
|
4398
|
+
*/
|
4399
|
+
formFactor?: 'desktop' | 'mobile';
|
3298
4400
|
}
|
3299
4401
|
|
3300
4402
|
/**
|
@@ -3309,6 +4411,10 @@ export declare interface ChatCompositeStrings {
|
|
3309
4411
|
* Chat list header text
|
3310
4412
|
*/
|
3311
4413
|
chatListHeader: string;
|
4414
|
+
/**
|
4415
|
+
* Upload File Button text
|
4416
|
+
*/
|
4417
|
+
uploadFile: string;
|
3312
4418
|
}
|
3313
4419
|
|
3314
4420
|
/**
|
@@ -3357,7 +4463,7 @@ export declare type ChatErrors = {
|
|
3357
4463
|
*
|
3358
4464
|
* @public
|
3359
4465
|
*/
|
3360
|
-
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';
|
4466
|
+
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';
|
3361
4467
|
|
3362
4468
|
/**
|
3363
4469
|
* Object containing all the handlers required for chat components.
|
@@ -3374,7 +4480,10 @@ export declare type ChatHandlers = {
|
|
3374
4480
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
3375
4481
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
3376
4482
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
3377
|
-
onUpdateMessage: (messageId: string, content: string
|
4483
|
+
onUpdateMessage: (messageId: string, content: string, options?: {
|
4484
|
+
metadata?: Record<string, string>;
|
4485
|
+
attachmentMetadata?: AttachmentMetadata[];
|
4486
|
+
}) => Promise<void>;
|
3378
4487
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
3379
4488
|
};
|
3380
4489
|
|
@@ -3401,6 +4510,18 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3401
4510
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
3402
4511
|
*/
|
3403
4512
|
metadata?: Record<string, string>;
|
4513
|
+
/**
|
4514
|
+
* @beta
|
4515
|
+
* A list of file attachments for the message.
|
4516
|
+
* {@link FileMetadata}
|
4517
|
+
*/
|
4518
|
+
files?: FileMetadata[];
|
4519
|
+
/**
|
4520
|
+
* @beta
|
4521
|
+
* A list of inline images embedded in the message.
|
4522
|
+
* {@link InlineImageMetadata}
|
4523
|
+
*/
|
4524
|
+
inlineImages?: InlineImageMetadata[];
|
3404
4525
|
}
|
3405
4526
|
|
3406
4527
|
/**
|
@@ -3414,6 +4535,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3414
4535
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3415
4536
|
clientMessageId?: string;
|
3416
4537
|
status: MessageStatus;
|
4538
|
+
policyViolation?: boolean;
|
3417
4539
|
};
|
3418
4540
|
|
3419
4541
|
/**
|
@@ -3433,6 +4555,26 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
3433
4555
|
*/
|
3434
4556
|
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;
|
3435
4557
|
|
4558
|
+
/**
|
4559
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4560
|
+
*
|
4561
|
+
* @beta
|
4562
|
+
*/
|
4563
|
+
export declare interface ChatTheme {
|
4564
|
+
/**
|
4565
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4566
|
+
*
|
4567
|
+
* @beta
|
4568
|
+
*/
|
4569
|
+
chatPalette: {
|
4570
|
+
modalOverlayBlack: string;
|
4571
|
+
modalTitleWhite: string;
|
4572
|
+
modalButtonBackground: string;
|
4573
|
+
modalButtonBackgroundHover: string;
|
4574
|
+
modalButtonBackgroundActive: string;
|
4575
|
+
};
|
4576
|
+
}
|
4577
|
+
|
3436
4578
|
/**
|
3437
4579
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
3438
4580
|
*
|
@@ -3558,6 +4700,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
3558
4700
|
* @public
|
3559
4701
|
*/
|
3560
4702
|
startCall(participants: string[], options?: StartCallOptions): void;
|
4703
|
+
/**
|
4704
|
+
* Start the call.
|
4705
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
4706
|
+
* @beta
|
4707
|
+
*/
|
4708
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
3561
4709
|
}
|
3562
4710
|
|
3563
4711
|
/**
|
@@ -3573,6 +4721,16 @@ export declare type CommonCallAdapterOptions = {
|
|
3573
4721
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3574
4722
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
3575
4723
|
};
|
4724
|
+
/**
|
4725
|
+
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4726
|
+
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4727
|
+
* and would not be updated again within the lifecycle of adapter.
|
4728
|
+
*/
|
4729
|
+
onFetchProfile?: OnFetchProfileCallback;
|
4730
|
+
/**
|
4731
|
+
* Sounds to use for calling events
|
4732
|
+
*/
|
4733
|
+
callingSounds?: CallingSounds;
|
3576
4734
|
};
|
3577
4735
|
|
3578
4736
|
/**
|
@@ -3595,7 +4753,9 @@ export declare type CommonCallControlOptions = {
|
|
3595
4753
|
* Show or Hide Camera Button during a call
|
3596
4754
|
* @defaultValue true
|
3597
4755
|
*/
|
3598
|
-
cameraButton?: boolean
|
4756
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4757
|
+
disabled: boolean;
|
4758
|
+
};
|
3599
4759
|
/**
|
3600
4760
|
* Show or Hide EndCall button during a call.
|
3601
4761
|
* @defaultValue true
|
@@ -3605,12 +4765,16 @@ export declare type CommonCallControlOptions = {
|
|
3605
4765
|
* Show or Hide Microphone button during a call.
|
3606
4766
|
* @defaultValue true
|
3607
4767
|
*/
|
3608
|
-
microphoneButton?: boolean
|
4768
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4769
|
+
disabled: boolean;
|
4770
|
+
};
|
3609
4771
|
/**
|
3610
4772
|
* Show or Hide Devices button during a call.
|
3611
4773
|
* @defaultValue true
|
3612
4774
|
*/
|
3613
|
-
devicesButton?: boolean
|
4775
|
+
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4776
|
+
disabled: boolean;
|
4777
|
+
};
|
3614
4778
|
/**
|
3615
4779
|
* Show, Hide or Disable participants button during a call.
|
3616
4780
|
* @defaultValue true
|
@@ -3641,11 +4805,16 @@ export declare type CommonCallControlOptions = {
|
|
3641
4805
|
* Inject custom buttons in the call controls.
|
3642
4806
|
*/
|
3643
4807
|
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4808
|
+
holdButton?: boolean | {
|
4809
|
+
disabled: boolean;
|
4810
|
+
};
|
3644
4811
|
/**
|
3645
4812
|
* Show or hide the people button in the composite control bar.
|
3646
4813
|
* @defaultValue true
|
3647
4814
|
*/
|
3648
|
-
peopleButton?: boolean
|
4815
|
+
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4816
|
+
disabled: boolean;
|
4817
|
+
};
|
3649
4818
|
};
|
3650
4819
|
|
3651
4820
|
/**
|
@@ -3670,6 +4839,9 @@ export declare interface CommonCallingHandlers {
|
|
3670
4839
|
onRaiseHand: () => Promise<void>;
|
3671
4840
|
onLowerHand: () => Promise<void>;
|
3672
4841
|
onToggleRaiseHand: () => Promise<void>;
|
4842
|
+
onToggleHold: () => Promise<void>;
|
4843
|
+
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4844
|
+
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
3673
4845
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3674
4846
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3675
4847
|
/**
|
@@ -3679,7 +4851,10 @@ export declare interface CommonCallingHandlers {
|
|
3679
4851
|
onDisposeLocalStreamView: () => Promise<void>;
|
3680
4852
|
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
3681
4853
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4854
|
+
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3682
4855
|
onRemoveParticipant(userId: string): Promise<void>;
|
4856
|
+
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4857
|
+
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
3683
4858
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
3684
4859
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
3685
4860
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -3688,6 +4863,7 @@ export declare interface CommonCallingHandlers {
|
|
3688
4863
|
onStopCaptions: () => Promise<void>;
|
3689
4864
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
3690
4865
|
onSetCaptionLanguage: (language: string) => Promise<void>;
|
4866
|
+
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
3691
4867
|
}
|
3692
4868
|
|
3693
4869
|
/**
|
@@ -3699,6 +4875,39 @@ export declare type CommonProperties<A, B> = {
|
|
3699
4875
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3700
4876
|
}[keyof A & keyof B];
|
3701
4877
|
|
4878
|
+
/**
|
4879
|
+
* @beta
|
4880
|
+
* Props for SitePermissions components.
|
4881
|
+
*/
|
4882
|
+
export declare interface CommonSitePermissionsProps {
|
4883
|
+
/**
|
4884
|
+
* Name of application calling experience is in.
|
4885
|
+
*/
|
4886
|
+
appName: string;
|
4887
|
+
/**
|
4888
|
+
* Kind of the Site Permissions component.
|
4889
|
+
*/
|
4890
|
+
kind: 'request' | 'denied' | 'check';
|
4891
|
+
/**
|
4892
|
+
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4893
|
+
*/
|
4894
|
+
browserHint?: 'safari' | 'unset';
|
4895
|
+
/**
|
4896
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4897
|
+
* If this is not provided the button will not be shown.
|
4898
|
+
*/
|
4899
|
+
onTroubleshootingClick?: () => void;
|
4900
|
+
/**
|
4901
|
+
* Action that is taken when the user clicks the continue anyway button.
|
4902
|
+
* If this is not provided the button will not be shown.
|
4903
|
+
*/
|
4904
|
+
onContinueAnywayClick?: () => void;
|
4905
|
+
/**
|
4906
|
+
* Styles for SitePermissions component.
|
4907
|
+
*/
|
4908
|
+
styles?: SitePermissionsStyles;
|
4909
|
+
}
|
4910
|
+
|
3702
4911
|
/**
|
3703
4912
|
* A Chat or Calling participant's state, as reflected in the UI.
|
3704
4913
|
*
|
@@ -3875,6 +5084,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
3875
5084
|
export declare interface ComponentLocale {
|
3876
5085
|
/** Strings for components */
|
3877
5086
|
strings: ComponentStrings;
|
5087
|
+
/**
|
5088
|
+
* Optional function to provide customized date format.
|
5089
|
+
* @beta
|
5090
|
+
*/
|
5091
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
3878
5092
|
}
|
3879
5093
|
|
3880
5094
|
/**
|
@@ -3920,16 +5134,64 @@ export declare interface ComponentStrings {
|
|
3920
5134
|
typingIndicator: TypingIndicatorStrings;
|
3921
5135
|
/** Strings for SendBox */
|
3922
5136
|
sendBox: SendBoxStrings;
|
5137
|
+
/** Strings for MentionPopover */
|
5138
|
+
mentionPopover: MentionPopoverStrings;
|
5139
|
+
/** Strings for ImageGallery */
|
5140
|
+
imageGallery: ImageGalleryStrings;
|
3923
5141
|
/** Strings for MessageStatusIndicator */
|
3924
5142
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
3925
5143
|
/** Strings for ErroBar */
|
3926
5144
|
errorBar: ErrorBarStrings;
|
3927
5145
|
/** Strings for VideoGallery */
|
3928
5146
|
videoGallery: VideoGalleryStrings;
|
5147
|
+
/** Strings for Dialpad */
|
5148
|
+
dialpad: DialpadStrings;
|
5149
|
+
/** Strings for VideoTile */
|
5150
|
+
videoTile: VideoTileStrings;
|
5151
|
+
/** Strings for HoldButton */
|
5152
|
+
holdButton: HoldButtonStrings;
|
5153
|
+
/** Strings for a site's permission request prompt */
|
5154
|
+
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5155
|
+
/** Strings for a site's permission request prompt */
|
5156
|
+
CameraSitePermissionsRequest: SitePermissionsStrings;
|
5157
|
+
/** Strings for a site's permission request prompt */
|
5158
|
+
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5159
|
+
/** Strings for a site's permission generic checking prompt */
|
5160
|
+
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5161
|
+
/** Strings for a site's permission generic checking prompt */
|
5162
|
+
CameraSitePermissionsCheck: SitePermissionsStrings;
|
5163
|
+
/** Strings for a site's permission generic checking prompt */
|
5164
|
+
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5165
|
+
/** Strings for a site's permission denied prompt */
|
5166
|
+
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5167
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5168
|
+
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5169
|
+
/** Strings for a site's permission denied prompt */
|
5170
|
+
CameraSitePermissionsDenied: SitePermissionsStrings;
|
5171
|
+
/** Strings for a site's permission denied prompt */
|
5172
|
+
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5173
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5174
|
+
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5175
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5176
|
+
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5177
|
+
/** Strings for unsupported browser UI */
|
5178
|
+
UnsupportedBrowser: UnsupportedBrowserStrings;
|
5179
|
+
/** Strings for unsupported browser version UI */
|
5180
|
+
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
5181
|
+
/** Strings for unsupported browser version UI */
|
5182
|
+
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
5183
|
+
/** Strings for BrowserPemissionDenied */
|
5184
|
+
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
5185
|
+
/** Strings for BrowserPemissionDeniedIOS */
|
5186
|
+
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
3929
5187
|
/**
|
3930
5188
|
* Strings for the VerticalGallery.
|
3931
5189
|
*/
|
3932
5190
|
verticalGallery: VerticalGalleryStrings;
|
5191
|
+
/** Strings for the participant list component */
|
5192
|
+
ParticipantList: ParticipantListStrings;
|
5193
|
+
/** Strings for the attendee role */
|
5194
|
+
AttendeeRole: string;
|
3933
5195
|
}
|
3934
5196
|
|
3935
5197
|
/**
|
@@ -4292,7 +5554,7 @@ export declare interface ControlBarProps {
|
|
4292
5554
|
*
|
4293
5555
|
* @public
|
4294
5556
|
*/
|
4295
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
5557
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4296
5558
|
|
4297
5559
|
/**
|
4298
5560
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4302,7 +5564,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
|
|
4302
5564
|
*
|
4303
5565
|
* @public
|
4304
5566
|
*/
|
4305
|
-
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator,
|
5567
|
+
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
|
4306
5568
|
|
4307
5569
|
/**
|
4308
5570
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -4310,7 +5572,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
4310
5572
|
*
|
4311
5573
|
* @public
|
4312
5574
|
*/
|
4313
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5575
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
4314
5576
|
|
4315
5577
|
/**
|
4316
5578
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -4321,7 +5583,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
4321
5583
|
*
|
4322
5584
|
* @public
|
4323
5585
|
*/
|
4324
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
5586
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions, chatAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4325
5587
|
|
4326
5588
|
/**
|
4327
5589
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -4340,14 +5602,16 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4340
5602
|
*
|
4341
5603
|
* @public
|
4342
5604
|
*/
|
4343
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
5605
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
|
5606
|
+
credential?: CommunicationTokenCredential;
|
5607
|
+
}): Promise<ChatAdapter>;
|
4344
5608
|
|
4345
5609
|
/**
|
4346
5610
|
* Type of {@link createDefaultCallingHandlers}.
|
4347
5611
|
*
|
4348
5612
|
* @public
|
4349
5613
|
*/
|
4350
|
-
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined,
|
5614
|
+
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, options?: CallingHandlersOptions) => CallingHandlers;
|
4351
5615
|
|
4352
5616
|
/**
|
4353
5617
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -4371,6 +5635,18 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
4371
5635
|
*/
|
4372
5636
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
4373
5637
|
|
5638
|
+
/**
|
5639
|
+
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5640
|
+
*
|
5641
|
+
* Useful when implementing a custom component that utilizes the providers
|
5642
|
+
* exported from this library.
|
5643
|
+
*
|
5644
|
+
* @beta
|
5645
|
+
*/
|
5646
|
+
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?: {
|
5647
|
+
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
5648
|
+
}) => never | TeamsCallingHandlers;
|
5649
|
+
|
4374
5650
|
/**
|
4375
5651
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
4376
5652
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -4396,6 +5672,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4396
5672
|
*/
|
4397
5673
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
|
4398
5674
|
|
5675
|
+
/**
|
5676
|
+
* @beta
|
5677
|
+
*/
|
5678
|
+
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5679
|
+
|
5680
|
+
/**
|
5681
|
+
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5682
|
+
*
|
5683
|
+
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5684
|
+
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5685
|
+
*
|
5686
|
+
* @beta
|
5687
|
+
*/
|
5688
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
5689
|
+
|
4399
5690
|
/**
|
4400
5691
|
* Object returned after creating a local or remote VideoStream.
|
4401
5692
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -4446,6 +5737,13 @@ export declare type CustomAvatarOptions = {
|
|
4446
5737
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
4447
5738
|
/** Display name to be used in Persona */
|
4448
5739
|
text?: string;
|
5740
|
+
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5741
|
+
participantState?: ParticipantState;
|
5742
|
+
/**
|
5743
|
+
* If true, show the special coin for unknown persona.
|
5744
|
+
* It has '?' in place of initials, with static font and background colors
|
5745
|
+
*/
|
5746
|
+
showUnknownPersonaCoin?: boolean;
|
4449
5747
|
};
|
4450
5748
|
|
4451
5749
|
/**
|
@@ -4571,7 +5869,19 @@ export declare interface CustomMessage extends MessageCommon {
|
|
4571
5869
|
*
|
4572
5870
|
* @public
|
4573
5871
|
*/
|
4574
|
-
export declare const darkTheme: PartialTheme & CallingTheme;
|
5872
|
+
export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
5873
|
+
|
5874
|
+
/**
|
5875
|
+
* @beta
|
5876
|
+
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5877
|
+
*/
|
5878
|
+
export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
|
5879
|
+
|
5880
|
+
/**
|
5881
|
+
* @beta
|
5882
|
+
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5883
|
+
*/
|
5884
|
+
export declare type DeclarativeIncomingCall = IncomingCall;
|
4575
5885
|
|
4576
5886
|
/**
|
4577
5887
|
* The default set of icons that are available to use in the UI components.
|
@@ -4589,12 +5899,16 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4589
5899
|
ControlButtonMicOn: React_2.JSX.Element;
|
4590
5900
|
ControlButtonOptions: React_2.JSX.Element;
|
4591
5901
|
ControlButtonParticipants: React_2.JSX.Element;
|
5902
|
+
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
4592
5903
|
ControlButtonScreenShareStart: React_2.JSX.Element;
|
4593
5904
|
ControlButtonScreenShareStop: React_2.JSX.Element;
|
4594
5905
|
ControlButtonRaiseHand: React_2.JSX.Element;
|
4595
5906
|
ControlButtonLowerHand: React_2.JSX.Element;
|
4596
5907
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
4597
5908
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
5909
|
+
CancelFileUpload: React_2.JSX.Element;
|
5910
|
+
DownloadFile: React_2.JSX.Element;
|
5911
|
+
DataLossPreventionProhibited: React_2.JSX.Element;
|
4598
5912
|
EditBoxCancel: React_2.JSX.Element;
|
4599
5913
|
EditBoxSubmit: React_2.JSX.Element;
|
4600
5914
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -4627,9 +5941,20 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4627
5941
|
ParticipantItemOptions: React_2.JSX.Element;
|
4628
5942
|
ParticipantItemOptionsHovered: React_2.JSX.Element;
|
4629
5943
|
ParticipantItemScreenShareStart: React_2.JSX.Element;
|
5944
|
+
HoldCallContextualMenuItem: React_2.JSX.Element;
|
5945
|
+
HoldCallButton: React_2.JSX.Element;
|
5946
|
+
ResumeCall: React_2.JSX.Element;
|
4630
5947
|
SendBoxSend: React_2.JSX.Element;
|
4631
5948
|
SendBoxSendHovered: React_2.JSX.Element;
|
4632
5949
|
VideoTileMicOff: React_2.JSX.Element;
|
5950
|
+
DialpadBackspace: React_2.JSX.Element;
|
5951
|
+
SitePermissionsSparkle: React_2.JSX.Element;
|
5952
|
+
SitePermissionCamera: React_2.JSX.Element;
|
5953
|
+
SitePermissionMic: React_2.JSX.Element;
|
5954
|
+
SitePermissionCameraDenied: React_2.JSX.Element;
|
5955
|
+
SitePermissionMicDenied: React_2.JSX.Element;
|
5956
|
+
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
5957
|
+
BrowserPermissionDeniedError: React_2.JSX.Element;
|
4633
5958
|
VideoTilePinned: React_2.JSX.Element;
|
4634
5959
|
VideoTileMoreOptions: React_2.JSX.Element;
|
4635
5960
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -4652,6 +5977,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4652
5977
|
ContextMenuCameraIcon: React_2.JSX.Element;
|
4653
5978
|
ContextMenuMicIcon: React_2.JSX.Element;
|
4654
5979
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
5980
|
+
SurveyStarIcon: React_2.JSX.Element;
|
5981
|
+
SurveyStarIconFilled: React_2.JSX.Element;
|
4655
5982
|
};
|
4656
5983
|
|
4657
5984
|
/**
|
@@ -4672,6 +5999,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4672
5999
|
ParticipantItemOptionsHovered: JSX.Element;
|
4673
6000
|
SendBoxSend: JSX.Element;
|
4674
6001
|
SendBoxSendHovered: JSX.Element;
|
6002
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
4675
6003
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
4676
6004
|
ControlButtonCameraOff: JSX.Element;
|
4677
6005
|
ControlButtonCameraOn: JSX.Element;
|
@@ -4714,9 +6042,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4714
6042
|
NoticePageJoinCallFailedDueToNoNetwork?: JSX.Element | undefined;
|
4715
6043
|
NoticePageLeftCall?: JSX.Element | undefined;
|
4716
6044
|
NoticePageRemovedFromCall?: JSX.Element | undefined;
|
6045
|
+
NoticePageCallRejected?: JSX.Element | undefined;
|
4717
6046
|
NoticePageNotInvitedToRoom?: JSX.Element | undefined;
|
4718
6047
|
NoticePageRoomNotFound?: JSX.Element | undefined;
|
4719
6048
|
NoticePageRoomNotValid?: JSX.Element | undefined;
|
6049
|
+
NoticePageCallTimeout?: JSX.Element | undefined;
|
4720
6050
|
OptionsCamera: JSX.Element;
|
4721
6051
|
OptionsMic: JSX.Element;
|
4722
6052
|
OptionsSpeaker: JSX.Element;
|
@@ -4724,6 +6054,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4724
6054
|
ParticipantItemScreenShareStart: JSX.Element;
|
4725
6055
|
VideoTileMicOff: JSX.Element;
|
4726
6056
|
LocalCameraSwitch?: JSX.Element | undefined;
|
6057
|
+
PeoplePaneAddPerson?: JSX.Element | undefined;
|
6058
|
+
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
6059
|
+
DialpadStartCall?: JSX.Element | undefined;
|
4727
6060
|
NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
|
4728
6061
|
BlurVideoBackground?: JSX.Element | undefined;
|
4729
6062
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
@@ -4744,11 +6077,25 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4744
6077
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
4745
6078
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
4746
6079
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
4747
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
4748
6080
|
ChatMessageOptions: React_2.JSX.Element;
|
6081
|
+
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
6082
|
+
CancelFileUpload: React_2.JSX.Element;
|
6083
|
+
DownloadFile: React_2.JSX.Element;
|
6084
|
+
DataLossPreventionProhibited: React_2.JSX.Element;
|
4749
6085
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
4750
6086
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
4751
6087
|
MessageResend: React_2.JSX.Element;
|
6088
|
+
HoldCallContextualMenuItem: React_2.JSX.Element;
|
6089
|
+
HoldCallButton: React_2.JSX.Element;
|
6090
|
+
ResumeCall: React_2.JSX.Element;
|
6091
|
+
DialpadBackspace: React_2.JSX.Element;
|
6092
|
+
SitePermissionsSparkle: React_2.JSX.Element;
|
6093
|
+
SitePermissionCamera: React_2.JSX.Element;
|
6094
|
+
SitePermissionMic: React_2.JSX.Element;
|
6095
|
+
SitePermissionCameraDenied: React_2.JSX.Element;
|
6096
|
+
SitePermissionMicDenied: React_2.JSX.Element;
|
6097
|
+
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
6098
|
+
BrowserPermissionDeniedError: React_2.JSX.Element;
|
4752
6099
|
VideoTilePinned: React_2.JSX.Element;
|
4753
6100
|
VideoTileMoreOptions: React_2.JSX.Element;
|
4754
6101
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -4771,8 +6118,33 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4771
6118
|
ContextMenuCameraIcon: React_2.JSX.Element;
|
4772
6119
|
ContextMenuMicIcon: React_2.JSX.Element;
|
4773
6120
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6121
|
+
SurveyStarIcon: React_2.JSX.Element;
|
6122
|
+
SurveyStarIconFilled: React_2.JSX.Element;
|
4774
6123
|
};
|
4775
6124
|
|
6125
|
+
/**
|
6126
|
+
* Device Checks.
|
6127
|
+
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
6128
|
+
*
|
6129
|
+
* @beta
|
6130
|
+
*/
|
6131
|
+
export declare interface DeviceCheckOptions {
|
6132
|
+
/**
|
6133
|
+
* Camera Permission prompts for your call.
|
6134
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6135
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6136
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6137
|
+
*/
|
6138
|
+
camera: 'required' | 'optional' | 'doNotPrompt';
|
6139
|
+
/**
|
6140
|
+
* Microphone permission prompts for your call.
|
6141
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6142
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6143
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6144
|
+
*/
|
6145
|
+
microphone: 'required' | 'optional' | 'doNotPrompt';
|
6146
|
+
}
|
6147
|
+
|
4776
6148
|
/**
|
4777
6149
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
4778
6150
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -4991,6 +6363,60 @@ export declare interface DiagnosticsCallFeatureState {
|
|
4991
6363
|
media: MediaDiagnosticsState;
|
4992
6364
|
}
|
4993
6365
|
|
6366
|
+
/**
|
6367
|
+
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
6368
|
+
* It will return empty component for stable builds
|
6369
|
+
*
|
6370
|
+
* @beta
|
6371
|
+
*/
|
6372
|
+
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
6373
|
+
|
6374
|
+
/**
|
6375
|
+
* Props for {@link Dialpad} component.
|
6376
|
+
*
|
6377
|
+
* @beta
|
6378
|
+
*/
|
6379
|
+
export declare interface DialpadProps {
|
6380
|
+
strings?: DialpadStrings;
|
6381
|
+
/** function to send dtmf tones on button click */
|
6382
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
6383
|
+
/** Callback for dialpad button behavior*/
|
6384
|
+
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
6385
|
+
/** set dialpad textfield content */
|
6386
|
+
textFieldValue?: string;
|
6387
|
+
/** on change function for text field, provides an unformatted plain text*/
|
6388
|
+
onChange?: (input: string) => void;
|
6389
|
+
/** boolean input to determine when to show/hide delete button, default true */
|
6390
|
+
showDeleteButton?: boolean;
|
6391
|
+
/** boolean input to determine if dialpad is in mobile view, default false */
|
6392
|
+
isMobile?: boolean;
|
6393
|
+
styles?: DialpadStyles;
|
6394
|
+
}
|
6395
|
+
|
6396
|
+
/**
|
6397
|
+
* Strings of {@link Dialpad} that can be overridden.
|
6398
|
+
*
|
6399
|
+
* @beta
|
6400
|
+
*/
|
6401
|
+
export declare interface DialpadStrings {
|
6402
|
+
placeholderText: string;
|
6403
|
+
deleteButtonAriaLabel?: string;
|
6404
|
+
}
|
6405
|
+
|
6406
|
+
/**
|
6407
|
+
* Styles for {@link Dialpad} component.
|
6408
|
+
*
|
6409
|
+
* @beta
|
6410
|
+
*/
|
6411
|
+
export declare interface DialpadStyles {
|
6412
|
+
root?: IStyle;
|
6413
|
+
button?: IButtonStyles;
|
6414
|
+
textField?: Partial<ITextFieldStyles>;
|
6415
|
+
digit?: IStyle;
|
6416
|
+
letter?: IStyle;
|
6417
|
+
deleteIcon?: IButtonStyles;
|
6418
|
+
}
|
6419
|
+
|
4994
6420
|
/**
|
4995
6421
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
4996
6422
|
*
|
@@ -5012,6 +6438,13 @@ declare interface Disposable_2 {
|
|
5012
6438
|
}
|
5013
6439
|
export { Disposable_2 as Disposable }
|
5014
6440
|
|
6441
|
+
/**
|
6442
|
+
* DTMF tone for PSTN calls.
|
6443
|
+
*
|
6444
|
+
* @beta
|
6445
|
+
*/
|
6446
|
+
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
6447
|
+
|
5015
6448
|
/**
|
5016
6449
|
* A type for trivial selectors that return no data.
|
5017
6450
|
*
|
@@ -5265,6 +6698,206 @@ export declare interface ErrorBarStrings {
|
|
5265
6698
|
*/
|
5266
6699
|
export declare type ErrorType = keyof ErrorBarStrings;
|
5267
6700
|
|
6701
|
+
/**
|
6702
|
+
* @beta
|
6703
|
+
* A file download error returned via a {@link FileDownloadHandler}.
|
6704
|
+
* This error message is used to render an error message in the UI.
|
6705
|
+
*/
|
6706
|
+
export declare interface FileDownloadError {
|
6707
|
+
/** The error message to display in the UI */
|
6708
|
+
errorMessage: string;
|
6709
|
+
}
|
6710
|
+
|
6711
|
+
/**
|
6712
|
+
* @beta
|
6713
|
+
*
|
6714
|
+
* A callback function for handling file downloads.
|
6715
|
+
* The function needs to return a promise that resolves to a file download URL.
|
6716
|
+
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6717
|
+
*
|
6718
|
+
* @example
|
6719
|
+
* ```ts
|
6720
|
+
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6721
|
+
* if (isUnauthorizedUser(userId)) {
|
6722
|
+
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6723
|
+
* } else {
|
6724
|
+
* return new URL(fileData.url);
|
6725
|
+
* }
|
6726
|
+
* }
|
6727
|
+
*
|
6728
|
+
* const App = () => (
|
6729
|
+
* <ChatComposite
|
6730
|
+
* ...
|
6731
|
+
* fileSharing={{
|
6732
|
+
* fileDownloadHandler: fileDownloadHandler
|
6733
|
+
* }}
|
6734
|
+
* />
|
6735
|
+
* )
|
6736
|
+
*
|
6737
|
+
* ```
|
6738
|
+
* @param userId - The user ID of the user downloading the file.
|
6739
|
+
* @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
|
6740
|
+
*/
|
6741
|
+
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
6742
|
+
|
6743
|
+
/**
|
6744
|
+
* Metadata containing basic information about the uploaded file.
|
6745
|
+
*
|
6746
|
+
* @beta
|
6747
|
+
*/
|
6748
|
+
export declare interface FileMetadata {
|
6749
|
+
attachmentType: 'file';
|
6750
|
+
/**
|
6751
|
+
* Extension hint, useful for rendering a specific icon.
|
6752
|
+
* An unknown or empty extension will be rendered as a generic icon.
|
6753
|
+
* Example: `pdf`
|
6754
|
+
*/
|
6755
|
+
extension: string;
|
6756
|
+
/**
|
6757
|
+
* Unique ID of the file.
|
6758
|
+
*/
|
6759
|
+
id: string;
|
6760
|
+
/**
|
6761
|
+
* File name to be displayed.
|
6762
|
+
*/
|
6763
|
+
name: string;
|
6764
|
+
/**
|
6765
|
+
* Download URL for the file.
|
6766
|
+
*/
|
6767
|
+
url: string;
|
6768
|
+
payload?: Record<string, string>;
|
6769
|
+
}
|
6770
|
+
|
6771
|
+
/**
|
6772
|
+
* Properties for configuring the File Sharing feature.
|
6773
|
+
* @beta
|
6774
|
+
*/
|
6775
|
+
export declare interface FileSharingOptions {
|
6776
|
+
/**
|
6777
|
+
* A string containing the comma separated list of accepted file types.
|
6778
|
+
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6779
|
+
* Accepts any type of file if not specified.
|
6780
|
+
* @beta
|
6781
|
+
*/
|
6782
|
+
accept?: string;
|
6783
|
+
/**
|
6784
|
+
* Allows multiple files to be selected if set to `true`.
|
6785
|
+
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6786
|
+
* @defaultValue false
|
6787
|
+
* @beta
|
6788
|
+
*/
|
6789
|
+
multiple?: boolean;
|
6790
|
+
/**
|
6791
|
+
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6792
|
+
* @beta
|
6793
|
+
*/
|
6794
|
+
uploadHandler: FileUploadHandler;
|
6795
|
+
/**
|
6796
|
+
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6797
|
+
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6798
|
+
* initiate the download.
|
6799
|
+
*/
|
6800
|
+
downloadHandler?: FileDownloadHandler;
|
6801
|
+
}
|
6802
|
+
|
6803
|
+
/**
|
6804
|
+
* @beta
|
6805
|
+
*/
|
6806
|
+
export declare interface FileUploadAdapter {
|
6807
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6808
|
+
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
6809
|
+
clearFileUploads: () => void;
|
6810
|
+
cancelFileUpload: (id: string) => void;
|
6811
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
6812
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6813
|
+
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
6814
|
+
}
|
6815
|
+
|
6816
|
+
/**
|
6817
|
+
* @beta
|
6818
|
+
* Error message to be displayed to the user if the upload fails.
|
6819
|
+
*/
|
6820
|
+
export declare type FileUploadError = {
|
6821
|
+
message: string;
|
6822
|
+
timestamp: number;
|
6823
|
+
};
|
6824
|
+
|
6825
|
+
/**
|
6826
|
+
* @beta
|
6827
|
+
* A callback function for handling file uploads.
|
6828
|
+
*
|
6829
|
+
* @param userId - The user ID of the user uploading the file.
|
6830
|
+
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6831
|
+
*/
|
6832
|
+
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6833
|
+
|
6834
|
+
/**
|
6835
|
+
* A wrapper object for a file that is being uploaded.
|
6836
|
+
* Allows managing file uploads by providing common functions for updating the
|
6837
|
+
* upload progress, canceling an upload, completing an upload etc.
|
6838
|
+
* @beta
|
6839
|
+
*/
|
6840
|
+
export declare interface FileUploadManager {
|
6841
|
+
/**
|
6842
|
+
* Unique identifier for the file upload.
|
6843
|
+
*/
|
6844
|
+
id: string;
|
6845
|
+
/**
|
6846
|
+
* HTML {@link File} object for the uploaded file.
|
6847
|
+
*/
|
6848
|
+
file?: File;
|
6849
|
+
/**
|
6850
|
+
* Update the progress of the upload.
|
6851
|
+
* @param value - number between 0 and 1
|
6852
|
+
*/
|
6853
|
+
notifyUploadProgressChanged: (value: number) => void;
|
6854
|
+
/**
|
6855
|
+
* Mark the upload as complete.
|
6856
|
+
* Requires the `metadata` param containing uploaded file information.
|
6857
|
+
* @param metadata - {@link AttachmentMetadata}
|
6858
|
+
*/
|
6859
|
+
notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
|
6860
|
+
/**
|
6861
|
+
* Mark the upload as failed.
|
6862
|
+
* @param message - An error message that can be displayed to the user.
|
6863
|
+
*/
|
6864
|
+
notifyUploadFailed: (message: string) => void;
|
6865
|
+
}
|
6866
|
+
|
6867
|
+
/**
|
6868
|
+
* Contains the state attributes of a file upload like name, progress etc.
|
6869
|
+
* @beta
|
6870
|
+
*/
|
6871
|
+
export declare interface FileUploadState {
|
6872
|
+
/**
|
6873
|
+
* Unique identifier for the file upload.
|
6874
|
+
*/
|
6875
|
+
id: string;
|
6876
|
+
/**
|
6877
|
+
* Filename extracted from the {@link File} object.
|
6878
|
+
* This attribute is used to render the filename if `metadata.name` is not available.
|
6879
|
+
*/
|
6880
|
+
filename: string;
|
6881
|
+
/**
|
6882
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
6883
|
+
*/
|
6884
|
+
progress: number;
|
6885
|
+
/**
|
6886
|
+
* Metadata {@link AttachmentMetadata} containing information about the uploaded file.
|
6887
|
+
*/
|
6888
|
+
metadata?: AttachmentMetadata;
|
6889
|
+
/**
|
6890
|
+
* Error message to be displayed to the user if the upload fails.
|
6891
|
+
*/
|
6892
|
+
error?: FileUploadError;
|
6893
|
+
}
|
6894
|
+
|
6895
|
+
/**
|
6896
|
+
* A record containing {@link FileUploadState} mapped to unique ids.
|
6897
|
+
* @beta
|
6898
|
+
*/
|
6899
|
+
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
6900
|
+
|
5268
6901
|
/**
|
5269
6902
|
* Provider to apply a Fluent theme across this library's react components.
|
5270
6903
|
*
|
@@ -5304,7 +6937,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5304
6937
|
*
|
5305
6938
|
* @public
|
5306
6939
|
*/
|
5307
|
-
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;
|
6940
|
+
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;
|
5308
6941
|
|
5309
6942
|
/**
|
5310
6943
|
* Get the selector for a specified component.
|
@@ -5366,6 +6999,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
5366
6999
|
children?: IStyle;
|
5367
7000
|
}
|
5368
7001
|
|
7002
|
+
/**
|
7003
|
+
* a button to hold or resume a ongoing call.
|
7004
|
+
*
|
7005
|
+
* Can be used with {@link ControlBar}
|
7006
|
+
*
|
7007
|
+
* @param props - properties for the hold button.
|
7008
|
+
* @returns
|
7009
|
+
* @beta
|
7010
|
+
*/
|
7011
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
7012
|
+
|
7013
|
+
/**
|
7014
|
+
*@beta
|
7015
|
+
*/
|
7016
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
7017
|
+
/**
|
7018
|
+
* Utility property for using this component with communication react handlers
|
7019
|
+
* Holds the call or resumes it based on call state.
|
7020
|
+
*/
|
7021
|
+
onToggleHold: () => Promise<void>;
|
7022
|
+
/**
|
7023
|
+
* Optional strings to override in component
|
7024
|
+
*/
|
7025
|
+
strings?: HoldButtonStrings;
|
7026
|
+
}
|
7027
|
+
|
7028
|
+
/**
|
7029
|
+
* Selector type for the {@link HoldButton} component.
|
7030
|
+
* @public
|
7031
|
+
*/
|
7032
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
7033
|
+
checked: boolean;
|
7034
|
+
};
|
7035
|
+
|
7036
|
+
/**
|
7037
|
+
* Strings for the hold button labels
|
7038
|
+
* @beta
|
7039
|
+
*/
|
7040
|
+
export declare interface HoldButtonStrings {
|
7041
|
+
/**
|
7042
|
+
* Label for when action is to resume call.
|
7043
|
+
*/
|
7044
|
+
onLabel: string;
|
7045
|
+
/**
|
7046
|
+
* Label for when action is to hold call.
|
7047
|
+
*/
|
7048
|
+
offLabel: string;
|
7049
|
+
/**
|
7050
|
+
* Content for when button is checked
|
7051
|
+
*/
|
7052
|
+
tooltipOnContent: string;
|
7053
|
+
/**
|
7054
|
+
* Content for when button is unchecked
|
7055
|
+
*/
|
7056
|
+
tooltipOffContent: string;
|
7057
|
+
}
|
7058
|
+
|
5369
7059
|
/**
|
5370
7060
|
* {@link HorizontalGallery} Component Styles.
|
5371
7061
|
* @public
|
@@ -5450,8 +7140,99 @@ export declare interface _Identifiers {
|
|
5450
7140
|
verticalGalleryVideoTile: string;
|
5451
7141
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
5452
7142
|
verticalGalleryPageCounter: string;
|
7143
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
7144
|
+
mentionSuggestionList: string;
|
7145
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
7146
|
+
mentionSuggestionItem: string;
|
7147
|
+
}
|
7148
|
+
|
7149
|
+
/**
|
7150
|
+
* Component to render a fullscreen modal for a selected image.
|
7151
|
+
*
|
7152
|
+
* @beta
|
7153
|
+
*/
|
7154
|
+
export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
|
7155
|
+
|
7156
|
+
/**
|
7157
|
+
* Props for {@link ImageGallery}.
|
7158
|
+
*
|
7159
|
+
* @beta
|
7160
|
+
*/
|
7161
|
+
export declare interface ImageGalleryImageProps {
|
7162
|
+
/** Image Url used to display the image in a large scale. */
|
7163
|
+
imageUrl: string;
|
7164
|
+
/** String used as a file name when downloading this image to user's local device. */
|
7165
|
+
downloadFilename: string;
|
7166
|
+
/** Optional string used as a alt text for the image. @default 'image' */
|
7167
|
+
altText?: string;
|
7168
|
+
/** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
|
7169
|
+
title?: string;
|
7170
|
+
/** Optional JSX element used as a title icon and displayed to the left of the title element. */
|
7171
|
+
titleIcon?: JSX.Element;
|
7172
|
+
}
|
7173
|
+
|
7174
|
+
/**
|
7175
|
+
* Props for {@link ImageGallery}.
|
7176
|
+
*
|
7177
|
+
* @beta
|
7178
|
+
*/
|
7179
|
+
export declare interface ImageGalleryProps {
|
7180
|
+
/**
|
7181
|
+
* Boolean that controls whether the modal is displayed.
|
7182
|
+
*/
|
7183
|
+
isOpen: boolean;
|
7184
|
+
/**
|
7185
|
+
* Array of images used to populate the ImageGallery
|
7186
|
+
*/
|
7187
|
+
images: Array<ImageGalleryImageProps>;
|
7188
|
+
/**
|
7189
|
+
* Callback to invoke when the ImageGallery modal is dismissed
|
7190
|
+
*/
|
7191
|
+
onDismiss: () => void;
|
7192
|
+
/**
|
7193
|
+
* Callback called when the download button is clicked.
|
7194
|
+
*/
|
7195
|
+
onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
|
7196
|
+
/**
|
7197
|
+
* Callback called when there's an error loading the image.
|
7198
|
+
*/
|
7199
|
+
onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
|
7200
|
+
/**
|
7201
|
+
* Indicating which index of the images array to start with.
|
7202
|
+
*/
|
7203
|
+
startIndex?: number;
|
7204
|
+
}
|
7205
|
+
|
7206
|
+
/**
|
7207
|
+
* Strings of {@link ImageGallery} that can be overridden.
|
7208
|
+
*
|
7209
|
+
* @beta
|
7210
|
+
*/
|
7211
|
+
export declare interface ImageGalleryStrings {
|
7212
|
+
/**
|
7213
|
+
* Download button label for ImageGallery
|
7214
|
+
*/
|
7215
|
+
downloadButtonLabel: string;
|
7216
|
+
/**
|
7217
|
+
* Dismiss button aria label for ImageGallery
|
7218
|
+
*/
|
7219
|
+
dismissButtonAriaLabel: string;
|
5453
7220
|
}
|
5454
7221
|
|
7222
|
+
/**
|
7223
|
+
* @beta
|
7224
|
+
* This contains a readonly array that returns all the active `incomingCalls`.
|
7225
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
7226
|
+
*/
|
7227
|
+
export declare type IncomingCallManagement = {
|
7228
|
+
/**
|
7229
|
+
* @beta
|
7230
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
7231
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
7232
|
+
*/
|
7233
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
7234
|
+
};
|
7235
|
+
|
5455
7236
|
/**
|
5456
7237
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
5457
7238
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -5484,6 +7265,24 @@ export declare interface IncomingCallState {
|
|
5484
7265
|
endTime?: Date;
|
5485
7266
|
}
|
5486
7267
|
|
7268
|
+
/**
|
7269
|
+
* Metadata for rendering images inline with a message.
|
7270
|
+
* This does not include images attached as files.
|
7271
|
+
* @beta
|
7272
|
+
*/
|
7273
|
+
export declare interface InlineImageMetadata {
|
7274
|
+
attachmentType: 'inlineImage';
|
7275
|
+
/**
|
7276
|
+
* Unique ID of the attachment.
|
7277
|
+
*/
|
7278
|
+
id: string;
|
7279
|
+
previewUrl?: string;
|
7280
|
+
/**
|
7281
|
+
* Download URL for the full resolution version.
|
7282
|
+
*/
|
7283
|
+
url: string;
|
7284
|
+
}
|
7285
|
+
|
5487
7286
|
/**
|
5488
7287
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
|
5489
7288
|
*
|
@@ -5582,7 +7381,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
5582
7381
|
*
|
5583
7382
|
* @public
|
5584
7383
|
*/
|
5585
|
-
export declare const lightTheme: PartialTheme & CallingTheme;
|
7384
|
+
export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
5586
7385
|
|
5587
7386
|
/**
|
5588
7387
|
* Whether the stream is loading or not.
|
@@ -5668,6 +7467,24 @@ export declare interface LocalVideoStreamVideoEffectsState {
|
|
5668
7467
|
activeEffects?: VideoEffectName[];
|
5669
7468
|
}
|
5670
7469
|
|
7470
|
+
/**
|
7471
|
+
* Options for the local video tile in the Call composite.
|
7472
|
+
*
|
7473
|
+
* @beta
|
7474
|
+
*/
|
7475
|
+
export declare interface LocalVideoTileOptions {
|
7476
|
+
/**
|
7477
|
+
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
7478
|
+
*
|
7479
|
+
* @defaultValue 'floating'
|
7480
|
+
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
7481
|
+
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
7482
|
+
* local video tile rules and be docked in the bottom corner.
|
7483
|
+
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
7484
|
+
*/
|
7485
|
+
position?: 'grid' | 'floating';
|
7486
|
+
}
|
7487
|
+
|
5671
7488
|
/**
|
5672
7489
|
* different modes of the local video tile
|
5673
7490
|
*
|
@@ -5693,6 +7510,76 @@ export declare interface MediaDiagnosticsState {
|
|
5693
7510
|
latest: LatestMediaDiagnostics;
|
5694
7511
|
}
|
5695
7512
|
|
7513
|
+
/**
|
7514
|
+
* Mention's state, as reflected in the UI.
|
7515
|
+
*
|
7516
|
+
* @beta
|
7517
|
+
*/
|
7518
|
+
export declare interface Mention {
|
7519
|
+
/** ID of a mention */
|
7520
|
+
id: string;
|
7521
|
+
/** Display text of a mention */
|
7522
|
+
displayText: string;
|
7523
|
+
/** Optional React element to render an item icon of a mention suggestion */
|
7524
|
+
icon?: JSX.Element;
|
7525
|
+
}
|
7526
|
+
|
7527
|
+
/**
|
7528
|
+
* Options to display suggestions in the mention scenario.
|
7529
|
+
*
|
7530
|
+
* @beta
|
7531
|
+
*/
|
7532
|
+
export declare interface MentionDisplayOptions {
|
7533
|
+
/**
|
7534
|
+
* Optional callback for customizing the mention renderer in a message thread.
|
7535
|
+
*/
|
7536
|
+
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7537
|
+
}
|
7538
|
+
|
7539
|
+
/**
|
7540
|
+
* Options to lookup suggestions in the mention scenario.
|
7541
|
+
*
|
7542
|
+
* @beta
|
7543
|
+
*/
|
7544
|
+
export declare interface MentionLookupOptions {
|
7545
|
+
/**
|
7546
|
+
* Optional string to set trigger keyword for mention a specific participant.
|
7547
|
+
*
|
7548
|
+
* @defaultValue `@`
|
7549
|
+
*/
|
7550
|
+
trigger?: string;
|
7551
|
+
/**
|
7552
|
+
* Optional callback to fetch a list of mention suggestions base on the query.
|
7553
|
+
*/
|
7554
|
+
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7555
|
+
/**
|
7556
|
+
* Optional callback to render an item of the mention suggestions list.
|
7557
|
+
*/
|
7558
|
+
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
7559
|
+
}
|
7560
|
+
|
7561
|
+
/**
|
7562
|
+
* Options to lookup suggestions and display mentions in the mention scenario.
|
7563
|
+
*
|
7564
|
+
* @beta
|
7565
|
+
*/
|
7566
|
+
export declare type MentionOptions = {
|
7567
|
+
lookupOptions?: MentionLookupOptions;
|
7568
|
+
displayOptions?: MentionDisplayOptions;
|
7569
|
+
};
|
7570
|
+
|
7571
|
+
/**
|
7572
|
+
* Strings of {@link _MentionPopover} that can be overridden.
|
7573
|
+
*
|
7574
|
+
* @beta
|
7575
|
+
*/
|
7576
|
+
export declare interface MentionPopoverStrings {
|
7577
|
+
/**
|
7578
|
+
* Header text for MentionPopover
|
7579
|
+
*/
|
7580
|
+
mentionPopoverHeader: string;
|
7581
|
+
}
|
7582
|
+
|
5696
7583
|
/**
|
5697
7584
|
* Discriminated union of all messages.
|
5698
7585
|
*
|
@@ -5700,7 +7587,7 @@ export declare interface MediaDiagnosticsState {
|
|
5700
7587
|
*
|
5701
7588
|
* @public
|
5702
7589
|
*/
|
5703
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7590
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
|
5704
7591
|
|
5705
7592
|
/**
|
5706
7593
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -5920,7 +7807,7 @@ export declare type MessageThreadProps = {
|
|
5920
7807
|
/**
|
5921
7808
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
5922
7809
|
*/
|
5923
|
-
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7810
|
+
messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
|
5924
7811
|
/**
|
5925
7812
|
* number of participants in the thread
|
5926
7813
|
*/
|
@@ -6001,6 +7888,17 @@ export declare type MessageThreadProps = {
|
|
6001
7888
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
6002
7889
|
*/
|
6003
7890
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7891
|
+
/**
|
7892
|
+
* Optional callback to render attached files in the message component.
|
7893
|
+
* @beta
|
7894
|
+
*/
|
7895
|
+
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7896
|
+
/**
|
7897
|
+
* Optional callback to retrieve the inline image in a message.
|
7898
|
+
* @param attachment - AttachmentMetadata object we want to render
|
7899
|
+
* @beta
|
7900
|
+
*/
|
7901
|
+
onFetchAttachments?: (attachments: AttachmentMetadata[]) => Promise<AttachmentDownloadResult[]>;
|
6004
7902
|
/**
|
6005
7903
|
* Optional callback to edit a message.
|
6006
7904
|
*
|
@@ -6042,6 +7940,28 @@ export declare type MessageThreadProps = {
|
|
6042
7940
|
* Optional strings to override in component
|
6043
7941
|
*/
|
6044
7942
|
strings?: Partial<MessageThreadStrings>;
|
7943
|
+
/**
|
7944
|
+
* @beta
|
7945
|
+
* Optional function called when someone clicks on the file download icon.
|
7946
|
+
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7947
|
+
* this function will be called with the data inside `fileSharingMetadata` key.
|
7948
|
+
*/
|
7949
|
+
fileDownloadHandler?: FileDownloadHandler;
|
7950
|
+
/**
|
7951
|
+
* Optional function to provide customized date format.
|
7952
|
+
* @beta
|
7953
|
+
*/
|
7954
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7955
|
+
/**
|
7956
|
+
* Optional props needed to lookup a mention query and display mentions
|
7957
|
+
* @beta
|
7958
|
+
*/
|
7959
|
+
mentionOptions?: MentionOptions;
|
7960
|
+
/**
|
7961
|
+
* Optional callback called when an inline image is clicked.
|
7962
|
+
* @beta
|
7963
|
+
*/
|
7964
|
+
onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
|
6045
7965
|
};
|
6046
7966
|
|
6047
7967
|
/**
|
@@ -6115,6 +8035,14 @@ export declare interface MessageThreadStrings {
|
|
6115
8035
|
actionMenuMoreOptions?: string;
|
6116
8036
|
/** Aria label to announce when a message is deleted */
|
6117
8037
|
messageDeletedAnnouncementAriaLabel: string;
|
8038
|
+
/** String for download file button in file card */
|
8039
|
+
downloadFile: string;
|
8040
|
+
/** String for policy violation message removal */
|
8041
|
+
blockedWarningText: string;
|
8042
|
+
/** String for policy violation message removal details link */
|
8043
|
+
blockedWarningLinkText: string;
|
8044
|
+
/** String for aria text in file attachment group*/
|
8045
|
+
fileCardGroupMessage: string;
|
6118
8046
|
}
|
6119
8047
|
|
6120
8048
|
/**
|
@@ -6142,6 +8070,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
6142
8070
|
/** Styles for system message container. */
|
6143
8071
|
systemMessageContainer?: ComponentSlotStyle;
|
6144
8072
|
/** Styles for blocked message container. */
|
8073
|
+
blockedMessageContainer?: ComponentSlotStyle;
|
6145
8074
|
/** Styles for message status indicator container. */
|
6146
8075
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
6147
8076
|
}
|
@@ -6310,6 +8239,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6310
8239
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
6311
8240
|
}
|
6312
8241
|
|
8242
|
+
/**
|
8243
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
8244
|
+
* by their browsers settings.
|
8245
|
+
*
|
8246
|
+
* @beta
|
8247
|
+
*/
|
8248
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
8249
|
+
|
8250
|
+
/**
|
8251
|
+
* @beta
|
8252
|
+
* Props for MicrophoneSitePermissions component.
|
8253
|
+
*/
|
8254
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
8255
|
+
/** Icon name for the microphone icon */
|
8256
|
+
microphoneIconName?: string;
|
8257
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
8258
|
+
strings?: MicrophoneSitePermissionsStrings;
|
8259
|
+
}
|
8260
|
+
|
8261
|
+
/**
|
8262
|
+
* @beta
|
8263
|
+
* Strings for MicrophoneSitePermissions component.
|
8264
|
+
*/
|
8265
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
8266
|
+
|
6313
8267
|
/**
|
6314
8268
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
6315
8269
|
*
|
@@ -6328,6 +8282,13 @@ export declare interface NetworkDiagnosticsState {
|
|
6328
8282
|
latest: LatestNetworkDiagnostics;
|
6329
8283
|
}
|
6330
8284
|
|
8285
|
+
/**
|
8286
|
+
* Callback function used to provide custom data to build profile for a user.
|
8287
|
+
*
|
8288
|
+
* @beta
|
8289
|
+
*/
|
8290
|
+
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
8291
|
+
|
6331
8292
|
/**
|
6332
8293
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
6333
8294
|
*
|
@@ -6450,6 +8411,14 @@ export declare interface ParticipantItemProps {
|
|
6450
8411
|
onClick?: (props?: ParticipantItemProps) => void;
|
6451
8412
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6452
8413
|
showParticipantOverflowTooltip?: boolean;
|
8414
|
+
/**
|
8415
|
+
* Optional value to determine and display a participants connection status.
|
8416
|
+
* For example, `Connecting`, `Ringing` etc.
|
8417
|
+
* The actual text that is displayed is determined by the localized string
|
8418
|
+
* corresponding to the provided participant state.
|
8419
|
+
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8420
|
+
*/
|
8421
|
+
participantState?: ParticipantState;
|
6453
8422
|
/**
|
6454
8423
|
* Optional aria property that prefixes the ParticipantItems aria content
|
6455
8424
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -6475,6 +8444,10 @@ export declare interface ParticipantItemStrings {
|
|
6475
8444
|
mutedIconLabel: string;
|
6476
8445
|
/** placeholder text for participants who does not have a display name*/
|
6477
8446
|
displayNamePlaceholder?: string;
|
8447
|
+
/** String shown when `participantState` is `Ringing` */
|
8448
|
+
participantStateRinging?: string;
|
8449
|
+
/** String shown when `participantState` is `Hold` */
|
8450
|
+
participantStateHold?: string;
|
6478
8451
|
}
|
6479
8452
|
|
6480
8453
|
/**
|
@@ -6554,6 +8527,10 @@ export declare type ParticipantListProps = {
|
|
6554
8527
|
styles?: ParticipantListStyles;
|
6555
8528
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6556
8529
|
showParticipantOverflowTooltip?: boolean;
|
8530
|
+
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8531
|
+
totalParticipantCount?: number;
|
8532
|
+
/** Strings for the participant list */
|
8533
|
+
strings?: ParticipantListStrings;
|
6557
8534
|
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
6558
8535
|
participantAriaLabelledBy?: string;
|
6559
8536
|
};
|
@@ -6566,8 +8543,21 @@ export declare type ParticipantListProps = {
|
|
6566
8543
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6567
8544
|
participants: CallParticipantListParticipant[];
|
6568
8545
|
myUserId: string;
|
8546
|
+
totalParticipantCount?: number;
|
6569
8547
|
};
|
6570
8548
|
|
8549
|
+
/**
|
8550
|
+
* Strings for the {@link ParticipantList}.
|
8551
|
+
*
|
8552
|
+
* @beta
|
8553
|
+
*/
|
8554
|
+
export declare interface ParticipantListStrings {
|
8555
|
+
/**
|
8556
|
+
* String for rendering the count of participants not contained in the displayed participant list
|
8557
|
+
*/
|
8558
|
+
overflowParticipantCount?: string;
|
8559
|
+
}
|
8560
|
+
|
6571
8561
|
/**
|
6572
8562
|
* Styles for the {@link ParticipantList}.
|
6573
8563
|
*
|
@@ -6784,6 +8774,18 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
6784
8774
|
*/
|
6785
8775
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
6786
8776
|
|
8777
|
+
/**
|
8778
|
+
* The profile of a user.
|
8779
|
+
*
|
8780
|
+
* @beta
|
8781
|
+
*/
|
8782
|
+
export declare type Profile = {
|
8783
|
+
/**
|
8784
|
+
* Primary text to display, usually the name of the person.
|
8785
|
+
*/
|
8786
|
+
displayName?: string;
|
8787
|
+
};
|
8788
|
+
|
6787
8789
|
/**
|
6788
8790
|
* Raised hand state with order
|
6789
8791
|
*
|
@@ -6968,6 +8970,7 @@ export declare interface RemoteVideoStreamState {
|
|
6968
8970
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
6969
8971
|
* @beta
|
6970
8972
|
*/
|
8973
|
+
isReceiving: boolean;
|
6971
8974
|
/**
|
6972
8975
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
6973
8976
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -7067,6 +9070,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
7067
9070
|
*/
|
7068
9071
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
7069
9072
|
|
9073
|
+
/**
|
9074
|
+
* @beta
|
9075
|
+
* Error to be displayed to the user in an error bar above sendbox.
|
9076
|
+
*/
|
9077
|
+
export declare interface SendBoxErrorBarError {
|
9078
|
+
/** Error Message to be displayed */
|
9079
|
+
message: string;
|
9080
|
+
/**
|
9081
|
+
* Unix Timestamp. Preferred generation using `Date.now()`
|
9082
|
+
*/
|
9083
|
+
timestamp: number;
|
9084
|
+
}
|
9085
|
+
|
7070
9086
|
/**
|
7071
9087
|
* Props for {@link SendBox}.
|
7072
9088
|
*
|
@@ -7086,6 +9102,11 @@ export declare interface SendBoxProps {
|
|
7086
9102
|
* Optional override behavior on send button click
|
7087
9103
|
*/
|
7088
9104
|
onSendMessage?: (content: string) => Promise<void>;
|
9105
|
+
/**
|
9106
|
+
* Optional props needed to lookup suggestions in the mention scenario.
|
9107
|
+
* @beta
|
9108
|
+
*/
|
9109
|
+
mentionLookupOptions?: MentionLookupOptions;
|
7089
9110
|
/**
|
7090
9111
|
* Optional callback called when user is typing
|
7091
9112
|
*/
|
@@ -7122,6 +9143,25 @@ export declare interface SendBoxProps {
|
|
7122
9143
|
* When undefined nothing has focus on render
|
7123
9144
|
*/
|
7124
9145
|
autoFocus?: 'sendBoxTextField';
|
9146
|
+
/**
|
9147
|
+
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
9148
|
+
* vertically to accommodate the uploaded files. File uploads will
|
9149
|
+
* be rendered below the text area in sendBox.
|
9150
|
+
* @beta
|
9151
|
+
*/
|
9152
|
+
onRenderFileUploads?: () => JSX.Element;
|
9153
|
+
/**
|
9154
|
+
* Optional array of active file uploads where each object has attributes
|
9155
|
+
* of a file upload like name, progress, errorMessage etc.
|
9156
|
+
* @beta
|
9157
|
+
*/
|
9158
|
+
activeFileUploads?: ActiveFileUpload[];
|
9159
|
+
/**
|
9160
|
+
* Optional callback to remove the file upload before sending by clicking on
|
9161
|
+
* cancel icon.
|
9162
|
+
* @beta
|
9163
|
+
*/
|
9164
|
+
onCancelFileUpload?: (fileId: string) => void;
|
7125
9165
|
}
|
7126
9166
|
|
7127
9167
|
/**
|
@@ -7152,6 +9192,22 @@ export declare interface SendBoxStrings {
|
|
7152
9192
|
* Aria label for send message button
|
7153
9193
|
*/
|
7154
9194
|
sendButtonAriaLabel: string;
|
9195
|
+
/**
|
9196
|
+
* Error message indicating that all file uploads are not complete.
|
9197
|
+
*/
|
9198
|
+
fileUploadsPendingError: string;
|
9199
|
+
/**
|
9200
|
+
* Aria label to notify user when focus is on cancel file upload button.
|
9201
|
+
*/
|
9202
|
+
removeFile: string;
|
9203
|
+
/**
|
9204
|
+
* Aria label to notify user file uploading starts.
|
9205
|
+
*/
|
9206
|
+
uploading: string;
|
9207
|
+
/**
|
9208
|
+
* Aria label to notify user file is uploaded.
|
9209
|
+
*/
|
9210
|
+
uploadCompleted: string;
|
7155
9211
|
}
|
7156
9212
|
|
7157
9213
|
/**
|
@@ -7172,6 +9228,56 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7172
9228
|
systemMessage?: IStyle;
|
7173
9229
|
}
|
7174
9230
|
|
9231
|
+
/**
|
9232
|
+
* @beta
|
9233
|
+
* Strings for SitePermissions component
|
9234
|
+
*/
|
9235
|
+
export declare type SitePermissionsStrings = {
|
9236
|
+
/**
|
9237
|
+
* Main text string.
|
9238
|
+
*/
|
9239
|
+
primaryText?: string;
|
9240
|
+
/**
|
9241
|
+
* Subtext string.
|
9242
|
+
*/
|
9243
|
+
secondaryText?: string;
|
9244
|
+
/**
|
9245
|
+
* More help link string.
|
9246
|
+
*/
|
9247
|
+
linkText?: string;
|
9248
|
+
/**
|
9249
|
+
* Primary button text string.
|
9250
|
+
*/
|
9251
|
+
primaryButtonText?: string;
|
9252
|
+
/**
|
9253
|
+
* Aria label describing the content of the container
|
9254
|
+
*/
|
9255
|
+
ariaLabel?: string;
|
9256
|
+
};
|
9257
|
+
|
9258
|
+
/**
|
9259
|
+
* Fluent styles for {@link SitePermissionsContainer}.
|
9260
|
+
*
|
9261
|
+
* @beta
|
9262
|
+
*/
|
9263
|
+
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
9264
|
+
/** Styles for the primary button. */
|
9265
|
+
primaryButton?: IButtonStyles;
|
9266
|
+
/** Styles for the help troubleshooting link text. */
|
9267
|
+
troubleshootingLink?: ILinkStyles;
|
9268
|
+
}
|
9269
|
+
|
9270
|
+
/**
|
9271
|
+
* @beta
|
9272
|
+
* Type for representing a custom sound to use for a calling event
|
9273
|
+
*/
|
9274
|
+
export declare type SoundEffect = {
|
9275
|
+
/**
|
9276
|
+
* Path to sound effect
|
9277
|
+
*/
|
9278
|
+
url: string;
|
9279
|
+
};
|
9280
|
+
|
7175
9281
|
/**
|
7176
9282
|
* @public
|
7177
9283
|
* spoken language strings for captions setting modal
|
@@ -7328,6 +9434,19 @@ export declare interface StatefulCallClient extends CallClient {
|
|
7328
9434
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
7329
9435
|
*/
|
7330
9436
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9437
|
+
/** @conditional-compile-remove(one-to-n-calling) */
|
9438
|
+
/**
|
9439
|
+
* The CallAgent is used to handle calls.
|
9440
|
+
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9441
|
+
* - The CallClient can only have one active CallAgent instance at a time.
|
9442
|
+
* - You can create a new CallClient instance to create a new CallAgent.
|
9443
|
+
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9444
|
+
* createCallAgent() method again to create a new CallAgent.
|
9445
|
+
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9446
|
+
* @param options - The CallAgentOptions for additional options like display name.
|
9447
|
+
* @public
|
9448
|
+
*/
|
9449
|
+
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
7331
9450
|
}
|
7332
9451
|
|
7333
9452
|
/**
|
@@ -7340,7 +9459,16 @@ export declare type StatefulCallClientArgs = {
|
|
7340
9459
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
7341
9460
|
* state. It is not used by StatefulCallClient.
|
7342
9461
|
*/
|
7343
|
-
userId: CommunicationUserIdentifier;
|
9462
|
+
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
9463
|
+
/**
|
9464
|
+
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9465
|
+
* to start a PSTN call.
|
9466
|
+
*
|
9467
|
+
* example: +11234567
|
9468
|
+
*
|
9469
|
+
* This is not a cached value from the headless calling client.
|
9470
|
+
*/
|
9471
|
+
alternateCallerId?: string;
|
7344
9472
|
};
|
7345
9473
|
|
7346
9474
|
/**
|
@@ -7427,7 +9555,7 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
7427
9555
|
* any way to {@link @azure/communication-calling#DeviceManager}. It is entirely contained in
|
7428
9556
|
* {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
|
7429
9557
|
*/
|
7430
|
-
selectCamera: (
|
9558
|
+
selectCamera: (device: VideoDeviceInfo) => void;
|
7431
9559
|
/**
|
7432
9560
|
* Gets the list of unparented video streams. This is a list of video streams that have not been added to a
|
7433
9561
|
* {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
|
@@ -7469,6 +9597,62 @@ export declare interface StreamMediaProps {
|
|
7469
9597
|
styles?: BaseCustomStyles;
|
7470
9598
|
}
|
7471
9599
|
|
9600
|
+
/**
|
9601
|
+
* @beta
|
9602
|
+
* Corresponding texts to each call issue
|
9603
|
+
*/
|
9604
|
+
export declare interface SurveyIssues {
|
9605
|
+
overallRating: {
|
9606
|
+
callCannotJoin: string;
|
9607
|
+
callCannotInvite: string;
|
9608
|
+
hadToRejoin: string;
|
9609
|
+
callEndedUnexpectedly: string;
|
9610
|
+
otherIssues: string;
|
9611
|
+
};
|
9612
|
+
audioRating: {
|
9613
|
+
noLocalAudio: string;
|
9614
|
+
noRemoteAudio: string;
|
9615
|
+
echo: string;
|
9616
|
+
audioNoise: string;
|
9617
|
+
lowVolume: string;
|
9618
|
+
audioStoppedUnexpectedly: string;
|
9619
|
+
distortedSpeech: string;
|
9620
|
+
audioInterruption: string;
|
9621
|
+
otherIssues: string;
|
9622
|
+
};
|
9623
|
+
videoRating: {
|
9624
|
+
noVideoReceived: string;
|
9625
|
+
noVideoSent: string;
|
9626
|
+
lowQuality: string;
|
9627
|
+
freezes: string;
|
9628
|
+
stoppedUnexpectedly: string;
|
9629
|
+
darkVideoReceived: string;
|
9630
|
+
audioVideoOutOfSync: string;
|
9631
|
+
otherIssues: string;
|
9632
|
+
};
|
9633
|
+
screenshareRating: {
|
9634
|
+
noContentLocal: string;
|
9635
|
+
noContentRemote: string;
|
9636
|
+
cannotPresent: string;
|
9637
|
+
lowQuality: string;
|
9638
|
+
freezes: string;
|
9639
|
+
stoppedUnexpectedly: string;
|
9640
|
+
largeDelay: string;
|
9641
|
+
otherIssues: string;
|
9642
|
+
};
|
9643
|
+
}
|
9644
|
+
|
9645
|
+
/**
|
9646
|
+
* @beta
|
9647
|
+
* Corresponding texts to each call issue category
|
9648
|
+
*/
|
9649
|
+
export declare interface SurveyIssuesHeadingStrings {
|
9650
|
+
overallRating: string;
|
9651
|
+
audioRating: string;
|
9652
|
+
videoRating: string;
|
9653
|
+
screenshareRating: string;
|
9654
|
+
}
|
9655
|
+
|
7472
9656
|
/**
|
7473
9657
|
* Discriminated union of all system messages.
|
7474
9658
|
*
|
@@ -7495,6 +9679,74 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
7495
9679
|
*/
|
7496
9680
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
7497
9681
|
|
9682
|
+
/**
|
9683
|
+
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9684
|
+
*
|
9685
|
+
* @beta
|
9686
|
+
*/
|
9687
|
+
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9688
|
+
/**
|
9689
|
+
* Join the call with microphone initially on/off.
|
9690
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9691
|
+
* @param microphoneOn - Whether microphone is initially enabled
|
9692
|
+
*
|
9693
|
+
* @beta
|
9694
|
+
*/
|
9695
|
+
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9696
|
+
/**
|
9697
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
9698
|
+
* true = turn on the device when joining call
|
9699
|
+
* false = turn off the device when joining call
|
9700
|
+
* 'keep'/undefined = retain devices' precall state
|
9701
|
+
*
|
9702
|
+
* @param options - param to set microphone/camera initially on/off.
|
9703
|
+
*
|
9704
|
+
* @public
|
9705
|
+
*/
|
9706
|
+
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9707
|
+
/**
|
9708
|
+
* Start the call.
|
9709
|
+
*
|
9710
|
+
* @param participants - An array of participant ids to join
|
9711
|
+
*
|
9712
|
+
* @beta
|
9713
|
+
*/
|
9714
|
+
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9715
|
+
/**
|
9716
|
+
* Start the call.
|
9717
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9718
|
+
* @beta
|
9719
|
+
*/
|
9720
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9721
|
+
}
|
9722
|
+
|
9723
|
+
/**
|
9724
|
+
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9725
|
+
*
|
9726
|
+
* @beta
|
9727
|
+
*/
|
9728
|
+
export declare type TeamsCallAdapterArgs = {
|
9729
|
+
userId: MicrosoftTeamsUserIdentifier;
|
9730
|
+
credential: CommunicationTokenCredential;
|
9731
|
+
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9732
|
+
/**
|
9733
|
+
* Optional parameters for the {@link TeamsCallAdapter} created
|
9734
|
+
*/
|
9735
|
+
options?: TeamsAdapterOptions;
|
9736
|
+
};
|
9737
|
+
|
9738
|
+
/**
|
9739
|
+
* Object containing all the teams call handlers required for calling components.
|
9740
|
+
*
|
9741
|
+
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9742
|
+
* See {@link useHandlers} and {@link usePropsFor}.
|
9743
|
+
*
|
9744
|
+
* @beta
|
9745
|
+
*/
|
9746
|
+
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9747
|
+
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9748
|
+
}
|
9749
|
+
|
7498
9750
|
/**
|
7499
9751
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
7500
9752
|
*
|
@@ -7540,6 +9792,27 @@ export declare interface TranscriptionCallFeature {
|
|
7540
9792
|
isTranscriptionActive: boolean;
|
7541
9793
|
}
|
7542
9794
|
|
9795
|
+
/**
|
9796
|
+
* Transfer feature state
|
9797
|
+
*
|
9798
|
+
* @beta
|
9799
|
+
*/
|
9800
|
+
export declare interface TransferFeature {
|
9801
|
+
/**
|
9802
|
+
* Accepted transfer requests
|
9803
|
+
*/
|
9804
|
+
acceptedTransfers: {
|
9805
|
+
[key: string]: AcceptedTransfer;
|
9806
|
+
};
|
9807
|
+
}
|
9808
|
+
|
9809
|
+
/**
|
9810
|
+
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
9811
|
+
*
|
9812
|
+
* @beta
|
9813
|
+
*/
|
9814
|
+
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
9815
|
+
|
7543
9816
|
/**
|
7544
9817
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
7545
9818
|
*
|
@@ -7674,11 +9947,118 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
7674
9947
|
typingString?: IStyle;
|
7675
9948
|
}
|
7676
9949
|
|
9950
|
+
/**
|
9951
|
+
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
9952
|
+
*
|
9953
|
+
* @beta
|
9954
|
+
*/
|
9955
|
+
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
9956
|
+
|
9957
|
+
/**
|
9958
|
+
* props for {@link UnsupportedBrowser} UI
|
9959
|
+
*
|
9960
|
+
* @beta
|
9961
|
+
*/
|
9962
|
+
export declare interface UnsupportedBrowserProps {
|
9963
|
+
/** Handler to perform an action when the help link is actioned */
|
9964
|
+
onTroubleshootingClick?: () => void;
|
9965
|
+
/** String overrides for the component */
|
9966
|
+
strings?: UnsupportedBrowserStrings;
|
9967
|
+
}
|
9968
|
+
|
9969
|
+
/**
|
9970
|
+
* Strings for UnsupportedBrowser component
|
9971
|
+
*
|
9972
|
+
* @beta
|
9973
|
+
*/
|
9974
|
+
export declare interface UnsupportedBrowserStrings {
|
9975
|
+
/** String for the primary text */
|
9976
|
+
primaryText: string;
|
9977
|
+
/** String for the secondary text */
|
9978
|
+
secondaryText: string;
|
9979
|
+
/** String to display in the text for the help link */
|
9980
|
+
moreHelpLinkText: string;
|
9981
|
+
}
|
9982
|
+
|
9983
|
+
/**
|
9984
|
+
* UI to display to the user that the browser version they are using is out of date
|
9985
|
+
* and not supported by Azure Communications Calling service.
|
9986
|
+
*
|
9987
|
+
* @beta
|
9988
|
+
*/
|
9989
|
+
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
9990
|
+
|
9991
|
+
/**
|
9992
|
+
* props for {@link UnsupportedBrowserVersion} UI
|
9993
|
+
*
|
9994
|
+
* @beta
|
9995
|
+
*/
|
9996
|
+
export declare interface UnsupportedBrowserVersionProps {
|
9997
|
+
/** Handler to perform an action when the help link is actioned */
|
9998
|
+
onTroubleshootingClick?: () => void;
|
9999
|
+
/** String overrides for the component */
|
10000
|
+
strings?: UnsupportedBrowserVersionStrings;
|
10001
|
+
/** Handler to allow user to continue into the call */
|
10002
|
+
onContinueAnywayClick?: () => void;
|
10003
|
+
}
|
10004
|
+
|
10005
|
+
/**
|
10006
|
+
* Strings for UnsupportedBrowser component
|
10007
|
+
*
|
10008
|
+
* @beta
|
10009
|
+
*/
|
10010
|
+
export declare interface UnsupportedBrowserVersionStrings {
|
10011
|
+
/** String for the primary text */
|
10012
|
+
primaryText: string;
|
10013
|
+
/** String for the secondary text */
|
10014
|
+
secondaryText: string;
|
10015
|
+
/** String to display in the text for the help link */
|
10016
|
+
moreHelpLinkText: string;
|
10017
|
+
/** String for continue without updating button */
|
10018
|
+
continueAnywayButtonText?: string;
|
10019
|
+
}
|
10020
|
+
|
10021
|
+
/**
|
10022
|
+
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
10023
|
+
*
|
10024
|
+
* @beta
|
10025
|
+
*/
|
10026
|
+
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
10027
|
+
|
10028
|
+
/**
|
10029
|
+
* Props for {@link UnsupportedOperatingSystem} UI
|
10030
|
+
*
|
10031
|
+
* @beta
|
10032
|
+
*/
|
10033
|
+
export declare interface UnsupportedOperatingSystemProps {
|
10034
|
+
/** Handler to perform a action when the help link is actioned */
|
10035
|
+
onTroubleshootingClick?: () => void;
|
10036
|
+
/** String overrides for the component */
|
10037
|
+
strings?: UnsupportedOperatingSystemStrings;
|
10038
|
+
}
|
10039
|
+
|
10040
|
+
/**
|
10041
|
+
* Strings for UnsupportedBrowser component
|
10042
|
+
*
|
10043
|
+
* @beta
|
10044
|
+
*/
|
10045
|
+
export declare interface UnsupportedOperatingSystemStrings {
|
10046
|
+
/** String for the primary text */
|
10047
|
+
primaryText: string;
|
10048
|
+
/** String for the secondary text */
|
10049
|
+
secondaryText: string;
|
10050
|
+
/** String to display in the text for the help link */
|
10051
|
+
moreHelpLinkText: string;
|
10052
|
+
}
|
10053
|
+
|
7677
10054
|
/**
|
7678
10055
|
* @public
|
7679
10056
|
* Callback function run when a message is updated.
|
7680
10057
|
*/
|
7681
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
10058
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string, options?: {
|
10059
|
+
metadata?: Record<string, string>;
|
10060
|
+
attachmentMetadata?: AttachmentMetadata[];
|
10061
|
+
}) => Promise<void>;
|
7682
10062
|
|
7683
10063
|
/**
|
7684
10064
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -7826,6 +10206,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
7826
10206
|
*/
|
7827
10207
|
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;
|
7828
10208
|
|
10209
|
+
/**
|
10210
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
10211
|
+
*
|
10212
|
+
* Useful when implementing a custom component that utilizes the providers
|
10213
|
+
* exported from this library.
|
10214
|
+
*
|
10215
|
+
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
10216
|
+
*
|
10217
|
+
* @beta
|
10218
|
+
*/
|
10219
|
+
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10220
|
+
|
10221
|
+
/**
|
10222
|
+
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
10223
|
+
*
|
10224
|
+
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
10225
|
+
* creation of the adapter internally.
|
10226
|
+
*
|
10227
|
+
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
10228
|
+
* as they are created. The adapter is only created when all arguments are defined.
|
10229
|
+
*
|
10230
|
+
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
10231
|
+
* See storybook for typical usage examples.
|
10232
|
+
*
|
10233
|
+
* @beta
|
10234
|
+
*/
|
10235
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
10236
|
+
|
10237
|
+
/**
|
10238
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
10239
|
+
*
|
10240
|
+
* Useful when implementing a custom component that utilizes the providers
|
10241
|
+
* exported from this library.
|
10242
|
+
*
|
10243
|
+
* @beta
|
10244
|
+
*/
|
10245
|
+
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
10246
|
+
|
7829
10247
|
/**
|
7830
10248
|
* React hook to access theme
|
7831
10249
|
*
|
@@ -7965,7 +10383,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
7965
10383
|
/**
|
7966
10384
|
* @public
|
7967
10385
|
*/
|
7968
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
|
10386
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(large-gallery) */ 'largeGallery' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
|
7969
10387
|
|
7970
10388
|
/**
|
7971
10389
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -8106,6 +10524,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
8106
10524
|
isSpeaking?: boolean;
|
8107
10525
|
/** Video stream of shared screen */
|
8108
10526
|
screenShareStream?: VideoGalleryStream;
|
10527
|
+
/**
|
10528
|
+
* @beta
|
10529
|
+
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10530
|
+
*/
|
10531
|
+
state?: ParticipantState;
|
8109
10532
|
/** Whether participant is raised a hand */
|
8110
10533
|
raisedHand?: RaisedHand;
|
8111
10534
|
}
|
@@ -8345,6 +10768,12 @@ export declare interface VideoTileProps {
|
|
8345
10768
|
isSpeaking?: boolean;
|
8346
10769
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
8347
10770
|
raisedHand?: RaisedHand;
|
10771
|
+
/**
|
10772
|
+
* The call connection state of the participant.
|
10773
|
+
* For example, `Hold` means the participant is on hold.
|
10774
|
+
*/
|
10775
|
+
participantState?: ParticipantState;
|
10776
|
+
strings?: VideoTileStrings;
|
8348
10777
|
/**
|
8349
10778
|
* Display custom menu items in the VideoTile's contextual menu.
|
8350
10779
|
* Uses Fluent UI ContextualMenu.
|
@@ -8357,6 +10786,15 @@ export declare interface VideoTileProps {
|
|
8357
10786
|
onLongTouch?: () => void;
|
8358
10787
|
}
|
8359
10788
|
|
10789
|
+
/**
|
10790
|
+
* Strings of {@link VideoTile} that can be overridden.
|
10791
|
+
* @beta
|
10792
|
+
*/
|
10793
|
+
export declare interface VideoTileStrings {
|
10794
|
+
participantStateRinging: string;
|
10795
|
+
participantStateHold: string;
|
10796
|
+
}
|
10797
|
+
|
8360
10798
|
/**
|
8361
10799
|
* Fluent styles for {@link VideoTile}.
|
8362
10800
|
*
|