@azure/communication-react 1.28.0-beta.2 → 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 +25 -1371
- 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/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/DeviceManagerDeclarative.js +2 -5
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.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/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/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 +7 -44
- 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 -71
- 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-DQsJ0ty3.js +0 -215
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DQsJ0ty3.js.map +0 -1
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-K8NQvjwe.js +0 -49
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-K8NQvjwe.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-C-rok69c.js +0 -46100
- package/dist/dist-cjs/communication-react/index-C-rok69c.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.
|
@@ -5718,15 +5207,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
5718
5207
|
* Send a message in the thread.
|
5719
5208
|
* Please note that SendMessageOptions is being deprecated, please use MessageOptions instead.
|
5720
5209
|
*/
|
5721
|
-
sendMessage(content: string, options?: SendMessageOptions
|
5722
|
-
/**
|
5723
|
-
* Upload an inline image for a message.
|
5724
|
-
*/
|
5725
|
-
uploadImage(image: Blob, imageFilename: string): Promise<UploadChatImageResult>;
|
5726
|
-
/**
|
5727
|
-
* Delete an inline image for a message.
|
5728
|
-
*/
|
5729
|
-
deleteImage(imageId: string): Promise<void>;
|
5210
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
5730
5211
|
/**
|
5731
5212
|
* Send a read receipt for a message.
|
5732
5213
|
*/
|
@@ -5747,7 +5228,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
5747
5228
|
* Update a message content.
|
5748
5229
|
* Please note that metadata is being deprecated, please use MessageOptions.metadata instead.
|
5749
5230
|
*/
|
5750
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
5231
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
5751
5232
|
/**
|
5752
5233
|
* Delete a message in the thread.
|
5753
5234
|
*/
|
@@ -5885,7 +5366,6 @@ export declare type ChatCompositeIcons = {
|
|
5885
5366
|
ParticipantItemOptionsHovered?: JSX.Element;
|
5886
5367
|
SendBoxSend?: JSX.Element;
|
5887
5368
|
SendBoxSendHovered?: JSX.Element;
|
5888
|
-
SendBoxAttachFile?: JSX.Element;
|
5889
5369
|
};
|
5890
5370
|
|
5891
5371
|
/**
|
@@ -5933,13 +5413,6 @@ export declare type ChatCompositeOptions = {
|
|
5933
5413
|
* @defaultValue true
|
5934
5414
|
*/
|
5935
5415
|
errorBar?: boolean;
|
5936
|
-
/**
|
5937
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
5938
|
-
* @defaultValue false
|
5939
|
-
*
|
5940
|
-
* @beta
|
5941
|
-
*/
|
5942
|
-
participantPane?: boolean;
|
5943
5416
|
/**
|
5944
5417
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
5945
5418
|
* @defaultValue true
|
@@ -5950,19 +5423,6 @@ export declare type ChatCompositeOptions = {
|
|
5950
5423
|
* When undefined nothing has focus on render
|
5951
5424
|
*/
|
5952
5425
|
autoFocus?: 'sendBoxTextField';
|
5953
|
-
/**
|
5954
|
-
* Properties for configuring the File Sharing feature.
|
5955
|
-
* If undefined, file sharing feature will be disabled.
|
5956
|
-
* @beta
|
5957
|
-
*/
|
5958
|
-
attachmentOptions?: AttachmentOptions;
|
5959
|
-
/**
|
5960
|
-
* Enables rich text editor for the send and edit boxes
|
5961
|
-
* @defaultValue `false`
|
5962
|
-
*
|
5963
|
-
* @beta
|
5964
|
-
*/
|
5965
|
-
richTextEditor?: boolean;
|
5966
5426
|
};
|
5967
5427
|
|
5968
5428
|
/**
|
@@ -5990,12 +5450,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
5990
5450
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
5991
5451
|
*/
|
5992
5452
|
options?: ChatCompositeOptions;
|
5993
|
-
/**
|
5994
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
5995
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
5996
|
-
* @defaultValue 'desktop'
|
5997
|
-
*/
|
5998
|
-
formFactor?: 'desktop' | 'mobile';
|
5999
5453
|
}
|
6000
5454
|
|
6001
5455
|
/**
|
@@ -6010,26 +5464,6 @@ export declare interface ChatCompositeStrings {
|
|
6010
5464
|
* Chat list header text
|
6011
5465
|
*/
|
6012
5466
|
chatListHeader: string;
|
6013
|
-
/**
|
6014
|
-
* Upload Attachment Button text
|
6015
|
-
*/
|
6016
|
-
uploadAttachment: string;
|
6017
|
-
/**
|
6018
|
-
* Error Message for image data is not provided for image upload
|
6019
|
-
*/
|
6020
|
-
uploadImageDataNotProvided: string;
|
6021
|
-
/**
|
6022
|
-
* Error Message for upload image is too large
|
6023
|
-
*/
|
6024
|
-
uploadImageIsTooLarge: string;
|
6025
|
-
/**
|
6026
|
-
* Error Message for unsupported image extension for image upload
|
6027
|
-
*/
|
6028
|
-
uploadImageExtensionIsNotAllowed: string;
|
6029
|
-
/**
|
6030
|
-
* Error Message for unable to upload image
|
6031
|
-
*/
|
6032
|
-
uploadImageFailed: string;
|
6033
5467
|
}
|
6034
5468
|
|
6035
5469
|
/**
|
@@ -6078,7 +5512,7 @@ export declare type ChatErrors = {
|
|
6078
5512
|
*
|
6079
5513
|
* @public
|
6080
5514
|
*/
|
6081
|
-
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';
|
6082
5516
|
|
6083
5517
|
/**
|
6084
5518
|
* Object containing all the handlers required for chat components.
|
@@ -6089,15 +5523,13 @@ export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClien
|
|
6089
5523
|
* @public
|
6090
5524
|
*/
|
6091
5525
|
export declare type ChatHandlers = {
|
6092
|
-
onSendMessage: (content: string, options?: SendMessageOptions
|
6093
|
-
onUploadImage: (image: Blob, imageFilename: string) => Promise<UploadChatImageResult>;
|
6094
|
-
onDeleteImage: (imageId: string) => Promise<void>;
|
5526
|
+
onSendMessage: (content: string, options?: SendMessageOptions) => Promise<void>;
|
6095
5527
|
onMessageSeen: (chatMessageId: string) => Promise<void>;
|
6096
5528
|
onTyping: () => Promise<void>;
|
6097
5529
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
6098
5530
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
6099
5531
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
6100
|
-
onUpdateMessage: (messageId: string, content: string
|
5532
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
6101
5533
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
6102
5534
|
};
|
6103
5535
|
|
@@ -6140,12 +5572,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
6140
5572
|
attachments?: AttachmentMetadata[];
|
6141
5573
|
}
|
6142
5574
|
|
6143
|
-
/**
|
6144
|
-
* @beta
|
6145
|
-
* Type of the message content, either 'text' or 'html'.
|
6146
|
-
*/
|
6147
|
-
export declare type ChatMessageType = 'text' | 'html';
|
6148
|
-
|
6149
5575
|
/**
|
6150
5576
|
* An extension to {@link @azure/communication-chat#ChatMessage} that stores
|
6151
5577
|
* client-side only metadata for chat messages.
|
@@ -6264,8 +5690,6 @@ export declare type ChatThreadClientState = {
|
|
6264
5690
|
*/
|
6265
5691
|
export declare type ChatThreadProperties = {
|
6266
5692
|
topic?: string;
|
6267
|
-
createdBy?: CommunicationIdentifierKind;
|
6268
|
-
messagingPolicy?: MessagingPolicy;
|
6269
5693
|
};
|
6270
5694
|
|
6271
5695
|
/**
|
@@ -6537,7 +5961,6 @@ export declare interface CommonCallingHandlers {
|
|
6537
5961
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
6538
5962
|
onRemoveParticipant(userId: string): Promise<void>;
|
6539
5963
|
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
6540
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
6541
5964
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
6542
5965
|
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
6543
5966
|
onRejectCall: (incomingCallId: string) => Promise<void>;
|
@@ -6624,39 +6047,6 @@ export declare type CommonProperties<A, B> = {
|
|
6624
6047
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
6625
6048
|
}[keyof A & keyof B];
|
6626
6049
|
|
6627
|
-
/**
|
6628
|
-
* @beta
|
6629
|
-
* Props for SitePermissions components.
|
6630
|
-
*/
|
6631
|
-
export declare interface CommonSitePermissionsProps {
|
6632
|
-
/**
|
6633
|
-
* Name of application calling experience is in.
|
6634
|
-
*/
|
6635
|
-
appName: string;
|
6636
|
-
/**
|
6637
|
-
* Kind of the Site Permissions component.
|
6638
|
-
*/
|
6639
|
-
kind: 'request' | 'denied' | 'check';
|
6640
|
-
/**
|
6641
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
6642
|
-
*/
|
6643
|
-
browserHint?: 'safari' | 'unset';
|
6644
|
-
/**
|
6645
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
6646
|
-
* If this is not provided the button will not be shown.
|
6647
|
-
*/
|
6648
|
-
onTroubleshootingClick?: () => void;
|
6649
|
-
/**
|
6650
|
-
* Action that is taken when the user clicks the continue anyway button.
|
6651
|
-
* If this is not provided the button will not be shown.
|
6652
|
-
*/
|
6653
|
-
onContinueAnywayClick?: () => void;
|
6654
|
-
/**
|
6655
|
-
* Styles for SitePermissions component.
|
6656
|
-
*/
|
6657
|
-
styles?: SitePermissionsStyles;
|
6658
|
-
}
|
6659
|
-
|
6660
6050
|
/**
|
6661
6051
|
* A Chat or Calling participant's state, as reflected in the UI.
|
6662
6052
|
*
|
@@ -6854,11 +6244,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
6854
6244
|
export declare interface ComponentLocale {
|
6855
6245
|
/** Strings for components */
|
6856
6246
|
strings: ComponentStrings;
|
6857
|
-
/**
|
6858
|
-
* Optional function to provide customized date format.
|
6859
|
-
* @beta
|
6860
|
-
*/
|
6861
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
6862
6247
|
}
|
6863
6248
|
|
6864
6249
|
/**
|
@@ -6908,10 +6293,6 @@ export declare interface ComponentStrings {
|
|
6908
6293
|
typingIndicator: TypingIndicatorStrings;
|
6909
6294
|
/** Strings for SendBox */
|
6910
6295
|
sendBox: SendBoxStrings;
|
6911
|
-
/** Strings for RichTextSendBox */
|
6912
|
-
richTextSendBox: RichTextSendBoxStrings;
|
6913
|
-
/** Strings for MentionPopover */
|
6914
|
-
mentionPopover: MentionPopoverStrings;
|
6915
6296
|
/** Strings for ImageOverlay */
|
6916
6297
|
imageOverlay: ImageOverlayStrings;
|
6917
6298
|
/** Strings for MessageStatusIndicator */
|
@@ -6928,40 +6309,10 @@ export declare interface ComponentStrings {
|
|
6928
6309
|
videoTile: VideoTileStrings;
|
6929
6310
|
/** Strings for HoldButton */
|
6930
6311
|
holdButton: HoldButtonStrings;
|
6931
|
-
/** Strings for a site's permission request prompt */
|
6932
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6933
|
-
/** Strings for a site's permission request prompt */
|
6934
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
6935
|
-
/** Strings for a site's permission request prompt */
|
6936
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
6937
|
-
/** Strings for a site's permission generic checking prompt */
|
6938
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6939
|
-
/** Strings for a site's permission generic checking prompt */
|
6940
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
6941
|
-
/** Strings for a site's permission generic checking prompt */
|
6942
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
6943
|
-
/** Strings for a site's permission denied prompt */
|
6944
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6945
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6946
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6947
|
-
/** Strings for a site's permission denied prompt */
|
6948
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
6949
|
-
/** Strings for a site's permission denied prompt */
|
6950
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
6951
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6952
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6953
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
6954
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
6955
|
-
/** Strings for BrowserPemissionDenied */
|
6956
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
6957
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
6958
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
6959
6312
|
/**
|
6960
6313
|
* Strings for the VerticalGallery.
|
6961
6314
|
*/
|
6962
6315
|
verticalGallery: VerticalGalleryStrings;
|
6963
|
-
/** Strings for the participant list component */
|
6964
|
-
ParticipantList: ParticipantListStrings;
|
6965
6316
|
/** Strings for the MeetingConferencePhoneInfoModal */
|
6966
6317
|
meetingConferencePhoneInfo: MeetingConferencePhoneInfoModalStrings;
|
6967
6318
|
IncomingCallNotification: IncomingCallNotificationStrings;
|
@@ -7536,7 +6887,7 @@ export declare const createStatefulChatClient: (args: StatefulChatClientArgs, op
|
|
7536
6887
|
/**
|
7537
6888
|
* @public
|
7538
6889
|
*/
|
7539
|
-
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs
|
6890
|
+
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
7540
6891
|
|
7541
6892
|
/**
|
7542
6893
|
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -7546,7 +6897,7 @@ export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs | Teams
|
|
7546
6897
|
*
|
7547
6898
|
* @public
|
7548
6899
|
*/
|
7549
|
-
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>;
|
7550
6901
|
|
7551
6902
|
/**
|
7552
6903
|
* Object returned after creating a local or remote VideoStream.
|
@@ -7787,11 +7138,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7787
7138
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
7788
7139
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
7789
7140
|
ReactionButtonIcon: React_2.JSX.Element;
|
7790
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
7791
|
-
DownloadAttachment: React_2.JSX.Element;
|
7792
7141
|
OpenAttachment: React_2.JSX.Element;
|
7793
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
7794
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
7795
7142
|
EditBoxCancel: React_2.JSX.Element;
|
7796
7143
|
EditBoxSubmit: React_2.JSX.Element;
|
7797
7144
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
@@ -7843,12 +7190,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7843
7190
|
VideoTileMicOff: React_2.JSX.Element;
|
7844
7191
|
VideoTileCameraOff: React_2.JSX.Element;
|
7845
7192
|
DialpadBackspace: React_2.JSX.Element;
|
7846
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
7847
|
-
SitePermissionCamera: React_2.JSX.Element;
|
7848
|
-
SitePermissionMic: React_2.JSX.Element;
|
7849
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
7850
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
7851
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
7852
7193
|
VideoTilePinned: React_2.JSX.Element;
|
7853
7194
|
ParticipantItemPinned: React_2.JSX.Element;
|
7854
7195
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -7878,20 +7219,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
7878
7219
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
7879
7220
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
7880
7221
|
VideoTileSpotlighted: React_2.JSX.Element;
|
7881
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
7882
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
7883
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
7884
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
7885
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
7886
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
7887
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
7888
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
7889
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
7890
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
7891
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
7892
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
7893
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
7894
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
7895
7222
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
7896
7223
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
7897
7224
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
@@ -7920,7 +7247,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
7920
7247
|
ParticipantItemOptionsHovered: JSX.Element;
|
7921
7248
|
SendBoxSend: JSX.Element;
|
7922
7249
|
SendBoxSendHovered: JSX.Element;
|
7923
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
7924
7250
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
7925
7251
|
ControlButtonCameraOff: JSX.Element;
|
7926
7252
|
ControlButtonCameraOn: JSX.Element;
|
@@ -8011,13 +7337,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8011
7337
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
8012
7338
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
8013
7339
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
7340
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
8014
7341
|
ChatMessageOptions: React_2.JSX.Element;
|
8015
7342
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
8016
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
8017
|
-
DownloadAttachment: React_2.JSX.Element;
|
8018
7343
|
OpenAttachment: React_2.JSX.Element;
|
8019
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
8020
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
8021
7344
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
8022
7345
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
8023
7346
|
ErrorBarMutedByRemoteParticipant: React_2.JSX.Element;
|
@@ -8037,12 +7360,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8037
7360
|
ResumeCall: React_2.JSX.Element;
|
8038
7361
|
VideoTileCameraOff: React_2.JSX.Element;
|
8039
7362
|
DialpadBackspace: React_2.JSX.Element;
|
8040
|
-
SitePermissionsSparkle: React_2.JSX.Element;
|
8041
|
-
SitePermissionCamera: React_2.JSX.Element;
|
8042
|
-
SitePermissionMic: React_2.JSX.Element;
|
8043
|
-
SitePermissionCameraDenied: React_2.JSX.Element;
|
8044
|
-
SitePermissionMicDenied: React_2.JSX.Element;
|
8045
|
-
BrowserPermissionDeniedError: React_2.JSX.Element;
|
8046
7363
|
VideoTilePinned: React_2.JSX.Element;
|
8047
7364
|
ParticipantItemPinned: React_2.JSX.Element;
|
8048
7365
|
VideoTileMoreOptions: React_2.JSX.Element;
|
@@ -8072,20 +7389,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8072
7389
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
8073
7390
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
8074
7391
|
VideoTileSpotlighted: React_2.JSX.Element;
|
8075
|
-
RichTextBoldButtonIcon: React_2.JSX.Element;
|
8076
|
-
RichTextItalicButtonIcon: React_2.JSX.Element;
|
8077
|
-
RichTextUnderlineButtonIcon: React_2.JSX.Element;
|
8078
|
-
RichTextBulletListButtonIcon: React_2.JSX.Element;
|
8079
|
-
RichTextNumberListButtonIcon: React_2.JSX.Element;
|
8080
|
-
RichTextIndentDecreaseButtonIcon: React_2.JSX.Element;
|
8081
|
-
RichTextIndentIncreaseButtonIcon: React_2.JSX.Element;
|
8082
|
-
RichTextDividerIcon: React_2.JSX.Element;
|
8083
|
-
RichTextEditorButtonIcon: React_2.JSX.Element;
|
8084
|
-
RichTextEditorButtonIconFilled: React_2.JSX.Element;
|
8085
|
-
RichTextInsertTableRegularIcon: React_2.JSX.Element;
|
8086
|
-
RichTextInsertTableFilledIcon: React_2.JSX.Element;
|
8087
|
-
RichTextTableInsertMenuIcon: React_2.JSX.Element;
|
8088
|
-
RichTextTableDeleteMenuIcon: React_2.JSX.Element;
|
8089
7392
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
8090
7393
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
8091
7394
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
@@ -8096,36 +7399,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
8096
7399
|
MinimizeIcon: React_2.JSX.Element;
|
8097
7400
|
};
|
8098
7401
|
|
8099
|
-
/**
|
8100
|
-
* @beta
|
8101
|
-
*
|
8102
|
-
* The default menu action for downloading attachments. This action will open the attachment's URL in a new tab.
|
8103
|
-
*/
|
8104
|
-
export declare const defaultAttachmentMenuAction: AttachmentMenuAction;
|
8105
|
-
|
8106
|
-
/**
|
8107
|
-
* Device Checks.
|
8108
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
8109
|
-
*
|
8110
|
-
* @beta
|
8111
|
-
*/
|
8112
|
-
export declare interface DeviceCheckOptions {
|
8113
|
-
/**
|
8114
|
-
* Camera Permission prompts for your call.
|
8115
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8116
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8117
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8118
|
-
*/
|
8119
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
8120
|
-
/**
|
8121
|
-
* Microphone permission prompts for your call.
|
8122
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
8123
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
8124
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
8125
|
-
*/
|
8126
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
8127
|
-
}
|
8128
|
-
|
8129
7402
|
/**
|
8130
7403
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
8131
7404
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -8803,7 +8076,7 @@ export declare const getCallingSelector: <Component extends (props: any) => JSX.
|
|
8803
8076
|
*
|
8804
8077
|
* @public
|
8805
8078
|
*/
|
8806
|
-
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;
|
8807
8080
|
|
8808
8081
|
/**
|
8809
8082
|
* Get the selector for a specified component.
|
@@ -8989,10 +8262,6 @@ export declare interface _Identifiers {
|
|
8989
8262
|
verticalGalleryVideoTile: string;
|
8990
8263
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
8991
8264
|
verticalGalleryPageCounter: string;
|
8992
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
8993
|
-
mentionSuggestionList: string;
|
8994
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
8995
|
-
mentionSuggestionItem: string;
|
8996
8265
|
}
|
8997
8266
|
|
8998
8267
|
/**
|
@@ -9058,13 +8327,6 @@ export declare interface ImageOverlayStrings {
|
|
9058
8327
|
overlayVisibleMessage: string;
|
9059
8328
|
}
|
9060
8329
|
|
9061
|
-
/**
|
9062
|
-
* Preset dark theme for the ImageOverlay component.
|
9063
|
-
*
|
9064
|
-
* @public
|
9065
|
-
*/
|
9066
|
-
export declare const imageOverlayTheme: PartialTheme;
|
9067
|
-
|
9068
8330
|
/**
|
9069
8331
|
* @public
|
9070
8332
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
@@ -9518,28 +8780,6 @@ export declare type LocalizationProviderProps = {
|
|
9518
8780
|
children: React_2.ReactNode;
|
9519
8781
|
};
|
9520
8782
|
|
9521
|
-
/**
|
9522
|
-
* State only version of {@link @azure/communication-calling#LocalRecordingCallFeature}. {@link StatefulCallClient} will
|
9523
|
-
* automatically listen for local recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
9524
|
-
*
|
9525
|
-
* @beta
|
9526
|
-
*/
|
9527
|
-
export declare interface LocalRecordingCallFeatureState {
|
9528
|
-
/**
|
9529
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.isRecordingActive}.
|
9530
|
-
*/
|
9531
|
-
isLocalRecordingActive: boolean;
|
9532
|
-
/**
|
9533
|
-
* Contains list of information of started recordings
|
9534
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.recordings}.
|
9535
|
-
*/
|
9536
|
-
activeLocalRecordings?: LocalRecordingInfo[];
|
9537
|
-
/**
|
9538
|
-
* Contains list of information of stopped recordings
|
9539
|
-
*/
|
9540
|
-
lastStoppedLocalRecording?: LocalRecordingInfo[];
|
9541
|
-
}
|
9542
|
-
|
9543
8783
|
/**
|
9544
8784
|
* @public
|
9545
8785
|
*/
|
@@ -9714,76 +8954,6 @@ export declare interface MeetingConferencePhoneInfoModalStrings {
|
|
9714
8954
|
meetingConferencePhoneInfoModalNoPhoneAvailable: string;
|
9715
8955
|
}
|
9716
8956
|
|
9717
|
-
/**
|
9718
|
-
* Mention's state, as reflected in the UI.
|
9719
|
-
*
|
9720
|
-
* @beta
|
9721
|
-
*/
|
9722
|
-
export declare interface Mention {
|
9723
|
-
/** ID of a mention */
|
9724
|
-
id: string;
|
9725
|
-
/** Display text of a mention */
|
9726
|
-
displayText: string;
|
9727
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
9728
|
-
icon?: JSX.Element;
|
9729
|
-
}
|
9730
|
-
|
9731
|
-
/**
|
9732
|
-
* Options to display suggestions in the mention scenario.
|
9733
|
-
*
|
9734
|
-
* @beta
|
9735
|
-
*/
|
9736
|
-
export declare interface MentionDisplayOptions {
|
9737
|
-
/**
|
9738
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
9739
|
-
*/
|
9740
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
9741
|
-
}
|
9742
|
-
|
9743
|
-
/**
|
9744
|
-
* Options to lookup suggestions in the mention scenario.
|
9745
|
-
*
|
9746
|
-
* @beta
|
9747
|
-
*/
|
9748
|
-
export declare interface MentionLookupOptions {
|
9749
|
-
/**
|
9750
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
9751
|
-
*
|
9752
|
-
* @defaultValue `@`
|
9753
|
-
*/
|
9754
|
-
trigger?: string;
|
9755
|
-
/**
|
9756
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
9757
|
-
*/
|
9758
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
9759
|
-
/**
|
9760
|
-
* Optional callback to render an item of the mention suggestions list.
|
9761
|
-
*/
|
9762
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
9763
|
-
}
|
9764
|
-
|
9765
|
-
/**
|
9766
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
9767
|
-
*
|
9768
|
-
* @beta
|
9769
|
-
*/
|
9770
|
-
export declare type MentionOptions = {
|
9771
|
-
lookupOptions?: MentionLookupOptions;
|
9772
|
-
displayOptions?: MentionDisplayOptions;
|
9773
|
-
};
|
9774
|
-
|
9775
|
-
/**
|
9776
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
9777
|
-
*
|
9778
|
-
* @beta
|
9779
|
-
*/
|
9780
|
-
export declare interface MentionPopoverStrings {
|
9781
|
-
/**
|
9782
|
-
* Header text for MentionPopover
|
9783
|
-
*/
|
9784
|
-
mentionPopoverHeader: string;
|
9785
|
-
}
|
9786
|
-
|
9787
8957
|
/**
|
9788
8958
|
* Discriminated union of all messages.
|
9789
8959
|
*
|
@@ -9791,7 +8961,7 @@ export declare interface MentionPopoverStrings {
|
|
9791
8961
|
*
|
9792
8962
|
* @public
|
9793
8963
|
*/
|
9794
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
8964
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
9795
8965
|
|
9796
8966
|
/**
|
9797
8967
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -9833,20 +9003,6 @@ export declare type MessageDeletedListener = MessageReceivedListener;
|
|
9833
9003
|
*/
|
9834
9004
|
export declare type MessageEditedListener = MessageReceivedListener;
|
9835
9005
|
|
9836
|
-
/**
|
9837
|
-
* @beta
|
9838
|
-
* Message option that defines properties that can be set when
|
9839
|
-
* sending or updating a chat message.
|
9840
|
-
* @property metadata - Metadata that contains additional information about the message to be passed between 2 users.
|
9841
|
-
* @property attachments - Attachments that contains file attachments attached to the message.
|
9842
|
-
* @property type - Type of the message content, either 'text' or 'html'.
|
9843
|
-
*/
|
9844
|
-
export declare type MessageOptions = {
|
9845
|
-
metadata?: Record<string, string>;
|
9846
|
-
attachments?: AttachmentMetadata[];
|
9847
|
-
type?: ChatMessageType;
|
9848
|
-
};
|
9849
|
-
|
9850
9006
|
/**
|
9851
9007
|
* Props to render a single message.
|
9852
9008
|
*
|
@@ -9862,7 +9018,7 @@ export declare type MessageProps = {
|
|
9862
9018
|
/**
|
9863
9019
|
* Strings from parent MessageThread component
|
9864
9020
|
*/
|
9865
|
-
strings: MessageThreadStrings
|
9021
|
+
strings: MessageThreadStrings;
|
9866
9022
|
/**
|
9867
9023
|
* Custom CSS styles for chat message container.
|
9868
9024
|
*/
|
@@ -9908,7 +9064,7 @@ export declare type MessageProps = {
|
|
9908
9064
|
* @param options - message options to be included in the message
|
9909
9065
|
*
|
9910
9066
|
*/
|
9911
|
-
onSendMessage?: (content: string
|
9067
|
+
onSendMessage?: (content: string) => Promise<void>;
|
9912
9068
|
};
|
9913
9069
|
|
9914
9070
|
/**
|
@@ -10040,7 +9196,7 @@ export declare type MessageThreadProps = {
|
|
10040
9196
|
/**
|
10041
9197
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
10042
9198
|
*/
|
10043
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
9199
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
10044
9200
|
/**
|
10045
9201
|
* number of participants in the thread
|
10046
9202
|
*/
|
@@ -10121,11 +9277,6 @@ export declare type MessageThreadProps = {
|
|
10121
9277
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
10122
9278
|
*/
|
10123
9279
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
10124
|
-
/**
|
10125
|
-
* Optional callback to render attachments in the message component.
|
10126
|
-
* @beta
|
10127
|
-
*/
|
10128
|
-
onRenderAttachmentDownloads?: (message: ChatMessage) => JSX.Element;
|
10129
9280
|
/**
|
10130
9281
|
* Optional callback to edit a message.
|
10131
9282
|
*
|
@@ -10154,7 +9305,7 @@ export declare type MessageThreadProps = {
|
|
10154
9305
|
* @param options - message options to be included in the message
|
10155
9306
|
*
|
10156
9307
|
*/
|
10157
|
-
onSendMessage?: (content: string
|
9308
|
+
onSendMessage?: (content: string) => Promise<void>;
|
10158
9309
|
/**
|
10159
9310
|
/**
|
10160
9311
|
* Disable editing messages.
|
@@ -10168,32 +9319,11 @@ export declare type MessageThreadProps = {
|
|
10168
9319
|
* Optional strings to override in component
|
10169
9320
|
*/
|
10170
9321
|
strings?: Partial<MessageThreadStrings>;
|
10171
|
-
/**
|
10172
|
-
* @beta
|
10173
|
-
* Optional attachment options, which defines behvaiour for uploading and downloading attachments.
|
10174
|
-
* As this moment, the uploadOptions would be ignored and this option is intended for download only.
|
10175
|
-
*/
|
10176
|
-
attachmentOptions?: AttachmentOptions;
|
10177
|
-
/**
|
10178
|
-
* Optional function to provide customized date format.
|
10179
|
-
* @beta
|
10180
|
-
*/
|
10181
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
10182
|
-
/**
|
10183
|
-
* Optional props needed to lookup a mention query and display mentions
|
10184
|
-
* @beta
|
10185
|
-
*/
|
10186
|
-
mentionOptions?: MentionOptions;
|
10187
9322
|
/**
|
10188
9323
|
* Optional callback called when an inline image is clicked.
|
10189
9324
|
* @beta
|
10190
9325
|
*/
|
10191
9326
|
inlineImageOptions?: InlineImageOptions;
|
10192
|
-
/**
|
10193
|
-
* Options to enable rich text editor for the edit box.
|
10194
|
-
* @beta
|
10195
|
-
*/
|
10196
|
-
richTextEditorOptions?: RichTextEditBoxOptions;
|
10197
9327
|
};
|
10198
9328
|
|
10199
9329
|
/**
|
@@ -10271,20 +9401,10 @@ export declare interface MessageThreadStrings {
|
|
10271
9401
|
actionMenuMoreOptions?: string;
|
10272
9402
|
/** Aria label to announce when a message is deleted */
|
10273
9403
|
messageDeletedAnnouncementAriaLabel: string;
|
10274
|
-
/** String for download attachment button in attachment card */
|
10275
|
-
downloadAttachment: string;
|
10276
9404
|
/** String for open attachment button in attachment card */
|
10277
9405
|
openAttachment: string;
|
10278
|
-
/** String for policy violation message removal */
|
10279
|
-
blockedWarningText: string;
|
10280
|
-
/** String for policy violation message removal details link */
|
10281
|
-
blockedWarningLinkText: string;
|
10282
9406
|
/** String for aria text in attachment card group*/
|
10283
9407
|
attachmentCardGroupMessage: string;
|
10284
|
-
/**
|
10285
|
-
* Error message indicating that one or more image uploads are not complete.
|
10286
|
-
*/
|
10287
|
-
imageUploadsPendingError: string;
|
10288
9408
|
}
|
10289
9409
|
|
10290
9410
|
/**
|
@@ -10312,24 +9432,10 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
10312
9432
|
/** Styles for system message container. */
|
10313
9433
|
systemMessageContainer?: ComponentSlotStyle;
|
10314
9434
|
/** Styles for blocked message container. */
|
10315
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
10316
9435
|
/** Styles for message status indicator container. */
|
10317
9436
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
10318
9437
|
}
|
10319
9438
|
|
10320
|
-
/**
|
10321
|
-
*
|
10322
|
-
* Messaging policy of a chat thread.
|
10323
|
-
*
|
10324
|
-
* @beta
|
10325
|
-
*/
|
10326
|
-
export declare interface MessagingPolicy {
|
10327
|
-
/**
|
10328
|
-
* Boolean to track whether or not messages are restricted to only text.
|
10329
|
-
* */
|
10330
|
-
textOnlyChat?: boolean;
|
10331
|
-
}
|
10332
|
-
|
10333
9439
|
/**
|
10334
9440
|
* A button to turn microphone on / off.
|
10335
9441
|
*
|
@@ -10522,31 +9628,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
10522
9628
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
10523
9629
|
}
|
10524
9630
|
|
10525
|
-
/**
|
10526
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
10527
|
-
* by their browsers settings.
|
10528
|
-
*
|
10529
|
-
* @beta
|
10530
|
-
*/
|
10531
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
10532
|
-
|
10533
|
-
/**
|
10534
|
-
* @beta
|
10535
|
-
* Props for MicrophoneSitePermissions component.
|
10536
|
-
*/
|
10537
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
10538
|
-
/** Icon name for the microphone icon */
|
10539
|
-
microphoneIconName?: string;
|
10540
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
10541
|
-
strings?: MicrophoneSitePermissionsStrings;
|
10542
|
-
}
|
10543
|
-
|
10544
|
-
/**
|
10545
|
-
* @beta
|
10546
|
-
* Strings for MicrophoneSitePermissions component.
|
10547
|
-
*/
|
10548
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
10549
|
-
|
10550
9631
|
/**
|
10551
9632
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
10552
9633
|
*
|
@@ -11328,10 +10409,6 @@ export declare type ParticipantListProps = {
|
|
11328
10409
|
styles?: ParticipantListStyles;
|
11329
10410
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
11330
10411
|
showParticipantOverflowTooltip?: boolean;
|
11331
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
11332
|
-
totalParticipantCount?: number;
|
11333
|
-
/** Strings for the participant list */
|
11334
|
-
strings?: ParticipantListStrings;
|
11335
10412
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
11336
10413
|
participantAriaLabelledBy?: string;
|
11337
10414
|
/** List of pinned participants */
|
@@ -11346,21 +10423,8 @@ export declare type ParticipantListProps = {
|
|
11346
10423
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
11347
10424
|
participants: CallParticipantListParticipant[];
|
11348
10425
|
myUserId: string;
|
11349
|
-
totalParticipantCount?: number;
|
11350
10426
|
};
|
11351
10427
|
|
11352
|
-
/**
|
11353
|
-
* Strings for the {@link ParticipantList}.
|
11354
|
-
*
|
11355
|
-
* @beta
|
11356
|
-
*/
|
11357
|
-
export declare interface ParticipantListStrings {
|
11358
|
-
/**
|
11359
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
11360
|
-
*/
|
11361
|
-
overflowParticipantCount?: string;
|
11362
|
-
}
|
11363
|
-
|
11364
10428
|
/**
|
11365
10429
|
* Styles for the {@link ParticipantList}.
|
11366
10430
|
*
|
@@ -12052,15 +11116,6 @@ export declare interface RecordingCallFeature {
|
|
12052
11116
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.isRecordingActive}.
|
12053
11117
|
*/
|
12054
11118
|
isRecordingActive: boolean;
|
12055
|
-
/**
|
12056
|
-
* Contains list of information of started recordings
|
12057
|
-
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.recordings}.
|
12058
|
-
*/
|
12059
|
-
activeRecordings?: RecordingInfo[];
|
12060
|
-
/**
|
12061
|
-
* Contains list of information of stopped recordings
|
12062
|
-
*/
|
12063
|
-
lastStoppedRecording?: RecordingInfo[];
|
12064
11119
|
}
|
12065
11120
|
|
12066
11121
|
/**
|
@@ -12203,256 +11258,6 @@ export declare type ResourceFetchResult = {
|
|
12203
11258
|
error?: Error;
|
12204
11259
|
};
|
12205
11260
|
|
12206
|
-
/**
|
12207
|
-
* Options for the rich text editor edit box configuration.
|
12208
|
-
*
|
12209
|
-
* @beta
|
12210
|
-
*/
|
12211
|
-
export declare interface RichTextEditBoxOptions extends RichTextEditorOptions {
|
12212
|
-
/**
|
12213
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12214
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12215
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12216
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12217
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12218
|
-
*/
|
12219
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12220
|
-
/**
|
12221
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12222
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12223
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12224
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12225
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
12226
|
-
*/
|
12227
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
12228
|
-
/**
|
12229
|
-
* Optional Record of type {@link AttachmentMetadataInProgress}
|
12230
|
-
* to render the errorBar for inline images inserted in the MessageThread's edit boxes when:
|
12231
|
-
* - there is an error provided in the messagesInlineImagesWithProgress
|
12232
|
-
* - progress is less than 1 when the send button is clicked
|
12233
|
-
* - content html string is longer than the max allowed length.
|
12234
|
-
* (Note that the id and the url prop of the messagesInlineImagesWithProgress will be used as the id and src attribute of the content html
|
12235
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12236
|
-
*/
|
12237
|
-
messagesInlineImagesWithProgress?: Record<string, AttachmentMetadataInProgress[]>;
|
12238
|
-
}
|
12239
|
-
|
12240
|
-
/**
|
12241
|
-
* Options for the rich text editor configuration.
|
12242
|
-
*
|
12243
|
-
* @beta
|
12244
|
-
*/
|
12245
|
-
export declare interface RichTextEditorOptions {
|
12246
|
-
/**
|
12247
|
-
* Optional callback to handle paste event.
|
12248
|
-
*/
|
12249
|
-
onPaste?: (event: {
|
12250
|
-
content: DocumentFragment;
|
12251
|
-
}) => void;
|
12252
|
-
}
|
12253
|
-
|
12254
|
-
/**
|
12255
|
-
* A component to render SendBox with Rich Text Editor support.
|
12256
|
-
*
|
12257
|
-
* @beta
|
12258
|
-
*/
|
12259
|
-
export declare const RichTextSendBox: (props: RichTextSendBoxProps) => JSX.Element;
|
12260
|
-
|
12261
|
-
/**
|
12262
|
-
* Props for {@link RichTextSendBox}.
|
12263
|
-
*
|
12264
|
-
* @beta
|
12265
|
-
*/
|
12266
|
-
export declare interface RichTextSendBoxProps {
|
12267
|
-
/**
|
12268
|
-
* Optional boolean to disable text box
|
12269
|
-
* @defaultValue false
|
12270
|
-
*/
|
12271
|
-
disabled?: boolean;
|
12272
|
-
/**
|
12273
|
-
* Optional callback to handle paste event.
|
12274
|
-
*/
|
12275
|
-
onPaste?: (event: {
|
12276
|
-
content: DocumentFragment;
|
12277
|
-
}) => void;
|
12278
|
-
/**
|
12279
|
-
* Optional strings to override in component
|
12280
|
-
*/
|
12281
|
-
strings?: Partial<RichTextSendBoxStrings>;
|
12282
|
-
/**
|
12283
|
-
* Optional text for system message above the text box
|
12284
|
-
*/
|
12285
|
-
systemMessage?: string;
|
12286
|
-
/**
|
12287
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12288
|
-
* to render attachments being uploaded in the SendBox.
|
12289
|
-
* @beta
|
12290
|
-
*/
|
12291
|
-
attachments?: AttachmentMetadataInProgress[];
|
12292
|
-
/**
|
12293
|
-
* enumerable to determine if the input box has focus on render or not.
|
12294
|
-
* When undefined nothing has focus on render
|
12295
|
-
*/
|
12296
|
-
autoFocus?: 'sendBoxTextField';
|
12297
|
-
/**
|
12298
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12299
|
-
* cancel icon.
|
12300
|
-
*/
|
12301
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12302
|
-
/**
|
12303
|
-
* Optional callback invoked after inline image is removed from the UI.
|
12304
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12305
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
12306
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
12307
|
-
*/
|
12308
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12309
|
-
/**
|
12310
|
-
* Callback function used when the send button is clicked.
|
12311
|
-
*/
|
12312
|
-
onSendMessage: (content: string, options?: MessageOptions) => Promise<void>;
|
12313
|
-
/**
|
12314
|
-
* Optional callback called when user is typing
|
12315
|
-
*/
|
12316
|
-
onTyping?: () => Promise<void>;
|
12317
|
-
/**
|
12318
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
12319
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
12320
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
12321
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
12322
|
-
*/
|
12323
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>) => void;
|
12324
|
-
/**
|
12325
|
-
* Optional Array of type {@link AttachmentMetadataInProgress}
|
12326
|
-
* to render the errorBar for inline images inserted in the RichTextSendBox when:
|
12327
|
-
* - there is an error provided in the inlineImagesWithProgress
|
12328
|
-
* - progress is less than 1 when the send button is clicked
|
12329
|
-
* - content html string is longer than the max allowed length.
|
12330
|
-
* (Note that the id and the url prop of the inlineImagesWithProgress will be used as the id and src attribute of the content html
|
12331
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
12332
|
-
*/
|
12333
|
-
inlineImagesWithProgress?: AttachmentMetadataInProgress[];
|
12334
|
-
}
|
12335
|
-
|
12336
|
-
/**
|
12337
|
-
* Strings of {@link RichTextSendBox} that can be overridden.
|
12338
|
-
*
|
12339
|
-
* @beta
|
12340
|
-
*/
|
12341
|
-
export declare interface RichTextSendBoxStrings extends RichTextStrings, SendBoxStrings {
|
12342
|
-
}
|
12343
|
-
|
12344
|
-
/**
|
12345
|
-
* Strings of RichText that can be overridden.
|
12346
|
-
*
|
12347
|
-
* @beta
|
12348
|
-
*/
|
12349
|
-
export declare interface RichTextStrings {
|
12350
|
-
/**
|
12351
|
-
* Tooltip text for the bold button.
|
12352
|
-
*/
|
12353
|
-
richTextBoldTooltip: string;
|
12354
|
-
/**
|
12355
|
-
* Tooltip text for the italic button.
|
12356
|
-
*/
|
12357
|
-
richTextItalicTooltip: string;
|
12358
|
-
/**
|
12359
|
-
* Tooltip text for the underline button.
|
12360
|
-
*/
|
12361
|
-
richTextUnderlineTooltip: string;
|
12362
|
-
/**
|
12363
|
-
* Tooltip text for the bullet list button.
|
12364
|
-
*/
|
12365
|
-
richTextBulletListTooltip: string;
|
12366
|
-
/**
|
12367
|
-
* Tooltip text for the number list button.
|
12368
|
-
*/
|
12369
|
-
richTextNumberListTooltip: string;
|
12370
|
-
/**
|
12371
|
-
* Tooltip text for the increase indent button.
|
12372
|
-
*/
|
12373
|
-
richTextIncreaseIndentTooltip: string;
|
12374
|
-
/**
|
12375
|
-
* Tooltip text for the decrease indent button.
|
12376
|
-
*/
|
12377
|
-
richTextDecreaseIndentTooltip: string;
|
12378
|
-
/**
|
12379
|
-
* Tooltip text insert table button.
|
12380
|
-
*/
|
12381
|
-
richTextInsertTableTooltip: string;
|
12382
|
-
/**
|
12383
|
-
* Tooltip text for the rich text format button button.
|
12384
|
-
*/
|
12385
|
-
richTextFormatButtonTooltip: string;
|
12386
|
-
/**
|
12387
|
-
* Text for the insert menu item.
|
12388
|
-
*/
|
12389
|
-
richTextInsertRowOrColumnMenu: string;
|
12390
|
-
/**
|
12391
|
-
* Title for the insert table menu.
|
12392
|
-
*/
|
12393
|
-
richTextInsertTableMenuTitle: string;
|
12394
|
-
/**
|
12395
|
-
* Text for the insert menu item to insert row above the current selection.
|
12396
|
-
*/
|
12397
|
-
richTextInsertRowAboveMenu: string;
|
12398
|
-
/**
|
12399
|
-
* Text for the insert menu item to insert row below the current selection.
|
12400
|
-
*/
|
12401
|
-
richTextInsertRowBelowMenu: string;
|
12402
|
-
/**
|
12403
|
-
* Text for the insert menu item to insert column to the left from the current selection.
|
12404
|
-
*/
|
12405
|
-
richTextInsertColumnLeftMenu: string;
|
12406
|
-
/**
|
12407
|
-
* Text for the insert menu item to insert column to the right from the current selection.
|
12408
|
-
*/
|
12409
|
-
richTextInsertColumnRightMenu: string;
|
12410
|
-
/**
|
12411
|
-
* Text for the delete row or column menu.
|
12412
|
-
*/
|
12413
|
-
richTextDeleteRowOrColumnMenu: string;
|
12414
|
-
/**
|
12415
|
-
* Text for the delete column menu.
|
12416
|
-
*/
|
12417
|
-
richTextDeleteColumnMenu: string;
|
12418
|
-
/**
|
12419
|
-
* Text for the delete row menu.
|
12420
|
-
*/
|
12421
|
-
richTextDeleteRowMenu: string;
|
12422
|
-
/**
|
12423
|
-
* Text for the delete table menu.
|
12424
|
-
*/
|
12425
|
-
richTextDeleteTableMenu: string;
|
12426
|
-
/**
|
12427
|
-
* Text for the rich text toolbar.
|
12428
|
-
*/
|
12429
|
-
richTextToolbarAriaLabel: string;
|
12430
|
-
/**
|
12431
|
-
* Text for the rich text toolbar more button.
|
12432
|
-
*/
|
12433
|
-
richTextToolbarMoreButtonAriaLabel: string;
|
12434
|
-
/**
|
12435
|
-
* Text for announcement when a new bulleted list item is added.
|
12436
|
-
*/
|
12437
|
-
richTextNewBulletedListItemAnnouncement: string;
|
12438
|
-
/**
|
12439
|
-
* Text for announcement when a new numbered list item is added.
|
12440
|
-
*/
|
12441
|
-
richTextNewNumberedListItemAnnouncement: string;
|
12442
|
-
/**
|
12443
|
-
* Text for announcement when the bulleted list style is applied.
|
12444
|
-
*/
|
12445
|
-
richTextBulletedListAppliedAnnouncement: string;
|
12446
|
-
/**
|
12447
|
-
* Text for announcement when the numbered list style is applied.
|
12448
|
-
*/
|
12449
|
-
richTextNumberedListAppliedAnnouncement: string;
|
12450
|
-
/**
|
12451
|
-
* Error message indicating image upload is not complete.
|
12452
|
-
*/
|
12453
|
-
imageUploadsPendingError: string;
|
12454
|
-
}
|
12455
|
-
|
12456
11261
|
/**
|
12457
11262
|
* A button to start / stop screen sharing.
|
12458
11263
|
*
|
@@ -12524,42 +11329,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
12524
11329
|
*/
|
12525
11330
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
12526
11331
|
|
12527
|
-
/**
|
12528
|
-
* @beta
|
12529
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
12530
|
-
*/
|
12531
|
-
export declare interface SendBoxErrorBarError {
|
12532
|
-
/** Error Message to be displayed */
|
12533
|
-
message: string;
|
12534
|
-
/**
|
12535
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
12536
|
-
*/
|
12537
|
-
timestamp: number;
|
12538
|
-
/**
|
12539
|
-
* ErrorBar type. Defaults to `warning`.
|
12540
|
-
*/
|
12541
|
-
errorBarType?: SendBoxErrorBarType;
|
12542
|
-
}
|
12543
|
-
|
12544
|
-
/**
|
12545
|
-
* @beta
|
12546
|
-
* Error bar type for {@link SendBoxErrorBarError}
|
12547
|
-
*/
|
12548
|
-
export declare enum SendBoxErrorBarType {
|
12549
|
-
/** Info styled MessageBar */
|
12550
|
-
info = 0,
|
12551
|
-
/** Error styled MessageBar */
|
12552
|
-
error = 1,
|
12553
|
-
/** Blocked styled MessageBar */
|
12554
|
-
blocked = 2,
|
12555
|
-
/** SevereWarning styled MessageBar */
|
12556
|
-
severeWarning = 3,
|
12557
|
-
/** Success styled MessageBar */
|
12558
|
-
success = 4,
|
12559
|
-
/** Warning styled MessageBar */
|
12560
|
-
warning = 5
|
12561
|
-
}
|
12562
|
-
|
12563
11332
|
/**
|
12564
11333
|
* Props for {@link SendBox}.
|
12565
11334
|
*
|
@@ -12578,12 +11347,7 @@ export declare interface SendBoxProps {
|
|
12578
11347
|
/**
|
12579
11348
|
* Optional override behavior on send button click
|
12580
11349
|
*/
|
12581
|
-
onSendMessage?: (content: string
|
12582
|
-
/**
|
12583
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
12584
|
-
* @beta
|
12585
|
-
*/
|
12586
|
-
mentionLookupOptions?: MentionLookupOptions;
|
11350
|
+
onSendMessage?: (content: string) => Promise<void>;
|
12587
11351
|
/**
|
12588
11352
|
* Optional callback called when user is typing
|
12589
11353
|
*/
|
@@ -12620,25 +11384,6 @@ export declare interface SendBoxProps {
|
|
12620
11384
|
* When undefined nothing has focus on render
|
12621
11385
|
*/
|
12622
11386
|
autoFocus?: 'sendBoxTextField';
|
12623
|
-
/**
|
12624
|
-
* Optional callback to render uploaded attachments in the SendBox. The sendBox will expand
|
12625
|
-
* vertically to accommodate the uploaded attachments. Attachment uploads will
|
12626
|
-
* be rendered below the text area in sendBox.
|
12627
|
-
* @beta
|
12628
|
-
*/
|
12629
|
-
onRenderAttachmentUploads?: () => JSX.Element;
|
12630
|
-
/**
|
12631
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
12632
|
-
* to render attachments being uploaded in the SendBox.
|
12633
|
-
* @beta
|
12634
|
-
*/
|
12635
|
-
attachments?: AttachmentMetadataInProgress[];
|
12636
|
-
/**
|
12637
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
12638
|
-
* cancel icon.
|
12639
|
-
* @beta
|
12640
|
-
*/
|
12641
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
12642
11387
|
}
|
12643
11388
|
|
12644
11389
|
/**
|
@@ -12669,26 +11414,6 @@ export declare interface SendBoxStrings {
|
|
12669
11414
|
* Aria label for send message button
|
12670
11415
|
*/
|
12671
11416
|
sendButtonAriaLabel: string;
|
12672
|
-
/**
|
12673
|
-
* Error message indicating that all attachment uploads are not complete.
|
12674
|
-
*/
|
12675
|
-
attachmentUploadsPendingError: string;
|
12676
|
-
/**
|
12677
|
-
* Aria label to notify user when focus is on cancel attachment upload button.
|
12678
|
-
*/
|
12679
|
-
removeAttachment: string;
|
12680
|
-
/**
|
12681
|
-
* Aria label to notify user attachment uploading starts.
|
12682
|
-
*/
|
12683
|
-
uploading: string;
|
12684
|
-
/**
|
12685
|
-
* Aria label to notify user attachment is uploaded.
|
12686
|
-
*/
|
12687
|
-
uploadCompleted: string;
|
12688
|
-
/**
|
12689
|
-
* Aria label to notify user more attachment action menu.
|
12690
|
-
*/
|
12691
|
-
attachmentMoreMenu: string;
|
12692
11417
|
}
|
12693
11418
|
|
12694
11419
|
/**
|
@@ -12709,45 +11434,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
12709
11434
|
systemMessage?: IStyle;
|
12710
11435
|
}
|
12711
11436
|
|
12712
|
-
/**
|
12713
|
-
* @beta
|
12714
|
-
* Strings for SitePermissions component
|
12715
|
-
*/
|
12716
|
-
export declare type SitePermissionsStrings = {
|
12717
|
-
/**
|
12718
|
-
* Main text string.
|
12719
|
-
*/
|
12720
|
-
primaryText?: string;
|
12721
|
-
/**
|
12722
|
-
* Subtext string.
|
12723
|
-
*/
|
12724
|
-
secondaryText?: string;
|
12725
|
-
/**
|
12726
|
-
* More help link string.
|
12727
|
-
*/
|
12728
|
-
linkText?: string;
|
12729
|
-
/**
|
12730
|
-
* Primary button text string.
|
12731
|
-
*/
|
12732
|
-
primaryButtonText?: string;
|
12733
|
-
/**
|
12734
|
-
* Aria label describing the content of the container
|
12735
|
-
*/
|
12736
|
-
ariaLabel?: string;
|
12737
|
-
};
|
12738
|
-
|
12739
|
-
/**
|
12740
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
12741
|
-
*
|
12742
|
-
* @beta
|
12743
|
-
*/
|
12744
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
12745
|
-
/** Styles for the primary button. */
|
12746
|
-
primaryButton?: IButtonStyles;
|
12747
|
-
/** Styles for the help troubleshooting link text. */
|
12748
|
-
troubleshootingLink?: ILinkStyles;
|
12749
|
-
}
|
12750
|
-
|
12751
11437
|
/**
|
12752
11438
|
* @public
|
12753
11439
|
* Type for representing a custom sound to use for a calling event
|
@@ -13067,13 +11753,6 @@ export declare interface StartRealTimeTextButtonStrings {
|
|
13067
11753
|
tooltipOffContent: string;
|
13068
11754
|
}
|
13069
11755
|
|
13070
|
-
/**
|
13071
|
-
* Parameter to start a call using a Teams user identity.
|
13072
|
-
*
|
13073
|
-
* @beta
|
13074
|
-
*/
|
13075
|
-
export declare type StartTeamsCallIdentifier = MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier;
|
13076
|
-
|
13077
11756
|
/**
|
13078
11757
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
13079
11758
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -13524,7 +12203,7 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
|
13524
12203
|
* @public
|
13525
12204
|
*/
|
13526
12205
|
export declare type TeamsCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13527
|
-
locator: TeamsMeetingLinkLocator |
|
12206
|
+
locator: TeamsMeetingLinkLocator | TeamsMeetingIdLocator;
|
13528
12207
|
};
|
13529
12208
|
|
13530
12209
|
/**
|
@@ -13597,17 +12276,6 @@ export declare interface TeamsIncomingCallState {
|
|
13597
12276
|
endTime?: Date;
|
13598
12277
|
}
|
13599
12278
|
|
13600
|
-
/**
|
13601
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
13602
|
-
*
|
13603
|
-
* This is used to create an outbound call scenarios.
|
13604
|
-
*
|
13605
|
-
* @beta
|
13606
|
-
*/
|
13607
|
-
export declare type TeamsOutboundCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
13608
|
-
targetCallees: StartTeamsCallIdentifier[];
|
13609
|
-
};
|
13610
|
-
|
13611
12279
|
/**
|
13612
12280
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
13613
12281
|
*
|
@@ -13898,21 +12566,7 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
13898
12566
|
* @public
|
13899
12567
|
* Callback function run when a message is updated.
|
13900
12568
|
*/
|
13901
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
13902
|
-
|
13903
|
-
/**
|
13904
|
-
* Result payload for uploading an image.
|
13905
|
-
*
|
13906
|
-
* @beta
|
13907
|
-
*/
|
13908
|
-
export declare type UploadChatImageResult = {
|
13909
|
-
/** Id of the image. */
|
13910
|
-
id: string;
|
13911
|
-
/** The type of attachment. */
|
13912
|
-
attachmentType?: 'image' | 'file' | 'unknown';
|
13913
|
-
/** The name including file extension type of the attachment. */
|
13914
|
-
name?: string;
|
13915
|
-
};
|
12569
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
13916
12570
|
|
13917
12571
|
/**
|
13918
12572
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -14086,7 +12740,7 @@ export declare const useTeamsCall: () => undefined | TeamsCall;
|
|
14086
12740
|
*
|
14087
12741
|
* @public
|
14088
12742
|
*/
|
14089
|
-
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;
|
14090
12744
|
|
14091
12745
|
/**
|
14092
12746
|
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|