@azure/communication-react 1.2.2-alpha-202204200014.0 → 1.2.2-alpha-202206131636
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 +731 -0
- package/CHANGELOG.md +49 -1
- package/dist/communication-react.d.ts +394 -41
- package/dist/dist-cjs/communication-react/index.js +2126 -823
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.d.ts +2 -0
- package/dist/dist-esm/acs-ui-common/src/index.d.ts.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/index.js +1 -0
- package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts +16 -0
- package/dist/dist-esm/acs-ui-common/src/logEvent.d.ts.map +1 -0
- package/dist/dist-esm/acs-ui-common/src/logEvent.js +11 -0
- package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -0
- package/dist/dist-esm/acs-ui-common/src/safeStringify.d.ts.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/safeStringify.js +17 -1
- package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/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 +12 -0
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +12 -6
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callUtils.d.ts +7 -1
- package/dist/dist-esm/calling-component-bindings/src/callUtils.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callUtils.js +28 -0
- package/dist/dist-esm/calling-component-bindings/src/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +9 -3
- 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 +42 -9
- 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 +2 -0
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.js +2 -0
- 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 +10 -3
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +8 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.d.ts +1 -3
- package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.d.ts.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.js +2 -0
- package/dist/dist-esm/calling-component-bindings/src/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +8 -6
- 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 +52 -27
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +21 -0
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.d.ts +12 -0
- package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.d.ts.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js +38 -0
- package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -0
- 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/InternalCallContext.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +13 -10
- package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +26 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Logger.js +30 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
- package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.d.ts +11 -2
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.d.ts.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +148 -28
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/baseSelectors.d.ts +1 -1
- package/dist/dist-esm/chat-component-bindings/src/baseSelectors.d.ts.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +4 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +4 -2
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +11 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -4
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts +2 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +3 -2
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.d.ts.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +4 -2
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.d.ts.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.js +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +9 -5
- package/dist/dist-esm/communication-react/src/index.d.ts.map +1 -1
- package/dist/dist-esm/communication-react/src/index.js +6 -2
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer.d.ts +15 -0
- package/dist/dist-esm/react-components/src/components/Announcer.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/Announcer.js +29 -0
- package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +16 -0
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.js +16 -19
- package/dist/dist-esm/react-components/src/components/CameraButton.js.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 +4 -1
- 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 +9 -2
- 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 +5 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +6 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +33 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +5 -0
- 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 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.d.ts +9 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +58 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +82 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.d.ts +27 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +67 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.d.ts +20 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js +42 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.d.ts +3 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js +4 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.d.ts +30 -0
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.d.ts.map +1 -0
- package/dist/dist-esm/{react-composites/src/index.js → react-components/src/components/ComplianceBanner/types.js} +2 -2
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ControlBarButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js +2 -2
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts +34 -0
- package/dist/dist-esm/react-components/src/components/DevicesButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicesButton.js +10 -4
- 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 +57 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +119 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/FileCard.js +6 -5
- package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +4 -3
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileUploadCards.js +4 -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/InputBoxComponent.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +1 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +30 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +65 -0
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.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 +7 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +16 -4
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.js +32 -8
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +18 -2
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +41 -20
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +3 -3
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +2 -4
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.d.ts +5 -6
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +4 -5
- package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +8 -3
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +28 -33
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.js +24 -8
- package/dist/dist-esm/react-components/src/components/SendBox.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 +17 -5
- package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +4 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +3 -2
- 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 +33 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +90 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +5 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +26 -48
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +12 -5
- package/dist/dist-esm/react-components/src/components/index.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.js +7 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +1 -2
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts +22 -0
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +74 -0
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js +17 -0
- package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +20 -25
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.d.ts +4 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +2 -2
- package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +4 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +11 -3
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.d.ts +14 -2
- 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 +41 -2
- package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.d.ts.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js +44 -0
- package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -0
- package/dist/dist-esm/react-components/src/index.d.ts +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +8 -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/en-US/strings.json +25 -4
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +0 -7
- package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -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 +6 -0
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.js +6 -0
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +25 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +7 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +46 -9
- 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 +22 -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 +2 -3
- 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 +18 -14
- 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 +2 -1
- 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 +6 -17
- 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/ExpandedLocalVideoTile.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.d.ts +3 -3
- 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 +56 -45
- 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 +26 -19
- 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/buttons/Camera.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/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 +39 -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/Microphone.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +1 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +15 -6
- 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.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +3 -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/LobbyPage.js +1 -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/selectors/baseSelectors.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +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 +14 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +41 -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/CallComposite/utils/Utils.d.ts +0 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +0 -39
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +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 +53 -38
- 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 +2 -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 +21 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.d.ts +68 -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 +70 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CustomButton.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeoplePaneContent.js +2 -8
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +9 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/TabHeader.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/TabHeader.js +2 -8
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +7 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +25 -1
- 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 +22 -2
- 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 +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.d.ts +22 -0
- 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 +29 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/components/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +3 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +9 -14
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +4 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.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 +12 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.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 +6 -19
- 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 +2 -4
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +8 -2
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.d.ts +9 -0
- package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts +21 -0
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js +59 -0
- package/dist/dist-esm/react-composites/src/composites/common/CustomDataModelUtils.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -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 +1 -14
- 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/index.d.ts +2 -4
- package/dist/dist-esm/react-composites/src/composites/index.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.js +1 -4
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/index.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/localization/index.d.ts.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/index.js +8 -0
- package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -0
- package/dist/dist-esm/react-composites/src/index-public.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/index-public.d.ts.map +1 -0
- package/dist/dist-esm/react-composites/src/index-public.js +8 -0
- package/dist/dist-esm/react-composites/src/index-public.js.map +1 -0
- package/package.json +18 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ComplianceBanner.d.ts +0 -13
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ComplianceBanner.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ComplianceBanner.js +0 -127
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ComplianceBanner.js.map +0 -1
- package/dist/dist-esm/react-composites/src/index.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/index.d.ts.map +0 -1
- package/dist/dist-esm/react-composites/src/index.js.map +0 -1
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
/// <reference types="react" />
|
|
19
19
|
|
|
20
|
+
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
|
20
21
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
|
21
22
|
import { Call } from '@azure/communication-calling';
|
|
22
23
|
import { CallAgent } from '@azure/communication-calling';
|
|
@@ -42,6 +43,7 @@ import { CreateViewOptions } from '@azure/communication-calling';
|
|
|
42
43
|
import { DeviceAccess } from '@azure/communication-calling';
|
|
43
44
|
import { DeviceManager } from '@azure/communication-calling';
|
|
44
45
|
import { DominantSpeakersInfo } from '@azure/communication-calling';
|
|
46
|
+
import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
|
|
45
47
|
import { GroupCallLocator } from '@azure/communication-calling';
|
|
46
48
|
import { IButtonProps } from '@fluentui/react';
|
|
47
49
|
import { IButtonStyles } from '@fluentui/react';
|
|
@@ -54,6 +56,7 @@ import { IPersonaStyles } from '@fluentui/react';
|
|
|
54
56
|
import { IRenderFunction } from '@fluentui/react';
|
|
55
57
|
import { IStyle } from '@fluentui/react';
|
|
56
58
|
import { IStyleFunctionOrObject } from '@fluentui/react';
|
|
59
|
+
import { ITextFieldStyles } from '@fluentui/react';
|
|
57
60
|
import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
|
58
61
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
|
59
62
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
|
@@ -75,10 +78,12 @@ import { SendMessageOptions } from '@azure/communication-chat';
|
|
|
75
78
|
import { StartCallOptions } from '@azure/communication-calling';
|
|
76
79
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
|
77
80
|
import { Theme } from '@fluentui/react';
|
|
78
|
-
import { TypingIndicatorReceivedEvent } from '@azure/communication-
|
|
81
|
+
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
|
79
82
|
import { UnknownIdentifier } from '@azure/communication-common';
|
|
80
83
|
import { UnknownIdentifierKind } from '@azure/communication-common';
|
|
81
84
|
import { VideoDeviceInfo } from '@azure/communication-calling';
|
|
85
|
+
import { VideoStreamRenderer } from '@azure/communication-calling';
|
|
86
|
+
import { VideoStreamRendererView } from '@azure/communication-calling';
|
|
82
87
|
|
|
83
88
|
/**
|
|
84
89
|
* Active error messages to be shown via {@link ErrorBar}.
|
|
@@ -436,7 +441,7 @@ export declare interface CallAdapterCallManagement {
|
|
|
436
441
|
*
|
|
437
442
|
* @public
|
|
438
443
|
*/
|
|
439
|
-
createStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
|
444
|
+
createStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void | CreateVideoStreamViewResult>;
|
|
440
445
|
/**
|
|
441
446
|
* Dispose the html view for a stream.
|
|
442
447
|
*
|
|
@@ -449,6 +454,24 @@ export declare interface CallAdapterCallManagement {
|
|
|
449
454
|
* @public
|
|
450
455
|
*/
|
|
451
456
|
disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
|
457
|
+
/**
|
|
458
|
+
* Holds the call.
|
|
459
|
+
*
|
|
460
|
+
* @beta
|
|
461
|
+
*/
|
|
462
|
+
holdCall(): Promise<void>;
|
|
463
|
+
/**
|
|
464
|
+
* Resumes the call from a `LocalHold` state.
|
|
465
|
+
*
|
|
466
|
+
* @beta
|
|
467
|
+
*/
|
|
468
|
+
resumeCall(): Promise<void>;
|
|
469
|
+
/**
|
|
470
|
+
* Add a participant to the call.
|
|
471
|
+
*
|
|
472
|
+
* @beta
|
|
473
|
+
*/
|
|
474
|
+
addParticipant(participant: CommunicationIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
|
452
475
|
}
|
|
453
476
|
|
|
454
477
|
/**
|
|
@@ -1214,7 +1237,7 @@ export declare type CallErrors = {
|
|
|
1214
1237
|
*
|
|
1215
1238
|
* @public
|
|
1216
1239
|
*/
|
|
1217
|
-
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';
|
|
1240
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopVideo' | 'Call.unmute' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker';
|
|
1218
1241
|
|
|
1219
1242
|
/**
|
|
1220
1243
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
|
@@ -1254,11 +1277,14 @@ export declare type CallingHandlers = {
|
|
|
1254
1277
|
onStopScreenShare: () => Promise<void>;
|
|
1255
1278
|
onToggleScreenShare: () => Promise<void>;
|
|
1256
1279
|
onHangUp: () => Promise<void>;
|
|
1257
|
-
|
|
1258
|
-
|
|
1280
|
+
onToggleHold: () => Promise<void>;
|
|
1281
|
+
onAddParticipant: (participant: CommunicationIdentifier, options?: AddPhoneNumberOptions) => Promise<void>;
|
|
1282
|
+
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
|
1283
|
+
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
|
1259
1284
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
|
1260
1285
|
onDisposeRemoteStreamView: (userId: string) => Promise<void>;
|
|
1261
1286
|
onDisposeLocalStreamView: () => Promise<void>;
|
|
1287
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone_2) => Promise<void>;
|
|
1262
1288
|
};
|
|
1263
1289
|
|
|
1264
1290
|
/**
|
|
@@ -1527,7 +1553,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
|
1527
1553
|
*
|
|
1528
1554
|
* @public
|
|
1529
1555
|
*/
|
|
1530
|
-
createStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
|
|
1556
|
+
createStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void | CreateVideoStreamViewResult>;
|
|
1531
1557
|
/**
|
|
1532
1558
|
* Dispose the html view for a stream.
|
|
1533
1559
|
*
|
|
@@ -1670,6 +1696,24 @@ export declare interface CallWithChatAdapterManagement {
|
|
|
1670
1696
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
|
1671
1697
|
/** @beta */
|
|
1672
1698
|
updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
|
|
1699
|
+
/**
|
|
1700
|
+
* Puts the Call in a Localhold.
|
|
1701
|
+
*
|
|
1702
|
+
* @beta
|
|
1703
|
+
*/
|
|
1704
|
+
holdCall: () => Promise<void>;
|
|
1705
|
+
/**
|
|
1706
|
+
* Resumes the call from a LocalHold state.
|
|
1707
|
+
*
|
|
1708
|
+
* @beta
|
|
1709
|
+
*/
|
|
1710
|
+
resumeCall: () => Promise<void>;
|
|
1711
|
+
/**
|
|
1712
|
+
* Adds a new Participant to the call.
|
|
1713
|
+
*
|
|
1714
|
+
* @beta
|
|
1715
|
+
*/
|
|
1716
|
+
addParticipant: (participant: CommunicationIdentifier, options?: AddPhoneNumberOptions) => Promise<void>;
|
|
1673
1717
|
}
|
|
1674
1718
|
|
|
1675
1719
|
/**
|
|
@@ -1932,13 +1976,19 @@ export declare interface CallWithChatCompositeStrings {
|
|
|
1932
1976
|
*/
|
|
1933
1977
|
chatButtonTooltipClosedWithMessageCount: string;
|
|
1934
1978
|
/**
|
|
1935
|
-
* Title for the
|
|
1979
|
+
* Title for the audio device selection sub-menu in more button drawer.
|
|
1936
1980
|
*
|
|
1937
|
-
* Only used with `mobileView` set to `true
|
|
1981
|
+
* Only used with `mobileView` set to `true` and when no speakers are available.
|
|
1982
|
+
*/
|
|
1983
|
+
moreDrawerAudioDeviceMenuTitle: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* Title for the microphone selection sub-menu in more button drawer.
|
|
1986
|
+
*
|
|
1987
|
+
* Only used with `mobileView` set to `true` and when speakers are available.
|
|
1938
1988
|
*/
|
|
1939
1989
|
moreDrawerMicrophoneMenuTitle: string;
|
|
1940
1990
|
/**
|
|
1941
|
-
* Title for the speaker selection sub-menu in more
|
|
1991
|
+
* Title for the speaker selection sub-menu in more button drawer.
|
|
1942
1992
|
*
|
|
1943
1993
|
* Only used with `mobileView` set to `true`.
|
|
1944
1994
|
*/
|
|
@@ -2045,6 +2095,12 @@ export declare interface CallWithChatControlOptions {
|
|
|
2045
2095
|
* @defaultValue true
|
|
2046
2096
|
*/
|
|
2047
2097
|
peopleButton?: boolean;
|
|
2098
|
+
/**
|
|
2099
|
+
* Inject custom buttons in the call controls.
|
|
2100
|
+
*
|
|
2101
|
+
* @beta
|
|
2102
|
+
*/
|
|
2103
|
+
onFetchCustomButtonProps?: CustomCallWithChatControlButtonCallback[];
|
|
2048
2104
|
}
|
|
2049
2105
|
|
|
2050
2106
|
/**
|
|
@@ -2160,6 +2216,22 @@ export declare interface CameraButtonStrings {
|
|
|
2160
2216
|
* description of camera button split button role
|
|
2161
2217
|
*/
|
|
2162
2218
|
cameraButtonSplitRoleDescription?: string;
|
|
2219
|
+
/**
|
|
2220
|
+
* Camera split button aria label for when button is enabled.
|
|
2221
|
+
*/
|
|
2222
|
+
onSplitButtonAriaLabel?: string;
|
|
2223
|
+
/**
|
|
2224
|
+
* Camera split button aria label for when button is disabled.
|
|
2225
|
+
*/
|
|
2226
|
+
offSplitButtonAriaLabel?: string;
|
|
2227
|
+
/**
|
|
2228
|
+
* Camera action turned on string for announcer
|
|
2229
|
+
*/
|
|
2230
|
+
cameraActionTurnedOnAnnouncement: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* Camera action turned off string for announcer
|
|
2233
|
+
*/
|
|
2234
|
+
cameraActionTurnedOffAnnouncement: string;
|
|
2163
2235
|
}
|
|
2164
2236
|
|
|
2165
2237
|
/**
|
|
@@ -2287,7 +2359,9 @@ export declare interface ChatAdapterThreadManagement {
|
|
|
2287
2359
|
/**
|
|
2288
2360
|
* Update a message content.
|
|
2289
2361
|
*/
|
|
2290
|
-
updateMessage(messageId: string, content: string, metadata?: Record<string, string
|
|
2362
|
+
updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
|
2363
|
+
attachedFilesMetadata?: FileMetadata[];
|
|
2364
|
+
}): Promise<void>;
|
|
2291
2365
|
/**
|
|
2292
2366
|
* Delete a message in the thread.
|
|
2293
2367
|
*/
|
|
@@ -2568,7 +2642,9 @@ export declare type ChatHandlers = {
|
|
|
2568
2642
|
onRemoveParticipant: (userId: string) => Promise<void>;
|
|
2569
2643
|
updateThreadTopicName: (topicName: string) => Promise<void>;
|
|
2570
2644
|
onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
|
|
2571
|
-
onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string
|
|
2645
|
+
onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
|
2646
|
+
attachedFilesMetadata?: FileMetadata[];
|
|
2647
|
+
}) => Promise<void>;
|
|
2572
2648
|
onDeleteMessage: (messageId: string) => Promise<void>;
|
|
2573
2649
|
};
|
|
2574
2650
|
|
|
@@ -2701,9 +2777,6 @@ export declare type ChatThreadClientState = {
|
|
|
2701
2777
|
/**
|
|
2702
2778
|
* Properties of a chat thread.
|
|
2703
2779
|
*
|
|
2704
|
-
* \@azure/communication-chat exports two interfaces for this concept,
|
|
2705
|
-
* and \@azure/communication-signaling exports another.
|
|
2706
|
-
*
|
|
2707
2780
|
* We define a minimal one that helps us hide the different types used by underlying API.
|
|
2708
2781
|
*
|
|
2709
2782
|
* @public
|
|
@@ -2863,6 +2936,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
|
2863
2936
|
export declare interface ComponentLocale {
|
|
2864
2937
|
/** Strings for components */
|
|
2865
2938
|
strings: ComponentStrings;
|
|
2939
|
+
/**
|
|
2940
|
+
* Optional function to provide customized date format.
|
|
2941
|
+
* @beta
|
|
2942
|
+
*/
|
|
2943
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
|
2866
2944
|
}
|
|
2867
2945
|
|
|
2868
2946
|
/**
|
|
@@ -2904,6 +2982,8 @@ export declare interface ComponentStrings {
|
|
|
2904
2982
|
errorBar: ErrorBarStrings;
|
|
2905
2983
|
/** Strings for VideoGallery */
|
|
2906
2984
|
videoGallery: VideoGalleryStrings;
|
|
2985
|
+
/** Strings for Dialpad */
|
|
2986
|
+
dialpad: DialpadStrings;
|
|
2907
2987
|
}
|
|
2908
2988
|
|
|
2909
2989
|
/**
|
|
@@ -3307,6 +3387,33 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
|
3307
3387
|
*/
|
|
3308
3388
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
|
3309
3389
|
|
|
3390
|
+
/**
|
|
3391
|
+
* Object returned after creating a local or remote VideoStream.
|
|
3392
|
+
* This contains helper functions to manipulate the render of the stream.
|
|
3393
|
+
*
|
|
3394
|
+
* @public
|
|
3395
|
+
*/
|
|
3396
|
+
export declare interface CreateVideoStreamViewResult {
|
|
3397
|
+
/** View handle of the rendered video stream */
|
|
3398
|
+
view: {
|
|
3399
|
+
/**
|
|
3400
|
+
* Update the scale mode for this view.
|
|
3401
|
+
* @param scalingMode - The new scale mode.
|
|
3402
|
+
*/
|
|
3403
|
+
updateScalingMode: (scalingMode: ViewScalingMode) => Promise<void>;
|
|
3404
|
+
};
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
/**
|
|
3408
|
+
* Return result from {@link StatefulCallClient.createView}.
|
|
3409
|
+
*
|
|
3410
|
+
* @public
|
|
3411
|
+
*/
|
|
3412
|
+
export declare type CreateViewResult = {
|
|
3413
|
+
renderer: VideoStreamRenderer;
|
|
3414
|
+
view: VideoStreamRendererView;
|
|
3415
|
+
};
|
|
3416
|
+
|
|
3310
3417
|
/**
|
|
3311
3418
|
* Options that can be injected into the `onRender` function for customizing an
|
|
3312
3419
|
* Avatar (`Persona`) component.
|
|
@@ -3360,33 +3467,106 @@ export declare interface CustomCallControlButtonCallbackArgs {
|
|
|
3360
3467
|
/**
|
|
3361
3468
|
* Placement for a custom button injected in the {@link CallControls}.
|
|
3362
3469
|
*
|
|
3363
|
-
* '
|
|
3364
|
-
* 'afterCameraButton': Place the button on the right (left in rtl mode) of the camera button.
|
|
3365
|
-
* ... and so on.
|
|
3366
|
-
*
|
|
3367
|
-
* It is an error to place the button in reference to another button that has
|
|
3368
|
-
* been hidden via a {@link CallControlOptions} field.
|
|
3470
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
|
3369
3471
|
*
|
|
3370
|
-
* Multiple buttons
|
|
3371
|
-
* E.g., if two buttons are placed '
|
|
3372
|
-
* in the order provided.
|
|
3472
|
+
* Multiple buttons assigned the same placement are appended in order.
|
|
3473
|
+
* E.g., if two buttons are placed in 'primary', they'll both appear on the right end (left end in rtl mode)
|
|
3474
|
+
* before the EndCallButton in the order provided.
|
|
3373
3475
|
*
|
|
3374
3476
|
* @beta
|
|
3375
3477
|
*/
|
|
3376
|
-
export declare type CustomCallControlButtonPlacement = '
|
|
3478
|
+
export declare type CustomCallControlButtonPlacement = 'primary';
|
|
3377
3479
|
|
|
3378
3480
|
/**
|
|
3379
3481
|
* Response from {@link CustomCallControlButtonCallback}.
|
|
3380
3482
|
*
|
|
3381
|
-
* Includes the
|
|
3483
|
+
* Includes the placement prop necessary to indicate where to place the
|
|
3484
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
|
3382
3485
|
*
|
|
3383
3486
|
* @beta
|
|
3384
3487
|
*/
|
|
3385
|
-
export declare interface CustomCallControlButtonProps extends
|
|
3488
|
+
export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
|
|
3386
3489
|
/**
|
|
3387
3490
|
* Where to place the custom button relative to other buttons.
|
|
3388
3491
|
*/
|
|
3389
3492
|
placement: CustomCallControlButtonPlacement;
|
|
3493
|
+
/**
|
|
3494
|
+
* Icon to render. Icon is a non-default icon that is already registered by the composites.
|
|
3495
|
+
* Examples include icons from {@link CallCompositeIcons}
|
|
3496
|
+
*/
|
|
3497
|
+
iconName?: keyof CallCompositeIcons;
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
/**
|
|
3501
|
+
* A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
|
|
3502
|
+
*
|
|
3503
|
+
* The response indicates where the custom button should be placed.
|
|
3504
|
+
*
|
|
3505
|
+
* Performance tip: This callback is only called when either the callback or its arguments change.
|
|
3506
|
+
* @beta
|
|
3507
|
+
*/
|
|
3508
|
+
export declare type CustomCallWithChatControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
|
|
3509
|
+
|
|
3510
|
+
/**
|
|
3511
|
+
* Placement for a custom button injected in the {@link CallWithChatControlBar}.
|
|
3512
|
+
*
|
|
3513
|
+
* 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
|
|
3514
|
+
* 'overflow': Place the buttons(s) on the end of the overflow Menu.
|
|
3515
|
+
* 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
|
|
3516
|
+
*
|
|
3517
|
+
* Multiple buttons assigned the same placement are appended in order.
|
|
3518
|
+
* E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
|
|
3519
|
+
* in the order provided.
|
|
3520
|
+
*
|
|
3521
|
+
* @beta
|
|
3522
|
+
*/
|
|
3523
|
+
export declare type CustomCallWithChatControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
* Response from {@link CustomCallWithChatControlButtonCallback}.
|
|
3527
|
+
*
|
|
3528
|
+
* Includes the icon and placement prop necessary to indicate where to place the
|
|
3529
|
+
* {@link ControlBarButton} and a {@link DrawerMenuItem}
|
|
3530
|
+
*
|
|
3531
|
+
* @beta
|
|
3532
|
+
*/
|
|
3533
|
+
export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
|
|
3534
|
+
/**
|
|
3535
|
+
* Where to place the custom button relative to other buttons.
|
|
3536
|
+
*/
|
|
3537
|
+
placement: CustomCallWithChatControlButtonPlacement;
|
|
3538
|
+
/**
|
|
3539
|
+
* Icon to render. Icon is a non-default icon that is already registered by the composites.
|
|
3540
|
+
* Examples include icons from {@link CallWithChatCompositeIcons}
|
|
3541
|
+
*/
|
|
3542
|
+
iconName?: keyof CallWithChatCompositeIcons;
|
|
3543
|
+
}
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
|
|
3547
|
+
*
|
|
3548
|
+
* @beta
|
|
3549
|
+
*/
|
|
3550
|
+
export declare interface CustomControlButtonProps {
|
|
3551
|
+
onItemClick?: () => void;
|
|
3552
|
+
/**
|
|
3553
|
+
* Whether the buttons is disabled
|
|
3554
|
+
*/
|
|
3555
|
+
disabled?: boolean;
|
|
3556
|
+
/**
|
|
3557
|
+
* Whether the label is displayed or not.
|
|
3558
|
+
*
|
|
3559
|
+
* @defaultValue `false`
|
|
3560
|
+
*/
|
|
3561
|
+
showLabel?: boolean;
|
|
3562
|
+
/**
|
|
3563
|
+
* Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
|
|
3564
|
+
*/
|
|
3565
|
+
styles?: ControlBarButtonStyles | BaseCustomStyles;
|
|
3566
|
+
/**
|
|
3567
|
+
* Optional label for the button
|
|
3568
|
+
*/
|
|
3569
|
+
text?: string;
|
|
3390
3570
|
}
|
|
3391
3571
|
|
|
3392
3572
|
/**
|
|
@@ -3456,6 +3636,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
|
3456
3636
|
ParticipantItemOptions: JSX.Element;
|
|
3457
3637
|
ParticipantItemOptionsHovered: JSX.Element;
|
|
3458
3638
|
ParticipantItemScreenShareStart: JSX.Element;
|
|
3639
|
+
HoldCall: JSX.Element;
|
|
3640
|
+
ResumeCall: JSX.Element;
|
|
3459
3641
|
SendBoxSend: JSX.Element;
|
|
3460
3642
|
SendBoxSendHovered: JSX.Element;
|
|
3461
3643
|
VideoTileMicOff: JSX.Element;
|
|
@@ -3534,6 +3716,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
|
3534
3716
|
CancelFileUpload: JSX.Element;
|
|
3535
3717
|
DownloadFile: JSX.Element;
|
|
3536
3718
|
MessageResend: JSX.Element;
|
|
3719
|
+
HoldCall: JSX.Element;
|
|
3720
|
+
ResumeCall: JSX.Element;
|
|
3537
3721
|
};
|
|
3538
3722
|
|
|
3539
3723
|
/**
|
|
@@ -3754,6 +3938,59 @@ export declare interface DiagnosticsCallFeatureState {
|
|
|
3754
3938
|
media: MediaDiagnosticsState;
|
|
3755
3939
|
}
|
|
3756
3940
|
|
|
3941
|
+
/**
|
|
3942
|
+
* A component to allow users to enter phone number through clicking on dialpad/using keyboard
|
|
3943
|
+
* It will return empty component for stable builds
|
|
3944
|
+
*
|
|
3945
|
+
* @beta
|
|
3946
|
+
*/
|
|
3947
|
+
export declare const Dialpad: (props: DialpadProps) => JSX.Element;
|
|
3948
|
+
|
|
3949
|
+
/**
|
|
3950
|
+
* Type for {@link DialpadButton} input
|
|
3951
|
+
*
|
|
3952
|
+
* @beta
|
|
3953
|
+
*/
|
|
3954
|
+
export declare interface DialpadButtonProps {
|
|
3955
|
+
primaryContent: string;
|
|
3956
|
+
secondaryContent?: string;
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
/**
|
|
3960
|
+
* Props for {@link Dialpad} component.
|
|
3961
|
+
*
|
|
3962
|
+
* @beta
|
|
3963
|
+
*/
|
|
3964
|
+
export declare interface DialpadProps {
|
|
3965
|
+
strings?: DialpadStrings;
|
|
3966
|
+
onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
|
|
3967
|
+
onClickDialpadButton?: () => void;
|
|
3968
|
+
onDisplayDialpadInput?: (input: string) => string;
|
|
3969
|
+
styles?: DialpadStyles;
|
|
3970
|
+
}
|
|
3971
|
+
|
|
3972
|
+
/**
|
|
3973
|
+
* Strings of {@link Dialpad} that can be overridden.
|
|
3974
|
+
*
|
|
3975
|
+
* @beta
|
|
3976
|
+
*/
|
|
3977
|
+
export declare interface DialpadStrings {
|
|
3978
|
+
placeholderText: string;
|
|
3979
|
+
}
|
|
3980
|
+
|
|
3981
|
+
/**
|
|
3982
|
+
* Styles for {@link Dialpad} component.
|
|
3983
|
+
*
|
|
3984
|
+
* @beta
|
|
3985
|
+
*/
|
|
3986
|
+
export declare interface DialpadStyles {
|
|
3987
|
+
root?: IStyle;
|
|
3988
|
+
button?: IButtonStyles;
|
|
3989
|
+
textField?: Partial<ITextFieldStyles>;
|
|
3990
|
+
primaryContent?: IStyle;
|
|
3991
|
+
secondaryContent?: IStyle;
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3757
3994
|
/**
|
|
3758
3995
|
* Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
|
|
3759
3996
|
*
|
|
@@ -3774,6 +4011,13 @@ export declare interface Disposable {
|
|
|
3774
4011
|
dispose(): void;
|
|
3775
4012
|
}
|
|
3776
4013
|
|
|
4014
|
+
/**
|
|
4015
|
+
* DTMF tone for PSTN calls.
|
|
4016
|
+
*
|
|
4017
|
+
* @beta
|
|
4018
|
+
*/
|
|
4019
|
+
export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
|
|
4020
|
+
|
|
3777
4021
|
/**
|
|
3778
4022
|
* A type for trivial selectors that return no data.
|
|
3779
4023
|
*
|
|
@@ -4216,7 +4460,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
|
4216
4460
|
*
|
|
4217
4461
|
* @public
|
|
4218
4462
|
*/
|
|
4219
|
-
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;
|
|
4463
|
+
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;
|
|
4220
4464
|
|
|
4221
4465
|
/**
|
|
4222
4466
|
* Get the selector for a specified component.
|
|
@@ -4278,6 +4522,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
|
|
|
4278
4522
|
children?: IStyle;
|
|
4279
4523
|
}
|
|
4280
4524
|
|
|
4525
|
+
/**
|
|
4526
|
+
* a button to hold or resume a ongoing call.
|
|
4527
|
+
*
|
|
4528
|
+
* Can be used with {@link ControlBar}
|
|
4529
|
+
*
|
|
4530
|
+
* @param props - properties for the hold button.
|
|
4531
|
+
* @returns
|
|
4532
|
+
* @beta
|
|
4533
|
+
*/
|
|
4534
|
+
export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
|
|
4535
|
+
|
|
4536
|
+
/**
|
|
4537
|
+
*@beta
|
|
4538
|
+
*/
|
|
4539
|
+
export declare interface HoldButtonProps extends ControlBarButtonProps {
|
|
4540
|
+
/**
|
|
4541
|
+
* Utility property for using this component with communication react handlers
|
|
4542
|
+
* Holds the call or resumes it based on call state.
|
|
4543
|
+
*/
|
|
4544
|
+
onToggleHold: () => Promise<void>;
|
|
4545
|
+
/**
|
|
4546
|
+
* Optional strings to override in component
|
|
4547
|
+
*/
|
|
4548
|
+
strings?: HoldButtonStrings;
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
/**
|
|
4552
|
+
* Selector type for the {@link HoldButton} component.
|
|
4553
|
+
* @public
|
|
4554
|
+
*/
|
|
4555
|
+
export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
|
|
4556
|
+
checked: boolean;
|
|
4557
|
+
};
|
|
4558
|
+
|
|
4559
|
+
/**
|
|
4560
|
+
* Strings for the hold button labels
|
|
4561
|
+
* @beta
|
|
4562
|
+
*/
|
|
4563
|
+
export declare interface HoldButtonStrings {
|
|
4564
|
+
/**
|
|
4565
|
+
* Label for when action is to resume call.
|
|
4566
|
+
*/
|
|
4567
|
+
onLabel: string;
|
|
4568
|
+
/**
|
|
4569
|
+
* Label for when action is to hold call.
|
|
4570
|
+
*/
|
|
4571
|
+
offLabel: string;
|
|
4572
|
+
/**
|
|
4573
|
+
* Content for when button is checked
|
|
4574
|
+
*/
|
|
4575
|
+
tooltipOnContent: string;
|
|
4576
|
+
/**
|
|
4577
|
+
* Content for when button is unchecked
|
|
4578
|
+
*/
|
|
4579
|
+
toolTipOffContent: string;
|
|
4580
|
+
}
|
|
4581
|
+
|
|
4281
4582
|
/**
|
|
4282
4583
|
* {@link HorizontalGallery} Component Styles.
|
|
4283
4584
|
* @public
|
|
@@ -4438,6 +4739,12 @@ export declare interface JumpToNewMessageButtonProps {
|
|
|
4438
4739
|
*/
|
|
4439
4740
|
export declare const lightTheme: PartialTheme & CallingTheme;
|
|
4440
4741
|
|
|
4742
|
+
/**
|
|
4743
|
+
* Whether the stream is loading or not.
|
|
4744
|
+
* @public
|
|
4745
|
+
*/
|
|
4746
|
+
export declare type LoadingState = 'loading' | 'none';
|
|
4747
|
+
|
|
4441
4748
|
/**
|
|
4442
4749
|
* Provider to provide localized strings for this library's react components.
|
|
4443
4750
|
*
|
|
@@ -4589,9 +4896,8 @@ export declare type MessageProps = {
|
|
|
4589
4896
|
*
|
|
4590
4897
|
* @param messageId - message id from chatClient
|
|
4591
4898
|
* @param content - new content of the message
|
|
4592
|
-
*
|
|
4593
4899
|
*/
|
|
4594
|
-
onUpdateMessage?:
|
|
4900
|
+
onUpdateMessage?: UpdateMessageCallback;
|
|
4595
4901
|
/**
|
|
4596
4902
|
* Optional callback to delete a message.
|
|
4597
4903
|
*
|
|
@@ -4762,6 +5068,7 @@ export declare type MessageThreadProps = {
|
|
|
4762
5068
|
disableJumpToNewMessageButton?: boolean;
|
|
4763
5069
|
/**
|
|
4764
5070
|
* Whether the date of each message is displayed or not.
|
|
5071
|
+
* It is ignored when onDisplayDateTimeString is supplied.
|
|
4765
5072
|
*
|
|
4766
5073
|
* @defaultValue `false`
|
|
4767
5074
|
*/
|
|
@@ -4830,7 +5137,7 @@ export declare type MessageThreadProps = {
|
|
|
4830
5137
|
* @param content - new content of the message
|
|
4831
5138
|
*
|
|
4832
5139
|
*/
|
|
4833
|
-
onUpdateMessage?:
|
|
5140
|
+
onUpdateMessage?: UpdateMessageCallback;
|
|
4834
5141
|
/**
|
|
4835
5142
|
* Optional callback to delete a message.
|
|
4836
5143
|
*
|
|
@@ -4865,6 +5172,11 @@ export declare type MessageThreadProps = {
|
|
|
4865
5172
|
* this function will be called with the data inside `fileSharingMetadata` key.
|
|
4866
5173
|
*/
|
|
4867
5174
|
fileDownloadHandler?: FileDownloadHandler;
|
|
5175
|
+
/**
|
|
5176
|
+
* Optional function to provide customized date format.
|
|
5177
|
+
* @beta
|
|
5178
|
+
*/
|
|
5179
|
+
onDisplayDateTimeString?: (messageDate: Date) => string;
|
|
4868
5180
|
};
|
|
4869
5181
|
|
|
4870
5182
|
/**
|
|
@@ -5079,9 +5391,25 @@ export declare interface MicrophoneButtonStrings {
|
|
|
5079
5391
|
*/
|
|
5080
5392
|
speakerMenuTooltip?: string;
|
|
5081
5393
|
/**
|
|
5082
|
-
*
|
|
5394
|
+
* Description of microphone button split button role
|
|
5395
|
+
*/
|
|
5396
|
+
microphoneButtonSplitRoleDescription: string;
|
|
5397
|
+
/**
|
|
5398
|
+
* Microphone split button aria label when mic is enabled.
|
|
5399
|
+
*/
|
|
5400
|
+
onSplitButtonAriaLabel?: string;
|
|
5401
|
+
/**
|
|
5402
|
+
* Microphone split button aria label when mic is disabled.
|
|
5403
|
+
*/
|
|
5404
|
+
offSplitButtonAriaLabel?: string;
|
|
5405
|
+
/**
|
|
5406
|
+
* Microphone action turned on string for announcer
|
|
5407
|
+
*/
|
|
5408
|
+
microphoneActionTurnedOnAnnouncement: string;
|
|
5409
|
+
/**
|
|
5410
|
+
* Microphone action turned off string for announcer
|
|
5083
5411
|
*/
|
|
5084
|
-
|
|
5412
|
+
microphoneActionTurnedOffAnnouncement: string;
|
|
5085
5413
|
}
|
|
5086
5414
|
|
|
5087
5415
|
/**
|
|
@@ -5219,6 +5547,8 @@ export declare interface ParticipantItemStrings {
|
|
|
5219
5547
|
sharingIconLabel: string;
|
|
5220
5548
|
/** Label for the muted icon in participant state stack */
|
|
5221
5549
|
mutedIconLabel: string;
|
|
5550
|
+
/** placeholder text for participants who does not have a display name*/
|
|
5551
|
+
displayNamePlaceholder: string;
|
|
5222
5552
|
}
|
|
5223
5553
|
|
|
5224
5554
|
/**
|
|
@@ -5595,6 +5925,11 @@ export declare interface RemoteVideoStreamState {
|
|
|
5595
5925
|
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isAvailable}.
|
|
5596
5926
|
*/
|
|
5597
5927
|
isAvailable: boolean;
|
|
5928
|
+
/**
|
|
5929
|
+
* Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
|
|
5930
|
+
* @beta
|
|
5931
|
+
*/
|
|
5932
|
+
isReceiving: boolean;
|
|
5598
5933
|
/**
|
|
5599
5934
|
* {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
|
|
5600
5935
|
* API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
|
|
@@ -5893,7 +6228,7 @@ export declare interface StatefulCallClient extends CallClient {
|
|
|
5893
6228
|
* @param stream - The LocalVideoStreamState or RemoteVideoStreamState to start rendering.
|
|
5894
6229
|
* @param options - Options that are passed to the {@link @azure/communication-calling#VideoStreamRenderer}.
|
|
5895
6230
|
*/
|
|
5896
|
-
createView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState, options?: CreateViewOptions): Promise<
|
|
6231
|
+
createView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState, options?: CreateViewOptions): Promise<CreateViewResult | undefined>;
|
|
5897
6232
|
/**
|
|
5898
6233
|
* Stops rendering a {@link RemoteVideoStreamState} or {@link LocalVideoStreamState} and removes the
|
|
5899
6234
|
* {@link VideoStreamRendererView} from the relevant {@link RemoteVideoStreamState} in {@link CallClientState} or
|
|
@@ -6040,6 +6375,8 @@ export declare interface StreamMediaProps {
|
|
|
6040
6375
|
videoStreamElement: HTMLElement | null;
|
|
6041
6376
|
/** Decides whether to mirror the video or not. */
|
|
6042
6377
|
isMirrored?: boolean;
|
|
6378
|
+
/** Whether the stream is loading data */
|
|
6379
|
+
loadingState?: LoadingState;
|
|
6043
6380
|
/**
|
|
6044
6381
|
* Allows users to pass in an object contains custom CSS styles.
|
|
6045
6382
|
* @Example
|
|
@@ -6248,6 +6585,14 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
|
6248
6585
|
typingString?: IStyle;
|
|
6249
6586
|
}
|
|
6250
6587
|
|
|
6588
|
+
/**
|
|
6589
|
+
* @public
|
|
6590
|
+
* Callback function run when a message is updated.
|
|
6591
|
+
*/
|
|
6592
|
+
export declare type UpdateMessageCallback = (messageId: string, content: string, metadata?: Record<string, string>, options?: {
|
|
6593
|
+
attachedFilesMetadata?: FileMetadata[];
|
|
6594
|
+
}) => Promise<void>;
|
|
6595
|
+
|
|
6251
6596
|
/**
|
|
6252
6597
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
|
6253
6598
|
*
|
|
@@ -6459,13 +6804,13 @@ export declare interface VideoGalleryProps {
|
|
|
6459
6804
|
/** Remote videos view options */
|
|
6460
6805
|
remoteVideoViewOptions?: VideoStreamOptions;
|
|
6461
6806
|
/** Callback to create the local video stream view */
|
|
6462
|
-
onCreateLocalStreamView?: (options?: VideoStreamOptions) => Promise<void>;
|
|
6807
|
+
onCreateLocalStreamView?: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
|
6463
6808
|
/** Callback to dispose of the local video stream view */
|
|
6464
6809
|
onDisposeLocalStreamView?: () => void;
|
|
6465
6810
|
/** Callback to render the local video tile*/
|
|
6466
6811
|
onRenderLocalVideoTile?: (localParticipant: VideoGalleryLocalParticipant) => JSX.Element;
|
|
6467
6812
|
/** Callback to create a remote video stream view */
|
|
6468
|
-
onCreateRemoteStreamView?: (userId: string, options?: VideoStreamOptions) => Promise<void>;
|
|
6813
|
+
onCreateRemoteStreamView?: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
|
6469
6814
|
/** Callback to render a remote video tile */
|
|
6470
6815
|
onRenderRemoteVideoTile?: (remoteParticipant: VideoGalleryRemoteParticipant) => JSX.Element;
|
|
6471
6816
|
/** Callback to dispose a remote video stream view */
|
|
@@ -6528,6 +6873,8 @@ export declare interface VideoGalleryStream {
|
|
|
6528
6873
|
id?: number;
|
|
6529
6874
|
/** Whether the video stream is available or not */
|
|
6530
6875
|
isAvailable?: boolean;
|
|
6876
|
+
/** Whether the video stream is receiving data or not */
|
|
6877
|
+
isReceiving?: boolean;
|
|
6531
6878
|
/** Whether the video stream is mirrored or not */
|
|
6532
6879
|
isMirrored?: boolean;
|
|
6533
6880
|
/** Render element of the video stream */
|
|
@@ -6552,6 +6899,8 @@ export declare interface VideoGalleryStrings {
|
|
|
6552
6899
|
localVideoMovementLabel: string;
|
|
6553
6900
|
/** String for announcing the selected camera */
|
|
6554
6901
|
localVideoSelectedDescription: string;
|
|
6902
|
+
/** placeholder text for participants who does not have a display name*/
|
|
6903
|
+
displayNamePlaceholder: string;
|
|
6555
6904
|
}
|
|
6556
6905
|
|
|
6557
6906
|
/**
|
|
@@ -6576,15 +6925,12 @@ export declare interface VideoStreamOptions {
|
|
|
6576
6925
|
/** Whether the video stream is mirrored or not */
|
|
6577
6926
|
isMirrored?: boolean;
|
|
6578
6927
|
/** Scaling mode. It can be `Stretch`, `Crop` or `Fit` */
|
|
6579
|
-
scalingMode?:
|
|
6928
|
+
scalingMode?: ViewScalingMode;
|
|
6580
6929
|
}
|
|
6581
6930
|
|
|
6582
6931
|
/**
|
|
6583
|
-
* State only version of {@link @azure/communication-calling#VideoStreamRendererView}.
|
|
6584
|
-
*
|
|
6585
|
-
* stop rendering the stream and re-start it using the desired scalingMode. This property is added to the state exposed
|
|
6586
|
-
* by {@link StatefulCallClient} by {@link StatefulCallClient.createView} and removed by
|
|
6587
|
-
* {@link StatefulCallClient.disposeView}.
|
|
6932
|
+
* State only version of {@link @azure/communication-calling#VideoStreamRendererView}. This property is added to the state exposed
|
|
6933
|
+
* by {@link StatefulCallClient} by {@link StatefulCallClient.createView} and removed by {@link StatefulCallClient.disposeView}.
|
|
6588
6934
|
*
|
|
6589
6935
|
* @public
|
|
6590
6936
|
*/
|
|
@@ -6694,4 +7040,11 @@ export declare interface VideoTileStylesProps extends BaseCustomStyles {
|
|
|
6694
7040
|
displayNameContainer?: IStyle;
|
|
6695
7041
|
}
|
|
6696
7042
|
|
|
7043
|
+
/**
|
|
7044
|
+
* Scaling mode of a {@link VideoGalleryStream}.
|
|
7045
|
+
*
|
|
7046
|
+
* @public
|
|
7047
|
+
*/
|
|
7048
|
+
export declare type ViewScalingMode = 'Stretch' | 'Crop' | 'Fit';
|
|
7049
|
+
|
|
6697
7050
|
export { }
|