@azure/communication-react 1.14.0-alpha-202403080013 → 1.14.0-alpha-202403090011
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 +11 -9
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CQnsLK4_.js → RichTextSendBoxWrapper-DXy3ttBO.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CQnsLK4_.js.map → RichTextSendBoxWrapper-DXy3ttBO.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index--vbi3hW5.js → index-DNgYW17b.js} +111 -72
- package/dist/dist-cjs/communication-react/index-DNgYW17b.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/chat-component-bindings/src/messageThreadSelector.js +14 -25
- package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +13 -2
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +11 -2
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +36 -12
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +18 -20
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +2 -0
- package/dist/dist-esm/react-components/src/components/ReactionButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -1
- 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 +3 -1
- 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 +12 -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 +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.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/themes.d.ts +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.js +1 -1
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +7 -0
- package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +1 -2
- package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +3 -3
- package/dist/dist-cjs/communication-react/index--vbi3hW5.js.map +0 -1
@@ -3181,9 +3181,9 @@ export declare interface CallWithChatAdapterManagement {
|
|
3181
3181
|
updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
|
3182
3182
|
/** @beta */
|
3183
3183
|
updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
|
3184
|
-
/** @
|
3184
|
+
/** @public */
|
3185
3185
|
downloadResourceToCache(resourceDetails: ResourceDetails): Promise<void>;
|
3186
|
-
/** @
|
3186
|
+
/** @public */
|
3187
3187
|
removeResourceFromCache(resourceDetails: ResourceDetails): void;
|
3188
3188
|
/**
|
3189
3189
|
* Puts the Call in a Localhold.
|
@@ -4484,9 +4484,9 @@ export declare type ChatAdapterUiState = {
|
|
4484
4484
|
|
4485
4485
|
/**
|
4486
4486
|
* Represents the type of attachment
|
4487
|
-
* @
|
4487
|
+
* @public
|
4488
4488
|
*/
|
4489
|
-
export declare type ChatAttachmentType = 'unknown' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ '
|
4489
|
+
export declare type ChatAttachmentType = 'unknown' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'image' | /* @conditional-compile-remove(file-sharing) */ 'file';
|
4490
4490
|
|
4491
4491
|
/**
|
4492
4492
|
* Common props for selectors for {@link ChatClientState}.
|
@@ -7492,14 +7492,14 @@ export declare interface _Identifiers {
|
|
7492
7492
|
/**
|
7493
7493
|
* Component to render a fullscreen modal for a selected image.
|
7494
7494
|
*
|
7495
|
-
* @
|
7495
|
+
* @public
|
7496
7496
|
*/
|
7497
7497
|
export declare const ImageOverlay: (props: ImageOverlayProps) => JSX.Element;
|
7498
7498
|
|
7499
7499
|
/**
|
7500
7500
|
* Props for {@link ImageOverlay}.
|
7501
7501
|
*
|
7502
|
-
* @
|
7502
|
+
* @public
|
7503
7503
|
*/
|
7504
7504
|
export declare interface ImageOverlayProps {
|
7505
7505
|
/**
|
@@ -7551,7 +7551,7 @@ export declare interface ImageOverlayStrings {
|
|
7551
7551
|
/**
|
7552
7552
|
* Preset dark theme for the ImageOverlay component.
|
7553
7553
|
*
|
7554
|
-
* @
|
7554
|
+
* @public
|
7555
7555
|
*/
|
7556
7556
|
export declare const imageOverlayTheme: PartialTheme;
|
7557
7557
|
|
@@ -7604,7 +7604,7 @@ export declare interface IncomingCallState {
|
|
7604
7604
|
/**
|
7605
7605
|
* InlineImage's state, as reflected in the UI.
|
7606
7606
|
*
|
7607
|
-
* @
|
7607
|
+
* @public
|
7608
7608
|
*/
|
7609
7609
|
export declare interface InlineImage {
|
7610
7610
|
/** ID of the message that the inline image is belonged to */
|
@@ -7616,7 +7616,7 @@ export declare interface InlineImage {
|
|
7616
7616
|
/**
|
7617
7617
|
* Options to display inline image in the inline image scenario.
|
7618
7618
|
*
|
7619
|
-
* @
|
7619
|
+
* @public
|
7620
7620
|
*/
|
7621
7621
|
export declare interface InlineImageOptions {
|
7622
7622
|
/**
|
@@ -9289,6 +9289,8 @@ export declare interface ReactionButtonProps extends ControlBarButtonProps {
|
|
9289
9289
|
export declare interface ReactionButtonStrings {
|
9290
9290
|
/** Label of the button. */
|
9291
9291
|
label: string;
|
9292
|
+
/** Aria label for reaction button accessibility announcement */
|
9293
|
+
ariaLabel: string;
|
9292
9294
|
/** Tooltip content when the button is disabled. */
|
9293
9295
|
tooltipDisabledContent?: string;
|
9294
9296
|
/** Tooltip content when the button is enabled. */
|
@@ -1,7 +1,7 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
3
|
var React = require('react');
|
4
|
-
var index = require('./index
|
4
|
+
var index = require('./index-DNgYW17b.js');
|
5
5
|
require('@fluentui/react');
|
6
6
|
require('@fluentui/react-file-type-icons');
|
7
7
|
require('@azure/communication-common');
|
@@ -48,4 +48,4 @@ const RichTextSendBoxWrapper = () => {
|
|
48
48
|
};
|
49
49
|
|
50
50
|
exports.RichTextSendBoxWrapper = RichTextSendBoxWrapper;
|
51
|
-
//# sourceMappingURL=RichTextSendBoxWrapper-
|
51
|
+
//# sourceMappingURL=RichTextSendBoxWrapper-DXy3ttBO.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RichTextSendBoxWrapper-
|
1
|
+
{"version":3,"file":"RichTextSendBoxWrapper-DXy3ttBO.js","sources":["../../../../react-composites/src/composites/common/RichTextSendBoxWrapper.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(rich-text-editor) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBox } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor) */\n/**\n * @private\n *\n * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox\n * before lazyLoading is done\n */\nexport const RichTextSendBoxWrapper = (): JSX.Element => {\n const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n return <RichTextSendBox {...richTextSendBoxProps} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG,MAAkB;AACtD,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,qBAAe,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,oBAAoB,EAAI,CAAC;AACvD;;;;"}
|
@@ -173,7 +173,7 @@ function getDefaultExportFromCjs (x) {
|
|
173
173
|
// Copyright (c) Microsoft Corporation.
|
174
174
|
// Licensed under the MIT License.
|
175
175
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
176
|
-
var telemetryVersion = '1.14.0-alpha-
|
176
|
+
var telemetryVersion = '1.14.0-alpha-202403090011';
|
177
177
|
|
178
178
|
|
179
179
|
var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
|
@@ -5468,7 +5468,7 @@ const typingIndicatorStringStyle = react.mergeStyles({
|
|
5468
5468
|
wordBreak: 'break-word'
|
5469
5469
|
});
|
5470
5470
|
|
5471
|
-
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",fileUploadsPendingError:"Uploading... Please wait.",removeFile:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed"};var richTextSendBox={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",boldTooltip:"Bold",italicTooltip:"Italic",underlineTooltip:"Underline",bulletListTooltip:"Bulleted list",numberListTooltip:"Numbered list",increaseIndentTooltip:"Increase indent",decreaseIndentTooltip:"Decrease indent",richTextFormatButtonTooltip:"Format"};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"};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",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",downloadFile:"Download file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",fileCardGroupMessage:"The message has {fileCount} 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,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};
|
5471
|
+
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",fileUploadsPendingError:"Uploading... Please wait.",removeFile:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed"};var richTextSendBox={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",boldTooltip:"Bold",italicTooltip:"Italic",underlineTooltip:"Underline",bulletListTooltip:"Bulleted list",numberListTooltip:"Numbered list",increaseIndentTooltip:"Increase indent",decreaseIndentTooltip:"Decrease indent",richTextFormatButtonTooltip:"Format"};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"};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",downloadFile:"Download file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",fileCardGroupMessage:"The message has {fileCount} 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,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};
|
5472
5472
|
|
5473
5473
|
// Copyright (c) Microsoft Corporation.
|
5474
5474
|
// Licensed under the MIT License.
|
@@ -6357,7 +6357,7 @@ const darkTheme = {
|
|
6357
6357
|
/**
|
6358
6358
|
* Preset dark theme for the ImageOverlay component.
|
6359
6359
|
*
|
6360
|
-
* @
|
6360
|
+
* @public
|
6361
6361
|
*/
|
6362
6362
|
const imageOverlayTheme = {
|
6363
6363
|
palette: darkTheme.palette,
|
@@ -9141,7 +9141,7 @@ const smallDownloadButtonContainerStyle = (theme) => {
|
|
9141
9141
|
/**
|
9142
9142
|
* Component to render a fullscreen modal for a selected image.
|
9143
9143
|
*
|
9144
|
-
* @
|
9144
|
+
* @public
|
9145
9145
|
*/
|
9146
9146
|
const ImageOverlay = (props) => {
|
9147
9147
|
const { isOpen, imageSrc, title, titleIcon, altText, onDownloadButtonClicked, onDismiss } = props;
|
@@ -9468,7 +9468,9 @@ const RichTextEditor = React.forwardRef((props, ref) => {
|
|
9468
9468
|
// TODO: confirm the color during inline images implementation
|
9469
9469
|
imageSelectionBorderColor: 'blue',
|
9470
9470
|
// doNotAdjustEditorColor is used to fix the default background color for Rooster component
|
9471
|
-
doNotAdjustEditorColor: true
|
9471
|
+
doNotAdjustEditorColor: true,
|
9472
|
+
// if we don't use 'allowKeyboardEventPropagation' only the enter key is caught
|
9473
|
+
onKeyDown: props.onKeyDown }))));
|
9472
9474
|
});
|
9473
9475
|
|
9474
9476
|
// Copyright (c) Microsoft Corporation.
|
@@ -9505,7 +9507,7 @@ const richTextBorderBoxStyle = (props) => {
|
|
9505
9507
|
* @private
|
9506
9508
|
*/
|
9507
9509
|
const RichTextInputBoxComponent = (props) => {
|
9508
|
-
const { placeholderText, initialContent, onChange, editorComponentRef, disabled, strings, actionComponents, richTextEditorStyleProps, supportHorizontalLayout = true } = props;
|
9510
|
+
const { placeholderText, initialContent, onChange, onEnterKeyDown, editorComponentRef, disabled, strings, actionComponents, richTextEditorStyleProps, supportHorizontalLayout = true } = props;
|
9509
9511
|
const theme = useTheme();
|
9510
9512
|
const [showRichTextEditorFormatting, setShowRichTextEditorFormatting] = React.useState(false);
|
9511
9513
|
const onRenderRichTextEditorIcon = React.useCallback((isHover) => (React.createElement(react.Icon, { iconName: isHover || showRichTextEditorFormatting ? 'RichTextEditorButtonIconFilled' : 'RichTextEditorButtonIcon', className: richTextFormatButtonIconStyle(theme, !disabled && (isHover || showRichTextEditorFormatting)) })), [disabled, showRichTextEditorFormatting, theme]);
|
@@ -9531,13 +9533,22 @@ const RichTextInputBoxComponent = (props) => {
|
|
9531
9533
|
const richTextEditorStyle = React.useMemo(() => {
|
9532
9534
|
return richTextEditorStyleProps(showRichTextEditorFormatting);
|
9533
9535
|
}, [richTextEditorStyleProps, showRichTextEditorFormatting]);
|
9536
|
+
const onKeyDown = React.useCallback((ev) => {
|
9537
|
+
if (isEnterKeyEventFromCompositionSession(ev)) {
|
9538
|
+
return;
|
9539
|
+
}
|
9540
|
+
if (ev.key === 'Enter' && ev.shiftKey === false && !showRichTextEditorFormatting) {
|
9541
|
+
ev.preventDefault();
|
9542
|
+
onEnterKeyDown && onEnterKeyDown();
|
9543
|
+
}
|
9544
|
+
}, [onEnterKeyDown, showRichTextEditorFormatting]);
|
9534
9545
|
return (React.createElement("div", { className: richTextBorderBoxStyle({
|
9535
9546
|
theme: theme,
|
9536
9547
|
disabled: !!disabled
|
9537
9548
|
}) },
|
9538
9549
|
React.createElement(react.Stack, { grow: true, horizontal: supportHorizontalLayout && !showRichTextEditorFormatting, className: inputBoxContentStackStyle },
|
9539
9550
|
React.createElement(react.Stack, { grow: true, className: inputBoxRichTextStackStyle },
|
9540
|
-
React.createElement(RichTextEditor, { initialContent: initialContent, placeholderText: placeholderText, onChange: onChange, ref: editorComponentRef, strings: strings, showRichTextEditorFormatting: showRichTextEditorFormatting, styles: richTextEditorStyle })),
|
9551
|
+
React.createElement(RichTextEditor, { initialContent: initialContent, placeholderText: placeholderText, onChange: onChange, onKeyDown: onKeyDown, ref: editorComponentRef, strings: strings, showRichTextEditorFormatting: showRichTextEditorFormatting, styles: richTextEditorStyle })),
|
9541
9552
|
actionButtons)));
|
9542
9553
|
};
|
9543
9554
|
|
@@ -9720,7 +9731,7 @@ const RichTextSendBox = (props) => {
|
|
9720
9731
|
}, [localeStrings.sendButtonAriaLabel, onRenderSendIcon, sendMessageOnClick]);
|
9721
9732
|
return (React.createElement(react.Stack, null,
|
9722
9733
|
React.createElement(RichTextSendBoxErrors, Object.assign({}, sendBoxErrorsProps)),
|
9723
|
-
React.createElement(RichTextInputBoxComponent, { placeholderText: strings.placeholderText, onChange: setContent, editorComponentRef: editorComponentRef, strings: strings, disabled: disabled, actionComponents: sendButton, richTextEditorStyleProps: sendBoxRichTextEditorStyle })));
|
9734
|
+
React.createElement(RichTextInputBoxComponent, { placeholderText: strings.placeholderText, onChange: setContent, onEnterKeyDown: sendMessageOnClick, editorComponentRef: editorComponentRef, strings: strings, disabled: disabled, actionComponents: sendButton, richTextEditorStyleProps: sendBoxRichTextEditorStyle })));
|
9724
9735
|
};
|
9725
9736
|
|
9726
9737
|
// Copyright (c) Microsoft Corporation.
|
@@ -10720,10 +10731,17 @@ const mapAliasColors = (palette, inverted) => {
|
|
10720
10731
|
colorBrandBackground2: palette.themeLighterAlt,
|
10721
10732
|
colorBrandBackground2Hover: palette.themeLighterAlt,
|
10722
10733
|
colorBrandBackground2Pressed: palette.themeLighterAlt,
|
10734
|
+
colorBrandBackground3Static: palette.themeDark,
|
10735
|
+
colorBrandBackground4Static: palette.themeDarker,
|
10723
10736
|
colorBrandBackgroundInverted: palette.white,
|
10724
10737
|
colorBrandBackgroundInvertedHover: palette.themeLighterAlt,
|
10725
10738
|
colorBrandBackgroundInvertedPressed: palette.themeLight,
|
10726
10739
|
colorBrandBackgroundInvertedSelected: palette.themeLighter,
|
10740
|
+
colorNeutralCardBackground: inverted ? grey[20] : grey[98],
|
10741
|
+
colorNeutralCardBackgroundHover: inverted ? grey[24] : palette.white,
|
10742
|
+
colorNeutralCardBackgroundPressed: inverted ? grey[18] : grey[96],
|
10743
|
+
colorNeutralCardBackgroundSelected: inverted ? grey[22] : grey[92],
|
10744
|
+
colorNeutralCardBackgroundDisabled: inverted ? grey[8] : grey[94],
|
10727
10745
|
colorNeutralStrokeAccessible: palette.neutralSecondary,
|
10728
10746
|
colorNeutralStrokeAccessibleHover: palette.neutralSecondary,
|
10729
10747
|
colorNeutralStrokeAccessiblePressed: palette.neutralSecondary,
|
@@ -11351,17 +11369,7 @@ const BlockedMessageContent = (props) => {
|
|
11351
11369
|
blockedMessage && React.createElement("p", null, blockedMessage),
|
11352
11370
|
blockedMessageLink && (React.createElement(react.Link, { target: '_blank', href: blockedMessageLink }, blockedMessageLinkText))) }));
|
11353
11371
|
};
|
11354
|
-
|
11355
|
-
const extractContent = (s) => {
|
11356
|
-
const span = document.createElement('span');
|
11357
|
-
span.innerHTML = s;
|
11358
|
-
return span.textContent || span.innerText;
|
11359
|
-
};
|
11360
|
-
const generateLiveMessage = (props) => {
|
11361
|
-
const liveAuthor = _formatString(props.strings.liveAuthorIntro, { author: `${props.message.senderDisplayName}` });
|
11362
|
-
return `${props.message.editedOn ? props.strings.editedTag : ''} ${props.message.mine ? '' : liveAuthor} ${extractContent(props.message.content || '')} `;
|
11363
|
-
};
|
11364
|
-
const messageContentAriaText = (props) => {
|
11372
|
+
const extractContentForAllyMessage = (props) => {
|
11365
11373
|
if (props.message.content) {
|
11366
11374
|
// Replace all <img> tags with 'image' for aria.
|
11367
11375
|
const parsedContent = DOMPurify.sanitize(props.message.content, {
|
@@ -11378,16 +11386,24 @@ const messageContentAriaText = (props) => {
|
|
11378
11386
|
});
|
11379
11387
|
// Strip all html tags from the content for aria.
|
11380
11388
|
const message = DOMPurify.sanitize(parsedContent, { ALLOWED_TAGS: [] });
|
11381
|
-
return
|
11382
|
-
? _formatString(props.strings.messageContentMineAriaText, {
|
11383
|
-
message: message
|
11384
|
-
})
|
11385
|
-
: _formatString(props.strings.messageContentAriaText, {
|
11386
|
-
author: `${props.message.senderDisplayName}`,
|
11387
|
-
message: message
|
11388
|
-
});
|
11389
|
+
return message;
|
11389
11390
|
}
|
11390
|
-
return
|
11391
|
+
return '';
|
11392
|
+
};
|
11393
|
+
const generateLiveMessage = (props) => {
|
11394
|
+
const liveAuthor = _formatString(props.strings.liveAuthorIntro, { author: `${props.message.senderDisplayName}` });
|
11395
|
+
return `${props.message.editedOn ? props.strings.editedTag : ''} ${props.message.mine ? '' : liveAuthor} ${extractContentForAllyMessage(props)} `;
|
11396
|
+
};
|
11397
|
+
const messageContentAriaText = (props) => {
|
11398
|
+
const message = extractContentForAllyMessage(props);
|
11399
|
+
return props.message.mine
|
11400
|
+
? _formatString(props.strings.messageContentMineAriaText, {
|
11401
|
+
message: message
|
11402
|
+
})
|
11403
|
+
: _formatString(props.strings.messageContentAriaText, {
|
11404
|
+
author: `${props.message.senderDisplayName}`,
|
11405
|
+
message: message
|
11406
|
+
});
|
11391
11407
|
};
|
11392
11408
|
/* @conditional-compile-remove(image-overlay) */
|
11393
11409
|
const defaultOnRenderInlineImage = (inlineImage) => {
|
@@ -18650,7 +18666,7 @@ const ReactionButton = (props) => {
|
|
18650
18666
|
return (React.createElement(ControlBarButton, Object.assign({}, props, { className: react.mergeStyles(styles, props.styles), menuProps: {
|
18651
18667
|
shouldFocusOnMount: true,
|
18652
18668
|
items: emojiList
|
18653
|
-
}, onRenderIcon: (_f = props.onRenderIcon) !== null && _f !== void 0 ? _f : onRenderIcon, strings: strings, labelKey: (_g = props.labelKey) !== null && _g !== void 0 ? _g : 'reactionButtonLabel', onRenderMenuIcon: () => React.createElement("div", null), disabled: props.disabled })));
|
18669
|
+
}, onRenderIcon: (_f = props.onRenderIcon) !== null && _f !== void 0 ? _f : onRenderIcon, strings: strings, labelKey: (_g = props.labelKey) !== null && _g !== void 0 ? _g : 'reactionButtonLabel', onRenderMenuIcon: () => React.createElement("div", null), disabled: props.disabled, ariaLabel: strings.ariaLabel })));
|
18654
18670
|
};
|
18655
18671
|
/* @conditional-compile-remove(reaction) */
|
18656
18672
|
const reactionButtonStyles = (theme) => ({
|
@@ -22016,7 +22032,7 @@ const extractTeamsAttachmentsMetadata = (attachments) => {
|
|
22016
22032
|
const files = [];
|
22017
22033
|
attachments.forEach((attachment) => {
|
22018
22034
|
var _a;
|
22019
|
-
const attachmentType =
|
22035
|
+
const attachmentType = attachment.attachmentType;
|
22020
22036
|
/* @conditional-compile-remove(file-sharing) */
|
22021
22037
|
const contentType = extractAttachmentContentTypeFromName(attachment.name);
|
22022
22038
|
/* @conditional-compile-remove(file-sharing) */
|
@@ -22051,17 +22067,6 @@ const convertToUiBlockedMessage = (message, userId, isSeen, isLargeGroup) => {
|
|
22051
22067
|
};
|
22052
22068
|
};
|
22053
22069
|
/* @conditional-compile-remove(file-sharing) */
|
22054
|
-
const mapAttachmentType = (attachmentType) => {
|
22055
|
-
if (attachmentType === 'image') {
|
22056
|
-
return 'inlineImage';
|
22057
|
-
}
|
22058
|
-
/* @conditional-compile-remove(file-sharing) */
|
22059
|
-
if (attachmentType === 'file') {
|
22060
|
-
return 'file';
|
22061
|
-
}
|
22062
|
-
return 'unknown';
|
22063
|
-
};
|
22064
|
-
/* @conditional-compile-remove(file-sharing) */
|
22065
22070
|
const extractAttachmentUrl = (attachment) => {
|
22066
22071
|
return attachment.previewUrl ? attachment.previewUrl : attachment.url || '';
|
22067
22072
|
};
|
@@ -22115,9 +22120,15 @@ const generateImageAttachmentImgHtml = (message, attachment) => {
|
|
22115
22120
|
};
|
22116
22121
|
/* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
|
22117
22122
|
const getResourceSourceUrl = (result) => {
|
22118
|
-
let src = '
|
22119
|
-
if (result
|
22120
|
-
|
22123
|
+
let src = '';
|
22124
|
+
if (result) {
|
22125
|
+
if (result.error) {
|
22126
|
+
// In case of an error we set src to some invalid value to show broken image
|
22127
|
+
src = 'blob://';
|
22128
|
+
}
|
22129
|
+
else {
|
22130
|
+
src = result.sourceUrl;
|
22131
|
+
}
|
22121
22132
|
}
|
22122
22133
|
return src;
|
22123
22134
|
};
|
@@ -22133,29 +22144,23 @@ const extractAttachmentContentTypeFromName = (name) => {
|
|
22133
22144
|
const contentType = name.substring(indexOfLastDot + 1);
|
22134
22145
|
return contentType;
|
22135
22146
|
};
|
22136
|
-
/* @conditional-compile-remove(file-sharing)
|
22147
|
+
/* @conditional-compile-remove(file-sharing) */
|
22137
22148
|
const extractAttachmentsMetadata = (message) => {
|
22138
22149
|
var _a, _b;
|
22139
|
-
/* @conditional-compile-remove(file-sharing) */
|
22140
22150
|
let files = [];
|
22141
|
-
/* @conditional-compile-remove(file-sharing) */
|
22142
22151
|
if (message.metadata) {
|
22143
22152
|
files = files.concat(extractAttachedFilesMetadata(message.metadata));
|
22144
22153
|
}
|
22145
|
-
/* @conditional-compile-remove(file-sharing) */
|
22146
22154
|
if ((_a = message.content) === null || _a === void 0 ? void 0 : _a.attachments) {
|
22147
22155
|
const teamsAttachments = extractTeamsAttachmentsMetadata((_b = message.content) === null || _b === void 0 ? void 0 : _b.attachments);
|
22148
|
-
/* @conditional-compile-remove(file-sharing) */
|
22149
22156
|
files = files.concat(teamsAttachments.files);
|
22150
22157
|
}
|
22151
|
-
return {
|
22152
|
-
/* @conditional-compile-remove(file-sharing) */ files
|
22153
|
-
};
|
22158
|
+
return { files };
|
22154
22159
|
};
|
22155
22160
|
const convertToUiChatMessage = (message, userId, isSeen, isLargeGroup) => {
|
22156
22161
|
const messageSenderId = message.sender !== undefined ? toFlatCommunicationIdentifier(message.sender) : userId;
|
22157
|
-
/* @conditional-compile-remove(file-sharing)
|
22158
|
-
const {
|
22162
|
+
/* @conditional-compile-remove(file-sharing) */
|
22163
|
+
const { files } = extractAttachmentsMetadata(message);
|
22159
22164
|
return {
|
22160
22165
|
messageType: 'chat',
|
22161
22166
|
createdOn: message.createdOn,
|
@@ -22589,6 +22594,7 @@ class ResourceDownloadQueue {
|
|
22589
22594
|
constructor(context, credential) {
|
22590
22595
|
this._messagesNeedingResourceRetrieval = [];
|
22591
22596
|
this.isActive = false;
|
22597
|
+
this._requestsToCancel = {};
|
22592
22598
|
this._context = context;
|
22593
22599
|
this._credential = credential;
|
22594
22600
|
}
|
@@ -22636,15 +22642,29 @@ class ResourceDownloadQueue {
|
|
22636
22642
|
}
|
22637
22643
|
});
|
22638
22644
|
}
|
22645
|
+
cancelAllRequests() {
|
22646
|
+
for (const key in this._requestsToCancel) {
|
22647
|
+
this._requestsToCancel[key].abortController.abort();
|
22648
|
+
}
|
22649
|
+
this._requestsToCancel = {};
|
22650
|
+
}
|
22651
|
+
cancelRequest(url) {
|
22652
|
+
if (this._requestsToCancel[url]) {
|
22653
|
+
this._requestsToCancel[url].abortController.abort();
|
22654
|
+
delete this._requestsToCancel[url];
|
22655
|
+
}
|
22656
|
+
}
|
22639
22657
|
downloadSingleUrl(message, resourceUrl, operation) {
|
22640
22658
|
return __awaiter$t(this, void 0, void 0, function* () {
|
22641
22659
|
const response = { sourceUrl: '' };
|
22642
22660
|
try {
|
22643
|
-
const
|
22661
|
+
const abortController = new AbortController();
|
22662
|
+
const blobUrl = yield this.downloadResource(operation, resourceUrl, abortController);
|
22644
22663
|
response.sourceUrl = blobUrl;
|
22645
22664
|
}
|
22646
22665
|
catch (error) {
|
22647
22666
|
response.error = error;
|
22667
|
+
delete this._requestsToCancel[resourceUrl];
|
22648
22668
|
}
|
22649
22669
|
message = Object.assign(Object.assign({}, message), { resourceCache: Object.assign(Object.assign({}, message.resourceCache), { [resourceUrl]: response }) });
|
22650
22670
|
return message;
|
@@ -22662,11 +22682,13 @@ class ResourceDownloadQueue {
|
|
22662
22682
|
if (attachment.previewUrl && attachment.attachmentType === 'image') {
|
22663
22683
|
const response = { sourceUrl: '' };
|
22664
22684
|
try {
|
22665
|
-
const
|
22685
|
+
const abortController = new AbortController();
|
22686
|
+
const blobUrl = yield this.downloadResource(operation, attachment.previewUrl, abortController);
|
22666
22687
|
response.sourceUrl = blobUrl;
|
22667
22688
|
}
|
22668
22689
|
catch (error) {
|
22669
22690
|
response.error = error;
|
22691
|
+
delete this._requestsToCancel[attachment.previewUrl];
|
22670
22692
|
}
|
22671
22693
|
message.resourceCache[attachment.previewUrl] = response;
|
22672
22694
|
}
|
@@ -22675,9 +22697,11 @@ class ResourceDownloadQueue {
|
|
22675
22697
|
return message;
|
22676
22698
|
});
|
22677
22699
|
}
|
22678
|
-
downloadResource(operation, url) {
|
22700
|
+
downloadResource(operation, url, abortController) {
|
22679
22701
|
return __awaiter$t(this, void 0, void 0, function* () {
|
22680
|
-
|
22702
|
+
this._requestsToCancel[url] = { src: url, abortController };
|
22703
|
+
const blobUrl = yield operation(url, this._credential, { abortController });
|
22704
|
+
delete this._requestsToCancel[url];
|
22681
22705
|
return blobUrl;
|
22682
22706
|
});
|
22683
22707
|
}
|
@@ -22686,13 +22710,17 @@ class ResourceDownloadQueue {
|
|
22686
22710
|
/**
|
22687
22711
|
* @private
|
22688
22712
|
*/
|
22689
|
-
const fetchImageSource = (src, credential) => __awaiter$t(void 0, void 0, void 0, function* () {
|
22690
|
-
function fetchWithAuthentication(url, token) {
|
22713
|
+
const fetchImageSource = (src, credential, options) => __awaiter$t(void 0, void 0, void 0, function* () {
|
22714
|
+
function fetchWithAuthentication(url, token, options) {
|
22691
22715
|
return __awaiter$t(this, void 0, void 0, function* () {
|
22692
22716
|
const headers = new Headers();
|
22693
22717
|
headers.append('Authorization', `Bearer ${token}`);
|
22694
22718
|
try {
|
22695
|
-
return yield fetchWithTimeout(url, {
|
22719
|
+
return yield fetchWithTimeout(url, {
|
22720
|
+
timeout: options.timeout,
|
22721
|
+
headers,
|
22722
|
+
abortController: options.abortController
|
22723
|
+
});
|
22696
22724
|
}
|
22697
22725
|
catch (err) {
|
22698
22726
|
throw new ChatError('ChatThreadClient.getMessage', err);
|
@@ -22702,16 +22730,17 @@ const fetchImageSource = (src, credential) => __awaiter$t(void 0, void 0, void 0
|
|
22702
22730
|
function fetchWithTimeout(resource, options) {
|
22703
22731
|
return __awaiter$t(this, void 0, void 0, function* () {
|
22704
22732
|
// default timeout is 30 seconds
|
22705
|
-
const { timeout = 30000 } = options;
|
22706
|
-
const
|
22707
|
-
|
22708
|
-
|
22733
|
+
const { timeout = 30000, abortController } = options;
|
22734
|
+
const id = setTimeout(() => {
|
22735
|
+
abortController.abort();
|
22736
|
+
}, timeout);
|
22737
|
+
const response = yield fetch(resource, Object.assign(Object.assign({}, options), { signal: abortController.signal }));
|
22709
22738
|
clearTimeout(id);
|
22710
22739
|
return response;
|
22711
22740
|
});
|
22712
22741
|
}
|
22713
22742
|
const accessToken = yield credential.getToken();
|
22714
|
-
const response = yield fetchWithAuthentication(src, accessToken.token);
|
22743
|
+
const response = yield fetchWithAuthentication(src, accessToken.token, options);
|
22715
22744
|
const blob = yield response.blob();
|
22716
22745
|
return URL.createObjectURL(blob);
|
22717
22746
|
});
|
@@ -22777,6 +22806,9 @@ let ChatContext$1 = class ChatContext {
|
|
22777
22806
|
/* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
|
22778
22807
|
dispose() {
|
22779
22808
|
this.modifyState((draft) => {
|
22809
|
+
var _a, _b;
|
22810
|
+
(_a = this._inlineImageQueue) === null || _a === void 0 ? void 0 : _a.cancelAllRequests();
|
22811
|
+
(_b = this._fullsizeImageQueue) === null || _b === void 0 ? void 0 : _b.cancelAllRequests();
|
22780
22812
|
Object.keys(draft.threads).forEach((threadId) => {
|
22781
22813
|
const thread = draft.threads[threadId];
|
22782
22814
|
Object.keys(thread.chatMessages).forEach((messageId) => {
|
@@ -22813,9 +22845,17 @@ let ChatContext$1 = class ChatContext {
|
|
22813
22845
|
/* @conditional-compile-remove(teams-inline-images-and-file-sharing) */
|
22814
22846
|
removeResourceFromCache(threadId, messageId, resourceUrl) {
|
22815
22847
|
this.modifyState((draft) => {
|
22816
|
-
var _a;
|
22848
|
+
var _a, _b, _c;
|
22817
22849
|
const message = (_a = draft.threads[threadId]) === null || _a === void 0 ? void 0 : _a.chatMessages[messageId];
|
22818
|
-
if (message && message
|
22850
|
+
if (message && this._fullsizeImageQueue && this._fullsizeImageQueue.containsMessageWithSameAttachments(message)) {
|
22851
|
+
(_b = this._fullsizeImageQueue) === null || _b === void 0 ? void 0 : _b.cancelRequest(resourceUrl);
|
22852
|
+
}
|
22853
|
+
else if (message &&
|
22854
|
+
this._inlineImageQueue &&
|
22855
|
+
this._inlineImageQueue.containsMessageWithSameAttachments(message)) {
|
22856
|
+
(_c = this._inlineImageQueue) === null || _c === void 0 ? void 0 : _c.cancelRequest(resourceUrl);
|
22857
|
+
}
|
22858
|
+
if (message && message.resourceCache && message.resourceCache[resourceUrl]) {
|
22819
22859
|
const resource = message.resourceCache[resourceUrl];
|
22820
22860
|
URL.revokeObjectURL(resource.sourceUrl);
|
22821
22861
|
delete message.resourceCache[resourceUrl];
|
@@ -25413,7 +25453,7 @@ const useSelector$2 = (selector, selectorProps) => {
|
|
25413
25453
|
// Copyright (c) Microsoft Corporation.
|
25414
25454
|
// Licensed under the MIT License.
|
25415
25455
|
/* @conditional-compile-remove(rich-text-editor) */
|
25416
|
-
const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-
|
25456
|
+
const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-DXy3ttBO.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper })));
|
25417
25457
|
/**
|
25418
25458
|
* @private
|
25419
25459
|
*/
|
@@ -25441,8 +25481,7 @@ const SendBox = (props) => {
|
|
25441
25481
|
// /* @conditional-compile-remove(rich-text-editor) */
|
25442
25482
|
if ((options === null || options === void 0 ? void 0 : options.richTextEditor) === true) {
|
25443
25483
|
return (React.createElement(React.Suspense, { fallback: simpleSendBox },
|
25444
|
-
React.createElement(RichTextSendBoxWrapper, null)
|
25445
|
-
";"));
|
25484
|
+
React.createElement(RichTextSendBoxWrapper, null)));
|
25446
25485
|
}
|
25447
25486
|
return simpleSendBox;
|
25448
25487
|
};
|
@@ -38025,4 +38064,4 @@ exports.useTeamsCall = useTeamsCall;
|
|
38025
38064
|
exports.useTeamsCallAdapter = useTeamsCallAdapter;
|
38026
38065
|
exports.useTeamsCallAgent = useTeamsCallAgent;
|
38027
38066
|
exports.useTheme = useTheme;
|
38028
|
-
//# sourceMappingURL=index
|
38067
|
+
//# sourceMappingURL=index-DNgYW17b.js.map
|