@azure/communication-react 1.3.1-alpha-202205310013.0 → 1.3.2-alpha-202207010015.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/CHANGELOG.json +1260 -0
- package/CHANGELOG.md +107 -1
- package/dist/communication-react.d.ts +409 -31
- package/dist/dist-cjs/communication-react/index.js +1674 -786
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +2 -0
- package/dist/dist-esm/acs-ui-common/src/index.d.ts.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js +1 -0
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts +16 -0
- package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts.map +1 -0
- package/dist/dist-esm/acs-ui-common/src/logEvent.js +11 -0
- package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -0
- package/dist/dist-esm/acs-ui-common/src/safeStringify.d.ts.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/safeStringify.js +17 -1
- package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +4 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +9 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +12 -0
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +14 -2
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +32 -13
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +2 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +6 -2
- 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 +4 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +22 -0
- 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 +4 -2
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.js +4 -2
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +34 -36
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts +6 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.d.ts.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/{SelectorUtils.js → utils/SelectorUtils.js} +0 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/{callUtils.d.ts → utils/callUtils.d.ts} +7 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/{callUtils.js → utils/callUtils.js} +28 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +6 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +25 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.d.ts → utils/videoGalleryUtils.d.ts} +3 -5
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/{videoGalleryUtils.js → utils/videoGalleryUtils.js} +3 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +10 -3
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +17 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +22 -5
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +6 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts.map +1 -1
- 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 -0
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +19 -0
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts +22 -0
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +49 -0
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +26 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Logger.js +30 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +13 -0
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +133 -25
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +2 -0
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +7 -1
- package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
- package/dist/dist-esm/communication-react/src/index.js +4 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +1 -0
- 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.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +16 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +33 -21
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +87 -30
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +16 -3
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.js +22 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/FileCard.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileCard.js +44 -14
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +18 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts +17 -0
- package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js +19 -2
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +15 -4
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +3 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.js +15 -12
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +14 -6
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +5 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +3 -2
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +5 -7
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +8 -4
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +6 -3
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +12 -0
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.js +10 -5
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +8 -5
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/StreamMedia.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/StreamMedia.js +7 -4
- package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +4 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +18 -70
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +6 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/VoiceOverButton.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/VoiceOverButton.js +32 -0
- package/dist/dist-esm/react-components/src/components/VoiceOverButton.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/index.d.ts +6 -2
- package/dist/dist-esm/react-components/src/components/index.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.js +4 -1
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js +0 -8
- package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts +13 -1
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +34 -0
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts +9 -0
- package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js +26 -0
- package/dist/dist-esm/react-components/src/components/styles/VoiceOverButton.style.js.map +1 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +22 -4
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +38 -7
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +37 -6
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +37 -6
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +6 -0
- package/dist/dist-esm/react-components/src/theming/icons.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.js +12 -2
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +12 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +52 -3
- 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 +42 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
- 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 +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +7 -18
- 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/LobbyTile.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +2 -23
- 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/NetworkReconnectTile.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts +2 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +9 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +40 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +10 -9
- 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 +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +1 -1
- 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/NoticePage.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +4 -4
- 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/dominantRemoteParticipantSelector.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +10 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +40 -13
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +7 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +20 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +67 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js +68 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +11 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +38 -2
- 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 +27 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +7 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +14 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js +19 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +11 -1
- 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/styles/Chat.styles.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +7 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +32 -8
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +8 -2
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +8 -4
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js +12 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +20 -4
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -2
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +10 -5
- package/package.json +10 -10
- package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts +0 -6
- package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.d.ts.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/SelectorUtils.js.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/callUtils.d.ts.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/callUtils.js.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.d.ts.map +0 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts +0 -74
- package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.d.ts.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js +0 -85
- package/dist/dist-esm/react-components/src/components/utils/useCancellableTask.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts +0 -21
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js +0 -59
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js.map +0 -1
@@ -43,6 +43,7 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
43
43
|
import { DeviceAccess } from '@azure/communication-calling';
|
44
44
|
import { DeviceManager } from '@azure/communication-calling';
|
45
45
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
46
|
+
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
46
47
|
import { GroupCallLocator } from '@azure/communication-calling';
|
47
48
|
import { IButtonProps } from '@fluentui/react';
|
48
49
|
import { IButtonStyles } from '@fluentui/react';
|
@@ -50,11 +51,13 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
50
51
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
51
52
|
import { IContextualMenuStyles } from '@fluentui/react';
|
52
53
|
import { IMessageBarProps } from '@fluentui/react';
|
54
|
+
import { IncomingCall } from '@azure/communication-calling';
|
53
55
|
import { IPersonaStyleProps } from '@fluentui/react';
|
54
56
|
import { IPersonaStyles } from '@fluentui/react';
|
55
57
|
import { IRenderFunction } from '@fluentui/react';
|
56
58
|
import { IStyle } from '@fluentui/react';
|
57
59
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
60
|
+
import { ITextFieldStyles } from '@fluentui/react';
|
58
61
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
59
62
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
60
63
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
@@ -68,6 +71,7 @@ import { PersonaPresence } from '@fluentui/react';
|
|
68
71
|
import { PersonaSize } from '@fluentui/react';
|
69
72
|
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
70
73
|
import { PhoneNumberKind } from '@azure/communication-common';
|
74
|
+
import { PropertyChangedEvent } from '@azure/communication-calling';
|
71
75
|
import { default as React_2 } from 'react';
|
72
76
|
import type { RemoteParticipant } from '@azure/communication-calling';
|
73
77
|
import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
|
@@ -323,6 +327,10 @@ export declare interface BaseCompositeProps<TIcons extends Record<string, JSX.El
|
|
323
327
|
/**
|
324
328
|
* A callback function that can be used to provide custom data to Avatars rendered
|
325
329
|
* in Composite.
|
330
|
+
*
|
331
|
+
* This will not affect the displayName shown in the composite.
|
332
|
+
* The displayName throughout the composite will be what is provided to the adapter when the adapter is created.
|
333
|
+
* will be what is provided to the adapter when the adapter is created.
|
326
334
|
*/
|
327
335
|
onFetchAvatarPersonaData?: AvatarPersonaDataCallback;
|
328
336
|
/**
|
@@ -407,7 +415,7 @@ export declare interface CallAdapterCallManagement {
|
|
407
415
|
*
|
408
416
|
* @public
|
409
417
|
*/
|
410
|
-
startCall(participants: string[]): Call | undefined;
|
418
|
+
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
411
419
|
/**
|
412
420
|
* Start sharing the screen during a call.
|
413
421
|
*
|
@@ -452,6 +460,24 @@ export declare interface CallAdapterCallManagement {
|
|
452
460
|
* @public
|
453
461
|
*/
|
454
462
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
463
|
+
/**
|
464
|
+
* Holds the call.
|
465
|
+
*
|
466
|
+
* @beta
|
467
|
+
*/
|
468
|
+
holdCall(): Promise<void>;
|
469
|
+
/**
|
470
|
+
* Resumes the call from a `LocalHold` state.
|
471
|
+
*
|
472
|
+
* @beta
|
473
|
+
*/
|
474
|
+
resumeCall(): Promise<void>;
|
475
|
+
/**
|
476
|
+
* Add a participant to the call.
|
477
|
+
*
|
478
|
+
* @beta
|
479
|
+
*/
|
480
|
+
addParticipant(participant: CommunicationIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
455
481
|
}
|
456
482
|
|
457
483
|
/**
|
@@ -615,6 +641,18 @@ export declare interface CallAdapterSubscribers {
|
|
615
641
|
* This event fires whenever there is a change in user facing diagnostics about the ongoing call.
|
616
642
|
*/
|
617
643
|
on(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
|
644
|
+
/**
|
645
|
+
* Subscribe function for 'selectedMicrophoneChanged' event.
|
646
|
+
*
|
647
|
+
* This event fires whenever the user selects a new microphone device.
|
648
|
+
*/
|
649
|
+
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
650
|
+
/**
|
651
|
+
* Subscribe function for 'selectedSpeakerChanged' event.
|
652
|
+
*
|
653
|
+
* This event fires whenever the user selects a new speaker device.
|
654
|
+
*/
|
655
|
+
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
618
656
|
/**
|
619
657
|
* Subscribe function for 'error' event.
|
620
658
|
*/
|
@@ -655,6 +693,14 @@ export declare interface CallAdapterSubscribers {
|
|
655
693
|
* Unsubscribe function for 'diagnosticChanged' event.
|
656
694
|
*/
|
657
695
|
off(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
|
696
|
+
/**
|
697
|
+
* Unsubscribe function for 'selectedMicrophoneChanged' event.
|
698
|
+
*/
|
699
|
+
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
700
|
+
/**
|
701
|
+
* Unsubscribe function for 'selectedSpeakerChanged' event.
|
702
|
+
*/
|
703
|
+
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
658
704
|
/**
|
659
705
|
* Unsubscribe function for 'error' event.
|
660
706
|
*/
|
@@ -834,9 +880,11 @@ export declare type CallCompositeIcons = {
|
|
834
880
|
ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
|
835
881
|
ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
|
836
882
|
ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
|
883
|
+
ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
|
837
884
|
ErrorBarCallNetworkQualityLow?: JSX.Element;
|
838
885
|
ErrorBarCallNoMicrophoneFound?: JSX.Element;
|
839
886
|
ErrorBarCallNoSpeakerFound?: JSX.Element;
|
887
|
+
ErrorBarClear?: JSX.Element;
|
840
888
|
HorizontalGalleryLeftButton?: JSX.Element;
|
841
889
|
HorizontalGalleryRightButton?: JSX.Element;
|
842
890
|
LobbyScreenConnectingToCall?: JSX.Element;
|
@@ -1217,7 +1265,7 @@ export declare type CallErrors = {
|
|
1217
1265
|
*
|
1218
1266
|
* @public
|
1219
1267
|
*/
|
1220
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopVideo' | 'Call.unmute' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker';
|
1268
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopVideo' | 'Call.unmute' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject';
|
1221
1269
|
|
1222
1270
|
/**
|
1223
1271
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1264,6 +1312,7 @@ export declare type CallingHandlers = {
|
|
1264
1312
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
1265
1313
|
onDisposeRemoteStreamView: (userId: string) => Promise<void>;
|
1266
1314
|
onDisposeLocalStreamView: () => Promise<void>;
|
1315
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone_2) => Promise<void>;
|
1267
1316
|
};
|
1268
1317
|
|
1269
1318
|
/**
|
@@ -1508,7 +1557,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
1508
1557
|
*
|
1509
1558
|
* @public
|
1510
1559
|
*/
|
1511
|
-
startCall(participants: string[]): Call | undefined;
|
1560
|
+
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
1512
1561
|
/**
|
1513
1562
|
* Start sharing the screen during a call.
|
1514
1563
|
*
|
@@ -1675,6 +1724,24 @@ export declare interface CallWithChatAdapterManagement {
|
|
1675
1724
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
1676
1725
|
/** @beta */
|
1677
1726
|
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
1727
|
+
/**
|
1728
|
+
* Puts the Call in a Localhold.
|
1729
|
+
*
|
1730
|
+
* @beta
|
1731
|
+
*/
|
1732
|
+
holdCall: () => Promise<void>;
|
1733
|
+
/**
|
1734
|
+
* Resumes the call from a LocalHold state.
|
1735
|
+
*
|
1736
|
+
* @beta
|
1737
|
+
*/
|
1738
|
+
resumeCall: () => Promise<void>;
|
1739
|
+
/**
|
1740
|
+
* Adds a new Participant to the call.
|
1741
|
+
*
|
1742
|
+
* @beta
|
1743
|
+
*/
|
1744
|
+
addParticipant: (participant: CommunicationIdentifier, options?: AddPhoneNumberOptions) => Promise<void>;
|
1678
1745
|
}
|
1679
1746
|
|
1680
1747
|
/**
|
@@ -1699,6 +1766,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
1699
1766
|
on(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
|
1700
1767
|
on(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
|
1701
1768
|
on(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
|
1769
|
+
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
1770
|
+
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
1702
1771
|
on(event: 'callError', listener: (e: AdapterError) => void): void;
|
1703
1772
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
1704
1773
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
@@ -1708,6 +1777,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
1708
1777
|
off(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
|
1709
1778
|
off(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
|
1710
1779
|
off(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
|
1780
|
+
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
1781
|
+
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
1711
1782
|
off(event: 'callError', listener: (e: AdapterError) => void): void;
|
1712
1783
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
1713
1784
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
@@ -1813,9 +1884,11 @@ export declare type CallWithChatCompositeIcons = {
|
|
1813
1884
|
ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
|
1814
1885
|
ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
|
1815
1886
|
ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
|
1887
|
+
ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
|
1816
1888
|
ErrorBarCallNetworkQualityLow?: JSX.Element;
|
1817
1889
|
ErrorBarCallNoMicrophoneFound?: JSX.Element;
|
1818
1890
|
ErrorBarCallNoSpeakerFound?: JSX.Element;
|
1891
|
+
ErrorBarClear?: JSX.Element;
|
1819
1892
|
HorizontalGalleryLeftButton?: JSX.Element;
|
1820
1893
|
HorizontalGalleryRightButton?: JSX.Element;
|
1821
1894
|
LobbyScreenConnectingToCall?: JSX.Element;
|
@@ -1941,7 +2014,7 @@ export declare interface CallWithChatCompositeStrings {
|
|
1941
2014
|
*
|
1942
2015
|
* Only used with `mobileView` set to `true` and when no speakers are available.
|
1943
2016
|
*/
|
1944
|
-
moreDrawerAudioDeviceMenuTitle
|
2017
|
+
moreDrawerAudioDeviceMenuTitle?: string;
|
1945
2018
|
/**
|
1946
2019
|
* Title for the microphone selection sub-menu in more button drawer.
|
1947
2020
|
*
|
@@ -1997,15 +2070,15 @@ export declare interface CallWithChatCompositeStrings {
|
|
1997
2070
|
/**
|
1998
2071
|
* Label for SidePaneHeader dismiss button
|
1999
2072
|
*/
|
2000
|
-
|
2073
|
+
dismissSidePaneButtonLabel?: string;
|
2001
2074
|
/**
|
2002
2075
|
* Aria Description string for return to call button
|
2003
2076
|
*/
|
2004
|
-
returnToCallButtonAriaDescription
|
2077
|
+
returnToCallButtonAriaDescription?: string;
|
2005
2078
|
/**
|
2006
2079
|
* Aria label string for return to call back button
|
2007
2080
|
*/
|
2008
|
-
returnToCallButtonAriaLabel
|
2081
|
+
returnToCallButtonAriaLabel?: string;
|
2009
2082
|
}
|
2010
2083
|
|
2011
2084
|
/**
|
@@ -2056,6 +2129,12 @@ export declare interface CallWithChatControlOptions {
|
|
2056
2129
|
* @defaultValue true
|
2057
2130
|
*/
|
2058
2131
|
peopleButton?: boolean;
|
2132
|
+
/**
|
2133
|
+
* Inject custom buttons in the call controls.
|
2134
|
+
*
|
2135
|
+
* @beta
|
2136
|
+
*/
|
2137
|
+
onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
|
2059
2138
|
}
|
2060
2139
|
|
2061
2140
|
/**
|
@@ -2063,7 +2142,7 @@ export declare interface CallWithChatControlOptions {
|
|
2063
2142
|
*
|
2064
2143
|
* @public
|
2065
2144
|
*/
|
2066
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2145
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2067
2146
|
|
2068
2147
|
/**
|
2069
2148
|
* A button to turn camera on / off.
|
@@ -2182,11 +2261,11 @@ export declare interface CameraButtonStrings {
|
|
2182
2261
|
/**
|
2183
2262
|
* Camera action turned on string for announcer
|
2184
2263
|
*/
|
2185
|
-
cameraActionTurnedOnAnnouncement
|
2264
|
+
cameraActionTurnedOnAnnouncement?: string;
|
2186
2265
|
/**
|
2187
2266
|
* Camera action turned off string for announcer
|
2188
2267
|
*/
|
2189
|
-
cameraActionTurnedOffAnnouncement
|
2268
|
+
cameraActionTurnedOffAnnouncement?: string;
|
2190
2269
|
}
|
2191
2270
|
|
2192
2271
|
/**
|
@@ -2532,6 +2611,10 @@ export declare interface ChatCompositeStrings {
|
|
2532
2611
|
* Chat list header text
|
2533
2612
|
*/
|
2534
2613
|
chatListHeader: string;
|
2614
|
+
/**
|
2615
|
+
* Upload File Button text
|
2616
|
+
*/
|
2617
|
+
uploadFile: string;
|
2535
2618
|
}
|
2536
2619
|
|
2537
2620
|
/**
|
@@ -2937,6 +3020,8 @@ export declare interface ComponentStrings {
|
|
2937
3020
|
errorBar: ErrorBarStrings;
|
2938
3021
|
/** Strings for VideoGallery */
|
2939
3022
|
videoGallery: VideoGalleryStrings;
|
3023
|
+
/** Strings for Dialpad */
|
3024
|
+
dialpad: DialpadStrings;
|
2940
3025
|
}
|
2941
3026
|
|
2942
3027
|
/**
|
@@ -3420,33 +3505,106 @@ export declare interface CustomCallControlButtonCallbackArgs {
|
|
3420
3505
|
/**
|
3421
3506
|
* Placement for a custom button injected in the {@link CallControls}.
|
3422
3507
|
*
|
3423
|
-
* '
|
3424
|
-
* 'afterCameraButton': Place the button on the right (left in rtl mode) of the camera button.
|
3425
|
-
* ... and so on.
|
3508
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
3426
3509
|
*
|
3427
|
-
*
|
3428
|
-
*
|
3429
|
-
*
|
3430
|
-
* Multiple buttons placed in the same position are appended in order.
|
3431
|
-
* E.g., if two buttons are placed 'first', they'll both appear on the left end (right end in rtl mode)
|
3432
|
-
* in the order provided.
|
3510
|
+
* Multiple buttons assigned the same placement are appended in order.
|
3511
|
+
* E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
|
3512
|
+
* before the EndCallButton in the order provided.
|
3433
3513
|
*
|
3434
3514
|
* @beta
|
3435
3515
|
*/
|
3436
|
-
export declare type CustomCallControlButtonPlacement = '
|
3516
|
+
export declare type CustomCallControlButtonPlacement = 'primary';
|
3437
3517
|
|
3438
3518
|
/**
|
3439
3519
|
* Response from {@link CustomCallControlButtonCallback}.
|
3440
3520
|
*
|
3441
|
-
* Includes the
|
3521
|
+
* Includes the placement prop necessary to indicate where to place the
|
3522
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
3442
3523
|
*
|
3443
3524
|
* @beta
|
3444
3525
|
*/
|
3445
|
-
export declare interface CustomCallControlButtonProps extends
|
3526
|
+
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
3446
3527
|
/**
|
3447
3528
|
* Where to place the custom button relative to other buttons.
|
3448
3529
|
*/
|
3449
3530
|
placement: CustomCallControlButtonPlacement;
|
3531
|
+
/**
|
3532
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
3533
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
3534
|
+
*/
|
3535
|
+
iconName?: string;
|
3536
|
+
}
|
3537
|
+
|
3538
|
+
/**
|
3539
|
+
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
3540
|
+
*
|
3541
|
+
* The response indicates where the custom button should be placed.
|
3542
|
+
*
|
3543
|
+
* Performance tip: This callback is only called when either the callback or its arguments change.
|
3544
|
+
* @beta
|
3545
|
+
*/
|
3546
|
+
export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
3547
|
+
|
3548
|
+
/**
|
3549
|
+
* Placement for a custom button injected in the {@link CallWithChatControlBar}.
|
3550
|
+
*
|
3551
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
3552
|
+
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
3553
|
+
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
3554
|
+
*
|
3555
|
+
* Multiple buttons assigned the same placement are appended in order.
|
3556
|
+
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
3557
|
+
* in the order provided.
|
3558
|
+
*
|
3559
|
+
* @beta
|
3560
|
+
*/
|
3561
|
+
export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
3562
|
+
|
3563
|
+
/**
|
3564
|
+
* Response from {@link CustomCallWithChatControlButtonCallback}.
|
3565
|
+
*
|
3566
|
+
* Includes the icon and placement prop necessary to indicate where to place the
|
3567
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
3568
|
+
*
|
3569
|
+
* @beta
|
3570
|
+
*/
|
3571
|
+
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
3572
|
+
/**
|
3573
|
+
* Where to place the custom button relative to other buttons.
|
3574
|
+
*/
|
3575
|
+
placement: CustomCallWithChatControlButtonPlacement;
|
3576
|
+
/**
|
3577
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
3578
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
3579
|
+
*/
|
3580
|
+
iconName?: string;
|
3581
|
+
}
|
3582
|
+
|
3583
|
+
/**
|
3584
|
+
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
3585
|
+
*
|
3586
|
+
* @beta
|
3587
|
+
*/
|
3588
|
+
export declare interface CustomControlButtonProps {
|
3589
|
+
onItemClick?: () => void;
|
3590
|
+
/**
|
3591
|
+
* Whether the buttons is disabled
|
3592
|
+
*/
|
3593
|
+
disabled?: boolean;
|
3594
|
+
/**
|
3595
|
+
* Whether the label is displayed or not.
|
3596
|
+
*
|
3597
|
+
* @defaultValue `false`
|
3598
|
+
*/
|
3599
|
+
showLabel?: boolean;
|
3600
|
+
/**
|
3601
|
+
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
3602
|
+
*/
|
3603
|
+
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
3604
|
+
/**
|
3605
|
+
* Optional label for the button
|
3606
|
+
*/
|
3607
|
+
text?: string;
|
3450
3608
|
}
|
3451
3609
|
|
3452
3610
|
/**
|
@@ -3468,6 +3626,28 @@ export declare interface CustomMessage extends MessageCommon {
|
|
3468
3626
|
*/
|
3469
3627
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
3470
3628
|
|
3629
|
+
/**
|
3630
|
+
* @public
|
3631
|
+
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
3632
|
+
*/
|
3633
|
+
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ {
|
3634
|
+
/**
|
3635
|
+
* @beta
|
3636
|
+
* A readonly array that returns all the active `incomingCalls`.
|
3637
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
3638
|
+
*
|
3639
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
3640
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
3641
|
+
*/
|
3642
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
3643
|
+
};
|
3644
|
+
|
3645
|
+
/**
|
3646
|
+
* @beta
|
3647
|
+
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
3648
|
+
*/
|
3649
|
+
export declare type DeclarativeIncomingCall = IncomingCall;
|
3650
|
+
|
3471
3651
|
/**
|
3472
3652
|
* The default set of icons that are available to use in the UI components.
|
3473
3653
|
*
|
@@ -3497,9 +3677,13 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
3497
3677
|
ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
|
3498
3678
|
ErrorBarCallMicrophoneAccessDenied: JSX.Element;
|
3499
3679
|
ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
|
3680
|
+
ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
|
3500
3681
|
ErrorBarCallNetworkQualityLow: JSX.Element;
|
3501
3682
|
ErrorBarCallNoMicrophoneFound: JSX.Element;
|
3502
3683
|
ErrorBarCallNoSpeakerFound: JSX.Element;
|
3684
|
+
ErrorBarClear: JSX.Element;
|
3685
|
+
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
3686
|
+
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
3503
3687
|
HorizontalGalleryLeftButton: JSX.Element;
|
3504
3688
|
HorizontalGalleryRightButton: JSX.Element;
|
3505
3689
|
MessageDelivered: JSX.Element;
|
@@ -3516,6 +3700,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
3516
3700
|
ParticipantItemOptions: JSX.Element;
|
3517
3701
|
ParticipantItemOptionsHovered: JSX.Element;
|
3518
3702
|
ParticipantItemScreenShareStart: JSX.Element;
|
3703
|
+
HoldCall: JSX.Element;
|
3704
|
+
ResumeCall: JSX.Element;
|
3519
3705
|
SendBoxSend: JSX.Element;
|
3520
3706
|
SendBoxSendHovered: JSX.Element;
|
3521
3707
|
VideoTileMicOff: JSX.Element;
|
@@ -3556,9 +3742,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
3556
3742
|
ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
|
3557
3743
|
ErrorBarCallMicrophoneAccessDenied: JSX.Element;
|
3558
3744
|
ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
|
3745
|
+
ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
|
3559
3746
|
ErrorBarCallNetworkQualityLow: JSX.Element;
|
3560
3747
|
ErrorBarCallNoMicrophoneFound: JSX.Element;
|
3561
3748
|
ErrorBarCallNoSpeakerFound: JSX.Element;
|
3749
|
+
ErrorBarClear: JSX.Element;
|
3562
3750
|
HorizontalGalleryLeftButton: JSX.Element;
|
3563
3751
|
HorizontalGalleryRightButton: JSX.Element;
|
3564
3752
|
LobbyScreenConnectingToCall?: JSX.Element | undefined;
|
@@ -3593,7 +3781,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
3593
3781
|
ChatMessageOptions: JSX.Element;
|
3594
3782
|
CancelFileUpload: JSX.Element;
|
3595
3783
|
DownloadFile: JSX.Element;
|
3784
|
+
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
3785
|
+
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
3596
3786
|
MessageResend: JSX.Element;
|
3787
|
+
HoldCall: JSX.Element;
|
3788
|
+
ResumeCall: JSX.Element;
|
3597
3789
|
};
|
3598
3790
|
|
3599
3791
|
/**
|
@@ -3814,6 +4006,64 @@ export declare interface DiagnosticsCallFeatureState {
|
|
3814
4006
|
media: MediaDiagnosticsState;
|
3815
4007
|
}
|
3816
4008
|
|
4009
|
+
/**
|
4010
|
+
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
4011
|
+
* It will return empty component for stable builds
|
4012
|
+
*
|
4013
|
+
* @beta
|
4014
|
+
*/
|
4015
|
+
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
4016
|
+
|
4017
|
+
/**
|
4018
|
+
* Type for {@link DialpadButton} input
|
4019
|
+
*
|
4020
|
+
* @beta
|
4021
|
+
*/
|
4022
|
+
export declare interface DialpadButtonProps {
|
4023
|
+
primaryContent: string;
|
4024
|
+
secondaryContent?: string;
|
4025
|
+
}
|
4026
|
+
|
4027
|
+
/**
|
4028
|
+
* Props for {@link Dialpad} component.
|
4029
|
+
*
|
4030
|
+
* @beta
|
4031
|
+
*/
|
4032
|
+
export declare interface DialpadProps {
|
4033
|
+
strings?: DialpadStrings;
|
4034
|
+
/** function to send dtmf tones on button click */
|
4035
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
4036
|
+
/** Callback for dialpad button behavior*/
|
4037
|
+
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
4038
|
+
/** customize dialpad input formatting */
|
4039
|
+
onDisplayDialpadInput?: (input: string) => string;
|
4040
|
+
/** on change function for text field */
|
4041
|
+
onChange?: (input: string) => void;
|
4042
|
+
styles?: DialpadStyles;
|
4043
|
+
}
|
4044
|
+
|
4045
|
+
/**
|
4046
|
+
* Strings of {@link Dialpad} that can be overridden.
|
4047
|
+
*
|
4048
|
+
* @beta
|
4049
|
+
*/
|
4050
|
+
export declare interface DialpadStrings {
|
4051
|
+
placeholderText: string;
|
4052
|
+
}
|
4053
|
+
|
4054
|
+
/**
|
4055
|
+
* Styles for {@link Dialpad} component.
|
4056
|
+
*
|
4057
|
+
* @beta
|
4058
|
+
*/
|
4059
|
+
export declare interface DialpadStyles {
|
4060
|
+
root?: IStyle;
|
4061
|
+
button?: IButtonStyles;
|
4062
|
+
textField?: Partial<ITextFieldStyles>;
|
4063
|
+
primaryContent?: IStyle;
|
4064
|
+
secondaryContent?: IStyle;
|
4065
|
+
}
|
4066
|
+
|
3817
4067
|
/**
|
3818
4068
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
3819
4069
|
*
|
@@ -3834,6 +4084,13 @@ export declare interface Disposable {
|
|
3834
4084
|
dispose(): void;
|
3835
4085
|
}
|
3836
4086
|
|
4087
|
+
/**
|
4088
|
+
* DTMF tone for PSTN calls.
|
4089
|
+
*
|
4090
|
+
* @beta
|
4091
|
+
*/
|
4092
|
+
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
4093
|
+
|
3837
4094
|
/**
|
3838
4095
|
* A type for trivial selectors that return no data.
|
3839
4096
|
*
|
@@ -3996,6 +4253,11 @@ export declare interface ErrorBarStrings {
|
|
3996
4253
|
* Message shown when microphone is muted by the system (not by local or remote participants)
|
3997
4254
|
*/
|
3998
4255
|
callMicrophoneMutedBySystem: string;
|
4256
|
+
/**
|
4257
|
+
* Message shown when microphone is unmuted by the system (not by local or remote participants).
|
4258
|
+
* This typically occurs if the system recovers from an unexpected mute.
|
4259
|
+
*/
|
4260
|
+
callMicrophoneUnmutedBySystem: string;
|
3999
4261
|
/**
|
4000
4262
|
* Mac OS specific message shown when microphone can be enumerated but access is
|
4001
4263
|
* blocked by the system.
|
@@ -4014,6 +4276,14 @@ export declare interface ErrorBarStrings {
|
|
4014
4276
|
* another applciation.
|
4015
4277
|
*/
|
4016
4278
|
callCameraAlreadyInUse: string;
|
4279
|
+
/**
|
4280
|
+
* Message shown when local video is stopped by the system (not by local or remote participants)
|
4281
|
+
*/
|
4282
|
+
callVideoStoppedBySystem: string;
|
4283
|
+
/**
|
4284
|
+
* Message shown when local video was recovered by the system (not by the local participant)
|
4285
|
+
*/
|
4286
|
+
callVideoRecoveredBySystem: string;
|
4017
4287
|
/**
|
4018
4288
|
* Mac OS specific message shown when system denies access to camera.
|
4019
4289
|
*/
|
@@ -4025,15 +4295,15 @@ export declare interface ErrorBarStrings {
|
|
4025
4295
|
/**
|
4026
4296
|
* Dimiss errorbar button aria label read by screen reader accessibility tools
|
4027
4297
|
*/
|
4028
|
-
dismissButtonAriaLabel
|
4298
|
+
dismissButtonAriaLabel?: string;
|
4029
4299
|
/**
|
4030
4300
|
* An error message when joining a call fails.
|
4031
4301
|
*/
|
4032
|
-
failedToJoinCallGeneric
|
4302
|
+
failedToJoinCallGeneric?: string;
|
4033
4303
|
/**
|
4034
4304
|
* An error message when joining a call fails specifically due to an invalid meeting link.
|
4035
4305
|
*/
|
4036
|
-
failedToJoinCallInvalidMeetingLink
|
4306
|
+
failedToJoinCallInvalidMeetingLink?: string;
|
4037
4307
|
}
|
4038
4308
|
|
4039
4309
|
/**
|
@@ -4276,7 +4546,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
4276
4546
|
*
|
4277
4547
|
* @public
|
4278
4548
|
*/
|
4279
|
-
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;
|
4549
|
+
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 : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
|
4280
4550
|
|
4281
4551
|
/**
|
4282
4552
|
* Get the selector for a specified component.
|
@@ -4338,6 +4608,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
4338
4608
|
children?: IStyle;
|
4339
4609
|
}
|
4340
4610
|
|
4611
|
+
/**
|
4612
|
+
* a button to hold or resume a ongoing call.
|
4613
|
+
*
|
4614
|
+
* Can be used with {@link ControlBar}
|
4615
|
+
*
|
4616
|
+
* @param props - properties for the hold button.
|
4617
|
+
* @returns
|
4618
|
+
* @beta
|
4619
|
+
*/
|
4620
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
4621
|
+
|
4622
|
+
/**
|
4623
|
+
*@beta
|
4624
|
+
*/
|
4625
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
4626
|
+
/**
|
4627
|
+
* Utility property for using this component with communication react handlers
|
4628
|
+
* Holds the call or resumes it based on call state.
|
4629
|
+
*/
|
4630
|
+
onToggleHold: () => Promise<void>;
|
4631
|
+
/**
|
4632
|
+
* Optional strings to override in component
|
4633
|
+
*/
|
4634
|
+
strings?: HoldButtonStrings;
|
4635
|
+
}
|
4636
|
+
|
4637
|
+
/**
|
4638
|
+
* Selector type for the {@link HoldButton} component.
|
4639
|
+
* @public
|
4640
|
+
*/
|
4641
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
4642
|
+
checked: boolean;
|
4643
|
+
};
|
4644
|
+
|
4645
|
+
/**
|
4646
|
+
* Strings for the hold button labels
|
4647
|
+
* @beta
|
4648
|
+
*/
|
4649
|
+
export declare interface HoldButtonStrings {
|
4650
|
+
/**
|
4651
|
+
* Label for when action is to resume call.
|
4652
|
+
*/
|
4653
|
+
onLabel: string;
|
4654
|
+
/**
|
4655
|
+
* Label for when action is to hold call.
|
4656
|
+
*/
|
4657
|
+
offLabel: string;
|
4658
|
+
/**
|
4659
|
+
* Content for when button is checked
|
4660
|
+
*/
|
4661
|
+
tooltipOnContent: string;
|
4662
|
+
/**
|
4663
|
+
* Content for when button is unchecked
|
4664
|
+
*/
|
4665
|
+
toolTipOffContent: string;
|
4666
|
+
}
|
4667
|
+
|
4341
4668
|
/**
|
4342
4669
|
* {@link HorizontalGallery} Component Styles.
|
4343
4670
|
* @public
|
@@ -4498,6 +4825,12 @@ export declare interface JumpToNewMessageButtonProps {
|
|
4498
4825
|
*/
|
4499
4826
|
export declare const lightTheme: PartialTheme & CallingTheme;
|
4500
4827
|
|
4828
|
+
/**
|
4829
|
+
* Whether the stream is loading or not.
|
4830
|
+
* @public
|
4831
|
+
*/
|
4832
|
+
export declare type LoadingState = 'loading' | 'none';
|
4833
|
+
|
4501
4834
|
/**
|
4502
4835
|
* Provider to provide localized strings for this library's react components.
|
4503
4836
|
*
|
@@ -4996,7 +5329,9 @@ export declare interface MessageThreadStrings {
|
|
4996
5329
|
/** String for Submit in EditBox when there is no user input*/
|
4997
5330
|
editBoxSubmitButton: string;
|
4998
5331
|
/** String for action menu indicating there are more options */
|
4999
|
-
actionMenuMoreOptions
|
5332
|
+
actionMenuMoreOptions?: string;
|
5333
|
+
/** String for download file button in file card */
|
5334
|
+
downloadFile: string;
|
5000
5335
|
}
|
5001
5336
|
|
5002
5337
|
/**
|
@@ -5146,7 +5481,7 @@ export declare interface MicrophoneButtonStrings {
|
|
5146
5481
|
/**
|
5147
5482
|
* Description of microphone button split button role
|
5148
5483
|
*/
|
5149
|
-
microphoneButtonSplitRoleDescription
|
5484
|
+
microphoneButtonSplitRoleDescription?: string;
|
5150
5485
|
/**
|
5151
5486
|
* Microphone split button aria label when mic is enabled.
|
5152
5487
|
*/
|
@@ -5158,11 +5493,11 @@ export declare interface MicrophoneButtonStrings {
|
|
5158
5493
|
/**
|
5159
5494
|
* Microphone action turned on string for announcer
|
5160
5495
|
*/
|
5161
|
-
microphoneActionTurnedOnAnnouncement
|
5496
|
+
microphoneActionTurnedOnAnnouncement?: string;
|
5162
5497
|
/**
|
5163
5498
|
* Microphone action turned off string for announcer
|
5164
5499
|
*/
|
5165
|
-
microphoneActionTurnedOffAnnouncement
|
5500
|
+
microphoneActionTurnedOffAnnouncement?: string;
|
5166
5501
|
}
|
5167
5502
|
|
5168
5503
|
/**
|
@@ -5255,7 +5590,7 @@ export declare interface ParticipantItemProps {
|
|
5255
5590
|
/** Unique User ID of the participant. This `userId` is available in the `onRenderAvatar` callback function */
|
5256
5591
|
userId?: string;
|
5257
5592
|
/** Name of participant. */
|
5258
|
-
displayName
|
5593
|
+
displayName?: string;
|
5259
5594
|
/** Optional indicator to show participant is the user. */
|
5260
5595
|
me?: boolean;
|
5261
5596
|
/** Optional callback returning a JSX element to override avatar. */
|
@@ -5282,6 +5617,8 @@ export declare interface ParticipantItemProps {
|
|
5282
5617
|
* Optional callback when component is clicked
|
5283
5618
|
*/
|
5284
5619
|
onClick?: (props?: ParticipantItemProps) => void;
|
5620
|
+
/** prop to determine if we should show tooltip for participants or not */
|
5621
|
+
showParticipantOverflowTooltip?: boolean;
|
5285
5622
|
}
|
5286
5623
|
|
5287
5624
|
/**
|
@@ -5300,6 +5637,8 @@ export declare interface ParticipantItemStrings {
|
|
5300
5637
|
sharingIconLabel: string;
|
5301
5638
|
/** Label for the muted icon in participant state stack */
|
5302
5639
|
mutedIconLabel: string;
|
5640
|
+
/** placeholder text for participants who does not have a display name*/
|
5641
|
+
displayNamePlaceholder?: string;
|
5303
5642
|
}
|
5304
5643
|
|
5305
5644
|
/**
|
@@ -5377,6 +5716,8 @@ export declare type ParticipantListProps = {
|
|
5377
5716
|
onParticipantClick?: (participant?: ParticipantListParticipant) => void;
|
5378
5717
|
/** Styles for the {@link ParticipantList} */
|
5379
5718
|
styles?: ParticipantListStyles;
|
5719
|
+
/** prop to determine if we should show tooltip for participants or not */
|
5720
|
+
showParticipantOverflowTooltip?: boolean;
|
5380
5721
|
};
|
5381
5722
|
|
5382
5723
|
/**
|
@@ -5511,6 +5852,8 @@ export declare interface ParticipantsButtonProps extends ControlBarButtonProps {
|
|
5511
5852
|
* Optional strings to override in component
|
5512
5853
|
*/
|
5513
5854
|
strings?: Partial<ParticipantsButtonStrings>;
|
5855
|
+
/** prop to determine if we should show tooltip for participants or not */
|
5856
|
+
showParticipantOverflowTooltip?: boolean;
|
5514
5857
|
}
|
5515
5858
|
|
5516
5859
|
/**
|
@@ -5676,6 +6019,11 @@ export declare interface RemoteVideoStreamState {
|
|
5676
6019
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isAvailable}.
|
5677
6020
|
*/
|
5678
6021
|
isAvailable: boolean;
|
6022
|
+
/**
|
6023
|
+
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
6024
|
+
* @beta
|
6025
|
+
*/
|
6026
|
+
isReceiving: boolean;
|
5679
6027
|
/**
|
5680
6028
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
5681
6029
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -5874,6 +6222,18 @@ export declare interface SendBoxStrings {
|
|
5874
6222
|
* Error message indicating that all file uploads are not complete.
|
5875
6223
|
*/
|
5876
6224
|
fileUploadsPendingError: string;
|
6225
|
+
/**
|
6226
|
+
* Aria label to notify user when focus is on cancel file upload button.
|
6227
|
+
*/
|
6228
|
+
removeFile: string;
|
6229
|
+
/**
|
6230
|
+
* Aria label to notify user file uploading starts.
|
6231
|
+
*/
|
6232
|
+
uploading: string;
|
6233
|
+
/**
|
6234
|
+
* Aria label to notify user file is uploaded.
|
6235
|
+
*/
|
6236
|
+
uploadCompleted: string;
|
5877
6237
|
}
|
5878
6238
|
|
5879
6239
|
/**
|
@@ -6000,6 +6360,18 @@ export declare interface StatefulCallClient extends CallClient {
|
|
6000
6360
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
6001
6361
|
*/
|
6002
6362
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
6363
|
+
/**
|
6364
|
+
* The CallAgent is used to handle calls.
|
6365
|
+
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
6366
|
+
* - The CallClient can only have one active CallAgent instance at a time.
|
6367
|
+
* - You can create a new CallClient instance to create a new CallAgent.
|
6368
|
+
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
6369
|
+
* createCallAgent() method again to create a new CallAgent.
|
6370
|
+
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
6371
|
+
* @param options - The CallAgentOptions for additional options like display name.
|
6372
|
+
* @public
|
6373
|
+
*/
|
6374
|
+
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
6003
6375
|
}
|
6004
6376
|
|
6005
6377
|
/**
|
@@ -6121,6 +6493,8 @@ export declare interface StreamMediaProps {
|
|
6121
6493
|
videoStreamElement: HTMLElement | null;
|
6122
6494
|
/** Decides whether to mirror the video or not. */
|
6123
6495
|
isMirrored?: boolean;
|
6496
|
+
/** Whether the stream is loading data */
|
6497
|
+
loadingState?: LoadingState;
|
6124
6498
|
/**
|
6125
6499
|
* Allows users to pass in an object contains custom CSS styles.
|
6126
6500
|
* @Example
|
@@ -6617,6 +6991,8 @@ export declare interface VideoGalleryStream {
|
|
6617
6991
|
id?: number;
|
6618
6992
|
/** Whether the video stream is available or not */
|
6619
6993
|
isAvailable?: boolean;
|
6994
|
+
/** Whether the video stream is receiving data or not */
|
6995
|
+
isReceiving?: boolean;
|
6620
6996
|
/** Whether the video stream is mirrored or not */
|
6621
6997
|
isMirrored?: boolean;
|
6622
6998
|
/** Render element of the video stream */
|
@@ -6641,6 +7017,8 @@ export declare interface VideoGalleryStrings {
|
|
6641
7017
|
localVideoMovementLabel: string;
|
6642
7018
|
/** String for announcing the selected camera */
|
6643
7019
|
localVideoSelectedDescription: string;
|
7020
|
+
/** placeholder text for participants who does not have a display name*/
|
7021
|
+
displayNamePlaceholder: string;
|
6644
7022
|
}
|
6645
7023
|
|
6646
7024
|
/**
|