@azure/communication-react 1.15.0-alpha-202404040013 → 1.15.0-alpha-202404052151
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 +6 -0
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-ButXxDca.js → ChatMessageComponentAsRichTextEditBox-BD4CYGc0.js} +18 -12
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-BD4CYGc0.js.map +1 -0
- package/dist/dist-cjs/communication-react/{index-BK44EyzL.js → index-6MBkcLnx.js} +148 -31
- package/dist/dist-cjs/communication-react/index-6MBkcLnx.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +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/react-components/src/components/AttachmentCard.js +5 -5
- package/dist/dist-esm/react-components/src/components/AttachmentCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponentAsEditBox.d.ts → MyMessageComponents/ChatMessageComponentAsEditBox.d.ts} +4 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponentAsEditBox.js → MyMessageComponents/ChatMessageComponentAsEditBox.js} +11 -11
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBox.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js +2 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsEditBoxPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponentAsRichTextEditBox.d.ts → MyMessageComponents/ChatMessageComponentAsRichTextEditBox.d.ts} +5 -5
- package/dist/dist-esm/react-components/src/components/ChatMessage/{ChatMessageComponentAsRichTextEditBox.js → MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js} +35 -24
- package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTableButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.js +11 -2
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.js +14 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.d.ts +16 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +36 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +35 -5
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +2 -2
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +10 -2
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/SendBox.js +5 -3
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js +2 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/ParticipantVideoTileOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteContentShareReactionOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/index.js +1 -1
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +3 -2
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +3 -1
- package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +14 -3
- package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/utils/common.js +3 -2
- package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +4 -2
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +2 -0
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -0
- package/package.json +13 -12
- package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-ButXxDca.js.map +0 -1
- package/dist/dist-cjs/communication-react/index-BK44EyzL.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js.map +0 -1
@@ -176,7 +176,7 @@ function getDefaultExportFromCjs (x) {
|
|
176
176
|
// Copyright (c) Microsoft Corporation.
|
177
177
|
// Licensed under the MIT License.
|
178
178
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
179
|
-
var telemetryVersion = '1.15.0-alpha-
|
179
|
+
var telemetryVersion = '1.15.0-alpha-202404052151';
|
180
180
|
|
181
181
|
|
182
182
|
var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
|
@@ -5602,7 +5602,7 @@ const typingIndicatorStringStyle = react.mergeStyles({
|
|
5602
5602
|
wordBreak: 'break-word'
|
5603
5603
|
});
|
5604
5604
|
|
5605
|
-
var participantItem$k={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",displayNamePlaceholder:"Unnamed participant",participantStateRinging:"Calling...",participantStateHold:"On hold",attendeeRole:"Attendee"};var ParticipantList$l={overflowParticipantCount:"+{overflowCount} more"};var typingIndicator$k={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$k={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"Uploading... Please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed"};var richTextSendBox$k={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"Uploading... Please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",boldTooltip:"Bold",italicTooltip:"Italic",underlineTooltip:"Underline",bulletListTooltip:"Bulleted list",numberListTooltip:"Numbered list",increaseIndentTooltip:"Increase indent",decreaseIndentTooltip:"Decrease indent",insertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",insertRowOrColumnMenu:"Insert",insertTableMenuTitle:"Insert {column} x {row} table",insertRowAboveMenu:"Insert above",insertRowBelowMenu:"Insert below",insertColumnLeftMenu:"Insert left",insertColumnRightMenu:"Insert right",deleteRowOrColumnMenu:"Delete",deleteColumnMenu:"Delete column",deleteRowMenu:"Delete row",deleteTableMenu:"Delete table"};var mentionPopover$k={mentionPopoverHeader:"Suggestions"};var imageOverlay$k={downloadButtonLabel:"Download",dismissButtonAriaLabel:"Close"};var messageStatusIndicator$k={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$k={label:"Leave",tooltipContent:"Leave call",leaveOption:"Leave",endCallOption:"End call"};var cameraButton$k={onLabel:"Camera",offLabel:"Camera",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",onSplitButtonPrimaryActionCamera:"Turn off camera",offSplitButtonPrimaryActionCamera:"Turn on camera",cameraPrimaryActionSplitButtonTitle:"Use camera",videoEffectsMenuItemTitle:"Effects"};var microphoneButton$k={onLabel:"Mic",offLabel:"Mic",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",offSplitButtonMicrophonePrimaryAction:"Unmute microphone",onSplitButtonMicrophonePrimaryAction:"Mute microphone",microphonePrimaryActionSplitButtonTitle:"Use microphone"};var devicesButton$k={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$k={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$k={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var raiseHandButton$k={offLabel:"Raise",onLabel:"Lower",tooltipDisabledContent:"Raise Hand action is disabled",tooltipOnContent:"Lower Hand",tooltipOffContent:"Raise Hand"};var reactionButton$k={label:"React",ariaLabel:"React Button, Send a reaction",tooltipDisabledContent:"Reaction action is disabled",tooltipContent:"Send a reaction",likeReactionTooltipContent:"Like",heartReactionTooltipContent:"Love",laughReactionTooltipContent:"Laugh",applauseReactionTooltipContent:"Applause",surprisedReactionTooltipContent:"Surprised"};var messageThread$k={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:"Done",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadAttachment:"Download file",openAttachment:"Open file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",attachmentCardGroupMessage:"The message has {attachmentCount} attachment",messageDeletedAnnouncementAriaLabel:"The message is deleted"};var errorBar$k={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:"There was an issue starting screen share.",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.",cameraFrozenForRemoteParticipants:"Users in the call are having issues seeing your video. Please check your devices and network.",unableToStartVideoEffect:"Unable to apply video effect.",startSpotlightWhileMaxParticipantsAreSpotlighted:"Cannot start spotlight on participant(s) because the maximum number of participants are already spotlighted."};var videoGallery$k={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",pinParticipantMenuItemAriaLabel:"Pin {participantName}",unpinParticipantMenuItemAriaLabel:"Unpin {participantName}",pinnedParticipantAnnouncementAriaLabel:"Pinned {participantName}",unpinnedParticipantAnnouncementAriaLabel:"Unpinned {participantName}",startSpotlightVideoTileMenuLabel:"Spotlight for everyone",addSpotlightVideoTileMenuLabel:"Add spotlight",spotlightLimitReachedMenuTitle:"Spotlight limit reached",stopSpotlightVideoTileMenuLabel:"Stop spotlighting",stopSpotlightOnSelfVideoTileMenuLabel:"Exit spotlight",attendeeRole:"Attendee"};var dialpad$k={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$k={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$k={participantStateRinging:"Calling...",participantStateHold:"On hold"};var CameraAndMicrophoneSitePermissionsRequest$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$l={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$l={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$l={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$k={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$k={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 verticalGallery$k={leftNavButtonAriaLabel:"previous page",rightNavButtonAriaLabel:"next page"};var en_US$1 = {participantItem:participantItem$k,ParticipantList:ParticipantList$l,typingIndicator:typingIndicator$k,sendBox:sendBox$k,richTextSendBox:richTextSendBox$k,mentionPopover:mentionPopover$k,imageOverlay:imageOverlay$k,messageStatusIndicator:messageStatusIndicator$k,endCallButton:endCallButton$k,cameraButton:cameraButton$k,microphoneButton:microphoneButton$k,devicesButton:devicesButton$k,participantsButton:participantsButton$k,screenShareButton:screenShareButton$k,raiseHandButton:raiseHandButton$k,reactionButton:reactionButton$k,messageThread:messageThread$k,errorBar:errorBar$k,videoGallery:videoGallery$k,dialpad:dialpad$k,holdButton:holdButton$k,videoTile:videoTile$k,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest$k,CameraSitePermissionsRequest:CameraSitePermissionsRequest$k,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest$k,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck$k,CameraSitePermissionsCheck:CameraSitePermissionsCheck$k,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck$k,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied$k,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari$k,CameraSitePermissionsDenied:CameraSitePermissionsDenied$k,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied$k,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari$k,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari$k,UnsupportedBrowser:UnsupportedBrowser$l,UnsupportedBrowserVersion:UnsupportedBrowserVersion$l,UnsupportedOperatingSystem:UnsupportedOperatingSystem$l,BrowserPermissionDenied:BrowserPermissionDenied$k,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$k,verticalGallery:verticalGallery$k};
|
5605
|
+
var participantItem$k={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",displayNamePlaceholder:"Unnamed participant",participantStateRinging:"Calling...",participantStateHold:"On hold",attendeeRole:"Attendee"};var ParticipantList$l={overflowParticipantCount:"+{overflowCount} more"};var typingIndicator$k={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$k={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"Uploading... Please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",attachmentMoreMenu:"More Options"};var richTextSendBox$k={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"Uploading... Please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",boldTooltip:"Bold",italicTooltip:"Italic",underlineTooltip:"Underline",bulletListTooltip:"Bulleted list",numberListTooltip:"Numbered list",increaseIndentTooltip:"Increase indent",decreaseIndentTooltip:"Decrease indent",insertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",insertRowOrColumnMenu:"Insert",insertTableMenuTitle:"Insert {column} x {row} table",insertRowAboveMenu:"Insert above",insertRowBelowMenu:"Insert below",insertColumnLeftMenu:"Insert left",insertColumnRightMenu:"Insert right",deleteRowOrColumnMenu:"Delete",deleteColumnMenu:"Delete column",deleteRowMenu:"Delete row",deleteTableMenu:"Delete table",attachmentMoreMenu:"More Options"};var mentionPopover$k={mentionPopoverHeader:"Suggestions"};var imageOverlay$k={downloadButtonLabel:"Download",dismissButtonAriaLabel:"Close"};var messageStatusIndicator$k={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$k={label:"Leave",tooltipContent:"Leave call",leaveOption:"Leave",endCallOption:"End call"};var cameraButton$k={onLabel:"Camera",offLabel:"Camera",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",onSplitButtonPrimaryActionCamera:"Turn off camera",offSplitButtonPrimaryActionCamera:"Turn on camera",cameraPrimaryActionSplitButtonTitle:"Use camera",videoEffectsMenuItemTitle:"Effects"};var microphoneButton$k={onLabel:"Mic",offLabel:"Mic",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",offSplitButtonMicrophonePrimaryAction:"Unmute microphone",onSplitButtonMicrophonePrimaryAction:"Mute microphone",microphonePrimaryActionSplitButtonTitle:"Use microphone"};var devicesButton$k={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$k={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$k={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var raiseHandButton$k={offLabel:"Raise",onLabel:"Lower",tooltipDisabledContent:"Raise Hand action is disabled",tooltipOnContent:"Lower Hand",tooltipOffContent:"Raise Hand"};var reactionButton$k={label:"React",ariaLabel:"React Button, Send a reaction",tooltipDisabledContent:"Reaction action is disabled",tooltipContent:"Send a reaction",likeReactionTooltipContent:"Like",heartReactionTooltipContent:"Love",laughReactionTooltipContent:"Laugh",applauseReactionTooltipContent:"Applause",surprisedReactionTooltipContent:"Surprised"};var messageThread$k={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:"Done",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadAttachment:"Download file",openAttachment:"Open file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",attachmentCardGroupMessage:"The message has {attachmentCount} attachment",messageDeletedAnnouncementAriaLabel:"The message is deleted"};var errorBar$k={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:"There was an issue starting screen share.",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.",cameraFrozenForRemoteParticipants:"Users in the call are having issues seeing your video. Please check your devices and network.",unableToStartVideoEffect:"Unable to apply video effect.",startSpotlightWhileMaxParticipantsAreSpotlighted:"Cannot start spotlight on participant(s) because the maximum number of participants are already spotlighted."};var videoGallery$k={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",pinParticipantMenuItemAriaLabel:"Pin {participantName}",unpinParticipantMenuItemAriaLabel:"Unpin {participantName}",pinnedParticipantAnnouncementAriaLabel:"Pinned {participantName}",unpinnedParticipantAnnouncementAriaLabel:"Unpinned {participantName}",startSpotlightVideoTileMenuLabel:"Spotlight for everyone",addSpotlightVideoTileMenuLabel:"Add spotlight",spotlightLimitReachedMenuTitle:"Spotlight limit reached",stopSpotlightVideoTileMenuLabel:"Stop spotlighting",stopSpotlightOnSelfVideoTileMenuLabel:"Exit spotlight",attendeeRole:"Attendee"};var dialpad$k={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$k={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$k={participantStateRinging:"Calling...",participantStateHold:"On hold"};var CameraAndMicrophoneSitePermissionsRequest$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$k={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$l={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$l={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$l={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$k={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$k={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 verticalGallery$k={leftNavButtonAriaLabel:"previous page",rightNavButtonAriaLabel:"next page"};var en_US$1 = {participantItem:participantItem$k,ParticipantList:ParticipantList$l,typingIndicator:typingIndicator$k,sendBox:sendBox$k,richTextSendBox:richTextSendBox$k,mentionPopover:mentionPopover$k,imageOverlay:imageOverlay$k,messageStatusIndicator:messageStatusIndicator$k,endCallButton:endCallButton$k,cameraButton:cameraButton$k,microphoneButton:microphoneButton$k,devicesButton:devicesButton$k,participantsButton:participantsButton$k,screenShareButton:screenShareButton$k,raiseHandButton:raiseHandButton$k,reactionButton:reactionButton$k,messageThread:messageThread$k,errorBar:errorBar$k,videoGallery:videoGallery$k,dialpad:dialpad$k,holdButton:holdButton$k,videoTile:videoTile$k,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest$k,CameraSitePermissionsRequest:CameraSitePermissionsRequest$k,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest$k,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck$k,CameraSitePermissionsCheck:CameraSitePermissionsCheck$k,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck$k,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied$k,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari$k,CameraSitePermissionsDenied:CameraSitePermissionsDenied$k,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied$k,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari$k,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari$k,UnsupportedBrowser:UnsupportedBrowser$l,UnsupportedBrowserVersion:UnsupportedBrowserVersion$l,UnsupportedOperatingSystem:UnsupportedOperatingSystem$l,BrowserPermissionDenied:BrowserPermissionDenied$k,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$k,verticalGallery:verticalGallery$k};
|
5606
5606
|
|
5607
5607
|
// Copyright (c) Microsoft Corporation.
|
5608
5608
|
// Licensed under the MIT License.
|
@@ -6676,6 +6676,8 @@ const DEFAULT_COMPONENT_ICONS = {
|
|
6676
6676
|
DownloadAttachment: React.createElement(reactIcons.ArrowDownload20Regular, null),
|
6677
6677
|
/* @conditional-compile-remove(attachment-download) @conditional-compile-remove(attachment-upload) */
|
6678
6678
|
OpenAttachment: React.createElement(reactIcons.Open20Regular, null),
|
6679
|
+
/* @conditional-compile-remove(attachment-download) @conditional-compile-remove(attachment-upload) */
|
6680
|
+
AttachmentMoreMenu: React.createElement(reactIcons.MoreHorizontal20Filled, null),
|
6679
6681
|
/* @conditional-compile-remove(data-loss-prevention) */
|
6680
6682
|
DataLossPreventionProhibited: React.createElement(DataLossPreventionProhibited16Regular, null),
|
6681
6683
|
EditBoxCancel: React.createElement(reactIcons.Dismiss20Regular, null),
|
@@ -8733,7 +8735,7 @@ const SendBoxErrors = (props) => {
|
|
8733
8735
|
/* @conditional-compile-remove(attachment-download) @conditional-compile-remove(attachment-upload) */
|
8734
8736
|
/**
|
8735
8737
|
* Conditionally modify locale strings passed to the attachment card
|
8736
|
-
* @returns attachment
|
8738
|
+
* @returns attachment card strings
|
8737
8739
|
*/
|
8738
8740
|
const useLocaleAttachmentCardStringsTrampoline = () => {
|
8739
8741
|
/* @conditional-compile-remove(attachment-download) @conditional-compile-remove(attachment-upload) */
|
@@ -8748,7 +8750,8 @@ const useLocaleAttachmentCardStringsTrampoline = () => {
|
|
8748
8750
|
const useAttachmentCardStyles = reactComponents.makeStyles({
|
8749
8751
|
root: {
|
8750
8752
|
width: '12rem',
|
8751
|
-
minWidth: '75%'
|
8753
|
+
minWidth: '75%',
|
8754
|
+
'& div[role=toolbar]': Object.assign({}, reactComponents.shorthands.padding(0))
|
8752
8755
|
}
|
8753
8756
|
});
|
8754
8757
|
/**
|
@@ -8809,7 +8812,7 @@ const _AttachmentCard = (props) => {
|
|
8809
8812
|
}, [progress, showProgressIndicator, attachment.name, uploadStartedString, uploadCompletedString]);
|
8810
8813
|
return (React.createElement("div", { "data-is-focusable": true },
|
8811
8814
|
React.createElement(Announcer$1, { announcementString: announcerString, ariaLive: 'polite' }),
|
8812
|
-
React.createElement(reactComponents.Card, { className: attachmentCardStyles.root, size: "small", role: "listitem" },
|
8815
|
+
React.createElement(reactComponents.Card, { className: attachmentCardStyles.root, size: "small", role: "listitem", appearance: "filled-alternative", "aria-label": attachment.name },
|
8813
8816
|
React.createElement(reactComponents.CardHeader, { image: React.createElement(react.Icon, { "data-ui-id": 'attachmenttype-icon', iconName: reactFileTypeIcons.getFileTypeIconProps({
|
8814
8817
|
extension: React.useMemo(() => {
|
8815
8818
|
var _a, _b;
|
@@ -8818,11 +8821,12 @@ const _AttachmentCard = (props) => {
|
|
8818
8821
|
size: 24,
|
8819
8822
|
imageFileType: 'svg'
|
8820
8823
|
}).iconName }), header: React.createElement("div", { className: attachmentNameContainerClassName },
|
8821
|
-
React.createElement(reactComponents.Text, { title: attachment.name }, attachment.name)), action:
|
8824
|
+
React.createElement(reactComponents.Text, { title: attachment.name }, attachment.name)), action: MappedMenuItems(menuActions, attachment, onActionHandlerFailed) })),
|
8822
8825
|
isUploadComplete ? (React.createElement(reactComponents.CardFooter, null,
|
8823
8826
|
React.createElement(reactComponents.ProgressBar, { thickness: "medium", value: progress, shape: "rounded" }))) : (React.createElement(React.Fragment, null, " "))));
|
8824
8827
|
};
|
8825
|
-
const
|
8828
|
+
const MappedMenuItems = (menuActions, attachment, handleOnClickError) => {
|
8829
|
+
const localeStrings = useLocaleAttachmentCardStringsTrampoline();
|
8826
8830
|
if (menuActions.length === 0) {
|
8827
8831
|
return React.createElement(React.Fragment, null);
|
8828
8832
|
}
|
@@ -8836,7 +8840,7 @@ const getMenuItems = (menuActions, attachment, handleOnClickError) => {
|
|
8836
8840
|
} })) : (React.createElement(reactComponents.Toolbar, null,
|
8837
8841
|
React.createElement(reactComponents.Menu, null,
|
8838
8842
|
React.createElement(reactComponents.MenuTrigger, null,
|
8839
|
-
React.createElement(reactComponents.ToolbarButton, {
|
8843
|
+
React.createElement(reactComponents.ToolbarButton, { icon: React.createElement(react.Icon, { iconName: "AttachmentMoreMenu", "aria-label": localeStrings.attachmentMoreMenu }) })),
|
8840
8844
|
React.createElement(reactComponents.MenuPopover, null,
|
8841
8845
|
React.createElement(reactComponents.MenuList, null, menuActions.map((menuItem, index) => (React.createElement(reactComponents.MenuItem, { key: index, icon: menuItem.icon, onClick: () => __awaiter$D(void 0, void 0, void 0, function* () {
|
8842
8846
|
try {
|
@@ -9413,7 +9417,7 @@ const SendBox = (props) => {
|
|
9413
9417
|
}, [activeAttachmentUploads, attachmentUploadsPendingError]);
|
9414
9418
|
/* @conditional-compile-remove(attachment-upload) */
|
9415
9419
|
const onRenderAttachmentUploads = React.useCallback(() => {
|
9416
|
-
var _a, _b, _c, _d, _e, _f;
|
9420
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
9417
9421
|
if (!(activeAttachmentUploads === null || activeAttachmentUploads === void 0 ? void 0 : activeAttachmentUploads.filter((upload) => !upload.uploadError).length)) {
|
9418
9422
|
return null;
|
9419
9423
|
}
|
@@ -9422,7 +9426,8 @@ const SendBox = (props) => {
|
|
9422
9426
|
React.createElement(_AttachmentUploadCards, { activeAttachmentUploads: activeAttachmentUploads, onCancelAttachmentUpload: props.onCancelAttachmentUpload, strings: {
|
9423
9427
|
removeAttachment: (_b = (_a = props.strings) === null || _a === void 0 ? void 0 : _a.removeAttachment) !== null && _b !== void 0 ? _b : localeStrings.removeAttachment,
|
9424
9428
|
uploading: (_d = (_c = props.strings) === null || _c === void 0 ? void 0 : _c.uploading) !== null && _d !== void 0 ? _d : localeStrings.uploading,
|
9425
|
-
uploadCompleted: (_f = (_e = props.strings) === null || _e === void 0 ? void 0 : _e.uploadCompleted) !== null && _f !== void 0 ? _f : localeStrings.uploadCompleted
|
9429
|
+
uploadCompleted: (_f = (_e = props.strings) === null || _e === void 0 ? void 0 : _e.uploadCompleted) !== null && _f !== void 0 ? _f : localeStrings.uploadCompleted,
|
9430
|
+
attachmentMoreMenu: (_h = (_g = props.strings) === null || _g === void 0 ? void 0 : _g.attachmentMoreMenu) !== null && _h !== void 0 ? _h : localeStrings.attachmentMoreMenu
|
9426
9431
|
} }))));
|
9427
9432
|
}, [
|
9428
9433
|
activeAttachmentUploads,
|
@@ -9430,7 +9435,8 @@ const SendBox = (props) => {
|
|
9430
9435
|
theme,
|
9431
9436
|
localeStrings.removeAttachment,
|
9432
9437
|
localeStrings.uploading,
|
9433
|
-
localeStrings.uploadCompleted
|
9438
|
+
localeStrings.uploadCompleted,
|
9439
|
+
localeStrings.attachmentMoreMenu
|
9434
9440
|
]);
|
9435
9441
|
return (React.createElement(react.Stack, { className: react.mergeStyles(sendBoxWrapperStyles, { overflow: 'visible' } // This is needed for the mention popup to be visible
|
9436
9442
|
) }, /* @conditional-compile-remove(attachment-upload) */
|
@@ -9703,7 +9709,13 @@ const richTextEditorStyle = (props) => {
|
|
9703
9709
|
outline: 'none',
|
9704
9710
|
minHeight: props.minHeight,
|
9705
9711
|
maxHeight: props.maxHeight,
|
9706
|
-
maxWidth: '100%'
|
9712
|
+
maxWidth: '100%',
|
9713
|
+
// this is needed to fix an issue when text has some indentation, indentation uses blockquote tag and
|
9714
|
+
// it gets both horizontal margins because of the user agent stylesheet
|
9715
|
+
// remove this code when RoosterJS content model packages are used as they use different approach for indentation
|
9716
|
+
'& blockquote': {
|
9717
|
+
marginInlineEnd: '0'
|
9718
|
+
}
|
9707
9719
|
});
|
9708
9720
|
};
|
9709
9721
|
/**
|
@@ -9722,8 +9734,7 @@ const richTextEditorWrapperStyle = (theme, addTopOffset) => {
|
|
9722
9734
|
borderCollapse: 'collapse',
|
9723
9735
|
width: '100%',
|
9724
9736
|
borderSpacing: '0',
|
9725
|
-
|
9726
|
-
tableLayout: 'fixed',
|
9737
|
+
tableLayout: 'auto',
|
9727
9738
|
'& tr': {
|
9728
9739
|
background: 'transparent',
|
9729
9740
|
border: `1px solid ${theme.palette.neutralLight}`,
|
@@ -9974,6 +9985,12 @@ const insertTableMenuTitleStyles = react.mergeStyles({
|
|
9974
9985
|
fontSize: '0.75rem',
|
9975
9986
|
marginBottom: '0.5rem'
|
9976
9987
|
});
|
9988
|
+
/**
|
9989
|
+
* @private
|
9990
|
+
*/
|
9991
|
+
const tableContextMenuIconStyles = react.mergeStyles({
|
9992
|
+
marginTop: '0.375rem'
|
9993
|
+
});
|
9977
9994
|
|
9978
9995
|
// Copyright (c) Microsoft Corporation.
|
9979
9996
|
// Licensed under the MIT License.
|
@@ -9994,6 +10011,9 @@ const insertTable = (editor, columns, rows) => {
|
|
9994
10011
|
const td = document.createElement('td');
|
9995
10012
|
tr.appendChild(td);
|
9996
10013
|
td.appendChild(document.createElement('br'));
|
10014
|
+
// set the width as otherwise insets doesn't work well in table
|
10015
|
+
// review if it's needed when content model packages are used
|
10016
|
+
td.style.width = getTableCellWidth(columns);
|
9997
10017
|
}
|
9998
10018
|
}
|
9999
10019
|
editor.focus();
|
@@ -10006,6 +10026,17 @@ const insertTable = (editor, columns, rows) => {
|
|
10006
10026
|
formatApiName: 'insertTable'
|
10007
10027
|
});
|
10008
10028
|
};
|
10029
|
+
function getTableCellWidth(columns) {
|
10030
|
+
if (columns <= 4) {
|
10031
|
+
return '120px';
|
10032
|
+
}
|
10033
|
+
else if (columns <= 6) {
|
10034
|
+
return '100px';
|
10035
|
+
}
|
10036
|
+
else {
|
10037
|
+
return '70px';
|
10038
|
+
}
|
10039
|
+
}
|
10009
10040
|
|
10010
10041
|
// Copyright (c) Microsoft Corporation.
|
10011
10042
|
// Licensed under the MIT License.
|
@@ -10287,7 +10318,11 @@ const tableEditInsertMenuItem = {
|
|
10287
10318
|
menuNameTableInsertLeft: 'Insert left123 ',
|
10288
10319
|
menuNameTableInsertRight: 'Insert right'
|
10289
10320
|
},
|
10290
|
-
onClick
|
10321
|
+
onClick,
|
10322
|
+
iconProps: {
|
10323
|
+
iconName: 'RichTextTableInsertMenuIcon',
|
10324
|
+
styles: { root: tableContextMenuIconStyles }
|
10325
|
+
}
|
10291
10326
|
};
|
10292
10327
|
const tableEditDeleteMenuItem = {
|
10293
10328
|
key: 'menuNameTableDelete',
|
@@ -10297,7 +10332,11 @@ const tableEditDeleteMenuItem = {
|
|
10297
10332
|
menuNameTableDeleteRow: 'Delete row',
|
10298
10333
|
menuNameTableDeleteTable: 'Delete table'
|
10299
10334
|
},
|
10300
|
-
onClick
|
10335
|
+
onClick,
|
10336
|
+
iconProps: {
|
10337
|
+
iconName: 'RichTextTableDeleteMenuIcon',
|
10338
|
+
styles: { root: tableContextMenuIconStyles }
|
10339
|
+
}
|
10301
10340
|
};
|
10302
10341
|
const tableActions = [tableEditInsertMenuItem, tableEditDeleteMenuItem];
|
10303
10342
|
/**
|
@@ -10313,6 +10352,41 @@ const getEditingTable = (editor, node) => {
|
|
10313
10352
|
return (table === null || table === void 0 ? void 0 : table.isContentEditable) ? { table, td } : null;
|
10314
10353
|
};
|
10315
10354
|
|
10355
|
+
// Copyright (c) Microsoft Corporation.
|
10356
|
+
// Licensed under the MIT License.
|
10357
|
+
/**
|
10358
|
+
* CopyPastePlugin is a plugin for handling copy and paste events in the editor.
|
10359
|
+
*/
|
10360
|
+
class CopyPastePlugin {
|
10361
|
+
getName() {
|
10362
|
+
return 'CopyPastePlugin';
|
10363
|
+
}
|
10364
|
+
initialize() { }
|
10365
|
+
dispose() { }
|
10366
|
+
onPluginEvent(event) {
|
10367
|
+
removeImageElement(event);
|
10368
|
+
}
|
10369
|
+
}
|
10370
|
+
/**
|
10371
|
+
* @internal
|
10372
|
+
* Exported only for unit testing
|
10373
|
+
*/
|
10374
|
+
const removeImageElement = (event) => {
|
10375
|
+
// We don't support the pasting options such as paste as image yet.
|
10376
|
+
if (event.eventType === roosterjsEditorTypesCompatible.CompatiblePluginEventType.BeforePaste && event.pasteType === roosterjsEditorTypesCompatible.CompatiblePasteType.Normal) {
|
10377
|
+
event.fragment.querySelectorAll('img').forEach((image) => {
|
10378
|
+
// If the image is the only child of its parent, remove all the parents of this img element.
|
10379
|
+
let parentNode = image.parentElement;
|
10380
|
+
let currentNode = image;
|
10381
|
+
while ((parentNode === null || parentNode === void 0 ? void 0 : parentNode.childNodes.length) === 1) {
|
10382
|
+
currentNode = parentNode;
|
10383
|
+
parentNode = parentNode.parentElement;
|
10384
|
+
}
|
10385
|
+
currentNode === null || currentNode === void 0 ? void 0 : currentNode.remove();
|
10386
|
+
});
|
10387
|
+
}
|
10388
|
+
};
|
10389
|
+
|
10316
10390
|
// Copyright (c) Microsoft Corporation.
|
10317
10391
|
// Licensed under the MIT License.
|
10318
10392
|
/**
|
@@ -10321,8 +10395,9 @@ const getEditingTable = (editor, node) => {
|
|
10321
10395
|
* @beta
|
10322
10396
|
*/
|
10323
10397
|
const RichTextEditor = React.forwardRef((props, ref) => {
|
10324
|
-
const { initialContent, onChange, placeholderText, strings, showRichTextEditorFormatting } = props;
|
10398
|
+
const { initialContent, onChange, placeholderText, strings, showRichTextEditorFormatting, content } = props;
|
10325
10399
|
const editor = React.useRef(null);
|
10400
|
+
const contentValue = React.useRef(content);
|
10326
10401
|
const theme = useTheme();
|
10327
10402
|
React.useImperativeHandle(ref, () => {
|
10328
10403
|
return {
|
@@ -10342,11 +10417,24 @@ const RichTextEditor = React.forwardRef((props, ref) => {
|
|
10342
10417
|
return roosterjsReact.createRibbonPlugin();
|
10343
10418
|
}, []);
|
10344
10419
|
const editorCreator = React.useCallback((div, options) => {
|
10345
|
-
|
10346
|
-
|
10420
|
+
const editorValue = new roosterjsEditorCore.Editor(div, options);
|
10421
|
+
// this is to fix issue when editor is created or re-rendered and has existing text
|
10422
|
+
// Content model package has a correct behavior and this fix can be deleted
|
10423
|
+
if (contentValue.current !== undefined && contentValue.current.length > 0) {
|
10424
|
+
// in case if initialContent is not empty, RoosterJS doesn't set caret position to the end.
|
10425
|
+
focusAndUpdateContent(editorValue, contentValue.current);
|
10426
|
+
}
|
10427
|
+
else if (initialContent !== undefined && initialContent.length > 0) {
|
10428
|
+
// changing layout in rich text send box cause the editor to be recreated
|
10429
|
+
// to keep the content, we need to set messageContent to the current content
|
10430
|
+
focusAndUpdateContent(editorValue, initialContent);
|
10431
|
+
}
|
10432
|
+
editor.current = editorValue;
|
10433
|
+
return editorValue;
|
10347
10434
|
},
|
10348
10435
|
// trigger force editor reset when strings are changed to update context menu strings
|
10349
10436
|
// see RosterJS documentation for 'editorCreator' for more details
|
10437
|
+
// the editorCreator callback shouldn't be updated when the initialContent is changed
|
10350
10438
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
10351
10439
|
[strings]);
|
10352
10440
|
const placeholderPlugin = React.useMemo(() => {
|
@@ -10365,7 +10453,16 @@ const RichTextEditor = React.forwardRef((props, ref) => {
|
|
10365
10453
|
const updateContentPlugin = roosterjsReact.createUpdateContentPlugin(roosterjsReact.UpdateMode.OnContentChangedEvent | roosterjsReact.UpdateMode.OnUserInput, (content) => {
|
10366
10454
|
onChange && onChange(content);
|
10367
10455
|
});
|
10368
|
-
|
10456
|
+
const copyPastePlugin = new CopyPastePlugin();
|
10457
|
+
return [
|
10458
|
+
contentEdit,
|
10459
|
+
placeholderPlugin,
|
10460
|
+
updateContentPlugin,
|
10461
|
+
ribbonPlugin,
|
10462
|
+
contextPlugin,
|
10463
|
+
tableEditMenuProvider,
|
10464
|
+
copyPastePlugin
|
10465
|
+
];
|
10369
10466
|
}, [onChange, placeholderPlugin, ribbonPlugin, strings]);
|
10370
10467
|
const ribbon = React.useMemo(() => {
|
10371
10468
|
const buttons = ribbonButtons(theme);
|
@@ -10389,7 +10486,7 @@ const RichTextEditor = React.forwardRef((props, ref) => {
|
|
10389
10486
|
return (React.createElement("div", { "data-testid": 'rich-text-editor-wrapper' },
|
10390
10487
|
showRichTextEditorFormatting && ribbon,
|
10391
10488
|
React.createElement("div", { className: richTextEditorWrapperStyle(theme, !showRichTextEditorFormatting) },
|
10392
|
-
React.createElement(roosterjsReact.Rooster, { defaultFormat: defaultFormat,
|
10489
|
+
React.createElement(roosterjsReact.Rooster, { defaultFormat: defaultFormat, inDarkMode: isDarkThemed(theme), plugins: plugins, className: richTextEditorStyle(props.styles), editorCreator: editorCreator,
|
10393
10490
|
// TODO: confirm the color during inline images implementation
|
10394
10491
|
imageSelectionBorderColor: 'blue',
|
10395
10492
|
// doNotAdjustEditorColor is used to fix the default background color for Rooster component
|
@@ -10397,6 +10494,12 @@ const RichTextEditor = React.forwardRef((props, ref) => {
|
|
10397
10494
|
// if we don't use 'allowKeyboardEventPropagation' only the enter key is caught
|
10398
10495
|
onKeyDown: props.onKeyDown }))));
|
10399
10496
|
});
|
10497
|
+
const focusAndUpdateContent = (editor, content) => {
|
10498
|
+
// focus the editor to set correct selection position
|
10499
|
+
editor.focus();
|
10500
|
+
// set initial content
|
10501
|
+
editor.setContent(content);
|
10502
|
+
};
|
10400
10503
|
|
10401
10504
|
// Copyright (c) Microsoft Corporation.
|
10402
10505
|
// Licensed under the MIT License.
|
@@ -10440,7 +10543,7 @@ const RichTextInputBoxComponent = (props) => {
|
|
10440
10543
|
/* @conditional-compile-remove(attachment-upload) */
|
10441
10544
|
onRenderAttachmentUploads,
|
10442
10545
|
/* @conditional-compile-remove(attachment-upload) */
|
10443
|
-
hasAttachments, richTextEditorStyleProps, isHorizontalLayoutDisabled = false } = props;
|
10546
|
+
hasAttachments, richTextEditorStyleProps, isHorizontalLayoutDisabled = false, content } = props;
|
10444
10547
|
const theme = useTheme();
|
10445
10548
|
const [showRichTextEditorFormatting, setShowRichTextEditorFormatting] = React.useState(false);
|
10446
10549
|
const onRenderRichTextEditorIcon = React.useCallback((isHover) => (React.createElement(react.Icon, { iconName: isHover || showRichTextEditorFormatting ? 'RichTextEditorButtonIconFilled' : 'RichTextEditorButtonIcon', className: richTextFormatButtonIconStyle(theme, !disabled && (isHover || showRichTextEditorFormatting)) })), [disabled, showRichTextEditorFormatting, theme]);
|
@@ -10491,7 +10594,7 @@ const RichTextInputBoxComponent = (props) => {
|
|
10491
10594
|
React.createElement(react.Stack, { grow: true, horizontal: useHorizontalLayout, horizontalAlign: useHorizontalLayout ? 'end' : 'space-between', className: inputBoxContentStackStyle, wrap: useHorizontalLayout },
|
10492
10595
|
React.createElement(react.Stack, { grow: true, className: inputBoxRichTextStackStyle },
|
10493
10596
|
React.createElement(react.Stack.Item, { className: inputBoxRichTextStackItemStyle },
|
10494
|
-
React.createElement(RichTextEditor, { initialContent: initialContent, placeholderText: placeholderText, onChange: onChange, onKeyDown: onKeyDown, ref: editorComponentRef, strings: strings, showRichTextEditorFormatting: showRichTextEditorFormatting, styles: richTextEditorStyle })),
|
10597
|
+
React.createElement(RichTextEditor, { content: content, initialContent: initialContent, placeholderText: placeholderText, onChange: onChange, onKeyDown: onKeyDown, ref: editorComponentRef, strings: strings, showRichTextEditorFormatting: showRichTextEditorFormatting, styles: richTextEditorStyle })),
|
10495
10598
|
/* @conditional-compile-remove(attachment-upload) */ onRenderAttachmentUploads &&
|
10496
10599
|
onRenderAttachmentUploads()),
|
10497
10600
|
actionButtons)));
|
@@ -10679,7 +10782,8 @@ const RichTextSendBox = (props) => {
|
|
10679
10782
|
React.createElement(_AttachmentUploadCards, { activeAttachmentUploads: activeAttachmentUploads, onCancelAttachmentUpload: onCancelAttachmentUpload, strings: {
|
10680
10783
|
removeAttachment: strings.removeAttachment,
|
10681
10784
|
uploading: strings.uploading,
|
10682
|
-
uploadCompleted: strings.uploadCompleted
|
10785
|
+
uploadCompleted: strings.uploadCompleted,
|
10786
|
+
attachmentMoreMenu: strings.attachmentMoreMenu
|
10683
10787
|
} }))));
|
10684
10788
|
}, [
|
10685
10789
|
activeAttachmentUploads,
|
@@ -10687,6 +10791,7 @@ const RichTextSendBox = (props) => {
|
|
10687
10791
|
strings.removeAttachment,
|
10688
10792
|
strings.uploadCompleted,
|
10689
10793
|
strings.uploading,
|
10794
|
+
strings.attachmentMoreMenu,
|
10690
10795
|
theme
|
10691
10796
|
]);
|
10692
10797
|
const sendButton = React.useMemo(() => {
|
@@ -10701,7 +10806,13 @@ const RichTextSendBox = (props) => {
|
|
10701
10806
|
}, [activeAttachmentUploads]);
|
10702
10807
|
return (React.createElement(react.Stack, null,
|
10703
10808
|
React.createElement(RichTextSendBoxErrors, Object.assign({}, sendBoxErrorsProps)),
|
10704
|
-
React.createElement(RichTextInputBoxComponent
|
10809
|
+
React.createElement(RichTextInputBoxComponent
|
10810
|
+
// in case when format bar is shown, the editor is re-rendered that causes the content to be lost
|
10811
|
+
// setting the content will ensure that the latest content is used when editor is re-rendered
|
10812
|
+
, {
|
10813
|
+
// in case when format bar is shown, the editor is re-rendered that causes the content to be lost
|
10814
|
+
// setting the content will ensure that the latest content is used when editor is re-rendered
|
10815
|
+
content: contentValue, placeholderText: strings.placeholderText, onChange: setContent, onEnterKeyDown: sendMessageOnClick, editorComponentRef: editorComponentRef, strings: strings, disabled: disabled, actionComponents: sendButton, richTextEditorStyleProps: sendBoxRichTextEditorStyle,
|
10705
10816
|
/* @conditional-compile-remove(attachment-upload) */
|
10706
10817
|
onRenderAttachmentUploads: onRenderAttachmentUploads,
|
10707
10818
|
/* @conditional-compile-remove(attachment-upload) */
|
@@ -10875,7 +10986,9 @@ const useChatMessageRenderStyles = reactComponents.makeStyles({
|
|
10875
10986
|
*/
|
10876
10987
|
const useChatMyMessageStyles = reactComponents.makeStyles({
|
10877
10988
|
root: {
|
10878
|
-
|
10989
|
+
// The first column's width should be set to 1fr
|
10990
|
+
// because otherwise rich text editor's width will grow indefinitely
|
10991
|
+
gridTemplateColumns: '1fr auto',
|
10879
10992
|
gridTemplateAreas: `
|
10880
10993
|
". actions"
|
10881
10994
|
"body body"
|
@@ -12473,7 +12586,7 @@ const ChatMessageComponentAsEditBox = (props) => {
|
|
12473
12586
|
// Copyright (c) Microsoft Corporation.
|
12474
12587
|
// Licensed under the MIT License.
|
12475
12588
|
/* @conditional-compile-remove(rich-text-editor) */
|
12476
|
-
const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-
|
12589
|
+
const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-BD4CYGc0.js'); }).then((module) => ({
|
12477
12590
|
default: module.ChatMessageComponentAsRichTextEditBox
|
12478
12591
|
})));
|
12479
12592
|
/**
|
@@ -15560,7 +15673,8 @@ const ParticipantVideoTileOverlay = React.memo((props) => {
|
|
15560
15673
|
display: 'flex',
|
15561
15674
|
justifyContent: 'center',
|
15562
15675
|
alignItems: 'center',
|
15563
|
-
backgroundColor: canRenderReaction ? 'rgba(0, 0, 0, 0.5)' : 'transparent'
|
15676
|
+
backgroundColor: canRenderReaction ? 'rgba(0, 0, 0, 0.5)' : 'transparent',
|
15677
|
+
borderRadius: '0.25rem'
|
15564
15678
|
}) },
|
15565
15679
|
React.createElement("div", { style: { height: '33.33%' } }),
|
15566
15680
|
canRenderReaction && isValidImageSource && (React.createElement("div", { style: {
|
@@ -15885,10 +15999,10 @@ const RemoteContentShareReactionOverlay = React.memo((props) => {
|
|
15885
15999
|
}
|
15886
16000
|
return canRender;
|
15887
16001
|
};
|
15888
|
-
const containerHeight = hostDivHeight !== null && hostDivHeight !== void 0 ? hostDivHeight : 0;
|
15889
|
-
const containerWidth = hostDivWidth !== null && hostDivWidth !== void 0 ? hostDivWidth : 0;
|
15890
16002
|
const styleBucket = () => getReactionStyleBucket();
|
15891
16003
|
const displaySizePx = () => REACTION_START_DISPLAY_SIZE * styleBucket().sizeScale;
|
16004
|
+
const containerHeight = hostDivHeight !== null && hostDivHeight !== void 0 ? hostDivHeight : 0;
|
16005
|
+
const containerWidth = (hostDivWidth !== null && hostDivWidth !== void 0 ? hostDivWidth : 0) - displaySizePx();
|
15892
16006
|
const leftPosition = (position) => generateStartPositionWave(position, containerWidth / 2, true);
|
15893
16007
|
const reactionMovementStyle = (position) => getReactionMovementStyle(leftPosition(position));
|
15894
16008
|
return (React.createElement(react.Stack, { className: react.mergeStyles(videoContainerStyles, {
|
@@ -39378,6 +39492,7 @@ exports.Dialpad = Dialpad;
|
|
39378
39492
|
exports.EndCallButton = EndCallButton;
|
39379
39493
|
exports.ErrorBar = ErrorBar;
|
39380
39494
|
exports.FluentThemeProvider = FluentThemeProvider;
|
39495
|
+
exports.FluentV9ThemeProvider = FluentV9ThemeProvider;
|
39381
39496
|
exports.GridLayout = GridLayout;
|
39382
39497
|
exports.HoldButton = HoldButton;
|
39383
39498
|
exports.ImageOverlay = ImageOverlay;
|
@@ -39404,8 +39519,10 @@ exports.UnsupportedBrowserVersion = UnsupportedBrowserVersion$k;
|
|
39404
39519
|
exports.UnsupportedOperatingSystem = UnsupportedOperatingSystem$k;
|
39405
39520
|
exports.VideoGallery = VideoGallery;
|
39406
39521
|
exports.VideoTile = VideoTile;
|
39522
|
+
exports._AttachmentUploadCards = _AttachmentUploadCards;
|
39407
39523
|
exports._IdentifierProvider = _IdentifierProvider;
|
39408
39524
|
exports._formatString = _formatString;
|
39525
|
+
exports.attachmentUploadCardsStyles = attachmentUploadCardsStyles;
|
39409
39526
|
exports.createAzureCommunicationCallAdapter = createAzureCommunicationCallAdapter;
|
39410
39527
|
exports.createAzureCommunicationCallAdapterFromClient = createAzureCommunicationCallAdapterFromClient;
|
39411
39528
|
exports.createAzureCommunicationCallWithChatAdapter = createAzureCommunicationCallWithChatAdapter;
|
@@ -39455,4 +39572,4 @@ exports.useTeamsCall = useTeamsCall;
|
|
39455
39572
|
exports.useTeamsCallAdapter = useTeamsCallAdapter;
|
39456
39573
|
exports.useTeamsCallAgent = useTeamsCallAgent;
|
39457
39574
|
exports.useTheme = useTheme;
|
39458
|
-
//# sourceMappingURL=index-
|
39575
|
+
//# sourceMappingURL=index-6MBkcLnx.js.map
|