@azure/communication-react 1.8.0 → 1.8.1-alpha-202309200012
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 +2419 -47
- package/dist/dist-cjs/communication-react/index.js +16319 -8891
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +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/handlers/createCommonHandlers.d.ts +11 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +53 -43
- 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 +91 -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 +48 -13
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
- package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +21 -6
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +4 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +14 -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 +37 -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 +41 -7
- 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 +60 -2
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +8 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +79 -13
- 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 +17 -10
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/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 +33 -31
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
- package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +89 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +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 +4 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +146 -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 +10 -11
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +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 +10 -9
- 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 +7 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +36 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +22 -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 +32 -35
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +22 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +89 -25
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +15 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +121 -21
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +9 -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 +68 -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 +74 -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 +104 -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 +85 -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 +3 -7
- package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js +2 -3
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +29 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +36 -13
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
- package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
- package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +48 -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 +61 -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 -15
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
- package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +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 +51 -2
- package/dist/dist-esm/react-components/src/components/MessageThread.js +203 -83
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +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 +57 -26
- 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 +32 -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.d.ts +35 -0
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +33 -0
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +41 -0
- package/dist/dist-esm/react-components/src/components/SendBox.js +39 -13
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.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/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 +32 -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 +9 -13
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +13 -15
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -3
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +48 -12
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +10 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +84 -21
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.d.ts +21 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +18 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +6 -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.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +36 -5
- 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 +28 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +145 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +7 -32
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +19 -32
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +63 -21
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +28 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +139 -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 +39 -54
- 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 +20 -0
- package/dist/dist-esm/react-components/src/components/index.js +12 -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.js +3 -12
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Common.style.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 +1 -3
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +72 -0
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +212 -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 +1 -4
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +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 +5 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +30 -8
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +0 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +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 +0 -3
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +0 -1
- package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +3 -17
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
- package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
- package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.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 +8 -0
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +9 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +1 -0
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +68 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/index.js +21 -63
- package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -6
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +17 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +116 -10
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.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/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +27 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +8 -0
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +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.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 +105 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +118 -33
- 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 +168 -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 +76 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +388 -58
- 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 +130 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +9 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +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.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +114 -22
- 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 +95 -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 +47 -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 +11 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +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 +62 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +25 -34
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +87 -32
- 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/buttons/Camera.js +12 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +7 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +47 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +17 -8
- 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 +7 -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 +10 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +13 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +31 -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.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +29 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +141 -17
- 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 +23 -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.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +13 -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 +14 -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 +2 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +37 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +55 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +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 +15 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +115 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +83 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +103 -21
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +3 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/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 +30 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +148 -6
- 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 +64 -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 +10 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +40 -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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +24 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +11 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +20 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +6 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +145 -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 +17 -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 +14 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +28 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +152 -29
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +17 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +13 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +23 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -6
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +21 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +21 -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 +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +60 -29
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +32 -25
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +213 -30
- 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 +91 -71
- 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 +23 -8
- 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 +13 -14
- 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 +31 -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 +16 -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/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/VideoEffectsPane.js +16 -11
- 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 +49 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +34 -4
- 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 +5 -16
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.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 +21 -4
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
- package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
- package/package.json +39 -39
@@ -15,6 +15,7 @@
|
|
15
15
|
* @packageDocumentation
|
16
16
|
*/
|
17
17
|
|
18
|
+
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
18
19
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
19
20
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
20
21
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
@@ -27,6 +28,7 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
27
28
|
import { CallDirection } from '@azure/communication-calling';
|
28
29
|
import { CallEndReason } from '@azure/communication-calling';
|
29
30
|
import { CallerInfo } from '@azure/communication-calling';
|
31
|
+
import { CallKind } from '@azure/communication-calling';
|
30
32
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
31
33
|
import { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
32
34
|
import { CaptionsResultType } from '@azure/communication-calling';
|
@@ -45,6 +47,8 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
45
47
|
import { DeviceAccess } from '@azure/communication-calling';
|
46
48
|
import { DeviceManager } from '@azure/communication-calling';
|
47
49
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
50
|
+
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
51
|
+
import { EnvironmentInfo } from '@azure/communication-calling';
|
48
52
|
import { GroupCallLocator } from '@azure/communication-calling';
|
49
53
|
import { IButtonProps } from '@fluentui/react';
|
50
54
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -52,18 +56,23 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
52
56
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
53
57
|
import { IContextualMenuProps } from '@fluentui/react';
|
54
58
|
import { IContextualMenuStyles } from '@fluentui/react';
|
59
|
+
import { ILinkStyles } from '@fluentui/react';
|
55
60
|
import { IMessageBarProps } from '@fluentui/react';
|
61
|
+
import { IncomingCall } from '@azure/communication-calling';
|
56
62
|
import { IPersonaStyleProps } from '@fluentui/react';
|
57
63
|
import { IPersonaStyles } from '@fluentui/react';
|
58
64
|
import { IRawStyle } from '@fluentui/react';
|
59
65
|
import { IRenderFunction } from '@fluentui/react';
|
60
66
|
import { IStyle } from '@fluentui/react';
|
61
67
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
68
|
+
import { ITextFieldStyles } from '@fluentui/react';
|
62
69
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
63
70
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
64
71
|
import { LocalVideoStream } from '@azure/communication-calling';
|
65
72
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
66
73
|
import { MediaStreamType } from '@azure/communication-calling';
|
74
|
+
import { MicrosoftBotKind } from '@azure/communication-common';
|
75
|
+
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
67
76
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
68
77
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
69
78
|
import { PartialTheme } from '@fluentui/react';
|
@@ -79,12 +88,17 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
|
|
79
88
|
import { default as React_2 } from 'react';
|
80
89
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
81
90
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
91
|
+
import { RoomCallLocator } from '@azure/communication-calling';
|
82
92
|
import { ScalingMode } from '@azure/communication-calling';
|
83
93
|
import { SendMessageOptions } from '@azure/communication-chat';
|
84
94
|
import { StartCallOptions } from '@azure/communication-calling';
|
85
95
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
96
|
+
import { SyntheticEvent } from 'react';
|
97
|
+
import { TeamsCall } from '@azure/communication-calling';
|
98
|
+
import { TeamsCallAgent } from '@azure/communication-calling';
|
86
99
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
87
100
|
import { Theme } from '@fluentui/react';
|
101
|
+
import { TransferRequestedEventArgs } from '@azure/communication-calling';
|
88
102
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
89
103
|
import { UnknownIdentifier } from '@azure/communication-common';
|
90
104
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
@@ -93,6 +107,22 @@ import { VideoEffectName } from '@azure/communication-calling';
|
|
93
107
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
94
108
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
95
109
|
|
110
|
+
/**
|
111
|
+
* Transfer feature state
|
112
|
+
*
|
113
|
+
* @beta
|
114
|
+
*/
|
115
|
+
export declare interface AcceptedTransfer {
|
116
|
+
/**
|
117
|
+
* Stores call id of accepted transfer
|
118
|
+
*/
|
119
|
+
callId: string;
|
120
|
+
/**
|
121
|
+
* Stores timestamp when transfer was accepted
|
122
|
+
*/
|
123
|
+
timestamp: Date;
|
124
|
+
}
|
125
|
+
|
96
126
|
/**
|
97
127
|
* Active error messages to be shown via {@link ErrorBar}.
|
98
128
|
*
|
@@ -112,6 +142,38 @@ export declare interface ActiveErrorMessage {
|
|
112
142
|
timestamp?: Date;
|
113
143
|
}
|
114
144
|
|
145
|
+
/**
|
146
|
+
* Attributes required for SendBox to show file uploads like name, progress etc.
|
147
|
+
* @beta
|
148
|
+
*/
|
149
|
+
export declare interface ActiveFileUpload {
|
150
|
+
/**
|
151
|
+
* Unique identifier for the file upload.
|
152
|
+
*/
|
153
|
+
id: string;
|
154
|
+
/**
|
155
|
+
* File name to be rendered for uploaded file.
|
156
|
+
*/
|
157
|
+
filename: string;
|
158
|
+
/**
|
159
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
160
|
+
* This is unrelated to the `uploadComplete` property.
|
161
|
+
* It is only used to show the progress of the upload.
|
162
|
+
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
163
|
+
* property to true to mark the upload as complete.
|
164
|
+
*/
|
165
|
+
progress: number;
|
166
|
+
/**
|
167
|
+
* Error to be displayed to the user if the upload fails.
|
168
|
+
*/
|
169
|
+
error?: SendBoxErrorBarError;
|
170
|
+
/**
|
171
|
+
* `true` means that the upload is completed.
|
172
|
+
* This is independent of the upload `progress`.
|
173
|
+
*/
|
174
|
+
uploadComplete?: boolean;
|
175
|
+
}
|
176
|
+
|
115
177
|
/**
|
116
178
|
* Error reported via error events and stored in adapter state.
|
117
179
|
*
|
@@ -178,6 +240,13 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
178
240
|
*/
|
179
241
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
180
242
|
|
243
|
+
/**
|
244
|
+
* @beta
|
245
|
+
*/
|
246
|
+
export declare interface AttachmentDownloadResult {
|
247
|
+
blobUrl: string;
|
248
|
+
}
|
249
|
+
|
181
250
|
/**
|
182
251
|
* Custom data attributes for displaying avatar for a user.
|
183
252
|
*
|
@@ -207,6 +276,11 @@ export declare type AvatarPersonaData = {
|
|
207
276
|
* @defaultvalue `white`
|
208
277
|
*/
|
209
278
|
initialsTextColor?: string;
|
279
|
+
/**
|
280
|
+
* If true, show the special coin for unknown persona.
|
281
|
+
* It has '?' in place of initials, with static font and background colors
|
282
|
+
*/
|
283
|
+
showUnknownPersonaCoin?: boolean;
|
210
284
|
};
|
211
285
|
|
212
286
|
/**
|
@@ -228,6 +302,11 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
228
302
|
displayName: string;
|
229
303
|
credential: CommunicationTokenCredential;
|
230
304
|
locator: CallAdapterLocator;
|
305
|
+
/**
|
306
|
+
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
307
|
+
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
308
|
+
*/
|
309
|
+
alternateCallerId?: string;
|
231
310
|
/**
|
232
311
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
233
312
|
*/
|
@@ -252,6 +331,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
252
331
|
displayName: string;
|
253
332
|
credential: CommunicationTokenCredential;
|
254
333
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
334
|
+
alternateCallerId?: string;
|
255
335
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
256
336
|
};
|
257
337
|
|
@@ -267,6 +347,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
267
347
|
chatClient: StatefulChatClient;
|
268
348
|
chatThreadClient: ChatThreadClient;
|
269
349
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
350
|
+
chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
|
270
351
|
};
|
271
352
|
|
272
353
|
/**
|
@@ -282,6 +363,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
282
363
|
threadId: string;
|
283
364
|
};
|
284
365
|
|
366
|
+
/**
|
367
|
+
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
368
|
+
* @beta
|
369
|
+
*/
|
370
|
+
export declare type AzureCommunicationChatAdapterOptions = {
|
371
|
+
credential?: CommunicationTokenCredential;
|
372
|
+
};
|
373
|
+
|
285
374
|
/**
|
286
375
|
* Properties common to all composites exported from this library.
|
287
376
|
*
|
@@ -337,6 +426,186 @@ export declare interface BaseCustomStyles {
|
|
337
426
|
root?: IStyle;
|
338
427
|
}
|
339
428
|
|
429
|
+
/**
|
430
|
+
* Base interface that all Meta Data should extend.
|
431
|
+
* Typically used for ACS to ACS file transfers.
|
432
|
+
* @beta
|
433
|
+
*/
|
434
|
+
export declare interface BaseFileMetadata {
|
435
|
+
/**
|
436
|
+
* File name to be displayed.
|
437
|
+
*/
|
438
|
+
name: string;
|
439
|
+
/**
|
440
|
+
* Extension is used for rendering the file icon.
|
441
|
+
* An unknown extension will be rendered as a generic icon.
|
442
|
+
* Example: `jpeg`
|
443
|
+
*/
|
444
|
+
extension: string;
|
445
|
+
/**
|
446
|
+
* Download URL for the file.
|
447
|
+
*/
|
448
|
+
url: string;
|
449
|
+
/**
|
450
|
+
* Unique ID of the file.
|
451
|
+
*/
|
452
|
+
id: string;
|
453
|
+
/**
|
454
|
+
* Attachment Type
|
455
|
+
*/
|
456
|
+
attachmentType: FileMetadataAttachmentType;
|
457
|
+
}
|
458
|
+
|
459
|
+
/**
|
460
|
+
* Content blocked message type.
|
461
|
+
*
|
462
|
+
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
463
|
+
*
|
464
|
+
* @beta
|
465
|
+
*/
|
466
|
+
export declare interface BlockedMessage extends MessageCommon {
|
467
|
+
messageType: 'blocked';
|
468
|
+
warningText?: string;
|
469
|
+
linkText?: string;
|
470
|
+
link?: string;
|
471
|
+
deletedOn?: Date;
|
472
|
+
senderId?: string;
|
473
|
+
senderDisplayName?: string;
|
474
|
+
status?: MessageStatus;
|
475
|
+
attached?: MessageAttachedStatus;
|
476
|
+
mine?: boolean;
|
477
|
+
}
|
478
|
+
|
479
|
+
/**
|
480
|
+
* @beta
|
481
|
+
* Props for BrowserPermissionDeniedIOS component.
|
482
|
+
*/
|
483
|
+
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
484
|
+
/**
|
485
|
+
* Localization strings for BrowserPermissionDeniedIOS component.
|
486
|
+
*/
|
487
|
+
strings?: BrowserPermissionDeniedIOSStrings;
|
488
|
+
/**
|
489
|
+
* Link to image source.
|
490
|
+
*
|
491
|
+
* Image is inserted into the top of the component.
|
492
|
+
*/
|
493
|
+
imageSource?: string;
|
494
|
+
}
|
495
|
+
|
496
|
+
/**
|
497
|
+
* @beta
|
498
|
+
* Strings for BrowserPermissionDeniedIOS component
|
499
|
+
*/
|
500
|
+
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
501
|
+
/**
|
502
|
+
* Image alt text
|
503
|
+
*/
|
504
|
+
imageAltText: string;
|
505
|
+
/**
|
506
|
+
* Main text string.
|
507
|
+
*/
|
508
|
+
primaryText: string;
|
509
|
+
/**
|
510
|
+
* Subtext string.
|
511
|
+
*/
|
512
|
+
secondaryText: string;
|
513
|
+
/**
|
514
|
+
* Step 1 string
|
515
|
+
*/
|
516
|
+
step1Text: string;
|
517
|
+
/**
|
518
|
+
* Step 1 digit string
|
519
|
+
*/
|
520
|
+
step1DigitText: string;
|
521
|
+
/**
|
522
|
+
* Step 2 string
|
523
|
+
*/
|
524
|
+
step2Text: string;
|
525
|
+
/**
|
526
|
+
* Step 2 digit string
|
527
|
+
*/
|
528
|
+
step2DigitText: string;
|
529
|
+
/**
|
530
|
+
* Step 3 string
|
531
|
+
*/
|
532
|
+
step3Text: string;
|
533
|
+
/**
|
534
|
+
* Step 3 digit string
|
535
|
+
*/
|
536
|
+
step3DigitText: string;
|
537
|
+
/**
|
538
|
+
* Step 4 string
|
539
|
+
*/
|
540
|
+
step4Text: string;
|
541
|
+
/**
|
542
|
+
* Step 4 digit string
|
543
|
+
*/
|
544
|
+
step4DigitText: string;
|
545
|
+
}
|
546
|
+
|
547
|
+
/**
|
548
|
+
* @beta
|
549
|
+
* Props for BrowserPermissionDenied component.
|
550
|
+
*/
|
551
|
+
export declare interface BrowserPermissionDeniedProps {
|
552
|
+
/**
|
553
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
554
|
+
*/
|
555
|
+
onTroubleshootingClick?: () => void;
|
556
|
+
/**
|
557
|
+
* Action to be taken by the try again primary button.
|
558
|
+
*/
|
559
|
+
onTryAgainClick?: () => void;
|
560
|
+
/**
|
561
|
+
* Localization strings for BrowserPermissionDenied component.
|
562
|
+
*/
|
563
|
+
strings?: BrowserPermissionDeniedStrings;
|
564
|
+
/**
|
565
|
+
* Allows users to pass in an object contains custom CSS styles.
|
566
|
+
* @Example
|
567
|
+
* ```
|
568
|
+
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
569
|
+
* ```
|
570
|
+
*/
|
571
|
+
styles?: BrowserPermissionDeniedStyles;
|
572
|
+
}
|
573
|
+
|
574
|
+
/**
|
575
|
+
* @beta
|
576
|
+
* Strings for BrowserPermissionDenied component
|
577
|
+
*/
|
578
|
+
export declare interface BrowserPermissionDeniedStrings {
|
579
|
+
/**
|
580
|
+
* Main button text string.
|
581
|
+
*/
|
582
|
+
primaryButtonText: string;
|
583
|
+
/**
|
584
|
+
* Main text string.
|
585
|
+
*/
|
586
|
+
primaryText: string;
|
587
|
+
/**
|
588
|
+
* Subtext string.
|
589
|
+
*/
|
590
|
+
secondaryText: string;
|
591
|
+
/**
|
592
|
+
* More help link string.
|
593
|
+
*/
|
594
|
+
linkText: string;
|
595
|
+
}
|
596
|
+
|
597
|
+
/**
|
598
|
+
* Fluent styles for {@link BrowserPermissionDenied}.
|
599
|
+
*
|
600
|
+
* @beta
|
601
|
+
*/
|
602
|
+
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
603
|
+
/** Styles for the primary button. */
|
604
|
+
primaryButton?: IButtonStyles;
|
605
|
+
/** Styles for the help troubleshooting link text. */
|
606
|
+
troubleshootingLink?: ILinkStyles;
|
607
|
+
}
|
608
|
+
|
340
609
|
/**
|
341
610
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
342
611
|
*
|
@@ -370,6 +639,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
370
639
|
* @public
|
371
640
|
*/
|
372
641
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
642
|
+
/**
|
643
|
+
* Start the call.
|
644
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
645
|
+
* @beta
|
646
|
+
*/
|
647
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
373
648
|
}
|
374
649
|
|
375
650
|
/**
|
@@ -414,6 +689,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
414
689
|
* @public
|
415
690
|
*/
|
416
691
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
692
|
+
/**
|
693
|
+
* Start the call.
|
694
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
695
|
+
* @beta
|
696
|
+
*/
|
697
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
417
698
|
}
|
418
699
|
|
419
700
|
/**
|
@@ -490,6 +771,12 @@ export declare interface CallAdapterCallOperations {
|
|
490
771
|
* @public
|
491
772
|
*/
|
492
773
|
removeParticipant(userId: string): Promise<void>;
|
774
|
+
/**
|
775
|
+
* Remove a participant from the call.
|
776
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
777
|
+
* @beta
|
778
|
+
*/
|
779
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
493
780
|
/**
|
494
781
|
* Create the html view for a stream.
|
495
782
|
*
|
@@ -541,6 +828,35 @@ export declare interface CallAdapterCallOperations {
|
|
541
828
|
* @public
|
542
829
|
*/
|
543
830
|
disposeLocalVideoStreamView(): Promise<void>;
|
831
|
+
/**
|
832
|
+
* Holds the call.
|
833
|
+
*
|
834
|
+
* @beta
|
835
|
+
*/
|
836
|
+
holdCall(): Promise<void>;
|
837
|
+
/**
|
838
|
+
* Resumes the call from a `LocalHold` state.
|
839
|
+
*
|
840
|
+
* @beta
|
841
|
+
*/
|
842
|
+
resumeCall(): Promise<void>;
|
843
|
+
/**
|
844
|
+
* Add a participant to the call.
|
845
|
+
*
|
846
|
+
* @beta
|
847
|
+
*/
|
848
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
849
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
850
|
+
/**
|
851
|
+
* send dtmf tone to another participant in a 1:1 PSTN call
|
852
|
+
*
|
853
|
+
* @beta
|
854
|
+
*/
|
855
|
+
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
856
|
+
/**
|
857
|
+
* Continues into a call when the browser version is not supported.
|
858
|
+
*/
|
859
|
+
allowUnsupportedBrowserVersion(): void;
|
544
860
|
/**
|
545
861
|
* Function to Start captions
|
546
862
|
* @param options - options for start captions
|
@@ -600,10 +916,22 @@ export declare type CallAdapterClientState = {
|
|
600
916
|
devices: DeviceManagerState;
|
601
917
|
endedCall?: CallState;
|
602
918
|
isTeamsCall: boolean;
|
919
|
+
/**
|
920
|
+
* State to track whether the call is a rooms call.
|
921
|
+
*/
|
922
|
+
isRoomsCall: boolean;
|
603
923
|
/**
|
604
924
|
* Latest error encountered for each operation performed via the adapter.
|
605
925
|
*/
|
606
926
|
latestErrors: AdapterErrors;
|
927
|
+
/**
|
928
|
+
* Azure communications Phone number to make PSTN calls with.
|
929
|
+
*/
|
930
|
+
alternateCallerId?: string;
|
931
|
+
/**
|
932
|
+
* Environment information about system the adapter is made on
|
933
|
+
*/
|
934
|
+
environmentInfo?: EnvironmentInfo;
|
607
935
|
/**
|
608
936
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
609
937
|
* control bar with the CallComposite.
|
@@ -621,6 +949,10 @@ export declare type CallAdapterClientState = {
|
|
621
949
|
* State to track the selected video background effect.
|
622
950
|
*/
|
623
951
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
952
|
+
/**
|
953
|
+
* Call from transfer request accepted by local user
|
954
|
+
*/
|
955
|
+
acceptedTransferCallState?: CallState;
|
624
956
|
};
|
625
957
|
|
626
958
|
/**
|
@@ -705,7 +1037,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
705
1037
|
*
|
706
1038
|
* @public
|
707
1039
|
*/
|
708
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
|
1040
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
709
1041
|
|
710
1042
|
/**
|
711
1043
|
* {@link CommonCallAdapter} state.
|
@@ -798,6 +1130,10 @@ export declare interface CallAdapterSubscribers {
|
|
798
1130
|
* Subscribe function for 'isSpokenLanguageChanged' event.
|
799
1131
|
*/
|
800
1132
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1133
|
+
/**
|
1134
|
+
* Subscribe function for 'transferRequested' event.
|
1135
|
+
*/
|
1136
|
+
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
801
1137
|
/**
|
802
1138
|
* Subscribe function for 'capabilitiesChanged' event.
|
803
1139
|
*/
|
@@ -866,6 +1202,10 @@ export declare interface CallAdapterSubscribers {
|
|
866
1202
|
* Unsubscribe function for 'isSpokenLanguageChanged' event.
|
867
1203
|
*/
|
868
1204
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1205
|
+
/**
|
1206
|
+
* Unsubscribe function for 'transferRequested' event.
|
1207
|
+
*/
|
1208
|
+
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
869
1209
|
/**
|
870
1210
|
* Unsubscribe function for 'capabilitiesChanged' event.
|
871
1211
|
*/
|
@@ -880,6 +1220,7 @@ export declare interface CallAdapterSubscribers {
|
|
880
1220
|
export declare type CallAdapterUiState = {
|
881
1221
|
isLocalPreviewMicrophoneEnabled: boolean;
|
882
1222
|
page: CallCompositePage;
|
1223
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
883
1224
|
};
|
884
1225
|
|
885
1226
|
/**
|
@@ -898,7 +1239,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
898
1239
|
*/
|
899
1240
|
export declare interface CallAgentProviderProps {
|
900
1241
|
children: React_2.ReactNode;
|
901
|
-
callAgent?: CallAgent;
|
1242
|
+
callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
902
1243
|
}
|
903
1244
|
|
904
1245
|
/**
|
@@ -923,7 +1264,7 @@ export declare interface CallAgentState {
|
|
923
1264
|
*/
|
924
1265
|
export declare interface CallAndChatLocator {
|
925
1266
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
926
|
-
callLocator: GroupCallLocator;
|
1267
|
+
callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
|
927
1268
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
928
1269
|
chatThreadId: string;
|
929
1270
|
}
|
@@ -1010,6 +1351,16 @@ export declare interface CallClientState {
|
|
1010
1351
|
* See documentation of {@Link CallErrors} for details.
|
1011
1352
|
*/
|
1012
1353
|
latestErrors: CallErrors;
|
1354
|
+
/**
|
1355
|
+
* A phone number in E.164 format that will be used to represent callers identity.
|
1356
|
+
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1357
|
+
* be used as the caller id in the PSTN call.
|
1358
|
+
*/
|
1359
|
+
alternateCallerId?: string;
|
1360
|
+
/**
|
1361
|
+
* state to track the environment that the stateful client was made in is supported
|
1362
|
+
*/
|
1363
|
+
environmentInfo?: EnvironmentInfo;
|
1013
1364
|
}
|
1014
1365
|
|
1015
1366
|
/**
|
@@ -1080,8 +1431,18 @@ export declare type CallCompositeIcons = {
|
|
1080
1431
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1081
1432
|
VideoTileMicOff?: JSX.Element;
|
1082
1433
|
LocalCameraSwitch?: JSX.Element;
|
1434
|
+
PeoplePaneAddPerson?: JSX.Element;
|
1435
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
1436
|
+
DialpadStartCall?: JSX.Element;
|
1437
|
+
NoticePageAccessDeniedRoomsCall?: JSX.Element;
|
1083
1438
|
BlurVideoBackground?: JSX.Element;
|
1084
1439
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
1440
|
+
GalleryOptions?: JSX.Element;
|
1441
|
+
SpeakerGalleryLayout?: JSX.Element;
|
1442
|
+
FloatingLocalVideoGalleryLayout?: JSX.Element;
|
1443
|
+
DefaultGalleryLayout?: JSX.Element;
|
1444
|
+
FocusedContentGalleryLayout?: JSX.Element;
|
1445
|
+
OverflowGalleryTop?: JSX.Element;
|
1085
1446
|
};
|
1086
1447
|
|
1087
1448
|
/**
|
@@ -1102,10 +1463,75 @@ export declare type CallCompositeOptions = {
|
|
1102
1463
|
* @defaultValue true
|
1103
1464
|
*/
|
1104
1465
|
callControls?: boolean | CallControlOptions;
|
1466
|
+
/**
|
1467
|
+
* Device permissions check options for your call.
|
1468
|
+
* Here you can choose what device permissions you prompt the user for,
|
1469
|
+
* as well as what device permissions must be accepted before starting a call.
|
1470
|
+
*/
|
1471
|
+
deviceChecks?: DeviceCheckOptions;
|
1472
|
+
/**
|
1473
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1474
|
+
* unable to grant your site the required permissions for the call.
|
1475
|
+
*
|
1476
|
+
* @example
|
1477
|
+
* ```ts
|
1478
|
+
* onPermissionsTroubleshootingClick: () =>
|
1479
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1480
|
+
* ```
|
1481
|
+
*
|
1482
|
+
* @remarks
|
1483
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1484
|
+
*/
|
1485
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1486
|
+
camera: PermissionState;
|
1487
|
+
microphone: PermissionState;
|
1488
|
+
}) => void;
|
1489
|
+
/**
|
1490
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1491
|
+
* having network issues when connecting to the call.
|
1492
|
+
*
|
1493
|
+
* @example
|
1494
|
+
* ```ts
|
1495
|
+
* onNetworkingTroubleShootingClick?: () =>
|
1496
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1497
|
+
* ```
|
1498
|
+
*
|
1499
|
+
* @remarks
|
1500
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1501
|
+
*/
|
1502
|
+
onNetworkingTroubleShootingClick?: () => void;
|
1503
|
+
/**
|
1504
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1505
|
+
*
|
1506
|
+
* @example
|
1507
|
+
* ```ts
|
1508
|
+
* onBrowserTroubleShootingClick?: () =>
|
1509
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1510
|
+
* ```
|
1511
|
+
*
|
1512
|
+
* @remarks
|
1513
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
1514
|
+
*/
|
1515
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1105
1516
|
/**
|
1106
1517
|
* Remote participant video tile menu options
|
1107
1518
|
*/
|
1108
1519
|
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
1520
|
+
/**
|
1521
|
+
* Options for controlling the local video tile.
|
1522
|
+
*
|
1523
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
1524
|
+
*/
|
1525
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
1526
|
+
/**
|
1527
|
+
* Options for controlling the starting layout of the composite's video gallery
|
1528
|
+
*/
|
1529
|
+
galleryOptions?: {
|
1530
|
+
/**
|
1531
|
+
* Layout for the gallery when the call starts
|
1532
|
+
*/
|
1533
|
+
layout?: VideoGalleryLayout;
|
1534
|
+
};
|
1109
1535
|
};
|
1110
1536
|
|
1111
1537
|
/**
|
@@ -1113,7 +1539,7 @@ export declare type CallCompositeOptions = {
|
|
1113
1539
|
*
|
1114
1540
|
* @public
|
1115
1541
|
*/
|
1116
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1542
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
|
1117
1543
|
|
1118
1544
|
/**
|
1119
1545
|
* Props for {@link CallComposite}.
|
@@ -1359,14 +1785,86 @@ export declare interface CallCompositeStrings {
|
|
1359
1785
|
* Label for SidePaneHeader dismiss button
|
1360
1786
|
*/
|
1361
1787
|
dismissSidePaneButtonLabel?: string;
|
1788
|
+
/**
|
1789
|
+
* Side pane People section subheader.
|
1790
|
+
*/
|
1791
|
+
peoplePaneSubTitle: string;
|
1792
|
+
/**
|
1793
|
+
* Label for button to copy invite link
|
1794
|
+
*/
|
1795
|
+
copyInviteLinkButtonLabel: string;
|
1796
|
+
/**
|
1797
|
+
* Label for button to open dialpad
|
1798
|
+
*/
|
1799
|
+
openDialpadButtonLabel: string;
|
1800
|
+
/**
|
1801
|
+
* Label for menu item to remove participant
|
1802
|
+
*/
|
1803
|
+
removeMenuLabel: string;
|
1804
|
+
/**
|
1805
|
+
* Label for add people dropdown
|
1806
|
+
*/
|
1807
|
+
peoplePaneAddPeopleButtonLabel: string;
|
1808
|
+
/**
|
1809
|
+
* Label for button to start a call
|
1810
|
+
*/
|
1811
|
+
dialpadStartCallButtonLabel: string;
|
1812
|
+
/**
|
1813
|
+
* Title for dialpad Modal
|
1814
|
+
*/
|
1815
|
+
dialpadModalTitle: string;
|
1816
|
+
/**
|
1817
|
+
* Aria Label for dialpad Modal
|
1818
|
+
*/
|
1819
|
+
dialpadModalAriaLabel: string;
|
1820
|
+
/**
|
1821
|
+
* Aria Label for dialpad Modal close button
|
1822
|
+
*/
|
1823
|
+
dialpadCloseModalButtonAriaLabel: string;
|
1362
1824
|
/**
|
1363
1825
|
* label for more button in the Calling composite
|
1364
1826
|
*/
|
1365
1827
|
moreButtonCallingLabel: string;
|
1828
|
+
/**
|
1829
|
+
* Label for the resume call button on the hold pane
|
1830
|
+
*/
|
1831
|
+
resumeCallButtonLabel: string;
|
1832
|
+
/**
|
1833
|
+
* Label for the resume call button on the hold pane when call is resuming
|
1834
|
+
*/
|
1835
|
+
resumingCallButtonLabel: string;
|
1836
|
+
/**
|
1837
|
+
* Aria label for the resume call button on the hold pane
|
1838
|
+
*/
|
1839
|
+
resumeCallButtonAriaLabel: string;
|
1840
|
+
/**
|
1841
|
+
* Aria label for the resume call button on the hold pane when call is resuming
|
1842
|
+
*/
|
1843
|
+
resumingCallButtonAriaLabel: string;
|
1844
|
+
/**
|
1845
|
+
* Label for the hold pane
|
1846
|
+
*/
|
1847
|
+
holdScreenLabel: string;
|
1848
|
+
/**
|
1849
|
+
* Placeholder text for dtmf dialpad
|
1850
|
+
*/
|
1851
|
+
dtmfDialpadPlaceholderText: string;
|
1852
|
+
/**
|
1853
|
+
* Label for the button to open dtmf dialpad
|
1854
|
+
*/
|
1855
|
+
openDtmfDialpadLabel: string;
|
1366
1856
|
/**
|
1367
1857
|
* aria label for when the invite link has been actioned
|
1368
1858
|
*/
|
1369
1859
|
copyInviteLinkActionedAriaLabel: string;
|
1860
|
+
/**
|
1861
|
+
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1862
|
+
*/
|
1863
|
+
roomNotFoundTitle: string;
|
1864
|
+
/**
|
1865
|
+
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1866
|
+
*/
|
1867
|
+
roomNotFoundDetails?: string;
|
1370
1868
|
/**
|
1371
1869
|
* Video Effects pane title.
|
1372
1870
|
*/
|
@@ -1404,9 +1902,29 @@ export declare interface CallCompositeStrings {
|
|
1404
1902
|
*/
|
1405
1903
|
cameraOffBackgroundEffectWarningText?: string;
|
1406
1904
|
/**
|
1407
|
-
*
|
1905
|
+
* Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1408
1906
|
*/
|
1409
|
-
|
1907
|
+
deniedPermissionToRoomTitle: string;
|
1908
|
+
/**
|
1909
|
+
* More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1910
|
+
*/
|
1911
|
+
deniedPermissionToRoomDetails?: string;
|
1912
|
+
/**
|
1913
|
+
* Control bar People button ToolTipContent
|
1914
|
+
*/
|
1915
|
+
peopleButtonTooltipOpen: string;
|
1916
|
+
/**
|
1917
|
+
* Control bar People button ToolTipContent
|
1918
|
+
*/
|
1919
|
+
peopleButtonTooltipClose: string;
|
1920
|
+
/**
|
1921
|
+
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1922
|
+
*/
|
1923
|
+
outboundCallingNoticeString: string;
|
1924
|
+
/**
|
1925
|
+
* Notice to be announced by narrator when a participant joins a call
|
1926
|
+
*/
|
1927
|
+
participantJoinedNoticeString: string;
|
1410
1928
|
/**
|
1411
1929
|
* Notice to be announced by narrator when a participant joins a call
|
1412
1930
|
*/
|
@@ -1527,6 +2045,82 @@ export declare interface CallCompositeStrings {
|
|
1527
2045
|
* captions banner loading spinner label
|
1528
2046
|
*/
|
1529
2047
|
captionsBannerSpinnerText?: string;
|
2048
|
+
/**
|
2049
|
+
* transfer page text when showing the transferor who initiated the transfer
|
2050
|
+
*/
|
2051
|
+
transferPageTransferorText: string;
|
2052
|
+
/**
|
2053
|
+
* transfer page text when showing the transfer target
|
2054
|
+
*/
|
2055
|
+
transferPageTransferTargetText: string;
|
2056
|
+
/**
|
2057
|
+
* transfer page display name for unknown participant
|
2058
|
+
*/
|
2059
|
+
transferPageUnknownTransferorDisplayName: string;
|
2060
|
+
/**
|
2061
|
+
* transfer page display name for unknown participant
|
2062
|
+
*/
|
2063
|
+
transferPageUnknownTransferTargetDisplayName: string;
|
2064
|
+
/**
|
2065
|
+
* notice to be announced by narrator the transfer page is showing
|
2066
|
+
*/
|
2067
|
+
transferPageNoticeString: string;
|
2068
|
+
/**
|
2069
|
+
* Title text of the page shown to the user when target participant could not be reached
|
2070
|
+
*/
|
2071
|
+
participantCouldNotBeReachedTitle?: string;
|
2072
|
+
/**
|
2073
|
+
* More details text of the page shown to the user when target participant could not be reached
|
2074
|
+
*/
|
2075
|
+
participantCouldNotBeReachedMoreDetails?: string;
|
2076
|
+
/**
|
2077
|
+
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2078
|
+
*/
|
2079
|
+
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2080
|
+
/**
|
2081
|
+
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2082
|
+
*/
|
2083
|
+
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2084
|
+
/**
|
2085
|
+
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2086
|
+
*/
|
2087
|
+
unableToResolveTenantTitle?: string;
|
2088
|
+
/**
|
2089
|
+
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2090
|
+
*/
|
2091
|
+
unableToResolveTenantMoreDetails?: string;
|
2092
|
+
/**
|
2093
|
+
* Title text of the page shown to the user when target participant id is malformed
|
2094
|
+
*/
|
2095
|
+
participantIdIsMalformedTitle?: string;
|
2096
|
+
/**
|
2097
|
+
* More details text of the page shown to the user when target participant id is malformed
|
2098
|
+
*/
|
2099
|
+
participantIdIsMalformedMoreDetails?: string;
|
2100
|
+
/**
|
2101
|
+
* Controls label to move the overflow gallery around
|
2102
|
+
*/
|
2103
|
+
moreButtonGalleryControlLabel?: string;
|
2104
|
+
/**
|
2105
|
+
* Label for the toggle to move the overflow gallery to the top
|
2106
|
+
*/
|
2107
|
+
moreButtonGalleryPositionToggleLabel?: string;
|
2108
|
+
/**
|
2109
|
+
* Label for the selection of the speaker layout
|
2110
|
+
*/
|
2111
|
+
moreButtonGallerySpeakerLayoutLabel?: string;
|
2112
|
+
/**
|
2113
|
+
* Label for the selection of the default (Gallery) layout
|
2114
|
+
*/
|
2115
|
+
moreButtonGalleryDefaultLayoutLabel?: string;
|
2116
|
+
/**
|
2117
|
+
* Label for the selection of the floatingLocalVideo (Dynamic) layout
|
2118
|
+
*/
|
2119
|
+
moreButtonGalleryFloatingLocalLayoutLabel?: string;
|
2120
|
+
/**
|
2121
|
+
* Label for the selection of the focusedContentLayout (Focused content) layout
|
2122
|
+
*/
|
2123
|
+
moreButtonGalleryFocusedContentLayoutLabel?: string;
|
1530
2124
|
/**
|
1531
2125
|
* All strings for capability changed notification
|
1532
2126
|
*/
|
@@ -1545,7 +2139,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
|
|
1545
2139
|
*
|
1546
2140
|
* @public
|
1547
2141
|
*/
|
1548
|
-
export declare type CallControlOptions =
|
2142
|
+
export declare type CallControlOptions = CommonCallControlOptions & {
|
1549
2143
|
/**
|
1550
2144
|
* Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
|
1551
2145
|
* @defaultValue true
|
@@ -1554,7 +2148,7 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
|
|
1554
2148
|
disabled: boolean;
|
1555
2149
|
};
|
1556
2150
|
legacyControlBarExperience?: boolean;
|
1557
|
-
}
|
2151
|
+
};
|
1558
2152
|
|
1559
2153
|
/**
|
1560
2154
|
* Callback for {@link CallAdapterSubscribers} 'callEnded' event.
|
@@ -1615,7 +2209,7 @@ export declare type CallErrors = {
|
|
1615
2209
|
*
|
1616
2210
|
* @public
|
1617
2211
|
*/
|
1618
|
-
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';
|
2212
|
+
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.setConstraints';
|
1619
2213
|
|
1620
2214
|
/**
|
1621
2215
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1695,6 +2289,23 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
1695
2289
|
raisedHand?: RaisedHand;
|
1696
2290
|
};
|
1697
2291
|
|
2292
|
+
/**
|
2293
|
+
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2294
|
+
*
|
2295
|
+
* @remarks
|
2296
|
+
* This is currently in beta and only supports calling one Teams User.
|
2297
|
+
*
|
2298
|
+
* @example
|
2299
|
+
* ```
|
2300
|
+
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2301
|
+
* ```
|
2302
|
+
*
|
2303
|
+
* @beta
|
2304
|
+
*/
|
2305
|
+
export declare type CallParticipantsLocator = {
|
2306
|
+
participantIds: string[];
|
2307
|
+
};
|
2308
|
+
|
1698
2309
|
/**
|
1699
2310
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
1700
2311
|
*
|
@@ -1711,7 +2322,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
1711
2322
|
*/
|
1712
2323
|
export declare interface CallProviderProps {
|
1713
2324
|
children: React_2.ReactNode;
|
1714
|
-
call?: Call;
|
2325
|
+
call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
1715
2326
|
}
|
1716
2327
|
|
1717
2328
|
/**
|
@@ -1725,6 +2336,10 @@ export declare interface CallState {
|
|
1725
2336
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
1726
2337
|
*/
|
1727
2338
|
id: string;
|
2339
|
+
/**
|
2340
|
+
* Type of the call.
|
2341
|
+
*/
|
2342
|
+
kind: CallKind;
|
1728
2343
|
/**
|
1729
2344
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
1730
2345
|
*/
|
@@ -1823,6 +2438,14 @@ export declare interface CallState {
|
|
1823
2438
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
1824
2439
|
*/
|
1825
2440
|
role?: ParticipantRole;
|
2441
|
+
/**
|
2442
|
+
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2443
|
+
*/
|
2444
|
+
totalParticipantCount?: number;
|
2445
|
+
/**
|
2446
|
+
* Transfer state of call
|
2447
|
+
*/
|
2448
|
+
transfer: TransferFeature;
|
1826
2449
|
/**
|
1827
2450
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
1828
2451
|
*/
|
@@ -1850,6 +2473,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
1850
2473
|
* @public
|
1851
2474
|
*/
|
1852
2475
|
removeParticipant(userId: string): Promise<void>;
|
2476
|
+
/**
|
2477
|
+
* Remove a participant from the call.
|
2478
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2479
|
+
* @beta
|
2480
|
+
*/
|
2481
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
1853
2482
|
/**
|
1854
2483
|
* Join the call with microphone initially on/off.
|
1855
2484
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -1915,6 +2544,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
1915
2544
|
* @public
|
1916
2545
|
*/
|
1917
2546
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2547
|
+
/**
|
2548
|
+
* Start the call.
|
2549
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2550
|
+
* @beta
|
2551
|
+
*/
|
2552
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
1918
2553
|
/**
|
1919
2554
|
* Start sharing the screen during a call.
|
1920
2555
|
*
|
@@ -2104,6 +2739,52 @@ export declare interface CallWithChatAdapterManagement {
|
|
2104
2739
|
* @public
|
2105
2740
|
*/
|
2106
2741
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2742
|
+
/** @beta */
|
2743
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2744
|
+
/** @beta */
|
2745
|
+
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
2746
|
+
/** @beta */
|
2747
|
+
clearFileUploads: () => void;
|
2748
|
+
/** @beta */
|
2749
|
+
cancelFileUpload: (id: string) => void;
|
2750
|
+
/** @beta */
|
2751
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
2752
|
+
/** @beta */
|
2753
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2754
|
+
/** @beta */
|
2755
|
+
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2756
|
+
downloadAttachments: (options: {
|
2757
|
+
attachmentUrls: string[];
|
2758
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
2759
|
+
/**
|
2760
|
+
* Puts the Call in a Localhold.
|
2761
|
+
*
|
2762
|
+
* @beta
|
2763
|
+
*/
|
2764
|
+
holdCall: () => Promise<void>;
|
2765
|
+
/**
|
2766
|
+
* Resumes the call from a LocalHold state.
|
2767
|
+
*
|
2768
|
+
* @beta
|
2769
|
+
*/
|
2770
|
+
resumeCall: () => Promise<void>;
|
2771
|
+
/**
|
2772
|
+
* Adds a new Participant to the call.
|
2773
|
+
*
|
2774
|
+
* @beta
|
2775
|
+
*/
|
2776
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2777
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2778
|
+
/**
|
2779
|
+
* send dtmf tone to another participant in the call in 1:1 calls
|
2780
|
+
*
|
2781
|
+
* @beta
|
2782
|
+
*/
|
2783
|
+
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2784
|
+
/**
|
2785
|
+
* Continues into a call when the browser version is not supported.
|
2786
|
+
*/
|
2787
|
+
allowUnsupportedBrowserVersion(): void;
|
2107
2788
|
/**
|
2108
2789
|
* Function to Start captions
|
2109
2790
|
* @param options - options for start captions
|
@@ -2229,6 +2910,22 @@ export declare interface CallWithChatAdapterUiState {
|
|
2229
2910
|
* @public
|
2230
2911
|
*/
|
2231
2912
|
page: CallCompositePage;
|
2913
|
+
/**
|
2914
|
+
* Files being uploaded by a user in the current thread.
|
2915
|
+
* Should be set to null once the upload is complete.
|
2916
|
+
* Array of type {@link FileUploadsUiState}
|
2917
|
+
*
|
2918
|
+
* @beta
|
2919
|
+
*/
|
2920
|
+
fileUploads?: FileUploadsUiState;
|
2921
|
+
/**
|
2922
|
+
* State to track whether the end user has opted in to using a
|
2923
|
+
* out of date version of a supported browser. Allows the user
|
2924
|
+
* to start a call in this state.
|
2925
|
+
*
|
2926
|
+
* @beta
|
2927
|
+
*/
|
2928
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
2232
2929
|
}
|
2233
2930
|
|
2234
2931
|
/**
|
@@ -2253,6 +2950,12 @@ export declare interface CallWithChatClientState {
|
|
2253
2950
|
devices: DeviceManagerState;
|
2254
2951
|
/** State of whether the active call is a Teams interop call */
|
2255
2952
|
isTeamsCall: boolean;
|
2953
|
+
/** State of whether the active call is a rooms call */
|
2954
|
+
isRoomsCall: boolean;
|
2955
|
+
/** alternateCallerId for PSTN call */
|
2956
|
+
alternateCallerId?: string | undefined;
|
2957
|
+
/** Environment information for system adapter is made on */
|
2958
|
+
environmentInfo?: EnvironmentInfo;
|
2256
2959
|
/** Default set of background images for background replacement effect */
|
2257
2960
|
videoBackgroundImages?: VideoBackgroundImage[];
|
2258
2961
|
/** Dependency to be injected for video background effects */
|
@@ -2327,6 +3030,9 @@ export declare type CallWithChatCompositeIcons = {
|
|
2327
3030
|
ParticipantItemScreenShareStart?: JSX.Element;
|
2328
3031
|
VideoTileMicOff?: JSX.Element;
|
2329
3032
|
LocalCameraSwitch?: JSX.Element;
|
3033
|
+
PeoplePaneAddPerson?: JSX.Element;
|
3034
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
3035
|
+
DialpadStartCall?: JSX.Element;
|
2330
3036
|
EditBoxCancel?: JSX.Element;
|
2331
3037
|
EditBoxSubmit?: JSX.Element;
|
2332
3038
|
MessageDelivered?: JSX.Element;
|
@@ -2353,6 +3059,81 @@ export declare type CallWithChatCompositeOptions = {
|
|
2353
3059
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
2354
3060
|
*/
|
2355
3061
|
callControls?: boolean | CallWithChatControlOptions;
|
3062
|
+
/**
|
3063
|
+
* Properties for configuring the File Sharing feature.
|
3064
|
+
* If undefined, file sharing feature will be disabled.
|
3065
|
+
* @beta
|
3066
|
+
*/
|
3067
|
+
fileSharing?: FileSharingOptions;
|
3068
|
+
/**
|
3069
|
+
* Device permissions check options for your call.
|
3070
|
+
* Here you can choose what device permissions you prompt the user for,
|
3071
|
+
* as well as what device permissions must be accepted before starting a call.
|
3072
|
+
*/
|
3073
|
+
deviceChecks?: DeviceCheckOptions;
|
3074
|
+
/**
|
3075
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3076
|
+
* unable to grant your site the required permissions for the call.
|
3077
|
+
*
|
3078
|
+
* @example
|
3079
|
+
* ```ts
|
3080
|
+
* onPermissionsTroubleshootingClick: () =>
|
3081
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3082
|
+
* ```
|
3083
|
+
*
|
3084
|
+
* @remarks
|
3085
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3086
|
+
*/
|
3087
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3088
|
+
camera: PermissionState;
|
3089
|
+
microphone: PermissionState;
|
3090
|
+
}) => void;
|
3091
|
+
/**
|
3092
|
+
* Optional callback to supply users with further troubleshooting steps for network issues
|
3093
|
+
* experienced when connecting to a call.
|
3094
|
+
*
|
3095
|
+
* @example
|
3096
|
+
* ```ts
|
3097
|
+
* onNetworkingTroubleShootingClick?: () =>
|
3098
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3099
|
+
* ```
|
3100
|
+
*
|
3101
|
+
* @remarks
|
3102
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3103
|
+
*/
|
3104
|
+
onNetworkingTroubleShootingClick?: () => void;
|
3105
|
+
/**
|
3106
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3107
|
+
*
|
3108
|
+
* @example
|
3109
|
+
* ```ts
|
3110
|
+
* onBrowserTroubleShootingClick?: () =>
|
3111
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3112
|
+
* ```
|
3113
|
+
*
|
3114
|
+
* @remarks
|
3115
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
3116
|
+
*/
|
3117
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
3118
|
+
/**
|
3119
|
+
* Remote participant video tile menu options
|
3120
|
+
*/
|
3121
|
+
remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
|
3122
|
+
/**
|
3123
|
+
* Options for controlling the local video tile.
|
3124
|
+
*
|
3125
|
+
* @remarks if 'false' the local video tile will not be rendered.
|
3126
|
+
*/
|
3127
|
+
localVideoTile?: boolean | LocalVideoTileOptions;
|
3128
|
+
/**
|
3129
|
+
* Options for controlling the starting layout of the composite's video gallery
|
3130
|
+
*/
|
3131
|
+
galleryOptions?: {
|
3132
|
+
/**
|
3133
|
+
* Layout for the gallery when the call starts
|
3134
|
+
*/
|
3135
|
+
layout?: VideoGalleryLayout;
|
3136
|
+
};
|
2356
3137
|
};
|
2357
3138
|
|
2358
3139
|
/**
|
@@ -2500,6 +3281,10 @@ export declare interface CallWithChatCompositeStrings {
|
|
2500
3281
|
* Label for button to copy invite link
|
2501
3282
|
*/
|
2502
3283
|
copyInviteLinkButtonLabel: string;
|
3284
|
+
/**
|
3285
|
+
* Label for button to open dialpad
|
3286
|
+
*/
|
3287
|
+
openDialpadButtonLabel: string;
|
2503
3288
|
/**
|
2504
3289
|
* Label for SidePaneHeader dismiss button
|
2505
3290
|
*/
|
@@ -2512,6 +3297,34 @@ export declare interface CallWithChatCompositeStrings {
|
|
2512
3297
|
* Aria label string for return to call back button
|
2513
3298
|
*/
|
2514
3299
|
returnToCallButtonAriaLabel?: string;
|
3300
|
+
/**
|
3301
|
+
* Label for add people dropdown
|
3302
|
+
*/
|
3303
|
+
peoplePaneAddPeopleButtonLabel: string;
|
3304
|
+
/**
|
3305
|
+
* Label for button to start a call
|
3306
|
+
*/
|
3307
|
+
dialpadStartCallButtonLabel: string;
|
3308
|
+
/**
|
3309
|
+
* Title for dialpad Modal
|
3310
|
+
*/
|
3311
|
+
dialpadModalTitle: string;
|
3312
|
+
/**
|
3313
|
+
* Aria Label for dialpad Modal
|
3314
|
+
*/
|
3315
|
+
dialpadModalAriaLabel: string;
|
3316
|
+
/**
|
3317
|
+
* Aria Label for dialpad Modal close button
|
3318
|
+
*/
|
3319
|
+
dialpadCloseModalButtonAriaLabel: string;
|
3320
|
+
/**
|
3321
|
+
* Placeholder text for dtmf dialpad
|
3322
|
+
*/
|
3323
|
+
dtmfDialpadPlaceholderText: string;
|
3324
|
+
/**
|
3325
|
+
* Label for the button to open dtmf dialpad
|
3326
|
+
*/
|
3327
|
+
openDtmfDialpadLabel: string;
|
2515
3328
|
/**
|
2516
3329
|
* aria label for when the invite link has been actioned
|
2517
3330
|
*/
|
@@ -2528,7 +3341,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2528
3341
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2529
3342
|
* @defaultValue true
|
2530
3343
|
*/
|
2531
|
-
chatButton?: boolean
|
3344
|
+
chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3345
|
+
disabled: boolean;
|
3346
|
+
};
|
2532
3347
|
}
|
2533
3348
|
|
2534
3349
|
/**
|
@@ -2538,6 +3353,35 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2538
3353
|
*/
|
2539
3354
|
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';
|
2540
3355
|
|
3356
|
+
/**
|
3357
|
+
* @beta
|
3358
|
+
*
|
3359
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3360
|
+
* by their browsers settings.
|
3361
|
+
*/
|
3362
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3363
|
+
|
3364
|
+
/**
|
3365
|
+
* @beta
|
3366
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
3367
|
+
*/
|
3368
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3369
|
+
/** Icon name for the camera icon */
|
3370
|
+
cameraIconName?: string;
|
3371
|
+
/** Icon name for the microphone icon */
|
3372
|
+
microphoneIconName?: string;
|
3373
|
+
/** Icon name for the central icon between the camera and microphone icons */
|
3374
|
+
connectorIconName?: string;
|
3375
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3376
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3377
|
+
}
|
3378
|
+
|
3379
|
+
/**
|
3380
|
+
* @beta
|
3381
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
3382
|
+
*/
|
3383
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
3384
|
+
|
2541
3385
|
/**
|
2542
3386
|
* A button to turn camera on / off.
|
2543
3387
|
*
|
@@ -2694,6 +3538,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2694
3538
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
2695
3539
|
}
|
2696
3540
|
|
3541
|
+
/**
|
3542
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3543
|
+
* by their browsers settings.
|
3544
|
+
*
|
3545
|
+
* @beta
|
3546
|
+
*/
|
3547
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3548
|
+
|
3549
|
+
/**
|
3550
|
+
* @beta
|
3551
|
+
* Props for CameraSitePermissions component.
|
3552
|
+
*/
|
3553
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3554
|
+
/** Icon name for the camera icon */
|
3555
|
+
cameraIconName?: string;
|
3556
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
3557
|
+
strings?: CameraSitePermissionsStrings;
|
3558
|
+
}
|
3559
|
+
|
3560
|
+
/**
|
3561
|
+
* @beta
|
3562
|
+
* Strings for CameraSitePermissions component.
|
3563
|
+
*/
|
3564
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3565
|
+
|
2697
3566
|
/**
|
2698
3567
|
* @public
|
2699
3568
|
* Callback function run when a message edit is cancelled.
|
@@ -2899,7 +3768,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
2899
3768
|
*
|
2900
3769
|
* @public
|
2901
3770
|
*/
|
2902
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
|
3771
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers & FileUploadAdapter;
|
2903
3772
|
|
2904
3773
|
/**
|
2905
3774
|
* {@link ChatAdapter} state.
|
@@ -3007,7 +3876,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3007
3876
|
/**
|
3008
3877
|
* Update a message content.
|
3009
3878
|
*/
|
3010
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
3879
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
3880
|
+
attachedFilesMetadata?: FileMetadata[];
|
3881
|
+
}): Promise<void>;
|
3011
3882
|
/**
|
3012
3883
|
* Delete a message in the thread.
|
3013
3884
|
*/
|
@@ -3020,6 +3891,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3020
3891
|
*
|
3021
3892
|
*/
|
3022
3893
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3894
|
+
downloadAttachments: (options: {
|
3895
|
+
attachmentUrls: string[];
|
3896
|
+
}) => Promise<AttachmentDownloadResult[]>;
|
3023
3897
|
}
|
3024
3898
|
|
3025
3899
|
/**
|
@@ -3029,6 +3903,13 @@ export declare interface ChatAdapterThreadManagement {
|
|
3029
3903
|
*/
|
3030
3904
|
export declare type ChatAdapterUiState = {
|
3031
3905
|
error?: Error;
|
3906
|
+
/**
|
3907
|
+
* Files being uploaded by a user in the current thread.
|
3908
|
+
* Should be set to null once the upload is complete.
|
3909
|
+
* Array of type {@link FileUploadsUiState}
|
3910
|
+
* @beta
|
3911
|
+
*/
|
3912
|
+
fileUploads?: FileUploadsUiState;
|
3032
3913
|
};
|
3033
3914
|
|
3034
3915
|
/**
|
@@ -3131,6 +4012,7 @@ export declare type ChatCompositeIcons = {
|
|
3131
4012
|
ParticipantItemOptionsHovered?: JSX.Element;
|
3132
4013
|
SendBoxSend?: JSX.Element;
|
3133
4014
|
SendBoxSendHovered?: JSX.Element;
|
4015
|
+
SendBoxAttachFile?: JSX.Element;
|
3134
4016
|
};
|
3135
4017
|
|
3136
4018
|
/**
|
@@ -3145,6 +4027,13 @@ export declare type ChatCompositeOptions = {
|
|
3145
4027
|
* @defaultValue true
|
3146
4028
|
*/
|
3147
4029
|
errorBar?: boolean;
|
4030
|
+
/**
|
4031
|
+
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4032
|
+
* @defaultValue false
|
4033
|
+
*
|
4034
|
+
* @beta
|
4035
|
+
*/
|
4036
|
+
participantPane?: boolean;
|
3148
4037
|
/**
|
3149
4038
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
3150
4039
|
* @defaultValue true
|
@@ -3155,6 +4044,12 @@ export declare type ChatCompositeOptions = {
|
|
3155
4044
|
* When undefined nothing has focus on render
|
3156
4045
|
*/
|
3157
4046
|
autoFocus?: 'sendBoxTextField';
|
4047
|
+
/**
|
4048
|
+
* Properties for configuring the File Sharing feature.
|
4049
|
+
* If undefined, file sharing feature will be disabled.
|
4050
|
+
* @beta
|
4051
|
+
*/
|
4052
|
+
fileSharing?: FileSharingOptions;
|
3158
4053
|
};
|
3159
4054
|
|
3160
4055
|
/**
|
@@ -3182,6 +4077,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
3182
4077
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
3183
4078
|
*/
|
3184
4079
|
options?: ChatCompositeOptions;
|
4080
|
+
/**
|
4081
|
+
* Optimizes the composite form factor for either desktop or mobile.
|
4082
|
+
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4083
|
+
* @defaultValue 'desktop'
|
4084
|
+
*/
|
4085
|
+
formFactor?: 'desktop' | 'mobile';
|
3185
4086
|
}
|
3186
4087
|
|
3187
4088
|
/**
|
@@ -3196,6 +4097,10 @@ export declare interface ChatCompositeStrings {
|
|
3196
4097
|
* Chat list header text
|
3197
4098
|
*/
|
3198
4099
|
chatListHeader: string;
|
4100
|
+
/**
|
4101
|
+
* Upload File Button text
|
4102
|
+
*/
|
4103
|
+
uploadFile: string;
|
3199
4104
|
}
|
3200
4105
|
|
3201
4106
|
/**
|
@@ -3244,7 +4149,7 @@ export declare type ChatErrors = {
|
|
3244
4149
|
*
|
3245
4150
|
* @public
|
3246
4151
|
*/
|
3247
|
-
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';
|
4152
|
+
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';
|
3248
4153
|
|
3249
4154
|
/**
|
3250
4155
|
* Object containing all the handlers required for chat components.
|
@@ -3261,7 +4166,9 @@ export declare type ChatHandlers = {
|
|
3261
4166
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
3262
4167
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
3263
4168
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
3264
|
-
onUpdateMessage: (messageId: string, content: string
|
4169
|
+
onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
4170
|
+
attachedFilesMetadata?: FileMetadata[];
|
4171
|
+
}) => Promise<void>;
|
3265
4172
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
3266
4173
|
};
|
3267
4174
|
|
@@ -3288,6 +4195,12 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3288
4195
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
3289
4196
|
*/
|
3290
4197
|
metadata?: Record<string, string>;
|
4198
|
+
/**
|
4199
|
+
* @beta
|
4200
|
+
* A list of files attached to the message.
|
4201
|
+
* {@link FileMetadata}
|
4202
|
+
*/
|
4203
|
+
attachedFilesMetadata?: FileMetadata[];
|
3291
4204
|
}
|
3292
4205
|
|
3293
4206
|
/**
|
@@ -3301,6 +4214,7 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3301
4214
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3302
4215
|
clientMessageId?: string;
|
3303
4216
|
status: MessageStatus;
|
4217
|
+
policyViolation?: boolean;
|
3304
4218
|
};
|
3305
4219
|
|
3306
4220
|
/**
|
@@ -3320,6 +4234,26 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
3320
4234
|
*/
|
3321
4235
|
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;
|
3322
4236
|
|
4237
|
+
/**
|
4238
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4239
|
+
*
|
4240
|
+
* @beta
|
4241
|
+
*/
|
4242
|
+
export declare interface ChatTheme {
|
4243
|
+
/**
|
4244
|
+
* Custom Fluent theme palette used by chat related components in this library.
|
4245
|
+
*
|
4246
|
+
* @beta
|
4247
|
+
*/
|
4248
|
+
chatPalette: {
|
4249
|
+
modalOverlayBlack: string;
|
4250
|
+
modalTitleWhite: string;
|
4251
|
+
modalButtonBackground: string;
|
4252
|
+
modalButtonBackgroundHover: string;
|
4253
|
+
modalButtonBackgroundActive: string;
|
4254
|
+
};
|
4255
|
+
}
|
4256
|
+
|
3323
4257
|
/**
|
3324
4258
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
3325
4259
|
*
|
@@ -3445,6 +4379,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
3445
4379
|
* @public
|
3446
4380
|
*/
|
3447
4381
|
startCall(participants: string[], options?: StartCallOptions): void;
|
4382
|
+
/**
|
4383
|
+
* Start the call.
|
4384
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
4385
|
+
* @beta
|
4386
|
+
*/
|
4387
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
3448
4388
|
}
|
3449
4389
|
|
3450
4390
|
/**
|
@@ -3460,6 +4400,12 @@ export declare type CommonCallAdapterOptions = {
|
|
3460
4400
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3461
4401
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
3462
4402
|
};
|
4403
|
+
/**
|
4404
|
+
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4405
|
+
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4406
|
+
* and would not be updated again within the lifecycle of adapter.
|
4407
|
+
*/
|
4408
|
+
onFetchProfile?: OnFetchProfileCallback;
|
3463
4409
|
};
|
3464
4410
|
|
3465
4411
|
/**
|
@@ -3482,7 +4428,9 @@ export declare type CommonCallControlOptions = {
|
|
3482
4428
|
* Show or Hide Camera Button during a call
|
3483
4429
|
* @defaultValue true
|
3484
4430
|
*/
|
3485
|
-
cameraButton?: boolean
|
4431
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4432
|
+
disabled: boolean;
|
4433
|
+
};
|
3486
4434
|
/**
|
3487
4435
|
* Show or Hide EndCall button during a call.
|
3488
4436
|
* @defaultValue true
|
@@ -3492,12 +4440,16 @@ export declare type CommonCallControlOptions = {
|
|
3492
4440
|
* Show or Hide Microphone button during a call.
|
3493
4441
|
* @defaultValue true
|
3494
4442
|
*/
|
3495
|
-
microphoneButton?: boolean
|
4443
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4444
|
+
disabled: boolean;
|
4445
|
+
};
|
3496
4446
|
/**
|
3497
4447
|
* Show or Hide Devices button during a call.
|
3498
4448
|
* @defaultValue true
|
3499
4449
|
*/
|
3500
|
-
devicesButton?: boolean
|
4450
|
+
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4451
|
+
disabled: boolean;
|
4452
|
+
};
|
3501
4453
|
/**
|
3502
4454
|
* Show, Hide or Disable participants button during a call.
|
3503
4455
|
* @defaultValue true
|
@@ -3524,11 +4476,22 @@ export declare type CommonCallControlOptions = {
|
|
3524
4476
|
raiseHandButton?: boolean | {
|
3525
4477
|
disabled: boolean;
|
3526
4478
|
};
|
4479
|
+
/**
|
4480
|
+
* Inject custom buttons in the call controls.
|
4481
|
+
*
|
4482
|
+
* @beta
|
4483
|
+
*/
|
4484
|
+
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
4485
|
+
holdButton?: boolean | {
|
4486
|
+
disabled: boolean;
|
4487
|
+
};
|
3527
4488
|
/**
|
3528
4489
|
* Show or hide the people button in the composite control bar.
|
3529
4490
|
* @defaultValue true
|
3530
4491
|
*/
|
3531
|
-
peopleButton?: boolean
|
4492
|
+
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4493
|
+
disabled: boolean;
|
4494
|
+
};
|
3532
4495
|
};
|
3533
4496
|
|
3534
4497
|
/**
|
@@ -3553,6 +4516,9 @@ export declare interface CommonCallingHandlers {
|
|
3553
4516
|
onRaiseHand: () => Promise<void>;
|
3554
4517
|
onLowerHand: () => Promise<void>;
|
3555
4518
|
onToggleRaiseHand: () => Promise<void>;
|
4519
|
+
onToggleHold: () => Promise<void>;
|
4520
|
+
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4521
|
+
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
3556
4522
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3557
4523
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3558
4524
|
/**
|
@@ -3562,7 +4528,10 @@ export declare interface CommonCallingHandlers {
|
|
3562
4528
|
onDisposeLocalStreamView: () => Promise<void>;
|
3563
4529
|
onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
|
3564
4530
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
4531
|
+
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3565
4532
|
onRemoveParticipant(userId: string): Promise<void>;
|
4533
|
+
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4534
|
+
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
3566
4535
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
3567
4536
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
3568
4537
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -3582,6 +4551,39 @@ export declare type CommonProperties<A, B> = {
|
|
3582
4551
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3583
4552
|
}[keyof A & keyof B];
|
3584
4553
|
|
4554
|
+
/**
|
4555
|
+
* @beta
|
4556
|
+
* Props for SitePermissions components.
|
4557
|
+
*/
|
4558
|
+
export declare interface CommonSitePermissionsProps {
|
4559
|
+
/**
|
4560
|
+
* Name of application calling experience is in.
|
4561
|
+
*/
|
4562
|
+
appName: string;
|
4563
|
+
/**
|
4564
|
+
* Kind of the Site Permissions component.
|
4565
|
+
*/
|
4566
|
+
kind: 'request' | 'denied' | 'check';
|
4567
|
+
/**
|
4568
|
+
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4569
|
+
*/
|
4570
|
+
browserHint?: 'safari' | 'unset';
|
4571
|
+
/**
|
4572
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4573
|
+
* If this is not provided the button will not be shown.
|
4574
|
+
*/
|
4575
|
+
onTroubleshootingClick?: () => void;
|
4576
|
+
/**
|
4577
|
+
* Action that is taken when the user clicks the continue anyway button.
|
4578
|
+
* If this is not provided the button will not be shown.
|
4579
|
+
*/
|
4580
|
+
onContinueAnywayClick?: () => void;
|
4581
|
+
/**
|
4582
|
+
* Styles for SitePermissions component.
|
4583
|
+
*/
|
4584
|
+
styles?: SitePermissionsStyles;
|
4585
|
+
}
|
4586
|
+
|
3585
4587
|
/**
|
3586
4588
|
* A Chat or Calling participant's state, as reflected in the UI.
|
3587
4589
|
*
|
@@ -3758,6 +4760,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
3758
4760
|
export declare interface ComponentLocale {
|
3759
4761
|
/** Strings for components */
|
3760
4762
|
strings: ComponentStrings;
|
4763
|
+
/**
|
4764
|
+
* Optional function to provide customized date format.
|
4765
|
+
* @beta
|
4766
|
+
*/
|
4767
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
3761
4768
|
}
|
3762
4769
|
|
3763
4770
|
/**
|
@@ -3803,12 +4810,62 @@ export declare interface ComponentStrings {
|
|
3803
4810
|
typingIndicator: TypingIndicatorStrings;
|
3804
4811
|
/** Strings for SendBox */
|
3805
4812
|
sendBox: SendBoxStrings;
|
4813
|
+
/** Strings for MentionPopover */
|
4814
|
+
mentionPopover: MentionPopoverStrings;
|
4815
|
+
/** Strings for ImageGallery */
|
4816
|
+
imageGallery: ImageGalleryStrings;
|
3806
4817
|
/** Strings for MessageStatusIndicator */
|
3807
4818
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
3808
4819
|
/** Strings for ErroBar */
|
3809
4820
|
errorBar: ErrorBarStrings;
|
3810
4821
|
/** Strings for VideoGallery */
|
3811
4822
|
videoGallery: VideoGalleryStrings;
|
4823
|
+
/** Strings for Dialpad */
|
4824
|
+
dialpad: DialpadStrings;
|
4825
|
+
/** Strings for VideoTile */
|
4826
|
+
videoTile: VideoTileStrings;
|
4827
|
+
/** Strings for HoldButton */
|
4828
|
+
holdButton: HoldButtonStrings;
|
4829
|
+
/** Strings for a site's permission request prompt */
|
4830
|
+
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4831
|
+
/** Strings for a site's permission request prompt */
|
4832
|
+
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4833
|
+
/** Strings for a site's permission request prompt */
|
4834
|
+
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4835
|
+
/** Strings for a site's permission generic checking prompt */
|
4836
|
+
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4837
|
+
/** Strings for a site's permission generic checking prompt */
|
4838
|
+
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4839
|
+
/** Strings for a site's permission generic checking prompt */
|
4840
|
+
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4841
|
+
/** Strings for a site's permission denied prompt */
|
4842
|
+
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4843
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
4844
|
+
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4845
|
+
/** Strings for a site's permission denied prompt */
|
4846
|
+
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4847
|
+
/** Strings for a site's permission denied prompt */
|
4848
|
+
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4849
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
4850
|
+
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4851
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
4852
|
+
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4853
|
+
/** Strings for unsupported browser UI */
|
4854
|
+
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4855
|
+
/** Strings for unsupported browser version UI */
|
4856
|
+
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4857
|
+
/** Strings for unsupported browser version UI */
|
4858
|
+
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4859
|
+
/** Strings for BrowserPemissionDenied */
|
4860
|
+
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4861
|
+
/** Strings for BrowserPemissionDeniedIOS */
|
4862
|
+
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4863
|
+
/**
|
4864
|
+
* Strings for the VerticalGallery.
|
4865
|
+
*/
|
4866
|
+
VerticalGallery: VerticalGalleryStrings;
|
4867
|
+
/** Strings for the participant list component */
|
4868
|
+
ParticipantList: ParticipantListStrings;
|
3812
4869
|
}
|
3813
4870
|
|
3814
4871
|
/**
|
@@ -4165,7 +5222,7 @@ export declare interface ControlBarProps {
|
|
4165
5222
|
*
|
4166
5223
|
* @public
|
4167
5224
|
*/
|
4168
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
5225
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4169
5226
|
|
4170
5227
|
/**
|
4171
5228
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4175,7 +5232,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
|
|
4175
5232
|
*
|
4176
5233
|
* @public
|
4177
5234
|
*/
|
4178
|
-
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator,
|
5235
|
+
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
|
4179
5236
|
|
4180
5237
|
/**
|
4181
5238
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -4183,7 +5240,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
4183
5240
|
*
|
4184
5241
|
* @public
|
4185
5242
|
*/
|
4186
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5243
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
4187
5244
|
|
4188
5245
|
/**
|
4189
5246
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -4194,7 +5251,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
4194
5251
|
*
|
4195
5252
|
* @public
|
4196
5253
|
*/
|
4197
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
5254
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions, chatAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4198
5255
|
|
4199
5256
|
/**
|
4200
5257
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -4213,14 +5270,16 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4213
5270
|
*
|
4214
5271
|
* @public
|
4215
5272
|
*/
|
4216
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
5273
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
|
5274
|
+
credential?: CommunicationTokenCredential;
|
5275
|
+
}): Promise<ChatAdapter>;
|
4217
5276
|
|
4218
5277
|
/**
|
4219
5278
|
* Type of {@link createDefaultCallingHandlers}.
|
4220
5279
|
*
|
4221
5280
|
* @public
|
4222
5281
|
*/
|
4223
|
-
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined,
|
5282
|
+
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, options?: CallingHandlersOptions) => CallingHandlers;
|
4224
5283
|
|
4225
5284
|
/**
|
4226
5285
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -4245,9 +5304,21 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
4245
5304
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
4246
5305
|
|
4247
5306
|
/**
|
4248
|
-
*
|
4249
|
-
*
|
4250
|
-
*
|
5307
|
+
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5308
|
+
*
|
5309
|
+
* Useful when implementing a custom component that utilizes the providers
|
5310
|
+
* exported from this library.
|
5311
|
+
*
|
5312
|
+
* @beta
|
5313
|
+
*/
|
5314
|
+
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?: {
|
5315
|
+
onResolveVideoBackgroundEffectsDependency?: (() => Promise<VideoBackgroundEffectsDependency>) | undefined;
|
5316
|
+
} | undefined) => never | TeamsCallingHandlers;
|
5317
|
+
|
5318
|
+
/**
|
5319
|
+
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
5320
|
+
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
5321
|
+
* to state in a declarative way.
|
4251
5322
|
*
|
4252
5323
|
* It is important to use the {@link @azure/communication-calling#DeviceManager} and
|
4253
5324
|
* {@link @azure/communication-calling#CallAgent} and {@link @azure/communication-calling#Call} (and etc.) that are
|
@@ -4269,6 +5340,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4269
5340
|
*/
|
4270
5341
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
4271
5342
|
|
5343
|
+
/**
|
5344
|
+
* @beta
|
5345
|
+
*/
|
5346
|
+
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5347
|
+
|
5348
|
+
/**
|
5349
|
+
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5350
|
+
*
|
5351
|
+
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5352
|
+
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5353
|
+
*
|
5354
|
+
* @beta
|
5355
|
+
*/
|
5356
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
|
5357
|
+
|
4272
5358
|
/**
|
4273
5359
|
* Object returned after creating a local or remote VideoStream.
|
4274
5360
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -4319,8 +5405,146 @@ export declare type CustomAvatarOptions = {
|
|
4319
5405
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
4320
5406
|
/** Display name to be used in Persona */
|
4321
5407
|
text?: string;
|
5408
|
+
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5409
|
+
participantState?: ParticipantState;
|
5410
|
+
/**
|
5411
|
+
* If true, show the special coin for unknown persona.
|
5412
|
+
* It has '?' in place of initials, with static font and background colors
|
5413
|
+
*/
|
5414
|
+
showUnknownPersonaCoin?: boolean;
|
4322
5415
|
};
|
4323
5416
|
|
5417
|
+
/**
|
5418
|
+
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
5419
|
+
*
|
5420
|
+
* The response indicates where the custom button should be placed.
|
5421
|
+
*
|
5422
|
+
* Performance tip: This callback is only called when either the callback or its arguments change.
|
5423
|
+
* @beta
|
5424
|
+
*/
|
5425
|
+
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
5426
|
+
export { CustomCallControlButtonCallback }
|
5427
|
+
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
5428
|
+
|
5429
|
+
/**
|
5430
|
+
* Arguments for {@link CustomCallControlButtonCallback}.
|
5431
|
+
*
|
5432
|
+
* @beta
|
5433
|
+
*/
|
5434
|
+
export declare interface CustomCallControlButtonCallbackArgs {
|
5435
|
+
/**
|
5436
|
+
* Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
|
5437
|
+
*
|
5438
|
+
* @defaultValue `'default'`
|
5439
|
+
*/
|
5440
|
+
displayType?: CallControlDisplayType;
|
5441
|
+
}
|
5442
|
+
|
5443
|
+
/**
|
5444
|
+
* Placement for a custom button injected in the {@link CommonCallControlBar}.
|
5445
|
+
*
|
5446
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
5447
|
+
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
5448
|
+
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
5449
|
+
*
|
5450
|
+
* Multiple buttons assigned the same placement are appended in order.
|
5451
|
+
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
5452
|
+
* in the order provided.
|
5453
|
+
*
|
5454
|
+
* Only 'primary' placement works when legacy call control is enabled in call composite
|
5455
|
+
*
|
5456
|
+
* @beta
|
5457
|
+
*/
|
5458
|
+
declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
5459
|
+
export { CustomCallControlButtonPlacement }
|
5460
|
+
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
5461
|
+
|
5462
|
+
/**
|
5463
|
+
* Response from {@link CustomCallControlButtonCallback}.
|
5464
|
+
*
|
5465
|
+
* Includes the placement prop necessary to indicate where to place the
|
5466
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5467
|
+
*
|
5468
|
+
* @beta
|
5469
|
+
*/
|
5470
|
+
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
5471
|
+
/**
|
5472
|
+
* Where to place the custom button relative to other buttons.
|
5473
|
+
*/
|
5474
|
+
placement: CustomCallControlButtonPlacement;
|
5475
|
+
/**
|
5476
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5477
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5478
|
+
*/
|
5479
|
+
iconName?: string;
|
5480
|
+
}
|
5481
|
+
|
5482
|
+
/**
|
5483
|
+
* Response from {@link CustomCallControlButtonCallback}.
|
5484
|
+
*
|
5485
|
+
* Includes the icon and placement prop necessary to indicate where to place the
|
5486
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
5487
|
+
*
|
5488
|
+
* @beta
|
5489
|
+
*/
|
5490
|
+
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
5491
|
+
/**
|
5492
|
+
* Where to place the custom button relative to other buttons.
|
5493
|
+
*/
|
5494
|
+
placement: CustomCallControlButtonPlacement;
|
5495
|
+
/**
|
5496
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
5497
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
5498
|
+
*/
|
5499
|
+
iconName?: string;
|
5500
|
+
}
|
5501
|
+
|
5502
|
+
/**
|
5503
|
+
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
5504
|
+
*
|
5505
|
+
* @beta
|
5506
|
+
*/
|
5507
|
+
export declare interface CustomControlButtonProps {
|
5508
|
+
/**
|
5509
|
+
* Calback for when button is clicked
|
5510
|
+
*/
|
5511
|
+
onItemClick?: () => void;
|
5512
|
+
/**
|
5513
|
+
* Whether the buttons is disabled
|
5514
|
+
*/
|
5515
|
+
disabled?: boolean;
|
5516
|
+
/**
|
5517
|
+
* Whether the label is displayed or not.
|
5518
|
+
*
|
5519
|
+
* @defaultValue `false`
|
5520
|
+
*/
|
5521
|
+
showLabel?: boolean;
|
5522
|
+
/**
|
5523
|
+
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
5524
|
+
*/
|
5525
|
+
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
5526
|
+
/**
|
5527
|
+
* Optional label for the button
|
5528
|
+
*/
|
5529
|
+
text?: string;
|
5530
|
+
/**
|
5531
|
+
* A unique key for the button
|
5532
|
+
*/
|
5533
|
+
key?: string | number;
|
5534
|
+
/**
|
5535
|
+
* The aria label of the button for the benefit of screen readers.
|
5536
|
+
*/
|
5537
|
+
ariaLabel?: string;
|
5538
|
+
/**
|
5539
|
+
* Detailed description of the button for the benefit of screen readers.
|
5540
|
+
*/
|
5541
|
+
ariaDescription?: string;
|
5542
|
+
/**
|
5543
|
+
* A unique id set for the standard HTML id attibute
|
5544
|
+
*/
|
5545
|
+
id?: string;
|
5546
|
+
}
|
5547
|
+
|
4324
5548
|
/**
|
4325
5549
|
* A custom message type.
|
4326
5550
|
*
|
@@ -4338,7 +5562,19 @@ export declare interface CustomMessage extends MessageCommon {
|
|
4338
5562
|
*
|
4339
5563
|
* @public
|
4340
5564
|
*/
|
4341
|
-
export declare const darkTheme: PartialTheme & CallingTheme;
|
5565
|
+
export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
5566
|
+
|
5567
|
+
/**
|
5568
|
+
* @beta
|
5569
|
+
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
5570
|
+
*/
|
5571
|
+
export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
|
5572
|
+
|
5573
|
+
/**
|
5574
|
+
* @beta
|
5575
|
+
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
5576
|
+
*/
|
5577
|
+
export declare type DeclarativeIncomingCall = IncomingCall;
|
4342
5578
|
|
4343
5579
|
/**
|
4344
5580
|
* The default set of icons that are available to use in the UI components.
|
@@ -4356,12 +5592,16 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4356
5592
|
ControlButtonMicOn: JSX.Element;
|
4357
5593
|
ControlButtonOptions: JSX.Element;
|
4358
5594
|
ControlButtonParticipants: JSX.Element;
|
5595
|
+
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
4359
5596
|
ControlButtonScreenShareStart: JSX.Element;
|
4360
5597
|
ControlButtonScreenShareStop: JSX.Element;
|
4361
5598
|
ControlButtonRaiseHand: JSX.Element;
|
4362
5599
|
ControlButtonLowerHand: JSX.Element;
|
4363
5600
|
RaiseHandContextualMenuItem: JSX.Element;
|
4364
5601
|
LowerHandContextualMenuItem: JSX.Element;
|
5602
|
+
CancelFileUpload: JSX.Element;
|
5603
|
+
DownloadFile: JSX.Element;
|
5604
|
+
DataLossPreventionProhibited: JSX.Element;
|
4365
5605
|
EditBoxCancel: JSX.Element;
|
4366
5606
|
EditBoxSubmit: JSX.Element;
|
4367
5607
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -4394,9 +5634,20 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4394
5634
|
ParticipantItemOptions: JSX.Element;
|
4395
5635
|
ParticipantItemOptionsHovered: JSX.Element;
|
4396
5636
|
ParticipantItemScreenShareStart: JSX.Element;
|
5637
|
+
HoldCallContextualMenuItem: JSX.Element;
|
5638
|
+
HoldCallButton: JSX.Element;
|
5639
|
+
ResumeCall: JSX.Element;
|
4397
5640
|
SendBoxSend: JSX.Element;
|
4398
5641
|
SendBoxSendHovered: JSX.Element;
|
4399
5642
|
VideoTileMicOff: JSX.Element;
|
5643
|
+
DialpadBackspace: JSX.Element;
|
5644
|
+
SitePermissionsSparkle: JSX.Element;
|
5645
|
+
SitePermissionCamera: JSX.Element;
|
5646
|
+
SitePermissionMic: JSX.Element;
|
5647
|
+
SitePermissionCameraDenied: JSX.Element;
|
5648
|
+
SitePermissionMicDenied: JSX.Element;
|
5649
|
+
UnsupportedEnvironmentWarning: JSX.Element;
|
5650
|
+
BrowserPermissionDeniedError: JSX.Element;
|
4400
5651
|
VideoTilePinned: JSX.Element;
|
4401
5652
|
VideoTileMoreOptions: JSX.Element;
|
4402
5653
|
VideoTileScaleFit: JSX.Element;
|
@@ -4407,6 +5658,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4407
5658
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
4408
5659
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
4409
5660
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5661
|
+
VerticalGalleryLeftButton: JSX.Element;
|
5662
|
+
VerticalGalleryRightButton: JSX.Element;
|
4410
5663
|
ControlButtonVideoEffectsOption: JSX.Element;
|
4411
5664
|
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
4412
5665
|
CaptionsIcon: JSX.Element;
|
@@ -4437,6 +5690,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4437
5690
|
ParticipantItemOptionsHovered: JSX.Element;
|
4438
5691
|
SendBoxSend: JSX.Element;
|
4439
5692
|
SendBoxSendHovered: JSX.Element;
|
5693
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
4440
5694
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
4441
5695
|
ControlButtonCameraOff: JSX.Element;
|
4442
5696
|
ControlButtonCameraOn: JSX.Element;
|
@@ -4486,8 +5740,18 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4486
5740
|
ParticipantItemScreenShareStart: JSX.Element;
|
4487
5741
|
VideoTileMicOff: JSX.Element;
|
4488
5742
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5743
|
+
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5744
|
+
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5745
|
+
DialpadStartCall?: JSX.Element | undefined;
|
5746
|
+
NoticePageAccessDeniedRoomsCall?: JSX.Element | undefined;
|
4489
5747
|
BlurVideoBackground?: JSX.Element | undefined;
|
4490
5748
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
5749
|
+
GalleryOptions?: JSX.Element | undefined;
|
5750
|
+
SpeakerGalleryLayout?: JSX.Element | undefined;
|
5751
|
+
FloatingLocalVideoGalleryLayout?: JSX.Element | undefined;
|
5752
|
+
DefaultGalleryLayout?: JSX.Element | undefined;
|
5753
|
+
FocusedContentGalleryLayout?: JSX.Element | undefined;
|
5754
|
+
OverflowGalleryTop?: JSX.Element | undefined;
|
4491
5755
|
ChevronLeft?: JSX.Element | undefined;
|
4492
5756
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
4493
5757
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
@@ -4497,11 +5761,25 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4497
5761
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
4498
5762
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
4499
5763
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
4500
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
4501
5764
|
ChatMessageOptions: JSX.Element;
|
5765
|
+
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5766
|
+
CancelFileUpload: JSX.Element;
|
5767
|
+
DownloadFile: JSX.Element;
|
5768
|
+
DataLossPreventionProhibited: JSX.Element;
|
4502
5769
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
4503
5770
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
4504
5771
|
MessageResend: JSX.Element;
|
5772
|
+
HoldCallContextualMenuItem: JSX.Element;
|
5773
|
+
HoldCallButton: JSX.Element;
|
5774
|
+
ResumeCall: JSX.Element;
|
5775
|
+
DialpadBackspace: JSX.Element;
|
5776
|
+
SitePermissionsSparkle: JSX.Element;
|
5777
|
+
SitePermissionCamera: JSX.Element;
|
5778
|
+
SitePermissionMic: JSX.Element;
|
5779
|
+
SitePermissionCameraDenied: JSX.Element;
|
5780
|
+
SitePermissionMicDenied: JSX.Element;
|
5781
|
+
UnsupportedEnvironmentWarning: JSX.Element;
|
5782
|
+
BrowserPermissionDeniedError: JSX.Element;
|
4505
5783
|
VideoTilePinned: JSX.Element;
|
4506
5784
|
VideoTileMoreOptions: JSX.Element;
|
4507
5785
|
VideoTileScaleFit: JSX.Element;
|
@@ -4512,11 +5790,20 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4512
5790
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
4513
5791
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
4514
5792
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5793
|
+
VerticalGalleryLeftButton: JSX.Element;
|
5794
|
+
VerticalGalleryRightButton: JSX.Element;
|
4515
5795
|
ControlButtonVideoEffectsOption: JSX.Element;
|
4516
5796
|
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
4517
5797
|
CaptionsIcon: JSX.Element;
|
4518
5798
|
CaptionsOffIcon: JSX.Element;
|
4519
5799
|
CaptionsSettingsIcon: JSX.Element;
|
5800
|
+
/**
|
5801
|
+
* Icon wrapper to use when including customizable icons inside the CallWithChatComposite.
|
5802
|
+
* This wrapper ensures the icon name is being type-checked helping ensure no typos
|
5803
|
+
* and ensure that icon is customizable through the composite API.
|
5804
|
+
*
|
5805
|
+
* @private
|
5806
|
+
*/
|
4520
5807
|
ChangeSpokenLanguageIcon: JSX.Element;
|
4521
5808
|
ChangeCaptionLanguageIcon: JSX.Element;
|
4522
5809
|
ContextMenuCameraIcon: JSX.Element;
|
@@ -4524,6 +5811,29 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4524
5811
|
ContextMenuSpeakerIcon: JSX.Element;
|
4525
5812
|
};
|
4526
5813
|
|
5814
|
+
/**
|
5815
|
+
* Device Checks.
|
5816
|
+
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5817
|
+
*
|
5818
|
+
* @beta
|
5819
|
+
*/
|
5820
|
+
export declare interface DeviceCheckOptions {
|
5821
|
+
/**
|
5822
|
+
* Camera Permission prompts for your call.
|
5823
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5824
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5825
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5826
|
+
*/
|
5827
|
+
camera: 'required' | 'optional' | 'doNotPrompt';
|
5828
|
+
/**
|
5829
|
+
* Microphone permission prompts for your call.
|
5830
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5831
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5832
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5833
|
+
*/
|
5834
|
+
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5835
|
+
}
|
5836
|
+
|
4527
5837
|
/**
|
4528
5838
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
4529
5839
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -4742,6 +6052,60 @@ export declare interface DiagnosticsCallFeatureState {
|
|
4742
6052
|
media: MediaDiagnosticsState;
|
4743
6053
|
}
|
4744
6054
|
|
6055
|
+
/**
|
6056
|
+
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
6057
|
+
* It will return empty component for stable builds
|
6058
|
+
*
|
6059
|
+
* @beta
|
6060
|
+
*/
|
6061
|
+
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
6062
|
+
|
6063
|
+
/**
|
6064
|
+
* Props for {@link Dialpad} component.
|
6065
|
+
*
|
6066
|
+
* @beta
|
6067
|
+
*/
|
6068
|
+
export declare interface DialpadProps {
|
6069
|
+
strings?: DialpadStrings;
|
6070
|
+
/** function to send dtmf tones on button click */
|
6071
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
6072
|
+
/** Callback for dialpad button behavior*/
|
6073
|
+
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
6074
|
+
/** set dialpad textfield content */
|
6075
|
+
textFieldValue?: string;
|
6076
|
+
/** on change function for text field, provides an unformatted plain text*/
|
6077
|
+
onChange?: (input: string) => void;
|
6078
|
+
/** boolean input to determine when to show/hide delete button, default true */
|
6079
|
+
showDeleteButton?: boolean;
|
6080
|
+
/** boolean input to determine if dialpad is in mobile view, default false */
|
6081
|
+
isMobile?: boolean;
|
6082
|
+
styles?: DialpadStyles;
|
6083
|
+
}
|
6084
|
+
|
6085
|
+
/**
|
6086
|
+
* Strings of {@link Dialpad} that can be overridden.
|
6087
|
+
*
|
6088
|
+
* @beta
|
6089
|
+
*/
|
6090
|
+
export declare interface DialpadStrings {
|
6091
|
+
placeholderText: string;
|
6092
|
+
deleteButtonAriaLabel?: string;
|
6093
|
+
}
|
6094
|
+
|
6095
|
+
/**
|
6096
|
+
* Styles for {@link Dialpad} component.
|
6097
|
+
*
|
6098
|
+
* @beta
|
6099
|
+
*/
|
6100
|
+
export declare interface DialpadStyles {
|
6101
|
+
root?: IStyle;
|
6102
|
+
button?: IButtonStyles;
|
6103
|
+
textField?: Partial<ITextFieldStyles>;
|
6104
|
+
digit?: IStyle;
|
6105
|
+
letter?: IStyle;
|
6106
|
+
deleteIcon?: IButtonStyles;
|
6107
|
+
}
|
6108
|
+
|
4745
6109
|
/**
|
4746
6110
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
4747
6111
|
*
|
@@ -4762,6 +6126,13 @@ export declare interface Disposable {
|
|
4762
6126
|
dispose(): void;
|
4763
6127
|
}
|
4764
6128
|
|
6129
|
+
/**
|
6130
|
+
* DTMF tone for PSTN calls.
|
6131
|
+
*
|
6132
|
+
* @beta
|
6133
|
+
*/
|
6134
|
+
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
6135
|
+
|
4765
6136
|
/**
|
4766
6137
|
* A type for trivial selectors that return no data.
|
4767
6138
|
*
|
@@ -5015,6 +6386,199 @@ export declare interface ErrorBarStrings {
|
|
5015
6386
|
*/
|
5016
6387
|
export declare type ErrorType = keyof ErrorBarStrings;
|
5017
6388
|
|
6389
|
+
/**
|
6390
|
+
* @beta
|
6391
|
+
* A file download error returned via a {@link FileDownloadHandler}.
|
6392
|
+
* This error message is used to render an error message in the UI.
|
6393
|
+
*/
|
6394
|
+
export declare interface FileDownloadError {
|
6395
|
+
/** The error message to display in the UI */
|
6396
|
+
errorMessage: string;
|
6397
|
+
}
|
6398
|
+
|
6399
|
+
/**
|
6400
|
+
* @beta
|
6401
|
+
*
|
6402
|
+
* A callback function for handling file downloads.
|
6403
|
+
* The function needs to return a promise that resolves to a file download URL.
|
6404
|
+
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
6405
|
+
*
|
6406
|
+
* @example
|
6407
|
+
* ```ts
|
6408
|
+
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
6409
|
+
* if (isUnauthorizedUser(userId)) {
|
6410
|
+
* return { errorMessage: 'You don’t have permission to download this file.' };
|
6411
|
+
* } else {
|
6412
|
+
* return new URL(fileData.url);
|
6413
|
+
* }
|
6414
|
+
* }
|
6415
|
+
*
|
6416
|
+
* const App = () => (
|
6417
|
+
* <ChatComposite
|
6418
|
+
* ...
|
6419
|
+
* fileSharing={{
|
6420
|
+
* fileDownloadHandler: fileDownloadHandler
|
6421
|
+
* }}
|
6422
|
+
* />
|
6423
|
+
* )
|
6424
|
+
*
|
6425
|
+
* ```
|
6426
|
+
* @param userId - The user ID of the user downloading the file.
|
6427
|
+
* @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
|
6428
|
+
*/
|
6429
|
+
export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
|
6430
|
+
|
6431
|
+
/**
|
6432
|
+
* Meta Data containing information about the uploaded file.
|
6433
|
+
* @beta
|
6434
|
+
*/
|
6435
|
+
export declare type FileMetadata = FileSharingMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ ImageFileMetadata;
|
6436
|
+
|
6437
|
+
/**
|
6438
|
+
* @beta
|
6439
|
+
*/
|
6440
|
+
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
|
6441
|
+
|
6442
|
+
/**
|
6443
|
+
* Meta Data containing basic information about the uploaded file.
|
6444
|
+
* Typically used for ACS to ACS file transfers.
|
6445
|
+
* @beta
|
6446
|
+
*/
|
6447
|
+
export declare interface FileSharingMetadata extends BaseFileMetadata {
|
6448
|
+
attachmentType: 'fileSharing';
|
6449
|
+
payload?: Record<string, string>;
|
6450
|
+
}
|
6451
|
+
|
6452
|
+
/**
|
6453
|
+
* Properties for configuring the File Sharing feature.
|
6454
|
+
* @beta
|
6455
|
+
*/
|
6456
|
+
export declare interface FileSharingOptions {
|
6457
|
+
/**
|
6458
|
+
* A string containing the comma separated list of accepted file types.
|
6459
|
+
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
6460
|
+
* Accepts any type of file if not specified.
|
6461
|
+
* @beta
|
6462
|
+
*/
|
6463
|
+
accept?: string;
|
6464
|
+
/**
|
6465
|
+
* Allows multiple files to be selected if set to `true`.
|
6466
|
+
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
6467
|
+
* @defaultValue false
|
6468
|
+
* @beta
|
6469
|
+
*/
|
6470
|
+
multiple?: boolean;
|
6471
|
+
/**
|
6472
|
+
* A function of type {@link FileUploadHandler} for handling file uploads.
|
6473
|
+
* @beta
|
6474
|
+
*/
|
6475
|
+
uploadHandler: FileUploadHandler;
|
6476
|
+
/**
|
6477
|
+
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
6478
|
+
* If the function is not specified, the file's `url` will be opened in a new tab to
|
6479
|
+
* initiate the download.
|
6480
|
+
*/
|
6481
|
+
downloadHandler?: FileDownloadHandler;
|
6482
|
+
}
|
6483
|
+
|
6484
|
+
/**
|
6485
|
+
* @beta
|
6486
|
+
*/
|
6487
|
+
export declare interface FileUploadAdapter {
|
6488
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
6489
|
+
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
6490
|
+
clearFileUploads: () => void;
|
6491
|
+
cancelFileUpload: (id: string) => void;
|
6492
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
6493
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
6494
|
+
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
6495
|
+
}
|
6496
|
+
|
6497
|
+
/**
|
6498
|
+
* @beta
|
6499
|
+
* Error message to be displayed to the user if the upload fails.
|
6500
|
+
*/
|
6501
|
+
export declare type FileUploadError = {
|
6502
|
+
message: string;
|
6503
|
+
timestamp: number;
|
6504
|
+
};
|
6505
|
+
|
6506
|
+
/**
|
6507
|
+
* @beta
|
6508
|
+
* A callback function for handling file uploads.
|
6509
|
+
*
|
6510
|
+
* @param userId - The user ID of the user uploading the file.
|
6511
|
+
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
6512
|
+
*/
|
6513
|
+
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
6514
|
+
|
6515
|
+
/**
|
6516
|
+
* A wrapper object for a file that is being uploaded.
|
6517
|
+
* Allows mmanaging file uploads by providing common functions for updating the
|
6518
|
+
* upload progress, canceling an upload, completing an upload etc.
|
6519
|
+
* @beta
|
6520
|
+
*/
|
6521
|
+
export declare interface FileUploadManager {
|
6522
|
+
/**
|
6523
|
+
* Unique identifier for the file upload.
|
6524
|
+
*/
|
6525
|
+
id: string;
|
6526
|
+
/**
|
6527
|
+
* HTML {@link File} object for the uploaded file.
|
6528
|
+
*/
|
6529
|
+
file?: File;
|
6530
|
+
/**
|
6531
|
+
* Update the progress of the upload.
|
6532
|
+
* @param value - number between 0 and 1
|
6533
|
+
*/
|
6534
|
+
notifyUploadProgressChanged: (value: number) => void;
|
6535
|
+
/**
|
6536
|
+
* Mark the upload as complete.
|
6537
|
+
* Requires the `metadata` param containing uploaded file information.
|
6538
|
+
* @param metadata - {@link FileMetadata}
|
6539
|
+
*/
|
6540
|
+
notifyUploadCompleted: (metadata: FileMetadata) => void;
|
6541
|
+
/**
|
6542
|
+
* Mark the upload as failed.
|
6543
|
+
* @param message - An error message that can be displayed to the user.
|
6544
|
+
*/
|
6545
|
+
notifyUploadFailed: (message: string) => void;
|
6546
|
+
}
|
6547
|
+
|
6548
|
+
/**
|
6549
|
+
* Contains the state attibutes of a file upload like name, progress etc.
|
6550
|
+
* @beta
|
6551
|
+
*/
|
6552
|
+
export declare interface FileUploadState {
|
6553
|
+
/**
|
6554
|
+
* Unique identifier for the file upload.
|
6555
|
+
*/
|
6556
|
+
id: string;
|
6557
|
+
/**
|
6558
|
+
* Filename extracted from the {@link File} object.
|
6559
|
+
* This attribute is used to render the filename if `metadata.name` is not available.
|
6560
|
+
*/
|
6561
|
+
filename: string;
|
6562
|
+
/**
|
6563
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
6564
|
+
*/
|
6565
|
+
progress: number;
|
6566
|
+
/**
|
6567
|
+
* Meta Data {@link FileMetadata} containing information about the uploaded file.
|
6568
|
+
*/
|
6569
|
+
metadata?: FileMetadata;
|
6570
|
+
/**
|
6571
|
+
* Error message to be displayed to the user if the upload fails.
|
6572
|
+
*/
|
6573
|
+
error?: FileUploadError;
|
6574
|
+
}
|
6575
|
+
|
6576
|
+
/**
|
6577
|
+
* A record containing {@link FileUploadState} mapped to unique ids.
|
6578
|
+
* @beta
|
6579
|
+
*/
|
6580
|
+
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
6581
|
+
|
5018
6582
|
/**
|
5019
6583
|
* Provider to apply a Fluent theme across this library's react components.
|
5020
6584
|
*
|
@@ -5055,7 +6619,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5055
6619
|
*
|
5056
6620
|
* @public
|
5057
6621
|
*/
|
5058
|
-
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;
|
6622
|
+
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;
|
5059
6623
|
|
5060
6624
|
/**
|
5061
6625
|
* Get the selector for a specified component.
|
@@ -5117,6 +6681,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
5117
6681
|
children?: IStyle;
|
5118
6682
|
}
|
5119
6683
|
|
6684
|
+
/**
|
6685
|
+
* a button to hold or resume a ongoing call.
|
6686
|
+
*
|
6687
|
+
* Can be used with {@link ControlBar}
|
6688
|
+
*
|
6689
|
+
* @param props - properties for the hold button.
|
6690
|
+
* @returns
|
6691
|
+
* @beta
|
6692
|
+
*/
|
6693
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6694
|
+
|
6695
|
+
/**
|
6696
|
+
*@beta
|
6697
|
+
*/
|
6698
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6699
|
+
/**
|
6700
|
+
* Utility property for using this component with communication react handlers
|
6701
|
+
* Holds the call or resumes it based on call state.
|
6702
|
+
*/
|
6703
|
+
onToggleHold: () => Promise<void>;
|
6704
|
+
/**
|
6705
|
+
* Optional strings to override in component
|
6706
|
+
*/
|
6707
|
+
strings?: HoldButtonStrings;
|
6708
|
+
}
|
6709
|
+
|
6710
|
+
/**
|
6711
|
+
* Selector type for the {@link HoldButton} component.
|
6712
|
+
* @public
|
6713
|
+
*/
|
6714
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6715
|
+
checked: boolean;
|
6716
|
+
};
|
6717
|
+
|
6718
|
+
/**
|
6719
|
+
* Strings for the hold button labels
|
6720
|
+
* @beta
|
6721
|
+
*/
|
6722
|
+
export declare interface HoldButtonStrings {
|
6723
|
+
/**
|
6724
|
+
* Label for when action is to resume call.
|
6725
|
+
*/
|
6726
|
+
onLabel: string;
|
6727
|
+
/**
|
6728
|
+
* Label for when action is to hold call.
|
6729
|
+
*/
|
6730
|
+
offLabel: string;
|
6731
|
+
/**
|
6732
|
+
* Content for when button is checked
|
6733
|
+
*/
|
6734
|
+
tooltipOnContent: string;
|
6735
|
+
/**
|
6736
|
+
* Content for when button is unchecked
|
6737
|
+
*/
|
6738
|
+
tooltipOffContent: string;
|
6739
|
+
}
|
6740
|
+
|
5120
6741
|
/**
|
5121
6742
|
* {@link HorizontalGallery} Component Styles.
|
5122
6743
|
* @public
|
@@ -5197,8 +6818,112 @@ export declare interface _Identifiers {
|
|
5197
6818
|
overflowGalleryRightNavButton: string;
|
5198
6819
|
/** `data-ui-id` value for the video tiles in the horizontal gallery */
|
5199
6820
|
horizontalGalleryVideoTile: string;
|
6821
|
+
/** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
|
6822
|
+
verticalGalleryVideoTile: string;
|
6823
|
+
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6824
|
+
verticalGalleryPageCounter: string;
|
6825
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
6826
|
+
mentionSuggestionList: string;
|
6827
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
6828
|
+
mentionSuggestionItem: string;
|
6829
|
+
}
|
6830
|
+
|
6831
|
+
/**
|
6832
|
+
* Meta Data containing data for images.
|
6833
|
+
* @beta
|
6834
|
+
*/
|
6835
|
+
export declare interface ImageFileMetadata extends BaseFileMetadata {
|
6836
|
+
attachmentType: 'inlineImage';
|
6837
|
+
previewUrl?: string;
|
6838
|
+
}
|
6839
|
+
|
6840
|
+
/**
|
6841
|
+
* Component to render a fullscreen modal for a selected image.
|
6842
|
+
*
|
6843
|
+
* @beta
|
6844
|
+
*/
|
6845
|
+
export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
|
6846
|
+
|
6847
|
+
/**
|
6848
|
+
* Props for {@link ImageGallery}.
|
6849
|
+
*
|
6850
|
+
* @beta
|
6851
|
+
*/
|
6852
|
+
export declare interface ImageGalleryImageProps {
|
6853
|
+
/** Image Url used to display the image in a large scale. */
|
6854
|
+
imageUrl: string;
|
6855
|
+
/** String used as a file name when downloading this image to user's local device. */
|
6856
|
+
downloadFilename: string;
|
6857
|
+
/** Optional string used as a alt text for the image. @default 'image' */
|
6858
|
+
altText?: string;
|
6859
|
+
/** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
|
6860
|
+
title?: string;
|
6861
|
+
/** Optional JSX element used as a title icon and displayed to the left of the title element. */
|
6862
|
+
titleIcon?: JSX.Element;
|
6863
|
+
}
|
6864
|
+
|
6865
|
+
/**
|
6866
|
+
* Props for {@link ImageGallery}.
|
6867
|
+
*
|
6868
|
+
* @beta
|
6869
|
+
*/
|
6870
|
+
export declare interface ImageGalleryProps {
|
6871
|
+
/**
|
6872
|
+
* Boolean that controls whether the modal is displayed.
|
6873
|
+
*/
|
6874
|
+
isOpen: boolean;
|
6875
|
+
/**
|
6876
|
+
* Array of images used to populate the ImageGallery
|
6877
|
+
*/
|
6878
|
+
images: Array<ImageGalleryImageProps>;
|
6879
|
+
/**
|
6880
|
+
* Callback to invoke when the ImageGallery modal is dismissed
|
6881
|
+
*/
|
6882
|
+
onDismiss: () => void;
|
6883
|
+
/**
|
6884
|
+
* Callback called when the download button is clicked.
|
6885
|
+
*/
|
6886
|
+
onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
|
6887
|
+
/**
|
6888
|
+
* Callback called when there's an error loading the image.
|
6889
|
+
*/
|
6890
|
+
onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
|
6891
|
+
/**
|
6892
|
+
* Indicating which index of the images array to start with.
|
6893
|
+
*/
|
6894
|
+
startIndex?: number;
|
6895
|
+
}
|
6896
|
+
|
6897
|
+
/**
|
6898
|
+
* Strings of {@link ImageGallery} that can be overridden.
|
6899
|
+
*
|
6900
|
+
* @beta
|
6901
|
+
*/
|
6902
|
+
export declare interface ImageGalleryStrings {
|
6903
|
+
/**
|
6904
|
+
* Download button label for ImageGallery
|
6905
|
+
*/
|
6906
|
+
downloadButtonLabel: string;
|
6907
|
+
/**
|
6908
|
+
* Dismiss button aria label for ImageGallery
|
6909
|
+
*/
|
6910
|
+
dismissButtonAriaLabel: string;
|
5200
6911
|
}
|
5201
6912
|
|
6913
|
+
/**
|
6914
|
+
* @beta
|
6915
|
+
* This contains a readonly array that returns all the active `incomingCalls`.
|
6916
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
6917
|
+
*/
|
6918
|
+
export declare type IncomingCallManagement = {
|
6919
|
+
/**
|
6920
|
+
* @beta
|
6921
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
6922
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
6923
|
+
*/
|
6924
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
6925
|
+
};
|
6926
|
+
|
5202
6927
|
/**
|
5203
6928
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
5204
6929
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -5329,7 +7054,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
5329
7054
|
*
|
5330
7055
|
* @public
|
5331
7056
|
*/
|
5332
|
-
export declare const lightTheme: PartialTheme & CallingTheme;
|
7057
|
+
export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
|
5333
7058
|
|
5334
7059
|
/**
|
5335
7060
|
* Whether the stream is loading or not.
|
@@ -5413,6 +7138,31 @@ export declare interface LocalVideoStreamVideoEffectsState {
|
|
5413
7138
|
activeEffects?: VideoEffectName[];
|
5414
7139
|
}
|
5415
7140
|
|
7141
|
+
/**
|
7142
|
+
* Options for the local video tile in the Call composite.
|
7143
|
+
*
|
7144
|
+
* @beta
|
7145
|
+
*/
|
7146
|
+
export declare interface LocalVideoTileOptions {
|
7147
|
+
/**
|
7148
|
+
* Position of the local video tile. If unset will render the local tile in the floating local position.
|
7149
|
+
*
|
7150
|
+
* @defaultValue 'floating'
|
7151
|
+
* @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
|
7152
|
+
* 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
|
7153
|
+
* local video tile rules and be docked in the bottom corner.
|
7154
|
+
* This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
|
7155
|
+
*/
|
7156
|
+
position?: 'grid' | 'floating';
|
7157
|
+
}
|
7158
|
+
|
7159
|
+
/**
|
7160
|
+
* different modes of the local video tile
|
7161
|
+
*
|
7162
|
+
* @beta
|
7163
|
+
*/
|
7164
|
+
export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
|
7165
|
+
|
5416
7166
|
/**
|
5417
7167
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
|
5418
7168
|
*
|
@@ -5431,6 +7181,76 @@ export declare interface MediaDiagnosticsState {
|
|
5431
7181
|
latest: LatestMediaDiagnostics;
|
5432
7182
|
}
|
5433
7183
|
|
7184
|
+
/**
|
7185
|
+
* Mention's state, as reflected in the UI.
|
7186
|
+
*
|
7187
|
+
* @beta
|
7188
|
+
*/
|
7189
|
+
export declare interface Mention {
|
7190
|
+
/** ID of a mention */
|
7191
|
+
id: string;
|
7192
|
+
/** Display text of a mention */
|
7193
|
+
displayText: string;
|
7194
|
+
/** Optional React element to render an item icon of a mention suggestion */
|
7195
|
+
icon?: JSX.Element;
|
7196
|
+
}
|
7197
|
+
|
7198
|
+
/**
|
7199
|
+
* Options to display suggestions in the mention scenario.
|
7200
|
+
*
|
7201
|
+
* @beta
|
7202
|
+
*/
|
7203
|
+
export declare interface MentionDisplayOptions {
|
7204
|
+
/**
|
7205
|
+
* Optional callback for customizing the mention renderer in a message thread.
|
7206
|
+
*/
|
7207
|
+
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7208
|
+
}
|
7209
|
+
|
7210
|
+
/**
|
7211
|
+
* Options to lookup suggestions in the mention scenario.
|
7212
|
+
*
|
7213
|
+
* @beta
|
7214
|
+
*/
|
7215
|
+
export declare interface MentionLookupOptions {
|
7216
|
+
/**
|
7217
|
+
* Optional string to set trigger keyword for mention a specific participant.
|
7218
|
+
*
|
7219
|
+
* @defaultValue `@`
|
7220
|
+
*/
|
7221
|
+
trigger?: string;
|
7222
|
+
/**
|
7223
|
+
* Optional callback to fetch a list of mention suggestions base on the query.
|
7224
|
+
*/
|
7225
|
+
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7226
|
+
/**
|
7227
|
+
* Optional callback to render an item of the mention suggestions list.
|
7228
|
+
*/
|
7229
|
+
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
|
7230
|
+
}
|
7231
|
+
|
7232
|
+
/**
|
7233
|
+
* Options to lookup suggestions and display mentions in the mention scenario.
|
7234
|
+
*
|
7235
|
+
* @beta
|
7236
|
+
*/
|
7237
|
+
export declare type MentionOptions = {
|
7238
|
+
lookupOptions?: MentionLookupOptions;
|
7239
|
+
displayOptions?: MentionDisplayOptions;
|
7240
|
+
};
|
7241
|
+
|
7242
|
+
/**
|
7243
|
+
* Strings of {@link _MentionPopover} that can be overridden.
|
7244
|
+
*
|
7245
|
+
* @beta
|
7246
|
+
*/
|
7247
|
+
export declare interface MentionPopoverStrings {
|
7248
|
+
/**
|
7249
|
+
* Header text for MentionPopover
|
7250
|
+
*/
|
7251
|
+
mentionPopoverHeader: string;
|
7252
|
+
}
|
7253
|
+
|
5434
7254
|
/**
|
5435
7255
|
* Discriminated union of all messages.
|
5436
7256
|
*
|
@@ -5438,7 +7258,7 @@ export declare interface MediaDiagnosticsState {
|
|
5438
7258
|
*
|
5439
7259
|
* @public
|
5440
7260
|
*/
|
5441
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7261
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
|
5442
7262
|
|
5443
7263
|
/**
|
5444
7264
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -5658,7 +7478,7 @@ export declare type MessageThreadProps = {
|
|
5658
7478
|
/**
|
5659
7479
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
5660
7480
|
*/
|
5661
|
-
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
7481
|
+
messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
|
5662
7482
|
/**
|
5663
7483
|
* number of participants in the thread
|
5664
7484
|
*/
|
@@ -5740,6 +7560,17 @@ export declare type MessageThreadProps = {
|
|
5740
7560
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
5741
7561
|
*/
|
5742
7562
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
7563
|
+
/**
|
7564
|
+
* Optional callback to render uploaded files in the message component.
|
7565
|
+
* @beta
|
7566
|
+
*/
|
7567
|
+
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
7568
|
+
/**
|
7569
|
+
* Optional callback to retrieve the inline image in a message.
|
7570
|
+
* @param attachment - FileMetadata object we want to render
|
7571
|
+
* @beta
|
7572
|
+
*/
|
7573
|
+
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
5743
7574
|
/**
|
5744
7575
|
* Optional callback to edit a message.
|
5745
7576
|
*
|
@@ -5781,6 +7612,28 @@ export declare type MessageThreadProps = {
|
|
5781
7612
|
* Optional strings to override in component
|
5782
7613
|
*/
|
5783
7614
|
strings?: Partial<MessageThreadStrings>;
|
7615
|
+
/**
|
7616
|
+
* @beta
|
7617
|
+
* Optional function called when someone clicks on the file download icon.
|
7618
|
+
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
7619
|
+
* this function will be called with the data inside `fileSharingMetadata` key.
|
7620
|
+
*/
|
7621
|
+
fileDownloadHandler?: FileDownloadHandler;
|
7622
|
+
/**
|
7623
|
+
* Optional function to provide customized date format.
|
7624
|
+
* @beta
|
7625
|
+
*/
|
7626
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
7627
|
+
/**
|
7628
|
+
* Optional props needed to lookup a mention query and display mentions
|
7629
|
+
* @beta
|
7630
|
+
*/
|
7631
|
+
mentionOptions?: MentionOptions;
|
7632
|
+
/**
|
7633
|
+
* Optional callback called when an inline image is clicked.
|
7634
|
+
* @beta
|
7635
|
+
*/
|
7636
|
+
onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
|
5784
7637
|
};
|
5785
7638
|
|
5786
7639
|
/**
|
@@ -5852,6 +7705,14 @@ export declare interface MessageThreadStrings {
|
|
5852
7705
|
editBoxSubmitButton: string;
|
5853
7706
|
/** String for action menu indicating there are more options */
|
5854
7707
|
actionMenuMoreOptions?: string;
|
7708
|
+
/** String for download file button in file card */
|
7709
|
+
downloadFile: string;
|
7710
|
+
/** String for policy violation message removal */
|
7711
|
+
blockedWarningText: string;
|
7712
|
+
/** String for policy violation message removal details link */
|
7713
|
+
blockedWarningLinkText: string;
|
7714
|
+
/** String for aria text in file attachment group*/
|
7715
|
+
fileCardGroupMessage: string;
|
5855
7716
|
}
|
5856
7717
|
|
5857
7718
|
/**
|
@@ -5879,6 +7740,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
5879
7740
|
/** Styles for system message container. */
|
5880
7741
|
systemMessageContainer?: ComponentSlotStyle;
|
5881
7742
|
/** Styles for blocked message container. */
|
7743
|
+
blockedMessageContainer?: ComponentSlotStyle;
|
5882
7744
|
/** Styles for message status indicator container. */
|
5883
7745
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
5884
7746
|
}
|
@@ -6036,16 +7898,41 @@ export declare interface MicrophoneButtonStrings {
|
|
6036
7898
|
}
|
6037
7899
|
|
6038
7900
|
/**
|
6039
|
-
* Styles for {@link MicrophoneButton}
|
6040
|
-
*
|
6041
|
-
* @public
|
7901
|
+
* Styles for {@link MicrophoneButton}
|
7902
|
+
*
|
7903
|
+
* @public
|
7904
|
+
*/
|
7905
|
+
export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
7906
|
+
/**
|
7907
|
+
* Styles for the {@link MicrophoneButton} menu.
|
7908
|
+
*/
|
7909
|
+
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
7910
|
+
}
|
7911
|
+
|
7912
|
+
/**
|
7913
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
7914
|
+
* by their browsers settings.
|
7915
|
+
*
|
7916
|
+
* @beta
|
7917
|
+
*/
|
7918
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
7919
|
+
|
7920
|
+
/**
|
7921
|
+
* @beta
|
7922
|
+
* Props for MicrophoneSitePermissions component.
|
7923
|
+
*/
|
7924
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
7925
|
+
/** Icon name for the microphone icon */
|
7926
|
+
microphoneIconName?: string;
|
7927
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
7928
|
+
strings?: MicrophoneSitePermissionsStrings;
|
7929
|
+
}
|
7930
|
+
|
7931
|
+
/**
|
7932
|
+
* @beta
|
7933
|
+
* Strings for MicrophoneSitePermissions component.
|
6042
7934
|
*/
|
6043
|
-
export declare
|
6044
|
-
/**
|
6045
|
-
* Styles for the {@link MicrophoneButton} menu.
|
6046
|
-
*/
|
6047
|
-
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
6048
|
-
}
|
7935
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
6049
7936
|
|
6050
7937
|
/**
|
6051
7938
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
@@ -6065,6 +7952,13 @@ export declare interface NetworkDiagnosticsState {
|
|
6065
7952
|
latest: LatestNetworkDiagnostics;
|
6066
7953
|
}
|
6067
7954
|
|
7955
|
+
/**
|
7956
|
+
* Callback function used to provide custom data to build profile for a user.
|
7957
|
+
*
|
7958
|
+
* @beta
|
7959
|
+
*/
|
7960
|
+
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
7961
|
+
|
6068
7962
|
/**
|
6069
7963
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
6070
7964
|
*
|
@@ -6123,6 +8017,13 @@ export declare interface OptionsDevice {
|
|
6123
8017
|
name: string;
|
6124
8018
|
}
|
6125
8019
|
|
8020
|
+
/**
|
8021
|
+
* Different modes and positions of the overflow gallery in the VideoGallery
|
8022
|
+
*
|
8023
|
+
* @beta
|
8024
|
+
*/
|
8025
|
+
export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight' | /* @conditional-compile-remove(gallery-layouts) */ 'HorizontalTop';
|
8026
|
+
|
6126
8027
|
/**
|
6127
8028
|
* A system message notifying that a participant was added to the chat thread.
|
6128
8029
|
*
|
@@ -6180,6 +8081,14 @@ export declare interface ParticipantItemProps {
|
|
6180
8081
|
onClick?: (props?: ParticipantItemProps) => void;
|
6181
8082
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6182
8083
|
showParticipantOverflowTooltip?: boolean;
|
8084
|
+
/**
|
8085
|
+
* Optional value to determine and display a participants connection status.
|
8086
|
+
* For example, `Connecting`, `Ringing` etc.
|
8087
|
+
* The actual text that is displayed is determined by the localized string
|
8088
|
+
* corresponding to the provided participant state.
|
8089
|
+
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8090
|
+
*/
|
8091
|
+
participantState?: ParticipantState;
|
6183
8092
|
/**
|
6184
8093
|
* Optional aria property that prefixes the ParticipantItems aria content
|
6185
8094
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -6205,6 +8114,10 @@ export declare interface ParticipantItemStrings {
|
|
6205
8114
|
mutedIconLabel: string;
|
6206
8115
|
/** placeholder text for participants who does not have a display name*/
|
6207
8116
|
displayNamePlaceholder?: string;
|
8117
|
+
/** String shown when `participantState` is `Ringing` */
|
8118
|
+
participantStateRinging?: string;
|
8119
|
+
/** String shown when `participantState` is `Hold` */
|
8120
|
+
participantStateHold?: string;
|
6208
8121
|
}
|
6209
8122
|
|
6210
8123
|
/**
|
@@ -6284,6 +8197,10 @@ export declare type ParticipantListProps = {
|
|
6284
8197
|
styles?: ParticipantListStyles;
|
6285
8198
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6286
8199
|
showParticipantOverflowTooltip?: boolean;
|
8200
|
+
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8201
|
+
totalParticipantCount?: number;
|
8202
|
+
/** Strings for the participant list */
|
8203
|
+
strings?: ParticipantListStrings;
|
6287
8204
|
/** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
|
6288
8205
|
participantAriaLabelledBy?: string;
|
6289
8206
|
};
|
@@ -6296,8 +8213,21 @@ export declare type ParticipantListProps = {
|
|
6296
8213
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6297
8214
|
participants: CallParticipantListParticipant[];
|
6298
8215
|
myUserId: string;
|
8216
|
+
totalParticipantCount?: number;
|
6299
8217
|
};
|
6300
8218
|
|
8219
|
+
/**
|
8220
|
+
* Strings for the {@link ParticipantList}.
|
8221
|
+
*
|
8222
|
+
* @beta
|
8223
|
+
*/
|
8224
|
+
export declare interface ParticipantListStrings {
|
8225
|
+
/**
|
8226
|
+
* String for rendering the count of participants not contained in the displayed participant list
|
8227
|
+
*/
|
8228
|
+
overflowParticipantCount?: string;
|
8229
|
+
}
|
8230
|
+
|
6301
8231
|
/**
|
6302
8232
|
* Styles for the {@link ParticipantList}.
|
6303
8233
|
*
|
@@ -6514,6 +8444,18 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
6514
8444
|
*/
|
6515
8445
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
6516
8446
|
|
8447
|
+
/**
|
8448
|
+
* The profile of a user.
|
8449
|
+
*
|
8450
|
+
* @beta
|
8451
|
+
*/
|
8452
|
+
export declare type Profile = {
|
8453
|
+
/**
|
8454
|
+
* Primary text to display, usually the name of the person.
|
8455
|
+
*/
|
8456
|
+
displayName?: string;
|
8457
|
+
};
|
8458
|
+
|
6517
8459
|
/**
|
6518
8460
|
* Raised hand state with order
|
6519
8461
|
*
|
@@ -6638,7 +8580,7 @@ export declare interface RemoteParticipantState {
|
|
6638
8580
|
/**
|
6639
8581
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
|
6640
8582
|
*/
|
6641
|
-
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind;
|
8583
|
+
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind | /* @conditional-compile-remove(communication-common-beta-v3) */ MicrosoftBotKind;
|
6642
8584
|
/**
|
6643
8585
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
|
6644
8586
|
*/
|
@@ -6666,6 +8608,10 @@ export declare interface RemoteParticipantState {
|
|
6666
8608
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
|
6667
8609
|
*/
|
6668
8610
|
isSpeaking: boolean;
|
8611
|
+
/**
|
8612
|
+
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
8613
|
+
*/
|
8614
|
+
role?: ParticipantRole;
|
6669
8615
|
/**
|
6670
8616
|
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
6671
8617
|
*/
|
@@ -6694,6 +8640,7 @@ export declare interface RemoteVideoStreamState {
|
|
6694
8640
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
6695
8641
|
* @beta
|
6696
8642
|
*/
|
8643
|
+
isReceiving: boolean;
|
6697
8644
|
/**
|
6698
8645
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
6699
8646
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -6793,6 +8740,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
6793
8740
|
*/
|
6794
8741
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
6795
8742
|
|
8743
|
+
/**
|
8744
|
+
* @beta
|
8745
|
+
* Error to be displayed to the user in an error bar above sendbox.
|
8746
|
+
*/
|
8747
|
+
export declare interface SendBoxErrorBarError {
|
8748
|
+
/** Error Message to be displayed */
|
8749
|
+
message: string;
|
8750
|
+
/**
|
8751
|
+
* Unix Timestamp. Preferred generation using `Date.now()`
|
8752
|
+
*/
|
8753
|
+
timestamp: number;
|
8754
|
+
}
|
8755
|
+
|
6796
8756
|
/**
|
6797
8757
|
* Props for {@link SendBox}.
|
6798
8758
|
*
|
@@ -6812,6 +8772,11 @@ export declare interface SendBoxProps {
|
|
6812
8772
|
* Optional override behavior on send button click
|
6813
8773
|
*/
|
6814
8774
|
onSendMessage?: (content: string) => Promise<void>;
|
8775
|
+
/**
|
8776
|
+
* Optional props needed to lookup suggestions in the mention scenario.
|
8777
|
+
* @beta
|
8778
|
+
*/
|
8779
|
+
mentionLookupOptions?: MentionLookupOptions;
|
6815
8780
|
/**
|
6816
8781
|
* Optional callback called when user is typing
|
6817
8782
|
*/
|
@@ -6848,6 +8813,25 @@ export declare interface SendBoxProps {
|
|
6848
8813
|
* When undefined nothing has focus on render
|
6849
8814
|
*/
|
6850
8815
|
autoFocus?: 'sendBoxTextField';
|
8816
|
+
/**
|
8817
|
+
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
8818
|
+
* vertically to accommodate the uploaded files. File uploads will
|
8819
|
+
* be rendered below the text area in sendBox.
|
8820
|
+
* @beta
|
8821
|
+
*/
|
8822
|
+
onRenderFileUploads?: () => JSX.Element;
|
8823
|
+
/**
|
8824
|
+
* Optional array of active file uploads where each object has attributes
|
8825
|
+
* of a file upload like name, progress, errorMessage etc.
|
8826
|
+
* @beta
|
8827
|
+
*/
|
8828
|
+
activeFileUploads?: ActiveFileUpload[];
|
8829
|
+
/**
|
8830
|
+
* Optional callback to remove the file upload before sending by clicking on
|
8831
|
+
* cancel icon.
|
8832
|
+
* @beta
|
8833
|
+
*/
|
8834
|
+
onCancelFileUpload?: (fileId: string) => void;
|
6851
8835
|
}
|
6852
8836
|
|
6853
8837
|
/**
|
@@ -6878,6 +8862,22 @@ export declare interface SendBoxStrings {
|
|
6878
8862
|
* Aria label for send message button
|
6879
8863
|
*/
|
6880
8864
|
sendButtonAriaLabel: string;
|
8865
|
+
/**
|
8866
|
+
* Error message indicating that all file uploads are not complete.
|
8867
|
+
*/
|
8868
|
+
fileUploadsPendingError: string;
|
8869
|
+
/**
|
8870
|
+
* Aria label to notify user when focus is on cancel file upload button.
|
8871
|
+
*/
|
8872
|
+
removeFile: string;
|
8873
|
+
/**
|
8874
|
+
* Aria label to notify user file uploading starts.
|
8875
|
+
*/
|
8876
|
+
uploading: string;
|
8877
|
+
/**
|
8878
|
+
* Aria label to notify user file is uploaded.
|
8879
|
+
*/
|
8880
|
+
uploadCompleted: string;
|
6881
8881
|
}
|
6882
8882
|
|
6883
8883
|
/**
|
@@ -6898,6 +8898,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
6898
8898
|
systemMessage?: IStyle;
|
6899
8899
|
}
|
6900
8900
|
|
8901
|
+
/**
|
8902
|
+
* @beta
|
8903
|
+
* Strings for SitePermissions component
|
8904
|
+
*/
|
8905
|
+
export declare type SitePermissionsStrings = {
|
8906
|
+
/**
|
8907
|
+
* Main text string.
|
8908
|
+
*/
|
8909
|
+
primaryText?: string;
|
8910
|
+
/**
|
8911
|
+
* Subtext string.
|
8912
|
+
*/
|
8913
|
+
secondaryText?: string;
|
8914
|
+
/**
|
8915
|
+
* More help link string.
|
8916
|
+
*/
|
8917
|
+
linkText?: string;
|
8918
|
+
/**
|
8919
|
+
* Primary button text string.
|
8920
|
+
*/
|
8921
|
+
primaryButtonText?: string;
|
8922
|
+
/**
|
8923
|
+
* Aria label describing the content of the container
|
8924
|
+
*/
|
8925
|
+
ariaLabel?: string;
|
8926
|
+
};
|
8927
|
+
|
8928
|
+
/**
|
8929
|
+
* Fluent styles for {@link SitePermissionsContainer}.
|
8930
|
+
*
|
8931
|
+
* @beta
|
8932
|
+
*/
|
8933
|
+
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
8934
|
+
/** Styles for the primary button. */
|
8935
|
+
primaryButton?: IButtonStyles;
|
8936
|
+
/** Styles for the help troubleshooting link text. */
|
8937
|
+
troubleshootingLink?: ILinkStyles;
|
8938
|
+
}
|
8939
|
+
|
6901
8940
|
/**
|
6902
8941
|
* @public
|
6903
8942
|
* spoken language strings for captions setting modal
|
@@ -7054,6 +9093,19 @@ export declare interface StatefulCallClient extends CallClient {
|
|
7054
9093
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
7055
9094
|
*/
|
7056
9095
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
9096
|
+
/** @conditional-compile-remove(one-to-n-calling) */
|
9097
|
+
/**
|
9098
|
+
* The CallAgent is used to handle calls.
|
9099
|
+
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
9100
|
+
* - The CallClient can only have one active CallAgent instance at a time.
|
9101
|
+
* - You can create a new CallClient instance to create a new CallAgent.
|
9102
|
+
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
9103
|
+
* createCallAgent() method again to create a new CallAgent.
|
9104
|
+
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
9105
|
+
* @param options - The CallAgentOptions for additional options like display name.
|
9106
|
+
* @public
|
9107
|
+
*/
|
9108
|
+
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
7057
9109
|
}
|
7058
9110
|
|
7059
9111
|
/**
|
@@ -7066,7 +9118,16 @@ export declare type StatefulCallClientArgs = {
|
|
7066
9118
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
7067
9119
|
* state. It is not used by StatefulCallClient.
|
7068
9120
|
*/
|
7069
|
-
userId: CommunicationUserIdentifier;
|
9121
|
+
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
9122
|
+
/**
|
9123
|
+
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
9124
|
+
* to start a PSTN call.
|
9125
|
+
*
|
9126
|
+
* example: +11234567
|
9127
|
+
*
|
9128
|
+
* This is not a cached value from the headless calling client.
|
9129
|
+
*/
|
9130
|
+
alternateCallerId?: string;
|
7070
9131
|
};
|
7071
9132
|
|
7072
9133
|
/**
|
@@ -7221,6 +9282,74 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
7221
9282
|
*/
|
7222
9283
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
7223
9284
|
|
9285
|
+
/**
|
9286
|
+
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
9287
|
+
*
|
9288
|
+
* @beta
|
9289
|
+
*/
|
9290
|
+
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
9291
|
+
/**
|
9292
|
+
* Join the call with microphone initially on/off.
|
9293
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
9294
|
+
* @param microphoneOn - Whether microphone is initially enabled
|
9295
|
+
*
|
9296
|
+
* @beta
|
9297
|
+
*/
|
9298
|
+
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
9299
|
+
/**
|
9300
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
9301
|
+
* true = turn on the device when joining call
|
9302
|
+
* false = turn off the device when joining call
|
9303
|
+
* 'keep'/undefined = retain devices' precall state
|
9304
|
+
*
|
9305
|
+
* @param options - param to set microphone/camera initially on/off.
|
9306
|
+
*
|
9307
|
+
* @public
|
9308
|
+
*/
|
9309
|
+
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
9310
|
+
/**
|
9311
|
+
* Start the call.
|
9312
|
+
*
|
9313
|
+
* @param participants - An array of participant ids to join
|
9314
|
+
*
|
9315
|
+
* @beta
|
9316
|
+
*/
|
9317
|
+
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
9318
|
+
/**
|
9319
|
+
* Start the call.
|
9320
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
9321
|
+
* @beta
|
9322
|
+
*/
|
9323
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
9324
|
+
}
|
9325
|
+
|
9326
|
+
/**
|
9327
|
+
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
9328
|
+
*
|
9329
|
+
* @beta
|
9330
|
+
*/
|
9331
|
+
export declare type TeamsCallAdapterArgs = {
|
9332
|
+
userId: MicrosoftTeamsUserIdentifier;
|
9333
|
+
credential: CommunicationTokenCredential;
|
9334
|
+
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
9335
|
+
/**
|
9336
|
+
* Optional parameters for the {@link TeamsCallAdapter} created
|
9337
|
+
*/
|
9338
|
+
options?: TeamsAdapterOptions;
|
9339
|
+
};
|
9340
|
+
|
9341
|
+
/**
|
9342
|
+
* Object containing all the teams call handlers required for calling components.
|
9343
|
+
*
|
9344
|
+
* Calling related components from this package are able to pick out relevant handlers from this object.
|
9345
|
+
* See {@link useHandlers} and {@link usePropsFor}.
|
9346
|
+
*
|
9347
|
+
* @beta
|
9348
|
+
*/
|
9349
|
+
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
9350
|
+
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9351
|
+
}
|
9352
|
+
|
7224
9353
|
/**
|
7225
9354
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
7226
9355
|
*
|
@@ -7266,6 +9395,27 @@ export declare interface TranscriptionCallFeature {
|
|
7266
9395
|
isTranscriptionActive: boolean;
|
7267
9396
|
}
|
7268
9397
|
|
9398
|
+
/**
|
9399
|
+
* Transfer feature state
|
9400
|
+
*
|
9401
|
+
* @beta
|
9402
|
+
*/
|
9403
|
+
export declare interface TransferFeature {
|
9404
|
+
/**
|
9405
|
+
* Accepted transfer requests
|
9406
|
+
*/
|
9407
|
+
acceptedTransfers: {
|
9408
|
+
[key: string]: AcceptedTransfer;
|
9409
|
+
};
|
9410
|
+
}
|
9411
|
+
|
9412
|
+
/**
|
9413
|
+
* Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
|
9414
|
+
*
|
9415
|
+
* @beta
|
9416
|
+
*/
|
9417
|
+
export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
|
9418
|
+
|
7269
9419
|
/**
|
7270
9420
|
* Component to notify local user when one or more participants in the chat thread are typing.
|
7271
9421
|
*
|
@@ -7400,11 +9550,117 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
7400
9550
|
typingString?: IStyle;
|
7401
9551
|
}
|
7402
9552
|
|
9553
|
+
/**
|
9554
|
+
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
9555
|
+
*
|
9556
|
+
* @beta
|
9557
|
+
*/
|
9558
|
+
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
9559
|
+
|
9560
|
+
/**
|
9561
|
+
* props for {@link UnsupportedBrowser} UI
|
9562
|
+
*
|
9563
|
+
* @beta
|
9564
|
+
*/
|
9565
|
+
export declare interface UnsupportedBrowserProps {
|
9566
|
+
/** Handler to perform an action when the help link is actioned */
|
9567
|
+
onTroubleshootingClick?: () => void;
|
9568
|
+
/** String overrides for the component */
|
9569
|
+
strings?: UnsupportedBrowserStrings;
|
9570
|
+
}
|
9571
|
+
|
9572
|
+
/**
|
9573
|
+
* Strings for UnsupportedBrowser component
|
9574
|
+
*
|
9575
|
+
* @beta
|
9576
|
+
*/
|
9577
|
+
export declare interface UnsupportedBrowserStrings {
|
9578
|
+
/** String for the primary text */
|
9579
|
+
primaryText: string;
|
9580
|
+
/** String for the secondary text */
|
9581
|
+
secondaryText: string;
|
9582
|
+
/** String to display in the text for the help link */
|
9583
|
+
moreHelpLinkText: string;
|
9584
|
+
}
|
9585
|
+
|
9586
|
+
/**
|
9587
|
+
* UI to display to the user that the browser version they are using is out of date
|
9588
|
+
* and not supported by Azure Communications Calling service.
|
9589
|
+
*
|
9590
|
+
* @beta
|
9591
|
+
*/
|
9592
|
+
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
9593
|
+
|
9594
|
+
/**
|
9595
|
+
* props for {@link UnsupportedBrowserVersion} UI
|
9596
|
+
*
|
9597
|
+
* @beta
|
9598
|
+
*/
|
9599
|
+
export declare interface UnsupportedBrowserVersionProps {
|
9600
|
+
/** Handler to perform an action when the help link is actioned */
|
9601
|
+
onTroubleshootingClick?: () => void;
|
9602
|
+
/** String overrides for the component */
|
9603
|
+
strings?: UnsupportedBrowserVersionStrings;
|
9604
|
+
/** Handler to allow user to continue into the call */
|
9605
|
+
onContinueAnywayClick?: () => void;
|
9606
|
+
}
|
9607
|
+
|
9608
|
+
/**
|
9609
|
+
* Strings for UnsupportedBrowser component
|
9610
|
+
*
|
9611
|
+
* @beta
|
9612
|
+
*/
|
9613
|
+
export declare interface UnsupportedBrowserVersionStrings {
|
9614
|
+
/** String for the primary text */
|
9615
|
+
primaryText: string;
|
9616
|
+
/** String for the secondary text */
|
9617
|
+
secondaryText: string;
|
9618
|
+
/** String to display in the text for the help link */
|
9619
|
+
moreHelpLinkText: string;
|
9620
|
+
/** String for continue without updating button */
|
9621
|
+
continueAnywayButtonText?: string;
|
9622
|
+
}
|
9623
|
+
|
9624
|
+
/**
|
9625
|
+
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
9626
|
+
*
|
9627
|
+
* @beta
|
9628
|
+
*/
|
9629
|
+
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
9630
|
+
|
9631
|
+
/**
|
9632
|
+
* Props for {@link UnsupportedOperatingSystem} UI
|
9633
|
+
*
|
9634
|
+
* @beta
|
9635
|
+
*/
|
9636
|
+
export declare interface UnsupportedOperatingSystemProps {
|
9637
|
+
/** Handler to perform a action when the help link is actioned */
|
9638
|
+
onTroubleshootingClick?: () => void;
|
9639
|
+
/** String overrides for the component */
|
9640
|
+
strings?: UnsupportedOperatingSystemStrings;
|
9641
|
+
}
|
9642
|
+
|
9643
|
+
/**
|
9644
|
+
* Strings for UnsupportedBrowser component
|
9645
|
+
*
|
9646
|
+
* @beta
|
9647
|
+
*/
|
9648
|
+
export declare interface UnsupportedOperatingSystemStrings {
|
9649
|
+
/** String for the primary text */
|
9650
|
+
primaryText: string;
|
9651
|
+
/** String for the secondary text */
|
9652
|
+
secondaryText: string;
|
9653
|
+
/** String to display in the text for the help link */
|
9654
|
+
moreHelpLinkText: string;
|
9655
|
+
}
|
9656
|
+
|
7403
9657
|
/**
|
7404
9658
|
* @public
|
7405
9659
|
* Callback function run when a message is updated.
|
7406
9660
|
*/
|
7407
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
9661
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
9662
|
+
attachedFilesMetadata?: FileMetadata[];
|
9663
|
+
}) => Promise<void>;
|
7408
9664
|
|
7409
9665
|
/**
|
7410
9666
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -7552,6 +9808,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
7552
9808
|
*/
|
7553
9809
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
7554
9810
|
|
9811
|
+
/**
|
9812
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
9813
|
+
*
|
9814
|
+
* Useful when implementing a custom component that utilizes the providers
|
9815
|
+
* exported from this library.
|
9816
|
+
*
|
9817
|
+
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
9818
|
+
*
|
9819
|
+
* @beta
|
9820
|
+
*/
|
9821
|
+
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
9822
|
+
|
9823
|
+
/**
|
9824
|
+
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
9825
|
+
*
|
9826
|
+
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
9827
|
+
* creation of the adapter internally.
|
9828
|
+
*
|
9829
|
+
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
9830
|
+
* as they are created. The adapter is only created when all arguments are defined.
|
9831
|
+
*
|
9832
|
+
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
9833
|
+
* See storybook for typical usage examples.
|
9834
|
+
*
|
9835
|
+
* @beta
|
9836
|
+
*/
|
9837
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
9838
|
+
|
9839
|
+
/**
|
9840
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
9841
|
+
*
|
9842
|
+
* Useful when implementing a custom component that utilizes the providers
|
9843
|
+
* exported from this library.
|
9844
|
+
*
|
9845
|
+
* @beta
|
9846
|
+
*/
|
9847
|
+
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
9848
|
+
|
7555
9849
|
/**
|
7556
9850
|
* React hook to access theme
|
7557
9851
|
*
|
@@ -7559,6 +9853,50 @@ export declare const useSelector: <ParamT extends Selector | undefined>(selector
|
|
7559
9853
|
*/
|
7560
9854
|
export declare const useTheme: () => Theme;
|
7561
9855
|
|
9856
|
+
/**
|
9857
|
+
* Styles for the control bar inside the VerticalGallery component
|
9858
|
+
*
|
9859
|
+
* @beta
|
9860
|
+
*/
|
9861
|
+
export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
|
9862
|
+
/**
|
9863
|
+
* styles for the next button in the VerticalGalleryControlBar
|
9864
|
+
*/
|
9865
|
+
nextButton?: IStyle;
|
9866
|
+
/**
|
9867
|
+
* Styles for the previous button in the VerticalGalleryControlBar
|
9868
|
+
*/
|
9869
|
+
previousButton?: IStyle;
|
9870
|
+
/**
|
9871
|
+
* Styles for the counter in the VerticalGalleryControlBar
|
9872
|
+
*/
|
9873
|
+
counter?: IStyle;
|
9874
|
+
}
|
9875
|
+
|
9876
|
+
/**
|
9877
|
+
* Strings for localization of the vertical gallery.
|
9878
|
+
*
|
9879
|
+
* @beta
|
9880
|
+
*/
|
9881
|
+
export declare interface VerticalGalleryStrings {
|
9882
|
+
/** Aria label for the left page navigation button */
|
9883
|
+
leftNavButtonAriaLabel?: string;
|
9884
|
+
/** Aria label for the right page navigation button */
|
9885
|
+
rightNavButtonAriaLabel?: string;
|
9886
|
+
}
|
9887
|
+
|
9888
|
+
/**
|
9889
|
+
* Styles for the VerticalGallery component
|
9890
|
+
*
|
9891
|
+
* @beta
|
9892
|
+
*/
|
9893
|
+
export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
9894
|
+
/** Styles for each video tile in the vertical gallery */
|
9895
|
+
children?: IStyle;
|
9896
|
+
/** Styles for the verticalGallery control bar */
|
9897
|
+
controlBar?: VerticalGalleryControlBarStyles;
|
9898
|
+
}
|
9899
|
+
|
7562
9900
|
/**
|
7563
9901
|
* Contains the attibutes of the blur video background effect
|
7564
9902
|
*
|
@@ -7647,7 +9985,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
7647
9985
|
/**
|
7648
9986
|
* @public
|
7649
9987
|
*/
|
7650
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo';
|
9988
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
|
7651
9989
|
|
7652
9990
|
/**
|
7653
9991
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -7764,6 +10102,18 @@ export declare interface VideoGalleryProps {
|
|
7764
10102
|
* @defaultValue \{ kind: 'contextual' \}
|
7765
10103
|
*/
|
7766
10104
|
remoteVideoTileMenu?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
|
10105
|
+
/**
|
10106
|
+
* Determines the layout of the overflowGallery inside the VideoGallery.
|
10107
|
+
* @defaultValue 'HorizontalBottom'
|
10108
|
+
*/
|
10109
|
+
overflowGalleryPosition?: OverflowGalleryPosition;
|
10110
|
+
/**
|
10111
|
+
* Determines the aspect ratio of local video tile in the video gallery.
|
10112
|
+
* @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
|
10113
|
+
* 16:9 (landscape) aspect ratios.
|
10114
|
+
* @defaultValue 'followDeviceOrientation'
|
10115
|
+
*/
|
10116
|
+
localVideoTileSize?: LocalVideoTileSize;
|
7767
10117
|
}
|
7768
10118
|
|
7769
10119
|
/**
|
@@ -7776,6 +10126,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
7776
10126
|
isSpeaking?: boolean;
|
7777
10127
|
/** Video stream of shared screen */
|
7778
10128
|
screenShareStream?: VideoGalleryStream;
|
10129
|
+
/**
|
10130
|
+
* @beta
|
10131
|
+
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
10132
|
+
*/
|
10133
|
+
state?: ParticipantState;
|
7779
10134
|
/** Whether participant is raised a hand */
|
7780
10135
|
raisedHand?: RaisedHand;
|
7781
10136
|
}
|
@@ -7867,6 +10222,8 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
|
|
7867
10222
|
horizontalGallery?: HorizontalGalleryStyles;
|
7868
10223
|
/** Styles for the local video */
|
7869
10224
|
localVideo?: IStyle;
|
10225
|
+
/** Styles for the vertical gallery */
|
10226
|
+
verticalGallery?: VerticalGalleryStyles;
|
7870
10227
|
}
|
7871
10228
|
|
7872
10229
|
/**
|
@@ -8013,6 +10370,12 @@ export declare interface VideoTileProps {
|
|
8013
10370
|
isSpeaking?: boolean;
|
8014
10371
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
8015
10372
|
raisedHand?: RaisedHand;
|
10373
|
+
/**
|
10374
|
+
* The call connection state of the participant.
|
10375
|
+
* For example, `Hold` means the participant is on hold.
|
10376
|
+
*/
|
10377
|
+
participantState?: ParticipantState;
|
10378
|
+
strings?: VideoTileStrings;
|
8016
10379
|
/**
|
8017
10380
|
* Display custom menu items in the VideoTile's contextual menu.
|
8018
10381
|
* Uses Fluent UI ContextualMenu.
|
@@ -8025,6 +10388,15 @@ export declare interface VideoTileProps {
|
|
8025
10388
|
onLongTouch?: () => void;
|
8026
10389
|
}
|
8027
10390
|
|
10391
|
+
/**
|
10392
|
+
* Strings of {@link VideoTile} that can be overridden.
|
10393
|
+
* @beta
|
10394
|
+
*/
|
10395
|
+
export declare interface VideoTileStrings {
|
10396
|
+
participantStateRinging: string;
|
10397
|
+
participantStateHold: string;
|
10398
|
+
}
|
10399
|
+
|
8028
10400
|
/**
|
8029
10401
|
* Fluent styles for {@link VideoTile}.
|
8030
10402
|
*
|