@azure/communication-react 1.31.0-beta.1 → 1.31.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 +24 -1373
- package/dist/dist-cjs/communication-react/index.js +40378 -174
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.d.ts +0 -13
- package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/constants.d.ts +0 -5
- package/dist/dist-esm/acs-ui-common/src/constants.js +0 -5
- package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +0 -4
- package/dist/dist-esm/acs-ui-common/src/index.js +0 -3
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/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/handlers/createCommonHandlers.d.ts +0 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -6
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +1 -25
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.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 +0 -35
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -5
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +12 -27
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +0 -3
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +1 -7
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -17
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +2 -6
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +2 -36
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -2
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +0 -4
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +2 -25
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -15
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +1 -2
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.d.ts +0 -1
- package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +0 -21
- package/dist/dist-esm/communication-react/src/index.js +0 -3
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +0 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -13
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +3 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -32
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +5 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +4 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.d.ts +1 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +6 -31
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +1 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +0 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +2 -23
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +6 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +6 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +5 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +0 -2
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -15
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +5 -81
- package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -13
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +3 -12
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +1 -51
- package/dist/dist-esm/react-components/src/components/SendBox.js +6 -58
- package/dist/dist-esm/react-components/src/components/SendBox.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/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/localization/locales/ja-JP/strings.json +2 -2
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -24
- package/dist/dist-esm/react-components/src/theming/icons.js +0 -67
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/themes.js +0 -9
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/Attachment.d.ts +0 -13
- package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -20
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -59
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +10 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +6 -38
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +1 -12
- 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/LocalDeviceSettings.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +5 -43
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +0 -68
- 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 +2 -16
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +4 -10
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -14
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -27
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +11 -189
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +2 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +0 -36
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +2 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.d.ts +2 -41
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js +0 -21
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/constants.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/constants.js +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -26
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +5 -5
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DdSFdo_m.js +0 -213
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-DdSFdo_m.js.map +0 -1
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-C2HrwCVY.js +0 -49
- package/dist/dist-cjs/communication-react/RichTextSendBoxWrapper-C2HrwCVY.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-CH39vOsT.js +0 -46344
- package/dist/dist-cjs/communication-react/index-CH39vOsT.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 -203
- 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 -184
- 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 -267
- 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 -66
- 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';
|
|
@@ -278,40 +274,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
|
278
274
|
*/
|
|
279
275
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
|
280
276
|
|
|
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
277
|
/**
|
|
316
278
|
* Data model that represents a chat message attachment
|
|
317
279
|
* where it contains an ID to uniquely identify the attachment,
|
|
@@ -335,150 +297,6 @@ export declare interface AttachmentMetadata {
|
|
|
335
297
|
url: string;
|
|
336
298
|
}
|
|
337
299
|
|
|
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
300
|
/**
|
|
483
301
|
* Custom data attributes for displaying avatar for a user.
|
|
484
302
|
*
|
|
@@ -670,26 +488,6 @@ export declare interface BaseCustomStyles {
|
|
|
670
488
|
root?: IStyle;
|
|
671
489
|
}
|
|
672
490
|
|
|
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
491
|
/**
|
|
694
492
|
* Breakout rooms state
|
|
695
493
|
*
|
|
@@ -704,136 +502,6 @@ export declare interface BreakoutRoomsState {
|
|
|
704
502
|
breakoutRoomDisplayName?: string;
|
|
705
503
|
}
|
|
706
504
|
|
|
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
505
|
/**
|
|
838
506
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
|
839
507
|
*
|
|
@@ -1433,7 +1101,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
|
1433
1101
|
*
|
|
1434
1102
|
* @public
|
|
1435
1103
|
*/
|
|
1436
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator |
|
|
1104
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | TeamsMeetingIdLocator;
|
|
1437
1105
|
|
|
1438
1106
|
/**
|
|
1439
1107
|
* {@link CommonCallAdapter} state.
|
|
@@ -1699,7 +1367,7 @@ export declare interface CallAgentState {
|
|
|
1699
1367
|
*/
|
|
1700
1368
|
export declare interface CallAndChatLocator {
|
|
1701
1369
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
|
1702
|
-
callLocator: GroupCallLocator
|
|
1370
|
+
callLocator: GroupCallLocator;
|
|
1703
1371
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
|
1704
1372
|
chatThreadId: string;
|
|
1705
1373
|
}
|
|
@@ -1969,43 +1637,6 @@ export declare type CallCompositeOptions = {
|
|
|
1969
1637
|
* @defaultValue true
|
|
1970
1638
|
*/
|
|
1971
1639
|
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
1640
|
/**
|
|
2010
1641
|
* Remote participant video tile menu options
|
|
2011
1642
|
*/
|
|
@@ -3260,7 +2891,7 @@ export declare type CallErrors = {
|
|
|
3260
2891
|
*
|
|
3261
2892
|
* @public
|
|
3262
2893
|
*/
|
|
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.dispose' | '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.
|
|
2894
|
+
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.dispose' | '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
2895
|
|
|
3265
2896
|
/**
|
|
3266
2897
|
* Represents the name of the call feature stream
|
|
@@ -3431,23 +3062,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
|
3431
3062
|
mediaAccess?: MediaAccess;
|
|
3432
3063
|
};
|
|
3433
3064
|
|
|
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
3065
|
/**
|
|
3452
3066
|
* A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
|
|
3453
3067
|
*
|
|
@@ -3552,10 +3166,6 @@ export declare interface CallState {
|
|
|
3552
3166
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
|
3553
3167
|
*/
|
|
3554
3168
|
recording: RecordingCallFeature;
|
|
3555
|
-
/**
|
|
3556
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature}.
|
|
3557
|
-
*/
|
|
3558
|
-
localRecording: LocalRecordingCallFeatureState;
|
|
3559
3169
|
/**
|
|
3560
3170
|
* Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
|
|
3561
3171
|
*
|
|
@@ -3616,10 +3226,6 @@ export declare interface CallState {
|
|
|
3616
3226
|
* Proxy of {@link @azure/communication-calling#Call.role}.
|
|
3617
3227
|
*/
|
|
3618
3228
|
role?: ParticipantRole;
|
|
3619
|
-
/**
|
|
3620
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
|
3621
|
-
*/
|
|
3622
|
-
totalParticipantCount?: number;
|
|
3623
3229
|
/**
|
|
3624
3230
|
* Transfer state of call
|
|
3625
3231
|
*/
|
|
@@ -3639,7 +3245,7 @@ export declare interface CallState {
|
|
|
3639
3245
|
/**
|
|
3640
3246
|
* Proxy of {@link @azure/communication-calling#Call.info}.
|
|
3641
3247
|
*/
|
|
3642
|
-
info?: TeamsCallInfo
|
|
3248
|
+
info?: TeamsCallInfo;
|
|
3643
3249
|
/**
|
|
3644
3250
|
* Proxy of {@link @azure/communication-calling#TeamsMeetingAudioConferencingCallFeature}.
|
|
3645
3251
|
*/
|
|
@@ -3981,19 +3587,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
|
3981
3587
|
*
|
|
3982
3588
|
* @public
|
|
3983
3589
|
*/
|
|
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>;
|
|
3590
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
|
3997
3591
|
/**
|
|
3998
3592
|
* Send a read receipt for a message.
|
|
3999
3593
|
*
|
|
@@ -4011,7 +3605,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
|
4011
3605
|
*
|
|
4012
3606
|
* @public
|
|
4013
3607
|
*/
|
|
4014
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
|
3608
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
|
4015
3609
|
/**
|
|
4016
3610
|
* Delete a message in the thread.
|
|
4017
3611
|
*
|
|
@@ -4458,49 +4052,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
|
4458
4052
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
|
4459
4053
|
*/
|
|
4460
4054
|
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
4055
|
/**
|
|
4505
4056
|
* Remote participant video tile menu options
|
|
4506
4057
|
*/
|
|
@@ -4607,13 +4158,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
|
4607
4158
|
*/
|
|
4608
4159
|
hideSpotlightButtons?: boolean;
|
|
4609
4160
|
};
|
|
4610
|
-
/**
|
|
4611
|
-
* Enables rich text editor for the send and edit boxes
|
|
4612
|
-
* @defaultValue `false`
|
|
4613
|
-
*
|
|
4614
|
-
* @beta
|
|
4615
|
-
*/
|
|
4616
|
-
richTextEditor?: boolean;
|
|
4617
4161
|
/**
|
|
4618
4162
|
* Options for settings related to joining a call.
|
|
4619
4163
|
*/
|
|
@@ -4869,35 +4413,6 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
|
4869
4413
|
*/
|
|
4870
4414
|
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
4415
|
|
|
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
4416
|
/**
|
|
4902
4417
|
* A button to turn camera on / off.
|
|
4903
4418
|
*
|
|
@@ -5058,31 +4573,6 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
|
5058
4573
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
|
5059
4574
|
}
|
|
5060
4575
|
|
|
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
4576
|
/**
|
|
5087
4577
|
* @public
|
|
5088
4578
|
* Callback function run when a message edit is cancelled.
|
|
@@ -5718,15 +5208,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
|
5718
5208
|
* Send a message in the thread.
|
|
5719
5209
|
* Please note that SendMessageOptions is being deprecated, please use MessageOptions instead.
|
|
5720
5210
|
*/
|
|
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>;
|
|
5211
|
+
sendMessage(content: string, options?: SendMessageOptions): Promise<void>;
|
|
5730
5212
|
/**
|
|
5731
5213
|
* Send a read receipt for a message.
|
|
5732
5214
|
*/
|
|
@@ -5747,7 +5229,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
|
5747
5229
|
* Update a message content.
|
|
5748
5230
|
* Please note that metadata is being deprecated, please use MessageOptions.metadata instead.
|
|
5749
5231
|
*/
|
|
5750
|
-
updateMessage(messageId: string, content: string, options?: Record<string, string>
|
|
5232
|
+
updateMessage(messageId: string, content: string, options?: Record<string, string>): Promise<void>;
|
|
5751
5233
|
/**
|
|
5752
5234
|
* Delete a message in the thread.
|
|
5753
5235
|
*/
|
|
@@ -5885,7 +5367,6 @@ export declare type ChatCompositeIcons = {
|
|
|
5885
5367
|
ParticipantItemOptionsHovered?: JSX.Element;
|
|
5886
5368
|
SendBoxSend?: JSX.Element;
|
|
5887
5369
|
SendBoxSendHovered?: JSX.Element;
|
|
5888
|
-
SendBoxAttachFile?: JSX.Element;
|
|
5889
5370
|
};
|
|
5890
5371
|
|
|
5891
5372
|
/**
|
|
@@ -5933,13 +5414,6 @@ export declare type ChatCompositeOptions = {
|
|
|
5933
5414
|
* @defaultValue true
|
|
5934
5415
|
*/
|
|
5935
5416
|
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
5417
|
/**
|
|
5944
5418
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
|
5945
5419
|
* @defaultValue true
|
|
@@ -5950,19 +5424,6 @@ export declare type ChatCompositeOptions = {
|
|
|
5950
5424
|
* When undefined nothing has focus on render
|
|
5951
5425
|
*/
|
|
5952
5426
|
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
5427
|
};
|
|
5967
5428
|
|
|
5968
5429
|
/**
|
|
@@ -5990,12 +5451,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
|
5990
5451
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
|
5991
5452
|
*/
|
|
5992
5453
|
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
5454
|
}
|
|
6000
5455
|
|
|
6001
5456
|
/**
|
|
@@ -6010,26 +5465,6 @@ export declare interface ChatCompositeStrings {
|
|
|
6010
5465
|
* Chat list header text
|
|
6011
5466
|
*/
|
|
6012
5467
|
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
5468
|
}
|
|
6034
5469
|
|
|
6035
5470
|
/**
|
|
@@ -6078,7 +5513,7 @@ export declare type ChatErrors = {
|
|
|
6078
5513
|
*
|
|
6079
5514
|
* @public
|
|
6080
5515
|
*/
|
|
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.updateProperties' | 'ChatThreadClient.updateTopic'
|
|
5516
|
+
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.updateProperties' | 'ChatThreadClient.updateTopic';
|
|
6082
5517
|
|
|
6083
5518
|
/**
|
|
6084
5519
|
* Object containing all the handlers required for chat components.
|
|
@@ -6089,15 +5524,13 @@ export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClien
|
|
|
6089
5524
|
* @public
|
|
6090
5525
|
*/
|
|
6091
5526
|
export declare type ChatHandlers = {
|
|
6092
|
-
onSendMessage: (content: string, options?: SendMessageOptions
|
|
6093
|
-
onUploadImage: (image: Blob, imageFilename: string) => Promise<UploadChatImageResult>;
|
|
6094
|
-
onDeleteImage: (imageId: string) => Promise<void>;
|
|
5527
|
+
onSendMessage: (content: string, options?: SendMessageOptions) => Promise<void>;
|
|
6095
5528
|
onMessageSeen: (chatMessageId: string) => Promise<void>;
|
|
6096
5529
|
onTyping: () => Promise<void>;
|
|
6097
5530
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
|
6098
5531
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
|
6099
5532
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
|
6100
|
-
onUpdateMessage: (messageId: string, content: string
|
|
5533
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
|
6101
5534
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
|
6102
5535
|
};
|
|
6103
5536
|
|
|
@@ -6140,12 +5573,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
|
6140
5573
|
attachments?: AttachmentMetadata[];
|
|
6141
5574
|
}
|
|
6142
5575
|
|
|
6143
|
-
/**
|
|
6144
|
-
* @beta
|
|
6145
|
-
* Type of the message content, either 'text' or 'html'.
|
|
6146
|
-
*/
|
|
6147
|
-
export declare type ChatMessageType = 'text' | 'html';
|
|
6148
|
-
|
|
6149
5576
|
/**
|
|
6150
5577
|
* An extension to {@link @azure/communication-chat#ChatMessage} that stores
|
|
6151
5578
|
* client-side only metadata for chat messages.
|
|
@@ -6264,8 +5691,6 @@ export declare type ChatThreadClientState = {
|
|
|
6264
5691
|
*/
|
|
6265
5692
|
export declare type ChatThreadProperties = {
|
|
6266
5693
|
topic?: string;
|
|
6267
|
-
createdBy?: CommunicationIdentifierKind;
|
|
6268
|
-
messagingPolicy?: MessagingPolicy;
|
|
6269
5694
|
};
|
|
6270
5695
|
|
|
6271
5696
|
/**
|
|
@@ -6537,7 +5962,6 @@ export declare interface CommonCallingHandlers {
|
|
|
6537
5962
|
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
|
6538
5963
|
onRemoveParticipant(userId: string): Promise<void>;
|
|
6539
5964
|
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
|
6540
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
|
6541
5965
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
|
6542
5966
|
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
|
6543
5967
|
onRejectCall: (incomingCallId: string) => Promise<void>;
|
|
@@ -6624,39 +6048,6 @@ export declare type CommonProperties<A, B> = {
|
|
|
6624
6048
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
|
6625
6049
|
}[keyof A & keyof B];
|
|
6626
6050
|
|
|
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
6051
|
/**
|
|
6661
6052
|
* A Chat or Calling participant's state, as reflected in the UI.
|
|
6662
6053
|
*
|
|
@@ -6854,11 +6245,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
|
6854
6245
|
export declare interface ComponentLocale {
|
|
6855
6246
|
/** Strings for components */
|
|
6856
6247
|
strings: ComponentStrings;
|
|
6857
|
-
/**
|
|
6858
|
-
* Optional function to provide customized date format.
|
|
6859
|
-
* @beta
|
|
6860
|
-
*/
|
|
6861
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
|
6862
6248
|
}
|
|
6863
6249
|
|
|
6864
6250
|
/**
|
|
@@ -6908,10 +6294,6 @@ export declare interface ComponentStrings {
|
|
|
6908
6294
|
typingIndicator: TypingIndicatorStrings;
|
|
6909
6295
|
/** Strings for SendBox */
|
|
6910
6296
|
sendBox: SendBoxStrings;
|
|
6911
|
-
/** Strings for RichTextSendBox */
|
|
6912
|
-
richTextSendBox: RichTextSendBoxStrings;
|
|
6913
|
-
/** Strings for MentionPopover */
|
|
6914
|
-
mentionPopover: MentionPopoverStrings;
|
|
6915
6297
|
/** Strings for ImageOverlay */
|
|
6916
6298
|
imageOverlay: ImageOverlayStrings;
|
|
6917
6299
|
/** Strings for MessageStatusIndicator */
|
|
@@ -6928,40 +6310,10 @@ export declare interface ComponentStrings {
|
|
|
6928
6310
|
videoTile: VideoTileStrings;
|
|
6929
6311
|
/** Strings for HoldButton */
|
|
6930
6312
|
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
6313
|
/**
|
|
6960
6314
|
* Strings for the VerticalGallery.
|
|
6961
6315
|
*/
|
|
6962
6316
|
verticalGallery: VerticalGalleryStrings;
|
|
6963
|
-
/** Strings for the participant list component */
|
|
6964
|
-
ParticipantList: ParticipantListStrings;
|
|
6965
6317
|
/** Strings for the MeetingConferencePhoneInfoModal */
|
|
6966
6318
|
meetingConferencePhoneInfo: MeetingConferencePhoneInfoModalStrings;
|
|
6967
6319
|
IncomingCallNotification: IncomingCallNotificationStrings;
|
|
@@ -7536,7 +6888,7 @@ export declare const createStatefulChatClient: (args: StatefulChatClientArgs, op
|
|
|
7536
6888
|
/**
|
|
7537
6889
|
* @public
|
|
7538
6890
|
*/
|
|
7539
|
-
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs
|
|
6891
|
+
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
|
7540
6892
|
|
|
7541
6893
|
/**
|
|
7542
6894
|
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
|
@@ -7546,7 +6898,7 @@ export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs | Teams
|
|
|
7546
6898
|
*
|
|
7547
6899
|
* @public
|
|
7548
6900
|
*/
|
|
7549
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator
|
|
6901
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
|
7550
6902
|
|
|
7551
6903
|
/**
|
|
7552
6904
|
* Object returned after creating a local or remote VideoStream.
|
|
@@ -7787,11 +7139,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
|
7787
7139
|
RaiseHandContextualMenuItem: React_2.JSX.Element;
|
|
7788
7140
|
LowerHandContextualMenuItem: React_2.JSX.Element;
|
|
7789
7141
|
ReactionButtonIcon: React_2.JSX.Element;
|
|
7790
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
|
7791
|
-
DownloadAttachment: React_2.JSX.Element;
|
|
7792
7142
|
OpenAttachment: React_2.JSX.Element;
|
|
7793
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
|
7794
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
|
7795
7143
|
EditBoxCancel: React_2.JSX.Element;
|
|
7796
7144
|
EditBoxSubmit: React_2.JSX.Element;
|
|
7797
7145
|
ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
|
|
@@ -7843,12 +7191,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
|
7843
7191
|
VideoTileMicOff: React_2.JSX.Element;
|
|
7844
7192
|
VideoTileCameraOff: React_2.JSX.Element;
|
|
7845
7193
|
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
7194
|
VideoTilePinned: React_2.JSX.Element;
|
|
7853
7195
|
ParticipantItemPinned: React_2.JSX.Element;
|
|
7854
7196
|
VideoTileMoreOptions: React_2.JSX.Element;
|
|
@@ -7878,20 +7220,6 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
|
7878
7220
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
|
7879
7221
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
|
7880
7222
|
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
7223
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
|
7896
7224
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
|
7897
7225
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
|
@@ -7920,7 +7248,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
|
7920
7248
|
ParticipantItemOptionsHovered: JSX.Element;
|
|
7921
7249
|
SendBoxSend: JSX.Element;
|
|
7922
7250
|
SendBoxSendHovered: JSX.Element;
|
|
7923
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
|
7924
7251
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
|
7925
7252
|
ControlButtonCameraOff: JSX.Element;
|
|
7926
7253
|
ControlButtonCameraOn: JSX.Element;
|
|
@@ -8011,13 +7338,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
|
8011
7338
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
|
8012
7339
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
|
8013
7340
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
|
7341
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
|
8014
7342
|
ChatMessageOptions: React_2.JSX.Element;
|
|
8015
7343
|
ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
|
|
8016
|
-
CancelAttachmentUpload: React_2.JSX.Element;
|
|
8017
|
-
DownloadAttachment: React_2.JSX.Element;
|
|
8018
7344
|
OpenAttachment: React_2.JSX.Element;
|
|
8019
|
-
AttachmentMoreMenu: React_2.JSX.Element;
|
|
8020
|
-
DataLossPreventionProhibited: React_2.JSX.Element;
|
|
8021
7345
|
ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
|
|
8022
7346
|
ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
|
|
8023
7347
|
ErrorBarMutedByRemoteParticipant: React_2.JSX.Element;
|
|
@@ -8037,12 +7361,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
|
8037
7361
|
ResumeCall: React_2.JSX.Element;
|
|
8038
7362
|
VideoTileCameraOff: React_2.JSX.Element;
|
|
8039
7363
|
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
7364
|
VideoTilePinned: React_2.JSX.Element;
|
|
8047
7365
|
ParticipantItemPinned: React_2.JSX.Element;
|
|
8048
7366
|
VideoTileMoreOptions: React_2.JSX.Element;
|
|
@@ -8072,20 +7390,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
|
8072
7390
|
StartSpotlightContextualMenuItem: React_2.JSX.Element;
|
|
8073
7391
|
StopSpotlightContextualMenuItem: React_2.JSX.Element;
|
|
8074
7392
|
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
7393
|
ContextualMenuMicMutedIcon: React_2.JSX.Element;
|
|
8090
7394
|
IncomingCallNotificationRejectIcon: React_2.JSX.Element;
|
|
8091
7395
|
IncomingCallNotificationAcceptIcon: React_2.JSX.Element;
|
|
@@ -8096,36 +7400,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
|
8096
7400
|
MinimizeIcon: React_2.JSX.Element;
|
|
8097
7401
|
};
|
|
8098
7402
|
|
|
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
7403
|
/**
|
|
8130
7404
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
|
8131
7405
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
|
@@ -8810,7 +8084,7 @@ export declare const getCallingSelector: <Component extends (props: any) => JSX.
|
|
|
8810
8084
|
*
|
|
8811
8085
|
* @public
|
|
8812
8086
|
*/
|
|
8813
|
-
export declare type GetChatSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof SendBox> extends true ? SendBoxSelector : AreEqual<Component, typeof
|
|
8087
|
+
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;
|
|
8814
8088
|
|
|
8815
8089
|
/**
|
|
8816
8090
|
* Get the selector for a specified component.
|
|
@@ -8996,10 +8270,6 @@ export declare interface _Identifiers {
|
|
|
8996
8270
|
verticalGalleryVideoTile: string;
|
|
8997
8271
|
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
|
8998
8272
|
verticalGalleryPageCounter: string;
|
|
8999
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list */
|
|
9000
|
-
mentionSuggestionList: string;
|
|
9001
|
-
/** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
|
|
9002
|
-
mentionSuggestionItem: string;
|
|
9003
8273
|
}
|
|
9004
8274
|
|
|
9005
8275
|
/**
|
|
@@ -9065,13 +8335,6 @@ export declare interface ImageOverlayStrings {
|
|
|
9065
8335
|
overlayVisibleMessage: string;
|
|
9066
8336
|
}
|
|
9067
8337
|
|
|
9068
|
-
/**
|
|
9069
|
-
* Preset dark theme for the ImageOverlay component.
|
|
9070
|
-
*
|
|
9071
|
-
* @public
|
|
9072
|
-
*/
|
|
9073
|
-
export declare const imageOverlayTheme: PartialTheme;
|
|
9074
|
-
|
|
9075
8338
|
/**
|
|
9076
8339
|
* @public
|
|
9077
8340
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
|
@@ -9525,28 +8788,6 @@ export declare type LocalizationProviderProps = {
|
|
|
9525
8788
|
children: React_2.ReactNode;
|
|
9526
8789
|
};
|
|
9527
8790
|
|
|
9528
|
-
/**
|
|
9529
|
-
* State only version of {@link @azure/communication-calling#LocalRecordingCallFeature}. {@link StatefulCallClient} will
|
|
9530
|
-
* automatically listen for local recording state of the call and update the state exposed by {@link StatefulCallClient} accordingly.
|
|
9531
|
-
*
|
|
9532
|
-
* @beta
|
|
9533
|
-
*/
|
|
9534
|
-
export declare interface LocalRecordingCallFeatureState {
|
|
9535
|
-
/**
|
|
9536
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.isRecordingActive}.
|
|
9537
|
-
*/
|
|
9538
|
-
isLocalRecordingActive: boolean;
|
|
9539
|
-
/**
|
|
9540
|
-
* Contains list of information of started recordings
|
|
9541
|
-
* Proxy of {@link @azure/communication-calling#LocalRecordingCallFeature.recordings}.
|
|
9542
|
-
*/
|
|
9543
|
-
activeLocalRecordings?: LocalRecordingInfo[];
|
|
9544
|
-
/**
|
|
9545
|
-
* Contains list of information of stopped recordings
|
|
9546
|
-
*/
|
|
9547
|
-
lastStoppedLocalRecording?: LocalRecordingInfo[];
|
|
9548
|
-
}
|
|
9549
|
-
|
|
9550
8791
|
/**
|
|
9551
8792
|
* @public
|
|
9552
8793
|
*/
|
|
@@ -9721,76 +8962,6 @@ export declare interface MeetingConferencePhoneInfoModalStrings {
|
|
|
9721
8962
|
meetingConferencePhoneInfoModalNoPhoneAvailable: string;
|
|
9722
8963
|
}
|
|
9723
8964
|
|
|
9724
|
-
/**
|
|
9725
|
-
* Mention's state, as reflected in the UI.
|
|
9726
|
-
*
|
|
9727
|
-
* @beta
|
|
9728
|
-
*/
|
|
9729
|
-
export declare interface Mention {
|
|
9730
|
-
/** ID of a mention */
|
|
9731
|
-
id: string;
|
|
9732
|
-
/** Display text of a mention */
|
|
9733
|
-
displayText: string;
|
|
9734
|
-
/** Optional React element to render an item icon of a mention suggestion */
|
|
9735
|
-
icon?: JSX.Element;
|
|
9736
|
-
}
|
|
9737
|
-
|
|
9738
|
-
/**
|
|
9739
|
-
* Options to display suggestions in the mention scenario.
|
|
9740
|
-
*
|
|
9741
|
-
* @beta
|
|
9742
|
-
*/
|
|
9743
|
-
export declare interface MentionDisplayOptions {
|
|
9744
|
-
/**
|
|
9745
|
-
* Optional callback for customizing the mention renderer in a message thread.
|
|
9746
|
-
*/
|
|
9747
|
-
onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
|
|
9748
|
-
}
|
|
9749
|
-
|
|
9750
|
-
/**
|
|
9751
|
-
* Options to lookup suggestions in the mention scenario.
|
|
9752
|
-
*
|
|
9753
|
-
* @beta
|
|
9754
|
-
*/
|
|
9755
|
-
export declare interface MentionLookupOptions {
|
|
9756
|
-
/**
|
|
9757
|
-
* Optional string to set trigger keyword for mention a specific participant.
|
|
9758
|
-
*
|
|
9759
|
-
* @defaultValue `@`
|
|
9760
|
-
*/
|
|
9761
|
-
trigger?: string;
|
|
9762
|
-
/**
|
|
9763
|
-
* Optional callback to fetch a list of mention suggestions base on the query.
|
|
9764
|
-
*/
|
|
9765
|
-
onQueryUpdated: (query: string) => Promise<Mention[]>;
|
|
9766
|
-
/**
|
|
9767
|
-
* Optional callback to render an item of the mention suggestions list.
|
|
9768
|
-
*/
|
|
9769
|
-
onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void, isActive: boolean) => JSX.Element;
|
|
9770
|
-
}
|
|
9771
|
-
|
|
9772
|
-
/**
|
|
9773
|
-
* Options to lookup suggestions and display mentions in the mention scenario.
|
|
9774
|
-
*
|
|
9775
|
-
* @beta
|
|
9776
|
-
*/
|
|
9777
|
-
export declare type MentionOptions = {
|
|
9778
|
-
lookupOptions?: MentionLookupOptions;
|
|
9779
|
-
displayOptions?: MentionDisplayOptions;
|
|
9780
|
-
};
|
|
9781
|
-
|
|
9782
|
-
/**
|
|
9783
|
-
* Strings of {@link _MentionPopover} that can be overridden.
|
|
9784
|
-
*
|
|
9785
|
-
* @beta
|
|
9786
|
-
*/
|
|
9787
|
-
export declare interface MentionPopoverStrings {
|
|
9788
|
-
/**
|
|
9789
|
-
* Header text for MentionPopover
|
|
9790
|
-
*/
|
|
9791
|
-
mentionPopoverHeader: string;
|
|
9792
|
-
}
|
|
9793
|
-
|
|
9794
8965
|
/**
|
|
9795
8966
|
* Discriminated union of all messages.
|
|
9796
8967
|
*
|
|
@@ -9798,7 +8969,7 @@ export declare interface MentionPopoverStrings {
|
|
|
9798
8969
|
*
|
|
9799
8970
|
* @public
|
|
9800
8971
|
*/
|
|
9801
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
|
8972
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
|
9802
8973
|
|
|
9803
8974
|
/**
|
|
9804
8975
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
|
@@ -9840,20 +9011,6 @@ export declare type MessageDeletedListener = MessageReceivedListener;
|
|
|
9840
9011
|
*/
|
|
9841
9012
|
export declare type MessageEditedListener = MessageReceivedListener;
|
|
9842
9013
|
|
|
9843
|
-
/**
|
|
9844
|
-
* @beta
|
|
9845
|
-
* Message option that defines properties that can be set when
|
|
9846
|
-
* sending or updating a chat message.
|
|
9847
|
-
* @property metadata - Metadata that contains additional information about the message to be passed between 2 users.
|
|
9848
|
-
* @property attachments - Attachments that contains file attachments attached to the message.
|
|
9849
|
-
* @property type - Type of the message content, either 'text' or 'html'.
|
|
9850
|
-
*/
|
|
9851
|
-
export declare type MessageOptions = {
|
|
9852
|
-
metadata?: Record<string, string>;
|
|
9853
|
-
attachments?: AttachmentMetadata[];
|
|
9854
|
-
type?: ChatMessageType;
|
|
9855
|
-
};
|
|
9856
|
-
|
|
9857
9014
|
/**
|
|
9858
9015
|
* Props to render a single message.
|
|
9859
9016
|
*
|
|
@@ -9869,7 +9026,7 @@ export declare type MessageProps = {
|
|
|
9869
9026
|
/**
|
|
9870
9027
|
* Strings from parent MessageThread component
|
|
9871
9028
|
*/
|
|
9872
|
-
strings: MessageThreadStrings
|
|
9029
|
+
strings: MessageThreadStrings;
|
|
9873
9030
|
/**
|
|
9874
9031
|
* Custom CSS styles for chat message container.
|
|
9875
9032
|
*/
|
|
@@ -9915,7 +9072,7 @@ export declare type MessageProps = {
|
|
|
9915
9072
|
* @param options - message options to be included in the message
|
|
9916
9073
|
*
|
|
9917
9074
|
*/
|
|
9918
|
-
onSendMessage?: (content: string
|
|
9075
|
+
onSendMessage?: (content: string) => Promise<void>;
|
|
9919
9076
|
};
|
|
9920
9077
|
|
|
9921
9078
|
/**
|
|
@@ -10047,7 +9204,7 @@ export declare type MessageThreadProps = {
|
|
|
10047
9204
|
/**
|
|
10048
9205
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
|
10049
9206
|
*/
|
|
10050
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
|
9207
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
|
10051
9208
|
/**
|
|
10052
9209
|
* number of participants in the thread
|
|
10053
9210
|
*/
|
|
@@ -10128,11 +9285,6 @@ export declare type MessageThreadProps = {
|
|
|
10128
9285
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
|
10129
9286
|
*/
|
|
10130
9287
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
|
10131
|
-
/**
|
|
10132
|
-
* Optional callback to render attachments in the message component.
|
|
10133
|
-
* @beta
|
|
10134
|
-
*/
|
|
10135
|
-
onRenderAttachmentDownloads?: (message: ChatMessage) => JSX.Element;
|
|
10136
9288
|
/**
|
|
10137
9289
|
* Optional callback to edit a message.
|
|
10138
9290
|
*
|
|
@@ -10161,7 +9313,7 @@ export declare type MessageThreadProps = {
|
|
|
10161
9313
|
* @param options - message options to be included in the message
|
|
10162
9314
|
*
|
|
10163
9315
|
*/
|
|
10164
|
-
onSendMessage?: (content: string
|
|
9316
|
+
onSendMessage?: (content: string) => Promise<void>;
|
|
10165
9317
|
/**
|
|
10166
9318
|
/**
|
|
10167
9319
|
* Disable editing messages.
|
|
@@ -10175,32 +9327,11 @@ export declare type MessageThreadProps = {
|
|
|
10175
9327
|
* Optional strings to override in component
|
|
10176
9328
|
*/
|
|
10177
9329
|
strings?: Partial<MessageThreadStrings>;
|
|
10178
|
-
/**
|
|
10179
|
-
* @beta
|
|
10180
|
-
* Optional attachment options, which defines behvaiour for uploading and downloading attachments.
|
|
10181
|
-
* As this moment, the uploadOptions would be ignored and this option is intended for download only.
|
|
10182
|
-
*/
|
|
10183
|
-
attachmentOptions?: AttachmentOptions;
|
|
10184
|
-
/**
|
|
10185
|
-
* Optional function to provide customized date format.
|
|
10186
|
-
* @beta
|
|
10187
|
-
*/
|
|
10188
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
|
10189
|
-
/**
|
|
10190
|
-
* Optional props needed to lookup a mention query and display mentions
|
|
10191
|
-
* @beta
|
|
10192
|
-
*/
|
|
10193
|
-
mentionOptions?: MentionOptions;
|
|
10194
9330
|
/**
|
|
10195
9331
|
* Optional callback called when an inline image is clicked.
|
|
10196
9332
|
* @beta
|
|
10197
9333
|
*/
|
|
10198
9334
|
inlineImageOptions?: InlineImageOptions;
|
|
10199
|
-
/**
|
|
10200
|
-
* Options to enable rich text editor for the edit box.
|
|
10201
|
-
* @beta
|
|
10202
|
-
*/
|
|
10203
|
-
richTextEditorOptions?: RichTextEditBoxOptions;
|
|
10204
9335
|
};
|
|
10205
9336
|
|
|
10206
9337
|
/**
|
|
@@ -10280,20 +9411,10 @@ export declare interface MessageThreadStrings {
|
|
|
10280
9411
|
actionMenuMoreOptions?: string;
|
|
10281
9412
|
/** Aria label to announce when a message is deleted */
|
|
10282
9413
|
messageDeletedAnnouncementAriaLabel: string;
|
|
10283
|
-
/** String for download attachment button in attachment card */
|
|
10284
|
-
downloadAttachment: string;
|
|
10285
9414
|
/** String for open attachment button in attachment card */
|
|
10286
9415
|
openAttachment: string;
|
|
10287
|
-
/** String for policy violation message removal */
|
|
10288
|
-
blockedWarningText: string;
|
|
10289
|
-
/** String for policy violation message removal details link */
|
|
10290
|
-
blockedWarningLinkText: string;
|
|
10291
9416
|
/** String for aria text in attachment card group*/
|
|
10292
9417
|
attachmentCardGroupMessage: string;
|
|
10293
|
-
/**
|
|
10294
|
-
* Error message indicating that one or more image uploads are not complete.
|
|
10295
|
-
*/
|
|
10296
|
-
imageUploadsPendingError: string;
|
|
10297
9418
|
}
|
|
10298
9419
|
|
|
10299
9420
|
/**
|
|
@@ -10321,24 +9442,10 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
|
10321
9442
|
/** Styles for system message container. */
|
|
10322
9443
|
systemMessageContainer?: ComponentSlotStyle;
|
|
10323
9444
|
/** Styles for blocked message container. */
|
|
10324
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
|
10325
9445
|
/** Styles for message status indicator container. */
|
|
10326
9446
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
|
10327
9447
|
}
|
|
10328
9448
|
|
|
10329
|
-
/**
|
|
10330
|
-
*
|
|
10331
|
-
* Messaging policy of a chat thread.
|
|
10332
|
-
*
|
|
10333
|
-
* @beta
|
|
10334
|
-
*/
|
|
10335
|
-
export declare interface MessagingPolicy {
|
|
10336
|
-
/**
|
|
10337
|
-
* Boolean to track whether or not messages are restricted to only text.
|
|
10338
|
-
* */
|
|
10339
|
-
textOnlyChat?: boolean;
|
|
10340
|
-
}
|
|
10341
|
-
|
|
10342
9449
|
/**
|
|
10343
9450
|
* A button to turn microphone on / off.
|
|
10344
9451
|
*
|
|
@@ -10531,31 +9638,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
|
10531
9638
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
|
10532
9639
|
}
|
|
10533
9640
|
|
|
10534
|
-
/**
|
|
10535
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
|
10536
|
-
* by their browsers settings.
|
|
10537
|
-
*
|
|
10538
|
-
* @beta
|
|
10539
|
-
*/
|
|
10540
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
|
10541
|
-
|
|
10542
|
-
/**
|
|
10543
|
-
* @beta
|
|
10544
|
-
* Props for MicrophoneSitePermissions component.
|
|
10545
|
-
*/
|
|
10546
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
|
10547
|
-
/** Icon name for the microphone icon */
|
|
10548
|
-
microphoneIconName?: string;
|
|
10549
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
|
10550
|
-
strings?: MicrophoneSitePermissionsStrings;
|
|
10551
|
-
}
|
|
10552
|
-
|
|
10553
|
-
/**
|
|
10554
|
-
* @beta
|
|
10555
|
-
* Strings for MicrophoneSitePermissions component.
|
|
10556
|
-
*/
|
|
10557
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
|
10558
|
-
|
|
10559
9641
|
/**
|
|
10560
9642
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
|
10561
9643
|
*
|
|
@@ -11337,10 +10419,6 @@ export declare type ParticipantListProps = {
|
|
|
11337
10419
|
styles?: ParticipantListStyles;
|
|
11338
10420
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
|
11339
10421
|
showParticipantOverflowTooltip?: boolean;
|
|
11340
|
-
/** Total number of people in the call. This number can be larger than the remote participant count. */
|
|
11341
|
-
totalParticipantCount?: number;
|
|
11342
|
-
/** Strings for the participant list */
|
|
11343
|
-
strings?: ParticipantListStrings;
|
|
11344
10422
|
/** Optional aria-labelledby prop that prefixes each ParticipantItem aria-label */
|
|
11345
10423
|
participantAriaLabelledBy?: string;
|
|
11346
10424
|
/** List of pinned participants */
|
|
@@ -11355,21 +10433,8 @@ export declare type ParticipantListProps = {
|
|
|
11355
10433
|
export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
|
11356
10434
|
participants: CallParticipantListParticipant[];
|
|
11357
10435
|
myUserId: string;
|
|
11358
|
-
totalParticipantCount?: number;
|
|
11359
10436
|
};
|
|
11360
10437
|
|
|
11361
|
-
/**
|
|
11362
|
-
* Strings for the {@link ParticipantList}.
|
|
11363
|
-
*
|
|
11364
|
-
* @beta
|
|
11365
|
-
*/
|
|
11366
|
-
export declare interface ParticipantListStrings {
|
|
11367
|
-
/**
|
|
11368
|
-
* String for rendering the count of participants not contained in the displayed participant list
|
|
11369
|
-
*/
|
|
11370
|
-
overflowParticipantCount?: string;
|
|
11371
|
-
}
|
|
11372
|
-
|
|
11373
10438
|
/**
|
|
11374
10439
|
* Styles for the {@link ParticipantList}.
|
|
11375
10440
|
*
|
|
@@ -12061,15 +11126,6 @@ export declare interface RecordingCallFeature {
|
|
|
12061
11126
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.isRecordingActive}.
|
|
12062
11127
|
*/
|
|
12063
11128
|
isRecordingActive: boolean;
|
|
12064
|
-
/**
|
|
12065
|
-
* Contains list of information of started recordings
|
|
12066
|
-
* Proxy of {@link @azure/communication-calling#RecordingCallFeature.recordings}.
|
|
12067
|
-
*/
|
|
12068
|
-
activeRecordings?: RecordingInfo[];
|
|
12069
|
-
/**
|
|
12070
|
-
* Contains list of information of stopped recordings
|
|
12071
|
-
*/
|
|
12072
|
-
lastStoppedRecording?: RecordingInfo[];
|
|
12073
11129
|
}
|
|
12074
11130
|
|
|
12075
11131
|
/**
|
|
@@ -12212,256 +11268,6 @@ export declare type ResourceFetchResult = {
|
|
|
12212
11268
|
error?: Error;
|
|
12213
11269
|
};
|
|
12214
11270
|
|
|
12215
|
-
/**
|
|
12216
|
-
* Options for the rich text editor edit box configuration.
|
|
12217
|
-
*
|
|
12218
|
-
* @beta
|
|
12219
|
-
*/
|
|
12220
|
-
export declare interface RichTextEditBoxOptions extends RichTextEditorOptions {
|
|
12221
|
-
/**
|
|
12222
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
|
12223
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
|
12224
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
|
12225
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
|
12226
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
|
12227
|
-
*/
|
|
12228
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
|
12229
|
-
/**
|
|
12230
|
-
* Optional callback invoked after inline image is removed from the UI.
|
|
12231
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
|
12232
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
|
12233
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
|
12234
|
-
* @param messageId - the id of the message that the inlineImage belongs to.
|
|
12235
|
-
*/
|
|
12236
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>, messageId: string) => void;
|
|
12237
|
-
/**
|
|
12238
|
-
* Optional Record of type {@link AttachmentMetadataInProgress}
|
|
12239
|
-
* to render the errorBar for inline images inserted in the MessageThread's edit boxes when:
|
|
12240
|
-
* - there is an error provided in the messagesInlineImagesWithProgress
|
|
12241
|
-
* - progress is less than 1 when the send button is clicked
|
|
12242
|
-
* - content html string is longer than the max allowed length.
|
|
12243
|
-
* (Note that the id and the url prop of the messagesInlineImagesWithProgress will be used as the id and src attribute of the content html
|
|
12244
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
|
12245
|
-
*/
|
|
12246
|
-
messagesInlineImagesWithProgress?: Record<string, AttachmentMetadataInProgress[]>;
|
|
12247
|
-
}
|
|
12248
|
-
|
|
12249
|
-
/**
|
|
12250
|
-
* Options for the rich text editor configuration.
|
|
12251
|
-
*
|
|
12252
|
-
* @beta
|
|
12253
|
-
*/
|
|
12254
|
-
export declare interface RichTextEditorOptions {
|
|
12255
|
-
/**
|
|
12256
|
-
* Optional callback to handle paste event.
|
|
12257
|
-
*/
|
|
12258
|
-
onPaste?: (event: {
|
|
12259
|
-
content: DocumentFragment;
|
|
12260
|
-
}) => void;
|
|
12261
|
-
}
|
|
12262
|
-
|
|
12263
|
-
/**
|
|
12264
|
-
* A component to render SendBox with Rich Text Editor support.
|
|
12265
|
-
*
|
|
12266
|
-
* @beta
|
|
12267
|
-
*/
|
|
12268
|
-
export declare const RichTextSendBox: (props: RichTextSendBoxProps) => JSX.Element;
|
|
12269
|
-
|
|
12270
|
-
/**
|
|
12271
|
-
* Props for {@link RichTextSendBox}.
|
|
12272
|
-
*
|
|
12273
|
-
* @beta
|
|
12274
|
-
*/
|
|
12275
|
-
export declare interface RichTextSendBoxProps {
|
|
12276
|
-
/**
|
|
12277
|
-
* Optional boolean to disable text box
|
|
12278
|
-
* @defaultValue false
|
|
12279
|
-
*/
|
|
12280
|
-
disabled?: boolean;
|
|
12281
|
-
/**
|
|
12282
|
-
* Optional callback to handle paste event.
|
|
12283
|
-
*/
|
|
12284
|
-
onPaste?: (event: {
|
|
12285
|
-
content: DocumentFragment;
|
|
12286
|
-
}) => void;
|
|
12287
|
-
/**
|
|
12288
|
-
* Optional strings to override in component
|
|
12289
|
-
*/
|
|
12290
|
-
strings?: Partial<RichTextSendBoxStrings>;
|
|
12291
|
-
/**
|
|
12292
|
-
* Optional text for system message above the text box
|
|
12293
|
-
*/
|
|
12294
|
-
systemMessage?: string;
|
|
12295
|
-
/**
|
|
12296
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
|
12297
|
-
* to render attachments being uploaded in the SendBox.
|
|
12298
|
-
* @beta
|
|
12299
|
-
*/
|
|
12300
|
-
attachments?: AttachmentMetadataInProgress[];
|
|
12301
|
-
/**
|
|
12302
|
-
* enumerable to determine if the input box has focus on render or not.
|
|
12303
|
-
* When undefined nothing has focus on render
|
|
12304
|
-
*/
|
|
12305
|
-
autoFocus?: 'sendBoxTextField';
|
|
12306
|
-
/**
|
|
12307
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
|
12308
|
-
* cancel icon.
|
|
12309
|
-
*/
|
|
12310
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
|
12311
|
-
/**
|
|
12312
|
-
* Optional callback invoked after inline image is removed from the UI.
|
|
12313
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
|
12314
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name'].
|
|
12315
|
-
* Note that if the src attribute is a local blob url, it has been revoked at this point.
|
|
12316
|
-
*/
|
|
12317
|
-
onRemoveInlineImage?: (imageAttributes: Record<string, string>) => void;
|
|
12318
|
-
/**
|
|
12319
|
-
* Callback function used when the send button is clicked.
|
|
12320
|
-
*/
|
|
12321
|
-
onSendMessage: (content: string, options?: MessageOptions) => Promise<void>;
|
|
12322
|
-
/**
|
|
12323
|
-
* Optional callback called when user is typing
|
|
12324
|
-
*/
|
|
12325
|
-
onTyping?: () => Promise<void>;
|
|
12326
|
-
/**
|
|
12327
|
-
* Optional callback to handle an inline image that's inserted in the rich text editor.
|
|
12328
|
-
* When not provided, pasting images into rich text editor will be disabled.
|
|
12329
|
-
* @param imageAttributes - attributes of the image such as id, src, style, etc.
|
|
12330
|
-
* It also contains the image file name which can be accessed through imageAttributes['data-image-file-name']
|
|
12331
|
-
*/
|
|
12332
|
-
onInsertInlineImage?: (imageAttributes: Record<string, string>) => void;
|
|
12333
|
-
/**
|
|
12334
|
-
* Optional Array of type {@link AttachmentMetadataInProgress}
|
|
12335
|
-
* to render the errorBar for inline images inserted in the RichTextSendBox when:
|
|
12336
|
-
* - there is an error provided in the inlineImagesWithProgress
|
|
12337
|
-
* - progress is less than 1 when the send button is clicked
|
|
12338
|
-
* - content html string is longer than the max allowed length.
|
|
12339
|
-
* (Note that the id and the url prop of the inlineImagesWithProgress will be used as the id and src attribute of the content html
|
|
12340
|
-
* when calculating the content length, only for the purpose of displaying the content length overflow error.)
|
|
12341
|
-
*/
|
|
12342
|
-
inlineImagesWithProgress?: AttachmentMetadataInProgress[];
|
|
12343
|
-
}
|
|
12344
|
-
|
|
12345
|
-
/**
|
|
12346
|
-
* Strings of {@link RichTextSendBox} that can be overridden.
|
|
12347
|
-
*
|
|
12348
|
-
* @beta
|
|
12349
|
-
*/
|
|
12350
|
-
export declare interface RichTextSendBoxStrings extends RichTextStrings, SendBoxStrings {
|
|
12351
|
-
}
|
|
12352
|
-
|
|
12353
|
-
/**
|
|
12354
|
-
* Strings of RichText that can be overridden.
|
|
12355
|
-
*
|
|
12356
|
-
* @beta
|
|
12357
|
-
*/
|
|
12358
|
-
export declare interface RichTextStrings {
|
|
12359
|
-
/**
|
|
12360
|
-
* Tooltip text for the bold button.
|
|
12361
|
-
*/
|
|
12362
|
-
richTextBoldTooltip: string;
|
|
12363
|
-
/**
|
|
12364
|
-
* Tooltip text for the italic button.
|
|
12365
|
-
*/
|
|
12366
|
-
richTextItalicTooltip: string;
|
|
12367
|
-
/**
|
|
12368
|
-
* Tooltip text for the underline button.
|
|
12369
|
-
*/
|
|
12370
|
-
richTextUnderlineTooltip: string;
|
|
12371
|
-
/**
|
|
12372
|
-
* Tooltip text for the bullet list button.
|
|
12373
|
-
*/
|
|
12374
|
-
richTextBulletListTooltip: string;
|
|
12375
|
-
/**
|
|
12376
|
-
* Tooltip text for the number list button.
|
|
12377
|
-
*/
|
|
12378
|
-
richTextNumberListTooltip: string;
|
|
12379
|
-
/**
|
|
12380
|
-
* Tooltip text for the increase indent button.
|
|
12381
|
-
*/
|
|
12382
|
-
richTextIncreaseIndentTooltip: string;
|
|
12383
|
-
/**
|
|
12384
|
-
* Tooltip text for the decrease indent button.
|
|
12385
|
-
*/
|
|
12386
|
-
richTextDecreaseIndentTooltip: string;
|
|
12387
|
-
/**
|
|
12388
|
-
* Tooltip text insert table button.
|
|
12389
|
-
*/
|
|
12390
|
-
richTextInsertTableTooltip: string;
|
|
12391
|
-
/**
|
|
12392
|
-
* Tooltip text for the rich text format button button.
|
|
12393
|
-
*/
|
|
12394
|
-
richTextFormatButtonTooltip: string;
|
|
12395
|
-
/**
|
|
12396
|
-
* Text for the insert menu item.
|
|
12397
|
-
*/
|
|
12398
|
-
richTextInsertRowOrColumnMenu: string;
|
|
12399
|
-
/**
|
|
12400
|
-
* Title for the insert table menu.
|
|
12401
|
-
*/
|
|
12402
|
-
richTextInsertTableMenuTitle: string;
|
|
12403
|
-
/**
|
|
12404
|
-
* Text for the insert menu item to insert row above the current selection.
|
|
12405
|
-
*/
|
|
12406
|
-
richTextInsertRowAboveMenu: string;
|
|
12407
|
-
/**
|
|
12408
|
-
* Text for the insert menu item to insert row below the current selection.
|
|
12409
|
-
*/
|
|
12410
|
-
richTextInsertRowBelowMenu: string;
|
|
12411
|
-
/**
|
|
12412
|
-
* Text for the insert menu item to insert column to the left from the current selection.
|
|
12413
|
-
*/
|
|
12414
|
-
richTextInsertColumnLeftMenu: string;
|
|
12415
|
-
/**
|
|
12416
|
-
* Text for the insert menu item to insert column to the right from the current selection.
|
|
12417
|
-
*/
|
|
12418
|
-
richTextInsertColumnRightMenu: string;
|
|
12419
|
-
/**
|
|
12420
|
-
* Text for the delete row or column menu.
|
|
12421
|
-
*/
|
|
12422
|
-
richTextDeleteRowOrColumnMenu: string;
|
|
12423
|
-
/**
|
|
12424
|
-
* Text for the delete column menu.
|
|
12425
|
-
*/
|
|
12426
|
-
richTextDeleteColumnMenu: string;
|
|
12427
|
-
/**
|
|
12428
|
-
* Text for the delete row menu.
|
|
12429
|
-
*/
|
|
12430
|
-
richTextDeleteRowMenu: string;
|
|
12431
|
-
/**
|
|
12432
|
-
* Text for the delete table menu.
|
|
12433
|
-
*/
|
|
12434
|
-
richTextDeleteTableMenu: string;
|
|
12435
|
-
/**
|
|
12436
|
-
* Text for the rich text toolbar.
|
|
12437
|
-
*/
|
|
12438
|
-
richTextToolbarAriaLabel: string;
|
|
12439
|
-
/**
|
|
12440
|
-
* Text for the rich text toolbar more button.
|
|
12441
|
-
*/
|
|
12442
|
-
richTextToolbarMoreButtonAriaLabel: string;
|
|
12443
|
-
/**
|
|
12444
|
-
* Text for announcement when a new bulleted list item is added.
|
|
12445
|
-
*/
|
|
12446
|
-
richTextNewBulletedListItemAnnouncement: string;
|
|
12447
|
-
/**
|
|
12448
|
-
* Text for announcement when a new numbered list item is added.
|
|
12449
|
-
*/
|
|
12450
|
-
richTextNewNumberedListItemAnnouncement: string;
|
|
12451
|
-
/**
|
|
12452
|
-
* Text for announcement when the bulleted list style is applied.
|
|
12453
|
-
*/
|
|
12454
|
-
richTextBulletedListAppliedAnnouncement: string;
|
|
12455
|
-
/**
|
|
12456
|
-
* Text for announcement when the numbered list style is applied.
|
|
12457
|
-
*/
|
|
12458
|
-
richTextNumberedListAppliedAnnouncement: string;
|
|
12459
|
-
/**
|
|
12460
|
-
* Error message indicating image upload is not complete.
|
|
12461
|
-
*/
|
|
12462
|
-
imageUploadsPendingError: string;
|
|
12463
|
-
}
|
|
12464
|
-
|
|
12465
11271
|
/**
|
|
12466
11272
|
* A button to start / stop screen sharing.
|
|
12467
11273
|
*
|
|
@@ -12533,42 +11339,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
|
12533
11339
|
*/
|
|
12534
11340
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
|
12535
11341
|
|
|
12536
|
-
/**
|
|
12537
|
-
* @beta
|
|
12538
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
|
12539
|
-
*/
|
|
12540
|
-
export declare interface SendBoxErrorBarError {
|
|
12541
|
-
/** Error Message to be displayed */
|
|
12542
|
-
message: string;
|
|
12543
|
-
/**
|
|
12544
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
|
12545
|
-
*/
|
|
12546
|
-
timestamp: number;
|
|
12547
|
-
/**
|
|
12548
|
-
* ErrorBar type. Defaults to `warning`.
|
|
12549
|
-
*/
|
|
12550
|
-
errorBarType?: SendBoxErrorBarType;
|
|
12551
|
-
}
|
|
12552
|
-
|
|
12553
|
-
/**
|
|
12554
|
-
* @beta
|
|
12555
|
-
* Error bar type for {@link SendBoxErrorBarError}
|
|
12556
|
-
*/
|
|
12557
|
-
export declare enum SendBoxErrorBarType {
|
|
12558
|
-
/** Info styled MessageBar */
|
|
12559
|
-
info = 0,
|
|
12560
|
-
/** Error styled MessageBar */
|
|
12561
|
-
error = 1,
|
|
12562
|
-
/** Blocked styled MessageBar */
|
|
12563
|
-
blocked = 2,
|
|
12564
|
-
/** SevereWarning styled MessageBar */
|
|
12565
|
-
severeWarning = 3,
|
|
12566
|
-
/** Success styled MessageBar */
|
|
12567
|
-
success = 4,
|
|
12568
|
-
/** Warning styled MessageBar */
|
|
12569
|
-
warning = 5
|
|
12570
|
-
}
|
|
12571
|
-
|
|
12572
11342
|
/**
|
|
12573
11343
|
* Props for {@link SendBox}.
|
|
12574
11344
|
*
|
|
@@ -12587,12 +11357,7 @@ export declare interface SendBoxProps {
|
|
|
12587
11357
|
/**
|
|
12588
11358
|
* Optional override behavior on send button click
|
|
12589
11359
|
*/
|
|
12590
|
-
onSendMessage?: (content: string
|
|
12591
|
-
/**
|
|
12592
|
-
* Optional props needed to lookup suggestions in the mention scenario.
|
|
12593
|
-
* @beta
|
|
12594
|
-
*/
|
|
12595
|
-
mentionLookupOptions?: MentionLookupOptions;
|
|
11360
|
+
onSendMessage?: (content: string) => Promise<void>;
|
|
12596
11361
|
/**
|
|
12597
11362
|
* Optional callback called when user is typing
|
|
12598
11363
|
*/
|
|
@@ -12629,25 +11394,6 @@ export declare interface SendBoxProps {
|
|
|
12629
11394
|
* When undefined nothing has focus on render
|
|
12630
11395
|
*/
|
|
12631
11396
|
autoFocus?: 'sendBoxTextField';
|
|
12632
|
-
/**
|
|
12633
|
-
* Optional callback to render uploaded attachments in the SendBox. The sendBox will expand
|
|
12634
|
-
* vertically to accommodate the uploaded attachments. Attachment uploads will
|
|
12635
|
-
* be rendered below the text area in sendBox.
|
|
12636
|
-
* @beta
|
|
12637
|
-
*/
|
|
12638
|
-
onRenderAttachmentUploads?: () => JSX.Element;
|
|
12639
|
-
/**
|
|
12640
|
-
* Optional array of type {@link AttachmentMetadataInProgress}
|
|
12641
|
-
* to render attachments being uploaded in the SendBox.
|
|
12642
|
-
* @beta
|
|
12643
|
-
*/
|
|
12644
|
-
attachments?: AttachmentMetadataInProgress[];
|
|
12645
|
-
/**
|
|
12646
|
-
* Optional callback to remove the attachment upload before sending by clicking on
|
|
12647
|
-
* cancel icon.
|
|
12648
|
-
* @beta
|
|
12649
|
-
*/
|
|
12650
|
-
onCancelAttachmentUpload?: (attachmentId: string) => void;
|
|
12651
11397
|
}
|
|
12652
11398
|
|
|
12653
11399
|
/**
|
|
@@ -12678,30 +11424,6 @@ export declare interface SendBoxStrings {
|
|
|
12678
11424
|
* Aria label for send message button
|
|
12679
11425
|
*/
|
|
12680
11426
|
sendButtonAriaLabel: string;
|
|
12681
|
-
/**
|
|
12682
|
-
* Error message indicating that all attachment uploads are not complete.
|
|
12683
|
-
*/
|
|
12684
|
-
attachmentUploadsPendingError: string;
|
|
12685
|
-
/**
|
|
12686
|
-
* Aria label to notify user when focus is on cancel attachment upload button.
|
|
12687
|
-
*/
|
|
12688
|
-
removeAttachment: string;
|
|
12689
|
-
/**
|
|
12690
|
-
* Aria label to notify user attachment uploading starts.
|
|
12691
|
-
*/
|
|
12692
|
-
uploading: string;
|
|
12693
|
-
/**
|
|
12694
|
-
* Aria label to notify user attachment upload progress.
|
|
12695
|
-
*/
|
|
12696
|
-
uploadProgress: string;
|
|
12697
|
-
/**
|
|
12698
|
-
* Aria label to notify user attachment is uploaded.
|
|
12699
|
-
*/
|
|
12700
|
-
uploadCompleted: string;
|
|
12701
|
-
/**
|
|
12702
|
-
* Aria label to notify user more attachment action menu.
|
|
12703
|
-
*/
|
|
12704
|
-
attachmentMoreMenu: string;
|
|
12705
11427
|
}
|
|
12706
11428
|
|
|
12707
11429
|
/**
|
|
@@ -12722,45 +11444,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
|
12722
11444
|
systemMessage?: IStyle;
|
|
12723
11445
|
}
|
|
12724
11446
|
|
|
12725
|
-
/**
|
|
12726
|
-
* @beta
|
|
12727
|
-
* Strings for SitePermissions component
|
|
12728
|
-
*/
|
|
12729
|
-
export declare type SitePermissionsStrings = {
|
|
12730
|
-
/**
|
|
12731
|
-
* Main text string.
|
|
12732
|
-
*/
|
|
12733
|
-
primaryText?: string;
|
|
12734
|
-
/**
|
|
12735
|
-
* Subtext string.
|
|
12736
|
-
*/
|
|
12737
|
-
secondaryText?: string;
|
|
12738
|
-
/**
|
|
12739
|
-
* More help link string.
|
|
12740
|
-
*/
|
|
12741
|
-
linkText?: string;
|
|
12742
|
-
/**
|
|
12743
|
-
* Primary button text string.
|
|
12744
|
-
*/
|
|
12745
|
-
primaryButtonText?: string;
|
|
12746
|
-
/**
|
|
12747
|
-
* Aria label describing the content of the container
|
|
12748
|
-
*/
|
|
12749
|
-
ariaLabel?: string;
|
|
12750
|
-
};
|
|
12751
|
-
|
|
12752
|
-
/**
|
|
12753
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
|
12754
|
-
*
|
|
12755
|
-
* @beta
|
|
12756
|
-
*/
|
|
12757
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
|
12758
|
-
/** Styles for the primary button. */
|
|
12759
|
-
primaryButton?: IButtonStyles;
|
|
12760
|
-
/** Styles for the help troubleshooting link text. */
|
|
12761
|
-
troubleshootingLink?: ILinkStyles;
|
|
12762
|
-
}
|
|
12763
|
-
|
|
12764
11447
|
/**
|
|
12765
11448
|
* @public
|
|
12766
11449
|
* Type for representing a custom sound to use for a calling event
|
|
@@ -13080,13 +11763,6 @@ export declare interface StartRealTimeTextButtonStrings {
|
|
|
13080
11763
|
tooltipOffContent: string;
|
|
13081
11764
|
}
|
|
13082
11765
|
|
|
13083
|
-
/**
|
|
13084
|
-
* Parameter to start a call using a Teams user identity.
|
|
13085
|
-
*
|
|
13086
|
-
* @beta
|
|
13087
|
-
*/
|
|
13088
|
-
export declare type StartTeamsCallIdentifier = MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier;
|
|
13089
|
-
|
|
13090
11766
|
/**
|
|
13091
11767
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
|
13092
11768
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
|
@@ -13544,7 +12220,7 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
|
|
13544
12220
|
* @public
|
|
13545
12221
|
*/
|
|
13546
12222
|
export declare type TeamsCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
|
13547
|
-
locator: TeamsMeetingLinkLocator |
|
|
12223
|
+
locator: TeamsMeetingLinkLocator | TeamsMeetingIdLocator;
|
|
13548
12224
|
};
|
|
13549
12225
|
|
|
13550
12226
|
/**
|
|
@@ -13617,17 +12293,6 @@ export declare interface TeamsIncomingCallState {
|
|
|
13617
12293
|
endTime?: Date;
|
|
13618
12294
|
}
|
|
13619
12295
|
|
|
13620
|
-
/**
|
|
13621
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
|
13622
|
-
*
|
|
13623
|
-
* This is used to create an outbound call scenarios.
|
|
13624
|
-
*
|
|
13625
|
-
* @beta
|
|
13626
|
-
*/
|
|
13627
|
-
export declare type TeamsOutboundCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
|
13628
|
-
targetCallees: StartTeamsCallIdentifier[];
|
|
13629
|
-
};
|
|
13630
|
-
|
|
13631
12296
|
/**
|
|
13632
12297
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
|
13633
12298
|
*
|
|
@@ -13918,21 +12583,7 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
|
13918
12583
|
* @public
|
|
13919
12584
|
* Callback function run when a message is updated.
|
|
13920
12585
|
*/
|
|
13921
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
|
13922
|
-
|
|
13923
|
-
/**
|
|
13924
|
-
* Result payload for uploading an image.
|
|
13925
|
-
*
|
|
13926
|
-
* @beta
|
|
13927
|
-
*/
|
|
13928
|
-
export declare type UploadChatImageResult = {
|
|
13929
|
-
/** Id of the image. */
|
|
13930
|
-
id: string;
|
|
13931
|
-
/** The type of attachment. */
|
|
13932
|
-
attachmentType?: 'image' | 'file' | 'unknown';
|
|
13933
|
-
/** The name including file extension type of the attachment. */
|
|
13934
|
-
name?: string;
|
|
13935
|
-
};
|
|
12586
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
|
13936
12587
|
|
|
13937
12588
|
/**
|
|
13938
12589
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
|
@@ -14106,7 +12757,7 @@ export declare const useTeamsCall: () => undefined | TeamsCall;
|
|
|
14106
12757
|
*
|
|
14107
12758
|
* @public
|
|
14108
12759
|
*/
|
|
14109
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs
|
|
12760
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: (adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>, beforeDispose?: (adapter: TeamsCallAdapter) => Promise<void>) => TeamsCallAdapter | undefined;
|
|
14110
12761
|
|
|
14111
12762
|
/**
|
|
14112
12763
|
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|