@azure/communication-react 1.13.0 → 1.14.0-alpha-202402290012
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 +2831 -61
- package/dist/dist-cjs/communication-react/index.js +19482 -10517
- 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.d.ts +1 -0
- 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 +18 -6
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +25 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +27 -0
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +69 -11
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +5 -5
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +13 -6
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +29 -56
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +21 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +127 -47
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +11 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +15 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +19 -3
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +45 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +87 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +6 -2
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +24 -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 +8 -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 +92 -13
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
- package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +23 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +20 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +50 -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 +10 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +79 -16
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +2 -0
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +88 -11
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +66 -71
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +125 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +14 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +157 -16
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +106 -85
- 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 +4 -0
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +28 -4
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +24 -12
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
- package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.d.ts +17 -0
- package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js +42 -0
- package/dist/dist-esm/calling-stateful-client/src/PPTLiveSubscriber.js.map +1 -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/ReactionSubscriber.d.ts +16 -0
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
- package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.d.ts +16 -0
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +30 -0
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +26 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +32 -24
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
- package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +91 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
- package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
- package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +5 -0
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
- package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +15 -15
- package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +5 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -0
- 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 +210 -12
- 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.d.ts +8 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +82 -10
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +11 -12
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +41 -0
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +174 -0
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -0
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts +20 -0
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +74 -68
- 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 +7 -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 +2 -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 +32 -0
- package/dist/dist-esm/communication-react/src/index.js +14 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +1 -0
- package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/Announcer.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +8 -7
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +46 -30
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +20 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +16 -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 +7 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +65 -32
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +23 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +87 -19
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +11 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +30 -24
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +35 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +97 -21
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.d.ts +3 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +84 -24
- package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.d.ts +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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
- package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js +12 -48
- package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +45 -51
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
- package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +5 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +31 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +39 -16
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
- package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
- package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
- package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +58 -0
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +53 -0
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/InputBoxButton.js +3 -10
- package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +23 -7
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
- package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +143 -12
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +126 -0
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIcon.d.ts +19 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +20 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +4 -77
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.d.ts +42 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +73 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +47 -2
- package/dist/dist-esm/react-components/src/components/MessageThread.js +125 -46
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +1 -0
- 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 +16 -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 +16 -0
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +71 -32
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +24 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +13 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.d.ts +12 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js +86 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +88 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +121 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.d.ts +16 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js +62 -0
- package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +28 -0
- package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +81 -0
- package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RaiseHandButton.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/RaiseHandButton.js +6 -12
- package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +54 -0
- package/dist/dist-esm/react-components/src/components/ReactionButton.js +89 -0
- package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +8 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +58 -15
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ScreenShareButton.d.ts +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 +42 -0
- package/dist/dist-esm/react-components/src/components/SendBox.js +71 -12
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +1 -0
- 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.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +18 -0
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
- package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +64 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +55 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +18 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +57 -0
- package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
- package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
- package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +61 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +132 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +22 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +55 -0
- package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/SystemMessage.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
- package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +24 -0
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +595 -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.d.ts +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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -34
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +6 -12
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +48 -20
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +14 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +68 -27
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +132 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +5 -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 +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +19 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +1 -0
- 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 +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +59 -20
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +13 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +82 -44
- 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 +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +84 -30
- 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 +44 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +179 -30
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +23 -0
- package/dist/dist-esm/react-components/src/components/VideoTile.js +96 -57
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.d.ts +1 -0
- 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 +28 -0
- package/dist/dist-esm/react-components/src/components/index.js +22 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +2 -6
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.d.ts +72 -0
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +193 -0
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/InputBoxButton.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +26 -0
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +69 -0
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +1 -2
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.d.ts +24 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js +76 -0
- package/dist/dist-esm/react-components/src/components/styles/ReactionButton.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +18 -0
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +128 -0
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +5 -12
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +32 -0
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
- package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +11 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +37 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
- package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +9 -0
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +15 -0
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
- package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
- package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
- package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.d.ts +8 -1
- package/dist/dist-esm/react-components/src/components/utils.js +21 -10
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
- package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
- package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +4 -0
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +5 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +7 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +69 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +21 -4
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +2 -2
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/utils.js +5 -1
- package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.d.ts +2 -0
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +5 -6
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
- package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +28 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +149 -11
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +6 -0
- package/dist/dist-esm/react-components/src/theming/themes.js +10 -0
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.d.ts +4 -4
- package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +21 -0
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +34 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +9 -0
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +34 -0
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ReactionTypes.d.ts +44 -1
- package/dist/dist-esm/react-components/src/types/ReactionTypes.js +2 -1
- package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +22 -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 +158 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +75 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +206 -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 +95 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +350 -62
- 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 +141 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +11 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +16 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +120 -37
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +84 -51
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +48 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.d.ts +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 +3 -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.d.ts +1 -0
- 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 +3 -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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +35 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +63 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +26 -30
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +86 -39
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- 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/Prompt.d.ts +73 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js +41 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/Prompt.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +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.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +97 -8
- 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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +14 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.d.ts +16 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Reaction.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +12 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +172 -110
- 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.d.ts +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +58 -18
- 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 +16 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +142 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +5 -13
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +24 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +34 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +15 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +1 -0
- 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/SurveyPage.d.ts +56 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +29 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +27 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +23 -23
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js +13 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitySelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +6 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -1
- 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 +11 -13
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +14 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +124 -21
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +16 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +139 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +147 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +119 -24
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +36 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +166 -5
- 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 +83 -2
- 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 +15 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +56 -2
- 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 +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +41 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +30 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +15 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +21 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +4 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +163 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +16 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +110 -31
- 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 +31 -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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +7 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +15 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +27 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +6 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -10
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +12 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +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.d.ts +1 -0
- 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.d.ts +1 -0
- 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 +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +96 -36
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +35 -33
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +125 -59
- 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/DtmfDialerButton.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +95 -105
- 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 +2 -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/ExitSpotlightButton.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +16 -0
- package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +22 -14
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/MoreButton.d.ts +1 -0
- 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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +14 -12
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +28 -5
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
- package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Survey.d.ts +20 -0
- package/dist/dist-esm/react-composites/src/composites/common/Survey.js +129 -0
- package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.d.ts +13 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js +44 -0
- package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +23 -0
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +44 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +19 -3
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.d.ts +10 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js +36 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/Survey.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +26 -4
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
- package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
- package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +9 -9
@@ -15,6 +15,9 @@
|
|
15
15
|
* @packageDocumentation
|
16
16
|
*/
|
17
17
|
|
18
|
+
/// <reference types="react" />
|
19
|
+
|
20
|
+
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
18
21
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
19
22
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
20
23
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
@@ -27,7 +30,10 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
27
30
|
import { CallDirection } from '@azure/communication-calling';
|
28
31
|
import { CallEndReason } from '@azure/communication-calling';
|
29
32
|
import { CallerInfo } from '@azure/communication-calling';
|
33
|
+
import { CallKind } from '@azure/communication-calling';
|
30
34
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
35
|
+
import { CallSurvey } from '@azure/communication-calling';
|
36
|
+
import { CallSurveyResponse } from '@azure/communication-calling';
|
31
37
|
import { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
32
38
|
import { CaptionsResultType } from '@azure/communication-calling';
|
33
39
|
import { ChatClient } from '@azure/communication-chat';
|
@@ -46,6 +52,7 @@ import { DeviceAccess } from '@azure/communication-calling';
|
|
46
52
|
import { DeviceManager } from '@azure/communication-calling';
|
47
53
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
48
54
|
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
55
|
+
import { EnvironmentInfo } from '@azure/communication-calling';
|
49
56
|
import { GroupCallLocator } from '@azure/communication-calling';
|
50
57
|
import { IButtonProps } from '@fluentui/react';
|
51
58
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -53,7 +60,9 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
53
60
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
54
61
|
import { IContextualMenuProps } from '@fluentui/react';
|
55
62
|
import { IContextualMenuStyles } from '@fluentui/react';
|
63
|
+
import { ILinkStyles } from '@fluentui/react';
|
56
64
|
import { IMessageBarProps } from '@fluentui/react';
|
65
|
+
import { IncomingCall } from '@azure/communication-calling';
|
57
66
|
import { IPersonaStyleProps } from '@fluentui/react';
|
58
67
|
import { IPersonaStyles } from '@fluentui/react';
|
59
68
|
import { IRawStyle } from '@fluentui/react';
|
@@ -67,6 +76,7 @@ import { LocalVideoStream } from '@azure/communication-calling';
|
|
67
76
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
68
77
|
import { MediaStreamType } from '@azure/communication-calling';
|
69
78
|
import { MicrosoftTeamsAppIdentifier } from '@azure/communication-common';
|
79
|
+
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
70
80
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
71
81
|
import { PartialTheme } from '@fluentui/react';
|
72
82
|
import { ParticipantCapabilities } from '@azure/communication-calling';
|
@@ -75,15 +85,21 @@ import { PermissionConstraints } from '@azure/communication-calling';
|
|
75
85
|
import { PersonaInitialsColor } from '@fluentui/react';
|
76
86
|
import { PersonaPresence } from '@fluentui/react';
|
77
87
|
import { PersonaSize } from '@fluentui/react';
|
88
|
+
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
78
89
|
import { PropertyChangedEvent } from '@azure/communication-calling';
|
79
90
|
import { default as React_2 } from 'react';
|
91
|
+
import { Reaction as Reaction_2 } from '@azure/communication-calling';
|
92
|
+
import { ReactionMessage } from '@azure/communication-calling';
|
80
93
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
81
94
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
82
95
|
import { RoomCallLocator } from '@azure/communication-calling';
|
83
96
|
import { ScalingMode } from '@azure/communication-calling';
|
84
97
|
import { SendMessageOptions } from '@azure/communication-chat';
|
98
|
+
import { SpotlightedParticipant } from '@azure/communication-calling';
|
85
99
|
import { StartCallOptions } from '@azure/communication-calling';
|
86
100
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
101
|
+
import { TeamsCall } from '@azure/communication-calling';
|
102
|
+
import { TeamsCallAgent } from '@azure/communication-calling';
|
87
103
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
88
104
|
import { Theme } from '@fluentui/react';
|
89
105
|
import { TransferEventArgs } from '@azure/communication-calling';
|
@@ -129,6 +145,38 @@ export declare interface ActiveErrorMessage {
|
|
129
145
|
timestamp?: Date;
|
130
146
|
}
|
131
147
|
|
148
|
+
/**
|
149
|
+
* Attributes required for SendBox to show file uploads like name, progress etc.
|
150
|
+
* @beta
|
151
|
+
*/
|
152
|
+
export declare interface ActiveFileUpload {
|
153
|
+
/**
|
154
|
+
* Unique identifier for the file upload.
|
155
|
+
*/
|
156
|
+
id: string;
|
157
|
+
/**
|
158
|
+
* File name to be rendered for uploaded file.
|
159
|
+
*/
|
160
|
+
filename: string;
|
161
|
+
/**
|
162
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
163
|
+
* This is unrelated to the `uploadComplete` property.
|
164
|
+
* It is only used to show the progress of the upload.
|
165
|
+
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
166
|
+
* property to true to mark the upload as complete.
|
167
|
+
*/
|
168
|
+
progress: number;
|
169
|
+
/**
|
170
|
+
* Error to be displayed to the user if the upload fails.
|
171
|
+
*/
|
172
|
+
error?: SendBoxErrorBarError;
|
173
|
+
/**
|
174
|
+
* `true` means that the upload is completed.
|
175
|
+
* This is independent of the upload `progress`.
|
176
|
+
*/
|
177
|
+
uploadComplete?: boolean;
|
178
|
+
}
|
179
|
+
|
132
180
|
/**
|
133
181
|
* Error reported via error events and stored in adapter state.
|
134
182
|
*
|
@@ -195,6 +243,12 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
195
243
|
*/
|
196
244
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
197
245
|
|
246
|
+
/**
|
247
|
+
* Metadata containing information about the uploaded file.
|
248
|
+
* @beta
|
249
|
+
*/
|
250
|
+
export declare type AttachmentMetadata = FileMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ InlineImageMetadata;
|
251
|
+
|
198
252
|
/**
|
199
253
|
* Custom data attributes for displaying avatar for a user.
|
200
254
|
*
|
@@ -224,6 +278,11 @@ export declare type AvatarPersonaData = {
|
|
224
278
|
* @defaultvalue `white`
|
225
279
|
*/
|
226
280
|
initialsTextColor?: string;
|
281
|
+
/**
|
282
|
+
* If true, show the special coin for unknown persona.
|
283
|
+
* It has '?' in place of initials, with static font and background colors
|
284
|
+
*/
|
285
|
+
showUnknownPersonaCoin?: boolean;
|
227
286
|
};
|
228
287
|
|
229
288
|
/**
|
@@ -245,6 +304,11 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
245
304
|
displayName: string;
|
246
305
|
credential: CommunicationTokenCredential;
|
247
306
|
locator: CallAdapterLocator;
|
307
|
+
/**
|
308
|
+
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
309
|
+
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
310
|
+
*/
|
311
|
+
alternateCallerId?: string;
|
248
312
|
/**
|
249
313
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
250
314
|
*/
|
@@ -269,6 +333,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
269
333
|
displayName: string;
|
270
334
|
credential: CommunicationTokenCredential;
|
271
335
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
336
|
+
alternateCallerId?: string;
|
272
337
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
273
338
|
};
|
274
339
|
|
@@ -313,6 +378,11 @@ export declare type AzureCommunicationOutboundCallAdapterArgs = {
|
|
313
378
|
displayName: string;
|
314
379
|
credential: CommunicationTokenCredential;
|
315
380
|
targetCallees: StartCallIdentifier[];
|
381
|
+
/**
|
382
|
+
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
383
|
+
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
384
|
+
*/
|
385
|
+
alternateCallerId?: string;
|
316
386
|
/**
|
317
387
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
318
388
|
*/
|
@@ -374,6 +444,156 @@ export declare interface BaseCustomStyles {
|
|
374
444
|
root?: IStyle;
|
375
445
|
}
|
376
446
|
|
447
|
+
/**
|
448
|
+
* Content blocked message type.
|
449
|
+
*
|
450
|
+
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
451
|
+
*
|
452
|
+
* @beta
|
453
|
+
*/
|
454
|
+
export declare interface BlockedMessage extends MessageCommon {
|
455
|
+
messageType: 'blocked';
|
456
|
+
warningText?: string;
|
457
|
+
linkText?: string;
|
458
|
+
link?: string;
|
459
|
+
deletedOn?: Date;
|
460
|
+
senderId?: string;
|
461
|
+
senderDisplayName?: string;
|
462
|
+
status?: MessageStatus;
|
463
|
+
attached?: MessageAttachedStatus;
|
464
|
+
mine?: boolean;
|
465
|
+
}
|
466
|
+
|
467
|
+
/**
|
468
|
+
* @beta
|
469
|
+
* Props for BrowserPermissionDeniedIOS component.
|
470
|
+
*/
|
471
|
+
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
472
|
+
/**
|
473
|
+
* Localization strings for BrowserPermissionDeniedIOS component.
|
474
|
+
*/
|
475
|
+
strings?: BrowserPermissionDeniedIOSStrings;
|
476
|
+
/**
|
477
|
+
* Link to image source.
|
478
|
+
*
|
479
|
+
* Image is inserted into the top of the component.
|
480
|
+
*/
|
481
|
+
imageSource?: string;
|
482
|
+
}
|
483
|
+
|
484
|
+
/**
|
485
|
+
* @beta
|
486
|
+
* Strings for BrowserPermissionDeniedIOS component
|
487
|
+
*/
|
488
|
+
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
489
|
+
/**
|
490
|
+
* Image alt text
|
491
|
+
*/
|
492
|
+
imageAltText: string;
|
493
|
+
/**
|
494
|
+
* Main text string.
|
495
|
+
*/
|
496
|
+
primaryText: string;
|
497
|
+
/**
|
498
|
+
* Subtext string.
|
499
|
+
*/
|
500
|
+
secondaryText: string;
|
501
|
+
/**
|
502
|
+
* Step 1 string
|
503
|
+
*/
|
504
|
+
step1Text: string;
|
505
|
+
/**
|
506
|
+
* Step 1 digit string
|
507
|
+
*/
|
508
|
+
step1DigitText: string;
|
509
|
+
/**
|
510
|
+
* Step 2 string
|
511
|
+
*/
|
512
|
+
step2Text: string;
|
513
|
+
/**
|
514
|
+
* Step 2 digit string
|
515
|
+
*/
|
516
|
+
step2DigitText: string;
|
517
|
+
/**
|
518
|
+
* Step 3 string
|
519
|
+
*/
|
520
|
+
step3Text: string;
|
521
|
+
/**
|
522
|
+
* Step 3 digit string
|
523
|
+
*/
|
524
|
+
step3DigitText: string;
|
525
|
+
/**
|
526
|
+
* Step 4 string
|
527
|
+
*/
|
528
|
+
step4Text: string;
|
529
|
+
/**
|
530
|
+
* Step 4 digit string
|
531
|
+
*/
|
532
|
+
step4DigitText: string;
|
533
|
+
}
|
534
|
+
|
535
|
+
/**
|
536
|
+
* @beta
|
537
|
+
* Props for BrowserPermissionDenied component.
|
538
|
+
*/
|
539
|
+
export declare interface BrowserPermissionDeniedProps {
|
540
|
+
/**
|
541
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
542
|
+
*/
|
543
|
+
onTroubleshootingClick?: () => void;
|
544
|
+
/**
|
545
|
+
* Action to be taken by the try again primary button.
|
546
|
+
*/
|
547
|
+
onTryAgainClick?: () => void;
|
548
|
+
/**
|
549
|
+
* Localization strings for BrowserPermissionDenied component.
|
550
|
+
*/
|
551
|
+
strings?: BrowserPermissionDeniedStrings;
|
552
|
+
/**
|
553
|
+
* Allows users to pass in an object contains custom CSS styles.
|
554
|
+
* @Example
|
555
|
+
* ```
|
556
|
+
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
557
|
+
* ```
|
558
|
+
*/
|
559
|
+
styles?: BrowserPermissionDeniedStyles;
|
560
|
+
}
|
561
|
+
|
562
|
+
/**
|
563
|
+
* @beta
|
564
|
+
* Strings for BrowserPermissionDenied component
|
565
|
+
*/
|
566
|
+
export declare interface BrowserPermissionDeniedStrings {
|
567
|
+
/**
|
568
|
+
* Main button text string.
|
569
|
+
*/
|
570
|
+
primaryButtonText: string;
|
571
|
+
/**
|
572
|
+
* Main text string.
|
573
|
+
*/
|
574
|
+
primaryText: string;
|
575
|
+
/**
|
576
|
+
* Subtext string.
|
577
|
+
*/
|
578
|
+
secondaryText: string;
|
579
|
+
/**
|
580
|
+
* More help link string.
|
581
|
+
*/
|
582
|
+
linkText: string;
|
583
|
+
}
|
584
|
+
|
585
|
+
/**
|
586
|
+
* Fluent styles for {@link BrowserPermissionDenied}.
|
587
|
+
*
|
588
|
+
* @beta
|
589
|
+
*/
|
590
|
+
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
591
|
+
/** Styles for the primary button. */
|
592
|
+
primaryButton?: IButtonStyles;
|
593
|
+
/** Styles for the help troubleshooting link text. */
|
594
|
+
troubleshootingLink?: ILinkStyles;
|
595
|
+
}
|
596
|
+
|
377
597
|
/**
|
378
598
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
379
599
|
*
|
@@ -457,6 +677,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
457
677
|
* @public
|
458
678
|
*/
|
459
679
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
680
|
+
/**
|
681
|
+
* Start the call.
|
682
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
683
|
+
* @public
|
684
|
+
*/
|
685
|
+
startCall(participants: StartCallIdentifier[], options?: StartCallOptions): Call | undefined;
|
460
686
|
}
|
461
687
|
|
462
688
|
/**
|
@@ -519,6 +745,12 @@ export declare interface CallAdapterCallOperations {
|
|
519
745
|
* @public
|
520
746
|
*/
|
521
747
|
lowerHand(): Promise<void>;
|
748
|
+
/**
|
749
|
+
* Send reaction emoji
|
750
|
+
*
|
751
|
+
* @beta
|
752
|
+
*/
|
753
|
+
onReactionClick(reaction: Reaction_2): Promise<void>;
|
522
754
|
/**
|
523
755
|
* Stop sharing the screen
|
524
756
|
*
|
@@ -533,6 +765,12 @@ export declare interface CallAdapterCallOperations {
|
|
533
765
|
* @public
|
534
766
|
*/
|
535
767
|
removeParticipant(userId: string): Promise<void>;
|
768
|
+
/**
|
769
|
+
* Remove a participant from the call.
|
770
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
771
|
+
* @beta
|
772
|
+
*/
|
773
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
536
774
|
/**
|
537
775
|
* Create the html view for a stream.
|
538
776
|
*
|
@@ -584,12 +822,35 @@ export declare interface CallAdapterCallOperations {
|
|
584
822
|
* @public
|
585
823
|
*/
|
586
824
|
disposeLocalVideoStreamView(): Promise<void>;
|
825
|
+
/**
|
826
|
+
* Holds the call.
|
827
|
+
*
|
828
|
+
* @beta
|
829
|
+
*/
|
830
|
+
holdCall(): Promise<void>;
|
831
|
+
/**
|
832
|
+
* Resumes the call from a `LocalHold` state.
|
833
|
+
*
|
834
|
+
* @beta
|
835
|
+
*/
|
836
|
+
resumeCall(): Promise<void>;
|
837
|
+
/**
|
838
|
+
* Add a participant to the call.
|
839
|
+
*
|
840
|
+
* @beta
|
841
|
+
*/
|
842
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
843
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
587
844
|
/**
|
588
845
|
* send dtmf tone to another participant in a 1:1 PSTN call
|
589
846
|
*
|
590
847
|
* @public
|
591
848
|
*/
|
592
849
|
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
850
|
+
/**
|
851
|
+
* Continues into a call when the browser version is not supported.
|
852
|
+
*/
|
853
|
+
allowUnsupportedBrowserVersion(): void;
|
593
854
|
/**
|
594
855
|
* Function to Start captions
|
595
856
|
* @param options - options for start captions
|
@@ -635,6 +896,20 @@ export declare interface CallAdapterCallOperations {
|
|
635
896
|
* @public
|
636
897
|
*/
|
637
898
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
899
|
+
/**
|
900
|
+
* Send the end of call survey result
|
901
|
+
*
|
902
|
+
* @beta
|
903
|
+
*/
|
904
|
+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
905
|
+
/**
|
906
|
+
* Start spotlight
|
907
|
+
*/
|
908
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
909
|
+
/**
|
910
|
+
* Stop spotlight
|
911
|
+
*/
|
912
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
638
913
|
}
|
639
914
|
|
640
915
|
/**
|
@@ -662,6 +937,14 @@ export declare type CallAdapterClientState = {
|
|
662
937
|
* Latest error encountered for each operation performed via the adapter.
|
663
938
|
*/
|
664
939
|
latestErrors: AdapterErrors;
|
940
|
+
/**
|
941
|
+
* Azure communications Phone number to make PSTN calls with.
|
942
|
+
*/
|
943
|
+
alternateCallerId?: string;
|
944
|
+
/**
|
945
|
+
* Environment information about system the adapter is made on
|
946
|
+
*/
|
947
|
+
environmentInfo?: EnvironmentInfo;
|
665
948
|
/**
|
666
949
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
667
950
|
* control bar with the CallComposite.
|
@@ -683,10 +966,19 @@ export declare type CallAdapterClientState = {
|
|
683
966
|
* Call from transfer request accepted by local user
|
684
967
|
*/
|
685
968
|
acceptedTransferCallState?: CallState;
|
969
|
+
/**
|
970
|
+
* Hide attendee names in teams meeting
|
971
|
+
*/
|
972
|
+
hideAttendeeNames?: boolean;
|
686
973
|
/**
|
687
974
|
* State to track the sounds to be used in the call.
|
688
975
|
*/
|
689
976
|
sounds?: CallingSounds;
|
977
|
+
/**
|
978
|
+
* State to track the reactions to be used.
|
979
|
+
* @beta
|
980
|
+
*/
|
981
|
+
reactions?: ReactionResources;
|
690
982
|
};
|
691
983
|
|
692
984
|
/**
|
@@ -771,7 +1063,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
771
1063
|
*
|
772
1064
|
* @public
|
773
1065
|
*/
|
774
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator;
|
1066
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
775
1067
|
|
776
1068
|
/**
|
777
1069
|
* {@link CommonCallAdapter} state.
|
@@ -876,6 +1168,10 @@ export declare interface CallAdapterSubscribers {
|
|
876
1168
|
* Subscribe function for 'roleChanged' event.
|
877
1169
|
*/
|
878
1170
|
on(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
1171
|
+
/**
|
1172
|
+
* Subscribe function for 'spotlightChanged' event.
|
1173
|
+
*/
|
1174
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
879
1175
|
/**
|
880
1176
|
* Unsubscribe function for 'participantsJoined' event.
|
881
1177
|
*/
|
@@ -952,6 +1248,10 @@ export declare interface CallAdapterSubscribers {
|
|
952
1248
|
* Unsubscribe function for 'roleChanged' event.
|
953
1249
|
*/
|
954
1250
|
off(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
1251
|
+
/**
|
1252
|
+
* Subscribe function for 'spotlightChanged' event.
|
1253
|
+
*/
|
1254
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
955
1255
|
}
|
956
1256
|
|
957
1257
|
/**
|
@@ -962,6 +1262,7 @@ export declare interface CallAdapterSubscribers {
|
|
962
1262
|
export declare type CallAdapterUiState = {
|
963
1263
|
isLocalPreviewMicrophoneEnabled: boolean;
|
964
1264
|
page: CallCompositePage;
|
1265
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
965
1266
|
};
|
966
1267
|
|
967
1268
|
/**
|
@@ -980,7 +1281,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
980
1281
|
*/
|
981
1282
|
export declare interface CallAgentProviderProps {
|
982
1283
|
children: React_2.ReactNode;
|
983
|
-
callAgent?: CallAgent;
|
1284
|
+
callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
984
1285
|
}
|
985
1286
|
|
986
1287
|
/**
|
@@ -1005,7 +1306,7 @@ export declare interface CallAgentState {
|
|
1005
1306
|
*/
|
1006
1307
|
export declare interface CallAndChatLocator {
|
1007
1308
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1008
|
-
callLocator: GroupCallLocator;
|
1309
|
+
callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
|
1009
1310
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1010
1311
|
chatThreadId: string;
|
1011
1312
|
}
|
@@ -1092,6 +1393,16 @@ export declare interface CallClientState {
|
|
1092
1393
|
* See documentation of {@Link CallErrors} for details.
|
1093
1394
|
*/
|
1094
1395
|
latestErrors: CallErrors;
|
1396
|
+
/**
|
1397
|
+
* A phone number in E.164 format that will be used to represent callers identity.
|
1398
|
+
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1399
|
+
* be used as the caller id in the PSTN call.
|
1400
|
+
*/
|
1401
|
+
alternateCallerId?: string;
|
1402
|
+
/**
|
1403
|
+
* state to track the environment that the stateful client was made in is supported
|
1404
|
+
*/
|
1405
|
+
environmentInfo?: EnvironmentInfo;
|
1095
1406
|
}
|
1096
1407
|
|
1097
1408
|
/**
|
@@ -1125,8 +1436,11 @@ export declare type CallCompositeIcons = {
|
|
1125
1436
|
ControlButtonMicProhibited?: JSX.Element;
|
1126
1437
|
ControlButtonRaiseHand?: JSX.Element;
|
1127
1438
|
ControlButtonLowerHand?: JSX.Element;
|
1439
|
+
ControlButtonExitSpotlight?: JSX.Element;
|
1128
1440
|
RaiseHandContextualMenuItem?: JSX.Element;
|
1441
|
+
ReactionContextualMenuItem?: JSX.Element;
|
1129
1442
|
LowerHandContextualMenuItem?: JSX.Element;
|
1443
|
+
ReactionButtonIcon?: JSX.Element;
|
1130
1444
|
ErrorBarCallCameraAccessDenied?: JSX.Element;
|
1131
1445
|
ErrorBarCallCameraAlreadyInUse?: JSX.Element;
|
1132
1446
|
ErrorBarCallLocalVideoFreeze?: JSX.Element;
|
@@ -1167,6 +1481,9 @@ export declare type CallCompositeIcons = {
|
|
1167
1481
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1168
1482
|
VideoTileMicOff?: JSX.Element;
|
1169
1483
|
LocalCameraSwitch?: JSX.Element;
|
1484
|
+
PeoplePaneAddPerson?: JSX.Element;
|
1485
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
1486
|
+
DialpadStartCall?: JSX.Element;
|
1170
1487
|
NoticePageInviteToRoomRemoved?: JSX.Element;
|
1171
1488
|
BlurVideoBackground?: JSX.Element;
|
1172
1489
|
RemoveVideoBackgroundEffect?: JSX.Element;
|
@@ -1199,6 +1516,56 @@ export declare type CallCompositeOptions = {
|
|
1199
1516
|
* @defaultValue true
|
1200
1517
|
*/
|
1201
1518
|
callControls?: boolean | CallControlOptions;
|
1519
|
+
/**
|
1520
|
+
* Device permissions check options for your call.
|
1521
|
+
* Here you can choose what device permissions you prompt the user for,
|
1522
|
+
* as well as what device permissions must be accepted before starting a call.
|
1523
|
+
*/
|
1524
|
+
deviceChecks?: DeviceCheckOptions;
|
1525
|
+
/**
|
1526
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1527
|
+
* unable to grant your site the required permissions for the call.
|
1528
|
+
*
|
1529
|
+
* @example
|
1530
|
+
* ```ts
|
1531
|
+
* onPermissionsTroubleshootingClick: () =>
|
1532
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1533
|
+
* ```
|
1534
|
+
*
|
1535
|
+
* @remarks
|
1536
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1537
|
+
*/
|
1538
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1539
|
+
camera: PermissionState;
|
1540
|
+
microphone: PermissionState;
|
1541
|
+
}) => void;
|
1542
|
+
/**
|
1543
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1544
|
+
* having network issues when connecting to the call.
|
1545
|
+
*
|
1546
|
+
* @example
|
1547
|
+
* ```ts
|
1548
|
+
* onNetworkingTroubleShootingClick?: () =>
|
1549
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1550
|
+
* ```
|
1551
|
+
*
|
1552
|
+
* @remarks
|
1553
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1554
|
+
*/
|
1555
|
+
onNetworkingTroubleShootingClick?: () => void;
|
1556
|
+
/**
|
1557
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1558
|
+
*
|
1559
|
+
* @example
|
1560
|
+
* ```ts
|
1561
|
+
* onBrowserTroubleShootingClick?: () =>
|
1562
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1563
|
+
* ```
|
1564
|
+
*
|
1565
|
+
* @remarks
|
1566
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
1567
|
+
*/
|
1568
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1202
1569
|
/**
|
1203
1570
|
* Remote participant video tile menu options
|
1204
1571
|
*/
|
@@ -1218,6 +1585,89 @@ export declare type CallCompositeOptions = {
|
|
1218
1585
|
*/
|
1219
1586
|
layout?: VideoGalleryLayout;
|
1220
1587
|
};
|
1588
|
+
/**
|
1589
|
+
* Options for end of call survey
|
1590
|
+
*/
|
1591
|
+
surveyOptions?: {
|
1592
|
+
/**
|
1593
|
+
* Disable call survey at the end of a call.
|
1594
|
+
* @defaultValue false
|
1595
|
+
*/
|
1596
|
+
disableSurvey?: boolean;
|
1597
|
+
/**
|
1598
|
+
* Optional callback to redirect users to custom screens when survey is done, note that default end call screen will be shown if this callback is not provided
|
1599
|
+
* This callback can be used to redirect users to different screens depending on survey state, whether it is submitted, skipped or has a problem when submitting the survey
|
1600
|
+
*/
|
1601
|
+
onSurveyClosed?: (surveyState: 'sent' | 'skipped' | 'error', surveyError?: string) => void;
|
1602
|
+
/**
|
1603
|
+
* Optional callback to handle survey data including free form text response
|
1604
|
+
* Note that free form text response survey option is only going to be enabled when this callback is provided
|
1605
|
+
* User will need to handle all free form text response on their own
|
1606
|
+
*/
|
1607
|
+
onSurveySubmitted?: (callId: string, surveyId: string,
|
1608
|
+
/**
|
1609
|
+
* This is the survey results containing star survey data and API tag survey data.
|
1610
|
+
* This part of the result will always be sent to the calling sdk
|
1611
|
+
* This callback provides user with the ability to gain access to survey data
|
1612
|
+
*/
|
1613
|
+
submittedSurvey: CallSurvey,
|
1614
|
+
/**
|
1615
|
+
* This is the survey results containing free form text
|
1616
|
+
* This part of the result will not be handled by composites
|
1617
|
+
* User will need to collect and handle this information 100% on their own
|
1618
|
+
* Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
|
1619
|
+
*/
|
1620
|
+
improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
|
1621
|
+
};
|
1622
|
+
/**
|
1623
|
+
* Options for setting additional customizations related to personalized branding.
|
1624
|
+
*/
|
1625
|
+
branding?: {
|
1626
|
+
/**
|
1627
|
+
* Logo displayed on the configuration page.
|
1628
|
+
*/
|
1629
|
+
logo?: {
|
1630
|
+
/**
|
1631
|
+
* URL for the logo image.
|
1632
|
+
*
|
1633
|
+
* @remarks
|
1634
|
+
* Recommended size is 80x80 pixels.
|
1635
|
+
*/
|
1636
|
+
url: string;
|
1637
|
+
/**
|
1638
|
+
* Alt text for the logo image.
|
1639
|
+
*/
|
1640
|
+
alt?: string;
|
1641
|
+
/**
|
1642
|
+
* The logo can be displayed as a circle.
|
1643
|
+
*
|
1644
|
+
* @defaultValue 'unset'
|
1645
|
+
*/
|
1646
|
+
shape?: 'unset' | 'circle';
|
1647
|
+
};
|
1648
|
+
/**
|
1649
|
+
* Background image displayed on the configuration page.
|
1650
|
+
*/
|
1651
|
+
backgroundImage?: {
|
1652
|
+
/**
|
1653
|
+
* URL for the background image.
|
1654
|
+
*
|
1655
|
+
* @remarks
|
1656
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
1657
|
+
*/
|
1658
|
+
url: string;
|
1659
|
+
};
|
1660
|
+
};
|
1661
|
+
/**
|
1662
|
+
* Options for settings related to spotlight.
|
1663
|
+
*/
|
1664
|
+
spotlight?: {
|
1665
|
+
/**
|
1666
|
+
* Flag to hide the menu buttons to start and stop spotlight for remote participants and the local participant.
|
1667
|
+
* @defaultValue false
|
1668
|
+
*/
|
1669
|
+
hideSpotlightButtons?: boolean;
|
1670
|
+
};
|
1221
1671
|
};
|
1222
1672
|
|
1223
1673
|
/**
|
@@ -1225,7 +1675,7 @@ export declare type CallCompositeOptions = {
|
|
1225
1675
|
*
|
1226
1676
|
* @public
|
1227
1677
|
*/
|
1228
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
|
1678
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
|
1229
1679
|
|
1230
1680
|
/**
|
1231
1681
|
* Props for {@link CallComposite}.
|
@@ -1471,10 +1921,94 @@ export declare interface CallCompositeStrings {
|
|
1471
1921
|
* Label for SidePaneHeader dismiss button
|
1472
1922
|
*/
|
1473
1923
|
dismissSidePaneButtonLabel?: string;
|
1924
|
+
/**
|
1925
|
+
* Side pane People section subheader.
|
1926
|
+
*/
|
1927
|
+
peoplePaneSubTitle: string;
|
1928
|
+
/**
|
1929
|
+
* Label for button to copy invite link
|
1930
|
+
*/
|
1931
|
+
copyInviteLinkButtonLabel: string;
|
1932
|
+
/**
|
1933
|
+
* Label for button to open dialpad
|
1934
|
+
*/
|
1935
|
+
openDialpadButtonLabel: string;
|
1936
|
+
/**
|
1937
|
+
* Label for menu item to remove participant
|
1938
|
+
*/
|
1939
|
+
removeMenuLabel: string;
|
1940
|
+
/**
|
1941
|
+
* Label for menu item to start spotlight on participant
|
1942
|
+
*/
|
1943
|
+
startSpotlightParticipantListMenuLabel: string;
|
1944
|
+
/**
|
1945
|
+
* Label for menu item to add spotlight on participant
|
1946
|
+
*/
|
1947
|
+
addSpotlightParticipantListMenuLabel: string;
|
1948
|
+
/**
|
1949
|
+
* Label for menu item to stop spotlight on participant
|
1950
|
+
*/
|
1951
|
+
stopSpotlightParticipantListMenuLabel: string;
|
1952
|
+
/**
|
1953
|
+
* Label for menu item to stop spotlight on local user
|
1954
|
+
*/
|
1955
|
+
stopSpotlightOnSelfParticipantListMenuLabel: string;
|
1956
|
+
/**
|
1957
|
+
* Label for menu item to stop spotlight on local user
|
1958
|
+
*/
|
1959
|
+
spotlightLimitReachedParticipantListMenuTitle: string;
|
1960
|
+
/**
|
1961
|
+
* Label for add people dropdown
|
1962
|
+
*/
|
1963
|
+
peoplePaneAddPeopleButtonLabel: string;
|
1964
|
+
/**
|
1965
|
+
* Label for button to start a call
|
1966
|
+
*/
|
1967
|
+
dialpadStartCallButtonLabel: string;
|
1968
|
+
/**
|
1969
|
+
* Title for dialpad Modal
|
1970
|
+
*/
|
1971
|
+
dialpadModalTitle: string;
|
1972
|
+
/**
|
1973
|
+
* Aria Label for dialpad Modal
|
1974
|
+
*/
|
1975
|
+
dialpadModalAriaLabel: string;
|
1976
|
+
/**
|
1977
|
+
* Aria Label for dialpad Modal close button
|
1978
|
+
*/
|
1979
|
+
dialpadCloseModalButtonAriaLabel: string;
|
1474
1980
|
/**
|
1475
1981
|
* label for more button in the Calling composite
|
1476
1982
|
*/
|
1477
1983
|
moreButtonCallingLabel: string;
|
1984
|
+
/**
|
1985
|
+
* Label for the resume call button on the hold pane
|
1986
|
+
*/
|
1987
|
+
resumeCallButtonLabel: string;
|
1988
|
+
/**
|
1989
|
+
* Label for the resume call button on the hold pane when call is resuming
|
1990
|
+
*/
|
1991
|
+
resumingCallButtonLabel: string;
|
1992
|
+
/**
|
1993
|
+
* Aria label for the resume call button on the hold pane
|
1994
|
+
*/
|
1995
|
+
resumeCallButtonAriaLabel: string;
|
1996
|
+
/**
|
1997
|
+
* Aria label for the resume call button on the hold pane when call is resuming
|
1998
|
+
*/
|
1999
|
+
resumingCallButtonAriaLabel: string;
|
2000
|
+
/**
|
2001
|
+
* Label for the hold pane
|
2002
|
+
*/
|
2003
|
+
holdScreenLabel: string;
|
2004
|
+
/**
|
2005
|
+
* Placeholder text for dtmf dialpad
|
2006
|
+
*/
|
2007
|
+
dtmfDialpadPlaceholderText: string;
|
2008
|
+
/**
|
2009
|
+
* Label for the button to open dtmf dialpad
|
2010
|
+
*/
|
2011
|
+
openDtmfDialpadLabel: string;
|
1478
2012
|
/**
|
1479
2013
|
* aria label for when the invite link has been actioned
|
1480
2014
|
*/
|
@@ -1548,9 +2082,17 @@ export declare interface CallCompositeStrings {
|
|
1548
2082
|
*/
|
1549
2083
|
notInvitedToRoomDetails?: string;
|
1550
2084
|
/**
|
1551
|
-
*
|
2085
|
+
* Control bar People button ToolTipContent
|
1552
2086
|
*/
|
1553
|
-
|
2087
|
+
peopleButtonTooltipOpen: string;
|
2088
|
+
/**
|
2089
|
+
* Control bar People button ToolTipContent
|
2090
|
+
*/
|
2091
|
+
peopleButtonTooltipClose: string;
|
2092
|
+
/**
|
2093
|
+
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
2094
|
+
*/
|
2095
|
+
outboundCallingNoticeString?: string;
|
1554
2096
|
/**
|
1555
2097
|
* Notice to be announced by narrator when a participant joins a call
|
1556
2098
|
*/
|
@@ -1695,6 +2237,38 @@ export declare interface CallCompositeStrings {
|
|
1695
2237
|
* notice to be announced by narrator the transfer page is showing
|
1696
2238
|
*/
|
1697
2239
|
transferPageNoticeString: string;
|
2240
|
+
/**
|
2241
|
+
* Title text of the page shown to the user when target participant could not be reached
|
2242
|
+
*/
|
2243
|
+
participantCouldNotBeReachedTitle?: string;
|
2244
|
+
/**
|
2245
|
+
* More details text of the page shown to the user when target participant could not be reached
|
2246
|
+
*/
|
2247
|
+
participantCouldNotBeReachedMoreDetails?: string;
|
2248
|
+
/**
|
2249
|
+
* Title text of the page shown to the user when permission to reach participant is not allowed
|
2250
|
+
*/
|
2251
|
+
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
2252
|
+
/**
|
2253
|
+
* More details text of the page shown to the user when permission to reach participant is not allowed
|
2254
|
+
*/
|
2255
|
+
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
2256
|
+
/**
|
2257
|
+
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
2258
|
+
*/
|
2259
|
+
unableToResolveTenantTitle?: string;
|
2260
|
+
/**
|
2261
|
+
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
2262
|
+
*/
|
2263
|
+
unableToResolveTenantMoreDetails?: string;
|
2264
|
+
/**
|
2265
|
+
* Title text of the page shown to the user when target participant id is malformed
|
2266
|
+
*/
|
2267
|
+
participantIdIsMalformedTitle?: string;
|
2268
|
+
/**
|
2269
|
+
* More details text of the page shown to the user when target participant id is malformed
|
2270
|
+
*/
|
2271
|
+
participantIdIsMalformedMoreDetails?: string;
|
1698
2272
|
/**
|
1699
2273
|
* Controls label to move the overflow gallery around
|
1700
2274
|
*/
|
@@ -1727,6 +2301,74 @@ export declare interface CallCompositeStrings {
|
|
1727
2301
|
* All strings for capability changed notification
|
1728
2302
|
*/
|
1729
2303
|
capabilityChangedNotification?: CapabilityChangedNotificationStrings;
|
2304
|
+
/**
|
2305
|
+
* Title for the survey
|
2306
|
+
*/
|
2307
|
+
surveyTitle: string;
|
2308
|
+
/**
|
2309
|
+
* Helper text to explain what the survey is for
|
2310
|
+
*/
|
2311
|
+
starSurveyHelperText: string;
|
2312
|
+
/**
|
2313
|
+
* Helper text displayed below survey question after user select one star
|
2314
|
+
*/
|
2315
|
+
starSurveyOneStarText: string;
|
2316
|
+
/**
|
2317
|
+
* Helper text displayed below survey question after user select two star
|
2318
|
+
*/
|
2319
|
+
starSurveyTwoStarText: string;
|
2320
|
+
/**
|
2321
|
+
* Helper text displayed below survey question after user select three star
|
2322
|
+
*/
|
2323
|
+
starSurveyThreeStarText: string;
|
2324
|
+
/**
|
2325
|
+
* Helper text displayed below survey question after user select four star
|
2326
|
+
*/
|
2327
|
+
starSurveyFourStarText: string;
|
2328
|
+
/**
|
2329
|
+
* Helper text displayed below survey question after user select five star
|
2330
|
+
*/
|
2331
|
+
starSurveyFiveStarText: string;
|
2332
|
+
/**
|
2333
|
+
* Aria Label for each individual star rating
|
2334
|
+
*/
|
2335
|
+
starRatingAriaLabel: string;
|
2336
|
+
/**
|
2337
|
+
* Tags Survey Question
|
2338
|
+
*/
|
2339
|
+
tagsSurveyQuestion: string;
|
2340
|
+
/**
|
2341
|
+
* Default text for free form text field inside tags survey
|
2342
|
+
*/
|
2343
|
+
tagsSurveyTextFieldDefaultText: string;
|
2344
|
+
/**
|
2345
|
+
* Tags Survey helper text
|
2346
|
+
*/
|
2347
|
+
tagsSurveyHelperText: string;
|
2348
|
+
/**
|
2349
|
+
* Confirm button label for survey
|
2350
|
+
*/
|
2351
|
+
surveyConfirmButtonLabel: string;
|
2352
|
+
/**
|
2353
|
+
* Cancel button label for survey
|
2354
|
+
*/
|
2355
|
+
surveySkipButtonLabel: string;
|
2356
|
+
/**
|
2357
|
+
* Default text for free form text box
|
2358
|
+
*/
|
2359
|
+
surveyTextboxDefaultText: string;
|
2360
|
+
/**
|
2361
|
+
* Thank you text appeared on screen after survey is submitted
|
2362
|
+
*/
|
2363
|
+
endOfSurveyText: string;
|
2364
|
+
/**
|
2365
|
+
* Corresponding texts to each call issue
|
2366
|
+
*/
|
2367
|
+
surveyIssues: SurveyIssues;
|
2368
|
+
/**
|
2369
|
+
* Corresponding texts to each call category
|
2370
|
+
*/
|
2371
|
+
SurveyIssuesHeadingStrings: SurveyIssuesHeadingStrings;
|
1730
2372
|
/**
|
1731
2373
|
* String for the dismiss control on the local and remote PIP on mobile
|
1732
2374
|
*/
|
@@ -1775,6 +2417,18 @@ export declare interface CallCompositeStrings {
|
|
1775
2417
|
* Label to hide the dtmf dialer in the more button menu
|
1776
2418
|
*/
|
1777
2419
|
dtmfDialerMoreButtonLabelOff?: string;
|
2420
|
+
/**
|
2421
|
+
* Strings for spotlight prompt
|
2422
|
+
*/
|
2423
|
+
spotlightPrompt: SpotlightPromptStrings;
|
2424
|
+
/**
|
2425
|
+
* Label for button to exit spotlight
|
2426
|
+
*/
|
2427
|
+
exitSpotlightButtonLabel: string;
|
2428
|
+
/**
|
2429
|
+
* Tooltip for button to exit spotlight
|
2430
|
+
*/
|
2431
|
+
exitSpotlightButtonTooltip: string;
|
1778
2432
|
}
|
1779
2433
|
|
1780
2434
|
/**
|
@@ -1789,7 +2443,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
|
|
1789
2443
|
*
|
1790
2444
|
* @public
|
1791
2445
|
*/
|
1792
|
-
export declare type CallControlOptions =
|
2446
|
+
export declare type CallControlOptions = CommonCallControlOptions & {
|
1793
2447
|
/**
|
1794
2448
|
* Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
|
1795
2449
|
* @defaultValue true
|
@@ -1798,7 +2452,7 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
|
|
1798
2452
|
disabled: boolean;
|
1799
2453
|
};
|
1800
2454
|
legacyControlBarExperience?: boolean;
|
1801
|
-
}
|
2455
|
+
};
|
1802
2456
|
|
1803
2457
|
/**
|
1804
2458
|
* Callback for {@link CallAdapterSubscribers} 'callEnded' event.
|
@@ -1859,7 +2513,7 @@ export declare type CallErrors = {
|
|
1859
2513
|
*
|
1860
2514
|
* @public
|
1861
2515
|
*/
|
1862
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'VideoEffectsFeature.startEffects' | 'Call.setConstraints';
|
2516
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteAllRemoteParticipants' | 'Call.setConstraints';
|
1863
2517
|
|
1864
2518
|
/**
|
1865
2519
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1956,6 +2610,31 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
1956
2610
|
isSpeaking?: boolean;
|
1957
2611
|
/** Whether calling participant is raised hand */
|
1958
2612
|
raisedHand?: RaisedHand;
|
2613
|
+
/**
|
2614
|
+
* Whether calling participant has reacted
|
2615
|
+
*
|
2616
|
+
* @beta
|
2617
|
+
* */
|
2618
|
+
reaction?: Reaction;
|
2619
|
+
/** Whether calling participant is spotlighted **/
|
2620
|
+
spotlight?: Spotlight;
|
2621
|
+
};
|
2622
|
+
|
2623
|
+
/**
|
2624
|
+
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2625
|
+
*
|
2626
|
+
* @remarks
|
2627
|
+
* This is currently in beta and only supports calling one Teams User.
|
2628
|
+
*
|
2629
|
+
* @example
|
2630
|
+
* ```
|
2631
|
+
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2632
|
+
* ```
|
2633
|
+
*
|
2634
|
+
* @beta
|
2635
|
+
*/
|
2636
|
+
export declare type CallParticipantsLocator = {
|
2637
|
+
participantIds: string[];
|
1959
2638
|
};
|
1960
2639
|
|
1961
2640
|
/**
|
@@ -1974,7 +2653,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
1974
2653
|
*/
|
1975
2654
|
export declare interface CallProviderProps {
|
1976
2655
|
children: React_2.ReactNode;
|
1977
|
-
call?: Call;
|
2656
|
+
call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
1978
2657
|
}
|
1979
2658
|
|
1980
2659
|
/**
|
@@ -1988,6 +2667,10 @@ export declare interface CallState {
|
|
1988
2667
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
1989
2668
|
*/
|
1990
2669
|
id: string;
|
2670
|
+
/**
|
2671
|
+
* Type of the call.
|
2672
|
+
*/
|
2673
|
+
kind: CallKind;
|
1991
2674
|
/**
|
1992
2675
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
1993
2676
|
*/
|
@@ -2054,10 +2737,21 @@ export declare interface CallState {
|
|
2054
2737
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
2055
2738
|
*/
|
2056
2739
|
recording: RecordingCallFeature;
|
2740
|
+
/**
|
2741
|
+
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
|
2742
|
+
*/
|
2743
|
+
pptLive: PPTLiveCallFeatureState;
|
2057
2744
|
/**
|
2058
2745
|
* Proxy of {@link @azure/communication-calling#RaiseHandCallFeature}.
|
2059
2746
|
*/
|
2060
2747
|
raiseHand: RaiseHandCallFeature;
|
2748
|
+
/**
|
2749
|
+
* Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
|
2750
|
+
* UI helper props receivedOn which indicates the timestamp when the message was received.
|
2751
|
+
*
|
2752
|
+
* @beta
|
2753
|
+
*/
|
2754
|
+
localParticipantReaction?: ReactionState;
|
2061
2755
|
/**
|
2062
2756
|
* Stores the currently active screenshare participant's key. If there is no screenshare active, then this will be
|
2063
2757
|
* undefined. You can use this key to access the remoteParticipant data in {@link CallState.remoteParticipants} object.
|
@@ -2068,6 +2762,15 @@ export declare interface CallState {
|
|
2068
2762
|
* This property is added by the stateful layer and is not a proxy of SDK state
|
2069
2763
|
*/
|
2070
2764
|
screenShareRemoteParticipant?: string;
|
2765
|
+
/**
|
2766
|
+
* Stores the currently active pptlive participant's key. Will be reused by White board etc. If there is no screenshare active, then this will be
|
2767
|
+
* undefined. You can use this key to access the remoteParticipant data in {@link CallState.remoteParticipants} object.
|
2768
|
+
*
|
2769
|
+
* Note this only applies to PPTLive in RemoteParticipant.
|
2770
|
+
*
|
2771
|
+
* This property is added by the stateful layer and is not a proxy of SDK state
|
2772
|
+
*/
|
2773
|
+
contentSharingRemoteParticipant?: string;
|
2071
2774
|
/**
|
2072
2775
|
* Stores the local date when the call started on the client. This property is added by the stateful layer and is not
|
2073
2776
|
* a proxy of SDK state.
|
@@ -2086,6 +2789,10 @@ export declare interface CallState {
|
|
2086
2789
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2087
2790
|
*/
|
2088
2791
|
role?: ParticipantRole;
|
2792
|
+
/**
|
2793
|
+
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2794
|
+
*/
|
2795
|
+
totalParticipantCount?: number;
|
2089
2796
|
/**
|
2090
2797
|
* Transfer state of call
|
2091
2798
|
*/
|
@@ -2094,6 +2801,37 @@ export declare interface CallState {
|
|
2094
2801
|
* Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
|
2095
2802
|
*/
|
2096
2803
|
capabilitiesFeature?: CapabilitiesFeatureState;
|
2804
|
+
/**
|
2805
|
+
* Hide attendee names in teams meeting
|
2806
|
+
*/
|
2807
|
+
hideAttendeeNames?: boolean;
|
2808
|
+
/**
|
2809
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature}.
|
2810
|
+
*/
|
2811
|
+
spotlight?: SpotlightCallFeatureState;
|
2812
|
+
}
|
2813
|
+
|
2814
|
+
/**
|
2815
|
+
* Represents the improvement suggestion part of call survey
|
2816
|
+
* @beta
|
2817
|
+
*/
|
2818
|
+
export declare interface CallSurveyImprovementSuggestions {
|
2819
|
+
/**
|
2820
|
+
* Improvement suggestions for overall call
|
2821
|
+
*/
|
2822
|
+
overallRating?: string;
|
2823
|
+
/**
|
2824
|
+
* Improvement suggestions for audio experience
|
2825
|
+
*/
|
2826
|
+
audioRating?: string;
|
2827
|
+
/**
|
2828
|
+
* Improvement suggestions for video experience
|
2829
|
+
*/
|
2830
|
+
videoRating?: string;
|
2831
|
+
/**
|
2832
|
+
* Improvement suggestions for screenshare experience
|
2833
|
+
*/
|
2834
|
+
screenshareRating?: string;
|
2097
2835
|
}
|
2098
2836
|
|
2099
2837
|
/**
|
@@ -2117,6 +2855,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
2117
2855
|
* @public
|
2118
2856
|
*/
|
2119
2857
|
removeParticipant(userId: string): Promise<void>;
|
2858
|
+
/**
|
2859
|
+
* Remove a participant from the call.
|
2860
|
+
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2861
|
+
* @beta
|
2862
|
+
*/
|
2863
|
+
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2120
2864
|
/**
|
2121
2865
|
* Join the call with microphone initially on/off.
|
2122
2866
|
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
@@ -2187,7 +2931,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
2187
2931
|
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2188
2932
|
* @public
|
2189
2933
|
*/
|
2190
|
-
startCall(participants: (MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], options?: StartCallOptions): Call | undefined;
|
2934
|
+
startCall(participants: (MicrosoftTeamsAppIdentifier | /* @conditional-compile-remove(PSTN-calls) */ PhoneNumberIdentifier | /* @conditional-compile-remove(one-to-n-calling) */ CommunicationUserIdentifier | /* @conditional-compile-remove(teams-adhoc-call) */ MicrosoftTeamsUserIdentifier | UnknownIdentifier)[], options?: StartCallOptions): Call | undefined;
|
2191
2935
|
/**
|
2192
2936
|
* Start sharing the screen during a call.
|
2193
2937
|
*
|
@@ -2212,6 +2956,13 @@ export declare interface CallWithChatAdapterManagement {
|
|
2212
2956
|
* @public
|
2213
2957
|
*/
|
2214
2958
|
lowerHand(): Promise<void>;
|
2959
|
+
/**
|
2960
|
+
* Send Reaction to ongoing meeting.
|
2961
|
+
* @param reaction - A value of type {@link @azure/communication-calling#Reaction}
|
2962
|
+
*
|
2963
|
+
* @beta
|
2964
|
+
*/
|
2965
|
+
onReactionClick(reaction: Reaction_2): Promise<void>;
|
2215
2966
|
/**
|
2216
2967
|
* Create the html view for a stream.
|
2217
2968
|
*
|
@@ -2377,12 +3128,53 @@ export declare interface CallWithChatAdapterManagement {
|
|
2377
3128
|
* @public
|
2378
3129
|
*/
|
2379
3130
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3131
|
+
/** @beta */
|
3132
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
3133
|
+
/** @beta */
|
3134
|
+
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
3135
|
+
/** @beta */
|
3136
|
+
clearFileUploads: () => void;
|
3137
|
+
/** @beta */
|
3138
|
+
cancelFileUpload: (id: string) => void;
|
3139
|
+
/** @beta */
|
3140
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
3141
|
+
/** @beta */
|
3142
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
3143
|
+
/** @beta */
|
3144
|
+
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
3145
|
+
/** @beta */
|
3146
|
+
downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
|
3147
|
+
/** @beta */
|
3148
|
+
removeResourceFromCache(resourceDetails: ResourceDetails): void;
|
3149
|
+
/**
|
3150
|
+
* Puts the Call in a Localhold.
|
3151
|
+
*
|
3152
|
+
* @beta
|
3153
|
+
*/
|
3154
|
+
holdCall: () => Promise<void>;
|
3155
|
+
/**
|
3156
|
+
* Resumes the call from a LocalHold state.
|
3157
|
+
*
|
3158
|
+
* @beta
|
3159
|
+
*/
|
3160
|
+
resumeCall: () => Promise<void>;
|
3161
|
+
/**
|
3162
|
+
* Adds a new Participant to the call.
|
3163
|
+
*
|
3164
|
+
* @beta
|
3165
|
+
*/
|
3166
|
+
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
3167
|
+
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2380
3168
|
/**
|
2381
3169
|
* send dtmf tone to another participant in the call in 1:1 calls
|
2382
3170
|
*
|
2383
3171
|
* @public
|
2384
3172
|
*/
|
2385
3173
|
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3174
|
+
/**
|
3175
|
+
* Continues into a call when the browser version is not supported.
|
3176
|
+
*/
|
3177
|
+
allowUnsupportedBrowserVersion(): void;
|
2386
3178
|
/**
|
2387
3179
|
* Function to Start captions
|
2388
3180
|
* @param options - options for start captions
|
@@ -2428,6 +3220,20 @@ export declare interface CallWithChatAdapterManagement {
|
|
2428
3220
|
* @public
|
2429
3221
|
*/
|
2430
3222
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
3223
|
+
/**
|
3224
|
+
* Send the end of call survey result
|
3225
|
+
*
|
3226
|
+
* @beta
|
3227
|
+
*/
|
3228
|
+
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
3229
|
+
/**
|
3230
|
+
* Start spotlight
|
3231
|
+
*/
|
3232
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
3233
|
+
/**
|
3234
|
+
* Stop spotlight
|
3235
|
+
*/
|
3236
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
2431
3237
|
}
|
2432
3238
|
|
2433
3239
|
/**
|
@@ -2460,6 +3266,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2460
3266
|
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
2461
3267
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
2462
3268
|
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
3269
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
2463
3270
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
2464
3271
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
2465
3272
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -2476,6 +3283,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2476
3283
|
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
2477
3284
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
2478
3285
|
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
3286
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
2479
3287
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
2480
3288
|
on(event: 'messageEdited', listener: MessageEditedListener): void;
|
2481
3289
|
on(event: 'messageDeleted', listener: MessageDeletedListener): void;
|
@@ -2512,6 +3320,22 @@ export declare interface CallWithChatAdapterUiState {
|
|
2512
3320
|
* @public
|
2513
3321
|
*/
|
2514
3322
|
page: CallCompositePage;
|
3323
|
+
/**
|
3324
|
+
* Files being uploaded by a user in the current thread.
|
3325
|
+
* Should be set to null once the upload is complete.
|
3326
|
+
* Array of type {@link FileUploadsUiState}
|
3327
|
+
*
|
3328
|
+
* @beta
|
3329
|
+
*/
|
3330
|
+
fileUploads?: FileUploadsUiState;
|
3331
|
+
/**
|
3332
|
+
* State to track whether the end user has opted in to using a
|
3333
|
+
* out of date version of a supported browser. Allows the user
|
3334
|
+
* to start a call in this state.
|
3335
|
+
*
|
3336
|
+
* @beta
|
3337
|
+
*/
|
3338
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
2515
3339
|
}
|
2516
3340
|
|
2517
3341
|
/**
|
@@ -2536,12 +3360,23 @@ export declare interface CallWithChatClientState {
|
|
2536
3360
|
devices: DeviceManagerState;
|
2537
3361
|
/** State of whether the active call is a Teams interop call */
|
2538
3362
|
isTeamsCall: boolean;
|
3363
|
+
/** alternateCallerId for PSTN call */
|
3364
|
+
alternateCallerId?: string | undefined;
|
3365
|
+
/** Environment information for system adapter is made on */
|
3366
|
+
environmentInfo?: EnvironmentInfo;
|
2539
3367
|
/** Default set of background images for background replacement effect */
|
2540
3368
|
videoBackgroundImages?: VideoBackgroundImage[];
|
2541
3369
|
/** Dependency to be injected for video background effects */
|
2542
3370
|
onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
2543
3371
|
/** State to track the selected video background effect */
|
2544
3372
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
3373
|
+
/** Hide attendee names in teams meeting */
|
3374
|
+
hideAttendeeNames?: boolean;
|
3375
|
+
/**
|
3376
|
+
* Reaction resources to render in meetings
|
3377
|
+
* @beta
|
3378
|
+
* */
|
3379
|
+
reactions?: ReactionResources;
|
2545
3380
|
}
|
2546
3381
|
|
2547
3382
|
/**
|
@@ -2610,6 +3445,9 @@ export declare type CallWithChatCompositeIcons = {
|
|
2610
3445
|
ParticipantItemScreenShareStart?: JSX.Element;
|
2611
3446
|
VideoTileMicOff?: JSX.Element;
|
2612
3447
|
LocalCameraSwitch?: JSX.Element;
|
3448
|
+
PeoplePaneAddPerson?: JSX.Element;
|
3449
|
+
PeoplePaneOpenDialpad?: JSX.Element;
|
3450
|
+
DialpadStartCall?: JSX.Element;
|
2613
3451
|
DefaultCustomButton?: JSX.Element;
|
2614
3452
|
DtmfDialpadButton?: JSX.Element;
|
2615
3453
|
EditBoxCancel?: JSX.Element;
|
@@ -2638,6 +3476,62 @@ export declare type CallWithChatCompositeOptions = {
|
|
2638
3476
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
2639
3477
|
*/
|
2640
3478
|
callControls?: boolean | CallWithChatControlOptions;
|
3479
|
+
/**
|
3480
|
+
* Properties for configuring the File Sharing feature.
|
3481
|
+
* If undefined, file sharing feature will be disabled.
|
3482
|
+
* @beta
|
3483
|
+
*/
|
3484
|
+
fileSharing?: FileSharingOptions;
|
3485
|
+
/**
|
3486
|
+
* Device permissions check options for your call.
|
3487
|
+
* Here you can choose what device permissions you prompt the user for,
|
3488
|
+
* as well as what device permissions must be accepted before starting a call.
|
3489
|
+
*/
|
3490
|
+
deviceChecks?: DeviceCheckOptions;
|
3491
|
+
/**
|
3492
|
+
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
3493
|
+
* unable to grant your site the required permissions for the call.
|
3494
|
+
*
|
3495
|
+
* @example
|
3496
|
+
* ```ts
|
3497
|
+
* onPermissionsTroubleshootingClick: () =>
|
3498
|
+
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
3499
|
+
* ```
|
3500
|
+
*
|
3501
|
+
* @remarks
|
3502
|
+
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
3503
|
+
*/
|
3504
|
+
onPermissionsTroubleshootingClick?: (permissionsState: {
|
3505
|
+
camera: PermissionState;
|
3506
|
+
microphone: PermissionState;
|
3507
|
+
}) => void;
|
3508
|
+
/**
|
3509
|
+
* Optional callback to supply users with further troubleshooting steps for network issues
|
3510
|
+
* experienced when connecting to a call.
|
3511
|
+
*
|
3512
|
+
* @example
|
3513
|
+
* ```ts
|
3514
|
+
* onNetworkingTroubleShootingClick?: () =>
|
3515
|
+
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
3516
|
+
* ```
|
3517
|
+
*
|
3518
|
+
* @remarks
|
3519
|
+
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
3520
|
+
*/
|
3521
|
+
onNetworkingTroubleShootingClick?: () => void;
|
3522
|
+
/**
|
3523
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
3524
|
+
*
|
3525
|
+
* @example
|
3526
|
+
* ```ts
|
3527
|
+
* onBrowserTroubleShootingClick?: () =>
|
3528
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
3529
|
+
* ```
|
3530
|
+
*
|
3531
|
+
* @remarks
|
3532
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
3533
|
+
*/
|
3534
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2641
3535
|
/**
|
2642
3536
|
* Remote participant video tile menu options
|
2643
3537
|
*/
|
@@ -2657,6 +3551,89 @@ export declare type CallWithChatCompositeOptions = {
|
|
2657
3551
|
*/
|
2658
3552
|
layout?: VideoGalleryLayout;
|
2659
3553
|
};
|
3554
|
+
/**
|
3555
|
+
* Options for end of call survey
|
3556
|
+
*/
|
3557
|
+
surveyOptions?: {
|
3558
|
+
/**
|
3559
|
+
* Disable call survey at the end of a call.
|
3560
|
+
* @defaultValue false
|
3561
|
+
*/
|
3562
|
+
disableSurvey?: boolean;
|
3563
|
+
/**
|
3564
|
+
* Optional callback to redirect users to custom screens when survey is done, note that default end call screen will be shown if this callback is not provided
|
3565
|
+
* This callback can be used to redirect users to different screens depending on survey state, whether it is submitted, skipped or has a problem when submitting the survey
|
3566
|
+
*/
|
3567
|
+
onSurveyClosed?: (surveyState: 'sent' | 'skipped' | 'error', surveyError?: string) => void;
|
3568
|
+
/**
|
3569
|
+
* Optional callback to handle survey data including free form text response
|
3570
|
+
* Note that free form text response survey option is only going to be enabled when this callback is provided
|
3571
|
+
* User will need to handle all free form text response on their own
|
3572
|
+
*/
|
3573
|
+
onSurveySubmitted?: (callId: string, surveyId: string,
|
3574
|
+
/**
|
3575
|
+
* This is the survey results containing star survey data and API tag survey data.
|
3576
|
+
* This part of the result will always be sent to the calling sdk
|
3577
|
+
* This callback provides user with the ability to gain access to survey data
|
3578
|
+
*/
|
3579
|
+
submittedSurvey: CallSurvey,
|
3580
|
+
/**
|
3581
|
+
* This is the survey results containing free form text
|
3582
|
+
* This part of the result will not be handled by composites
|
3583
|
+
* User will need to collect and handle this information 100% on their own
|
3584
|
+
* Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
|
3585
|
+
*/
|
3586
|
+
improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
|
3587
|
+
};
|
3588
|
+
/**
|
3589
|
+
* Options for setting additional customizations related to personalized branding.
|
3590
|
+
*/
|
3591
|
+
branding?: {
|
3592
|
+
/**
|
3593
|
+
* Logo displayed on the configuration page.
|
3594
|
+
*/
|
3595
|
+
logo?: {
|
3596
|
+
/**
|
3597
|
+
* URL for the logo image.
|
3598
|
+
*
|
3599
|
+
* @remarks
|
3600
|
+
* Recommended size is 80x80 pixels.
|
3601
|
+
*/
|
3602
|
+
url: string;
|
3603
|
+
/**
|
3604
|
+
* Alt text for the logo image.
|
3605
|
+
*/
|
3606
|
+
alt?: string;
|
3607
|
+
/**
|
3608
|
+
* The logo can be displayed as a circle.
|
3609
|
+
*
|
3610
|
+
* @defaultValue 'unset'
|
3611
|
+
*/
|
3612
|
+
shape?: 'unset' | 'circle';
|
3613
|
+
};
|
3614
|
+
/**
|
3615
|
+
* Background image displayed on the configuration page.
|
3616
|
+
*/
|
3617
|
+
backgroundImage?: {
|
3618
|
+
/**
|
3619
|
+
* URL for the background image.
|
3620
|
+
*
|
3621
|
+
* @remarks
|
3622
|
+
* Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
|
3623
|
+
*/
|
3624
|
+
url: string;
|
3625
|
+
};
|
3626
|
+
};
|
3627
|
+
/**
|
3628
|
+
* Options for settings related to spotlight.
|
3629
|
+
*/
|
3630
|
+
spotlight?: {
|
3631
|
+
/**
|
3632
|
+
* Flag to hide the menu buttons to start and stop spotlight for remote participants and the local participant.
|
3633
|
+
* @defaultValue false
|
3634
|
+
*/
|
3635
|
+
hideSpotlightButtons?: boolean;
|
3636
|
+
};
|
2660
3637
|
};
|
2661
3638
|
|
2662
3639
|
/**
|
@@ -2808,6 +3785,10 @@ export declare interface CallWithChatCompositeStrings {
|
|
2808
3785
|
* Label for button to copy invite link
|
2809
3786
|
*/
|
2810
3787
|
copyInviteLinkButtonLabel: string;
|
3788
|
+
/**
|
3789
|
+
* Label for button to open dialpad
|
3790
|
+
*/
|
3791
|
+
openDialpadButtonLabel: string;
|
2811
3792
|
/**
|
2812
3793
|
* Label for SidePaneHeader dismiss button
|
2813
3794
|
*/
|
@@ -2820,6 +3801,34 @@ export declare interface CallWithChatCompositeStrings {
|
|
2820
3801
|
* Aria label string for return to call back button
|
2821
3802
|
*/
|
2822
3803
|
returnToCallButtonAriaLabel?: string;
|
3804
|
+
/**
|
3805
|
+
* Label for add people dropdown
|
3806
|
+
*/
|
3807
|
+
peoplePaneAddPeopleButtonLabel: string;
|
3808
|
+
/**
|
3809
|
+
* Label for button to start a call
|
3810
|
+
*/
|
3811
|
+
dialpadStartCallButtonLabel: string;
|
3812
|
+
/**
|
3813
|
+
* Title for dialpad Modal
|
3814
|
+
*/
|
3815
|
+
dialpadModalTitle: string;
|
3816
|
+
/**
|
3817
|
+
* Aria Label for dialpad Modal
|
3818
|
+
*/
|
3819
|
+
dialpadModalAriaLabel: string;
|
3820
|
+
/**
|
3821
|
+
* Aria Label for dialpad Modal close button
|
3822
|
+
*/
|
3823
|
+
dialpadCloseModalButtonAriaLabel: string;
|
3824
|
+
/**
|
3825
|
+
* Placeholder text for dtmf dialpad
|
3826
|
+
*/
|
3827
|
+
dtmfDialpadPlaceholderText: string;
|
3828
|
+
/**
|
3829
|
+
* Label for the button to open dtmf dialpad
|
3830
|
+
*/
|
3831
|
+
openDtmfDialpadLabel: string;
|
2823
3832
|
/**
|
2824
3833
|
* aria label for when the invite link has been actioned
|
2825
3834
|
*/
|
@@ -2836,7 +3845,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2836
3845
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2837
3846
|
* @defaultValue true
|
2838
3847
|
*/
|
2839
|
-
chatButton?: boolean
|
3848
|
+
chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
3849
|
+
disabled: boolean;
|
3850
|
+
};
|
2840
3851
|
}
|
2841
3852
|
|
2842
3853
|
/**
|
@@ -2844,7 +3855,36 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2844
3855
|
*
|
2845
3856
|
* @public
|
2846
3857
|
*/
|
2847
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3858
|
+
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' | /* @conditional-compile-remove(spotlight) */ 'spotlightChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3859
|
+
|
3860
|
+
/**
|
3861
|
+
* @beta
|
3862
|
+
*
|
3863
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3864
|
+
* by their browsers settings.
|
3865
|
+
*/
|
3866
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
3867
|
+
|
3868
|
+
/**
|
3869
|
+
* @beta
|
3870
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
3871
|
+
*/
|
3872
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
3873
|
+
/** Icon name for the camera icon */
|
3874
|
+
cameraIconName?: string;
|
3875
|
+
/** Icon name for the microphone icon */
|
3876
|
+
microphoneIconName?: string;
|
3877
|
+
/** Icon name for the central icon between the camera and microphone icons */
|
3878
|
+
connectorIconName?: string;
|
3879
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
3880
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3881
|
+
}
|
3882
|
+
|
3883
|
+
/**
|
3884
|
+
* @beta
|
3885
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
3886
|
+
*/
|
3887
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2848
3888
|
|
2849
3889
|
/**
|
2850
3890
|
* A button to turn camera on / off.
|
@@ -3002,6 +4042,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
3002
4042
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3003
4043
|
}
|
3004
4044
|
|
4045
|
+
/**
|
4046
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4047
|
+
* by their browsers settings.
|
4048
|
+
*
|
4049
|
+
* @beta
|
4050
|
+
*/
|
4051
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
4052
|
+
|
4053
|
+
/**
|
4054
|
+
* @beta
|
4055
|
+
* Props for CameraSitePermissions component.
|
4056
|
+
*/
|
4057
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
4058
|
+
/** Icon name for the camera icon */
|
4059
|
+
cameraIconName?: string;
|
4060
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
4061
|
+
strings?: CameraSitePermissionsStrings;
|
4062
|
+
}
|
4063
|
+
|
4064
|
+
/**
|
4065
|
+
* @beta
|
4066
|
+
* Strings for CameraSitePermissions component.
|
4067
|
+
*/
|
4068
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
4069
|
+
|
3005
4070
|
/**
|
3006
4071
|
* @public
|
3007
4072
|
* Callback function run when a message edit is cancelled.
|
@@ -3207,7 +4272,7 @@ export declare type CaptionsReceivedListener = (event: {
|
|
3207
4272
|
*
|
3208
4273
|
* @public
|
3209
4274
|
*/
|
3210
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
|
4275
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers & FileUploadAdapter;
|
3211
4276
|
|
3212
4277
|
/**
|
3213
4278
|
* {@link ChatAdapter} state.
|
@@ -3331,7 +4396,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
3331
4396
|
/**
|
3332
4397
|
* Update a message content.
|
3333
4398
|
*/
|
3334
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
4399
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
4400
|
+
attachmentMetadata?: AttachmentMetadata[];
|
4401
|
+
}): Promise<void>;
|
3335
4402
|
/**
|
3336
4403
|
* Delete a message in the thread.
|
3337
4404
|
*/
|
@@ -3344,6 +4411,14 @@ export declare interface ChatAdapterThreadManagement {
|
|
3344
4411
|
*
|
3345
4412
|
*/
|
3346
4413
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
4414
|
+
/**
|
4415
|
+
* Downloads a resource into the cache for the given message.
|
4416
|
+
*/
|
4417
|
+
downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
|
4418
|
+
/**
|
4419
|
+
* Removes a resource from the cache for the given message.
|
4420
|
+
*/
|
4421
|
+
removeResourceFromCache(resourceDetails: ResourceDetails): void;
|
3347
4422
|
}
|
3348
4423
|
|
3349
4424
|
/**
|
@@ -3353,8 +4428,21 @@ export declare interface ChatAdapterThreadManagement {
|
|
3353
4428
|
*/
|
3354
4429
|
export declare type ChatAdapterUiState = {
|
3355
4430
|
error?: Error;
|
4431
|
+
/**
|
4432
|
+
* Files being uploaded by a user in the current thread.
|
4433
|
+
* Should be set to null once the upload is complete.
|
4434
|
+
* Array of type {@link FileUploadsUiState}
|
4435
|
+
* @beta
|
4436
|
+
*/
|
4437
|
+
fileUploads?: FileUploadsUiState;
|
3356
4438
|
};
|
3357
4439
|
|
4440
|
+
/**
|
4441
|
+
* Represents the type of attachment
|
4442
|
+
* @beta
|
4443
|
+
*/
|
4444
|
+
export declare type ChatAttachmentType = 'unknown' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | /* @conditional-compile-remove(file-sharing) */ 'file';
|
4445
|
+
|
3358
4446
|
/**
|
3359
4447
|
* Common props for selectors for {@link ChatClientState}.
|
3360
4448
|
*
|
@@ -3455,6 +4543,7 @@ export declare type ChatCompositeIcons = {
|
|
3455
4543
|
ParticipantItemOptionsHovered?: JSX.Element;
|
3456
4544
|
SendBoxSend?: JSX.Element;
|
3457
4545
|
SendBoxSendHovered?: JSX.Element;
|
4546
|
+
SendBoxAttachFile?: JSX.Element;
|
3458
4547
|
};
|
3459
4548
|
|
3460
4549
|
/**
|
@@ -3470,15 +4559,28 @@ export declare type ChatCompositeOptions = {
|
|
3470
4559
|
*/
|
3471
4560
|
errorBar?: boolean;
|
3472
4561
|
/**
|
3473
|
-
* Show or hide the
|
3474
|
-
* @defaultValue
|
3475
|
-
|
3476
|
-
|
4562
|
+
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
4563
|
+
* @defaultValue false
|
4564
|
+
*
|
4565
|
+
* @beta
|
4566
|
+
*/
|
4567
|
+
participantPane?: boolean;
|
4568
|
+
/**
|
4569
|
+
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
4570
|
+
* @defaultValue true
|
4571
|
+
*/
|
4572
|
+
topic?: boolean;
|
3477
4573
|
/**
|
3478
4574
|
* enumerable to determine if the input box has focus on render or not.
|
3479
4575
|
* When undefined nothing has focus on render
|
3480
4576
|
*/
|
3481
4577
|
autoFocus?: 'sendBoxTextField';
|
4578
|
+
/**
|
4579
|
+
* Properties for configuring the File Sharing feature.
|
4580
|
+
* If undefined, file sharing feature will be disabled.
|
4581
|
+
* @beta
|
4582
|
+
*/
|
4583
|
+
fileSharing?: FileSharingOptions;
|
3482
4584
|
};
|
3483
4585
|
|
3484
4586
|
/**
|
@@ -3506,6 +4608,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
3506
4608
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
3507
4609
|
*/
|
3508
4610
|
options?: ChatCompositeOptions;
|
4611
|
+
/**
|
4612
|
+
* Optimizes the composite form factor for either desktop or mobile.
|
4613
|
+
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
4614
|
+
* @defaultValue 'desktop'
|
4615
|
+
*/
|
4616
|
+
formFactor?: 'desktop' | 'mobile';
|
3509
4617
|
}
|
3510
4618
|
|
3511
4619
|
/**
|
@@ -3520,6 +4628,10 @@ export declare interface ChatCompositeStrings {
|
|
3520
4628
|
* Chat list header text
|
3521
4629
|
*/
|
3522
4630
|
chatListHeader: string;
|
4631
|
+
/**
|
4632
|
+
* Upload File Button text
|
4633
|
+
*/
|
4634
|
+
uploadFile: string;
|
3523
4635
|
}
|
3524
4636
|
|
3525
4637
|
/**
|
@@ -3568,7 +4680,7 @@ export declare type ChatErrors = {
|
|
3568
4680
|
*
|
3569
4681
|
* @public
|
3570
4682
|
*/
|
3571
|
-
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';
|
4683
|
+
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';
|
3572
4684
|
|
3573
4685
|
/**
|
3574
4686
|
* Object containing all the handlers required for chat components.
|
@@ -3585,7 +4697,10 @@ export declare type ChatHandlers = {
|
|
3585
4697
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
3586
4698
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
3587
4699
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
3588
|
-
onUpdateMessage: (messageId: string, content: string
|
4700
|
+
onUpdateMessage: (messageId: string, content: string, options?: {
|
4701
|
+
metadata?: Record<string, string>;
|
4702
|
+
attachmentMetadata?: AttachmentMetadata[];
|
4703
|
+
}) => Promise<void>;
|
3589
4704
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
3590
4705
|
};
|
3591
4706
|
|
@@ -3612,6 +4727,18 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3612
4727
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
3613
4728
|
*/
|
3614
4729
|
metadata?: Record<string, string>;
|
4730
|
+
/**
|
4731
|
+
* @beta
|
4732
|
+
* A list of file attachments for the message.
|
4733
|
+
* {@link FileMetadata}
|
4734
|
+
*/
|
4735
|
+
files?: FileMetadata[];
|
4736
|
+
/**
|
4737
|
+
* @beta
|
4738
|
+
* A list of inline images embedded in the message.
|
4739
|
+
* {@link InlineImageMetadata}
|
4740
|
+
*/
|
4741
|
+
inlineImages?: InlineImageMetadata[];
|
3615
4742
|
}
|
3616
4743
|
|
3617
4744
|
/**
|
@@ -3625,6 +4752,8 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3625
4752
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3626
4753
|
clientMessageId?: string;
|
3627
4754
|
status: MessageStatus;
|
4755
|
+
policyViolation?: boolean;
|
4756
|
+
resourceCache?: Record<string, string>;
|
3628
4757
|
};
|
3629
4758
|
|
3630
4759
|
/**
|
@@ -3790,10 +4919,21 @@ export declare type CommonCallAdapterOptions = {
|
|
3790
4919
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3791
4920
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
3792
4921
|
};
|
4922
|
+
/**
|
4923
|
+
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
4924
|
+
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
4925
|
+
* and would not be updated again within the lifecycle of adapter.
|
4926
|
+
*/
|
4927
|
+
onFetchProfile?: OnFetchProfileCallback;
|
3793
4928
|
/**
|
3794
4929
|
* Sounds to use for calling events
|
3795
4930
|
*/
|
3796
4931
|
callingSounds?: CallingSounds;
|
4932
|
+
/**
|
4933
|
+
* Reaction resource for reaction resources
|
4934
|
+
* @beta
|
4935
|
+
*/
|
4936
|
+
reactionResources?: ReactionResources;
|
3797
4937
|
};
|
3798
4938
|
|
3799
4939
|
/**
|
@@ -3816,7 +4956,9 @@ export declare type CommonCallControlOptions = {
|
|
3816
4956
|
* Show or Hide Camera Button during a call
|
3817
4957
|
* @defaultValue true
|
3818
4958
|
*/
|
3819
|
-
cameraButton?: boolean
|
4959
|
+
cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4960
|
+
disabled: boolean;
|
4961
|
+
};
|
3820
4962
|
/**
|
3821
4963
|
* Show or Hide EndCall button during a call.
|
3822
4964
|
* @defaultValue true
|
@@ -3826,12 +4968,16 @@ export declare type CommonCallControlOptions = {
|
|
3826
4968
|
* Show or Hide Microphone button during a call.
|
3827
4969
|
* @defaultValue true
|
3828
4970
|
*/
|
3829
|
-
microphoneButton?: boolean
|
4971
|
+
microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4972
|
+
disabled: boolean;
|
4973
|
+
};
|
3830
4974
|
/**
|
3831
4975
|
* Show or Hide Devices button during a call.
|
3832
4976
|
* @defaultValue true
|
3833
4977
|
*/
|
3834
|
-
devicesButton?: boolean
|
4978
|
+
devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
4979
|
+
disabled: boolean;
|
4980
|
+
};
|
3835
4981
|
/**
|
3836
4982
|
* Show, Hide or Disable participants button during a call.
|
3837
4983
|
* @defaultValue true
|
@@ -3858,21 +5004,37 @@ export declare type CommonCallControlOptions = {
|
|
3858
5004
|
raiseHandButton?: boolean | {
|
3859
5005
|
disabled: boolean;
|
3860
5006
|
};
|
5007
|
+
/**
|
5008
|
+
* Show, Hide or Disable the reaction button during a call.
|
5009
|
+
* @defaultValue true
|
5010
|
+
*/
|
5011
|
+
reactionButton?: boolean | {
|
5012
|
+
disabled: boolean;
|
5013
|
+
};
|
3861
5014
|
/**
|
3862
5015
|
* Inject custom buttons in the call controls.
|
3863
5016
|
*/
|
3864
5017
|
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
5018
|
+
holdButton?: boolean | {
|
5019
|
+
disabled: boolean;
|
5020
|
+
};
|
3865
5021
|
/**
|
3866
5022
|
* Show or hide the people button in the composite control bar.
|
3867
5023
|
* @defaultValue true
|
3868
5024
|
*/
|
3869
|
-
peopleButton?: boolean
|
5025
|
+
peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
|
5026
|
+
disabled: boolean;
|
5027
|
+
};
|
3870
5028
|
/**
|
3871
5029
|
* Show or hide the dialpad button in the composite control bar.
|
3872
5030
|
*/
|
3873
5031
|
dtmfDialerButton?: boolean | {
|
3874
5032
|
disabled: boolean;
|
3875
5033
|
};
|
5034
|
+
/**
|
5035
|
+
* Show or hide the exit spotlight button in the composite control bar when local participant is spotlighted.
|
5036
|
+
*/
|
5037
|
+
exitSpotlightButton?: boolean;
|
3876
5038
|
};
|
3877
5039
|
|
3878
5040
|
/**
|
@@ -3897,6 +5059,13 @@ export declare interface CommonCallingHandlers {
|
|
3897
5059
|
onRaiseHand: () => Promise<void>;
|
3898
5060
|
onLowerHand: () => Promise<void>;
|
3899
5061
|
onToggleRaiseHand: () => Promise<void>;
|
5062
|
+
/**
|
5063
|
+
* @beta
|
5064
|
+
*/
|
5065
|
+
onReactionClick: (reaction: Reaction_2) => Promise<void>;
|
5066
|
+
onToggleHold: () => Promise<void>;
|
5067
|
+
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
5068
|
+
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
3900
5069
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3901
5070
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3902
5071
|
/**
|
@@ -3908,6 +5077,8 @@ export declare interface CommonCallingHandlers {
|
|
3908
5077
|
onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
|
3909
5078
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3910
5079
|
onRemoveParticipant(userId: string): Promise<void>;
|
5080
|
+
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
5081
|
+
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
3911
5082
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
3912
5083
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
3913
5084
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
@@ -3916,6 +5087,9 @@ export declare interface CommonCallingHandlers {
|
|
3916
5087
|
onStopCaptions: () => Promise<void>;
|
3917
5088
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
3918
5089
|
onSetCaptionLanguage: (language: string) => Promise<void>;
|
5090
|
+
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
5091
|
+
onStartSpotlight: (userIds?: string[]) => Promise<void>;
|
5092
|
+
onStopSpotlight: (userIds?: string[]) => Promise<void>;
|
3919
5093
|
}
|
3920
5094
|
|
3921
5095
|
/**
|
@@ -3927,6 +5101,39 @@ export declare type CommonProperties<A, B> = {
|
|
3927
5101
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3928
5102
|
}[keyof A & keyof B];
|
3929
5103
|
|
5104
|
+
/**
|
5105
|
+
* @beta
|
5106
|
+
* Props for SitePermissions components.
|
5107
|
+
*/
|
5108
|
+
export declare interface CommonSitePermissionsProps {
|
5109
|
+
/**
|
5110
|
+
* Name of application calling experience is in.
|
5111
|
+
*/
|
5112
|
+
appName: string;
|
5113
|
+
/**
|
5114
|
+
* Kind of the Site Permissions component.
|
5115
|
+
*/
|
5116
|
+
kind: 'request' | 'denied' | 'check';
|
5117
|
+
/**
|
5118
|
+
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
5119
|
+
*/
|
5120
|
+
browserHint?: 'safari' | 'unset';
|
5121
|
+
/**
|
5122
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
5123
|
+
* If this is not provided the button will not be shown.
|
5124
|
+
*/
|
5125
|
+
onTroubleshootingClick?: () => void;
|
5126
|
+
/**
|
5127
|
+
* Action that is taken when the user clicks the continue anyway button.
|
5128
|
+
* If this is not provided the button will not be shown.
|
5129
|
+
*/
|
5130
|
+
onContinueAnywayClick?: () => void;
|
5131
|
+
/**
|
5132
|
+
* Styles for SitePermissions component.
|
5133
|
+
*/
|
5134
|
+
styles?: SitePermissionsStyles;
|
5135
|
+
}
|
5136
|
+
|
3930
5137
|
/**
|
3931
5138
|
* A Chat or Calling participant's state, as reflected in the UI.
|
3932
5139
|
*
|
@@ -4103,6 +5310,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4103
5310
|
export declare interface ComponentLocale {
|
4104
5311
|
/** Strings for components */
|
4105
5312
|
strings: ComponentStrings;
|
5313
|
+
/**
|
5314
|
+
* Optional function to provide customized date format.
|
5315
|
+
* @beta
|
5316
|
+
*/
|
5317
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4106
5318
|
}
|
4107
5319
|
|
4108
5320
|
/**
|
@@ -4144,10 +5356,21 @@ export declare interface ComponentStrings {
|
|
4144
5356
|
screenShareButton: ScreenShareButtonStrings;
|
4145
5357
|
/** Strings for RaiseHandButton */
|
4146
5358
|
raiseHandButton: RaiseHandButtonStrings;
|
5359
|
+
/**
|
5360
|
+
* Strings for ReactionButton
|
5361
|
+
* @beta
|
5362
|
+
* */
|
5363
|
+
reactionButton: ReactionButtonStrings;
|
4147
5364
|
/** Strings for TypingIndicator */
|
4148
5365
|
typingIndicator: TypingIndicatorStrings;
|
4149
5366
|
/** Strings for SendBox */
|
4150
5367
|
sendBox: SendBoxStrings;
|
5368
|
+
/** Strings for RTESendBox */
|
5369
|
+
richTextSendBox: RichTextSendBoxStrings;
|
5370
|
+
/** Strings for MentionPopover */
|
5371
|
+
mentionPopover: MentionPopoverStrings;
|
5372
|
+
/** Strings for ImageOverlay */
|
5373
|
+
imageOverlay: ImageOverlayStrings;
|
4151
5374
|
/** Strings for MessageStatusIndicator */
|
4152
5375
|
messageStatusIndicator: MessageStatusIndicatorStrings;
|
4153
5376
|
/** Strings for ErroBar */
|
@@ -4156,10 +5379,50 @@ export declare interface ComponentStrings {
|
|
4156
5379
|
videoGallery: VideoGalleryStrings;
|
4157
5380
|
/** Strings for Dialpad */
|
4158
5381
|
dialpad: DialpadStrings;
|
5382
|
+
/** Strings for VideoTile */
|
5383
|
+
videoTile: VideoTileStrings;
|
5384
|
+
/** Strings for HoldButton */
|
5385
|
+
holdButton: HoldButtonStrings;
|
5386
|
+
/** Strings for a site's permission request prompt */
|
5387
|
+
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5388
|
+
/** Strings for a site's permission request prompt */
|
5389
|
+
CameraSitePermissionsRequest: SitePermissionsStrings;
|
5390
|
+
/** Strings for a site's permission request prompt */
|
5391
|
+
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
5392
|
+
/** Strings for a site's permission generic checking prompt */
|
5393
|
+
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5394
|
+
/** Strings for a site's permission generic checking prompt */
|
5395
|
+
CameraSitePermissionsCheck: SitePermissionsStrings;
|
5396
|
+
/** Strings for a site's permission generic checking prompt */
|
5397
|
+
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
5398
|
+
/** Strings for a site's permission denied prompt */
|
5399
|
+
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5400
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5401
|
+
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5402
|
+
/** Strings for a site's permission denied prompt */
|
5403
|
+
CameraSitePermissionsDenied: SitePermissionsStrings;
|
5404
|
+
/** Strings for a site's permission denied prompt */
|
5405
|
+
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
5406
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5407
|
+
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5408
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
5409
|
+
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
5410
|
+
/** Strings for unsupported browser UI */
|
5411
|
+
UnsupportedBrowser: UnsupportedBrowserStrings;
|
5412
|
+
/** Strings for unsupported browser version UI */
|
5413
|
+
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
5414
|
+
/** Strings for unsupported browser version UI */
|
5415
|
+
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
5416
|
+
/** Strings for BrowserPemissionDenied */
|
5417
|
+
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
5418
|
+
/** Strings for BrowserPemissionDeniedIOS */
|
5419
|
+
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4159
5420
|
/**
|
4160
5421
|
* Strings for the VerticalGallery.
|
4161
5422
|
*/
|
4162
5423
|
verticalGallery: VerticalGalleryStrings;
|
5424
|
+
/** Strings for the participant list component */
|
5425
|
+
ParticipantList: ParticipantListStrings;
|
4163
5426
|
}
|
4164
5427
|
|
4165
5428
|
/**
|
@@ -4543,7 +5806,7 @@ export declare function createAzureCommunicationCallAdapter(args: AzureCommunica
|
|
4543
5806
|
*
|
4544
5807
|
* @public
|
4545
5808
|
*/
|
4546
|
-
export declare function createAzureCommunicationCallAdapterFromClient(callClient: StatefulCallClient, callAgent: CallAgent, targetCallees: StartCallIdentifier[],
|
5809
|
+
export declare function createAzureCommunicationCallAdapterFromClient(callClient: StatefulCallClient, callAgent: CallAgent, targetCallees: StartCallIdentifier[], options?: AzureCommunicationCallAdapterOptions): Promise<CallAdapter>;
|
4547
5810
|
|
4548
5811
|
/**
|
4549
5812
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4553,7 +5816,7 @@ export declare function createAzureCommunicationCallAdapterFromClient(callClient
|
|
4553
5816
|
*
|
4554
5817
|
* @public
|
4555
5818
|
*/
|
4556
|
-
export declare function createAzureCommunicationCallAdapterFromClient(callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator,
|
5819
|
+
export declare function createAzureCommunicationCallAdapterFromClient(callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions): Promise<CallAdapter>;
|
4557
5820
|
|
4558
5821
|
/**
|
4559
5822
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -4561,7 +5824,7 @@ export declare function createAzureCommunicationCallAdapterFromClient(callClient
|
|
4561
5824
|
*
|
4562
5825
|
* @public
|
4563
5826
|
*/
|
4564
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
5827
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
4565
5828
|
|
4566
5829
|
/**
|
4567
5830
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -4598,7 +5861,7 @@ export declare function createAzureCommunicationChatAdapterFromClient(chatClient
|
|
4598
5861
|
*
|
4599
5862
|
* @public
|
4600
5863
|
*/
|
4601
|
-
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined,
|
5864
|
+
export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, options?: CallingHandlersOptions) => CallingHandlers;
|
4602
5865
|
|
4603
5866
|
/**
|
4604
5867
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -4622,6 +5885,18 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
|
|
4622
5885
|
*/
|
4623
5886
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
4624
5887
|
|
5888
|
+
/**
|
5889
|
+
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
5890
|
+
*
|
5891
|
+
* Useful when implementing a custom component that utilizes the providers
|
5892
|
+
* exported from this library.
|
5893
|
+
*
|
5894
|
+
* @beta
|
5895
|
+
*/
|
5896
|
+
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?: {
|
5897
|
+
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
5898
|
+
}) => never | TeamsCallingHandlers;
|
5899
|
+
|
4625
5900
|
/**
|
4626
5901
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
4627
5902
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -4647,6 +5922,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4647
5922
|
*/
|
4648
5923
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
|
4649
5924
|
|
5925
|
+
/**
|
5926
|
+
* @beta
|
5927
|
+
*/
|
5928
|
+
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
5929
|
+
|
5930
|
+
/**
|
5931
|
+
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
5932
|
+
*
|
5933
|
+
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
5934
|
+
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
5935
|
+
*
|
5936
|
+
* @beta
|
5937
|
+
*/
|
5938
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
5939
|
+
|
4650
5940
|
/**
|
4651
5941
|
* Object returned after creating a local or remote VideoStream.
|
4652
5942
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -4697,6 +5987,13 @@ export declare type CustomAvatarOptions = {
|
|
4697
5987
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
4698
5988
|
/** Display name to be used in Persona */
|
4699
5989
|
text?: string;
|
5990
|
+
/** State for the participant to be displayed in the defaultPlaceHolder */
|
5991
|
+
participantState?: ParticipantState;
|
5992
|
+
/**
|
5993
|
+
* If true, show the special coin for unknown persona.
|
5994
|
+
* It has '?' in place of initials, with static font and background colors
|
5995
|
+
*/
|
5996
|
+
showUnknownPersonaCoin?: boolean;
|
4700
5997
|
};
|
4701
5998
|
|
4702
5999
|
/**
|
@@ -4824,6 +6121,18 @@ export declare interface CustomMessage extends MessageCommon {
|
|
4824
6121
|
*/
|
4825
6122
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
4826
6123
|
|
6124
|
+
/**
|
6125
|
+
* @beta
|
6126
|
+
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
6127
|
+
*/
|
6128
|
+
export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
|
6129
|
+
|
6130
|
+
/**
|
6131
|
+
* @beta
|
6132
|
+
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
6133
|
+
*/
|
6134
|
+
export declare type DeclarativeIncomingCall = IncomingCall;
|
6135
|
+
|
4827
6136
|
/**
|
4828
6137
|
* The default set of icons that are available to use in the UI components.
|
4829
6138
|
*
|
@@ -4847,6 +6156,10 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4847
6156
|
ControlButtonLowerHand: React_2.JSX.Element;
|
4848
6157
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
4849
6158
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
6159
|
+
ReactionButtonIcon: React_2.JSX.Element;
|
6160
|
+
CancelFileUpload: React_2.JSX.Element;
|
6161
|
+
DownloadFile: React_2.JSX.Element;
|
6162
|
+
DataLossPreventionProhibited: React_2.JSX.Element;
|
4850
6163
|
EditBoxCancel: React_2.JSX.Element;
|
4851
6164
|
EditBoxSubmit: React_2.JSX.Element;
|
4852
6165
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -4879,10 +6192,21 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4879
6192
|
ParticipantItemOptions: React_2.JSX.Element;
|
4880
6193
|
ParticipantItemOptionsHovered: React_2.JSX.Element;
|
4881
6194
|
ParticipantItemScreenShareStart: React_2.JSX.Element;
|
6195
|
+
ParticipantItemSpotlighted: React_2.JSX.Element;
|
6196
|
+
HoldCallContextualMenuItem: React_2.JSX.Element;
|
6197
|
+
HoldCallButton: React_2.JSX.Element;
|
6198
|
+
ResumeCall: React_2.JSX.Element;
|
4882
6199
|
SendBoxSend: React_2.JSX.Element;
|
4883
6200
|
SendBoxSendHovered: React_2.JSX.Element;
|
4884
6201
|
VideoTileMicOff: React_2.JSX.Element;
|
4885
6202
|
DialpadBackspace: React_2.JSX.Element;
|
6203
|
+
SitePermissionsSparkle: React_2.JSX.Element;
|
6204
|
+
SitePermissionCamera: React_2.JSX.Element;
|
6205
|
+
SitePermissionMic: React_2.JSX.Element;
|
6206
|
+
SitePermissionCameraDenied: React_2.JSX.Element;
|
6207
|
+
SitePermissionMicDenied: React_2.JSX.Element;
|
6208
|
+
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
6209
|
+
BrowserPermissionDeniedError: React_2.JSX.Element;
|
4886
6210
|
VideoTilePinned: React_2.JSX.Element;
|
4887
6211
|
VideoTileMoreOptions: React_2.JSX.Element;
|
4888
6212
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -4905,6 +6229,19 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4905
6229
|
ContextMenuCameraIcon: React_2.JSX.Element;
|
4906
6230
|
ContextMenuMicIcon: React_2.JSX.Element;
|
4907
6231
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6232
|
+
SurveyStarIcon: React_2.JSX.Element;
|
6233
|
+
SurveyStarIconFilled: React_2.JSX.Element;
|
6234
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6235
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6236
|
+
VideoSpotlighted: React_2.JSX.Element;
|
6237
|
+
RTEBoldButtonIcon: React_2.JSX.Element;
|
6238
|
+
RTEItalicButtonIcon: React_2.JSX.Element;
|
6239
|
+
RTEUnderlineButtonIcon: React_2.JSX.Element;
|
6240
|
+
RTEBulletListButtonIcon: React_2.JSX.Element;
|
6241
|
+
RTEtNumberListButtonIcon: React_2.JSX.Element;
|
6242
|
+
RTEIndentDecreaseButtonIcon: React_2.JSX.Element;
|
6243
|
+
RTEIndentIncreaseButtonIcon: React_2.JSX.Element;
|
6244
|
+
RTEDividerIcon: React_2.JSX.Element;
|
4908
6245
|
};
|
4909
6246
|
|
4910
6247
|
/**
|
@@ -4925,6 +6262,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4925
6262
|
ParticipantItemOptionsHovered: JSX.Element;
|
4926
6263
|
SendBoxSend: JSX.Element;
|
4927
6264
|
SendBoxSendHovered: JSX.Element;
|
6265
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
4928
6266
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
4929
6267
|
ControlButtonCameraOff: JSX.Element;
|
4930
6268
|
ControlButtonCameraOn: JSX.Element;
|
@@ -4939,8 +6277,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4939
6277
|
ControlButtonMicProhibited?: JSX.Element | undefined;
|
4940
6278
|
ControlButtonRaiseHand: JSX.Element;
|
4941
6279
|
ControlButtonLowerHand: JSX.Element;
|
6280
|
+
ControlButtonExitSpotlight?: JSX.Element | undefined;
|
4942
6281
|
RaiseHandContextualMenuItem: JSX.Element;
|
6282
|
+
ReactionContextualMenuItem?: JSX.Element | undefined;
|
4943
6283
|
LowerHandContextualMenuItem: JSX.Element;
|
6284
|
+
ReactionButtonIcon: JSX.Element;
|
4944
6285
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
4945
6286
|
ErrorBarCallCameraAlreadyInUse: JSX.Element;
|
4946
6287
|
ErrorBarCallLocalVideoFreeze: JSX.Element;
|
@@ -4979,6 +6320,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4979
6320
|
ParticipantItemScreenShareStart: JSX.Element;
|
4980
6321
|
VideoTileMicOff: JSX.Element;
|
4981
6322
|
LocalCameraSwitch?: JSX.Element | undefined;
|
6323
|
+
PeoplePaneAddPerson?: JSX.Element | undefined;
|
6324
|
+
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
6325
|
+
DialpadStartCall?: JSX.Element | undefined;
|
4982
6326
|
NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
|
4983
6327
|
BlurVideoBackground?: JSX.Element | undefined;
|
4984
6328
|
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
@@ -5000,13 +6344,26 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5000
6344
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5001
6345
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5002
6346
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
5003
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5004
6347
|
ChatMessageOptions: React_2.JSX.Element;
|
5005
6348
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
6349
|
+
CancelFileUpload: React_2.JSX.Element;
|
6350
|
+
DownloadFile: React_2.JSX.Element;
|
6351
|
+
DataLossPreventionProhibited: React_2.JSX.Element;
|
5006
6352
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
5007
6353
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
5008
6354
|
MessageResend: React_2.JSX.Element;
|
6355
|
+
ParticipantItemSpotlighted: React_2.JSX.Element;
|
6356
|
+
HoldCallContextualMenuItem: React_2.JSX.Element;
|
6357
|
+
HoldCallButton: React_2.JSX.Element;
|
6358
|
+
ResumeCall: React_2.JSX.Element;
|
5009
6359
|
DialpadBackspace: React_2.JSX.Element;
|
6360
|
+
SitePermissionsSparkle: React_2.JSX.Element;
|
6361
|
+
SitePermissionCamera: React_2.JSX.Element;
|
6362
|
+
SitePermissionMic: React_2.JSX.Element;
|
6363
|
+
SitePermissionCameraDenied: React_2.JSX.Element;
|
6364
|
+
SitePermissionMicDenied: React_2.JSX.Element;
|
6365
|
+
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
6366
|
+
BrowserPermissionDeniedError: React_2.JSX.Element;
|
5010
6367
|
VideoTilePinned: React_2.JSX.Element;
|
5011
6368
|
VideoTileMoreOptions: React_2.JSX.Element;
|
5012
6369
|
VideoTileScaleFit: React_2.JSX.Element;
|
@@ -5029,8 +6386,44 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5029
6386
|
ContextMenuCameraIcon: React_2.JSX.Element;
|
5030
6387
|
ContextMenuMicIcon: React_2.JSX.Element;
|
5031
6388
|
ContextMenuSpeakerIcon: React_2.JSX.Element;
|
6389
|
+
SurveyStarIcon: React_2.JSX.Element;
|
6390
|
+
SurveyStarIconFilled: React_2.JSX.Element;
|
6391
|
+
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
6392
|
+
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
6393
|
+
VideoSpotlighted: React_2.JSX.Element;
|
6394
|
+
RTEBoldButtonIcon: React_2.JSX.Element;
|
6395
|
+
RTEItalicButtonIcon: React_2.JSX.Element;
|
6396
|
+
RTEUnderlineButtonIcon: React_2.JSX.Element;
|
6397
|
+
RTEBulletListButtonIcon: React_2.JSX.Element;
|
6398
|
+
RTEtNumberListButtonIcon: React_2.JSX.Element;
|
6399
|
+
RTEIndentDecreaseButtonIcon: React_2.JSX.Element;
|
6400
|
+
RTEIndentIncreaseButtonIcon: React_2.JSX.Element;
|
6401
|
+
RTEDividerIcon: React_2.JSX.Element;
|
5032
6402
|
};
|
5033
6403
|
|
6404
|
+
/**
|
6405
|
+
* Device Checks.
|
6406
|
+
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
6407
|
+
*
|
6408
|
+
* @beta
|
6409
|
+
*/
|
6410
|
+
export declare interface DeviceCheckOptions {
|
6411
|
+
/**
|
6412
|
+
* Camera Permission prompts for your call.
|
6413
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6414
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6415
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6416
|
+
*/
|
6417
|
+
camera: 'required' | 'optional' | 'doNotPrompt';
|
6418
|
+
/**
|
6419
|
+
* Microphone permission prompts for your call.
|
6420
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
6421
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
6422
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
6423
|
+
*/
|
6424
|
+
microphone: 'required' | 'optional' | 'doNotPrompt';
|
6425
|
+
}
|
6426
|
+
|
5034
6427
|
/**
|
5035
6428
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
5036
6429
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -5608,6 +7001,10 @@ export declare interface ErrorBarStrings {
|
|
5608
7001
|
* Unable to start effect
|
5609
7002
|
*/
|
5610
7003
|
unableToStartVideoEffect?: string;
|
7004
|
+
/**
|
7005
|
+
* An error message when starting spotlight while max participants are spotlighted
|
7006
|
+
*/
|
7007
|
+
startSpotlightWhileMaxParticipantsAreSpotlighted: string;
|
5611
7008
|
}
|
5612
7009
|
|
5613
7010
|
/**
|
@@ -5617,6 +7014,206 @@ export declare interface ErrorBarStrings {
|
|
5617
7014
|
*/
|
5618
7015
|
export declare type ErrorType = keyof ErrorBarStrings;
|
5619
7016
|
|
7017
|
+
/**
|
7018
|
+
* @beta
|
7019
|
+
* A file download error returned via a {@link FileDownloadHandler}.
|
7020
|
+
* This error message is used to render an error message in the UI.
|
7021
|
+
*/
|
7022
|
+
export declare interface FileDownloadError {
|
7023
|
+
/** The error message to display in the UI */
|
7024
|
+
errorMessage: string;
|
7025
|
+
}
|
7026
|
+
|
7027
|
+
/**
|
7028
|
+
* @beta
|
7029
|
+
*
|
7030
|
+
* A callback function for handling file downloads.
|
7031
|
+
* The function needs to return a promise that resolves to a file download URL.
|
7032
|
+
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
7033
|
+
*
|
7034
|
+
* @example
|
7035
|
+
* ```ts
|
7036
|
+
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
7037
|
+
* if (isUnauthorizedUser(userId)) {
|
7038
|
+
* return { errorMessage: 'You don’t have permission to download this file.' };
|
7039
|
+
* } else {
|
7040
|
+
* return new URL(fileData.url);
|
7041
|
+
* }
|
7042
|
+
* }
|
7043
|
+
*
|
7044
|
+
* const App = () => (
|
7045
|
+
* <ChatComposite
|
7046
|
+
* ...
|
7047
|
+
* fileSharing={{
|
7048
|
+
* fileDownloadHandler: fileDownloadHandler
|
7049
|
+
* }}
|
7050
|
+
* />
|
7051
|
+
* )
|
7052
|
+
*
|
7053
|
+
* ```
|
7054
|
+
* @param userId - The user ID of the user downloading the file.
|
7055
|
+
* @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
|
7056
|
+
*/
|
7057
|
+
export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
|
7058
|
+
|
7059
|
+
/**
|
7060
|
+
* Metadata containing basic information about the uploaded file.
|
7061
|
+
*
|
7062
|
+
* @beta
|
7063
|
+
*/
|
7064
|
+
export declare interface FileMetadata {
|
7065
|
+
attachmentType: 'file';
|
7066
|
+
/**
|
7067
|
+
* Extension hint, useful for rendering a specific icon.
|
7068
|
+
* An unknown or empty extension will be rendered as a generic icon.
|
7069
|
+
* Example: `pdf`
|
7070
|
+
*/
|
7071
|
+
extension: string;
|
7072
|
+
/**
|
7073
|
+
* Unique ID of the file.
|
7074
|
+
*/
|
7075
|
+
id: string;
|
7076
|
+
/**
|
7077
|
+
* File name to be displayed.
|
7078
|
+
*/
|
7079
|
+
name: string;
|
7080
|
+
/**
|
7081
|
+
* Download URL for the file.
|
7082
|
+
*/
|
7083
|
+
url: string;
|
7084
|
+
payload?: Record<string, string>;
|
7085
|
+
}
|
7086
|
+
|
7087
|
+
/**
|
7088
|
+
* Properties for configuring the File Sharing feature.
|
7089
|
+
* @beta
|
7090
|
+
*/
|
7091
|
+
export declare interface FileSharingOptions {
|
7092
|
+
/**
|
7093
|
+
* A string containing the comma separated list of accepted file types.
|
7094
|
+
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
7095
|
+
* Accepts any type of file if not specified.
|
7096
|
+
* @beta
|
7097
|
+
*/
|
7098
|
+
accept?: string;
|
7099
|
+
/**
|
7100
|
+
* Allows multiple files to be selected if set to `true`.
|
7101
|
+
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
7102
|
+
* @defaultValue false
|
7103
|
+
* @beta
|
7104
|
+
*/
|
7105
|
+
multiple?: boolean;
|
7106
|
+
/**
|
7107
|
+
* A function of type {@link FileUploadHandler} for handling file uploads.
|
7108
|
+
* @beta
|
7109
|
+
*/
|
7110
|
+
uploadHandler: FileUploadHandler;
|
7111
|
+
/**
|
7112
|
+
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
7113
|
+
* If the function is not specified, the file's `url` will be opened in a new tab to
|
7114
|
+
* initiate the download.
|
7115
|
+
*/
|
7116
|
+
downloadHandler?: FileDownloadHandler;
|
7117
|
+
}
|
7118
|
+
|
7119
|
+
/**
|
7120
|
+
* @beta
|
7121
|
+
*/
|
7122
|
+
export declare interface FileUploadAdapter {
|
7123
|
+
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
7124
|
+
registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
|
7125
|
+
clearFileUploads: () => void;
|
7126
|
+
cancelFileUpload: (id: string) => void;
|
7127
|
+
updateFileUploadProgress: (id: string, progress: number) => void;
|
7128
|
+
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
7129
|
+
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
7130
|
+
}
|
7131
|
+
|
7132
|
+
/**
|
7133
|
+
* @beta
|
7134
|
+
* Error message to be displayed to the user if the upload fails.
|
7135
|
+
*/
|
7136
|
+
export declare type FileUploadError = {
|
7137
|
+
message: string;
|
7138
|
+
timestamp: number;
|
7139
|
+
};
|
7140
|
+
|
7141
|
+
/**
|
7142
|
+
* @beta
|
7143
|
+
* A callback function for handling file uploads.
|
7144
|
+
*
|
7145
|
+
* @param userId - The user ID of the user uploading the file.
|
7146
|
+
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
7147
|
+
*/
|
7148
|
+
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
7149
|
+
|
7150
|
+
/**
|
7151
|
+
* A wrapper object for a file that is being uploaded.
|
7152
|
+
* Allows managing file uploads by providing common functions for updating the
|
7153
|
+
* upload progress, canceling an upload, completing an upload etc.
|
7154
|
+
* @beta
|
7155
|
+
*/
|
7156
|
+
export declare interface FileUploadManager {
|
7157
|
+
/**
|
7158
|
+
* Unique identifier for the file upload.
|
7159
|
+
*/
|
7160
|
+
id: string;
|
7161
|
+
/**
|
7162
|
+
* HTML {@link File} object for the uploaded file.
|
7163
|
+
*/
|
7164
|
+
file?: File;
|
7165
|
+
/**
|
7166
|
+
* Update the progress of the upload.
|
7167
|
+
* @param value - number between 0 and 1
|
7168
|
+
*/
|
7169
|
+
notifyUploadProgressChanged: (value: number) => void;
|
7170
|
+
/**
|
7171
|
+
* Mark the upload as complete.
|
7172
|
+
* Requires the `metadata` param containing uploaded file information.
|
7173
|
+
* @param metadata - {@link AttachmentMetadata}
|
7174
|
+
*/
|
7175
|
+
notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
|
7176
|
+
/**
|
7177
|
+
* Mark the upload as failed.
|
7178
|
+
* @param message - An error message that can be displayed to the user.
|
7179
|
+
*/
|
7180
|
+
notifyUploadFailed: (message: string) => void;
|
7181
|
+
}
|
7182
|
+
|
7183
|
+
/**
|
7184
|
+
* Contains the state attributes of a file upload like name, progress etc.
|
7185
|
+
* @beta
|
7186
|
+
*/
|
7187
|
+
export declare interface FileUploadState {
|
7188
|
+
/**
|
7189
|
+
* Unique identifier for the file upload.
|
7190
|
+
*/
|
7191
|
+
id: string;
|
7192
|
+
/**
|
7193
|
+
* Filename extracted from the {@link File} object.
|
7194
|
+
* This attribute is used to render the filename if `metadata.name` is not available.
|
7195
|
+
*/
|
7196
|
+
filename: string;
|
7197
|
+
/**
|
7198
|
+
* A number between 0 and 1 indicating the progress of the upload.
|
7199
|
+
*/
|
7200
|
+
progress: number;
|
7201
|
+
/**
|
7202
|
+
* Metadata {@link AttachmentMetadata} containing information about the uploaded file.
|
7203
|
+
*/
|
7204
|
+
metadata?: AttachmentMetadata;
|
7205
|
+
/**
|
7206
|
+
* Error message to be displayed to the user if the upload fails.
|
7207
|
+
*/
|
7208
|
+
error?: FileUploadError;
|
7209
|
+
}
|
7210
|
+
|
7211
|
+
/**
|
7212
|
+
* A record containing {@link FileUploadState} mapped to unique ids.
|
7213
|
+
* @beta
|
7214
|
+
*/
|
7215
|
+
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
7216
|
+
|
5620
7217
|
/**
|
5621
7218
|
* Provider to apply a Fluent theme across this library's react components.
|
5622
7219
|
*
|
@@ -5642,6 +7239,8 @@ export declare interface FluentThemeProviderProps {
|
|
5642
7239
|
* @defaultValue `false`
|
5643
7240
|
*/
|
5644
7241
|
rtl?: boolean;
|
7242
|
+
/** Optional style to change the root style of the ThemeProvider */
|
7243
|
+
rootStyle?: React_2.CSSProperties | undefined;
|
5645
7244
|
}
|
5646
7245
|
|
5647
7246
|
/**
|
@@ -5656,7 +7255,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5656
7255
|
*
|
5657
7256
|
* @public
|
5658
7257
|
*/
|
5659
|
-
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 : undefined;
|
7258
|
+
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;
|
5660
7259
|
|
5661
7260
|
/**
|
5662
7261
|
* Get the selector for a specified component.
|
@@ -5718,6 +7317,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
5718
7317
|
children?: IStyle;
|
5719
7318
|
}
|
5720
7319
|
|
7320
|
+
/**
|
7321
|
+
* a button to hold or resume a ongoing call.
|
7322
|
+
*
|
7323
|
+
* Can be used with {@link ControlBar}
|
7324
|
+
*
|
7325
|
+
* @param props - properties for the hold button.
|
7326
|
+
* @returns
|
7327
|
+
* @beta
|
7328
|
+
*/
|
7329
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
7330
|
+
|
7331
|
+
/**
|
7332
|
+
*@beta
|
7333
|
+
*/
|
7334
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
7335
|
+
/**
|
7336
|
+
* Utility property for using this component with communication react handlers
|
7337
|
+
* Holds the call or resumes it based on call state.
|
7338
|
+
*/
|
7339
|
+
onToggleHold: () => Promise<void>;
|
7340
|
+
/**
|
7341
|
+
* Optional strings to override in component
|
7342
|
+
*/
|
7343
|
+
strings?: HoldButtonStrings;
|
7344
|
+
}
|
7345
|
+
|
7346
|
+
/**
|
7347
|
+
* Selector type for the {@link HoldButton} component.
|
7348
|
+
* @public
|
7349
|
+
*/
|
7350
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
7351
|
+
checked: boolean;
|
7352
|
+
};
|
7353
|
+
|
7354
|
+
/**
|
7355
|
+
* Strings for the hold button labels
|
7356
|
+
* @beta
|
7357
|
+
*/
|
7358
|
+
export declare interface HoldButtonStrings {
|
7359
|
+
/**
|
7360
|
+
* Label for when action is to resume call.
|
7361
|
+
*/
|
7362
|
+
onLabel: string;
|
7363
|
+
/**
|
7364
|
+
* Label for when action is to hold call.
|
7365
|
+
*/
|
7366
|
+
offLabel: string;
|
7367
|
+
/**
|
7368
|
+
* Content for when button is checked
|
7369
|
+
*/
|
7370
|
+
tooltipOnContent: string;
|
7371
|
+
/**
|
7372
|
+
* Content for when button is unchecked
|
7373
|
+
*/
|
7374
|
+
tooltipOffContent: string;
|
7375
|
+
}
|
7376
|
+
|
5721
7377
|
/**
|
5722
7378
|
* {@link HorizontalGallery} Component Styles.
|
5723
7379
|
* @public
|
@@ -5802,39 +7458,169 @@ export declare interface _Identifiers {
|
|
5802
7458
|
verticalGalleryVideoTile: string;
|
5803
7459
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
5804
7460
|
verticalGalleryPageCounter: string;
|
7461
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
7462
|
+
mentionSuggestionList: string;
|
7463
|
+
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
7464
|
+
mentionSuggestionItem: string;
|
5805
7465
|
}
|
5806
7466
|
|
5807
7467
|
/**
|
5808
|
-
*
|
5809
|
-
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
7468
|
+
* Component to render a fullscreen modal for a selected image.
|
5810
7469
|
*
|
5811
|
-
* @
|
7470
|
+
* @beta
|
5812
7471
|
*/
|
5813
|
-
export declare
|
7472
|
+
export declare const ImageOverlay: (props: ImageOverlayProps) => JSX.Element;
|
7473
|
+
|
7474
|
+
/**
|
7475
|
+
* Props for {@link ImageOverlay}.
|
7476
|
+
*
|
7477
|
+
* @beta
|
7478
|
+
*/
|
7479
|
+
export declare interface ImageOverlayProps {
|
5814
7480
|
/**
|
5815
|
-
*
|
7481
|
+
* Boolean that controls whether the modal is displayed.
|
5816
7482
|
*/
|
5817
|
-
|
7483
|
+
isOpen: boolean;
|
5818
7484
|
/**
|
5819
|
-
*
|
7485
|
+
* Image source used to display the image in a large scale.
|
5820
7486
|
*/
|
5821
|
-
|
7487
|
+
imageSrc: string;
|
5822
7488
|
/**
|
5823
|
-
*
|
5824
|
-
* This property is added by the stateful layer and is not a proxy of SDK state.
|
7489
|
+
* Optional string used as a alt text for the image. @default 'image'
|
5825
7490
|
*/
|
5826
|
-
|
7491
|
+
altText?: string;
|
5827
7492
|
/**
|
5828
|
-
*
|
5829
|
-
* a proxy of SDK state.
|
7493
|
+
* Optional string used as the title of the image and displayed on the top left corner of the ImageOverlay.
|
5830
7494
|
*/
|
5831
|
-
|
7495
|
+
title?: string;
|
5832
7496
|
/**
|
5833
|
-
*
|
5834
|
-
* proxy of SDK state. It is undefined if the call is not ended yet.
|
7497
|
+
* Optional JSX element used as a title icon and displayed to the left of the title element.
|
5835
7498
|
*/
|
5836
|
-
|
5837
|
-
|
7499
|
+
titleIcon?: JSX.Element;
|
7500
|
+
/**
|
7501
|
+
* Callback to invoke when the ImageOverlay modal is dismissed
|
7502
|
+
*/
|
7503
|
+
onDismiss: () => void;
|
7504
|
+
/**
|
7505
|
+
* Optional callback called when the download button is clicked. If not provided, the download button will not be rendered.
|
7506
|
+
*/
|
7507
|
+
onDownloadButtonClicked?: (imageSrc: string) => void;
|
7508
|
+
}
|
7509
|
+
|
7510
|
+
/**
|
7511
|
+
* Strings of {@link ImageOverlay} that can be overridden.
|
7512
|
+
*
|
7513
|
+
* @beta
|
7514
|
+
*/
|
7515
|
+
export declare interface ImageOverlayStrings {
|
7516
|
+
/**
|
7517
|
+
* Download button label for ImageOverlay
|
7518
|
+
*/
|
7519
|
+
downloadButtonLabel: string;
|
7520
|
+
/**
|
7521
|
+
* Dismiss button aria label for ImageOverlay
|
7522
|
+
*/
|
7523
|
+
dismissButtonAriaLabel: string;
|
7524
|
+
}
|
7525
|
+
|
7526
|
+
/**
|
7527
|
+
* Preset dark theme for the ImageOverlay component.
|
7528
|
+
*
|
7529
|
+
* @beta
|
7530
|
+
*/
|
7531
|
+
export declare const imageOverlayTheme: PartialTheme;
|
7532
|
+
|
7533
|
+
/**
|
7534
|
+
* @beta
|
7535
|
+
* This contains a readonly array that returns all the active `incomingCalls`.
|
7536
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
7537
|
+
*/
|
7538
|
+
export declare type IncomingCallManagement = {
|
7539
|
+
/**
|
7540
|
+
* @beta
|
7541
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
7542
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
7543
|
+
*/
|
7544
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
7545
|
+
};
|
7546
|
+
|
7547
|
+
/**
|
7548
|
+
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
7549
|
+
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
7550
|
+
*
|
7551
|
+
* @public
|
7552
|
+
*/
|
7553
|
+
export declare interface IncomingCallState {
|
7554
|
+
/**
|
7555
|
+
* Proxy of {@link @azure/communication-calling#IncomingCall.id}.
|
7556
|
+
*/
|
7557
|
+
id: string;
|
7558
|
+
/**
|
7559
|
+
* Proxy of {@link @azure/communication-calling#IncomingCall.callerInfo}.
|
7560
|
+
*/
|
7561
|
+
callerInfo: CallerInfo;
|
7562
|
+
/**
|
7563
|
+
* Set to the state returned by 'callEnded' event on {@link @azure/communication-calling#IncomingCall} when received.
|
7564
|
+
* This property is added by the stateful layer and is not a proxy of SDK state.
|
7565
|
+
*/
|
7566
|
+
callEndReason?: CallEndReason;
|
7567
|
+
/**
|
7568
|
+
* Stores the local date when the call started on the client. This property is added by the stateful layer and is not
|
7569
|
+
* a proxy of SDK state.
|
7570
|
+
*/
|
7571
|
+
startTime: Date;
|
7572
|
+
/**
|
7573
|
+
* Stores the local date when the call ended on the client. This property is added by the stateful layer and is not a
|
7574
|
+
* proxy of SDK state. It is undefined if the call is not ended yet.
|
7575
|
+
*/
|
7576
|
+
endTime?: Date;
|
7577
|
+
}
|
7578
|
+
|
7579
|
+
/**
|
7580
|
+
* InlineImage's state, as reflected in the UI.
|
7581
|
+
*
|
7582
|
+
* @beta
|
7583
|
+
*/
|
7584
|
+
export declare interface InlineImage {
|
7585
|
+
/** ID of the message that the inline image is belonged to */
|
7586
|
+
messageId: string;
|
7587
|
+
/** Attributes of the inline image */
|
7588
|
+
imgAttrs: React_2.ImgHTMLAttributes<HTMLImageElement>;
|
7589
|
+
}
|
7590
|
+
|
7591
|
+
/**
|
7592
|
+
* Metadata for rendering images inline with a message.
|
7593
|
+
* This does not include images attached as files.
|
7594
|
+
* @beta
|
7595
|
+
*/
|
7596
|
+
export declare interface InlineImageMetadata {
|
7597
|
+
attachmentType: 'inlineImage';
|
7598
|
+
/**
|
7599
|
+
* Unique ID of the attachment.
|
7600
|
+
*/
|
7601
|
+
id: string;
|
7602
|
+
previewUrl?: string;
|
7603
|
+
/**
|
7604
|
+
* Download URL for the full resolution version.
|
7605
|
+
*/
|
7606
|
+
url: string;
|
7607
|
+
/**
|
7608
|
+
* Optional fetched Image source fot the full resolution version.
|
7609
|
+
*/
|
7610
|
+
fullSizeImageSrc?: string;
|
7611
|
+
}
|
7612
|
+
|
7613
|
+
/**
|
7614
|
+
* Options to display inline image in the inline image scenario.
|
7615
|
+
*
|
7616
|
+
* @beta
|
7617
|
+
*/
|
7618
|
+
export declare interface InlineImageOptions {
|
7619
|
+
/**
|
7620
|
+
* Optional callback to render an inline image of in a message.
|
7621
|
+
*/
|
7622
|
+
onRenderInlineImage?: (inlineImage: InlineImage, defaultOnRender: (inlineImage: InlineImage) => JSX.Element) => JSX.Element;
|
7623
|
+
}
|
5838
7624
|
|
5839
7625
|
/**
|
5840
7626
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
|
@@ -6069,6 +7855,76 @@ export declare interface MediaDiagnosticsState {
|
|
6069
7855
|
latest: LatestMediaDiagnostics;
|
6070
7856
|
}
|
6071
7857
|
|
7858
|
+
/**
|
7859
|
+
* Mention's state, as reflected in the UI.
|
7860
|
+
*
|
7861
|
+
* @beta
|
7862
|
+
*/
|
7863
|
+
export declare interface Mention {
|
7864
|
+
/** ID of a mention */
|
7865
|
+
id: string;
|
7866
|
+
/** Display text of a mention */
|
7867
|
+
displayText: string;
|
7868
|
+
/** Optional React element to render an item icon of a mention suggestion */
|
7869
|
+
icon?: JSX.Element;
|
7870
|
+
}
|
7871
|
+
|
7872
|
+
/**
|
7873
|
+
* Options to display suggestions in the mention scenario.
|
7874
|
+
*
|
7875
|
+
* @beta
|
7876
|
+
*/
|
7877
|
+
export declare interface MentionDisplayOptions {
|
7878
|
+
/**
|
7879
|
+
* Optional callback for customizing the mention renderer in a message thread.
|
7880
|
+
*/
|
7881
|
+
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
7882
|
+
}
|
7883
|
+
|
7884
|
+
/**
|
7885
|
+
* Options to lookup suggestions in the mention scenario.
|
7886
|
+
*
|
7887
|
+
* @beta
|
7888
|
+
*/
|
7889
|
+
export declare interface MentionLookupOptions {
|
7890
|
+
/**
|
7891
|
+
* Optional string to set trigger keyword for mention a specific participant.
|
7892
|
+
*
|
7893
|
+
* @defaultValue `@`
|
7894
|
+
*/
|
7895
|
+
trigger?: string;
|
7896
|
+
/**
|
7897
|
+
* Optional callback to fetch a list of mention suggestions base on the query.
|
7898
|
+
*/
|
7899
|
+
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
7900
|
+
/**
|
7901
|
+
* Optional callback to render an item of the mention suggestions list.
|
7902
|
+
*/
|
7903
|
+
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
7904
|
+
}
|
7905
|
+
|
7906
|
+
/**
|
7907
|
+
* Options to lookup suggestions and display mentions in the mention scenario.
|
7908
|
+
*
|
7909
|
+
* @beta
|
7910
|
+
*/
|
7911
|
+
export declare type MentionOptions = {
|
7912
|
+
lookupOptions?: MentionLookupOptions;
|
7913
|
+
displayOptions?: MentionDisplayOptions;
|
7914
|
+
};
|
7915
|
+
|
7916
|
+
/**
|
7917
|
+
* Strings of {@link _MentionPopover} that can be overridden.
|
7918
|
+
*
|
7919
|
+
* @beta
|
7920
|
+
*/
|
7921
|
+
export declare interface MentionPopoverStrings {
|
7922
|
+
/**
|
7923
|
+
* Header text for MentionPopover
|
7924
|
+
*/
|
7925
|
+
mentionPopoverHeader: string;
|
7926
|
+
}
|
7927
|
+
|
6072
7928
|
/**
|
6073
7929
|
* Discriminated union of all messages.
|
6074
7930
|
*
|
@@ -6076,7 +7932,7 @@ export declare interface MediaDiagnosticsState {
|
|
6076
7932
|
*
|
6077
7933
|
* @public
|
6078
7934
|
*/
|
6079
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
7935
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
|
6080
7936
|
|
6081
7937
|
/**
|
6082
7938
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -6310,7 +8166,7 @@ export declare type MessageThreadProps = {
|
|
6310
8166
|
/**
|
6311
8167
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
6312
8168
|
*/
|
6313
|
-
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
8169
|
+
messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
|
6314
8170
|
/**
|
6315
8171
|
* number of participants in the thread
|
6316
8172
|
*/
|
@@ -6391,6 +8247,11 @@ export declare type MessageThreadProps = {
|
|
6391
8247
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
6392
8248
|
*/
|
6393
8249
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
8250
|
+
/**
|
8251
|
+
* Optional callback to render attached files in the message component.
|
8252
|
+
* @beta
|
8253
|
+
*/
|
8254
|
+
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
6394
8255
|
/**
|
6395
8256
|
* Optional callback to edit a message.
|
6396
8257
|
*
|
@@ -6432,6 +8293,28 @@ export declare type MessageThreadProps = {
|
|
6432
8293
|
* Optional strings to override in component
|
6433
8294
|
*/
|
6434
8295
|
strings?: Partial<MessageThreadStrings>;
|
8296
|
+
/**
|
8297
|
+
* @beta
|
8298
|
+
* Optional function called when someone clicks on the file download icon.
|
8299
|
+
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
8300
|
+
* this function will be called with the data inside `fileSharingMetadata` key.
|
8301
|
+
*/
|
8302
|
+
fileDownloadHandler?: FileDownloadHandler;
|
8303
|
+
/**
|
8304
|
+
* Optional function to provide customized date format.
|
8305
|
+
* @beta
|
8306
|
+
*/
|
8307
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
8308
|
+
/**
|
8309
|
+
* Optional props needed to lookup a mention query and display mentions
|
8310
|
+
* @beta
|
8311
|
+
*/
|
8312
|
+
mentionOptions?: MentionOptions;
|
8313
|
+
/**
|
8314
|
+
* Optional callback called when an inline image is clicked.
|
8315
|
+
* @beta
|
8316
|
+
*/
|
8317
|
+
inlineImageOptions?: InlineImageOptions;
|
6435
8318
|
};
|
6436
8319
|
|
6437
8320
|
/**
|
@@ -6505,6 +8388,14 @@ export declare interface MessageThreadStrings {
|
|
6505
8388
|
actionMenuMoreOptions?: string;
|
6506
8389
|
/** Aria label to announce when a message is deleted */
|
6507
8390
|
messageDeletedAnnouncementAriaLabel: string;
|
8391
|
+
/** String for download file button in file card */
|
8392
|
+
downloadFile: string;
|
8393
|
+
/** String for policy violation message removal */
|
8394
|
+
blockedWarningText: string;
|
8395
|
+
/** String for policy violation message removal details link */
|
8396
|
+
blockedWarningLinkText: string;
|
8397
|
+
/** String for aria text in file attachment group*/
|
8398
|
+
fileCardGroupMessage: string;
|
6508
8399
|
}
|
6509
8400
|
|
6510
8401
|
/**
|
@@ -6532,6 +8423,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
6532
8423
|
/** Styles for system message container. */
|
6533
8424
|
systemMessageContainer?: ComponentSlotStyle;
|
6534
8425
|
/** Styles for blocked message container. */
|
8426
|
+
blockedMessageContainer?: ComponentSlotStyle;
|
6535
8427
|
/** Styles for message status indicator container. */
|
6536
8428
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
6537
8429
|
}
|
@@ -6700,6 +8592,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6700
8592
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
6701
8593
|
}
|
6702
8594
|
|
8595
|
+
/**
|
8596
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
8597
|
+
* by their browsers settings.
|
8598
|
+
*
|
8599
|
+
* @beta
|
8600
|
+
*/
|
8601
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
8602
|
+
|
8603
|
+
/**
|
8604
|
+
* @beta
|
8605
|
+
* Props for MicrophoneSitePermissions component.
|
8606
|
+
*/
|
8607
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
8608
|
+
/** Icon name for the microphone icon */
|
8609
|
+
microphoneIconName?: string;
|
8610
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
8611
|
+
strings?: MicrophoneSitePermissionsStrings;
|
8612
|
+
}
|
8613
|
+
|
8614
|
+
/**
|
8615
|
+
* @beta
|
8616
|
+
* Strings for MicrophoneSitePermissions component.
|
8617
|
+
*/
|
8618
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
8619
|
+
|
6703
8620
|
/**
|
6704
8621
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
6705
8622
|
*
|
@@ -6718,6 +8635,13 @@ export declare interface NetworkDiagnosticsState {
|
|
6718
8635
|
latest: LatestNetworkDiagnostics;
|
6719
8636
|
}
|
6720
8637
|
|
8638
|
+
/**
|
8639
|
+
* Callback function used to provide custom data to build profile for a user.
|
8640
|
+
*
|
8641
|
+
* @beta
|
8642
|
+
*/
|
8643
|
+
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
8644
|
+
|
6721
8645
|
/**
|
6722
8646
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
6723
8647
|
*
|
@@ -6840,6 +8764,14 @@ export declare interface ParticipantItemProps {
|
|
6840
8764
|
onClick?: (props?: ParticipantItemProps) => void;
|
6841
8765
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6842
8766
|
showParticipantOverflowTooltip?: boolean;
|
8767
|
+
/**
|
8768
|
+
* Optional value to determine and display a participants connection status.
|
8769
|
+
* For example, `Connecting`, `Ringing` etc.
|
8770
|
+
* The actual text that is displayed is determined by the localized string
|
8771
|
+
* corresponding to the provided participant state.
|
8772
|
+
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
8773
|
+
*/
|
8774
|
+
participantState?: ParticipantState;
|
6843
8775
|
/**
|
6844
8776
|
* Optional aria property that prefixes the ParticipantItems aria content
|
6845
8777
|
* Takes in a unique id value of the element you would like to be read before the ParticipantItem.
|
@@ -6865,6 +8797,12 @@ export declare interface ParticipantItemStrings {
|
|
6865
8797
|
mutedIconLabel: string;
|
6866
8798
|
/** placeholder text for participants who does not have a display name*/
|
6867
8799
|
displayNamePlaceholder?: string;
|
8800
|
+
/** String shown when `participantState` is `Ringing` */
|
8801
|
+
participantStateRinging?: string;
|
8802
|
+
/** String shown when `participantState` is `Hold` */
|
8803
|
+
participantStateHold?: string;
|
8804
|
+
/** String for the attendee role */
|
8805
|
+
attendeeRole: string;
|
6868
8806
|
}
|
6869
8807
|
|
6870
8808
|
/**
|
@@ -6943,6 +8881,10 @@ export declare type ParticipantListProps = {
|
|
6943
8881
|
styles?: ParticipantListStyles;
|
6944
8882
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
6945
8883
|
showParticipantOverflowTooltip?: boolean;
|
8884
|
+
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
8885
|
+
totalParticipantCount?: number;
|
8886
|
+
/** Strings for the participant list */
|
8887
|
+
strings?: ParticipantListStrings;
|
6946
8888
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
6947
8889
|
participantAriaLabelledBy?: string;
|
6948
8890
|
};
|
@@ -6955,8 +8897,21 @@ export declare type ParticipantListProps = {
|
|
6955
8897
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6956
8898
|
participants: CallParticipantListParticipant[];
|
6957
8899
|
myUserId: string;
|
8900
|
+
totalParticipantCount?: number;
|
6958
8901
|
};
|
6959
8902
|
|
8903
|
+
/**
|
8904
|
+
* Strings for the {@link ParticipantList}.
|
8905
|
+
*
|
8906
|
+
* @beta
|
8907
|
+
*/
|
8908
|
+
export declare interface ParticipantListStrings {
|
8909
|
+
/**
|
8910
|
+
* String for rendering the count of participants not contained in the displayed participant list
|
8911
|
+
*/
|
8912
|
+
overflowParticipantCount?: string;
|
8913
|
+
}
|
8914
|
+
|
6960
8915
|
/**
|
6961
8916
|
* Styles for the {@link ParticipantList}.
|
6962
8917
|
*
|
@@ -7173,6 +9128,31 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
7173
9128
|
*/
|
7174
9129
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
7175
9130
|
|
9131
|
+
/**
|
9132
|
+
* State only version of {@link @azure/communication-calling#PPTLiveCallFeature}. {@link StatefulCallClient} will
|
9133
|
+
* automatically listen for pptLive on the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
9134
|
+
*
|
9135
|
+
* @beta
|
9136
|
+
*/
|
9137
|
+
export declare interface PPTLiveCallFeatureState {
|
9138
|
+
/**
|
9139
|
+
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature.isActive}.
|
9140
|
+
*/
|
9141
|
+
isActive: boolean;
|
9142
|
+
}
|
9143
|
+
|
9144
|
+
/**
|
9145
|
+
* The profile of a user.
|
9146
|
+
*
|
9147
|
+
* @beta
|
9148
|
+
*/
|
9149
|
+
export declare type Profile = {
|
9150
|
+
/**
|
9151
|
+
* Primary text to display, usually the name of the person.
|
9152
|
+
*/
|
9153
|
+
displayName?: string;
|
9154
|
+
};
|
9155
|
+
|
7176
9156
|
/**
|
7177
9157
|
* Raised hand state with order
|
7178
9158
|
*
|
@@ -7262,6 +9242,129 @@ export declare interface RaiseHandCallFeature {
|
|
7262
9242
|
localParticipantRaisedHand?: RaisedHandState;
|
7263
9243
|
}
|
7264
9244
|
|
9245
|
+
/**
|
9246
|
+
* Reaction state with reaction type to render
|
9247
|
+
*
|
9248
|
+
* @beta
|
9249
|
+
*/
|
9250
|
+
export declare type Reaction = {
|
9251
|
+
/**
|
9252
|
+
* Specifies the type of reaction videoTile should render i.e. like, heart etc.
|
9253
|
+
*/
|
9254
|
+
reactionType: string;
|
9255
|
+
/**
|
9256
|
+
* Received timestamp for the message as default Date format.
|
9257
|
+
*/
|
9258
|
+
receivedOn: Date;
|
9259
|
+
};
|
9260
|
+
|
9261
|
+
/**
|
9262
|
+
* Props for {@link ReactionButton}.
|
9263
|
+
*
|
9264
|
+
* @beta
|
9265
|
+
*/
|
9266
|
+
export declare interface ReactionButtonProps extends ControlBarButtonProps {
|
9267
|
+
/**
|
9268
|
+
* Optional strings to override in component
|
9269
|
+
*/
|
9270
|
+
strings?: Partial<ReactionButtonStrings>;
|
9271
|
+
/**
|
9272
|
+
* Click event to send reaction to meeting
|
9273
|
+
*/
|
9274
|
+
onReactionClick: (reaction: string) => Promise<void>;
|
9275
|
+
/**
|
9276
|
+
* Reaction resource locator and parameters
|
9277
|
+
*/
|
9278
|
+
reactionResources: ReactionResources;
|
9279
|
+
}
|
9280
|
+
|
9281
|
+
/**
|
9282
|
+
* Strings of {@link ReactionButton} that can be overridden.
|
9283
|
+
*
|
9284
|
+
* @beta
|
9285
|
+
*/
|
9286
|
+
export declare interface ReactionButtonStrings {
|
9287
|
+
/** Label of the button. */
|
9288
|
+
label: string;
|
9289
|
+
/** Tooltip content when the button is disabled. */
|
9290
|
+
tooltipDisabledContent?: string;
|
9291
|
+
/** Tooltip content when the button is enabled. */
|
9292
|
+
tooltipContent?: string;
|
9293
|
+
/** Tooltip content of like reaction button. */
|
9294
|
+
likeReactionTooltipContent?: string;
|
9295
|
+
/** Tooltip content of heart reaction button. */
|
9296
|
+
heartReactionTooltipContent?: string;
|
9297
|
+
/** Tooltip content of laugh reaction button. */
|
9298
|
+
laughReactionTooltipContent?: string;
|
9299
|
+
/** Tooltip content of clap reaction button. */
|
9300
|
+
applauseReactionTooltipContent?: string;
|
9301
|
+
/** Tooltip content of surprised reaction button. */
|
9302
|
+
surprisedReactionTooltipContent?: string;
|
9303
|
+
}
|
9304
|
+
|
9305
|
+
/**
|
9306
|
+
* Interface for animation sprite image and related metadata
|
9307
|
+
* @beta
|
9308
|
+
*/
|
9309
|
+
export declare interface ReactionResources {
|
9310
|
+
/**
|
9311
|
+
* Like reaction animation resource.
|
9312
|
+
*/
|
9313
|
+
likeReaction?: ReactionSprite;
|
9314
|
+
/**
|
9315
|
+
* Heart reaction animation resource.
|
9316
|
+
*/
|
9317
|
+
heartReaction?: ReactionSprite;
|
9318
|
+
/**
|
9319
|
+
* Laugh reaction animation resource.
|
9320
|
+
*/
|
9321
|
+
laughReaction?: ReactionSprite;
|
9322
|
+
/**
|
9323
|
+
* Applause reaction animation resource.
|
9324
|
+
*/
|
9325
|
+
applauseReaction?: ReactionSprite;
|
9326
|
+
/**
|
9327
|
+
* Surprised reaction animation resource.
|
9328
|
+
*/
|
9329
|
+
surprisedReaction?: ReactionSprite;
|
9330
|
+
}
|
9331
|
+
|
9332
|
+
/**
|
9333
|
+
* Type for animation sprite image and related metadata
|
9334
|
+
* @beta
|
9335
|
+
*/
|
9336
|
+
export declare type ReactionSprite = {
|
9337
|
+
/**
|
9338
|
+
* Path to animation sprite image for reaction.
|
9339
|
+
*/
|
9340
|
+
url: string;
|
9341
|
+
/**
|
9342
|
+
* The frame count of the resource reaction in the sprite image
|
9343
|
+
*/
|
9344
|
+
frameCount: number;
|
9345
|
+
/**
|
9346
|
+
* The square size of one frame in the animation resource..
|
9347
|
+
*/
|
9348
|
+
size?: number;
|
9349
|
+
};
|
9350
|
+
|
9351
|
+
/**
|
9352
|
+
* State only version of {@link @azure/communication-calling#Call.ReactionMessage} with UI helper props receivedOn.
|
9353
|
+
* Reaction state with a timestamp which helps UI to decide to render the reaction accordingly.
|
9354
|
+
*
|
9355
|
+
* @beta
|
9356
|
+
*/
|
9357
|
+
export declare type ReactionState = {
|
9358
|
+
/**
|
9359
|
+
* Reaction message from the meeting {@link @azure/communication-calling#Call.ReactionMessage}
|
9360
|
+
*/
|
9361
|
+
reactionMessage: ReactionMessage;
|
9362
|
+
/**
|
9363
|
+
* Received timestamp of the reaction message in a meeting.
|
9364
|
+
*/
|
9365
|
+
receivedOn: Date;
|
9366
|
+
};
|
9367
|
+
|
7265
9368
|
/**
|
7266
9369
|
* An array of key value pairs that stores each sender's display name and last read message
|
7267
9370
|
*
|
@@ -7333,6 +9436,21 @@ export declare interface RemoteParticipantState {
|
|
7333
9436
|
* Proxy of {@link @azure/communication-calling#Call.RaisedHand.raisedHands}.
|
7334
9437
|
*/
|
7335
9438
|
raisedHand?: RaisedHandState;
|
9439
|
+
/**
|
9440
|
+
* Proxy of {@link @azure/communication-calling#Call.PPTLive.target}.
|
9441
|
+
*/
|
9442
|
+
contentSharingStream?: HTMLElement;
|
9443
|
+
/**
|
9444
|
+
* Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
|
9445
|
+
* UI helper props receivedOn which indicates the timestamp when the message was received.
|
9446
|
+
*
|
9447
|
+
* @beta
|
9448
|
+
*/
|
9449
|
+
reactionState?: ReactionState;
|
9450
|
+
/**
|
9451
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.spotlightedParticipants}.
|
9452
|
+
*/
|
9453
|
+
spotlight?: SpotlightState;
|
7336
9454
|
}
|
7337
9455
|
|
7338
9456
|
/**
|
@@ -7357,6 +9475,7 @@ export declare interface RemoteVideoStreamState {
|
|
7357
9475
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
7358
9476
|
* @beta
|
7359
9477
|
*/
|
9478
|
+
isReceiving: boolean;
|
7360
9479
|
/**
|
7361
9480
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
7362
9481
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -7386,18 +9505,65 @@ export declare interface RemoteVideoTileMenuOptions {
|
|
7386
9505
|
}
|
7387
9506
|
|
7388
9507
|
/**
|
7389
|
-
*
|
7390
|
-
*
|
7391
|
-
* Can be used with {@link ControlBar}.
|
9508
|
+
* Details required for download a resource to cache.
|
7392
9509
|
*
|
7393
9510
|
* @public
|
7394
9511
|
*/
|
7395
|
-
export declare
|
9512
|
+
export declare type ResourceDetails = {
|
9513
|
+
threadId: string;
|
9514
|
+
messageId: string;
|
9515
|
+
resourceUrl: string;
|
9516
|
+
};
|
7396
9517
|
|
7397
9518
|
/**
|
7398
|
-
*
|
9519
|
+
* Strings of {@link RichTextSendBox} that can be overridden.
|
7399
9520
|
*
|
7400
|
-
* @
|
9521
|
+
* @beta
|
9522
|
+
*/
|
9523
|
+
export declare interface RichTextSendBoxStrings extends SendBoxStrings {
|
9524
|
+
/**
|
9525
|
+
* Tooltip text for the bold button.
|
9526
|
+
*/
|
9527
|
+
boldTooltip: string;
|
9528
|
+
/**
|
9529
|
+
* Tooltip text for the italic button.
|
9530
|
+
*/
|
9531
|
+
italicTooltip: string;
|
9532
|
+
/**
|
9533
|
+
* Tooltip text for the underline button.
|
9534
|
+
*/
|
9535
|
+
underlineTooltip: string;
|
9536
|
+
/**
|
9537
|
+
* Tooltip text for the bullet list button.
|
9538
|
+
*/
|
9539
|
+
bulletListTooltip: string;
|
9540
|
+
/**
|
9541
|
+
* Tooltip text for the number list button.
|
9542
|
+
*/
|
9543
|
+
numberListTooltip: string;
|
9544
|
+
/**
|
9545
|
+
* Tooltip text for the increase indent button.
|
9546
|
+
*/
|
9547
|
+
increaseIndentTooltip: string;
|
9548
|
+
/**
|
9549
|
+
* Tooltip text for the decrease indent button.
|
9550
|
+
*/
|
9551
|
+
decreaseIndentTooltip: string;
|
9552
|
+
}
|
9553
|
+
|
9554
|
+
/**
|
9555
|
+
* A button to start / stop screen sharing.
|
9556
|
+
*
|
9557
|
+
* Can be used with {@link ControlBar}.
|
9558
|
+
*
|
9559
|
+
* @public
|
9560
|
+
*/
|
9561
|
+
export declare const ScreenShareButton: (props: ScreenShareButtonProps) => JSX.Element;
|
9562
|
+
|
9563
|
+
/**
|
9564
|
+
* Props for {@link ScreenShareButton}.
|
9565
|
+
*
|
9566
|
+
* @public
|
7401
9567
|
*/
|
7402
9568
|
export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
|
7403
9569
|
/**
|
@@ -7456,6 +9622,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
7456
9622
|
*/
|
7457
9623
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
7458
9624
|
|
9625
|
+
/**
|
9626
|
+
* @beta
|
9627
|
+
* Error to be displayed to the user in an error bar above sendbox.
|
9628
|
+
*/
|
9629
|
+
export declare interface SendBoxErrorBarError {
|
9630
|
+
/** Error Message to be displayed */
|
9631
|
+
message: string;
|
9632
|
+
/**
|
9633
|
+
* Unix Timestamp. Preferred generation using `Date.now()`
|
9634
|
+
*/
|
9635
|
+
timestamp: number;
|
9636
|
+
}
|
9637
|
+
|
7459
9638
|
/**
|
7460
9639
|
* Props for {@link SendBox}.
|
7461
9640
|
*
|
@@ -7475,6 +9654,11 @@ export declare interface SendBoxProps {
|
|
7475
9654
|
* Optional override behavior on send button click
|
7476
9655
|
*/
|
7477
9656
|
onSendMessage?: (content: string) => Promise<void>;
|
9657
|
+
/**
|
9658
|
+
* Optional props needed to lookup suggestions in the mention scenario.
|
9659
|
+
* @beta
|
9660
|
+
*/
|
9661
|
+
mentionLookupOptions?: MentionLookupOptions;
|
7478
9662
|
/**
|
7479
9663
|
* Optional callback called when user is typing
|
7480
9664
|
*/
|
@@ -7511,6 +9695,25 @@ export declare interface SendBoxProps {
|
|
7511
9695
|
* When undefined nothing has focus on render
|
7512
9696
|
*/
|
7513
9697
|
autoFocus?: 'sendBoxTextField';
|
9698
|
+
/**
|
9699
|
+
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
9700
|
+
* vertically to accommodate the uploaded files. File uploads will
|
9701
|
+
* be rendered below the text area in sendBox.
|
9702
|
+
* @beta
|
9703
|
+
*/
|
9704
|
+
onRenderFileUploads?: () => JSX.Element;
|
9705
|
+
/**
|
9706
|
+
* Optional array of active file uploads where each object has attributes
|
9707
|
+
* of a file upload like name, progress, errorMessage etc.
|
9708
|
+
* @beta
|
9709
|
+
*/
|
9710
|
+
activeFileUploads?: ActiveFileUpload[];
|
9711
|
+
/**
|
9712
|
+
* Optional callback to remove the file upload before sending by clicking on
|
9713
|
+
* cancel icon.
|
9714
|
+
* @beta
|
9715
|
+
*/
|
9716
|
+
onCancelFileUpload?: (fileId: string) => void;
|
7514
9717
|
}
|
7515
9718
|
|
7516
9719
|
/**
|
@@ -7541,6 +9744,22 @@ export declare interface SendBoxStrings {
|
|
7541
9744
|
* Aria label for send message button
|
7542
9745
|
*/
|
7543
9746
|
sendButtonAriaLabel: string;
|
9747
|
+
/**
|
9748
|
+
* Error message indicating that all file uploads are not complete.
|
9749
|
+
*/
|
9750
|
+
fileUploadsPendingError: string;
|
9751
|
+
/**
|
9752
|
+
* Aria label to notify user when focus is on cancel file upload button.
|
9753
|
+
*/
|
9754
|
+
removeFile: string;
|
9755
|
+
/**
|
9756
|
+
* Aria label to notify user file uploading starts.
|
9757
|
+
*/
|
9758
|
+
uploading: string;
|
9759
|
+
/**
|
9760
|
+
* Aria label to notify user file is uploaded.
|
9761
|
+
*/
|
9762
|
+
uploadCompleted: string;
|
7544
9763
|
}
|
7545
9764
|
|
7546
9765
|
/**
|
@@ -7561,6 +9780,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7561
9780
|
systemMessage?: IStyle;
|
7562
9781
|
}
|
7563
9782
|
|
9783
|
+
/**
|
9784
|
+
* @beta
|
9785
|
+
* Strings for SitePermissions component
|
9786
|
+
*/
|
9787
|
+
export declare type SitePermissionsStrings = {
|
9788
|
+
/**
|
9789
|
+
* Main text string.
|
9790
|
+
*/
|
9791
|
+
primaryText?: string;
|
9792
|
+
/**
|
9793
|
+
* Subtext string.
|
9794
|
+
*/
|
9795
|
+
secondaryText?: string;
|
9796
|
+
/**
|
9797
|
+
* More help link string.
|
9798
|
+
*/
|
9799
|
+
linkText?: string;
|
9800
|
+
/**
|
9801
|
+
* Primary button text string.
|
9802
|
+
*/
|
9803
|
+
primaryButtonText?: string;
|
9804
|
+
/**
|
9805
|
+
* Aria label describing the content of the container
|
9806
|
+
*/
|
9807
|
+
ariaLabel?: string;
|
9808
|
+
};
|
9809
|
+
|
9810
|
+
/**
|
9811
|
+
* Fluent styles for {@link SitePermissionsContainer}.
|
9812
|
+
*
|
9813
|
+
* @beta
|
9814
|
+
*/
|
9815
|
+
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
9816
|
+
/** Styles for the primary button. */
|
9817
|
+
primaryButton?: IButtonStyles;
|
9818
|
+
/** Styles for the help troubleshooting link text. */
|
9819
|
+
troubleshootingLink?: ILinkStyles;
|
9820
|
+
}
|
9821
|
+
|
7564
9822
|
/**
|
7565
9823
|
* @public
|
7566
9824
|
* Type for representing a custom sound to use for a calling event
|
@@ -7620,11 +9878,120 @@ export declare interface SpokenLanguageStrings {
|
|
7620
9878
|
'zh-tw': string;
|
7621
9879
|
}
|
7622
9880
|
|
9881
|
+
/**
|
9882
|
+
* Spotlight state with order
|
9883
|
+
*
|
9884
|
+
* @beta
|
9885
|
+
*/
|
9886
|
+
export declare type Spotlight = {
|
9887
|
+
/**
|
9888
|
+
* Specifies the order position of the spotlight
|
9889
|
+
*/
|
9890
|
+
spotlightedOrderPosition?: number;
|
9891
|
+
};
|
9892
|
+
|
9893
|
+
/**
|
9894
|
+
* State only version of {@link @azure/communication-calling#SpotlightCallFeature}
|
9895
|
+
*
|
9896
|
+
* @beta
|
9897
|
+
*/
|
9898
|
+
export declare interface SpotlightCallFeatureState {
|
9899
|
+
/**
|
9900
|
+
* Ordered array of spotlighted participants in call
|
9901
|
+
*/
|
9902
|
+
spotlightedParticipants: SpotlightedParticipant[];
|
9903
|
+
/**
|
9904
|
+
* Local participant spotlight
|
9905
|
+
*/
|
9906
|
+
localParticipantSpotlight?: SpotlightState;
|
9907
|
+
/**
|
9908
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.maxParticipantsToSpotlight}.
|
9909
|
+
*/
|
9910
|
+
maxParticipantsToSpotlight: number;
|
9911
|
+
}
|
9912
|
+
|
9913
|
+
/**
|
9914
|
+
* Callback for {@link CallAdapterSubscribers} 'spotlightChanged' event.
|
9915
|
+
*
|
9916
|
+
* @public
|
9917
|
+
*/
|
9918
|
+
export declare type SpotlightChangedListener = (args: {
|
9919
|
+
added: SpotlightedParticipant[];
|
9920
|
+
removed: SpotlightedParticipant[];
|
9921
|
+
}) => void;
|
9922
|
+
|
9923
|
+
/**
|
9924
|
+
* Strings used in prompt related to spotlight
|
9925
|
+
* @beta
|
9926
|
+
*/
|
9927
|
+
export declare interface SpotlightPromptStrings {
|
9928
|
+
/**
|
9929
|
+
* Heading for prompt when starting spotlight on participant
|
9930
|
+
*/
|
9931
|
+
startSpotlightHeading: string;
|
9932
|
+
/**
|
9933
|
+
* Text for prompt when starting spotlight on participant
|
9934
|
+
*/
|
9935
|
+
startSpotlightText: string;
|
9936
|
+
/**
|
9937
|
+
* Label for button to confirm starting spotlight on local user in prompt
|
9938
|
+
*/
|
9939
|
+
startSpotlightOnSelfText: string;
|
9940
|
+
/**
|
9941
|
+
* Label for button to confirm starting spotlight on participant in prompt
|
9942
|
+
*/
|
9943
|
+
startSpotlightConfirmButtonLabel: string;
|
9944
|
+
/**
|
9945
|
+
* Label for button to cancel starting spotlight on participant in prompt
|
9946
|
+
*/
|
9947
|
+
startSpotlightCancelButtonLabel: string;
|
9948
|
+
/**
|
9949
|
+
* Heading for prompt when stopping spotlight on participant
|
9950
|
+
*/
|
9951
|
+
stopSpotlightHeading: string;
|
9952
|
+
/**
|
9953
|
+
* Heading for prompt when stopping spotlight on local user
|
9954
|
+
*/
|
9955
|
+
stopSpotlightOnSelfHeading: string;
|
9956
|
+
/**
|
9957
|
+
* Text for prompt when stopping spotlight on participant
|
9958
|
+
*/
|
9959
|
+
stopSpotlightText: string;
|
9960
|
+
/**
|
9961
|
+
* Text for prompt when stopping spotlight on local user
|
9962
|
+
*/
|
9963
|
+
stopSpotlightOnSelfText: string;
|
9964
|
+
/**
|
9965
|
+
* Label for button to confirm stopping spotlight on participant in prompt
|
9966
|
+
*/
|
9967
|
+
stopSpotlightConfirmButtonLabel: string;
|
9968
|
+
/**
|
9969
|
+
* Label for button to confirm stopping spotlight on local user in prompt
|
9970
|
+
*/
|
9971
|
+
stopSpotlightOnSelfConfirmButtonLabel: string;
|
9972
|
+
/**
|
9973
|
+
* Label for button to cancel stopping spotlight on participant in prompt
|
9974
|
+
*/
|
9975
|
+
stopSpotlightCancelButtonLabel: string;
|
9976
|
+
}
|
9977
|
+
|
9978
|
+
/**
|
9979
|
+
* Spotlight state with order
|
9980
|
+
*
|
9981
|
+
* @beta
|
9982
|
+
*/
|
9983
|
+
export declare interface SpotlightState {
|
9984
|
+
/**
|
9985
|
+
* Order position of spotlight in call
|
9986
|
+
*/
|
9987
|
+
spotlightedOrderPosition?: number;
|
9988
|
+
}
|
9989
|
+
|
7623
9990
|
/**
|
7624
9991
|
* Identifier types for initiating a call using the CallAdapter
|
7625
9992
|
* @public
|
7626
9993
|
*/
|
7627
|
-
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | UnknownIdentifier);
|
9994
|
+
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | /* @conditional-compile-remove(PSTN-calls) */ PhoneNumberIdentifier | /* @conditional-compile-remove(one-to-n-calling) */ CommunicationUserIdentifier | /* @conditional-compile-remove(teams-adhoc-call) */ MicrosoftTeamsUserIdentifier | UnknownIdentifier) | /* @conditional-compile-remove(start-call-beta) */ CommunicationIdentifier;
|
7628
9995
|
|
7629
9996
|
/**
|
7630
9997
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
@@ -7658,6 +10025,7 @@ export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | Unknown
|
|
7658
10025
|
* - RecordingCallFeature 'isRecordingActiveChanged'
|
7659
10026
|
* - RaiseHandCallFeature 'raisedHandEvent'
|
7660
10027
|
* - RaiseHandCallFeature 'loweredHandEvent'
|
10028
|
+
* - PPTLiveCallFeature 'isAciveChanged'
|
7661
10029
|
* - ReactionCallFeature 'reaction'
|
7662
10030
|
*
|
7663
10031
|
* @public
|
@@ -7735,6 +10103,19 @@ export declare interface StatefulCallClient extends CallClient {
|
|
7735
10103
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
7736
10104
|
*/
|
7737
10105
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
10106
|
+
/** @conditional-compile-remove(one-to-n-calling) */
|
10107
|
+
/**
|
10108
|
+
* The CallAgent is used to handle calls.
|
10109
|
+
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
10110
|
+
* - The CallClient can only have one active CallAgent instance at a time.
|
10111
|
+
* - You can create a new CallClient instance to create a new CallAgent.
|
10112
|
+
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
10113
|
+
* createCallAgent() method again to create a new CallAgent.
|
10114
|
+
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
10115
|
+
* @param options - The CallAgentOptions for additional options like display name.
|
10116
|
+
* @public
|
10117
|
+
*/
|
10118
|
+
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
7738
10119
|
}
|
7739
10120
|
|
7740
10121
|
/**
|
@@ -7747,7 +10128,16 @@ export declare type StatefulCallClientArgs = {
|
|
7747
10128
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
7748
10129
|
* state. It is not used by StatefulCallClient.
|
7749
10130
|
*/
|
7750
|
-
userId: CommunicationUserIdentifier;
|
10131
|
+
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
10132
|
+
/**
|
10133
|
+
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
10134
|
+
* to start a PSTN call.
|
10135
|
+
*
|
10136
|
+
* example: +11234567
|
10137
|
+
*
|
10138
|
+
* This is not a cached value from the headless calling client.
|
10139
|
+
*/
|
10140
|
+
alternateCallerId?: string;
|
7751
10141
|
};
|
7752
10142
|
|
7753
10143
|
/**
|
@@ -7775,6 +10165,10 @@ export declare type StatefulCallClientOptions = {
|
|
7775
10165
|
* @public
|
7776
10166
|
*/
|
7777
10167
|
export declare interface StatefulChatClient extends ChatClient {
|
10168
|
+
/**
|
10169
|
+
* Cleans up the resource cache from the chat thread client.
|
10170
|
+
*/
|
10171
|
+
dispose(): void;
|
7778
10172
|
/**
|
7779
10173
|
* Holds all the state that we could proxy from ChatClient {@Link @azure/communication-chat#ChatClient} as
|
7780
10174
|
* ChatClientState {@Link ChatClientState}.
|
@@ -7792,6 +10186,22 @@ export declare interface StatefulChatClient extends ChatClient {
|
|
7792
10186
|
* @param handler - Original callback to be unsubscribed.
|
7793
10187
|
*/
|
7794
10188
|
offStateChange(handler: (state: ChatClientState) => void): void;
|
10189
|
+
/**
|
10190
|
+
* Downloads a resource for specific message and caches it.
|
10191
|
+
*
|
10192
|
+
* @param threadId - The thread id of the chat thread.
|
10193
|
+
* @param messageId - The message id of the chat message.
|
10194
|
+
* @param resourceUrl - The resource url to fetch and cache.
|
10195
|
+
*/
|
10196
|
+
downloadResourceToCache(threadId: string, messageId: string, resourceUrl: string): void;
|
10197
|
+
/**
|
10198
|
+
* Removes a resource from cache for a specific message.
|
10199
|
+
*
|
10200
|
+
* @param threadId - The thread id of the chat thread.
|
10201
|
+
* @param messageId - The message id of the chat message.
|
10202
|
+
* @param resourceUrl - The resource url to remove from cache.
|
10203
|
+
*/
|
10204
|
+
removeResourceFromCache(threadId: string, messageId: string, resourceUrl: string): void;
|
7795
10205
|
}
|
7796
10206
|
|
7797
10207
|
/**
|
@@ -7876,6 +10286,62 @@ export declare interface StreamMediaProps {
|
|
7876
10286
|
styles?: BaseCustomStyles;
|
7877
10287
|
}
|
7878
10288
|
|
10289
|
+
/**
|
10290
|
+
* @beta
|
10291
|
+
* Corresponding texts to each call issue
|
10292
|
+
*/
|
10293
|
+
export declare interface SurveyIssues {
|
10294
|
+
overallRating: {
|
10295
|
+
callCannotJoin: string;
|
10296
|
+
callCannotInvite: string;
|
10297
|
+
hadToRejoin: string;
|
10298
|
+
callEndedUnexpectedly: string;
|
10299
|
+
otherIssues: string;
|
10300
|
+
};
|
10301
|
+
audioRating: {
|
10302
|
+
noLocalAudio: string;
|
10303
|
+
noRemoteAudio: string;
|
10304
|
+
echo: string;
|
10305
|
+
audioNoise: string;
|
10306
|
+
lowVolume: string;
|
10307
|
+
audioStoppedUnexpectedly: string;
|
10308
|
+
distortedSpeech: string;
|
10309
|
+
audioInterruption: string;
|
10310
|
+
otherIssues: string;
|
10311
|
+
};
|
10312
|
+
videoRating: {
|
10313
|
+
noVideoReceived: string;
|
10314
|
+
noVideoSent: string;
|
10315
|
+
lowQuality: string;
|
10316
|
+
freezes: string;
|
10317
|
+
stoppedUnexpectedly: string;
|
10318
|
+
darkVideoReceived: string;
|
10319
|
+
audioVideoOutOfSync: string;
|
10320
|
+
otherIssues: string;
|
10321
|
+
};
|
10322
|
+
screenshareRating: {
|
10323
|
+
noContentLocal: string;
|
10324
|
+
noContentRemote: string;
|
10325
|
+
cannotPresent: string;
|
10326
|
+
lowQuality: string;
|
10327
|
+
freezes: string;
|
10328
|
+
stoppedUnexpectedly: string;
|
10329
|
+
largeDelay: string;
|
10330
|
+
otherIssues: string;
|
10331
|
+
};
|
10332
|
+
}
|
10333
|
+
|
10334
|
+
/**
|
10335
|
+
* @beta
|
10336
|
+
* Corresponding texts to each call issue category
|
10337
|
+
*/
|
10338
|
+
export declare interface SurveyIssuesHeadingStrings {
|
10339
|
+
overallRating: string;
|
10340
|
+
audioRating: string;
|
10341
|
+
videoRating: string;
|
10342
|
+
screenshareRating: string;
|
10343
|
+
}
|
10344
|
+
|
7879
10345
|
/**
|
7880
10346
|
* Discriminated union of all system messages.
|
7881
10347
|
*
|
@@ -7902,6 +10368,74 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
7902
10368
|
*/
|
7903
10369
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
7904
10370
|
|
10371
|
+
/**
|
10372
|
+
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
10373
|
+
*
|
10374
|
+
* @beta
|
10375
|
+
*/
|
10376
|
+
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
10377
|
+
/**
|
10378
|
+
* Join the call with microphone initially on/off.
|
10379
|
+
* @deprecated Use joinCall(options?:JoinCallOptions) instead.
|
10380
|
+
* @param microphoneOn - Whether microphone is initially enabled
|
10381
|
+
*
|
10382
|
+
* @beta
|
10383
|
+
*/
|
10384
|
+
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
10385
|
+
/**
|
10386
|
+
* Join the call with options bag to set microphone/camera initial state when joining call
|
10387
|
+
* true = turn on the device when joining call
|
10388
|
+
* false = turn off the device when joining call
|
10389
|
+
* 'keep'/undefined = retain devices' precall state
|
10390
|
+
*
|
10391
|
+
* @param options - param to set microphone/camera initially on/off.
|
10392
|
+
*
|
10393
|
+
* @public
|
10394
|
+
*/
|
10395
|
+
joinCall(options?: JoinCallOptions): TeamsCall | undefined;
|
10396
|
+
/**
|
10397
|
+
* Start the call.
|
10398
|
+
*
|
10399
|
+
* @param participants - An array of participant ids to join
|
10400
|
+
*
|
10401
|
+
* @beta
|
10402
|
+
*/
|
10403
|
+
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
10404
|
+
/**
|
10405
|
+
* Start the call.
|
10406
|
+
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
10407
|
+
* @beta
|
10408
|
+
*/
|
10409
|
+
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
10410
|
+
}
|
10411
|
+
|
10412
|
+
/**
|
10413
|
+
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
10414
|
+
*
|
10415
|
+
* @beta
|
10416
|
+
*/
|
10417
|
+
export declare type TeamsCallAdapterArgs = {
|
10418
|
+
userId: MicrosoftTeamsUserIdentifier;
|
10419
|
+
credential: CommunicationTokenCredential;
|
10420
|
+
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
10421
|
+
/**
|
10422
|
+
* Optional parameters for the {@link TeamsCallAdapter} created
|
10423
|
+
*/
|
10424
|
+
options?: TeamsAdapterOptions;
|
10425
|
+
};
|
10426
|
+
|
10427
|
+
/**
|
10428
|
+
* Object containing all the teams call handlers required for calling components.
|
10429
|
+
*
|
10430
|
+
* Calling related components from this package are able to pick out relevant handlers from this object.
|
10431
|
+
* See {@link useHandlers} and {@link usePropsFor}.
|
10432
|
+
*
|
10433
|
+
* @beta
|
10434
|
+
*/
|
10435
|
+
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
10436
|
+
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10437
|
+
}
|
10438
|
+
|
7905
10439
|
/**
|
7906
10440
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
7907
10441
|
*
|
@@ -8102,11 +10636,118 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
8102
10636
|
typingString?: IStyle;
|
8103
10637
|
}
|
8104
10638
|
|
10639
|
+
/**
|
10640
|
+
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
10641
|
+
*
|
10642
|
+
* @beta
|
10643
|
+
*/
|
10644
|
+
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
10645
|
+
|
10646
|
+
/**
|
10647
|
+
* props for {@link UnsupportedBrowser} UI
|
10648
|
+
*
|
10649
|
+
* @beta
|
10650
|
+
*/
|
10651
|
+
export declare interface UnsupportedBrowserProps {
|
10652
|
+
/** Handler to perform an action when the help link is actioned */
|
10653
|
+
onTroubleshootingClick?: () => void;
|
10654
|
+
/** String overrides for the component */
|
10655
|
+
strings?: UnsupportedBrowserStrings;
|
10656
|
+
}
|
10657
|
+
|
10658
|
+
/**
|
10659
|
+
* Strings for UnsupportedBrowser component
|
10660
|
+
*
|
10661
|
+
* @beta
|
10662
|
+
*/
|
10663
|
+
export declare interface UnsupportedBrowserStrings {
|
10664
|
+
/** String for the primary text */
|
10665
|
+
primaryText: string;
|
10666
|
+
/** String for the secondary text */
|
10667
|
+
secondaryText: string;
|
10668
|
+
/** String to display in the text for the help link */
|
10669
|
+
moreHelpLinkText: string;
|
10670
|
+
}
|
10671
|
+
|
10672
|
+
/**
|
10673
|
+
* UI to display to the user that the browser version they are using is out of date
|
10674
|
+
* and not supported by Azure Communications Calling service.
|
10675
|
+
*
|
10676
|
+
* @beta
|
10677
|
+
*/
|
10678
|
+
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
10679
|
+
|
10680
|
+
/**
|
10681
|
+
* props for {@link UnsupportedBrowserVersion} UI
|
10682
|
+
*
|
10683
|
+
* @beta
|
10684
|
+
*/
|
10685
|
+
export declare interface UnsupportedBrowserVersionProps {
|
10686
|
+
/** Handler to perform an action when the help link is actioned */
|
10687
|
+
onTroubleshootingClick?: () => void;
|
10688
|
+
/** String overrides for the component */
|
10689
|
+
strings?: UnsupportedBrowserVersionStrings;
|
10690
|
+
/** Handler to allow user to continue into the call */
|
10691
|
+
onContinueAnywayClick?: () => void;
|
10692
|
+
}
|
10693
|
+
|
10694
|
+
/**
|
10695
|
+
* Strings for UnsupportedBrowser component
|
10696
|
+
*
|
10697
|
+
* @beta
|
10698
|
+
*/
|
10699
|
+
export declare interface UnsupportedBrowserVersionStrings {
|
10700
|
+
/** String for the primary text */
|
10701
|
+
primaryText: string;
|
10702
|
+
/** String for the secondary text */
|
10703
|
+
secondaryText: string;
|
10704
|
+
/** String to display in the text for the help link */
|
10705
|
+
moreHelpLinkText: string;
|
10706
|
+
/** String for continue without updating button */
|
10707
|
+
continueAnywayButtonText?: string;
|
10708
|
+
}
|
10709
|
+
|
10710
|
+
/**
|
10711
|
+
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
10712
|
+
*
|
10713
|
+
* @beta
|
10714
|
+
*/
|
10715
|
+
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
10716
|
+
|
10717
|
+
/**
|
10718
|
+
* Props for {@link UnsupportedOperatingSystem} UI
|
10719
|
+
*
|
10720
|
+
* @beta
|
10721
|
+
*/
|
10722
|
+
export declare interface UnsupportedOperatingSystemProps {
|
10723
|
+
/** Handler to perform a action when the help link is actioned */
|
10724
|
+
onTroubleshootingClick?: () => void;
|
10725
|
+
/** String overrides for the component */
|
10726
|
+
strings?: UnsupportedOperatingSystemStrings;
|
10727
|
+
}
|
10728
|
+
|
10729
|
+
/**
|
10730
|
+
* Strings for UnsupportedBrowser component
|
10731
|
+
*
|
10732
|
+
* @beta
|
10733
|
+
*/
|
10734
|
+
export declare interface UnsupportedOperatingSystemStrings {
|
10735
|
+
/** String for the primary text */
|
10736
|
+
primaryText: string;
|
10737
|
+
/** String for the secondary text */
|
10738
|
+
secondaryText: string;
|
10739
|
+
/** String to display in the text for the help link */
|
10740
|
+
moreHelpLinkText: string;
|
10741
|
+
}
|
10742
|
+
|
8105
10743
|
/**
|
8106
10744
|
* @public
|
8107
10745
|
* Callback function run when a message is updated.
|
8108
10746
|
*/
|
8109
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
10747
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string, options?: {
|
10748
|
+
metadata?: Record<string, string>;
|
10749
|
+
attachmentMetadata?: AttachmentMetadata[];
|
10750
|
+
}) => Promise<void>;
|
8110
10751
|
|
8111
10752
|
/**
|
8112
10753
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -8254,6 +10895,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
8254
10895
|
*/
|
8255
10896
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: 'calling' | 'chat') => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
8256
10897
|
|
10898
|
+
/**
|
10899
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
10900
|
+
*
|
10901
|
+
* Useful when implementing a custom component that utilizes the providers
|
10902
|
+
* exported from this library.
|
10903
|
+
*
|
10904
|
+
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
10905
|
+
*
|
10906
|
+
* @beta
|
10907
|
+
*/
|
10908
|
+
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
10909
|
+
|
10910
|
+
/**
|
10911
|
+
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
10912
|
+
*
|
10913
|
+
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
10914
|
+
* creation of the adapter internally.
|
10915
|
+
*
|
10916
|
+
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
10917
|
+
* as they are created. The adapter is only created when all arguments are defined.
|
10918
|
+
*
|
10919
|
+
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
10920
|
+
* See storybook for typical usage examples.
|
10921
|
+
*
|
10922
|
+
* @beta
|
10923
|
+
*/
|
10924
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
10925
|
+
|
10926
|
+
/**
|
10927
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
10928
|
+
*
|
10929
|
+
* Useful when implementing a custom component that utilizes the providers
|
10930
|
+
* exported from this library.
|
10931
|
+
*
|
10932
|
+
* @beta
|
10933
|
+
*/
|
10934
|
+
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
10935
|
+
|
8257
10936
|
/**
|
8258
10937
|
* React hook to access theme
|
8259
10938
|
*
|
@@ -8393,7 +11072,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
8393
11072
|
/**
|
8394
11073
|
* @public
|
8395
11074
|
*/
|
8396
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
|
11075
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(large-gallery) */ 'largeGallery' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
|
8397
11076
|
|
8398
11077
|
/**
|
8399
11078
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -8403,6 +11082,12 @@ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @
|
|
8403
11082
|
export declare interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {
|
8404
11083
|
/** Whether local participant is raised a hand */
|
8405
11084
|
raisedHand?: RaisedHand;
|
11085
|
+
/**
|
11086
|
+
* Whether local participant has reacted
|
11087
|
+
*
|
11088
|
+
* @beta
|
11089
|
+
* */
|
11090
|
+
reaction?: Reaction;
|
8406
11091
|
}
|
8407
11092
|
|
8408
11093
|
/**
|
@@ -8421,6 +11106,8 @@ export declare type VideoGalleryParticipant = {
|
|
8421
11106
|
videoStream?: VideoGalleryStream;
|
8422
11107
|
/** Whether participant is screen sharing or not */
|
8423
11108
|
isScreenSharingOn?: boolean;
|
11109
|
+
/** Whether participant is spotlighted **/
|
11110
|
+
spotlight?: Spotlight;
|
8424
11111
|
};
|
8425
11112
|
|
8426
11113
|
/**
|
@@ -8504,6 +11191,30 @@ export declare interface VideoGalleryProps {
|
|
8504
11191
|
* This callback will be called when a participant video tile is un-pinned.
|
8505
11192
|
*/
|
8506
11193
|
onUnpinParticipant?: (userId: string) => void;
|
11194
|
+
/**
|
11195
|
+
* List of spotlighted participant userIds.
|
11196
|
+
*/
|
11197
|
+
spotlightedParticipants?: string[];
|
11198
|
+
/**
|
11199
|
+
* This callback will be called when spotlight is started for the local participant video tile.
|
11200
|
+
*/
|
11201
|
+
onStartLocalSpotlight?: () => Promise<void>;
|
11202
|
+
/**
|
11203
|
+
* This callback will be called when spotlight is started for the local participant video tile.
|
11204
|
+
*/
|
11205
|
+
onStartRemoteSpotlight?: (userIds?: string[]) => Promise<void>;
|
11206
|
+
/**
|
11207
|
+
* This callback will be called when spotlight is stopped for remote participant video tiles.
|
11208
|
+
*/
|
11209
|
+
onStopLocalSpotlight?: () => Promise<void>;
|
11210
|
+
/**
|
11211
|
+
* This callback will be called when spotlight is stopped for remote participant video tiles.
|
11212
|
+
*/
|
11213
|
+
onStopRemoteSpotlight?: (userIds?: string[]) => Promise<void>;
|
11214
|
+
/**
|
11215
|
+
* Maximum participants that can be spotlighted
|
11216
|
+
*/
|
11217
|
+
maxParticipantsToSpotlight?: number;
|
8507
11218
|
/**
|
8508
11219
|
* Options for showing the remote video tile menu.
|
8509
11220
|
*
|
@@ -8522,6 +11233,11 @@ export declare interface VideoGalleryProps {
|
|
8522
11233
|
* @defaultValue 'followDeviceOrientation'
|
8523
11234
|
*/
|
8524
11235
|
localVideoTileSize?: LocalVideoTileSize;
|
11236
|
+
/**
|
11237
|
+
* Reaction resources for like, heart, laugh, applause and surprised.
|
11238
|
+
* @beta
|
11239
|
+
*/
|
11240
|
+
reactionResources?: ReactionResources;
|
8525
11241
|
}
|
8526
11242
|
|
8527
11243
|
/**
|
@@ -8534,8 +11250,19 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
8534
11250
|
isSpeaking?: boolean;
|
8535
11251
|
/** Video stream of shared screen */
|
8536
11252
|
screenShareStream?: VideoGalleryStream;
|
11253
|
+
/**
|
11254
|
+
* @beta
|
11255
|
+
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
11256
|
+
*/
|
11257
|
+
state?: ParticipantState;
|
8537
11258
|
/** Whether participant is raised a hand */
|
8538
11259
|
raisedHand?: RaisedHand;
|
11260
|
+
/**
|
11261
|
+
* Whether participant has reacted
|
11262
|
+
*
|
11263
|
+
* @beta
|
11264
|
+
* */
|
11265
|
+
reaction?: Reaction;
|
8539
11266
|
}
|
8540
11267
|
|
8541
11268
|
/**
|
@@ -8549,6 +11276,8 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
8549
11276
|
remoteParticipants: VideoGalleryRemoteParticipant[];
|
8550
11277
|
dominantSpeakers?: string[];
|
8551
11278
|
optimalVideoCount?: number;
|
11279
|
+
spotlightedParticipants?: string[];
|
11280
|
+
maxParticipantsToSpotlight?: number;
|
8552
11281
|
};
|
8553
11282
|
|
8554
11283
|
/**
|
@@ -8612,6 +11341,18 @@ export declare interface VideoGalleryStrings {
|
|
8612
11341
|
pinnedParticipantAnnouncementAriaLabel: string;
|
8613
11342
|
/** Aria label to announce when remote participant's video tile is unpinned */
|
8614
11343
|
unpinnedParticipantAnnouncementAriaLabel: string;
|
11344
|
+
/** Menu text shown in Video Tile contextual menu to start spotlight on participant's video tile */
|
11345
|
+
startSpotlightVideoTileMenuLabel: string;
|
11346
|
+
/** Menu text shown in Video Tile contextual menu to add spotlight to participant's video tile */
|
11347
|
+
addSpotlightVideoTileMenuLabel: string;
|
11348
|
+
/** Menu title for start spotlight menu item when spotlight limit is reached */
|
11349
|
+
spotlightLimitReachedMenuTitle: string;
|
11350
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on participant's video tile */
|
11351
|
+
stopSpotlightVideoTileMenuLabel: string;
|
11352
|
+
/** Menu text shown in Video Tile contextual menu to stop spotlight on local user's video tile */
|
11353
|
+
stopSpotlightOnSelfVideoTileMenuLabel: string;
|
11354
|
+
/** String for the attendee role */
|
11355
|
+
attendeeRole: string;
|
8615
11356
|
}
|
8616
11357
|
|
8617
11358
|
/**
|
@@ -8773,6 +11514,17 @@ export declare interface VideoTileProps {
|
|
8773
11514
|
isSpeaking?: boolean;
|
8774
11515
|
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
8775
11516
|
raisedHand?: RaisedHand;
|
11517
|
+
/**
|
11518
|
+
* When the participant has reacted, animate the reaction.
|
11519
|
+
* @beta
|
11520
|
+
* */
|
11521
|
+
reaction?: Reaction;
|
11522
|
+
/**
|
11523
|
+
* The call connection state of the participant.
|
11524
|
+
* For example, `Hold` means the participant is on hold.
|
11525
|
+
*/
|
11526
|
+
participantState?: ParticipantState;
|
11527
|
+
strings?: VideoTileStrings;
|
8776
11528
|
/**
|
8777
11529
|
* Display custom menu items in the VideoTile's contextual menu.
|
8778
11530
|
* Uses Fluent UI ContextualMenu.
|
@@ -8783,6 +11535,24 @@ export declare interface VideoTileProps {
|
|
8783
11535
|
* Callback triggered by video tile on touch and hold.
|
8784
11536
|
*/
|
8785
11537
|
onLongTouch?: () => void;
|
11538
|
+
/**
|
11539
|
+
* If true, the video tile will show the spotlighted icon.
|
11540
|
+
*/
|
11541
|
+
isSpotlighted?: boolean;
|
11542
|
+
/**
|
11543
|
+
* Reactions resources' url and metadata.
|
11544
|
+
* @beta
|
11545
|
+
*/
|
11546
|
+
reactionResources?: ReactionResources;
|
11547
|
+
}
|
11548
|
+
|
11549
|
+
/**
|
11550
|
+
* Strings of {@link VideoTile} that can be overridden.
|
11551
|
+
* @beta
|
11552
|
+
*/
|
11553
|
+
export declare interface VideoTileStrings {
|
11554
|
+
participantStateRinging: string;
|
11555
|
+
participantStateHold: string;
|
8786
11556
|
}
|
8787
11557
|
|
8788
11558
|
/**
|