@azure/communication-react 1.22.0-alpha-202412120017 → 1.22.0-alpha-202412140017
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 +241 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-BBGCXfci.js → ChatMessageComponentAsRichTextEditBox-Dl92p4eD.js} +2 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-BBGCXfci.js.map → ChatMessageComponentAsRichTextEditBox-Dl92p4eD.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CG_xsEdn.js → RichTextSendBoxWrapper-33DU1VBo.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CG_xsEdn.js.map → RichTextSendBoxWrapper-33DU1VBo.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-BryVG9gm.js → index-DGukAwsx.js} +306 -238
- package/dist/dist-cjs/communication-react/index-DGukAwsx.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +3 -1
- 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/calling-component-bindings/src/baseSelectors.d.ts +5 -5
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +13 -13
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +4 -4
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +1 -9
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +3 -2
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +6 -2
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -3
- package/dist/dist-esm/calling-component-bindings/src/index.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +6 -2
- package/dist/dist-esm/communication-react/src/index.js +2 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +86 -17
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +19 -7
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RTTModal.js.map +1 -1
- 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/StartCaptionsButton.d.ts +10 -10
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +6 -3
- package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +1 -1
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +14 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +96 -1
- package/dist/dist-esm/react-components/src/theming/icons.js +2 -4
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +4 -4
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +8 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +29 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsBanner.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/{CaptionsSettingsModal.d.ts → CallingCaptionsSettingsModal.d.ts} +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/{CaptionsSettingsModal.js → CallingCaptionsSettingsModal.js} +6 -9
- package/dist/dist-esm/react-composites/src/composites/common/CallingCaptionsSettingsModal.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +7 -10
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +3 -5
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +5 -9
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionLanguageSettingsDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +12 -14
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageSettingsDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -1
- package/package.json +1 -1
- package/dist/dist-cjs/communication-react/index-BryVG9gm.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +0 -1
@@ -188,7 +188,7 @@ function getDefaultExportFromCjs (x) {
|
|
188
188
|
// Copyright (c) Microsoft Corporation.
|
189
189
|
// Licensed under the MIT License.
|
190
190
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
191
|
-
var telemetryVersion = '1.22.0-alpha-
|
191
|
+
var telemetryVersion = '1.22.0-alpha-202412140017';
|
192
192
|
|
193
193
|
|
194
194
|
var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
|
@@ -618,7 +618,7 @@ const getAssignedBreakoutRoom$1 = (state, props) => {
|
|
618
618
|
|
619
619
|
// Copyright (c) Microsoft Corporation.
|
620
620
|
// Licensed under the MIT License.
|
621
|
-
var __awaiter$
|
621
|
+
var __awaiter$13 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
622
622
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
623
623
|
return new (P || (P = Promise))(function (resolve, reject) {
|
624
624
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -658,7 +658,7 @@ const _isPreviewOn = (deviceManager) => {
|
|
658
658
|
*
|
659
659
|
* @private
|
660
660
|
*/
|
661
|
-
const disposeAllLocalPreviewViews = (callClient) => __awaiter$
|
661
|
+
const disposeAllLocalPreviewViews = (callClient) => __awaiter$13(void 0, void 0, void 0, function* () {
|
662
662
|
const unparentedViews = callClient.getState().deviceManager.unparentedViews;
|
663
663
|
for (const view of unparentedViews) {
|
664
664
|
yield callClient.disposeView(undefined, undefined, view);
|
@@ -734,7 +734,7 @@ const maskDisplayNameWithRole = (displayName, localUserRole, participantRole, is
|
|
734
734
|
* Helper to create a local video stream from the selected camera.
|
735
735
|
* @private
|
736
736
|
*/
|
737
|
-
const createLocalVideoStream = (callClient) => __awaiter$
|
737
|
+
const createLocalVideoStream = (callClient) => __awaiter$13(void 0, void 0, void 0, function* () {
|
738
738
|
const camera = yield (callClient === null || callClient === void 0 ? void 0 : callClient.getState().deviceManager.selectedCamera);
|
739
739
|
if (camera) {
|
740
740
|
return new communicationCalling.LocalVideoStream(camera);
|
@@ -869,7 +869,7 @@ const holdButtonSelector = reselect__namespace.createSelector([getCallState], (c
|
|
869
869
|
|
870
870
|
// Copyright (c) Microsoft Corporation.
|
871
871
|
// Licensed under the MIT License.
|
872
|
-
var __awaiter$
|
872
|
+
var __awaiter$12 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
873
873
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
874
874
|
return new (P || (P = Promise))(function (resolve, reject) {
|
875
875
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -890,7 +890,7 @@ const areStreamsEqual = (prevStream, newStream) => {
|
|
890
890
|
* @private
|
891
891
|
*/
|
892
892
|
const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager, call, options) => {
|
893
|
-
const onStartLocalVideo = () => __awaiter$
|
893
|
+
const onStartLocalVideo = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
894
894
|
// Before the call object creates a stream, dispose of any local preview streams.
|
895
895
|
// @TODO: is there any way to parent the unparented view to the call object instead
|
896
896
|
// of disposing and creating a new stream?
|
@@ -910,7 +910,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
910
910
|
yield call.startVideo(stream);
|
911
911
|
}
|
912
912
|
});
|
913
|
-
const onStopLocalVideo = (stream) => __awaiter$
|
913
|
+
const onStopLocalVideo = (stream) => __awaiter$12(void 0, void 0, void 0, function* () {
|
914
914
|
const callId = call === null || call === void 0 ? void 0 : call.id;
|
915
915
|
if (!callId) {
|
916
916
|
return;
|
@@ -919,7 +919,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
919
919
|
yield call.stopVideo(stream);
|
920
920
|
}
|
921
921
|
});
|
922
|
-
const onToggleCamera = (options) => __awaiter$
|
922
|
+
const onToggleCamera = (options) => __awaiter$12(void 0, void 0, void 0, function* () {
|
923
923
|
const previewOn = _isPreviewOn(callClient.getState().deviceManager);
|
924
924
|
// the disposal of the unparented views is to workaround: https://skype.visualstudio.com/SPOOL/_workitems/edit/3030558.
|
925
925
|
// The root cause of the issue is caused by never transitioning the unparented view to the
|
@@ -976,19 +976,19 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
976
976
|
}
|
977
977
|
}
|
978
978
|
});
|
979
|
-
const onSelectMicrophone = (device) => __awaiter$
|
979
|
+
const onSelectMicrophone = (device) => __awaiter$12(void 0, void 0, void 0, function* () {
|
980
980
|
if (!deviceManager) {
|
981
981
|
return;
|
982
982
|
}
|
983
983
|
return deviceManager.selectMicrophone(device);
|
984
984
|
});
|
985
|
-
const onSelectSpeaker = (device) => __awaiter$
|
985
|
+
const onSelectSpeaker = (device) => __awaiter$12(void 0, void 0, void 0, function* () {
|
986
986
|
if (!deviceManager) {
|
987
987
|
return;
|
988
988
|
}
|
989
989
|
return deviceManager.selectSpeaker(device);
|
990
990
|
});
|
991
|
-
const onSelectCamera = (device, options) => __awaiter$
|
991
|
+
const onSelectCamera = (device, options) => __awaiter$12(void 0, void 0, void 0, function* () {
|
992
992
|
if (!deviceManager) {
|
993
993
|
return;
|
994
994
|
}
|
@@ -1018,9 +1018,9 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1018
1018
|
}, options);
|
1019
1019
|
}
|
1020
1020
|
});
|
1021
|
-
const onRaiseHand = () => __awaiter$
|
1022
|
-
const onLowerHand = () => __awaiter$
|
1023
|
-
const onToggleRaiseHand = () => __awaiter$
|
1021
|
+
const onRaiseHand = () => __awaiter$12(void 0, void 0, void 0, function* () { var _a; return yield ((_a = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.RaiseHand)) === null || _a === void 0 ? void 0 : _a.raiseHand()); });
|
1022
|
+
const onLowerHand = () => __awaiter$12(void 0, void 0, void 0, function* () { var _b; return yield ((_b = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.RaiseHand)) === null || _b === void 0 ? void 0 : _b.lowerHand()); });
|
1023
|
+
const onToggleRaiseHand = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1024
1024
|
const raiseHandFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.RaiseHand);
|
1025
1025
|
const localUserId = callClient.getState().userId;
|
1026
1026
|
const isLocalRaisedHand = raiseHandFeature === null || raiseHandFeature === void 0 ? void 0 : raiseHandFeature.getRaisedHands().find((publishedState) => toFlatCommunicationIdentifier(publishedState.identifier) === toFlatCommunicationIdentifier(localUserId));
|
@@ -1031,7 +1031,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1031
1031
|
yield (raiseHandFeature === null || raiseHandFeature === void 0 ? void 0 : raiseHandFeature.raiseHand());
|
1032
1032
|
}
|
1033
1033
|
});
|
1034
|
-
const onReactionClick = (reaction) => __awaiter$
|
1034
|
+
const onReactionClick = (reaction) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1035
1035
|
var _c;
|
1036
1036
|
if (reaction === 'like' ||
|
1037
1037
|
reaction === 'applause' ||
|
@@ -1045,18 +1045,18 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1045
1045
|
}
|
1046
1046
|
return;
|
1047
1047
|
});
|
1048
|
-
const onToggleMicrophone = () => __awaiter$
|
1048
|
+
const onToggleMicrophone = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1049
1049
|
if (!call || !(_isInCall(call.state) || _isInLobbyOrConnecting(call.state))) {
|
1050
1050
|
throw new Error(`Please invoke onToggleMicrophone after call is started`);
|
1051
1051
|
}
|
1052
1052
|
return call.isMuted ? yield call.unmute() : yield call.mute();
|
1053
1053
|
});
|
1054
|
-
const onStartScreenShare = () => __awaiter$
|
1055
|
-
const onStopScreenShare = () => __awaiter$
|
1056
|
-
const onToggleScreenShare = () => __awaiter$
|
1057
|
-
const onHangUp = (forEveryone) => __awaiter$
|
1058
|
-
const onToggleHold = () => __awaiter$
|
1059
|
-
const onCreateLocalStreamView = (...args_1) => __awaiter$
|
1054
|
+
const onStartScreenShare = () => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.startScreenSharing()); });
|
1055
|
+
const onStopScreenShare = () => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.stopScreenSharing()); });
|
1056
|
+
const onToggleScreenShare = () => __awaiter$12(void 0, void 0, void 0, function* () { return (call === null || call === void 0 ? void 0 : call.isScreenSharingOn) ? yield onStopScreenShare() : yield onStartScreenShare(); });
|
1057
|
+
const onHangUp = (forEveryone) => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.hangUp({ forEveryone: forEveryone === true ? true : false })); });
|
1058
|
+
const onToggleHold = () => __awaiter$12(void 0, void 0, void 0, function* () { return (call === null || call === void 0 ? void 0 : call.state) === 'LocalHold' ? yield (call === null || call === void 0 ? void 0 : call.resume()) : yield (call === null || call === void 0 ? void 0 : call.hold()); });
|
1059
|
+
const onCreateLocalStreamView = (...args_1) => __awaiter$12(void 0, [...args_1], void 0, function* (options = { scalingMode: 'Crop', isMirrored: true }) {
|
1060
1060
|
if (!call || call.localVideoStreams.length === 0) {
|
1061
1061
|
return;
|
1062
1062
|
}
|
@@ -1080,7 +1080,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1080
1080
|
}
|
1081
1081
|
return (createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view) ? { view: createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view } : undefined;
|
1082
1082
|
});
|
1083
|
-
const onCreateRemoteStreamView = (userId_1, ...args_2) => __awaiter$
|
1083
|
+
const onCreateRemoteStreamView = (userId_1, ...args_2) => __awaiter$12(void 0, [userId_1, ...args_2], void 0, function* (userId, options = { scalingMode: 'Crop' }) {
|
1084
1084
|
if (!call) {
|
1085
1085
|
return;
|
1086
1086
|
}
|
@@ -1117,7 +1117,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1117
1117
|
}
|
1118
1118
|
return (createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view) ? { view: createViewResult === null || createViewResult === void 0 ? void 0 : createViewResult.view } : undefined;
|
1119
1119
|
});
|
1120
|
-
const onDisposeRemoteStreamView = (userId) => __awaiter$
|
1120
|
+
const onDisposeRemoteStreamView = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1121
1121
|
if (!call) {
|
1122
1122
|
return;
|
1123
1123
|
}
|
@@ -1138,7 +1138,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1138
1138
|
callClient.disposeView(call.id, participant.identifier, screenShareStream);
|
1139
1139
|
}
|
1140
1140
|
});
|
1141
|
-
const onDisposeRemoteVideoStreamView = (userId) => __awaiter$
|
1141
|
+
const onDisposeRemoteVideoStreamView = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1142
1142
|
if (!call) {
|
1143
1143
|
return;
|
1144
1144
|
}
|
@@ -1157,7 +1157,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1157
1157
|
}
|
1158
1158
|
}
|
1159
1159
|
});
|
1160
|
-
const onDisposeRemoteScreenShareStreamView = (userId) => __awaiter$
|
1160
|
+
const onDisposeRemoteScreenShareStreamView = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1161
1161
|
if (!call) {
|
1162
1162
|
return;
|
1163
1163
|
}
|
@@ -1176,7 +1176,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1176
1176
|
}
|
1177
1177
|
}
|
1178
1178
|
});
|
1179
|
-
const onDisposeLocalScreenShareStreamView = () => __awaiter$
|
1179
|
+
const onDisposeLocalScreenShareStreamView = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1180
1180
|
if (!call) {
|
1181
1181
|
return;
|
1182
1182
|
}
|
@@ -1189,7 +1189,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1189
1189
|
callClient.disposeView(call.id, undefined, screenShareStream);
|
1190
1190
|
}
|
1191
1191
|
});
|
1192
|
-
const onDisposeLocalStreamView = () => __awaiter$
|
1192
|
+
const onDisposeLocalStreamView = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1193
1193
|
// If the user is currently in a call, dispose of the local stream view attached to that call.
|
1194
1194
|
const callState = call && callClient.getState().calls[call.id];
|
1195
1195
|
const localStream = callState === null || callState === void 0 ? void 0 : callState.localVideoStreams.find((item) => item.mediaStreamType === 'Video');
|
@@ -1201,17 +1201,17 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1201
1201
|
// TODO: we need to remember which LocalVideoStream was used for LocalPreview and dispose that one.
|
1202
1202
|
yield disposeAllLocalPreviewViews(callClient);
|
1203
1203
|
});
|
1204
|
-
const onSendDtmfTone = (dtmfTone) => __awaiter$
|
1204
|
+
const onSendDtmfTone = (dtmfTone) => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.sendDtmf(dtmfTone)); });
|
1205
1205
|
const notImplemented = () => {
|
1206
1206
|
throw new Error('Not implemented, cannot call a method from an abstract object');
|
1207
1207
|
};
|
1208
1208
|
/* @conditional-compile-remove(call-readiness) */
|
1209
|
-
const askDevicePermission = (constrain) => __awaiter$
|
1209
|
+
const askDevicePermission = (constrain) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1210
1210
|
if (deviceManager) {
|
1211
1211
|
yield (deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.askDevicePermission(constrain));
|
1212
1212
|
}
|
1213
1213
|
});
|
1214
|
-
const onRemoveVideoBackgroundEffects = () => __awaiter$
|
1214
|
+
const onRemoveVideoBackgroundEffects = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1215
1215
|
const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
|
1216
1216
|
(deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
|
1217
1217
|
if (stream) {
|
@@ -1223,7 +1223,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1223
1223
|
}
|
1224
1224
|
}
|
1225
1225
|
});
|
1226
|
-
const onBlurVideoBackground = (backgroundBlurConfig) => __awaiter$
|
1226
|
+
const onBlurVideoBackground = (backgroundBlurConfig) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1227
1227
|
var _d;
|
1228
1228
|
const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
|
1229
1229
|
(deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
|
@@ -1236,7 +1236,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1236
1236
|
return createEffect && stream.feature(communicationCalling.Features.VideoEffects).startEffects(createEffect(backgroundBlurConfig));
|
1237
1237
|
}
|
1238
1238
|
});
|
1239
|
-
const onReplaceVideoBackground = (backgroundReplacementConfig) => __awaiter$
|
1239
|
+
const onReplaceVideoBackground = (backgroundReplacementConfig) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1240
1240
|
var _e;
|
1241
1241
|
const stream = (call === null || call === void 0 ? void 0 : call.localVideoStreams.find((stream) => stream.mediaStreamType === 'Video')) ||
|
1242
1242
|
(deviceManager === null || deviceManager === void 0 ? void 0 : deviceManager.getUnparentedVideoStreams().find((stream) => stream.mediaStreamType === 'Video'));
|
@@ -1249,7 +1249,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1249
1249
|
return (createEffect && stream.feature(communicationCalling.Features.VideoEffects).startEffects(createEffect(backgroundReplacementConfig)));
|
1250
1250
|
}
|
1251
1251
|
});
|
1252
|
-
const onStartNoiseSuppressionEffect = () => __awaiter$
|
1252
|
+
const onStartNoiseSuppressionEffect = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1253
1253
|
var _f;
|
1254
1254
|
const audioEffects = (options === null || options === void 0 ? void 0 : options.onResolveDeepNoiseSuppressionDependency) &&
|
1255
1255
|
((_f = (yield options.onResolveDeepNoiseSuppressionDependency())) === null || _f === void 0 ? void 0 : _f.deepNoiseSuppressionEffect);
|
@@ -1265,7 +1265,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1265
1265
|
}
|
1266
1266
|
}
|
1267
1267
|
});
|
1268
|
-
const onStopNoiseSuppressionEffect = () => __awaiter$
|
1268
|
+
const onStopNoiseSuppressionEffect = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1269
1269
|
const stream = call === null || call === void 0 ? void 0 : call.localAudioStreams.find((stream) => stream.mediaStreamType === 'Audio');
|
1270
1270
|
if (stream && (options === null || options === void 0 ? void 0 : options.onResolveDeepNoiseSuppressionDependency)) {
|
1271
1271
|
const audioEffects = {
|
@@ -1274,37 +1274,37 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1274
1274
|
return yield stream.feature(communicationCalling.Features.AudioEffects).stopEffects(audioEffects);
|
1275
1275
|
}
|
1276
1276
|
});
|
1277
|
-
const onStartCaptions = (options) => __awaiter$
|
1277
|
+
const onStartCaptions = (options) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1278
1278
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1279
1279
|
yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.startCaptions(options));
|
1280
1280
|
});
|
1281
|
-
const onStopCaptions = () => __awaiter$
|
1281
|
+
const onStopCaptions = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1282
1282
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1283
1283
|
yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.stopCaptions());
|
1284
1284
|
});
|
1285
|
-
const onSetSpokenLanguage = (language) => __awaiter$
|
1285
|
+
const onSetSpokenLanguage = (language) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1286
1286
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1287
1287
|
yield (captionsFeature === null || captionsFeature === void 0 ? void 0 : captionsFeature.setSpokenLanguage(language));
|
1288
1288
|
});
|
1289
|
-
const onSetCaptionLanguage = (language) => __awaiter$
|
1289
|
+
const onSetCaptionLanguage = (language) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1290
1290
|
const captionsFeature = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Captions).captions;
|
1291
1291
|
yield captionsFeature.setCaptionLanguage(language);
|
1292
1292
|
});
|
1293
|
-
const onSubmitSurvey = (survey) => __awaiter$
|
1294
|
-
const onStartSpotlight = (userIds) => __awaiter$
|
1293
|
+
const onSubmitSurvey = (survey) => __awaiter$12(void 0, void 0, void 0, function* () { return yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.CallSurvey).submitSurvey(survey)); });
|
1294
|
+
const onStartSpotlight = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1295
1295
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1296
1296
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).startSpotlight(participants));
|
1297
1297
|
});
|
1298
|
-
const onStopSpotlight = (userIds) => __awaiter$
|
1298
|
+
const onStopSpotlight = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1299
1299
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1300
1300
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopSpotlight(participants));
|
1301
1301
|
});
|
1302
|
-
const onStopAllSpotlight = () => __awaiter$
|
1302
|
+
const onStopAllSpotlight = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1303
1303
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopAllSpotlight());
|
1304
1304
|
});
|
1305
|
-
const onMuteParticipant = (userId) => __awaiter$
|
1305
|
+
const onMuteParticipant = (userId) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1306
1306
|
if (call === null || call === void 0 ? void 0 : call.remoteParticipants) {
|
1307
|
-
call === null || call === void 0 ? void 0 : call.remoteParticipants.forEach((participant) => __awaiter$
|
1307
|
+
call === null || call === void 0 ? void 0 : call.remoteParticipants.forEach((participant) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1308
1308
|
// Using toFlatCommunicationIdentifier to convert the CommunicationIdentifier to string
|
1309
1309
|
// as _toCommunicationIdentifier(userId) comparison to participant.identifier did not work for this case
|
1310
1310
|
if (toFlatCommunicationIdentifier(participant.identifier) === userId) {
|
@@ -1313,33 +1313,33 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1313
1313
|
}));
|
1314
1314
|
}
|
1315
1315
|
});
|
1316
|
-
const onMuteAllRemoteParticipants = () => __awaiter$
|
1316
|
+
const onMuteAllRemoteParticipants = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1317
1317
|
call === null || call === void 0 ? void 0 : call.muteAllRemoteParticipants();
|
1318
1318
|
});
|
1319
1319
|
const canStartSpotlight = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Capabilities).capabilities.spotlightParticipant.isPresent;
|
1320
1320
|
const canRemoveSpotlight = call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Capabilities).capabilities.removeParticipantsSpotlight.isPresent;
|
1321
1321
|
const onStartLocalSpotlight = canStartSpotlight
|
1322
|
-
? () => __awaiter$
|
1322
|
+
? () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1323
1323
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).startSpotlight());
|
1324
1324
|
})
|
1325
1325
|
: undefined;
|
1326
|
-
const onStopLocalSpotlight = () => __awaiter$
|
1326
|
+
const onStopLocalSpotlight = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1327
1327
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopSpotlight());
|
1328
1328
|
});
|
1329
1329
|
const onStartRemoteSpotlight = canStartSpotlight
|
1330
|
-
? (userIds) => __awaiter$
|
1330
|
+
? (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1331
1331
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1332
1332
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).startSpotlight(participants));
|
1333
1333
|
})
|
1334
1334
|
: undefined;
|
1335
1335
|
const onStopRemoteSpotlight = canRemoveSpotlight
|
1336
|
-
? (userIds) => __awaiter$
|
1336
|
+
? (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1337
1337
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1338
1338
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopSpotlight(participants));
|
1339
1339
|
})
|
1340
1340
|
: undefined;
|
1341
1341
|
/* @conditional-compile-remove(together-mode) */
|
1342
|
-
const onCreateTogetherModeStreamView = (...args_3) => __awaiter$
|
1342
|
+
const onCreateTogetherModeStreamView = (...args_3) => __awaiter$12(void 0, [...args_3], void 0, function* (options = { scalingMode: 'Fit', isMirrored: false, viewKind: 'main' }) {
|
1343
1343
|
if (!call) {
|
1344
1344
|
return;
|
1345
1345
|
}
|
@@ -1360,7 +1360,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1360
1360
|
return togetherModeCreateViewResult;
|
1361
1361
|
});
|
1362
1362
|
/* @conditional-compile-remove(together-mode) */
|
1363
|
-
const onDisposeTogetherModeStreamView = () => __awaiter$
|
1363
|
+
const onDisposeTogetherModeStreamView = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1364
1364
|
if (!call) {
|
1365
1365
|
return;
|
1366
1366
|
}
|
@@ -1384,39 +1384,39 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1384
1384
|
}
|
1385
1385
|
};
|
1386
1386
|
/* @conditional-compile-remove(media-access) */
|
1387
|
-
const onForbidAudio = (userIds) => __awaiter$
|
1387
|
+
const onForbidAudio = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1388
1388
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1389
1389
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidAudio(participants));
|
1390
1390
|
});
|
1391
1391
|
/* @conditional-compile-remove(media-access) */
|
1392
|
-
const onPermitAudio = (userIds) => __awaiter$
|
1392
|
+
const onPermitAudio = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1393
1393
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1394
1394
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitAudio(participants));
|
1395
1395
|
});
|
1396
1396
|
/* @conditional-compile-remove(media-access) */
|
1397
|
-
const onForbidOthersAudio = () => __awaiter$
|
1397
|
+
const onForbidOthersAudio = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1398
1398
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidOthersAudio());
|
1399
1399
|
});
|
1400
1400
|
/* @conditional-compile-remove(media-access) */
|
1401
|
-
const onPermitOthersAudio = () => __awaiter$
|
1401
|
+
const onPermitOthersAudio = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1402
1402
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitOthersAudio());
|
1403
1403
|
});
|
1404
1404
|
/* @conditional-compile-remove(media-access) */
|
1405
|
-
const onForbidVideo = (userIds) => __awaiter$
|
1405
|
+
const onForbidVideo = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1406
1406
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1407
1407
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidVideo(participants));
|
1408
1408
|
});
|
1409
1409
|
/* @conditional-compile-remove(media-access) */
|
1410
|
-
const onPermitVideo = (userIds) => __awaiter$
|
1410
|
+
const onPermitVideo = (userIds) => __awaiter$12(void 0, void 0, void 0, function* () {
|
1411
1411
|
const participants = userIds === null || userIds === void 0 ? void 0 : userIds.map((userId) => _toCommunicationIdentifier(userId));
|
1412
1412
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitVideo(participants));
|
1413
1413
|
});
|
1414
1414
|
/* @conditional-compile-remove(media-access) */
|
1415
|
-
const onForbidOthersVideo = () => __awaiter$
|
1415
|
+
const onForbidOthersVideo = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1416
1416
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).forbidOthersVideo());
|
1417
1417
|
});
|
1418
1418
|
/* @conditional-compile-remove(media-access) */
|
1419
|
-
const onPermitOthersVideo = () => __awaiter$
|
1419
|
+
const onPermitOthersVideo = () => __awaiter$12(void 0, void 0, void 0, function* () {
|
1420
1420
|
yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.MediaAccess).permitOthersVideo());
|
1421
1421
|
});
|
1422
1422
|
return {
|
@@ -1498,7 +1498,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
|
|
1498
1498
|
|
1499
1499
|
// Copyright (c) Microsoft Corporation.
|
1500
1500
|
// Licensed under the MIT License.
|
1501
|
-
var __awaiter$
|
1501
|
+
var __awaiter$11 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
1502
1502
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
1503
1503
|
return new (P || (P = Promise))(function (resolve, reject) {
|
1504
1504
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -1529,7 +1529,7 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
|
|
1529
1529
|
// FIXME: onStartCall API should use string, not the underlying SDK types.
|
1530
1530
|
onStartCall: (participants, options) => {
|
1531
1531
|
return callAgent === null || callAgent === void 0 ? void 0 : callAgent.startCall(participants, options);
|
1532
|
-
}, onAddParticipant: (userId, options) => __awaiter$
|
1532
|
+
}, onAddParticipant: (userId, options) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1533
1533
|
const participant = _toCommunicationIdentifier(userId);
|
1534
1534
|
if (communicationCommon.isPhoneNumberIdentifier(participant)) {
|
1535
1535
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant, options);
|
@@ -1537,16 +1537,16 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
|
|
1537
1537
|
else if (communicationCommon.isCommunicationUserIdentifier(participant) || communicationCommon.isMicrosoftTeamsUserIdentifier(participant)) {
|
1538
1538
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant);
|
1539
1539
|
}
|
1540
|
-
}), onRemoveParticipant: (userId) => __awaiter$
|
1540
|
+
}), onRemoveParticipant: (userId) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1541
1541
|
const participant = _toCommunicationIdentifier(userId);
|
1542
1542
|
yield (call === null || call === void 0 ? void 0 : call.removeParticipant(participant));
|
1543
|
-
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter$
|
1543
|
+
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1544
1544
|
const localVideoStream = useVideo ? yield createLocalVideoStream(callClient) : undefined;
|
1545
1545
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1546
1546
|
if (incomingCall) {
|
1547
1547
|
yield incomingCall.accept(localVideoStream ? { videoOptions: { localVideoStreams: [localVideoStream] } } : undefined);
|
1548
1548
|
}
|
1549
|
-
}), onRejectCall: (incomingCallId) => __awaiter$
|
1549
|
+
}), onRejectCall: (incomingCallId) => __awaiter$11(void 0, void 0, void 0, function* () {
|
1550
1550
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1551
1551
|
if (incomingCall) {
|
1552
1552
|
yield incomingCall.reject();
|
@@ -1554,13 +1554,13 @@ const createDefaultCallingHandlers = memoizeOne((...args) => {
|
|
1554
1554
|
}),
|
1555
1555
|
/* @conditional-compile-remove(breakout-rooms) */
|
1556
1556
|
onHangUp: breakoutRoomOriginCall
|
1557
|
-
? () => __awaiter$
|
1557
|
+
? () => __awaiter$11(void 0, void 0, void 0, function* () { return breakoutRoomOriginCall.hangUp().then(() => commonCallingHandlers.onHangUp()); })
|
1558
1558
|
: commonCallingHandlers.onHangUp });
|
1559
1559
|
});
|
1560
1560
|
|
1561
1561
|
// Copyright (c) Microsoft Corporation.
|
1562
1562
|
// Licensed under the MIT License.
|
1563
|
-
var __awaiter
|
1563
|
+
var __awaiter$10 = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
1564
1564
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
1565
1565
|
return new (P || (P = Promise))(function (resolve, reject) {
|
1566
1566
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -1591,7 +1591,7 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
|
|
1591
1591
|
return undefined;
|
1592
1592
|
},
|
1593
1593
|
/* @conditional-compile-remove(teams-identity-support-beta) */
|
1594
|
-
onAddParticipant: (userId, options) => __awaiter
|
1594
|
+
onAddParticipant: (userId, options) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1595
1595
|
const participant = _toCommunicationIdentifier(userId);
|
1596
1596
|
const threadId = options === null || options === void 0 ? void 0 : options.threadId;
|
1597
1597
|
if (communicationCommon.isCommunicationUserIdentifier(participant)) {
|
@@ -1604,7 +1604,7 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
|
|
1604
1604
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant, threadId ? { threadId } : undefined);
|
1605
1605
|
}
|
1606
1606
|
call === null || call === void 0 ? void 0 : call.addParticipant(participant);
|
1607
|
-
}), onRemoveParticipant: (userId) => __awaiter
|
1607
|
+
}), onRemoveParticipant: (userId) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1608
1608
|
const participant = _toCommunicationIdentifier(userId);
|
1609
1609
|
if (communicationCommon.isCommunicationUserIdentifier(participant)) {
|
1610
1610
|
throw new Error('CommunicationIdentifier in Teams call is not supported!');
|
@@ -1613,20 +1613,20 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
|
|
1613
1613
|
throw new Error('Removing Microsoft Teams app identifier is not supported!');
|
1614
1614
|
}
|
1615
1615
|
yield (call === null || call === void 0 ? void 0 : call.removeParticipant(participant));
|
1616
|
-
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter
|
1616
|
+
}), onAcceptCall: (incomingCallId, useVideo) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1617
1617
|
const localVideoStream = useVideo ? yield createLocalVideoStream(callClient) : undefined;
|
1618
1618
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1619
1619
|
if (incomingCall) {
|
1620
1620
|
yield incomingCall.accept(localVideoStream ? { videoOptions: { localVideoStreams: [localVideoStream] } } : undefined);
|
1621
1621
|
}
|
1622
|
-
}), onRejectCall: (incomingCallId) => __awaiter
|
1622
|
+
}), onRejectCall: (incomingCallId) => __awaiter$10(void 0, void 0, void 0, function* () {
|
1623
1623
|
const incomingCall = callAgent === null || callAgent === void 0 ? void 0 : callAgent.incomingCalls.find((incomingCall) => incomingCall.id === incomingCallId);
|
1624
1624
|
if (incomingCall) {
|
1625
1625
|
yield incomingCall.reject();
|
1626
1626
|
}
|
1627
1627
|
}),
|
1628
1628
|
/* @conditional-compile-remove(together-mode) */
|
1629
|
-
onStartTogetherMode: () => __awaiter
|
1629
|
+
onStartTogetherMode: () => __awaiter$10(void 0, void 0, void 0, function* () {
|
1630
1630
|
if (!call) {
|
1631
1631
|
return;
|
1632
1632
|
}
|
@@ -1915,9 +1915,9 @@ const incomingCallStackSelector = reselect.createSelector([getIncomingCalls, get
|
|
1915
1915
|
/**
|
1916
1916
|
* Selector for {@link StartCaptionsButton} component.
|
1917
1917
|
*
|
1918
|
-
* @
|
1918
|
+
* @public
|
1919
1919
|
*/
|
1920
|
-
const
|
1920
|
+
const startCaptionsButtonSelector = reselect__namespace.createSelector([getCaptionsStatus$1, getCurrentCaptionLanguage, getCurrentSpokenLanguage], (isCaptionsFeatureActive, currentCaptionLanguage, currentSpokenLanguage) => {
|
1921
1921
|
return {
|
1922
1922
|
checked: isCaptionsFeatureActive !== null && isCaptionsFeatureActive !== void 0 ? isCaptionsFeatureActive : false,
|
1923
1923
|
currentCaptionLanguage: currentCaptionLanguage !== null && currentCaptionLanguage !== void 0 ? currentCaptionLanguage : '',
|
@@ -1927,9 +1927,9 @@ const _startCaptionsButtonSelector = reselect__namespace.createSelector([getCapt
|
|
1927
1927
|
/**
|
1928
1928
|
* Selector for Changing caption language and spoken language
|
1929
1929
|
*
|
1930
|
-
* @
|
1930
|
+
* @public
|
1931
1931
|
*/
|
1932
|
-
const
|
1932
|
+
const captionSettingsSelector = reselect__namespace.createSelector([
|
1933
1933
|
getSupportedCaptionLanguages,
|
1934
1934
|
getCurrentCaptionLanguage,
|
1935
1935
|
getSupportedSpokenLanguages,
|
@@ -1982,7 +1982,7 @@ const getCaptionsSpeakerIdentifier = (captions) => {
|
|
1982
1982
|
|
1983
1983
|
// Copyright (c) Microsoft Corporation.
|
1984
1984
|
// Licensed under the MIT License.
|
1985
|
-
var __awaiter
|
1985
|
+
var __awaiter$$ = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
1986
1986
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
1987
1987
|
return new (P || (P = Promise))(function (resolve, reject) {
|
1988
1988
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -2063,7 +2063,7 @@ class ProxyDeviceManager {
|
|
2063
2063
|
}
|
2064
2064
|
}
|
2065
2065
|
};
|
2066
|
-
this.permissionsApiStateChangeHandler = () => __awaiter
|
2066
|
+
this.permissionsApiStateChangeHandler = () => __awaiter$$(this, void 0, void 0, function* () {
|
2067
2067
|
yield this.updateDevicePermissionState();
|
2068
2068
|
});
|
2069
2069
|
/**
|
@@ -2074,13 +2074,13 @@ class ProxyDeviceManager {
|
|
2074
2074
|
this.selectCamera = (videoDeviceInfo) => {
|
2075
2075
|
this._context.setDeviceManagerSelectedCamera(videoDeviceInfo);
|
2076
2076
|
};
|
2077
|
-
this.videoDevicesUpdated = () => __awaiter
|
2077
|
+
this.videoDevicesUpdated = () => __awaiter$$(this, void 0, void 0, function* () {
|
2078
2078
|
// Device Manager always has a camera with '' name if there are no real camera devices available.
|
2079
2079
|
// We don't want to show that in the UI.
|
2080
2080
|
const realCameras = (yield this._deviceManager.getCameras()).filter((c) => !!c.name);
|
2081
2081
|
this._context.setDeviceManagerCameras(dedupeById(realCameras));
|
2082
2082
|
});
|
2083
|
-
this.audioDevicesUpdated = () => __awaiter
|
2083
|
+
this.audioDevicesUpdated = () => __awaiter$$(this, void 0, void 0, function* () {
|
2084
2084
|
this._context.setDeviceManagerMicrophones(dedupeById(yield this._deviceManager.getMicrophones()));
|
2085
2085
|
if (this._deviceManager.isSpeakerSelectionAvailable) {
|
2086
2086
|
this._context.setDeviceManagerSpeakers(dedupeById(yield this._deviceManager.getSpeakers()));
|
@@ -2092,7 +2092,7 @@ class ProxyDeviceManager {
|
|
2092
2092
|
this.selectedSpeakerChanged = () => {
|
2093
2093
|
this._context.setDeviceManagerSelectedSpeaker(this._deviceManager.selectedSpeaker);
|
2094
2094
|
};
|
2095
|
-
this.updateDevicePermissionState = (sdkDeviceAccessState) => __awaiter
|
2095
|
+
this.updateDevicePermissionState = (sdkDeviceAccessState) => __awaiter$$(this, void 0, void 0, function* () {
|
2096
2096
|
let hasCameraPermission = !!(sdkDeviceAccessState === null || sdkDeviceAccessState === void 0 ? void 0 : sdkDeviceAccessState.video);
|
2097
2097
|
let hasMicPermission = !!(sdkDeviceAccessState === null || sdkDeviceAccessState === void 0 ? void 0 : sdkDeviceAccessState.audio);
|
2098
2098
|
// Supplement the SDK values with values from the Permissions API to get a better understanding of the device
|
@@ -2170,7 +2170,7 @@ class ProxyDeviceManager {
|
|
2170
2170
|
}
|
2171
2171
|
case 'askDevicePermission': {
|
2172
2172
|
return this._context.withAsyncErrorTeedToState((...args) => {
|
2173
|
-
return target.askDevicePermission(...args).then((deviceAccess) => __awaiter
|
2173
|
+
return target.askDevicePermission(...args).then((deviceAccess) => __awaiter$$(this, void 0, void 0, function* () {
|
2174
2174
|
yield this.updateDevicePermissionState(deviceAccess);
|
2175
2175
|
return deviceAccess;
|
2176
2176
|
}));
|
@@ -2577,7 +2577,7 @@ class CallIdHistory {
|
|
2577
2577
|
|
2578
2578
|
// Copyright (c) Microsoft Corporation.
|
2579
2579
|
// Licensed under the MIT License.
|
2580
|
-
var __awaiter$
|
2580
|
+
var __awaiter$_ = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
2581
2581
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
2582
2582
|
return new (P || (P = Promise))(function (resolve, reject) {
|
2583
2583
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -3666,7 +3666,7 @@ let CallContext$2 = class CallContext {
|
|
3666
3666
|
* @throws CallError. Exceptions thrown from `f` are tagged with the failed `target.
|
3667
3667
|
*/
|
3668
3668
|
withAsyncErrorTeedToState(action, target) {
|
3669
|
-
return (...args) => __awaiter$
|
3669
|
+
return (...args) => __awaiter$_(this, void 0, void 0, function* () {
|
3670
3670
|
try {
|
3671
3671
|
return yield action(...args);
|
3672
3672
|
}
|
@@ -4240,7 +4240,7 @@ function _logStreamEvent(eventName, streamLogInfo, error) {
|
|
4240
4240
|
|
4241
4241
|
// Copyright (c) Microsoft Corporation.
|
4242
4242
|
// Licensed under the MIT License.
|
4243
|
-
var __awaiter$
|
4243
|
+
var __awaiter$Z = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
4244
4244
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4245
4245
|
return new (P || (P = Promise))(function (resolve, reject) {
|
4246
4246
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -4250,7 +4250,7 @@ var __awaiter$Y = (window && window.__awaiter) || function (thisArg, _arguments,
|
|
4250
4250
|
});
|
4251
4251
|
};
|
4252
4252
|
function createViewVideo(context, internalContext, callId, stream, participantId, options) {
|
4253
|
-
return __awaiter$
|
4253
|
+
return __awaiter$Z(this, void 0, void 0, function* () {
|
4254
4254
|
// we can only have 3 types of createView
|
4255
4255
|
let streamEventType;
|
4256
4256
|
// we will reuse these for local as well but we need to make sure the remote stream is passed in like before.
|
@@ -4379,7 +4379,7 @@ function createViewVideo(context, internalContext, callId, stream, participantId
|
|
4379
4379
|
});
|
4380
4380
|
}
|
4381
4381
|
function createViewUnparentedVideo(context, internalContext, stream, options) {
|
4382
|
-
return __awaiter$
|
4382
|
+
return __awaiter$Z(this, void 0, void 0, function* () {
|
4383
4383
|
const renderInfo = internalContext.getUnparentedRenderInfo(stream);
|
4384
4384
|
if (renderInfo && renderInfo.status === 'Rendered') {
|
4385
4385
|
console.warn('Unparented LocalVideoStream is already rendered');
|
@@ -4548,7 +4548,7 @@ function createView$1(context, internalContext, callId, participantId, stream, o
|
|
4548
4548
|
// Render LocalVideoStream that is not part of a Call
|
4549
4549
|
// Because it is not part of the call we don't tee errors to state naturally (e.g. via a Call Client function such as startVideo).
|
4550
4550
|
// We do not have a startLocalPreviewVideo function, so as a workaround we ensure any errors are propagated here.
|
4551
|
-
return context.withAsyncErrorTeedToState(() => __awaiter$
|
4551
|
+
return context.withAsyncErrorTeedToState(() => __awaiter$Z(this, void 0, void 0, function* () { return yield createViewUnparentedVideo(context, internalContext, stream, options); }), 'Call.startVideo')();
|
4552
4552
|
}
|
4553
4553
|
else {
|
4554
4554
|
_logStreamEvent(EventNames.CREATE_STREAM_INVALID_PARAMS, { streamType });
|
@@ -4744,7 +4744,7 @@ class RecordingSubscriber {
|
|
4744
4744
|
|
4745
4745
|
// Copyright (c) Microsoft Corporation.
|
4746
4746
|
// Licensed under the MIT License.
|
4747
|
-
var __awaiter$
|
4747
|
+
var __awaiter$Y = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
4748
4748
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
4749
4749
|
return new (P || (P = Promise))(function (resolve, reject) {
|
4750
4750
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -4768,7 +4768,7 @@ class PPTLiveSubscriber {
|
|
4768
4768
|
this._context.setCallPPTLiveActive(this._callIdRef.callId, this._pptLive.isActive);
|
4769
4769
|
this.checkAndUpdatePPTLiveParticipant();
|
4770
4770
|
};
|
4771
|
-
this.checkAndUpdatePPTLiveParticipant = () => __awaiter$
|
4771
|
+
this.checkAndUpdatePPTLiveParticipant = () => __awaiter$Y(this, void 0, void 0, function* () {
|
4772
4772
|
if (!this._pptLive.activePresenterId) {
|
4773
4773
|
return;
|
4774
4774
|
}
|
@@ -5284,7 +5284,7 @@ class BreakoutRoomsSubscriber {
|
|
5284
5284
|
}
|
5285
5285
|
}
|
5286
5286
|
|
5287
|
-
var __awaiter$
|
5287
|
+
var __awaiter$X = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
5288
5288
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
5289
5289
|
return new (P || (P = Promise))(function (resolve, reject) {
|
5290
5290
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -5311,7 +5311,7 @@ function createView(context, internalContext, callId, stream, options) {
|
|
5311
5311
|
/* @conditional-compile-remove(together-mode) */
|
5312
5312
|
// This function is used to create a view for a stream that is part of a call feature.
|
5313
5313
|
function createCallFeatureViewVideo(context, internalContext, callId, stream, options) {
|
5314
|
-
return __awaiter$
|
5314
|
+
return __awaiter$X(this, void 0, void 0, function* () {
|
5315
5315
|
const streamEventType = 'createViewCallFeature';
|
5316
5316
|
const streamType = stream === null || stream === void 0 ? void 0 : stream.mediaStreamType;
|
5317
5317
|
const callFeatureStreamId = stream && stream.id;
|
@@ -5871,7 +5871,7 @@ class IncomingCallSubscriber {
|
|
5871
5871
|
|
5872
5872
|
// Copyright (c) Microsoft Corporation.
|
5873
5873
|
// Licensed under the MIT License.
|
5874
|
-
var __awaiter$
|
5874
|
+
var __awaiter$W = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
5875
5875
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
5876
5876
|
return new (P || (P = Promise))(function (resolve, reject) {
|
5877
5877
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -5891,14 +5891,14 @@ class ProxyIncomingCall {
|
|
5891
5891
|
switch (prop) {
|
5892
5892
|
case 'accept': {
|
5893
5893
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5894
|
-
return __awaiter$
|
5894
|
+
return __awaiter$W(this, void 0, void 0, function* () {
|
5895
5895
|
return yield target.accept(...args);
|
5896
5896
|
});
|
5897
5897
|
}, 'IncomingCall.accept');
|
5898
5898
|
}
|
5899
5899
|
case 'reject': {
|
5900
5900
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5901
|
-
return __awaiter$
|
5901
|
+
return __awaiter$W(this, void 0, void 0, function* () {
|
5902
5902
|
return yield target.reject(...args);
|
5903
5903
|
});
|
5904
5904
|
}, 'IncomingCall.reject');
|
@@ -5920,7 +5920,7 @@ const incomingCallDeclaratify = (incomingCall, context) => {
|
|
5920
5920
|
|
5921
5921
|
// Copyright (c) Microsoft Corporation.
|
5922
5922
|
// Licensed under the MIT License.
|
5923
|
-
var __awaiter$
|
5923
|
+
var __awaiter$V = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
5924
5924
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
5925
5925
|
return new (P || (P = Promise))(function (resolve, reject) {
|
5926
5926
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -5940,14 +5940,14 @@ class ProxyTeamsIncomingCall {
|
|
5940
5940
|
switch (prop) {
|
5941
5941
|
case 'accept': {
|
5942
5942
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5943
|
-
return __awaiter$
|
5943
|
+
return __awaiter$V(this, void 0, void 0, function* () {
|
5944
5944
|
return yield target.accept(...args);
|
5945
5945
|
});
|
5946
5946
|
}, 'IncomingCall.accept');
|
5947
5947
|
}
|
5948
5948
|
case 'reject': {
|
5949
5949
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
5950
|
-
return __awaiter$
|
5950
|
+
return __awaiter$V(this, void 0, void 0, function* () {
|
5951
5951
|
return yield target.reject(...args);
|
5952
5952
|
});
|
5953
5953
|
}, 'IncomingCall.reject');
|
@@ -6166,7 +6166,7 @@ const clearCallRelatedState = (context, internalContext) => {
|
|
6166
6166
|
|
6167
6167
|
// Copyright (c) Microsoft Corporation.
|
6168
6168
|
// Licensed under the MIT License.
|
6169
|
-
var __awaiter$
|
6169
|
+
var __awaiter$U = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6170
6170
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6171
6171
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6172
6172
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6192,56 +6192,56 @@ class ProxyCallCommon {
|
|
6192
6192
|
switch (prop) {
|
6193
6193
|
case 'mute': {
|
6194
6194
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6195
|
-
return __awaiter$
|
6195
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6196
6196
|
return yield target.mute(...args);
|
6197
6197
|
});
|
6198
6198
|
}, 'Call.mute');
|
6199
6199
|
}
|
6200
6200
|
case 'unmute': {
|
6201
6201
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6202
|
-
return __awaiter$
|
6202
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6203
6203
|
return yield target.unmute(...args);
|
6204
6204
|
});
|
6205
6205
|
}, 'Call.unmute');
|
6206
6206
|
}
|
6207
6207
|
case 'startVideo': {
|
6208
6208
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6209
|
-
return __awaiter$
|
6209
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6210
6210
|
return yield target.startVideo(...args);
|
6211
6211
|
});
|
6212
6212
|
}, 'Call.startVideo');
|
6213
6213
|
}
|
6214
6214
|
case 'stopVideo': {
|
6215
6215
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6216
|
-
return __awaiter$
|
6216
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6217
6217
|
return yield target.stopVideo(...args);
|
6218
6218
|
});
|
6219
6219
|
}, 'Call.stopVideo');
|
6220
6220
|
}
|
6221
6221
|
case 'startScreenSharing': {
|
6222
6222
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6223
|
-
return __awaiter$
|
6223
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6224
6224
|
return yield target.startScreenSharing(...args);
|
6225
6225
|
});
|
6226
6226
|
}, 'Call.startScreenSharing');
|
6227
6227
|
}
|
6228
6228
|
case 'stopScreenSharing': {
|
6229
6229
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6230
|
-
return __awaiter$
|
6230
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6231
6231
|
return yield target.stopScreenSharing(...args);
|
6232
6232
|
});
|
6233
6233
|
}, 'Call.stopScreenSharing');
|
6234
6234
|
}
|
6235
6235
|
case 'hold': {
|
6236
6236
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6237
|
-
return __awaiter$
|
6237
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6238
6238
|
return yield target.hold(...args);
|
6239
6239
|
});
|
6240
6240
|
}, 'Call.hold');
|
6241
6241
|
}
|
6242
6242
|
case 'resume': {
|
6243
6243
|
return this._context.withAsyncErrorTeedToState(function (...args) {
|
6244
|
-
return __awaiter$
|
6244
|
+
return __awaiter$U(this, void 0, void 0, function* () {
|
6245
6245
|
return yield target.resume(...args);
|
6246
6246
|
});
|
6247
6247
|
}, 'Call.resume');
|
@@ -6308,7 +6308,7 @@ class ProxyTeamsCaptions {
|
|
6308
6308
|
get(target, prop) {
|
6309
6309
|
switch (prop) {
|
6310
6310
|
case 'startCaptions':
|
6311
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6311
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6312
6312
|
var _a, _b;
|
6313
6313
|
this._context.setStartCaptionsInProgress(this._call.id, true);
|
6314
6314
|
try {
|
@@ -6322,7 +6322,7 @@ class ProxyTeamsCaptions {
|
|
6322
6322
|
}
|
6323
6323
|
}), 'Call.feature');
|
6324
6324
|
case 'stopCaptions':
|
6325
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6325
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6326
6326
|
const ret = yield target.stopCaptions(...args);
|
6327
6327
|
this._context.setIsCaptionActive(this._call.id, false);
|
6328
6328
|
this._context.setStartCaptionsInProgress(this._call.id, false);
|
@@ -6330,13 +6330,13 @@ class ProxyTeamsCaptions {
|
|
6330
6330
|
return ret;
|
6331
6331
|
}), 'Call.feature');
|
6332
6332
|
case 'setSpokenLanguage':
|
6333
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6333
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6334
6334
|
const ret = yield target.setSpokenLanguage(...args);
|
6335
6335
|
this._context.setSelectedSpokenLanguage(this._call.id, args[0]);
|
6336
6336
|
return ret;
|
6337
6337
|
}), 'Call.feature');
|
6338
6338
|
case 'setCaptionLanguage':
|
6339
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6339
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6340
6340
|
const ret = yield target.setCaptionLanguage(...args);
|
6341
6341
|
this._context.setSelectedCaptionLanguage(this._call.id, args[0]);
|
6342
6342
|
return ret;
|
@@ -6357,7 +6357,7 @@ class ProxyCaptions {
|
|
6357
6357
|
get(target, prop) {
|
6358
6358
|
switch (prop) {
|
6359
6359
|
case 'startCaptions':
|
6360
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6360
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6361
6361
|
var _a, _b;
|
6362
6362
|
this._context.setStartCaptionsInProgress(this._call.id, true);
|
6363
6363
|
try {
|
@@ -6371,7 +6371,7 @@ class ProxyCaptions {
|
|
6371
6371
|
}
|
6372
6372
|
}), 'Call.feature');
|
6373
6373
|
case 'stopCaptions':
|
6374
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6374
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6375
6375
|
const ret = yield target.stopCaptions(...args);
|
6376
6376
|
this._context.setIsCaptionActive(this._call.id, false);
|
6377
6377
|
this._context.setStartCaptionsInProgress(this._call.id, false);
|
@@ -6379,7 +6379,7 @@ class ProxyCaptions {
|
|
6379
6379
|
return ret;
|
6380
6380
|
}), 'Call.feature');
|
6381
6381
|
case 'setSpokenLanguage':
|
6382
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6382
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6383
6383
|
const ret = yield target.setSpokenLanguage(...args);
|
6384
6384
|
this._context.setSelectedSpokenLanguage(this._call.id, args[0]);
|
6385
6385
|
return ret;
|
@@ -6399,12 +6399,12 @@ class ProxySpotlightCallFeature {
|
|
6399
6399
|
get(target, prop) {
|
6400
6400
|
switch (prop) {
|
6401
6401
|
case 'startSpotlight':
|
6402
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6402
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6403
6403
|
const ret = yield target.startSpotlight(...args);
|
6404
6404
|
return ret;
|
6405
6405
|
}), 'Call.feature');
|
6406
6406
|
case 'stopSpotlight':
|
6407
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6407
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$U(this, void 0, void 0, function* () {
|
6408
6408
|
const ret = yield target.stopSpotlight(...args);
|
6409
6409
|
return ret;
|
6410
6410
|
}), 'Call.feature');
|
@@ -6446,7 +6446,7 @@ class ProxyTransferCallFeature {
|
|
6446
6446
|
|
6447
6447
|
// Copyright (c) Microsoft Corporation.
|
6448
6448
|
// Licensed under the MIT License.
|
6449
|
-
var __awaiter$
|
6449
|
+
var __awaiter$T = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6450
6450
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6451
6451
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6452
6452
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6460,7 +6460,7 @@ class ProxyCall extends ProxyCallCommon {
|
|
6460
6460
|
switch (prop) {
|
6461
6461
|
case 'addParticipant': {
|
6462
6462
|
return this.getContext().withAsyncErrorTeedToState(function (...args) {
|
6463
|
-
return __awaiter$
|
6463
|
+
return __awaiter$T(this, void 0, void 0, function* () {
|
6464
6464
|
return yield target.addParticipant(...args);
|
6465
6465
|
});
|
6466
6466
|
}, 'Call.addParticipant');
|
@@ -6745,7 +6745,7 @@ class InternalCallContext {
|
|
6745
6745
|
|
6746
6746
|
// Copyright (c) Microsoft Corporation.
|
6747
6747
|
// Licensed under the MIT License.
|
6748
|
-
var __awaiter$
|
6748
|
+
var __awaiter$S = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6749
6749
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6750
6750
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6751
6751
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6760,7 +6760,7 @@ class ProxyTeamsCall extends ProxyCallCommon {
|
|
6760
6760
|
/* @conditional-compile-remove(teams-identity-support-beta) */
|
6761
6761
|
case 'addParticipant': {
|
6762
6762
|
return this.getContext().withAsyncErrorTeedToState(function (...args) {
|
6763
|
-
return __awaiter$
|
6763
|
+
return __awaiter$S(this, void 0, void 0, function* () {
|
6764
6764
|
return yield target.addParticipant(...args);
|
6765
6765
|
});
|
6766
6766
|
}, 'TeamsCall.addParticipant');
|
@@ -6867,7 +6867,7 @@ const teamsCallAgentDeclaratify = (callAgent, context, internalContext) => {
|
|
6867
6867
|
|
6868
6868
|
// Copyright (c) Microsoft Corporation.
|
6869
6869
|
// Licensed under the MIT License.
|
6870
|
-
var __awaiter$
|
6870
|
+
var __awaiter$R = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6871
6871
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6872
6872
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6873
6873
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6889,7 +6889,7 @@ class ProxyVideoStreamRendererView {
|
|
6889
6889
|
get(target, prop) {
|
6890
6890
|
switch (prop) {
|
6891
6891
|
case 'updateScalingMode': {
|
6892
|
-
return (...args) => __awaiter$
|
6892
|
+
return (...args) => __awaiter$R(this, void 0, void 0, function* () {
|
6893
6893
|
yield target.updateScalingMode(...args);
|
6894
6894
|
this._context.setRemoteVideoStreamViewScalingMode(this._callId, this._participantId, this._streamId, args[0]);
|
6895
6895
|
});
|
@@ -6910,7 +6910,7 @@ const videoStreamRendererViewDeclaratify = (view, context, callId, participantId
|
|
6910
6910
|
|
6911
6911
|
// Copyright (c) Microsoft Corporation.
|
6912
6912
|
// Licensed under the MIT License.
|
6913
|
-
var __awaiter$
|
6913
|
+
var __awaiter$Q = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
6914
6914
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
6915
6915
|
return new (P || (P = Promise))(function (resolve, reject) {
|
6916
6916
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -6932,7 +6932,7 @@ class ProxyCallClient {
|
|
6932
6932
|
get(target, prop) {
|
6933
6933
|
switch (prop) {
|
6934
6934
|
case 'createCallAgent': {
|
6935
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6935
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$Q(this, void 0, void 0, function* () {
|
6936
6936
|
// createCallAgent will throw an exception if the previous callAgent was not disposed. If the previous
|
6937
6937
|
// callAgent was disposed then it would have unsubscribed to events so we can just create a new declarative
|
6938
6938
|
// callAgent if the createCallAgent succeeds.
|
@@ -6945,7 +6945,7 @@ class ProxyCallClient {
|
|
6945
6945
|
}), 'CallClient.createCallAgent');
|
6946
6946
|
}
|
6947
6947
|
case 'createTeamsCallAgent': {
|
6948
|
-
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$
|
6948
|
+
return this._context.withAsyncErrorTeedToState((...args) => __awaiter$Q(this, void 0, void 0, function* () {
|
6949
6949
|
// createCallAgent will throw an exception if the previous callAgent was not disposed. If the previous
|
6950
6950
|
// callAgent was disposed then it would have unsubscribed to events so we can just create a new declarative
|
6951
6951
|
// callAgent if the createCallAgent succeeds.
|
@@ -6958,7 +6958,7 @@ class ProxyCallClient {
|
|
6958
6958
|
}), 'CallClient.createTeamsCallAgent');
|
6959
6959
|
}
|
6960
6960
|
case 'getDeviceManager': {
|
6961
|
-
return this._context.withAsyncErrorTeedToState(() => __awaiter$
|
6961
|
+
return this._context.withAsyncErrorTeedToState(() => __awaiter$Q(this, void 0, void 0, function* () {
|
6962
6962
|
// As of writing, the SDK always returns the same instance of DeviceManager so we keep a reference of
|
6963
6963
|
// DeviceManager and if it does not change we return the cached DeclarativeDeviceManager. If it does not we'll
|
6964
6964
|
// throw an error that indicate we need to fix this issue as our implementation has diverged from the SDK.
|
@@ -6986,7 +6986,7 @@ class ProxyCallClient {
|
|
6986
6986
|
/**
|
6987
6987
|
* add to this object if we want to proxy anything else off the DebugInfo feature object.
|
6988
6988
|
*/
|
6989
|
-
return Object.assign(Object.assign({}, feature), { getEnvironmentInfo: () => __awaiter$
|
6989
|
+
return Object.assign(Object.assign({}, feature), { getEnvironmentInfo: () => __awaiter$Q(this, void 0, void 0, function* () {
|
6990
6990
|
const environmentInfo = yield feature.getEnvironmentInfo();
|
6991
6991
|
this._context.setEnvironmentInfo(environmentInfo);
|
6992
6992
|
return environmentInfo;
|
@@ -7046,7 +7046,7 @@ const createStatefulCallClientWithDeps = (callClient, context, internalContext)
|
|
7046
7046
|
});
|
7047
7047
|
Object.defineProperty(callClient, 'createView', {
|
7048
7048
|
configurable: false,
|
7049
|
-
value: (callId, participantId, stream, options) => __awaiter$
|
7049
|
+
value: (callId, participantId, stream, options) => __awaiter$Q(void 0, void 0, void 0, function* () {
|
7050
7050
|
/* @conditional-compile-remove(together-mode) */
|
7051
7051
|
if ('feature' in stream) {
|
7052
7052
|
return yield createView(context, internalContext, callId, stream, options);
|
@@ -7289,7 +7289,7 @@ const typingIndicatorStringStyle = react.mergeStyles({
|
|
7289
7289
|
wordBreak: 'break-word'
|
7290
7290
|
});
|
7291
7291
|
|
7292
|
-
var participantItem$n={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",handRaisedIconLabel:"Hand raised - Position {position}",displayNamePlaceholder:"Unnamed participant",participantStateRinging:"Calling...",participantStateHold:"On hold",participantItemAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}",participantItemWithMoreOptionsAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}, More Options",attendeeRole:"Attendee"};var ParticipantList$o={overflowParticipantCount:"+{overflowCount} more"};var typingIndicator$n={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$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",attachmentMoreMenu:"More Options"};var richTextSendBox$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarAriaLabel:"Message Formatting Toolbar",richTextToolbarMoreButtonAriaLabel:"More options",attachmentMoreMenu:"More Options",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var rttModal$n={rttModalAriaLabel:"Turn on RTT Modal",rttModalTitle:"Turn on RTT?",rttModalText:"Real-time text (RTT) will be turned on for everyone in the meeting.",rttConfirmButtonLabel:"Turn on",rttCancelButtonLabel:"Cancel",rttCloseModalButtonAriaLabel:"Close RTT Modal"};var captionsBanner={captionsBannerSpinnerText:"Starting captions..."};var mentionPopover$n={mentionPopoverHeader:"Suggestions"};var imageOverlay$n={downloadButtonLabel:"Download",dismissButtonAriaLabel:"Close"};var messageStatusIndicator$n={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$n={label:"Leave",tooltipContent:"Leave call",leaveOption:"Leave",endCallOption:"End call for everyone"};var cameraButton$n={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",offSplitButtonAriaLabel:"Turn on camera",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",cameraButtonAriaDescription:"camera options"};var microphoneButton$n={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 mic",offSplitButtonAriaLabel:"Unmute mic",microphoneActionTurnedOnAnnouncement:"Your microphone has been turned on",microphoneActionTurnedOffAnnouncement:"Your microphone has been turned off",offSplitButtonMicrophonePrimaryAction:"Unmute mic",onSplitButtonMicrophonePrimaryAction:"Mute mic",microphonePrimaryActionSplitButtonTitle:"Use microphone",microphoneAriaDescription:"Audio options",deepNoiseSuppressionTitle:"Noise suppression",deepNoiseSuppressionOnAnnouncement:"Deep noise suppression has been turned on",deepNoiseSuppressionOffAnnouncement:"Deep noise suppression has been turned off"};var devicesButton$n={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$n={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$n={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var raiseHandButton$n={offLabel:"Raise",onLabel:"Lower",tooltipDisabledContent:"Raise Hand action is disabled",tooltipOnContent:"Lower Hand",tooltipOffContent:"Raise Hand"};var reactionButton$n={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 rtt$n={isTypingText:"RTT typing"};var messageThread$n={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:"{status} {author} said {message}",messageContentMineAriaText:"{status} You said {message}",editBoxTextLimit:"Your message is over the limit of {limitNumber} characters",editBoxPlaceholderText:"Edit your message",newMessagesIndicator:"New messages",noDisplayNameSub:"No name",editBoxCancelButton:"Cancel",editBoxSubmitButton:"Done",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadAttachment:"Download file",openAttachment:"Open file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",attachmentCardGroupMessage:"The message has {attachmentCount} attachment",messageDeletedAnnouncementAriaLabel:"The message is deleted",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarMoreButtonAriaLabel:"More options",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var errorBar$n={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.",teamsMeetingCallNetworkQualityLow:"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.",mutedByRemoteParticipant:"You were muted by another participant."};var notificationStack$n={callingNetworkFailure:{title:"Troubling connecting call",message:"You seem to be offline. Please check your network connection and try again.",dismissButtonAriaLabel:"Close"},startVideoGeneric:{title:"Failed to start video.",dismissButtonAriaLabel:"Close"},stopVideoGeneric:{title:"Failed to stop video.",dismissButtonAriaLabel:"Close"},muteGeneric:{title:"Failed to mute microphone.",dismissButtonAriaLabel:"Close"},unmuteGeneric:{title:"Failed to unmute microphone.",dismissButtonAriaLabel:"Close"},speakingWhileMuted:{title:"You're muted.",dismissButtonAriaLabel:"Close"},startScreenShareGeneric:{title:"There was an issue starting screen share.",dismissButtonAriaLabel:"Close"},stopScreenShareGeneric:{title:"Failed to stop screen sharing.",dismissButtonAriaLabel:"Close"},callNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close"},teamsMeetingCallNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close",message:"Join this call from your phone for better sound. You can continue viewing the meeting on this device.",primaryButtonLabel:"Join by Phone"},callNoSpeakerFound:{title:"No speakers or headphones found",message:"Connect an audio device to hear the call.",dismissButtonAriaLabel:"Close"},callNoMicrophoneFound:{title:"No microphones found",message:"Connect an audio input device.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDeniedSafari:{title:"Unable to access microphone",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callMicrophoneMutedBySystem:{title:"You are muted by your system.",dismissButtonAriaLabel:"Close"},callMicrophoneUnmutedBySystem:{title:"Your microphone recovered and you were unmuted by your system.",dismissButtonAriaLabel:"Close"},callMacOsMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Grant microphone permission in your macOS privacy settings.",dismissButtonAriaLabel:"Close"},callLocalVideoFreeze:{title:"Network bandwidth is poor",message:"Your video may appear paused for others on the call.",dismissButtonAriaLabel:"Close"},callCameraAccessDenied:{title:"Unable to access camera",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callCameraAccessDeniedSafari:{title:"Unable to access camera",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callCameraAlreadyInUse:{title:"Unable to access camera",message:"It may already be in use by another application.",dismissButtonAriaLabel:"Close"},callVideoStoppedBySystem:{title:"Your video has been stopped by your system.",dismissButtonAriaLabel:"Close"},callVideoRecoveredBySystem:{title:"Your video has resumed.",dismissButtonAriaLabel:"Close"},callMacOsCameraAccessDenied:{title:"MacOS is blocking access to your camera",message:"Update your privacy settings to allow this browser to access your camera.",dismissButtonAriaLabel:"Close"},callMacOsScreenShareAccessDenied:{title:"MacOS is blocking screen sharing",message:"Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close"},failedToJoinCallGeneric:{title:"Failed to join call.",dismissButtonAriaLabel:"Close"},failedToJoinCallInvalidMeetingLink:{title:"Unable to join Meeting. Invalid Link.",dismissButtonAriaLabel:"Close"},cameraFrozenForRemoteParticipants:{title:"Users in the call are having issues seeing your video",message:"Please check your devices and network.",dismissButtonAriaLabel:"Close"},unableToStartVideoEffect:{title:"Unable to apply video effect.",dismissButtonAriaLabel:"Close"},startSpotlightWhileMaxParticipantsAreSpotlighted:{title:"Cannot start spotlight on participant(s)",message:"The maximum number of participants are already spotlighted.",dismissButtonAriaLabel:"Close"},mutedByRemoteParticipant:{title:"You were muted by another participant.",dismissButtonAriaLabel:"Close"},recordingStarted:{title:"Recording has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},transcriptionStarted:{title:"Transcription has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingStopped:{title:"Recording is being saved.",message:"Recording has stopped.",dismissButtonAriaLabel:"Close"},transcriptionStopped:{title:"Transcription is being saved.",message:"Transcription has stopped.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStarted:{title:"Recording and transcription have started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStopped:{title:"Recording and transcription are being saved.",message:"Recording and transcription have stopped.",dismissButtonAriaLabel:"Close"},recordingStoppedStillTranscribing:{title:"Recording has stopped.",message:"You are now only transcribing this meeting.",dismissButtonAriaLabel:"Close"},transcriptionStoppedStillRecording:{title:"Transcription has stopped.",message:"You are now only recording this meeting.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpened:{title:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomChanged:{title:"Your breakout room has changed",message:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpenedPromptJoin:{title:"Join breakout room?",message:"You've been assigned to a breakout room.",dismissButtonAriaLabel:"Close",primaryButtonLabel:"Join room",secondaryButtonLabel:"Later"},breakoutRoomJoined:{title:"You have joined a breakout room.",dismissButtonAriaLabel:"Close"},breakoutRoomClosingSoon:{title:"Room time limit about to expire.",message:"This room will close in 30 seconds",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnPresent:{title:"Your camera has been enabled",message:"Turn it on if you'd like to share video.",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnAbsent:{title:"Your camera has been disabled",message:"You can no longer share video.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicPresent:{title:"Your mic has been enabled",message:"Unmute if you'd like to speak.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicAbsent:{title:"Your mic has been disabled",message:"You can no longer unmute.",dismissButtonAriaLabel:"Close"}};var videoGallery$n={screenIsBeingSharedMessage:"You are sharing your screen",screenShareLoadingMessage:"Loading {participant}'s screen",localScreenShareLoadingMessage:"Loading your screen",localVideoLabel:"You",localVideoCameraSwitcherLabel:"Switch camera",localVideoMovementLabel:"Movable Local Video Tile",localVideoMovementAriaLabel:"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",muteParticipantMenuItemLabel:"Mute",waitingScreenText:"Waiting for others to join",forbidAudio:"Disable mic",permitAudio:"Allow mic",forbidAudioTileMenuLabel:"Disable mic",permitAudioTileMenuLabel:"Allow mic",forbidVideo:"Disable camera",permitVideo:"Allow camera",forbidVideoTileMenuLabel:"Disable camera",permitVideoTileMenuLabel:"Allow camera"};var dialpad$n={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$n={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$n={participantStateRinging:"Calling...",participantReconnecting:"Reconnecting...",participantStateHold:"On hold",moreOptionsButtonAriaLabel:"More Options {displayName} {isMuted} {isHandRaised} {state} {isSpeaking}",moreOptionsParticipantMutedStateMutedAriaLabel:"muted",moreOptionsParticipantMutedStateUnmutedAriaLabel:"unmuted",moreOptionsParticipantHandRaisedAriaLabel:"Hand raised",moreOptionsParticipantIsSpeakingAriaLabel:"Speaking"};var CameraAndMicrophoneSitePermissionsRequest$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$o={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$o={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$o={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$n={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$n={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$n={leftNavButtonAriaLabel:"previous page {current} of {total}",rightNavButtonAriaLabel:"next page {current} of {total}"};var meetingConferencePhoneInfo$n={meetingConferencePhoneInfoModalTitle:"Join call from your phone",meetingConferencePhoneInfoModalDialIn:"Dial number",meetingConferencePhoneInfoModalMeetingId:"Enter meeting ID",meetingConferencePhoneInfoModalWait:"Wait to be admitted by organizer",meetingConferencePhoneInfoModalNoPhoneAvailable:"No phone available",meetingConferencePhoneInfoModalTollGeoData:"{country}, {city}",meetingConferencePhoneInfoModalTollFree:"(Toll-free)",meetingConferencePhoneInfoModalToll:"(Toll)"};var IncomingCallNotification$o={incomingCallNotificationPlaceholderId:"Unknown User",incomingCallNotificationPlaceholderAlert:"{callerName} is calling",incomingCallNoticicationAcceptWithAudioAriaLabel:"Accept with audio",incomingCallNoticicationAcceptWithVideoAriaLabel:"Accept with video",incomingCallNoticicationRejectAriaLabel:"Reject",incomingCallNotificationAcceptButtonLabel:"Accept",incomingCallNotificationRejectButtonLabel:"Decline",incomingCallNotificationAccceptWithVideoButtonLabel:"Accept with Video",incomingCallNotificationDismissButtonAriaLabel:"Dismiss"};var rttDisclosureBanner$n={bannerTitle:"RTT",bannerContent:"RTT (real-time text) is enabled for all participants for the entire duration of the meeting.",bannerLinkLabel:"Learn more"};var en_US$1 = {participantItem:participantItem$n,ParticipantList:ParticipantList$o,typingIndicator:typingIndicator$n,sendBox:sendBox$n,richTextSendBox:richTextSendBox$n,rttModal:rttModal$n,captionsBanner:captionsBanner,mentionPopover:mentionPopover$n,imageOverlay:imageOverlay$n,messageStatusIndicator:messageStatusIndicator$n,endCallButton:endCallButton$n,cameraButton:cameraButton$n,microphoneButton:microphoneButton$n,devicesButton:devicesButton$n,participantsButton:participantsButton$n,screenShareButton:screenShareButton$n,raiseHandButton:raiseHandButton$n,reactionButton:reactionButton$n,rtt:rtt$n,messageThread:messageThread$n,errorBar:errorBar$n,notificationStack:notificationStack$n,videoGallery:videoGallery$n,dialpad:dialpad$n,holdButton:holdButton$n,videoTile:videoTile$n,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest$n,CameraSitePermissionsRequest:CameraSitePermissionsRequest$n,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest$n,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck$n,CameraSitePermissionsCheck:CameraSitePermissionsCheck$n,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck$n,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied$n,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari$n,CameraSitePermissionsDenied:CameraSitePermissionsDenied$n,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied$n,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari$n,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari$n,UnsupportedBrowser:UnsupportedBrowser$o,UnsupportedBrowserVersion:UnsupportedBrowserVersion$o,UnsupportedOperatingSystem:UnsupportedOperatingSystem$o,BrowserPermissionDenied:BrowserPermissionDenied$n,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$n,verticalGallery:verticalGallery$n,meetingConferencePhoneInfo:meetingConferencePhoneInfo$n,IncomingCallNotification:IncomingCallNotification$o,rttDisclosureBanner:rttDisclosureBanner$n};
|
7292
|
+
var participantItem$n={isMeText:"(you)",menuTitle:"More Options",removeButtonLabel:"Remove",sharingIconLabel:"Sharing",mutedIconLabel:"Muted",handRaisedIconLabel:"Hand raised - Position {position}",displayNamePlaceholder:"Unnamed participant",participantStateRinging:"Calling...",participantStateHold:"On hold",participantItemAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}",participantItemWithMoreOptionsAriaLabel:"{displayName}, {handRaisedState}, {mutedState}, {sharingState}, {connectionState}, More Options",attendeeRole:"Attendee"};var ParticipantList$o={overflowParticipantCount:"+{overflowCount} more"};var typingIndicator$n={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$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",attachmentMoreMenu:"More Options"};var richTextSendBox$n={placeholderText:"Enter a message",textTooLong:"Your message length is over the maximum limit.",sendButtonAriaLabel:"Send message",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",removeAttachment:"Remove file",uploading:"Uploading",uploadCompleted:"Upload completed",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarAriaLabel:"Message Formatting Toolbar",richTextToolbarMoreButtonAriaLabel:"More options",attachmentMoreMenu:"More Options",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var rttModal$n={rttModalAriaLabel:"Turn on RTT Modal",rttModalTitle:"Turn on RTT?",rttModalText:"Real-time text (RTT) will be turned on for everyone in the meeting.",rttConfirmButtonLabel:"Turn on",rttCancelButtonLabel:"Cancel",rttCloseModalButtonAriaLabel:"Close RTT Modal"};var captionsBanner={captionsBannerSpinnerText:"Starting captions..."};var mentionPopover$n={mentionPopoverHeader:"Suggestions"};var imageOverlay$n={downloadButtonLabel:"Download",dismissButtonAriaLabel:"Close"};var messageStatusIndicator$n={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$n={label:"Leave",tooltipContent:"Leave call",leaveOption:"Leave",endCallOption:"End call for everyone"};var cameraButton$n={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",offSplitButtonAriaLabel:"Turn on camera",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",cameraButtonAriaDescription:"camera options"};var microphoneButton$n={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 mic",offSplitButtonAriaLabel:"Unmute mic",microphoneActionTurnedOnAnnouncement:"Your microphone has been turned on",microphoneActionTurnedOffAnnouncement:"Your microphone has been turned off",offSplitButtonMicrophonePrimaryAction:"Unmute mic",onSplitButtonMicrophonePrimaryAction:"Mute mic",microphonePrimaryActionSplitButtonTitle:"Use microphone",microphoneAriaDescription:"Audio options",deepNoiseSuppressionTitle:"Noise suppression",deepNoiseSuppressionOnAnnouncement:"Deep noise suppression has been turned on",deepNoiseSuppressionOffAnnouncement:"Deep noise suppression has been turned off"};var devicesButton$n={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$n={label:"People",ariaLabel:"People",tooltipContent:"Show participants",menuHeader:"In this call",participantsListButtonLabel:"{numParticipants} people",muteAllButtonLabel:"Mute all",copyInviteLinkButtonLabel:"Copy invite link",copyInviteLinkActionedAriaLabel:"Invite link copied"};var screenShareButton$n={onLabel:"Stop presenting",offLabel:"Present",tooltipDisabledContent:"Presenting is disabled",tooltipOnContent:"Presenting your screen",tooltipOffContent:"Present your screen"};var raiseHandButton$n={offLabel:"Raise",onLabel:"Lower",tooltipDisabledContent:"Raise Hand action is disabled",tooltipOnContent:"Lower Hand",tooltipOffContent:"Raise Hand"};var reactionButton$n={label:"React",ariaLabel:"React",tooltipDisabledContent:"Reaction action is disabled",tooltipContent:"Send a reaction",likeReactionTooltipContent:"Like",heartReactionTooltipContent:"Love",laughReactionTooltipContent:"Laugh",applauseReactionTooltipContent:"Applause",surprisedReactionTooltipContent:"Surprised"};var rtt$n={isTypingText:"RTT typing"};var captionsSettingsModal={captionsSettingsModalTitle:"Captions Settings",captionsSettingsSpokenLanguageDropdownLabel:"Spoken language",captionsSettingsCaptionLanguageDropdownLabel:"Captions language",captionsSettingsSpokenLanguageDropdownInfoText:"Language that everyone on this call is speaking.",captionsSettingsCaptionLanguageDropdownInfoText:"Captions will appear in this langugage.",captionsSettingsConfirmButtonLabel:"Confirm",captionsSettingsCancelButtonLabel:"Cancel",captionsSettingsModalAriaLabel:"Captions Setting Modal",captionsSettingsCloseModalButtonAriaLabel:"Close Captions Setting"};var spokenLanguages={"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"};var captionLanguages={ar:"Arabic",da:"Danish",de:"German",en:"English",es:"Spanish",fi:"Finnish","fr-ca":"French - Canada",fr:"French - France",hi:"Hindi",it:"Italian",ja:"Japanese",ko:"Korean",nb:"Norwegian (Bokmål)",nl:"Dutch",pl:"Polish",pt:"Portuguese - Brazil",ru:"Russian",sv:"Swedish","zh-Hans":"Chinese (Simplified)","zh-Hant":"Chinese (Traditional)",cs:"Czech","pt-pt":"Portuguese - Portugal",tr:"Turkish",vi:"Vietnamese",th:"Thai",he:"Hebrew",cy:"Welsh",uk:"Ukrainian",el:"Greek",hu:"Hungarian",ro:"Romanian",sk:"Slovak"};var startCaptionsButton={onLabel:"Turn on captions",offLabel:"Turn off captions",tooltipOnContent:"Turn off captions",tooltipOffContent:"Turn on captions"};var messageThread$n={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:"{status} {author} said {message}",messageContentMineAriaText:"{status} You said {message}",editBoxTextLimit:"Your message is over the limit of {limitNumber} characters",editBoxPlaceholderText:"Edit your message",newMessagesIndicator:"New messages",noDisplayNameSub:"No name",editBoxCancelButton:"Cancel",editBoxSubmitButton:"Done",messageReadCount:"Read by {messageReadByCount} of {remoteParticipantsCount}",actionMenuMoreOptions:"More Options",downloadAttachment:"Download file",openAttachment:"Open file",blockedWarningText:"This message was deleted due to organizational policy.",blockedWarningLinkText:"Details",attachmentCardGroupMessage:"The message has {attachmentCount} attachment",messageDeletedAnnouncementAriaLabel:"The message is deleted",richTextBoldTooltip:"Bold",richTextItalicTooltip:"Italic",richTextUnderlineTooltip:"Underline",richTextBulletListTooltip:"Bulleted list",richTextNumberListTooltip:"Numbered list",richTextIncreaseIndentTooltip:"Increase indent",richTextDecreaseIndentTooltip:"Decrease indent",richTextInsertTableTooltip:"Insert table",richTextFormatButtonTooltip:"Format",richTextInsertRowOrColumnMenu:"Insert",richTextInsertTableMenuTitle:"Insert {column} x {row} table",richTextInsertRowAboveMenu:"Insert above",richTextInsertRowBelowMenu:"Insert below",richTextInsertColumnLeftMenu:"Insert left",richTextInsertColumnRightMenu:"Insert right",richTextDeleteRowOrColumnMenu:"Delete",richTextDeleteColumnMenu:"Delete column",richTextDeleteRowMenu:"Delete row",richTextDeleteTableMenu:"Delete table",richTextToolbarMoreButtonAriaLabel:"More options",attachmentUploadsPendingError:"File is uploading, please wait.",imageUploadsPendingError:"Image is uploading, please wait.",richTextNewBulletedListItemAnnouncement:"Bullet, new line",richTextNewNumberedListItemAnnouncement:"{0}, new line",richTextBulletedListAppliedAnnouncement:"Bulleted list applied",richTextNumberedListAppliedAnnouncement:"Numbered list applied"};var errorBar$n={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.",teamsMeetingCallNetworkQualityLow:"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.",mutedByRemoteParticipant:"You were muted by another participant."};var notificationStack$n={callingNetworkFailure:{title:"Troubling connecting call",message:"You seem to be offline. Please check your network connection and try again.",dismissButtonAriaLabel:"Close"},startVideoGeneric:{title:"Failed to start video.",dismissButtonAriaLabel:"Close"},stopVideoGeneric:{title:"Failed to stop video.",dismissButtonAriaLabel:"Close"},muteGeneric:{title:"Failed to mute microphone.",dismissButtonAriaLabel:"Close"},unmuteGeneric:{title:"Failed to unmute microphone.",dismissButtonAriaLabel:"Close"},speakingWhileMuted:{title:"You're muted.",dismissButtonAriaLabel:"Close"},startScreenShareGeneric:{title:"There was an issue starting screen share.",dismissButtonAriaLabel:"Close"},stopScreenShareGeneric:{title:"Failed to stop screen sharing.",dismissButtonAriaLabel:"Close"},callNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close"},teamsMeetingCallNetworkQualityLow:{title:"Network quality is low.",dismissButtonAriaLabel:"Close",message:"Join this call from your phone for better sound. You can continue viewing the meeting on this device.",primaryButtonLabel:"Join by Phone"},callNoSpeakerFound:{title:"No speakers or headphones found",message:"Connect an audio device to hear the call.",dismissButtonAriaLabel:"Close"},callNoMicrophoneFound:{title:"No microphones found",message:"Connect an audio input device.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callMicrophoneAccessDeniedSafari:{title:"Unable to access microphone",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callMicrophoneMutedBySystem:{title:"You are muted by your system.",dismissButtonAriaLabel:"Close"},callMicrophoneUnmutedBySystem:{title:"Your microphone recovered and you were unmuted by your system.",dismissButtonAriaLabel:"Close"},callMacOsMicrophoneAccessDenied:{title:"Unable to access microphone",message:"Grant microphone permission in your macOS privacy settings.",dismissButtonAriaLabel:"Close"},callLocalVideoFreeze:{title:"Network bandwidth is poor",message:"Your video may appear paused for others on the call.",dismissButtonAriaLabel:"Close"},callCameraAccessDenied:{title:"Unable to access camera",message:"Click the lock in the address bar to grant permission to this webpage.",dismissButtonAriaLabel:"Close"},callCameraAccessDeniedSafari:{title:"Unable to access camera",message:"Refresh the page to allow permissions, or check this browser’s settings and verify permissions are enabled for this website.",dismissButtonAriaLabel:"Close"},callCameraAlreadyInUse:{title:"Unable to access camera",message:"It may already be in use by another application.",dismissButtonAriaLabel:"Close"},callVideoStoppedBySystem:{title:"Your video has been stopped by your system.",dismissButtonAriaLabel:"Close"},callVideoRecoveredBySystem:{title:"Your video has resumed.",dismissButtonAriaLabel:"Close"},callMacOsCameraAccessDenied:{title:"MacOS is blocking access to your camera",message:"Update your privacy settings to allow this browser to access your camera.",dismissButtonAriaLabel:"Close"},callMacOsScreenShareAccessDenied:{title:"MacOS is blocking screen sharing",message:"Update your privacy settings to allow this browser to record your screen.",dismissButtonAriaLabel:"Close"},failedToJoinCallGeneric:{title:"Failed to join call.",dismissButtonAriaLabel:"Close"},failedToJoinCallInvalidMeetingLink:{title:"Unable to join Meeting. Invalid Link.",dismissButtonAriaLabel:"Close"},cameraFrozenForRemoteParticipants:{title:"Users in the call are having issues seeing your video",message:"Please check your devices and network.",dismissButtonAriaLabel:"Close"},unableToStartVideoEffect:{title:"Unable to apply video effect.",dismissButtonAriaLabel:"Close"},startSpotlightWhileMaxParticipantsAreSpotlighted:{title:"Cannot start spotlight on participant(s)",message:"The maximum number of participants are already spotlighted.",dismissButtonAriaLabel:"Close"},mutedByRemoteParticipant:{title:"You were muted by another participant.",dismissButtonAriaLabel:"Close"},recordingStarted:{title:"Recording has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},transcriptionStarted:{title:"Transcription has started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingStopped:{title:"Recording is being saved.",message:"Recording has stopped.",dismissButtonAriaLabel:"Close"},transcriptionStopped:{title:"Transcription is being saved.",message:"Transcription has stopped.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStarted:{title:"Recording and transcription have started.",message:"By joining, you are giving consent for this meeting to be transcribed.",dismissButtonAriaLabel:"Close"},recordingAndTranscriptionStopped:{title:"Recording and transcription are being saved.",message:"Recording and transcription have stopped.",dismissButtonAriaLabel:"Close"},recordingStoppedStillTranscribing:{title:"Recording has stopped.",message:"You are now only transcribing this meeting.",dismissButtonAriaLabel:"Close"},transcriptionStoppedStillRecording:{title:"Transcription has stopped.",message:"You are now only recording this meeting.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpened:{title:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomChanged:{title:"Your breakout room has changed",message:"We'll move you to your assigned room in 5 seconds.",dismissButtonAriaLabel:"Close"},assignedBreakoutRoomOpenedPromptJoin:{title:"Join breakout room?",message:"You've been assigned to a breakout room.",dismissButtonAriaLabel:"Close",primaryButtonLabel:"Join room",secondaryButtonLabel:"Later"},breakoutRoomJoined:{title:"You have joined a breakout room.",dismissButtonAriaLabel:"Close"},breakoutRoomClosingSoon:{title:"Room time limit about to expire.",message:"This room will close in 30 seconds",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnPresent:{title:"Your camera has been enabled",message:"Turn it on if you'd like to share video.",dismissButtonAriaLabel:"Close"},capabilityTurnVideoOnAbsent:{title:"Your camera has been disabled",message:"You can no longer share video.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicPresent:{title:"Your mic has been enabled",message:"Unmute if you'd like to speak.",dismissButtonAriaLabel:"Close"},capabilityUnmuteMicAbsent:{title:"Your mic has been disabled",message:"You can no longer unmute.",dismissButtonAriaLabel:"Close"}};var videoGallery$n={screenIsBeingSharedMessage:"You are sharing your screen",screenShareLoadingMessage:"Loading {participant}'s screen",localScreenShareLoadingMessage:"Loading your screen",localVideoLabel:"You",localVideoCameraSwitcherLabel:"Switch camera",localVideoMovementLabel:"Movable Local Video Tile",localVideoMovementAriaLabel:"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",muteParticipantMenuItemLabel:"Mute",waitingScreenText:"Waiting for others to join",forbidAudio:"Disable mic",permitAudio:"Allow mic",forbidAudioTileMenuLabel:"Disable mic",permitAudioTileMenuLabel:"Allow mic",forbidVideo:"Disable camera",permitVideo:"Allow camera",forbidVideoTileMenuLabel:"Disable camera",permitVideoTileMenuLabel:"Allow camera"};var dialpad$n={placeholderText:"Enter phone number",deleteButtonAriaLabel:"Delete"};var holdButton$n={onLabel:"Resume",offLabel:"Hold",tooltipOnContent:"Resume call",tooltipOffContent:"Hold call"};var videoTile$n={participantStateRinging:"Calling...",participantReconnecting:"Reconnecting...",participantStateHold:"On hold",moreOptionsButtonAriaLabel:"More Options {displayName} {isMuted} {isHandRaised} {state} {isSpeaking}",moreOptionsParticipantMutedStateMutedAriaLabel:"muted",moreOptionsParticipantMutedStateUnmutedAriaLabel:"unmuted",moreOptionsParticipantHandRaisedAriaLabel:"Hand raised",moreOptionsParticipantIsSpeakingAriaLabel:"Speaking"};var CameraAndMicrophoneSitePermissionsRequest$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$n={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$o={primaryText:"Browser not supported",secondaryText:"Please join this call using a compatible browser.",moreHelpLinkText:"See compatibility requirements"};var UnsupportedBrowserVersion$o={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$o={primaryText:"Operating system not supported",secondaryText:"Please join this call using a device with a compatible operating system.",moreHelpLinkText:"See compatibility requirements"};var BrowserPermissionDenied$n={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$n={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$n={leftNavButtonAriaLabel:"previous page {current} of {total}",rightNavButtonAriaLabel:"next page {current} of {total}"};var meetingConferencePhoneInfo$n={meetingConferencePhoneInfoModalTitle:"Join call from your phone",meetingConferencePhoneInfoModalDialIn:"Dial number",meetingConferencePhoneInfoModalMeetingId:"Enter meeting ID",meetingConferencePhoneInfoModalWait:"Wait to be admitted by organizer",meetingConferencePhoneInfoModalNoPhoneAvailable:"No phone available",meetingConferencePhoneInfoModalTollGeoData:"{country}, {city}",meetingConferencePhoneInfoModalTollFree:"(Toll-free)",meetingConferencePhoneInfoModalToll:"(Toll)"};var IncomingCallNotification$o={incomingCallNotificationPlaceholderId:"Unknown User",incomingCallNotificationPlaceholderAlert:"{callerName} is calling",incomingCallNoticicationAcceptWithAudioAriaLabel:"Accept with audio",incomingCallNoticicationAcceptWithVideoAriaLabel:"Accept with video",incomingCallNoticicationRejectAriaLabel:"Reject",incomingCallNotificationAcceptButtonLabel:"Accept",incomingCallNotificationRejectButtonLabel:"Decline",incomingCallNotificationAccceptWithVideoButtonLabel:"Accept with Video",incomingCallNotificationDismissButtonAriaLabel:"Dismiss"};var rttDisclosureBanner$n={bannerTitle:"RTT",bannerContent:"RTT (real-time text) is enabled for all participants for the entire duration of the meeting.",bannerLinkLabel:"Learn more"};var en_US$1 = {participantItem:participantItem$n,ParticipantList:ParticipantList$o,typingIndicator:typingIndicator$n,sendBox:sendBox$n,richTextSendBox:richTextSendBox$n,rttModal:rttModal$n,captionsBanner:captionsBanner,mentionPopover:mentionPopover$n,imageOverlay:imageOverlay$n,messageStatusIndicator:messageStatusIndicator$n,endCallButton:endCallButton$n,cameraButton:cameraButton$n,microphoneButton:microphoneButton$n,devicesButton:devicesButton$n,participantsButton:participantsButton$n,screenShareButton:screenShareButton$n,raiseHandButton:raiseHandButton$n,reactionButton:reactionButton$n,rtt:rtt$n,captionsSettingsModal:captionsSettingsModal,spokenLanguages:spokenLanguages,captionLanguages:captionLanguages,startCaptionsButton:startCaptionsButton,messageThread:messageThread$n,errorBar:errorBar$n,notificationStack:notificationStack$n,videoGallery:videoGallery$n,dialpad:dialpad$n,holdButton:holdButton$n,videoTile:videoTile$n,CameraAndMicrophoneSitePermissionsRequest:CameraAndMicrophoneSitePermissionsRequest$n,CameraSitePermissionsRequest:CameraSitePermissionsRequest$n,MicrophoneSitePermissionsRequest:MicrophoneSitePermissionsRequest$n,CameraAndMicrophoneSitePermissionsCheck:CameraAndMicrophoneSitePermissionsCheck$n,CameraSitePermissionsCheck:CameraSitePermissionsCheck$n,MicrophoneSitePermissionsCheck:MicrophoneSitePermissionsCheck$n,CameraAndMicrophoneSitePermissionsDenied:CameraAndMicrophoneSitePermissionsDenied$n,CameraAndMicrophoneSitePermissionsDeniedSafari:CameraAndMicrophoneSitePermissionsDeniedSafari$n,CameraSitePermissionsDenied:CameraSitePermissionsDenied$n,MicrophoneSitePermissionsDenied:MicrophoneSitePermissionsDenied$n,CameraSitePermissionsDeniedSafari:CameraSitePermissionsDeniedSafari$n,MicrophoneSitePermissionsDeniedSafari:MicrophoneSitePermissionsDeniedSafari$n,UnsupportedBrowser:UnsupportedBrowser$o,UnsupportedBrowserVersion:UnsupportedBrowserVersion$o,UnsupportedOperatingSystem:UnsupportedOperatingSystem$o,BrowserPermissionDenied:BrowserPermissionDenied$n,BrowserPermissionDeniedIOS:BrowserPermissionDeniedIOS$n,verticalGallery:verticalGallery$n,meetingConferencePhoneInfo:meetingConferencePhoneInfo$n,IncomingCallNotification:IncomingCallNotification$o,rttDisclosureBanner:rttDisclosureBanner$n};
|
7293
7293
|
|
7294
7294
|
// Copyright (c) Microsoft Corporation.
|
7295
7295
|
// Licensed under the MIT License.
|
@@ -8415,10 +8415,8 @@ const sitePermissionIconBackgroundStyle = (theme) => {
|
|
8415
8415
|
// Licensed under the MIT License.
|
8416
8416
|
const WifiWarning16Filled = () => (
|
8417
8417
|
// All ErrorBar icons are 16px x 16px (when 1rem = 16 px).
|
8418
|
-
// There is no 16px version of this icon in the fluent icon package, so
|
8419
|
-
|
8420
|
-
React.createElement("div", { className: react.mergeStyles({ transform: 'scale(0.8)' }) },
|
8421
|
-
React.createElement(reactIcons.WifiWarning20Filled, null)));
|
8418
|
+
// There is no 16px version of this icon in the fluent icon package, so set height and width to 1rem.
|
8419
|
+
React.createElement(reactIcons.WifiWarning20Filled, { style: { height: '1rem', width: '1rem' } }));
|
8422
8420
|
const MoreHorizontal18Regular = () => (
|
8423
8421
|
// MoreHorizontal icons are 16px x 16px or 20px x 20px so scaling to get desired size
|
8424
8422
|
React.createElement("div", { className: react.mergeStyles({ transform: 'scale(0.9)' }) },
|
@@ -9786,7 +9784,7 @@ const _MentionPopover = (props) => {
|
|
9786
9784
|
|
9787
9785
|
// Copyright (c) Microsoft Corporation.
|
9788
9786
|
// Licensed under the MIT License.
|
9789
|
-
var __awaiter$
|
9787
|
+
var __awaiter$P = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
9790
9788
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
9791
9789
|
return new (P || (P = Promise))(function (resolve, reject) {
|
9792
9790
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -9972,7 +9970,7 @@ const TextFieldWithMention = (props) => {
|
|
9972
9970
|
onSuggestionSelected,
|
9973
9971
|
updateMentionSuggestions
|
9974
9972
|
]);
|
9975
|
-
const debouncedQueryUpdate = useDebounce.useDebouncedCallback((query) => __awaiter$
|
9973
|
+
const debouncedQueryUpdate = useDebounce.useDebouncedCallback((query) => __awaiter$P(void 0, void 0, void 0, function* () {
|
9976
9974
|
var _a;
|
9977
9975
|
let suggestions = (_a = (yield (mentionLookupOptions === null || mentionLookupOptions === void 0 ? void 0 : mentionLookupOptions.onQueryUpdated(query)))) !== null && _a !== void 0 ? _a : [];
|
9978
9976
|
suggestions = suggestions.filter((suggestion) => suggestion.displayText.trim() !== '');
|
@@ -10149,7 +10147,7 @@ const TextFieldWithMention = (props) => {
|
|
10149
10147
|
});
|
10150
10148
|
}
|
10151
10149
|
}, [updateSelectionIndexesWithMentionIfNeeded, setSelectionStartValue, setSelectionEndValue]);
|
10152
|
-
const handleOnChange = React.useCallback((_b) => __awaiter$
|
10150
|
+
const handleOnChange = React.useCallback((_b) => __awaiter$P(void 0, [_b], void 0, function* ({ currentSelectionEnd, currentSelectionStart, currentTriggerStartIndex, event, htmlTextValue, inputTextValue, previousSelectionEnd, previousSelectionStart, tagsValue, updatedValue }) {
|
10153
10151
|
var _c;
|
10154
10152
|
debouncedQueryUpdate.cancel();
|
10155
10153
|
if (event.currentTarget === null) {
|
@@ -10701,7 +10699,7 @@ const ATTACHMENT_CARD_MIN_PROGRESS = 0.05;
|
|
10701
10699
|
|
10702
10700
|
// Copyright (c) Microsoft Corporation.
|
10703
10701
|
// Licensed under the MIT License.
|
10704
|
-
var __awaiter$
|
10702
|
+
var __awaiter$O = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
10705
10703
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
10706
10704
|
return new (P || (P = Promise))(function (resolve, reject) {
|
10707
10705
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -10790,7 +10788,7 @@ const MappedMenuItems = (menuActions, attachment, handleOnClickError) => {
|
|
10790
10788
|
React.createElement(reactComponents.MenuTrigger, null,
|
10791
10789
|
React.createElement(reactComponents.ToolbarButton, { "aria-label": localeStrings.attachmentMoreMenu, role: "button", icon: React.createElement(react.Icon, { iconName: "AttachmentMoreMenu" }) }))),
|
10792
10790
|
React.createElement(reactComponents.MenuPopover, null,
|
10793
|
-
React.createElement(reactComponents.MenuList, null, menuActions.map((menuItem, index) => (React.createElement(reactComponents.MenuItem, { "aria-label": menuItem.name, key: index, icon: menuItem.icon, onClick: () => __awaiter$
|
10791
|
+
React.createElement(reactComponents.MenuList, null, menuActions.map((menuItem, index) => (React.createElement(reactComponents.MenuItem, { "aria-label": menuItem.name, key: index, icon: menuItem.icon, onClick: () => __awaiter$O(void 0, void 0, void 0, function* () {
|
10794
10792
|
try {
|
10795
10793
|
yield menuItem.onClick(attachment);
|
10796
10794
|
}
|
@@ -10925,7 +10923,7 @@ const _AttachmentUploadCards = (props) => {
|
|
10925
10923
|
|
10926
10924
|
// Copyright (c) Microsoft Corporation.
|
10927
10925
|
// Licensed under the MIT License.
|
10928
|
-
var __awaiter$
|
10926
|
+
var __awaiter$N = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
10929
10927
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
10930
10928
|
return new (P || (P = Promise))(function (resolve, reject) {
|
10931
10929
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -10974,7 +10972,7 @@ const hasInlineImageContent = (content) => {
|
|
10974
10972
|
*
|
10975
10973
|
* @returns The updated message content.
|
10976
10974
|
*/
|
10977
|
-
const updateStylesOfInlineImages = (message, initialInlineImages) => __awaiter$
|
10975
|
+
const updateStylesOfInlineImages = (message, initialInlineImages) => __awaiter$N(void 0, void 0, void 0, function* () {
|
10978
10976
|
if (message === '') {
|
10979
10977
|
return message;
|
10980
10978
|
}
|
@@ -11066,7 +11064,7 @@ const toAttachmentMetadata = (attachmentsWithProgress) => {
|
|
11066
11064
|
/**
|
11067
11065
|
* @internal
|
11068
11066
|
*/
|
11069
|
-
const modifyInlineImagesInContentString = (content, initialInlineImages, onCompleted) => __awaiter$
|
11067
|
+
const modifyInlineImagesInContentString = (content, initialInlineImages, onCompleted) => __awaiter$N(void 0, void 0, void 0, function* () {
|
11070
11068
|
let newContent = content;
|
11071
11069
|
/* @conditional-compile-remove(rich-text-editor-image-upload) */
|
11072
11070
|
try {
|
@@ -12345,7 +12343,7 @@ const removeSingleLocalBlob = (currentLocalBlobMap, imageId) => {
|
|
12345
12343
|
}
|
12346
12344
|
};
|
12347
12345
|
|
12348
|
-
var __awaiter$
|
12346
|
+
var __awaiter$M = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
12349
12347
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
12350
12348
|
return new (P || (P = Promise))(function (resolve, reject) {
|
12351
12349
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -12400,7 +12398,7 @@ class CopyPastePlugin {
|
|
12400
12398
|
onPluginEvent(event) {
|
12401
12399
|
/* @conditional-compile-remove(rich-text-editor-image-upload) */
|
12402
12400
|
if (event.eventType === PluginEventType.BeforeCutCopy) {
|
12403
|
-
event.clonedRoot.querySelectorAll('img').forEach((image) => __awaiter$
|
12401
|
+
event.clonedRoot.querySelectorAll('img').forEach((image) => __awaiter$M(this, void 0, void 0, function* () {
|
12404
12402
|
if (image.src.startsWith('blob:')) {
|
12405
12403
|
const base64Data = this.imageBase64DataMap[image.id];
|
12406
12404
|
image.src = base64Data || image.src;
|
@@ -16086,7 +16084,7 @@ class _ErrorBoundary extends React.Component {
|
|
16086
16084
|
// Copyright (c) Microsoft Corporation.
|
16087
16085
|
// Licensed under the MIT License.
|
16088
16086
|
/* @conditional-compile-remove(rich-text-editor) */
|
16089
|
-
const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-
|
16087
|
+
const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-Dl92p4eD.js'); }));
|
16090
16088
|
/**
|
16091
16089
|
* @private
|
16092
16090
|
* Use this function to load RoosterJS dependencies early in the lifecycle.
|
@@ -16094,7 +16092,7 @@ const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve()
|
|
16094
16092
|
*
|
16095
16093
|
* @conditional-compile-remove(rich-text-editor)
|
16096
16094
|
*/
|
16097
|
-
const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-
|
16095
|
+
const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-Dl92p4eD.js'); });
|
16098
16096
|
/**
|
16099
16097
|
* @private
|
16100
16098
|
*/
|
@@ -16113,7 +16111,7 @@ const ChatMessageComponentAsEditBoxPicker = (props) => {
|
|
16113
16111
|
|
16114
16112
|
// Copyright (c) Microsoft Corporation.
|
16115
16113
|
// Licensed under the MIT License.
|
16116
|
-
var __awaiter$
|
16114
|
+
var __awaiter$L = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
16117
16115
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
16118
16116
|
return new (P || (P = Promise))(function (resolve, reject) {
|
16119
16117
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -16169,7 +16167,7 @@ const ChatMyMessageComponent = (props) => {
|
|
16169
16167
|
function (text,
|
16170
16168
|
/* @conditional-compile-remove(file-sharing-acs) */
|
16171
16169
|
attachments) {
|
16172
|
-
return __awaiter$
|
16170
|
+
return __awaiter$L(this, void 0, void 0, function* () {
|
16173
16171
|
/* @conditional-compile-remove(file-sharing-acs) */
|
16174
16172
|
if (`attachments` in message && attachments) {
|
16175
16173
|
message.attachments = attachments;
|
@@ -16566,7 +16564,7 @@ const fluentChatComponent = (props) => {
|
|
16566
16564
|
|
16567
16565
|
// Copyright (c) Microsoft Corporation.
|
16568
16566
|
// Licensed under the MIT License.
|
16569
|
-
var __awaiter$
|
16567
|
+
var __awaiter$K = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
16570
16568
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
16571
16569
|
return new (P || (P = Promise))(function (resolve, reject) {
|
16572
16570
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -16762,7 +16760,7 @@ const MessageThreadWrapper = (props) => {
|
|
16762
16760
|
loadChatMessageComponentAsRichTextEditBox();
|
16763
16761
|
}
|
16764
16762
|
}, [richTextEditorOptions]);
|
16765
|
-
const onDeleteMessageCallback = React.useCallback((messageId) => __awaiter$
|
16763
|
+
const onDeleteMessageCallback = React.useCallback((messageId) => __awaiter$K(void 0, void 0, void 0, function* () {
|
16766
16764
|
if (!onDeleteMessage) {
|
16767
16765
|
return;
|
16768
16766
|
}
|
@@ -16843,7 +16841,7 @@ const MessageThreadWrapper = (props) => {
|
|
16843
16841
|
*/
|
16844
16842
|
const clientHeight = (_a = chatThreadRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight;
|
16845
16843
|
// we try to only send those message status if user is scrolled to the bottom.
|
16846
|
-
const sendMessageStatusIfAtBottom = React.useCallback(() => __awaiter$
|
16844
|
+
const sendMessageStatusIfAtBottom = React.useCallback(() => __awaiter$K(void 0, void 0, void 0, function* () {
|
16847
16845
|
if (!isAtBottomOfScrollRef.current ||
|
16848
16846
|
!document.hasFocus() ||
|
16849
16847
|
!messagesRef.current ||
|
@@ -16894,7 +16892,7 @@ const MessageThreadWrapper = (props) => {
|
|
16894
16892
|
setIsAtBottomOfScrollRef(atBottom);
|
16895
16893
|
}, [scrollToBottom, sendMessageStatusIfAtBottom]);
|
16896
16894
|
// Infinite scrolling + threadInitialize function
|
16897
|
-
const fetchNewMessageWhenAtTop = React.useCallback(() => __awaiter$
|
16895
|
+
const fetchNewMessageWhenAtTop = React.useCallback(() => __awaiter$K(void 0, void 0, void 0, function* () {
|
16898
16896
|
if (!isLoadingChatMessagesRef.current) {
|
16899
16897
|
if (onLoadPreviousChatMessages) {
|
16900
16898
|
isLoadingChatMessagesRef.current = true;
|
@@ -20018,7 +20016,7 @@ const localVideoTileContainerStyles = {
|
|
20018
20016
|
|
20019
20017
|
// Copyright (c) Microsoft Corporation.
|
20020
20018
|
// Licensed under the MIT License.
|
20021
|
-
var __awaiter$
|
20019
|
+
var __awaiter$J = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
20022
20020
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
20023
20021
|
return new (P || (P = Promise))(function (resolve, reject) {
|
20024
20022
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -20035,7 +20033,7 @@ const LocalVideoCameraCycleButton = (props) => {
|
|
20035
20033
|
const { cameras, selectedCamera, onSelectCamera, label, ariaDescription, size } = props;
|
20036
20034
|
const theme = react.useTheme();
|
20037
20035
|
const [waitForCamera, setWaitForCamera] = React.useState(false);
|
20038
|
-
const onChangeCameraClick = React.useCallback((device) => __awaiter$
|
20036
|
+
const onChangeCameraClick = React.useCallback((device) => __awaiter$J(void 0, void 0, void 0, function* () {
|
20039
20037
|
// Throttle changing camera to prevent too many callbacks
|
20040
20038
|
if (onSelectCamera) {
|
20041
20039
|
setWaitForCamera(true);
|
@@ -22580,7 +22578,7 @@ const ControlBarButton = (props) => {
|
|
22580
22578
|
: (_l = props === null || props === void 0 ? void 0 : props.strings) === null || _l === void 0 ? void 0 : _l.tooltipOffContent);
|
22581
22579
|
const tooltipId = ((_m = props.tooltipId) !== null && _m !== void 0 ? _m : props.labelKey) ? props.labelKey + '-tooltip' : undefined;
|
22582
22580
|
return (React.createElement(ControlButtonTooltip, { hidden: props.disableTooltip, content: tooltipContent, id: tooltipId },
|
22583
|
-
React.createElement(react.DefaultButton, Object.assign({}, props, { styles: componentStyles, onRenderText: props.showLabel && props.onRenderText ? props.onRenderText : undefined, onRenderIcon: (_o = props.onRenderIcon) !== null && _o !== void 0 ? _o : DefaultRenderIcon, ariaLabel: (_r = (_q = (_p = props.splitButtonAriaLabel) !== null && _p !== void 0 ? _p : props.ariaLabel) !== null && _q !== void 0 ? _q : labelText) !== null && _r !== void 0 ? _r : tooltipContent, allowDisabledFocus: (_s = props.allowDisabledFocus) !== null && _s !== void 0 ? _s : true, menuTriggerKeyCode: react.KeyCodes.down, text: undefined }), props.showLabel ? labelText : React.createElement(React.Fragment, null))));
|
22581
|
+
React.createElement(react.DefaultButton, Object.assign({}, props, { styles: componentStyles, onRenderText: props.showLabel && props.onRenderText ? props.onRenderText : undefined, onRenderIcon: (_o = props.onRenderIcon) !== null && _o !== void 0 ? _o : DefaultRenderIcon, ariaLabel: (_r = (_q = (_p = props.splitButtonAriaLabel) !== null && _p !== void 0 ? _p : props.ariaLabel) !== null && _q !== void 0 ? _q : labelText) !== null && _r !== void 0 ? _r : tooltipContent, allowDisabledFocus: (_s = props.allowDisabledFocus) !== null && _s !== void 0 ? _s : true, "aria-describedby": tooltipId, menuTriggerKeyCode: react.KeyCodes.down, text: undefined }), props.showLabel ? labelText : React.createElement(React.Fragment, null))));
|
22584
22582
|
};
|
22585
22583
|
|
22586
22584
|
// Copyright (c) Microsoft Corporation.
|
@@ -22792,7 +22790,7 @@ const DevicesButton = (props) => {
|
|
22792
22790
|
|
22793
22791
|
// Copyright (c) Microsoft Corporation.
|
22794
22792
|
// Licensed under the MIT License.
|
22795
|
-
var __awaiter$
|
22793
|
+
var __awaiter$I = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
22796
22794
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
22797
22795
|
return new (P || (P = Promise))(function (resolve, reject) {
|
22798
22796
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -22842,7 +22840,7 @@ const CameraButton = (props) => {
|
|
22842
22840
|
setAnnouncerString(strings.tooltipVideoLoadingContent);
|
22843
22841
|
}
|
22844
22842
|
}, [setAnnouncerString, cameraOn, strings.tooltipVideoLoadingContent]);
|
22845
|
-
const onToggleClick = React.useCallback(() => __awaiter$
|
22843
|
+
const onToggleClick = React.useCallback(() => __awaiter$I(void 0, void 0, void 0, function* () {
|
22846
22844
|
// Throttle click on camera, need to await onToggleCamera then allow another click
|
22847
22845
|
if (onToggleCamera) {
|
22848
22846
|
setWaitForCamera(true);
|
@@ -22860,7 +22858,7 @@ const CameraButton = (props) => {
|
|
22860
22858
|
onVideoIsLoadingAnnouncementCallback();
|
22861
22859
|
onToggleClick();
|
22862
22860
|
}, [onVideoIsLoadingAnnouncementCallback, onToggleClick]);
|
22863
|
-
const onChangeCameraClick = React.useCallback((device) => __awaiter$
|
22861
|
+
const onChangeCameraClick = React.useCallback((device) => __awaiter$I(void 0, void 0, void 0, function* () {
|
22864
22862
|
// Throttle changing camera to prevent too many callbacks
|
22865
22863
|
if (onSelectCamera) {
|
22866
22864
|
setWaitForCamera(true);
|
@@ -23075,7 +23073,7 @@ const menupButtonPadding = {
|
|
23075
23073
|
|
23076
23074
|
// Copyright (c) Microsoft Corporation.
|
23077
23075
|
// Licensed under the MIT License.
|
23078
|
-
var __awaiter$
|
23076
|
+
var __awaiter$H = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
23079
23077
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
23080
23078
|
return new (P || (P = Promise))(function (resolve, reject) {
|
23081
23079
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -23116,7 +23114,7 @@ const MicrophoneButton = (props) => {
|
|
23116
23114
|
const toggleAnnouncerString = React.useCallback((isMicOn) => {
|
23117
23115
|
setAnnouncerString(!isMicOn ? strings.microphoneActionTurnedOffAnnouncement : strings.microphoneActionTurnedOnAnnouncement);
|
23118
23116
|
}, [strings.microphoneActionTurnedOffAnnouncement, strings.microphoneActionTurnedOnAnnouncement]);
|
23119
|
-
const onToggleClick = React.useCallback(() => __awaiter$
|
23117
|
+
const onToggleClick = React.useCallback(() => __awaiter$H(void 0, void 0, void 0, function* () {
|
23120
23118
|
if (onToggleMicrophone) {
|
23121
23119
|
try {
|
23122
23120
|
yield onToggleMicrophone();
|
@@ -23142,7 +23140,7 @@ const MicrophoneButton = (props) => {
|
|
23142
23140
|
splitButtonMenuItems.push({
|
23143
23141
|
key: 'microphoneDNSToggle',
|
23144
23142
|
onRender: () => {
|
23145
|
-
return (React.createElement(react.Stack, { onClick: () => __awaiter$
|
23143
|
+
return (React.createElement(react.Stack, { onClick: () => __awaiter$H(void 0, void 0, void 0, function* () {
|
23146
23144
|
var _a;
|
23147
23145
|
yield ((_a = props.onClickNoiseSuppression) === null || _a === void 0 ? void 0 : _a.call(props));
|
23148
23146
|
setAnnouncerString(props.isDeepNoiseSuppressionOn
|
@@ -23564,7 +23562,7 @@ const ParticipantsButton = (props) => {
|
|
23564
23562
|
]);
|
23565
23563
|
return (React.createElement(React.Fragment, null,
|
23566
23564
|
React.createElement(Announcer$1, { announcementString: copyInviteLinkAnnouncerStrings, ariaLive: 'polite' }),
|
23567
|
-
React.createElement(ControlBarButton, Object.assign({}, props, { disabled: disabled, menuProps: (_c = props.menuProps) !== null && _c !== void 0 ? _c : defaultMenuProps, menuIconProps: { hidden: true }, onRenderIcon: onRenderIcon !== null && onRenderIcon !== void 0 ? onRenderIcon : onRenderPeopleIcon, strings: strings, labelKey: (_d = props.labelKey) !== null && _d !== void 0 ? _d : 'participantsButtonLabel' }))));
|
23565
|
+
React.createElement(ControlBarButton, Object.assign({}, props, { disabled: disabled, menuProps: (_c = props.menuProps) !== null && _c !== void 0 ? _c : defaultMenuProps, menuIconProps: { hidden: true }, onRenderIcon: onRenderIcon !== null && onRenderIcon !== void 0 ? onRenderIcon : onRenderPeopleIcon, strings: strings, "aria-label": strings.ariaLabel, labelKey: (_d = props.labelKey) !== null && _d !== void 0 ? _d : 'participantsButtonLabel' }))));
|
23568
23566
|
};
|
23569
23567
|
|
23570
23568
|
// Copyright (c) Microsoft Corporation.
|
@@ -23697,7 +23695,7 @@ const ReactionButton = (props) => {
|
|
23697
23695
|
props.onReactionClick(emoji);
|
23698
23696
|
(_a = reactionButtonRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
23699
23697
|
setCalloutIsVisible(false);
|
23700
|
-
}, className: classname, styles: reactionItemButtonStyles, "aria-label": emojiButtonTooltip.get(emoji)
|
23698
|
+
}, className: classname, styles: reactionItemButtonStyles, "aria-label": emojiButtonTooltip.get(emoji) })));
|
23701
23699
|
}))))),
|
23702
23700
|
React.createElement("div", { ref: reactionButtonCalloutRef },
|
23703
23701
|
React.createElement(ControlBarButton, Object.assign({}, props, { componentRef: reactionButtonRef, className: react.mergeStyles(styles, props.styles), onClick: () => setCalloutIsVisible(!calloutIsVisible), onRenderIcon: (_f = props.onRenderIcon) !== null && _f !== void 0 ? _f : onRenderIcon, strings: strings, split: true, labelKey: (_g = props.labelKey) !== null && _g !== void 0 ? _g : 'reactionButtonLabel', onRenderMenuIcon: () => React.createElement("div", null), disabled: props.disabled, ariaLabel: strings.ariaLabel })))));
|
@@ -24005,7 +24003,7 @@ const dtmfFrequencies = {
|
|
24005
24003
|
|
24006
24004
|
// Copyright (c) Microsoft Corporation.
|
24007
24005
|
// Licensed under the MIT License.
|
24008
|
-
var __awaiter$
|
24006
|
+
var __awaiter$G = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
24009
24007
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
24010
24008
|
return new (P || (P = Promise))(function (resolve, reject) {
|
24011
24009
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -24049,10 +24047,10 @@ const DialpadButton = (props) => {
|
|
24049
24047
|
const [buttonPressed, setButtonPressed] = React.useState(false);
|
24050
24048
|
const dtmfToneSound = React.useRef(new Tone(dtmfToneAudioContext, dtmfFrequencies[digit].f1, dtmfFrequencies[digit].f2));
|
24051
24049
|
const useLongPressProps = React.useMemo(() => ({
|
24052
|
-
onClick: () => __awaiter$
|
24050
|
+
onClick: () => __awaiter$G(void 0, void 0, void 0, function* () {
|
24053
24051
|
onClick(digit, index);
|
24054
24052
|
}),
|
24055
|
-
onLongPress: () => __awaiter$
|
24053
|
+
onLongPress: () => __awaiter$G(void 0, void 0, void 0, function* () {
|
24056
24054
|
onLongPress(digit, index);
|
24057
24055
|
}),
|
24058
24056
|
touchEventsOnly: longPressTrigger === 'touch'
|
@@ -25159,7 +25157,7 @@ const CaptionsBanner = (props) => {
|
|
25159
25157
|
|
25160
25158
|
// Copyright (c) Microsoft Corporation.
|
25161
25159
|
// Licensed under the MIT License.
|
25162
|
-
(window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
25160
|
+
var __awaiter$F = (window && window.__awaiter) || function (thisArg, _arguments, P, generator) {
|
25163
25161
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
25164
25162
|
return new (P || (P = Promise))(function (resolve, reject) {
|
25165
25163
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
@@ -25168,6 +25166,47 @@ const CaptionsBanner = (props) => {
|
|
25168
25166
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
25169
25167
|
});
|
25170
25168
|
};
|
25169
|
+
/**
|
25170
|
+
* a button to start or stop captions
|
25171
|
+
*
|
25172
|
+
* Can be used with {@link ControlBar}
|
25173
|
+
*
|
25174
|
+
* @param props - properties for the start captions button.
|
25175
|
+
* @public
|
25176
|
+
*/
|
25177
|
+
const StartCaptionsButton = (props) => {
|
25178
|
+
const { onStartCaptions, onStopCaptions, onSetSpokenLanguage, currentSpokenLanguage } = props;
|
25179
|
+
const localeStrings = useLocale$1().strings.startCaptionsButton;
|
25180
|
+
const strings = Object.assign(Object.assign({}, localeStrings), props.strings);
|
25181
|
+
const onRenderStartIcon = () => {
|
25182
|
+
return React.createElement(_HighContrastAwareIcon, { disabled: props.disabled, iconName: "CaptionsIcon" });
|
25183
|
+
};
|
25184
|
+
const onRenderOffIcon = () => {
|
25185
|
+
return React.createElement(_HighContrastAwareIcon, { disabled: props.disabled, iconName: "CaptionsOffIcon" });
|
25186
|
+
};
|
25187
|
+
const options = React.useMemo(() => {
|
25188
|
+
return { spokenLanguage: currentSpokenLanguage === '' ? defaultSpokenLanguage : currentSpokenLanguage };
|
25189
|
+
}, [currentSpokenLanguage]);
|
25190
|
+
const [hasSetSpokenLanguage, setHasSetSpokenLanguage] = React.useState(false);
|
25191
|
+
const onToggleStartCaptions = React.useCallback(() => __awaiter$F(void 0, void 0, void 0, function* () {
|
25192
|
+
if (props.checked) {
|
25193
|
+
onStopCaptions();
|
25194
|
+
}
|
25195
|
+
else {
|
25196
|
+
yield onStartCaptions(options);
|
25197
|
+
}
|
25198
|
+
}), [props.checked, onStartCaptions, onStopCaptions, options]);
|
25199
|
+
React.useEffect(() => {
|
25200
|
+
if (props.checked && !hasSetSpokenLanguage) {
|
25201
|
+
// set spoken language when start captions with a spoken language specified.
|
25202
|
+
// this is to fix the bug when a second user starts captions with a new spoken language, captions bot ignore that spoken language
|
25203
|
+
onSetSpokenLanguage(options.spokenLanguage);
|
25204
|
+
// we only need to call set spoken language once when first starting captions
|
25205
|
+
setHasSetSpokenLanguage(true);
|
25206
|
+
}
|
25207
|
+
}, [props.checked, onSetSpokenLanguage, options.spokenLanguage, hasSetSpokenLanguage]);
|
25208
|
+
return (React.createElement(ControlBarButton, Object.assign({}, props, { strings: strings, onClick: onToggleStartCaptions !== null && onToggleStartCaptions !== void 0 ? onToggleStartCaptions : props.onClick, onRenderOnIcon: onRenderStartIcon, onRenderOffIcon: onRenderOffIcon })));
|
25209
|
+
};
|
25171
25210
|
|
25172
25211
|
// Copyright (c) Microsoft Corporation.
|
25173
25212
|
// Licensed under the MIT License.
|
@@ -25321,19 +25360,30 @@ var __awaiter$E = (window && window.__awaiter) || function (thisArg, _arguments,
|
|
25321
25360
|
});
|
25322
25361
|
};
|
25323
25362
|
/**
|
25324
|
-
* @
|
25363
|
+
* @public
|
25325
25364
|
* a component for setting spoken languages
|
25326
25365
|
*/
|
25327
|
-
const
|
25328
|
-
const { supportedSpokenLanguages, supportedCaptionLanguages, currentSpokenLanguage, currentCaptionLanguage, isCaptionsFeatureActive, showModal, onSetSpokenLanguage, onSetCaptionLanguage, onDismissCaptionsSettings, onStartCaptions,
|
25366
|
+
const CaptionsSettingsModal = (props) => {
|
25367
|
+
const { supportedSpokenLanguages, supportedCaptionLanguages, currentSpokenLanguage, currentCaptionLanguage, isCaptionsFeatureActive, showModal, onSetSpokenLanguage, onSetCaptionLanguage, onDismissCaptionsSettings, onStartCaptions, changeCaptionLanguage = false } = props;
|
25329
25368
|
const theme = react.useTheme();
|
25369
|
+
const localeStrings = useLocale$1().strings.captionsSettingsModal;
|
25370
|
+
const localSpokenLanguageStrings = useLocale$1().strings.spokenLanguages;
|
25371
|
+
const localCaptionLanguageStrings = useLocale$1().strings.captionLanguages;
|
25372
|
+
const strings = Object.assign(Object.assign({}, localeStrings), props.strings);
|
25373
|
+
const spokenLanguageStrings = React.useMemo(() => {
|
25374
|
+
return Object.assign(Object.assign({}, localSpokenLanguageStrings), props.spokenLanguageStrings);
|
25375
|
+
}, [localSpokenLanguageStrings, props.spokenLanguageStrings]);
|
25376
|
+
const captionLanguageStrings = React.useMemo(() => {
|
25377
|
+
return Object.assign(Object.assign({}, localCaptionLanguageStrings), props.captionLanguageStrings);
|
25378
|
+
}, [localCaptionLanguageStrings, props.captionLanguageStrings]);
|
25330
25379
|
const [hasSetSpokenLanguage, setHasSetSpokenLanguage] = React.useState(false);
|
25331
25380
|
const [selectedSpokenLanguage, setSelectedSpokenLanguage] = React.useState({
|
25332
25381
|
key: currentSpokenLanguage || defaultSpokenLanguage,
|
25333
25382
|
text: currentSpokenLanguage || defaultSpokenLanguage
|
25334
25383
|
});
|
25335
25384
|
const [selectedCaptionLanguage, setSelectedCaptionLanguage] = React.useState({
|
25336
|
-
key: currentCaptionLanguage ||
|
25385
|
+
key: currentCaptionLanguage ||
|
25386
|
+
_spokenLanguageToCaptionLanguage[selectedSpokenLanguage.key],
|
25337
25387
|
text: currentCaptionLanguage || _spokenLanguageToCaptionLanguage[selectedSpokenLanguage.key]
|
25338
25388
|
});
|
25339
25389
|
React.useEffect(() => {
|
@@ -25356,7 +25406,7 @@ const _CaptionsSettingsModal = (props) => {
|
|
25356
25406
|
if (isCaptionsFeatureActive) {
|
25357
25407
|
onSetSpokenLanguage(spokenLanguageCode);
|
25358
25408
|
if (changeCaptionLanguage) {
|
25359
|
-
onSetCaptionLanguage(captionLanguageCode);
|
25409
|
+
onSetCaptionLanguage && onSetCaptionLanguage(captionLanguageCode);
|
25360
25410
|
}
|
25361
25411
|
}
|
25362
25412
|
else {
|
@@ -25382,7 +25432,7 @@ const _CaptionsSettingsModal = (props) => {
|
|
25382
25432
|
});
|
25383
25433
|
}, [supportedSpokenLanguages, spokenLanguageStrings]);
|
25384
25434
|
const captionLanguageDropdownOptions = React.useMemo(() => {
|
25385
|
-
return supportedCaptionLanguages.map((languageCode) => {
|
25435
|
+
return supportedCaptionLanguages === null || supportedCaptionLanguages === void 0 ? void 0 : supportedCaptionLanguages.map((languageCode) => {
|
25386
25436
|
return {
|
25387
25437
|
key: languageCode,
|
25388
25438
|
text: captionLanguageStrings ? captionLanguageStrings[languageCode] : languageCode
|
@@ -25394,7 +25444,7 @@ const _CaptionsSettingsModal = (props) => {
|
|
25394
25444
|
return copy.sort((a, b) => (a.text > b.text ? 1 : -1));
|
25395
25445
|
}, [spokenLanguageDropdownOptions]);
|
25396
25446
|
const sortedCaptionLanguageDropdownOptions = React.useMemo(() => {
|
25397
|
-
const copy = [...captionLanguageDropdownOptions];
|
25447
|
+
const copy = [...(captionLanguageDropdownOptions !== null && captionLanguageDropdownOptions !== void 0 ? captionLanguageDropdownOptions : [])];
|
25398
25448
|
return copy.sort((a, b) => (a.text > b.text ? 1 : -1));
|
25399
25449
|
}, [captionLanguageDropdownOptions]);
|
25400
25450
|
const onSpokenLanguageChange = (event, option) => {
|
@@ -27044,6 +27094,10 @@ const findSelector$1 = (component) => {
|
|
27044
27094
|
return incomingCallStackSelector;
|
27045
27095
|
case CaptionsBanner:
|
27046
27096
|
return captionsBannerSelector;
|
27097
|
+
case CaptionsSettingsModal:
|
27098
|
+
return captionSettingsSelector;
|
27099
|
+
case StartCaptionsButton:
|
27100
|
+
return startCaptionsButtonSelector;
|
27047
27101
|
}
|
27048
27102
|
return undefined;
|
27049
27103
|
};
|
@@ -30889,7 +30943,7 @@ const AttachmentDownloadErrorBar = (props) => {
|
|
30889
30943
|
/**
|
30890
30944
|
* Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox with lazy loading
|
30891
30945
|
*/
|
30892
|
-
const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-
|
30946
|
+
const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-33DU1VBo.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper })));
|
30893
30947
|
/**
|
30894
30948
|
* @private
|
30895
30949
|
* Use this function to load RoosterJS dependencies early in the lifecycle.
|
@@ -30897,7 +30951,7 @@ const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function
|
|
30897
30951
|
*
|
30898
30952
|
/* @conditional-compile-remove(rich-text-editor-composite-support)
|
30899
30953
|
*/
|
30900
|
-
const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-
|
30954
|
+
const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-33DU1VBo.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper }));
|
30901
30955
|
/**
|
30902
30956
|
* @private
|
30903
30957
|
*/
|
@@ -32868,12 +32922,25 @@ const createCompositeHandlers = memoizeOne((adapter, capabilities) => {
|
|
32868
32922
|
};
|
32869
32923
|
});
|
32870
32924
|
|
32925
|
+
// Copyright (c) Microsoft Corporation.
|
32926
|
+
// Licensed under the MIT License.
|
32927
|
+
/**
|
32928
|
+
* @private
|
32929
|
+
*/
|
32930
|
+
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
|
32931
|
+
const usePropsFor$1 = (component) => {
|
32932
|
+
const selector = getSelector$1(component);
|
32933
|
+
if (!selector) {
|
32934
|
+
throw new Error("Can't find the selector for component, please check supported component list");
|
32935
|
+
}
|
32936
|
+
return Object.assign(Object.assign({}, useAdaptedSelector(selector)), useHandlers());
|
32937
|
+
};
|
32938
|
+
|
32871
32939
|
// Copyright (c) Microsoft Corporation.
|
32872
32940
|
// Licensed under the MIT License.
|
32873
32941
|
/** @private */
|
32874
|
-
const
|
32875
|
-
const CaptionsSettingsModalProps =
|
32876
|
-
const handlers = useHandlers();
|
32942
|
+
const CallingCaptionsSettingsModal = (props) => {
|
32943
|
+
const CaptionsSettingsModalProps = usePropsFor$1(CaptionsSettingsModal);
|
32877
32944
|
const strings = useLocale().strings.call;
|
32878
32945
|
const modalStrings = {
|
32879
32946
|
captionsSettingsModalTitle: strings.captionsSettingsModalTitle,
|
@@ -32888,7 +32955,7 @@ const CaptionsSettingsModal = (props) => {
|
|
32888
32955
|
};
|
32889
32956
|
const spokenLanguageStrings = strings.spokenLanguageStrings;
|
32890
32957
|
const captionLanguageStrings = strings.captionLanguageStrings;
|
32891
|
-
return (React.createElement(
|
32958
|
+
return (React.createElement(CaptionsSettingsModal, Object.assign({}, CaptionsSettingsModalProps, { strings: modalStrings, spokenLanguageStrings: spokenLanguageStrings, captionLanguageStrings: captionLanguageStrings, showModal: props.showCaptionsSettingsModal, onDismissCaptionsSettings: props.onDismissCaptionsSettings, changeCaptionLanguage: props.changeCaptionLanguage })));
|
32892
32959
|
};
|
32893
32960
|
|
32894
32961
|
// Copyright (c) Microsoft Corporation.
|
@@ -33014,23 +33081,22 @@ var __awaiter$p = (window && window.__awaiter) || function (thisArg, _arguments,
|
|
33014
33081
|
*/
|
33015
33082
|
const CaptionsBannerMoreButton = (props) => {
|
33016
33083
|
const localeStrings = useLocale();
|
33017
|
-
const startCaptionsButtonProps =
|
33018
|
-
const startCaptionsButtonHandlers = useHandlers();
|
33084
|
+
const startCaptionsButtonProps = usePropsFor$1(StartCaptionsButton);
|
33019
33085
|
const moreButtonStrings = React.useMemo(() => ({
|
33020
33086
|
label: localeStrings.strings.call.captionsBannerMoreButtonCallingLabel,
|
33021
33087
|
tooltipOffContent: localeStrings.strings.call.captionsBannerMoreButtonTooltip
|
33022
33088
|
}), [localeStrings]);
|
33023
33089
|
const moreButtonContextualMenuItems = [];
|
33024
33090
|
const startCaptions = React.useCallback(() => __awaiter$p(void 0, void 0, void 0, function* () {
|
33025
|
-
yield
|
33091
|
+
yield startCaptionsButtonProps.onStartCaptions({
|
33026
33092
|
spokenLanguage: startCaptionsButtonProps.currentSpokenLanguage
|
33027
33093
|
});
|
33028
|
-
}), [
|
33094
|
+
}), [startCaptionsButtonProps]);
|
33029
33095
|
const stopCaptions = React.useCallback(() => __awaiter$p(void 0, void 0, void 0, function* () {
|
33030
33096
|
var _a, _b;
|
33031
|
-
yield
|
33097
|
+
yield startCaptionsButtonProps.onStopCaptions();
|
33032
33098
|
(_b = (_a = props.returnFocusRef) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.focus();
|
33033
|
-
}), [
|
33099
|
+
}), [startCaptionsButtonProps, props.returnFocusRef]);
|
33034
33100
|
moreButtonContextualMenuItems.push({
|
33035
33101
|
key: 'ToggleCaptionsKey',
|
33036
33102
|
text: startCaptionsButtonProps.checked
|
@@ -33075,26 +33141,12 @@ const CaptionsBannerMoreButton = (props) => {
|
|
33075
33141
|
} })));
|
33076
33142
|
};
|
33077
33143
|
|
33078
|
-
// Copyright (c) Microsoft Corporation.
|
33079
|
-
// Licensed under the MIT License.
|
33080
|
-
/**
|
33081
|
-
* @private
|
33082
|
-
*/
|
33083
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
|
33084
|
-
const usePropsFor$1 = (component) => {
|
33085
|
-
const selector = getSelector$1(component);
|
33086
|
-
if (!selector) {
|
33087
|
-
throw new Error("Can't find the selector for component, please check supported component list");
|
33088
|
-
}
|
33089
|
-
return Object.assign(Object.assign({}, useAdaptedSelector(selector)), useHandlers());
|
33090
|
-
};
|
33091
|
-
|
33092
33144
|
// Copyright (c) Microsoft Corporation.
|
33093
33145
|
// Licensed under the MIT License.
|
33094
33146
|
const mobileViewBannerWidth = '90%';
|
33095
33147
|
/** @private */
|
33096
33148
|
const CallingCaptionsBanner = (props) => {
|
33097
|
-
var _a
|
33149
|
+
var _a;
|
33098
33150
|
const captionsBannerProps = usePropsFor$1(CaptionsBanner);
|
33099
33151
|
const [isCaptionsSettingsOpen, setIsCaptionsSettingsOpen] = React.useState(false);
|
33100
33152
|
const onClickCaptionsSettings = () => {
|
@@ -33133,11 +33185,11 @@ const CallingCaptionsBanner = (props) => {
|
|
33133
33185
|
}, []);
|
33134
33186
|
const desktopViewBannerWidth = windowWidth > 620 ? '35rem' : '80%';
|
33135
33187
|
return (React.createElement(React.Fragment, null,
|
33136
|
-
isCaptionsSettingsOpen && (React.createElement(
|
33188
|
+
isCaptionsSettingsOpen && (React.createElement(CallingCaptionsSettingsModal, { showCaptionsSettingsModal: isCaptionsSettingsOpen, onDismissCaptionsSettings: onDismissCaptionsSettings, changeCaptionLanguage: props.useTeamsCaptions })),
|
33137
33189
|
React.createElement("div", { className: containerClassName },
|
33138
33190
|
React.createElement(react.Stack, { horizontalAlign: "center" },
|
33139
33191
|
React.createElement(react.Stack.Item, { style: { width: props.isMobile ? mobileViewBannerWidth : desktopViewBannerWidth } },
|
33140
|
-
React.createElement(CaptionsBanner, Object.assign({
|
33192
|
+
React.createElement(CaptionsBanner, Object.assign({ captionsOptions: props.captionsOptions, onRenderAvatar: onRenderAvatar, formFactor: props.isMobile ? 'compact' : 'default', strings: captionsBannerStrings }, captionsBannerProps)))),
|
33141
33193
|
!props.isMobile && captionsBannerProps.isCaptionsOn && (React.createElement("div", { className: floatingChildClassName },
|
33142
33194
|
React.createElement(CaptionsBannerMoreButton, { onCaptionsSettingsClick: onClickCaptionsSettings, returnFocusRef: props.returnFocusRef }))))));
|
33143
33195
|
};
|
@@ -34090,22 +34142,39 @@ const createAnnouncementString = (direction, participants, strings) => {
|
|
34090
34142
|
* when joining
|
34091
34143
|
* @returns whether the dialer should be the gallery content or not
|
34092
34144
|
*/
|
34093
|
-
const showDtmfDialer = (callees, remoteParticipants) => {
|
34094
|
-
let
|
34095
|
-
|
34096
|
-
|
34097
|
-
|
34145
|
+
const showDtmfDialer = (callees, remoteParticipants, dialerOptions) => {
|
34146
|
+
let showDtmfDialerAuto = false;
|
34147
|
+
if (typeof dialerOptions === 'object' && 'dialerBehavior' in dialerOptions) {
|
34148
|
+
const hideDtmfDialerAlways = dialerOptions.dialerBehavior && dialerOptions.dialerBehavior === 'alwaysHide';
|
34149
|
+
const showDtmfDialerAlways = dialerOptions.dialerBehavior === 'alwaysShow';
|
34150
|
+
showDtmfDialerAuto = dialerOptions.dialerBehavior === 'autoShow' ? true : false;
|
34151
|
+
if (showDtmfDialerAlways) {
|
34152
|
+
return true;
|
34098
34153
|
}
|
34099
|
-
|
34100
|
-
|
34101
|
-
|
34102
|
-
|
34103
|
-
|
34154
|
+
if (hideDtmfDialerAlways) {
|
34155
|
+
return false;
|
34156
|
+
}
|
34157
|
+
}
|
34158
|
+
let showDtmfDialer = false;
|
34159
|
+
/**
|
34160
|
+
* We also want to check to see if the option is undefined. If this is the case we want this function
|
34161
|
+
* to fallback on the original logic so that it will also render the callControls to show and hide the dialpad
|
34162
|
+
* for the user.
|
34163
|
+
*/
|
34164
|
+
if (showDtmfDialerAuto || dialerOptions === undefined || dialerOptions === false) {
|
34165
|
+
callees === null || callees === void 0 ? void 0 : callees.forEach((callee) => {
|
34166
|
+
if (communicationCommon.isMicrosoftTeamsAppIdentifier(callee) || communicationCommon.isPhoneNumberIdentifier(callee)) {
|
34167
|
+
showDtmfDialer = true;
|
34104
34168
|
}
|
34105
34169
|
});
|
34170
|
+
if (remoteParticipants) {
|
34171
|
+
remoteParticipants.forEach((participant) => {
|
34172
|
+
if (!('phoneNumber' in participant.identifier || 'teamsAppId' in participant.identifier)) {
|
34173
|
+
showDtmfDialer = false;
|
34174
|
+
}
|
34175
|
+
});
|
34176
|
+
}
|
34106
34177
|
}
|
34107
|
-
/* @conditional-compile-remove(dtmf-dialer-on-by-default) */
|
34108
|
-
showDtmfDialer = true;
|
34109
34178
|
return showDtmfDialer;
|
34110
34179
|
};
|
34111
34180
|
|
@@ -34128,13 +34197,12 @@ const DesktopMoreButton = (props) => {
|
|
34128
34197
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
34129
34198
|
const localeStrings = useLocale();
|
34130
34199
|
const holdButtonProps = usePropsFor$1(HoldButton);
|
34131
|
-
const startCaptionsButtonProps =
|
34132
|
-
const startCaptionsButtonHandlers = useHandlers();
|
34200
|
+
const startCaptionsButtonProps = usePropsFor$1(StartCaptionsButton);
|
34133
34201
|
const startCaptions = React.useCallback(() => __awaiter$m(void 0, void 0, void 0, function* () {
|
34134
|
-
yield
|
34202
|
+
yield startCaptionsButtonProps.onStartCaptions({
|
34135
34203
|
spokenLanguage: startCaptionsButtonProps.currentSpokenLanguage
|
34136
34204
|
});
|
34137
|
-
}), [
|
34205
|
+
}), [startCaptionsButtonProps]);
|
34138
34206
|
/* @conditional-compile-remove(overflow-top-composite) */
|
34139
34207
|
const [galleryPositionTop, setGalleryPositionTop] = React.useState(false);
|
34140
34208
|
const [focusedContentOn, setFocusedContentOn] = React.useState(false);
|
@@ -34202,7 +34270,7 @@ const DesktopMoreButton = (props) => {
|
|
34202
34270
|
: localeStrings.strings.call.startCaptionsButtonTooltipOffContent,
|
34203
34271
|
onClick: () => {
|
34204
34272
|
startCaptionsButtonProps.checked
|
34205
|
-
?
|
34273
|
+
? startCaptionsButtonProps.onStopCaptions()
|
34206
34274
|
: startCaptionsButtonProps.currentSpokenLanguage !== ''
|
34207
34275
|
? startCaptions()
|
34208
34276
|
: props.onCaptionsSettingsClick && props.onCaptionsSettingsClick();
|
@@ -34939,7 +35007,7 @@ const CommonCallControlBar = React.forwardRef((props, commonCallControlBarRef) =
|
|
34939
35007
|
const reactionResources = props.callAdapter.getState().reactions;
|
34940
35008
|
return (React.createElement("div", { ref: controlBarSizeRef },
|
34941
35009
|
React.createElement(CallAdapterProvider, { adapter: props.callAdapter },
|
34942
|
-
showCaptionsSettingsModal && (React.createElement(
|
35010
|
+
showCaptionsSettingsModal && (React.createElement(CallingCaptionsSettingsModal, { showCaptionsSettingsModal: showCaptionsSettingsModal, onDismissCaptionsSettings: onDismissCaptionsSettings, changeCaptionLanguage: props.isCaptionsOn && props.useTeamsCaptions })),
|
34943
35011
|
props.teamsMeetingConferenceModalPresent && (React.createElement(MeetingConferencePhoneInfoModal, { conferencePhoneInfoList: (_e = (_d = (_c = props.callAdapter.getState().call) === null || _c === void 0 ? void 0 : _c.meetingConference) === null || _d === void 0 ? void 0 : _d.conferencePhones) !== null && _e !== void 0 ? _e : [], showModal: props.teamsMeetingConferenceModalPresent, onDismissMeetingPhoneInfoSettings: props.onToggleTeamsMeetingConferenceModal }))),
|
34944
35012
|
React.createElement(react.Stack, { horizontal: true, reversed: !props.mobileView && !isOutOfSpace, horizontalAlign: "space-between", className: react.mergeStyles(callControlsContainerStyles, controlBarContainerStyles, controlBarDesktopContainerStyles) },
|
34945
35013
|
React.createElement(react.Stack.Item, { grow: true, className: react.mergeStyles(controlBarWrapperDesktopStyles) },
|
@@ -34995,9 +35063,7 @@ const CommonCallControlBar = React.forwardRef((props, commonCallControlBarRef) =
|
|
34995
35063
|
!props.mobileView && sideButtonsPresent && (React.createElement(react.Stack.Item, null,
|
34996
35064
|
React.createElement("div", { ref: sidepaneControlsRef },
|
34997
35065
|
React.createElement(react.Stack, { horizontal: true, className: !props.mobileView ? react.mergeStyles(desktopButtonContainerStyle) : undefined },
|
34998
|
-
isEnabled$1(options === null || options === void 0 ? void 0 : options.peopleButton) && (React.createElement(PeopleButton, { checked: props.peopleButtonChecked, ariaLabel: props.
|
34999
|
-
? peopleButtonStrings === null || peopleButtonStrings === void 0 ? void 0 : peopleButtonStrings.tooltipCloseAriaLabel
|
35000
|
-
: peopleButtonStrings === null || peopleButtonStrings === void 0 ? void 0 : peopleButtonStrings.tooltipOpenAriaLabel, showLabel: options.displayType !== 'compact', onClick: props.onPeopleButtonClicked, "data-ui-id": "common-call-composite-people-button", disabled: props.disableButtonsForLobbyPage ||
|
35066
|
+
isEnabled$1(options === null || options === void 0 ? void 0 : options.peopleButton) && (React.createElement(PeopleButton, { checked: props.peopleButtonChecked, ariaLabel: peopleButtonStrings.label, showLabel: options.displayType !== 'compact', onClick: props.onPeopleButtonClicked, "data-ui-id": "common-call-composite-people-button", disabled: props.disableButtonsForLobbyPage ||
|
35001
35067
|
props.disableButtonsForHoldScreen ||
|
35002
35068
|
isDisabled$4(options.peopleButton), strings: peopleButtonStrings, styles: commonButtonStyles, componentRef: props.peopleButtonRef })), (_o = customButtons['secondary']) === null || _o === void 0 ? void 0 :
|
35003
35069
|
_o.slice(0, CUSTOM_BUTTON_OPTIONS.MAX_SECONDARY_DESKTOP_CUSTOM_BUTTONS).map((CustomButton, i) => {
|
@@ -35252,7 +35318,8 @@ const MoreDrawer = (props) => {
|
|
35252
35318
|
const localeStrings = useLocale();
|
35253
35319
|
const holdButtonProps = usePropsFor$1(HoldButton);
|
35254
35320
|
const callees = useSelector$1(getTargetCallees);
|
35255
|
-
const
|
35321
|
+
const participants = useSelector$1(getRemoteParticipantsConnectedSelector);
|
35322
|
+
const allowDtmfDialer = showDtmfDialer(callees, participants, props.dtmfDialerOptions);
|
35256
35323
|
const [dtmfDialerChecked, setDtmfDialerChecked] = React.useState((_a = props.dtmfDialerPresent) !== null && _a !== void 0 ? _a : false);
|
35257
35324
|
const raiseHandButtonProps = usePropsFor$1(RaiseHandButton);
|
35258
35325
|
const onSpeakerItemClick = React.useCallback((_ev, itemKey) => {
|
@@ -35484,23 +35551,22 @@ const MoreDrawer = (props) => {
|
|
35484
35551
|
const supportedSpokenLanguageStrings = useLocale().strings.call.spokenLanguageStrings;
|
35485
35552
|
//Captions drawer menu
|
35486
35553
|
const supportedCaptionLanguageStrings = useLocale().strings.call.captionLanguageStrings;
|
35487
|
-
const captionSettingsProp =
|
35488
|
-
const
|
35489
|
-
const captionSettingsHandlers = useHandlers();
|
35554
|
+
const captionSettingsProp = usePropsFor$1(CaptionsSettingsModal);
|
35555
|
+
const startCaptionsButtonProps = usePropsFor$1(StartCaptionsButton);
|
35490
35556
|
const [isSpokenLanguageDrawerOpen, setIsSpokenLanguageDrawerOpen] = React.useState(false);
|
35491
35557
|
const [isCaptionLanguageDrawerOpen, setIsCaptionLanguageDrawerOpen] = React.useState(false);
|
35492
35558
|
const [currentSpokenLanguage, setCurrentSpokenLanguage] = React.useState((_f = captionSettingsProp.currentSpokenLanguage) !== null && _f !== void 0 ? _f : 'en-us');
|
35493
35559
|
const [currentCaptionLanguage, setCurrentCaptionLanguage] = React.useState((_g = captionSettingsProp.currentCaptionLanguage) !== null && _g !== void 0 ? _g : _spokenLanguageToCaptionLanguage[currentSpokenLanguage]);
|
35494
35560
|
const onToggleChange = React.useCallback(() => __awaiter$j(void 0, void 0, void 0, function* () {
|
35495
35561
|
if (!captionSettingsProp.isCaptionsFeatureActive) {
|
35496
|
-
yield
|
35562
|
+
yield startCaptionsButtonProps.onStartCaptions({
|
35497
35563
|
spokenLanguage: currentSpokenLanguage
|
35498
35564
|
});
|
35499
35565
|
}
|
35500
35566
|
else {
|
35501
|
-
|
35567
|
+
startCaptionsButtonProps.onStopCaptions();
|
35502
35568
|
}
|
35503
|
-
}), [captionSettingsProp.isCaptionsFeatureActive,
|
35569
|
+
}), [captionSettingsProp.isCaptionsFeatureActive, startCaptionsButtonProps, currentSpokenLanguage]);
|
35504
35570
|
if (showCaptionsButton) {
|
35505
35571
|
const captionsDrawerItems = [];
|
35506
35572
|
const spokenLanguageString = supportedSpokenLanguageStrings
|
@@ -35581,8 +35647,8 @@ const MoreDrawer = (props) => {
|
|
35581
35647
|
drawerMenuItems.push(element);
|
35582
35648
|
});
|
35583
35649
|
return (React.createElement(React.Fragment, null,
|
35584
|
-
isSpokenLanguageDrawerOpen && showCaptionsButton && (React.createElement(SpokenLanguageSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentSpokenLanguage, setCurrentLanguage:
|
35585
|
-
isCaptionLanguageDrawerOpen && showCaptionsButton && (React.createElement(CaptionLanguageSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentCaptionLanguage, setCurrentLanguage:
|
35650
|
+
isSpokenLanguageDrawerOpen && showCaptionsButton && (React.createElement(SpokenLanguageSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentSpokenLanguage, setCurrentLanguage: captionSettingsProp.onSetSpokenLanguage, currentLanguage: currentSpokenLanguage, strings: { menuTitle: props.strings.spokenLanguageMenuTitle }, supportedLanguageStrings: supportedSpokenLanguageStrings })),
|
35651
|
+
isCaptionLanguageDrawerOpen && showCaptionsButton && (React.createElement(CaptionLanguageSettingsDrawer, { onLightDismiss: props.onLightDismiss, selectLanguage: setCurrentCaptionLanguage, setCurrentLanguage: captionSettingsProp.onSetCaptionLanguage, currentLanguage: currentCaptionLanguage, strings: { menuTitle: props.strings.captionLanguageMenuTitle }, supportedLanguageStrings: supportedCaptionLanguageStrings })),
|
35586
35652
|
!isSpokenLanguageDrawerOpen && !isCaptionLanguageDrawerOpen && (React.createElement(_DrawerMenu, { items: drawerMenuItems, onLightDismiss: props.onLightDismiss }))));
|
35587
35653
|
};
|
35588
35654
|
const isDeviceSelected = (speaker, selectedSpeaker) => !!selectedSpeaker && speaker.id === selectedSpeaker.id;
|
@@ -37952,7 +38018,7 @@ const CallArrangement = (props) => {
|
|
37952
38018
|
padding: verticalControlBar ? '0.25rem' : 'unset'
|
37953
38019
|
}) }, isLegacyCallControlEnabled((_f = props.callControlProps) === null || _f === void 0 ? void 0 : _f.options) ? (React.createElement(CallControls, Object.assign({}, props.callControlProps, { containerWidth: containerWidth, containerHeight: containerHeight, isMobile: props.mobileView, peopleButtonChecked: isPeoplePaneOpen, onPeopleButtonClicked: togglePeoplePane, displayVertical: verticalControlBar }))) : (React.createElement(CommonCallControlBar, Object.assign({}, props.callControlProps, { ref: controlBarRef, callControls: props.callControlProps.options, callAdapter: adapter, mobileView: props.mobileView, disableButtonsForLobbyPage: isInLobby, disableButtonsForHoldScreen: isInLocalHold, peopleButtonChecked: isPeoplePaneOpen, onPeopleButtonClicked: togglePeoplePane, onMoreButtonClicked: onMoreButtonClicked, isCaptionsSupported: (useTeamsCaptions && hasJoinedCall) || hasJoinedCall, useTeamsCaptions: useTeamsCaptions, isCaptionsOn: isCaptionsOn, onClickVideoEffects: onResolveVideoEffectDependency ? openVideoEffectsPane : undefined, displayVertical: verticalControlBar, onUserSetOverflowGalleryPositionChange: props.onUserSetOverflowGalleryPositionChange, onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange, userSetGalleryLayout: props.userSetGalleryLayout, onSetDialpadPage: props.onSetDialpadPage, dtmfDialerPresent: props.dtmfDialerPresent, peopleButtonRef: peopleButtonRef, cameraButtonRef: cameraButtonRef, onStopLocalSpotlight: !hideSpotlightButtons && localParticipant.spotlight ? onStopLocalSpotlightWithPrompt : undefined, onToggleTeamsMeetingConferenceModal: toggleTeamsMeetingConferenceModal, teamsMeetingConferenceModalPresent: showTeamsMeetingConferenceModal }))))),
|
37954
38020
|
((_g = props.callControlProps) === null || _g === void 0 ? void 0 : _g.options) !== false && showDrawer && (React.createElement(react.Stack, { styles: drawerContainerStylesValue },
|
37955
|
-
React.createElement(PreparedMoreDrawer, { callControls: props.callControlProps.options, onLightDismiss: closeDrawer, onPeopleButtonClicked: onMoreDrawerPeopleClicked, disableButtonsForHoldScreen: isInLocalHold, isCaptionsSupported: (useTeamsCaptions && hasJoinedCall) || hasJoinedCall, useTeamsCaptions: useTeamsCaptions, onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange, userSetGalleryLayout: props.userSetGalleryLayout, onSetDialpadPage: props.onSetDialpadPage, dtmfDialerPresent: props.dtmfDialerPresent, reactionResources: reactionResources, onClickMeetingPhoneInfo: onMeetingPhoneInfoClicked }))),
|
38021
|
+
React.createElement(PreparedMoreDrawer, { callControls: props.callControlProps.options, onLightDismiss: closeDrawer, onPeopleButtonClicked: onMoreDrawerPeopleClicked, disableButtonsForHoldScreen: isInLocalHold, isCaptionsSupported: (useTeamsCaptions && hasJoinedCall) || hasJoinedCall, useTeamsCaptions: useTeamsCaptions, onUserSetGalleryLayout: props.onUserSetGalleryLayoutChange, userSetGalleryLayout: props.userSetGalleryLayout, onSetDialpadPage: props.onSetDialpadPage, dtmfDialerPresent: props.dtmfDialerPresent, dtmfDialerOptions: props.dtmfDialerOptions, reactionResources: reactionResources, onClickMeetingPhoneInfo: onMeetingPhoneInfoClicked }))),
|
37956
38022
|
React.createElement(react.Stack, { horizontal: true, grow: true },
|
37957
38023
|
React.createElement(react.Stack.Item, { style: callCompositeContainerCSS },
|
37958
38024
|
React.createElement(react.Stack.Item, { styles: callGalleryStyles, grow: true },
|
@@ -38452,7 +38518,7 @@ const DtmfDialpadPage = (props) => {
|
|
38452
38518
|
*/
|
38453
38519
|
const CallPage = (props) => {
|
38454
38520
|
var _a, _b, _c, _d;
|
38455
|
-
const { callInvitationURL, onFetchAvatarPersonaData, onFetchParticipantMenuItems, options, mobileView, galleryLayout = 'floatingLocalVideo', onUserSetGalleryLayoutChange, userSetOverflowGalleryPosition = 'Responsive', onSetUserSetOverflowGalleryPosition, onCloseChatPane, pinnedParticipants = [], setPinnedParticipants, compositeAudioContext, disableAutoShowDtmfDialer =
|
38521
|
+
const { callInvitationURL, onFetchAvatarPersonaData, onFetchParticipantMenuItems, options, mobileView, galleryLayout = 'floatingLocalVideo', onUserSetGalleryLayoutChange, userSetOverflowGalleryPosition = 'Responsive', onSetUserSetOverflowGalleryPosition, onCloseChatPane, pinnedParticipants = [], setPinnedParticipants, compositeAudioContext, disableAutoShowDtmfDialer = { dialerBehavior: 'autoShow' }, latestNotifications, onDismissNotification } = props;
|
38456
38522
|
// To use useProps to get these states, we need to create another file wrapping Call,
|
38457
38523
|
// It seems unnecessary in this case, so we get the updated states using this approach.
|
38458
38524
|
const { callStatus } = useSelector$1(callStatusSelector);
|
@@ -38464,8 +38530,8 @@ const CallPage = (props) => {
|
|
38464
38530
|
const networkReconnectTileProps = useSelector$1(networkReconnectTileSelector);
|
38465
38531
|
const remoteParticipantsConnected = useSelector$1(getRemoteParticipantsConnectedSelector);
|
38466
38532
|
const callees = useSelector$1(getTargetCallees);
|
38467
|
-
const renderDtmfDialerFromStart = showDtmfDialer(callees, remoteParticipantsConnected);
|
38468
|
-
const [dtmfDialerPresent, setDtmfDialerPresent] = React.useState(renderDtmfDialerFromStart
|
38533
|
+
const renderDtmfDialerFromStart = showDtmfDialer(callees, remoteParticipantsConnected, disableAutoShowDtmfDialer);
|
38534
|
+
const [dtmfDialerPresent, setDtmfDialerPresent] = React.useState(renderDtmfDialerFromStart);
|
38469
38535
|
const strings = useLocale().strings.call;
|
38470
38536
|
const pinnedParticipantsChecked = React.useMemo(() => pinnedParticipants.filter((pinnedParticipant) => remoteParticipantsConnected.find((remoteParticipant) => toFlatCommunicationIdentifier(remoteParticipant.identifier) === pinnedParticipant)), [pinnedParticipants, remoteParticipantsConnected]);
|
38471
38537
|
// Reduce the controls shown when mobile view is enabled.
|
@@ -38490,7 +38556,7 @@ const CallPage = (props) => {
|
|
38490
38556
|
increaseFlyoutItemSize: mobileView
|
38491
38557
|
}, onFetchAvatarPersonaData: onFetchAvatarPersonaData, mobileView: mobileView, modalLayerHostId: props.modalLayerHostId, onRenderGalleryContent: () => _isInCall(callStatus) ? (isNetworkHealthy(networkReconnectTileProps.networkReconnectValue) ? (onRenderGalleryContentTrampoline()) : (React.createElement(NetworkReconnectTile, Object.assign({}, networkReconnectTileProps, { isMobile: mobileView })))) : (React.createElement(React.Fragment, null)), updateSidePaneRenderer: props.updateSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, onCloseChatPane: onCloseChatPane, dataUiId: 'call-page', latestErrors: props.latestErrors, latestNotifications: latestNotifications, onDismissError: props.onDismissError, onDismissNotification: onDismissNotification, onUserSetOverflowGalleryPositionChange: onSetUserSetOverflowGalleryPosition, onUserSetGalleryLayoutChange: onUserSetGalleryLayoutChange, userSetGalleryLayout: galleryLayout, capabilitiesChangedNotificationBarProps: props.capabilitiesChangedNotificationBarProps, onSetDialpadPage: () => setDtmfDialerPresent(!dtmfDialerPresent), dtmfDialerPresent: dtmfDialerPresent, setIsPromptOpen: setIsPromptOpen, setPromptProps: setPromptProps, hideSpotlightButtons: (_b = options === null || options === void 0 ? void 0 : options.spotlight) === null || _b === void 0 ? void 0 : _b.hideSpotlightButtons, pinnedParticipants: pinnedParticipantsChecked, setPinnedParticipants: setPinnedParticipants,
|
38492
38558
|
/* @conditional-compile-remove(call-readiness) */
|
38493
|
-
doNotShowCameraAccessNotifications: ((_d = (_c = props.options) === null || _c === void 0 ? void 0 : _c.deviceChecks) === null || _d === void 0 ? void 0 : _d.camera) === 'doNotPrompt', captionsOptions: options === null || options === void 0 ? void 0 : options.captionsBanner }),
|
38559
|
+
doNotShowCameraAccessNotifications: ((_d = (_c = props.options) === null || _c === void 0 ? void 0 : _c.deviceChecks) === null || _d === void 0 ? void 0 : _d.camera) === 'doNotPrompt', captionsOptions: options === null || options === void 0 ? void 0 : options.captionsBanner, dtmfDialerOptions: disableAutoShowDtmfDialer }),
|
38494
38560
|
React.createElement(Prompt, Object.assign({ isOpen: isPromptOpen, onDismiss: () => setIsPromptOpen(false) }, promptProps))));
|
38495
38561
|
};
|
38496
38562
|
/**
|
@@ -45454,6 +45520,7 @@ exports.CameraAndMicrophoneSitePermissions = CameraAndMicrophoneSitePermissions;
|
|
45454
45520
|
exports.CameraButton = CameraButton;
|
45455
45521
|
exports.CameraSitePermissions = CameraSitePermissions;
|
45456
45522
|
exports.CaptionsBanner = CaptionsBanner;
|
45523
|
+
exports.CaptionsSettingsModal = CaptionsSettingsModal;
|
45457
45524
|
exports.ChatClientProvider = ChatClientProvider;
|
45458
45525
|
exports.ChatComposite = ChatComposite;
|
45459
45526
|
exports.ChatThreadClientProvider = ChatThreadClientProvider;
|
@@ -45494,6 +45561,7 @@ exports.RichTextSendBox = RichTextSendBox;
|
|
45494
45561
|
exports.RichTextSendBoxErrors = RichTextSendBoxErrors;
|
45495
45562
|
exports.ScreenShareButton = ScreenShareButton;
|
45496
45563
|
exports.SendBox = SendBox;
|
45564
|
+
exports.StartCaptionsButton = StartCaptionsButton;
|
45497
45565
|
exports.StreamMedia = StreamMedia;
|
45498
45566
|
exports.TypingIndicator = TypingIndicator;
|
45499
45567
|
exports.UnsupportedBrowser = UnsupportedBrowser$n;
|
@@ -45565,4 +45633,4 @@ exports.useTeamsCall = useTeamsCall;
|
|
45565
45633
|
exports.useTeamsCallAdapter = useTeamsCallAdapter;
|
45566
45634
|
exports.useTeamsCallAgent = useTeamsCallAgent;
|
45567
45635
|
exports.useTheme = useTheme;
|
45568
|
-
//# sourceMappingURL=index-
|
45636
|
+
//# sourceMappingURL=index-DGukAwsx.js.map
|