@azure/communication-react 1.4.3-alpha-202301070013.0 → 1.4.3-alpha-202301100014.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 +57 -8
- package/dist/dist-cjs/communication-react/index.js +98 -29
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +3 -2
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +31 -9
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +49 -8
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +39 -10
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +3 -3
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +18 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/package.json +8 -8
@@ -1238,6 +1238,10 @@ export declare type CallCompositeOptions = {
|
|
1238
1238
|
* if this is not supplied, the composite will not show a unsupported browser page.
|
1239
1239
|
*/
|
1240
1240
|
onEnvironmentInfoTroubleshootingClick?: () => void;
|
1241
|
+
/**
|
1242
|
+
* Remote participant video tile menu options
|
1243
|
+
*/
|
1244
|
+
remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
|
1241
1245
|
};
|
1242
1246
|
|
1243
1247
|
/**
|
@@ -7042,6 +7046,20 @@ export declare interface RemoteVideoStreamState {
|
|
7042
7046
|
view?: VideoStreamRendererViewState;
|
7043
7047
|
}
|
7044
7048
|
|
7049
|
+
/**
|
7050
|
+
* Menu options for remote video tiles in {@link VideoGallery}.
|
7051
|
+
*
|
7052
|
+
* @beta
|
7053
|
+
*/
|
7054
|
+
export declare interface RemoteVideoTileMenuOptions {
|
7055
|
+
/**
|
7056
|
+
* If set to true, remote video tiles in the VideoGallery will not have menu options
|
7057
|
+
*
|
7058
|
+
* @defaultValue false
|
7059
|
+
*/
|
7060
|
+
isHidden?: boolean;
|
7061
|
+
}
|
7062
|
+
|
7045
7063
|
/**
|
7046
7064
|
* @beta
|
7047
7065
|
* The role of a call participant.
|
@@ -8226,22 +8244,23 @@ export declare interface VideoGalleryProps {
|
|
8226
8244
|
*/
|
8227
8245
|
localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
|
8228
8246
|
/**
|
8229
|
-
* List of pinned participant userIds
|
8247
|
+
* List of pinned participant userIds.
|
8230
8248
|
*/
|
8231
8249
|
pinnedParticipants?: string[];
|
8232
8250
|
/**
|
8233
|
-
*
|
8234
|
-
* @defaultValue `true`
|
8235
|
-
*/
|
8236
|
-
showRemoteVideoTileContextualMenu?: boolean;
|
8237
|
-
/**
|
8238
|
-
* This callback will be called when a participant video tile is pinned
|
8251
|
+
* This callback will be called when a participant video tile is pinned.
|
8239
8252
|
*/
|
8240
8253
|
onPinParticipant?: (userId: string) => void;
|
8241
8254
|
/**
|
8242
|
-
* This callback will be called when a participant video tile is un-pinned
|
8255
|
+
* This callback will be called when a participant video tile is un-pinned.
|
8243
8256
|
*/
|
8244
8257
|
onUnpinParticipant?: (userId: string) => void;
|
8258
|
+
/**
|
8259
|
+
* Options for showing the remote video tile menu.
|
8260
|
+
*
|
8261
|
+
* @defaultValue \{ kind: 'contextual' \}
|
8262
|
+
*/
|
8263
|
+
remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
|
8245
8264
|
}
|
8246
8265
|
|
8247
8266
|
/**
|
@@ -8378,6 +8397,36 @@ export declare interface VideoStreamRendererViewState {
|
|
8378
8397
|
*/
|
8379
8398
|
export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
|
8380
8399
|
|
8400
|
+
/**
|
8401
|
+
* Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
|
8402
|
+
*
|
8403
|
+
* @beta
|
8404
|
+
*/
|
8405
|
+
export declare interface VideoTileContextualMenuProps {
|
8406
|
+
/**
|
8407
|
+
* The menu property kind
|
8408
|
+
*/
|
8409
|
+
kind: 'contextual';
|
8410
|
+
}
|
8411
|
+
|
8412
|
+
/**
|
8413
|
+
* Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
|
8414
|
+
*
|
8415
|
+
* @beta
|
8416
|
+
*/
|
8417
|
+
export declare interface VideoTileDrawerMenuProps {
|
8418
|
+
/**
|
8419
|
+
* The menu property kind
|
8420
|
+
*/
|
8421
|
+
kind: 'drawer';
|
8422
|
+
/**
|
8423
|
+
* The optional id property provided on an element that the drawer menu should render within when a
|
8424
|
+
* remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
|
8425
|
+
* render within the VideoGallery component.
|
8426
|
+
*/
|
8427
|
+
hostId?: string;
|
8428
|
+
}
|
8429
|
+
|
8381
8430
|
/**
|
8382
8431
|
* Props for {@link VideoTile}.
|
8383
8432
|
*
|
@@ -158,7 +158,7 @@ const _toCommunicationIdentifier = (id) => {
|
|
158
158
|
// Copyright (c) Microsoft Corporation.
|
159
159
|
// Licensed under the MIT license.
|
160
160
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
161
|
-
var telemetryVersion = '1.4.3-alpha-
|
161
|
+
var telemetryVersion = '1.4.3-alpha-202301100014.0';
|
162
162
|
|
163
163
|
// Copyright (c) Microsoft Corporation.
|
164
164
|
/**
|
@@ -3970,7 +3970,7 @@ const typingIndicatorStringStyle = react.mergeStyles({
|
|
3970
3970
|
wordBreak: 'break-word'
|
3971
3971
|
});
|
3972
3972
|
|
3973
|
-
var participantItem$d={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",displayNamePlaceholder:"Unnamed participant",participantStateConnecting:"Calling...",participantStateRinging:"Calling...",participantStateHold:"On hold"};var typingIndicator$d={singleUser:"{user} is typing ...",multipleUsers:"{users} are typing ...",multipleUsersAbbreviateOne:"{users} and 1 other are typing ...",multipleUsersAbbreviateMany:"{users} and {numOthers} others are typing ...",delimiter:", "};var sendBox$d={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",fileUploadsPendingError:"Uploading... Please wait.",removeFile:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed"};var messageStatusIndicator$d={deliveredAriaLabel:"Message sent",deliveredTooltipText:"Sent",seenAriaLabel:"Message seen by others",seenTooltipText:"Seen",readByTooltipText:"Read by {messageThreadReadCount} of {remoteParticipantsCount}",sendingAriaLabel:"Message sending",sendingTooltipText:"Sending",failedToSendAriaLabel:"Message failed to send",failedToSendTooltipText:"Failed to send"};var endCallButton$d={label:"Leave",tooltipContent:"Leave call"};var cameraButton$d={onLabel:"Turn off",offLabel:"Turn on",tooltipDisabledContent:"Camera is disabled",tooltipOnContent:"Turn off camera",tooltipOffContent:"Turn on camera",tooltipVideoLoadingContent:"Video is loading",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",cameraButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Turn off camera and camera options",offSplitButtonAriaLabel:"Turn on camera and camera options",cameraActionTurnedOnAnnouncement:"Your camera has been turned on",cameraActionTurnedOffAnnouncement:"Your camera has been turned off"};var microphoneButton$d={onLabel:"Mute",offLabel:"Unmute",tooltipDisabledContent:"Microphone is disabled",tooltipOnContent:"Mute microphone",tooltipOffContent:"Unmute microphone",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker",microphoneButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Mute microphone and audio options",offSplitButtonAriaLabel:"Unmute microphone and audio options",microphoneActionTurnedOnAnnouncement:"Your microphone has been turned on",microphoneActionTurnedOffAnnouncement:"Your microphone has been turned off"};var devicesButton$d={label:"Devices",tooltipContent:"Manage devices",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",audioDeviceMenuTitle:"Audio Device",audioDeviceMenuTooltip:"Choose audio device",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker"};var participantsButton$d={label:"People",tooltipContent:"Show participants",menuHeader:"In this call",participantsListButtonLabel:"{numParticipants} people",muteAllButtonLabel:"Mute all",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied"};var screenShareButton$d={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var messageThread$d={yesterday:"Yesterday",sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",participantJoined:"joined the chat.",participantLeft:"left the chat.",editMessage:"Edit",removeMessage:"Delete",resendMessage:"Try sending again",failToSendTag:"Failed to send",editedTag:"Edited",liveAuthorIntro:"{author} says",messageContentAriaText:"{author} said {message}",messageContentMineAriaText:"You said {message}",editBoxTextLimit:"Your message is over the limit of {limitNumber} characters",editBoxPlaceholderText:"Edit your message",newMessagesIndicator:"New messages",noDisplayNameSub:"No name",editBoxCancelButton:"Cancel",editBoxSubmitButton:"Submit",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadFile:"Download file"};var errorBar$d={unableToReachChatService:"You are offline",accessDenied:"Unable to access chat services - please check the user credentials provided",userNotInChatThread:"You are no longer in this chat thread",sendMessageNotInChatThread:"Failed to send message because you are no longer in this chat thread",sendMessageGeneric:"Failed to send message",callingNetworkFailure:"Troubling connecting call - you seem to be offline",startVideoGeneric:"Failed to start video",stopVideoGeneric:"Failed to stop video",muteGeneric:"Failed to mute microphone",unmuteGeneric:"Failed to unmute microphone",speakingWhileMuted:"Your microphone is muted",startScreenShareGeneric:"Failed to start screen sharing",stopScreenShareGeneric:"Failed to stop screen sharing",callNetworkQualityLow:"Network quality is low.",callNoSpeakerFound:"No speakers or headphones found. Connect an audio device to hear the call.",callNoMicrophoneFound:"No microphones found. Connect an audio input device.",callMicrophoneAccessDenied:"Unable to access microphone. Click the lock in the address bar to grant permission to this webpage.",callMicrophoneAccessDeniedSafari:"Unable to access microphone. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callMicrophoneMutedBySystem:"You are muted by your system.",callMicrophoneUnmutedBySystem:"Your microphone recovered and you were unmuted by your system.",callMacOsMicrophoneAccessDenied:"Unable to access microphone. Grant microphone permission in your macOS privacy settings.",callLocalVideoFreeze:"Network bandwidth is poor. Your video may appear paused for others on the call.",callCameraAccessDenied:"Unable to access camera. Click the lock in the address bar to grant permission to this webpage.",callCameraAccessDeniedSafari:"Unable to access camera. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callCameraAlreadyInUse:"Unable to access camera. It may already be in use by another application.",callVideoStoppedBySystem:"Your video has been stopped by your system.",callVideoRecoveredBySystem:"Your video has resumed.",callMacOsCameraAccessDenied:"MacOS is blocking access to your camera. Update your privacy settings to allow this browser to access your camera.",callMacOsScreenShareAccessDenied:"MacOS is blocking screen sharing. Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close",failedToJoinCallGeneric:"Failed to join call.",failedToJoinCallInvalidMeetingLink:"Unable to join Meeting. Invalid Link."};var videoGallery$d={screenIsBeingSharedMessage:"You are sharing your screen",screenShareLoadingMessage:"Loading {participant}'s screen",localVideoLabel:"You",localVideoCameraSwitcherLabel:"Switch camera",localVideoMovementLabel:"Movable Local Video Tile",localVideoSelectedDescription:"{cameraName} selected",displayNamePlaceholder:"Unnamed participant",fitRemoteParticipantToFrame:"Fit to frame",fillRemoteParticipantFrame:"Fill frame",pinParticipantForMe:"Pin for me",unpinParticipantForMe:"Unpin for me"};var dialpad$d={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$d={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$d={participantStateConnecting:"Calling...",participantStateRinging:"Calling...",participantStateHold:"On hold"};var CameraAndMicrophoneSitePermissionsRequest={primaryText:"Allow {appName} to use your camera and microphone",secondaryText:"This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Allow camera and microphone access"};var CameraSitePermissionsRequest={primaryText:"Allow {appName} to use your camera",secondaryText:"This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Allow camera access"};var MicrophoneSitePermissionsRequest={primaryText:"Allow {appName} to use your microphone",secondaryText:"This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Allow microphone access"};var CameraAndMicrophoneSitePermissionsCheck={primaryText:"Checking for camera and microphone access",secondaryText:"Allow access if prompted. This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Checking for camera and microphone access. Allow access if prompted."};var CameraSitePermissionsCheck={primaryText:"Checking for camera access",secondaryText:"Allow access if prompted. This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Checking for camera access. Allow access if prompted."};var MicrophoneSitePermissionsCheck={primaryText:"Checking for microphone access",secondaryText:"Allow access if prompted. This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Checking for microphone access. Allow access if prompted."};var CameraAndMicrophoneSitePermissionsDenied={primaryText:"Unable to access camera and microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraAndMicrophoneSitePermissionsDeniedSafari={primaryText:"Unable to access camera and microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDenied={primaryText:"Unable to access camera",secondaryText:"Click the lock icon in the address bar to grant camera permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDenied={primaryText:"Unable to access microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDeniedSafari={primaryText:"Unable to access camera",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDeniedSafari={primaryText:"Unable to access microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var UnsupportedBrowser$e={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$1={primaryText:"Browser update needed",secondaryText:"To ensure the best call possible, please update your browser and then try joining the call again.",moreHelpLinkText:"See compatibility requirements",continueAnywayButtonText:"Start call without updating"};var UnsupportedOperatingSystem$1={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$d={primaryText:"Can't use your camera or microphone",secondaryText:"Your browser might not have access to your camera or microphone. To fix this, open System Preferences.",primaryButtonText:"Try again",linkText:"Need help? Get troubleshooting help"};var BrowserPermissionDeniedIOS$d={primaryText:"Allow microphone access to continue",secondaryText:"So other participants can hear you.",primaryButtonText:"Try again",imageAltText:"Microphone and camera device permission location for iOS",linkText:"Need help? Get troubleshooting help",step1Text:"Go to the Settings app",step2Text:"Scroll down to settings for this browser",step3Text:"Turn on Microphone (Camera optional)",step4Text:"Try joining the call again",step1DigitText:"1",step2DigitText:"2",step3DigitText:"3",step4DigitText:"4"};var en_US$1 = {participantItem:participantItem$d,typingIndicator:typingIndicator$d,sendBox:sendBox$d,messageStatusIndicator:messageStatusIndicator$d,endCallButton:endCallButton$d,cameraButton:cameraButton$d,microphoneButton:microphoneButton$d,devicesButton:devicesButton$d,participantsButton:participantsButton$d,screenShareButton:screenShareButton$d,messageThread:messageThread$d,errorBar:errorBar$d,videoGallery:videoGallery$d,dialpad:dialpad$d,holdButton:holdButton$d,videoTile:videoTile$d,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest,CameraSitePermissionsRequest:CameraSitePermissionsRequest,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck,CameraSitePermissionsCheck:CameraSitePermissionsCheck,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari,CameraSitePermissionsDenied:CameraSitePermissionsDenied,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari,UnsupportedBrowser:UnsupportedBrowser$e,UnsupportedBrowserVersion:UnsupportedBrowserVersion$1,UnsupportedOperatingSystem:UnsupportedOperatingSystem$1,BrowserPermissionDenied:BrowserPermissionDenied$d,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$d};
|
3973
|
+
var participantItem$d={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",displayNamePlaceholder:"Unnamed participant",participantStateConnecting:"Calling...",participantStateRinging:"Calling...",participantStateHold:"On hold"};var typingIndicator$d={singleUser:"{user} is typing ...",multipleUsers:"{users} are typing ...",multipleUsersAbbreviateOne:"{users} and 1 other are typing ...",multipleUsersAbbreviateMany:"{users} and {numOthers} others are typing ...",delimiter:", "};var sendBox$d={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",fileUploadsPendingError:"Uploading... Please wait.",removeFile:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed"};var messageStatusIndicator$d={deliveredAriaLabel:"Message sent",deliveredTooltipText:"Sent",seenAriaLabel:"Message seen by others",seenTooltipText:"Seen",readByTooltipText:"Read by {messageThreadReadCount} of {remoteParticipantsCount}",sendingAriaLabel:"Message sending",sendingTooltipText:"Sending",failedToSendAriaLabel:"Message failed to send",failedToSendTooltipText:"Failed to send"};var endCallButton$d={label:"Leave",tooltipContent:"Leave call"};var cameraButton$d={onLabel:"Turn off",offLabel:"Turn on",tooltipDisabledContent:"Camera is disabled",tooltipOnContent:"Turn off camera",tooltipOffContent:"Turn on camera",tooltipVideoLoadingContent:"Video is loading",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",cameraButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Turn off camera and camera options",offSplitButtonAriaLabel:"Turn on camera and camera options",cameraActionTurnedOnAnnouncement:"Your camera has been turned on",cameraActionTurnedOffAnnouncement:"Your camera has been turned off"};var microphoneButton$d={onLabel:"Mute",offLabel:"Unmute",tooltipDisabledContent:"Microphone is disabled",tooltipOnContent:"Mute microphone",tooltipOffContent:"Unmute microphone",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker",microphoneButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Mute microphone and audio options",offSplitButtonAriaLabel:"Unmute microphone and audio options",microphoneActionTurnedOnAnnouncement:"Your microphone has been turned on",microphoneActionTurnedOffAnnouncement:"Your microphone has been turned off"};var devicesButton$d={label:"Devices",tooltipContent:"Manage devices",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",audioDeviceMenuTitle:"Audio Device",audioDeviceMenuTooltip:"Choose audio device",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker"};var participantsButton$d={label:"People",tooltipContent:"Show participants",menuHeader:"In this call",participantsListButtonLabel:"{numParticipants} people",muteAllButtonLabel:"Mute all",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied"};var screenShareButton$d={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var messageThread$d={yesterday:"Yesterday",sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",participantJoined:"joined the chat.",participantLeft:"left the chat.",editMessage:"Edit",removeMessage:"Delete",resendMessage:"Try sending again",failToSendTag:"Failed to send",editedTag:"Edited",liveAuthorIntro:"{author} says",messageContentAriaText:"{author} said {message}",messageContentMineAriaText:"You said {message}",editBoxTextLimit:"Your message is over the limit of {limitNumber} characters",editBoxPlaceholderText:"Edit your message",newMessagesIndicator:"New messages",noDisplayNameSub:"No name",editBoxCancelButton:"Cancel",editBoxSubmitButton:"Submit",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadFile:"Download file"};var errorBar$d={unableToReachChatService:"You are offline",accessDenied:"Unable to access chat services - please check the user credentials provided",userNotInChatThread:"You are no longer in this chat thread",sendMessageNotInChatThread:"Failed to send message because you are no longer in this chat thread",sendMessageGeneric:"Failed to send message",callingNetworkFailure:"Troubling connecting call - you seem to be offline",startVideoGeneric:"Failed to start video",stopVideoGeneric:"Failed to stop video",muteGeneric:"Failed to mute microphone",unmuteGeneric:"Failed to unmute microphone",speakingWhileMuted:"Your microphone is muted",startScreenShareGeneric:"Failed to start screen sharing",stopScreenShareGeneric:"Failed to stop screen sharing",callNetworkQualityLow:"Network quality is low.",callNoSpeakerFound:"No speakers or headphones found. Connect an audio device to hear the call.",callNoMicrophoneFound:"No microphones found. Connect an audio input device.",callMicrophoneAccessDenied:"Unable to access microphone. Click the lock in the address bar to grant permission to this webpage.",callMicrophoneAccessDeniedSafari:"Unable to access microphone. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callMicrophoneMutedBySystem:"You are muted by your system.",callMicrophoneUnmutedBySystem:"Your microphone recovered and you were unmuted by your system.",callMacOsMicrophoneAccessDenied:"Unable to access microphone. Grant microphone permission in your macOS privacy settings.",callLocalVideoFreeze:"Network bandwidth is poor. Your video may appear paused for others on the call.",callCameraAccessDenied:"Unable to access camera. Click the lock in the address bar to grant permission to this webpage.",callCameraAccessDeniedSafari:"Unable to access camera. Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",callCameraAlreadyInUse:"Unable to access camera. It may already be in use by another application.",callVideoStoppedBySystem:"Your video has been stopped by your system.",callVideoRecoveredBySystem:"Your video has resumed.",callMacOsCameraAccessDenied:"MacOS is blocking access to your camera. Update your privacy settings to allow this browser to access your camera.",callMacOsScreenShareAccessDenied:"MacOS is blocking screen sharing. Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close",failedToJoinCallGeneric:"Failed to join call.",failedToJoinCallInvalidMeetingLink:"Unable to join Meeting. Invalid Link."};var videoGallery$d={screenIsBeingSharedMessage:"You are sharing your screen",screenShareLoadingMessage:"Loading {participant}'s screen",localVideoLabel:"You",localVideoCameraSwitcherLabel:"Switch camera",localVideoMovementLabel:"Movable Local Video Tile",localVideoSelectedDescription:"{cameraName} selected",displayNamePlaceholder:"Unnamed participant",fitRemoteParticipantToFrame:"Fit to frame",fillRemoteParticipantFrame:"Fill frame",pinParticipantForMe:"Pin for me",pinParticipantForMeLimitReached:"Pin (limit reached)",unpinParticipantForMe:"Unpin for me"};var dialpad$d={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$d={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$d={participantStateConnecting:"Calling...",participantStateRinging:"Calling...",participantStateHold:"On hold"};var CameraAndMicrophoneSitePermissionsRequest={primaryText:"Allow {appName} to use your camera and microphone",secondaryText:"This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Allow camera and microphone access"};var CameraSitePermissionsRequest={primaryText:"Allow {appName} to use your camera",secondaryText:"This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Allow camera access"};var MicrophoneSitePermissionsRequest={primaryText:"Allow {appName} to use your microphone",secondaryText:"This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Allow microphone access"};var CameraAndMicrophoneSitePermissionsCheck={primaryText:"Checking for camera and microphone access",secondaryText:"Allow access if prompted. This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera and microphone",ariaLabel:"Checking for camera and microphone access. Allow access if prompted."};var CameraSitePermissionsCheck={primaryText:"Checking for camera access",secondaryText:"Allow access if prompted. This is so participants can see you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without camera",ariaLabel:"Checking for camera access. Allow access if prompted."};var MicrophoneSitePermissionsCheck={primaryText:"Checking for microphone access",secondaryText:"Allow access if prompted. This is so participants can hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Continue without microphone",ariaLabel:"Checking for microphone access. Allow access if prompted."};var CameraAndMicrophoneSitePermissionsDenied={primaryText:"Unable to access camera and microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraAndMicrophoneSitePermissionsDeniedSafari={primaryText:"Unable to access camera and microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera and microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDenied={primaryText:"Unable to access camera",secondaryText:"Click the lock icon in the address bar to grant camera permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDenied={primaryText:"Unable to access microphone",secondaryText:"Click the lock icon in the address bar to grant microphone permissions to this webpage. A page refresh may be required.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var CameraSitePermissionsDeniedSafari={primaryText:"Unable to access camera",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without camera",linkText:"Need help? Get troubleshooting help"};var MicrophoneSitePermissionsDeniedSafari={primaryText:"Unable to access microphone",secondaryText:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",primaryButtonText:"Continue without microphone",linkText:"Need help? Get troubleshooting help"};var UnsupportedBrowser$e={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$1={primaryText:"Browser update needed",secondaryText:"To ensure the best call possible, please update your browser and then try joining the call again.",moreHelpLinkText:"See compatibility requirements",continueAnywayButtonText:"Start call without updating"};var UnsupportedOperatingSystem$1={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$d={primaryText:"Can't use your camera or microphone",secondaryText:"Your browser might not have access to your camera or microphone. To fix this, open System Preferences.",primaryButtonText:"Try again",linkText:"Need help? Get troubleshooting help"};var BrowserPermissionDeniedIOS$d={primaryText:"Allow microphone access to continue",secondaryText:"So other participants can hear you.",primaryButtonText:"Try again",imageAltText:"Microphone and camera device permission location for iOS",linkText:"Need help? Get troubleshooting help",step1Text:"Go to the Settings app",step2Text:"Scroll down to settings for this browser",step3Text:"Turn on Microphone (Camera optional)",step4Text:"Try joining the call again",step1DigitText:"1",step2DigitText:"2",step3DigitText:"3",step4DigitText:"4"};var en_US$1 = {participantItem:participantItem$d,typingIndicator:typingIndicator$d,sendBox:sendBox$d,messageStatusIndicator:messageStatusIndicator$d,endCallButton:endCallButton$d,cameraButton:cameraButton$d,microphoneButton:microphoneButton$d,devicesButton:devicesButton$d,participantsButton:participantsButton$d,screenShareButton:screenShareButton$d,messageThread:messageThread$d,errorBar:errorBar$d,videoGallery:videoGallery$d,dialpad:dialpad$d,holdButton:holdButton$d,videoTile:videoTile$d,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest,CameraSitePermissionsRequest:CameraSitePermissionsRequest,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck,CameraSitePermissionsCheck:CameraSitePermissionsCheck,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari,CameraSitePermissionsDenied:CameraSitePermissionsDenied,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari,UnsupportedBrowser:UnsupportedBrowser$e,UnsupportedBrowserVersion:UnsupportedBrowserVersion$1,UnsupportedOperatingSystem:UnsupportedOperatingSystem$1,BrowserPermissionDenied:BrowserPermissionDenied$d,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$d};
|
3974
3974
|
|
3975
3975
|
var participantItem$c={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",displayNamePlaceholder:"Unnamed participant",participantStateConnecting:"Calling...",participantStateRinging:"Calling...",participantStateHold:"On hold"};var typingIndicator$c={singleUser:"{user} is typing ...",multipleUsers:"{users} are typing ...",multipleUsersAbbreviateOne:"{users} and 1 other are typing ...",multipleUsersAbbreviateMany:"{users} and {numOthers} others are typing ...",delimiter:", "};var sendBox$c={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",fileUploadsPendingError:"Uploading... Please wait.",removeFile:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed"};var messageStatusIndicator$c={deliveredAriaLabel:"Message sent",deliveredTooltipText:"Sent",seenAriaLabel:"Message seen by others",seenTooltipText:"Seen",readByTooltipText:"Read by {messageThreadReadCount} of {remoteParticipantsCount}",sendingAriaLabel:"Message sending",sendingTooltipText:"Sending",failedToSendAriaLabel:"Message failed to send",failedToSendTooltipText:"Failed to send"};var endCallButton$c={label:"Leave",tooltipContent:"Leave call"};var cameraButton$c={onLabel:"Turn off",offLabel:"Turn on",tooltipDisabledContent:"Camera is disabled",tooltipOnContent:"Turn off camera",tooltipOffContent:"Turn on camera",tooltipVideoLoadingContent:"Video is loading",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",cameraButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Turn off camera and camera options",offSplitButtonAriaLabel:"Turn on camera and camera options",cameraActionTurnedOnAnnouncement:"Your camera has been turned on",cameraActionTurnedOffAnnouncement:"Your camera has been turned off"};var microphoneButton$c={onLabel:"Mute",offLabel:"Unmute",tooltipDisabledContent:"Microphone is disabled",tooltipOnContent:"Mute microphone",tooltipOffContent:"Unmute microphone",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker",microphoneButtonSplitRoleDescription:"Split button",onSplitButtonAriaLabel:"Mute microphone and audio options",offSplitButtonAriaLabel:"Unmute microphone and audio options",microphoneActionTurnedOnAnnouncement:"Your microphone has been turned on",microphoneActionTurnedOffAnnouncement:"Your microphone has been turned off"};var devicesButton$c={label:"Devices",tooltipContent:"Manage devices",cameraMenuTitle:"Camera",cameraMenuTooltip:"Choose camera",audioDeviceMenuTitle:"Audio Device",audioDeviceMenuTooltip:"Choose audio device",microphoneMenuTitle:"Microphone",microphoneMenuTooltip:"Choose microphone",speakerMenuTitle:"Speaker",speakerMenuTooltip:"Choose speaker"};var participantsButton$c={label:"People",tooltipContent:"Show participants",menuHeader:"In this call",participantsListButtonLabel:"{numParticipants} people",muteAllButtonLabel:"Mute all",copyInviteLinkButtonLabel:"Copy invite link"};var screenShareButton$c={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var messageThread$c={yesterday:"Yesterday",sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",participantJoined:"joined the chat.",participantLeft:"left the chat.",editMessage:"Edit",removeMessage:"Delete",resendMessage:"Try sending again",failToSendTag:"Failed to send",editedTag:"Edited",liveAuthorIntro:"{author} says",messageContentAriaText:"{author} said {message}",messageContentMineAriaText:"You said {message}",editBoxTextLimit:"Your message is over the limit of {limitNumber} characters",editBoxPlaceholderText:"Edit your message",newMessagesIndicator:"New messages",noDisplayNameSub:"No name",editBoxCancelButton:"Cancel",editBoxSubmitButton:"Submit",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadFile:"Download file"};var errorBar$c={unableToReachChatService:"You are offline",accessDenied:"Unable to access chat services - please check the user credentials provided",userNotInChatThread:"You are no longer in this chat thread",sendMessageNotInChatThread:"Failed to send message because you are no longer in this chat thread",sendMessageGeneric:"Failed to send message",callingNetworkFailure:"Troubling connecting call - you seem to be offline",startVideoGeneric:"Failed to start video",stopVideoGeneric:"Failed to stop video",muteGeneric:"Failed to mute microphone",unmuteGeneric:"Failed to unmute microphone",speakingWhileMuted:"Your microphone is muted",startScreenShareGeneric:"Failed to start screen sharing",stopScreenShareGeneric:"Failed to stop screen sharing",callNetworkQualityLow:"Network quality is low.",callNoSpeakerFound:"No speakers or headphones found. Connect an audio device to hear the call.",callNoMicrophoneFound:"No microphones found. Connect an audio input device.",callMicrophoneAccessDenied:"Unable to access microphone. Click the lock in the address bar to grant permission to this webpage.",callMicrophoneMutedBySystem:"You are muted by your system.",callMicrophoneUnmutedBySystem:"Your microphone recovered and you were unmuted by your system.",callMacOsMicrophoneAccessDenied:"Unable to access microphone. Grant microphone permission in your macOS privacy settings.",callLocalVideoFreeze:"Network bandwidth is poor. Your video may appear paused for others on the call.",callCameraAccessDenied:"Unable to access camera. Click the lock in the address bar to grant permission to this webpage.",callCameraAlreadyInUse:"Unable to access camera. It may already be in use by another application.",callVideoStoppedBySystem:"Your video has been stopped by your system.",callVideoRecoveredBySystem:"Your video has resumed.",callMacOsCameraAccessDenied:"MacOS is blocking access to your camera. Update your privacy settings to allow this browser to access your camera.",callMacOsScreenShareAccessDenied:"MacOS is blocking screen sharing. Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close",failedToJoinCallGeneric:"Failed to join call.",failedToJoinCallInvalidMeetingLink:"Unable to join Meeting. Invalid Link."};var videoGallery$c={screenIsBeingSharedMessage:"You are sharing your screen",screenShareLoadingMessage:"Loading {participant}'s screen",localVideoLabel:"You",localVideoCameraSwitcherLabel:"Switch camera",localVideoMovementLabel:"Movable Local Video Tile",localVideoSelectedDescription:"{cameraName} selected",displayNamePlaceholder:"Unnamed participant"};var dialpad$c={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$c={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$c={participantStateConnecting:"Calling...",participantStateRinging:"Calling...",participantStateHold:"On hold"};var SitePermissions$c={primaryText:"Allow {appName} to use your camera and microphone",secondaryText:"This is so participants can see and hear you.",linkText:"Need help? Get troubleshooting help",primaryButtonText:"Allow Access"};var UnsupportedBrowser$d={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLink:"More help"};var BrowserPermissionDenied$c={primaryText:"Can't use your camera or microphone",secondaryText:"Your browser might not have access to your camera or microphone. To fix this, open System Preferences.",primaryButtonText:"Try again",linkText:"Need help? Get troubleshooting help"};var BrowserPermissionDeniedIOS$c={primaryText:"Allow microphone access to continue",secondaryText:"So other participants can hear you.",primaryButtonText:"Try again",imageAltText:"Microphone and camera device permission location for iOS",linkText:"Need help? Get troubleshooting help",step1Text:"Go to the Settings app",step2Text:"Scroll down to settings for this browser",step3Text:"Turn on Microphone (Camera optional)",step4Text:"Try joining the call again",step1DigitText:"1",step2DigitText:"2",step3DigitText:"3",step4DigitText:"4"};var en_GB$1 = {participantItem:participantItem$c,typingIndicator:typingIndicator$c,sendBox:sendBox$c,messageStatusIndicator:messageStatusIndicator$c,endCallButton:endCallButton$c,cameraButton:cameraButton$c,microphoneButton:microphoneButton$c,devicesButton:devicesButton$c,participantsButton:participantsButton$c,screenShareButton:screenShareButton$c,messageThread:messageThread$c,errorBar:errorBar$c,videoGallery:videoGallery$c,dialpad:dialpad$c,holdButton:holdButton$c,videoTile:videoTile$c,SitePermissions:SitePermissions$c,UnsupportedBrowser:UnsupportedBrowser$d,BrowserPermissionDenied:BrowserPermissionDenied$c,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$c};
|
3976
3976
|
|
@@ -5121,9 +5121,9 @@ const DEFAULT_COMPONENT_ICONS = {
|
|
5121
5121
|
/* @conditional-compile-remove(pinned-participants) */
|
5122
5122
|
VideoTileScaleFill: React__default['default'].createElement(reactIcons.ScaleFill20Regular, null),
|
5123
5123
|
/* @conditional-compile-remove(pinned-participants) */
|
5124
|
-
PinParticipant: React__default['default'].createElement(reactIcons.
|
5124
|
+
PinParticipant: React__default['default'].createElement(reactIcons.Pin16Regular, null),
|
5125
5125
|
/* @conditional-compile-remove(pinned-participants) */
|
5126
|
-
UnpinParticipant: React__default['default'].createElement(reactIcons.
|
5126
|
+
UnpinParticipant: React__default['default'].createElement(reactIcons.PinOff16Regular, null)
|
5127
5127
|
};
|
5128
5128
|
|
5129
5129
|
// Copyright (c) Microsoft Corporation.
|
@@ -8107,7 +8107,7 @@ const useRemoteVideoStreamLifecycleMaintainer = (props) => {
|
|
8107
8107
|
*/
|
8108
8108
|
const useVideoTileContextualMenuProps = (props) => {
|
8109
8109
|
var _a;
|
8110
|
-
const { view, strings, isPinned, onPinParticipant, onUnpinParticipant } = props;
|
8110
|
+
const { view, strings, isPinned, onPinParticipant, onUnpinParticipant, disablePinMenuItem } = props;
|
8111
8111
|
const scalingMode = React.useMemo(() => {
|
8112
8112
|
var _a;
|
8113
8113
|
/* @conditional-compile-remove(pinned-participants) */
|
@@ -8123,7 +8123,10 @@ const useVideoTileContextualMenuProps = (props) => {
|
|
8123
8123
|
items.push({
|
8124
8124
|
key: 'unpin',
|
8125
8125
|
text: strings.unpinParticipantForMe,
|
8126
|
-
iconProps: {
|
8126
|
+
iconProps: {
|
8127
|
+
iconName: 'UnpinParticipant',
|
8128
|
+
styles: { root: { lineHeight: '1rem', textAlign: 'center' } }
|
8129
|
+
},
|
8127
8130
|
onClick: () => onUnpinParticipant === null || onUnpinParticipant === void 0 ? void 0 : onUnpinParticipant(props.remoteParticipant.userId),
|
8128
8131
|
'data-ui-id': 'video-tile-unpin-participant-button'
|
8129
8132
|
});
|
@@ -8131,10 +8134,14 @@ const useVideoTileContextualMenuProps = (props) => {
|
|
8131
8134
|
if (!isPinned && onPinParticipant && (strings === null || strings === void 0 ? void 0 : strings.pinParticipantForMe)) {
|
8132
8135
|
items.push({
|
8133
8136
|
key: 'pin',
|
8134
|
-
text: strings.pinParticipantForMe,
|
8135
|
-
iconProps: {
|
8137
|
+
text: disablePinMenuItem ? strings.pinParticipantForMeLimitReached : strings.pinParticipantForMe,
|
8138
|
+
iconProps: {
|
8139
|
+
iconName: 'PinParticipant',
|
8140
|
+
styles: { root: { lineHeight: '1rem', textAlign: 'center' } }
|
8141
|
+
},
|
8136
8142
|
onClick: () => onPinParticipant === null || onPinParticipant === void 0 ? void 0 : onPinParticipant(props.remoteParticipant.userId),
|
8137
|
-
'data-ui-id': 'video-tile-pin-participant-button'
|
8143
|
+
'data-ui-id': 'video-tile-pin-participant-button',
|
8144
|
+
disabled: disablePinMenuItem
|
8138
8145
|
});
|
8139
8146
|
}
|
8140
8147
|
}
|
@@ -8143,7 +8150,10 @@ const useVideoTileContextualMenuProps = (props) => {
|
|
8143
8150
|
items.push({
|
8144
8151
|
key: 'fitRemoteParticipantToFrame',
|
8145
8152
|
text: strings.fitRemoteParticipantToFrame,
|
8146
|
-
iconProps: {
|
8153
|
+
iconProps: {
|
8154
|
+
iconName: 'VideoTileScaleFit',
|
8155
|
+
styles: { root: { lineHeight: '1rem', textAlign: 'center' } }
|
8156
|
+
},
|
8147
8157
|
onClick: () => {
|
8148
8158
|
view === null || view === void 0 ? void 0 : view.updateScalingMode('Fit');
|
8149
8159
|
}
|
@@ -8154,7 +8164,10 @@ const useVideoTileContextualMenuProps = (props) => {
|
|
8154
8164
|
items.push({
|
8155
8165
|
key: 'fillRemoteParticipantFrame',
|
8156
8166
|
text: strings.fillRemoteParticipantFrame,
|
8157
|
-
iconProps: {
|
8167
|
+
iconProps: {
|
8168
|
+
iconName: 'VideoTileScaleFill',
|
8169
|
+
styles: { root: { lineHeight: '1rem', textAlign: 'center' } }
|
8170
|
+
},
|
8158
8171
|
onClick: () => {
|
8159
8172
|
view === null || view === void 0 ? void 0 : view.updateScalingMode('Crop');
|
8160
8173
|
}
|
@@ -8165,8 +8178,17 @@ const useVideoTileContextualMenuProps = (props) => {
|
|
8165
8178
|
if (items.length === 0) {
|
8166
8179
|
return undefined;
|
8167
8180
|
}
|
8168
|
-
return { items };
|
8169
|
-
}, [
|
8181
|
+
return { items, styles: {} };
|
8182
|
+
}, [
|
8183
|
+
scalingMode,
|
8184
|
+
strings,
|
8185
|
+
view,
|
8186
|
+
isPinned,
|
8187
|
+
onPinParticipant,
|
8188
|
+
onUnpinParticipant,
|
8189
|
+
props.remoteParticipant.userId,
|
8190
|
+
disablePinMenuItem
|
8191
|
+
]);
|
8170
8192
|
return contextualMenuProps;
|
8171
8193
|
};
|
8172
8194
|
|
@@ -8423,7 +8445,7 @@ const VideoTileMoreOptionsButton = (props) => {
|
|
8423
8445
|
if (!contextualMenu) {
|
8424
8446
|
return React__default['default'].createElement(React__default['default'].Fragment, null);
|
8425
8447
|
}
|
8426
|
-
return (React__default['default'].createElement(react.IconButton, { styles: moreButtonStyles, iconProps: videoTileMoreIconProps, menuIconProps: videoTileMoreMenuIconProps, menuProps: Object.assign(Object.assign({}, videoTileMoreMenuProps), contextualMenu) }));
|
8448
|
+
return (React__default['default'].createElement(react.IconButton, { "data-ui-id": "video-tile-more-options-button", styles: moreButtonStyles, iconProps: videoTileMoreIconProps, menuIconProps: videoTileMoreMenuIconProps, menuProps: Object.assign(Object.assign({}, videoTileMoreMenuProps), contextualMenu) }));
|
8427
8449
|
};
|
8428
8450
|
/**
|
8429
8451
|
* A component to render the video stream for a single call participant.
|
@@ -8550,7 +8572,7 @@ const bracketedParticipantString = (participantString, withBrackets) => {
|
|
8550
8572
|
*/
|
8551
8573
|
const _RemoteVideoTile = React__default['default'].memo((props) => {
|
8552
8574
|
const { isAvailable, isReceiving = true, // default to true to prevent any breaking change
|
8553
|
-
isScreenSharingOn, onCreateRemoteStreamView, onDisposeRemoteStreamView, remoteVideoViewOptions, renderElement, userId, onRenderAvatar, showMuteIndicator, remoteParticipant, participantState, showRemoteVideoTileContextualMenu = true, isPinned, onPinParticipant, onUnpinParticipant } = props;
|
8575
|
+
isScreenSharingOn, onCreateRemoteStreamView, onDisposeRemoteStreamView, remoteVideoViewOptions, renderElement, userId, onRenderAvatar, showMuteIndicator, remoteParticipant, participantState, showRemoteVideoTileContextualMenu = true, isPinned, onPinParticipant, onUnpinParticipant, disablePinMenuItem } = props;
|
8554
8576
|
const remoteVideoStreamProps = React.useMemo(() => ({
|
8555
8577
|
isMirrored: remoteVideoViewOptions === null || remoteVideoViewOptions === void 0 ? void 0 : remoteVideoViewOptions.isMirrored,
|
8556
8578
|
isScreenSharingOn,
|
@@ -8581,7 +8603,8 @@ const _RemoteVideoTile = React__default['default'].memo((props) => {
|
|
8581
8603
|
strings: Object.assign({}, props.strings),
|
8582
8604
|
isPinned,
|
8583
8605
|
onPinParticipant,
|
8584
|
-
onUnpinParticipant
|
8606
|
+
onUnpinParticipant,
|
8607
|
+
disablePinMenuItem
|
8585
8608
|
});
|
8586
8609
|
const videoTileContextualMenuProps = React.useMemo(() => {
|
8587
8610
|
if (!showRemoteVideoTileContextualMenu) {
|
@@ -10199,6 +10222,19 @@ const PinnedParticipantsLayout = (props) => {
|
|
10199
10222
|
* Currently the Calling JS SDK supports up to 4 remote video streams
|
10200
10223
|
*/
|
10201
10224
|
const DEFAULT_MAX_REMOTE_VIDEO_STREAMS = 4;
|
10225
|
+
/**
|
10226
|
+
* @private
|
10227
|
+
* Default remote video tile menu options
|
10228
|
+
*/
|
10229
|
+
const DEFAULT_REMOTE_VIDEO_TILE_MENU_OPTIONS = {
|
10230
|
+
kind: 'contextual'
|
10231
|
+
};
|
10232
|
+
/* @conditional-compile-remove(pinned-participants) */
|
10233
|
+
/**
|
10234
|
+
* @private
|
10235
|
+
* Maximum number of remote video tiles that can be pinned
|
10236
|
+
*/
|
10237
|
+
const MAX_PINNED_REMOTE_VIDEO_TILES = 4;
|
10202
10238
|
/**
|
10203
10239
|
* VideoGallery represents a layout of video tiles for a specific call.
|
10204
10240
|
* It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
|
@@ -10211,14 +10247,19 @@ const VideoGallery = (props) => {
|
|
10211
10247
|
/* @conditional-compile-remove(pinned-participants) */
|
10212
10248
|
onPinParticipant: onPinParticipantHandler,
|
10213
10249
|
/* @conditional-compile-remove(pinned-participants) */
|
10214
|
-
onUnpinParticipant: onUnpinParticipantHandler
|
10250
|
+
onUnpinParticipant: onUnpinParticipantHandler,
|
10251
|
+
/* @conditional-compile-remove(pinned-participants) */
|
10252
|
+
remoteVideoTileMenuOptions = DEFAULT_REMOTE_VIDEO_TILE_MENU_OPTIONS } = props;
|
10215
10253
|
const ids = useIdentifiers();
|
10216
10254
|
const theme = useTheme();
|
10217
10255
|
const localeStrings = useLocale$1().strings.videoGallery;
|
10218
10256
|
const strings = React.useMemo(() => (Object.assign(Object.assign({}, localeStrings), props.strings)), [localeStrings, props.strings]);
|
10219
|
-
|
10220
|
-
|
10221
|
-
|
10257
|
+
/* @conditional-compile-remove(pinned-participants) */
|
10258
|
+
const drawerMenuHostIdFromProp = remoteVideoTileMenuOptions && remoteVideoTileMenuOptions.kind === 'drawer'
|
10259
|
+
? remoteVideoTileMenuOptions.hostId
|
10260
|
+
: undefined;
|
10261
|
+
/* @conditional-compile-remove(pinned-participants) */
|
10262
|
+
const drawerMenuHostId = reactHooks.useId('drawerMenuHost', drawerMenuHostIdFromProp);
|
10222
10263
|
const shouldFloatLocalVideo = !!(layout === 'floatingLocalVideo' && remoteParticipants.length > 0);
|
10223
10264
|
const containerRef = React.useRef(null);
|
10224
10265
|
const containerWidth = _useContainerWidth(containerRef);
|
@@ -10271,11 +10312,14 @@ const VideoGallery = (props) => {
|
|
10271
10312
|
]);
|
10272
10313
|
/* @conditional-compile-remove(pinned-participants) */
|
10273
10314
|
const onPinParticipant = React.useCallback((userId) => {
|
10315
|
+
if (pinnedParticipants.length >= MAX_PINNED_REMOTE_VIDEO_TILES) {
|
10316
|
+
return;
|
10317
|
+
}
|
10274
10318
|
if (!pinnedParticipantsState.includes(userId)) {
|
10275
10319
|
setPinnedParticipantsState(pinnedParticipantsState.concat(userId));
|
10276
10320
|
}
|
10277
10321
|
onPinParticipantHandler === null || onPinParticipantHandler === void 0 ? void 0 : onPinParticipantHandler(userId);
|
10278
|
-
}, [pinnedParticipantsState, setPinnedParticipantsState, onPinParticipantHandler]);
|
10322
|
+
}, [pinnedParticipants.length, pinnedParticipantsState, setPinnedParticipantsState, onPinParticipantHandler]);
|
10279
10323
|
/* @conditional-compile-remove(pinned-participants) */
|
10280
10324
|
const onUnpinParticipant = React.useCallback((userId) => {
|
10281
10325
|
setPinnedParticipantsState(pinnedParticipantsState.filter((p) => p !== userId));
|
@@ -10289,13 +10333,17 @@ const VideoGallery = (props) => {
|
|
10289
10333
|
/* @conditional-compile-remove(PSTN-calls) */
|
10290
10334
|
participantState: participant.state,
|
10291
10335
|
/* @conditional-compile-remove(pinned-participants) */
|
10292
|
-
showRemoteVideoTileContextualMenu:
|
10336
|
+
showRemoteVideoTileContextualMenu: remoteVideoTileMenuOptions && remoteVideoTileMenuOptions.kind === 'contextual',
|
10337
|
+
/* @conditional-compile-remove(pinned-participants) */
|
10338
|
+
drawerMenuHostId: drawerMenuHostId,
|
10293
10339
|
/* @conditional-compile-remove(pinned-participants) */
|
10294
10340
|
onPinParticipant: onPinParticipant,
|
10295
10341
|
/* @conditional-compile-remove(pinned-participants) */
|
10296
10342
|
onUnpinParticipant: onUnpinParticipant,
|
10297
10343
|
/* @conditional-compile-remove(pinned-participants) */
|
10298
|
-
isPinned: isPinned
|
10344
|
+
isPinned: isPinned,
|
10345
|
+
/* @conditional-compile-remove(pinned-participants) */
|
10346
|
+
disablePinMenuItem: pinnedParticipants.length >= MAX_PINNED_REMOTE_VIDEO_TILES }));
|
10299
10347
|
}, [
|
10300
10348
|
onCreateRemoteStreamView,
|
10301
10349
|
onDisposeRemoteStreamView,
|
@@ -10303,8 +10351,8 @@ const VideoGallery = (props) => {
|
|
10303
10351
|
onRenderAvatar,
|
10304
10352
|
showMuteIndicator,
|
10305
10353
|
strings,
|
10306
|
-
drawerMenuHostId,
|
10307
|
-
/* @conditional-compile-remove(pinned-participants) */
|
10354
|
+
/* @conditional-compile-remove(pinned-participants) */ drawerMenuHostId,
|
10355
|
+
/* @conditional-compile-remove(pinned-participants) */ remoteVideoTileMenuOptions,
|
10308
10356
|
/* @conditional-compile-remove(pinned-participants) */ pinnedParticipants,
|
10309
10357
|
/* @conditional-compile-remove(pinned-participants) */ onPinParticipant,
|
10310
10358
|
/* @conditional-compile-remove(pinned-participants) */ onUnpinParticipant
|
@@ -10355,7 +10403,10 @@ const VideoGallery = (props) => {
|
|
10355
10403
|
}
|
10356
10404
|
return React__default['default'].createElement(DefaultLayout, Object.assign({}, layoutProps));
|
10357
10405
|
}, [layout, layoutProps]);
|
10358
|
-
return (React__default['default'].createElement("div", {
|
10406
|
+
return (React__default['default'].createElement("div", {
|
10407
|
+
/* @conditional-compile-remove(pinned-participants) */
|
10408
|
+
// We don't assign an drawer menu host id to the VideoGallery when a drawerMenuHostId is assigned from props
|
10409
|
+
id: drawerMenuHostIdFromProp ? undefined : drawerMenuHostId, "data-ui-id": ids.videoGallery, ref: containerRef, className: react.mergeStyles(videoGalleryOuterDivStyle, styles === null || styles === void 0 ? void 0 : styles.root) }, videoGalleryLayout));
|
10359
10410
|
};
|
10360
10411
|
|
10361
10412
|
// Copyright (c) Microsoft Corporation.
|
@@ -18609,6 +18660,7 @@ const remoteVideoViewOptions = {
|
|
18609
18660
|
* @private
|
18610
18661
|
*/
|
18611
18662
|
const MediaGallery = (props) => {
|
18663
|
+
var _a;
|
18612
18664
|
const videoGalleryProps = usePropsFor$1(VideoGallery);
|
18613
18665
|
const cameraSwitcherCameras = useSelector$1(localVideoCameraCycleButtonSelector);
|
18614
18666
|
const cameraSwitcherCallback = useHandlers();
|
@@ -18622,11 +18674,26 @@ const MediaGallery = (props) => {
|
|
18622
18674
|
React__default['default'].createElement(AvatarPersona, Object.assign({ userId: userId }, options, { dataProvider: props.onFetchAvatarPersonaData })))));
|
18623
18675
|
}, [props.onFetchAvatarPersonaData]);
|
18624
18676
|
useLocalVideoStartTrigger(!!props.isVideoStreamOn);
|
18677
|
+
/* @conditional-compile-remove(pinned-participants) */
|
18678
|
+
const remoteVideoTileMenuOptions = React.useMemo(() => {
|
18679
|
+
var _a;
|
18680
|
+
return ((_a = props.remoteVideoTileMenuOptions) === null || _a === void 0 ? void 0 : _a.isHidden)
|
18681
|
+
? false
|
18682
|
+
: props.isMobile
|
18683
|
+
? { kind: 'drawer', hostId: props.drawerMenuHostId }
|
18684
|
+
: { kind: 'contextual' };
|
18685
|
+
}, [(_a = props.remoteVideoTileMenuOptions) === null || _a === void 0 ? void 0 : _a.isHidden, props.isMobile, props.drawerMenuHostId]);
|
18625
18686
|
const VideoGalleryMemoized = React.useMemo(() => {
|
18626
18687
|
return (React__default['default'].createElement(VideoGallery, Object.assign({}, videoGalleryProps, { localVideoViewOptions: localVideoViewOptions$2, remoteVideoViewOptions: remoteVideoViewOptions, styles: VideoGalleryStyles, layout: "floatingLocalVideo", showCameraSwitcherInLocalPreview: props.isMobile, localVideoCameraCycleButtonProps: cameraSwitcherProps, onRenderAvatar: onRenderAvatar,
|
18627
18688
|
/* @conditional-compile-remove(pinned-participants) */
|
18628
|
-
|
18629
|
-
}, [
|
18689
|
+
remoteVideoTileMenuOptions: remoteVideoTileMenuOptions })));
|
18690
|
+
}, [
|
18691
|
+
videoGalleryProps,
|
18692
|
+
props.isMobile,
|
18693
|
+
onRenderAvatar,
|
18694
|
+
cameraSwitcherProps,
|
18695
|
+
/* @conditional-compile-remove(pinned-participants) */ remoteVideoTileMenuOptions
|
18696
|
+
]);
|
18630
18697
|
return (React__default['default'].createElement(React__default['default'].Fragment, null,
|
18631
18698
|
React__default['default'].createElement(Announcer, { announcementString: announcerString, ariaLive: 'polite' }),
|
18632
18699
|
VideoGalleryMemoized));
|
@@ -18857,7 +18924,9 @@ const CallPage = (props) => {
|
|
18857
18924
|
/* @conditional-compile-remove(one-to-n-calling) */
|
18858
18925
|
onFetchAvatarPersonaData: onFetchAvatarPersonaData, mobileView: mobileView,
|
18859
18926
|
/* @conditional-compile-remove(one-to-n-calling) */
|
18860
|
-
modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => _isInCall(callStatus) ? (isNetworkHealthy(networkReconnectTileProps.networkReconnectValue) ? (React__default['default'].createElement(MediaGallery, Object.assign({ isMobile: mobileView }, mediaGalleryProps, mediaGalleryHandlers, { onRenderAvatar: onRenderAvatar, onFetchAvatarPersonaData: onFetchAvatarPersonaData,
|
18927
|
+
modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => _isInCall(callStatus) ? (isNetworkHealthy(networkReconnectTileProps.networkReconnectValue) ? (React__default['default'].createElement(MediaGallery, Object.assign({ isMobile: mobileView }, mediaGalleryProps, mediaGalleryHandlers, { onRenderAvatar: onRenderAvatar, onFetchAvatarPersonaData: onFetchAvatarPersonaData,
|
18928
|
+
/* @conditional-compile-remove(pinned-participants) */
|
18929
|
+
remoteVideoTileMenuOptions: options === null || options === void 0 ? void 0 : options.remoteVideoTileMenu, drawerMenuHostId: drawerMenuHostId }))) : (React__default['default'].createElement(NetworkReconnectTile, Object.assign({}, networkReconnectTileProps)))) : (React__default['default'].createElement(React__default['default'].Fragment, null)), dataUiId: 'call-page' }));
|
18861
18930
|
};
|
18862
18931
|
/**
|
18863
18932
|
* @private
|