@azure/communication-react 1.27.0-beta.1 → 1.27.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 +142 -1385
- package/dist/dist-cjs/communication-react/index.js +40061 -174
- 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/acs-ui-javascript-loaders/src/callCompositeLoader.d.ts +27 -3
- package/dist/dist-esm/acs-ui-javascript-loaders/src/callCompositeLoader.js +9 -2
- package/dist/dist-esm/acs-ui-javascript-loaders/src/callCompositeLoader.js.map +1 -1
- package/dist/dist-esm/acs-ui-javascript-loaders/src/callWithChatCompositeLoader.d.ts +31 -3
- package/dist/dist-esm/acs-ui-javascript-loaders/src/callWithChatCompositeLoader.js +9 -2
- package/dist/dist-esm/acs-ui-javascript-loaders/src/callWithChatCompositeLoader.js.map +1 -1
- package/dist/dist-esm/acs-ui-javascript-loaders/src/chatCompositeLoader.d.ts +22 -3
- package/dist/dist-esm/acs-ui-javascript-loaders/src/chatCompositeLoader.js +8 -2
- package/dist/dist-esm/acs-ui-javascript-loaders/src/chatCompositeLoader.js.map +1 -1
- package/dist/dist-esm/acs-ui-javascript-loaders/src/outboundCallCompositeLoader.d.ts +29 -3
- package/dist/dist-esm/acs-ui-javascript-loaders/src/outboundCallCompositeLoader.js +9 -2
- package/dist/dist-esm/acs-ui-javascript-loaders/src/outboundCallCompositeLoader.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +6 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +7 -2
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +13 -16
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +0 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -6
- 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 -19
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js +1 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +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/remoteParticipantsSelector.d.ts +15 -0
- package/dist/dist-esm/calling-component-bindings/src/remoteParticipantsSelector.js +13 -0
- package/dist/dist-esm/calling-component-bindings/src/remoteParticipantsSelector.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +9 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +16 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.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 +2 -42
- 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 -6
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +0 -35
- 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 -4
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +4 -24
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +0 -3
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RealTimeTextSubscriber.js +2 -0
- package/dist/dist-esm/calling-stateful-client/src/RealTimeTextSubscriber.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/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 -1
- 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 +1 -2
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +0 -4
- 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 +0 -21
- package/dist/dist-esm/communication-react/src/index.js +0 -3
- package/dist/dist-esm/communication-react/src/index.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.js +4 -7
- 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/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/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/RTTDisclosureBanner.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RealTimeText.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RealTimeTextModal.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/StartRealTimeTextButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeStream.js +10 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/TogetherModeStream.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/index.js +0 -8
- 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/AttachmentCardGroup.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +1 -1
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.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 +0 -8
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js +2 -0
- package/dist/dist-esm/react-components/src/components/styles/RTTDisclosureBanner.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +3 -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/sortCaptionsAndRealTimeTexts.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 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -45
- 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 -24
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -67
- 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/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-composites/src/composites/CallComposite/CallComposite.d.ts +0 -59
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +10 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- 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 -37
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +1 -11
- 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 +4 -4
- 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/CallingSoundSubscriber.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -2
- 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/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/hooks/useHandlers.js +0 -3
- 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 -3
- 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 +2 -2
- 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 +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +5 -40
- 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.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +11 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +0 -49
- 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 +0 -52
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +4 -10
- 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 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +2 -20
- 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 +6 -20
- 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/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/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/ControlBar/CommonCallControlBar.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.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 -26
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/package.json +14 -14
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-CuMDt6F1.js +0 -205
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-CuMDt6F1.js.map +0 -1
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-FltfC9HN.js +0 -49
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-FltfC9HN.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-baiJAAbD.js +0 -45914
- package/dist/dist-cjs/communication-react/index-baiJAAbD.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/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/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/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 -334
- 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 -177
- 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/RichTextSendBoxUtils.d.ts +0 -9
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxUtils.js +0 -16
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxUtils.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/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/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/RichTextEditor.styles.d.ts +0 -82
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +0 -324
- 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/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/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-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -46
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -200
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.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/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';
|
@@ -87,7 +84,6 @@ import { Reaction as Reaction_2 } from '@azure/communication-calling';
|
|
87
84
|
import { ReactionMessage } from '@azure/communication-calling';
|
88
85
|
import { RealTimeTextInfo as RealTimeTextInfo_2 } from '@azure/communication-calling';
|
89
86
|
import { RealTimeTextResultType } from '@azure/communication-calling';
|
90
|
-
import { RecordingInfo } from '@azure/communication-calling';
|
91
87
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
92
88
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
93
89
|
import { RoomCallLocator } from '@azure/communication-calling';
|
@@ -277,40 +273,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
277
273
|
*/
|
278
274
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
279
275
|
|
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
276
|
/**
|
315
277
|
* Data model that represents a chat message attachment
|
316
278
|
* where it contains an ID to uniquely identify the attachment,
|
@@ -334,150 +296,6 @@ export declare interface AttachmentMetadata {
|
|
334
296
|
url: string;
|
335
297
|
}
|
336
298
|
|
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
299
|
/**
|
482
300
|
* Custom data attributes for displaying avatar for a user.
|
483
301
|
*
|
@@ -669,26 +487,6 @@ export declare interface BaseCustomStyles {
|
|
669
487
|
root?: IStyle;
|
670
488
|
}
|
671
489
|
|
672
|
-
/**
|
673
|
-
* Content blocked message type.
|
674
|
-
*
|
675
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
676
|
-
*
|
677
|
-
* @beta
|
678
|
-
*/
|
679
|
-
export declare interface BlockedMessage extends MessageCommon {
|
680
|
-
messageType: 'blocked';
|
681
|
-
warningText?: string;
|
682
|
-
linkText?: string;
|
683
|
-
link?: string;
|
684
|
-
deletedOn?: Date;
|
685
|
-
senderId?: string;
|
686
|
-
senderDisplayName?: string;
|
687
|
-
status?: MessageStatus;
|
688
|
-
attached?: MessageAttachedStatus;
|
689
|
-
mine?: boolean;
|
690
|
-
}
|
691
|
-
|
692
490
|
/**
|
693
491
|
* Breakout rooms state
|
694
492
|
*
|
@@ -703,136 +501,6 @@ export declare interface BreakoutRoomsState {
|
|
703
501
|
breakoutRoomDisplayName?: string;
|
704
502
|
}
|
705
503
|
|
706
|
-
/**
|
707
|
-
* @beta
|
708
|
-
* Props for BrowserPermissionDeniedIOS component.
|
709
|
-
*/
|
710
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
711
|
-
/**
|
712
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
713
|
-
*/
|
714
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
715
|
-
/**
|
716
|
-
* Link to image source.
|
717
|
-
*
|
718
|
-
* Image is inserted into the top of the component.
|
719
|
-
*/
|
720
|
-
imageSource?: string;
|
721
|
-
}
|
722
|
-
|
723
|
-
/**
|
724
|
-
* @beta
|
725
|
-
* Strings for BrowserPermissionDeniedIOS component
|
726
|
-
*/
|
727
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
728
|
-
/**
|
729
|
-
* Image alt text
|
730
|
-
*/
|
731
|
-
imageAltText: string;
|
732
|
-
/**
|
733
|
-
* Main text string.
|
734
|
-
*/
|
735
|
-
primaryText: string;
|
736
|
-
/**
|
737
|
-
* Subtext string.
|
738
|
-
*/
|
739
|
-
secondaryText: string;
|
740
|
-
/**
|
741
|
-
* Step 1 string
|
742
|
-
*/
|
743
|
-
step1Text: string;
|
744
|
-
/**
|
745
|
-
* Step 1 digit string
|
746
|
-
*/
|
747
|
-
step1DigitText: string;
|
748
|
-
/**
|
749
|
-
* Step 2 string
|
750
|
-
*/
|
751
|
-
step2Text: string;
|
752
|
-
/**
|
753
|
-
* Step 2 digit string
|
754
|
-
*/
|
755
|
-
step2DigitText: string;
|
756
|
-
/**
|
757
|
-
* Step 3 string
|
758
|
-
*/
|
759
|
-
step3Text: string;
|
760
|
-
/**
|
761
|
-
* Step 3 digit string
|
762
|
-
*/
|
763
|
-
step3DigitText: string;
|
764
|
-
/**
|
765
|
-
* Step 4 string
|
766
|
-
*/
|
767
|
-
step4Text: string;
|
768
|
-
/**
|
769
|
-
* Step 4 digit string
|
770
|
-
*/
|
771
|
-
step4DigitText: string;
|
772
|
-
}
|
773
|
-
|
774
|
-
/**
|
775
|
-
* @beta
|
776
|
-
* Props for BrowserPermissionDenied component.
|
777
|
-
*/
|
778
|
-
export declare interface BrowserPermissionDeniedProps {
|
779
|
-
/**
|
780
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
781
|
-
*/
|
782
|
-
onTroubleshootingClick?: () => void;
|
783
|
-
/**
|
784
|
-
* Action to be taken by the try again primary button.
|
785
|
-
*/
|
786
|
-
onTryAgainClick?: () => void;
|
787
|
-
/**
|
788
|
-
* Localization strings for BrowserPermissionDenied component.
|
789
|
-
*/
|
790
|
-
strings?: BrowserPermissionDeniedStrings;
|
791
|
-
/**
|
792
|
-
* Allows users to pass in an object contains custom CSS styles.
|
793
|
-
* @Example
|
794
|
-
* ```
|
795
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
796
|
-
* ```
|
797
|
-
*/
|
798
|
-
styles?: BrowserPermissionDeniedStyles;
|
799
|
-
}
|
800
|
-
|
801
|
-
/**
|
802
|
-
* @beta
|
803
|
-
* Strings for BrowserPermissionDenied component
|
804
|
-
*/
|
805
|
-
export declare interface BrowserPermissionDeniedStrings {
|
806
|
-
/**
|
807
|
-
* Main button text string.
|
808
|
-
*/
|
809
|
-
primaryButtonText: string;
|
810
|
-
/**
|
811
|
-
* Main text string.
|
812
|
-
*/
|
813
|
-
primaryText: string;
|
814
|
-
/**
|
815
|
-
* Subtext string.
|
816
|
-
*/
|
817
|
-
secondaryText: string;
|
818
|
-
/**
|
819
|
-
* More help link string.
|
820
|
-
*/
|
821
|
-
linkText: string;
|
822
|
-
}
|
823
|
-
|
824
|
-
/**
|
825
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
826
|
-
*
|
827
|
-
* @beta
|
828
|
-
*/
|
829
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
830
|
-
/** Styles for the primary button. */
|
831
|
-
primaryButton?: IButtonStyles;
|
832
|
-
/** Styles for the help troubleshooting link text. */
|
833
|
-
troubleshootingLink?: ILinkStyles;
|
834
|
-
}
|
835
|
-
|
836
504
|
/**
|
837
505
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
838
506
|
*
|
@@ -1046,13 +714,13 @@ export declare interface CallAdapterCallOperations {
|
|
1046
714
|
*
|
1047
715
|
* @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
|
1048
716
|
*
|
1049
|
-
* @
|
717
|
+
* @public
|
1050
718
|
*/
|
1051
719
|
createTogetherModeStreamView(options?: TogetherModeStreamOptions): Promise<void | TogetherModeStreamViewResult>;
|
1052
720
|
/**
|
1053
721
|
* Start Together mode.
|
1054
722
|
*
|
1055
|
-
* @
|
723
|
+
* @public
|
1056
724
|
*/
|
1057
725
|
startTogetherMode(): Promise<void>;
|
1058
726
|
/**
|
@@ -1064,7 +732,7 @@ export declare interface CallAdapterCallOperations {
|
|
1064
732
|
* @param width - Width of the container
|
1065
733
|
* @param height - Height of the container
|
1066
734
|
*
|
1067
|
-
* @
|
735
|
+
* @public
|
1068
736
|
*/
|
1069
737
|
setTogetherModeSceneSize(width: number, height: number): void;
|
1070
738
|
/**
|
@@ -1074,7 +742,7 @@ export declare interface CallAdapterCallOperations {
|
|
1074
742
|
* This method is implemented for composite
|
1075
743
|
*
|
1076
744
|
*
|
1077
|
-
* @
|
745
|
+
* @public
|
1078
746
|
*/
|
1079
747
|
disposeTogetherModeStreamView(): Promise<void>;
|
1080
748
|
/**
|
@@ -1432,7 +1100,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1432
1100
|
*
|
1433
1101
|
* @public
|
1434
1102
|
*/
|
1435
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator |
|
1103
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | TeamsMeetingIdLocator;
|
1436
1104
|
|
1437
1105
|
/**
|
1438
1106
|
* {@link CommonCallAdapter} state.
|
@@ -1698,7 +1366,7 @@ export declare interface CallAgentState {
|
|
1698
1366
|
*/
|
1699
1367
|
export declare interface CallAndChatLocator {
|
1700
1368
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1701
|
-
callLocator: GroupCallLocator
|
1369
|
+
callLocator: GroupCallLocator;
|
1702
1370
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1703
1371
|
chatThreadId: string;
|
1704
1372
|
}
|
@@ -1914,14 +1582,38 @@ export declare type CallCompositeIcons = {
|
|
1914
1582
|
*
|
1915
1583
|
* @public
|
1916
1584
|
*/
|
1917
|
-
export declare
|
1585
|
+
export declare interface CallCompositeLoaderProps extends Partial<BaseCompositeProps<CallCompositeIcons>> {
|
1586
|
+
/**
|
1587
|
+
* UserId for the local user.
|
1588
|
+
*/
|
1918
1589
|
userId: CommunicationUserIdentifier;
|
1590
|
+
/**
|
1591
|
+
* CommunicationTokenCredential for the local user.
|
1592
|
+
*/
|
1919
1593
|
credential: CommunicationTokenCredential;
|
1594
|
+
/**
|
1595
|
+
* Display name for the local user.
|
1596
|
+
*/
|
1920
1597
|
displayName: string;
|
1598
|
+
/**
|
1599
|
+
* locator for the call
|
1600
|
+
*/
|
1921
1601
|
locator: CallAdapterLocator;
|
1602
|
+
/**
|
1603
|
+
* Options for the {@link AzureCommunicationCallAdapter}
|
1604
|
+
* This is used to configure the call adapter.
|
1605
|
+
*/
|
1922
1606
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
1607
|
+
/**
|
1608
|
+
* Options for the {@link CallComposite} {@link CallCompositeOptions}
|
1609
|
+
* This is used to configure the call composite.
|
1610
|
+
*/
|
1923
1611
|
callCompositeOptions?: CallCompositeOptions;
|
1924
|
-
|
1612
|
+
/**
|
1613
|
+
* Device form factor for the composite.
|
1614
|
+
*/
|
1615
|
+
formFactor?: 'mobile' | 'desktop';
|
1616
|
+
}
|
1925
1617
|
|
1926
1618
|
/**
|
1927
1619
|
* Optional features of the {@link CallComposite}.
|
@@ -1944,43 +1636,6 @@ export declare type CallCompositeOptions = {
|
|
1944
1636
|
* @defaultValue true
|
1945
1637
|
*/
|
1946
1638
|
callControls?: boolean | CallControlOptions;
|
1947
|
-
/**
|
1948
|
-
* Device permissions check options for your call.
|
1949
|
-
* Here you can choose what device permissions you prompt the user for,
|
1950
|
-
* as well as what device permissions must be accepted before starting a call.
|
1951
|
-
*/
|
1952
|
-
deviceChecks?: DeviceCheckOptions;
|
1953
|
-
/**
|
1954
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1955
|
-
* unable to grant your site the required permissions for the call.
|
1956
|
-
*
|
1957
|
-
* @example
|
1958
|
-
* ```ts
|
1959
|
-
* onPermissionsTroubleshootingClick: () =>
|
1960
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1961
|
-
* ```
|
1962
|
-
*
|
1963
|
-
* @remarks
|
1964
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1965
|
-
*/
|
1966
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1967
|
-
camera: PermissionState;
|
1968
|
-
microphone: PermissionState;
|
1969
|
-
}) => void;
|
1970
|
-
/**
|
1971
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1972
|
-
* having network issues when connecting to the call.
|
1973
|
-
*
|
1974
|
-
* @example
|
1975
|
-
* ```ts
|
1976
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1977
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1978
|
-
* ```
|
1979
|
-
*
|
1980
|
-
* @remarks
|
1981
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1982
|
-
*/
|
1983
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1984
1639
|
/**
|
1985
1640
|
* Remote participant video tile menu options
|
1986
1641
|
*/
|
@@ -3235,7 +2890,7 @@ export declare type CallErrors = {
|
|
3235
2890
|
*
|
3236
2891
|
* @public
|
3237
2892
|
*/
|
3238
|
-
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' | '
|
2893
|
+
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' | 'DeviceManager.startPreheatDevices' | 'DeviceManager.stopPreheatDevices' | 'IncomingCall.accept' | 'IncomingCall.reject' | 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | 'CallAgent.handlePushNotification' | 'Call.mutedByOthers' | 'Call.muteAllRemoteParticipants' | 'Call.setConstraints';
|
3239
2894
|
|
3240
2895
|
/**
|
3241
2896
|
* Represents the name of the call feature stream
|
@@ -3406,23 +3061,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
3406
3061
|
mediaAccess?: MediaAccess;
|
3407
3062
|
};
|
3408
3063
|
|
3409
|
-
/**
|
3410
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
3411
|
-
*
|
3412
|
-
* @remarks
|
3413
|
-
* This is currently in beta and only supports calling one Teams User.
|
3414
|
-
*
|
3415
|
-
* @example
|
3416
|
-
* ```
|
3417
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
3418
|
-
* ```
|
3419
|
-
*
|
3420
|
-
* @beta
|
3421
|
-
*/
|
3422
|
-
export declare type CallParticipantsLocator = {
|
3423
|
-
participantIds: string[];
|
3424
|
-
};
|
3425
|
-
|
3426
3064
|
/**
|
3427
3065
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
3428
3066
|
*
|
@@ -3527,10 +3165,6 @@ export declare interface CallState {
|
|
3527
3165
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
3528
3166
|
*/
|
3529
3167
|
recording: RecordingCallFeature;
|
3530
|
-
/**
|
3531
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature}.
|
3532
|
-
*/
|
3533
|
-
localRecording: LocalRecordingCallFeatureState;
|
3534
3168
|
/**
|
3535
3169
|
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
|
3536
3170
|
*
|
@@ -3591,10 +3225,6 @@ export declare interface CallState {
|
|
3591
3225
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
3592
3226
|
*/
|
3593
3227
|
role?: ParticipantRole;
|
3594
|
-
/**
|
3595
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
3596
|
-
*/
|
3597
|
-
totalParticipantCount?: number;
|
3598
3228
|
/**
|
3599
3229
|
* Transfer state of call
|
3600
3230
|
*/
|
@@ -3614,7 +3244,7 @@ export declare interface CallState {
|
|
3614
3244
|
/**
|
3615
3245
|
* Proxy of {@link @azure/communication-calling#Call.info}.
|
3616
3246
|
*/
|
3617
|
-
info?: TeamsCallInfo
|
3247
|
+
info?: TeamsCallInfo;
|
3618
3248
|
/**
|
3619
3249
|
* Proxy of {@link @azure/communication-calling#TeamsMeetingAudioConferencingCallFeature}.
|
3620
3250
|
*/
|
@@ -3815,7 +3445,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3815
3445
|
*
|
3816
3446
|
* @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
|
3817
3447
|
*
|
3818
|
-
* @
|
3448
|
+
* @public
|
3819
3449
|
*/
|
3820
3450
|
createTogetherModeStreamView(options?: TogetherModeStreamOptions): Promise<void | TogetherModeStreamViewResult>;
|
3821
3451
|
/**
|
@@ -3825,7 +3455,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3825
3455
|
* This method is implemented for composite
|
3826
3456
|
*
|
3827
3457
|
*
|
3828
|
-
* @
|
3458
|
+
* @public
|
3829
3459
|
*/
|
3830
3460
|
startTogetherMode(): Promise<void>;
|
3831
3461
|
/**
|
@@ -3837,7 +3467,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3837
3467
|
* @param width - Width of the container
|
3838
3468
|
* @param height - Height of the container
|
3839
3469
|
*
|
3840
|
-
* @
|
3470
|
+
* @public
|
3841
3471
|
*/
|
3842
3472
|
setTogetherModeSceneSize(width: number, height: number): void;
|
3843
3473
|
/**
|
@@ -3846,7 +3476,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3846
3476
|
* @remarks
|
3847
3477
|
* This method is implemented for composite
|
3848
3478
|
*
|
3849
|
-
* @
|
3479
|
+
* @public
|
3850
3480
|
*/
|
3851
3481
|
disposeTogetherModeStreamView(): Promise<void>;
|
3852
3482
|
/**
|
@@ -3956,19 +3586,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3956
3586
|
*
|
3957
3587
|
* @public
|
3958
3588
|
*/
|
3959
|
-
sendMessage(content: string, options?: SendMessageOptions
|
3960
|
-
/**
|
3961
|
-
* Upload an inline image for a message.
|
3962
|
-
*
|
3963
|
-
* @beta
|
3964
|
-
*/
|
3965
|
-
uploadImage(image: Blob, imageFilename: string): Promise<UploadChatImageResult>;
|
3966
|
-
/**
|
3967
|
-
* Delete an inline image for a message.
|
3968
|
-
*
|
3969
|
-
* @beta
|
3970
|
-
*/
|
3971
|
-
deleteImage(imageId: string): Promise<void>;
|
3589
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
3972
3590
|
/**
|
3973
3591
|
* Send a read receipt for a message.
|
3974
3592
|
*
|
@@ -3986,7 +3604,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3986
3604
|
*
|
3987
3605
|
* @public
|
3988
3606
|
*/
|
3989
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
3607
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
3990
3608
|
/**
|
3991
3609
|
* Delete a message in the thread.
|
3992
3610
|
*
|
@@ -4384,15 +4002,43 @@ export declare type CallWithChatCompositeIcons = {
|
|
4384
4002
|
* - callCompositeOptions: Options for the {@link CallWithChatComposite} {@link CallWithChatCompositeOptions}
|
4385
4003
|
* @public
|
4386
4004
|
*/
|
4387
|
-
export declare
|
4005
|
+
export declare interface CallWithChatCompositeLoaderProps extends Partial<BaseCompositeProps<CallWithChatCompositeIcons>> {
|
4006
|
+
/**
|
4007
|
+
* UserId for the local user.
|
4008
|
+
*/
|
4388
4009
|
userId: CommunicationUserIdentifier;
|
4010
|
+
/**
|
4011
|
+
* CommunicationTokenCredential for the local user.
|
4012
|
+
*/
|
4389
4013
|
credential: CommunicationTokenCredential;
|
4014
|
+
/**
|
4015
|
+
* Display name for the local user.
|
4016
|
+
*/
|
4390
4017
|
displayName: string;
|
4018
|
+
/**
|
4019
|
+
* Azure communication service endpoint. This used for the token and joining the chat thread.
|
4020
|
+
*/
|
4391
4021
|
endpoint: string;
|
4022
|
+
/**
|
4023
|
+
* Locator for the call and the chat thread.
|
4024
|
+
* This is used to join the call and the chat thread.
|
4025
|
+
*/
|
4392
4026
|
locator: CallAndChatLocator;
|
4027
|
+
/**
|
4028
|
+
* Options for the {@link AzureCommunicationCallAdapterOptions}
|
4029
|
+
* This is used to configure the call adapter.
|
4030
|
+
*/
|
4393
4031
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
4032
|
+
/**
|
4033
|
+
* Options for the {@link CallWithChatComposite} {@link CallWithChatCompositeOptions}
|
4034
|
+
* This is used to configure the call composite.
|
4035
|
+
*/
|
4394
4036
|
callWithChatCompositeOptions?: CallWithChatCompositeOptions;
|
4395
|
-
|
4037
|
+
/**
|
4038
|
+
* Device form factor for the composite.
|
4039
|
+
*/
|
4040
|
+
formFactor?: 'mobile' | 'desktop';
|
4041
|
+
}
|
4396
4042
|
|
4397
4043
|
/**
|
4398
4044
|
* Optional features of the {@link CallWithChatComposite}.
|
@@ -4405,49 +4051,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
4405
4051
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
4406
4052
|
*/
|
4407
4053
|
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
4054
|
/**
|
4452
4055
|
* Remote participant video tile menu options
|
4453
4056
|
*/
|
@@ -4554,13 +4157,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
4554
4157
|
*/
|
4555
4158
|
hideSpotlightButtons?: boolean;
|
4556
4159
|
};
|
4557
|
-
/**
|
4558
|
-
* Enables rich text editor for the send and edit boxes
|
4559
|
-
* @defaultValue `false`
|
4560
|
-
*
|
4561
|
-
* @beta
|
4562
|
-
*/
|
4563
|
-
richTextEditor?: boolean;
|
4564
4160
|
/**
|
4565
4161
|
* Options for settings related to joining a call.
|
4566
4162
|
*/
|
@@ -4816,35 +4412,6 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
4816
4412
|
*/
|
4817
4413
|
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'isCaptionsActiveChanged' | 'captionsReceived' | 'isCaptionLanguageChanged' | 'isSpokenLanguageChanged' | 'realTimeTextReceived' | 'capabilitiesChanged' | 'spotlightChanged' | 'breakoutRoomsUpdated' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved' | 'chatInitialized';
|
4818
4414
|
|
4819
|
-
/**
|
4820
|
-
* @beta
|
4821
|
-
*
|
4822
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4823
|
-
* by their browsers settings.
|
4824
|
-
*/
|
4825
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
4826
|
-
|
4827
|
-
/**
|
4828
|
-
* @beta
|
4829
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
4830
|
-
*/
|
4831
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
4832
|
-
/** Icon name for the camera icon */
|
4833
|
-
cameraIconName?: string;
|
4834
|
-
/** Icon name for the microphone icon */
|
4835
|
-
microphoneIconName?: string;
|
4836
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
4837
|
-
connectorIconName?: string;
|
4838
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
4839
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
4840
|
-
}
|
4841
|
-
|
4842
|
-
/**
|
4843
|
-
* @beta
|
4844
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
4845
|
-
*/
|
4846
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
4847
|
-
|
4848
4415
|
/**
|
4849
4416
|
* A button to turn camera on / off.
|
4850
4417
|
*
|
@@ -5005,31 +4572,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
5005
4572
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
5006
4573
|
}
|
5007
4574
|
|
5008
|
-
/**
|
5009
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
5010
|
-
* by their browsers settings.
|
5011
|
-
*
|
5012
|
-
* @beta
|
5013
|
-
*/
|
5014
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
5015
|
-
|
5016
|
-
/**
|
5017
|
-
* @beta
|
5018
|
-
* Props for CameraSitePermissions component.
|
5019
|
-
*/
|
5020
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
5021
|
-
/** Icon name for the camera icon */
|
5022
|
-
cameraIconName?: string;
|
5023
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
5024
|
-
strings?: CameraSitePermissionsStrings;
|
5025
|
-
}
|
5026
|
-
|
5027
|
-
/**
|
5028
|
-
* @beta
|
5029
|
-
* Strings for CameraSitePermissions component.
|
5030
|
-
*/
|
5031
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
5032
|
-
|
5033
4575
|
/**
|
5034
4576
|
* @public
|
5035
4577
|
* Callback function run when a message edit is cancelled.
|
@@ -5661,15 +5203,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
5661
5203
|
* Send a message in the thread.
|
5662
5204
|
* Please note that SendMessageOptions is being deprecated, please use MessageOptions instead.
|
5663
5205
|
*/
|
5664
|
-
sendMessage(content: string, options?: SendMessageOptions
|
5665
|
-
/**
|
5666
|
-
* Upload an inline image for a message.
|
5667
|
-
*/
|
5668
|
-
uploadImage(image: Blob, imageFilename: string): Promise<UploadChatImageResult>;
|
5669
|
-
/**
|
5670
|
-
* Delete an inline image for a message.
|
5671
|
-
*/
|
5672
|
-
deleteImage(imageId: string): Promise<void>;
|
5206
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
5673
5207
|
/**
|
5674
5208
|
* Send a read receipt for a message.
|
5675
5209
|
*/
|
@@ -5690,7 +5224,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
5690
5224
|
* Update a message content.
|
5691
5225
|
* Please note that metadata is being deprecated, please use MessageOptions.metadata instead.
|
5692
5226
|
*/
|
5693
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
5227
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
5694
5228
|
/**
|
5695
5229
|
* Delete a message in the thread.
|
5696
5230
|
*/
|
@@ -5828,7 +5362,6 @@ export declare type ChatCompositeIcons = {
|
|
5828
5362
|
ParticipantItemOptionsHovered?: JSX.Element;
|
5829
5363
|
SendBoxSend?: JSX.Element;
|
5830
5364
|
SendBoxSendHovered?: JSX.Element;
|
5831
|
-
SendBoxAttachFile?: JSX.Element;
|
5832
5365
|
};
|
5833
5366
|
|
5834
5367
|
/**
|
@@ -5836,14 +5369,33 @@ export declare type ChatCompositeIcons = {
|
|
5836
5369
|
* options for the {@link ChatComposite} {@link ChatCompositeOptions}.
|
5837
5370
|
* @public
|
5838
5371
|
*/
|
5839
|
-
export declare
|
5372
|
+
export declare interface ChatCompositeLoaderProps extends Partial<BaseCompositeProps<ChatCompositeIcons>> {
|
5373
|
+
/**
|
5374
|
+
* UserId for the local user.
|
5375
|
+
*/
|
5840
5376
|
userId: CommunicationUserIdentifier;
|
5377
|
+
/**
|
5378
|
+
* CommunicationTokenCredential for the local user.
|
5379
|
+
*/
|
5841
5380
|
credential: CommunicationTokenCredential;
|
5381
|
+
/**
|
5382
|
+
* Display name for the local user.
|
5383
|
+
*/
|
5842
5384
|
displayName?: string;
|
5385
|
+
/**
|
5386
|
+
* Communication service endpoint. This is used for the token and joining the chat thread.
|
5387
|
+
*/
|
5843
5388
|
endpoint: string;
|
5389
|
+
/**
|
5390
|
+
* Communication threadId for the chat thread.
|
5391
|
+
*/
|
5844
5392
|
threadId: string;
|
5393
|
+
/**
|
5394
|
+
* Options for the {@link AzureCommunicationChatAdapter}
|
5395
|
+
* This is used to configure the chat adapter.
|
5396
|
+
*/
|
5845
5397
|
chatCompositeOptions?: ChatCompositeOptions;
|
5846
|
-
}
|
5398
|
+
}
|
5847
5399
|
|
5848
5400
|
/**
|
5849
5401
|
* Optional features of the {@link ChatComposite}.
|
@@ -5857,13 +5409,6 @@ export declare type ChatCompositeOptions = {
|
|
5857
5409
|
* @defaultValue true
|
5858
5410
|
*/
|
5859
5411
|
errorBar?: boolean;
|
5860
|
-
/**
|
5861
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
5862
|
-
* @defaultValue false
|
5863
|
-
*
|
5864
|
-
* @beta
|
5865
|
-
*/
|
5866
|
-
participantPane?: boolean;
|
5867
5412
|
/**
|
5868
5413
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
5869
5414
|
* @defaultValue true
|
@@ -5874,19 +5419,6 @@ export declare type ChatCompositeOptions = {
|
|
5874
5419
|
* When undefined nothing has focus on render
|
5875
5420
|
*/
|
5876
5421
|
autoFocus?: 'sendBoxTextField';
|
5877
|
-
/**
|
5878
|
-
* Properties for configuring the File Sharing feature.
|
5879
|
-
* If undefined, file sharing feature will be disabled.
|
5880
|
-
* @beta
|
5881
|
-
*/
|
5882
|
-
attachmentOptions?: AttachmentOptions;
|
5883
|
-
/**
|
5884
|
-
* Enables rich text editor for the send and edit boxes
|
5885
|
-
* @defaultValue `false`
|
5886
|
-
*
|
5887
|
-
* @beta
|
5888
|
-
*/
|
5889
|
-
richTextEditor?: boolean;
|
5890
5422
|
};
|
5891
5423
|
|
5892
5424
|
/**
|
@@ -5914,12 +5446,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
5914
5446
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
5915
5447
|
*/
|
5916
5448
|
options?: ChatCompositeOptions;
|
5917
|
-
/**
|
5918
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
5919
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
5920
|
-
* @defaultValue 'desktop'
|
5921
|
-
*/
|
5922
|
-
formFactor?: 'desktop' | 'mobile';
|
5923
5449
|
}
|
5924
5450
|
|
5925
5451
|
/**
|
@@ -5934,26 +5460,6 @@ export declare interface ChatCompositeStrings {
|
|
5934
5460
|
* Chat list header text
|
5935
5461
|
*/
|
5936
5462
|
chatListHeader: string;
|
5937
|
-
/**
|
5938
|
-
* Upload Attachment Button text
|
5939
|
-
*/
|
5940
|
-
uploadAttachment: string;
|
5941
|
-
/**
|
5942
|
-
* Error Message for image data is not provided for image upload
|
5943
|
-
*/
|
5944
|
-
uploadImageDataNotProvided: string;
|
5945
|
-
/**
|
5946
|
-
* Error Message for upload image is too large
|
5947
|
-
*/
|
5948
|
-
uploadImageIsTooLarge: string;
|
5949
|
-
/**
|
5950
|
-
* Error Message for unsupported image extension for image upload
|
5951
|
-
*/
|
5952
|
-
uploadImageExtensionIsNotAllowed: string;
|
5953
|
-
/**
|
5954
|
-
* Error Message for unable to upload image
|
5955
|
-
*/
|
5956
|
-
uploadImageFailed: string;
|
5957
5463
|
}
|
5958
5464
|
|
5959
5465
|
/**
|
@@ -6002,7 +5508,7 @@ export declare type ChatErrors = {
|
|
6002
5508
|
*
|
6003
5509
|
* @public
|
6004
5510
|
*/
|
6005
|
-
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.
|
5511
|
+
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';
|
6006
5512
|
|
6007
5513
|
/**
|
6008
5514
|
* Object containing all the handlers required for chat components.
|
@@ -6013,15 +5519,13 @@ export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClien
|
|
6013
5519
|
* @public
|
6014
5520
|
*/
|
6015
5521
|
export declare type ChatHandlers = {
|
6016
|
-
onSendMessage: (content: string, options?: SendMessageOptions
|
6017
|
-
onUploadImage: (image: Blob, imageFilename: string) => Promise<UploadChatImageResult>;
|
6018
|
-
onDeleteImage: (imageId: string) => Promise<void>;
|
5522
|
+
onSendMessage: (content: string, options?: SendMessageOptions) => Promise<void>;
|
6019
5523
|
onMessageSeen: (chatMessageId: string) => Promise<void>;
|
6020
5524
|
onTyping: () => Promise<void>;
|
6021
5525
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
6022
5526
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
6023
5527
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
6024
|
-
onUpdateMessage: (messageId: string, content: string
|
5528
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
6025
5529
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
6026
5530
|
};
|
6027
5531
|
|
@@ -6064,12 +5568,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
6064
5568
|
attachments?: AttachmentMetadata[];
|
6065
5569
|
}
|
6066
5570
|
|
6067
|
-
/**
|
6068
|
-
* @beta
|
6069
|
-
* Type of the message content, either 'text' or 'html'.
|
6070
|
-
*/
|
6071
|
-
export declare type ChatMessageType = 'text' | 'html';
|
6072
|
-
|
6073
5571
|
/**
|
6074
5572
|
* An extension to {@link @azure/communication-chat#ChatMessage} that stores
|
6075
5573
|
* client-side only metadata for chat messages.
|
@@ -6188,8 +5686,6 @@ export declare type ChatThreadClientState = {
|
|
6188
5686
|
*/
|
6189
5687
|
export declare type ChatThreadProperties = {
|
6190
5688
|
topic?: string;
|
6191
|
-
createdBy?: CommunicationIdentifierKind;
|
6192
|
-
messagingPolicy?: MessagingPolicy;
|
6193
5689
|
};
|
6194
5690
|
|
6195
5691
|
/**
|
@@ -6405,6 +5901,11 @@ export declare type CommonCallControlOptions = {
|
|
6405
5901
|
* @defaultValue true
|
6406
5902
|
*/
|
6407
5903
|
captionsButton?: boolean;
|
5904
|
+
/**
|
5905
|
+
* Show, Hide or Disable real time text during a call.
|
5906
|
+
* @defaultValue true
|
5907
|
+
*/
|
5908
|
+
realTimeTextButton?: boolean;
|
6408
5909
|
/**
|
6409
5910
|
* Show, Hide or Disable gallery controls button during a call.
|
6410
5911
|
* @defaultValue true
|
@@ -6456,7 +5957,6 @@ export declare interface CommonCallingHandlers {
|
|
6456
5957
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
6457
5958
|
onRemoveParticipant(userId: string): Promise<void>;
|
6458
5959
|
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
6459
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
6460
5960
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
6461
5961
|
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
6462
5962
|
onRejectCall: (incomingCallId: string) => Promise<void>;
|
@@ -6543,39 +6043,6 @@ export declare type CommonProperties<A, B> = {
|
|
6543
6043
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
6544
6044
|
}[keyof A & keyof B];
|
6545
6045
|
|
6546
|
-
/**
|
6547
|
-
* @beta
|
6548
|
-
* Props for SitePermissions components.
|
6549
|
-
*/
|
6550
|
-
export declare interface CommonSitePermissionsProps {
|
6551
|
-
/**
|
6552
|
-
* Name of application calling experience is in.
|
6553
|
-
*/
|
6554
|
-
appName: string;
|
6555
|
-
/**
|
6556
|
-
* Kind of the Site Permissions component.
|
6557
|
-
*/
|
6558
|
-
kind: 'request' | 'denied' | 'check';
|
6559
|
-
/**
|
6560
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
6561
|
-
*/
|
6562
|
-
browserHint?: 'safari' | 'unset';
|
6563
|
-
/**
|
6564
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
6565
|
-
* If this is not provided the button will not be shown.
|
6566
|
-
*/
|
6567
|
-
onTroubleshootingClick?: () => void;
|
6568
|
-
/**
|
6569
|
-
* Action that is taken when the user clicks the continue anyway button.
|
6570
|
-
* If this is not provided the button will not be shown.
|
6571
|
-
*/
|
6572
|
-
onContinueAnywayClick?: () => void;
|
6573
|
-
/**
|
6574
|
-
* Styles for SitePermissions component.
|
6575
|
-
*/
|
6576
|
-
styles?: SitePermissionsStyles;
|
6577
|
-
}
|
6578
|
-
|
6579
6046
|
/**
|
6580
6047
|
* A Chat or Calling participant's state, as reflected in the UI.
|
6581
6048
|
*
|
@@ -6773,11 +6240,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
6773
6240
|
export declare interface ComponentLocale {
|
6774
6241
|
/** Strings for components */
|
6775
6242
|
strings: ComponentStrings;
|
6776
|
-
/**
|
6777
|
-
* Optional function to provide customized date format.
|
6778
|
-
* @beta
|
6779
|
-
*/
|
6780
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
6781
6243
|
}
|
6782
6244
|
|
6783
6245
|
/**
|
@@ -6827,10 +6289,6 @@ export declare interface ComponentStrings {
|
|
6827
6289
|
typingIndicator: TypingIndicatorStrings;
|
6828
6290
|
/** Strings for SendBox */
|
6829
6291
|
sendBox: SendBoxStrings;
|
6830
|
-
/** Strings for RichTextSendBox */
|
6831
|
-
richTextSendBox: RichTextSendBoxStrings;
|
6832
|
-
/** Strings for MentionPopover */
|
6833
|
-
mentionPopover: MentionPopoverStrings;
|
6834
6292
|
/** Strings for ImageOverlay */
|
6835
6293
|
imageOverlay: ImageOverlayStrings;
|
6836
6294
|
/** Strings for MessageStatusIndicator */
|
@@ -6847,40 +6305,10 @@ export declare interface ComponentStrings {
|
|
6847
6305
|
videoTile: VideoTileStrings;
|
6848
6306
|
/** Strings for HoldButton */
|
6849
6307
|
holdButton: HoldButtonStrings;
|
6850
|
-
/** Strings for a site's permission request prompt */
|
6851
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6852
|
-
/** Strings for a site's permission request prompt */
|
6853
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
6854
|
-
/** Strings for a site's permission request prompt */
|
6855
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6856
|
-
/** Strings for a site's permission generic checking prompt */
|
6857
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6858
|
-
/** Strings for a site's permission generic checking prompt */
|
6859
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
6860
|
-
/** Strings for a site's permission generic checking prompt */
|
6861
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6862
|
-
/** Strings for a site's permission denied prompt */
|
6863
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6864
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6865
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6866
|
-
/** Strings for a site's permission denied prompt */
|
6867
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
6868
|
-
/** Strings for a site's permission denied prompt */
|
6869
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6870
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6871
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6872
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6873
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6874
|
-
/** Strings for BrowserPemissionDenied */
|
6875
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
6876
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
6877
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
6878
6308
|
/**
|
6879
6309
|
* Strings for the VerticalGallery.
|
6880
6310
|
*/
|
6881
6311
|
verticalGallery: VerticalGalleryStrings;
|
6882
|
-
/** Strings for the participant list component */
|
6883
|
-
ParticipantList: ParticipantListStrings;
|
6884
6312
|
/** Strings for the MeetingConferencePhoneInfoModal */
|
6885
6313
|
meetingConferencePhoneInfo: MeetingConferencePhoneInfoModalStrings;
|
6886
6314
|
IncomingCallNotification: IncomingCallNotificationStrings;
|
@@ -7455,7 +6883,7 @@ export declare const createStatefulChatClient: (args: StatefulChatClientArgs, op
|
|
7455
6883
|
/**
|
7456
6884
|
* @public
|
7457
6885
|
*/
|
7458
|
-
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs
|
6886
|
+
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
7459
6887
|
|
7460
6888
|
/**
|
7461
6889
|
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -7465,7 +6893,7 @@ export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs | Teams
|
|
7465
6893
|
*
|
7466
6894
|
* @public
|
7467
6895
|
*/
|
7468
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator
|
6896
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
7469
6897
|
|
7470
6898
|
/**
|
7471
6899
|
* Object returned after creating a local or remote VideoStream.
|
@@ -7700,11 +7128,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7700
7128
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
7701
7129
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
7702
7130
|
ReactionButtonIcon: React_2.JSX.Element;
|
7703
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
7704
|
-
DownloadAttachment: React_2.JSX.Element;
|
7705
7131
|
OpenAttachment: React_2.JSX.Element;
|
7706
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
7707
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
7708
7132
|
EditBoxCancel: React_2.JSX.Element;
|
7709
7133
|
EditBoxSubmit: React_2.JSX.Element;
|
7710
7134
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -7756,12 +7180,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7756
7180
|
VideoTileMicOff: React_2.JSX.Element;
|
7757
7181
|
VideoTileCameraOff: React_2.JSX.Element;
|
7758
7182
|
DialpadBackspace: React_2.JSX.Element;
|
7759
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
7760
|
-
SitePermissionCamera: React_2.JSX.Element;
|
7761
|
-
SitePermissionMic: React_2.JSX.Element;
|
7762
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
7763
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
7764
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
7765
7183
|
VideoTilePinned: React_2.JSX.Element;
|
7766
7184
|
ParticipantItemPinned: React_2.JSX.Element;
|
7767
7185
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -7791,20 +7209,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7791
7209
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
7792
7210
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
7793
7211
|
VideoTileSpotlighted: React_2.JSX.Element;
|
7794
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
7795
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
7796
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
7797
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
7798
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
7799
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
7800
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
7801
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
7802
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
7803
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
7804
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
7805
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
7806
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
7807
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
7808
7212
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
7809
7213
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
7810
7214
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
@@ -7833,7 +7237,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7833
7237
|
ParticipantItemOptionsHovered: JSX.Element;
|
7834
7238
|
SendBoxSend: JSX.Element;
|
7835
7239
|
SendBoxSendHovered: JSX.Element;
|
7836
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
7837
7240
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
7838
7241
|
ControlButtonCameraOff: JSX.Element;
|
7839
7242
|
ControlButtonCameraOn: JSX.Element;
|
@@ -7924,13 +7327,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7924
7327
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
7925
7328
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
7926
7329
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
7330
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
7927
7331
|
ChatMessageOptions: React_2.JSX.Element;
|
7928
7332
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
7929
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
7930
|
-
DownloadAttachment: React_2.JSX.Element;
|
7931
7333
|
OpenAttachment: React_2.JSX.Element;
|
7932
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
7933
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
7934
7334
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
7935
7335
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
7936
7336
|
ErrorBarMutedByRemoteParticipant: React_2.JSX.Element;
|
@@ -7950,12 +7350,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7950
7350
|
ResumeCall: React_2.JSX.Element;
|
7951
7351
|
VideoTileCameraOff: React_2.JSX.Element;
|
7952
7352
|
DialpadBackspace: React_2.JSX.Element;
|
7953
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
7954
|
-
SitePermissionCamera: React_2.JSX.Element;
|
7955
|
-
SitePermissionMic: React_2.JSX.Element;
|
7956
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
7957
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
7958
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
7959
7353
|
VideoTilePinned: React_2.JSX.Element;
|
7960
7354
|
ParticipantItemPinned: React_2.JSX.Element;
|
7961
7355
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -7985,20 +7379,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7985
7379
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
7986
7380
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
7987
7381
|
VideoTileSpotlighted: React_2.JSX.Element;
|
7988
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
7989
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
7990
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
7991
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
7992
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
7993
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
7994
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
7995
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
7996
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
7997
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
7998
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
7999
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
8000
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
8001
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
8002
7382
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
8003
7383
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
8004
7384
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
@@ -8009,36 +7389,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8009
7389
|
MinimizeIcon: React_2.JSX.Element;
|
8010
7390
|
};
|
8011
7391
|
|
8012
|
-
/**
|
8013
|
-
* @beta
|
8014
|
-
*
|
8015
|
-
* The default menu action for downloading attachments. This action will open the attachment's URL in a new tab.
|
8016
|
-
*/
|
8017
|
-
export declare const defaultAttachmentMenuAction: AttachmentMenuAction;
|
8018
|
-
|
8019
|
-
/**
|
8020
|
-
* Device Checks.
|
8021
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
8022
|
-
*
|
8023
|
-
* @beta
|
8024
|
-
*/
|
8025
|
-
export declare interface DeviceCheckOptions {
|
8026
|
-
/**
|
8027
|
-
* Camera Permission prompts for your call.
|
8028
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8029
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8030
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8031
|
-
*/
|
8032
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
8033
|
-
/**
|
8034
|
-
* Microphone permission prompts for your call.
|
8035
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8036
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8037
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8038
|
-
*/
|
8039
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
8040
|
-
}
|
8041
|
-
|
8042
7392
|
/**
|
8043
7393
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
8044
7394
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -8716,7 +8066,7 @@ export declare const getCallingSelector: <Component extends (props: any) => JSX.
|
|
8716
8066
|
*
|
8717
8067
|
* @public
|
8718
8068
|
*/
|
8719
|
-
export declare type GetChatSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof SendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof
|
8069
|
+
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;
|
8720
8070
|
|
8721
8071
|
/**
|
8722
8072
|
* Get the selector for a specified component.
|
@@ -8902,10 +8252,6 @@ export declare interface _Identifiers {
|
|
8902
8252
|
verticalGalleryVideoTile: string;
|
8903
8253
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
8904
8254
|
verticalGalleryPageCounter: string;
|
8905
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
8906
|
-
mentionSuggestionList: string;
|
8907
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
8908
|
-
mentionSuggestionItem: string;
|
8909
8255
|
}
|
8910
8256
|
|
8911
8257
|
/**
|
@@ -8971,13 +8317,6 @@ export declare interface ImageOverlayStrings {
|
|
8971
8317
|
overlayVisibleMessage: string;
|
8972
8318
|
}
|
8973
8319
|
|
8974
|
-
/**
|
8975
|
-
* Preset dark theme for the ImageOverlay component.
|
8976
|
-
*
|
8977
|
-
* @public
|
8978
|
-
*/
|
8979
|
-
export declare const imageOverlayTheme: PartialTheme;
|
8980
|
-
|
8981
8320
|
/**
|
8982
8321
|
* @public
|
8983
8322
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
@@ -9431,28 +8770,6 @@ export declare type LocalizationProviderProps = {
|
|
9431
8770
|
children: React_2.ReactNode;
|
9432
8771
|
};
|
9433
8772
|
|
9434
|
-
/**
|
9435
|
-
* State only version of {@link @azure/communication-calling#LocalRecordingCallFeature}. {@link StatefulCallClient} will
|
9436
|
-
* automatically listen for local recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
9437
|
-
*
|
9438
|
-
* @beta
|
9439
|
-
*/
|
9440
|
-
export declare interface LocalRecordingCallFeatureState {
|
9441
|
-
/**
|
9442
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.isRecordingActive}.
|
9443
|
-
*/
|
9444
|
-
isLocalRecordingActive: boolean;
|
9445
|
-
/**
|
9446
|
-
* Contains list of information of started recordings
|
9447
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.recordings}.
|
9448
|
-
*/
|
9449
|
-
activeLocalRecordings?: LocalRecordingInfo[];
|
9450
|
-
/**
|
9451
|
-
* Contains list of information of stopped recordings
|
9452
|
-
*/
|
9453
|
-
lastStoppedLocalRecording?: LocalRecordingInfo[];
|
9454
|
-
}
|
9455
|
-
|
9456
8773
|
/**
|
9457
8774
|
* @public
|
9458
8775
|
*/
|
@@ -9627,76 +8944,6 @@ export declare interface MeetingConferencePhoneInfoModalStrings {
|
|
9627
8944
|
meetingConferencePhoneInfoModalNoPhoneAvailable: string;
|
9628
8945
|
}
|
9629
8946
|
|
9630
|
-
/**
|
9631
|
-
* Mention's state, as reflected in the UI.
|
9632
|
-
*
|
9633
|
-
* @beta
|
9634
|
-
*/
|
9635
|
-
export declare interface Mention {
|
9636
|
-
/** ID of a mention */
|
9637
|
-
id: string;
|
9638
|
-
/** Display text of a mention */
|
9639
|
-
displayText: string;
|
9640
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
9641
|
-
icon?: JSX.Element;
|
9642
|
-
}
|
9643
|
-
|
9644
|
-
/**
|
9645
|
-
* Options to display suggestions in the mention scenario.
|
9646
|
-
*
|
9647
|
-
* @beta
|
9648
|
-
*/
|
9649
|
-
export declare interface MentionDisplayOptions {
|
9650
|
-
/**
|
9651
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
9652
|
-
*/
|
9653
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
9654
|
-
}
|
9655
|
-
|
9656
|
-
/**
|
9657
|
-
* Options to lookup suggestions in the mention scenario.
|
9658
|
-
*
|
9659
|
-
* @beta
|
9660
|
-
*/
|
9661
|
-
export declare interface MentionLookupOptions {
|
9662
|
-
/**
|
9663
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
9664
|
-
*
|
9665
|
-
* @defaultValue `@`
|
9666
|
-
*/
|
9667
|
-
trigger?: string;
|
9668
|
-
/**
|
9669
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
9670
|
-
*/
|
9671
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
9672
|
-
/**
|
9673
|
-
* Optional callback to render an item of the mention suggestions list.
|
9674
|
-
*/
|
9675
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
9676
|
-
}
|
9677
|
-
|
9678
|
-
/**
|
9679
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
9680
|
-
*
|
9681
|
-
* @beta
|
9682
|
-
*/
|
9683
|
-
export declare type MentionOptions = {
|
9684
|
-
lookupOptions?: MentionLookupOptions;
|
9685
|
-
displayOptions?: MentionDisplayOptions;
|
9686
|
-
};
|
9687
|
-
|
9688
|
-
/**
|
9689
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
9690
|
-
*
|
9691
|
-
* @beta
|
9692
|
-
*/
|
9693
|
-
export declare interface MentionPopoverStrings {
|
9694
|
-
/**
|
9695
|
-
* Header text for MentionPopover
|
9696
|
-
*/
|
9697
|
-
mentionPopoverHeader: string;
|
9698
|
-
}
|
9699
|
-
|
9700
8947
|
/**
|
9701
8948
|
* Discriminated union of all messages.
|
9702
8949
|
*
|
@@ -9704,7 +8951,7 @@ export declare interface MentionPopoverStrings {
|
|
9704
8951
|
*
|
9705
8952
|
* @public
|
9706
8953
|
*/
|
9707
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
8954
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
9708
8955
|
|
9709
8956
|
/**
|
9710
8957
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -9746,20 +8993,6 @@ export declare type MessageDeletedListener = MessageReceivedListener;
|
|
9746
8993
|
*/
|
9747
8994
|
export declare type MessageEditedListener = MessageReceivedListener;
|
9748
8995
|
|
9749
|
-
/**
|
9750
|
-
* @beta
|
9751
|
-
* Message option that defines properties that can be set when
|
9752
|
-
* sending or updating a chat message.
|
9753
|
-
* @property metadata - Metadata that contains additional information about the message to be passed between 2 users.
|
9754
|
-
* @property attachments - Attachments that contains file attachments attached to the message.
|
9755
|
-
* @property type - Type of the message content, either 'text' or 'html'.
|
9756
|
-
*/
|
9757
|
-
export declare type MessageOptions = {
|
9758
|
-
metadata?: Record<string, string>;
|
9759
|
-
attachments?: AttachmentMetadata[];
|
9760
|
-
type?: ChatMessageType;
|
9761
|
-
};
|
9762
|
-
|
9763
8996
|
/**
|
9764
8997
|
* Props to render a single message.
|
9765
8998
|
*
|
@@ -9775,7 +9008,7 @@ export declare type MessageProps = {
|
|
9775
9008
|
/**
|
9776
9009
|
* Strings from parent MessageThread component
|
9777
9010
|
*/
|
9778
|
-
strings: MessageThreadStrings
|
9011
|
+
strings: MessageThreadStrings;
|
9779
9012
|
/**
|
9780
9013
|
* Custom CSS styles for chat message container.
|
9781
9014
|
*/
|
@@ -9821,7 +9054,7 @@ export declare type MessageProps = {
|
|
9821
9054
|
* @param options - message options to be included in the message
|
9822
9055
|
*
|
9823
9056
|
*/
|
9824
|
-
onSendMessage?: (content: string
|
9057
|
+
onSendMessage?: (content: string) => Promise<void>;
|
9825
9058
|
};
|
9826
9059
|
|
9827
9060
|
/**
|
@@ -9953,7 +9186,7 @@ export declare type MessageThreadProps = {
|
|
9953
9186
|
/**
|
9954
9187
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
9955
9188
|
*/
|
9956
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
9189
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
9957
9190
|
/**
|
9958
9191
|
* number of participants in the thread
|
9959
9192
|
*/
|
@@ -10034,11 +9267,6 @@ export declare type MessageThreadProps = {
|
|
10034
9267
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
10035
9268
|
*/
|
10036
9269
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
10037
|
-
/**
|
10038
|
-
* Optional callback to render attachments in the message component.
|
10039
|
-
* @beta
|
10040
|
-
*/
|
10041
|
-
onRenderAttachmentDownloads?: (message: ChatMessage) => JSX.Element;
|
10042
9270
|
/**
|
10043
9271
|
* Optional callback to edit a message.
|
10044
9272
|
*
|
@@ -10067,7 +9295,7 @@ export declare type MessageThreadProps = {
|
|
10067
9295
|
* @param options - message options to be included in the message
|
10068
9296
|
*
|
10069
9297
|
*/
|
10070
|
-
onSendMessage?: (content: string
|
9298
|
+
onSendMessage?: (content: string) => Promise<void>;
|
10071
9299
|
/**
|
10072
9300
|
/**
|
10073
9301
|
* Disable editing messages.
|
@@ -10081,32 +9309,11 @@ export declare type MessageThreadProps = {
|
|
10081
9309
|
* Optional strings to override in component
|
10082
9310
|
*/
|
10083
9311
|
strings?: Partial<MessageThreadStrings>;
|
10084
|
-
/**
|
10085
|
-
* @beta
|
10086
|
-
* Optional attachment options, which defines behvaiour for uploading and downloading attachments.
|
10087
|
-
* As this moment, the uploadOptions would be ignored and this option is intended for download only.
|
10088
|
-
*/
|
10089
|
-
attachmentOptions?: AttachmentOptions;
|
10090
|
-
/**
|
10091
|
-
* Optional function to provide customized date format.
|
10092
|
-
* @beta
|
10093
|
-
*/
|
10094
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
10095
|
-
/**
|
10096
|
-
* Optional props needed to lookup a mention query and display mentions
|
10097
|
-
* @beta
|
10098
|
-
*/
|
10099
|
-
mentionOptions?: MentionOptions;
|
10100
9312
|
/**
|
10101
9313
|
* Optional callback called when an inline image is clicked.
|
10102
9314
|
* @beta
|
10103
9315
|
*/
|
10104
9316
|
inlineImageOptions?: InlineImageOptions;
|
10105
|
-
/**
|
10106
|
-
* Options to enable rich text editor for the edit box.
|
10107
|
-
* @beta
|
10108
|
-
*/
|
10109
|
-
richTextEditorOptions?: RichTextEditBoxOptions;
|
10110
9317
|
};
|
10111
9318
|
|
10112
9319
|
/**
|
@@ -10184,20 +9391,10 @@ export declare interface MessageThreadStrings {
|
|
10184
9391
|
actionMenuMoreOptions?: string;
|
10185
9392
|
/** Aria label to announce when a message is deleted */
|
10186
9393
|
messageDeletedAnnouncementAriaLabel: string;
|
10187
|
-
/** String for download attachment button in attachment card */
|
10188
|
-
downloadAttachment: string;
|
10189
9394
|
/** String for open attachment button in attachment card */
|
10190
9395
|
openAttachment: string;
|
10191
|
-
/** String for policy violation message removal */
|
10192
|
-
blockedWarningText: string;
|
10193
|
-
/** String for policy violation message removal details link */
|
10194
|
-
blockedWarningLinkText: string;
|
10195
9396
|
/** String for aria text in attachment card group*/
|
10196
9397
|
attachmentCardGroupMessage: string;
|
10197
|
-
/**
|
10198
|
-
* Error message indicating that one or more image uploads are not complete.
|
10199
|
-
*/
|
10200
|
-
imageUploadsPendingError: string;
|
10201
9398
|
}
|
10202
9399
|
|
10203
9400
|
/**
|
@@ -10225,24 +9422,10 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
10225
9422
|
/** Styles for system message container. */
|
10226
9423
|
systemMessageContainer?: ComponentSlotStyle;
|
10227
9424
|
/** Styles for blocked message container. */
|
10228
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
10229
9425
|
/** Styles for message status indicator container. */
|
10230
9426
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
10231
9427
|
}
|
10232
9428
|
|
10233
|
-
/**
|
10234
|
-
*
|
10235
|
-
* Messaging policy of a chat thread.
|
10236
|
-
*
|
10237
|
-
* @beta
|
10238
|
-
*/
|
10239
|
-
export declare interface MessagingPolicy {
|
10240
|
-
/**
|
10241
|
-
* Boolean to track whether or not messages are restricted to only text.
|
10242
|
-
* */
|
10243
|
-
textOnlyChat?: boolean;
|
10244
|
-
}
|
10245
|
-
|
10246
9429
|
/**
|
10247
9430
|
* A button to turn microphone on / off.
|
10248
9431
|
*
|
@@ -10435,31 +9618,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
10435
9618
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
10436
9619
|
}
|
10437
9620
|
|
10438
|
-
/**
|
10439
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
10440
|
-
* by their browsers settings.
|
10441
|
-
*
|
10442
|
-
* @beta
|
10443
|
-
*/
|
10444
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
10445
|
-
|
10446
|
-
/**
|
10447
|
-
* @beta
|
10448
|
-
* Props for MicrophoneSitePermissions component.
|
10449
|
-
*/
|
10450
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
10451
|
-
/** Icon name for the microphone icon */
|
10452
|
-
microphoneIconName?: string;
|
10453
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
10454
|
-
strings?: MicrophoneSitePermissionsStrings;
|
10455
|
-
}
|
10456
|
-
|
10457
|
-
/**
|
10458
|
-
* @beta
|
10459
|
-
* Strings for MicrophoneSitePermissions component.
|
10460
|
-
*/
|
10461
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
10462
|
-
|
10463
9621
|
/**
|
10464
9622
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
10465
9623
|
*
|
@@ -11013,14 +10171,40 @@ export declare interface OptionsDevice {
|
|
11013
10171
|
*
|
11014
10172
|
* @public
|
11015
10173
|
*/
|
11016
|
-
export declare
|
10174
|
+
export declare interface OutboundCallCompositeLoaderProps extends Partial<BaseCompositeProps<CallCompositeIcons>> {
|
10175
|
+
/**
|
10176
|
+
* UserId for the local user.
|
10177
|
+
*/
|
11017
10178
|
userId: CommunicationUserIdentifier;
|
10179
|
+
/**
|
10180
|
+
* CommunicationTokenCredential for the local user.
|
10181
|
+
*/
|
11018
10182
|
credential: CommunicationTokenCredential;
|
10183
|
+
/**
|
10184
|
+
* Display name for the local user.
|
10185
|
+
*/
|
11019
10186
|
displayName: string;
|
10187
|
+
/**
|
10188
|
+
* Participants that will be called.
|
10189
|
+
* This can be a list of either {@link CommunicationUserIdentifier} or string identifiers.
|
10190
|
+
*/
|
11020
10191
|
targetCallees: string[] | StartCallIdentifier[];
|
10192
|
+
/**
|
10193
|
+
* Options for the {@link AzureCommunicationCallAdapter}
|
10194
|
+
* This is used to configure the call adapter.
|
10195
|
+
*/
|
11021
10196
|
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
10197
|
+
/**
|
10198
|
+
* Options for the {@link CallComposite} {@link CallCompositeOptions}
|
10199
|
+
* This is used to configure the call composite.
|
10200
|
+
*/
|
11022
10201
|
callCompositeOptions?: CallCompositeOptions;
|
11023
|
-
|
10202
|
+
/**
|
10203
|
+
* Device form factor for the composite.
|
10204
|
+
* This is used to configure the call composite.
|
10205
|
+
*/
|
10206
|
+
formFactor?: 'mobile' | 'desktop';
|
10207
|
+
}
|
11024
10208
|
|
11025
10209
|
/**
|
11026
10210
|
* Different modes and positions of the overflow gallery in the VideoGallery
|
@@ -11215,10 +10399,6 @@ export declare type ParticipantListProps = {
|
|
11215
10399
|
styles?: ParticipantListStyles;
|
11216
10400
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
11217
10401
|
showParticipantOverflowTooltip?: boolean;
|
11218
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
11219
|
-
totalParticipantCount?: number;
|
11220
|
-
/** Strings for the participant list */
|
11221
|
-
strings?: ParticipantListStrings;
|
11222
10402
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
11223
10403
|
participantAriaLabelledBy?: string;
|
11224
10404
|
/** List of pinned participants */
|
@@ -11233,21 +10413,8 @@ export declare type ParticipantListProps = {
|
|
11233
10413
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
11234
10414
|
participants: CallParticipantListParticipant[];
|
11235
10415
|
myUserId: string;
|
11236
|
-
totalParticipantCount?: number;
|
11237
10416
|
};
|
11238
10417
|
|
11239
|
-
/**
|
11240
|
-
* Strings for the {@link ParticipantList}.
|
11241
|
-
*
|
11242
|
-
* @beta
|
11243
|
-
*/
|
11244
|
-
export declare interface ParticipantListStrings {
|
11245
|
-
/**
|
11246
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
11247
|
-
*/
|
11248
|
-
overflowParticipantCount?: string;
|
11249
|
-
}
|
11250
|
-
|
11251
10418
|
/**
|
11252
10419
|
* Styles for the {@link ParticipantList}.
|
11253
10420
|
*
|
@@ -11939,15 +11106,6 @@ export declare interface RecordingCallFeature {
|
|
11939
11106
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.isRecordingActive}.
|
11940
11107
|
*/
|
11941
11108
|
isRecordingActive: boolean;
|
11942
|
-
/**
|
11943
|
-
* Contains list of information of started recordings
|
11944
|
-
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.recordings}.
|
11945
|
-
*/
|
11946
|
-
activeRecordings?: RecordingInfo[];
|
11947
|
-
/**
|
11948
|
-
* Contains list of information of stopped recordings
|
11949
|
-
*/
|
11950
|
-
lastStoppedRecording?: RecordingInfo[];
|
11951
11109
|
}
|
11952
11110
|
|
11953
11111
|
/**
|
@@ -12090,256 +11248,6 @@ export declare type ResourceFetchResult = {
|
|
12090
11248
|
error?: Error;
|
12091
11249
|
};
|
12092
11250
|
|
12093
|
-
/**
|
12094
|
-
* Options for the rich text editor edit box configuration.
|
12095
|
-
*
|
12096
|
-
* @beta
|
12097
|
-
*/
|
12098
|
-
export declare interface RichTextEditBoxOptions extends RichTextEditorOptions {
|
12099
|
-
/**
|
12100
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12101
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12102
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12103
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12104
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12105
|
-
*/
|
12106
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12107
|
-
/**
|
12108
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12109
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12110
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12111
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12112
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12113
|
-
*/
|
12114
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12115
|
-
/**
|
12116
|
-
* Optional Record of type {@link AttachmentMetadataInProgress}
|
12117
|
-
* to render the errorBar for inline images inserted in the MessageThread's edit boxes when:
|
12118
|
-
* - there is an error provided in the messagesInlineImagesWithProgress
|
12119
|
-
* - progress is less than 1 when the send button is clicked
|
12120
|
-
* - content html string is longer than the max allowed length.
|
12121
|
-
* (Note that the id and the url prop of the messagesInlineImagesWithProgress will be used as the id and src attribute of the content html
|
12122
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12123
|
-
*/
|
12124
|
-
messagesInlineImagesWithProgress?: Record<string, AttachmentMetadataInProgress[]>;
|
12125
|
-
}
|
12126
|
-
|
12127
|
-
/**
|
12128
|
-
* Options for the rich text editor configuration.
|
12129
|
-
*
|
12130
|
-
* @beta
|
12131
|
-
*/
|
12132
|
-
export declare interface RichTextEditorOptions {
|
12133
|
-
/**
|
12134
|
-
* Optional callback to handle paste event.
|
12135
|
-
*/
|
12136
|
-
onPaste?: (event: {
|
12137
|
-
content: DocumentFragment;
|
12138
|
-
}) => void;
|
12139
|
-
}
|
12140
|
-
|
12141
|
-
/**
|
12142
|
-
* A component to render SendBox with Rich Text Editor support.
|
12143
|
-
*
|
12144
|
-
* @beta
|
12145
|
-
*/
|
12146
|
-
export declare const RichTextSendBox: (props: RichTextSendBoxProps) => JSX.Element;
|
12147
|
-
|
12148
|
-
/**
|
12149
|
-
* Props for {@link RichTextSendBox}.
|
12150
|
-
*
|
12151
|
-
* @beta
|
12152
|
-
*/
|
12153
|
-
export declare interface RichTextSendBoxProps {
|
12154
|
-
/**
|
12155
|
-
* Optional boolean to disable text box
|
12156
|
-
* @defaultValue false
|
12157
|
-
*/
|
12158
|
-
disabled?: boolean;
|
12159
|
-
/**
|
12160
|
-
* Optional callback to handle paste event.
|
12161
|
-
*/
|
12162
|
-
onPaste?: (event: {
|
12163
|
-
content: DocumentFragment;
|
12164
|
-
}) => void;
|
12165
|
-
/**
|
12166
|
-
* Optional strings to override in component
|
12167
|
-
*/
|
12168
|
-
strings?: Partial<RichTextSendBoxStrings>;
|
12169
|
-
/**
|
12170
|
-
* Optional text for system message above the text box
|
12171
|
-
*/
|
12172
|
-
systemMessage?: string;
|
12173
|
-
/**
|
12174
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12175
|
-
* to render attachments being uploaded in the SendBox.
|
12176
|
-
* @beta
|
12177
|
-
*/
|
12178
|
-
attachments?: AttachmentMetadataInProgress[];
|
12179
|
-
/**
|
12180
|
-
* enumerable to determine if the input box has focus on render or not.
|
12181
|
-
* When undefined nothing has focus on render
|
12182
|
-
*/
|
12183
|
-
autoFocus?: 'sendBoxTextField';
|
12184
|
-
/**
|
12185
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12186
|
-
* cancel icon.
|
12187
|
-
*/
|
12188
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12189
|
-
/**
|
12190
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12191
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12192
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12193
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12194
|
-
*/
|
12195
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12196
|
-
/**
|
12197
|
-
* Callback function used when the send button is clicked.
|
12198
|
-
*/
|
12199
|
-
onSendMessage: (content: string, options?: MessageOptions) => Promise<void>;
|
12200
|
-
/**
|
12201
|
-
* Optional callback called when user is typing
|
12202
|
-
*/
|
12203
|
-
onTyping?: () => Promise<void>;
|
12204
|
-
/**
|
12205
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12206
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12207
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12208
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12209
|
-
*/
|
12210
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12211
|
-
/**
|
12212
|
-
* Optional Array of type {@link AttachmentMetadataInProgress}
|
12213
|
-
* to render the errorBar for inline images inserted in the RichTextSendBox when:
|
12214
|
-
* - there is an error provided in the inlineImagesWithProgress
|
12215
|
-
* - progress is less than 1 when the send button is clicked
|
12216
|
-
* - content html string is longer than the max allowed length.
|
12217
|
-
* (Note that the id and the url prop of the inlineImagesWithProgress will be used as the id and src attribute of the content html
|
12218
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12219
|
-
*/
|
12220
|
-
inlineImagesWithProgress?: AttachmentMetadataInProgress[];
|
12221
|
-
}
|
12222
|
-
|
12223
|
-
/**
|
12224
|
-
* Strings of {@link RichTextSendBox} that can be overridden.
|
12225
|
-
*
|
12226
|
-
* @beta
|
12227
|
-
*/
|
12228
|
-
export declare interface RichTextSendBoxStrings extends RichTextStrings, SendBoxStrings {
|
12229
|
-
}
|
12230
|
-
|
12231
|
-
/**
|
12232
|
-
* Strings of RichText that can be overridden.
|
12233
|
-
*
|
12234
|
-
* @beta
|
12235
|
-
*/
|
12236
|
-
export declare interface RichTextStrings {
|
12237
|
-
/**
|
12238
|
-
* Tooltip text for the bold button.
|
12239
|
-
*/
|
12240
|
-
richTextBoldTooltip: string;
|
12241
|
-
/**
|
12242
|
-
* Tooltip text for the italic button.
|
12243
|
-
*/
|
12244
|
-
richTextItalicTooltip: string;
|
12245
|
-
/**
|
12246
|
-
* Tooltip text for the underline button.
|
12247
|
-
*/
|
12248
|
-
richTextUnderlineTooltip: string;
|
12249
|
-
/**
|
12250
|
-
* Tooltip text for the bullet list button.
|
12251
|
-
*/
|
12252
|
-
richTextBulletListTooltip: string;
|
12253
|
-
/**
|
12254
|
-
* Tooltip text for the number list button.
|
12255
|
-
*/
|
12256
|
-
richTextNumberListTooltip: string;
|
12257
|
-
/**
|
12258
|
-
* Tooltip text for the increase indent button.
|
12259
|
-
*/
|
12260
|
-
richTextIncreaseIndentTooltip: string;
|
12261
|
-
/**
|
12262
|
-
* Tooltip text for the decrease indent button.
|
12263
|
-
*/
|
12264
|
-
richTextDecreaseIndentTooltip: string;
|
12265
|
-
/**
|
12266
|
-
* Tooltip text insert table button.
|
12267
|
-
*/
|
12268
|
-
richTextInsertTableTooltip: string;
|
12269
|
-
/**
|
12270
|
-
* Tooltip text for the rich text format button button.
|
12271
|
-
*/
|
12272
|
-
richTextFormatButtonTooltip: string;
|
12273
|
-
/**
|
12274
|
-
* Text for the insert menu item.
|
12275
|
-
*/
|
12276
|
-
richTextInsertRowOrColumnMenu: string;
|
12277
|
-
/**
|
12278
|
-
* Title for the insert table menu.
|
12279
|
-
*/
|
12280
|
-
richTextInsertTableMenuTitle: string;
|
12281
|
-
/**
|
12282
|
-
* Text for the insert menu item to insert row above the current selection.
|
12283
|
-
*/
|
12284
|
-
richTextInsertRowAboveMenu: string;
|
12285
|
-
/**
|
12286
|
-
* Text for the insert menu item to insert row below the current selection.
|
12287
|
-
*/
|
12288
|
-
richTextInsertRowBelowMenu: string;
|
12289
|
-
/**
|
12290
|
-
* Text for the insert menu item to insert column to the left from the current selection.
|
12291
|
-
*/
|
12292
|
-
richTextInsertColumnLeftMenu: string;
|
12293
|
-
/**
|
12294
|
-
* Text for the insert menu item to insert column to the right from the current selection.
|
12295
|
-
*/
|
12296
|
-
richTextInsertColumnRightMenu: string;
|
12297
|
-
/**
|
12298
|
-
* Text for the delete row or column menu.
|
12299
|
-
*/
|
12300
|
-
richTextDeleteRowOrColumnMenu: string;
|
12301
|
-
/**
|
12302
|
-
* Text for the delete column menu.
|
12303
|
-
*/
|
12304
|
-
richTextDeleteColumnMenu: string;
|
12305
|
-
/**
|
12306
|
-
* Text for the delete row menu.
|
12307
|
-
*/
|
12308
|
-
richTextDeleteRowMenu: string;
|
12309
|
-
/**
|
12310
|
-
* Text for the delete table menu.
|
12311
|
-
*/
|
12312
|
-
richTextDeleteTableMenu: string;
|
12313
|
-
/**
|
12314
|
-
* Text for the rich text toolbar.
|
12315
|
-
*/
|
12316
|
-
richTextToolbarAriaLabel: string;
|
12317
|
-
/**
|
12318
|
-
* Text for the rich text toolbar more button.
|
12319
|
-
*/
|
12320
|
-
richTextToolbarMoreButtonAriaLabel: string;
|
12321
|
-
/**
|
12322
|
-
* Text for announcement when a new bulleted list item is added.
|
12323
|
-
*/
|
12324
|
-
richTextNewBulletedListItemAnnouncement: string;
|
12325
|
-
/**
|
12326
|
-
* Text for announcement when a new numbered list item is added.
|
12327
|
-
*/
|
12328
|
-
richTextNewNumberedListItemAnnouncement: string;
|
12329
|
-
/**
|
12330
|
-
* Text for announcement when the bulleted list style is applied.
|
12331
|
-
*/
|
12332
|
-
richTextBulletedListAppliedAnnouncement: string;
|
12333
|
-
/**
|
12334
|
-
* Text for announcement when the numbered list style is applied.
|
12335
|
-
*/
|
12336
|
-
richTextNumberedListAppliedAnnouncement: string;
|
12337
|
-
/**
|
12338
|
-
* Error message indicating image upload is not complete.
|
12339
|
-
*/
|
12340
|
-
imageUploadsPendingError: string;
|
12341
|
-
}
|
12342
|
-
|
12343
11251
|
/**
|
12344
11252
|
* A button to start / stop screen sharing.
|
12345
11253
|
*
|
@@ -12411,42 +11319,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
12411
11319
|
*/
|
12412
11320
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
12413
11321
|
|
12414
|
-
/**
|
12415
|
-
* @beta
|
12416
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
12417
|
-
*/
|
12418
|
-
export declare interface SendBoxErrorBarError {
|
12419
|
-
/** Error Message to be displayed */
|
12420
|
-
message: string;
|
12421
|
-
/**
|
12422
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
12423
|
-
*/
|
12424
|
-
timestamp: number;
|
12425
|
-
/**
|
12426
|
-
* ErrorBar type. Defaults to `warning`.
|
12427
|
-
*/
|
12428
|
-
errorBarType?: SendBoxErrorBarType;
|
12429
|
-
}
|
12430
|
-
|
12431
|
-
/**
|
12432
|
-
* @beta
|
12433
|
-
* Error bar type for {@link SendBoxErrorBarError}
|
12434
|
-
*/
|
12435
|
-
export declare enum SendBoxErrorBarType {
|
12436
|
-
/** Info styled MessageBar */
|
12437
|
-
info = 0,
|
12438
|
-
/** Error styled MessageBar */
|
12439
|
-
error = 1,
|
12440
|
-
/** Blocked styled MessageBar */
|
12441
|
-
blocked = 2,
|
12442
|
-
/** SevereWarning styled MessageBar */
|
12443
|
-
severeWarning = 3,
|
12444
|
-
/** Success styled MessageBar */
|
12445
|
-
success = 4,
|
12446
|
-
/** Warning styled MessageBar */
|
12447
|
-
warning = 5
|
12448
|
-
}
|
12449
|
-
|
12450
11322
|
/**
|
12451
11323
|
* Props for {@link SendBox}.
|
12452
11324
|
*
|
@@ -12465,12 +11337,7 @@ export declare interface SendBoxProps {
|
|
12465
11337
|
/**
|
12466
11338
|
* Optional override behavior on send button click
|
12467
11339
|
*/
|
12468
|
-
onSendMessage?: (content: string
|
12469
|
-
/**
|
12470
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
12471
|
-
* @beta
|
12472
|
-
*/
|
12473
|
-
mentionLookupOptions?: MentionLookupOptions;
|
11340
|
+
onSendMessage?: (content: string) => Promise<void>;
|
12474
11341
|
/**
|
12475
11342
|
* Optional callback called when user is typing
|
12476
11343
|
*/
|
@@ -12507,25 +11374,6 @@ export declare interface SendBoxProps {
|
|
12507
11374
|
* When undefined nothing has focus on render
|
12508
11375
|
*/
|
12509
11376
|
autoFocus?: 'sendBoxTextField';
|
12510
|
-
/**
|
12511
|
-
* Optional callback to render uploaded attachments in the SendBox. The sendBox will expand
|
12512
|
-
* vertically to accommodate the uploaded attachments. Attachment uploads will
|
12513
|
-
* be rendered below the text area in sendBox.
|
12514
|
-
* @beta
|
12515
|
-
*/
|
12516
|
-
onRenderAttachmentUploads?: () => JSX.Element;
|
12517
|
-
/**
|
12518
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12519
|
-
* to render attachments being uploaded in the SendBox.
|
12520
|
-
* @beta
|
12521
|
-
*/
|
12522
|
-
attachments?: AttachmentMetadataInProgress[];
|
12523
|
-
/**
|
12524
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12525
|
-
* cancel icon.
|
12526
|
-
* @beta
|
12527
|
-
*/
|
12528
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12529
11377
|
}
|
12530
11378
|
|
12531
11379
|
/**
|
@@ -12556,26 +11404,6 @@ export declare interface SendBoxStrings {
|
|
12556
11404
|
* Aria label for send message button
|
12557
11405
|
*/
|
12558
11406
|
sendButtonAriaLabel: string;
|
12559
|
-
/**
|
12560
|
-
* Error message indicating that all attachment uploads are not complete.
|
12561
|
-
*/
|
12562
|
-
attachmentUploadsPendingError: string;
|
12563
|
-
/**
|
12564
|
-
* Aria label to notify user when focus is on cancel attachment upload button.
|
12565
|
-
*/
|
12566
|
-
removeAttachment: string;
|
12567
|
-
/**
|
12568
|
-
* Aria label to notify user attachment uploading starts.
|
12569
|
-
*/
|
12570
|
-
uploading: string;
|
12571
|
-
/**
|
12572
|
-
* Aria label to notify user attachment is uploaded.
|
12573
|
-
*/
|
12574
|
-
uploadCompleted: string;
|
12575
|
-
/**
|
12576
|
-
* Aria label to notify user more attachment action menu.
|
12577
|
-
*/
|
12578
|
-
attachmentMoreMenu: string;
|
12579
11407
|
}
|
12580
11408
|
|
12581
11409
|
/**
|
@@ -12596,45 +11424,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
12596
11424
|
systemMessage?: IStyle;
|
12597
11425
|
}
|
12598
11426
|
|
12599
|
-
/**
|
12600
|
-
* @beta
|
12601
|
-
* Strings for SitePermissions component
|
12602
|
-
*/
|
12603
|
-
export declare type SitePermissionsStrings = {
|
12604
|
-
/**
|
12605
|
-
* Main text string.
|
12606
|
-
*/
|
12607
|
-
primaryText?: string;
|
12608
|
-
/**
|
12609
|
-
* Subtext string.
|
12610
|
-
*/
|
12611
|
-
secondaryText?: string;
|
12612
|
-
/**
|
12613
|
-
* More help link string.
|
12614
|
-
*/
|
12615
|
-
linkText?: string;
|
12616
|
-
/**
|
12617
|
-
* Primary button text string.
|
12618
|
-
*/
|
12619
|
-
primaryButtonText?: string;
|
12620
|
-
/**
|
12621
|
-
* Aria label describing the content of the container
|
12622
|
-
*/
|
12623
|
-
ariaLabel?: string;
|
12624
|
-
};
|
12625
|
-
|
12626
|
-
/**
|
12627
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
12628
|
-
*
|
12629
|
-
* @beta
|
12630
|
-
*/
|
12631
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
12632
|
-
/** Styles for the primary button. */
|
12633
|
-
primaryButton?: IButtonStyles;
|
12634
|
-
/** Styles for the help troubleshooting link text. */
|
12635
|
-
troubleshootingLink?: ILinkStyles;
|
12636
|
-
}
|
12637
|
-
|
12638
11427
|
/**
|
12639
11428
|
* @public
|
12640
11429
|
* Type for representing a custom sound to use for a calling event
|
@@ -12954,13 +11743,6 @@ export declare interface StartRealTimeTextButtonStrings {
|
|
12954
11743
|
tooltipOffContent: string;
|
12955
11744
|
}
|
12956
11745
|
|
12957
|
-
/**
|
12958
|
-
* Parameter to start a call using a Teams user identity.
|
12959
|
-
*
|
12960
|
-
* @beta
|
12961
|
-
*/
|
12962
|
-
export declare type StartTeamsCallIdentifier = MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier;
|
12963
|
-
|
12964
11746
|
/**
|
12965
11747
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
12966
11748
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -13411,7 +12193,7 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
|
13411
12193
|
* @public
|
13412
12194
|
*/
|
13413
12195
|
export declare type TeamsCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13414
|
-
locator: TeamsMeetingLinkLocator |
|
12196
|
+
locator: TeamsMeetingLinkLocator | TeamsMeetingIdLocator;
|
13415
12197
|
};
|
13416
12198
|
|
13417
12199
|
/**
|
@@ -13484,17 +12266,6 @@ export declare interface TeamsIncomingCallState {
|
|
13484
12266
|
endTime?: Date;
|
13485
12267
|
}
|
13486
12268
|
|
13487
|
-
/**
|
13488
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
13489
|
-
*
|
13490
|
-
* This is used to create an outbound call scenarios.
|
13491
|
-
*
|
13492
|
-
* @beta
|
13493
|
-
*/
|
13494
|
-
export declare type TeamsOutboundCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13495
|
-
targetCallees: StartTeamsCallIdentifier[];
|
13496
|
-
};
|
13497
|
-
|
13498
12269
|
/**
|
13499
12270
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
13500
12271
|
*
|
@@ -13785,21 +12556,7 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
13785
12556
|
* @public
|
13786
12557
|
* Callback function run when a message is updated.
|
13787
12558
|
*/
|
13788
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
13789
|
-
|
13790
|
-
/**
|
13791
|
-
* Result payload for uploading an image.
|
13792
|
-
*
|
13793
|
-
* @beta
|
13794
|
-
*/
|
13795
|
-
export declare type UploadChatImageResult = {
|
13796
|
-
/** Id of the image. */
|
13797
|
-
id: string;
|
13798
|
-
/** The type of attachment. */
|
13799
|
-
attachmentType?: 'image' | 'file' | 'unknown';
|
13800
|
-
/** The name including file extension type of the attachment. */
|
13801
|
-
name?: string;
|
13802
|
-
};
|
12559
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
13803
12560
|
|
13804
12561
|
/**
|
13805
12562
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -13973,7 +12730,7 @@ export declare const useTeamsCall: () => undefined | TeamsCall;
|
|
13973
12730
|
*
|
13974
12731
|
* @public
|
13975
12732
|
*/
|
13976
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs
|
12733
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: (adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>, beforeDispose?: (adapter: TeamsCallAdapter) => Promise<void>) => TeamsCallAdapter | undefined;
|
13977
12734
|
|
13978
12735
|
/**
|
13979
12736
|
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|