@azure/communication-react 1.28.0-beta.1 → 1.28.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 +31 -1373
- package/dist/dist-cjs/communication-react/index.js +40155 -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/safeStringify.d.ts +1 -1
- package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +0 -2
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +1 -2
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +2 -1
- 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 +7 -9
- 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 -25
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.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-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 +7 -39
- 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/RecordingSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +1 -7
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +0 -10
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +18 -4
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -17
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -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 +4 -38
- 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/hooks/useSelector.js +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.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 +1 -2
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +36 -1
- 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 +7 -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 +8 -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/Dialpad/Dialpad.js +0 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.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/ModalClone/ModalClone.js +2 -7
- package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.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/RaiseHandButton.js +21 -7
- package/dist/dist-esm/react-components/src/components/RaiseHandButton.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/VideoEffects/VideoEffectsItem.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.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.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +13 -0
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/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/utils/ChatMessageComponentAsEditBoxUtils.d.ts +1 -38
- 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 -47
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +4 -154
- 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/useLongPress.js +4 -4
- package/dist/dist-esm/react-components/src/components/utils/useLongPress.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 +15 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +6 -38
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +3 -14
- 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/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/LocalAndRemotePIP.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +7 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/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/DtmfDialpadPage.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.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/utils/Utils.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +0 -52
- 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 +3 -18
- 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 -37
- 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/adapter/OnFetchProfileCallback.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/OnFetchProfileCallback.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +2 -14
- 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/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/package.json +4 -4
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DRUaZRvX.js +0 -215
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DRUaZRvX.js.map +0 -1
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-G0IPk_nq.js +0 -49
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-G0IPk_nq.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-DYS7KDhY.js +0 -46027
- package/dist/dist-cjs/communication-react/index-DYS7KDhY.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 -206
- 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 -183
- 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 -328
- 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';
|
@@ -99,7 +95,6 @@ import { StartCaptionsOptions } from '@azure/communication-calling';
|
|
99
95
|
import { TeamsCall } from '@azure/communication-calling';
|
100
96
|
import { TeamsCallAgent } from '@azure/communication-calling';
|
101
97
|
import { TeamsCallInfo } from '@azure/communication-calling';
|
102
|
-
import { TeamsExtensionUserIdentifier } from '@azure/communication-common';
|
103
98
|
import { TeamsIncomingCall } from '@azure/communication-calling';
|
104
99
|
import { TeamsMeetingIdLocator } from '@azure/communication-calling';
|
105
100
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
@@ -278,40 +273,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
278
273
|
*/
|
279
274
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
280
275
|
|
281
|
-
/**
|
282
|
-
* @beta
|
283
|
-
* A callback function that defines what actions user can perform on an attachment.
|
284
|
-
* By default, the UI library would have default actions that opens attachment URL in a new tab.
|
285
|
-
* You can override the default actions or add new actions by providing this callback function.
|
286
|
-
* Moreover, you can also return dynamic actions based on the properties in {@link AttachmentMetadata} and/or {@link ChatMessage}.
|
287
|
-
*
|
288
|
-
* @param attachment - The file attachment that user is trying to perform actions on.
|
289
|
-
* @param message - The chat message that contains this attachment.
|
290
|
-
* @returns A list of {@link AttachmentMenuAction} that defines the type of actions user can perform on the attachment.
|
291
|
-
*/
|
292
|
-
export declare type AttachmentActionHandler = (attachment: AttachmentMetadata, message?: ChatMessage) => AttachmentMenuAction[];
|
293
|
-
|
294
|
-
/**
|
295
|
-
* @beta
|
296
|
-
*
|
297
|
-
* Attachment download options defines the list of actions that can be performed on an attachment.
|
298
|
-
*/
|
299
|
-
export declare interface AttachmentDownloadOptions {
|
300
|
-
actionsForAttachment: AttachmentActionHandler;
|
301
|
-
}
|
302
|
-
|
303
|
-
/**
|
304
|
-
* @beta
|
305
|
-
*
|
306
|
-
* Attachment menu action defines buttons that can be shown on the attachment card.
|
307
|
-
* If there's one action, it will be shown as a button, if there are multiple actions, it will be shown as a dropdown.
|
308
|
-
*/
|
309
|
-
export declare interface AttachmentMenuAction {
|
310
|
-
name: string;
|
311
|
-
icon: JSX.Element;
|
312
|
-
onClick: (attachment: AttachmentMetadata) => Promise<void>;
|
313
|
-
}
|
314
|
-
|
315
276
|
/**
|
316
277
|
* Data model that represents a chat message attachment
|
317
278
|
* where it contains an ID to uniquely identify the attachment,
|
@@ -335,150 +296,6 @@ export declare interface AttachmentMetadata {
|
|
335
296
|
url: string;
|
336
297
|
}
|
337
298
|
|
338
|
-
/**
|
339
|
-
* Data model that represents a chat message attachment being uploaded
|
340
|
-
* where it contains an ID to uniquely identify the attachment,
|
341
|
-
* a name that represents the name of file,
|
342
|
-
* an optional URL to download the attachment,
|
343
|
-
* an optional progress value between 0 and 1 indicating the progress of the upload, and
|
344
|
-
* an optional error object that contains error message would be shown to the user.
|
345
|
-
*
|
346
|
-
*
|
347
|
-
* @beta
|
348
|
-
*/
|
349
|
-
export declare interface AttachmentMetadataInProgress {
|
350
|
-
/**
|
351
|
-
* Unique ID of the attachment.
|
352
|
-
*/
|
353
|
-
id: string;
|
354
|
-
/**
|
355
|
-
* Attachment name to be displayed.
|
356
|
-
*/
|
357
|
-
name: string;
|
358
|
-
/**
|
359
|
-
* Download URL for the attachment.
|
360
|
-
*/
|
361
|
-
url?: string;
|
362
|
-
/**
|
363
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
364
|
-
*/
|
365
|
-
progress?: number;
|
366
|
-
/**
|
367
|
-
* A object contains error message would be shown to the user.
|
368
|
-
*/
|
369
|
-
error?: AttachmentProgressError;
|
370
|
-
}
|
371
|
-
|
372
|
-
/**
|
373
|
-
* @beta
|
374
|
-
*
|
375
|
-
* Attachment Options that defines behaviour for uploading and downloading attachments.
|
376
|
-
*/
|
377
|
-
export declare interface AttachmentOptions {
|
378
|
-
uploadOptions?: AttachmentUploadOptions;
|
379
|
-
downloadOptions?: AttachmentDownloadOptions;
|
380
|
-
}
|
381
|
-
|
382
|
-
/**
|
383
|
-
* @beta
|
384
|
-
* A attachment progress error object that contains message to be shown to
|
385
|
-
* the user when upload fails.
|
386
|
-
*/
|
387
|
-
export declare interface AttachmentProgressError {
|
388
|
-
message: string;
|
389
|
-
}
|
390
|
-
|
391
|
-
/**
|
392
|
-
* @beta
|
393
|
-
* A callback function for handling attachment removed by the user in send box.
|
394
|
-
*
|
395
|
-
* @param attachmentId - The ID of uploaded attachments.
|
396
|
-
*/
|
397
|
-
export declare type AttachmentRemovalHandler = (attachmentId: string) => void;
|
398
|
-
|
399
|
-
/**
|
400
|
-
* @beta
|
401
|
-
* A callback function for handling list of upload tasks that contains files selected by user to upload.
|
402
|
-
*
|
403
|
-
* @param AttachmentUploads - The list of uploaded attachments. Each attachment is represented by an {@link AttachmentUpload} object.
|
404
|
-
*/
|
405
|
-
export declare type AttachmentSelectionHandler = (attachmentUploads: AttachmentUploadTask[]) => void;
|
406
|
-
|
407
|
-
/**
|
408
|
-
* @beta
|
409
|
-
*/
|
410
|
-
export declare interface AttachmentUploadOptions {
|
411
|
-
/**
|
412
|
-
* A list of strings containing the comma separated list of supported media (aka. mime) types.
|
413
|
-
* i.e. ['image/*', 'video/*', 'audio/*']
|
414
|
-
* Default value is `['*']`, meaning all media types are supported.
|
415
|
-
* Similar to the `accept` attribute of the `<input type="attachment" />` element.
|
416
|
-
* @beta
|
417
|
-
*/
|
418
|
-
supportedMediaTypes?: string[];
|
419
|
-
/**
|
420
|
-
* Disable multiple attachments to be selected if set to `true`.
|
421
|
-
* Default value is `false`, meaning multiple attachments can be selected.
|
422
|
-
* Similar to the `multiple` attribute of the `<input type="attachment" />` element.
|
423
|
-
* @beta
|
424
|
-
*/
|
425
|
-
disableMultipleUploads?: boolean;
|
426
|
-
/**
|
427
|
-
* A callback function of type {@link AttachmentSelectionHandler} that will be called
|
428
|
-
* when user finishes selecting files in browser's file picker. This function is required since
|
429
|
-
* this would be where upload logic is implemented to your own storage.
|
430
|
-
* @beta
|
431
|
-
*/
|
432
|
-
handleAttachmentSelection: AttachmentSelectionHandler;
|
433
|
-
/**
|
434
|
-
* A optional callback function that will be called
|
435
|
-
* when user removing files before clicking send message button. This function will be
|
436
|
-
* where you can remove the file from your storage.
|
437
|
-
* @beta
|
438
|
-
*/
|
439
|
-
handleAttachmentRemoval?: AttachmentRemovalHandler;
|
440
|
-
}
|
441
|
-
|
442
|
-
/**
|
443
|
-
* A upload task represents and manages an attachment that is being uploaded.
|
444
|
-
* When using the Composite, an attachment upload task is created for each file user is selected to upload.
|
445
|
-
* A upload task is complete when notifyUploadCompleted is called.
|
446
|
-
* A upload task is failed when notifyUploadFailed is called.
|
447
|
-
* @beta
|
448
|
-
*/
|
449
|
-
export declare interface AttachmentUploadTask {
|
450
|
-
/**
|
451
|
-
* Unique identifier for the attachment upload task.
|
452
|
-
*/
|
453
|
-
taskId: string;
|
454
|
-
/**
|
455
|
-
* HTML {@link File} object for the uploaded attachment.
|
456
|
-
*/
|
457
|
-
file?: File;
|
458
|
-
/**
|
459
|
-
* {@link Blob} object for the uploaded inline image.
|
460
|
-
*/
|
461
|
-
image?: Blob;
|
462
|
-
/**
|
463
|
-
* Update the progress of the upload changed.
|
464
|
-
* A upload is considered complete when the progress reaches 1.
|
465
|
-
* @param value - number between 0 and 1
|
466
|
-
*/
|
467
|
-
notifyUploadProgressChanged: (value: number) => void;
|
468
|
-
/**
|
469
|
-
* Mark the upload task as complete.
|
470
|
-
* An attachment is considered completed uploading when ID and URL are provided.
|
471
|
-
* @param id - the unique identifier of the attachment.
|
472
|
-
* @param url - the download URL of the attachment.
|
473
|
-
*/
|
474
|
-
notifyUploadCompleted: (id: string, url: string) => void;
|
475
|
-
/**
|
476
|
-
* Mark the upload task as failed.
|
477
|
-
* @param message - An error message that can be displayed to the user.
|
478
|
-
*/
|
479
|
-
notifyUploadFailed: (message: string) => void;
|
480
|
-
}
|
481
|
-
|
482
299
|
/**
|
483
300
|
* Custom data attributes for displaying avatar for a user.
|
484
301
|
*
|
@@ -670,26 +487,6 @@ export declare interface BaseCustomStyles {
|
|
670
487
|
root?: IStyle;
|
671
488
|
}
|
672
489
|
|
673
|
-
/**
|
674
|
-
* Content blocked message type.
|
675
|
-
*
|
676
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
677
|
-
*
|
678
|
-
* @beta
|
679
|
-
*/
|
680
|
-
export declare interface BlockedMessage extends MessageCommon {
|
681
|
-
messageType: 'blocked';
|
682
|
-
warningText?: string;
|
683
|
-
linkText?: string;
|
684
|
-
link?: string;
|
685
|
-
deletedOn?: Date;
|
686
|
-
senderId?: string;
|
687
|
-
senderDisplayName?: string;
|
688
|
-
status?: MessageStatus;
|
689
|
-
attached?: MessageAttachedStatus;
|
690
|
-
mine?: boolean;
|
691
|
-
}
|
692
|
-
|
693
490
|
/**
|
694
491
|
* Breakout rooms state
|
695
492
|
*
|
@@ -704,136 +501,6 @@ export declare interface BreakoutRoomsState {
|
|
704
501
|
breakoutRoomDisplayName?: string;
|
705
502
|
}
|
706
503
|
|
707
|
-
/**
|
708
|
-
* @beta
|
709
|
-
* Props for BrowserPermissionDeniedIOS component.
|
710
|
-
*/
|
711
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
712
|
-
/**
|
713
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
714
|
-
*/
|
715
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
716
|
-
/**
|
717
|
-
* Link to image source.
|
718
|
-
*
|
719
|
-
* Image is inserted into the top of the component.
|
720
|
-
*/
|
721
|
-
imageSource?: string;
|
722
|
-
}
|
723
|
-
|
724
|
-
/**
|
725
|
-
* @beta
|
726
|
-
* Strings for BrowserPermissionDeniedIOS component
|
727
|
-
*/
|
728
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
729
|
-
/**
|
730
|
-
* Image alt text
|
731
|
-
*/
|
732
|
-
imageAltText: string;
|
733
|
-
/**
|
734
|
-
* Main text string.
|
735
|
-
*/
|
736
|
-
primaryText: string;
|
737
|
-
/**
|
738
|
-
* Subtext string.
|
739
|
-
*/
|
740
|
-
secondaryText: string;
|
741
|
-
/**
|
742
|
-
* Step 1 string
|
743
|
-
*/
|
744
|
-
step1Text: string;
|
745
|
-
/**
|
746
|
-
* Step 1 digit string
|
747
|
-
*/
|
748
|
-
step1DigitText: string;
|
749
|
-
/**
|
750
|
-
* Step 2 string
|
751
|
-
*/
|
752
|
-
step2Text: string;
|
753
|
-
/**
|
754
|
-
* Step 2 digit string
|
755
|
-
*/
|
756
|
-
step2DigitText: string;
|
757
|
-
/**
|
758
|
-
* Step 3 string
|
759
|
-
*/
|
760
|
-
step3Text: string;
|
761
|
-
/**
|
762
|
-
* Step 3 digit string
|
763
|
-
*/
|
764
|
-
step3DigitText: string;
|
765
|
-
/**
|
766
|
-
* Step 4 string
|
767
|
-
*/
|
768
|
-
step4Text: string;
|
769
|
-
/**
|
770
|
-
* Step 4 digit string
|
771
|
-
*/
|
772
|
-
step4DigitText: string;
|
773
|
-
}
|
774
|
-
|
775
|
-
/**
|
776
|
-
* @beta
|
777
|
-
* Props for BrowserPermissionDenied component.
|
778
|
-
*/
|
779
|
-
export declare interface BrowserPermissionDeniedProps {
|
780
|
-
/**
|
781
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
782
|
-
*/
|
783
|
-
onTroubleshootingClick?: () => void;
|
784
|
-
/**
|
785
|
-
* Action to be taken by the try again primary button.
|
786
|
-
*/
|
787
|
-
onTryAgainClick?: () => void;
|
788
|
-
/**
|
789
|
-
* Localization strings for BrowserPermissionDenied component.
|
790
|
-
*/
|
791
|
-
strings?: BrowserPermissionDeniedStrings;
|
792
|
-
/**
|
793
|
-
* Allows users to pass in an object contains custom CSS styles.
|
794
|
-
* @Example
|
795
|
-
* ```
|
796
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
797
|
-
* ```
|
798
|
-
*/
|
799
|
-
styles?: BrowserPermissionDeniedStyles;
|
800
|
-
}
|
801
|
-
|
802
|
-
/**
|
803
|
-
* @beta
|
804
|
-
* Strings for BrowserPermissionDenied component
|
805
|
-
*/
|
806
|
-
export declare interface BrowserPermissionDeniedStrings {
|
807
|
-
/**
|
808
|
-
* Main button text string.
|
809
|
-
*/
|
810
|
-
primaryButtonText: string;
|
811
|
-
/**
|
812
|
-
* Main text string.
|
813
|
-
*/
|
814
|
-
primaryText: string;
|
815
|
-
/**
|
816
|
-
* Subtext string.
|
817
|
-
*/
|
818
|
-
secondaryText: string;
|
819
|
-
/**
|
820
|
-
* More help link string.
|
821
|
-
*/
|
822
|
-
linkText: string;
|
823
|
-
}
|
824
|
-
|
825
|
-
/**
|
826
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
827
|
-
*
|
828
|
-
* @beta
|
829
|
-
*/
|
830
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
831
|
-
/** Styles for the primary button. */
|
832
|
-
primaryButton?: IButtonStyles;
|
833
|
-
/** Styles for the help troubleshooting link text. */
|
834
|
-
troubleshootingLink?: ILinkStyles;
|
835
|
-
}
|
836
|
-
|
837
504
|
/**
|
838
505
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
839
506
|
*
|
@@ -1433,7 +1100,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
1433
1100
|
*
|
1434
1101
|
* @public
|
1435
1102
|
*/
|
1436
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator |
|
1103
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | TeamsMeetingIdLocator;
|
1437
1104
|
|
1438
1105
|
/**
|
1439
1106
|
* {@link CommonCallAdapter} state.
|
@@ -1699,7 +1366,7 @@ export declare interface CallAgentState {
|
|
1699
1366
|
*/
|
1700
1367
|
export declare interface CallAndChatLocator {
|
1701
1368
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1702
|
-
callLocator: GroupCallLocator
|
1369
|
+
callLocator: GroupCallLocator;
|
1703
1370
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1704
1371
|
chatThreadId: string;
|
1705
1372
|
}
|
@@ -1969,43 +1636,6 @@ export declare type CallCompositeOptions = {
|
|
1969
1636
|
* @defaultValue true
|
1970
1637
|
*/
|
1971
1638
|
callControls?: boolean | CallControlOptions;
|
1972
|
-
/**
|
1973
|
-
* Device permissions check options for your call.
|
1974
|
-
* Here you can choose what device permissions you prompt the user for,
|
1975
|
-
* as well as what device permissions must be accepted before starting a call.
|
1976
|
-
*/
|
1977
|
-
deviceChecks?: DeviceCheckOptions;
|
1978
|
-
/**
|
1979
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1980
|
-
* unable to grant your site the required permissions for the call.
|
1981
|
-
*
|
1982
|
-
* @example
|
1983
|
-
* ```ts
|
1984
|
-
* onPermissionsTroubleshootingClick: () =>
|
1985
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1986
|
-
* ```
|
1987
|
-
*
|
1988
|
-
* @remarks
|
1989
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1990
|
-
*/
|
1991
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1992
|
-
camera: PermissionState;
|
1993
|
-
microphone: PermissionState;
|
1994
|
-
}) => void;
|
1995
|
-
/**
|
1996
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1997
|
-
* having network issues when connecting to the call.
|
1998
|
-
*
|
1999
|
-
* @example
|
2000
|
-
* ```ts
|
2001
|
-
* onNetworkingTroubleShootingClick?: () =>
|
2002
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
2003
|
-
* ```
|
2004
|
-
*
|
2005
|
-
* @remarks
|
2006
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
2007
|
-
*/
|
2008
|
-
onNetworkingTroubleShootingClick?: () => void;
|
2009
1639
|
/**
|
2010
1640
|
* Remote participant video tile menu options
|
2011
1641
|
*/
|
@@ -3260,7 +2890,7 @@ export declare type CallErrors = {
|
|
3260
2890
|
*
|
3261
2891
|
* @public
|
3262
2892
|
*/
|
3263
|
-
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.
|
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';
|
3264
2894
|
|
3265
2895
|
/**
|
3266
2896
|
* Represents the name of the call feature stream
|
@@ -3431,23 +3061,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
3431
3061
|
mediaAccess?: MediaAccess;
|
3432
3062
|
};
|
3433
3063
|
|
3434
|
-
/**
|
3435
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
3436
|
-
*
|
3437
|
-
* @remarks
|
3438
|
-
* This is currently in beta and only supports calling one Teams User.
|
3439
|
-
*
|
3440
|
-
* @example
|
3441
|
-
* ```
|
3442
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
3443
|
-
* ```
|
3444
|
-
*
|
3445
|
-
* @beta
|
3446
|
-
*/
|
3447
|
-
export declare type CallParticipantsLocator = {
|
3448
|
-
participantIds: string[];
|
3449
|
-
};
|
3450
|
-
|
3451
3064
|
/**
|
3452
3065
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
3453
3066
|
*
|
@@ -3552,10 +3165,6 @@ export declare interface CallState {
|
|
3552
3165
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
3553
3166
|
*/
|
3554
3167
|
recording: RecordingCallFeature;
|
3555
|
-
/**
|
3556
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature}.
|
3557
|
-
*/
|
3558
|
-
localRecording: LocalRecordingCallFeatureState;
|
3559
3168
|
/**
|
3560
3169
|
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
|
3561
3170
|
*
|
@@ -3616,10 +3225,6 @@ export declare interface CallState {
|
|
3616
3225
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
3617
3226
|
*/
|
3618
3227
|
role?: ParticipantRole;
|
3619
|
-
/**
|
3620
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
3621
|
-
*/
|
3622
|
-
totalParticipantCount?: number;
|
3623
3228
|
/**
|
3624
3229
|
* Transfer state of call
|
3625
3230
|
*/
|
@@ -3639,7 +3244,7 @@ export declare interface CallState {
|
|
3639
3244
|
/**
|
3640
3245
|
* Proxy of {@link @azure/communication-calling#Call.info}.
|
3641
3246
|
*/
|
3642
|
-
info?: TeamsCallInfo
|
3247
|
+
info?: TeamsCallInfo;
|
3643
3248
|
/**
|
3644
3249
|
* Proxy of {@link @azure/communication-calling#TeamsMeetingAudioConferencingCallFeature}.
|
3645
3250
|
*/
|
@@ -3776,7 +3381,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3776
3381
|
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
3777
3382
|
* @public
|
3778
3383
|
*/
|
3779
|
-
startCall(participants: (MicrosoftTeamsAppIdentifier | PhoneNumberIdentifier | CommunicationUserIdentifier | MicrosoftTeamsUserIdentifier |
|
3384
|
+
startCall(participants: (MicrosoftTeamsAppIdentifier | PhoneNumberIdentifier | CommunicationUserIdentifier | MicrosoftTeamsUserIdentifier | UnknownIdentifier)[], options?: StartCallOptions): Call | undefined;
|
3780
3385
|
/**
|
3781
3386
|
* Start sharing the screen during a call.
|
3782
3387
|
*
|
@@ -3981,19 +3586,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3981
3586
|
*
|
3982
3587
|
* @public
|
3983
3588
|
*/
|
3984
|
-
sendMessage(content: string, options?: SendMessageOptions
|
3985
|
-
/**
|
3986
|
-
* Upload an inline image for a message.
|
3987
|
-
*
|
3988
|
-
* @beta
|
3989
|
-
*/
|
3990
|
-
uploadImage(image: Blob, imageFilename: string): Promise<UploadChatImageResult>;
|
3991
|
-
/**
|
3992
|
-
* Delete an inline image for a message.
|
3993
|
-
*
|
3994
|
-
* @beta
|
3995
|
-
*/
|
3996
|
-
deleteImage(imageId: string): Promise<void>;
|
3589
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
3997
3590
|
/**
|
3998
3591
|
* Send a read receipt for a message.
|
3999
3592
|
*
|
@@ -4011,7 +3604,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
4011
3604
|
*
|
4012
3605
|
* @public
|
4013
3606
|
*/
|
4014
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
3607
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
4015
3608
|
/**
|
4016
3609
|
* Delete a message in the thread.
|
4017
3610
|
*
|
@@ -4458,49 +4051,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
4458
4051
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
4459
4052
|
*/
|
4460
4053
|
callControls?: boolean | CallWithChatControlOptions;
|
4461
|
-
/**
|
4462
|
-
* Properties for configuring the File Sharing feature.
|
4463
|
-
* If undefined, file sharing feature will be disabled.
|
4464
|
-
* @beta
|
4465
|
-
*/
|
4466
|
-
attachmentOptions?: AttachmentOptions;
|
4467
|
-
/**
|
4468
|
-
* Device permissions check options for your call.
|
4469
|
-
* Here you can choose what device permissions you prompt the user for,
|
4470
|
-
* as well as what device permissions must be accepted before starting a call.
|
4471
|
-
*/
|
4472
|
-
deviceChecks?: DeviceCheckOptions;
|
4473
|
-
/**
|
4474
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
4475
|
-
* unable to grant your site the required permissions for the call.
|
4476
|
-
*
|
4477
|
-
* @example
|
4478
|
-
* ```ts
|
4479
|
-
* onPermissionsTroubleshootingClick: () =>
|
4480
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
4481
|
-
* ```
|
4482
|
-
*
|
4483
|
-
* @remarks
|
4484
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
4485
|
-
*/
|
4486
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
4487
|
-
camera: PermissionState;
|
4488
|
-
microphone: PermissionState;
|
4489
|
-
}) => void;
|
4490
|
-
/**
|
4491
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
4492
|
-
* experienced when connecting to a call.
|
4493
|
-
*
|
4494
|
-
* @example
|
4495
|
-
* ```ts
|
4496
|
-
* onNetworkingTroubleShootingClick?: () =>
|
4497
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
4498
|
-
* ```
|
4499
|
-
*
|
4500
|
-
* @remarks
|
4501
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
4502
|
-
*/
|
4503
|
-
onNetworkingTroubleShootingClick?: () => void;
|
4504
4054
|
/**
|
4505
4055
|
* Remote participant video tile menu options
|
4506
4056
|
*/
|
@@ -4607,13 +4157,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
4607
4157
|
*/
|
4608
4158
|
hideSpotlightButtons?: boolean;
|
4609
4159
|
};
|
4610
|
-
/**
|
4611
|
-
* Enables rich text editor for the send and edit boxes
|
4612
|
-
* @defaultValue `false`
|
4613
|
-
*
|
4614
|
-
* @beta
|
4615
|
-
*/
|
4616
|
-
richTextEditor?: boolean;
|
4617
4160
|
/**
|
4618
4161
|
* Options for settings related to joining a call.
|
4619
4162
|
*/
|
@@ -4869,35 +4412,6 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
4869
4412
|
*/
|
4870
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';
|
4871
4414
|
|
4872
|
-
/**
|
4873
|
-
* @beta
|
4874
|
-
*
|
4875
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4876
|
-
* by their browsers settings.
|
4877
|
-
*/
|
4878
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
4879
|
-
|
4880
|
-
/**
|
4881
|
-
* @beta
|
4882
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
4883
|
-
*/
|
4884
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
4885
|
-
/** Icon name for the camera icon */
|
4886
|
-
cameraIconName?: string;
|
4887
|
-
/** Icon name for the microphone icon */
|
4888
|
-
microphoneIconName?: string;
|
4889
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
4890
|
-
connectorIconName?: string;
|
4891
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
4892
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
4893
|
-
}
|
4894
|
-
|
4895
|
-
/**
|
4896
|
-
* @beta
|
4897
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
4898
|
-
*/
|
4899
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
4900
|
-
|
4901
4415
|
/**
|
4902
4416
|
* A button to turn camera on / off.
|
4903
4417
|
*
|
@@ -5058,31 +4572,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
5058
4572
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
5059
4573
|
}
|
5060
4574
|
|
5061
|
-
/**
|
5062
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
5063
|
-
* by their browsers settings.
|
5064
|
-
*
|
5065
|
-
* @beta
|
5066
|
-
*/
|
5067
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
5068
|
-
|
5069
|
-
/**
|
5070
|
-
* @beta
|
5071
|
-
* Props for CameraSitePermissions component.
|
5072
|
-
*/
|
5073
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
5074
|
-
/** Icon name for the camera icon */
|
5075
|
-
cameraIconName?: string;
|
5076
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
5077
|
-
strings?: CameraSitePermissionsStrings;
|
5078
|
-
}
|
5079
|
-
|
5080
|
-
/**
|
5081
|
-
* @beta
|
5082
|
-
* Strings for CameraSitePermissions component.
|
5083
|
-
*/
|
5084
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
5085
|
-
|
5086
4575
|
/**
|
5087
4576
|
* @public
|
5088
4577
|
* Callback function run when a message edit is cancelled.
|
@@ -5460,6 +4949,10 @@ export declare type CaptionsInformation = {
|
|
5460
4949
|
* If you are using both captions and real time text, please ensure that the createdTimeStamp is populated
|
5461
4950
|
*/
|
5462
4951
|
createdTimeStamp?: Date;
|
4952
|
+
/**
|
4953
|
+
* If caption is finalized
|
4954
|
+
*/
|
4955
|
+
isFinalized?: boolean;
|
5463
4956
|
};
|
5464
4957
|
|
5465
4958
|
/**
|
@@ -5714,19 +5207,11 @@ export declare interface ChatAdapterThreadManagement {
|
|
5714
5207
|
* Send a message in the thread.
|
5715
5208
|
* Please note that SendMessageOptions is being deprecated, please use MessageOptions instead.
|
5716
5209
|
*/
|
5717
|
-
sendMessage(content: string, options?: SendMessageOptions
|
5210
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
5718
5211
|
/**
|
5719
|
-
*
|
5212
|
+
* Send a read receipt for a message.
|
5720
5213
|
*/
|
5721
|
-
|
5722
|
-
/**
|
5723
|
-
* Delete an inline image for a message.
|
5724
|
-
*/
|
5725
|
-
deleteImage(imageId: string): Promise<void>;
|
5726
|
-
/**
|
5727
|
-
* Send a read receipt for a message.
|
5728
|
-
*/
|
5729
|
-
sendReadReceipt(chatMessageId: string): Promise<void>;
|
5214
|
+
sendReadReceipt(chatMessageId: string): Promise<void>;
|
5730
5215
|
/**
|
5731
5216
|
* Send typing indicator in the thread.
|
5732
5217
|
*/
|
@@ -5743,7 +5228,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
5743
5228
|
* Update a message content.
|
5744
5229
|
* Please note that metadata is being deprecated, please use MessageOptions.metadata instead.
|
5745
5230
|
*/
|
5746
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
5231
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
5747
5232
|
/**
|
5748
5233
|
* Delete a message in the thread.
|
5749
5234
|
*/
|
@@ -5881,7 +5366,6 @@ export declare type ChatCompositeIcons = {
|
|
5881
5366
|
ParticipantItemOptionsHovered?: JSX.Element;
|
5882
5367
|
SendBoxSend?: JSX.Element;
|
5883
5368
|
SendBoxSendHovered?: JSX.Element;
|
5884
|
-
SendBoxAttachFile?: JSX.Element;
|
5885
5369
|
};
|
5886
5370
|
|
5887
5371
|
/**
|
@@ -5929,13 +5413,6 @@ export declare type ChatCompositeOptions = {
|
|
5929
5413
|
* @defaultValue true
|
5930
5414
|
*/
|
5931
5415
|
errorBar?: boolean;
|
5932
|
-
/**
|
5933
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
5934
|
-
* @defaultValue false
|
5935
|
-
*
|
5936
|
-
* @beta
|
5937
|
-
*/
|
5938
|
-
participantPane?: boolean;
|
5939
5416
|
/**
|
5940
5417
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
5941
5418
|
* @defaultValue true
|
@@ -5946,19 +5423,6 @@ export declare type ChatCompositeOptions = {
|
|
5946
5423
|
* When undefined nothing has focus on render
|
5947
5424
|
*/
|
5948
5425
|
autoFocus?: 'sendBoxTextField';
|
5949
|
-
/**
|
5950
|
-
* Properties for configuring the File Sharing feature.
|
5951
|
-
* If undefined, file sharing feature will be disabled.
|
5952
|
-
* @beta
|
5953
|
-
*/
|
5954
|
-
attachmentOptions?: AttachmentOptions;
|
5955
|
-
/**
|
5956
|
-
* Enables rich text editor for the send and edit boxes
|
5957
|
-
* @defaultValue `false`
|
5958
|
-
*
|
5959
|
-
* @beta
|
5960
|
-
*/
|
5961
|
-
richTextEditor?: boolean;
|
5962
5426
|
};
|
5963
5427
|
|
5964
5428
|
/**
|
@@ -5986,12 +5450,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
5986
5450
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
5987
5451
|
*/
|
5988
5452
|
options?: ChatCompositeOptions;
|
5989
|
-
/**
|
5990
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
5991
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
5992
|
-
* @defaultValue 'desktop'
|
5993
|
-
*/
|
5994
|
-
formFactor?: 'desktop' | 'mobile';
|
5995
5453
|
}
|
5996
5454
|
|
5997
5455
|
/**
|
@@ -6006,26 +5464,6 @@ export declare interface ChatCompositeStrings {
|
|
6006
5464
|
* Chat list header text
|
6007
5465
|
*/
|
6008
5466
|
chatListHeader: string;
|
6009
|
-
/**
|
6010
|
-
* Upload Attachment Button text
|
6011
|
-
*/
|
6012
|
-
uploadAttachment: string;
|
6013
|
-
/**
|
6014
|
-
* Error Message for image data is not provided for image upload
|
6015
|
-
*/
|
6016
|
-
uploadImageDataNotProvided: string;
|
6017
|
-
/**
|
6018
|
-
* Error Message for upload image is too large
|
6019
|
-
*/
|
6020
|
-
uploadImageIsTooLarge: string;
|
6021
|
-
/**
|
6022
|
-
* Error Message for unsupported image extension for image upload
|
6023
|
-
*/
|
6024
|
-
uploadImageExtensionIsNotAllowed: string;
|
6025
|
-
/**
|
6026
|
-
* Error Message for unable to upload image
|
6027
|
-
*/
|
6028
|
-
uploadImageFailed: string;
|
6029
5467
|
}
|
6030
5468
|
|
6031
5469
|
/**
|
@@ -6074,7 +5512,7 @@ export declare type ChatErrors = {
|
|
6074
5512
|
*
|
6075
5513
|
* @public
|
6076
5514
|
*/
|
6077
|
-
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.
|
5515
|
+
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';
|
6078
5516
|
|
6079
5517
|
/**
|
6080
5518
|
* Object containing all the handlers required for chat components.
|
@@ -6085,15 +5523,13 @@ export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClien
|
|
6085
5523
|
* @public
|
6086
5524
|
*/
|
6087
5525
|
export declare type ChatHandlers = {
|
6088
|
-
onSendMessage: (content: string, options?: SendMessageOptions
|
6089
|
-
onUploadImage: (image: Blob, imageFilename: string) => Promise<UploadChatImageResult>;
|
6090
|
-
onDeleteImage: (imageId: string) => Promise<void>;
|
5526
|
+
onSendMessage: (content: string, options?: SendMessageOptions) => Promise<void>;
|
6091
5527
|
onMessageSeen: (chatMessageId: string) => Promise<void>;
|
6092
5528
|
onTyping: () => Promise<void>;
|
6093
5529
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
6094
5530
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
6095
5531
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
6096
|
-
onUpdateMessage: (messageId: string, content: string
|
5532
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
6097
5533
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
6098
5534
|
};
|
6099
5535
|
|
@@ -6136,12 +5572,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
6136
5572
|
attachments?: AttachmentMetadata[];
|
6137
5573
|
}
|
6138
5574
|
|
6139
|
-
/**
|
6140
|
-
* @beta
|
6141
|
-
* Type of the message content, either 'text' or 'html'.
|
6142
|
-
*/
|
6143
|
-
export declare type ChatMessageType = 'text' | 'html';
|
6144
|
-
|
6145
5575
|
/**
|
6146
5576
|
* An extension to {@link @azure/communication-chat#ChatMessage} that stores
|
6147
5577
|
* client-side only metadata for chat messages.
|
@@ -6260,8 +5690,6 @@ export declare type ChatThreadClientState = {
|
|
6260
5690
|
*/
|
6261
5691
|
export declare type ChatThreadProperties = {
|
6262
5692
|
topic?: string;
|
6263
|
-
createdBy?: CommunicationIdentifierKind;
|
6264
|
-
messagingPolicy?: MessagingPolicy;
|
6265
5693
|
};
|
6266
5694
|
|
6267
5695
|
/**
|
@@ -6533,7 +5961,6 @@ export declare interface CommonCallingHandlers {
|
|
6533
5961
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
6534
5962
|
onRemoveParticipant(userId: string): Promise<void>;
|
6535
5963
|
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
6536
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
6537
5964
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
6538
5965
|
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
6539
5966
|
onRejectCall: (incomingCallId: string) => Promise<void>;
|
@@ -6620,39 +6047,6 @@ export declare type CommonProperties<A, B> = {
|
|
6620
6047
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
6621
6048
|
}[keyof A & keyof B];
|
6622
6049
|
|
6623
|
-
/**
|
6624
|
-
* @beta
|
6625
|
-
* Props for SitePermissions components.
|
6626
|
-
*/
|
6627
|
-
export declare interface CommonSitePermissionsProps {
|
6628
|
-
/**
|
6629
|
-
* Name of application calling experience is in.
|
6630
|
-
*/
|
6631
|
-
appName: string;
|
6632
|
-
/**
|
6633
|
-
* Kind of the Site Permissions component.
|
6634
|
-
*/
|
6635
|
-
kind: 'request' | 'denied' | 'check';
|
6636
|
-
/**
|
6637
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
6638
|
-
*/
|
6639
|
-
browserHint?: 'safari' | 'unset';
|
6640
|
-
/**
|
6641
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
6642
|
-
* If this is not provided the button will not be shown.
|
6643
|
-
*/
|
6644
|
-
onTroubleshootingClick?: () => void;
|
6645
|
-
/**
|
6646
|
-
* Action that is taken when the user clicks the continue anyway button.
|
6647
|
-
* If this is not provided the button will not be shown.
|
6648
|
-
*/
|
6649
|
-
onContinueAnywayClick?: () => void;
|
6650
|
-
/**
|
6651
|
-
* Styles for SitePermissions component.
|
6652
|
-
*/
|
6653
|
-
styles?: SitePermissionsStyles;
|
6654
|
-
}
|
6655
|
-
|
6656
6050
|
/**
|
6657
6051
|
* A Chat or Calling participant's state, as reflected in the UI.
|
6658
6052
|
*
|
@@ -6850,11 +6244,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
6850
6244
|
export declare interface ComponentLocale {
|
6851
6245
|
/** Strings for components */
|
6852
6246
|
strings: ComponentStrings;
|
6853
|
-
/**
|
6854
|
-
* Optional function to provide customized date format.
|
6855
|
-
* @beta
|
6856
|
-
*/
|
6857
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
6858
6247
|
}
|
6859
6248
|
|
6860
6249
|
/**
|
@@ -6904,10 +6293,6 @@ export declare interface ComponentStrings {
|
|
6904
6293
|
typingIndicator: TypingIndicatorStrings;
|
6905
6294
|
/** Strings for SendBox */
|
6906
6295
|
sendBox: SendBoxStrings;
|
6907
|
-
/** Strings for RichTextSendBox */
|
6908
|
-
richTextSendBox: RichTextSendBoxStrings;
|
6909
|
-
/** Strings for MentionPopover */
|
6910
|
-
mentionPopover: MentionPopoverStrings;
|
6911
6296
|
/** Strings for ImageOverlay */
|
6912
6297
|
imageOverlay: ImageOverlayStrings;
|
6913
6298
|
/** Strings for MessageStatusIndicator */
|
@@ -6924,40 +6309,10 @@ export declare interface ComponentStrings {
|
|
6924
6309
|
videoTile: VideoTileStrings;
|
6925
6310
|
/** Strings for HoldButton */
|
6926
6311
|
holdButton: HoldButtonStrings;
|
6927
|
-
/** Strings for a site's permission request prompt */
|
6928
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6929
|
-
/** Strings for a site's permission request prompt */
|
6930
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
6931
|
-
/** Strings for a site's permission request prompt */
|
6932
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6933
|
-
/** Strings for a site's permission generic checking prompt */
|
6934
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6935
|
-
/** Strings for a site's permission generic checking prompt */
|
6936
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
6937
|
-
/** Strings for a site's permission generic checking prompt */
|
6938
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6939
|
-
/** Strings for a site's permission denied prompt */
|
6940
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6941
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6942
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6943
|
-
/** Strings for a site's permission denied prompt */
|
6944
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
6945
|
-
/** Strings for a site's permission denied prompt */
|
6946
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6947
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6948
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6949
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6950
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6951
|
-
/** Strings for BrowserPemissionDenied */
|
6952
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
6953
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
6954
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
6955
6312
|
/**
|
6956
6313
|
* Strings for the VerticalGallery.
|
6957
6314
|
*/
|
6958
6315
|
verticalGallery: VerticalGalleryStrings;
|
6959
|
-
/** Strings for the participant list component */
|
6960
|
-
ParticipantList: ParticipantListStrings;
|
6961
6316
|
/** Strings for the MeetingConferencePhoneInfoModal */
|
6962
6317
|
meetingConferencePhoneInfo: MeetingConferencePhoneInfoModalStrings;
|
6963
6318
|
IncomingCallNotification: IncomingCallNotificationStrings;
|
@@ -7532,7 +6887,7 @@ export declare const createStatefulChatClient: (args: StatefulChatClientArgs, op
|
|
7532
6887
|
/**
|
7533
6888
|
* @public
|
7534
6889
|
*/
|
7535
|
-
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs
|
6890
|
+
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
7536
6891
|
|
7537
6892
|
/**
|
7538
6893
|
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -7542,7 +6897,7 @@ export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs | Teams
|
|
7542
6897
|
*
|
7543
6898
|
* @public
|
7544
6899
|
*/
|
7545
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator
|
6900
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
7546
6901
|
|
7547
6902
|
/**
|
7548
6903
|
* Object returned after creating a local or remote VideoStream.
|
@@ -7783,11 +7138,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7783
7138
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
7784
7139
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
7785
7140
|
ReactionButtonIcon: React_2.JSX.Element;
|
7786
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
7787
|
-
DownloadAttachment: React_2.JSX.Element;
|
7788
7141
|
OpenAttachment: React_2.JSX.Element;
|
7789
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
7790
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
7791
7142
|
EditBoxCancel: React_2.JSX.Element;
|
7792
7143
|
EditBoxSubmit: React_2.JSX.Element;
|
7793
7144
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -7839,12 +7190,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7839
7190
|
VideoTileMicOff: React_2.JSX.Element;
|
7840
7191
|
VideoTileCameraOff: React_2.JSX.Element;
|
7841
7192
|
DialpadBackspace: React_2.JSX.Element;
|
7842
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
7843
|
-
SitePermissionCamera: React_2.JSX.Element;
|
7844
|
-
SitePermissionMic: React_2.JSX.Element;
|
7845
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
7846
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
7847
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
7848
7193
|
VideoTilePinned: React_2.JSX.Element;
|
7849
7194
|
ParticipantItemPinned: React_2.JSX.Element;
|
7850
7195
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -7874,20 +7219,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7874
7219
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
7875
7220
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
7876
7221
|
VideoTileSpotlighted: React_2.JSX.Element;
|
7877
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
7878
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
7879
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
7880
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
7881
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
7882
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
7883
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
7884
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
7885
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
7886
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
7887
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
7888
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
7889
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
7890
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
7891
7222
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
7892
7223
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
7893
7224
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
@@ -7916,7 +7247,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7916
7247
|
ParticipantItemOptionsHovered: JSX.Element;
|
7917
7248
|
SendBoxSend: JSX.Element;
|
7918
7249
|
SendBoxSendHovered: JSX.Element;
|
7919
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
7920
7250
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
7921
7251
|
ControlButtonCameraOff: JSX.Element;
|
7922
7252
|
ControlButtonCameraOn: JSX.Element;
|
@@ -8007,13 +7337,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8007
7337
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
8008
7338
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
8009
7339
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
7340
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
8010
7341
|
ChatMessageOptions: React_2.JSX.Element;
|
8011
7342
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
8012
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
8013
|
-
DownloadAttachment: React_2.JSX.Element;
|
8014
7343
|
OpenAttachment: React_2.JSX.Element;
|
8015
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
8016
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
8017
7344
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
8018
7345
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
8019
7346
|
ErrorBarMutedByRemoteParticipant: React_2.JSX.Element;
|
@@ -8033,12 +7360,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8033
7360
|
ResumeCall: React_2.JSX.Element;
|
8034
7361
|
VideoTileCameraOff: React_2.JSX.Element;
|
8035
7362
|
DialpadBackspace: React_2.JSX.Element;
|
8036
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
8037
|
-
SitePermissionCamera: React_2.JSX.Element;
|
8038
|
-
SitePermissionMic: React_2.JSX.Element;
|
8039
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
8040
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
8041
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
8042
7363
|
VideoTilePinned: React_2.JSX.Element;
|
8043
7364
|
ParticipantItemPinned: React_2.JSX.Element;
|
8044
7365
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -8068,20 +7389,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8068
7389
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
8069
7390
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
8070
7391
|
VideoTileSpotlighted: React_2.JSX.Element;
|
8071
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
8072
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
8073
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
8074
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
8075
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
8076
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
8077
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
8078
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
8079
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
8080
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
8081
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
8082
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
8083
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
8084
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
8085
7392
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
8086
7393
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
8087
7394
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
@@ -8092,36 +7399,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8092
7399
|
MinimizeIcon: React_2.JSX.Element;
|
8093
7400
|
};
|
8094
7401
|
|
8095
|
-
/**
|
8096
|
-
* @beta
|
8097
|
-
*
|
8098
|
-
* The default menu action for downloading attachments. This action will open the attachment's URL in a new tab.
|
8099
|
-
*/
|
8100
|
-
export declare const defaultAttachmentMenuAction: AttachmentMenuAction;
|
8101
|
-
|
8102
|
-
/**
|
8103
|
-
* Device Checks.
|
8104
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
8105
|
-
*
|
8106
|
-
* @beta
|
8107
|
-
*/
|
8108
|
-
export declare interface DeviceCheckOptions {
|
8109
|
-
/**
|
8110
|
-
* Camera Permission prompts for your call.
|
8111
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8112
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8113
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8114
|
-
*/
|
8115
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
8116
|
-
/**
|
8117
|
-
* Microphone permission prompts for your call.
|
8118
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8119
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8120
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8121
|
-
*/
|
8122
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
8123
|
-
}
|
8124
|
-
|
8125
7402
|
/**
|
8126
7403
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
8127
7404
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -8799,7 +8076,7 @@ export declare const getCallingSelector: <Component extends (props: any) => JSX.
|
|
8799
8076
|
*
|
8800
8077
|
* @public
|
8801
8078
|
*/
|
8802
|
-
export declare type GetChatSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof SendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof
|
8079
|
+
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;
|
8803
8080
|
|
8804
8081
|
/**
|
8805
8082
|
* Get the selector for a specified component.
|
@@ -8985,10 +8262,6 @@ export declare interface _Identifiers {
|
|
8985
8262
|
verticalGalleryVideoTile: string;
|
8986
8263
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
8987
8264
|
verticalGalleryPageCounter: string;
|
8988
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
8989
|
-
mentionSuggestionList: string;
|
8990
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
8991
|
-
mentionSuggestionItem: string;
|
8992
8265
|
}
|
8993
8266
|
|
8994
8267
|
/**
|
@@ -9054,13 +8327,6 @@ export declare interface ImageOverlayStrings {
|
|
9054
8327
|
overlayVisibleMessage: string;
|
9055
8328
|
}
|
9056
8329
|
|
9057
|
-
/**
|
9058
|
-
* Preset dark theme for the ImageOverlay component.
|
9059
|
-
*
|
9060
|
-
* @public
|
9061
|
-
*/
|
9062
|
-
export declare const imageOverlayTheme: PartialTheme;
|
9063
|
-
|
9064
8330
|
/**
|
9065
8331
|
* @public
|
9066
8332
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
@@ -9514,28 +8780,6 @@ export declare type LocalizationProviderProps = {
|
|
9514
8780
|
children: React_2.ReactNode;
|
9515
8781
|
};
|
9516
8782
|
|
9517
|
-
/**
|
9518
|
-
* State only version of {@link @azure/communication-calling#LocalRecordingCallFeature}. {@link StatefulCallClient} will
|
9519
|
-
* automatically listen for local recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
9520
|
-
*
|
9521
|
-
* @beta
|
9522
|
-
*/
|
9523
|
-
export declare interface LocalRecordingCallFeatureState {
|
9524
|
-
/**
|
9525
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.isRecordingActive}.
|
9526
|
-
*/
|
9527
|
-
isLocalRecordingActive: boolean;
|
9528
|
-
/**
|
9529
|
-
* Contains list of information of started recordings
|
9530
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.recordings}.
|
9531
|
-
*/
|
9532
|
-
activeLocalRecordings?: LocalRecordingInfo[];
|
9533
|
-
/**
|
9534
|
-
* Contains list of information of stopped recordings
|
9535
|
-
*/
|
9536
|
-
lastStoppedLocalRecording?: LocalRecordingInfo[];
|
9537
|
-
}
|
9538
|
-
|
9539
8783
|
/**
|
9540
8784
|
* @public
|
9541
8785
|
*/
|
@@ -9710,76 +8954,6 @@ export declare interface MeetingConferencePhoneInfoModalStrings {
|
|
9710
8954
|
meetingConferencePhoneInfoModalNoPhoneAvailable: string;
|
9711
8955
|
}
|
9712
8956
|
|
9713
|
-
/**
|
9714
|
-
* Mention's state, as reflected in the UI.
|
9715
|
-
*
|
9716
|
-
* @beta
|
9717
|
-
*/
|
9718
|
-
export declare interface Mention {
|
9719
|
-
/** ID of a mention */
|
9720
|
-
id: string;
|
9721
|
-
/** Display text of a mention */
|
9722
|
-
displayText: string;
|
9723
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
9724
|
-
icon?: JSX.Element;
|
9725
|
-
}
|
9726
|
-
|
9727
|
-
/**
|
9728
|
-
* Options to display suggestions in the mention scenario.
|
9729
|
-
*
|
9730
|
-
* @beta
|
9731
|
-
*/
|
9732
|
-
export declare interface MentionDisplayOptions {
|
9733
|
-
/**
|
9734
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
9735
|
-
*/
|
9736
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
9737
|
-
}
|
9738
|
-
|
9739
|
-
/**
|
9740
|
-
* Options to lookup suggestions in the mention scenario.
|
9741
|
-
*
|
9742
|
-
* @beta
|
9743
|
-
*/
|
9744
|
-
export declare interface MentionLookupOptions {
|
9745
|
-
/**
|
9746
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
9747
|
-
*
|
9748
|
-
* @defaultValue `@`
|
9749
|
-
*/
|
9750
|
-
trigger?: string;
|
9751
|
-
/**
|
9752
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
9753
|
-
*/
|
9754
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
9755
|
-
/**
|
9756
|
-
* Optional callback to render an item of the mention suggestions list.
|
9757
|
-
*/
|
9758
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
9759
|
-
}
|
9760
|
-
|
9761
|
-
/**
|
9762
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
9763
|
-
*
|
9764
|
-
* @beta
|
9765
|
-
*/
|
9766
|
-
export declare type MentionOptions = {
|
9767
|
-
lookupOptions?: MentionLookupOptions;
|
9768
|
-
displayOptions?: MentionDisplayOptions;
|
9769
|
-
};
|
9770
|
-
|
9771
|
-
/**
|
9772
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
9773
|
-
*
|
9774
|
-
* @beta
|
9775
|
-
*/
|
9776
|
-
export declare interface MentionPopoverStrings {
|
9777
|
-
/**
|
9778
|
-
* Header text for MentionPopover
|
9779
|
-
*/
|
9780
|
-
mentionPopoverHeader: string;
|
9781
|
-
}
|
9782
|
-
|
9783
8957
|
/**
|
9784
8958
|
* Discriminated union of all messages.
|
9785
8959
|
*
|
@@ -9787,7 +8961,7 @@ export declare interface MentionPopoverStrings {
|
|
9787
8961
|
*
|
9788
8962
|
* @public
|
9789
8963
|
*/
|
9790
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
8964
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
9791
8965
|
|
9792
8966
|
/**
|
9793
8967
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -9829,20 +9003,6 @@ export declare type MessageDeletedListener = MessageReceivedListener;
|
|
9829
9003
|
*/
|
9830
9004
|
export declare type MessageEditedListener = MessageReceivedListener;
|
9831
9005
|
|
9832
|
-
/**
|
9833
|
-
* @beta
|
9834
|
-
* Message option that defines properties that can be set when
|
9835
|
-
* sending or updating a chat message.
|
9836
|
-
* @property metadata - Metadata that contains additional information about the message to be passed between 2 users.
|
9837
|
-
* @property attachments - Attachments that contains file attachments attached to the message.
|
9838
|
-
* @property type - Type of the message content, either 'text' or 'html'.
|
9839
|
-
*/
|
9840
|
-
export declare type MessageOptions = {
|
9841
|
-
metadata?: Record<string, string>;
|
9842
|
-
attachments?: AttachmentMetadata[];
|
9843
|
-
type?: ChatMessageType;
|
9844
|
-
};
|
9845
|
-
|
9846
9006
|
/**
|
9847
9007
|
* Props to render a single message.
|
9848
9008
|
*
|
@@ -9858,7 +9018,7 @@ export declare type MessageProps = {
|
|
9858
9018
|
/**
|
9859
9019
|
* Strings from parent MessageThread component
|
9860
9020
|
*/
|
9861
|
-
strings: MessageThreadStrings
|
9021
|
+
strings: MessageThreadStrings;
|
9862
9022
|
/**
|
9863
9023
|
* Custom CSS styles for chat message container.
|
9864
9024
|
*/
|
@@ -9904,7 +9064,7 @@ export declare type MessageProps = {
|
|
9904
9064
|
* @param options - message options to be included in the message
|
9905
9065
|
*
|
9906
9066
|
*/
|
9907
|
-
onSendMessage?: (content: string
|
9067
|
+
onSendMessage?: (content: string) => Promise<void>;
|
9908
9068
|
};
|
9909
9069
|
|
9910
9070
|
/**
|
@@ -10036,7 +9196,7 @@ export declare type MessageThreadProps = {
|
|
10036
9196
|
/**
|
10037
9197
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
10038
9198
|
*/
|
10039
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
9199
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
10040
9200
|
/**
|
10041
9201
|
* number of participants in the thread
|
10042
9202
|
*/
|
@@ -10117,11 +9277,6 @@ export declare type MessageThreadProps = {
|
|
10117
9277
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
10118
9278
|
*/
|
10119
9279
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
10120
|
-
/**
|
10121
|
-
* Optional callback to render attachments in the message component.
|
10122
|
-
* @beta
|
10123
|
-
*/
|
10124
|
-
onRenderAttachmentDownloads?: (message: ChatMessage) => JSX.Element;
|
10125
9280
|
/**
|
10126
9281
|
* Optional callback to edit a message.
|
10127
9282
|
*
|
@@ -10150,7 +9305,7 @@ export declare type MessageThreadProps = {
|
|
10150
9305
|
* @param options - message options to be included in the message
|
10151
9306
|
*
|
10152
9307
|
*/
|
10153
|
-
onSendMessage?: (content: string
|
9308
|
+
onSendMessage?: (content: string) => Promise<void>;
|
10154
9309
|
/**
|
10155
9310
|
/**
|
10156
9311
|
* Disable editing messages.
|
@@ -10164,32 +9319,11 @@ export declare type MessageThreadProps = {
|
|
10164
9319
|
* Optional strings to override in component
|
10165
9320
|
*/
|
10166
9321
|
strings?: Partial<MessageThreadStrings>;
|
10167
|
-
/**
|
10168
|
-
* @beta
|
10169
|
-
* Optional attachment options, which defines behvaiour for uploading and downloading attachments.
|
10170
|
-
* As this moment, the uploadOptions would be ignored and this option is intended for download only.
|
10171
|
-
*/
|
10172
|
-
attachmentOptions?: AttachmentOptions;
|
10173
|
-
/**
|
10174
|
-
* Optional function to provide customized date format.
|
10175
|
-
* @beta
|
10176
|
-
*/
|
10177
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
10178
|
-
/**
|
10179
|
-
* Optional props needed to lookup a mention query and display mentions
|
10180
|
-
* @beta
|
10181
|
-
*/
|
10182
|
-
mentionOptions?: MentionOptions;
|
10183
9322
|
/**
|
10184
9323
|
* Optional callback called when an inline image is clicked.
|
10185
9324
|
* @beta
|
10186
9325
|
*/
|
10187
9326
|
inlineImageOptions?: InlineImageOptions;
|
10188
|
-
/**
|
10189
|
-
* Options to enable rich text editor for the edit box.
|
10190
|
-
* @beta
|
10191
|
-
*/
|
10192
|
-
richTextEditorOptions?: RichTextEditBoxOptions;
|
10193
9327
|
};
|
10194
9328
|
|
10195
9329
|
/**
|
@@ -10267,20 +9401,10 @@ export declare interface MessageThreadStrings {
|
|
10267
9401
|
actionMenuMoreOptions?: string;
|
10268
9402
|
/** Aria label to announce when a message is deleted */
|
10269
9403
|
messageDeletedAnnouncementAriaLabel: string;
|
10270
|
-
/** String for download attachment button in attachment card */
|
10271
|
-
downloadAttachment: string;
|
10272
9404
|
/** String for open attachment button in attachment card */
|
10273
9405
|
openAttachment: string;
|
10274
|
-
/** String for policy violation message removal */
|
10275
|
-
blockedWarningText: string;
|
10276
|
-
/** String for policy violation message removal details link */
|
10277
|
-
blockedWarningLinkText: string;
|
10278
9406
|
/** String for aria text in attachment card group*/
|
10279
9407
|
attachmentCardGroupMessage: string;
|
10280
|
-
/**
|
10281
|
-
* Error message indicating that one or more image uploads are not complete.
|
10282
|
-
*/
|
10283
|
-
imageUploadsPendingError: string;
|
10284
9408
|
}
|
10285
9409
|
|
10286
9410
|
/**
|
@@ -10308,24 +9432,10 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
10308
9432
|
/** Styles for system message container. */
|
10309
9433
|
systemMessageContainer?: ComponentSlotStyle;
|
10310
9434
|
/** Styles for blocked message container. */
|
10311
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
10312
9435
|
/** Styles for message status indicator container. */
|
10313
9436
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
10314
9437
|
}
|
10315
9438
|
|
10316
|
-
/**
|
10317
|
-
*
|
10318
|
-
* Messaging policy of a chat thread.
|
10319
|
-
*
|
10320
|
-
* @beta
|
10321
|
-
*/
|
10322
|
-
export declare interface MessagingPolicy {
|
10323
|
-
/**
|
10324
|
-
* Boolean to track whether or not messages are restricted to only text.
|
10325
|
-
* */
|
10326
|
-
textOnlyChat?: boolean;
|
10327
|
-
}
|
10328
|
-
|
10329
9439
|
/**
|
10330
9440
|
* A button to turn microphone on / off.
|
10331
9441
|
*
|
@@ -10518,31 +9628,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
10518
9628
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
10519
9629
|
}
|
10520
9630
|
|
10521
|
-
/**
|
10522
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
10523
|
-
* by their browsers settings.
|
10524
|
-
*
|
10525
|
-
* @beta
|
10526
|
-
*/
|
10527
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
10528
|
-
|
10529
|
-
/**
|
10530
|
-
* @beta
|
10531
|
-
* Props for MicrophoneSitePermissions component.
|
10532
|
-
*/
|
10533
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
10534
|
-
/** Icon name for the microphone icon */
|
10535
|
-
microphoneIconName?: string;
|
10536
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
10537
|
-
strings?: MicrophoneSitePermissionsStrings;
|
10538
|
-
}
|
10539
|
-
|
10540
|
-
/**
|
10541
|
-
* @beta
|
10542
|
-
* Strings for MicrophoneSitePermissions component.
|
10543
|
-
*/
|
10544
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
10545
|
-
|
10546
9631
|
/**
|
10547
9632
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
10548
9633
|
*
|
@@ -11324,10 +10409,6 @@ export declare type ParticipantListProps = {
|
|
11324
10409
|
styles?: ParticipantListStyles;
|
11325
10410
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
11326
10411
|
showParticipantOverflowTooltip?: boolean;
|
11327
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
11328
|
-
totalParticipantCount?: number;
|
11329
|
-
/** Strings for the participant list */
|
11330
|
-
strings?: ParticipantListStrings;
|
11331
10412
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
11332
10413
|
participantAriaLabelledBy?: string;
|
11333
10414
|
/** List of pinned participants */
|
@@ -11342,21 +10423,8 @@ export declare type ParticipantListProps = {
|
|
11342
10423
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
11343
10424
|
participants: CallParticipantListParticipant[];
|
11344
10425
|
myUserId: string;
|
11345
|
-
totalParticipantCount?: number;
|
11346
10426
|
};
|
11347
10427
|
|
11348
|
-
/**
|
11349
|
-
* Strings for the {@link ParticipantList}.
|
11350
|
-
*
|
11351
|
-
* @beta
|
11352
|
-
*/
|
11353
|
-
export declare interface ParticipantListStrings {
|
11354
|
-
/**
|
11355
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
11356
|
-
*/
|
11357
|
-
overflowParticipantCount?: string;
|
11358
|
-
}
|
11359
|
-
|
11360
10428
|
/**
|
11361
10429
|
* Styles for the {@link ParticipantList}.
|
11362
10430
|
*
|
@@ -12048,15 +11116,6 @@ export declare interface RecordingCallFeature {
|
|
12048
11116
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.isRecordingActive}.
|
12049
11117
|
*/
|
12050
11118
|
isRecordingActive: boolean;
|
12051
|
-
/**
|
12052
|
-
* Contains list of information of started recordings
|
12053
|
-
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.recordings}.
|
12054
|
-
*/
|
12055
|
-
activeRecordings?: RecordingInfo[];
|
12056
|
-
/**
|
12057
|
-
* Contains list of information of stopped recordings
|
12058
|
-
*/
|
12059
|
-
lastStoppedRecording?: RecordingInfo[];
|
12060
11119
|
}
|
12061
11120
|
|
12062
11121
|
/**
|
@@ -12199,256 +11258,6 @@ export declare type ResourceFetchResult = {
|
|
12199
11258
|
error?: Error;
|
12200
11259
|
};
|
12201
11260
|
|
12202
|
-
/**
|
12203
|
-
* Options for the rich text editor edit box configuration.
|
12204
|
-
*
|
12205
|
-
* @beta
|
12206
|
-
*/
|
12207
|
-
export declare interface RichTextEditBoxOptions extends RichTextEditorOptions {
|
12208
|
-
/**
|
12209
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12210
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12211
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12212
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12213
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12214
|
-
*/
|
12215
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12216
|
-
/**
|
12217
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12218
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12219
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12220
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12221
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12222
|
-
*/
|
12223
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12224
|
-
/**
|
12225
|
-
* Optional Record of type {@link AttachmentMetadataInProgress}
|
12226
|
-
* to render the errorBar for inline images inserted in the MessageThread's edit boxes when:
|
12227
|
-
* - there is an error provided in the messagesInlineImagesWithProgress
|
12228
|
-
* - progress is less than 1 when the send button is clicked
|
12229
|
-
* - content html string is longer than the max allowed length.
|
12230
|
-
* (Note that the id and the url prop of the messagesInlineImagesWithProgress will be used as the id and src attribute of the content html
|
12231
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12232
|
-
*/
|
12233
|
-
messagesInlineImagesWithProgress?: Record<string, AttachmentMetadataInProgress[]>;
|
12234
|
-
}
|
12235
|
-
|
12236
|
-
/**
|
12237
|
-
* Options for the rich text editor configuration.
|
12238
|
-
*
|
12239
|
-
* @beta
|
12240
|
-
*/
|
12241
|
-
export declare interface RichTextEditorOptions {
|
12242
|
-
/**
|
12243
|
-
* Optional callback to handle paste event.
|
12244
|
-
*/
|
12245
|
-
onPaste?: (event: {
|
12246
|
-
content: DocumentFragment;
|
12247
|
-
}) => void;
|
12248
|
-
}
|
12249
|
-
|
12250
|
-
/**
|
12251
|
-
* A component to render SendBox with Rich Text Editor support.
|
12252
|
-
*
|
12253
|
-
* @beta
|
12254
|
-
*/
|
12255
|
-
export declare const RichTextSendBox: (props: RichTextSendBoxProps) => JSX.Element;
|
12256
|
-
|
12257
|
-
/**
|
12258
|
-
* Props for {@link RichTextSendBox}.
|
12259
|
-
*
|
12260
|
-
* @beta
|
12261
|
-
*/
|
12262
|
-
export declare interface RichTextSendBoxProps {
|
12263
|
-
/**
|
12264
|
-
* Optional boolean to disable text box
|
12265
|
-
* @defaultValue false
|
12266
|
-
*/
|
12267
|
-
disabled?: boolean;
|
12268
|
-
/**
|
12269
|
-
* Optional callback to handle paste event.
|
12270
|
-
*/
|
12271
|
-
onPaste?: (event: {
|
12272
|
-
content: DocumentFragment;
|
12273
|
-
}) => void;
|
12274
|
-
/**
|
12275
|
-
* Optional strings to override in component
|
12276
|
-
*/
|
12277
|
-
strings?: Partial<RichTextSendBoxStrings>;
|
12278
|
-
/**
|
12279
|
-
* Optional text for system message above the text box
|
12280
|
-
*/
|
12281
|
-
systemMessage?: string;
|
12282
|
-
/**
|
12283
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12284
|
-
* to render attachments being uploaded in the SendBox.
|
12285
|
-
* @beta
|
12286
|
-
*/
|
12287
|
-
attachments?: AttachmentMetadataInProgress[];
|
12288
|
-
/**
|
12289
|
-
* enumerable to determine if the input box has focus on render or not.
|
12290
|
-
* When undefined nothing has focus on render
|
12291
|
-
*/
|
12292
|
-
autoFocus?: 'sendBoxTextField';
|
12293
|
-
/**
|
12294
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12295
|
-
* cancel icon.
|
12296
|
-
*/
|
12297
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12298
|
-
/**
|
12299
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12300
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12301
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12302
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12303
|
-
*/
|
12304
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12305
|
-
/**
|
12306
|
-
* Callback function used when the send button is clicked.
|
12307
|
-
*/
|
12308
|
-
onSendMessage: (content: string, options?: MessageOptions) => Promise<void>;
|
12309
|
-
/**
|
12310
|
-
* Optional callback called when user is typing
|
12311
|
-
*/
|
12312
|
-
onTyping?: () => Promise<void>;
|
12313
|
-
/**
|
12314
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12315
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12316
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12317
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12318
|
-
*/
|
12319
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12320
|
-
/**
|
12321
|
-
* Optional Array of type {@link AttachmentMetadataInProgress}
|
12322
|
-
* to render the errorBar for inline images inserted in the RichTextSendBox when:
|
12323
|
-
* - there is an error provided in the inlineImagesWithProgress
|
12324
|
-
* - progress is less than 1 when the send button is clicked
|
12325
|
-
* - content html string is longer than the max allowed length.
|
12326
|
-
* (Note that the id and the url prop of the inlineImagesWithProgress will be used as the id and src attribute of the content html
|
12327
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12328
|
-
*/
|
12329
|
-
inlineImagesWithProgress?: AttachmentMetadataInProgress[];
|
12330
|
-
}
|
12331
|
-
|
12332
|
-
/**
|
12333
|
-
* Strings of {@link RichTextSendBox} that can be overridden.
|
12334
|
-
*
|
12335
|
-
* @beta
|
12336
|
-
*/
|
12337
|
-
export declare interface RichTextSendBoxStrings extends RichTextStrings, SendBoxStrings {
|
12338
|
-
}
|
12339
|
-
|
12340
|
-
/**
|
12341
|
-
* Strings of RichText that can be overridden.
|
12342
|
-
*
|
12343
|
-
* @beta
|
12344
|
-
*/
|
12345
|
-
export declare interface RichTextStrings {
|
12346
|
-
/**
|
12347
|
-
* Tooltip text for the bold button.
|
12348
|
-
*/
|
12349
|
-
richTextBoldTooltip: string;
|
12350
|
-
/**
|
12351
|
-
* Tooltip text for the italic button.
|
12352
|
-
*/
|
12353
|
-
richTextItalicTooltip: string;
|
12354
|
-
/**
|
12355
|
-
* Tooltip text for the underline button.
|
12356
|
-
*/
|
12357
|
-
richTextUnderlineTooltip: string;
|
12358
|
-
/**
|
12359
|
-
* Tooltip text for the bullet list button.
|
12360
|
-
*/
|
12361
|
-
richTextBulletListTooltip: string;
|
12362
|
-
/**
|
12363
|
-
* Tooltip text for the number list button.
|
12364
|
-
*/
|
12365
|
-
richTextNumberListTooltip: string;
|
12366
|
-
/**
|
12367
|
-
* Tooltip text for the increase indent button.
|
12368
|
-
*/
|
12369
|
-
richTextIncreaseIndentTooltip: string;
|
12370
|
-
/**
|
12371
|
-
* Tooltip text for the decrease indent button.
|
12372
|
-
*/
|
12373
|
-
richTextDecreaseIndentTooltip: string;
|
12374
|
-
/**
|
12375
|
-
* Tooltip text insert table button.
|
12376
|
-
*/
|
12377
|
-
richTextInsertTableTooltip: string;
|
12378
|
-
/**
|
12379
|
-
* Tooltip text for the rich text format button button.
|
12380
|
-
*/
|
12381
|
-
richTextFormatButtonTooltip: string;
|
12382
|
-
/**
|
12383
|
-
* Text for the insert menu item.
|
12384
|
-
*/
|
12385
|
-
richTextInsertRowOrColumnMenu: string;
|
12386
|
-
/**
|
12387
|
-
* Title for the insert table menu.
|
12388
|
-
*/
|
12389
|
-
richTextInsertTableMenuTitle: string;
|
12390
|
-
/**
|
12391
|
-
* Text for the insert menu item to insert row above the current selection.
|
12392
|
-
*/
|
12393
|
-
richTextInsertRowAboveMenu: string;
|
12394
|
-
/**
|
12395
|
-
* Text for the insert menu item to insert row below the current selection.
|
12396
|
-
*/
|
12397
|
-
richTextInsertRowBelowMenu: string;
|
12398
|
-
/**
|
12399
|
-
* Text for the insert menu item to insert column to the left from the current selection.
|
12400
|
-
*/
|
12401
|
-
richTextInsertColumnLeftMenu: string;
|
12402
|
-
/**
|
12403
|
-
* Text for the insert menu item to insert column to the right from the current selection.
|
12404
|
-
*/
|
12405
|
-
richTextInsertColumnRightMenu: string;
|
12406
|
-
/**
|
12407
|
-
* Text for the delete row or column menu.
|
12408
|
-
*/
|
12409
|
-
richTextDeleteRowOrColumnMenu: string;
|
12410
|
-
/**
|
12411
|
-
* Text for the delete column menu.
|
12412
|
-
*/
|
12413
|
-
richTextDeleteColumnMenu: string;
|
12414
|
-
/**
|
12415
|
-
* Text for the delete row menu.
|
12416
|
-
*/
|
12417
|
-
richTextDeleteRowMenu: string;
|
12418
|
-
/**
|
12419
|
-
* Text for the delete table menu.
|
12420
|
-
*/
|
12421
|
-
richTextDeleteTableMenu: string;
|
12422
|
-
/**
|
12423
|
-
* Text for the rich text toolbar.
|
12424
|
-
*/
|
12425
|
-
richTextToolbarAriaLabel: string;
|
12426
|
-
/**
|
12427
|
-
* Text for the rich text toolbar more button.
|
12428
|
-
*/
|
12429
|
-
richTextToolbarMoreButtonAriaLabel: string;
|
12430
|
-
/**
|
12431
|
-
* Text for announcement when a new bulleted list item is added.
|
12432
|
-
*/
|
12433
|
-
richTextNewBulletedListItemAnnouncement: string;
|
12434
|
-
/**
|
12435
|
-
* Text for announcement when a new numbered list item is added.
|
12436
|
-
*/
|
12437
|
-
richTextNewNumberedListItemAnnouncement: string;
|
12438
|
-
/**
|
12439
|
-
* Text for announcement when the bulleted list style is applied.
|
12440
|
-
*/
|
12441
|
-
richTextBulletedListAppliedAnnouncement: string;
|
12442
|
-
/**
|
12443
|
-
* Text for announcement when the numbered list style is applied.
|
12444
|
-
*/
|
12445
|
-
richTextNumberedListAppliedAnnouncement: string;
|
12446
|
-
/**
|
12447
|
-
* Error message indicating image upload is not complete.
|
12448
|
-
*/
|
12449
|
-
imageUploadsPendingError: string;
|
12450
|
-
}
|
12451
|
-
|
12452
11261
|
/**
|
12453
11262
|
* A button to start / stop screen sharing.
|
12454
11263
|
*
|
@@ -12520,42 +11329,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
12520
11329
|
*/
|
12521
11330
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
12522
11331
|
|
12523
|
-
/**
|
12524
|
-
* @beta
|
12525
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
12526
|
-
*/
|
12527
|
-
export declare interface SendBoxErrorBarError {
|
12528
|
-
/** Error Message to be displayed */
|
12529
|
-
message: string;
|
12530
|
-
/**
|
12531
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
12532
|
-
*/
|
12533
|
-
timestamp: number;
|
12534
|
-
/**
|
12535
|
-
* ErrorBar type. Defaults to `warning`.
|
12536
|
-
*/
|
12537
|
-
errorBarType?: SendBoxErrorBarType;
|
12538
|
-
}
|
12539
|
-
|
12540
|
-
/**
|
12541
|
-
* @beta
|
12542
|
-
* Error bar type for {@link SendBoxErrorBarError}
|
12543
|
-
*/
|
12544
|
-
export declare enum SendBoxErrorBarType {
|
12545
|
-
/** Info styled MessageBar */
|
12546
|
-
info = 0,
|
12547
|
-
/** Error styled MessageBar */
|
12548
|
-
error = 1,
|
12549
|
-
/** Blocked styled MessageBar */
|
12550
|
-
blocked = 2,
|
12551
|
-
/** SevereWarning styled MessageBar */
|
12552
|
-
severeWarning = 3,
|
12553
|
-
/** Success styled MessageBar */
|
12554
|
-
success = 4,
|
12555
|
-
/** Warning styled MessageBar */
|
12556
|
-
warning = 5
|
12557
|
-
}
|
12558
|
-
|
12559
11332
|
/**
|
12560
11333
|
* Props for {@link SendBox}.
|
12561
11334
|
*
|
@@ -12574,12 +11347,7 @@ export declare interface SendBoxProps {
|
|
12574
11347
|
/**
|
12575
11348
|
* Optional override behavior on send button click
|
12576
11349
|
*/
|
12577
|
-
onSendMessage?: (content: string
|
12578
|
-
/**
|
12579
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
12580
|
-
* @beta
|
12581
|
-
*/
|
12582
|
-
mentionLookupOptions?: MentionLookupOptions;
|
11350
|
+
onSendMessage?: (content: string) => Promise<void>;
|
12583
11351
|
/**
|
12584
11352
|
* Optional callback called when user is typing
|
12585
11353
|
*/
|
@@ -12616,25 +11384,6 @@ export declare interface SendBoxProps {
|
|
12616
11384
|
* When undefined nothing has focus on render
|
12617
11385
|
*/
|
12618
11386
|
autoFocus?: 'sendBoxTextField';
|
12619
|
-
/**
|
12620
|
-
* Optional callback to render uploaded attachments in the SendBox. The sendBox will expand
|
12621
|
-
* vertically to accommodate the uploaded attachments. Attachment uploads will
|
12622
|
-
* be rendered below the text area in sendBox.
|
12623
|
-
* @beta
|
12624
|
-
*/
|
12625
|
-
onRenderAttachmentUploads?: () => JSX.Element;
|
12626
|
-
/**
|
12627
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12628
|
-
* to render attachments being uploaded in the SendBox.
|
12629
|
-
* @beta
|
12630
|
-
*/
|
12631
|
-
attachments?: AttachmentMetadataInProgress[];
|
12632
|
-
/**
|
12633
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12634
|
-
* cancel icon.
|
12635
|
-
* @beta
|
12636
|
-
*/
|
12637
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12638
11387
|
}
|
12639
11388
|
|
12640
11389
|
/**
|
@@ -12665,26 +11414,6 @@ export declare interface SendBoxStrings {
|
|
12665
11414
|
* Aria label for send message button
|
12666
11415
|
*/
|
12667
11416
|
sendButtonAriaLabel: string;
|
12668
|
-
/**
|
12669
|
-
* Error message indicating that all attachment uploads are not complete.
|
12670
|
-
*/
|
12671
|
-
attachmentUploadsPendingError: string;
|
12672
|
-
/**
|
12673
|
-
* Aria label to notify user when focus is on cancel attachment upload button.
|
12674
|
-
*/
|
12675
|
-
removeAttachment: string;
|
12676
|
-
/**
|
12677
|
-
* Aria label to notify user attachment uploading starts.
|
12678
|
-
*/
|
12679
|
-
uploading: string;
|
12680
|
-
/**
|
12681
|
-
* Aria label to notify user attachment is uploaded.
|
12682
|
-
*/
|
12683
|
-
uploadCompleted: string;
|
12684
|
-
/**
|
12685
|
-
* Aria label to notify user more attachment action menu.
|
12686
|
-
*/
|
12687
|
-
attachmentMoreMenu: string;
|
12688
11417
|
}
|
12689
11418
|
|
12690
11419
|
/**
|
@@ -12705,45 +11434,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
12705
11434
|
systemMessage?: IStyle;
|
12706
11435
|
}
|
12707
11436
|
|
12708
|
-
/**
|
12709
|
-
* @beta
|
12710
|
-
* Strings for SitePermissions component
|
12711
|
-
*/
|
12712
|
-
export declare type SitePermissionsStrings = {
|
12713
|
-
/**
|
12714
|
-
* Main text string.
|
12715
|
-
*/
|
12716
|
-
primaryText?: string;
|
12717
|
-
/**
|
12718
|
-
* Subtext string.
|
12719
|
-
*/
|
12720
|
-
secondaryText?: string;
|
12721
|
-
/**
|
12722
|
-
* More help link string.
|
12723
|
-
*/
|
12724
|
-
linkText?: string;
|
12725
|
-
/**
|
12726
|
-
* Primary button text string.
|
12727
|
-
*/
|
12728
|
-
primaryButtonText?: string;
|
12729
|
-
/**
|
12730
|
-
* Aria label describing the content of the container
|
12731
|
-
*/
|
12732
|
-
ariaLabel?: string;
|
12733
|
-
};
|
12734
|
-
|
12735
|
-
/**
|
12736
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
12737
|
-
*
|
12738
|
-
* @beta
|
12739
|
-
*/
|
12740
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
12741
|
-
/** Styles for the primary button. */
|
12742
|
-
primaryButton?: IButtonStyles;
|
12743
|
-
/** Styles for the help troubleshooting link text. */
|
12744
|
-
troubleshootingLink?: ILinkStyles;
|
12745
|
-
}
|
12746
|
-
|
12747
11437
|
/**
|
12748
11438
|
* @public
|
12749
11439
|
* Type for representing a custom sound to use for a calling event
|
@@ -13063,13 +11753,6 @@ export declare interface StartRealTimeTextButtonStrings {
|
|
13063
11753
|
tooltipOffContent: string;
|
13064
11754
|
}
|
13065
11755
|
|
13066
|
-
/**
|
13067
|
-
* Parameter to start a call using a Teams user identity.
|
13068
|
-
*
|
13069
|
-
* @beta
|
13070
|
-
*/
|
13071
|
-
export declare type StartTeamsCallIdentifier = MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier;
|
13072
|
-
|
13073
11756
|
/**
|
13074
11757
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
13075
11758
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -13520,7 +12203,7 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
|
13520
12203
|
* @public
|
13521
12204
|
*/
|
13522
12205
|
export declare type TeamsCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13523
|
-
locator: TeamsMeetingLinkLocator |
|
12206
|
+
locator: TeamsMeetingLinkLocator | TeamsMeetingIdLocator;
|
13524
12207
|
};
|
13525
12208
|
|
13526
12209
|
/**
|
@@ -13593,17 +12276,6 @@ export declare interface TeamsIncomingCallState {
|
|
13593
12276
|
endTime?: Date;
|
13594
12277
|
}
|
13595
12278
|
|
13596
|
-
/**
|
13597
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
13598
|
-
*
|
13599
|
-
* This is used to create an outbound call scenarios.
|
13600
|
-
*
|
13601
|
-
* @beta
|
13602
|
-
*/
|
13603
|
-
export declare type TeamsOutboundCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13604
|
-
targetCallees: StartTeamsCallIdentifier[];
|
13605
|
-
};
|
13606
|
-
|
13607
12279
|
/**
|
13608
12280
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
13609
12281
|
*
|
@@ -13894,21 +12566,7 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
13894
12566
|
* @public
|
13895
12567
|
* Callback function run when a message is updated.
|
13896
12568
|
*/
|
13897
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
13898
|
-
|
13899
|
-
/**
|
13900
|
-
* Result payload for uploading an image.
|
13901
|
-
*
|
13902
|
-
* @beta
|
13903
|
-
*/
|
13904
|
-
export declare type UploadChatImageResult = {
|
13905
|
-
/** Id of the image. */
|
13906
|
-
id: string;
|
13907
|
-
/** The type of attachment. */
|
13908
|
-
attachmentType?: 'image' | 'file' | 'unknown';
|
13909
|
-
/** The name including file extension type of the attachment. */
|
13910
|
-
name?: string;
|
13911
|
-
};
|
12569
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
13912
12570
|
|
13913
12571
|
/**
|
13914
12572
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -14082,7 +12740,7 @@ export declare const useTeamsCall: () => undefined | TeamsCall;
|
|
14082
12740
|
*
|
14083
12741
|
* @public
|
14084
12742
|
*/
|
14085
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs
|
12743
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: (adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>, beforeDispose?: (adapter: TeamsCallAdapter) => Promise<void>) => TeamsCallAdapter | undefined;
|
14086
12744
|
|
14087
12745
|
/**
|
14088
12746
|
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|