@azure/communication-react 1.18.0-beta.1 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/communication-react.d.ts +508 -1758
- package/dist/dist-cjs/communication-react/index.js +34363 -159
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/common.js +10 -2
- package/dist/dist-esm/acs-ui-common/src/common.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 -5
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +6 -11
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -12
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +1 -13
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -5
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +0 -8
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -14
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +1 -15
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +1 -27
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +3 -3
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +11 -11
- 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 -2
- package/dist/dist-esm/calling-component-bindings/src/index.js +2 -2
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.d.ts +23 -0
- package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js +201 -0
- package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +0 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +2 -8
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +0 -7
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +0 -12
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +0 -3
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +0 -3
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +1 -5
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +23 -58
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -12
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +16 -69
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -68
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -3
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +16 -28
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +0 -17
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +3 -61
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +0 -5
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +6 -17
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js +0 -11
- package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +9 -19
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -20
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +3 -4
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +2 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -18
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +2 -3
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +2 -3
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +2 -12
- package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.d.ts +1 -2
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js +0 -5
- package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +36 -37
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
- package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +1 -3
- package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +3 -0
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +4 -28
- package/dist/dist-esm/communication-react/src/index.js +2 -14
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js +1 -1
- package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +5 -4
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js +3 -3
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +1 -14
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js +16 -19
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +1 -7
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +2 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -35
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +5 -13
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +7 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.d.ts +1 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js +6 -40
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.d.ts +1 -16
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +0 -22
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.d.ts +2 -21
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +6 -21
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.d.ts +1 -8
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +6 -14
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +6 -19
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ErrorBar.js +3 -3
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +3 -7
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxButton.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/InputBoxButton.js +2 -2
- package/dist/dist-esm/react-components/src/components/InputBoxButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -18
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.d.ts +85 -0
- package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js +135 -0
- package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +1 -1
- package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +5 -50
- package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -30
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/{NotificationBar.d.ts → Notification.d.ts} +13 -13
- package/dist/dist-esm/react-components/src/components/{NotificationBar.js → Notification.js} +7 -7
- package/dist/dist-esm/react-components/src/components/Notification.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{Notifications.d.ts → NotificationStack.d.ts} +109 -73
- package/dist/dist-esm/react-components/src/components/NotificationStack.js +57 -0
- package/dist/dist-esm/react-components/src/components/NotificationStack.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -13
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js +0 -3
- package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +4 -21
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +1 -3
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +5 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +5 -1
- package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +1 -47
- package/dist/dist-esm/react-components/src/components/SendBox.js +8 -90
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +1 -1
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -15
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +1 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +0 -8
- package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -7
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +3 -20
- package/dist/dist-esm/react-components/src/components/index.js +6 -15
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +10 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.d.ts +5 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js +8 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js +4 -0
- package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +5 -3
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +40 -20
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/{NotificationBar.styles.d.ts → Notification.styles.d.ts} +1 -1
- package/dist/dist-esm/react-components/src/components/styles/{NotificationBar.styles.js → Notification.styles.js} +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Notification.styles.js.map +1 -0
- 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.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/TeamsMeetingConferenceInfo.d.ts +42 -0
- package/dist/dist-esm/react-components/src/components/styles/TeamsMeetingConferenceInfo.js +93 -0
- package/dist/dist-esm/react-components/src/components/styles/TeamsMeetingConferenceInfo.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.d.ts +1 -37
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +3 -34
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.d.ts +2 -4
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +2 -14
- package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +1 -11
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +2 -18
- package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
- package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/responsive.js +12 -2
- package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.d.ts +32 -1
- package/dist/dist-esm/react-components/src/components/utils.js +101 -1
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -4
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -5
- package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +0 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +7 -58
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +102 -64
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +98 -60
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +103 -65
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +102 -64
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +107 -69
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +106 -68
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +105 -67
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +103 -65
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +101 -63
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +100 -62
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +101 -63
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +102 -64
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +101 -63
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.d.ts +1 -0
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +4 -4
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -28
- package/dist/dist-esm/react-components/src/theming/icons.js +7 -136
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/themes.js +11 -20
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/Attachment.d.ts +0 -9
- package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -20
- package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
- package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +0 -6
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -72
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +86 -37
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +4 -108
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +12 -64
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +15 -150
- 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 +3 -51
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +20 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +83 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +2 -38
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +5 -19
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +65 -1
- 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/SidePane/useMeetingPhoneInfo.d.ts +13 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js +49 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +2 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +7 -30
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +12 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +7 -80
- 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 +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +6 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +6 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +5 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +11 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.d.ts +8 -7
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +20 -20
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +49 -14
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +104 -98
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -61
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +6 -27
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -15
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +5 -49
- 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 +3 -38
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -9
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -32
- 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 +4 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -13
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +1 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +10 -131
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +2 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +0 -27
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -3
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +2 -13
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
- package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +25 -19
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +29 -26
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +26 -23
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.d.ts +10 -0
- package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js +63 -0
- package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +9 -7
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -14
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.d.ts +1 -4
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -39
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +10 -12
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.d.ts +50 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.js +110 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/TeamsMeetingConferenceInfo.style.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +10 -17
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/utils.js +6 -6
- package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/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/he-IL/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 +6 -1
- 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/nb-NO/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +6 -1
- 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 +6 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +10 -5
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +6 -1
- 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/dist/tsdoc-metadata.json +1 -1
- package/package.json +16 -16
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-BWStTUhO.js +0 -136
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-BWStTUhO.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-Di3ptk8o.js +0 -39650
- package/dist/dist-cjs/communication-react/index-Di3ptk8o.js.map +0 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.d.ts +0 -17
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js +0 -36
- package/dist/dist-esm/calling-stateful-client/src/LocalRecordingSubscriber.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +0 -10
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +0 -15
- package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts +0 -17
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +0 -125
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +0 -69
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +0 -43
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +0 -75
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +0 -105
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +0 -68
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +0 -86
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +0 -39
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +0 -49
- package/dist/dist-esm/react-components/src/components/HoldButton.js +0 -25
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +0 -121
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -123
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/NotificationBar.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/Notifications.js +0 -46
- package/dist/dist-esm/react-components/src/components/Notifications.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.d.ts +0 -9
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js +0 -29
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/ContextMenuPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.d.ts +0 -22
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +0 -89
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.d.ts +0 -12
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js +0 -23
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/KeyboardInputPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js +0 -39
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/PlaceholderPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js +0 -64
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/RichTextToolbarPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.d.ts +0 -20
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js +0 -46
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/TableEditContextMenuProvider.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.d.ts +0 -29
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js +0 -73
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/UpdateContentPlugin.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.d.ts +0 -54
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +0 -226
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +0 -33
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +0 -82
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +0 -149
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +0 -182
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.d.ts +0 -16
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +0 -73
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.d.ts +0 -19
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js +0 -191
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/RichTextToolbar.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js +0 -51
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTableCommandBarItem.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.d.ts +0 -15
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js +0 -64
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextInsertTablePane.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.d.ts +0 -6
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js +0 -13
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Toolbar/Table/RichTextToolbarTableIcon.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.d.ts +0 -34
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +0 -39
- package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.d.ts +0 -14
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js +0 -18
- package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -24
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -550
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
- package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -69
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/NotificationBar.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +0 -82
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +0 -305
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.d.ts +0 -21
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +0 -38
- package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -92
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js +0 -32
- package/dist/dist-esm/react-components/src/components/styles/Stack.style.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.d.ts +0 -37
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js +0 -60
- package/dist/dist-esm/react-components/src/components/utils/RichTextEditorUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.d.ts +0 -33
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js +0 -116
- package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
- package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -48
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -24
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js +0 -23
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/AttachmentDownloadErrorBar.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.d.ts +0 -80
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js +0 -39
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUpload.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.d.ts +0 -38
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +0 -76
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js +0 -5
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -25
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -113
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -22
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
@@ -1,11 +1,10 @@
|
|
1
|
-
import { StatefulCallClient, StatefulDeviceManager, TeamsCall
|
1
|
+
import { StatefulCallClient, StatefulDeviceManager, TeamsCall } from "../../../../../calling-stateful-client/src";
|
2
2
|
import { _TelemetryImplementationHint } from "../../../../../acs-ui-common/src";
|
3
3
|
import { CallAgent, GroupCallLocator, TeamsMeetingLinkLocator, AudioDeviceInfo, VideoDeviceInfo, PermissionConstraints, PropertyChangedEvent, RoomCallLocator, StartCallOptions, Call } from '@azure/communication-calling';
|
4
4
|
import { TeamsMeetingIdLocator } from '@azure/communication-calling';
|
5
5
|
import { Reaction } from '@azure/communication-calling';
|
6
6
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
7
7
|
import { TeamsCallAgent } from '@azure/communication-calling';
|
8
|
-
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
9
8
|
import { DtmfTone } from '@azure/communication-calling';
|
10
9
|
import { CommonCallAdapter, CallEndedListener, CallIdChangedListener, CallAdapterState, DisplayNameChangedListener, IsMutedChangedListener, IsLocalScreenSharingActiveChangedListener, IsSpeakingChangedListener, ParticipantsJoinedListener, ParticipantsLeftListener, DiagnosticChangedEventListner, CallAdapter, JoinCallOptions, StartCallIdentifier } from './CallAdapter';
|
11
10
|
import { ReactionResources } from "../../../../../react-components/src";
|
@@ -16,14 +15,13 @@ import { CaptionsReceivedListener, IsCaptionsActiveChangedListener, IsCaptionLan
|
|
16
15
|
import { VideoBackgroundImage, VideoBackgroundEffect } from './CallAdapter';
|
17
16
|
import { TeamsCallAdapter } from './CallAdapter';
|
18
17
|
import { CreateVideoStreamViewResult, VideoStreamOptions } from "../../../../../react-components/src";
|
19
|
-
import { CommunicationTokenCredential, CommunicationUserIdentifier,
|
20
|
-
import { PhoneNumberIdentifier } from '@azure/communication-common';
|
18
|
+
import { CommunicationTokenCredential, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier, UnknownIdentifier } from '@azure/communication-common';
|
21
19
|
import { AdapterError } from '../../common/adapters';
|
22
20
|
import { OnFetchProfileCallback } from './OnFetchProfileCallback';
|
23
21
|
import { VideoBackgroundEffectsDependency } from "../../../../../calling-component-bindings/src";
|
24
22
|
import { CallSurvey, CallSurveyResponse } from '@azure/communication-calling';
|
25
23
|
import { CallingSounds } from './CallAdapter';
|
26
|
-
type CallTypeOf<AgentType extends CallAgent |
|
24
|
+
type CallTypeOf<AgentType extends CallAgent | TeamsCallAgent> = AgentType extends CallAgent ? Call : TeamsCall;
|
27
25
|
/**
|
28
26
|
* @private
|
29
27
|
*/
|
@@ -31,7 +29,7 @@ export type AdapterStateModifier = (state: CallAdapterState) => CallAdapterState
|
|
31
29
|
/**
|
32
30
|
* @private
|
33
31
|
*/
|
34
|
-
export declare class AzureCommunicationCallAdapter<AgentType extends CallAgent |
|
32
|
+
export declare class AzureCommunicationCallAdapter<AgentType extends CallAgent | TeamsCallAgent = CallAgent> implements CommonCallAdapter {
|
35
33
|
private callClient;
|
36
34
|
private callAgent;
|
37
35
|
private deviceManager;
|
@@ -77,20 +75,15 @@ export declare class AzureCommunicationCallAdapter<AgentType extends CallAgent |
|
|
77
75
|
raiseHand(): Promise<void>;
|
78
76
|
lowerHand(): Promise<void>;
|
79
77
|
onReactionClick(reaction: Reaction): Promise<void>;
|
80
|
-
allowUnsupportedBrowserVersion(): void;
|
81
78
|
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
82
79
|
stopVideoBackgroundEffects(): Promise<void>;
|
83
80
|
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
84
81
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
85
|
-
startCall(participants: string[] | (MicrosoftTeamsAppIdentifier |
|
82
|
+
startCall(participants: string[] | (MicrosoftTeamsAppIdentifier | UnknownIdentifier)[], options?: StartCallOptions): CallTypeOf<AgentType> | undefined;
|
86
83
|
private processNewCall;
|
87
84
|
private isBlurEffect;
|
88
85
|
private isReplacementEffect;
|
89
|
-
removeParticipant(userId: string
|
90
|
-
addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
|
91
|
-
addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
92
|
-
holdCall(): Promise<void>;
|
93
|
-
resumeCall(): Promise<void>;
|
86
|
+
removeParticipant(userId: string): Promise<void>;
|
94
87
|
sendDtmfTone(dtmfTone: DtmfTone): Promise<void>;
|
95
88
|
startCaptions(options?: StartCaptionsOptions): Promise<void>;
|
96
89
|
stopCaptions(): Promise<void>;
|
@@ -128,11 +121,9 @@ export declare class AzureCommunicationCallAdapter<AgentType extends CallAgent |
|
|
128
121
|
private subscribeCallEvents;
|
129
122
|
private unsubscribeCallEvents;
|
130
123
|
private isMyMutedChanged;
|
131
|
-
private captionsKindChanged;
|
132
124
|
private onRemoteParticipantsUpdated;
|
133
125
|
private isScreenSharingOnChanged;
|
134
126
|
private teamsCaptionsReceived;
|
135
|
-
private captionsReceived;
|
136
127
|
private isCaptionsActiveChanged;
|
137
128
|
private isSpokenLanguageChanged;
|
138
129
|
private isCaptionLanguageChanged;
|
@@ -165,28 +156,12 @@ export declare class AzureCommunicationCallAdapter<AgentType extends CallAgent |
|
|
165
156
|
private asyncTeeErrorToEventEmitter;
|
166
157
|
private teeErrorToEventEmitter;
|
167
158
|
}
|
168
|
-
/**
|
169
|
-
* Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
|
170
|
-
*
|
171
|
-
* @remarks
|
172
|
-
* This is currently in beta and only supports calling one Teams User.
|
173
|
-
*
|
174
|
-
* @example
|
175
|
-
* ```
|
176
|
-
* ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
|
177
|
-
* ```
|
178
|
-
*
|
179
|
-
* @beta
|
180
|
-
*/
|
181
|
-
export type CallParticipantsLocator = {
|
182
|
-
participantIds: string[];
|
183
|
-
};
|
184
159
|
/**
|
185
160
|
* Locator used by {@link createAzureCommunicationCallAdapter} to locate the call to join
|
186
161
|
*
|
187
162
|
* @public
|
188
163
|
*/
|
189
|
-
export type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | /* @conditional-compile-remove(
|
164
|
+
export type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | /* @conditional-compile-remove(meeting-id) */ TeamsMeetingIdLocator;
|
190
165
|
/**
|
191
166
|
* Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
|
192
167
|
*
|
@@ -234,11 +209,6 @@ export type AzureCommunicationCallAdapterArgs = {
|
|
234
209
|
displayName: string;
|
235
210
|
credential: CommunicationTokenCredential;
|
236
211
|
locator: CallAdapterLocator;
|
237
|
-
/**
|
238
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
239
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
240
|
-
*/
|
241
|
-
alternateCallerId?: string;
|
242
212
|
/**
|
243
213
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
244
214
|
*/
|
@@ -258,11 +228,6 @@ export type AzureCommunicationOutboundCallAdapterArgs = {
|
|
258
228
|
displayName: string;
|
259
229
|
credential: CommunicationTokenCredential;
|
260
230
|
targetCallees: StartCallIdentifier[];
|
261
|
-
/**
|
262
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
263
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
264
|
-
*/
|
265
|
-
alternateCallerId?: string;
|
266
231
|
/**
|
267
232
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
268
233
|
*/
|
@@ -290,23 +255,7 @@ export type TeamsCallAdapterArgsCommon = {
|
|
290
255
|
* @public
|
291
256
|
*/
|
292
257
|
export type TeamsCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
293
|
-
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(
|
294
|
-
};
|
295
|
-
/**
|
296
|
-
* Parameter to start a call using a Teams user identity.
|
297
|
-
*
|
298
|
-
* @beta
|
299
|
-
*/
|
300
|
-
export type StartTeamsCallIdentifier = MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier;
|
301
|
-
/**
|
302
|
-
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
303
|
-
*
|
304
|
-
* This is used to create an outbound call scenarios.
|
305
|
-
*
|
306
|
-
* @beta
|
307
|
-
*/
|
308
|
-
export type TeamsOutboundCallAdapterArgs = TeamsCallAdapterArgsCommon & {
|
309
|
-
targetCallees: StartTeamsCallIdentifier[];
|
258
|
+
locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(meeting-id) */ TeamsMeetingIdLocator;
|
310
259
|
};
|
311
260
|
/**
|
312
261
|
* Create a {@link CallAdapter} backed by Azure Communication Services.
|
@@ -333,20 +282,19 @@ export declare function createAzureCommunicationCallAdapter(args: AzureCommunica
|
|
333
282
|
*
|
334
283
|
* @internal
|
335
284
|
*/
|
336
|
-
export declare const _createAzureCommunicationCallAdapterInner: ({ userId, displayName, credential, locator, targetCallees,
|
285
|
+
export declare const _createAzureCommunicationCallAdapterInner: ({ userId, displayName, credential, locator, targetCallees, options, telemetryImplementationHint }: {
|
337
286
|
userId: CommunicationUserIdentifier;
|
338
287
|
displayName: string;
|
339
288
|
credential: CommunicationTokenCredential;
|
340
289
|
locator: CallAdapterLocator;
|
341
290
|
targetCallees?: StartCallIdentifier[];
|
342
|
-
alternateCallerId?: string;
|
343
291
|
options?: AzureCommunicationCallAdapterOptions;
|
344
292
|
telemetryImplementationHint?: _TelemetryImplementationHint;
|
345
293
|
}) => Promise<CallAdapter>;
|
346
294
|
/**
|
347
295
|
* @public
|
348
296
|
*/
|
349
|
-
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs
|
297
|
+
export declare const createTeamsCallAdapter: (args: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
350
298
|
/**
|
351
299
|
* A custom React hook to simplify the creation of {@link CallAdapter}.
|
352
300
|
*
|
@@ -376,7 +324,7 @@ export declare const useAzureCommunicationCallAdapter: (args: Partial<AzureCommu
|
|
376
324
|
*
|
377
325
|
* @public
|
378
326
|
*/
|
379
|
-
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs
|
327
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: (adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>, beforeDispose?: (adapter: TeamsCallAdapter) => Promise<void>) => TeamsCallAdapter | undefined;
|
380
328
|
/**
|
381
329
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
382
330
|
*
|
@@ -403,6 +351,6 @@ export declare function createAzureCommunicationCallAdapterFromClient(callClient
|
|
403
351
|
*
|
404
352
|
* @public
|
405
353
|
*/
|
406
|
-
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator
|
354
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
|
407
355
|
export {};
|
408
356
|
//# sourceMappingURL=AzureCommunicationCallAdapter.d.ts.map
|
@@ -22,8 +22,6 @@ import { toFlatCommunicationIdentifier, _toCommunicationIdentifier, _isValidIden
|
|
22
22
|
import { isMicrosoftTeamsUserIdentifier, isMicrosoftTeamsAppIdentifier } from '@azure/communication-common';
|
23
23
|
/* @conditional-compile-remove(teams-identity-support) */ /* @conditional-compile-remove(PSTN-calls) */
|
24
24
|
import { isCommunicationUserIdentifier } from '@azure/communication-common';
|
25
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
26
|
-
import { isPhoneNumberIdentifier } from '@azure/communication-common';
|
27
25
|
import { ParticipantSubscriber } from './ParticipantSubcriber';
|
28
26
|
import { DiagnosticsForwarder } from './DiagnosticsForwarder';
|
29
27
|
import { useEffect, useRef, useState } from 'react';
|
@@ -49,9 +47,6 @@ class CallContext {
|
|
49
47
|
isTeamsCall,
|
50
48
|
isTeamsMeeting,
|
51
49
|
isRoomsCall,
|
52
|
-
/* @conditional-compile-remove(PSTN-calls) */ alternateCallerId: clientState.alternateCallerId,
|
53
|
-
/* @conditional-compile-remove(unsupported-browser) */ environmentInfo: clientState.environmentInfo,
|
54
|
-
/* @conditional-compile-remove(unsupported-browser) */ unsupportedBrowserVersionsAllowed: false,
|
55
50
|
videoBackgroundImages: (_b = options === null || options === void 0 ? void 0 : options.videoBackgroundOptions) === null || _b === void 0 ? void 0 : _b.videoBackgroundImages,
|
56
51
|
onResolveVideoEffectDependency: (_c = options === null || options === void 0 ? void 0 : options.videoBackgroundOptions) === null || _c === void 0 ? void 0 : _c.onResolveDependency,
|
57
52
|
selectedVideoBackgroundEffect: undefined,
|
@@ -65,10 +60,7 @@ class CallContext {
|
|
65
60
|
this.setState(this.getState());
|
66
61
|
}) : undefined;
|
67
62
|
}
|
68
|
-
bindPublicMethods() {
|
69
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
70
|
-
this.setAllowedUnsupportedBrowser.bind(this);
|
71
|
-
}
|
63
|
+
bindPublicMethods() { }
|
72
64
|
onStateChange(handler) {
|
73
65
|
this.emitter.on('stateChanged', handler);
|
74
66
|
}
|
@@ -104,14 +96,9 @@ class CallContext {
|
|
104
96
|
const latestEndedCall = clientState.callsEnded ? findLatestEndedCall(clientState.callsEnded) : undefined;
|
105
97
|
// As the state is transitioning to a new state, trigger appropriate callback events.
|
106
98
|
const oldPage = this.state.page;
|
107
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
108
|
-
const environmentInfo = {
|
109
|
-
environmentInfo: this.state.environmentInfo,
|
110
|
-
unsupportedBrowserVersionOptedIn: this.state.unsupportedBrowserVersionsAllowed
|
111
|
-
};
|
112
99
|
const latestAcceptedTransfer = (call === null || call === void 0 ? void 0 : call.transfer.acceptedTransfers) ? findLatestAcceptedTransfer(call.transfer.acceptedTransfers) : undefined;
|
113
100
|
const transferCall = latestAcceptedTransfer ? clientState.calls[latestAcceptedTransfer.callId] : undefined;
|
114
|
-
const newPage = getCallCompositePage(call, latestEndedCall, transferCall
|
101
|
+
const newPage = getCallCompositePage(call, latestEndedCall, transferCall);
|
115
102
|
if (!IsCallEndedPage(oldPage) && IsCallEndedPage(newPage)) {
|
116
103
|
this.emitter.emit('callEnded', {
|
117
104
|
callId: this.callId
|
@@ -125,10 +112,6 @@ class CallContext {
|
|
125
112
|
this.setState(Object.assign(Object.assign({}, this.state), { userId: clientState.userId, displayName: (_a = clientState.callAgent) === null || _a === void 0 ? void 0 : _a.displayName, call, page: newPage, endedCall: latestEndedCall, devices: clientState.deviceManager, latestErrors: clientState.latestErrors, cameraStatus: (call === null || call === void 0 ? void 0 : call.localVideoStreams.find(s => s.mediaStreamType === 'Video')) || clientState.deviceManager.unparentedViews.find(s => s.mediaStreamType === 'Video') ? 'On' : 'Off', acceptedTransferCallState: transferCall }));
|
126
113
|
}
|
127
114
|
}
|
128
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
129
|
-
setAllowedUnsupportedBrowser() {
|
130
|
-
this.setState(Object.assign(Object.assign({}, this.state), { unsupportedBrowserVersionsAllowed: true }));
|
131
|
-
}
|
132
115
|
setBackroundPickerImages(videoBackgroundImages) {
|
133
116
|
this.setState(Object.assign(Object.assign({}, this.state), { videoBackgroundImages }));
|
134
117
|
}
|
@@ -207,7 +190,7 @@ export class AzureCommunicationCallAdapter {
|
|
207
190
|
this.context = new CallContext(callClient.getState(), !!isTeamsCall, isTeamsMeeting, isRoomsCall, options, this.targetCallees);
|
208
191
|
this.context.onCallEnded(endCallData => this.emitter.emit('callEnded', endCallData));
|
209
192
|
const onStateChange = (clientState) => {
|
210
|
-
var _a, _b, _c;
|
193
|
+
var _a, _b, _c, _d, _e;
|
211
194
|
// unsubscribe when the instance gets disposed
|
212
195
|
if (!this) {
|
213
196
|
callClient.offStateChange(onStateChange);
|
@@ -221,8 +204,12 @@ export class AzureCommunicationCallAdapter {
|
|
221
204
|
if ((_a = this.call) === null || _a === void 0 ? void 0 : _a.id) {
|
222
205
|
this.context.setCurrentCallId(this.call.id);
|
223
206
|
}
|
207
|
+
// if the call hits the connected state we want to pause all calling sounds if playing.
|
208
|
+
if (((_b = this.call) === null || _b === void 0 ? void 0 : _b.state) === 'Connected' && ((_c = this.callingSoundSubscriber) === null || _c === void 0 ? void 0 : _c.playingSounds)) {
|
209
|
+
this.callingSoundSubscriber.pauseSounds();
|
210
|
+
}
|
224
211
|
// If the call connects we need to clean up any previous unparentedViews
|
225
|
-
if ((((
|
212
|
+
if ((((_d = this.call) === null || _d === void 0 ? void 0 : _d.state) === 'InLobby' || ((_e = this.call) === null || _e === void 0 ? void 0 : _e.state) === 'Connected') && this.callClient.getState().deviceManager.unparentedViews.length > 0) {
|
226
213
|
this.callClient.getState().deviceManager.unparentedViews.forEach(view => {
|
227
214
|
this.callClient.disposeView(undefined, undefined, view);
|
228
215
|
});
|
@@ -315,15 +302,7 @@ export class AzureCommunicationCallAdapter {
|
|
315
302
|
this.on.bind(this);
|
316
303
|
this.off.bind(this);
|
317
304
|
this.processNewCall.bind(this);
|
318
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
319
|
-
this.addParticipant.bind(this);
|
320
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
321
|
-
this.holdCall.bind(this);
|
322
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
323
|
-
this.resumeCall.bind(this);
|
324
305
|
this.sendDtmfTone.bind(this);
|
325
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
326
|
-
this.allowUnsupportedBrowserVersion.bind(this);
|
327
306
|
this.startCaptions.bind(this);
|
328
307
|
this.stopCaptions.bind(this);
|
329
308
|
this.setSpokenLanguage.bind(this);
|
@@ -639,11 +618,6 @@ export class AzureCommunicationCallAdapter {
|
|
639
618
|
}));
|
640
619
|
});
|
641
620
|
}
|
642
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
643
|
-
allowUnsupportedBrowserVersion() {
|
644
|
-
this.context.setAllowedUnsupportedBrowser();
|
645
|
-
this.context.updateClientState(this.callClient.getState());
|
646
|
-
}
|
647
621
|
startVideoBackgroundEffect(videoBackgroundEffect) {
|
648
622
|
return __awaiter(this, void 0, void 0, function* () {
|
649
623
|
if (this.isBlurEffect(videoBackgroundEffect)) {
|
@@ -717,52 +691,9 @@ export class AzureCommunicationCallAdapter {
|
|
717
691
|
removeParticipant(userId) {
|
718
692
|
return __awaiter(this, void 0, void 0, function* () {
|
719
693
|
let participant = userId;
|
720
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
721
|
-
participant = _toCommunicationIdentifier(userId);
|
722
694
|
this.handlers.onRemoveParticipant(participant);
|
723
695
|
});
|
724
696
|
}
|
725
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
726
|
-
addParticipant(participant, options) {
|
727
|
-
return __awaiter(this, void 0, void 0, function* () {
|
728
|
-
if (isPhoneNumberIdentifier(participant) && options) {
|
729
|
-
this.handlers.onAddParticipant(participant, options);
|
730
|
-
}
|
731
|
-
else if (isCommunicationUserIdentifier(participant)) {
|
732
|
-
this.handlers.onAddParticipant(participant);
|
733
|
-
}
|
734
|
-
});
|
735
|
-
}
|
736
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
737
|
-
holdCall() {
|
738
|
-
return __awaiter(this, void 0, void 0, function* () {
|
739
|
-
var _a, _b;
|
740
|
-
if (((_a = this.call) === null || _a === void 0 ? void 0 : _a.state) !== 'LocalHold') {
|
741
|
-
if ((_b = this.call) === null || _b === void 0 ? void 0 : _b.isLocalVideoStarted) {
|
742
|
-
this.stopCamera().then(() => {
|
743
|
-
this.handlers.onToggleHold();
|
744
|
-
});
|
745
|
-
}
|
746
|
-
else {
|
747
|
-
this.handlers.onToggleHold();
|
748
|
-
}
|
749
|
-
}
|
750
|
-
});
|
751
|
-
}
|
752
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
753
|
-
resumeCall() {
|
754
|
-
return __awaiter(this, void 0, void 0, function* () {
|
755
|
-
var _a;
|
756
|
-
if (((_a = this.call) === null || _a === void 0 ? void 0 : _a.state) === 'LocalHold') {
|
757
|
-
this.handlers.onToggleHold().then(() => {
|
758
|
-
var _a;
|
759
|
-
if (((_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.Capabilities).capabilities.turnVideoOn.isPresent) === false) {
|
760
|
-
this.stopCamera();
|
761
|
-
}
|
762
|
-
});
|
763
|
-
}
|
764
|
-
});
|
765
|
-
}
|
766
697
|
sendDtmfTone(dtmfTone) {
|
767
698
|
return __awaiter(this, void 0, void 0, function* () {
|
768
699
|
this.handlers.onSendDtmfTone(dtmfTone);
|
@@ -832,18 +763,7 @@ export class AzureCommunicationCallAdapter {
|
|
832
763
|
teamsCaptionsFeature.on('CaptionLanguageChanged', this.isCaptionLanguageChanged.bind(this));
|
833
764
|
teamsCaptionsFeature.on('SpokenLanguageChanged', this.isSpokenLanguageChanged.bind(this));
|
834
765
|
}
|
835
|
-
else {
|
836
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
837
|
-
const acsCaptionsFeature = captionsFeature.captions;
|
838
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
839
|
-
acsCaptionsFeature.on('CaptionsReceived', this.captionsReceived.bind(this));
|
840
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
841
|
-
acsCaptionsFeature.on('CaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
|
842
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
843
|
-
acsCaptionsFeature.on('SpokenLanguageChanged', this.isSpokenLanguageChanged.bind(this));
|
844
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
845
|
-
captionsFeature.on('CaptionsKindChanged', this.captionsKindChanged.bind(this));
|
846
|
-
}
|
766
|
+
else { }
|
847
767
|
}
|
848
768
|
}
|
849
769
|
unsubscribeFromCaptionEvents() {
|
@@ -857,16 +777,7 @@ export class AzureCommunicationCallAdapter {
|
|
857
777
|
teamsCaptionsFeature.off('CaptionLanguageChanged', this.isCaptionLanguageChanged.bind(this));
|
858
778
|
teamsCaptionsFeature.off('SpokenLanguageChanged', this.isSpokenLanguageChanged.bind(this));
|
859
779
|
}
|
860
|
-
else {
|
861
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
862
|
-
const acsCaptionsFeature = captionsFeature.captions;
|
863
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
864
|
-
acsCaptionsFeature.off('CaptionsReceived', this.captionsReceived.bind(this));
|
865
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
866
|
-
acsCaptionsFeature.off('CaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
|
867
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
868
|
-
acsCaptionsFeature.off('SpokenLanguageChanged', this.isSpokenLanguageChanged.bind(this));
|
869
|
-
}
|
780
|
+
else { }
|
870
781
|
(_b = this.call) === null || _b === void 0 ? void 0 : _b.off('stateChanged', this.subscribeToCaptionEvents.bind(this));
|
871
782
|
}
|
872
783
|
}
|
@@ -886,7 +797,7 @@ export class AzureCommunicationCallAdapter {
|
|
886
797
|
(_j = this.call) === null || _j === void 0 ? void 0 : _j.feature(Features.Spotlight).on('spotlightChanged', this.spotlightChanged.bind(this));
|
887
798
|
}
|
888
799
|
unsubscribeCallEvents() {
|
889
|
-
var _a, _b, _c, _d, _e
|
800
|
+
var _a, _b, _c, _d, _e;
|
890
801
|
for (const subscriber of this.participantSubscribers.values()) {
|
891
802
|
subscriber.unsubscribeAll();
|
892
803
|
}
|
@@ -896,25 +807,11 @@ export class AzureCommunicationCallAdapter {
|
|
896
807
|
(_c = this.call) === null || _c === void 0 ? void 0 : _c.off('isScreenSharingOnChanged', this.isScreenSharingOnChanged.bind(this));
|
897
808
|
(_d = this.call) === null || _d === void 0 ? void 0 : _d.off('idChanged', this.callIdChanged.bind(this));
|
898
809
|
(_e = this.call) === null || _e === void 0 ? void 0 : _e.off('roleChanged', this.roleChanged.bind(this));
|
899
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
900
|
-
if (((_f = this.call) === null || _f === void 0 ? void 0 : _f.feature(Features.Captions).captions.kind) === 'Captions') {
|
901
|
-
(_g = this.call) === null || _g === void 0 ? void 0 : _g.feature(Features.Captions).off('CaptionsKindChanged', this.unsubscribeFromCaptionEvents.bind(this));
|
902
|
-
}
|
903
810
|
this.unsubscribeFromCaptionEvents();
|
904
811
|
if (this.callingSoundSubscriber) {
|
905
812
|
this.callingSoundSubscriber.unsubscribeAll();
|
906
813
|
}
|
907
814
|
}
|
908
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
909
|
-
captionsKindChanged() {
|
910
|
-
var _a;
|
911
|
-
const captionsFeature = (_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.Captions);
|
912
|
-
const teamsCaptionsFeature = captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.captions;
|
913
|
-
teamsCaptionsFeature.on('CaptionsReceived', this.teamsCaptionsReceived.bind(this));
|
914
|
-
teamsCaptionsFeature.on('CaptionsActiveChanged', this.isCaptionsActiveChanged.bind(this));
|
915
|
-
teamsCaptionsFeature.on('CaptionLanguageChanged', this.isCaptionLanguageChanged.bind(this));
|
916
|
-
teamsCaptionsFeature.on('SpokenLanguageChanged', this.isSpokenLanguageChanged.bind(this));
|
917
|
-
}
|
918
815
|
onRemoteParticipantsUpdated({ added, removed }) {
|
919
816
|
if (added && added.length > 0) {
|
920
817
|
this.emitter.emit('participantsJoined', {
|
@@ -946,12 +843,6 @@ export class AzureCommunicationCallAdapter {
|
|
946
843
|
captionsInfo
|
947
844
|
});
|
948
845
|
}
|
949
|
-
/* @conditional-compile-remove(acs-close-captions) */
|
950
|
-
captionsReceived(captionsInfo) {
|
951
|
-
this.emitter.emit('captionsReceived', {
|
952
|
-
captionsInfo
|
953
|
-
});
|
954
|
-
}
|
955
846
|
isCaptionsActiveChanged() {
|
956
847
|
var _a;
|
957
848
|
const captionsFeature = (_a = this.call) === null || _a === void 0 ? void 0 : _a.feature(Features.Captions).captions;
|
@@ -1070,8 +961,6 @@ export function createAzureCommunicationCallAdapter(args) {
|
|
1070
961
|
credential: args.credential,
|
1071
962
|
locator: args.locator,
|
1072
963
|
targetCallees: args.targetCallees,
|
1073
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
1074
|
-
alternateCallerId: args.alternateCallerId,
|
1075
964
|
options: args.options
|
1076
965
|
});
|
1077
966
|
});
|
@@ -1081,15 +970,12 @@ export function createAzureCommunicationCallAdapter(args) {
|
|
1081
970
|
*
|
1082
971
|
* @internal
|
1083
972
|
*/
|
1084
|
-
export const _createAzureCommunicationCallAdapterInner = (_a) => __awaiter(void 0, [_a], void 0, function* ({ userId, displayName, credential, locator, targetCallees,
|
1085
|
-
/* @conditional-compile-remove(PSTN-calls) */ alternateCallerId, options, telemetryImplementationHint = 'Call' }) {
|
973
|
+
export const _createAzureCommunicationCallAdapterInner = (_a) => __awaiter(void 0, [_a], void 0, function* ({ userId, displayName, credential, locator, targetCallees, options, telemetryImplementationHint = 'Call' }) {
|
1086
974
|
if (!_isValidIdentifier(userId)) {
|
1087
975
|
throw new Error('Invalid identifier. Please provide valid identifier object.');
|
1088
976
|
}
|
1089
977
|
const callClient = _createStatefulCallClientInner({
|
1090
|
-
userId
|
1091
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
1092
|
-
alternateCallerId
|
978
|
+
userId
|
1093
979
|
}, undefined, telemetryImplementationHint);
|
1094
980
|
const callAgent = yield callClient.createCallAgent(credential, {
|
1095
981
|
displayName
|
@@ -1118,10 +1004,6 @@ export const createTeamsCallAdapter = (args) => __awaiter(void 0, void 0, void 0
|
|
1118
1004
|
const callAgent = yield callClient.createTeamsCallAgent(credential, {
|
1119
1005
|
undefined
|
1120
1006
|
});
|
1121
|
-
/* @conditional-compile-remove(teams-identity-support-beta) */
|
1122
|
-
if ('targetCallees' in args) {
|
1123
|
-
return createTeamsCallAdapterFromClient(callClient, callAgent, args.targetCallees, options);
|
1124
|
-
}
|
1125
1007
|
const adapter = createTeamsCallAdapterFromClient(callClient, callAgent, args.locator, options);
|
1126
1008
|
return adapter;
|
1127
1009
|
});
|
@@ -1133,8 +1015,6 @@ function useAzureCommunicationCallAdapterGeneric(args, adapterKind = 'AzureCommu
|
|
1133
1015
|
const locator = 'locator' in args ? args.locator : undefined;
|
1134
1016
|
const targetCallees = 'targetCallees' in args ? args.targetCallees : undefined;
|
1135
1017
|
const displayName = 'displayName' in args ? args.displayName : undefined;
|
1136
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
1137
|
-
const alternateCallerId = 'alternateCallerId' in args ? args.alternateCallerId : undefined;
|
1138
1018
|
const options = 'options' in args ? args.options : undefined;
|
1139
1019
|
// State update needed to rerender the parent component when a new adapter is created.
|
1140
1020
|
const [adapter, setAdapter] = useState(undefined);
|
@@ -1186,7 +1066,6 @@ function useAzureCommunicationCallAdapterGeneric(args, adapterKind = 'AzureCommu
|
|
1186
1066
|
displayName: displayName,
|
1187
1067
|
locator,
|
1188
1068
|
userId: userId,
|
1189
|
-
/* @conditional-compile-remove(PSTN-calls) */ alternateCallerId,
|
1190
1069
|
options
|
1191
1070
|
}));
|
1192
1071
|
}
|
@@ -1196,7 +1075,6 @@ function useAzureCommunicationCallAdapterGeneric(args, adapterKind = 'AzureCommu
|
|
1196
1075
|
displayName: displayName,
|
1197
1076
|
targetCallees,
|
1198
1077
|
userId: userId,
|
1199
|
-
/* @conditional-compile-remove(PSTN-calls) */ alternateCallerId,
|
1200
1078
|
options
|
1201
1079
|
}));
|
1202
1080
|
}
|
@@ -1207,15 +1085,7 @@ function useAzureCommunicationCallAdapterGeneric(args, adapterKind = 'AzureCommu
|
|
1207
1085
|
return;
|
1208
1086
|
}
|
1209
1087
|
creatingAdapterRef.current = true;
|
1210
|
-
if (targetCallees) {
|
1211
|
-
/* @conditional-compile-remove(teams-identity-support-beta) */
|
1212
|
-
newAdapter = (yield createTeamsCallAdapter({
|
1213
|
-
credential,
|
1214
|
-
userId: userId,
|
1215
|
-
targetCallees: targetCallees,
|
1216
|
-
options
|
1217
|
-
}));
|
1218
|
-
}
|
1088
|
+
if (targetCallees) { }
|
1219
1089
|
else {
|
1220
1090
|
/* @conditional-compile-remove(teams-identity-support) */
|
1221
1091
|
newAdapter = (yield createTeamsCallAdapter({
|
@@ -1241,8 +1111,7 @@ function useAzureCommunicationCallAdapterGeneric(args, adapterKind = 'AzureCommu
|
|
1241
1111
|
}))();
|
1242
1112
|
},
|
1243
1113
|
// Explicitly list all arguments so that caller doesn't have to memoize the `args` object.
|
1244
|
-
[adapterRef, afterCreateRef, beforeDisposeRef, adapterKind, credential, locator, userId, displayName,
|
1245
|
-
alternateCallerId, options, targetCallees]);
|
1114
|
+
[adapterRef, afterCreateRef, beforeDisposeRef, adapterKind, credential, locator, userId, displayName, options, targetCallees]);
|
1246
1115
|
// Dispose any existing adapter when the component unmounts.
|
1247
1116
|
useEffect(() => {
|
1248
1117
|
return () => {
|
@@ -1309,8 +1178,6 @@ export function createAzureCommunicationCallAdapterFromClient(callClient, callAg
|
|
1309
1178
|
if (deviceManager.isSpeakerSelectionAvailable) {
|
1310
1179
|
yield deviceManager.getSpeakers();
|
1311
1180
|
}
|
1312
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
1313
|
-
yield callClient.feature(Features.DebugInfo).getEnvironmentInfo();
|
1314
1181
|
if (getLocatorOrTargetCallees(locatorOrtargetCallees)) {
|
1315
1182
|
return new AzureCommunicationCallAdapter(callClient, locatorOrtargetCallees, callAgent, deviceManager, options);
|
1316
1183
|
}
|
@@ -1334,8 +1201,6 @@ export const createTeamsCallAdapterFromClient = (callClient, callAgent, locator,
|
|
1334
1201
|
if (deviceManager.isSpeakerSelectionAvailable) {
|
1335
1202
|
yield deviceManager.getSpeakers();
|
1336
1203
|
}
|
1337
|
-
/* @conditional-compile-remove(unsupported-browser) */
|
1338
|
-
yield callClient.feature(Features.DebugInfo).getEnvironmentInfo();
|
1339
1204
|
if (Array.isArray(locator)) {
|
1340
1205
|
return new AzureCommunicationCallAdapter(callClient, locator, callAgent, deviceManager, options);
|
1341
1206
|
}
|