@azure/communication-react 1.3.1-alpha-202205310013.0 → 1.3.1-alpha-202208032336
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 +110 -1
- package/dist/communication-react.d.ts +486 -34
- package/dist/dist-cjs/communication-react/index.js +4711 -3320
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.d.ts.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.js +7 -6
- package/dist/dist-esm/acs-ui-common/src/identifier.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/acs-ui-common/src/telemetryVersion.js.map +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 +13 -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 +19 -4
- 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 +12 -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 +2 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +22 -1
- 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 +32 -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 +36 -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 +22 -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 +5 -2
- 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 +203 -27
- 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 +8 -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 +8 -13
- 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 +24 -6
- 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 +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +25 -13
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBar.js +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +2 -15
- package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +35 -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 +111 -31
- 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 +35 -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 +17 -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 +12 -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 +5 -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 +6 -15
- 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 +11 -17
- 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 +28 -26
- 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/SystemMessage.js +1 -1
- package/dist/dist-esm/react-components/src/components/SystemMessage.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/Dialpad.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +16 -2
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
- 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 +13 -4
- 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/components/utils/common.d.ts +19 -0
- package/dist/dist-esm/react-components/src/components/utils/common.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +30 -0
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js +3 -5
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +2 -0
- package/dist/dist-esm/react-components/src/index.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/index.js +2 -0
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- 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 +24 -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/permissions/PermissionsProvider.d.ts +55 -0
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +61 -0
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -0
- package/dist/dist-esm/react-components/src/permissions/index.d.ts +2 -0
- package/dist/dist-esm/react-components/src/permissions/index.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/permissions/index.js +4 -0
- package/dist/dist-esm/react-components/src/permissions/index.js.map +1 -0
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +7 -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 +17 -3
- 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/CallComposite.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +52 -9
- 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 +36 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +17 -4
- 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 +108 -25
- 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 +46 -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 +3 -0
- 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 +82 -9
- 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 +3 -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 +32 -19
- 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/CallPane.d.ts +28 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +66 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -0
- 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/components/buttons/People.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +6 -1
- 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/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/CallPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +5 -1
- 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.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +5 -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/LobbyPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +3 -1
- 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.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/styles/CallComposite.styles.d.ts +3 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +13 -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 +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 +9 -3
- 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 +30 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +30 -54
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.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/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 +20 -10
- 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 +82 -32
- 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/adapter/CallWithChatBackedChatAdapter.d.ts +7 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +28 -28
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.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 +24 -4
- 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/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +1 -6
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.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 +4 -3
- 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 +9 -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 +6 -1
- 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 +14 -4
- 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 +26 -2
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/ModalLocalAndRemotePIP.d.ts +1 -7
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/ModalLocalAndRemotePIP.js +1 -21
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -0
- 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/{CallWithChatComposite → common}/PeoplePaneContent.d.ts +4 -6
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/PeoplePaneContent.js +7 -15
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/SidePaneHeader.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/TabHeader.d.ts +3 -0
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/TabHeader.js +6 -7
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +11 -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/ModalLocalAndRemotePIP.styles.d.ts +40 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +73 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/styles/MobilePane.styles.d.ts → common/styles/Pane.styles.d.ts} +18 -2
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite/styles/MobilePane.styles.js → common/styles/Pane.styles.js} +29 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.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/{CallWithChatComposite → common}/styles/PeoplePaneContent.styles.d.ts +0 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/{CallWithChatComposite → common}/styles/PeoplePaneContent.styles.js +0 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts +14 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.js +32 -0
- package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -0
- 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 +24 -14
- 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 +12 -11
- 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/CallWithChatComposite/ModalLocalAndRemotePIP.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ModalLocalAndRemotePIP.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeoplePaneContent.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeoplePaneContent.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.d.ts +0 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/SidePaneHeader.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/TabHeader.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/TabHeader.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/MobilePane.styles.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/MobilePane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/PeoplePaneContent.styles.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/PeoplePaneContent.styles.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,9 +71,11 @@ 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';
|
78
|
+
import { RoomCallLocator } from '@azure/communication-calling';
|
74
79
|
import { ScalingMode } from '@azure/communication-calling';
|
75
80
|
import { SendMessageOptions } from '@azure/communication-chat';
|
76
81
|
import { StartCallOptions } from '@azure/communication-calling';
|
@@ -250,6 +255,7 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
250
255
|
displayName: string;
|
251
256
|
credential: CommunicationTokenCredential;
|
252
257
|
locator: CallAdapterLocator;
|
258
|
+
alternateCallerId?: string;
|
253
259
|
};
|
254
260
|
|
255
261
|
/**
|
@@ -263,6 +269,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
|
|
263
269
|
displayName: string;
|
264
270
|
credential: CommunicationTokenCredential;
|
265
271
|
locator: CallAndChatLocator | TeamsMeetingLinkLocator;
|
272
|
+
alternateCallerId?: string;
|
266
273
|
};
|
267
274
|
|
268
275
|
/**
|
@@ -323,6 +330,10 @@ export declare interface BaseCompositeProps<TIcons extends Record<string, JSX.El
|
|
323
330
|
/**
|
324
331
|
* A callback function that can be used to provide custom data to Avatars rendered
|
325
332
|
* in Composite.
|
333
|
+
*
|
334
|
+
* This will not affect the displayName shown in the composite.
|
335
|
+
* The displayName throughout the composite will be what is provided to the adapter when the adapter is created.
|
336
|
+
* will be what is provided to the adapter when the adapter is created.
|
326
337
|
*/
|
327
338
|
onFetchAvatarPersonaData?: AvatarPersonaDataCallback;
|
328
339
|
/**
|
@@ -407,7 +418,7 @@ export declare interface CallAdapterCallManagement {
|
|
407
418
|
*
|
408
419
|
* @public
|
409
420
|
*/
|
410
|
-
startCall(participants: string[]): Call | undefined;
|
421
|
+
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
411
422
|
/**
|
412
423
|
* Start sharing the screen during a call.
|
413
424
|
*
|
@@ -452,6 +463,24 @@ export declare interface CallAdapterCallManagement {
|
|
452
463
|
* @public
|
453
464
|
*/
|
454
465
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
466
|
+
/**
|
467
|
+
* Holds the call.
|
468
|
+
*
|
469
|
+
* @beta
|
470
|
+
*/
|
471
|
+
holdCall(): Promise<void>;
|
472
|
+
/**
|
473
|
+
* Resumes the call from a `LocalHold` state.
|
474
|
+
*
|
475
|
+
* @beta
|
476
|
+
*/
|
477
|
+
resumeCall(): Promise<void>;
|
478
|
+
/**
|
479
|
+
* Add a participant to the call.
|
480
|
+
*
|
481
|
+
* @beta
|
482
|
+
*/
|
483
|
+
addParticipant(participant: CommunicationIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
455
484
|
}
|
456
485
|
|
457
486
|
/**
|
@@ -470,6 +499,10 @@ export declare type CallAdapterClientState = {
|
|
470
499
|
* Latest error encountered for each operation performed via the adapter.
|
471
500
|
*/
|
472
501
|
latestErrors: AdapterErrors;
|
502
|
+
/**
|
503
|
+
* Azure communications Phone number to make PSTN calls with.
|
504
|
+
*/
|
505
|
+
alternateCallerId?: string;
|
473
506
|
};
|
474
507
|
|
475
508
|
/**
|
@@ -554,7 +587,7 @@ export declare interface CallAdapterDeviceManagement {
|
|
554
587
|
*
|
555
588
|
* @public
|
556
589
|
*/
|
557
|
-
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
|
590
|
+
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
558
591
|
|
559
592
|
/**
|
560
593
|
* {@link CallAdapter} state.
|
@@ -615,6 +648,18 @@ export declare interface CallAdapterSubscribers {
|
|
615
648
|
* This event fires whenever there is a change in user facing diagnostics about the ongoing call.
|
616
649
|
*/
|
617
650
|
on(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
|
651
|
+
/**
|
652
|
+
* Subscribe function for 'selectedMicrophoneChanged' event.
|
653
|
+
*
|
654
|
+
* This event fires whenever the user selects a new microphone device.
|
655
|
+
*/
|
656
|
+
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
657
|
+
/**
|
658
|
+
* Subscribe function for 'selectedSpeakerChanged' event.
|
659
|
+
*
|
660
|
+
* This event fires whenever the user selects a new speaker device.
|
661
|
+
*/
|
662
|
+
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
618
663
|
/**
|
619
664
|
* Subscribe function for 'error' event.
|
620
665
|
*/
|
@@ -655,6 +700,14 @@ export declare interface CallAdapterSubscribers {
|
|
655
700
|
* Unsubscribe function for 'diagnosticChanged' event.
|
656
701
|
*/
|
657
702
|
off(event: 'diagnosticChanged', listener: DiagnosticChangedEventListner): void;
|
703
|
+
/**
|
704
|
+
* Unsubscribe function for 'selectedMicrophoneChanged' event.
|
705
|
+
*/
|
706
|
+
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
707
|
+
/**
|
708
|
+
* Unsubscribe function for 'selectedSpeakerChanged' event.
|
709
|
+
*/
|
710
|
+
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
658
711
|
/**
|
659
712
|
* Unsubscribe function for 'error' event.
|
660
713
|
*/
|
@@ -799,6 +852,12 @@ export declare interface CallClientState {
|
|
799
852
|
* See documentation of {@Link CallErrors} for details.
|
800
853
|
*/
|
801
854
|
latestErrors: CallErrors;
|
855
|
+
/**
|
856
|
+
* A phone number in E.164 format that will be used to represent callers identity.
|
857
|
+
* For example, using the alternateCallerId to add a participant using PSTN, this number will
|
858
|
+
* be used as the caller id in the PSTN call.
|
859
|
+
*/
|
860
|
+
alternateCallerId?: string;
|
802
861
|
}
|
803
862
|
|
804
863
|
/**
|
@@ -834,9 +893,11 @@ export declare type CallCompositeIcons = {
|
|
834
893
|
ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
|
835
894
|
ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
|
836
895
|
ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
|
896
|
+
ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
|
837
897
|
ErrorBarCallNetworkQualityLow?: JSX.Element;
|
838
898
|
ErrorBarCallNoMicrophoneFound?: JSX.Element;
|
839
899
|
ErrorBarCallNoSpeakerFound?: JSX.Element;
|
900
|
+
ErrorBarClear?: JSX.Element;
|
840
901
|
HorizontalGalleryLeftButton?: JSX.Element;
|
841
902
|
HorizontalGalleryRightButton?: JSX.Element;
|
842
903
|
LobbyScreenConnectingToCall?: JSX.Element;
|
@@ -915,6 +976,10 @@ export declare interface CallCompositeProps extends BaseCompositeProps<CallCompo
|
|
915
976
|
* Flags to enable/disable or customize UI elements of the {@link CallComposite}.
|
916
977
|
*/
|
917
978
|
options?: CallCompositeOptions;
|
979
|
+
/**
|
980
|
+
* Set this to enable/disable capacities for different roles
|
981
|
+
*/
|
982
|
+
role?: Role;
|
918
983
|
}
|
919
984
|
|
920
985
|
/**
|
@@ -1089,6 +1154,42 @@ export declare interface CallCompositeStrings {
|
|
1089
1154
|
* Tooltip text used to inform a user that toggling microphone in lobby is not supported.
|
1090
1155
|
*/
|
1091
1156
|
microphoneToggleInLobbyNotAllowed: string;
|
1157
|
+
/**
|
1158
|
+
* Side pane People section Title.
|
1159
|
+
*/
|
1160
|
+
peoplePaneTitle: string;
|
1161
|
+
/**
|
1162
|
+
* Aria label string for return to call back button
|
1163
|
+
*/
|
1164
|
+
returnToCallButtonAriaLabel?: string;
|
1165
|
+
/**
|
1166
|
+
* Aria Description string for return to call button
|
1167
|
+
*/
|
1168
|
+
returnToCallButtonAriaDescription?: string;
|
1169
|
+
/**
|
1170
|
+
* control bar People button label
|
1171
|
+
*/
|
1172
|
+
peopleButtonLabel: string;
|
1173
|
+
/**
|
1174
|
+
* control bar Chat button label.
|
1175
|
+
*/
|
1176
|
+
chatButtonLabel: string;
|
1177
|
+
/**
|
1178
|
+
* Label for SidePaneHeader dismiss button
|
1179
|
+
*/
|
1180
|
+
dismissSidePaneButtonLabel?: string;
|
1181
|
+
/**
|
1182
|
+
* Side pane People section subheader.
|
1183
|
+
*/
|
1184
|
+
peoplePaneSubTitle: string;
|
1185
|
+
/**
|
1186
|
+
* Label for button to copy invite link
|
1187
|
+
*/
|
1188
|
+
copyInviteLinkButtonLabel: string;
|
1189
|
+
/**
|
1190
|
+
* Label for menu item to remove participant
|
1191
|
+
*/
|
1192
|
+
removeMenuLabel: string;
|
1092
1193
|
}
|
1093
1194
|
|
1094
1195
|
/**
|
@@ -1217,7 +1318,7 @@ export declare type CallErrors = {
|
|
1217
1318
|
*
|
1218
1319
|
* @public
|
1219
1320
|
*/
|
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';
|
1321
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | '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
1322
|
|
1222
1323
|
/**
|
1223
1324
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1264,6 +1365,7 @@ export declare type CallingHandlers = {
|
|
1264
1365
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
1265
1366
|
onDisposeRemoteStreamView: (userId: string) => Promise<void>;
|
1266
1367
|
onDisposeLocalStreamView: () => Promise<void>;
|
1368
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone_2) => Promise<void>;
|
1267
1369
|
};
|
1268
1370
|
|
1269
1371
|
/**
|
@@ -1508,7 +1610,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
1508
1610
|
*
|
1509
1611
|
* @public
|
1510
1612
|
*/
|
1511
|
-
startCall(participants: string[]): Call | undefined;
|
1613
|
+
startCall(participants: string[], options?: StartCallOptions): Call | undefined;
|
1512
1614
|
/**
|
1513
1615
|
* Start sharing the screen during a call.
|
1514
1616
|
*
|
@@ -1675,6 +1777,24 @@ export declare interface CallWithChatAdapterManagement {
|
|
1675
1777
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
1676
1778
|
/** @beta */
|
1677
1779
|
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
1780
|
+
/**
|
1781
|
+
* Puts the Call in a Localhold.
|
1782
|
+
*
|
1783
|
+
* @beta
|
1784
|
+
*/
|
1785
|
+
holdCall: () => Promise<void>;
|
1786
|
+
/**
|
1787
|
+
* Resumes the call from a LocalHold state.
|
1788
|
+
*
|
1789
|
+
* @beta
|
1790
|
+
*/
|
1791
|
+
resumeCall: () => Promise<void>;
|
1792
|
+
/**
|
1793
|
+
* Adds a new Participant to the call.
|
1794
|
+
*
|
1795
|
+
* @beta
|
1796
|
+
*/
|
1797
|
+
addParticipant: (participant: CommunicationIdentifier, options?: AddPhoneNumberOptions) => Promise<void>;
|
1678
1798
|
}
|
1679
1799
|
|
1680
1800
|
/**
|
@@ -1699,6 +1819,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
1699
1819
|
on(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
|
1700
1820
|
on(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
|
1701
1821
|
on(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
|
1822
|
+
on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
1823
|
+
on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
1702
1824
|
on(event: 'callError', listener: (e: AdapterError) => void): void;
|
1703
1825
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
1704
1826
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
@@ -1708,6 +1830,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
1708
1830
|
off(event: 'isSpeakingChanged', listener: IsSpeakingChangedListener): void;
|
1709
1831
|
off(event: 'callParticipantsJoined', listener: ParticipantsJoinedListener): void;
|
1710
1832
|
off(event: 'callParticipantsLeft', listener: ParticipantsLeftListener): void;
|
1833
|
+
off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
|
1834
|
+
off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
|
1711
1835
|
off(event: 'callError', listener: (e: AdapterError) => void): void;
|
1712
1836
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
1713
1837
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
@@ -1813,9 +1937,11 @@ export declare type CallWithChatCompositeIcons = {
|
|
1813
1937
|
ErrorBarCallMacOsMicrophoneAccessDenied?: JSX.Element;
|
1814
1938
|
ErrorBarCallMicrophoneAccessDenied?: JSX.Element;
|
1815
1939
|
ErrorBarCallMicrophoneMutedBySystem?: JSX.Element;
|
1940
|
+
ErrorBarCallMicrophoneUnmutedBySystem?: JSX.Element;
|
1816
1941
|
ErrorBarCallNetworkQualityLow?: JSX.Element;
|
1817
1942
|
ErrorBarCallNoMicrophoneFound?: JSX.Element;
|
1818
1943
|
ErrorBarCallNoSpeakerFound?: JSX.Element;
|
1944
|
+
ErrorBarClear?: JSX.Element;
|
1819
1945
|
HorizontalGalleryLeftButton?: JSX.Element;
|
1820
1946
|
HorizontalGalleryRightButton?: JSX.Element;
|
1821
1947
|
LobbyScreenConnectingToCall?: JSX.Element;
|
@@ -1941,7 +2067,7 @@ export declare interface CallWithChatCompositeStrings {
|
|
1941
2067
|
*
|
1942
2068
|
* Only used with `mobileView` set to `true` and when no speakers are available.
|
1943
2069
|
*/
|
1944
|
-
moreDrawerAudioDeviceMenuTitle
|
2070
|
+
moreDrawerAudioDeviceMenuTitle?: string;
|
1945
2071
|
/**
|
1946
2072
|
* Title for the microphone selection sub-menu in more button drawer.
|
1947
2073
|
*
|
@@ -1997,15 +2123,15 @@ export declare interface CallWithChatCompositeStrings {
|
|
1997
2123
|
/**
|
1998
2124
|
* Label for SidePaneHeader dismiss button
|
1999
2125
|
*/
|
2000
|
-
|
2126
|
+
dismissSidePaneButtonLabel?: string;
|
2001
2127
|
/**
|
2002
2128
|
* Aria Description string for return to call button
|
2003
2129
|
*/
|
2004
|
-
returnToCallButtonAriaDescription
|
2130
|
+
returnToCallButtonAriaDescription?: string;
|
2005
2131
|
/**
|
2006
2132
|
* Aria label string for return to call back button
|
2007
2133
|
*/
|
2008
|
-
returnToCallButtonAriaLabel
|
2134
|
+
returnToCallButtonAriaLabel?: string;
|
2009
2135
|
}
|
2010
2136
|
|
2011
2137
|
/**
|
@@ -2056,6 +2182,12 @@ export declare interface CallWithChatControlOptions {
|
|
2056
2182
|
* @defaultValue true
|
2057
2183
|
*/
|
2058
2184
|
peopleButton?: boolean;
|
2185
|
+
/**
|
2186
|
+
* Inject custom buttons in the call controls.
|
2187
|
+
*
|
2188
|
+
* @beta
|
2189
|
+
*/
|
2190
|
+
onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
|
2059
2191
|
}
|
2060
2192
|
|
2061
2193
|
/**
|
@@ -2063,7 +2195,7 @@ export declare interface CallWithChatControlOptions {
|
|
2063
2195
|
*
|
2064
2196
|
* @public
|
2065
2197
|
*/
|
2066
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2198
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2067
2199
|
|
2068
2200
|
/**
|
2069
2201
|
* A button to turn camera on / off.
|
@@ -2182,11 +2314,11 @@ export declare interface CameraButtonStrings {
|
|
2182
2314
|
/**
|
2183
2315
|
* Camera action turned on string for announcer
|
2184
2316
|
*/
|
2185
|
-
cameraActionTurnedOnAnnouncement
|
2317
|
+
cameraActionTurnedOnAnnouncement?: string;
|
2186
2318
|
/**
|
2187
2319
|
* Camera action turned off string for announcer
|
2188
2320
|
*/
|
2189
|
-
cameraActionTurnedOffAnnouncement
|
2321
|
+
cameraActionTurnedOffAnnouncement?: string;
|
2190
2322
|
}
|
2191
2323
|
|
2192
2324
|
/**
|
@@ -2532,6 +2664,10 @@ export declare interface ChatCompositeStrings {
|
|
2532
2664
|
* Chat list header text
|
2533
2665
|
*/
|
2534
2666
|
chatListHeader: string;
|
2667
|
+
/**
|
2668
|
+
* Upload File Button text
|
2669
|
+
*/
|
2670
|
+
uploadFile: string;
|
2535
2671
|
}
|
2536
2672
|
|
2537
2673
|
/**
|
@@ -2937,6 +3073,8 @@ export declare interface ComponentStrings {
|
|
2937
3073
|
errorBar: ErrorBarStrings;
|
2938
3074
|
/** Strings for VideoGallery */
|
2939
3075
|
videoGallery: VideoGalleryStrings;
|
3076
|
+
/** Strings for Dialpad */
|
3077
|
+
dialpad: DialpadStrings;
|
2940
3078
|
}
|
2941
3079
|
|
2942
3080
|
/**
|
@@ -3244,7 +3382,7 @@ export declare interface ControlBarProps {
|
|
3244
3382
|
*
|
3245
3383
|
* @public
|
3246
3384
|
*/
|
3247
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
3385
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
3248
3386
|
|
3249
3387
|
/**
|
3250
3388
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -3262,7 +3400,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
|
|
3262
3400
|
*
|
3263
3401
|
* @public
|
3264
3402
|
*/
|
3265
|
-
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
3403
|
+
export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
|
3266
3404
|
|
3267
3405
|
/**
|
3268
3406
|
* Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
|
@@ -3420,33 +3558,106 @@ export declare interface CustomCallControlButtonCallbackArgs {
|
|
3420
3558
|
/**
|
3421
3559
|
* Placement for a custom button injected in the {@link CallControls}.
|
3422
3560
|
*
|
3423
|
-
* '
|
3424
|
-
* 'afterCameraButton': Place the button on the right (left in rtl mode) of the camera button.
|
3425
|
-
* ... and so on.
|
3561
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
3426
3562
|
*
|
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.
|
3563
|
+
* Multiple buttons assigned the same placement are appended in order.
|
3564
|
+
* E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
|
3565
|
+
* before the EndCallButton in the order provided.
|
3433
3566
|
*
|
3434
3567
|
* @beta
|
3435
3568
|
*/
|
3436
|
-
export declare type CustomCallControlButtonPlacement = '
|
3569
|
+
export declare type CustomCallControlButtonPlacement = 'primary';
|
3437
3570
|
|
3438
3571
|
/**
|
3439
3572
|
* Response from {@link CustomCallControlButtonCallback}.
|
3440
3573
|
*
|
3441
|
-
* Includes the
|
3574
|
+
* Includes the placement prop necessary to indicate where to place the
|
3575
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
3442
3576
|
*
|
3443
3577
|
* @beta
|
3444
3578
|
*/
|
3445
|
-
export declare interface CustomCallControlButtonProps extends
|
3579
|
+
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
3446
3580
|
/**
|
3447
3581
|
* Where to place the custom button relative to other buttons.
|
3448
3582
|
*/
|
3449
3583
|
placement: CustomCallControlButtonPlacement;
|
3584
|
+
/**
|
3585
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
3586
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
3587
|
+
*/
|
3588
|
+
iconName?: string;
|
3589
|
+
}
|
3590
|
+
|
3591
|
+
/**
|
3592
|
+
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
3593
|
+
*
|
3594
|
+
* The response indicates where the custom button should be placed.
|
3595
|
+
*
|
3596
|
+
* Performance tip: This callback is only called when either the callback or its arguments change.
|
3597
|
+
* @beta
|
3598
|
+
*/
|
3599
|
+
export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
3600
|
+
|
3601
|
+
/**
|
3602
|
+
* Placement for a custom button injected in the {@link CallWithChatControlBar}.
|
3603
|
+
*
|
3604
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
3605
|
+
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
3606
|
+
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
3607
|
+
*
|
3608
|
+
* Multiple buttons assigned the same placement are appended in order.
|
3609
|
+
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
3610
|
+
* in the order provided.
|
3611
|
+
*
|
3612
|
+
* @beta
|
3613
|
+
*/
|
3614
|
+
export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
3615
|
+
|
3616
|
+
/**
|
3617
|
+
* Response from {@link CustomCallWithChatControlButtonCallback}.
|
3618
|
+
*
|
3619
|
+
* Includes the icon and placement prop necessary to indicate where to place the
|
3620
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
3621
|
+
*
|
3622
|
+
* @beta
|
3623
|
+
*/
|
3624
|
+
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
3625
|
+
/**
|
3626
|
+
* Where to place the custom button relative to other buttons.
|
3627
|
+
*/
|
3628
|
+
placement: CustomCallWithChatControlButtonPlacement;
|
3629
|
+
/**
|
3630
|
+
* Icon to render. Icon is a non-default icon name that needs to be registered as a
|
3631
|
+
* custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
|
3632
|
+
*/
|
3633
|
+
iconName?: string;
|
3634
|
+
}
|
3635
|
+
|
3636
|
+
/**
|
3637
|
+
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
3638
|
+
*
|
3639
|
+
* @beta
|
3640
|
+
*/
|
3641
|
+
export declare interface CustomControlButtonProps {
|
3642
|
+
onItemClick?: () => void;
|
3643
|
+
/**
|
3644
|
+
* Whether the buttons is disabled
|
3645
|
+
*/
|
3646
|
+
disabled?: boolean;
|
3647
|
+
/**
|
3648
|
+
* Whether the label is displayed or not.
|
3649
|
+
*
|
3650
|
+
* @defaultValue `false`
|
3651
|
+
*/
|
3652
|
+
showLabel?: boolean;
|
3653
|
+
/**
|
3654
|
+
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
3655
|
+
*/
|
3656
|
+
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
3657
|
+
/**
|
3658
|
+
* Optional label for the button
|
3659
|
+
*/
|
3660
|
+
text?: string;
|
3450
3661
|
}
|
3451
3662
|
|
3452
3663
|
/**
|
@@ -3468,6 +3679,28 @@ export declare interface CustomMessage extends MessageCommon {
|
|
3468
3679
|
*/
|
3469
3680
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
3470
3681
|
|
3682
|
+
/**
|
3683
|
+
* @public
|
3684
|
+
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
3685
|
+
*/
|
3686
|
+
export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ {
|
3687
|
+
/**
|
3688
|
+
* @beta
|
3689
|
+
* A readonly array that returns all the active `incomingCalls`.
|
3690
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
3691
|
+
*
|
3692
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
3693
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
3694
|
+
*/
|
3695
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
3696
|
+
};
|
3697
|
+
|
3698
|
+
/**
|
3699
|
+
* @beta
|
3700
|
+
* Proxies the {@link @azure/communication-calling#IncomingCall} interface.
|
3701
|
+
*/
|
3702
|
+
export declare type DeclarativeIncomingCall = IncomingCall;
|
3703
|
+
|
3471
3704
|
/**
|
3472
3705
|
* The default set of icons that are available to use in the UI components.
|
3473
3706
|
*
|
@@ -3497,9 +3730,13 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
3497
3730
|
ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
|
3498
3731
|
ErrorBarCallMicrophoneAccessDenied: JSX.Element;
|
3499
3732
|
ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
|
3733
|
+
ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
|
3500
3734
|
ErrorBarCallNetworkQualityLow: JSX.Element;
|
3501
3735
|
ErrorBarCallNoMicrophoneFound: JSX.Element;
|
3502
3736
|
ErrorBarCallNoSpeakerFound: JSX.Element;
|
3737
|
+
ErrorBarClear: JSX.Element;
|
3738
|
+
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
3739
|
+
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
3503
3740
|
HorizontalGalleryLeftButton: JSX.Element;
|
3504
3741
|
HorizontalGalleryRightButton: JSX.Element;
|
3505
3742
|
MessageDelivered: JSX.Element;
|
@@ -3516,9 +3753,12 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
3516
3753
|
ParticipantItemOptions: JSX.Element;
|
3517
3754
|
ParticipantItemOptionsHovered: JSX.Element;
|
3518
3755
|
ParticipantItemScreenShareStart: JSX.Element;
|
3756
|
+
HoldCall: JSX.Element;
|
3757
|
+
ResumeCall: JSX.Element;
|
3519
3758
|
SendBoxSend: JSX.Element;
|
3520
3759
|
SendBoxSendHovered: JSX.Element;
|
3521
3760
|
VideoTileMicOff: JSX.Element;
|
3761
|
+
BackSpace: JSX.Element;
|
3522
3762
|
};
|
3523
3763
|
|
3524
3764
|
/**
|
@@ -3556,9 +3796,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
3556
3796
|
ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
|
3557
3797
|
ErrorBarCallMicrophoneAccessDenied: JSX.Element;
|
3558
3798
|
ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
|
3799
|
+
ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
|
3559
3800
|
ErrorBarCallNetworkQualityLow: JSX.Element;
|
3560
3801
|
ErrorBarCallNoMicrophoneFound: JSX.Element;
|
3561
3802
|
ErrorBarCallNoSpeakerFound: JSX.Element;
|
3803
|
+
ErrorBarClear: JSX.Element;
|
3562
3804
|
HorizontalGalleryLeftButton: JSX.Element;
|
3563
3805
|
HorizontalGalleryRightButton: JSX.Element;
|
3564
3806
|
LobbyScreenConnectingToCall?: JSX.Element | undefined;
|
@@ -3593,7 +3835,12 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
3593
3835
|
ChatMessageOptions: JSX.Element;
|
3594
3836
|
CancelFileUpload: JSX.Element;
|
3595
3837
|
DownloadFile: JSX.Element;
|
3838
|
+
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
3839
|
+
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
3596
3840
|
MessageResend: JSX.Element;
|
3841
|
+
HoldCall: JSX.Element;
|
3842
|
+
ResumeCall: JSX.Element;
|
3843
|
+
BackSpace: JSX.Element;
|
3597
3844
|
};
|
3598
3845
|
|
3599
3846
|
/**
|
@@ -3814,6 +4061,66 @@ export declare interface DiagnosticsCallFeatureState {
|
|
3814
4061
|
media: MediaDiagnosticsState;
|
3815
4062
|
}
|
3816
4063
|
|
4064
|
+
/**
|
4065
|
+
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
4066
|
+
* It will return empty component for stable builds
|
4067
|
+
*
|
4068
|
+
* @beta
|
4069
|
+
*/
|
4070
|
+
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
4071
|
+
|
4072
|
+
/**
|
4073
|
+
* Type for {@link DialpadButton} input
|
4074
|
+
*
|
4075
|
+
* @beta
|
4076
|
+
*/
|
4077
|
+
export declare interface DialpadButtonProps {
|
4078
|
+
primaryContent: string;
|
4079
|
+
secondaryContent?: string;
|
4080
|
+
}
|
4081
|
+
|
4082
|
+
/**
|
4083
|
+
* Props for {@link Dialpad} component.
|
4084
|
+
*
|
4085
|
+
* @beta
|
4086
|
+
*/
|
4087
|
+
export declare interface DialpadProps {
|
4088
|
+
strings?: DialpadStrings;
|
4089
|
+
/** function to send dtmf tones on button click */
|
4090
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
4091
|
+
/** Callback for dialpad button behavior*/
|
4092
|
+
onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
|
4093
|
+
/** customize dialpad input formatting */
|
4094
|
+
onDisplayDialpadInput?: (input: string) => string;
|
4095
|
+
/** on change function for text field */
|
4096
|
+
onChange?: (input: string) => void;
|
4097
|
+
styles?: DialpadStyles;
|
4098
|
+
}
|
4099
|
+
|
4100
|
+
/**
|
4101
|
+
* Strings of {@link Dialpad} that can be overridden.
|
4102
|
+
*
|
4103
|
+
* @beta
|
4104
|
+
*/
|
4105
|
+
export declare interface DialpadStrings {
|
4106
|
+
placeholderText: string;
|
4107
|
+
deleteButtonAriaLabel: string;
|
4108
|
+
}
|
4109
|
+
|
4110
|
+
/**
|
4111
|
+
* Styles for {@link Dialpad} component.
|
4112
|
+
*
|
4113
|
+
* @beta
|
4114
|
+
*/
|
4115
|
+
export declare interface DialpadStyles {
|
4116
|
+
root?: IStyle;
|
4117
|
+
button?: IButtonStyles;
|
4118
|
+
textField?: Partial<ITextFieldStyles>;
|
4119
|
+
primaryContent?: IStyle;
|
4120
|
+
secondaryContent?: IStyle;
|
4121
|
+
deleteIcon?: IButtonStyles;
|
4122
|
+
}
|
4123
|
+
|
3817
4124
|
/**
|
3818
4125
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
3819
4126
|
*
|
@@ -3834,6 +4141,13 @@ export declare interface Disposable {
|
|
3834
4141
|
dispose(): void;
|
3835
4142
|
}
|
3836
4143
|
|
4144
|
+
/**
|
4145
|
+
* DTMF tone for PSTN calls.
|
4146
|
+
*
|
4147
|
+
* @beta
|
4148
|
+
*/
|
4149
|
+
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
4150
|
+
|
3837
4151
|
/**
|
3838
4152
|
* A type for trivial selectors that return no data.
|
3839
4153
|
*
|
@@ -3996,6 +4310,11 @@ export declare interface ErrorBarStrings {
|
|
3996
4310
|
* Message shown when microphone is muted by the system (not by local or remote participants)
|
3997
4311
|
*/
|
3998
4312
|
callMicrophoneMutedBySystem: string;
|
4313
|
+
/**
|
4314
|
+
* Message shown when microphone is unmuted by the system (not by local or remote participants).
|
4315
|
+
* This typically occurs if the system recovers from an unexpected mute.
|
4316
|
+
*/
|
4317
|
+
callMicrophoneUnmutedBySystem: string;
|
3999
4318
|
/**
|
4000
4319
|
* Mac OS specific message shown when microphone can be enumerated but access is
|
4001
4320
|
* blocked by the system.
|
@@ -4014,6 +4333,14 @@ export declare interface ErrorBarStrings {
|
|
4014
4333
|
* another applciation.
|
4015
4334
|
*/
|
4016
4335
|
callCameraAlreadyInUse: string;
|
4336
|
+
/**
|
4337
|
+
* Message shown when local video is stopped by the system (not by local or remote participants)
|
4338
|
+
*/
|
4339
|
+
callVideoStoppedBySystem: string;
|
4340
|
+
/**
|
4341
|
+
* Message shown when local video was recovered by the system (not by the local participant)
|
4342
|
+
*/
|
4343
|
+
callVideoRecoveredBySystem: string;
|
4017
4344
|
/**
|
4018
4345
|
* Mac OS specific message shown when system denies access to camera.
|
4019
4346
|
*/
|
@@ -4025,15 +4352,15 @@ export declare interface ErrorBarStrings {
|
|
4025
4352
|
/**
|
4026
4353
|
* Dimiss errorbar button aria label read by screen reader accessibility tools
|
4027
4354
|
*/
|
4028
|
-
dismissButtonAriaLabel
|
4355
|
+
dismissButtonAriaLabel?: string;
|
4029
4356
|
/**
|
4030
4357
|
* An error message when joining a call fails.
|
4031
4358
|
*/
|
4032
|
-
failedToJoinCallGeneric
|
4359
|
+
failedToJoinCallGeneric?: string;
|
4033
4360
|
/**
|
4034
4361
|
* An error message when joining a call fails specifically due to an invalid meeting link.
|
4035
4362
|
*/
|
4036
|
-
failedToJoinCallInvalidMeetingLink
|
4363
|
+
failedToJoinCallInvalidMeetingLink?: string;
|
4037
4364
|
}
|
4038
4365
|
|
4039
4366
|
/**
|
@@ -4276,7 +4603,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
4276
4603
|
*
|
4277
4604
|
* @public
|
4278
4605
|
*/
|
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;
|
4606
|
+
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
4607
|
|
4281
4608
|
/**
|
4282
4609
|
* Get the selector for a specified component.
|
@@ -4338,6 +4665,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
4338
4665
|
children?: IStyle;
|
4339
4666
|
}
|
4340
4667
|
|
4668
|
+
/**
|
4669
|
+
* a button to hold or resume a ongoing call.
|
4670
|
+
*
|
4671
|
+
* Can be used with {@link ControlBar}
|
4672
|
+
*
|
4673
|
+
* @param props - properties for the hold button.
|
4674
|
+
* @returns
|
4675
|
+
* @beta
|
4676
|
+
*/
|
4677
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
4678
|
+
|
4679
|
+
/**
|
4680
|
+
*@beta
|
4681
|
+
*/
|
4682
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
4683
|
+
/**
|
4684
|
+
* Utility property for using this component with communication react handlers
|
4685
|
+
* Holds the call or resumes it based on call state.
|
4686
|
+
*/
|
4687
|
+
onToggleHold: () => Promise<void>;
|
4688
|
+
/**
|
4689
|
+
* Optional strings to override in component
|
4690
|
+
*/
|
4691
|
+
strings?: HoldButtonStrings;
|
4692
|
+
}
|
4693
|
+
|
4694
|
+
/**
|
4695
|
+
* Selector type for the {@link HoldButton} component.
|
4696
|
+
* @public
|
4697
|
+
*/
|
4698
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
4699
|
+
checked: boolean;
|
4700
|
+
};
|
4701
|
+
|
4702
|
+
/**
|
4703
|
+
* Strings for the hold button labels
|
4704
|
+
* @beta
|
4705
|
+
*/
|
4706
|
+
export declare interface HoldButtonStrings {
|
4707
|
+
/**
|
4708
|
+
* Label for when action is to resume call.
|
4709
|
+
*/
|
4710
|
+
onLabel: string;
|
4711
|
+
/**
|
4712
|
+
* Label for when action is to hold call.
|
4713
|
+
*/
|
4714
|
+
offLabel: string;
|
4715
|
+
/**
|
4716
|
+
* Content for when button is checked
|
4717
|
+
*/
|
4718
|
+
tooltipOnContent: string;
|
4719
|
+
/**
|
4720
|
+
* Content for when button is unchecked
|
4721
|
+
*/
|
4722
|
+
toolTipOffContent: string;
|
4723
|
+
}
|
4724
|
+
|
4341
4725
|
/**
|
4342
4726
|
* {@link HorizontalGallery} Component Styles.
|
4343
4727
|
* @public
|
@@ -4498,6 +4882,12 @@ export declare interface JumpToNewMessageButtonProps {
|
|
4498
4882
|
*/
|
4499
4883
|
export declare const lightTheme: PartialTheme & CallingTheme;
|
4500
4884
|
|
4885
|
+
/**
|
4886
|
+
* Whether the stream is loading or not.
|
4887
|
+
* @public
|
4888
|
+
*/
|
4889
|
+
export declare type LoadingState = 'loading' | 'none';
|
4890
|
+
|
4501
4891
|
/**
|
4502
4892
|
* Provider to provide localized strings for this library's react components.
|
4503
4893
|
*
|
@@ -4981,6 +5371,8 @@ export declare interface MessageThreadStrings {
|
|
4981
5371
|
failToSendTag?: string;
|
4982
5372
|
/** String for LiveMessage introduction for the Chat Message */
|
4983
5373
|
liveAuthorIntro: string;
|
5374
|
+
/** String for aria text of message content */
|
5375
|
+
messageContentAriaText: string;
|
4984
5376
|
/** String for warning on text limit exceeded in EditBox*/
|
4985
5377
|
editBoxTextLimit: string;
|
4986
5378
|
/** String for placeholder text in EditBox when there is no user input*/
|
@@ -4996,7 +5388,9 @@ export declare interface MessageThreadStrings {
|
|
4996
5388
|
/** String for Submit in EditBox when there is no user input*/
|
4997
5389
|
editBoxSubmitButton: string;
|
4998
5390
|
/** String for action menu indicating there are more options */
|
4999
|
-
actionMenuMoreOptions
|
5391
|
+
actionMenuMoreOptions?: string;
|
5392
|
+
/** String for download file button in file card */
|
5393
|
+
downloadFile: string;
|
5000
5394
|
}
|
5001
5395
|
|
5002
5396
|
/**
|
@@ -5146,7 +5540,7 @@ export declare interface MicrophoneButtonStrings {
|
|
5146
5540
|
/**
|
5147
5541
|
* Description of microphone button split button role
|
5148
5542
|
*/
|
5149
|
-
microphoneButtonSplitRoleDescription
|
5543
|
+
microphoneButtonSplitRoleDescription?: string;
|
5150
5544
|
/**
|
5151
5545
|
* Microphone split button aria label when mic is enabled.
|
5152
5546
|
*/
|
@@ -5158,11 +5552,11 @@ export declare interface MicrophoneButtonStrings {
|
|
5158
5552
|
/**
|
5159
5553
|
* Microphone action turned on string for announcer
|
5160
5554
|
*/
|
5161
|
-
microphoneActionTurnedOnAnnouncement
|
5555
|
+
microphoneActionTurnedOnAnnouncement?: string;
|
5162
5556
|
/**
|
5163
5557
|
* Microphone action turned off string for announcer
|
5164
5558
|
*/
|
5165
|
-
microphoneActionTurnedOffAnnouncement
|
5559
|
+
microphoneActionTurnedOffAnnouncement?: string;
|
5166
5560
|
}
|
5167
5561
|
|
5168
5562
|
/**
|
@@ -5255,7 +5649,7 @@ export declare interface ParticipantItemProps {
|
|
5255
5649
|
/** Unique User ID of the participant. This `userId` is available in the `onRenderAvatar` callback function */
|
5256
5650
|
userId?: string;
|
5257
5651
|
/** Name of participant. */
|
5258
|
-
displayName
|
5652
|
+
displayName?: string;
|
5259
5653
|
/** Optional indicator to show participant is the user. */
|
5260
5654
|
me?: boolean;
|
5261
5655
|
/** Optional callback returning a JSX element to override avatar. */
|
@@ -5282,6 +5676,8 @@ export declare interface ParticipantItemProps {
|
|
5282
5676
|
* Optional callback when component is clicked
|
5283
5677
|
*/
|
5284
5678
|
onClick?: (props?: ParticipantItemProps) => void;
|
5679
|
+
/** prop to determine if we should show tooltip for participants or not */
|
5680
|
+
showParticipantOverflowTooltip?: boolean;
|
5285
5681
|
}
|
5286
5682
|
|
5287
5683
|
/**
|
@@ -5300,6 +5696,8 @@ export declare interface ParticipantItemStrings {
|
|
5300
5696
|
sharingIconLabel: string;
|
5301
5697
|
/** Label for the muted icon in participant state stack */
|
5302
5698
|
mutedIconLabel: string;
|
5699
|
+
/** placeholder text for participants who does not have a display name*/
|
5700
|
+
displayNamePlaceholder?: string;
|
5303
5701
|
}
|
5304
5702
|
|
5305
5703
|
/**
|
@@ -5377,6 +5775,8 @@ export declare type ParticipantListProps = {
|
|
5377
5775
|
onParticipantClick?: (participant?: ParticipantListParticipant) => void;
|
5378
5776
|
/** Styles for the {@link ParticipantList} */
|
5379
5777
|
styles?: ParticipantListStyles;
|
5778
|
+
/** prop to determine if we should show tooltip for participants or not */
|
5779
|
+
showParticipantOverflowTooltip?: boolean;
|
5380
5780
|
};
|
5381
5781
|
|
5382
5782
|
/**
|
@@ -5511,6 +5911,8 @@ export declare interface ParticipantsButtonProps extends ControlBarButtonProps {
|
|
5511
5911
|
* Optional strings to override in component
|
5512
5912
|
*/
|
5513
5913
|
strings?: Partial<ParticipantsButtonStrings>;
|
5914
|
+
/** prop to determine if we should show tooltip for participants or not */
|
5915
|
+
showParticipantOverflowTooltip?: boolean;
|
5514
5916
|
}
|
5515
5917
|
|
5516
5918
|
/**
|
@@ -5676,6 +6078,11 @@ export declare interface RemoteVideoStreamState {
|
|
5676
6078
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isAvailable}.
|
5677
6079
|
*/
|
5678
6080
|
isAvailable: boolean;
|
6081
|
+
/**
|
6082
|
+
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
6083
|
+
* @beta
|
6084
|
+
*/
|
6085
|
+
isReceiving: boolean;
|
5679
6086
|
/**
|
5680
6087
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
5681
6088
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
@@ -5683,6 +6090,11 @@ export declare interface RemoteVideoStreamState {
|
|
5683
6090
|
view?: VideoStreamRendererViewState;
|
5684
6091
|
}
|
5685
6092
|
|
6093
|
+
/**
|
6094
|
+
* @beta
|
6095
|
+
*/
|
6096
|
+
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer';
|
6097
|
+
|
5686
6098
|
/**
|
5687
6099
|
* A button to start / stop screen sharing.
|
5688
6100
|
*
|
@@ -5716,6 +6128,7 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
|
|
5716
6128
|
*/
|
5717
6129
|
export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
5718
6130
|
checked?: boolean;
|
6131
|
+
disabled?: boolean;
|
5719
6132
|
};
|
5720
6133
|
|
5721
6134
|
/**
|
@@ -5874,6 +6287,18 @@ export declare interface SendBoxStrings {
|
|
5874
6287
|
* Error message indicating that all file uploads are not complete.
|
5875
6288
|
*/
|
5876
6289
|
fileUploadsPendingError: string;
|
6290
|
+
/**
|
6291
|
+
* Aria label to notify user when focus is on cancel file upload button.
|
6292
|
+
*/
|
6293
|
+
removeFile: string;
|
6294
|
+
/**
|
6295
|
+
* Aria label to notify user file uploading starts.
|
6296
|
+
*/
|
6297
|
+
uploading: string;
|
6298
|
+
/**
|
6299
|
+
* Aria label to notify user file is uploaded.
|
6300
|
+
*/
|
6301
|
+
uploadCompleted: string;
|
5877
6302
|
}
|
5878
6303
|
|
5879
6304
|
/**
|
@@ -6000,6 +6425,18 @@ export declare interface StatefulCallClient extends CallClient {
|
|
6000
6425
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
|
6001
6426
|
*/
|
6002
6427
|
disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
|
6428
|
+
/**
|
6429
|
+
* The CallAgent is used to handle calls.
|
6430
|
+
* To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
|
6431
|
+
* - The CallClient can only have one active CallAgent instance at a time.
|
6432
|
+
* - You can create a new CallClient instance to create a new CallAgent.
|
6433
|
+
* - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
|
6434
|
+
* createCallAgent() method again to create a new CallAgent.
|
6435
|
+
* @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
|
6436
|
+
* @param options - The CallAgentOptions for additional options like display name.
|
6437
|
+
* @public
|
6438
|
+
*/
|
6439
|
+
createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
|
6003
6440
|
}
|
6004
6441
|
|
6005
6442
|
/**
|
@@ -6013,6 +6450,15 @@ export declare type StatefulCallClientArgs = {
|
|
6013
6450
|
* state. It is not used by StatefulCallClient.
|
6014
6451
|
*/
|
6015
6452
|
userId: CommunicationUserIdentifier;
|
6453
|
+
/**
|
6454
|
+
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
6455
|
+
* to start a PSTN call.
|
6456
|
+
*
|
6457
|
+
* example: +11234567
|
6458
|
+
*
|
6459
|
+
* This is not a cached value from the headless calling client.
|
6460
|
+
*/
|
6461
|
+
alternateCallerId?: string;
|
6016
6462
|
};
|
6017
6463
|
|
6018
6464
|
/**
|
@@ -6121,6 +6567,8 @@ export declare interface StreamMediaProps {
|
|
6121
6567
|
videoStreamElement: HTMLElement | null;
|
6122
6568
|
/** Decides whether to mirror the video or not. */
|
6123
6569
|
isMirrored?: boolean;
|
6570
|
+
/** Whether the stream is loading data */
|
6571
|
+
loadingState?: LoadingState;
|
6124
6572
|
/**
|
6125
6573
|
* Allows users to pass in an object contains custom CSS styles.
|
6126
6574
|
* @Example
|
@@ -6617,6 +7065,8 @@ export declare interface VideoGalleryStream {
|
|
6617
7065
|
id?: number;
|
6618
7066
|
/** Whether the video stream is available or not */
|
6619
7067
|
isAvailable?: boolean;
|
7068
|
+
/** Whether the video stream is receiving data or not */
|
7069
|
+
isReceiving?: boolean;
|
6620
7070
|
/** Whether the video stream is mirrored or not */
|
6621
7071
|
isMirrored?: boolean;
|
6622
7072
|
/** Render element of the video stream */
|
@@ -6641,6 +7091,8 @@ export declare interface VideoGalleryStrings {
|
|
6641
7091
|
localVideoMovementLabel: string;
|
6642
7092
|
/** String for announcing the selected camera */
|
6643
7093
|
localVideoSelectedDescription: string;
|
7094
|
+
/** placeholder text for participants who does not have a display name*/
|
7095
|
+
displayNamePlaceholder: string;
|
6644
7096
|
}
|
6645
7097
|
|
6646
7098
|
/**
|