@azure/communication-react 1.25.0-beta.1 → 1.25.0
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 +101 -2237
- package/dist/dist-cjs/communication-react/index.js +38066 -177
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.d.ts +0 -13
- package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/constants.d.ts +0 -5
- package/dist/dist-esm/acs-ui-common/src/constants.js +0 -5
- package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +0 -4
- package/dist/dist-esm/acs-ui-common/src/index.js +0 -3
- package/dist/dist-esm/acs-ui-common/src/index.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 +0 -14
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +0 -16
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +0 -8
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +2 -64
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +2 -7
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +0 -28
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +1 -65
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +1 -30
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js +2 -21
- package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +0 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +1 -3
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +0 -5
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +3 -8
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -4
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +12 -159
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js +8 -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 +0 -23
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +0 -229
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -6
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +4 -30
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +0 -12
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +0 -32
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +0 -9
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +1 -45
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +1 -7
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -3
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +0 -7
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -17
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -3
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +2 -6
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +2 -35
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +2 -3
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +0 -3
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +2 -25
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -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 -15
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +1 -2
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.d.ts +0 -1
- package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +1 -36
- package/dist/dist-esm/communication-react/src/index.js +0 -9
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/mergedHooks.d.ts +2 -2
- package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +0 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +0 -101
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +6 -83
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -13
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +3 -9
- 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 +0 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -32
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +5 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +4 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.d.ts +1 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +6 -31
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +1 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +0 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +2 -23
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +6 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +6 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +5 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +0 -2
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -15
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js +1 -5
- package/dist/dist-esm/react-components/src/components/MeetingReactionOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +5 -81
- package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -13
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/NotificationStack.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/NotificationStack.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +3 -12
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +1 -47
- package/dist/dist-esm/react-components/src/components/SendBox.js +6 -57
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -2
- package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -19
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +16 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.d.ts +22 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js +44 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js +10 -0
- 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.d.ts +9 -34
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +3 -14
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +1 -25
- package/dist/dist-esm/react-components/src/components/index.js +0 -11
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +0 -3
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +0 -25
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +0 -66
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -16
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +1 -37
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +3 -30
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +2 -4
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +2 -9
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +1 -38
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +4 -131
- 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 +0 -2
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.js +1 -3
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -4
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -3
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -2
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -63
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -29
- package/dist/dist-esm/react-components/src/theming/icons.js +1 -91
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/themes.js +0 -9
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -3
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/Attachment.d.ts +0 -13
- package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -20
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/index.d.ts +0 -1
- package/dist/dist-esm/react-components/src/types/index.js +0 -1
- package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +17 -73
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +10 -23
- 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 +0 -64
- 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 +5 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +21 -72
- 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 +3 -72
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -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/index.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +3 -7
- 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/ConfigurationPageCameraDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -10
- 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 +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -19
- 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/LocalDeviceSettings.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +3 -5
- 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/MediaGallery.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +2 -2
- 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/SidePane/SidePane.js +1 -1
- 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/hooks/useHandlers.js +1 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +12 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +8 -41
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +2 -2
- 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/TransferPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +1 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +0 -55
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +15 -64
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +6 -12
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +3 -20
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +14 -56
- 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 +3 -73
- 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 +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -12
- 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 +4 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -27
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +11 -189
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -20
- 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 +2 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +0 -36
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +2 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -2
- 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 +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsBanner.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsBanner.js +2 -12
- package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +2 -12
- 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/DesktopMoreButton.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +2 -85
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +6 -69
- 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/PreparedMoreDrawer.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.d.ts +2 -41
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js +0 -21
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/constants.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/constants.js +0 -5
- 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 +1 -39
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/package.json +9 -9
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DDbI_4qb.js +0 -205
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DDbI_4qb.js.map +0 -1
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-DmoSn5h1.js +0 -49
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-DmoSn5h1.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-CYhCyRf_.js +0 -45771
- package/dist/dist-cjs/communication-react/index-CYhCyRf_.js.map +0 -1
- package/dist/dist-esm/acs-ui-common/src/dataConversion.d.ts +0 -6
- package/dist/dist-esm/acs-ui-common/src/dataConversion.js +0 -20
- package/dist/dist-esm/acs-ui-common/src/dataConversion.js.map +0 -1
- package/dist/dist-esm/acs-ui-common/src/removeImageTags.d.ts +0 -7
- package/dist/dist-esm/acs-ui-common/src/removeImageTags.js +0 -18
- package/dist/dist-esm/acs-ui-common/src/removeImageTags.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.d.ts +0 -14
- package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.js +0 -204
- package/dist/dist-esm/calling-stateful-client/src/CallFeatureStreamUtils.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.d.ts +0 -17
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +0 -33
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RealTimeTextSubscriber.d.ts +0 -16
- package/dist/dist-esm/calling-stateful-client/src/RealTimeTextSubscriber.js +0 -22
- package/dist/dist-esm/calling-stateful-client/src/RealTimeTextSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.d.ts +0 -24
- package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.js +0 -60
- package/dist/dist-esm/calling-stateful-client/src/TogetherModeSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.d.ts +0 -18
- package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.js +0 -31
- package/dist/dist-esm/calling-stateful-client/src/TogetherModeVideoStreamSubscriber.js.map +0 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.d.ts +0 -6
- package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.js +0 -20
- package/dist/dist-esm/chat-component-bindings/src/utils/getImageAttachmentsFromHTMLContent.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +0 -196
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +0 -69
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +0 -36
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +0 -67
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +0 -105
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +0 -51
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +0 -86
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +0 -40
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +0 -121
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -119
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.d.ts +0 -28
- package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.js +0 -26
- package/dist/dist-esm/react-components/src/components/RTTDisclosureBanner.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RealTimeText.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/RealTimeText.js +0 -38
- package/dist/dist-esm/react-components/src/components/RealTimeText.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RealTimeTextModal.d.ts +0 -42
- package/dist/dist-esm/react-components/src/components/RealTimeTextModal.js +0 -53
- package/dist/dist-esm/react-components/src/components/RealTimeTextModal.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.d.ts +0 -9
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js +0 -29
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.d.ts +0 -30
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +0 -98
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.d.ts +0 -19
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js +0 -43
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js +0 -42
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js +0 -64
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.d.ts +0 -20
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js +0 -45
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.js +0 -42
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UndoRedoPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.d.ts +0 -30
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js +0 -99
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.d.ts +0 -59
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +0 -332
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +0 -37
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +0 -78
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +0 -215
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +0 -173
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.d.ts +0 -16
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +0 -75
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.d.ts +0 -19
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js +0 -229
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js +0 -51
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js +0 -64
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.d.ts +0 -6
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js +0 -13
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +0 -56
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +0 -75
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +0 -18
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/StartRealTimeTextButton.d.ts +0 -48
- package/dist/dist-esm/react-components/src/components/StartRealTimeTextButton.js +0 -25
- package/dist/dist-esm/react-components/src/components/StartRealTimeTextButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -550
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -819
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TogetherModeOverlay.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/TogetherModeOverlay.js +0 -91
- package/dist/dist-esm/react-components/src/components/TogetherModeOverlay.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeLayout.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeLayout.js +0 -14
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeLayout.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeStream.d.ts +0 -23
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeStream.js +0 -47
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeStream.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -69
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js +0 -23
- package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +0 -82
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +0 -320
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +0 -38
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -99
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +0 -32
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/TogetherMode.styles.d.ts +0 -98
- package/dist/dist-esm/react-components/src/components/styles/TogetherMode.styles.js +0 -181
- package/dist/dist-esm/react-components/src/components/styles/TogetherMode.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -69
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.d.ts +0 -73
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js +0 -178
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.d.ts +0 -33
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js +0 -119
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/sortCaptionsAndRealTimeTexts.d.ts +0 -8
- package/dist/dist-esm/react-components/src/components/utils/sortCaptionsAndRealTimeTexts.js +0 -17
- package/dist/dist-esm/react-components/src/components/utils/sortCaptionsAndRealTimeTexts.js.map +0 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/types/TogetherModeTypes.d.ts +0 -38
- package/dist/dist-esm/react-components/src/types/TogetherModeTypes.js +0 -2
- package/dist/dist-esm/react-components/src/types/TogetherModeTypes.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -49
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -203
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -41
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.d.ts +0 -49
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js +0 -44
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadReducer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.d.ts +0 -39
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js +0 -265
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ImageUpload/ImageUploadUtils.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.d.ts +0 -80
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js +0 -36
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.d.ts +0 -38
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +0 -67
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js +0 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingRealTimeTextModal.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/common/CallingRealTimeTextModal.js +0 -19
- package/dist/dist-esm/react-composites/src/composites/common/CallingRealTimeTextModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.d.ts +0 -10
- package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js +0 -16
- package/dist/dist-esm/react-composites/src/composites/common/RichTextSendBoxWrapper.js.map +0 -1
@@ -17,7 +17,6 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
17
17
|
import { CallDirection } from '@azure/communication-calling';
|
18
18
|
import { CallEndReason } from '@azure/communication-calling';
|
19
19
|
import { CallerInfo } from '@azure/communication-calling';
|
20
|
-
import { CallInfo } from '@azure/communication-calling';
|
21
20
|
import { CallKind } from '@azure/communication-calling';
|
22
21
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
23
22
|
import { CallSurvey } from '@azure/communication-calling';
|
@@ -51,7 +50,6 @@ import { IContextualMenuProps } from '@fluentui/react';
|
|
51
50
|
import { IContextualMenuStyles } from '@fluentui/react';
|
52
51
|
import { IIconProps } from '@fluentui/react';
|
53
52
|
import { IIconStyles } from '@fluentui/react';
|
54
|
-
import { ILinkStyles } from '@fluentui/react';
|
55
53
|
import { IMessageBarProps } from '@fluentui/react';
|
56
54
|
import { IncomingCall } from '@azure/communication-calling';
|
57
55
|
import { IncomingCallKind } from '@azure/communication-calling';
|
@@ -65,7 +63,6 @@ import { IStyleFunctionOrObject } from '@fluentui/react';
|
|
65
63
|
import { ITextFieldStyles } from '@fluentui/react';
|
66
64
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
67
65
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
68
|
-
import { LocalRecordingInfo } from '@azure/communication-calling';
|
69
66
|
import { LocalVideoStream } from '@azure/communication-calling';
|
70
67
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
71
68
|
import { MediaStreamType } from '@azure/communication-calling';
|
@@ -74,7 +71,6 @@ import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
|
74
71
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
75
72
|
import { PartialTheme } from '@fluentui/react';
|
76
73
|
import { ParticipantCapabilities } from '@azure/communication-calling';
|
77
|
-
import { ParticipantInfo } from '@azure/communication-calling';
|
78
74
|
import { ParticipantRole } from '@azure/communication-calling';
|
79
75
|
import { PermissionConstraints } from '@azure/communication-calling';
|
80
76
|
import { PersonaInitialsColor } from '@fluentui/react';
|
@@ -85,9 +81,6 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
|
|
85
81
|
import { default as React_2 } from 'react';
|
86
82
|
import { Reaction as Reaction_2 } from '@azure/communication-calling';
|
87
83
|
import { ReactionMessage } from '@azure/communication-calling';
|
88
|
-
import { RealTimeTextInfo as RealTimeTextInfo_2 } from '@azure/communication-calling';
|
89
|
-
import { RealTimeTextResultType } from '@azure/communication-calling';
|
90
|
-
import { RecordingInfo } from '@azure/communication-calling';
|
91
84
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
92
85
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
93
86
|
import { RoomCallLocator } from '@azure/communication-calling';
|
@@ -277,40 +270,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
277
270
|
*/
|
278
271
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
279
272
|
|
280
|
-
/**
|
281
|
-
* @beta
|
282
|
-
* A callback function that defines what actions user can perform on an attachment.
|
283
|
-
* By default, the UI library would have default actions that opens attachment URL in a new tab.
|
284
|
-
* You can override the default actions or add new actions by providing this callback function.
|
285
|
-
* Moreover, you can also return dynamic actions based on the properties in {@link AttachmentMetadata} and/or {@link ChatMessage}.
|
286
|
-
*
|
287
|
-
* @param attachment - The file attachment that user is trying to perform actions on.
|
288
|
-
* @param message - The chat message that contains this attachment.
|
289
|
-
* @returns A list of {@link AttachmentMenuAction} that defines the type of actions user can perform on the attachment.
|
290
|
-
*/
|
291
|
-
export declare type AttachmentActionHandler = (attachment: AttachmentMetadata, message?: ChatMessage) => AttachmentMenuAction[];
|
292
|
-
|
293
|
-
/**
|
294
|
-
* @beta
|
295
|
-
*
|
296
|
-
* Attachment download options defines the list of actions that can be performed on an attachment.
|
297
|
-
*/
|
298
|
-
export declare interface AttachmentDownloadOptions {
|
299
|
-
actionsForAttachment: AttachmentActionHandler;
|
300
|
-
}
|
301
|
-
|
302
|
-
/**
|
303
|
-
* @beta
|
304
|
-
*
|
305
|
-
* Attachment menu action defines buttons that can be shown on the attachment card.
|
306
|
-
* If there's one action, it will be shown as a button, if there are multiple actions, it will be shown as a dropdown.
|
307
|
-
*/
|
308
|
-
export declare interface AttachmentMenuAction {
|
309
|
-
name: string;
|
310
|
-
icon: JSX.Element;
|
311
|
-
onClick: (attachment: AttachmentMetadata) => Promise<void>;
|
312
|
-
}
|
313
|
-
|
314
273
|
/**
|
315
274
|
* Data model that represents a chat message attachment
|
316
275
|
* where it contains an ID to uniquely identify the attachment,
|
@@ -334,150 +293,6 @@ export declare interface AttachmentMetadata {
|
|
334
293
|
url: string;
|
335
294
|
}
|
336
295
|
|
337
|
-
/**
|
338
|
-
* Data model that represents a chat message attachment being uploaded
|
339
|
-
* where it contains an ID to uniquely identify the attachment,
|
340
|
-
* a name that represents the name of file,
|
341
|
-
* an optional URL to download the attachment,
|
342
|
-
* an optional progress value between 0 and 1 indicating the progress of the upload, and
|
343
|
-
* an optional error object that contains error message would be shown to the user.
|
344
|
-
*
|
345
|
-
*
|
346
|
-
* @beta
|
347
|
-
*/
|
348
|
-
export declare interface AttachmentMetadataInProgress {
|
349
|
-
/**
|
350
|
-
* Unique ID of the attachment.
|
351
|
-
*/
|
352
|
-
id: string;
|
353
|
-
/**
|
354
|
-
* Attachment name to be displayed.
|
355
|
-
*/
|
356
|
-
name: string;
|
357
|
-
/**
|
358
|
-
* Download URL for the attachment.
|
359
|
-
*/
|
360
|
-
url?: string;
|
361
|
-
/**
|
362
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
363
|
-
*/
|
364
|
-
progress?: number;
|
365
|
-
/**
|
366
|
-
* A object contains error message would be shown to the user.
|
367
|
-
*/
|
368
|
-
error?: AttachmentProgressError;
|
369
|
-
}
|
370
|
-
|
371
|
-
/**
|
372
|
-
* @beta
|
373
|
-
*
|
374
|
-
* Attachment Options that defines behaviour for uploading and downloading attachments.
|
375
|
-
*/
|
376
|
-
export declare interface AttachmentOptions {
|
377
|
-
uploadOptions?: AttachmentUploadOptions;
|
378
|
-
downloadOptions?: AttachmentDownloadOptions;
|
379
|
-
}
|
380
|
-
|
381
|
-
/**
|
382
|
-
* @beta
|
383
|
-
* A attachment progress error object that contains message to be shown to
|
384
|
-
* the user when upload fails.
|
385
|
-
*/
|
386
|
-
export declare interface AttachmentProgressError {
|
387
|
-
message: string;
|
388
|
-
}
|
389
|
-
|
390
|
-
/**
|
391
|
-
* @beta
|
392
|
-
* A callback function for handling attachment removed by the user in send box.
|
393
|
-
*
|
394
|
-
* @param attachmentId - The ID of uploaded attachments.
|
395
|
-
*/
|
396
|
-
export declare type AttachmentRemovalHandler = (attachmentId: string) => void;
|
397
|
-
|
398
|
-
/**
|
399
|
-
* @beta
|
400
|
-
* A callback function for handling list of upload tasks that contains files selected by user to upload.
|
401
|
-
*
|
402
|
-
* @param AttachmentUploads - The list of uploaded attachments. Each attachment is represented by an {@link AttachmentUpload} object.
|
403
|
-
*/
|
404
|
-
export declare type AttachmentSelectionHandler = (attachmentUploads: AttachmentUploadTask[]) => void;
|
405
|
-
|
406
|
-
/**
|
407
|
-
* @beta
|
408
|
-
*/
|
409
|
-
export declare interface AttachmentUploadOptions {
|
410
|
-
/**
|
411
|
-
* A list of strings containing the comma separated list of supported media (aka. mime) types.
|
412
|
-
* i.e. ['image/*', 'video/*', 'audio/*']
|
413
|
-
* Default value is `['*']`, meaning all media types are supported.
|
414
|
-
* Similar to the `accept` attribute of the `<input type="attachment" />` element.
|
415
|
-
* @beta
|
416
|
-
*/
|
417
|
-
supportedMediaTypes?: string[];
|
418
|
-
/**
|
419
|
-
* Disable multiple attachments to be selected if set to `true`.
|
420
|
-
* Default value is `false`, meaning multiple attachments can be selected.
|
421
|
-
* Similar to the `multiple` attribute of the `<input type="attachment" />` element.
|
422
|
-
* @beta
|
423
|
-
*/
|
424
|
-
disableMultipleUploads?: boolean;
|
425
|
-
/**
|
426
|
-
* A callback function of type {@link AttachmentSelectionHandler} that will be called
|
427
|
-
* when user finishes selecting files in browser's file picker. This function is required since
|
428
|
-
* this would be where upload logic is implemented to your own storage.
|
429
|
-
* @beta
|
430
|
-
*/
|
431
|
-
handleAttachmentSelection: AttachmentSelectionHandler;
|
432
|
-
/**
|
433
|
-
* A optional callback function that will be called
|
434
|
-
* when user removing files before clicking send message button. This function will be
|
435
|
-
* where you can remove the file from your storage.
|
436
|
-
* @beta
|
437
|
-
*/
|
438
|
-
handleAttachmentRemoval?: AttachmentRemovalHandler;
|
439
|
-
}
|
440
|
-
|
441
|
-
/**
|
442
|
-
* A upload task represents and manages an attachment that is being uploaded.
|
443
|
-
* When using the Composite, an attachment upload task is created for each file user is selected to upload.
|
444
|
-
* A upload task is complete when notifyUploadCompleted is called.
|
445
|
-
* A upload task is failed when notifyUploadFailed is called.
|
446
|
-
* @beta
|
447
|
-
*/
|
448
|
-
export declare interface AttachmentUploadTask {
|
449
|
-
/**
|
450
|
-
* Unique identifier for the attachment upload task.
|
451
|
-
*/
|
452
|
-
taskId: string;
|
453
|
-
/**
|
454
|
-
* HTML {@link File} object for the uploaded attachment.
|
455
|
-
*/
|
456
|
-
file?: File;
|
457
|
-
/**
|
458
|
-
* {@link Blob} object for the uploaded inline image.
|
459
|
-
*/
|
460
|
-
image?: Blob;
|
461
|
-
/**
|
462
|
-
* Update the progress of the upload changed.
|
463
|
-
* A upload is considered complete when the progress reaches 1.
|
464
|
-
* @param value - number between 0 and 1
|
465
|
-
*/
|
466
|
-
notifyUploadProgressChanged: (value: number) => void;
|
467
|
-
/**
|
468
|
-
* Mark the upload task as complete.
|
469
|
-
* An attachment is considered completed uploading when ID and URL are provided.
|
470
|
-
* @param id - the unique identifier of the attachment.
|
471
|
-
* @param url - the download URL of the attachment.
|
472
|
-
*/
|
473
|
-
notifyUploadCompleted: (id: string, url: string) => void;
|
474
|
-
/**
|
475
|
-
* Mark the upload task as failed.
|
476
|
-
* @param message - An error message that can be displayed to the user.
|
477
|
-
*/
|
478
|
-
notifyUploadFailed: (message: string) => void;
|
479
|
-
}
|
480
|
-
|
481
296
|
/**
|
482
297
|
* Custom data attributes for displaying avatar for a user.
|
483
298
|
*
|
@@ -668,26 +483,6 @@ export declare interface BaseCustomStyles {
|
|
668
483
|
root?: IStyle;
|
669
484
|
}
|
670
485
|
|
671
|
-
/**
|
672
|
-
* Content blocked message type.
|
673
|
-
*
|
674
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
675
|
-
*
|
676
|
-
* @beta
|
677
|
-
*/
|
678
|
-
export declare interface BlockedMessage extends MessageCommon {
|
679
|
-
messageType: 'blocked';
|
680
|
-
warningText?: string;
|
681
|
-
linkText?: string;
|
682
|
-
link?: string;
|
683
|
-
deletedOn?: Date;
|
684
|
-
senderId?: string;
|
685
|
-
senderDisplayName?: string;
|
686
|
-
status?: MessageStatus;
|
687
|
-
attached?: MessageAttachedStatus;
|
688
|
-
mine?: boolean;
|
689
|
-
}
|
690
|
-
|
691
486
|
/**
|
692
487
|
* Breakout rooms state
|
693
488
|
*
|
@@ -702,136 +497,6 @@ export declare interface BreakoutRoomsState {
|
|
702
497
|
breakoutRoomDisplayName?: string;
|
703
498
|
}
|
704
499
|
|
705
|
-
/**
|
706
|
-
* @beta
|
707
|
-
* Props for BrowserPermissionDeniedIOS component.
|
708
|
-
*/
|
709
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
710
|
-
/**
|
711
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
712
|
-
*/
|
713
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
714
|
-
/**
|
715
|
-
* Link to image source.
|
716
|
-
*
|
717
|
-
* Image is inserted into the top of the component.
|
718
|
-
*/
|
719
|
-
imageSource?: string;
|
720
|
-
}
|
721
|
-
|
722
|
-
/**
|
723
|
-
* @beta
|
724
|
-
* Strings for BrowserPermissionDeniedIOS component
|
725
|
-
*/
|
726
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
727
|
-
/**
|
728
|
-
* Image alt text
|
729
|
-
*/
|
730
|
-
imageAltText: string;
|
731
|
-
/**
|
732
|
-
* Main text string.
|
733
|
-
*/
|
734
|
-
primaryText: string;
|
735
|
-
/**
|
736
|
-
* Subtext string.
|
737
|
-
*/
|
738
|
-
secondaryText: string;
|
739
|
-
/**
|
740
|
-
* Step 1 string
|
741
|
-
*/
|
742
|
-
step1Text: string;
|
743
|
-
/**
|
744
|
-
* Step 1 digit string
|
745
|
-
*/
|
746
|
-
step1DigitText: string;
|
747
|
-
/**
|
748
|
-
* Step 2 string
|
749
|
-
*/
|
750
|
-
step2Text: string;
|
751
|
-
/**
|
752
|
-
* Step 2 digit string
|
753
|
-
*/
|
754
|
-
step2DigitText: string;
|
755
|
-
/**
|
756
|
-
* Step 3 string
|
757
|
-
*/
|
758
|
-
step3Text: string;
|
759
|
-
/**
|
760
|
-
* Step 3 digit string
|
761
|
-
*/
|
762
|
-
step3DigitText: string;
|
763
|
-
/**
|
764
|
-
* Step 4 string
|
765
|
-
*/
|
766
|
-
step4Text: string;
|
767
|
-
/**
|
768
|
-
* Step 4 digit string
|
769
|
-
*/
|
770
|
-
step4DigitText: string;
|
771
|
-
}
|
772
|
-
|
773
|
-
/**
|
774
|
-
* @beta
|
775
|
-
* Props for BrowserPermissionDenied component.
|
776
|
-
*/
|
777
|
-
export declare interface BrowserPermissionDeniedProps {
|
778
|
-
/**
|
779
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
780
|
-
*/
|
781
|
-
onTroubleshootingClick?: () => void;
|
782
|
-
/**
|
783
|
-
* Action to be taken by the try again primary button.
|
784
|
-
*/
|
785
|
-
onTryAgainClick?: () => void;
|
786
|
-
/**
|
787
|
-
* Localization strings for BrowserPermissionDenied component.
|
788
|
-
*/
|
789
|
-
strings?: BrowserPermissionDeniedStrings;
|
790
|
-
/**
|
791
|
-
* Allows users to pass in an object contains custom CSS styles.
|
792
|
-
* @Example
|
793
|
-
* ```
|
794
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
795
|
-
* ```
|
796
|
-
*/
|
797
|
-
styles?: BrowserPermissionDeniedStyles;
|
798
|
-
}
|
799
|
-
|
800
|
-
/**
|
801
|
-
* @beta
|
802
|
-
* Strings for BrowserPermissionDenied component
|
803
|
-
*/
|
804
|
-
export declare interface BrowserPermissionDeniedStrings {
|
805
|
-
/**
|
806
|
-
* Main button text string.
|
807
|
-
*/
|
808
|
-
primaryButtonText: string;
|
809
|
-
/**
|
810
|
-
* Main text string.
|
811
|
-
*/
|
812
|
-
primaryText: string;
|
813
|
-
/**
|
814
|
-
* Subtext string.
|
815
|
-
*/
|
816
|
-
secondaryText: string;
|
817
|
-
/**
|
818
|
-
* More help link string.
|
819
|
-
*/
|
820
|
-
linkText: string;
|
821
|
-
}
|
822
|
-
|
823
|
-
/**
|
824
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
825
|
-
*
|
826
|
-
* @beta
|
827
|
-
*/
|
828
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
829
|
-
/** Styles for the primary button. */
|
830
|
-
primaryButton?: IButtonStyles;
|
831
|
-
/** Styles for the help troubleshooting link text. */
|
832
|
-
troubleshootingLink?: ILinkStyles;
|
833
|
-
}
|
834
|
-
|
835
500
|
/**
|
836
501
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
837
502
|
*
|
@@ -880,6 +545,8 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
880
545
|
*/
|
881
546
|
export declare type CallAdapterCallEndedEvent = {
|
882
547
|
callId: string;
|
548
|
+
code?: number;
|
549
|
+
subCode?: number;
|
883
550
|
};
|
884
551
|
|
885
552
|
/**
|
@@ -1035,49 +702,6 @@ export declare interface CallAdapterCallOperations {
|
|
1035
702
|
* @public
|
1036
703
|
*/
|
1037
704
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
1038
|
-
/**
|
1039
|
-
* Create the html view for a stream.
|
1040
|
-
*
|
1041
|
-
* @remarks
|
1042
|
-
* This method is implemented for composite
|
1043
|
-
*
|
1044
|
-
* @param featureName - Name of feature to render
|
1045
|
-
* @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
|
1046
|
-
*
|
1047
|
-
* @beta
|
1048
|
-
*/
|
1049
|
-
createTogetherModeStreamView(options?: TogetherModeStreamOptions): Promise<void | TogetherModeStreamViewResult>;
|
1050
|
-
/**
|
1051
|
-
* Start Together mode.
|
1052
|
-
*
|
1053
|
-
* @beta
|
1054
|
-
*/
|
1055
|
-
startTogetherMode(): Promise<void>;
|
1056
|
-
/**
|
1057
|
-
* Recalculate the seating positions for together mode.
|
1058
|
-
*
|
1059
|
-
* @remarks
|
1060
|
-
* This method is implemented for composite
|
1061
|
-
*
|
1062
|
-
* @param width - Width of the container
|
1063
|
-
* @param height - Height of the container
|
1064
|
-
*
|
1065
|
-
* @beta
|
1066
|
-
*/
|
1067
|
-
setTogetherModeSceneSize(width: number, height: number): void;
|
1068
|
-
/**
|
1069
|
-
* Dispose the html view for a stream.
|
1070
|
-
*
|
1071
|
-
* @remarks
|
1072
|
-
* This method is implemented for composite
|
1073
|
-
*
|
1074
|
-
*
|
1075
|
-
* @param featureName - Name of the feature to dispose
|
1076
|
-
* @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
|
1077
|
-
*
|
1078
|
-
* @beta
|
1079
|
-
*/
|
1080
|
-
disposeTogetherModeStreamView(): Promise<void>;
|
1081
705
|
/**
|
1082
706
|
* Dispose the html view for a screen share stream
|
1083
707
|
*
|
@@ -1128,10 +752,6 @@ export declare interface CallAdapterCallOperations {
|
|
1128
752
|
* @public
|
1129
753
|
*/
|
1130
754
|
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
1131
|
-
/**
|
1132
|
-
* Continues into a call when the browser version is not supported.
|
1133
|
-
*/
|
1134
|
-
allowUnsupportedBrowserVersion(): void;
|
1135
755
|
/**
|
1136
756
|
* Function to Start captions
|
1137
757
|
* @param options - options for start captions
|
@@ -1253,12 +873,6 @@ export declare interface CallAdapterCallOperations {
|
|
1253
873
|
* Permit Teams meeting video.
|
1254
874
|
*/
|
1255
875
|
permitOthersVideo(): Promise<void>;
|
1256
|
-
/**
|
1257
|
-
* Send real time text
|
1258
|
-
* @param text - real time text content
|
1259
|
-
* @param finalized - Boolean to indicate if the real time text is final
|
1260
|
-
*/
|
1261
|
-
sendRealTimeText: (text: string, isFinalized: boolean) => Promise<void>;
|
1262
876
|
}
|
1263
877
|
|
1264
878
|
/**
|
@@ -1437,7 +1051,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1437
1051
|
*
|
1438
1052
|
* @public
|
1439
1053
|
*/
|
1440
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator |
|
1054
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | TeamsMeetingIdLocator;
|
1441
1055
|
|
1442
1056
|
/**
|
1443
1057
|
* {@link CommonCallAdapter} state.
|
@@ -1530,10 +1144,6 @@ export declare interface CallAdapterSubscribers {
|
|
1530
1144
|
* Subscribe function for 'isSpokenLanguageChanged' event.
|
1531
1145
|
*/
|
1532
1146
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1533
|
-
/**
|
1534
|
-
* Subscribe function for 'realTimeTextReceived' event.
|
1535
|
-
*/
|
1536
|
-
on(event: 'realTimeTextReceived', listener: RealTimeTextReceivedListener): void;
|
1537
1147
|
/**
|
1538
1148
|
* Subscribe function for 'transferRequested' event.
|
1539
1149
|
*/
|
@@ -1622,10 +1232,6 @@ export declare interface CallAdapterSubscribers {
|
|
1622
1232
|
* Unsubscribe function for 'isSpokenLanguageChanged' event.
|
1623
1233
|
*/
|
1624
1234
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1625
|
-
/**
|
1626
|
-
* Unsubscribe function for 'realTimeTextReceived' event.
|
1627
|
-
*/
|
1628
|
-
off(event: 'realTimeTextReceived', listener: RealTimeTextReceivedListener): void;
|
1629
1235
|
/**
|
1630
1236
|
* Unsubscribe function for 'transferRequested' event.
|
1631
1237
|
*/
|
@@ -1660,7 +1266,6 @@ export declare interface CallAdapterSubscribers {
|
|
1660
1266
|
export declare type CallAdapterUiState = {
|
1661
1267
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1662
1268
|
page: CallCompositePage;
|
1663
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1664
1269
|
};
|
1665
1270
|
|
1666
1271
|
/**
|
@@ -1704,7 +1309,7 @@ export declare interface CallAgentState {
|
|
1704
1309
|
*/
|
1705
1310
|
export declare interface CallAndChatLocator {
|
1706
1311
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1707
|
-
callLocator: GroupCallLocator
|
1312
|
+
callLocator: GroupCallLocator;
|
1708
1313
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1709
1314
|
chatThreadId: string;
|
1710
1315
|
}
|
@@ -1908,7 +1513,6 @@ export declare type CallCompositeIcons = {
|
|
1908
1513
|
JoinByPhoneWaitToBeAdmittedIcon?: JSX.Element;
|
1909
1514
|
PeoplePaneMoreButton?: JSX.Element;
|
1910
1515
|
StopAllSpotlightMenuButton?: JSX.Element;
|
1911
|
-
TogetherModeLayout?: JSX.Element;
|
1912
1516
|
};
|
1913
1517
|
|
1914
1518
|
/**
|
@@ -1950,56 +1554,6 @@ export declare type CallCompositeOptions = {
|
|
1950
1554
|
* @defaultValue true
|
1951
1555
|
*/
|
1952
1556
|
callControls?: boolean | CallControlOptions;
|
1953
|
-
/**
|
1954
|
-
* Device permissions check options for your call.
|
1955
|
-
* Here you can choose what device permissions you prompt the user for,
|
1956
|
-
* as well as what device permissions must be accepted before starting a call.
|
1957
|
-
*/
|
1958
|
-
deviceChecks?: DeviceCheckOptions;
|
1959
|
-
/**
|
1960
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1961
|
-
* unable to grant your site the required permissions for the call.
|
1962
|
-
*
|
1963
|
-
* @example
|
1964
|
-
* ```ts
|
1965
|
-
* onPermissionsTroubleshootingClick: () =>
|
1966
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1967
|
-
* ```
|
1968
|
-
*
|
1969
|
-
* @remarks
|
1970
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1971
|
-
*/
|
1972
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1973
|
-
camera: PermissionState;
|
1974
|
-
microphone: PermissionState;
|
1975
|
-
}) => void;
|
1976
|
-
/**
|
1977
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1978
|
-
* having network issues when connecting to the call.
|
1979
|
-
*
|
1980
|
-
* @example
|
1981
|
-
* ```ts
|
1982
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1983
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1984
|
-
* ```
|
1985
|
-
*
|
1986
|
-
* @remarks
|
1987
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1988
|
-
*/
|
1989
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1990
|
-
/**
|
1991
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1992
|
-
*
|
1993
|
-
* @example
|
1994
|
-
* ```ts
|
1995
|
-
* onBrowserTroubleShootingClick?: () =>
|
1996
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1997
|
-
* ```
|
1998
|
-
*
|
1999
|
-
* @remarks
|
2000
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
2001
|
-
*/
|
2002
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2003
1557
|
/**
|
2004
1558
|
* Remote participant video tile menu options
|
2005
1559
|
*/
|
@@ -2029,6 +1583,10 @@ export declare type CallCompositeOptions = {
|
|
2029
1583
|
* Layout for the gallery when the call starts
|
2030
1584
|
*/
|
2031
1585
|
layout?: VideoGalleryLayout;
|
1586
|
+
/**
|
1587
|
+
* Controls the view of the local screenshare stream in the gallery
|
1588
|
+
*/
|
1589
|
+
localScreenShareView?: LocalScreenShareView;
|
2032
1590
|
};
|
2033
1591
|
/**
|
2034
1592
|
* Options for end of call survey
|
@@ -2113,6 +1671,18 @@ export declare type CallCompositeOptions = {
|
|
2113
1671
|
*/
|
2114
1672
|
hideSpotlightButtons?: boolean;
|
2115
1673
|
};
|
1674
|
+
/**
|
1675
|
+
* Options for settings related to joining a call.
|
1676
|
+
*/
|
1677
|
+
joinCallOptions?: {
|
1678
|
+
/**
|
1679
|
+
* options for checking microphone permissions when joining a call.
|
1680
|
+
* block on access will block the user from joining the call if the microphone permission is not granted.
|
1681
|
+
* skip will allow the user to join the call without granting the microphone permission.
|
1682
|
+
* @defaultValue 'requireMicrophoneAvailable'
|
1683
|
+
*/
|
1684
|
+
microphoneCheck?: 'requireMicrophoneAvailable' | 'skip';
|
1685
|
+
};
|
2116
1686
|
};
|
2117
1687
|
|
2118
1688
|
/**
|
@@ -2120,7 +1690,7 @@ export declare type CallCompositeOptions = {
|
|
2120
1690
|
*
|
2121
1691
|
* @public
|
2122
1692
|
*/
|
2123
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | '
|
1693
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | 'transferring' | 'badRequest' | 'returningFromBreakoutRoom';
|
2124
1694
|
|
2125
1695
|
/**
|
2126
1696
|
* Props for {@link CallComposite}.
|
@@ -2614,18 +2184,6 @@ export declare interface CallCompositeStrings {
|
|
2614
2184
|
* string to be used to start captions
|
2615
2185
|
*/
|
2616
2186
|
startCaptionsButtonOnLabel?: string;
|
2617
|
-
/**
|
2618
|
-
* string to be used to open real time text contextual menu
|
2619
|
-
*/
|
2620
|
-
realTimeTextLabel?: string;
|
2621
|
-
/**
|
2622
|
-
* string to be used to start real time text
|
2623
|
-
*/
|
2624
|
-
startRealTimeTextLabel?: string;
|
2625
|
-
/**
|
2626
|
-
* string to be used to when start real time text button is disabled
|
2627
|
-
*/
|
2628
|
-
disabledStartRealTimeTextLabel?: string;
|
2629
2187
|
/**
|
2630
2188
|
* string to be used to stop captions
|
2631
2189
|
*/
|
@@ -2695,69 +2253,29 @@ export declare interface CallCompositeStrings {
|
|
2695
2253
|
*/
|
2696
2254
|
captionsBannerSpinnerText?: string;
|
2697
2255
|
/**
|
2698
|
-
*
|
2256
|
+
* transfer page text when showing the transferor who initiated the transfer
|
2699
2257
|
*/
|
2700
|
-
|
2258
|
+
transferPageTransferorText: string;
|
2701
2259
|
/**
|
2702
|
-
*
|
2260
|
+
* transfer page text when showing the transfer target
|
2703
2261
|
*/
|
2704
|
-
|
2262
|
+
transferPageTransferTargetText: string;
|
2705
2263
|
/**
|
2706
|
-
*
|
2264
|
+
* transfer page display name for unknown participant
|
2707
2265
|
*/
|
2708
|
-
|
2266
|
+
transferPageUnknownTransferorDisplayName: string;
|
2709
2267
|
/**
|
2710
|
-
*
|
2268
|
+
* transfer page display name for unknown participant
|
2711
2269
|
*/
|
2712
|
-
|
2270
|
+
transferPageUnknownTransferTargetDisplayName: string;
|
2713
2271
|
/**
|
2714
|
-
*
|
2272
|
+
* notice to be announced by narrator the transfer page is showing
|
2715
2273
|
*/
|
2716
|
-
|
2274
|
+
transferPageNoticeString: string;
|
2717
2275
|
/**
|
2718
|
-
* Title
|
2276
|
+
* Title text of the page shown to the user when target participant could not be reached
|
2719
2277
|
*/
|
2720
|
-
|
2721
|
-
/**
|
2722
|
-
* Title for the container when only real time text is enabled
|
2723
|
-
*/
|
2724
|
-
realTimeTextOnlyContainerTitle?: string;
|
2725
|
-
/**
|
2726
|
-
* Title for the container when both captions and real time text is enabled
|
2727
|
-
*/
|
2728
|
-
captionsAndRealTimeTextContainerTitle?: string;
|
2729
|
-
/**
|
2730
|
-
* Expand button aria label
|
2731
|
-
*/
|
2732
|
-
expandButtonAriaLabel?: string;
|
2733
|
-
/**
|
2734
|
-
* Minimize button aria label
|
2735
|
-
*/
|
2736
|
-
minimizeButtonAriaLabel?: string;
|
2737
|
-
/**
|
2738
|
-
* transfer page text when showing the transferor who initiated the transfer
|
2739
|
-
*/
|
2740
|
-
transferPageTransferorText: string;
|
2741
|
-
/**
|
2742
|
-
* transfer page text when showing the transfer target
|
2743
|
-
*/
|
2744
|
-
transferPageTransferTargetText: string;
|
2745
|
-
/**
|
2746
|
-
* transfer page display name for unknown participant
|
2747
|
-
*/
|
2748
|
-
transferPageUnknownTransferorDisplayName: string;
|
2749
|
-
/**
|
2750
|
-
* transfer page display name for unknown participant
|
2751
|
-
*/
|
2752
|
-
transferPageUnknownTransferTargetDisplayName: string;
|
2753
|
-
/**
|
2754
|
-
* notice to be announced by narrator the transfer page is showing
|
2755
|
-
*/
|
2756
|
-
transferPageNoticeString: string;
|
2757
|
-
/**
|
2758
|
-
* Title text of the page shown to the user when target participant could not be reached
|
2759
|
-
*/
|
2760
|
-
participantCouldNotBeReachedTitle?: string;
|
2278
|
+
participantCouldNotBeReachedTitle?: string;
|
2761
2279
|
/**
|
2762
2280
|
* More details text of the page shown to the user when target participant could not be reached
|
2763
2281
|
*/
|
@@ -3129,18 +2647,6 @@ export declare interface CallCompositeStrings {
|
|
3129
2647
|
forbidOthersVideoMenuLabel: string;
|
3130
2648
|
/** Label for menu item to permit audio media access */
|
3131
2649
|
permitOthersVideoMenuLabel: string;
|
3132
|
-
/** The title of the RealTimeText modal */
|
3133
|
-
realTimeTextModalTitle: string;
|
3134
|
-
/** The text of the RealTimeText modal */
|
3135
|
-
realTimeTextModalText: string;
|
3136
|
-
/** The label for the confirm button */
|
3137
|
-
realTimeTextConfirmButtonLabel: string;
|
3138
|
-
/** The label for the cancel button */
|
3139
|
-
realTimeTextCancelButtonLabel: string;
|
3140
|
-
/** The aria label for the modal */
|
3141
|
-
realTimeTextModalAriaLabel: string;
|
3142
|
-
/** The aria label for the close button */
|
3143
|
-
realTimeTextCloseModalButtonAriaLabel: string;
|
3144
2650
|
}
|
3145
2651
|
|
3146
2652
|
/**
|
@@ -3191,6 +2697,15 @@ export declare class CallError extends Error {
|
|
3191
2697
|
* Timestamp added to the error by the stateful layer.
|
3192
2698
|
*/
|
3193
2699
|
timestamp: Date;
|
2700
|
+
/**
|
2701
|
+
* Primary code for the calling error
|
2702
|
+
*/
|
2703
|
+
code?: number;
|
2704
|
+
/**
|
2705
|
+
* Sub code for the calling error
|
2706
|
+
*/
|
2707
|
+
subCode?: number;
|
2708
|
+
/** needs to be a (innerError as CommunicationServicesError) */
|
3194
2709
|
constructor(target: CallErrorTarget, innerError: Error, timestamp?: Date);
|
3195
2710
|
}
|
3196
2711
|
|
@@ -3225,22 +2740,7 @@ export declare type CallErrors = {
|
|
3225
2740
|
*
|
3226
2741
|
* @public
|
3227
2742
|
*/
|
3228
|
-
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' | 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | '
|
3229
|
-
|
3230
|
-
/**
|
3231
|
-
* Represents the name of the call feature stream
|
3232
|
-
* @beta
|
3233
|
-
*/
|
3234
|
-
export declare type CallFeatureStreamName = 'togetherMode';
|
3235
|
-
|
3236
|
-
/**
|
3237
|
-
* State only version of {@link @azure/communication-calling#CallFeatureStream}.
|
3238
|
-
* Represents call feature stream state.
|
3239
|
-
* @beta
|
3240
|
-
*/
|
3241
|
-
export declare interface CallFeatureStreamState extends RemoteVideoStreamState {
|
3242
|
-
feature?: CallFeatureStreamName;
|
3243
|
-
}
|
2743
|
+
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' | 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | 'Call.mutedByOthers' | 'Call.muteAllRemoteParticipants' | 'Call.setConstraints';
|
3244
2744
|
|
3245
2745
|
/**
|
3246
2746
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -3313,7 +2813,7 @@ export declare type CallingHandlersOptions = {
|
|
3313
2813
|
*
|
3314
2814
|
* @public
|
3315
2815
|
*/
|
3316
|
-
export declare type CallingReturnProps<Component extends (props: any) => JSX.Element> = GetCallingSelector<Component> extends (state: CallClientState, props: any) => any ? ReturnType<GetCallingSelector<Component>> & Common<CallingHandlers, Parameters<Component>[0]> : never;
|
2816
|
+
export declare type CallingReturnProps<Component extends (props: any) => JSX.Element> = GetCallingSelector<Component> extends ((state: CallClientState, props: any) => any) ? ReturnType<GetCallingSelector<Component>> & Common<CallingHandlers, Parameters<Component>[0]> : never;
|
3317
2817
|
|
3318
2818
|
/**
|
3319
2819
|
* @public
|
@@ -3393,23 +2893,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
3393
2893
|
mediaAccess?: MediaAccess;
|
3394
2894
|
};
|
3395
2895
|
|
3396
|
-
/**
|
3397
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
3398
|
-
*
|
3399
|
-
* @remarks
|
3400
|
-
* This is currently in beta and only supports calling one Teams User.
|
3401
|
-
*
|
3402
|
-
* @example
|
3403
|
-
* ```
|
3404
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
3405
|
-
* ```
|
3406
|
-
*
|
3407
|
-
* @beta
|
3408
|
-
*/
|
3409
|
-
export declare type CallParticipantsLocator = {
|
3410
|
-
participantIds: string[];
|
3411
|
-
};
|
3412
|
-
|
3413
2896
|
/**
|
3414
2897
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
3415
2898
|
*
|
@@ -3502,10 +2985,6 @@ export declare interface CallState {
|
|
3502
2985
|
* Proxy of {@link @azure/communication-calling#CaptionsCallFeature}.
|
3503
2986
|
*/
|
3504
2987
|
captionsFeature: CaptionsCallFeatureState;
|
3505
|
-
/**
|
3506
|
-
* Proxy of {@link @azure/communication-calling#RealTimeTextCallFeature}.
|
3507
|
-
*/
|
3508
|
-
realTimeTextFeature: RealTimeTextCallFeatureState;
|
3509
2988
|
/**
|
3510
2989
|
* Proxy of {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
|
3511
2990
|
*/
|
@@ -3514,10 +2993,6 @@ export declare interface CallState {
|
|
3514
2993
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
3515
2994
|
*/
|
3516
2995
|
recording: RecordingCallFeature;
|
3517
|
-
/**
|
3518
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature}.
|
3519
|
-
*/
|
3520
|
-
localRecording: LocalRecordingCallFeatureState;
|
3521
2996
|
/**
|
3522
2997
|
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
|
3523
2998
|
*
|
@@ -3528,11 +3003,6 @@ export declare interface CallState {
|
|
3528
3003
|
* Proxy of {@link @azure/communication-calling#RaiseHandCallFeature}.
|
3529
3004
|
*/
|
3530
3005
|
raiseHand: RaiseHandCallFeature;
|
3531
|
-
/**
|
3532
|
-
* Proxy of {@link @azure/communication-calling#TogetherModeCallFeature}.
|
3533
|
-
* @beta
|
3534
|
-
*/
|
3535
|
-
togetherMode: TogetherModeCallFeatureState;
|
3536
3006
|
/**
|
3537
3007
|
* Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
|
3538
3008
|
* UI helper props receivedOn which indicates the timestamp when the message was received.
|
@@ -3579,10 +3049,6 @@ export declare interface CallState {
|
|
3579
3049
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
3580
3050
|
*/
|
3581
3051
|
role?: ParticipantRole;
|
3582
|
-
/**
|
3583
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
3584
|
-
*/
|
3585
|
-
totalParticipantCount?: number;
|
3586
3052
|
/**
|
3587
3053
|
* Transfer state of call
|
3588
3054
|
*/
|
@@ -3602,7 +3068,7 @@ export declare interface CallState {
|
|
3602
3068
|
/**
|
3603
3069
|
* Proxy of {@link @azure/communication-calling#Call.info}.
|
3604
3070
|
*/
|
3605
|
-
info?: TeamsCallInfo
|
3071
|
+
info?: TeamsCallInfo;
|
3606
3072
|
/**
|
3607
3073
|
* Proxy of {@link @azure/communication-calling#TeamsMeetingAudioConferencingCallFeature}.
|
3608
3074
|
*/
|
@@ -3795,48 +3261,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
3795
3261
|
* @public
|
3796
3262
|
*/
|
3797
3263
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
3798
|
-
/**
|
3799
|
-
* Create the html view for a togethermode stream.
|
3800
|
-
*
|
3801
|
-
* @remarks
|
3802
|
-
* This method is implemented for composite
|
3803
|
-
*
|
3804
|
-
* @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
|
3805
|
-
*
|
3806
|
-
* @beta
|
3807
|
-
*/
|
3808
|
-
createTogetherModeStreamView(options?: TogetherModeStreamOptions): Promise<void | TogetherModeStreamViewResult>;
|
3809
|
-
/**
|
3810
|
-
* Start together mode.
|
3811
|
-
*
|
3812
|
-
* @remarks
|
3813
|
-
* This method is implemented for composite
|
3814
|
-
*
|
3815
|
-
*
|
3816
|
-
* @beta
|
3817
|
-
*/
|
3818
|
-
startTogetherMode(): Promise<void>;
|
3819
|
-
/**
|
3820
|
-
* Recalculate the seating positions for together mode.
|
3821
|
-
*
|
3822
|
-
* @remarks
|
3823
|
-
* This method is implemented for composite
|
3824
|
-
*
|
3825
|
-
* @param width - Width of the container
|
3826
|
-
* @param height - Height of the container
|
3827
|
-
*
|
3828
|
-
* @beta
|
3829
|
-
*/
|
3830
|
-
setTogetherModeSceneSize(width: number, height: number): void;
|
3831
|
-
/**
|
3832
|
-
* Dispose the html view for a togethermode stream.
|
3833
|
-
*
|
3834
|
-
* @remarks
|
3835
|
-
* This method is implemented for composite
|
3836
|
-
*
|
3837
|
-
* @beta
|
3838
|
-
*/
|
3839
|
-
disposeTogetherModeStreamView(): Promise<void>;
|
3840
3264
|
/**
|
3841
3265
|
* Dispose the html view for a screen share stream
|
3842
3266
|
*
|
@@ -3944,19 +3368,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3944
3368
|
*
|
3945
3369
|
* @public
|
3946
3370
|
*/
|
3947
|
-
sendMessage(content: string, options?: SendMessageOptions
|
3948
|
-
/**
|
3949
|
-
* Upload an inline image for a message.
|
3950
|
-
*
|
3951
|
-
* @beta
|
3952
|
-
*/
|
3953
|
-
uploadImage(image: Blob, imageFilename: string): Promise<UploadChatImageResult>;
|
3954
|
-
/**
|
3955
|
-
* Delete an inline image for a message.
|
3956
|
-
*
|
3957
|
-
* @beta
|
3958
|
-
*/
|
3959
|
-
deleteImage(imageId: string): Promise<void>;
|
3371
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
3960
3372
|
/**
|
3961
3373
|
* Send a read receipt for a message.
|
3962
3374
|
*
|
@@ -3974,7 +3386,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3974
3386
|
*
|
3975
3387
|
* @public
|
3976
3388
|
*/
|
3977
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
3389
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
3978
3390
|
/**
|
3979
3391
|
* Delete a message in the thread.
|
3980
3392
|
*
|
@@ -4019,10 +3431,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
4019
3431
|
* @public
|
4020
3432
|
*/
|
4021
3433
|
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4022
|
-
/**
|
4023
|
-
* Continues into a call when the browser version is not supported.
|
4024
|
-
*/
|
4025
|
-
allowUnsupportedBrowserVersion(): void;
|
4026
3434
|
/**
|
4027
3435
|
* Function to Start captions
|
4028
3436
|
* @param options - options for start captions
|
@@ -4124,12 +3532,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
4124
3532
|
forbidOthersVideo: () => Promise<void>;
|
4125
3533
|
/** permits video for Teams meeting attendees except the local user. */
|
4126
3534
|
permitOthersVideo: () => Promise<void>;
|
4127
|
-
/**
|
4128
|
-
* Send real time text
|
4129
|
-
* @param text - real time text content
|
4130
|
-
* @param finalized - Boolean to indicate if the real time text is final
|
4131
|
-
*/
|
4132
|
-
sendRealTimeText: (text: string, isFinalized: boolean) => Promise<void>;
|
4133
3535
|
}
|
4134
3536
|
|
4135
3537
|
/**
|
@@ -4161,7 +3563,6 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
4161
3563
|
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
4162
3564
|
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
4163
3565
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
4164
|
-
on(event: 'realTimeTextReceived', listener: RealTimeTextReceivedListener): void;
|
4165
3566
|
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
4166
3567
|
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
4167
3568
|
on(event: 'breakoutRoomsUpdated', listener: BreakoutRoomsUpdatedListener): void;
|
@@ -4180,7 +3581,6 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
4180
3581
|
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
4181
3582
|
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
4182
3583
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
4183
|
-
off(event: 'realTimeTextReceived', listener: RealTimeTextReceivedListener): void;
|
4184
3584
|
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
4185
3585
|
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
4186
3586
|
off(event: 'breakoutRoomsUpdated', listener: BreakoutRoomsUpdatedListener): void;
|
@@ -4222,14 +3622,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
4222
3622
|
* @public
|
4223
3623
|
*/
|
4224
3624
|
page: CallCompositePage;
|
4225
|
-
/**
|
4226
|
-
* State to track whether the end user has opted in to using a
|
4227
|
-
* out of date version of a supported browser. Allows the user
|
4228
|
-
* to start a call in this state.
|
4229
|
-
*
|
4230
|
-
* @beta
|
4231
|
-
*/
|
4232
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
4233
3625
|
}
|
4234
3626
|
|
4235
3627
|
/**
|
@@ -4405,62 +3797,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
4405
3797
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
4406
3798
|
*/
|
4407
3799
|
callControls?: boolean | CallWithChatControlOptions;
|
4408
|
-
/**
|
4409
|
-
* Properties for configuring the File Sharing feature.
|
4410
|
-
* If undefined, file sharing feature will be disabled.
|
4411
|
-
* @beta
|
4412
|
-
*/
|
4413
|
-
attachmentOptions?: AttachmentOptions;
|
4414
|
-
/**
|
4415
|
-
* Device permissions check options for your call.
|
4416
|
-
* Here you can choose what device permissions you prompt the user for,
|
4417
|
-
* as well as what device permissions must be accepted before starting a call.
|
4418
|
-
*/
|
4419
|
-
deviceChecks?: DeviceCheckOptions;
|
4420
|
-
/**
|
4421
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
4422
|
-
* unable to grant your site the required permissions for the call.
|
4423
|
-
*
|
4424
|
-
* @example
|
4425
|
-
* ```ts
|
4426
|
-
* onPermissionsTroubleshootingClick: () =>
|
4427
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
4428
|
-
* ```
|
4429
|
-
*
|
4430
|
-
* @remarks
|
4431
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
4432
|
-
*/
|
4433
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
4434
|
-
camera: PermissionState;
|
4435
|
-
microphone: PermissionState;
|
4436
|
-
}) => void;
|
4437
|
-
/**
|
4438
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
4439
|
-
* experienced when connecting to a call.
|
4440
|
-
*
|
4441
|
-
* @example
|
4442
|
-
* ```ts
|
4443
|
-
* onNetworkingTroubleShootingClick?: () =>
|
4444
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
4445
|
-
* ```
|
4446
|
-
*
|
4447
|
-
* @remarks
|
4448
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
4449
|
-
*/
|
4450
|
-
onNetworkingTroubleShootingClick?: () => void;
|
4451
|
-
/**
|
4452
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
4453
|
-
*
|
4454
|
-
* @example
|
4455
|
-
* ```ts
|
4456
|
-
* onBrowserTroubleShootingClick?: () =>
|
4457
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
4458
|
-
* ```
|
4459
|
-
*
|
4460
|
-
* @remarks
|
4461
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
4462
|
-
*/
|
4463
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
4464
3800
|
/**
|
4465
3801
|
* Remote participant video tile menu options
|
4466
3802
|
*/
|
@@ -4479,6 +3815,10 @@ export declare type CallWithChatCompositeOptions = {
|
|
4479
3815
|
* Layout for the gallery when the call starts
|
4480
3816
|
*/
|
4481
3817
|
layout?: VideoGalleryLayout;
|
3818
|
+
/**
|
3819
|
+
* Controls the view of the local screenshare stream in the gallery
|
3820
|
+
*/
|
3821
|
+
localScreenShareView?: LocalScreenShareView;
|
4482
3822
|
};
|
4483
3823
|
/**
|
4484
3824
|
* Options for end of call survey
|
@@ -4564,12 +3904,17 @@ export declare type CallWithChatCompositeOptions = {
|
|
4564
3904
|
hideSpotlightButtons?: boolean;
|
4565
3905
|
};
|
4566
3906
|
/**
|
4567
|
-
*
|
4568
|
-
* @defaultValue `false`
|
4569
|
-
*
|
4570
|
-
* @beta
|
3907
|
+
* Options for settings related to joining a call.
|
4571
3908
|
*/
|
4572
|
-
|
3909
|
+
joinCallOptions?: {
|
3910
|
+
/**
|
3911
|
+
* options for checking microphone permissions when joining a call.
|
3912
|
+
* block on access will block the user from joining the call if the microphone permission is not granted.
|
3913
|
+
* skip will allow the user to join the call without granting the microphone permission.
|
3914
|
+
* @defaultValue 'requireMicrophoneAvailable'
|
3915
|
+
*/
|
3916
|
+
microphoneCheck?: 'requireMicrophoneAvailable' | 'skip';
|
3917
|
+
};
|
4573
3918
|
};
|
4574
3919
|
|
4575
3920
|
/**
|
@@ -4811,36 +4156,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
4811
4156
|
*
|
4812
4157
|
* @public
|
4813
4158
|
*/
|
4814
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'isCaptionsActiveChanged' | 'captionsReceived' | 'isCaptionLanguageChanged' | 'isSpokenLanguageChanged' | '
|
4815
|
-
|
4816
|
-
/**
|
4817
|
-
* @beta
|
4818
|
-
*
|
4819
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4820
|
-
* by their browsers settings.
|
4821
|
-
*/
|
4822
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
4823
|
-
|
4824
|
-
/**
|
4825
|
-
* @beta
|
4826
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
4827
|
-
*/
|
4828
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
4829
|
-
/** Icon name for the camera icon */
|
4830
|
-
cameraIconName?: string;
|
4831
|
-
/** Icon name for the microphone icon */
|
4832
|
-
microphoneIconName?: string;
|
4833
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
4834
|
-
connectorIconName?: string;
|
4835
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
4836
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
4837
|
-
}
|
4838
|
-
|
4839
|
-
/**
|
4840
|
-
* @beta
|
4841
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
4842
|
-
*/
|
4843
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
4159
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'isCaptionsActiveChanged' | 'captionsReceived' | 'isCaptionLanguageChanged' | 'isSpokenLanguageChanged' | 'capabilitiesChanged' | 'spotlightChanged' | 'breakoutRoomsUpdated' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved' | 'chatInitialized';
|
4844
4160
|
|
4845
4161
|
/**
|
4846
4162
|
* A button to turn camera on / off.
|
@@ -5002,31 +4318,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
5002
4318
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
5003
4319
|
}
|
5004
4320
|
|
5005
|
-
/**
|
5006
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
5007
|
-
* by their browsers settings.
|
5008
|
-
*
|
5009
|
-
* @beta
|
5010
|
-
*/
|
5011
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
5012
|
-
|
5013
|
-
/**
|
5014
|
-
* @beta
|
5015
|
-
* Props for CameraSitePermissions component.
|
5016
|
-
*/
|
5017
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
5018
|
-
/** Icon name for the camera icon */
|
5019
|
-
cameraIconName?: string;
|
5020
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
5021
|
-
strings?: CameraSitePermissionsStrings;
|
5022
|
-
}
|
5023
|
-
|
5024
|
-
/**
|
5025
|
-
* @beta
|
5026
|
-
* Strings for CameraSitePermissions component.
|
5027
|
-
*/
|
5028
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
5029
|
-
|
5030
4321
|
/**
|
5031
4322
|
* @public
|
5032
4323
|
* Callback function run when a message edit is cancelled.
|
@@ -5169,22 +4460,10 @@ export declare interface CaptionsBannerProps {
|
|
5169
4460
|
* Array of captions to be displayed
|
5170
4461
|
*/
|
5171
4462
|
captions: CaptionsInformation[];
|
5172
|
-
/**
|
5173
|
-
* Array of finalized and partial real time text messages
|
5174
|
-
*/
|
5175
|
-
realTimeTexts?: {
|
5176
|
-
completedMessages?: RealTimeTextInformation[];
|
5177
|
-
currentInProgress?: RealTimeTextInformation[];
|
5178
|
-
myInProgress?: RealTimeTextInformation;
|
5179
|
-
};
|
5180
4463
|
/**
|
5181
4464
|
* Flag to indicate if captions are on
|
5182
4465
|
*/
|
5183
4466
|
isCaptionsOn?: boolean;
|
5184
|
-
/**
|
5185
|
-
* Flag to indicate if real time text is on
|
5186
|
-
*/
|
5187
|
-
isRealTimeTextOn?: boolean;
|
5188
4467
|
/**
|
5189
4468
|
* Flag to indicate if captions are being started
|
5190
4469
|
* This is used to show spinner while captions are being started
|
@@ -5211,14 +4490,6 @@ export declare interface CaptionsBannerProps {
|
|
5211
4490
|
captionsOptions?: {
|
5212
4491
|
height: 'full' | 'default';
|
5213
4492
|
};
|
5214
|
-
/**
|
5215
|
-
* Optional callback to send real time text.
|
5216
|
-
*/
|
5217
|
-
onSendRealTimeText?: (text: string, isFinalized: boolean) => Promise<void>;
|
5218
|
-
/**
|
5219
|
-
* Latest local real time text
|
5220
|
-
*/
|
5221
|
-
latestLocalRealTimeText?: RealTimeTextInformation;
|
5222
4493
|
}
|
5223
4494
|
|
5224
4495
|
/**
|
@@ -5227,15 +4498,8 @@ export declare interface CaptionsBannerProps {
|
|
5227
4498
|
*/
|
5228
4499
|
export declare type CaptionsBannerSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
5229
4500
|
captions: CaptionsInformation[];
|
5230
|
-
realTimeTexts: {
|
5231
|
-
completedMessages?: RealTimeTextInformation[];
|
5232
|
-
currentInProgress?: RealTimeTextInformation[];
|
5233
|
-
myInProgress?: RealTimeTextInformation;
|
5234
|
-
};
|
5235
4501
|
isCaptionsOn: boolean;
|
5236
4502
|
startCaptionsInProgress: boolean;
|
5237
|
-
isRealTimeTextOn: boolean;
|
5238
|
-
latestLocalRealTimeText: RealTimeTextInformation;
|
5239
4503
|
};
|
5240
4504
|
|
5241
4505
|
/**
|
@@ -5247,46 +4511,6 @@ export declare interface CaptionsBannerStrings {
|
|
5247
4511
|
* Spinner text for captions banner
|
5248
4512
|
*/
|
5249
4513
|
captionsBannerSpinnerText?: string;
|
5250
|
-
/**
|
5251
|
-
* Default text for RTT input text box
|
5252
|
-
*/
|
5253
|
-
realTimeTextInputBoxDefaultText?: string;
|
5254
|
-
/**
|
5255
|
-
* Error message for RTT input text box when the size exceeds the limit 2000
|
5256
|
-
*/
|
5257
|
-
realTimeTextInputErrorMessage?: string;
|
5258
|
-
/**
|
5259
|
-
* Real time text disclosure banner title
|
5260
|
-
*/
|
5261
|
-
realTimeTextBannerTitle?: string;
|
5262
|
-
/**
|
5263
|
-
* Real time text disclosure banner content
|
5264
|
-
*/
|
5265
|
-
realTimeTextBannerContent?: string;
|
5266
|
-
/**
|
5267
|
-
* Real time text disclosure banner link label
|
5268
|
-
*/
|
5269
|
-
realTimeTextBannerLinkLabel?: string;
|
5270
|
-
/**
|
5271
|
-
* Title for the container when only captions is enabled
|
5272
|
-
*/
|
5273
|
-
captionsOnlyContainerTitle?: string;
|
5274
|
-
/**
|
5275
|
-
* Title for the container when only real time text is enabled
|
5276
|
-
*/
|
5277
|
-
realTimeTextOnlyContainerTitle?: string;
|
5278
|
-
/**
|
5279
|
-
* Title for the container when both captions and real time text is enabled
|
5280
|
-
*/
|
5281
|
-
captionsAndRealTimeTextContainerTitle?: string;
|
5282
|
-
/**
|
5283
|
-
* Expand button aria label
|
5284
|
-
*/
|
5285
|
-
expandButtonAriaLabel?: string;
|
5286
|
-
/**
|
5287
|
-
* Minimize button aria label
|
5288
|
-
*/
|
5289
|
-
minimizeButtonAriaLabel?: string;
|
5290
4514
|
}
|
5291
4515
|
|
5292
4516
|
/**
|
@@ -5398,12 +4622,6 @@ export declare type CaptionsInformation = {
|
|
5398
4622
|
* id of the speaker
|
5399
4623
|
*/
|
5400
4624
|
userId?: string;
|
5401
|
-
/**
|
5402
|
-
* timestamp when the caption was created
|
5403
|
-
* Please note that this value is essential for determining the order of captions and real time text messages
|
5404
|
-
* If you are using both captions and real time text, please ensure that the createdTimeStamp is populated
|
5405
|
-
*/
|
5406
|
-
createdTimeStamp?: Date;
|
5407
4625
|
};
|
5408
4626
|
|
5409
4627
|
/**
|
@@ -5646,15 +4864,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
5646
4864
|
* Send a message in the thread.
|
5647
4865
|
* Please note that SendMessageOptions is being deprecated, please use MessageOptions instead.
|
5648
4866
|
*/
|
5649
|
-
sendMessage(content: string, options?: SendMessageOptions
|
5650
|
-
/**
|
5651
|
-
* Upload an inline image for a message.
|
5652
|
-
*/
|
5653
|
-
uploadImage(image: Blob, imageFilename: string): Promise<UploadChatImageResult>;
|
5654
|
-
/**
|
5655
|
-
* Delete an inline image for a message.
|
5656
|
-
*/
|
5657
|
-
deleteImage(imageId: string): Promise<void>;
|
4867
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
5658
4868
|
/**
|
5659
4869
|
* Send a read receipt for a message.
|
5660
4870
|
*/
|
@@ -5675,7 +4885,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
5675
4885
|
* Update a message content.
|
5676
4886
|
* Please note that metadata is being deprecated, please use MessageOptions.metadata instead.
|
5677
4887
|
*/
|
5678
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
4888
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
5679
4889
|
/**
|
5680
4890
|
* Delete a message in the thread.
|
5681
4891
|
*/
|
@@ -5813,7 +5023,6 @@ export declare type ChatCompositeIcons = {
|
|
5813
5023
|
ParticipantItemOptionsHovered?: JSX.Element;
|
5814
5024
|
SendBoxSend?: JSX.Element;
|
5815
5025
|
SendBoxSendHovered?: JSX.Element;
|
5816
|
-
SendBoxAttachFile?: JSX.Element;
|
5817
5026
|
};
|
5818
5027
|
|
5819
5028
|
/**
|
@@ -5842,13 +5051,6 @@ export declare type ChatCompositeOptions = {
|
|
5842
5051
|
* @defaultValue true
|
5843
5052
|
*/
|
5844
5053
|
errorBar?: boolean;
|
5845
|
-
/**
|
5846
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
5847
|
-
* @defaultValue false
|
5848
|
-
*
|
5849
|
-
* @beta
|
5850
|
-
*/
|
5851
|
-
participantPane?: boolean;
|
5852
5054
|
/**
|
5853
5055
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
5854
5056
|
* @defaultValue true
|
@@ -5859,19 +5061,6 @@ export declare type ChatCompositeOptions = {
|
|
5859
5061
|
* When undefined nothing has focus on render
|
5860
5062
|
*/
|
5861
5063
|
autoFocus?: 'sendBoxTextField';
|
5862
|
-
/**
|
5863
|
-
* Properties for configuring the File Sharing feature.
|
5864
|
-
* If undefined, file sharing feature will be disabled.
|
5865
|
-
* @beta
|
5866
|
-
*/
|
5867
|
-
attachmentOptions?: AttachmentOptions;
|
5868
|
-
/**
|
5869
|
-
* Enables rich text editor for the send and edit boxes
|
5870
|
-
* @defaultValue `false`
|
5871
|
-
*
|
5872
|
-
* @beta
|
5873
|
-
*/
|
5874
|
-
richTextEditor?: boolean;
|
5875
5064
|
};
|
5876
5065
|
|
5877
5066
|
/**
|
@@ -5899,12 +5088,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
5899
5088
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
5900
5089
|
*/
|
5901
5090
|
options?: ChatCompositeOptions;
|
5902
|
-
/**
|
5903
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
5904
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
5905
|
-
* @defaultValue 'desktop'
|
5906
|
-
*/
|
5907
|
-
formFactor?: 'desktop' | 'mobile';
|
5908
5091
|
}
|
5909
5092
|
|
5910
5093
|
/**
|
@@ -5919,26 +5102,6 @@ export declare interface ChatCompositeStrings {
|
|
5919
5102
|
* Chat list header text
|
5920
5103
|
*/
|
5921
5104
|
chatListHeader: string;
|
5922
|
-
/**
|
5923
|
-
* Upload Attachment Button text
|
5924
|
-
*/
|
5925
|
-
uploadAttachment: string;
|
5926
|
-
/**
|
5927
|
-
* Error Message for image data is not provided for image upload
|
5928
|
-
*/
|
5929
|
-
uploadImageDataNotProvided: string;
|
5930
|
-
/**
|
5931
|
-
* Error Message for upload image is too large
|
5932
|
-
*/
|
5933
|
-
uploadImageIsTooLarge: string;
|
5934
|
-
/**
|
5935
|
-
* Error Message for unsupported image extension for image upload
|
5936
|
-
*/
|
5937
|
-
uploadImageExtensionIsNotAllowed: string;
|
5938
|
-
/**
|
5939
|
-
* Error Message for unable to upload image
|
5940
|
-
*/
|
5941
|
-
uploadImageFailed: string;
|
5942
5105
|
}
|
5943
5106
|
|
5944
5107
|
/**
|
@@ -5987,7 +5150,7 @@ export declare type ChatErrors = {
|
|
5987
5150
|
*
|
5988
5151
|
* @public
|
5989
5152
|
*/
|
5990
|
-
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.
|
5153
|
+
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';
|
5991
5154
|
|
5992
5155
|
/**
|
5993
5156
|
* Object containing all the handlers required for chat components.
|
@@ -5998,15 +5161,13 @@ export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClien
|
|
5998
5161
|
* @public
|
5999
5162
|
*/
|
6000
5163
|
export declare type ChatHandlers = {
|
6001
|
-
onSendMessage: (content: string, options?: SendMessageOptions
|
6002
|
-
onUploadImage: (image: Blob, imageFilename: string) => Promise<UploadChatImageResult>;
|
6003
|
-
onDeleteImage: (imageId: string) => Promise<void>;
|
5164
|
+
onSendMessage: (content: string, options?: SendMessageOptions) => Promise<void>;
|
6004
5165
|
onMessageSeen: (chatMessageId: string) => Promise<void>;
|
6005
5166
|
onTyping: () => Promise<void>;
|
6006
5167
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
6007
5168
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
6008
5169
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
6009
|
-
onUpdateMessage: (messageId: string, content: string
|
5170
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
6010
5171
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
6011
5172
|
};
|
6012
5173
|
|
@@ -6049,12 +5210,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
6049
5210
|
attachments?: AttachmentMetadata[];
|
6050
5211
|
}
|
6051
5212
|
|
6052
|
-
/**
|
6053
|
-
* @beta
|
6054
|
-
* Type of the message content, either 'text' or 'html'.
|
6055
|
-
*/
|
6056
|
-
export declare type ChatMessageType = 'text' | 'html';
|
6057
|
-
|
6058
5213
|
/**
|
6059
5214
|
* An extension to {@link @azure/communication-chat#ChatMessage} that stores
|
6060
5215
|
* client-side only metadata for chat messages.
|
@@ -6084,7 +5239,7 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
6084
5239
|
*
|
6085
5240
|
* @public
|
6086
5241
|
*/
|
6087
|
-
export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
|
5242
|
+
export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends ((state: ChatClientState, props: any) => any) ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
|
6088
5243
|
|
6089
5244
|
/**
|
6090
5245
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
@@ -6161,8 +5316,6 @@ export declare type ChatThreadClientState = {
|
|
6161
5316
|
*/
|
6162
5317
|
export declare type ChatThreadProperties = {
|
6163
5318
|
topic?: string;
|
6164
|
-
createdBy?: CommunicationIdentifierKind;
|
6165
|
-
messagingPolicy?: MessagingPolicy;
|
6166
5319
|
};
|
6167
5320
|
|
6168
5321
|
/**
|
@@ -6429,7 +5582,6 @@ export declare interface CommonCallingHandlers {
|
|
6429
5582
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
6430
5583
|
onRemoveParticipant(userId: string): Promise<void>;
|
6431
5584
|
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
6432
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
6433
5585
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
6434
5586
|
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
6435
5587
|
onRejectCall: (incomingCallId: string) => Promise<void>;
|
@@ -6440,7 +5592,6 @@ export declare interface CommonCallingHandlers {
|
|
6440
5592
|
onStopNoiseSuppressionEffect: () => Promise<void>;
|
6441
5593
|
onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
|
6442
5594
|
onStopCaptions: () => Promise<void>;
|
6443
|
-
onSendRealTimeText: (text: string, isFinalized: boolean) => Promise<void>;
|
6444
5595
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
6445
5596
|
onSetCaptionLanguage: (language: string) => Promise<void>;
|
6446
5597
|
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
@@ -6449,30 +5600,6 @@ export declare interface CommonCallingHandlers {
|
|
6449
5600
|
onStopAllSpotlight: () => Promise<void>;
|
6450
5601
|
onMuteParticipant: (userId: string) => Promise<void>;
|
6451
5602
|
onMuteAllRemoteParticipants: () => Promise<void>;
|
6452
|
-
/**
|
6453
|
-
* Call back to create a view for together mode
|
6454
|
-
*
|
6455
|
-
* @beta
|
6456
|
-
*/
|
6457
|
-
onCreateTogetherModeStreamView: (options?: TogetherModeStreamOptions) => Promise<void | TogetherModeStreamViewResult>;
|
6458
|
-
/**
|
6459
|
-
* Call back to create a view for together mode
|
6460
|
-
*
|
6461
|
-
* @beta
|
6462
|
-
*/
|
6463
|
-
onStartTogetherMode: () => Promise<void>;
|
6464
|
-
/**
|
6465
|
-
* Call set together mode scene size
|
6466
|
-
*
|
6467
|
-
* @beta
|
6468
|
-
*/
|
6469
|
-
onSetTogetherModeSceneSize: (width: number, height: number) => void;
|
6470
|
-
/**
|
6471
|
-
* Call back to dispose together mode views
|
6472
|
-
*
|
6473
|
-
* @beta
|
6474
|
-
*/
|
6475
|
-
onDisposeTogetherModeStreamView: () => Promise<void>;
|
6476
5603
|
/**
|
6477
5604
|
* Forbid remote participants from sending audio
|
6478
5605
|
*
|
@@ -6525,42 +5652,9 @@ export declare type CommonProperties<A, B> = {
|
|
6525
5652
|
}[keyof A & keyof B];
|
6526
5653
|
|
6527
5654
|
/**
|
6528
|
-
*
|
6529
|
-
*
|
6530
|
-
|
6531
|
-
export declare interface CommonSitePermissionsProps {
|
6532
|
-
/**
|
6533
|
-
* Name of application calling experience is in.
|
6534
|
-
*/
|
6535
|
-
appName: string;
|
6536
|
-
/**
|
6537
|
-
* Kind of the Site Permissions component.
|
6538
|
-
*/
|
6539
|
-
kind: 'request' | 'denied' | 'check';
|
6540
|
-
/**
|
6541
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
6542
|
-
*/
|
6543
|
-
browserHint?: 'safari' | 'unset';
|
6544
|
-
/**
|
6545
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
6546
|
-
* If this is not provided the button will not be shown.
|
6547
|
-
*/
|
6548
|
-
onTroubleshootingClick?: () => void;
|
6549
|
-
/**
|
6550
|
-
* Action that is taken when the user clicks the continue anyway button.
|
6551
|
-
* If this is not provided the button will not be shown.
|
6552
|
-
*/
|
6553
|
-
onContinueAnywayClick?: () => void;
|
6554
|
-
/**
|
6555
|
-
* Styles for SitePermissions component.
|
6556
|
-
*/
|
6557
|
-
styles?: SitePermissionsStyles;
|
6558
|
-
}
|
6559
|
-
|
6560
|
-
/**
|
6561
|
-
* A Chat or Calling participant's state, as reflected in the UI.
|
6562
|
-
*
|
6563
|
-
* @public
|
5655
|
+
* A Chat or Calling participant's state, as reflected in the UI.
|
5656
|
+
*
|
5657
|
+
* @public
|
6564
5658
|
*/
|
6565
5659
|
export declare type CommunicationParticipant = {
|
6566
5660
|
/** User ID of participant */
|
@@ -6754,11 +5848,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
6754
5848
|
export declare interface ComponentLocale {
|
6755
5849
|
/** Strings for components */
|
6756
5850
|
strings: ComponentStrings;
|
6757
|
-
/**
|
6758
|
-
* Optional function to provide customized date format.
|
6759
|
-
* @beta
|
6760
|
-
*/
|
6761
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
6762
5851
|
}
|
6763
5852
|
|
6764
5853
|
/**
|
@@ -6808,10 +5897,6 @@ export declare interface ComponentStrings {
|
|
6808
5897
|
typingIndicator: TypingIndicatorStrings;
|
6809
5898
|
/** Strings for SendBox */
|
6810
5899
|
sendBox: SendBoxStrings;
|
6811
|
-
/** Strings for RichTextSendBox */
|
6812
|
-
richTextSendBox: RichTextSendBoxStrings;
|
6813
|
-
/** Strings for MentionPopover */
|
6814
|
-
mentionPopover: MentionPopoverStrings;
|
6815
5900
|
/** Strings for ImageOverlay */
|
6816
5901
|
imageOverlay: ImageOverlayStrings;
|
6817
5902
|
/** Strings for MessageStatusIndicator */
|
@@ -6828,53 +5913,13 @@ export declare interface ComponentStrings {
|
|
6828
5913
|
videoTile: VideoTileStrings;
|
6829
5914
|
/** Strings for HoldButton */
|
6830
5915
|
holdButton: HoldButtonStrings;
|
6831
|
-
/** Strings for a site's permission request prompt */
|
6832
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6833
|
-
/** Strings for a site's permission request prompt */
|
6834
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
6835
|
-
/** Strings for a site's permission request prompt */
|
6836
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6837
|
-
/** Strings for a site's permission generic checking prompt */
|
6838
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6839
|
-
/** Strings for a site's permission generic checking prompt */
|
6840
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
6841
|
-
/** Strings for a site's permission generic checking prompt */
|
6842
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6843
|
-
/** Strings for a site's permission denied prompt */
|
6844
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6845
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6846
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6847
|
-
/** Strings for a site's permission denied prompt */
|
6848
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
6849
|
-
/** Strings for a site's permission denied prompt */
|
6850
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6851
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6852
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6853
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6854
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6855
|
-
/** Strings for unsupported browser UI */
|
6856
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
6857
|
-
/** Strings for unsupported browser version UI */
|
6858
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
6859
|
-
/** Strings for unsupported browser version UI */
|
6860
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
6861
|
-
/** Strings for BrowserPemissionDenied */
|
6862
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
6863
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
6864
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
6865
5916
|
/**
|
6866
5917
|
* Strings for the VerticalGallery.
|
6867
5918
|
*/
|
6868
5919
|
verticalGallery: VerticalGalleryStrings;
|
6869
|
-
/** Strings for the participant list component */
|
6870
|
-
ParticipantList: ParticipantListStrings;
|
6871
5920
|
/** Strings for the MeetingConferencePhoneInfoModal */
|
6872
5921
|
meetingConferencePhoneInfo: MeetingConferencePhoneInfoModalStrings;
|
6873
5922
|
IncomingCallNotification: IncomingCallNotificationStrings;
|
6874
|
-
/** Strings for the RealTimeTextModal */
|
6875
|
-
realTimeTextModal: RealTimeTextModalStrings;
|
6876
|
-
/** Strings for RealTimeText */
|
6877
|
-
realTimeText: RealTimeTextStrings;
|
6878
5923
|
/** Strings for Captions Setting Modal */
|
6879
5924
|
captionsSettingsModal: CaptionsSettingsModalStrings;
|
6880
5925
|
/**
|
@@ -6889,8 +5934,6 @@ export declare interface ComponentStrings {
|
|
6889
5934
|
captionsBanner: CaptionsBannerStrings;
|
6890
5935
|
/** Strings for Start Captions Button */
|
6891
5936
|
startCaptionsButton: StartCaptionsButtonStrings;
|
6892
|
-
/** Strings for Start RealTimeText Button */
|
6893
|
-
startRealTimeTextButton: StartRealTimeTextButtonStrings;
|
6894
5937
|
}
|
6895
5938
|
|
6896
5939
|
/**
|
@@ -7442,7 +6485,7 @@ export declare const createStatefulChatClient: (args: StatefulChatClientArgs, op
|
|
7442
6485
|
/**
|
7443
6486
|
* @public
|
7444
6487
|
*/
|
7445
|
-
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs
|
6488
|
+
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
7446
6489
|
|
7447
6490
|
/**
|
7448
6491
|
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -7452,7 +6495,7 @@ export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs | Teams
|
|
7452
6495
|
*
|
7453
6496
|
* @public
|
7454
6497
|
*/
|
7455
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator
|
6498
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
7456
6499
|
|
7457
6500
|
/**
|
7458
6501
|
* Object returned after creating a local or remote VideoStream.
|
@@ -7687,11 +6730,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7687
6730
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
7688
6731
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
7689
6732
|
ReactionButtonIcon: React_2.JSX.Element;
|
7690
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
7691
|
-
DownloadAttachment: React_2.JSX.Element;
|
7692
6733
|
OpenAttachment: React_2.JSX.Element;
|
7693
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
7694
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
7695
6734
|
EditBoxCancel: React_2.JSX.Element;
|
7696
6735
|
EditBoxSubmit: React_2.JSX.Element;
|
7697
6736
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -7741,13 +6780,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7741
6780
|
VideoTileMicOff: React_2.JSX.Element;
|
7742
6781
|
VideoTileCameraOff: React_2.JSX.Element;
|
7743
6782
|
DialpadBackspace: React_2.JSX.Element;
|
7744
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
7745
|
-
SitePermissionCamera: React_2.JSX.Element;
|
7746
|
-
SitePermissionMic: React_2.JSX.Element;
|
7747
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
7748
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
7749
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
7750
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
7751
6783
|
VideoTilePinned: React_2.JSX.Element;
|
7752
6784
|
ParticipantItemPinned: React_2.JSX.Element;
|
7753
6785
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -7777,28 +6809,10 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7777
6809
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
7778
6810
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
7779
6811
|
VideoTileSpotlighted: React_2.JSX.Element;
|
7780
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
7781
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
7782
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
7783
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
7784
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
7785
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
7786
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
7787
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
7788
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
7789
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
7790
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
7791
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
7792
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
7793
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
7794
6812
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
7795
6813
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
7796
6814
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
7797
6815
|
IncomingCallNotificationAcceptWithVideoIcon: React_2.JSX.Element;
|
7798
|
-
NotificationBarTogetherModeIcon: React_2.JSX.Element;
|
7799
|
-
RealTimeTextIcon: React_2.JSX.Element;
|
7800
|
-
ExpandIcon: React_2.JSX.Element;
|
7801
|
-
MinimizeIcon: React_2.JSX.Element;
|
7802
6816
|
};
|
7803
6817
|
|
7804
6818
|
/**
|
@@ -7819,7 +6833,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7819
6833
|
ParticipantItemOptionsHovered: JSX.Element;
|
7820
6834
|
SendBoxSend: JSX.Element;
|
7821
6835
|
SendBoxSendHovered: JSX.Element;
|
7822
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
7823
6836
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
7824
6837
|
ControlButtonCameraOff: JSX.Element;
|
7825
6838
|
ControlButtonCameraOn: JSX.Element;
|
@@ -7900,7 +6913,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7900
6913
|
JoinByPhoneWaitToBeAdmittedIcon?: JSX.Element | undefined;
|
7901
6914
|
PeoplePaneMoreButton?: JSX.Element | undefined;
|
7902
6915
|
StopAllSpotlightMenuButton?: JSX.Element | undefined;
|
7903
|
-
TogetherModeLayout?: JSX.Element | undefined;
|
7904
6916
|
ChevronLeft?: JSX.Element | undefined;
|
7905
6917
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
7906
6918
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
@@ -7910,13 +6922,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7910
6922
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
7911
6923
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
7912
6924
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
6925
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
7913
6926
|
ChatMessageOptions: React_2.JSX.Element;
|
7914
6927
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
7915
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
7916
|
-
DownloadAttachment: React_2.JSX.Element;
|
7917
6928
|
OpenAttachment: React_2.JSX.Element;
|
7918
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
7919
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
7920
6929
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
7921
6930
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
7922
6931
|
ErrorBarMutedByRemoteParticipant: React_2.JSX.Element;
|
@@ -7934,13 +6943,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7934
6943
|
ResumeCall: React_2.JSX.Element;
|
7935
6944
|
VideoTileCameraOff: React_2.JSX.Element;
|
7936
6945
|
DialpadBackspace: React_2.JSX.Element;
|
7937
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
7938
|
-
SitePermissionCamera: React_2.JSX.Element;
|
7939
|
-
SitePermissionMic: React_2.JSX.Element;
|
7940
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
7941
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
7942
|
-
UnsupportedEnvironmentWarning: React_2.JSX.Element;
|
7943
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
7944
6946
|
VideoTilePinned: React_2.JSX.Element;
|
7945
6947
|
ParticipantItemPinned: React_2.JSX.Element;
|
7946
6948
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -7970,66 +6972,12 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7970
6972
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
7971
6973
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
7972
6974
|
VideoTileSpotlighted: React_2.JSX.Element;
|
7973
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
7974
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
7975
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
7976
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
7977
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
7978
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
7979
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
7980
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
7981
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
7982
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element; /**
|
7983
|
-
* Icon wrapper to use when including customizable icons inside the CallWithChatComposite.
|
7984
|
-
* This wrapper ensures the icon name is being type-checked helping ensure no typos
|
7985
|
-
* and ensure that icon is customizable through the composite API.
|
7986
|
-
*
|
7987
|
-
* @private
|
7988
|
-
*/
|
7989
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
7990
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
7991
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
7992
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
7993
6975
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
7994
6976
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
7995
6977
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
7996
6978
|
IncomingCallNotificationAcceptWithVideoIcon: React_2.JSX.Element;
|
7997
|
-
NotificationBarTogetherModeIcon: React_2.JSX.Element;
|
7998
|
-
RealTimeTextIcon: React_2.JSX.Element;
|
7999
|
-
ExpandIcon: React_2.JSX.Element;
|
8000
|
-
MinimizeIcon: React_2.JSX.Element;
|
8001
6979
|
};
|
8002
6980
|
|
8003
|
-
/**
|
8004
|
-
* @beta
|
8005
|
-
*
|
8006
|
-
* The default menu action for downloading attachments. This action will open the attachment's URL in a new tab.
|
8007
|
-
*/
|
8008
|
-
export declare const defaultAttachmentMenuAction: AttachmentMenuAction;
|
8009
|
-
|
8010
|
-
/**
|
8011
|
-
* Device Checks.
|
8012
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
8013
|
-
*
|
8014
|
-
* @beta
|
8015
|
-
*/
|
8016
|
-
export declare interface DeviceCheckOptions {
|
8017
|
-
/**
|
8018
|
-
* Camera Permission prompts for your call.
|
8019
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8020
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8021
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8022
|
-
*/
|
8023
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
8024
|
-
/**
|
8025
|
-
* Microphone permission prompts for your call.
|
8026
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8027
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8028
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8029
|
-
*/
|
8030
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
8031
|
-
}
|
8032
|
-
|
8033
6981
|
/**
|
8034
6982
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
8035
6983
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -8707,7 +7655,7 @@ export declare const getCallingSelector: <Component extends (props: any) => JSX.
|
|
8707
7655
|
*
|
8708
7656
|
* @public
|
8709
7657
|
*/
|
8710
|
-
export declare type GetChatSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof SendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof
|
7658
|
+
export declare type GetChatSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof SendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof MessageThread> extends true ? MessageThreadSelector : AreEqual<Component, typeof TypingIndicator> extends true ? TypingIndicatorSelector : AreEqual<Component, typeof ParticipantList> extends true ? ChatParticipantListSelector : AreEqual<Component, typeof ErrorBar> extends true ? ChatErrorBarSelector : undefined;
|
8711
7659
|
|
8712
7660
|
/**
|
8713
7661
|
* Get the selector for a specified component.
|
@@ -8893,10 +7841,6 @@ export declare interface _Identifiers {
|
|
8893
7841
|
verticalGalleryVideoTile: string;
|
8894
7842
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
8895
7843
|
verticalGalleryPageCounter: string;
|
8896
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
8897
|
-
mentionSuggestionList: string;
|
8898
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
8899
|
-
mentionSuggestionItem: string;
|
8900
7844
|
}
|
8901
7845
|
|
8902
7846
|
/**
|
@@ -8962,13 +7906,6 @@ export declare interface ImageOverlayStrings {
|
|
8962
7906
|
overlayVisibleMessage: string;
|
8963
7907
|
}
|
8964
7908
|
|
8965
|
-
/**
|
8966
|
-
* Preset dark theme for the ImageOverlay component.
|
8967
|
-
*
|
8968
|
-
* @public
|
8969
|
-
*/
|
8970
|
-
export declare const imageOverlayTheme: PartialTheme;
|
8971
|
-
|
8972
7909
|
/**
|
8973
7910
|
* @public
|
8974
7911
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
@@ -9423,26 +8360,9 @@ export declare type LocalizationProviderProps = {
|
|
9423
8360
|
};
|
9424
8361
|
|
9425
8362
|
/**
|
9426
|
-
*
|
9427
|
-
* automatically listen for local recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
9428
|
-
*
|
9429
|
-
* @beta
|
8363
|
+
* @public
|
9430
8364
|
*/
|
9431
|
-
export declare
|
9432
|
-
/**
|
9433
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.isRecordingActive}.
|
9434
|
-
*/
|
9435
|
-
isLocalRecordingActive: boolean;
|
9436
|
-
/**
|
9437
|
-
* Contains list of information of started recordings
|
9438
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.recordings}.
|
9439
|
-
*/
|
9440
|
-
activeLocalRecordings?: LocalRecordingInfo[];
|
9441
|
-
/**
|
9442
|
-
* Contains list of information of stopped recordings
|
9443
|
-
*/
|
9444
|
-
lastStoppedLocalRecording?: LocalRecordingInfo[];
|
9445
|
-
}
|
8365
|
+
export declare type LocalScreenShareView = 'stream' | 'placeholderMessage';
|
9446
8366
|
|
9447
8367
|
/**
|
9448
8368
|
* @public
|
@@ -9613,76 +8533,6 @@ export declare interface MeetingConferencePhoneInfoModalStrings {
|
|
9613
8533
|
meetingConferencePhoneInfoModalNoPhoneAvailable: string;
|
9614
8534
|
}
|
9615
8535
|
|
9616
|
-
/**
|
9617
|
-
* Mention's state, as reflected in the UI.
|
9618
|
-
*
|
9619
|
-
* @beta
|
9620
|
-
*/
|
9621
|
-
export declare interface Mention {
|
9622
|
-
/** ID of a mention */
|
9623
|
-
id: string;
|
9624
|
-
/** Display text of a mention */
|
9625
|
-
displayText: string;
|
9626
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
9627
|
-
icon?: JSX.Element;
|
9628
|
-
}
|
9629
|
-
|
9630
|
-
/**
|
9631
|
-
* Options to display suggestions in the mention scenario.
|
9632
|
-
*
|
9633
|
-
* @beta
|
9634
|
-
*/
|
9635
|
-
export declare interface MentionDisplayOptions {
|
9636
|
-
/**
|
9637
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
9638
|
-
*/
|
9639
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
9640
|
-
}
|
9641
|
-
|
9642
|
-
/**
|
9643
|
-
* Options to lookup suggestions in the mention scenario.
|
9644
|
-
*
|
9645
|
-
* @beta
|
9646
|
-
*/
|
9647
|
-
export declare interface MentionLookupOptions {
|
9648
|
-
/**
|
9649
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
9650
|
-
*
|
9651
|
-
* @defaultValue `@`
|
9652
|
-
*/
|
9653
|
-
trigger?: string;
|
9654
|
-
/**
|
9655
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
9656
|
-
*/
|
9657
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
9658
|
-
/**
|
9659
|
-
* Optional callback to render an item of the mention suggestions list.
|
9660
|
-
*/
|
9661
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
9662
|
-
}
|
9663
|
-
|
9664
|
-
/**
|
9665
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
9666
|
-
*
|
9667
|
-
* @beta
|
9668
|
-
*/
|
9669
|
-
export declare type MentionOptions = {
|
9670
|
-
lookupOptions?: MentionLookupOptions;
|
9671
|
-
displayOptions?: MentionDisplayOptions;
|
9672
|
-
};
|
9673
|
-
|
9674
|
-
/**
|
9675
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
9676
|
-
*
|
9677
|
-
* @beta
|
9678
|
-
*/
|
9679
|
-
export declare interface MentionPopoverStrings {
|
9680
|
-
/**
|
9681
|
-
* Header text for MentionPopover
|
9682
|
-
*/
|
9683
|
-
mentionPopoverHeader: string;
|
9684
|
-
}
|
9685
|
-
|
9686
8536
|
/**
|
9687
8537
|
* Discriminated union of all messages.
|
9688
8538
|
*
|
@@ -9690,7 +8540,7 @@ export declare interface MentionPopoverStrings {
|
|
9690
8540
|
*
|
9691
8541
|
* @public
|
9692
8542
|
*/
|
9693
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
8543
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
9694
8544
|
|
9695
8545
|
/**
|
9696
8546
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -9732,20 +8582,6 @@ export declare type MessageDeletedListener = MessageReceivedListener;
|
|
9732
8582
|
*/
|
9733
8583
|
export declare type MessageEditedListener = MessageReceivedListener;
|
9734
8584
|
|
9735
|
-
/**
|
9736
|
-
* @beta
|
9737
|
-
* Message option that defines properties that can be set when
|
9738
|
-
* sending or updating a chat message.
|
9739
|
-
* @property metadata - Metadata that contains additional information about the message to be passed between 2 users.
|
9740
|
-
* @property attachments - Attachments that contains file attachments attached to the message.
|
9741
|
-
* @property type - Type of the message content, either 'text' or 'html'.
|
9742
|
-
*/
|
9743
|
-
export declare type MessageOptions = {
|
9744
|
-
metadata?: Record<string, string>;
|
9745
|
-
attachments?: AttachmentMetadata[];
|
9746
|
-
type?: ChatMessageType;
|
9747
|
-
};
|
9748
|
-
|
9749
8585
|
/**
|
9750
8586
|
* Props to render a single message.
|
9751
8587
|
*
|
@@ -9761,7 +8597,7 @@ export declare type MessageProps = {
|
|
9761
8597
|
/**
|
9762
8598
|
* Strings from parent MessageThread component
|
9763
8599
|
*/
|
9764
|
-
strings: MessageThreadStrings
|
8600
|
+
strings: MessageThreadStrings;
|
9765
8601
|
/**
|
9766
8602
|
* Custom CSS styles for chat message container.
|
9767
8603
|
*/
|
@@ -9807,7 +8643,7 @@ export declare type MessageProps = {
|
|
9807
8643
|
* @param options - message options to be included in the message
|
9808
8644
|
*
|
9809
8645
|
*/
|
9810
|
-
onSendMessage?: (content: string
|
8646
|
+
onSendMessage?: (content: string) => Promise<void>;
|
9811
8647
|
};
|
9812
8648
|
|
9813
8649
|
/**
|
@@ -9939,7 +8775,7 @@ export declare type MessageThreadProps = {
|
|
9939
8775
|
/**
|
9940
8776
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
9941
8777
|
*/
|
9942
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
8778
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
9943
8779
|
/**
|
9944
8780
|
* number of participants in the thread
|
9945
8781
|
*/
|
@@ -10020,11 +8856,6 @@ export declare type MessageThreadProps = {
|
|
10020
8856
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
10021
8857
|
*/
|
10022
8858
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
10023
|
-
/**
|
10024
|
-
* Optional callback to render attachments in the message component.
|
10025
|
-
* @beta
|
10026
|
-
*/
|
10027
|
-
onRenderAttachmentDownloads?: (message: ChatMessage) => JSX.Element;
|
10028
8859
|
/**
|
10029
8860
|
* Optional callback to edit a message.
|
10030
8861
|
*
|
@@ -10053,7 +8884,7 @@ export declare type MessageThreadProps = {
|
|
10053
8884
|
* @param options - message options to be included in the message
|
10054
8885
|
*
|
10055
8886
|
*/
|
10056
|
-
onSendMessage?: (content: string
|
8887
|
+
onSendMessage?: (content: string) => Promise<void>;
|
10057
8888
|
/**
|
10058
8889
|
/**
|
10059
8890
|
* Disable editing messages.
|
@@ -10067,32 +8898,11 @@ export declare type MessageThreadProps = {
|
|
10067
8898
|
* Optional strings to override in component
|
10068
8899
|
*/
|
10069
8900
|
strings?: Partial<MessageThreadStrings>;
|
10070
|
-
/**
|
10071
|
-
* @beta
|
10072
|
-
* Optional attachment options, which defines behvaiour for uploading and downloading attachments.
|
10073
|
-
* As this moment, the uploadOptions would be ignored and this option is intended for download only.
|
10074
|
-
*/
|
10075
|
-
attachmentOptions?: AttachmentOptions;
|
10076
|
-
/**
|
10077
|
-
* Optional function to provide customized date format.
|
10078
|
-
* @beta
|
10079
|
-
*/
|
10080
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
10081
|
-
/**
|
10082
|
-
* Optional props needed to lookup a mention query and display mentions
|
10083
|
-
* @beta
|
10084
|
-
*/
|
10085
|
-
mentionOptions?: MentionOptions;
|
10086
8901
|
/**
|
10087
8902
|
* Optional callback called when an inline image is clicked.
|
10088
8903
|
* @beta
|
10089
8904
|
*/
|
10090
8905
|
inlineImageOptions?: InlineImageOptions;
|
10091
|
-
/**
|
10092
|
-
* Options to enable rich text editor for the edit box.
|
10093
|
-
* @beta
|
10094
|
-
*/
|
10095
|
-
richTextEditorOptions?: RichTextEditBoxOptions;
|
10096
8906
|
};
|
10097
8907
|
|
10098
8908
|
/**
|
@@ -10170,20 +8980,10 @@ export declare interface MessageThreadStrings {
|
|
10170
8980
|
actionMenuMoreOptions?: string;
|
10171
8981
|
/** Aria label to announce when a message is deleted */
|
10172
8982
|
messageDeletedAnnouncementAriaLabel: string;
|
10173
|
-
/** String for download attachment button in attachment card */
|
10174
|
-
downloadAttachment: string;
|
10175
8983
|
/** String for open attachment button in attachment card */
|
10176
8984
|
openAttachment: string;
|
10177
|
-
/** String for policy violation message removal */
|
10178
|
-
blockedWarningText: string;
|
10179
|
-
/** String for policy violation message removal details link */
|
10180
|
-
blockedWarningLinkText: string;
|
10181
8985
|
/** String for aria text in attachment card group*/
|
10182
8986
|
attachmentCardGroupMessage: string;
|
10183
|
-
/**
|
10184
|
-
* Error message indicating that one or more image uploads are not complete.
|
10185
|
-
*/
|
10186
|
-
imageUploadsPendingError: string;
|
10187
8987
|
}
|
10188
8988
|
|
10189
8989
|
/**
|
@@ -10211,24 +9011,10 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
10211
9011
|
/** Styles for system message container. */
|
10212
9012
|
systemMessageContainer?: ComponentSlotStyle;
|
10213
9013
|
/** Styles for blocked message container. */
|
10214
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
10215
9014
|
/** Styles for message status indicator container. */
|
10216
9015
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
10217
9016
|
}
|
10218
9017
|
|
10219
|
-
/**
|
10220
|
-
*
|
10221
|
-
* Messaging policy of a chat thread.
|
10222
|
-
*
|
10223
|
-
* @beta
|
10224
|
-
*/
|
10225
|
-
export declare interface MessagingPolicy {
|
10226
|
-
/**
|
10227
|
-
* Boolean to track whether or not messages are restricted to only text.
|
10228
|
-
* */
|
10229
|
-
textOnlyChat?: boolean;
|
10230
|
-
}
|
10231
|
-
|
10232
9018
|
/**
|
10233
9019
|
* A button to turn microphone on / off.
|
10234
9020
|
*
|
@@ -10421,31 +9207,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
10421
9207
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
10422
9208
|
}
|
10423
9209
|
|
10424
|
-
/**
|
10425
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
10426
|
-
* by their browsers settings.
|
10427
|
-
*
|
10428
|
-
* @beta
|
10429
|
-
*/
|
10430
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
10431
|
-
|
10432
|
-
/**
|
10433
|
-
* @beta
|
10434
|
-
* Props for MicrophoneSitePermissions component.
|
10435
|
-
*/
|
10436
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
10437
|
-
/** Icon name for the microphone icon */
|
10438
|
-
microphoneIconName?: string;
|
10439
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
10440
|
-
strings?: MicrophoneSitePermissionsStrings;
|
10441
|
-
}
|
10442
|
-
|
10443
|
-
/**
|
10444
|
-
* @beta
|
10445
|
-
* Strings for MicrophoneSitePermissions component.
|
10446
|
-
*/
|
10447
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
10448
|
-
|
10449
9210
|
/**
|
10450
9211
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
10451
9212
|
*
|
@@ -10795,8 +9556,6 @@ export declare interface NotificationStackStrings {
|
|
10795
9556
|
* Message shown in notification when capability unMuteMic is absent
|
10796
9557
|
*/
|
10797
9558
|
capabilityUnmuteMicAbsent?: NotificationStrings;
|
10798
|
-
togetherModeStarted?: NotificationStrings;
|
10799
|
-
togetherModeEnded?: NotificationStrings;
|
10800
9559
|
}
|
10801
9560
|
|
10802
9561
|
/**
|
@@ -10868,7 +9627,7 @@ export declare interface NotificationStyles {
|
|
10868
9627
|
}
|
10869
9628
|
|
10870
9629
|
/** @public */
|
10871
|
-
export declare type NotificationTarget = 'assignedBreakoutRoomOpened' | 'assignedBreakoutRoomOpenedPromptJoin' | 'assignedBreakoutRoomChanged' | 'assignedBreakoutRoomClosed' | 'breakoutRoomJoined' | 'breakoutRoomClosingSoon' | 'capabilityTurnVideoOnPresent' | 'capabilityTurnVideoOnAbsent' | 'capabilityUnmuteMicPresent' | 'capabilityUnmuteMicAbsent'
|
9630
|
+
export declare type NotificationTarget = 'assignedBreakoutRoomOpened' | 'assignedBreakoutRoomOpenedPromptJoin' | 'assignedBreakoutRoomChanged' | 'assignedBreakoutRoomClosed' | 'breakoutRoomJoined' | 'breakoutRoomClosingSoon' | 'capabilityTurnVideoOnPresent' | 'capabilityTurnVideoOnAbsent' | 'capabilityUnmuteMicPresent' | 'capabilityUnmuteMicAbsent';
|
10872
9631
|
|
10873
9632
|
/**
|
10874
9633
|
* All notifications that can be shown in the {@link NotificationStack}.
|
@@ -11167,10 +9926,6 @@ export declare type ParticipantListProps = {
|
|
11167
9926
|
styles?: ParticipantListStyles;
|
11168
9927
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
11169
9928
|
showParticipantOverflowTooltip?: boolean;
|
11170
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
11171
|
-
totalParticipantCount?: number;
|
11172
|
-
/** Strings for the participant list */
|
11173
|
-
strings?: ParticipantListStrings;
|
11174
9929
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
11175
9930
|
participantAriaLabelledBy?: string;
|
11176
9931
|
/** List of pinned participants */
|
@@ -11185,21 +9940,8 @@ export declare type ParticipantListProps = {
|
|
11185
9940
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
11186
9941
|
participants: CallParticipantListParticipant[];
|
11187
9942
|
myUserId: string;
|
11188
|
-
totalParticipantCount?: number;
|
11189
9943
|
};
|
11190
9944
|
|
11191
|
-
/**
|
11192
|
-
* Strings for the {@link ParticipantList}.
|
11193
|
-
*
|
11194
|
-
* @beta
|
11195
|
-
*/
|
11196
|
-
export declare interface ParticipantListStrings {
|
11197
|
-
/**
|
11198
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
11199
|
-
*/
|
11200
|
-
overflowParticipantCount?: string;
|
11201
|
-
}
|
11202
|
-
|
11203
9945
|
/**
|
11204
9946
|
* Styles for the {@link ParticipantList}.
|
11205
9947
|
*
|
@@ -11682,204 +10424,6 @@ export declare type ReadReceiptsBySenderId = {
|
|
11682
10424
|
};
|
11683
10425
|
};
|
11684
10426
|
|
11685
|
-
/**
|
11686
|
-
* @beta
|
11687
|
-
* A component for displaying a single line of RealTimeText
|
11688
|
-
*/
|
11689
|
-
export declare const RealTimeText: (props: RealTimeTextProps) => JSX.Element;
|
11690
|
-
|
11691
|
-
/**
|
11692
|
-
* @beta
|
11693
|
-
*/
|
11694
|
-
export declare interface RealTimeTextCallFeatureState {
|
11695
|
-
/**
|
11696
|
-
* array of received captions
|
11697
|
-
*/
|
11698
|
-
realTimeTexts: {
|
11699
|
-
completedMessages?: RealTimeTextInfo[];
|
11700
|
-
currentInProgress?: RealTimeTextInfo[];
|
11701
|
-
myInProgress?: RealTimeTextInfo;
|
11702
|
-
};
|
11703
|
-
/**
|
11704
|
-
* whether real time text is on/off
|
11705
|
-
*/
|
11706
|
-
isRealTimeTextFeatureActive?: boolean;
|
11707
|
-
}
|
11708
|
-
|
11709
|
-
/**
|
11710
|
-
* @beta
|
11711
|
-
*/
|
11712
|
-
export declare interface RealTimeTextInfo {
|
11713
|
-
/**
|
11714
|
-
* The sequence id of the real time text.
|
11715
|
-
*/
|
11716
|
-
sequenceId: number;
|
11717
|
-
/**
|
11718
|
-
* The sender of the real time text.
|
11719
|
-
*/
|
11720
|
-
sender: ParticipantInfo;
|
11721
|
-
/**
|
11722
|
-
* The real time text message.
|
11723
|
-
*/
|
11724
|
-
message: string;
|
11725
|
-
/**
|
11726
|
-
* The result type of the real time text message.
|
11727
|
-
*/
|
11728
|
-
resultType: RealTimeTextResultType;
|
11729
|
-
/**
|
11730
|
-
* The timestamp when the real time text message was created.
|
11731
|
-
*/
|
11732
|
-
receivedTimestamp?: Date;
|
11733
|
-
/**
|
11734
|
-
* The timestamp when the real time text message was last updated.
|
11735
|
-
*/
|
11736
|
-
updatedTimestamp?: Date;
|
11737
|
-
/**
|
11738
|
-
* If message originated from the local participant
|
11739
|
-
* default is false
|
11740
|
-
*/
|
11741
|
-
isMe?: boolean;
|
11742
|
-
}
|
11743
|
-
|
11744
|
-
/**
|
11745
|
-
* @beta
|
11746
|
-
* information required for each line of real time text
|
11747
|
-
*/
|
11748
|
-
export declare type RealTimeTextInformation = {
|
11749
|
-
/**
|
11750
|
-
* The id of the real time text.
|
11751
|
-
*/
|
11752
|
-
id: number;
|
11753
|
-
/**
|
11754
|
-
* sender's display name
|
11755
|
-
*/
|
11756
|
-
displayName: string;
|
11757
|
-
/**
|
11758
|
-
* id of the sender
|
11759
|
-
*/
|
11760
|
-
userId?: string;
|
11761
|
-
/**
|
11762
|
-
* The real time text message.
|
11763
|
-
*/
|
11764
|
-
message: string;
|
11765
|
-
/**
|
11766
|
-
* if the real time text received is partial
|
11767
|
-
*/
|
11768
|
-
isTyping: boolean;
|
11769
|
-
/**
|
11770
|
-
* timestamp when the real time text was finalized
|
11771
|
-
*/
|
11772
|
-
finalizedTimeStamp: Date;
|
11773
|
-
/**
|
11774
|
-
* If message originated from the local participant
|
11775
|
-
* default value is false
|
11776
|
-
*/
|
11777
|
-
isMe?: boolean;
|
11778
|
-
};
|
11779
|
-
|
11780
|
-
/**
|
11781
|
-
* @beta
|
11782
|
-
* a component for realTimeText modal
|
11783
|
-
*/
|
11784
|
-
export declare const RealTimeTextModal: (props: RealTimeTextModalProps) => JSX.Element;
|
11785
|
-
|
11786
|
-
/**
|
11787
|
-
* @beta
|
11788
|
-
* RealTimeTextModal Component Props.
|
11789
|
-
*/
|
11790
|
-
export declare interface RealTimeTextModalProps {
|
11791
|
-
/** The strings for the RealTimeText modal */
|
11792
|
-
strings?: RealTimeTextModalStrings;
|
11793
|
-
/** The flag to show the modal */
|
11794
|
-
showModal?: boolean;
|
11795
|
-
/** The function to dismiss the modal */
|
11796
|
-
onDismissModal?: () => void;
|
11797
|
-
/**
|
11798
|
-
* Use this function to show RealTimeText UI in the calling experience.
|
11799
|
-
* Note that real time text should not be started for everyone in the call until the first real time text is received.
|
11800
|
-
*/
|
11801
|
-
onStartRealTimeText?: () => void;
|
11802
|
-
}
|
11803
|
-
|
11804
|
-
/**
|
11805
|
-
* @beta
|
11806
|
-
* strings for realTimeText modal
|
11807
|
-
*/
|
11808
|
-
export declare interface RealTimeTextModalStrings {
|
11809
|
-
/** The title of the RealTimeText modal */
|
11810
|
-
realTimeTextModalTitle?: string;
|
11811
|
-
/** The text of the RealTimeText modal */
|
11812
|
-
realTimeTextModalText?: string;
|
11813
|
-
/** The label for the confirm button */
|
11814
|
-
realTimeTextConfirmButtonLabel?: string;
|
11815
|
-
/** The label for the cancel button */
|
11816
|
-
realTimeTextCancelButtonLabel?: string;
|
11817
|
-
/** The aria label for the modal */
|
11818
|
-
realTimeTextModalAriaLabel?: string;
|
11819
|
-
/** The aria label for the close button */
|
11820
|
-
realTimeTextCloseModalButtonAriaLabel?: string;
|
11821
|
-
}
|
11822
|
-
|
11823
|
-
/**
|
11824
|
-
* @beta
|
11825
|
-
* Props for a single line of RealTimeText.
|
11826
|
-
*/
|
11827
|
-
export declare interface RealTimeTextProps {
|
11828
|
-
/**
|
11829
|
-
* RealTimeText id
|
11830
|
-
*/
|
11831
|
-
id: number;
|
11832
|
-
/**
|
11833
|
-
* Display name of the user
|
11834
|
-
*/
|
11835
|
-
displayName: string;
|
11836
|
-
/**
|
11837
|
-
* RealTimeText content
|
11838
|
-
*/
|
11839
|
-
message: string;
|
11840
|
-
/**
|
11841
|
-
* user id of the user
|
11842
|
-
*/
|
11843
|
-
userId?: string;
|
11844
|
-
/**
|
11845
|
-
* Optional callback to override render of the avatar.
|
11846
|
-
*
|
11847
|
-
* @param userId - user Id
|
11848
|
-
*/
|
11849
|
-
onRenderAvatar?: OnRenderAvatarCallback;
|
11850
|
-
/**
|
11851
|
-
* Boolean indicating whether the RealTimeText is still in progress
|
11852
|
-
*/
|
11853
|
-
isTyping?: boolean;
|
11854
|
-
/**
|
11855
|
-
* Boolean indicating whether the RealTimeText is from the local user
|
11856
|
-
*/
|
11857
|
-
isMe?: boolean;
|
11858
|
-
/**
|
11859
|
-
* Strings for RealTimeText
|
11860
|
-
*/
|
11861
|
-
strings?: RealTimeTextStrings;
|
11862
|
-
}
|
11863
|
-
|
11864
|
-
/**
|
11865
|
-
* Callback for {@link CallAdapterSubscribers} 'realTimeTextReceived' event.
|
11866
|
-
* @beta
|
11867
|
-
*/
|
11868
|
-
export declare type RealTimeTextReceivedListener = (event: {
|
11869
|
-
realTimeText: RealTimeTextInfo_2;
|
11870
|
-
}) => void;
|
11871
|
-
|
11872
|
-
/**
|
11873
|
-
* @beta
|
11874
|
-
* strings for rtt
|
11875
|
-
*/
|
11876
|
-
export declare interface RealTimeTextStrings {
|
11877
|
-
/**
|
11878
|
-
* String indicating that the user is typing
|
11879
|
-
*/
|
11880
|
-
isTypingText?: string;
|
11881
|
-
}
|
11882
|
-
|
11883
10427
|
/**
|
11884
10428
|
* State only version of {@link @azure/communication-calling#RecordingCallFeature}. {@link StatefulCallClient} will
|
11885
10429
|
* automatically listen for recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
@@ -11891,15 +10435,6 @@ export declare interface RecordingCallFeature {
|
|
11891
10435
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.isRecordingActive}.
|
11892
10436
|
*/
|
11893
10437
|
isRecordingActive: boolean;
|
11894
|
-
/**
|
11895
|
-
* Contains list of information of started recordings
|
11896
|
-
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.recordings}.
|
11897
|
-
*/
|
11898
|
-
activeRecordings?: RecordingInfo[];
|
11899
|
-
/**
|
11900
|
-
* Contains list of information of stopped recordings
|
11901
|
-
*/
|
11902
|
-
lastStoppedRecording?: RecordingInfo[];
|
11903
10438
|
}
|
11904
10439
|
|
11905
10440
|
/**
|
@@ -12043,268 +10578,18 @@ export declare type ResourceFetchResult = {
|
|
12043
10578
|
};
|
12044
10579
|
|
12045
10580
|
/**
|
12046
|
-
*
|
10581
|
+
* A button to start / stop screen sharing.
|
10582
|
+
*
|
10583
|
+
* Can be used with {@link ControlBar}.
|
12047
10584
|
*
|
12048
|
-
* @
|
10585
|
+
* @public
|
12049
10586
|
*/
|
12050
|
-
export declare
|
12051
|
-
/**
|
12052
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12053
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12054
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12055
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12056
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12057
|
-
*/
|
12058
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12059
|
-
/**
|
12060
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12061
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12062
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12063
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12064
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12065
|
-
*/
|
12066
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12067
|
-
/**
|
12068
|
-
* Optional Record of type {@link AttachmentMetadataInProgress}
|
12069
|
-
* to render the errorBar for inline images inserted in the MessageThread's edit boxes when:
|
12070
|
-
* - there is an error provided in the messagesInlineImagesWithProgress
|
12071
|
-
* - progress is less than 1 when the send button is clicked
|
12072
|
-
* - content html string is longer than the max allowed length.
|
12073
|
-
* (Note that the id and the url prop of the messagesInlineImagesWithProgress will be used as the id and src attribute of the content html
|
12074
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12075
|
-
*/
|
12076
|
-
messagesInlineImagesWithProgress?: Record<string, AttachmentMetadataInProgress[]>;
|
12077
|
-
}
|
10587
|
+
export declare const ScreenShareButton: (props: ScreenShareButtonProps) => JSX.Element;
|
12078
10588
|
|
12079
10589
|
/**
|
12080
|
-
*
|
10590
|
+
* Props for {@link ScreenShareButton}.
|
12081
10591
|
*
|
12082
|
-
* @
|
12083
|
-
*/
|
12084
|
-
export declare interface RichTextEditorOptions {
|
12085
|
-
/**
|
12086
|
-
* Optional callback to handle paste event.
|
12087
|
-
*/
|
12088
|
-
onPaste?: (event: {
|
12089
|
-
content: DocumentFragment;
|
12090
|
-
}) => void;
|
12091
|
-
}
|
12092
|
-
|
12093
|
-
/**
|
12094
|
-
* A component to render SendBox with Rich Text Editor support.
|
12095
|
-
*
|
12096
|
-
* @beta
|
12097
|
-
*/
|
12098
|
-
export declare const RichTextSendBox: (props: RichTextSendBoxProps) => JSX.Element;
|
12099
|
-
|
12100
|
-
/**
|
12101
|
-
* Props for {@link RichTextSendBox}.
|
12102
|
-
*
|
12103
|
-
* @beta
|
12104
|
-
*/
|
12105
|
-
export declare interface RichTextSendBoxProps {
|
12106
|
-
/**
|
12107
|
-
* Optional boolean to disable text box
|
12108
|
-
* @defaultValue false
|
12109
|
-
*/
|
12110
|
-
disabled?: boolean;
|
12111
|
-
/**
|
12112
|
-
* Optional callback to handle paste event.
|
12113
|
-
*/
|
12114
|
-
onPaste?: (event: {
|
12115
|
-
content: DocumentFragment;
|
12116
|
-
}) => void;
|
12117
|
-
/**
|
12118
|
-
* Optional strings to override in component
|
12119
|
-
*/
|
12120
|
-
strings?: Partial<RichTextSendBoxStrings>;
|
12121
|
-
/**
|
12122
|
-
* Optional text for system message above the text box
|
12123
|
-
*/
|
12124
|
-
systemMessage?: string;
|
12125
|
-
/**
|
12126
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12127
|
-
* to render attachments being uploaded in the SendBox.
|
12128
|
-
* @beta
|
12129
|
-
*/
|
12130
|
-
attachments?: AttachmentMetadataInProgress[];
|
12131
|
-
/**
|
12132
|
-
* enumerable to determine if the input box has focus on render or not.
|
12133
|
-
* When undefined nothing has focus on render
|
12134
|
-
*/
|
12135
|
-
autoFocus?: 'sendBoxTextField';
|
12136
|
-
/**
|
12137
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12138
|
-
* cancel icon.
|
12139
|
-
*/
|
12140
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12141
|
-
/**
|
12142
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12143
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12144
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12145
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12146
|
-
*/
|
12147
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12148
|
-
/**
|
12149
|
-
* Callback function used when the send button is clicked.
|
12150
|
-
*/
|
12151
|
-
onSendMessage: (content: string, options?: MessageOptions) => Promise<void>;
|
12152
|
-
/**
|
12153
|
-
* Optional callback called when user is typing
|
12154
|
-
*/
|
12155
|
-
onTyping?: () => Promise<void>;
|
12156
|
-
/**
|
12157
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12158
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12159
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12160
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12161
|
-
*/
|
12162
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12163
|
-
/**
|
12164
|
-
* Optional Array of type {@link AttachmentMetadataInProgress}
|
12165
|
-
* to render the errorBar for inline images inserted in the RichTextSendBox when:
|
12166
|
-
* - there is an error provided in the inlineImagesWithProgress
|
12167
|
-
* - progress is less than 1 when the send button is clicked
|
12168
|
-
* - content html string is longer than the max allowed length.
|
12169
|
-
* (Note that the id and the url prop of the inlineImagesWithProgress will be used as the id and src attribute of the content html
|
12170
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12171
|
-
*/
|
12172
|
-
inlineImagesWithProgress?: AttachmentMetadataInProgress[];
|
12173
|
-
}
|
12174
|
-
|
12175
|
-
/**
|
12176
|
-
* Strings of {@link RichTextSendBox} that can be overridden.
|
12177
|
-
*
|
12178
|
-
* @beta
|
12179
|
-
*/
|
12180
|
-
export declare interface RichTextSendBoxStrings extends RichTextStrings, SendBoxStrings {
|
12181
|
-
}
|
12182
|
-
|
12183
|
-
/**
|
12184
|
-
* Strings of RichText that can be overridden.
|
12185
|
-
*
|
12186
|
-
* @beta
|
12187
|
-
*/
|
12188
|
-
export declare interface RichTextStrings {
|
12189
|
-
/**
|
12190
|
-
* Tooltip text for the bold button.
|
12191
|
-
*/
|
12192
|
-
richTextBoldTooltip: string;
|
12193
|
-
/**
|
12194
|
-
* Tooltip text for the italic button.
|
12195
|
-
*/
|
12196
|
-
richTextItalicTooltip: string;
|
12197
|
-
/**
|
12198
|
-
* Tooltip text for the underline button.
|
12199
|
-
*/
|
12200
|
-
richTextUnderlineTooltip: string;
|
12201
|
-
/**
|
12202
|
-
* Tooltip text for the bullet list button.
|
12203
|
-
*/
|
12204
|
-
richTextBulletListTooltip: string;
|
12205
|
-
/**
|
12206
|
-
* Tooltip text for the number list button.
|
12207
|
-
*/
|
12208
|
-
richTextNumberListTooltip: string;
|
12209
|
-
/**
|
12210
|
-
* Tooltip text for the increase indent button.
|
12211
|
-
*/
|
12212
|
-
richTextIncreaseIndentTooltip: string;
|
12213
|
-
/**
|
12214
|
-
* Tooltip text for the decrease indent button.
|
12215
|
-
*/
|
12216
|
-
richTextDecreaseIndentTooltip: string;
|
12217
|
-
/**
|
12218
|
-
* Tooltip text insert table button.
|
12219
|
-
*/
|
12220
|
-
richTextInsertTableTooltip: string;
|
12221
|
-
/**
|
12222
|
-
* Tooltip text for the rich text format button button.
|
12223
|
-
*/
|
12224
|
-
richTextFormatButtonTooltip: string;
|
12225
|
-
/**
|
12226
|
-
* Text for the insert menu item.
|
12227
|
-
*/
|
12228
|
-
richTextInsertRowOrColumnMenu: string;
|
12229
|
-
/**
|
12230
|
-
* Title for the insert table menu.
|
12231
|
-
*/
|
12232
|
-
richTextInsertTableMenuTitle: string;
|
12233
|
-
/**
|
12234
|
-
* Text for the insert menu item to insert row above the current selection.
|
12235
|
-
*/
|
12236
|
-
richTextInsertRowAboveMenu: string;
|
12237
|
-
/**
|
12238
|
-
* Text for the insert menu item to insert row below the current selection.
|
12239
|
-
*/
|
12240
|
-
richTextInsertRowBelowMenu: string;
|
12241
|
-
/**
|
12242
|
-
* Text for the insert menu item to insert column to the left from the current selection.
|
12243
|
-
*/
|
12244
|
-
richTextInsertColumnLeftMenu: string;
|
12245
|
-
/**
|
12246
|
-
* Text for the insert menu item to insert column to the right from the current selection.
|
12247
|
-
*/
|
12248
|
-
richTextInsertColumnRightMenu: string;
|
12249
|
-
/**
|
12250
|
-
* Text for the delete row or column menu.
|
12251
|
-
*/
|
12252
|
-
richTextDeleteRowOrColumnMenu: string;
|
12253
|
-
/**
|
12254
|
-
* Text for the delete column menu.
|
12255
|
-
*/
|
12256
|
-
richTextDeleteColumnMenu: string;
|
12257
|
-
/**
|
12258
|
-
* Text for the delete row menu.
|
12259
|
-
*/
|
12260
|
-
richTextDeleteRowMenu: string;
|
12261
|
-
/**
|
12262
|
-
* Text for the delete table menu.
|
12263
|
-
*/
|
12264
|
-
richTextDeleteTableMenu: string;
|
12265
|
-
/**
|
12266
|
-
* Text for the rich text toolbar.
|
12267
|
-
*/
|
12268
|
-
richTextToolbarAriaLabel: string;
|
12269
|
-
/**
|
12270
|
-
* Text for the rich text toolbar more button.
|
12271
|
-
*/
|
12272
|
-
richTextToolbarMoreButtonAriaLabel: string;
|
12273
|
-
/**
|
12274
|
-
* Text for announcement when a new bulleted list item is added.
|
12275
|
-
*/
|
12276
|
-
richTextNewBulletedListItemAnnouncement: string;
|
12277
|
-
/**
|
12278
|
-
* Text for announcement when a new numbered list item is added.
|
12279
|
-
*/
|
12280
|
-
richTextNewNumberedListItemAnnouncement: string;
|
12281
|
-
/**
|
12282
|
-
* Text for announcement when the bulleted list style is applied.
|
12283
|
-
*/
|
12284
|
-
richTextBulletedListAppliedAnnouncement: string;
|
12285
|
-
/**
|
12286
|
-
* Text for announcement when the numbered list style is applied.
|
12287
|
-
*/
|
12288
|
-
richTextNumberedListAppliedAnnouncement: string;
|
12289
|
-
/**
|
12290
|
-
* Error message indicating image upload is not complete.
|
12291
|
-
*/
|
12292
|
-
imageUploadsPendingError: string;
|
12293
|
-
}
|
12294
|
-
|
12295
|
-
/**
|
12296
|
-
* A button to start / stop screen sharing.
|
12297
|
-
*
|
12298
|
-
* Can be used with {@link ControlBar}.
|
12299
|
-
*
|
12300
|
-
* @public
|
12301
|
-
*/
|
12302
|
-
export declare const ScreenShareButton: (props: ScreenShareButtonProps) => JSX.Element;
|
12303
|
-
|
12304
|
-
/**
|
12305
|
-
* Props for {@link ScreenShareButton}.
|
12306
|
-
*
|
12307
|
-
* @public
|
10592
|
+
* @public
|
12308
10593
|
*/
|
12309
10594
|
export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
|
12310
10595
|
/**
|
@@ -12363,42 +10648,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
12363
10648
|
*/
|
12364
10649
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
12365
10650
|
|
12366
|
-
/**
|
12367
|
-
* @beta
|
12368
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
12369
|
-
*/
|
12370
|
-
export declare interface SendBoxErrorBarError {
|
12371
|
-
/** Error Message to be displayed */
|
12372
|
-
message: string;
|
12373
|
-
/**
|
12374
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
12375
|
-
*/
|
12376
|
-
timestamp: number;
|
12377
|
-
/**
|
12378
|
-
* ErrorBar type. Defaults to `warning`.
|
12379
|
-
*/
|
12380
|
-
errorBarType?: SendBoxErrorBarType;
|
12381
|
-
}
|
12382
|
-
|
12383
|
-
/**
|
12384
|
-
* @beta
|
12385
|
-
* Error bar type for {@link SendBoxErrorBarError}
|
12386
|
-
*/
|
12387
|
-
export declare enum SendBoxErrorBarType {
|
12388
|
-
/** Info styled MessageBar */
|
12389
|
-
info = 0,
|
12390
|
-
/** Error styled MessageBar */
|
12391
|
-
error = 1,
|
12392
|
-
/** Blocked styled MessageBar */
|
12393
|
-
blocked = 2,
|
12394
|
-
/** SevereWarning styled MessageBar */
|
12395
|
-
severeWarning = 3,
|
12396
|
-
/** Success styled MessageBar */
|
12397
|
-
success = 4,
|
12398
|
-
/** Warning styled MessageBar */
|
12399
|
-
warning = 5
|
12400
|
-
}
|
12401
|
-
|
12402
10651
|
/**
|
12403
10652
|
* Props for {@link SendBox}.
|
12404
10653
|
*
|
@@ -12417,12 +10666,7 @@ export declare interface SendBoxProps {
|
|
12417
10666
|
/**
|
12418
10667
|
* Optional override behavior on send button click
|
12419
10668
|
*/
|
12420
|
-
onSendMessage?: (content: string
|
12421
|
-
/**
|
12422
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
12423
|
-
* @beta
|
12424
|
-
*/
|
12425
|
-
mentionLookupOptions?: MentionLookupOptions;
|
10669
|
+
onSendMessage?: (content: string) => Promise<void>;
|
12426
10670
|
/**
|
12427
10671
|
* Optional callback called when user is typing
|
12428
10672
|
*/
|
@@ -12459,25 +10703,6 @@ export declare interface SendBoxProps {
|
|
12459
10703
|
* When undefined nothing has focus on render
|
12460
10704
|
*/
|
12461
10705
|
autoFocus?: 'sendBoxTextField';
|
12462
|
-
/**
|
12463
|
-
* Optional callback to render uploaded attachments in the SendBox. The sendBox will expand
|
12464
|
-
* vertically to accommodate the uploaded attachments. Attachment uploads will
|
12465
|
-
* be rendered below the text area in sendBox.
|
12466
|
-
* @beta
|
12467
|
-
*/
|
12468
|
-
onRenderAttachmentUploads?: () => JSX.Element;
|
12469
|
-
/**
|
12470
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12471
|
-
* to render attachments being uploaded in the SendBox.
|
12472
|
-
* @beta
|
12473
|
-
*/
|
12474
|
-
attachments?: AttachmentMetadataInProgress[];
|
12475
|
-
/**
|
12476
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12477
|
-
* cancel icon.
|
12478
|
-
* @beta
|
12479
|
-
*/
|
12480
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12481
10706
|
}
|
12482
10707
|
|
12483
10708
|
/**
|
@@ -12508,26 +10733,6 @@ export declare interface SendBoxStrings {
|
|
12508
10733
|
* Aria label for send message button
|
12509
10734
|
*/
|
12510
10735
|
sendButtonAriaLabel: string;
|
12511
|
-
/**
|
12512
|
-
* Error message indicating that all attachment uploads are not complete.
|
12513
|
-
*/
|
12514
|
-
attachmentUploadsPendingError: string;
|
12515
|
-
/**
|
12516
|
-
* Aria label to notify user when focus is on cancel attachment upload button.
|
12517
|
-
*/
|
12518
|
-
removeAttachment: string;
|
12519
|
-
/**
|
12520
|
-
* Aria label to notify user attachment uploading starts.
|
12521
|
-
*/
|
12522
|
-
uploading: string;
|
12523
|
-
/**
|
12524
|
-
* Aria label to notify user attachment is uploaded.
|
12525
|
-
*/
|
12526
|
-
uploadCompleted: string;
|
12527
|
-
/**
|
12528
|
-
* Aria label to notify user more attachment action menu.
|
12529
|
-
*/
|
12530
|
-
attachmentMoreMenu: string;
|
12531
10736
|
}
|
12532
10737
|
|
12533
10738
|
/**
|
@@ -12548,45 +10753,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
12548
10753
|
systemMessage?: IStyle;
|
12549
10754
|
}
|
12550
10755
|
|
12551
|
-
/**
|
12552
|
-
* @beta
|
12553
|
-
* Strings for SitePermissions component
|
12554
|
-
*/
|
12555
|
-
export declare type SitePermissionsStrings = {
|
12556
|
-
/**
|
12557
|
-
* Main text string.
|
12558
|
-
*/
|
12559
|
-
primaryText?: string;
|
12560
|
-
/**
|
12561
|
-
* Subtext string.
|
12562
|
-
*/
|
12563
|
-
secondaryText?: string;
|
12564
|
-
/**
|
12565
|
-
* More help link string.
|
12566
|
-
*/
|
12567
|
-
linkText?: string;
|
12568
|
-
/**
|
12569
|
-
* Primary button text string.
|
12570
|
-
*/
|
12571
|
-
primaryButtonText?: string;
|
12572
|
-
/**
|
12573
|
-
* Aria label describing the content of the container
|
12574
|
-
*/
|
12575
|
-
ariaLabel?: string;
|
12576
|
-
};
|
12577
|
-
|
12578
|
-
/**
|
12579
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
12580
|
-
*
|
12581
|
-
* @beta
|
12582
|
-
*/
|
12583
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
12584
|
-
/** Styles for the primary button. */
|
12585
|
-
primaryButton?: IButtonStyles;
|
12586
|
-
/** Styles for the help troubleshooting link text. */
|
12587
|
-
troubleshootingLink?: ILinkStyles;
|
12588
|
-
}
|
12589
|
-
|
12590
10756
|
/**
|
12591
10757
|
* @public
|
12592
10758
|
* Type for representing a custom sound to use for a calling event
|
@@ -12859,60 +11025,6 @@ export declare interface StartCaptionsButtonStrings {
|
|
12859
11025
|
tooltipOffContent: string;
|
12860
11026
|
}
|
12861
11027
|
|
12862
|
-
/**
|
12863
|
-
* a button to start RealTimeText
|
12864
|
-
* based on accessibility requirement, real time text cannot be turned off once it is on
|
12865
|
-
*
|
12866
|
-
* Can be used with {@link ControlBar}
|
12867
|
-
*
|
12868
|
-
* @param props - properties for the start RealTimeText button.
|
12869
|
-
* @beta
|
12870
|
-
*/
|
12871
|
-
export declare const StartRealTimeTextButton: (props: StartRealTimeTextButtonProps) => JSX.Element;
|
12872
|
-
|
12873
|
-
/**
|
12874
|
-
* Props for the StartRealTimeTextButton component
|
12875
|
-
* @beta
|
12876
|
-
*/
|
12877
|
-
export declare interface StartRealTimeTextButtonProps extends ControlBarButtonProps {
|
12878
|
-
/**
|
12879
|
-
* Use this function to show RealTimeText UI in the calling experience.
|
12880
|
-
* Note that real time text should not be started for everyone in the call until the first real time text is received.
|
12881
|
-
*/
|
12882
|
-
onStartRealTimeText: () => void;
|
12883
|
-
/**
|
12884
|
-
* If RealTimeText is on
|
12885
|
-
*/
|
12886
|
-
isRealTimeTextOn: boolean;
|
12887
|
-
/**
|
12888
|
-
* Optional strings to override in component
|
12889
|
-
*/
|
12890
|
-
strings?: StartRealTimeTextButtonStrings;
|
12891
|
-
}
|
12892
|
-
|
12893
|
-
/**
|
12894
|
-
* Strings for the hold button labels
|
12895
|
-
* @beta
|
12896
|
-
*/
|
12897
|
-
export declare interface StartRealTimeTextButtonStrings {
|
12898
|
-
/**
|
12899
|
-
* Label for the start Real Time Text button
|
12900
|
-
*/
|
12901
|
-
label: string;
|
12902
|
-
/**
|
12903
|
-
* Content for when button is not checked, Real-Time Text is off.
|
12904
|
-
* We don't need to supply a tooltip string when RealTimeText is on, because the button will be disabled when Real-Time Text is on.
|
12905
|
-
*/
|
12906
|
-
tooltipOffContent: string;
|
12907
|
-
}
|
12908
|
-
|
12909
|
-
/**
|
12910
|
-
* Parameter to start a call using a Teams user identity.
|
12911
|
-
*
|
12912
|
-
* @beta
|
12913
|
-
*/
|
12914
|
-
export declare type StartTeamsCallIdentifier = MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier;
|
12915
|
-
|
12916
11028
|
/**
|
12917
11029
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
12918
11030
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -12998,7 +11110,7 @@ export declare interface StatefulCallClient extends CallClient {
|
|
12998
11110
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to start rendering.
|
12999
11111
|
* @param options - Options that are passed to the {@link @azure/communication-calling#VideoStreamRenderer}.
|
13000
11112
|
*/
|
13001
|
-
createView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState
|
11113
|
+
createView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState, options?: CreateViewOptions): Promise<CreateViewResult | undefined>;
|
13002
11114
|
/**
|
13003
11115
|
* Stops rendering a {@link RemoteVideoStreamState} or {@link LocalVideoStreamState} and removes the
|
13004
11116
|
* {@link VideoStreamRendererView} from the relevant {@link RemoteVideoStreamState} in {@link CallClientState} or
|
@@ -13023,7 +11135,7 @@ export declare interface StatefulCallClient extends CallClient {
|
|
13023
11135
|
* be undefined if disposing LocalVideoStreamState.
|
13024
11136
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
13025
11137
|
*/
|
13026
|
-
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState
|
11138
|
+
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
13027
11139
|
/**
|
13028
11140
|
* The CallAgent is used to handle calls.
|
13029
11141
|
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
@@ -13363,7 +11475,7 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
|
13363
11475
|
* @public
|
13364
11476
|
*/
|
13365
11477
|
export declare type TeamsCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13366
|
-
locator: TeamsMeetingLinkLocator |
|
11478
|
+
locator: TeamsMeetingLinkLocator | TeamsMeetingIdLocator;
|
13367
11479
|
};
|
13368
11480
|
|
13369
11481
|
/**
|
@@ -13436,17 +11548,6 @@ export declare interface TeamsIncomingCallState {
|
|
13436
11548
|
endTime?: Date;
|
13437
11549
|
}
|
13438
11550
|
|
13439
|
-
/**
|
13440
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
13441
|
-
*
|
13442
|
-
* This is used to create an outbound call scenarios.
|
13443
|
-
*
|
13444
|
-
* @beta
|
13445
|
-
*/
|
13446
|
-
export declare type TeamsOutboundCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13447
|
-
targetCallees: StartTeamsCallIdentifier[];
|
13448
|
-
};
|
13449
|
-
|
13450
11551
|
/**
|
13451
11552
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
13452
11553
|
*
|
@@ -13459,68 +11560,6 @@ export declare type TeamsOutboundCallAdapterArgs = TeamsCallAdapterArgsCommon &
|
|
13459
11560
|
*/
|
13460
11561
|
export declare const toFlatCommunicationIdentifier: (identifier: CommunicationIdentifier) => string;
|
13461
11562
|
|
13462
|
-
/**
|
13463
|
-
* State only version of {@link @azure/communication-calling#TogetherModeCallFeature}. {@link StatefulCallClient}.
|
13464
|
-
* Represents the state of the Together Mode feature.
|
13465
|
-
* @beta
|
13466
|
-
*/
|
13467
|
-
export declare interface TogetherModeCallFeatureState {
|
13468
|
-
isActive: boolean;
|
13469
|
-
/**
|
13470
|
-
* Proxy of {@link @azure/communication-calling#TogetherModeCallFeature.togetherModeStream}.
|
13471
|
-
*/
|
13472
|
-
streams: TogetherModeStreamsState;
|
13473
|
-
/**
|
13474
|
-
* Proxy of {@link @azure/communication-calling#TogetherModeCallFeature.TogetherModeSeatingMap}.
|
13475
|
-
*/
|
13476
|
-
seatingPositions: TogetherModeParticipantSeatingState;
|
13477
|
-
}
|
13478
|
-
|
13479
|
-
/**
|
13480
|
-
* Represents the seating positions of participants in Together Mode.
|
13481
|
-
*
|
13482
|
-
* @beta
|
13483
|
-
*/
|
13484
|
-
export declare type TogetherModeParticipantSeatingState = Record<string, TogetherModeSeatingPositionState>;
|
13485
|
-
|
13486
|
-
/**
|
13487
|
-
* State only version of {@link @azure/communication-calling#TogetherModeSeatingMap}.
|
13488
|
-
* @beta
|
13489
|
-
*
|
13490
|
-
* Represents the seating position of a participant in Together Mode.
|
13491
|
-
*/
|
13492
|
-
export declare interface TogetherModeSeatingPositionState {
|
13493
|
-
top: number;
|
13494
|
-
left: number;
|
13495
|
-
width: number;
|
13496
|
-
height: number;
|
13497
|
-
}
|
13498
|
-
|
13499
|
-
/**
|
13500
|
-
* Interface representing the result of a Together Mode stream view.
|
13501
|
-
* @beta
|
13502
|
-
*/
|
13503
|
-
export declare interface TogetherModeStreamOptions extends VideoStreamOptions {
|
13504
|
-
viewKind?: 'main' | 'panoramic';
|
13505
|
-
}
|
13506
|
-
|
13507
|
-
/**
|
13508
|
-
* Represents the streams in Together Mode.
|
13509
|
-
*
|
13510
|
-
* @beta
|
13511
|
-
*/
|
13512
|
-
export declare interface TogetherModeStreamsState {
|
13513
|
-
mainVideoStream?: CallFeatureStreamState;
|
13514
|
-
}
|
13515
|
-
|
13516
|
-
/**
|
13517
|
-
* Interface representing the result of a Together Mode stream view.
|
13518
|
-
* @beta
|
13519
|
-
*/
|
13520
|
-
export declare interface TogetherModeStreamViewResult {
|
13521
|
-
mainVideoView?: CreateVideoStreamViewResult;
|
13522
|
-
}
|
13523
|
-
|
13524
11563
|
/**
|
13525
11564
|
* Callback for {@link ChatAdapterSubscribers} 'topicChanged' event.
|
13526
11565
|
*
|
@@ -13709,129 +11748,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
13709
11748
|
typingString?: IStyle;
|
13710
11749
|
}
|
13711
11750
|
|
13712
|
-
/**
|
13713
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
13714
|
-
*
|
13715
|
-
* @beta
|
13716
|
-
*/
|
13717
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
13718
|
-
|
13719
|
-
/**
|
13720
|
-
* props for {@link UnsupportedBrowser} UI
|
13721
|
-
*
|
13722
|
-
* @beta
|
13723
|
-
*/
|
13724
|
-
export declare interface UnsupportedBrowserProps {
|
13725
|
-
/** Handler to perform an action when the help link is actioned */
|
13726
|
-
onTroubleshootingClick?: () => void;
|
13727
|
-
/** String overrides for the component */
|
13728
|
-
strings?: UnsupportedBrowserStrings;
|
13729
|
-
}
|
13730
|
-
|
13731
|
-
/**
|
13732
|
-
* Strings for UnsupportedBrowser component
|
13733
|
-
*
|
13734
|
-
* @beta
|
13735
|
-
*/
|
13736
|
-
export declare interface UnsupportedBrowserStrings {
|
13737
|
-
/** String for the primary text */
|
13738
|
-
primaryText: string;
|
13739
|
-
/** String for the secondary text */
|
13740
|
-
secondaryText: string;
|
13741
|
-
/** String to display in the text for the help link */
|
13742
|
-
moreHelpLinkText: string;
|
13743
|
-
}
|
13744
|
-
|
13745
|
-
/**
|
13746
|
-
* UI to display to the user that the browser version they are using is out of date
|
13747
|
-
* and not supported by Azure Communications Calling service.
|
13748
|
-
*
|
13749
|
-
* @beta
|
13750
|
-
*/
|
13751
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
13752
|
-
|
13753
|
-
/**
|
13754
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
13755
|
-
*
|
13756
|
-
* @beta
|
13757
|
-
*/
|
13758
|
-
export declare interface UnsupportedBrowserVersionProps {
|
13759
|
-
/** Handler to perform an action when the help link is actioned */
|
13760
|
-
onTroubleshootingClick?: () => void;
|
13761
|
-
/** String overrides for the component */
|
13762
|
-
strings?: UnsupportedBrowserVersionStrings;
|
13763
|
-
/** Handler to allow user to continue into the call */
|
13764
|
-
onContinueAnywayClick?: () => void;
|
13765
|
-
}
|
13766
|
-
|
13767
|
-
/**
|
13768
|
-
* Strings for UnsupportedBrowser component
|
13769
|
-
*
|
13770
|
-
* @beta
|
13771
|
-
*/
|
13772
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
13773
|
-
/** String for the primary text */
|
13774
|
-
primaryText: string;
|
13775
|
-
/** String for the secondary text */
|
13776
|
-
secondaryText: string;
|
13777
|
-
/** String to display in the text for the help link */
|
13778
|
-
moreHelpLinkText: string;
|
13779
|
-
/** String for continue without updating button */
|
13780
|
-
continueAnywayButtonText?: string;
|
13781
|
-
}
|
13782
|
-
|
13783
|
-
/**
|
13784
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
13785
|
-
*
|
13786
|
-
* @beta
|
13787
|
-
*/
|
13788
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
13789
|
-
|
13790
|
-
/**
|
13791
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
13792
|
-
*
|
13793
|
-
* @beta
|
13794
|
-
*/
|
13795
|
-
export declare interface UnsupportedOperatingSystemProps {
|
13796
|
-
/** Handler to perform a action when the help link is actioned */
|
13797
|
-
onTroubleshootingClick?: () => void;
|
13798
|
-
/** String overrides for the component */
|
13799
|
-
strings?: UnsupportedOperatingSystemStrings;
|
13800
|
-
}
|
13801
|
-
|
13802
|
-
/**
|
13803
|
-
* Strings for UnsupportedBrowser component
|
13804
|
-
*
|
13805
|
-
* @beta
|
13806
|
-
*/
|
13807
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
13808
|
-
/** String for the primary text */
|
13809
|
-
primaryText: string;
|
13810
|
-
/** String for the secondary text */
|
13811
|
-
secondaryText: string;
|
13812
|
-
/** String to display in the text for the help link */
|
13813
|
-
moreHelpLinkText: string;
|
13814
|
-
}
|
13815
|
-
|
13816
11751
|
/**
|
13817
11752
|
* @public
|
13818
11753
|
* Callback function run when a message is updated.
|
13819
11754
|
*/
|
13820
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
13821
|
-
|
13822
|
-
/**
|
13823
|
-
* Result payload for uploading an image.
|
13824
|
-
*
|
13825
|
-
* @beta
|
13826
|
-
*/
|
13827
|
-
export declare type UploadChatImageResult = {
|
13828
|
-
/** Id of the image. */
|
13829
|
-
id: string;
|
13830
|
-
/** The type of attachment. */
|
13831
|
-
attachmentType?: 'image' | 'file' | 'unknown';
|
13832
|
-
/** The name including file extension type of the attachment. */
|
13833
|
-
name?: string;
|
13834
|
-
};
|
11755
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
13835
11756
|
|
13836
11757
|
/**
|
13837
11758
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -14005,7 +11926,7 @@ export declare const useTeamsCall: () => undefined | TeamsCall;
|
|
14005
11926
|
*
|
14006
11927
|
* @public
|
14007
11928
|
*/
|
14008
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs
|
11929
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: (adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>, beforeDispose?: (adapter: TeamsCallAdapter) => Promise<void>) => TeamsCallAdapter | undefined;
|
14009
11930
|
|
14010
11931
|
/**
|
14011
11932
|
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
@@ -14156,7 +12077,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
|
|
14156
12077
|
/**
|
14157
12078
|
* @public
|
14158
12079
|
*/
|
14159
|
-
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | 'speaker' | '
|
12080
|
+
export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | 'speaker' | 'focusedContent';
|
14160
12081
|
|
14161
12082
|
/**
|
14162
12083
|
* The state of the local participant in the {@link VideoGallery}.
|
@@ -14338,38 +12259,6 @@ export declare interface VideoGalleryProps {
|
|
14338
12259
|
* This callback is to mute a remote participant
|
14339
12260
|
*/
|
14340
12261
|
onMuteParticipant?: (userId: string) => Promise<void>;
|
14341
|
-
/**
|
14342
|
-
* Indicates if the local participant can start together mode
|
14343
|
-
*/
|
14344
|
-
startTogetherModeEnabled?: boolean;
|
14345
|
-
/**
|
14346
|
-
* Indicates if together mode is active
|
14347
|
-
*/
|
14348
|
-
isTogetherModeActive?: boolean;
|
14349
|
-
/**
|
14350
|
-
* Callback to create a together mode stream view
|
14351
|
-
*/
|
14352
|
-
onCreateTogetherModeStreamView?: (options?: TogetherModeStreamOptions) => Promise<void | TogetherModeStreamViewResult>;
|
14353
|
-
/**
|
14354
|
-
* This callback is to start together mode
|
14355
|
-
*/
|
14356
|
-
onStartTogetherMode?: () => Promise<void>;
|
14357
|
-
/**
|
14358
|
-
* This callback is to set the scene size for together mode
|
14359
|
-
*/
|
14360
|
-
onSetTogetherModeSceneSize?: (width: number, height: number) => void;
|
14361
|
-
/**
|
14362
|
-
* Together mode video streams
|
14363
|
-
*/
|
14364
|
-
togetherModeStreams?: VideoGalleryTogetherModeStreams;
|
14365
|
-
/**
|
14366
|
-
* Seating position of participants in together mode
|
14367
|
-
*/
|
14368
|
-
togetherModeSeatingCoordinates?: VideoGalleryTogetherModeParticipantPosition;
|
14369
|
-
/**
|
14370
|
-
* Callback to dispose a together mode stream view
|
14371
|
-
*/
|
14372
|
-
onDisposeTogetherModeStreamView?: () => Promise<void>;
|
14373
12262
|
/**
|
14374
12263
|
* This callback is to forbid audio for remote participant(s)
|
14375
12264
|
*/
|
@@ -14386,6 +12275,10 @@ export declare interface VideoGalleryProps {
|
|
14386
12275
|
* This callback is to permit video for remote participant(s)
|
14387
12276
|
*/
|
14388
12277
|
onPermitVideo?: (userIds: string[]) => Promise<void>;
|
12278
|
+
/**
|
12279
|
+
* Controls the view of the local screenshare stream in the gallery
|
12280
|
+
*/
|
12281
|
+
localScreenShareView?: LocalScreenShareView;
|
14389
12282
|
}
|
14390
12283
|
|
14391
12284
|
/**
|
@@ -14428,10 +12321,6 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
14428
12321
|
optimalVideoCount?: number;
|
14429
12322
|
spotlightedParticipants?: string[];
|
14430
12323
|
maxParticipantsToSpotlight?: number;
|
14431
|
-
isTogetherModeActive?: boolean;
|
14432
|
-
startTogetherModeEnabled?: boolean;
|
14433
|
-
togetherModeStreams?: VideoGalleryTogetherModeStreams;
|
14434
|
-
togetherModeSeatingCoordinates?: VideoGalleryTogetherModeParticipantPosition;
|
14435
12324
|
};
|
14436
12325
|
|
14437
12326
|
/**
|
@@ -14532,31 +12421,6 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
|
|
14532
12421
|
verticalGallery?: VerticalGalleryStyles;
|
14533
12422
|
}
|
14534
12423
|
|
14535
|
-
/**
|
14536
|
-
* Interface representing the position of a participant in Together Mode.
|
14537
|
-
* @beta
|
14538
|
-
*/
|
14539
|
-
export declare type VideoGalleryTogetherModeParticipantPosition = Record<string, VideoGalleryTogetherModeSeatingInfo>;
|
14540
|
-
|
14541
|
-
/**
|
14542
|
-
* Interface representing the seating information in Together Mode.
|
14543
|
-
* @beta
|
14544
|
-
*/
|
14545
|
-
export declare interface VideoGalleryTogetherModeSeatingInfo {
|
14546
|
-
top: number;
|
14547
|
-
left: number;
|
14548
|
-
width: number;
|
14549
|
-
height: number;
|
14550
|
-
}
|
14551
|
-
|
14552
|
-
/**
|
14553
|
-
* Interface representing the streams in Together Mode.
|
14554
|
-
* @beta
|
14555
|
-
*/
|
14556
|
-
export declare interface VideoGalleryTogetherModeStreams {
|
14557
|
-
mainVideoStream?: VideoGalleryStream;
|
14558
|
-
}
|
14559
|
-
|
14560
12424
|
/**
|
14561
12425
|
* Options to control how video streams are rendered.
|
14562
12426
|
*
|