@azure/communication-react 1.6.1-alpha-202306220014 → 1.6.1-alpha-202306230016
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 +32 -0
- package/dist/dist-cjs/communication-react/index.js +94 -25
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MentionPopover.js +3 -4
- package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +5 -2
- package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +2 -2
- package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +44 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +32 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +7 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +4 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +5 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +6 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +9 -3
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +3 -2
- package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +9 -1
- package/package.json +8 -8
@@ -1940,6 +1940,38 @@ export declare interface CallCompositeStrings {
|
|
1940
1940
|
* notice to be announced by narrator the transfer page is showing
|
1941
1941
|
*/
|
1942
1942
|
transferPageNoticeString: string;
|
1943
|
+
/**
|
1944
|
+
* Title text of the page shown to the user when target participant could not be reached
|
1945
|
+
*/
|
1946
|
+
participantCouldNotBeReachedTitle?: string;
|
1947
|
+
/**
|
1948
|
+
* More details text of the page shown to the user when target participant could not be reached
|
1949
|
+
*/
|
1950
|
+
participantCouldNotBeReachedMoreDetails?: string;
|
1951
|
+
/**
|
1952
|
+
* Title text of the page shown to the user when permission to reach participant is not allowed
|
1953
|
+
*/
|
1954
|
+
permissionToReachTargetParticipantNotAllowedTitle?: string;
|
1955
|
+
/**
|
1956
|
+
* More details text of the page shown to the user when permission to reach participant is not allowed
|
1957
|
+
*/
|
1958
|
+
permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
|
1959
|
+
/**
|
1960
|
+
* Title text of the page shown to the user when tenant id for the target participant could not be resolved
|
1961
|
+
*/
|
1962
|
+
unableToResolveTenantTitle?: string;
|
1963
|
+
/**
|
1964
|
+
* More details text of the page shown to the user when tenant id for the target participant could not be resolved
|
1965
|
+
*/
|
1966
|
+
unableToResolveTenantMoreDetails?: string;
|
1967
|
+
/**
|
1968
|
+
* Title text of the page shown to the user when target participant id is malformed
|
1969
|
+
*/
|
1970
|
+
participantIdIsMalformedTitle?: string;
|
1971
|
+
/**
|
1972
|
+
* More details text of the page shown to the user when target participant id is malformed
|
1973
|
+
*/
|
1974
|
+
participantIdIsMalformedMoreDetails?: string;
|
1943
1975
|
}
|
1944
1976
|
|
1945
1977
|
/**
|
@@ -178,7 +178,7 @@ const _isValidIdentifier = (identifier) => {
|
|
178
178
|
// Copyright (c) Microsoft Corporation.
|
179
179
|
// Licensed under the MIT license.
|
180
180
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
181
|
-
var telemetryVersion = '1.6.1-alpha-
|
181
|
+
var telemetryVersion = '1.6.1-alpha-202306230016';
|
182
182
|
|
183
183
|
// Copyright (c) Microsoft Corporation.
|
184
184
|
/**
|
@@ -6964,8 +6964,8 @@ const suggestionItemStackStyle = (theme, isSuggestionHovered, activeBorder) => {
|
|
6964
6964
|
alignItems: 'center',
|
6965
6965
|
height: '36px',
|
6966
6966
|
padding: '0 0.75rem',
|
6967
|
-
background: isSuggestionHovered ? theme.palette.
|
6968
|
-
|
6967
|
+
background: isSuggestionHovered ? theme.palette.neutralLighter : theme.palette.white,
|
6968
|
+
outline: activeBorder ? `0.0625rem solid ${theme.palette.neutralSecondary}` : 'none'
|
6969
6969
|
});
|
6970
6970
|
};
|
6971
6971
|
|
@@ -7036,17 +7036,16 @@ const _MentionPopover = (props) => {
|
|
7036
7036
|
}
|
7037
7037
|
}, [onDismiss]);
|
7038
7038
|
const personaRenderer = React.useCallback((displayName) => {
|
7039
|
-
const displayNamePlaceholder = localeStrings.participantItem.displayNamePlaceholder;
|
7040
7039
|
const avatarOptions = {
|
7041
|
-
text:
|
7040
|
+
text: displayName.trim(),
|
7042
7041
|
size: react.PersonaSize.size24,
|
7043
7042
|
initialsColor: theme.palette.neutralLight,
|
7044
7043
|
initialsTextColor: theme.palette.neutralSecondary,
|
7045
7044
|
showOverflowTooltip: false,
|
7046
|
-
showUnknownPersonaCoin:
|
7045
|
+
showUnknownPersonaCoin: false
|
7047
7046
|
};
|
7048
7047
|
return React__default['default'].createElement(react.Persona, Object.assign({}, avatarOptions));
|
7049
|
-
}, [
|
7048
|
+
}, [theme]);
|
7050
7049
|
const defaultOnRenderSuggestionItem = React.useCallback((suggestion, onSuggestionSelected, active) => {
|
7051
7050
|
return (React__default['default'].createElement("div", { "data-is-focusable": true, "data-ui-id": ids.mentionSuggestionItem, key: suggestion.id, onClick: () => onSuggestionSelected(suggestion), onMouseEnter: () => setHoveredSuggestion(suggestion), onMouseLeave: () => setHoveredSuggestion(undefined), onKeyDown: (e) => {
|
7052
7051
|
handleOnKeyDown(e);
|
@@ -7255,7 +7254,8 @@ const TextFieldWithMention = (props) => {
|
|
7255
7254
|
]);
|
7256
7255
|
const debouncedQueryUpdate = useDebounce.useDebouncedCallback((query) => __awaiter$w(void 0, void 0, void 0, function* () {
|
7257
7256
|
var _a;
|
7258
|
-
|
7257
|
+
let suggestions = (_a = (yield (mentionLookupOptions === null || mentionLookupOptions === void 0 ? void 0 : mentionLookupOptions.onQueryUpdated(query)))) !== null && _a !== void 0 ? _a : [];
|
7258
|
+
suggestions = suggestions.filter((suggestion) => suggestion.displayText.trim() !== '');
|
7259
7259
|
if (suggestions.length === 0) {
|
7260
7260
|
setActiveSuggestionIndex(undefined);
|
7261
7261
|
}
|
@@ -7452,7 +7452,9 @@ const TextFieldWithMention = (props) => {
|
|
7452
7452
|
const textField = event.currentTarget;
|
7453
7453
|
const relativePosition = textareaCaretTs.Caret.getRelativePosition(textField);
|
7454
7454
|
const adjustOffset = Math.max(0, textField.scrollHeight - textField.clientHeight);
|
7455
|
-
relativePosition.top
|
7455
|
+
if (relativePosition.top > adjustOffset) {
|
7456
|
+
relativePosition.top -= adjustOffset;
|
7457
|
+
}
|
7456
7458
|
setCaretPosition(relativePosition);
|
7457
7459
|
if (triggerPriorIndex !== undefined) {
|
7458
7460
|
// trigger is found
|
@@ -18875,7 +18877,7 @@ const CallCompositeIcon = (props) => (React__default['default'].createElement(re
|
|
18875
18877
|
*/
|
18876
18878
|
const CallWithChatCompositeIcon = (props) => (React__default['default'].createElement(react.FontIcon, Object.assign({}, props)));
|
18877
18879
|
|
18878
|
-
var call$j={cameraLabel:"Camera",noCamerasLabel:"No cameras found",cameraPermissionDenied:"Your browser is blocking access to your camera",cameraTurnedOff:"Your camera is turned off",chatButtonLabel:"Chat",close:"Close",complianceBannerNowOnlyRecording:"You are now only recording this meeting.",complianceBannerNowOnlyTranscription:"You are now only transcribing this meeting.",complianceBannerRecordingAndTranscriptionSaved:"Recording and transcription are being saved.",complianceBannerRecordingAndTranscriptionStarted:"Recording and transcription have started.",complianceBannerRecordingAndTranscriptionStopped:"Recording and transcription have stopped.",complianceBannerRecordingSaving:"Recording is being saved.",complianceBannerRecordingStarted:"Recording has started.",complianceBannerRecordingStopped:"Recording has stopped.",complianceBannerTranscriptionStarted:"Transcription has started.",complianceBannerTranscriptionConsent:"By joining, you are giving consent for this meeting to be transcribed.",complianceBannerTranscriptionSaving:"Transcription is being saved.",complianceBannerTranscriptionStopped:"Transcription has stopped.",configurationPageTitle:"Start a call",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",defaultPlaceHolder:"Select an option",dismissSidePaneButtonLabel:"Close",videoEffectsPaneTitle:"Effects",videoEffectsPaneBackgroundSelectionTitle:"Background",configurationPageVideoEffectsButtonLabel:"Effects",unableToStartVideoEffect:"Unable to apply video effect.",blurBackgroundEffectButtonLabel:"Blur",blurBackgroundTooltip:"Blur Background",removeBackgroundEffectButtonLabel:"None",removeBackgroundTooltip:"Remove Background",cameraOffBackgroundEffectWarningText:"Your camera is off. Turn on camera to see video effect.",failedToJoinCallDueToNoNetworkMoreDetails:"Call was disconnected due to a network issue. Check your connection and join again.",failedToJoinCallDueToNoNetworkTitle:"Call disconnected",failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails:"You were not granted entry in the call. If this was a mistake, re-join the call.",failedToJoinTeamsMeetingReasonAccessDeniedTitle:"Dismissed from lobby",learnMore:"Learn more",leavingCallTitle:"Leaving...",leftCallMoreDetails:"If this was a mistake, re-join the call.",leftCallTitle:"You left the call",lobbyScreenConnectingToCallTitle:"Joining call",lobbyScreenWaitingToBeAdmittedTitle:"Waiting to be admitted",microphonePermissionDenied:"Your browser is blocking access to your microphone",microphoneToggleInLobbyNotAllowed:"Cannot mute or unmute while in lobby.",mutedMessage:"You're muted",networkReconnectMoreDetails:"Looks like something went wrong. We're trying to get back into the call.",networkReconnectTitle:"Hold on",deniedPermissionToRoomDetails:"You do not have permission to join this room.",deniedPermissionToRoomTitle:"Permission denied to room",peopleButtonLabel:"People",peoplePaneTitle:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",privacyPolicy:"Privacy policy",rejoinCallButtonLabel:"Re-join call",removedFromCallMoreDetails:"Another participant removed you from the call.",removedFromCallTitle:"You were removed",removeMenuLabel:"Remove",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",roomNotFoundDetails:"Room ID provided is not valid.",roomNotFoundTitle:"Room not found",soundLabel:"Sound",noMicrophonesLabel:"No microphones found",noSpeakersLabel:"No speakers found",startCallButtonLabel:"Start call",openDialpadButtonLabel:"Dial phone number",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",moreButtonCallingLabel:"More",resumeCallButtonLabel:"Resume",resumingCallButtonLabel:"Resuming...",resumeCallButtonAriaLabel:"Resume call",resumingCallButtonAriaLabel:"Resume call",holdScreenLabel:"You're on hold",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number",outboundCallingNoticeString:"Calling...",participantJoinedNoticeString:"{displayName} joined",twoParticipantJoinedNoticeString:"{displayName1} and {displayName2} have joined",threeParticipantJoinedNoticeString:"{displayName1}, {displayName2} and {displayName3} have joined",participantLeftNoticeString:"{displayName} left",twoParticipantLeftNoticeString:"{displayName1} and {displayName2} have left",threeParticipantLeftNoticeString:"{displayName1}, {displayName2} and {displayName3} have left",unnamedParticipantString:"unnamed participant",manyUnnamedParticipantsJoined:"unnamed participant and {numOfParticipants} other participants joined",manyUnnamedParticipantsLeft:"unnamed participant and {numOfParticipants} other participants left",manyParticipantsJoined:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants joined",manyParticipantsLeft:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants left",liveCaptionsLabel:"Live captions",captionsSettingsLabel:"Caption settings",startCaptionsButtonOnLabel:"Turn on captions",startCaptionsButtonOffLabel:"Turn off captions",startCaptionsButtonTooltipOnContent:"Turn off captions",startCaptionsButtonTooltipOffContent:"Turn on captions",captionsSettingsModalTitle:"What language is being spoken?",captionsSettingsDropdownLabel:"Spoken language",captionsSettingsDropdownInfoText:"Language that everyone on this call is speaking.",captionsSettingsConfirmButtonLabel:"Confirm",captionsSettingsCancelButtonLabel:"Cancel",captionsSettingsModalAriaLabel:"Captions Setting Modal",captionsSettingsCloseModalButtonAriaLabel:"Close Captions Setting",captionsBannerMoreButtonCallingLabel:"More",captionsBannerMoreButtonTooltip:"More options",captionsAvailableLanguageStrings:{"ar-ae":"Arabic - U.A.E.","ar-sa":"Arabic - Saudi Arabia","da-dk":"Danish","de-de":"German - Germany","en-au":"English - Australia","en-ca":"English - Canada","en-gb":"English - United Kingdom","en-in":"English - India","en-nz":"English - New Zealand","en-us":"English - United States","es-es":"Spanish - Spain (Modern Sort)","es-mx":"Spanish - Mexico","fi-fi":"Finnish","fr-ca":"French - Canada","fr-fr":"French - France","hi-in":"Hindi","it-it":"Italian - Italy","ja-jp":"Japanese","ko-kr":"Korean","nb-no":"Norwegian (Bokmål)","nl-be":"Dutch - Belgium","nl-nl":"Dutch - Netherlands","pl-pl":"Polish","pt-br":"Portuguese - Brazil","ru-ru":"Russian","sv-se":"Swedish","zh-cn":"Chinese - People's Republic of China","zh-hk":"Chinese - Hong Kong SAR","cs-cz":"Czech","pt-pt":"Portuguese - Portugal","tr-tr":"Turkish","vi-vn":"Vietnamese","th-th":"Thai","he-il":"Hebrew","cy-gb":"Welsh","uk-ua":"Ukrainian","el-gr":"Greek","hu-hu":"Hungarian","ro-ro":"Romanian","sk-sk":"Slovak","zh-tw":"Chinese - Taiwan"},captionsBannerSpinnerText:"Starting captions...",transferPageTransferorText:"Transferring...",transferPageTransferTargetText:"Connecting...",transferPageUnknownTransferorDisplayName:"Unknown",transferPageUnknownTransferTargetDisplayName:"Unknown",transferPageNoticeString:"You are being transferred"};var chat$j={chatListHeader:"In this chat",uploadFile:"Upload File"};var callWithChat$j={chatButtonLabel:"Chat",chatButtonNewMessageNotificationLabel:"New Message",chatButtonTooltipClosedWithMessageCount:"Show chat ({unreadMessagesCount} unread)",chatButtonTooltipClose:"Hide chat",chatButtonTooltipOpen:"Show chat",chatPaneTitle:"Chat",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",dismissSidePaneButtonLabel:"Close",moreDrawerAudioDeviceMenuTitle:"Audio Device",moreDrawerButtonLabel:"More options",moreDrawerButtonTooltip:"More options",moreDrawerMicrophoneMenuTitle:"Microphone",moreDrawerSpeakerMenuTitle:"Speaker",moreDrawerCaptionsMenuTitle:"Live captions",moreDrawerSpokenLanguageMenuTitle:"Spoken language",peopleButtonLabel:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",peoplePaneTitle:"People",pictureInPictureTileAriaLabel:"Video Feeds. Click to return to call screen.",removeMenuLabel:"Remove",openDialpadButtonLabel:"Dial phone number",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number"};var en_US = {call:call$j,chat:chat$j,callWithChat:callWithChat$j};
|
18880
|
+
var call$j={cameraLabel:"Camera",noCamerasLabel:"No cameras found",cameraPermissionDenied:"Your browser is blocking access to your camera",cameraTurnedOff:"Your camera is turned off",chatButtonLabel:"Chat",close:"Close",complianceBannerNowOnlyRecording:"You are now only recording this meeting.",complianceBannerNowOnlyTranscription:"You are now only transcribing this meeting.",complianceBannerRecordingAndTranscriptionSaved:"Recording and transcription are being saved.",complianceBannerRecordingAndTranscriptionStarted:"Recording and transcription have started.",complianceBannerRecordingAndTranscriptionStopped:"Recording and transcription have stopped.",complianceBannerRecordingSaving:"Recording is being saved.",complianceBannerRecordingStarted:"Recording has started.",complianceBannerRecordingStopped:"Recording has stopped.",complianceBannerTranscriptionStarted:"Transcription has started.",complianceBannerTranscriptionConsent:"By joining, you are giving consent for this meeting to be transcribed.",complianceBannerTranscriptionSaving:"Transcription is being saved.",complianceBannerTranscriptionStopped:"Transcription has stopped.",configurationPageTitle:"Start a call",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",defaultPlaceHolder:"Select an option",dismissSidePaneButtonLabel:"Close",videoEffectsPaneTitle:"Effects",videoEffectsPaneBackgroundSelectionTitle:"Background",configurationPageVideoEffectsButtonLabel:"Effects",unableToStartVideoEffect:"Unable to apply video effect.",blurBackgroundEffectButtonLabel:"Blur",blurBackgroundTooltip:"Blur Background",removeBackgroundEffectButtonLabel:"None",removeBackgroundTooltip:"Remove Background",cameraOffBackgroundEffectWarningText:"Your camera is off. Turn on camera to see video effect.",failedToJoinCallDueToNoNetworkMoreDetails:"Call was disconnected due to a network issue. Check your connection and join again.",failedToJoinCallDueToNoNetworkTitle:"Call disconnected",failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails:"You were not granted entry in the call. If this was a mistake, re-join the call.",failedToJoinTeamsMeetingReasonAccessDeniedTitle:"Dismissed from lobby",learnMore:"Learn more",leavingCallTitle:"Leaving...",leftCallMoreDetails:"If this was a mistake, re-join the call.",leftCallTitle:"You left the call",lobbyScreenConnectingToCallTitle:"Joining call",lobbyScreenWaitingToBeAdmittedTitle:"Waiting to be admitted",microphonePermissionDenied:"Your browser is blocking access to your microphone",microphoneToggleInLobbyNotAllowed:"Cannot mute or unmute while in lobby.",mutedMessage:"You're muted",networkReconnectMoreDetails:"Looks like something went wrong. We're trying to get back into the call.",networkReconnectTitle:"Hold on",deniedPermissionToRoomDetails:"You do not have permission to join this room.",deniedPermissionToRoomTitle:"Permission denied to room",peopleButtonLabel:"People",peoplePaneTitle:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",privacyPolicy:"Privacy policy",rejoinCallButtonLabel:"Re-join call",removedFromCallMoreDetails:"Another participant removed you from the call.",removedFromCallTitle:"You were removed",removeMenuLabel:"Remove",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",roomNotFoundDetails:"Room ID provided is not valid.",roomNotFoundTitle:"Room not found",soundLabel:"Sound",noMicrophonesLabel:"No microphones found",noSpeakersLabel:"No speakers found",startCallButtonLabel:"Start call",openDialpadButtonLabel:"Dial phone number",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",moreButtonCallingLabel:"More",resumeCallButtonLabel:"Resume",resumingCallButtonLabel:"Resuming...",resumeCallButtonAriaLabel:"Resume call",resumingCallButtonAriaLabel:"Resume call",holdScreenLabel:"You're on hold",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number",outboundCallingNoticeString:"Calling...",participantJoinedNoticeString:"{displayName} joined",twoParticipantJoinedNoticeString:"{displayName1} and {displayName2} have joined",threeParticipantJoinedNoticeString:"{displayName1}, {displayName2} and {displayName3} have joined",participantLeftNoticeString:"{displayName} left",twoParticipantLeftNoticeString:"{displayName1} and {displayName2} have left",threeParticipantLeftNoticeString:"{displayName1}, {displayName2} and {displayName3} have left",unnamedParticipantString:"unnamed participant",manyUnnamedParticipantsJoined:"unnamed participant and {numOfParticipants} other participants joined",manyUnnamedParticipantsLeft:"unnamed participant and {numOfParticipants} other participants left",manyParticipantsJoined:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants joined",manyParticipantsLeft:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants left",liveCaptionsLabel:"Live captions",captionsSettingsLabel:"Caption settings",startCaptionsButtonOnLabel:"Turn on captions",startCaptionsButtonOffLabel:"Turn off captions",startCaptionsButtonTooltipOnContent:"Turn off captions",startCaptionsButtonTooltipOffContent:"Turn on captions",captionsSettingsModalTitle:"What language is being spoken?",captionsSettingsDropdownLabel:"Spoken language",captionsSettingsDropdownInfoText:"Language that everyone on this call is speaking.",captionsSettingsConfirmButtonLabel:"Confirm",captionsSettingsCancelButtonLabel:"Cancel",captionsSettingsModalAriaLabel:"Captions Setting Modal",captionsSettingsCloseModalButtonAriaLabel:"Close Captions Setting",captionsBannerMoreButtonCallingLabel:"More",captionsBannerMoreButtonTooltip:"More options",captionsAvailableLanguageStrings:{"ar-ae":"Arabic - U.A.E.","ar-sa":"Arabic - Saudi Arabia","da-dk":"Danish","de-de":"German - Germany","en-au":"English - Australia","en-ca":"English - Canada","en-gb":"English - United Kingdom","en-in":"English - India","en-nz":"English - New Zealand","en-us":"English - United States","es-es":"Spanish - Spain (Modern Sort)","es-mx":"Spanish - Mexico","fi-fi":"Finnish","fr-ca":"French - Canada","fr-fr":"French - France","hi-in":"Hindi","it-it":"Italian - Italy","ja-jp":"Japanese","ko-kr":"Korean","nb-no":"Norwegian (Bokmål)","nl-be":"Dutch - Belgium","nl-nl":"Dutch - Netherlands","pl-pl":"Polish","pt-br":"Portuguese - Brazil","ru-ru":"Russian","sv-se":"Swedish","zh-cn":"Chinese - People's Republic of China","zh-hk":"Chinese - Hong Kong SAR","cs-cz":"Czech","pt-pt":"Portuguese - Portugal","tr-tr":"Turkish","vi-vn":"Vietnamese","th-th":"Thai","he-il":"Hebrew","cy-gb":"Welsh","uk-ua":"Ukrainian","el-gr":"Greek","hu-hu":"Hungarian","ro-ro":"Romanian","sk-sk":"Slovak","zh-tw":"Chinese - Taiwan"},captionsBannerSpinnerText:"Starting captions...",transferPageTransferorText:"Transferring...",transferPageTransferTargetText:"Connecting...",transferPageUnknownTransferorDisplayName:"Unknown",transferPageUnknownTransferTargetDisplayName:"Unknown",transferPageNoticeString:"You are being transferred",participantCouldNotBeReachedTitle:"Target participant is currently not available",participantCouldNotBeReachedMoreDetails:"Please contact participant when they are available",permissionToReachTargetParticipantNotAllowedTitle:"Permission to reach target participant is not allowed",permissionToReachTargetParticipantNotAllowedMoreDetails:"Please check that the target participant is in the same tenant",unableToResolveTenantTitle:"Unable to resolve tenant id for the target participant",unableToResolveTenantMoreDetails:"Please check the participant id is entered correctly",participantIdIsMalformedTitle:"Participant id is not in the correct format",participantIdIsMalformedMoreDetails:"Please check that the participant id is in the correct format"};var chat$j={chatListHeader:"In this chat",uploadFile:"Upload File"};var callWithChat$j={chatButtonLabel:"Chat",chatButtonNewMessageNotificationLabel:"New Message",chatButtonTooltipClosedWithMessageCount:"Show chat ({unreadMessagesCount} unread)",chatButtonTooltipClose:"Hide chat",chatButtonTooltipOpen:"Show chat",chatPaneTitle:"Chat",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",dismissSidePaneButtonLabel:"Close",moreDrawerAudioDeviceMenuTitle:"Audio Device",moreDrawerButtonLabel:"More options",moreDrawerButtonTooltip:"More options",moreDrawerMicrophoneMenuTitle:"Microphone",moreDrawerSpeakerMenuTitle:"Speaker",moreDrawerCaptionsMenuTitle:"Live captions",moreDrawerSpokenLanguageMenuTitle:"Spoken language",peopleButtonLabel:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",peoplePaneTitle:"People",pictureInPictureTileAriaLabel:"Video Feeds. Click to return to call screen.",removeMenuLabel:"Remove",openDialpadButtonLabel:"Dial phone number",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number"};var en_US = {call:call$j,chat:chat$j,callWithChat:callWithChat$j};
|
18879
18881
|
|
18880
18882
|
var call$i={cameraLabel:"Camera",noCamerasLabel:"No cameras found",cameraPermissionDenied:"Your browser is blocking access to your camera",cameraTurnedOff:"Your camera is turned off",chatButtonLabel:"Chat",close:"Close",complianceBannerNowOnlyRecording:"You are now only recording this meeting.",complianceBannerNowOnlyTranscription:"You are now only transcribing this meeting.",complianceBannerRecordingAndTranscriptionSaved:"Recording and transcription are being saved.",complianceBannerRecordingAndTranscriptionStarted:"Recording and transcription have started.",complianceBannerRecordingAndTranscriptionStopped:"Recording and transcription have stopped.",complianceBannerRecordingSaving:"Recording is being saved.",complianceBannerRecordingStarted:"Recording has started.",complianceBannerRecordingStopped:"Recording has stopped.",complianceBannerTranscriptionStarted:"Transcription has started.",complianceBannerTranscriptionConsent:"By joining, you are giving consent for this meeting to be transcribed.",complianceBannerTranscriptionSaving:"Transcription is being saved.",complianceBannerTranscriptionStopped:"Transcription has stopped.",configurationPageTitle:"Start a call",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",defaultPlaceHolder:"Select an option",dismissSidePaneButtonLabel:"Close",videoEffectsPaneTitle:"Effects",videoEffectsPaneBackgroundSelectionTitle:"Background",configurationPageVideoEffectsButtonLabel:"Effects",unableToStartVideoEffect:"Unable to apply video effect.",blurBackgroundEffectButtonLabel:"Blur",blurBackgroundTooltip:"Blur Background",removeBackgroundEffectButtonLabel:"None",removeBackgroundTooltip:"Remove Background",cameraOffBackgroundEffectWarningText:"Your camera is off. Turn on camera to see video effect.",failedToJoinCallDueToNoNetworkMoreDetails:"Call was disconnected due to a network issue. Check your connection and join again.",failedToJoinCallDueToNoNetworkTitle:"Call disconnected",failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails:"You were not granted entry in the call. If this was a mistake, re-join the call.",failedToJoinTeamsMeetingReasonAccessDeniedTitle:"Dismissed from lobby",learnMore:"Learn more",leavingCallTitle:"Leaving...",leftCallMoreDetails:"If this was a mistake, re-join the call.",leftCallTitle:"You left the call",lobbyScreenConnectingToCallTitle:"Joining call",lobbyScreenWaitingToBeAdmittedTitle:"Waiting to be admitted",microphonePermissionDenied:"Your browser is blocking access to your microphone",microphoneToggleInLobbyNotAllowed:"Cannot mute or unmute while in lobby.",mutedMessage:"You're muted",networkReconnectMoreDetails:"Looks like something went wrong. We're trying to get back into the call.",networkReconnectTitle:"Hold on",deniedPermissionToRoomDetails:"You do not have permission to join this room.",deniedPermissionToRoomTitle:"Permission denied to room",peopleButtonLabel:"People",peoplePaneTitle:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",privacyPolicy:"Privacy policy",rejoinCallButtonLabel:"Re-join call",removedFromCallMoreDetails:"Another participant removed you from the call.",removedFromCallTitle:"You were removed",removeMenuLabel:"Remove",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",roomNotFoundDetails:"Room ID provided is not valid.",roomNotFoundTitle:"Room not found",soundLabel:"Sound",noMicrophonesLabel:"No microphones found",noSpeakersLabel:"No speakers found",startCallButtonLabel:"Start call",openDialpadButtonLabel:"Dial phone number",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",moreButtonCallingLabel:"More",resumeCallButtonLabel:"Resume",resumingCallButtonLabel:"Resuming...",resumeCallButtonAriaLabel:"Resume call",resumingCallButtonAriaLabel:"Resume call",holdScreenLabel:"You're on hold",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number",outboundCallingNoticeString:"Calling...",participantJoinedNoticeString:"{displayName} joined",twoParticipantJoinedNoticeString:"{displayName1} and {displayName2} have joined",threeParticipantJoinedNoticeString:"{displayName1}, {displayName2} and {displayName3} have joined",participantLeftNoticeString:"{displayName} left",twoParticipantLeftNoticeString:"{displayName1} and {displayName2} have left",threeParticipantLeftNoticeString:"{displayName1}, {displayName2} and {displayName3} have left",unnamedParticipantString:"unnamed participant",manyUnnamedParticipantsJoined:"unnamed participant and {numOfParticipants} other participants joined",manyUnnamedParticipantsLeft:"unnamed participant and {numOfParticipants} other participants left",manyParticipantsJoined:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants joined",manyParticipantsLeft:"{displayName1}, {displayName2}, {displayName3} and {numOfParticipants} other participants left",liveCaptionsLabel:"Live captions",captionsSettingsLabel:"Caption settings",startCaptionsButtonOnLabel:"Turn on captions",startCaptionsButtonOffLabel:"Turn off captions",startCaptionsButtonTooltipOnContent:"Turn off captions",startCaptionsButtonTooltipOffContent:"Turn on captions",captionsSettingsModalTitle:"What language is being spoken?",captionsSettingsDropdownLabel:"Spoken language",captionsSettingsDropdownInfoText:"Language that everyone on this call is speaking.",captionsSettingsConfirmButtonLabel:"Confirm",captionsSettingsCancelButtonLabel:"Cancel",captionsSettingsModalAriaLabel:"Captions Setting Modal",captionsSettingsCloseModalButtonAriaLabel:"Close Captions Setting",captionsBannerMoreButtonCallingLabel:"More",captionsBannerMoreButtonTooltip:"More options",captionsAvailableLanguageStrings:{"ar-ae":"Arabic - U.A.E.","ar-sa":"Arabic - Saudi Arabia","da-dk":"Danish","de-de":"German - Germany","en-au":"English - Australia","en-ca":"English - Canada","en-gb":"English - United Kingdom","en-in":"English - India","en-nz":"English - New Zealand","en-us":"English - United States","es-es":"Spanish - Spain (Modern Sort)","es-mx":"Spanish - Mexico","fi-fi":"Finnish","fr-ca":"French - Canada","fr-fr":"French - France","hi-in":"Hindi","it-it":"Italian - Italy","ja-jp":"Japanese","ko-kr":"Korean","nb-no":"Norwegian (Bokmål)","nl-be":"Dutch - Belgium","nl-nl":"Dutch - Netherlands","pl-pl":"Polish","pt-br":"Portuguese - Brazil","ru-ru":"Russian","sv-se":"Swedish","zh-cn":"Chinese - People's Republic of China","zh-hk":"Chinese - Hong Kong SAR","cs-cz":"Czech","pt-pt":"Portuguese - Portugal","tr-tr":"Turkish","vi-vn":"Vietnamese","th-th":"Thai","he-il":"Hebrew","cy-gb":"Welsh","uk-ua":"Ukrainian","el-gr":"Greek","hu-hu":"Hungarian","ro-ro":"Romanian","sk-sk":"Slovak","zh-tw":"Chinese - Taiwan"},captionsBannerSpinnerText:"Starting captions...",transferPageTransferorText:"Transferring...",transferPageTransferTargetText:"Connecting...",transferPageUnknownTransferorDisplayName:"Unknown",transferPageUnknownTransferTargetDisplayName:"Unknown"};var chat$i={chatListHeader:"In this chat",uploadFile:"Upload File"};var callWithChat$i={chatButtonLabel:"Chat",chatButtonNewMessageNotificationLabel:"New Message",chatButtonTooltipClosedWithMessageCount:"Show chat ({unreadMessagesCount} unread)",chatButtonTooltipClose:"Hide chat",chatButtonTooltipOpen:"Show chat",chatPaneTitle:"Chat",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied",dismissSidePaneButtonLabel:"Close",moreDrawerAudioDeviceMenuTitle:"Audio Device",moreDrawerButtonLabel:"More options",moreDrawerButtonTooltip:"More options",moreDrawerMicrophoneMenuTitle:"Microphone",moreDrawerSpeakerMenuTitle:"Speaker",moreDrawerCaptionsMenuTitle:"Live captions",moreDrawerSpokenLanguageMenuTitle:"Spoken language",peopleButtonLabel:"People",peopleButtonTooltipOpen:"Show participants",peopleButtonTooltipClose:"Hide participants",peoplePaneSubTitle:"In this call",peoplePaneTitle:"People",pictureInPictureTileAriaLabel:"Video Feeds. Click to return to call screen.",removeMenuLabel:"Remove",openDialpadButtonLabel:"Dial phone number",returnToCallButtonAriaDescription:"Return to Call",returnToCallButtonAriaLabel:"Back",peoplePaneAddPeopleButtonLabel:"Add People",dialpadStartCallButtonLabel:"Call",dialpadModalTitle:"Dial Phone Number",dialpadModalAriaLabel:"Dialpad",dialpadCloseModalButtonAriaLabel:"Close dialpad",openDtmfDialpadLabel:"Show dialpad",dtmfDialpadPlaceholderText:"Enter number"};var en_GB = {call:call$i,chat:chat$i,callWithChat:callWithChat$i};
|
18881
18883
|
|
@@ -20275,8 +20277,9 @@ const sidePaneContainerStyles = {
|
|
20275
20277
|
*/
|
20276
20278
|
const sidePaneHeaderStyles = {
|
20277
20279
|
root: {
|
20278
|
-
lineHeight: '1.
|
20279
|
-
|
20280
|
+
lineHeight: '1.5rem',
|
20281
|
+
fontSize: '1.125rem',
|
20282
|
+
padding: '0.75rem 0.75rem 0.75rem 0.25rem',
|
20280
20283
|
fontWeight: '600'
|
20281
20284
|
}
|
20282
20285
|
};
|
@@ -21596,6 +21599,10 @@ const useSelector$1 = (selector, selectorProps) => {
|
|
21596
21599
|
* @private
|
21597
21600
|
*/
|
21598
21601
|
const getDisplayName = (state) => state.displayName;
|
21602
|
+
/**
|
21603
|
+
* @private
|
21604
|
+
*/
|
21605
|
+
const getEndedCall = (state) => state.endedCall;
|
21599
21606
|
/**
|
21600
21607
|
* @private
|
21601
21608
|
*/
|
@@ -23115,14 +23122,14 @@ const hiddenStyles = {
|
|
23115
23122
|
/**
|
23116
23123
|
* @private
|
23117
23124
|
*/
|
23118
|
-
const sidePaneStyles = {
|
23125
|
+
const sidePaneStyles = (maxWidth) => ({
|
23119
23126
|
root: {
|
23120
23127
|
height: 'auto',
|
23121
23128
|
width: '100%',
|
23122
23129
|
padding: '0.5rem 0.25rem',
|
23123
|
-
maxWidth: '21.5rem'
|
23130
|
+
maxWidth: maxWidth !== null && maxWidth !== void 0 ? maxWidth : '21.5rem'
|
23124
23131
|
}
|
23125
|
-
};
|
23132
|
+
});
|
23126
23133
|
/**
|
23127
23134
|
* @private
|
23128
23135
|
*/
|
@@ -23211,11 +23218,12 @@ const SidePane = (props) => {
|
|
23211
23218
|
overrideSidePane.persistRenderingWhenClosed &&
|
23212
23219
|
!overrideSidePane.isActive;
|
23213
23220
|
const renderingOnlyHiddenContent = renderingHiddenOverrideContent && !sidePaneRenderer;
|
23221
|
+
const maxWidthStyles = React.useMemo(() => sidePaneStyles(props.maxWidth), [props.maxWidth]);
|
23214
23222
|
const paneStyles = renderingOnlyHiddenContent
|
23215
23223
|
? hiddenStyles
|
23216
23224
|
: props.mobileView
|
23217
23225
|
? availableSpaceStyles
|
23218
|
-
:
|
23226
|
+
: maxWidthStyles;
|
23219
23227
|
let Header = (_a = ((overrideSidePane === null || overrideSidePane === void 0 ? void 0 : overrideSidePane.isActive) ? overrideSidePane.renderer.headerRenderer : sidePaneRenderer === null || sidePaneRenderer === void 0 ? void 0 : sidePaneRenderer.headerRenderer)) !== null && _a !== void 0 ? _a : EmptyElement;
|
23220
23228
|
/**
|
23221
23229
|
* Legacy code to support old behavior of showing chat and people tab headers on mobile side pane.
|
@@ -23266,7 +23274,12 @@ const EmptyElement = () => React__default['default'].createElement(React__defaul
|
|
23266
23274
|
const SidePaneHeader = (props) => {
|
23267
23275
|
const theme = useTheme();
|
23268
23276
|
const sidePaneCloseButtonStyles = React.useMemo(() => ({
|
23269
|
-
root: {
|
23277
|
+
root: {
|
23278
|
+
minWidth: '1.5rem',
|
23279
|
+
padding: '0.5rem 0.25rem',
|
23280
|
+
marginRight: '0.25rem',
|
23281
|
+
backgroundColor: theme.semanticColors.bodyBackground
|
23282
|
+
},
|
23270
23283
|
icon: { color: theme.palette.neutralSecondary },
|
23271
23284
|
iconHovered: { color: theme.palette.neutralSecondary },
|
23272
23285
|
iconPressed: { color: theme.palette.neutralSecondary }
|
@@ -23274,9 +23287,10 @@ const SidePaneHeader = (props) => {
|
|
23274
23287
|
if (props.mobileView) {
|
23275
23288
|
return React__default['default'].createElement(SidePaneMobileHeader, Object.assign({}, props));
|
23276
23289
|
}
|
23277
|
-
return (React__default['default'].createElement(react.Stack, { horizontal: true, horizontalAlign: "space-between", styles: sidePaneHeaderContainerStyles },
|
23290
|
+
return (React__default['default'].createElement(react.Stack, { horizontal: true, horizontalAlign: "space-between", styles: sidePaneHeaderContainerStyles, verticalAlign: "center" },
|
23278
23291
|
React__default['default'].createElement(react.Stack.Item, { styles: sidePaneHeaderStyles }, props.headingText),
|
23279
|
-
React__default['default'].createElement(react.
|
23292
|
+
React__default['default'].createElement(react.Stack.Item, null,
|
23293
|
+
React__default['default'].createElement(react.CommandBarButton, { ariaLabel: props.dismissSidePaneButtonAriaLabel, styles: sidePaneCloseButtonStyles, iconProps: { iconName: 'cancel' }, onClick: props.onClose }))));
|
23280
23294
|
};
|
23281
23295
|
const SidePaneMobileHeader = (props) => {
|
23282
23296
|
const { headingText, dismissSidePaneButtonAriaLabel, dismissSidePaneButtonAriaDescription, onClose } = props;
|
@@ -23959,8 +23973,11 @@ const videoBackgroundErrorsSelector = reselect__namespace.createSelector([getLat
|
|
23959
23973
|
});
|
23960
23974
|
|
23961
23975
|
// Copyright (c) Microsoft Corporation.
|
23976
|
+
/** @private */
|
23962
23977
|
const VIDEO_EFFECTS_SIDE_PANE_ID = 'videoeffects';
|
23963
23978
|
/** @private */
|
23979
|
+
const VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM = 17.5;
|
23980
|
+
/** @private */
|
23964
23981
|
const useVideoEffectsPane = (updateSidePaneRenderer, mobileView) => {
|
23965
23982
|
const closePane = React.useCallback(() => {
|
23966
23983
|
updateSidePaneRenderer(undefined);
|
@@ -24404,7 +24421,9 @@ const CallArrangement = (props) => {
|
|
24404
24421
|
errorBarProps = Object.assign(Object.assign({}, props.errorBarProps), { activeErrorMessages: props.errorBarProps.activeErrorMessages.filter((e) => e.type !== 'callCameraAccessDenied' && e.type !== 'callCameraAccessDeniedSafari') });
|
24405
24422
|
}
|
24406
24423
|
/* @conditional-compile-remove(video-background-effects) */
|
24407
|
-
|
24424
|
+
const isVideoPaneOpen = useIsParticularSidePaneOpen(VIDEO_EFFECTS_SIDE_PANE_ID);
|
24425
|
+
/* @conditional-compile-remove(video-background-effects) */
|
24426
|
+
if ((isVideoPaneOpen || !isCameraOn) && props.errorBarProps) {
|
24408
24427
|
errorBarProps = Object.assign(Object.assign({}, props.errorBarProps), { activeErrorMessages: props.errorBarProps.activeErrorMessages.filter((e) => e.type !== 'unableToStartVideoEffect') });
|
24409
24428
|
}
|
24410
24429
|
/* @conditional-compile-remove(close-captions) */
|
@@ -24453,7 +24472,9 @@ const CallArrangement = (props) => {
|
|
24453
24472
|
props.onRenderGalleryContent && props.onRenderGalleryContent(),
|
24454
24473
|
/* @conditional-compile-remove(close-captions) */
|
24455
24474
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ !isInLocalHold && (React__default['default'].createElement(CaptionsBanner, { isMobile: props.mobileView }))))),
|
24456
|
-
React__default['default'].createElement(SidePane, { mobileView: props.mobileView,
|
24475
|
+
React__default['default'].createElement(SidePane, { mobileView: props.mobileView,
|
24476
|
+
/* @conditional-compile-remove(video-background-effects) */
|
24477
|
+
maxWidth: isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined, updateSidePaneRenderer: props.updateSidePaneRenderer, onPeopleButtonClicked: props.mobileView && !shouldShowPeopleTabHeaderButton(props.callControlProps.options)
|
24457
24478
|
? undefined
|
24458
24479
|
: togglePeoplePane, disablePeopleButton: typeof props.callControlProps.options !== 'boolean' &&
|
24459
24480
|
isDisabled$2((_f = props.callControlProps.options) === null || _f === void 0 ? void 0 : _f.participantsButton), onChatButtonClicked: (_g = props.mobileChatTabHeader) === null || _g === void 0 ? void 0 : _g.onClick, disableChatButton: (_h = props.mobileChatTabHeader) === null || _h === void 0 ? void 0 : _h.disabled }),
|
@@ -25182,7 +25203,12 @@ const fillWidth = react.mergeStyles({
|
|
25182
25203
|
const panelStyles = {
|
25183
25204
|
content: {
|
25184
25205
|
display: 'flex',
|
25185
|
-
flexBasis: '100%'
|
25206
|
+
flexBasis: '100%',
|
25207
|
+
paddingLeft: '0rem',
|
25208
|
+
paddingRight: '0rem' // remove default padding
|
25209
|
+
},
|
25210
|
+
commands: {
|
25211
|
+
paddingTop: '0rem' // remove default padding
|
25186
25212
|
},
|
25187
25213
|
scrollableContent: {
|
25188
25214
|
display: 'flex',
|
@@ -25903,7 +25929,9 @@ const ConfigurationPage = (props) => {
|
|
25903
25929
|
/* @conditional-compile-remove(video-background-effects) */
|
25904
25930
|
, {
|
25905
25931
|
/* @conditional-compile-remove(video-background-effects) */
|
25906
|
-
isOpen: isVideoEffectsPaneOpen, hasCloseButton: false, isBlocking: false, isHiddenOnDismiss: false, styles: panelStyles, focusTrapZoneProps: panelFocusProps, layerProps: panelLayerProps
|
25932
|
+
isOpen: isVideoEffectsPaneOpen, hasCloseButton: false, isBlocking: false, isHiddenOnDismiss: false, styles: panelStyles, focusTrapZoneProps: panelFocusProps, layerProps: panelLayerProps, type: react.PanelType.custom,
|
25933
|
+
/* @conditional-compile-remove(video-background-effects) */
|
25934
|
+
customWidth: `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` },
|
25907
25935
|
React__default['default'].createElement(SidePane, { mobileView: props.mobileView, updateSidePaneRenderer: props.updateSidePaneRenderer })))));
|
25908
25936
|
};
|
25909
25937
|
const localPreviewTrampoline = (mobileView, doNotShow) => {
|
@@ -26492,6 +26520,7 @@ const MainScreen = (props) => {
|
|
26492
26520
|
var _a, _b, _c, _d, _e;
|
26493
26521
|
const { callInvitationUrl, onRenderAvatar, onFetchAvatarPersonaData, onFetchParticipantMenuItems } = props;
|
26494
26522
|
const page = useSelector$1(getPage);
|
26523
|
+
const endedCall = useSelector$1(getEndedCall);
|
26495
26524
|
const [sidePaneRenderer, setSidePaneRenderer] = React__default['default'].useState();
|
26496
26525
|
const [injectedSidePaneProps, setInjectedSidePaneProps] = React__default['default'].useState();
|
26497
26526
|
const overridePropsRef = React.useRef(props.overrideSidePane);
|
@@ -26548,9 +26577,11 @@ const MainScreen = (props) => {
|
|
26548
26577
|
case 'leaving':
|
26549
26578
|
pageElement = (React__default['default'].createElement(NoticePage, { title: (_d = locale.strings.call.leavingCallTitle) !== null && _d !== void 0 ? _d : 'Leaving...', dataUiId: 'leaving-page', pageStyle: leavePageStyle, disableStartCallButton: true }));
|
26550
26579
|
break;
|
26551
|
-
case 'leftCall':
|
26552
|
-
|
26580
|
+
case 'leftCall': {
|
26581
|
+
const { title, moreDetails, disableStartCallButton } = getEndedCallStrings(locale, endedCall);
|
26582
|
+
pageElement = (React__default['default'].createElement(NoticePage, { iconName: "NoticePageLeftCall", title: title, moreDetails: moreDetails, dataUiId: 'left-call-page', disableStartCallButton: disableStartCallButton }));
|
26553
26583
|
break;
|
26584
|
+
}
|
26554
26585
|
case 'lobby':
|
26555
26586
|
pageElement = (React__default['default'].createElement(LobbyPage, { mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, options: props.options, updateSidePaneRenderer: setSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader }));
|
26556
26587
|
break;
|
@@ -26642,6 +26673,44 @@ const getQueryOptions = (options) => {
|
|
26642
26673
|
}
|
26643
26674
|
return { video: true, audio: true };
|
26644
26675
|
};
|
26676
|
+
const getEndedCallStrings = (locale, endedCall) => {
|
26677
|
+
var _a;
|
26678
|
+
let title = locale.strings.call.leftCallTitle;
|
26679
|
+
let moreDetails = locale.strings.call.leftCallMoreDetails;
|
26680
|
+
let disableStartCallButton = false;
|
26681
|
+
/* @conditional-compile-remove(teams-adhoc-call) */
|
26682
|
+
switch ((_a = endedCall === null || endedCall === void 0 ? void 0 : endedCall.callEndReason) === null || _a === void 0 ? void 0 : _a.subCode) {
|
26683
|
+
case 10037:
|
26684
|
+
if (locale.strings.call.participantCouldNotBeReachedTitle) {
|
26685
|
+
title = locale.strings.call.participantCouldNotBeReachedTitle;
|
26686
|
+
moreDetails = locale.strings.call.participantCouldNotBeReachedMoreDetails;
|
26687
|
+
disableStartCallButton = true;
|
26688
|
+
}
|
26689
|
+
break;
|
26690
|
+
case 10124:
|
26691
|
+
if (locale.strings.call.permissionToReachTargetParticipantNotAllowedTitle) {
|
26692
|
+
title = locale.strings.call.permissionToReachTargetParticipantNotAllowedTitle;
|
26693
|
+
moreDetails = locale.strings.call.permissionToReachTargetParticipantNotAllowedMoreDetails;
|
26694
|
+
disableStartCallButton = true;
|
26695
|
+
}
|
26696
|
+
break;
|
26697
|
+
case 10119:
|
26698
|
+
if (locale.strings.call.unableToResolveTenantTitle) {
|
26699
|
+
title = locale.strings.call.unableToResolveTenantTitle;
|
26700
|
+
moreDetails = locale.strings.call.unableToResolveTenantMoreDetails;
|
26701
|
+
disableStartCallButton = true;
|
26702
|
+
}
|
26703
|
+
break;
|
26704
|
+
case 10044:
|
26705
|
+
if (locale.strings.call.participantIdIsMalformedTitle) {
|
26706
|
+
title = locale.strings.call.participantIdIsMalformedTitle;
|
26707
|
+
moreDetails = locale.strings.call.participantIdIsMalformedMoreDetails;
|
26708
|
+
disableStartCallButton = true;
|
26709
|
+
}
|
26710
|
+
break;
|
26711
|
+
}
|
26712
|
+
return { title, moreDetails, disableStartCallButton };
|
26713
|
+
};
|
26645
26714
|
|
26646
26715
|
// Copyright (c) Microsoft Corporation.
|
26647
26716
|
/**
|