@azure/communication-react 1.5.1-beta.5 → 1.6.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/README.md +3 -4
- package/dist/communication-react.d.ts +147 -2691
- package/dist/dist-cjs/communication-react/index.js +3821 -10561
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.d.ts +6 -0
- package/dist/dist-esm/acs-ui-common/src/identifier.js +10 -2
- package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +1 -24
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +0 -51
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -13
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +2 -17
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +1 -7
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +1 -19
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +1 -73
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +0 -10
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -15
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -4
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -22
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +0 -9
- package/dist/dist-esm/calling-component-bindings/src/index.js +0 -10
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +3 -9
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +3 -4
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +2 -14
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +1 -20
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +0 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +1 -13
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +0 -5
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +0 -11
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +4 -11
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +0 -3
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +5 -6
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -2
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +1 -115
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -19
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +2 -162
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -51
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -5
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +0 -57
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +0 -10
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -39
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +0 -9
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -25
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +0 -8
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +1 -25
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -33
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -9
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -18
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -4
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/index.js +0 -2
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -4
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +5 -72
- 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/EventSubscriber.js +1 -3
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -4
- package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +0 -1
- package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +0 -28
- package/dist/dist-esm/communication-react/src/index.js +0 -14
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +0 -8
- package/dist/dist-esm/react-components/src/components/CameraButton.js +0 -21
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +11 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +2 -12
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +2 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +29 -23
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +1 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +3 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -12
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +18 -60
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +0 -6
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +21 -5
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +0 -8
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js +5 -5
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCardGroup.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js +2 -2
- package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +1 -13
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +17 -16
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js +1 -3
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +24 -26
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +4 -40
- package/dist/dist-esm/react-components/src/components/MessageThread.js +12 -49
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -13
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +0 -3
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +1 -7
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +2 -42
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +0 -35
- package/dist/dist-esm/react-components/src/components/SendBox.js +1 -26
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js +4 -17
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +5 -18
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +6 -24
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +0 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +3 -32
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +1 -7
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -46
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +0 -81
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +9 -104
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +0 -22
- package/dist/dist-esm/react-components/src/components/VideoTile.js +11 -88
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +0 -18
- package/dist/dist-esm/react-components/src/components/index.js +0 -16
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +10 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +10 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +1 -29
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js +4 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +2 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/utils.js +21 -1
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -4
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -5
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -4
- package/dist/dist-esm/react-components/src/index.js +0 -2
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -59
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +331 -0
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +331 -0
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +331 -0
- package/dist/dist-esm/react-components/src/localization/locales/index.d.ts +36 -0
- package/dist/dist-esm/react-components/src/localization/locales/index.js +54 -0
- package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +331 -0
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +331 -0
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +331 -0
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +4 -4
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +4 -4
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -29
- package/dist/dist-esm/react-components/src/theming/icons.js +1 -143
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -27
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +0 -3
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js +0 -2
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -8
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -89
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +12 -57
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +4 -221
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +7 -103
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +24 -325
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +1 -263
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +2 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +1 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +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/CallArrangement.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +8 -90
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +1 -144
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.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 -27
- 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 -20
- 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 -27
- 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 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +5 -45
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +8 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +4 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +2 -33
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +5 -51
- 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 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +0 -2
- 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 +1 -3
- 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 +8 -115
- 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/LobbyPage.js +0 -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/NoticePage.d.ts +4 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -57
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.d.ts +6 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +3 -33
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +6 -109
- 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 +1 -61
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +5 -30
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -44
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -49
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +7 -198
- 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 +1 -124
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +2 -22
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +1 -93
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +0 -13
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +1 -37
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +3 -19
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +3 -43
- 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 -4
- 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 -28
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +6 -128
- 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/AzureCommunicationFileUploadAdapter.d.ts +0 -28
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +1 -159
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -17
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +1 -8
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +4 -36
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +0 -13
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +0 -181
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +1 -14
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -18
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -46
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +1 -21
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -26
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +199 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +199 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +199 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/index.d.ts +36 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js +61 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +199 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +199 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +199 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +7 -1
- package/package.json +17 -15
- package/CHANGELOG.beta.md +0 -929
- package/CHANGELOG.json +0 -12481
- package/CHANGELOG.stable.md +0 -373
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +0 -48
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +0 -69
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +0 -43
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +0 -85
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +0 -18
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +0 -38
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +0 -28
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +0 -49
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +0 -19
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +0 -89
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +0 -23
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -49
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/Caption.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/Caption.js +0 -32
- package/dist/dist-esm/react-components/src/components/Caption.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +0 -32
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +0 -48
- package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +0 -37
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +0 -86
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.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 -43
- 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 -75
- 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 -68
- 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 -39
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +0 -49
- package/dist/dist-esm/react-components/src/components/HoldButton.js +0 -25
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +0 -35
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +0 -32
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +0 -70
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +0 -54
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +0 -26
- package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +0 -31
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.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/Captions.style.d.ts +0 -33
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +0 -61
- package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +0 -34
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +0 -86
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js +0 -16
- package/dist/dist-esm/react-components/src/components/styles/Common.style.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 -92
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.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/permissions/PermissionsProvider.d.ts +0 -61
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +0 -74
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +0 -1
- package/dist/dist-esm/react-components/src/permissions/index.d.ts +0 -2
- package/dist/dist-esm/react-components/src/permissions/index.js +0 -4
- package/dist/dist-esm/react-components/src/permissions/index.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 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +0 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +0 -75
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -30
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +0 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js +0 -17
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.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/FileDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +0 -11
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +0 -14
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -107
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +0 -111
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +0 -38
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +0 -215
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.d.ts +0 -6
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +0 -24
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +0 -52
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +0 -25
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +0 -50
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +0 -11
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +0 -40
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +0 -140
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +0 -1
@@ -17,10 +17,7 @@
|
|
17
17
|
|
18
18
|
/// <reference types="react" />
|
19
19
|
|
20
|
-
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
21
20
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
|
-
import { BackgroundBlurConfig } from '@azure/communication-calling-effects';
|
23
|
-
import { BackgroundReplacementConfig } from '@azure/communication-calling-effects';
|
24
21
|
import { Call } from '@azure/communication-calling';
|
25
22
|
import { CallAgent } from '@azure/communication-calling';
|
26
23
|
import { CallClient } from '@azure/communication-calling';
|
@@ -28,9 +25,7 @@ import { CallClientOptions } from '@azure/communication-calling';
|
|
28
25
|
import { CallDirection } from '@azure/communication-calling';
|
29
26
|
import { CallEndReason } from '@azure/communication-calling';
|
30
27
|
import { CallerInfo } from '@azure/communication-calling';
|
31
|
-
import { CallKind } from '@azure/communication-calling';
|
32
28
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
33
|
-
import { CaptionsResultType } from '@azure/communication-calling';
|
34
29
|
import { ChatClient } from '@azure/communication-chat';
|
35
30
|
import { ChatClientOptions } from '@azure/communication-chat';
|
36
31
|
import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
|
@@ -46,35 +41,26 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
46
41
|
import { DeviceAccess } from '@azure/communication-calling';
|
47
42
|
import { DeviceManager } from '@azure/communication-calling';
|
48
43
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
49
|
-
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
50
|
-
import { EnvironmentInfo } from '@azure/communication-calling';
|
51
44
|
import { GroupCallLocator } from '@azure/communication-calling';
|
52
45
|
import { IButtonProps } from '@fluentui/react';
|
53
46
|
import { IButtonStyles } from '@fluentui/react';
|
54
47
|
import { IContextualMenuItem } from '@fluentui/react';
|
55
48
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
56
|
-
import { IContextualMenuProps } from '@fluentui/react';
|
57
49
|
import { IContextualMenuStyles } from '@fluentui/react';
|
58
|
-
import { ILinkStyles } from '@fluentui/react';
|
59
50
|
import { IMessageBarProps } from '@fluentui/react';
|
60
|
-
import { IncomingCall } from '@azure/communication-calling';
|
61
51
|
import { IPersonaStyleProps } from '@fluentui/react';
|
62
52
|
import { IPersonaStyles } from '@fluentui/react';
|
63
53
|
import { IRawStyle } from '@fluentui/react';
|
64
54
|
import { IRenderFunction } from '@fluentui/react';
|
65
55
|
import { IStyle } from '@fluentui/react';
|
66
56
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
67
|
-
import { ITextFieldStyles } from '@fluentui/react';
|
68
57
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
69
58
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
70
|
-
import { LocalVideoStream } from '@azure/communication-calling';
|
71
59
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
72
60
|
import { MediaStreamType } from '@azure/communication-calling';
|
73
|
-
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
74
61
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
75
62
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
76
63
|
import { PartialTheme } from '@fluentui/react';
|
77
|
-
import { ParticipantRole } from '@azure/communication-calling';
|
78
64
|
import { PermissionConstraints } from '@azure/communication-calling';
|
79
65
|
import { PersonaInitialsColor } from '@fluentui/react';
|
80
66
|
import { PersonaPresence } from '@fluentui/react';
|
@@ -85,20 +71,15 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
|
|
85
71
|
import { default as React_2 } from 'react';
|
86
72
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
87
73
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
88
|
-
import { RoomCallLocator } from '@azure/communication-calling';
|
89
74
|
import { ScalingMode } from '@azure/communication-calling';
|
90
75
|
import { SendMessageOptions } from '@azure/communication-chat';
|
91
76
|
import { StartCallOptions } from '@azure/communication-calling';
|
92
|
-
import { StartCaptionsOptions } from '@azure/communication-calling';
|
93
|
-
import { TeamsCall } from '@azure/communication-calling';
|
94
|
-
import { TeamsCallAgent } from '@azure/communication-calling';
|
95
77
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
96
78
|
import { Theme } from '@fluentui/react';
|
97
79
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
98
80
|
import { UnknownIdentifier } from '@azure/communication-common';
|
99
81
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
100
82
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
101
|
-
import { VideoEffectName } from '@azure/communication-calling';
|
102
83
|
import { VideoStreamRenderer } from '@azure/communication-calling';
|
103
84
|
import { VideoStreamRendererView } from '@azure/communication-calling';
|
104
85
|
|
@@ -121,38 +102,6 @@ export declare interface ActiveErrorMessage {
|
|
121
102
|
timestamp?: Date;
|
122
103
|
}
|
123
104
|
|
124
|
-
/**
|
125
|
-
* Attributes required for SendBox to show file uploads like name, progress etc.
|
126
|
-
* @beta
|
127
|
-
*/
|
128
|
-
export declare interface ActiveFileUpload {
|
129
|
-
/**
|
130
|
-
* Unique identifier for the file upload.
|
131
|
-
*/
|
132
|
-
id: string;
|
133
|
-
/**
|
134
|
-
* File name to be rendered for uploaded file.
|
135
|
-
*/
|
136
|
-
filename: string;
|
137
|
-
/**
|
138
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
139
|
-
* This is unrelated to the `uploadComplete` property.
|
140
|
-
* It is only used to show the progress of the upload.
|
141
|
-
* Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
|
142
|
-
* property to true to mark the upload as complete.
|
143
|
-
*/
|
144
|
-
progress: number;
|
145
|
-
/**
|
146
|
-
* Error to be displayed to the user if the upload fails.
|
147
|
-
*/
|
148
|
-
error?: SendBoxErrorBarError;
|
149
|
-
/**
|
150
|
-
* `true` means that the upload is completed.
|
151
|
-
* This is independent of the upload `progress`.
|
152
|
-
*/
|
153
|
-
uploadComplete?: boolean;
|
154
|
-
}
|
155
|
-
|
156
105
|
/**
|
157
106
|
* Error reported via error events and stored in adapter state.
|
158
107
|
*
|
@@ -219,13 +168,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
|
|
219
168
|
*/
|
220
169
|
export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
|
221
170
|
|
222
|
-
/**
|
223
|
-
* @beta
|
224
|
-
*/
|
225
|
-
export declare interface AttachmentDownloadResult {
|
226
|
-
blobUrl: string;
|
227
|
-
}
|
228
|
-
|
229
171
|
/**
|
230
172
|
* Custom data attributes for displaying avatar for a user.
|
231
173
|
*
|
@@ -255,11 +197,6 @@ export declare type AvatarPersonaData = {
|
|
255
197
|
* @defaultvalue `white`
|
256
198
|
*/
|
257
199
|
initialsTextColor?: string;
|
258
|
-
/**
|
259
|
-
* If true, show the special coin for unknown persona.
|
260
|
-
* It has '?' in place of initials, with static font and background colors
|
261
|
-
*/
|
262
|
-
showUnknownPersonaCoin?: boolean;
|
263
200
|
};
|
264
201
|
|
265
202
|
/**
|
@@ -281,31 +218,8 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
281
218
|
displayName: string;
|
282
219
|
credential: CommunicationTokenCredential;
|
283
220
|
locator: CallAdapterLocator;
|
284
|
-
/**
|
285
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
286
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
287
|
-
*/
|
288
|
-
alternateCallerId?: string;
|
289
|
-
/**
|
290
|
-
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
291
|
-
*/
|
292
|
-
options?: AzureCommunicationCallAdapterOptions;
|
293
221
|
};
|
294
222
|
|
295
|
-
/**
|
296
|
-
* Optional parameters to create {@link AzureCommunicationCallAdapter}
|
297
|
-
*
|
298
|
-
* @beta
|
299
|
-
*/
|
300
|
-
export declare type AzureCommunicationCallAdapterOptions = {
|
301
|
-
/**
|
302
|
-
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
303
|
-
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
304
|
-
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
305
|
-
*/
|
306
|
-
roleHint?: Role;
|
307
|
-
} & CommonCallAdapterOptions;
|
308
|
-
|
309
223
|
/**
|
310
224
|
* Arguments for {@link createAzureCommunicationCallWithChatAdapter}
|
311
225
|
*
|
@@ -317,8 +231,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
317
231
|
displayName: string;
|
318
232
|
credential: CommunicationTokenCredential;
|
319
233
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
320
|
-
alternateCallerId?: string;
|
321
|
-
callAdapterOptions?: AzureCommunicationCallAdapterOptions;
|
322
234
|
};
|
323
235
|
|
324
236
|
/**
|
@@ -332,7 +244,6 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
|
|
332
244
|
callClient: StatefulCallClient;
|
333
245
|
chatClient: StatefulChatClient;
|
334
246
|
chatThreadClient: ChatThreadClient;
|
335
|
-
options?: AzureCommunicationChatAdapterOptions;
|
336
247
|
};
|
337
248
|
|
338
249
|
/**
|
@@ -348,14 +259,6 @@ export declare type AzureCommunicationChatAdapterArgs = {
|
|
348
259
|
threadId: string;
|
349
260
|
};
|
350
261
|
|
351
|
-
/**
|
352
|
-
* Configuration options to include when creating AzureCommunicationChatAdapter.
|
353
|
-
* @beta
|
354
|
-
*/
|
355
|
-
export declare type AzureCommunicationChatAdapterOptions = {
|
356
|
-
credential?: CommunicationTokenCredential;
|
357
|
-
};
|
358
|
-
|
359
262
|
/**
|
360
263
|
* Properties common to all composites exported from this library.
|
361
264
|
*
|
@@ -411,156 +314,6 @@ export declare interface BaseCustomStyles {
|
|
411
314
|
root?: IStyle;
|
412
315
|
}
|
413
316
|
|
414
|
-
/**
|
415
|
-
* Content blocked message type.
|
416
|
-
*
|
417
|
-
* Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
|
418
|
-
*
|
419
|
-
* @beta
|
420
|
-
*/
|
421
|
-
export declare interface BlockedMessage extends MessageCommon {
|
422
|
-
messageType: 'blocked';
|
423
|
-
warningText?: string;
|
424
|
-
linkText?: string;
|
425
|
-
link?: string;
|
426
|
-
deletedOn?: Date;
|
427
|
-
senderId?: string;
|
428
|
-
senderDisplayName?: string;
|
429
|
-
status?: MessageStatus;
|
430
|
-
attached?: MessageAttachedStatus;
|
431
|
-
mine?: boolean;
|
432
|
-
}
|
433
|
-
|
434
|
-
/**
|
435
|
-
* @beta
|
436
|
-
* Props for BrowserPermissionDeniedIOS component.
|
437
|
-
*/
|
438
|
-
export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
|
439
|
-
/**
|
440
|
-
* Localization strings for BrowserPermissionDeniedIOS component.
|
441
|
-
*/
|
442
|
-
strings?: BrowserPermissionDeniedIOSStrings;
|
443
|
-
/**
|
444
|
-
* Link to image source.
|
445
|
-
*
|
446
|
-
* Image is inserted into the top of the component.
|
447
|
-
*/
|
448
|
-
imageSource?: string;
|
449
|
-
}
|
450
|
-
|
451
|
-
/**
|
452
|
-
* @beta
|
453
|
-
* Strings for BrowserPermissionDeniedIOS component
|
454
|
-
*/
|
455
|
-
export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
|
456
|
-
/**
|
457
|
-
* Image alt text
|
458
|
-
*/
|
459
|
-
imageAltText: string;
|
460
|
-
/**
|
461
|
-
* Main text string.
|
462
|
-
*/
|
463
|
-
primaryText: string;
|
464
|
-
/**
|
465
|
-
* Subtext string.
|
466
|
-
*/
|
467
|
-
secondaryText: string;
|
468
|
-
/**
|
469
|
-
* Step 1 string
|
470
|
-
*/
|
471
|
-
step1Text: string;
|
472
|
-
/**
|
473
|
-
* Step 1 digit string
|
474
|
-
*/
|
475
|
-
step1DigitText: string;
|
476
|
-
/**
|
477
|
-
* Step 2 string
|
478
|
-
*/
|
479
|
-
step2Text: string;
|
480
|
-
/**
|
481
|
-
* Step 2 digit string
|
482
|
-
*/
|
483
|
-
step2DigitText: string;
|
484
|
-
/**
|
485
|
-
* Step 3 string
|
486
|
-
*/
|
487
|
-
step3Text: string;
|
488
|
-
/**
|
489
|
-
* Step 3 digit string
|
490
|
-
*/
|
491
|
-
step3DigitText: string;
|
492
|
-
/**
|
493
|
-
* Step 4 string
|
494
|
-
*/
|
495
|
-
step4Text: string;
|
496
|
-
/**
|
497
|
-
* Step 4 digit string
|
498
|
-
*/
|
499
|
-
step4DigitText: string;
|
500
|
-
}
|
501
|
-
|
502
|
-
/**
|
503
|
-
* @beta
|
504
|
-
* Props for BrowserPermissionDenied component.
|
505
|
-
*/
|
506
|
-
export declare interface BrowserPermissionDeniedProps {
|
507
|
-
/**
|
508
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
509
|
-
*/
|
510
|
-
onTroubleshootingClick?: () => void;
|
511
|
-
/**
|
512
|
-
* Action to be taken by the try again primary button.
|
513
|
-
*/
|
514
|
-
onTryAgainClick?: () => void;
|
515
|
-
/**
|
516
|
-
* Localization strings for BrowserPermissionDenied component.
|
517
|
-
*/
|
518
|
-
strings?: BrowserPermissionDeniedStrings;
|
519
|
-
/**
|
520
|
-
* Allows users to pass in an object contains custom CSS styles.
|
521
|
-
* @Example
|
522
|
-
* ```
|
523
|
-
* <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
|
524
|
-
* ```
|
525
|
-
*/
|
526
|
-
styles?: BrowserPermissionDeniedStyles;
|
527
|
-
}
|
528
|
-
|
529
|
-
/**
|
530
|
-
* @beta
|
531
|
-
* Strings for BrowserPermissionDenied component
|
532
|
-
*/
|
533
|
-
export declare interface BrowserPermissionDeniedStrings {
|
534
|
-
/**
|
535
|
-
* Main button text string.
|
536
|
-
*/
|
537
|
-
primaryButtonText: string;
|
538
|
-
/**
|
539
|
-
* Main text string.
|
540
|
-
*/
|
541
|
-
primaryText: string;
|
542
|
-
/**
|
543
|
-
* Subtext string.
|
544
|
-
*/
|
545
|
-
secondaryText: string;
|
546
|
-
/**
|
547
|
-
* More help link string.
|
548
|
-
*/
|
549
|
-
linkText: string;
|
550
|
-
}
|
551
|
-
|
552
|
-
/**
|
553
|
-
* Fluent styles for {@link BrowserPermissionDenied}.
|
554
|
-
*
|
555
|
-
* @beta
|
556
|
-
*/
|
557
|
-
export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
|
558
|
-
/** Styles for the primary button. */
|
559
|
-
primaryButton?: IButtonStyles;
|
560
|
-
/** Styles for the help troubleshooting link text. */
|
561
|
-
troubleshootingLink?: ILinkStyles;
|
562
|
-
}
|
563
|
-
|
564
317
|
/**
|
565
318
|
* An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
|
566
319
|
*
|
@@ -583,12 +336,6 @@ export declare interface CallAdapter extends CommonCallAdapter {
|
|
583
336
|
* @public
|
584
337
|
*/
|
585
338
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
586
|
-
/**
|
587
|
-
* Start the call.
|
588
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
589
|
-
* @beta
|
590
|
-
*/
|
591
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
592
339
|
}
|
593
340
|
|
594
341
|
/**
|
@@ -622,12 +369,6 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
|
|
622
369
|
* @public
|
623
370
|
*/
|
624
371
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
625
|
-
/**
|
626
|
-
* Start the call.
|
627
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
628
|
-
* @beta
|
629
|
-
*/
|
630
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
631
372
|
}
|
632
373
|
|
633
374
|
/**
|
@@ -692,12 +433,6 @@ export declare interface CallAdapterCallOperations {
|
|
692
433
|
* @public
|
693
434
|
*/
|
694
435
|
removeParticipant(userId: string): Promise<void>;
|
695
|
-
/**
|
696
|
-
* Remove a participant from the call.
|
697
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
698
|
-
* @beta
|
699
|
-
*/
|
700
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
701
436
|
/**
|
702
437
|
* Create the html view for a stream.
|
703
438
|
*
|
@@ -722,86 +457,6 @@ export declare interface CallAdapterCallOperations {
|
|
722
457
|
* @public
|
723
458
|
*/
|
724
459
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
725
|
-
/**
|
726
|
-
* Holds the call.
|
727
|
-
*
|
728
|
-
* @beta
|
729
|
-
*/
|
730
|
-
holdCall(): Promise<void>;
|
731
|
-
/**
|
732
|
-
* Resumes the call from a `LocalHold` state.
|
733
|
-
*
|
734
|
-
* @beta
|
735
|
-
*/
|
736
|
-
resumeCall(): Promise<void>;
|
737
|
-
/**
|
738
|
-
* Add a participant to the call.
|
739
|
-
*
|
740
|
-
* @beta
|
741
|
-
*/
|
742
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
743
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
744
|
-
/**
|
745
|
-
* send dtmf tone to another participant in a 1:1 PSTN call
|
746
|
-
*
|
747
|
-
* @beta
|
748
|
-
*/
|
749
|
-
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
750
|
-
/**
|
751
|
-
* Continues into a call when the browser version is not supported.
|
752
|
-
*/
|
753
|
-
allowUnsupportedBrowserVersion(): void;
|
754
|
-
/**
|
755
|
-
* Function to Start captions
|
756
|
-
* @param options - options for start captions
|
757
|
-
*/
|
758
|
-
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
759
|
-
/**
|
760
|
-
* Function to set caption language
|
761
|
-
* @param language - language set for caption
|
762
|
-
*/
|
763
|
-
setCaptionLanguage(language: string): Promise<void>;
|
764
|
-
/**
|
765
|
-
* Function to set spoken language
|
766
|
-
* @param language - spoken language
|
767
|
-
*/
|
768
|
-
setSpokenLanguage(language: string): Promise<void>;
|
769
|
-
/**
|
770
|
-
* Funtion to stop captions
|
771
|
-
*/
|
772
|
-
stopCaptions(): Promise<void>;
|
773
|
-
/**
|
774
|
-
* Start the blur video background effect.
|
775
|
-
*
|
776
|
-
* @beta
|
777
|
-
*/
|
778
|
-
blurVideoBackground(backgroundBlurConfig?: BackgroundBlurConfig): Promise<void>;
|
779
|
-
/**
|
780
|
-
* Start the video background replacement effect.
|
781
|
-
*
|
782
|
-
* @beta
|
783
|
-
*/
|
784
|
-
replaceVideoBackground(backgroundReplacementConfig: BackgroundReplacementConfig): Promise<void>;
|
785
|
-
/**
|
786
|
-
* Stop the video background effect.
|
787
|
-
*
|
788
|
-
* @beta
|
789
|
-
*/
|
790
|
-
stopVideoBackgroundEffects(): Promise<void>;
|
791
|
-
/**
|
792
|
-
* Override the background picker images for background replacement effect.
|
793
|
-
*
|
794
|
-
* @param backgroundImages - Array of custom background images.
|
795
|
-
*
|
796
|
-
* @beta
|
797
|
-
*/
|
798
|
-
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
799
|
-
/**
|
800
|
-
* Update the selected video background effect.
|
801
|
-
*
|
802
|
-
* @beta
|
803
|
-
*/
|
804
|
-
updateSelectedVideoBackgroundEffect(selectedVideoBackground: SelectedVideoBackgroundEffect): void;
|
805
460
|
}
|
806
461
|
|
807
462
|
/**
|
@@ -820,33 +475,11 @@ export declare type CallAdapterClientState = {
|
|
820
475
|
* Latest error encountered for each operation performed via the adapter.
|
821
476
|
*/
|
822
477
|
latestErrors: AdapterErrors;
|
823
|
-
/**
|
824
|
-
* Azure communications Phone number to make PSTN calls with.
|
825
|
-
*/
|
826
|
-
alternateCallerId?: string;
|
827
|
-
/**
|
828
|
-
* Environment information about system the adapter is made on
|
829
|
-
*/
|
830
|
-
environmentInfo?: EnvironmentInfo;
|
831
|
-
/**
|
832
|
-
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
833
|
-
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
834
|
-
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
835
|
-
*/
|
836
|
-
roleHint?: Role;
|
837
478
|
/**
|
838
479
|
* State to track whether the local participant's camera is on. To be used when creating a custom
|
839
480
|
* control bar with the CallComposite.
|
840
481
|
*/
|
841
482
|
cameraStatus?: 'On' | 'Off';
|
842
|
-
/**
|
843
|
-
* Default set of background images for background replacement effect.
|
844
|
-
*/
|
845
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
846
|
-
/**
|
847
|
-
* State to track the selected video background effect.
|
848
|
-
*/
|
849
|
-
selectedVideoBackgroundEffect?: SelectedVideoBackgroundEffect;
|
850
483
|
};
|
851
484
|
|
852
485
|
/**
|
@@ -931,7 +564,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
931
564
|
*
|
932
565
|
* @public
|
933
566
|
*/
|
934
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator
|
567
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
|
935
568
|
|
936
569
|
/**
|
937
570
|
* {@link CommonCallAdapter} state.
|
@@ -1008,14 +641,6 @@ export declare interface CallAdapterSubscribers {
|
|
1008
641
|
* Subscribe function for 'error' event.
|
1009
642
|
*/
|
1010
643
|
on(event: 'error', listener: (e: AdapterError) => void): void;
|
1011
|
-
/**
|
1012
|
-
* Subscribe function for 'captionsReceived' event.
|
1013
|
-
*/
|
1014
|
-
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
1015
|
-
/**
|
1016
|
-
* Subscribe function for 'isCaptionsActiveChanged' event.
|
1017
|
-
*/
|
1018
|
-
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1019
644
|
/**
|
1020
645
|
* Unsubscribe function for 'participantsJoined' event.
|
1021
646
|
*/
|
@@ -1064,14 +689,6 @@ export declare interface CallAdapterSubscribers {
|
|
1064
689
|
* Unsubscribe function for 'error' event.
|
1065
690
|
*/
|
1066
691
|
off(event: 'error', listener: (e: AdapterError) => void): void;
|
1067
|
-
/**
|
1068
|
-
* Unsubscribe function for 'captionsReceived' event.
|
1069
|
-
*/
|
1070
|
-
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
1071
|
-
/**
|
1072
|
-
* Unsubscribe function for 'isCaptionsActiveChanged' event.
|
1073
|
-
*/
|
1074
|
-
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1075
692
|
}
|
1076
693
|
|
1077
694
|
/**
|
@@ -1082,7 +699,6 @@ export declare interface CallAdapterSubscribers {
|
|
1082
699
|
export declare type CallAdapterUiState = {
|
1083
700
|
isLocalPreviewMicrophoneEnabled: boolean;
|
1084
701
|
page: CallCompositePage;
|
1085
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
1086
702
|
};
|
1087
703
|
|
1088
704
|
/**
|
@@ -1101,7 +717,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
1101
717
|
*/
|
1102
718
|
export declare interface CallAgentProviderProps {
|
1103
719
|
children: React_2.ReactNode;
|
1104
|
-
callAgent?: CallAgent
|
720
|
+
callAgent?: CallAgent;
|
1105
721
|
}
|
1106
722
|
|
1107
723
|
/**
|
@@ -1126,7 +742,7 @@ export declare interface CallAgentState {
|
|
1126
742
|
*/
|
1127
743
|
export declare interface CallAndChatLocator {
|
1128
744
|
/** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
|
1129
|
-
callLocator: GroupCallLocator
|
745
|
+
callLocator: GroupCallLocator;
|
1130
746
|
/** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
|
1131
747
|
chatThreadId: string;
|
1132
748
|
}
|
@@ -1213,16 +829,6 @@ export declare interface CallClientState {
|
|
1213
829
|
* See documentation of {@Link CallErrors} for details.
|
1214
830
|
*/
|
1215
831
|
latestErrors: CallErrors;
|
1216
|
-
/**
|
1217
|
-
* A phone number in E.164 format that will be used to represent callers identity.
|
1218
|
-
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
1219
|
-
* be used as the caller id in the PSTN call.
|
1220
|
-
*/
|
1221
|
-
alternateCallerId?: string;
|
1222
|
-
/**
|
1223
|
-
* state to track the environment that the stateful client was made in is supported
|
1224
|
-
*/
|
1225
|
-
environmentInfo?: EnvironmentInfo;
|
1226
832
|
}
|
1227
833
|
|
1228
834
|
/**
|
@@ -1287,12 +893,6 @@ export declare type CallCompositeIcons = {
|
|
1287
893
|
ParticipantItemScreenShareStart?: JSX.Element;
|
1288
894
|
VideoTileMicOff?: JSX.Element;
|
1289
895
|
LocalCameraSwitch?: JSX.Element;
|
1290
|
-
PeoplePaneAddPerson?: JSX.Element;
|
1291
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
1292
|
-
DialpadStartCall?: JSX.Element;
|
1293
|
-
NoticePageInvalidRoom?: JSX.Element;
|
1294
|
-
BlurVideoBackground?: JSX.Element;
|
1295
|
-
RemoveVideoBackgroundEffect?: JSX.Element;
|
1296
896
|
};
|
1297
897
|
|
1298
898
|
/**
|
@@ -1313,60 +913,6 @@ export declare type CallCompositeOptions = {
|
|
1313
913
|
* @defaultValue true
|
1314
914
|
*/
|
1315
915
|
callControls?: boolean | CallControlOptions;
|
1316
|
-
/**
|
1317
|
-
* Device permissions check options for your call.
|
1318
|
-
* Here you can choose what device permissions you prompt the user for,
|
1319
|
-
* as well as what device permissions must be accepted before starting a call.
|
1320
|
-
*/
|
1321
|
-
deviceChecks?: DeviceCheckOptions;
|
1322
|
-
/**
|
1323
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1324
|
-
* unable to grant your site the required permissions for the call.
|
1325
|
-
*
|
1326
|
-
* @example
|
1327
|
-
* ```ts
|
1328
|
-
* onPermissionsTroubleshootingClick: () =>
|
1329
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
1330
|
-
* ```
|
1331
|
-
*
|
1332
|
-
* @remarks
|
1333
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
1334
|
-
*/
|
1335
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
1336
|
-
camera: PermissionState;
|
1337
|
-
microphone: PermissionState;
|
1338
|
-
}) => void;
|
1339
|
-
/**
|
1340
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1341
|
-
* having network issues when connecting to the call.
|
1342
|
-
*
|
1343
|
-
* @example
|
1344
|
-
* ```ts
|
1345
|
-
* onNetworkingTroubleShootingClick?: () =>
|
1346
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
1347
|
-
* ```
|
1348
|
-
*
|
1349
|
-
* @remarks
|
1350
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
1351
|
-
*/
|
1352
|
-
onNetworkingTroubleShootingClick?: () => void;
|
1353
|
-
/**
|
1354
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
1355
|
-
*
|
1356
|
-
* @example
|
1357
|
-
* ```ts
|
1358
|
-
* onBrowserTroubleShootingClick?: () =>
|
1359
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
1360
|
-
* ```
|
1361
|
-
*
|
1362
|
-
* @remarks
|
1363
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
1364
|
-
*/
|
1365
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1366
|
-
/**
|
1367
|
-
* Remote participant video tile menu options
|
1368
|
-
*/
|
1369
|
-
remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
|
1370
916
|
};
|
1371
917
|
|
1372
918
|
/**
|
@@ -1374,7 +920,7 @@ export declare type CallCompositeOptions = {
|
|
1374
920
|
*
|
1375
921
|
* @public
|
1376
922
|
*/
|
1377
|
-
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' |
|
923
|
+
export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
|
1378
924
|
|
1379
925
|
/**
|
1380
926
|
* Props for {@link CallComposite}.
|
@@ -1480,6 +1026,10 @@ export declare interface CallCompositeStrings {
|
|
1480
1026
|
* More details text of the page shown to the user when joining a call fails due to a network problem.
|
1481
1027
|
*/
|
1482
1028
|
failedToJoinCallDueToNoNetworkMoreDetails?: string;
|
1029
|
+
/**
|
1030
|
+
* Text to display on a leaving page.
|
1031
|
+
*/
|
1032
|
+
leavingCallTitle?: string;
|
1483
1033
|
/**
|
1484
1034
|
* Title text of the page shown to the user when they leave a call in the call composite.
|
1485
1035
|
*/
|
@@ -1589,197 +1139,41 @@ export declare interface CallCompositeStrings {
|
|
1589
1139
|
*/
|
1590
1140
|
microphoneToggleInLobbyNotAllowed: string;
|
1591
1141
|
/**
|
1592
|
-
*
|
1142
|
+
* aria label for when the invite link has been actioned
|
1593
1143
|
*/
|
1594
|
-
|
1144
|
+
copyInviteLinkActionedAriaLabel: string;
|
1595
1145
|
/**
|
1596
|
-
*
|
1146
|
+
* Notice to be announced by narrator when a participant joins a call
|
1597
1147
|
*/
|
1598
|
-
|
1148
|
+
participantJoinedNoticeString: string;
|
1599
1149
|
/**
|
1600
|
-
*
|
1150
|
+
* Notice to be announced by narrator when a participant joins a call
|
1601
1151
|
*/
|
1602
|
-
|
1152
|
+
twoParticipantJoinedNoticeString: string;
|
1603
1153
|
/**
|
1604
|
-
*
|
1154
|
+
* Notice to be announced by narrator when a participant joins a call
|
1605
1155
|
*/
|
1606
|
-
|
1156
|
+
threeParticipantJoinedNoticeString: string;
|
1607
1157
|
/**
|
1608
|
-
*
|
1158
|
+
* Notice to be announced by narrator when a participant leaves a call
|
1609
1159
|
*/
|
1610
|
-
|
1160
|
+
participantLeftNoticeString: string;
|
1611
1161
|
/**
|
1612
|
-
*
|
1162
|
+
* Notice to be announced by narrator when 2 participants leave a call
|
1613
1163
|
*/
|
1614
|
-
|
1164
|
+
twoParticipantLeftNoticeString: string;
|
1615
1165
|
/**
|
1616
|
-
*
|
1166
|
+
* Notice to be announced by narrator when 3 participants leave a call
|
1617
1167
|
*/
|
1618
|
-
|
1168
|
+
threeParticipantLeftNoticeString: string;
|
1619
1169
|
/**
|
1620
|
-
*
|
1170
|
+
* string to be used to announce a change in participant if they have no displayName
|
1621
1171
|
*/
|
1622
|
-
|
1172
|
+
unnamedParticipantString: string;
|
1623
1173
|
/**
|
1624
|
-
*
|
1174
|
+
* string to be used to announce when more than 3 participants have joined at the same time.
|
1625
1175
|
*/
|
1626
|
-
|
1627
|
-
/**
|
1628
|
-
* Label for menu item to remove participant
|
1629
|
-
*/
|
1630
|
-
removeMenuLabel: string;
|
1631
|
-
/**
|
1632
|
-
* Label for add people dropdown
|
1633
|
-
*/
|
1634
|
-
peoplePaneAddPeopleButtonLabel: string;
|
1635
|
-
/**
|
1636
|
-
* Label for button to start a call
|
1637
|
-
*/
|
1638
|
-
dialpadStartCallButtonLabel: string;
|
1639
|
-
/**
|
1640
|
-
* Title for dialpad Modal
|
1641
|
-
*/
|
1642
|
-
dialpadModalTitle: string;
|
1643
|
-
/**
|
1644
|
-
* Aria Label for dialpad Modal
|
1645
|
-
*/
|
1646
|
-
dialpadModalAriaLabel: string;
|
1647
|
-
/**
|
1648
|
-
* Aria Label for dialpad Modal close button
|
1649
|
-
*/
|
1650
|
-
dialpadCloseModalButtonAriaLabel: string;
|
1651
|
-
/**
|
1652
|
-
* label for more button in the Calling composite
|
1653
|
-
*/
|
1654
|
-
moreButtonCallingLabel: string;
|
1655
|
-
/**
|
1656
|
-
* Label for the resume call button on the hold pane
|
1657
|
-
*/
|
1658
|
-
resumeCallButtonLabel: string;
|
1659
|
-
/**
|
1660
|
-
* Label for the resume call button on the hold pane when call is resuming
|
1661
|
-
*/
|
1662
|
-
resumingCallButtonLabel: string;
|
1663
|
-
/**
|
1664
|
-
* Aria label for the resume call button on the hold pane
|
1665
|
-
*/
|
1666
|
-
resumeCallButtonAriaLabel: string;
|
1667
|
-
/**
|
1668
|
-
* Aria label for the resume call button on the hold pane when call is resuming
|
1669
|
-
*/
|
1670
|
-
resumingCallButtonAriaLabel: string;
|
1671
|
-
/**
|
1672
|
-
* Label for the hold pane
|
1673
|
-
*/
|
1674
|
-
holdScreenLabel: string;
|
1675
|
-
/**
|
1676
|
-
* Placeholder text for dtmf dialpad
|
1677
|
-
*/
|
1678
|
-
dtmfDialpadPlaceholderText: string;
|
1679
|
-
/**
|
1680
|
-
* Label for the button to open dtmf dialpad
|
1681
|
-
*/
|
1682
|
-
openDtmfDialpadLabel: string;
|
1683
|
-
/**
|
1684
|
-
* aria label for when the invite link has been actioned
|
1685
|
-
*/
|
1686
|
-
copyInviteLinkActionedAriaLabel: string;
|
1687
|
-
/**
|
1688
|
-
* Title text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1689
|
-
*/
|
1690
|
-
roomNotFoundTitle: string;
|
1691
|
-
/**
|
1692
|
-
* More details text of the page shown to the user when the user attempts to join a room that cannot be found.
|
1693
|
-
*/
|
1694
|
-
roomNotFoundDetails?: string;
|
1695
|
-
/**
|
1696
|
-
* Video Effects pane title.
|
1697
|
-
*/
|
1698
|
-
videoEffectsPaneTitle: string;
|
1699
|
-
/**
|
1700
|
-
* Video Effects pane sub section title for choosing background.
|
1701
|
-
*/
|
1702
|
-
videoEffectsPaneBackgroundSelectionTitle: string;
|
1703
|
-
/**
|
1704
|
-
* Label for the button to open effects
|
1705
|
-
*/
|
1706
|
-
configurationPageVideoEffectsButtonLabel?: string;
|
1707
|
-
/**
|
1708
|
-
* Error message for video effect failure
|
1709
|
-
*/
|
1710
|
-
unableToStartVideoEffect?: string;
|
1711
|
-
/**
|
1712
|
-
* Label for the blur video background effect item
|
1713
|
-
*/
|
1714
|
-
blurBackgroundEffectButtonLabel?: string;
|
1715
|
-
/**
|
1716
|
-
* Tooltip text for the blur video background effect item
|
1717
|
-
*/
|
1718
|
-
blurBackgroundTooltip?: string;
|
1719
|
-
/**
|
1720
|
-
* Label for the remove video background effect item
|
1721
|
-
*/
|
1722
|
-
removeBackgroundEffectButtonLabel?: string;
|
1723
|
-
/**
|
1724
|
-
* Tooltip text for the blur video background effect item
|
1725
|
-
*/
|
1726
|
-
removeBackgroundTooltip?: string;
|
1727
|
-
/**
|
1728
|
-
* Text to show when warning the user the camera is off and inform the user to turn the camera on to see the selected video background effect.
|
1729
|
-
*/
|
1730
|
-
cameraOffBackgroundEffectWarningText?: string;
|
1731
|
-
/**
|
1732
|
-
* Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1733
|
-
*/
|
1734
|
-
deniedPermissionToRoomTitle: string;
|
1735
|
-
/**
|
1736
|
-
* More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
|
1737
|
-
*/
|
1738
|
-
deniedPermissionToRoomDetails?: string;
|
1739
|
-
/**
|
1740
|
-
* Control bar People button ToolTipContent
|
1741
|
-
*/
|
1742
|
-
peopleButtonTooltipOpen: string;
|
1743
|
-
/**
|
1744
|
-
* Control bar People button ToolTipContent
|
1745
|
-
*/
|
1746
|
-
peopleButtonTooltipClose: string;
|
1747
|
-
/**
|
1748
|
-
* Label disaplayed on the lobby screen during a 1:1 outbound call.
|
1749
|
-
*/
|
1750
|
-
outboundCallingNoticeString: string;
|
1751
|
-
/**
|
1752
|
-
* Notice to be announced by narrator when a participant joins a call
|
1753
|
-
*/
|
1754
|
-
participantJoinedNoticeString: string;
|
1755
|
-
/**
|
1756
|
-
* Notice to be announced by narrator when a participant joins a call
|
1757
|
-
*/
|
1758
|
-
twoParticipantJoinedNoticeString: string;
|
1759
|
-
/**
|
1760
|
-
* Notice to be announced by narrator when a participant joins a call
|
1761
|
-
*/
|
1762
|
-
threeParticipantJoinedNoticeString: string;
|
1763
|
-
/**
|
1764
|
-
* Notice to be announced by narrator when a participant leaves a call
|
1765
|
-
*/
|
1766
|
-
participantLeftNoticeString: string;
|
1767
|
-
/**
|
1768
|
-
* Notice to be announced by narrator when 2 participants leave a call
|
1769
|
-
*/
|
1770
|
-
twoParticipantLeftNoticeString: string;
|
1771
|
-
/**
|
1772
|
-
* Notice to be announced by narrator when 3 participants leave a call
|
1773
|
-
*/
|
1774
|
-
threeParticipantLeftNoticeString: string;
|
1775
|
-
/**
|
1776
|
-
* string to be used to announce a change in participant if they have no displayName
|
1777
|
-
*/
|
1778
|
-
unnamedParticipantString: string;
|
1779
|
-
/**
|
1780
|
-
* string to be used to announce when more than 3 participants have joined at the same time.
|
1781
|
-
*/
|
1782
|
-
manyParticipantsJoined: string;
|
1176
|
+
manyParticipantsJoined: string;
|
1783
1177
|
/**
|
1784
1178
|
* string to be used to announce when more than 3 participants have left at the same time.
|
1785
1179
|
*/
|
@@ -1792,70 +1186,6 @@ export declare interface CallCompositeStrings {
|
|
1792
1186
|
* string to be used to announce when multiple unnamed participants have left at the same time.
|
1793
1187
|
*/
|
1794
1188
|
manyUnnamedParticipantsLeft: string;
|
1795
|
-
/**
|
1796
|
-
* string to be used to open live captions contextual menu
|
1797
|
-
*/
|
1798
|
-
liveCaptionsLabel?: string;
|
1799
|
-
/**
|
1800
|
-
* label for opening captions setting modal
|
1801
|
-
*/
|
1802
|
-
captionsSettingsLabel?: string;
|
1803
|
-
/**
|
1804
|
-
* string to be used to start captions
|
1805
|
-
*/
|
1806
|
-
startCaptionsButtonOnLabel?: string;
|
1807
|
-
/**
|
1808
|
-
* string to be used to stop captions
|
1809
|
-
*/
|
1810
|
-
startCaptionsButtonOffLabel?: string;
|
1811
|
-
/**
|
1812
|
-
* tooltip string to be used to show captions is on
|
1813
|
-
*/
|
1814
|
-
startCaptionsButtonTooltipOnContent?: string;
|
1815
|
-
/**
|
1816
|
-
*tooltip string to be used to show captions is off
|
1817
|
-
*/
|
1818
|
-
startCaptionsButtonTooltipOffContent?: string;
|
1819
|
-
/**
|
1820
|
-
* captions setting modal title
|
1821
|
-
*/
|
1822
|
-
captionsSettingsModalTitle?: string;
|
1823
|
-
/**
|
1824
|
-
* label for dropdown inside captions setting modal
|
1825
|
-
*/
|
1826
|
-
captionsSettingsDropdownLabel?: string;
|
1827
|
-
/**
|
1828
|
-
* text under captions setting dropdown indicating what the dropdown is for
|
1829
|
-
*/
|
1830
|
-
captionsSettingsDropdownInfoText?: string;
|
1831
|
-
/**
|
1832
|
-
* confirm button label in captions setting modal
|
1833
|
-
*/
|
1834
|
-
captionsSettingsConfirmButtonLabel?: string;
|
1835
|
-
/**
|
1836
|
-
* cancel button label in captions setting modal
|
1837
|
-
*/
|
1838
|
-
captionsSettingsCancelButtonLabel?: string;
|
1839
|
-
/**
|
1840
|
-
* arial label for captions setting modal
|
1841
|
-
*/
|
1842
|
-
captionsSettingsModalAriaLabel?: string;
|
1843
|
-
/**
|
1844
|
-
* arial label for captions setting modal close button
|
1845
|
-
*/
|
1846
|
-
captionsSettingsCloseModalButtonAriaLabel?: string;
|
1847
|
-
/**
|
1848
|
-
* label for more button inside captions banner
|
1849
|
-
*/
|
1850
|
-
captionsBannerMoreButtonCallingLabel?: string;
|
1851
|
-
/**
|
1852
|
-
* arial label for more button inside captions banner
|
1853
|
-
*/
|
1854
|
-
captionsBannerMoreButtonTooltip?: string;
|
1855
|
-
/**
|
1856
|
-
* list of key value pairs that pairs language code to language names
|
1857
|
-
*/
|
1858
|
-
captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
|
1859
1189
|
}
|
1860
1190
|
|
1861
1191
|
/**
|
@@ -1878,7 +1208,6 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
|
|
1878
1208
|
participantsButton?: boolean | {
|
1879
1209
|
disabled: boolean;
|
1880
1210
|
};
|
1881
|
-
legacyControlBarExperience?: boolean;
|
1882
1211
|
});
|
1883
1212
|
|
1884
1213
|
/**
|
@@ -1940,7 +1269,7 @@ export declare type CallErrors = {
|
|
1940
1269
|
*
|
1941
1270
|
* @public
|
1942
1271
|
*/
|
1943
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' |
|
1272
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject';
|
1944
1273
|
|
1945
1274
|
/**
|
1946
1275
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2007,25 +1336,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2007
1336
|
isMuted?: boolean;
|
2008
1337
|
/** Whether calling participant is speaking */
|
2009
1338
|
isSpeaking?: boolean;
|
2010
|
-
/** Role of participant in Rooms call */
|
2011
|
-
role?: Role;
|
2012
|
-
};
|
2013
|
-
|
2014
|
-
/**
|
2015
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
2016
|
-
*
|
2017
|
-
* @remarks
|
2018
|
-
* This is currently in beta and only supports calling one Teams User.
|
2019
|
-
*
|
2020
|
-
* @example
|
2021
|
-
* ```
|
2022
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
2023
|
-
* ```
|
2024
|
-
*
|
2025
|
-
* @beta
|
2026
|
-
*/
|
2027
|
-
export declare type CallParticipantsLocator = {
|
2028
|
-
participantIds: string[];
|
2029
1339
|
};
|
2030
1340
|
|
2031
1341
|
/**
|
@@ -2044,7 +1354,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
2044
1354
|
*/
|
2045
1355
|
export declare interface CallProviderProps {
|
2046
1356
|
children: React_2.ReactNode;
|
2047
|
-
call?: Call
|
1357
|
+
call?: Call;
|
2048
1358
|
}
|
2049
1359
|
|
2050
1360
|
/**
|
@@ -2058,10 +1368,6 @@ export declare interface CallState {
|
|
2058
1368
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
2059
1369
|
*/
|
2060
1370
|
id: string;
|
2061
|
-
/**
|
2062
|
-
* Type of the call.
|
2063
|
-
*/
|
2064
|
-
kind: CallKind;
|
2065
1371
|
/**
|
2066
1372
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
2067
1373
|
*/
|
@@ -2116,10 +1422,6 @@ export declare interface CallState {
|
|
2116
1422
|
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
2117
1423
|
*/
|
2118
1424
|
transcription: TranscriptionCallFeature;
|
2119
|
-
/**
|
2120
|
-
* Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
|
2121
|
-
*/
|
2122
|
-
captionsFeature: CaptionsCallFeatureState;
|
2123
1425
|
/**
|
2124
1426
|
* Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
|
2125
1427
|
*/
|
@@ -2148,14 +1450,6 @@ export declare interface CallState {
|
|
2148
1450
|
* Stores the latest call diagnostics.
|
2149
1451
|
*/
|
2150
1452
|
diagnostics: DiagnosticsCallFeatureState;
|
2151
|
-
/**
|
2152
|
-
* Proxy of {@link @azure/communication-calling#Call.role}.
|
2153
|
-
*/
|
2154
|
-
role?: ParticipantRole;
|
2155
|
-
/**
|
2156
|
-
* Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
|
2157
|
-
*/
|
2158
|
-
totalParticipantCount?: number;
|
2159
1453
|
}
|
2160
1454
|
|
2161
1455
|
/**
|
@@ -2179,12 +1473,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2179
1473
|
* @public
|
2180
1474
|
*/
|
2181
1475
|
removeParticipant(userId: string): Promise<void>;
|
2182
|
-
/**
|
2183
|
-
* Remove a participant from the call.
|
2184
|
-
* @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
|
2185
|
-
* @beta
|
2186
|
-
*/
|
2187
|
-
removeParticipant(participant: CommunicationIdentifier): Promise<void>;
|
2188
1476
|
/**
|
2189
1477
|
* Join the call with microphone initially on/off.
|
2190
1478
|
*
|
@@ -2239,12 +1527,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2239
1527
|
* @public
|
2240
1528
|
*/
|
2241
1529
|
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
2242
|
-
/**
|
2243
|
-
* Start the call.
|
2244
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
2245
|
-
* @beta
|
2246
|
-
*/
|
2247
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
|
2248
1530
|
/**
|
2249
1531
|
* Start sharing the screen during a call.
|
2250
1532
|
*
|
@@ -2397,103 +1679,6 @@ export declare interface CallWithChatAdapterManagement {
|
|
2397
1679
|
* @public
|
2398
1680
|
*/
|
2399
1681
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
2400
|
-
/** @beta */
|
2401
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
2402
|
-
/** @beta */
|
2403
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
2404
|
-
/** @beta */
|
2405
|
-
clearFileUploads: () => void;
|
2406
|
-
/** @beta */
|
2407
|
-
cancelFileUpload: (id: string) => void;
|
2408
|
-
/** @beta */
|
2409
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
2410
|
-
/** @beta */
|
2411
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
2412
|
-
/** @beta */
|
2413
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
2414
|
-
downloadAttachments: (options: {
|
2415
|
-
attachmentUrls: string[];
|
2416
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
2417
|
-
/**
|
2418
|
-
* Puts the Call in a Localhold.
|
2419
|
-
*
|
2420
|
-
* @beta
|
2421
|
-
*/
|
2422
|
-
holdCall: () => Promise<void>;
|
2423
|
-
/**
|
2424
|
-
* Resumes the call from a LocalHold state.
|
2425
|
-
*
|
2426
|
-
* @beta
|
2427
|
-
*/
|
2428
|
-
resumeCall: () => Promise<void>;
|
2429
|
-
/**
|
2430
|
-
* Adds a new Participant to the call.
|
2431
|
-
*
|
2432
|
-
* @beta
|
2433
|
-
*/
|
2434
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
2435
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
2436
|
-
/**
|
2437
|
-
* send dtmf tone to another participant in the call in 1:1 calls
|
2438
|
-
*
|
2439
|
-
* @beta
|
2440
|
-
*/
|
2441
|
-
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2442
|
-
/**
|
2443
|
-
* Continues into a call when the browser version is not supported.
|
2444
|
-
*/
|
2445
|
-
allowUnsupportedBrowserVersion(): void;
|
2446
|
-
/**
|
2447
|
-
* Function to Start captions
|
2448
|
-
* @param options - options for start captions
|
2449
|
-
*/
|
2450
|
-
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
2451
|
-
/**
|
2452
|
-
* Function to set caption language
|
2453
|
-
* @param language - language set for caption
|
2454
|
-
*/
|
2455
|
-
setCaptionLanguage(language: string): Promise<void>;
|
2456
|
-
/**
|
2457
|
-
* Function to set spoken language
|
2458
|
-
* @param language - spoken language
|
2459
|
-
*/
|
2460
|
-
setSpokenLanguage(language: string): Promise<void>;
|
2461
|
-
/**
|
2462
|
-
* Funtion to stop captions
|
2463
|
-
*/
|
2464
|
-
stopCaptions(): Promise<void>;
|
2465
|
-
/**
|
2466
|
-
* Start the blur video background effect.
|
2467
|
-
*
|
2468
|
-
* @beta
|
2469
|
-
*/
|
2470
|
-
blurVideoBackground(backgroundBlurConfig?: BackgroundBlurConfig): Promise<void>;
|
2471
|
-
/**
|
2472
|
-
* Start the video background replacement effect.
|
2473
|
-
*
|
2474
|
-
* @beta
|
2475
|
-
*/
|
2476
|
-
replaceVideoBackground(backgroundReplacementConfig: BackgroundReplacementConfig): Promise<void>;
|
2477
|
-
/**
|
2478
|
-
* Stop the video background effect.
|
2479
|
-
*
|
2480
|
-
* @beta
|
2481
|
-
*/
|
2482
|
-
stopVideoBackgroundEffects(): Promise<void>;
|
2483
|
-
/**
|
2484
|
-
* Override the background picker images for background replacement effect.
|
2485
|
-
*
|
2486
|
-
* @param backgroundImages - Array of custom background images.
|
2487
|
-
*
|
2488
|
-
* @beta
|
2489
|
-
*/
|
2490
|
-
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
2491
|
-
/**
|
2492
|
-
* Update the selected video background effect
|
2493
|
-
*
|
2494
|
-
* @beta
|
2495
|
-
*/
|
2496
|
-
updateSelectedVideoBackgroundEffect(selectedVideoBackground: SelectedVideoBackgroundEffect): void;
|
2497
1682
|
}
|
2498
1683
|
|
2499
1684
|
/**
|
@@ -2521,8 +1706,6 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2521
1706
|
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
2522
1707
|
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
2523
1708
|
on(event: 'callError', listener: (e: AdapterError) => void): void;
|
2524
|
-
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2525
|
-
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2526
1709
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
2527
1710
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
2528
1711
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -2534,8 +1717,6 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2534
1717
|
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
2535
1718
|
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
2536
1719
|
off(event: 'callError', listener: (e: AdapterError) => void): void;
|
2537
|
-
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2538
|
-
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2539
1720
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
2540
1721
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
2541
1722
|
on(event: 'messageRead', listener: MessageReadListener): void;
|
@@ -2568,22 +1749,6 @@ export declare interface CallWithChatAdapterUiState {
|
|
2568
1749
|
* @public
|
2569
1750
|
*/
|
2570
1751
|
page: CallCompositePage;
|
2571
|
-
/**
|
2572
|
-
* Files being uploaded by a user in the current thread.
|
2573
|
-
* Should be set to null once the upload is complete.
|
2574
|
-
* Array of type {@link FileUploadsUiState}
|
2575
|
-
*
|
2576
|
-
* @beta
|
2577
|
-
*/
|
2578
|
-
fileUploads?: FileUploadsUiState;
|
2579
|
-
/**
|
2580
|
-
* State to track whether the end user has opted in to using a
|
2581
|
-
* out of date version of a supported browser. Allows the user
|
2582
|
-
* to start a call in this state.
|
2583
|
-
*
|
2584
|
-
* @beta
|
2585
|
-
*/
|
2586
|
-
unsupportedBrowserVersionsAllowed?: boolean;
|
2587
1752
|
}
|
2588
1753
|
|
2589
1754
|
/**
|
@@ -2608,14 +1773,6 @@ export declare interface CallWithChatClientState {
|
|
2608
1773
|
devices: DeviceManagerState;
|
2609
1774
|
/** State of whether the active call is a Teams interop call */
|
2610
1775
|
isTeamsCall: boolean;
|
2611
|
-
/** alternateCallerId for PSTN call */
|
2612
|
-
alternateCallerId?: string | undefined;
|
2613
|
-
/** Environment information for system adapter is made on */
|
2614
|
-
environmentInfo?: EnvironmentInfo;
|
2615
|
-
/** Default set of background images for background replacement effect */
|
2616
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
2617
|
-
/** State to track the selected video background effect */
|
2618
|
-
selectedVideoBackgroundEffect?: SelectedVideoBackgroundEffect;
|
2619
1776
|
}
|
2620
1777
|
|
2621
1778
|
/**
|
@@ -2682,9 +1839,6 @@ export declare type CallWithChatCompositeIcons = {
|
|
2682
1839
|
ParticipantItemScreenShareStart?: JSX.Element;
|
2683
1840
|
VideoTileMicOff?: JSX.Element;
|
2684
1841
|
LocalCameraSwitch?: JSX.Element;
|
2685
|
-
PeoplePaneAddPerson?: JSX.Element;
|
2686
|
-
PeoplePaneOpenDialpad?: JSX.Element;
|
2687
|
-
DialpadStartCall?: JSX.Element;
|
2688
1842
|
EditBoxCancel?: JSX.Element;
|
2689
1843
|
EditBoxSubmit?: JSX.Element;
|
2690
1844
|
MessageDelivered?: JSX.Element;
|
@@ -2711,62 +1865,6 @@ export declare type CallWithChatCompositeOptions = {
|
|
2711
1865
|
* If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
|
2712
1866
|
*/
|
2713
1867
|
callControls?: boolean | CallWithChatControlOptions;
|
2714
|
-
/**
|
2715
|
-
* Properties for configuring the File Sharing feature.
|
2716
|
-
* If undefined, file sharing feature will be disabled.
|
2717
|
-
* @beta
|
2718
|
-
*/
|
2719
|
-
fileSharing?: FileSharingOptions;
|
2720
|
-
/**
|
2721
|
-
* Device permissions check options for your call.
|
2722
|
-
* Here you can choose what device permissions you prompt the user for,
|
2723
|
-
* as well as what device permissions must be accepted before starting a call.
|
2724
|
-
*/
|
2725
|
-
deviceChecks?: DeviceCheckOptions;
|
2726
|
-
/**
|
2727
|
-
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
2728
|
-
* unable to grant your site the required permissions for the call.
|
2729
|
-
*
|
2730
|
-
* @example
|
2731
|
-
* ```ts
|
2732
|
-
* onPermissionsTroubleshootingClick: () =>
|
2733
|
-
* window.open('https://contoso.com/permissions-troubleshooting', '_blank');
|
2734
|
-
* ```
|
2735
|
-
*
|
2736
|
-
* @remarks
|
2737
|
-
* if this is not supplied, the composite will not show a 'further troubleshooting' link.
|
2738
|
-
*/
|
2739
|
-
onPermissionsTroubleshootingClick?: (permissionsState: {
|
2740
|
-
camera: PermissionState;
|
2741
|
-
microphone: PermissionState;
|
2742
|
-
}) => void;
|
2743
|
-
/**
|
2744
|
-
* Optional callback to supply users with further troubleshooting steps for network issues
|
2745
|
-
* experienced when connecting to a call.
|
2746
|
-
*
|
2747
|
-
* @example
|
2748
|
-
* ```ts
|
2749
|
-
* onNetworkingTroubleShootingClick?: () =>
|
2750
|
-
* window.open('https://contoso.com/network-troubleshooting', '_blank');
|
2751
|
-
* ```
|
2752
|
-
*
|
2753
|
-
* @remarks
|
2754
|
-
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
2755
|
-
*/
|
2756
|
-
onNetworkingTroubleShootingClick?: () => void;
|
2757
|
-
/**
|
2758
|
-
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
2759
|
-
*
|
2760
|
-
* @example
|
2761
|
-
* ```ts
|
2762
|
-
* onBrowserTroubleShootingClick?: () =>
|
2763
|
-
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
2764
|
-
* ```
|
2765
|
-
*
|
2766
|
-
* @remarks
|
2767
|
-
* if this is not supplied, the composite will not show a unsupported browser page.
|
2768
|
-
*/
|
2769
|
-
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2770
1868
|
};
|
2771
1869
|
|
2772
1870
|
/**
|
@@ -2852,18 +1950,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
2852
1950
|
* Only used with `mobileView` set to `true`.
|
2853
1951
|
*/
|
2854
1952
|
moreDrawerSpeakerMenuTitle: string;
|
2855
|
-
/**
|
2856
|
-
* Title for the captions sub-menu in more button drawer.
|
2857
|
-
*
|
2858
|
-
* Only used with `mobileView` set to `true`.
|
2859
|
-
*/
|
2860
|
-
moreDrawerCaptionsMenuTitle: string;
|
2861
|
-
/**
|
2862
|
-
* Title for the spoken language sub-menu in more button drawer.
|
2863
|
-
*
|
2864
|
-
* Only used with `mobileView` set to `true`.
|
2865
|
-
*/
|
2866
|
-
moreDrawerSpokenLanguageMenuTitle: string;
|
2867
1953
|
/**
|
2868
1954
|
* {@Link CallWithChatComposite} control bar More button label
|
2869
1955
|
*/
|
@@ -2904,10 +1990,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
2904
1990
|
* Label for button to copy invite link
|
2905
1991
|
*/
|
2906
1992
|
copyInviteLinkButtonLabel: string;
|
2907
|
-
/**
|
2908
|
-
* Label for button to open dialpad
|
2909
|
-
*/
|
2910
|
-
openDialpadButtonLabel: string;
|
2911
1993
|
/**
|
2912
1994
|
* Label for SidePaneHeader dismiss button
|
2913
1995
|
*/
|
@@ -2920,34 +2002,6 @@ export declare interface CallWithChatCompositeStrings {
|
|
2920
2002
|
* Aria label string for return to call back button
|
2921
2003
|
*/
|
2922
2004
|
returnToCallButtonAriaLabel?: string;
|
2923
|
-
/**
|
2924
|
-
* Label for add people dropdown
|
2925
|
-
*/
|
2926
|
-
peoplePaneAddPeopleButtonLabel: string;
|
2927
|
-
/**
|
2928
|
-
* Label for button to start a call
|
2929
|
-
*/
|
2930
|
-
dialpadStartCallButtonLabel: string;
|
2931
|
-
/**
|
2932
|
-
* Title for dialpad Modal
|
2933
|
-
*/
|
2934
|
-
dialpadModalTitle: string;
|
2935
|
-
/**
|
2936
|
-
* Aria Label for dialpad Modal
|
2937
|
-
*/
|
2938
|
-
dialpadModalAriaLabel: string;
|
2939
|
-
/**
|
2940
|
-
* Aria Label for dialpad Modal close button
|
2941
|
-
*/
|
2942
|
-
dialpadCloseModalButtonAriaLabel: string;
|
2943
|
-
/**
|
2944
|
-
* Placeholder text for dtmf dialpad
|
2945
|
-
*/
|
2946
|
-
dtmfDialpadPlaceholderText: string;
|
2947
|
-
/**
|
2948
|
-
* Label for the button to open dtmf dialpad
|
2949
|
-
*/
|
2950
|
-
openDtmfDialpadLabel: string;
|
2951
2005
|
/**
|
2952
2006
|
* aria label for when the invite link has been actioned
|
2953
2007
|
*/
|
@@ -2964,9 +2018,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2964
2018
|
* Show or hide the chat button in the call-with-chat composite control bar.
|
2965
2019
|
* @defaultValue true
|
2966
2020
|
*/
|
2967
|
-
chatButton?: boolean
|
2968
|
-
disabled: boolean;
|
2969
|
-
};
|
2021
|
+
chatButton?: boolean;
|
2970
2022
|
}
|
2971
2023
|
|
2972
2024
|
/**
|
@@ -2974,36 +2026,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
2974
2026
|
*
|
2975
2027
|
* @public
|
2976
2028
|
*/
|
2977
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' |
|
2978
|
-
|
2979
|
-
/**
|
2980
|
-
* @beta
|
2981
|
-
*
|
2982
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2983
|
-
* by their browsers settings.
|
2984
|
-
*/
|
2985
|
-
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
2986
|
-
|
2987
|
-
/**
|
2988
|
-
* @beta
|
2989
|
-
* Props for CameraAndMicrophoneSitePermissions component.
|
2990
|
-
*/
|
2991
|
-
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
2992
|
-
/** Icon name for the camera icon */
|
2993
|
-
cameraIconName?: string;
|
2994
|
-
/** Icon name for the microphone icon */
|
2995
|
-
microphoneIconName?: string;
|
2996
|
-
/** Icon name for the central icon between the camera and microphone icons */
|
2997
|
-
connectorIconName?: string;
|
2998
|
-
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
2999
|
-
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
3000
|
-
}
|
3001
|
-
|
3002
|
-
/**
|
3003
|
-
* @beta
|
3004
|
-
* Strings for CameraAndMicrophoneSitePermissions component.
|
3005
|
-
*/
|
3006
|
-
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2029
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3007
2030
|
|
3008
2031
|
/**
|
3009
2032
|
* A button to turn camera on / off.
|
@@ -3067,10 +2090,6 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
|
|
3067
2090
|
* Styles for {@link CameraButton} and the device selection flyout.
|
3068
2091
|
*/
|
3069
2092
|
styles?: Partial<CameraButtonStyles>;
|
3070
|
-
/**
|
3071
|
-
* Callback when a effects is clicked
|
3072
|
-
*/
|
3073
|
-
onShowVideoEffectsPicker?: (showVideoEffectsOptions: boolean) => void;
|
3074
2093
|
}
|
3075
2094
|
|
3076
2095
|
/**
|
@@ -3143,10 +2162,6 @@ export declare interface CameraButtonStrings {
|
|
3143
2162
|
* Title for primary action section of split button
|
3144
2163
|
*/
|
3145
2164
|
cameraPrimaryActionSplitButtonTitle?: string;
|
3146
|
-
/**
|
3147
|
-
* Title for video effects menu item
|
3148
|
-
*/
|
3149
|
-
videoEffectsMenuItemTitle?: string;
|
3150
2165
|
}
|
3151
2166
|
|
3152
2167
|
/**
|
@@ -3156,178 +2171,23 @@ export declare interface CameraButtonStrings {
|
|
3156
2171
|
*/
|
3157
2172
|
export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
3158
2173
|
/**
|
3159
|
-
* Styles for the {@link CameraButton} menu.
|
3160
|
-
*/
|
3161
|
-
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3162
|
-
}
|
3163
|
-
|
3164
|
-
/**
|
3165
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
3166
|
-
* by their browsers settings.
|
3167
|
-
*
|
3168
|
-
* @beta
|
3169
|
-
*/
|
3170
|
-
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
3171
|
-
|
3172
|
-
/**
|
3173
|
-
* @beta
|
3174
|
-
* Props for CameraSitePermissions component.
|
3175
|
-
*/
|
3176
|
-
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
3177
|
-
/** Icon name for the camera icon */
|
3178
|
-
cameraIconName?: string;
|
3179
|
-
/** Strings for use with the {@link CameraSitePermissions} */
|
3180
|
-
strings?: CameraSitePermissionsStrings;
|
3181
|
-
}
|
3182
|
-
|
3183
|
-
/**
|
3184
|
-
* @beta
|
3185
|
-
* Strings for CameraSitePermissions component.
|
3186
|
-
*/
|
3187
|
-
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
3188
|
-
|
3189
|
-
/**
|
3190
|
-
* @public
|
3191
|
-
* Callback function run when a message edit is cancelled.
|
3192
|
-
*/
|
3193
|
-
export declare type CancelEditCallback = (messageId: string) => void;
|
3194
|
-
|
3195
|
-
/**
|
3196
|
-
* @beta
|
3197
|
-
* strings for captions setting modal
|
3198
|
-
*/
|
3199
|
-
export declare interface CaptionsAvailableLanguageStrings {
|
3200
|
-
'ar-ae': string;
|
3201
|
-
'ar-sa': string;
|
3202
|
-
'da-dk': string;
|
3203
|
-
'de-de': string;
|
3204
|
-
'en-au': string;
|
3205
|
-
'en-ca': string;
|
3206
|
-
'en-gb': string;
|
3207
|
-
'en-in': string;
|
3208
|
-
'en-nz': string;
|
3209
|
-
'en-us': string;
|
3210
|
-
'es-es': string;
|
3211
|
-
'es-mx': string;
|
3212
|
-
'fi-fi': string;
|
3213
|
-
'fr-ca': string;
|
3214
|
-
'fr-fr': string;
|
3215
|
-
'hi-in': string;
|
3216
|
-
'it-it': string;
|
3217
|
-
'ja-jp': string;
|
3218
|
-
'ko-kr': string;
|
3219
|
-
'nb-no': string;
|
3220
|
-
'nl-be': string;
|
3221
|
-
'nl-nl': string;
|
3222
|
-
'pl-pl': string;
|
3223
|
-
'pt-br': string;
|
3224
|
-
'ru-ru': string;
|
3225
|
-
'sv-se': string;
|
3226
|
-
'zh-cn': string;
|
3227
|
-
'zh-hk': string;
|
3228
|
-
'cs-cz': string;
|
3229
|
-
'pt-pt': string;
|
3230
|
-
'tr-tr': string;
|
3231
|
-
'vi-vn': string;
|
3232
|
-
'th-th': string;
|
3233
|
-
'he-il': string;
|
3234
|
-
'cy-gb': string;
|
3235
|
-
'uk-ua': string;
|
3236
|
-
'el-gr': string;
|
3237
|
-
'hu-hu': string;
|
3238
|
-
'ro-ro': string;
|
3239
|
-
'sk-sk': string;
|
3240
|
-
'zh-tw': string;
|
3241
|
-
}
|
3242
|
-
|
3243
|
-
/**
|
3244
|
-
* @beta
|
3245
|
-
*/
|
3246
|
-
export declare interface CaptionsCallFeatureState {
|
3247
|
-
/**
|
3248
|
-
* supported spoken languages
|
3249
|
-
*/
|
3250
|
-
supportedSpokenLanguages: string[];
|
3251
|
-
/**
|
3252
|
-
* array of received captions
|
3253
|
-
*/
|
3254
|
-
captions: CaptionsInfo[];
|
3255
|
-
/**
|
3256
|
-
* whether captions is on/off
|
3257
|
-
*/
|
3258
|
-
isCaptionsFeatureActive: boolean;
|
3259
|
-
/**
|
3260
|
-
* supported caption languages
|
3261
|
-
*/
|
3262
|
-
supportedCaptionLanguages: string[];
|
3263
|
-
/**
|
3264
|
-
* current spoken language
|
3265
|
-
*/
|
3266
|
-
currentSpokenLanguage: string;
|
3267
|
-
/**
|
3268
|
-
* current caption language
|
3269
|
-
*/
|
3270
|
-
currentCaptionLanguage: string;
|
3271
|
-
}
|
3272
|
-
|
3273
|
-
/**
|
3274
|
-
* @beta
|
3275
|
-
*/
|
3276
|
-
export declare interface CaptionsInfo {
|
3277
|
-
/**
|
3278
|
-
* The state in which this caption data can be classified.
|
3279
|
-
*/
|
3280
|
-
resultType: CaptionsResultType;
|
3281
|
-
/**
|
3282
|
-
* The information of the call participant who spoke the captioned text.
|
3283
|
-
*/
|
3284
|
-
speaker: CallerInfo;
|
3285
|
-
/**
|
3286
|
-
* The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
|
3287
|
-
*/
|
3288
|
-
spokenLanguage: string;
|
3289
|
-
/**
|
3290
|
-
* The caption text.
|
3291
|
-
*/
|
3292
|
-
captionText: string;
|
3293
|
-
/**
|
3294
|
-
* Timestamp of when the captioned words were initially spoken.
|
3295
|
-
*/
|
3296
|
-
timestamp: Date;
|
3297
|
-
/**
|
3298
|
-
* The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
|
3299
|
-
*/
|
3300
|
-
captionLanguage?: string;
|
3301
|
-
/**
|
3302
|
-
* The original spoken caption text prior to translating to subtitle language
|
2174
|
+
* Styles for the {@link CameraButton} menu.
|
3303
2175
|
*/
|
3304
|
-
|
2176
|
+
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
3305
2177
|
}
|
3306
2178
|
|
3307
2179
|
/**
|
3308
|
-
*
|
3309
|
-
*
|
3310
|
-
* @beta
|
3311
|
-
*/
|
3312
|
-
export declare type CaptionsOptions = {
|
3313
|
-
spokenLanguage: string;
|
3314
|
-
};
|
3315
|
-
|
3316
|
-
/**
|
3317
|
-
* Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
|
3318
|
-
*
|
3319
|
-
* @beta
|
2180
|
+
* @public
|
2181
|
+
* Callback function run when a message edit is cancelled.
|
3320
2182
|
*/
|
3321
|
-
export declare type
|
3322
|
-
captionsInfo: CaptionsInfo;
|
3323
|
-
}) => void;
|
2183
|
+
export declare type CancelEditCallback = (messageId: string) => void;
|
3324
2184
|
|
3325
2185
|
/**
|
3326
2186
|
* {@link ChatComposite} Adapter interface.
|
3327
2187
|
*
|
3328
2188
|
* @public
|
3329
2189
|
*/
|
3330
|
-
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers
|
2190
|
+
export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
|
3331
2191
|
|
3332
2192
|
/**
|
3333
2193
|
* {@link ChatAdapter} state.
|
@@ -3435,9 +2295,7 @@ export declare interface ChatAdapterThreadManagement {
|
|
3435
2295
|
/**
|
3436
2296
|
* Update a message content.
|
3437
2297
|
*/
|
3438
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
3439
|
-
attachedFilesMetadata?: FileMetadata[];
|
3440
|
-
}): Promise<void>;
|
2298
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
|
3441
2299
|
/**
|
3442
2300
|
* Delete a message in the thread.
|
3443
2301
|
*/
|
@@ -3450,9 +2308,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3450
2308
|
*
|
3451
2309
|
*/
|
3452
2310
|
loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
|
3453
|
-
downloadAttachments: (options: {
|
3454
|
-
attachmentUrls: string[];
|
3455
|
-
}) => Promise<AttachmentDownloadResult[]>;
|
3456
2311
|
}
|
3457
2312
|
|
3458
2313
|
/**
|
@@ -3462,13 +2317,6 @@ export declare interface ChatAdapterThreadManagement {
|
|
3462
2317
|
*/
|
3463
2318
|
export declare type ChatAdapterUiState = {
|
3464
2319
|
error?: Error;
|
3465
|
-
/**
|
3466
|
-
* Files being uploaded by a user in the current thread.
|
3467
|
-
* Should be set to null once the upload is complete.
|
3468
|
-
* Array of type {@link FileUploadsUiState}
|
3469
|
-
* @beta
|
3470
|
-
*/
|
3471
|
-
fileUploads?: FileUploadsUiState;
|
3472
2320
|
};
|
3473
2321
|
|
3474
2322
|
/**
|
@@ -3571,7 +2419,6 @@ export declare type ChatCompositeIcons = {
|
|
3571
2419
|
ParticipantItemOptionsHovered?: JSX.Element;
|
3572
2420
|
SendBoxSend?: JSX.Element;
|
3573
2421
|
SendBoxSendHovered?: JSX.Element;
|
3574
|
-
SendBoxAttachFile?: JSX.Element;
|
3575
2422
|
};
|
3576
2423
|
|
3577
2424
|
/**
|
@@ -3586,13 +2433,6 @@ export declare type ChatCompositeOptions = {
|
|
3586
2433
|
* @defaultValue true
|
3587
2434
|
*/
|
3588
2435
|
errorBar?: boolean;
|
3589
|
-
/**
|
3590
|
-
* Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
|
3591
|
-
* @defaultValue false
|
3592
|
-
*
|
3593
|
-
* @beta
|
3594
|
-
*/
|
3595
|
-
participantPane?: boolean;
|
3596
2436
|
/**
|
3597
2437
|
* Show or hide the topic at the top of the chat. Hidden if set to `false`
|
3598
2438
|
* @defaultValue true
|
@@ -3603,12 +2443,6 @@ export declare type ChatCompositeOptions = {
|
|
3603
2443
|
* When undefined nothing has focus on render
|
3604
2444
|
*/
|
3605
2445
|
autoFocus?: 'sendBoxTextField';
|
3606
|
-
/**
|
3607
|
-
* Properties for configuring the File Sharing feature.
|
3608
|
-
* If undefined, file sharing feature will be disabled.
|
3609
|
-
* @beta
|
3610
|
-
*/
|
3611
|
-
fileSharing?: FileSharingOptions;
|
3612
2446
|
};
|
3613
2447
|
|
3614
2448
|
/**
|
@@ -3636,12 +2470,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
|
|
3636
2470
|
* Flags to enable/disable visual elements of the {@link ChatComposite}.
|
3637
2471
|
*/
|
3638
2472
|
options?: ChatCompositeOptions;
|
3639
|
-
/**
|
3640
|
-
* Optimizes the composite form factor for either desktop or mobile.
|
3641
|
-
* @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
|
3642
|
-
* @defaultValue 'desktop'
|
3643
|
-
*/
|
3644
|
-
formFactor?: 'desktop' | 'mobile';
|
3645
2473
|
}
|
3646
2474
|
|
3647
2475
|
/**
|
@@ -3656,10 +2484,6 @@ export declare interface ChatCompositeStrings {
|
|
3656
2484
|
* Chat list header text
|
3657
2485
|
*/
|
3658
2486
|
chatListHeader: string;
|
3659
|
-
/**
|
3660
|
-
* Upload File Button text
|
3661
|
-
*/
|
3662
|
-
uploadFile: string;
|
3663
2487
|
}
|
3664
2488
|
|
3665
2489
|
/**
|
@@ -3725,9 +2549,7 @@ export declare type ChatHandlers = {
|
|
3725
2549
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
3726
2550
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
3727
2551
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
3728
|
-
onUpdateMessage: (messageId: string, content: string
|
3729
|
-
attachedFilesMetadata?: FileMetadata[];
|
3730
|
-
}) => Promise<void>;
|
2552
|
+
onUpdateMessage: (messageId: string, content: string) => Promise<void>;
|
3731
2553
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
3732
2554
|
};
|
3733
2555
|
|
@@ -3754,12 +2576,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3754
2576
|
* {@link @azure/communication-chat#ChatMessage.metadata}
|
3755
2577
|
*/
|
3756
2578
|
metadata?: Record<string, string>;
|
3757
|
-
/**
|
3758
|
-
* @beta
|
3759
|
-
* A list of files attached to the message.
|
3760
|
-
* {@link FileMetadata}
|
3761
|
-
*/
|
3762
|
-
attachedFilesMetadata?: FileMetadata[];
|
3763
2579
|
}
|
3764
2580
|
|
3765
2581
|
/**
|
@@ -3773,7 +2589,6 @@ export declare interface ChatMessage extends MessageCommon {
|
|
3773
2589
|
export declare type ChatMessageWithStatus = ChatMessage_2 & {
|
3774
2590
|
clientMessageId?: string;
|
3775
2591
|
status: MessageStatus;
|
3776
|
-
policyViolation?: boolean;
|
3777
2592
|
};
|
3778
2593
|
|
3779
2594
|
/**
|
@@ -3907,26 +2722,8 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
3907
2722
|
* @public
|
3908
2723
|
*/
|
3909
2724
|
startCall(participants: string[], options?: StartCallOptions): void;
|
3910
|
-
/**
|
3911
|
-
* Start the call.
|
3912
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
3913
|
-
* @beta
|
3914
|
-
*/
|
3915
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
|
3916
2725
|
}
|
3917
2726
|
|
3918
|
-
/**
|
3919
|
-
* Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
|
3920
|
-
*
|
3921
|
-
* @beta
|
3922
|
-
*/
|
3923
|
-
export declare type CommonCallAdapterOptions = {
|
3924
|
-
/**
|
3925
|
-
* Default set of background images for background image picker.
|
3926
|
-
*/
|
3927
|
-
videoBackgroundImages?: VideoBackgroundImage[];
|
3928
|
-
};
|
3929
|
-
|
3930
2727
|
/**
|
3931
2728
|
* Customization options for the control bar in calling experience.
|
3932
2729
|
*
|
@@ -3947,9 +2744,7 @@ export declare type CommonCallControlOptions = {
|
|
3947
2744
|
* Show or Hide Camera Button during a call
|
3948
2745
|
* @defaultValue true
|
3949
2746
|
*/
|
3950
|
-
cameraButton?: boolean
|
3951
|
-
disabled: boolean;
|
3952
|
-
};
|
2747
|
+
cameraButton?: boolean;
|
3953
2748
|
/**
|
3954
2749
|
* Show or Hide EndCall button during a call.
|
3955
2750
|
* @defaultValue true
|
@@ -3959,16 +2754,12 @@ export declare type CommonCallControlOptions = {
|
|
3959
2754
|
* Show or Hide Microphone button during a call.
|
3960
2755
|
* @defaultValue true
|
3961
2756
|
*/
|
3962
|
-
microphoneButton?: boolean
|
3963
|
-
disabled: boolean;
|
3964
|
-
};
|
2757
|
+
microphoneButton?: boolean;
|
3965
2758
|
/**
|
3966
2759
|
* Show or Hide Devices button during a call.
|
3967
2760
|
* @defaultValue true
|
3968
2761
|
*/
|
3969
|
-
devicesButton?: boolean
|
3970
|
-
disabled: boolean;
|
3971
|
-
};
|
2762
|
+
devicesButton?: boolean;
|
3972
2763
|
/**
|
3973
2764
|
* Show, Hide or Disable participants button during a call.
|
3974
2765
|
* @defaultValue true
|
@@ -3983,27 +2774,11 @@ export declare type CommonCallControlOptions = {
|
|
3983
2774
|
screenShareButton?: boolean | {
|
3984
2775
|
disabled: boolean;
|
3985
2776
|
};
|
3986
|
-
/**
|
3987
|
-
* Show, Hide or disable the more button during a call.
|
3988
|
-
* @defaultValue true
|
3989
|
-
*/
|
3990
|
-
moreButton?: boolean;
|
3991
|
-
/**
|
3992
|
-
* Inject custom buttons in the call controls.
|
3993
|
-
*
|
3994
|
-
* @beta
|
3995
|
-
*/
|
3996
|
-
onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
|
3997
|
-
holdButton?: boolean | {
|
3998
|
-
disabled: boolean;
|
3999
|
-
};
|
4000
2777
|
/**
|
4001
2778
|
* Show or hide the people button in the composite control bar.
|
4002
2779
|
* @defaultValue true
|
4003
2780
|
*/
|
4004
|
-
peopleButton?: boolean
|
4005
|
-
disabled: boolean;
|
4006
|
-
};
|
2781
|
+
peopleButton?: boolean;
|
4007
2782
|
};
|
4008
2783
|
|
4009
2784
|
/**
|
@@ -4025,25 +2800,12 @@ export declare interface CommonCallingHandlers {
|
|
4025
2800
|
onStopScreenShare: () => Promise<void>;
|
4026
2801
|
onToggleScreenShare: () => Promise<void>;
|
4027
2802
|
onHangUp: (forEveryone?: boolean) => Promise<void>;
|
4028
|
-
onToggleHold: () => Promise<void>;
|
4029
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
4030
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
4031
2803
|
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4032
2804
|
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
4033
2805
|
onDisposeRemoteStreamView: (userId: string) => Promise<void>;
|
4034
2806
|
onDisposeLocalStreamView: () => Promise<void>;
|
4035
|
-
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
4036
2807
|
onRemoveParticipant(userId: string): Promise<void>;
|
4037
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
4038
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
4039
2808
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
4040
|
-
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
4041
|
-
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
4042
|
-
onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>;
|
4043
|
-
onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
|
4044
|
-
onStopCaptions: () => Promise<void>;
|
4045
|
-
onSetSpokenLanguage: (language: string) => Promise<void>;
|
4046
|
-
onSetCaptionLanguage: (language: string) => Promise<void>;
|
4047
2809
|
}
|
4048
2810
|
|
4049
2811
|
/**
|
@@ -4055,39 +2817,6 @@ export declare type CommonProperties<A, B> = {
|
|
4055
2817
|
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
4056
2818
|
}[keyof A & keyof B];
|
4057
2819
|
|
4058
|
-
/**
|
4059
|
-
* @beta
|
4060
|
-
* Props for SitePermissions components.
|
4061
|
-
*/
|
4062
|
-
export declare interface CommonSitePermissionsProps {
|
4063
|
-
/**
|
4064
|
-
* Name of application calling experience is in.
|
4065
|
-
*/
|
4066
|
-
appName: string;
|
4067
|
-
/**
|
4068
|
-
* Kind of the Site Permissions component.
|
4069
|
-
*/
|
4070
|
-
kind: 'request' | 'denied' | 'check';
|
4071
|
-
/**
|
4072
|
-
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
4073
|
-
*/
|
4074
|
-
browserHint?: 'safari' | 'unset';
|
4075
|
-
/**
|
4076
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4077
|
-
* If this is not provided the button will not be shown.
|
4078
|
-
*/
|
4079
|
-
onTroubleshootingClick?: () => void;
|
4080
|
-
/**
|
4081
|
-
* Action that is taken when the user clicks the continue anyway button.
|
4082
|
-
* If this is not provided the button will not be shown.
|
4083
|
-
*/
|
4084
|
-
onContinueAnywayClick?: () => void;
|
4085
|
-
/**
|
4086
|
-
* Styles for SitePermissions component.
|
4087
|
-
*/
|
4088
|
-
styles?: SitePermissionsStyles;
|
4089
|
-
}
|
4090
|
-
|
4091
2820
|
/**
|
4092
2821
|
* A Chat or Calling participant's state, as reflected in the UI.
|
4093
2822
|
*
|
@@ -4100,6 +2829,13 @@ export declare type CommunicationParticipant = {
|
|
4100
2829
|
displayName?: string;
|
4101
2830
|
};
|
4102
2831
|
|
2832
|
+
/**
|
2833
|
+
* Locale for Arabic (Saudi Arabia).
|
2834
|
+
*
|
2835
|
+
* @public
|
2836
|
+
*/
|
2837
|
+
export declare const COMPONENT_LOCALE_AR_SA: ComponentLocale;
|
2838
|
+
|
4103
2839
|
/**
|
4104
2840
|
* Locale for German (Germany).
|
4105
2841
|
*
|
@@ -4128,6 +2864,13 @@ export declare const COMPONENT_LOCALE_EN_US: ComponentLocale;
|
|
4128
2864
|
*/
|
4129
2865
|
export declare const COMPONENT_LOCALE_ES_ES: ComponentLocale;
|
4130
2866
|
|
2867
|
+
/**
|
2868
|
+
* Locale for Finnish (Finland).
|
2869
|
+
*
|
2870
|
+
* @public
|
2871
|
+
*/
|
2872
|
+
export declare const COMPONENT_LOCALE_FI_FI: ComponentLocale;
|
2873
|
+
|
4131
2874
|
/**
|
4132
2875
|
* Locale for French (France).
|
4133
2876
|
*
|
@@ -4135,6 +2878,13 @@ export declare const COMPONENT_LOCALE_ES_ES: ComponentLocale;
|
|
4135
2878
|
*/
|
4136
2879
|
export declare const COMPONENT_LOCALE_FR_FR: ComponentLocale;
|
4137
2880
|
|
2881
|
+
/**
|
2882
|
+
* Locale for Hebrew (Israel).
|
2883
|
+
*
|
2884
|
+
* @public
|
2885
|
+
*/
|
2886
|
+
export declare const COMPONENT_LOCALE_HE_IL: ComponentLocale;
|
2887
|
+
|
4138
2888
|
/**
|
4139
2889
|
* Locale for Italian (Italy).
|
4140
2890
|
*
|
@@ -4156,6 +2906,13 @@ export declare const COMPONENT_LOCALE_JA_JP: ComponentLocale;
|
|
4156
2906
|
*/
|
4157
2907
|
export declare const COMPONENT_LOCALE_KO_KR: ComponentLocale;
|
4158
2908
|
|
2909
|
+
/**
|
2910
|
+
* Locale for Norwegian Bokmål (Norway) .
|
2911
|
+
*
|
2912
|
+
* @public
|
2913
|
+
*/
|
2914
|
+
export declare const COMPONENT_LOCALE_NB_NO: ComponentLocale;
|
2915
|
+
|
4159
2916
|
/**
|
4160
2917
|
* Locale for Dutch (Netherlands).
|
4161
2918
|
*
|
@@ -4163,6 +2920,13 @@ export declare const COMPONENT_LOCALE_KO_KR: ComponentLocale;
|
|
4163
2920
|
*/
|
4164
2921
|
export declare const COMPONENT_LOCALE_NL_NL: ComponentLocale;
|
4165
2922
|
|
2923
|
+
/**
|
2924
|
+
* Locale for Polish (Poland).
|
2925
|
+
*
|
2926
|
+
* @public
|
2927
|
+
*/
|
2928
|
+
export declare const COMPONENT_LOCALE_PL_PL: ComponentLocale;
|
2929
|
+
|
4166
2930
|
/**
|
4167
2931
|
* Locale for Portuguese (Brazil).
|
4168
2932
|
*
|
@@ -4177,6 +2941,13 @@ export declare const COMPONENT_LOCALE_PT_BR: ComponentLocale;
|
|
4177
2941
|
*/
|
4178
2942
|
export declare const COMPONENT_LOCALE_RU_RU: ComponentLocale;
|
4179
2943
|
|
2944
|
+
/**
|
2945
|
+
* Locale for Swedish (Sweden) .
|
2946
|
+
*
|
2947
|
+
* @public
|
2948
|
+
*/
|
2949
|
+
export declare const COMPONENT_LOCALE_SV_SE: ComponentLocale;
|
2950
|
+
|
4180
2951
|
/**
|
4181
2952
|
* Locale for Turkish (Turkey).
|
4182
2953
|
*
|
@@ -4215,11 +2986,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
4215
2986
|
export declare interface ComponentLocale {
|
4216
2987
|
/** Strings for components */
|
4217
2988
|
strings: ComponentStrings;
|
4218
|
-
/**
|
4219
|
-
* Optional function to provide customized date format.
|
4220
|
-
* @beta
|
4221
|
-
*/
|
4222
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
4223
2989
|
}
|
4224
2990
|
|
4225
2991
|
/**
|
@@ -4269,52 +3035,15 @@ export declare interface ComponentStrings {
|
|
4269
3035
|
errorBar: ErrorBarStrings;
|
4270
3036
|
/** Strings for VideoGallery */
|
4271
3037
|
videoGallery: VideoGalleryStrings;
|
4272
|
-
/** Strings for Dialpad */
|
4273
|
-
dialpad: DialpadStrings;
|
4274
|
-
/** Strings for VideoTile */
|
4275
|
-
videoTile: VideoTileStrings;
|
4276
|
-
/** Strings for HoldButton */
|
4277
|
-
holdButton: HoldButtonStrings;
|
4278
|
-
/** Strings for a site's permission request prompt */
|
4279
|
-
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4280
|
-
/** Strings for a site's permission request prompt */
|
4281
|
-
CameraSitePermissionsRequest: SitePermissionsStrings;
|
4282
|
-
/** Strings for a site's permission request prompt */
|
4283
|
-
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
4284
|
-
/** Strings for a site's permission generic checking prompt */
|
4285
|
-
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4286
|
-
/** Strings for a site's permission generic checking prompt */
|
4287
|
-
CameraSitePermissionsCheck: SitePermissionsStrings;
|
4288
|
-
/** Strings for a site's permission generic checking prompt */
|
4289
|
-
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
4290
|
-
/** Strings for a site's permission denied prompt */
|
4291
|
-
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4292
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4293
|
-
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4294
|
-
/** Strings for a site's permission denied prompt */
|
4295
|
-
CameraSitePermissionsDenied: SitePermissionsStrings;
|
4296
|
-
/** Strings for a site's permission denied prompt */
|
4297
|
-
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
4298
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4299
|
-
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4300
|
-
/** Strings for a site's permission denied prompt for safari browsers*/
|
4301
|
-
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
4302
|
-
/** Strings for unsupported browser UI */
|
4303
|
-
UnsupportedBrowser: UnsupportedBrowserStrings;
|
4304
|
-
/** Strings for unsupported browser version UI */
|
4305
|
-
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
4306
|
-
/** Strings for unsupported browser version UI */
|
4307
|
-
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
4308
|
-
/** Strings for BrowserPemissionDenied */
|
4309
|
-
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
4310
|
-
/** Strings for BrowserPemissionDeniedIOS */
|
4311
|
-
BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
|
4312
|
-
/**
|
4313
|
-
* Strings for the VerticalGallery.
|
4314
|
-
*/
|
4315
|
-
VerticalGallery: VerticalGalleryStrings;
|
4316
3038
|
}
|
4317
3039
|
|
3040
|
+
/**
|
3041
|
+
* Locale for Arabic (Saudi Arabia)
|
3042
|
+
*
|
3043
|
+
* @public
|
3044
|
+
*/
|
3045
|
+
export declare const COMPOSITE_LOCALE_AR_SA: CompositeLocale;
|
3046
|
+
|
4318
3047
|
/**
|
4319
3048
|
* Locale for German (Germany)
|
4320
3049
|
*
|
@@ -4343,6 +3072,13 @@ export declare const COMPOSITE_LOCALE_EN_US: CompositeLocale;
|
|
4343
3072
|
*/
|
4344
3073
|
export declare const COMPOSITE_LOCALE_ES_ES: CompositeLocale;
|
4345
3074
|
|
3075
|
+
/**
|
3076
|
+
* Locale for Finnish (Finland)
|
3077
|
+
*
|
3078
|
+
* @public
|
3079
|
+
*/
|
3080
|
+
export declare const COMPOSITE_LOCALE_FI_FI: CompositeLocale;
|
3081
|
+
|
4346
3082
|
/**
|
4347
3083
|
* Locale for French (France)
|
4348
3084
|
*
|
@@ -4350,6 +3086,13 @@ export declare const COMPOSITE_LOCALE_ES_ES: CompositeLocale;
|
|
4350
3086
|
*/
|
4351
3087
|
export declare const COMPOSITE_LOCALE_FR_FR: CompositeLocale;
|
4352
3088
|
|
3089
|
+
/**
|
3090
|
+
* Locale for Hebrew (Israel)
|
3091
|
+
*
|
3092
|
+
* @public
|
3093
|
+
*/
|
3094
|
+
export declare const COMPOSITE_LOCALE_HE_IL: CompositeLocale;
|
3095
|
+
|
4353
3096
|
/**
|
4354
3097
|
* Locale for Italian (Italy)
|
4355
3098
|
*
|
@@ -4371,6 +3114,13 @@ export declare const COMPOSITE_LOCALE_JA_JP: CompositeLocale;
|
|
4371
3114
|
*/
|
4372
3115
|
export declare const COMPOSITE_LOCALE_KO_KR: CompositeLocale;
|
4373
3116
|
|
3117
|
+
/**
|
3118
|
+
* Locale for Norwegian Bokmål (Norway)
|
3119
|
+
*
|
3120
|
+
* @public
|
3121
|
+
*/
|
3122
|
+
export declare const COMPOSITE_LOCALE_NB_NO: CompositeLocale;
|
3123
|
+
|
4374
3124
|
/**
|
4375
3125
|
* Locale for Dutch (Netherlands)
|
4376
3126
|
*
|
@@ -4378,6 +3128,13 @@ export declare const COMPOSITE_LOCALE_KO_KR: CompositeLocale;
|
|
4378
3128
|
*/
|
4379
3129
|
export declare const COMPOSITE_LOCALE_NL_NL: CompositeLocale;
|
4380
3130
|
|
3131
|
+
/**
|
3132
|
+
* Locale for Polish (Poland)
|
3133
|
+
*
|
3134
|
+
* @public
|
3135
|
+
*/
|
3136
|
+
export declare const COMPOSITE_LOCALE_PL_PL: CompositeLocale;
|
3137
|
+
|
4381
3138
|
/**
|
4382
3139
|
* Locale for Portuguese (Brazil)
|
4383
3140
|
*
|
@@ -4392,6 +3149,13 @@ export declare const COMPOSITE_LOCALE_PT_BR: CompositeLocale;
|
|
4392
3149
|
*/
|
4393
3150
|
export declare const COMPOSITE_LOCALE_RU_RU: CompositeLocale;
|
4394
3151
|
|
3152
|
+
/**
|
3153
|
+
* Locale for Swedish (Sweden)
|
3154
|
+
*
|
3155
|
+
* @public
|
3156
|
+
*/
|
3157
|
+
export declare const COMPOSITE_LOCALE_SV_SE: CompositeLocale;
|
3158
|
+
|
4395
3159
|
/**
|
4396
3160
|
* Locale for Turkish (Turkey)
|
4397
3161
|
*
|
@@ -4620,7 +3384,7 @@ export declare interface ControlBarProps {
|
|
4620
3384
|
*
|
4621
3385
|
* @public
|
4622
3386
|
*/
|
4623
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator
|
3387
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4624
3388
|
|
4625
3389
|
/**
|
4626
3390
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4630,7 +3394,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
|
|
4630
3394
|
*
|
4631
3395
|
* @public
|
4632
3396
|
*/
|
4633
|
-
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator
|
3397
|
+
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator) => Promise<CallAdapter>;
|
4634
3398
|
|
4635
3399
|
/**
|
4636
3400
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -4638,7 +3402,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
4638
3402
|
*
|
4639
3403
|
* @public
|
4640
3404
|
*/
|
4641
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator
|
3405
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
4642
3406
|
|
4643
3407
|
/**
|
4644
3408
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -4648,7 +3412,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
|
|
4648
3412
|
*
|
4649
3413
|
* @public
|
4650
3414
|
*/
|
4651
|
-
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient
|
3415
|
+
export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
|
4652
3416
|
|
4653
3417
|
/**
|
4654
3418
|
* Create a {@link ChatAdapter} backed by Azure Communication Services.
|
@@ -4667,9 +3431,7 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4667
3431
|
*
|
4668
3432
|
* @public
|
4669
3433
|
*/
|
4670
|
-
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient
|
4671
|
-
credential?: CommunicationTokenCredential;
|
4672
|
-
}): Promise<ChatAdapter>;
|
3434
|
+
export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
|
4673
3435
|
|
4674
3436
|
/**
|
4675
3437
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
@@ -4693,16 +3455,6 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
|
|
4693
3455
|
*/
|
4694
3456
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
4695
3457
|
|
4696
|
-
/**
|
4697
|
-
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
4698
|
-
*
|
4699
|
-
* Useful when implementing a custom component that utilizes the providers
|
4700
|
-
* exported from this library.
|
4701
|
-
*
|
4702
|
-
* @beta
|
4703
|
-
*/
|
4704
|
-
export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall) => never | TeamsCallingHandlers;
|
4705
|
-
|
4706
3458
|
/**
|
4707
3459
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
4708
3460
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -4728,21 +3480,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4728
3480
|
*/
|
4729
3481
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
4730
3482
|
|
4731
|
-
/**
|
4732
|
-
* @beta
|
4733
|
-
*/
|
4734
|
-
export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
4735
|
-
|
4736
|
-
/**
|
4737
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
4738
|
-
*
|
4739
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
4740
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
4741
|
-
*
|
4742
|
-
* @beta
|
4743
|
-
*/
|
4744
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
|
4745
|
-
|
4746
3483
|
/**
|
4747
3484
|
* Object returned after creating a local or remote VideoStream.
|
4748
3485
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -4793,146 +3530,8 @@ export declare type CustomAvatarOptions = {
|
|
4793
3530
|
styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
|
4794
3531
|
/** Display name to be used in Persona */
|
4795
3532
|
text?: string;
|
4796
|
-
/** State for the participant to be displayed in the defaultPlaceHolder */
|
4797
|
-
participantState?: ParticipantState;
|
4798
|
-
/**
|
4799
|
-
* If true, show the special coin for unknown persona.
|
4800
|
-
* It has '?' in place of initials, with static font and background colors
|
4801
|
-
*/
|
4802
|
-
showUnknownPersonaCoin?: boolean;
|
4803
3533
|
};
|
4804
3534
|
|
4805
|
-
/**
|
4806
|
-
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
4807
|
-
*
|
4808
|
-
* The response indicates where the custom button should be placed.
|
4809
|
-
*
|
4810
|
-
* Performance tip: This callback is only called when either the callback or its arguments change.
|
4811
|
-
* @beta
|
4812
|
-
*/
|
4813
|
-
declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
4814
|
-
export { CustomCallControlButtonCallback }
|
4815
|
-
export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
|
4816
|
-
|
4817
|
-
/**
|
4818
|
-
* Arguments for {@link CustomCallControlButtonCallback}.
|
4819
|
-
*
|
4820
|
-
* @beta
|
4821
|
-
*/
|
4822
|
-
export declare interface CustomCallControlButtonCallbackArgs {
|
4823
|
-
/**
|
4824
|
-
* Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
|
4825
|
-
*
|
4826
|
-
* @defaultValue `'default'`
|
4827
|
-
*/
|
4828
|
-
displayType?: CallControlDisplayType;
|
4829
|
-
}
|
4830
|
-
|
4831
|
-
/**
|
4832
|
-
* Placement for a custom button injected in the {@link CommonCallControlBar}.
|
4833
|
-
*
|
4834
|
-
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
4835
|
-
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
4836
|
-
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
4837
|
-
*
|
4838
|
-
* Multiple buttons assigned the same placement are appended in order.
|
4839
|
-
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
4840
|
-
* in the order provided.
|
4841
|
-
*
|
4842
|
-
* Only 'primary' placement works when legacy call control is enabled in call composite
|
4843
|
-
*
|
4844
|
-
* @beta
|
4845
|
-
*/
|
4846
|
-
declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
4847
|
-
export { CustomCallControlButtonPlacement }
|
4848
|
-
export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
|
4849
|
-
|
4850
|
-
/**
|
4851
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
4852
|
-
*
|
4853
|
-
* Includes the placement prop necessary to indicate where to place the
|
4854
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
4855
|
-
*
|
4856
|
-
* @beta
|
4857
|
-
*/
|
4858
|
-
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
4859
|
-
/**
|
4860
|
-
* Where to place the custom button relative to other buttons.
|
4861
|
-
*/
|
4862
|
-
placement: CustomCallControlButtonPlacement;
|
4863
|
-
/**
|
4864
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
4865
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
4866
|
-
*/
|
4867
|
-
iconName?: string;
|
4868
|
-
}
|
4869
|
-
|
4870
|
-
/**
|
4871
|
-
* Response from {@link CustomCallControlButtonCallback}.
|
4872
|
-
*
|
4873
|
-
* Includes the icon and placement prop necessary to indicate where to place the
|
4874
|
-
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
4875
|
-
*
|
4876
|
-
* @beta
|
4877
|
-
*/
|
4878
|
-
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
4879
|
-
/**
|
4880
|
-
* Where to place the custom button relative to other buttons.
|
4881
|
-
*/
|
4882
|
-
placement: CustomCallControlButtonPlacement;
|
4883
|
-
/**
|
4884
|
-
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
4885
|
-
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
4886
|
-
*/
|
4887
|
-
iconName?: string;
|
4888
|
-
}
|
4889
|
-
|
4890
|
-
/**
|
4891
|
-
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
4892
|
-
*
|
4893
|
-
* @beta
|
4894
|
-
*/
|
4895
|
-
export declare interface CustomControlButtonProps {
|
4896
|
-
/**
|
4897
|
-
* Calback for when button is clicked
|
4898
|
-
*/
|
4899
|
-
onItemClick?: () => void;
|
4900
|
-
/**
|
4901
|
-
* Whether the buttons is disabled
|
4902
|
-
*/
|
4903
|
-
disabled?: boolean;
|
4904
|
-
/**
|
4905
|
-
* Whether the label is displayed or not.
|
4906
|
-
*
|
4907
|
-
* @defaultValue `false`
|
4908
|
-
*/
|
4909
|
-
showLabel?: boolean;
|
4910
|
-
/**
|
4911
|
-
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
4912
|
-
*/
|
4913
|
-
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
4914
|
-
/**
|
4915
|
-
* Optional label for the button
|
4916
|
-
*/
|
4917
|
-
text?: string;
|
4918
|
-
/**
|
4919
|
-
* A unique key for the button
|
4920
|
-
*/
|
4921
|
-
key?: string | number;
|
4922
|
-
/**
|
4923
|
-
* The aria label of the button for the benefit of screen readers.
|
4924
|
-
*/
|
4925
|
-
ariaLabel?: string;
|
4926
|
-
/**
|
4927
|
-
* Detailed description of the button for the benefit of screen readers.
|
4928
|
-
*/
|
4929
|
-
ariaDescription?: string;
|
4930
|
-
/**
|
4931
|
-
* A unique id set for the standard HTML id attibute
|
4932
|
-
*/
|
4933
|
-
id?: string;
|
4934
|
-
}
|
4935
|
-
|
4936
3535
|
/**
|
4937
3536
|
* A custom message type.
|
4938
3537
|
*
|
@@ -4952,18 +3551,6 @@ export declare interface CustomMessage extends MessageCommon {
|
|
4952
3551
|
*/
|
4953
3552
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
4954
3553
|
|
4955
|
-
/**
|
4956
|
-
* @beta
|
4957
|
-
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
4958
|
-
*/
|
4959
|
-
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
|
4960
|
-
|
4961
|
-
/**
|
4962
|
-
* @beta
|
4963
|
-
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
4964
|
-
*/
|
4965
|
-
export declare type DeclarativeIncomingCall = IncomingCall;
|
4966
|
-
|
4967
3554
|
/**
|
4968
3555
|
* The default set of icons that are available to use in the UI components.
|
4969
3556
|
*
|
@@ -4980,12 +3567,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4980
3567
|
ControlButtonMicOn: JSX.Element;
|
4981
3568
|
ControlButtonOptions: JSX.Element;
|
4982
3569
|
ControlButtonParticipants: JSX.Element;
|
4983
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
4984
3570
|
ControlButtonScreenShareStart: JSX.Element;
|
4985
3571
|
ControlButtonScreenShareStop: JSX.Element;
|
4986
|
-
CancelFileUpload: JSX.Element;
|
4987
|
-
DownloadFile: JSX.Element;
|
4988
|
-
DataLossPreventionProhibited: JSX.Element;
|
4989
3572
|
EditBoxCancel: JSX.Element;
|
4990
3573
|
EditBoxSubmit: JSX.Element;
|
4991
3574
|
ErrorBarCallCameraAccessDenied: JSX.Element;
|
@@ -5018,38 +3601,13 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5018
3601
|
ParticipantItemOptions: JSX.Element;
|
5019
3602
|
ParticipantItemOptionsHovered: JSX.Element;
|
5020
3603
|
ParticipantItemScreenShareStart: JSX.Element;
|
5021
|
-
HoldCallContextualMenuItem: JSX.Element;
|
5022
|
-
HoldCallButton: JSX.Element;
|
5023
|
-
ResumeCall: JSX.Element;
|
5024
3604
|
SendBoxSend: JSX.Element;
|
5025
3605
|
SendBoxSendHovered: JSX.Element;
|
5026
3606
|
VideoTileMicOff: JSX.Element;
|
5027
|
-
DialpadBackspace: JSX.Element;
|
5028
|
-
SitePermissionsSparkle: JSX.Element;
|
5029
|
-
SitePermissionCamera: JSX.Element;
|
5030
|
-
SitePermissionMic: JSX.Element;
|
5031
|
-
SitePermissionCameraDenied: JSX.Element;
|
5032
|
-
SitePermissionMicDenied: JSX.Element;
|
5033
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5034
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5035
|
-
VideoTilePinned: JSX.Element;
|
5036
|
-
VideoTileMoreOptions: JSX.Element;
|
5037
|
-
VideoTileScaleFit: JSX.Element;
|
5038
|
-
VideoTileScaleFill: JSX.Element;
|
5039
|
-
PinParticipant: JSX.Element;
|
5040
|
-
UnpinParticipant: JSX.Element;
|
5041
3607
|
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
5042
3608
|
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
5043
3609
|
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
5044
3610
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5045
|
-
VerticalGalleryLeftButton: JSX.Element;
|
5046
|
-
VerticalGalleryRightButton: JSX.Element;
|
5047
|
-
ControlButtonVideoEffectsOption: JSX.Element;
|
5048
|
-
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5049
|
-
CaptionsIcon: JSX.Element;
|
5050
|
-
CaptionsOffIcon: JSX.Element;
|
5051
|
-
CaptionsSettingsIcon: JSX.Element;
|
5052
|
-
ChangeSpokenLanguageIcon: JSX.Element;
|
5053
3611
|
};
|
5054
3612
|
|
5055
3613
|
/**
|
@@ -5070,7 +3628,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5070
3628
|
ParticipantItemOptionsHovered: JSX.Element;
|
5071
3629
|
SendBoxSend: JSX.Element;
|
5072
3630
|
SendBoxSendHovered: JSX.Element;
|
5073
|
-
SendBoxAttachFile?: JSX.Element | undefined;
|
5074
3631
|
ControlBarPeopleButton?: JSX.Element | undefined;
|
5075
3632
|
ControlButtonCameraOff: JSX.Element;
|
5076
3633
|
ControlButtonCameraOn: JSX.Element;
|
@@ -5114,12 +3671,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5114
3671
|
ParticipantItemScreenShareStart: JSX.Element;
|
5115
3672
|
VideoTileMicOff: JSX.Element;
|
5116
3673
|
LocalCameraSwitch?: JSX.Element | undefined;
|
5117
|
-
PeoplePaneAddPerson?: JSX.Element | undefined;
|
5118
|
-
PeoplePaneOpenDialpad?: JSX.Element | undefined;
|
5119
|
-
DialpadStartCall?: JSX.Element | undefined;
|
5120
|
-
NoticePageInvalidRoom?: JSX.Element | undefined;
|
5121
|
-
BlurVideoBackground?: JSX.Element | undefined;
|
5122
|
-
RemoveVideoBackgroundEffect?: JSX.Element | undefined;
|
5123
3674
|
ChevronLeft?: JSX.Element | undefined;
|
5124
3675
|
ControlBarChatButtonActive?: JSX.Element | undefined;
|
5125
3676
|
ControlBarChatButtonInactive?: JSX.Element | undefined;
|
@@ -5129,67 +3680,16 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5129
3680
|
MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
|
5130
3681
|
MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
|
5131
3682
|
MoreDrawerSpeakers?: JSX.Element | undefined;
|
3683
|
+
SendBoxAttachFile?: JSX.Element | undefined;
|
5132
3684
|
ChatMessageOptions: JSX.Element;
|
5133
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
5134
|
-
CancelFileUpload: JSX.Element;
|
5135
|
-
DownloadFile: JSX.Element;
|
5136
|
-
DataLossPreventionProhibited: JSX.Element;
|
5137
3685
|
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
5138
3686
|
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
5139
|
-
MessageResend: JSX.Element;
|
5140
|
-
|
5141
|
-
|
5142
|
-
|
5143
|
-
|
5144
|
-
|
5145
|
-
SitePermissionCamera: JSX.Element;
|
5146
|
-
SitePermissionMic: JSX.Element;
|
5147
|
-
SitePermissionCameraDenied: JSX.Element;
|
5148
|
-
SitePermissionMicDenied: JSX.Element;
|
5149
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
5150
|
-
BrowserPermissionDeniedError: JSX.Element;
|
5151
|
-
VideoTilePinned: JSX.Element;
|
5152
|
-
VideoTileMoreOptions: JSX.Element;
|
5153
|
-
VideoTileScaleFit: JSX.Element;
|
5154
|
-
VideoTileScaleFill: JSX.Element;
|
5155
|
-
PinParticipant: JSX.Element;
|
5156
|
-
UnpinParticipant: JSX.Element;
|
5157
|
-
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
5158
|
-
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
5159
|
-
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
5160
|
-
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
5161
|
-
VerticalGalleryLeftButton: JSX.Element;
|
5162
|
-
VerticalGalleryRightButton: JSX.Element;
|
5163
|
-
ControlButtonVideoEffectsOption: JSX.Element;
|
5164
|
-
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
5165
|
-
CaptionsIcon: JSX.Element;
|
5166
|
-
CaptionsOffIcon: JSX.Element;
|
5167
|
-
CaptionsSettingsIcon: JSX.Element;
|
5168
|
-
ChangeSpokenLanguageIcon: JSX.Element;
|
5169
|
-
};
|
5170
|
-
|
5171
|
-
/**
|
5172
|
-
* Device Checks.
|
5173
|
-
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
5174
|
-
*
|
5175
|
-
* @beta
|
5176
|
-
*/
|
5177
|
-
export declare interface DeviceCheckOptions {
|
5178
|
-
/**
|
5179
|
-
* Camera Permission prompts for your call.
|
5180
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5181
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5182
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5183
|
-
*/
|
5184
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
5185
|
-
/**
|
5186
|
-
* Microphone permission prompts for your call.
|
5187
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
5188
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
5189
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
5190
|
-
*/
|
5191
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
5192
|
-
}
|
3687
|
+
MessageResend: JSX.Element;
|
3688
|
+
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
3689
|
+
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
3690
|
+
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
3691
|
+
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
3692
|
+
};
|
5193
3693
|
|
5194
3694
|
/**
|
5195
3695
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
@@ -5409,60 +3909,6 @@ export declare interface DiagnosticsCallFeatureState {
|
|
5409
3909
|
media: MediaDiagnosticsState;
|
5410
3910
|
}
|
5411
3911
|
|
5412
|
-
/**
|
5413
|
-
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
5414
|
-
* It will return empty component for stable builds
|
5415
|
-
*
|
5416
|
-
* @beta
|
5417
|
-
*/
|
5418
|
-
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
5419
|
-
|
5420
|
-
/**
|
5421
|
-
* Props for {@link Dialpad} component.
|
5422
|
-
*
|
5423
|
-
* @beta
|
5424
|
-
*/
|
5425
|
-
export declare interface DialpadProps {
|
5426
|
-
strings?: DialpadStrings;
|
5427
|
-
/** function to send dtmf tones on button click */
|
5428
|
-
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
5429
|
-
/** Callback for dialpad button behavior*/
|
5430
|
-
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
5431
|
-
/** set dialpad textfield content */
|
5432
|
-
textFieldValue?: string;
|
5433
|
-
/** on change function for text field, provides an unformatted plain text*/
|
5434
|
-
onChange?: (input: string) => void;
|
5435
|
-
/** boolean input to determine when to show/hide delete button, default true */
|
5436
|
-
showDeleteButton?: boolean;
|
5437
|
-
/** boolean input to determine if dialpad is in mobile view, default false */
|
5438
|
-
isMobile?: boolean;
|
5439
|
-
styles?: DialpadStyles;
|
5440
|
-
}
|
5441
|
-
|
5442
|
-
/**
|
5443
|
-
* Strings of {@link Dialpad} that can be overridden.
|
5444
|
-
*
|
5445
|
-
* @beta
|
5446
|
-
*/
|
5447
|
-
export declare interface DialpadStrings {
|
5448
|
-
placeholderText: string;
|
5449
|
-
deleteButtonAriaLabel?: string;
|
5450
|
-
}
|
5451
|
-
|
5452
|
-
/**
|
5453
|
-
* Styles for {@link Dialpad} component.
|
5454
|
-
*
|
5455
|
-
* @beta
|
5456
|
-
*/
|
5457
|
-
export declare interface DialpadStyles {
|
5458
|
-
root?: IStyle;
|
5459
|
-
button?: IButtonStyles;
|
5460
|
-
textField?: Partial<ITextFieldStyles>;
|
5461
|
-
digit?: IStyle;
|
5462
|
-
letter?: IStyle;
|
5463
|
-
deleteIcon?: IButtonStyles;
|
5464
|
-
}
|
5465
|
-
|
5466
3912
|
/**
|
5467
3913
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
5468
3914
|
*
|
@@ -5483,13 +3929,6 @@ export declare interface Disposable {
|
|
5483
3929
|
dispose(): void;
|
5484
3930
|
}
|
5485
3931
|
|
5486
|
-
/**
|
5487
|
-
* DTMF tone for PSTN calls.
|
5488
|
-
*
|
5489
|
-
* @beta
|
5490
|
-
*/
|
5491
|
-
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
5492
|
-
|
5493
3932
|
/**
|
5494
3933
|
* A type for trivial selectors that return no data.
|
5495
3934
|
*
|
@@ -5721,18 +4160,10 @@ export declare interface ErrorBarStrings {
|
|
5721
4160
|
* An error message when joining a call fails specifically due to an invalid meeting link.
|
5722
4161
|
*/
|
5723
4162
|
failedToJoinCallInvalidMeetingLink?: string;
|
5724
|
-
/**
|
5725
|
-
* Generic message for when screen sharing fails
|
5726
|
-
*/
|
5727
|
-
startScreenSharingGeneric?: string;
|
5728
4163
|
/**
|
5729
4164
|
* Error bar string letting you know remote participants see a frozen stream for you.
|
5730
4165
|
*/
|
5731
4166
|
cameraFrozenForRemoteParticipants?: string;
|
5732
|
-
/**
|
5733
|
-
* Unable to start effect
|
5734
|
-
*/
|
5735
|
-
unableToStartVideoEffect?: string;
|
5736
4167
|
}
|
5737
4168
|
|
5738
4169
|
/**
|
@@ -5742,207 +4173,6 @@ export declare interface ErrorBarStrings {
|
|
5742
4173
|
*/
|
5743
4174
|
export declare type ErrorType = keyof ErrorBarStrings;
|
5744
4175
|
|
5745
|
-
/**
|
5746
|
-
* @beta
|
5747
|
-
* A file download error returned via a {@link FileDownloadHandler}.
|
5748
|
-
* This error message is used to render an error message in the UI.
|
5749
|
-
*/
|
5750
|
-
export declare interface FileDownloadError {
|
5751
|
-
/** The error message to display in the UI */
|
5752
|
-
errorMessage: string;
|
5753
|
-
}
|
5754
|
-
|
5755
|
-
/**
|
5756
|
-
* @beta
|
5757
|
-
*
|
5758
|
-
* A callback function for handling file downloads.
|
5759
|
-
* The function needs to return a promise that resolves to a file download URL.
|
5760
|
-
* If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
|
5761
|
-
*
|
5762
|
-
* @example
|
5763
|
-
* ```ts
|
5764
|
-
* const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
|
5765
|
-
* if (isUnauthorizedUser(userId)) {
|
5766
|
-
* return { errorMessage: 'You don’t have permission to download this file.' };
|
5767
|
-
* } else {
|
5768
|
-
* return new URL(fileData.url);
|
5769
|
-
* }
|
5770
|
-
* }
|
5771
|
-
*
|
5772
|
-
* const App = () => (
|
5773
|
-
* <ChatComposite
|
5774
|
-
* ...
|
5775
|
-
* fileSharing={{
|
5776
|
-
* fileDownloadHandler: fileDownloadHandler
|
5777
|
-
* }}
|
5778
|
-
* />
|
5779
|
-
* )
|
5780
|
-
*
|
5781
|
-
* ```
|
5782
|
-
* @param userId - The user ID of the user downloading the file.
|
5783
|
-
* @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
|
5784
|
-
*/
|
5785
|
-
export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
|
5786
|
-
|
5787
|
-
/**
|
5788
|
-
* Meta Data containing information about the uploaded file.
|
5789
|
-
* @beta
|
5790
|
-
*/
|
5791
|
-
export declare interface FileMetadata {
|
5792
|
-
attachmentType: FileMetadataAttachmentType;
|
5793
|
-
id: string;
|
5794
|
-
/**
|
5795
|
-
* File name to be displayed.
|
5796
|
-
*/
|
5797
|
-
name: string;
|
5798
|
-
/**
|
5799
|
-
* Extension is used for rendering the file icon.
|
5800
|
-
* An unknown extension will be rendered as a generic icon.
|
5801
|
-
* Example: `jpeg`
|
5802
|
-
*/
|
5803
|
-
extension: string;
|
5804
|
-
/**
|
5805
|
-
* Download URL for the file.
|
5806
|
-
*/
|
5807
|
-
url: string;
|
5808
|
-
previewUrl?: string;
|
5809
|
-
}
|
5810
|
-
|
5811
|
-
/**
|
5812
|
-
* @beta
|
5813
|
-
*/
|
5814
|
-
export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images) */ 'teamsInlineImage' | 'unknown';
|
5815
|
-
|
5816
|
-
/**
|
5817
|
-
* Properties for configuring the File Sharing feature.
|
5818
|
-
* @beta
|
5819
|
-
*/
|
5820
|
-
export declare interface FileSharingOptions {
|
5821
|
-
/**
|
5822
|
-
* A string containing the comma separated list of accepted file types.
|
5823
|
-
* Similar to the `accept` attribute of the `<input type="file" />` element.
|
5824
|
-
* Accepts any type of file if not specified.
|
5825
|
-
* @beta
|
5826
|
-
*/
|
5827
|
-
accept?: string;
|
5828
|
-
/**
|
5829
|
-
* Allows multiple files to be selected if set to `true`.
|
5830
|
-
* Similar to the `multiple` attribute of the `<input type="file" />` element.
|
5831
|
-
* @defaultValue false
|
5832
|
-
* @beta
|
5833
|
-
*/
|
5834
|
-
multiple?: boolean;
|
5835
|
-
/**
|
5836
|
-
* A function of type {@link FileUploadHandler} for handling file uploads.
|
5837
|
-
* @beta
|
5838
|
-
*/
|
5839
|
-
uploadHandler: FileUploadHandler;
|
5840
|
-
/**
|
5841
|
-
* A function of type {@link FileDownloadHandler} for handling file downloads.
|
5842
|
-
* If the function is not specified, the file's `url` will be opened in a new tab to
|
5843
|
-
* initiate the download.
|
5844
|
-
*/
|
5845
|
-
downloadHandler?: FileDownloadHandler;
|
5846
|
-
}
|
5847
|
-
|
5848
|
-
/**
|
5849
|
-
* @beta
|
5850
|
-
*/
|
5851
|
-
export declare interface FileUploadAdapter {
|
5852
|
-
registerActiveFileUploads: (files: File[]) => FileUploadManager[];
|
5853
|
-
registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
|
5854
|
-
clearFileUploads: () => void;
|
5855
|
-
cancelFileUpload: (id: string) => void;
|
5856
|
-
updateFileUploadProgress: (id: string, progress: number) => void;
|
5857
|
-
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
5858
|
-
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
5859
|
-
}
|
5860
|
-
|
5861
|
-
/**
|
5862
|
-
* @beta
|
5863
|
-
* Error message to be displayed to the user if the upload fails.
|
5864
|
-
*/
|
5865
|
-
export declare type FileUploadError = {
|
5866
|
-
message: string;
|
5867
|
-
timestamp: number;
|
5868
|
-
};
|
5869
|
-
|
5870
|
-
/**
|
5871
|
-
* @beta
|
5872
|
-
* A callback function for handling file uploads.
|
5873
|
-
*
|
5874
|
-
* @param userId - The user ID of the user uploading the file.
|
5875
|
-
* @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
|
5876
|
-
*/
|
5877
|
-
export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
|
5878
|
-
|
5879
|
-
/**
|
5880
|
-
* A wrapper object for a file that is being uploaded.
|
5881
|
-
* Allows mmanaging file uploads by providing common functions for updating the
|
5882
|
-
* upload progress, canceling an upload, completing an upload etc.
|
5883
|
-
* @beta
|
5884
|
-
*/
|
5885
|
-
export declare interface FileUploadManager {
|
5886
|
-
/**
|
5887
|
-
* Unique identifier for the file upload.
|
5888
|
-
*/
|
5889
|
-
id: string;
|
5890
|
-
/**
|
5891
|
-
* HTML {@link File} object for the uploaded file.
|
5892
|
-
*/
|
5893
|
-
file?: File;
|
5894
|
-
/**
|
5895
|
-
* Update the progress of the upload.
|
5896
|
-
* @param value - number between 0 and 1
|
5897
|
-
*/
|
5898
|
-
notifyUploadProgressChanged: (value: number) => void;
|
5899
|
-
/**
|
5900
|
-
* Mark the upload as complete.
|
5901
|
-
* Requires the `metadata` param containing uploaded file information.
|
5902
|
-
* @param metadata - {@link FileMetadata}
|
5903
|
-
*/
|
5904
|
-
notifyUploadCompleted: (metadata: FileMetadata) => void;
|
5905
|
-
/**
|
5906
|
-
* Mark the upload as failed.
|
5907
|
-
* @param message - An error message that can be displayed to the user.
|
5908
|
-
*/
|
5909
|
-
notifyUploadFailed: (message: string) => void;
|
5910
|
-
}
|
5911
|
-
|
5912
|
-
/**
|
5913
|
-
* Contains the state attibutes of a file upload like name, progress etc.
|
5914
|
-
* @beta
|
5915
|
-
*/
|
5916
|
-
export declare interface FileUploadState {
|
5917
|
-
/**
|
5918
|
-
* Unique identifier for the file upload.
|
5919
|
-
*/
|
5920
|
-
id: string;
|
5921
|
-
/**
|
5922
|
-
* Filename extracted from the {@link File} object.
|
5923
|
-
* This attribute is used to render the filename if `metadata.name` is not available.
|
5924
|
-
*/
|
5925
|
-
filename: string;
|
5926
|
-
/**
|
5927
|
-
* A number between 0 and 1 indicating the progress of the upload.
|
5928
|
-
*/
|
5929
|
-
progress: number;
|
5930
|
-
/**
|
5931
|
-
* Meta Data {@link FileMetadata} containing information about the uploaded file.
|
5932
|
-
*/
|
5933
|
-
metadata?: FileMetadata;
|
5934
|
-
/**
|
5935
|
-
* Error message to be displayed to the user if the upload fails.
|
5936
|
-
*/
|
5937
|
-
error?: FileUploadError;
|
5938
|
-
}
|
5939
|
-
|
5940
|
-
/**
|
5941
|
-
* A record containing {@link FileUploadState} mapped to unique ids.
|
5942
|
-
* @beta
|
5943
|
-
*/
|
5944
|
-
export declare type FileUploadsUiState = Record<string, FileUploadState>;
|
5945
|
-
|
5946
4176
|
/**
|
5947
4177
|
* Provider to apply a Fluent theme across this library's react components.
|
5948
4178
|
*
|
@@ -5983,7 +4213,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5983
4213
|
*
|
5984
4214
|
* @public
|
5985
4215
|
*/
|
5986
|
-
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector :
|
4216
|
+
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : undefined;
|
5987
4217
|
|
5988
4218
|
/**
|
5989
4219
|
* Get the selector for a specified component.
|
@@ -6045,63 +4275,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
6045
4275
|
children?: IStyle;
|
6046
4276
|
}
|
6047
4277
|
|
6048
|
-
/**
|
6049
|
-
* a button to hold or resume a ongoing call.
|
6050
|
-
*
|
6051
|
-
* Can be used with {@link ControlBar}
|
6052
|
-
*
|
6053
|
-
* @param props - properties for the hold button.
|
6054
|
-
* @returns
|
6055
|
-
* @beta
|
6056
|
-
*/
|
6057
|
-
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
6058
|
-
|
6059
|
-
/**
|
6060
|
-
*@beta
|
6061
|
-
*/
|
6062
|
-
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
6063
|
-
/**
|
6064
|
-
* Utility property for using this component with communication react handlers
|
6065
|
-
* Holds the call or resumes it based on call state.
|
6066
|
-
*/
|
6067
|
-
onToggleHold: () => Promise<void>;
|
6068
|
-
/**
|
6069
|
-
* Optional strings to override in component
|
6070
|
-
*/
|
6071
|
-
strings?: HoldButtonStrings;
|
6072
|
-
}
|
6073
|
-
|
6074
|
-
/**
|
6075
|
-
* Selector type for the {@link HoldButton} component.
|
6076
|
-
* @public
|
6077
|
-
*/
|
6078
|
-
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
6079
|
-
checked: boolean;
|
6080
|
-
};
|
6081
|
-
|
6082
|
-
/**
|
6083
|
-
* Strings for the hold button labels
|
6084
|
-
* @beta
|
6085
|
-
*/
|
6086
|
-
export declare interface HoldButtonStrings {
|
6087
|
-
/**
|
6088
|
-
* Label for when action is to resume call.
|
6089
|
-
*/
|
6090
|
-
onLabel: string;
|
6091
|
-
/**
|
6092
|
-
* Label for when action is to hold call.
|
6093
|
-
*/
|
6094
|
-
offLabel: string;
|
6095
|
-
/**
|
6096
|
-
* Content for when button is checked
|
6097
|
-
*/
|
6098
|
-
tooltipOnContent: string;
|
6099
|
-
/**
|
6100
|
-
* Content for when button is unchecked
|
6101
|
-
*/
|
6102
|
-
tooltipOffContent: string;
|
6103
|
-
}
|
6104
|
-
|
6105
4278
|
/**
|
6106
4279
|
* {@link HorizontalGallery} Component Styles.
|
6107
4280
|
* @public
|
@@ -6182,26 +4355,8 @@ export declare interface _Identifiers {
|
|
6182
4355
|
overflowGalleryRightNavButton: string;
|
6183
4356
|
/** `data-ui-id` value for the video tiles in the horizontal gallery */
|
6184
4357
|
horizontalGalleryVideoTile: string;
|
6185
|
-
/** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
|
6186
|
-
verticalGalleryVideoTile: string;
|
6187
|
-
/** `data-ui-id` value for `VerticalGallery` Component's page counter */
|
6188
|
-
verticalGalleryPageCounter: string;
|
6189
4358
|
}
|
6190
4359
|
|
6191
|
-
/**
|
6192
|
-
* @beta
|
6193
|
-
* This contains a readonly array that returns all the active `incomingCalls`.
|
6194
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
6195
|
-
*/
|
6196
|
-
export declare type IncomingCallManagement = {
|
6197
|
-
/**
|
6198
|
-
* @beta
|
6199
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
6200
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
6201
|
-
*/
|
6202
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
6203
|
-
};
|
6204
|
-
|
6205
4360
|
/**
|
6206
4361
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
6207
4362
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -6234,15 +4389,6 @@ export declare interface IncomingCallState {
|
|
6234
4389
|
endTime?: Date;
|
6235
4390
|
}
|
6236
4391
|
|
6237
|
-
/**
|
6238
|
-
* Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
|
6239
|
-
*
|
6240
|
-
* @beta
|
6241
|
-
*/
|
6242
|
-
export declare type IsCaptionsActiveChangedListener = (event: {
|
6243
|
-
isActive: boolean;
|
6244
|
-
}) => void;
|
6245
|
-
|
6246
4392
|
/**
|
6247
4393
|
* Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
|
6248
4394
|
*
|
@@ -6354,23 +4500,6 @@ export declare interface LocalVideoStreamState {
|
|
6354
4500
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
6355
4501
|
*/
|
6356
4502
|
view?: VideoStreamRendererViewState;
|
6357
|
-
/**
|
6358
|
-
* Stores the state of the video effects.
|
6359
|
-
* @beta
|
6360
|
-
*/
|
6361
|
-
videoEffects?: LocalVideoStreamVideoEffectsState;
|
6362
|
-
}
|
6363
|
-
|
6364
|
-
/**
|
6365
|
-
* State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
|
6366
|
-
*
|
6367
|
-
* @beta
|
6368
|
-
*/
|
6369
|
-
export declare interface LocalVideoStreamVideoEffectsState {
|
6370
|
-
/**
|
6371
|
-
* List of effects if any are active.
|
6372
|
-
*/
|
6373
|
-
activeEffects?: VideoEffectName[];
|
6374
4503
|
}
|
6375
4504
|
|
6376
4505
|
/**
|
@@ -6398,7 +4527,7 @@ export declare interface MediaDiagnosticsState {
|
|
6398
4527
|
*
|
6399
4528
|
* @public
|
6400
4529
|
*/
|
6401
|
-
export declare type Message = ChatMessage | SystemMessage | CustomMessage
|
4530
|
+
export declare type Message = ChatMessage | SystemMessage | CustomMessage;
|
6402
4531
|
|
6403
4532
|
/**
|
6404
4533
|
* Indicate whether a chat message should be displayed merged with the message before / after it.
|
@@ -6472,7 +4601,7 @@ export declare type MessageProps = {
|
|
6472
4601
|
*
|
6473
4602
|
* @param messageId - message id from chatClient
|
6474
4603
|
*/
|
6475
|
-
|
4604
|
+
onCancelEditMessage?: CancelEditCallback;
|
6476
4605
|
/**
|
6477
4606
|
* Optional callback to delete a message.
|
6478
4607
|
*
|
@@ -6618,7 +4747,7 @@ export declare type MessageThreadProps = {
|
|
6618
4747
|
/**
|
6619
4748
|
* Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
|
6620
4749
|
*/
|
6621
|
-
messages: (ChatMessage | SystemMessage | CustomMessage
|
4750
|
+
messages: (ChatMessage | SystemMessage | CustomMessage)[];
|
6622
4751
|
/**
|
6623
4752
|
* number of participants in the thread
|
6624
4753
|
*/
|
@@ -6700,17 +4829,6 @@ export declare type MessageThreadProps = {
|
|
6700
4829
|
* `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
|
6701
4830
|
*/
|
6702
4831
|
onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
|
6703
|
-
/**
|
6704
|
-
* Optional callback to render uploaded files in the message component.
|
6705
|
-
* @beta
|
6706
|
-
*/
|
6707
|
-
onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
|
6708
|
-
/**
|
6709
|
-
* Optional callback to retrieve the inline image in a message.
|
6710
|
-
* @param attachment - FileMetadata object we want to render
|
6711
|
-
* @beta
|
6712
|
-
*/
|
6713
|
-
onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
|
6714
4832
|
/**
|
6715
4833
|
* Optional callback to edit a message.
|
6716
4834
|
*
|
@@ -6724,7 +4842,7 @@ export declare type MessageThreadProps = {
|
|
6724
4842
|
*
|
6725
4843
|
* @param messageId - message id from chatClient
|
6726
4844
|
*/
|
6727
|
-
|
4845
|
+
onCancelEditMessage?: CancelEditCallback;
|
6728
4846
|
/**
|
6729
4847
|
* Optional callback to delete a message.
|
6730
4848
|
*
|
@@ -6752,18 +4870,6 @@ export declare type MessageThreadProps = {
|
|
6752
4870
|
* Optional strings to override in component
|
6753
4871
|
*/
|
6754
4872
|
strings?: Partial<MessageThreadStrings>;
|
6755
|
-
/**
|
6756
|
-
* @beta
|
6757
|
-
* Optional function called when someone clicks on the file download icon.
|
6758
|
-
* If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
|
6759
|
-
* this function will be called with the data inside `fileSharingMetadata` key.
|
6760
|
-
*/
|
6761
|
-
fileDownloadHandler?: FileDownloadHandler;
|
6762
|
-
/**
|
6763
|
-
* Optional function to provide customized date format.
|
6764
|
-
* @beta
|
6765
|
-
*/
|
6766
|
-
onDisplayDateTimeString?: (messageDate: Date) => string;
|
6767
4873
|
};
|
6768
4874
|
|
6769
4875
|
/**
|
@@ -6835,12 +4941,6 @@ export declare interface MessageThreadStrings {
|
|
6835
4941
|
editBoxSubmitButton: string;
|
6836
4942
|
/** String for action menu indicating there are more options */
|
6837
4943
|
actionMenuMoreOptions?: string;
|
6838
|
-
/** String for download file button in file card */
|
6839
|
-
downloadFile: string;
|
6840
|
-
/** String for policy violation message removal */
|
6841
|
-
blockedWarningText: string;
|
6842
|
-
/** String for policy violation message removal details link */
|
6843
|
-
blockedWarningLinkText: string;
|
6844
4944
|
}
|
6845
4945
|
|
6846
4946
|
/**
|
@@ -6868,7 +4968,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
|
|
6868
4968
|
/** Styles for system message container. */
|
6869
4969
|
systemMessageContainer?: ComponentSlotStyle;
|
6870
4970
|
/** Styles for blocked message container. */
|
6871
|
-
blockedMessageContainer?: ComponentSlotStyle;
|
6872
4971
|
/** Styles for message status indicator container. */
|
6873
4972
|
messageStatusContainer?: (mine: boolean) => IStyle;
|
6874
4973
|
}
|
@@ -7022,7 +5121,7 @@ export declare interface MicrophoneButtonStrings {
|
|
7022
5121
|
/**
|
7023
5122
|
* Title for primary action section of split button
|
7024
5123
|
*/
|
7025
|
-
|
5124
|
+
microphonePrimaryActionSplitButtonTitle?: string;
|
7026
5125
|
}
|
7027
5126
|
|
7028
5127
|
/**
|
@@ -7037,31 +5136,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
7037
5136
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
7038
5137
|
}
|
7039
5138
|
|
7040
|
-
/**
|
7041
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
7042
|
-
* by their browsers settings.
|
7043
|
-
*
|
7044
|
-
* @beta
|
7045
|
-
*/
|
7046
|
-
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
7047
|
-
|
7048
|
-
/**
|
7049
|
-
* @beta
|
7050
|
-
* Props for MicrophoneSitePermissions component.
|
7051
|
-
*/
|
7052
|
-
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
7053
|
-
/** Icon name for the microphone icon */
|
7054
|
-
microphoneIconName?: string;
|
7055
|
-
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
7056
|
-
strings?: MicrophoneSitePermissionsStrings;
|
7057
|
-
}
|
7058
|
-
|
7059
|
-
/**
|
7060
|
-
* @beta
|
7061
|
-
* Strings for MicrophoneSitePermissions component.
|
7062
|
-
*/
|
7063
|
-
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
7064
|
-
|
7065
5139
|
/**
|
7066
5140
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
7067
5141
|
*
|
@@ -7080,13 +5154,6 @@ export declare interface NetworkDiagnosticsState {
|
|
7080
5154
|
latest: LatestNetworkDiagnostics;
|
7081
5155
|
}
|
7082
5156
|
|
7083
|
-
/**
|
7084
|
-
* Callback function used to provide custom data to build profile for a user.
|
7085
|
-
*
|
7086
|
-
* @beta
|
7087
|
-
*/
|
7088
|
-
export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
|
7089
|
-
|
7090
5157
|
/**
|
7091
5158
|
* A custom rendered callback that allows users to customize the rendering of a Persona Component.
|
7092
5159
|
*
|
@@ -7119,13 +5186,6 @@ export declare interface OptionsDevice {
|
|
7119
5186
|
name: string;
|
7120
5187
|
}
|
7121
5188
|
|
7122
|
-
/**
|
7123
|
-
* Different modes and positions of the overflow gallery in the VideoGallery
|
7124
|
-
*
|
7125
|
-
* @beta
|
7126
|
-
*/
|
7127
|
-
export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
|
7128
|
-
|
7129
5189
|
/**
|
7130
5190
|
* A system message notifying that a participant was added to the chat thread.
|
7131
5191
|
*
|
@@ -7183,14 +5243,6 @@ export declare interface ParticipantItemProps {
|
|
7183
5243
|
onClick?: (props?: ParticipantItemProps) => void;
|
7184
5244
|
/** prop to determine if we should show tooltip for participants or not */
|
7185
5245
|
showParticipantOverflowTooltip?: boolean;
|
7186
|
-
/**
|
7187
|
-
* Optional value to determine and display a participants connection status.
|
7188
|
-
* For example, `Connecting`, `Ringing` etc.
|
7189
|
-
* The actual text that is displayed is determined by the localized string
|
7190
|
-
* corresponding to the provided participant state.
|
7191
|
-
* For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
|
7192
|
-
*/
|
7193
|
-
participantState?: ParticipantState;
|
7194
5246
|
}
|
7195
5247
|
|
7196
5248
|
/**
|
@@ -7211,10 +5263,6 @@ export declare interface ParticipantItemStrings {
|
|
7211
5263
|
mutedIconLabel: string;
|
7212
5264
|
/** placeholder text for participants who does not have a display name*/
|
7213
5265
|
displayNamePlaceholder?: string;
|
7214
|
-
/** String shown when `participantState` is `Ringing` */
|
7215
|
-
participantStateRinging?: string;
|
7216
|
-
/** String shown when `participantState` is `Hold` */
|
7217
|
-
participantStateHold?: string;
|
7218
5266
|
}
|
7219
5267
|
|
7220
5268
|
/**
|
@@ -7522,18 +5570,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
7522
5570
|
*/
|
7523
5571
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
7524
5572
|
|
7525
|
-
/**
|
7526
|
-
* The profile of a user.
|
7527
|
-
*
|
7528
|
-
* @beta
|
7529
|
-
*/
|
7530
|
-
export declare type Profile = {
|
7531
|
-
/**
|
7532
|
-
* Primary text to display, usually the name of the person.
|
7533
|
-
*/
|
7534
|
-
displayName?: string;
|
7535
|
-
};
|
7536
|
-
|
7537
5573
|
/**
|
7538
5574
|
* An array of key value pairs that stores each sender's display name and last read message
|
7539
5575
|
*
|
@@ -7597,10 +5633,6 @@ export declare interface RemoteParticipantState {
|
|
7597
5633
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
|
7598
5634
|
*/
|
7599
5635
|
isSpeaking: boolean;
|
7600
|
-
/**
|
7601
|
-
* Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
|
7602
|
-
*/
|
7603
|
-
role?: ParticipantRole;
|
7604
5636
|
}
|
7605
5637
|
|
7606
5638
|
/**
|
@@ -7625,7 +5657,6 @@ export declare interface RemoteVideoStreamState {
|
|
7625
5657
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
7626
5658
|
* @beta
|
7627
5659
|
*/
|
7628
|
-
isReceiving: boolean;
|
7629
5660
|
/**
|
7630
5661
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
7631
5662
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -7633,26 +5664,6 @@ export declare interface RemoteVideoStreamState {
|
|
7633
5664
|
view?: VideoStreamRendererViewState;
|
7634
5665
|
}
|
7635
5666
|
|
7636
|
-
/**
|
7637
|
-
* Menu options for remote video tiles in {@link VideoGallery}.
|
7638
|
-
*
|
7639
|
-
* @beta
|
7640
|
-
*/
|
7641
|
-
export declare interface RemoteVideoTileMenuOptions {
|
7642
|
-
/**
|
7643
|
-
* If set to true, remote video tiles in the VideoGallery will not have menu options
|
7644
|
-
*
|
7645
|
-
* @defaultValue false
|
7646
|
-
*/
|
7647
|
-
isHidden?: boolean;
|
7648
|
-
}
|
7649
|
-
|
7650
|
-
/**
|
7651
|
-
* @beta
|
7652
|
-
* The role of a call participant.
|
7653
|
-
*/
|
7654
|
-
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
|
7655
|
-
|
7656
5667
|
/**
|
7657
5668
|
* A button to start / stop screen sharing.
|
7658
5669
|
*
|
@@ -7686,7 +5697,6 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
|
|
7686
5697
|
*/
|
7687
5698
|
export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
7688
5699
|
checked?: boolean;
|
7689
|
-
disabled?: boolean;
|
7690
5700
|
};
|
7691
5701
|
|
7692
5702
|
/**
|
@@ -7707,13 +5717,6 @@ export declare interface ScreenShareButtonStrings {
|
|
7707
5717
|
tooltipOffContent?: string;
|
7708
5718
|
}
|
7709
5719
|
|
7710
|
-
/**
|
7711
|
-
* Contains the attibutes of a selected video background effect
|
7712
|
-
*
|
7713
|
-
* @beta
|
7714
|
-
*/
|
7715
|
-
export declare type SelectedVideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
|
7716
|
-
|
7717
5720
|
/**
|
7718
5721
|
* An optimized selector that refines {@link ClientState} updates into props for React Components in this library.
|
7719
5722
|
*
|
@@ -7731,19 +5734,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
|
|
7731
5734
|
*/
|
7732
5735
|
export declare const SendBox: (props: SendBoxProps) => JSX.Element;
|
7733
5736
|
|
7734
|
-
/**
|
7735
|
-
* @beta
|
7736
|
-
* Error to be displayed to the user in an error bar above sendbox.
|
7737
|
-
*/
|
7738
|
-
export declare interface SendBoxErrorBarError {
|
7739
|
-
/** Error Message to be displayed */
|
7740
|
-
message: string;
|
7741
|
-
/**
|
7742
|
-
* Unix Timestamp. Preferred generation using `Date.now()`
|
7743
|
-
*/
|
7744
|
-
timestamp: number;
|
7745
|
-
}
|
7746
|
-
|
7747
5737
|
/**
|
7748
5738
|
* Props for {@link SendBox}.
|
7749
5739
|
*
|
@@ -7798,26 +5788,7 @@ export declare interface SendBoxProps {
|
|
7798
5788
|
* enumerable to determine if the input box has focus on render or not.
|
7799
5789
|
* When undefined nothing has focus on render
|
7800
5790
|
*/
|
7801
|
-
autoFocus?: 'sendBoxTextField';
|
7802
|
-
/**
|
7803
|
-
* Optional callback to render uploaded files in the SendBox. The sendBox will expand
|
7804
|
-
* vertically to accommodate the uploaded files. File uploads will
|
7805
|
-
* be rendered below the text area in sendBox.
|
7806
|
-
* @beta
|
7807
|
-
*/
|
7808
|
-
onRenderFileUploads?: () => JSX.Element;
|
7809
|
-
/**
|
7810
|
-
* Optional array of active file uploads where each object has attributes
|
7811
|
-
* of a file upload like name, progress, errorMessage etc.
|
7812
|
-
* @beta
|
7813
|
-
*/
|
7814
|
-
activeFileUploads?: ActiveFileUpload[];
|
7815
|
-
/**
|
7816
|
-
* Optional callback to remove the file upload before sending by clicking on
|
7817
|
-
* cancel icon.
|
7818
|
-
* @beta
|
7819
|
-
*/
|
7820
|
-
onCancelFileUpload?: (fileId: string) => void;
|
5791
|
+
autoFocus?: 'sendBoxTextField';
|
7821
5792
|
}
|
7822
5793
|
|
7823
5794
|
/**
|
@@ -7848,22 +5819,6 @@ export declare interface SendBoxStrings {
|
|
7848
5819
|
* Aria label for send message button
|
7849
5820
|
*/
|
7850
5821
|
sendButtonAriaLabel: string;
|
7851
|
-
/**
|
7852
|
-
* Error message indicating that all file uploads are not complete.
|
7853
|
-
*/
|
7854
|
-
fileUploadsPendingError: string;
|
7855
|
-
/**
|
7856
|
-
* Aria label to notify user when focus is on cancel file upload button.
|
7857
|
-
*/
|
7858
|
-
removeFile: string;
|
7859
|
-
/**
|
7860
|
-
* Aria label to notify user file uploading starts.
|
7861
|
-
*/
|
7862
|
-
uploading: string;
|
7863
|
-
/**
|
7864
|
-
* Aria label to notify user file is uploaded.
|
7865
|
-
*/
|
7866
|
-
uploadCompleted: string;
|
7867
5822
|
}
|
7868
5823
|
|
7869
5824
|
/**
|
@@ -7884,45 +5839,6 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7884
5839
|
systemMessage?: IStyle;
|
7885
5840
|
}
|
7886
5841
|
|
7887
|
-
/**
|
7888
|
-
* @beta
|
7889
|
-
* Strings for SitePermissions component
|
7890
|
-
*/
|
7891
|
-
export declare type SitePermissionsStrings = {
|
7892
|
-
/**
|
7893
|
-
* Main text string.
|
7894
|
-
*/
|
7895
|
-
primaryText?: string;
|
7896
|
-
/**
|
7897
|
-
* Subtext string.
|
7898
|
-
*/
|
7899
|
-
secondaryText?: string;
|
7900
|
-
/**
|
7901
|
-
* More help link string.
|
7902
|
-
*/
|
7903
|
-
linkText?: string;
|
7904
|
-
/**
|
7905
|
-
* Primary button text string.
|
7906
|
-
*/
|
7907
|
-
primaryButtonText?: string;
|
7908
|
-
/**
|
7909
|
-
* Aria label describing the content of the container
|
7910
|
-
*/
|
7911
|
-
ariaLabel?: string;
|
7912
|
-
};
|
7913
|
-
|
7914
|
-
/**
|
7915
|
-
* Fluent styles for {@link SitePermissionsContainer}.
|
7916
|
-
*
|
7917
|
-
* @beta
|
7918
|
-
*/
|
7919
|
-
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
7920
|
-
/** Styles for the primary button. */
|
7921
|
-
primaryButton?: IButtonStyles;
|
7922
|
-
/** Styles for the help troubleshooting link text. */
|
7923
|
-
troubleshootingLink?: ILinkStyles;
|
7924
|
-
}
|
7925
|
-
|
7926
5842
|
/**
|
7927
5843
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
7928
5844
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -8029,19 +5945,6 @@ export declare interface StatefulCallClient extends CallClient {
|
|
8029
5945
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
8030
5946
|
*/
|
8031
5947
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
8032
|
-
/** @conditional-compile-remove(one-to-n-calling) */
|
8033
|
-
/**
|
8034
|
-
* The CallAgent is used to handle calls.
|
8035
|
-
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
8036
|
-
* - The CallClient can only have one active CallAgent instance at a time.
|
8037
|
-
* - You can create a new CallClient instance to create a new CallAgent.
|
8038
|
-
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
8039
|
-
* createCallAgent() method again to create a new CallAgent.
|
8040
|
-
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
8041
|
-
* @param options - The CallAgentOptions for additional options like display name.
|
8042
|
-
* @public
|
8043
|
-
*/
|
8044
|
-
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
8045
5948
|
}
|
8046
5949
|
|
8047
5950
|
/**
|
@@ -8054,16 +5957,7 @@ export declare type StatefulCallClientArgs = {
|
|
8054
5957
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
8055
5958
|
* state. It is not used by StatefulCallClient.
|
8056
5959
|
*/
|
8057
|
-
userId: CommunicationUserIdentifier
|
8058
|
-
/**
|
8059
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
8060
|
-
* to start a PSTN call.
|
8061
|
-
*
|
8062
|
-
* example: +11234567
|
8063
|
-
*
|
8064
|
-
* This is not a cached value from the headless calling client.
|
8065
|
-
*/
|
8066
|
-
alternateCallerId?: string;
|
5960
|
+
userId: CommunicationUserIdentifier;
|
8067
5961
|
};
|
8068
5962
|
|
8069
5963
|
/**
|
@@ -8151,14 +6045,6 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
8151
6045
|
* {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
|
8152
6046
|
*/
|
8153
6047
|
selectCamera: (VideoDeviceInfo: any) => void;
|
8154
|
-
/**
|
8155
|
-
* Gets the list of unparented video streams. This is a list of video streams that have not been added to a
|
8156
|
-
* {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
|
8157
|
-
* video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
|
8158
|
-
*
|
8159
|
-
* @beta
|
8160
|
-
*/
|
8161
|
-
getUnparentedVideoStreams: () => LocalVideoStream[];
|
8162
6048
|
}
|
8163
6049
|
|
8164
6050
|
/**
|
@@ -8211,77 +6097,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
8211
6097
|
iconName: string;
|
8212
6098
|
}
|
8213
6099
|
|
8214
|
-
/**
|
8215
|
-
* Optional parameters to create {@link TeamsCallAdapter}
|
8216
|
-
*
|
8217
|
-
* @beta
|
8218
|
-
*/
|
8219
|
-
export declare type TeamsAdapterOptions = {
|
8220
|
-
/**
|
8221
|
-
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
8222
|
-
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
8223
|
-
* and would not be updated again within the lifecycle of adapter.
|
8224
|
-
*/
|
8225
|
-
onFetchProfile?: OnFetchProfileCallback;
|
8226
|
-
} & CommonCallAdapterOptions;
|
8227
|
-
|
8228
|
-
/**
|
8229
|
-
* An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
|
8230
|
-
*
|
8231
|
-
* @beta
|
8232
|
-
*/
|
8233
|
-
export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
8234
|
-
/**
|
8235
|
-
* Join the call with microphone initially on/off.
|
8236
|
-
*
|
8237
|
-
* @param microphoneOn - Whether microphone is initially enabled
|
8238
|
-
*
|
8239
|
-
* @beta
|
8240
|
-
*/
|
8241
|
-
joinCall(microphoneOn?: boolean): TeamsCall | undefined;
|
8242
|
-
/**
|
8243
|
-
* Start the call.
|
8244
|
-
*
|
8245
|
-
* @param participants - An array of participant ids to join
|
8246
|
-
*
|
8247
|
-
* @beta
|
8248
|
-
*/
|
8249
|
-
startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
|
8250
|
-
/**
|
8251
|
-
* Start the call.
|
8252
|
-
* @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
|
8253
|
-
* @beta
|
8254
|
-
*/
|
8255
|
-
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
8256
|
-
}
|
8257
|
-
|
8258
|
-
/**
|
8259
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
8260
|
-
*
|
8261
|
-
* @beta
|
8262
|
-
*/
|
8263
|
-
export declare type TeamsCallAdapterArgs = {
|
8264
|
-
userId: MicrosoftTeamsUserIdentifier;
|
8265
|
-
credential: CommunicationTokenCredential;
|
8266
|
-
locator: TeamsMeetingLinkLocator;
|
8267
|
-
/**
|
8268
|
-
* Optional parameters for the {@link TeamsCallAdapter} created
|
8269
|
-
*/
|
8270
|
-
options?: TeamsAdapterOptions;
|
8271
|
-
};
|
8272
|
-
|
8273
|
-
/**
|
8274
|
-
* Object containing all the teams call handlers required for calling components.
|
8275
|
-
*
|
8276
|
-
* Calling related components from this package are able to pick out relevant handlers from this object.
|
8277
|
-
* See {@link useHandlers} and {@link usePropsFor}.
|
8278
|
-
*
|
8279
|
-
* @beta
|
8280
|
-
*/
|
8281
|
-
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
8282
|
-
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
8283
|
-
}
|
8284
|
-
|
8285
6100
|
/**
|
8286
6101
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
8287
6102
|
*
|
@@ -8461,117 +6276,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
8461
6276
|
typingString?: IStyle;
|
8462
6277
|
}
|
8463
6278
|
|
8464
|
-
/**
|
8465
|
-
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
8466
|
-
*
|
8467
|
-
* @beta
|
8468
|
-
*/
|
8469
|
-
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
8470
|
-
|
8471
|
-
/**
|
8472
|
-
* props for {@link UnsupportedBrowser} UI
|
8473
|
-
*
|
8474
|
-
* @beta
|
8475
|
-
*/
|
8476
|
-
export declare interface UnsupportedBrowserProps {
|
8477
|
-
/** Handler to perform an action when the help link is actioned */
|
8478
|
-
onTroubleshootingClick?: () => void;
|
8479
|
-
/** String overrides for the component */
|
8480
|
-
strings?: UnsupportedBrowserStrings;
|
8481
|
-
}
|
8482
|
-
|
8483
|
-
/**
|
8484
|
-
* Strings for UnsupportedBrowser component
|
8485
|
-
*
|
8486
|
-
* @beta
|
8487
|
-
*/
|
8488
|
-
export declare interface UnsupportedBrowserStrings {
|
8489
|
-
/** String for the primary text */
|
8490
|
-
primaryText: string;
|
8491
|
-
/** String for the secondary text */
|
8492
|
-
secondaryText: string;
|
8493
|
-
/** String to display in the text for the help link */
|
8494
|
-
moreHelpLinkText: string;
|
8495
|
-
}
|
8496
|
-
|
8497
|
-
/**
|
8498
|
-
* UI to display to the user that the browser version they are using is out of date
|
8499
|
-
* and not supported by Azure Communications Calling service.
|
8500
|
-
*
|
8501
|
-
* @beta
|
8502
|
-
*/
|
8503
|
-
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
8504
|
-
|
8505
|
-
/**
|
8506
|
-
* props for {@link UnsupportedBrowserVersion} UI
|
8507
|
-
*
|
8508
|
-
* @beta
|
8509
|
-
*/
|
8510
|
-
export declare interface UnsupportedBrowserVersionProps {
|
8511
|
-
/** Handler to perform an action when the help link is actioned */
|
8512
|
-
onTroubleshootingClick?: () => void;
|
8513
|
-
/** String overrides for the component */
|
8514
|
-
strings?: UnsupportedBrowserVersionStrings;
|
8515
|
-
/** Handler to allow user to continue into the call */
|
8516
|
-
onContinueAnywayClick?: () => void;
|
8517
|
-
}
|
8518
|
-
|
8519
|
-
/**
|
8520
|
-
* Strings for UnsupportedBrowser component
|
8521
|
-
*
|
8522
|
-
* @beta
|
8523
|
-
*/
|
8524
|
-
export declare interface UnsupportedBrowserVersionStrings {
|
8525
|
-
/** String for the primary text */
|
8526
|
-
primaryText: string;
|
8527
|
-
/** String for the secondary text */
|
8528
|
-
secondaryText: string;
|
8529
|
-
/** String to display in the text for the help link */
|
8530
|
-
moreHelpLinkText: string;
|
8531
|
-
/** String for continue without updating button */
|
8532
|
-
continueAnywayButtonText?: string;
|
8533
|
-
}
|
8534
|
-
|
8535
|
-
/**
|
8536
|
-
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
8537
|
-
*
|
8538
|
-
* @beta
|
8539
|
-
*/
|
8540
|
-
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
8541
|
-
|
8542
|
-
/**
|
8543
|
-
* Props for {@link UnsupportedOperatingSystem} UI
|
8544
|
-
*
|
8545
|
-
* @beta
|
8546
|
-
*/
|
8547
|
-
export declare interface UnsupportedOperatingSystemProps {
|
8548
|
-
/** Handler to perform a action when the help link is actioned */
|
8549
|
-
onTroubleshootingClick?: () => void;
|
8550
|
-
/** String overrides for the component */
|
8551
|
-
strings?: UnsupportedOperatingSystemStrings;
|
8552
|
-
}
|
8553
|
-
|
8554
|
-
/**
|
8555
|
-
* Strings for UnsupportedBrowser component
|
8556
|
-
*
|
8557
|
-
* @beta
|
8558
|
-
*/
|
8559
|
-
export declare interface UnsupportedOperatingSystemStrings {
|
8560
|
-
/** String for the primary text */
|
8561
|
-
primaryText: string;
|
8562
|
-
/** String for the secondary text */
|
8563
|
-
secondaryText: string;
|
8564
|
-
/** String to display in the text for the help link */
|
8565
|
-
moreHelpLinkText: string;
|
8566
|
-
}
|
8567
|
-
|
8568
6279
|
/**
|
8569
6280
|
* @public
|
8570
6281
|
* Callback function run when a message is updated.
|
8571
6282
|
*/
|
8572
|
-
export declare type UpdateMessageCallback = (messageId: string, content: string
|
8573
|
-
attachedFilesMetadata?: FileMetadata[];
|
8574
|
-
}) => Promise<void>;
|
6283
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
|
8575
6284
|
|
8576
6285
|
/**
|
8577
6286
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
@@ -8719,44 +6428,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
8719
6428
|
*/
|
8720
6429
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
8721
6430
|
|
8722
|
-
/**
|
8723
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
8724
|
-
*
|
8725
|
-
* Useful when implementing a custom component that utilizes the providers
|
8726
|
-
* exported from this library.
|
8727
|
-
*
|
8728
|
-
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
8729
|
-
*
|
8730
|
-
* @beta
|
8731
|
-
*/
|
8732
|
-
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
8733
|
-
|
8734
|
-
/**
|
8735
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
8736
|
-
*
|
8737
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
8738
|
-
* creation of the adapter internally.
|
8739
|
-
*
|
8740
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
8741
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
8742
|
-
*
|
8743
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
8744
|
-
* See storybook for typical usage examples.
|
8745
|
-
*
|
8746
|
-
* @beta
|
8747
|
-
*/
|
8748
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
8749
|
-
|
8750
|
-
/**
|
8751
|
-
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
8752
|
-
*
|
8753
|
-
* Useful when implementing a custom component that utilizes the providers
|
8754
|
-
* exported from this library.
|
8755
|
-
*
|
8756
|
-
* @beta
|
8757
|
-
*/
|
8758
|
-
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
8759
|
-
|
8760
6431
|
/**
|
8761
6432
|
* React hook to access theme
|
8762
6433
|
*
|
@@ -8764,114 +6435,6 @@ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compil
|
|
8764
6435
|
*/
|
8765
6436
|
export declare const useTheme: () => Theme;
|
8766
6437
|
|
8767
|
-
/**
|
8768
|
-
* Styles for the control bar inside the VerticalGallery component
|
8769
|
-
*
|
8770
|
-
* @beta
|
8771
|
-
*/
|
8772
|
-
export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
|
8773
|
-
/**
|
8774
|
-
* styles for the next button in the VerticalGalleryControlBar
|
8775
|
-
*/
|
8776
|
-
nextButton?: IStyle;
|
8777
|
-
/**
|
8778
|
-
* Styles for the previous button in the VerticalGalleryControlBar
|
8779
|
-
*/
|
8780
|
-
previousButton?: IStyle;
|
8781
|
-
/**
|
8782
|
-
* Styles for the counter in the VerticalGalleryControlBar
|
8783
|
-
*/
|
8784
|
-
counter?: IStyle;
|
8785
|
-
}
|
8786
|
-
|
8787
|
-
/**
|
8788
|
-
* Strings for localization of the vertical gallery.
|
8789
|
-
*
|
8790
|
-
* @beta
|
8791
|
-
*/
|
8792
|
-
export declare interface VerticalGalleryStrings {
|
8793
|
-
/** Aria label for the left page navigation button */
|
8794
|
-
leftNavButtonAriaLabel?: string;
|
8795
|
-
/** Aria label for the right page navigation button */
|
8796
|
-
rightNavButtonAriaLabel?: string;
|
8797
|
-
}
|
8798
|
-
|
8799
|
-
/**
|
8800
|
-
* Styles for the VerticalGallery component
|
8801
|
-
*
|
8802
|
-
* @beta
|
8803
|
-
*/
|
8804
|
-
export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
8805
|
-
/** Styles for each video tile in the vertical gallery */
|
8806
|
-
children?: IStyle;
|
8807
|
-
/** Styles for the verticalGallery control bar */
|
8808
|
-
controlBar?: VerticalGalleryControlBarStyles;
|
8809
|
-
}
|
8810
|
-
|
8811
|
-
/**
|
8812
|
-
* Contains the attibutes of the blur video background effect
|
8813
|
-
*
|
8814
|
-
* @beta
|
8815
|
-
*/
|
8816
|
-
export declare interface VideoBackgroundBlurEffect {
|
8817
|
-
/**
|
8818
|
-
* Name of effect to blur video background effect
|
8819
|
-
*/
|
8820
|
-
effectName: 'blur';
|
8821
|
-
}
|
8822
|
-
|
8823
|
-
/**
|
8824
|
-
* Contains the attibutes of a background image like url, name etc.
|
8825
|
-
*
|
8826
|
-
* @beta
|
8827
|
-
*/
|
8828
|
-
export declare interface VideoBackgroundImage {
|
8829
|
-
/**
|
8830
|
-
* key for unique identification of the custom background
|
8831
|
-
*/
|
8832
|
-
key: string;
|
8833
|
-
/**
|
8834
|
-
* URL of the uploaded background image.
|
8835
|
-
*/
|
8836
|
-
url: string;
|
8837
|
-
/**
|
8838
|
-
* Image name to be displayed.
|
8839
|
-
*/
|
8840
|
-
tooltipText?: string;
|
8841
|
-
}
|
8842
|
-
|
8843
|
-
/**
|
8844
|
-
* Contains the attibutes to remove video background effect
|
8845
|
-
*
|
8846
|
-
* @beta
|
8847
|
-
*/
|
8848
|
-
export declare interface VideoBackgroundNoEffect {
|
8849
|
-
/**
|
8850
|
-
* Name of effect to remove video background effect
|
8851
|
-
*/
|
8852
|
-
effectName: 'none';
|
8853
|
-
}
|
8854
|
-
|
8855
|
-
/**
|
8856
|
-
* Contains the attibutes of a selected replacement video background effect
|
8857
|
-
*
|
8858
|
-
* @beta
|
8859
|
-
*/
|
8860
|
-
export declare interface VideoBackgroundReplacementEffect {
|
8861
|
-
/**
|
8862
|
-
* Name of effect to replace video background effect
|
8863
|
-
*/
|
8864
|
-
effectName: 'replacement';
|
8865
|
-
/**
|
8866
|
-
* key for unique identification of the custom background
|
8867
|
-
*/
|
8868
|
-
effectKey: string;
|
8869
|
-
/**
|
8870
|
-
* URL of the custom background image.
|
8871
|
-
*/
|
8872
|
-
backgroundImageUrl: string;
|
8873
|
-
}
|
8874
|
-
|
8875
6438
|
/**
|
8876
6439
|
* VideoGallery represents a layout of video tiles for a specific call.
|
8877
6440
|
* It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
|
@@ -8971,29 +6534,6 @@ export declare interface VideoGalleryProps {
|
|
8971
6534
|
* Camera control information for button to switch cameras.
|
8972
6535
|
*/
|
8973
6536
|
localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
|
8974
|
-
/**
|
8975
|
-
* List of pinned participant userIds.
|
8976
|
-
*/
|
8977
|
-
pinnedParticipants?: string[];
|
8978
|
-
/**
|
8979
|
-
* This callback will be called when a participant video tile is pinned.
|
8980
|
-
*/
|
8981
|
-
onPinParticipant?: (userId: string) => void;
|
8982
|
-
/**
|
8983
|
-
* This callback will be called when a participant video tile is un-pinned.
|
8984
|
-
*/
|
8985
|
-
onUnpinParticipant?: (userId: string) => void;
|
8986
|
-
/**
|
8987
|
-
* Options for showing the remote video tile menu.
|
8988
|
-
*
|
8989
|
-
* @defaultValue \{ kind: 'contextual' \}
|
8990
|
-
*/
|
8991
|
-
remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
|
8992
|
-
/**
|
8993
|
-
* Determines the layout of the overflowGallery inside the VideoGallery.
|
8994
|
-
* @defaultValue 'HorizontalBottom'
|
8995
|
-
*/
|
8996
|
-
overflowGalleryPosition?: OverflowGalleryPosition;
|
8997
6537
|
}
|
8998
6538
|
|
8999
6539
|
/**
|
@@ -9006,11 +6546,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
|
|
9006
6546
|
isSpeaking?: boolean;
|
9007
6547
|
/** Video stream of shared screen */
|
9008
6548
|
screenShareStream?: VideoGalleryStream;
|
9009
|
-
/**
|
9010
|
-
* @beta
|
9011
|
-
* The connection state of the participant. For example, 'Hold', 'Connecting' etc.
|
9012
|
-
*/
|
9013
|
-
state?: ParticipantState;
|
9014
6549
|
}
|
9015
6550
|
|
9016
6551
|
/**
|
@@ -9041,8 +6576,6 @@ export declare interface VideoGalleryStream {
|
|
9041
6576
|
isMirrored?: boolean;
|
9042
6577
|
/** Render element of the video stream */
|
9043
6578
|
renderElement?: HTMLElement;
|
9044
|
-
/** Scaling mode of the video stream */
|
9045
|
-
scalingMode?: ViewScalingMode;
|
9046
6579
|
}
|
9047
6580
|
|
9048
6581
|
/**
|
@@ -9065,22 +6598,6 @@ export declare interface VideoGalleryStrings {
|
|
9065
6598
|
localVideoSelectedDescription: string;
|
9066
6599
|
/** placeholder text for participants who does not have a display name*/
|
9067
6600
|
displayNamePlaceholder: string;
|
9068
|
-
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
|
9069
|
-
fitRemoteParticipantToFrame: string;
|
9070
|
-
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
|
9071
|
-
fillRemoteParticipantFrame: string;
|
9072
|
-
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
9073
|
-
pinParticipantForMe: string;
|
9074
|
-
/** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
|
9075
|
-
unpinParticipantForMe: string;
|
9076
|
-
/** Aria label for pin participant menu item of remote participant's video tile */
|
9077
|
-
pinParticipantMenuItemAriaLabel: string;
|
9078
|
-
/** Aria label for unpin participant menu item of remote participant's video tile */
|
9079
|
-
unpinParticipantMenuItemAriaLabel: string;
|
9080
|
-
/** Aria label to announce when remote participant's video tile is pinned */
|
9081
|
-
pinnedParticipantAnnouncementAriaLabel: string;
|
9082
|
-
/** Aria label to announce when remote participant's video tile is unpinned */
|
9083
|
-
unpinnedParticipantAnnouncementAriaLabel: string;
|
9084
6601
|
}
|
9085
6602
|
|
9086
6603
|
/**
|
@@ -9094,8 +6611,6 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
|
|
9094
6611
|
horizontalGallery?: HorizontalGalleryStyles;
|
9095
6612
|
/** Styles for the local video */
|
9096
6613
|
localVideo?: IStyle;
|
9097
|
-
/** Styles for the vertical gallery */
|
9098
|
-
verticalGallery?: VerticalGalleryStyles;
|
9099
6614
|
}
|
9100
6615
|
|
9101
6616
|
/**
|
@@ -9140,36 +6655,6 @@ export declare interface VideoStreamRendererViewState {
|
|
9140
6655
|
*/
|
9141
6656
|
export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
|
9142
6657
|
|
9143
|
-
/**
|
9144
|
-
* Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
|
9145
|
-
*
|
9146
|
-
* @beta
|
9147
|
-
*/
|
9148
|
-
export declare interface VideoTileContextualMenuProps {
|
9149
|
-
/**
|
9150
|
-
* The menu property kind
|
9151
|
-
*/
|
9152
|
-
kind: 'contextual';
|
9153
|
-
}
|
9154
|
-
|
9155
|
-
/**
|
9156
|
-
* Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
|
9157
|
-
*
|
9158
|
-
* @beta
|
9159
|
-
*/
|
9160
|
-
export declare interface VideoTileDrawerMenuProps {
|
9161
|
-
/**
|
9162
|
-
* The menu property kind
|
9163
|
-
*/
|
9164
|
-
kind: 'drawer';
|
9165
|
-
/**
|
9166
|
-
* The optional id property provided on an element that the drawer menu should render within when a
|
9167
|
-
* remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
|
9168
|
-
* render within the VideoGallery component.
|
9169
|
-
*/
|
9170
|
-
hostId?: string;
|
9171
|
-
}
|
9172
|
-
|
9173
6658
|
/**
|
9174
6659
|
* Props for {@link VideoTile}.
|
9175
6660
|
*
|
@@ -9208,10 +6693,6 @@ export declare interface VideoTileProps {
|
|
9208
6693
|
* Whether the video is muted or not.
|
9209
6694
|
*/
|
9210
6695
|
isMuted?: boolean;
|
9211
|
-
/**
|
9212
|
-
* If true, the video tile will show the pin icon.
|
9213
|
-
*/
|
9214
|
-
isPinned?: boolean;
|
9215
6696
|
/**
|
9216
6697
|
* Display Name of the Participant to be shown in the label.
|
9217
6698
|
* @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
|
@@ -9240,31 +6721,6 @@ export declare interface VideoTileProps {
|
|
9240
6721
|
noVideoAvailableAriaLabel?: string;
|
9241
6722
|
/** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
|
9242
6723
|
isSpeaking?: boolean;
|
9243
|
-
/**
|
9244
|
-
* The call connection state of the participant.
|
9245
|
-
* For example, `Hold` means the participant is on hold.
|
9246
|
-
*/
|
9247
|
-
participantState?: ParticipantState;
|
9248
|
-
strings?: VideoTileStrings;
|
9249
|
-
/**
|
9250
|
-
* Display custom menu items in the VideoTile's contextual menu.
|
9251
|
-
* Uses Fluent UI ContextualMenu.
|
9252
|
-
* An ellipses icon will be displayed to open the contextual menu if this prop is defined.
|
9253
|
-
*/
|
9254
|
-
contextualMenu?: IContextualMenuProps;
|
9255
|
-
/**
|
9256
|
-
* Callback triggered by video tile on touch and hold.
|
9257
|
-
*/
|
9258
|
-
onLongTouch?: () => void;
|
9259
|
-
}
|
9260
|
-
|
9261
|
-
/**
|
9262
|
-
* Strings of {@link VideoTile} that can be overridden.
|
9263
|
-
* @beta
|
9264
|
-
*/
|
9265
|
-
export declare interface VideoTileStrings {
|
9266
|
-
participantStateRinging: string;
|
9267
|
-
participantStateHold: string;
|
9268
6724
|
}
|
9269
6725
|
|
9270
6726
|
/**
|