@azure/communication-react 1.21.0-alpha-202410190016 → 1.21.0-alpha-202410210016

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.
Files changed (58) hide show
  1. package/dist/communication-react.d.ts +1 -1
  2. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-jsMhMFFC.js → ChatMessageComponentAsRichTextEditBox-CskWqSjD.js} +2 -2
  3. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-jsMhMFFC.js.map → ChatMessageComponentAsRichTextEditBox-CskWqSjD.js.map} +1 -1
  4. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BOZa7syp.js → RichTextSendBoxWrapper-BmT4tjtB.js} +2 -2
  5. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BOZa7syp.js.map → RichTextSendBoxWrapper-BmT4tjtB.js.map} +1 -1
  6. package/dist/dist-cjs/communication-react/{index-D2gCkgD1.js → index-CsAc6QmC.js} +26 -81
  7. package/dist/dist-cjs/communication-react/index-CsAc6QmC.js.map +1 -0
  8. package/dist/dist-cjs/communication-react/index.js +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -1
  12. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  13. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +1 -5
  14. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +0 -4
  15. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  16. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js +0 -1
  17. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js.map +1 -1
  18. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +1 -1
  19. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  20. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +0 -3
  21. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  22. package/dist/dist-esm/communication-react/src/api-summary.js +0 -1
  23. package/dist/dist-esm/communication-react/src/api-summary.js.map +1 -1
  24. package/dist/dist-esm/communication-react/src/javascript-loaders.js +0 -1
  25. package/dist/dist-esm/communication-react/src/javascript-loaders.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  27. package/dist/dist-esm/react-components/src/components/NotificationStack.js.map +1 -1
  28. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +2 -3
  30. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  31. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +3 -5
  32. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  33. package/dist/dist-esm/react-components/src/components/VideoGallery.js +3 -7
  34. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  35. package/dist/dist-esm/react-components/src/components/utils.js +0 -1
  36. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  37. package/dist/dist-esm/react-components/src/theming/icons.js +0 -2
  38. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +0 -4
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +2 -14
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +2 -8
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  47. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +10 -26
  48. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  49. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +0 -2
  50. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +0 -2
  52. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  54. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +0 -2
  55. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  57. package/package.json +1 -1
  58. package/dist/dist-cjs/communication-react/index-D2gCkgD1.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.21.0-alpha-202410190016';
191
+ var telemetryVersion = '1.21.0-alpha-202410210016';
192
192
 
193
193
 
194
194
  var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
@@ -1281,7 +1281,6 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1281
1281
  const onStopAllSpotlight = () => __awaiter$_(void 0, void 0, void 0, function* () {
1282
1282
  yield (call === null || call === void 0 ? void 0 : call.feature(communicationCalling.Features.Spotlight).stopAllSpotlight());
1283
1283
  });
1284
- /* @conditional-compile-remove(soft-mute) */
1285
1284
  const onMuteParticipant = (userId) => __awaiter$_(void 0, void 0, void 0, function* () {
1286
1285
  if (call === null || call === void 0 ? void 0 : call.remoteParticipants) {
1287
1286
  call === null || call === void 0 ? void 0 : call.remoteParticipants.forEach((participant) => __awaiter$_(void 0, void 0, void 0, function* () {
@@ -1293,7 +1292,6 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1293
1292
  }));
1294
1293
  }
1295
1294
  });
1296
- /* @conditional-compile-remove(soft-mute) */
1297
1295
  const onMuteAllRemoteParticipants = () => __awaiter$_(void 0, void 0, void 0, function* () {
1298
1296
  call === null || call === void 0 ? void 0 : call.muteAllRemoteParticipants();
1299
1297
  });
@@ -1365,9 +1363,7 @@ const createDefaultCommonCallingHandlers = memoizeOne((callClient, deviceManager
1365
1363
  onStopLocalSpotlight,
1366
1364
  onStartRemoteSpotlight,
1367
1365
  onStopRemoteSpotlight,
1368
- /* @conditional-compile-remove(soft-mute) */
1369
1366
  onMuteParticipant,
1370
- /* @conditional-compile-remove(soft-mute) */
1371
1367
  onMuteAllRemoteParticipants,
1372
1368
  onAcceptCall: notImplemented,
1373
1369
  onRejectCall: notImplemented
@@ -1638,7 +1634,6 @@ const notificationStackSelector = reselect.createSelector([
1638
1634
  appendActiveErrorIfDefined$1(activeErrorMessages, latestErrors, 'Call.startVideo', 'startVideoGeneric');
1639
1635
  }
1640
1636
  appendActiveErrorIfDefined$1(activeErrorMessages, latestErrors, 'Call.unmute', 'unmuteGeneric');
1641
- /* @conditional-compile-remove(soft-mute) */
1642
1637
  appendActiveErrorIfDefined$1(activeErrorMessages, latestErrors, 'Call.mutedByOthers', 'mutedByRemoteParticipant');
1643
1638
  appendActiveErrorIfDefined$1(activeErrorMessages, latestErrors, 'VideoEffectsFeature.startEffects', 'unableToStartVideoEffect');
1644
1639
  if (((_s = latestErrors['CallAgent.join']) === null || _s === void 0 ? void 0 : _s.message) === 'CallAgent.join: Invalid meeting link') {
@@ -4962,7 +4957,6 @@ class CallSubscriber {
4962
4957
  this._call.feature(communicationCalling.Features.DominantSpeakers).on('dominantSpeakersChanged', this.dominantSpeakersChanged);
4963
4958
  /* @conditional-compile-remove(total-participant-count) */
4964
4959
  this._call.on('totalParticipantCountChanged', this.totalParticipantCountChangedHandler);
4965
- /* @conditional-compile-remove(soft-mute) */
4966
4960
  this._call.on('mutedByOthers', this.mutedByOthersHandler);
4967
4961
  for (const localVideoStream of this._call.localVideoStreams) {
4968
4962
  this._internalContext.setLocalRenderInfo(this._callIdRef.callId, localVideoStream.mediaStreamType, localVideoStream, 'NotRendered', undefined);
@@ -4989,7 +4983,6 @@ class CallSubscriber {
4989
4983
  this._call.off('roleChanged', this.callRoleChangedHandler);
4990
4984
  /* @conditional-compile-remove(total-participant-count) */
4991
4985
  this._call.off('totalParticipantCountChanged', this.totalParticipantCountChangedHandler);
4992
- /* @conditional-compile-remove(soft-mute) */
4993
4986
  this._call.off('mutedByOthers', this.mutedByOthersHandler);
4994
4987
  this._participantSubscribers.forEach((participantSubscriber) => {
4995
4988
  participantSubscriber.unsubscribe();
@@ -5068,7 +5061,6 @@ class CallSubscriber {
5068
5061
  this._context.setTotalParticipantCount(this._callIdRef.callId, this._call.totalParticipantCount);
5069
5062
  };
5070
5063
  // TODO: Tee to notification state once available
5071
- /* @conditional-compile-remove(soft-mute) */
5072
5064
  this.mutedByOthersHandler = () => {
5073
5065
  this._context.teeErrorToState({ name: 'mutedByOthers', message: 'Muted by another participant' }, 'Call.mutedByOthers');
5074
5066
  };
@@ -7073,7 +7065,6 @@ const customNotificationIconName = {
7073
7065
  callVideoStoppedBySystem: 'ErrorBarCallVideoStoppedBySystem',
7074
7066
  callVideoRecoveredBySystem: 'ErrorBarCallVideoRecoveredBySystem',
7075
7067
  callMacOsCameraAccessDenied: 'ErrorBarCallMacOsCameraAccessDenied',
7076
- /* @conditional-compile-remove(soft-mute) */
7077
7068
  mutedByRemoteParticipant: 'ErrorBarMutedByRemoteParticipant',
7078
7069
  speakingWhileMuted: 'ErrorBarCallMicrophoneMutedBySystem',
7079
7070
  recordingStarted: 'NotificationBarRecording',
@@ -7793,7 +7784,6 @@ const DEFAULT_COMPONENT_ICONS = {
7793
7784
  ErrorBarClear: React.createElement(reactIcons.Dismiss16Regular, null),
7794
7785
  ErrorBarCallVideoRecoveredBySystem: React.createElement(reactIcons.Video16Filled, null),
7795
7786
  ErrorBarCallVideoStoppedBySystem: React.createElement(reactIcons.VideoProhibited16Filled, null),
7796
- /* @conditional-compile-remove(soft-mute) */
7797
7787
  ErrorBarMutedByRemoteParticipant: React.createElement(reactIcons.MicOff16Regular, null),
7798
7788
  NotificationBarRecording: React.createElement(reactIcons.Record16Regular, null),
7799
7789
  /* @conditional-compile-remove(breakout-rooms) */
@@ -7901,7 +7891,6 @@ const DEFAULT_COMPONENT_ICONS = {
7901
7891
  RichTextTableInsertMenuIcon: React.createElement(reactIcons.TableAdd20Regular, null),
7902
7892
  /* @conditional-compile-remove(rich-text-editor) */
7903
7893
  RichTextTableDeleteMenuIcon: React.createElement(reactIcons.TableDismiss20Regular, null),
7904
- /* @conditional-compile-remove(soft-mute) */
7905
7894
  ContextualMenuMicMutedIcon: React.createElement(reactIcons.MicOff20Regular, null),
7906
7895
  IncomingCallNotificationRejectIcon: React.createElement(reactIcons.CallEnd20Filled, null),
7907
7896
  IncomingCallNotificationAcceptIcon: React.createElement(reactIcons.Call20Filled, null),
@@ -15313,7 +15302,7 @@ class _ErrorBoundary extends React.Component {
15313
15302
  // Copyright (c) Microsoft Corporation.
15314
15303
  // Licensed under the MIT License.
15315
15304
  /* @conditional-compile-remove(rich-text-editor) */
15316
- const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-jsMhMFFC.js'); }));
15305
+ const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-CskWqSjD.js'); }));
15317
15306
  /**
15318
15307
  * @private
15319
15308
  * Use this function to load RoosterJS dependencies early in the lifecycle.
@@ -15321,7 +15310,7 @@ const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve()
15321
15310
  *
15322
15311
  * @conditional-compile-remove(rich-text-editor)
15323
15312
  */
15324
- const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-jsMhMFFC.js'); });
15313
+ const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-CskWqSjD.js'); });
15325
15314
  /**
15326
15315
  * @private
15327
15316
  */
@@ -17618,15 +17607,13 @@ const useRemoteVideoStreamLifecycleMaintainer = (props) => {
17618
17607
  */
17619
17608
  const useVideoTileContextualMenuProps = (props) => {
17620
17609
  var _a;
17621
- const { participant, view, strings, isPinned, onPinParticipant, onUnpinParticipant, onUpdateScalingMode, disablePinMenuItem, toggleAnnouncerString, spotlightedParticipantUserIds = [], isSpotlighted, onStartSpotlight, onStopSpotlight, maxParticipantsToSpotlight, myUserId,
17622
- /* @conditional-compile-remove(soft-mute) */ onMuteParticipant } = props;
17610
+ const { participant, view, strings, isPinned, onPinParticipant, onUnpinParticipant, onUpdateScalingMode, disablePinMenuItem, toggleAnnouncerString, spotlightedParticipantUserIds = [], isSpotlighted, onStartSpotlight, onStopSpotlight, maxParticipantsToSpotlight, myUserId, onMuteParticipant } = props;
17623
17611
  const scalingMode = React.useMemo(() => {
17624
17612
  var _a;
17625
17613
  return (_a = props.participant.videoStream) === null || _a === void 0 ? void 0 : _a.scalingMode;
17626
17614
  }, [(_a = props.participant.videoStream) === null || _a === void 0 ? void 0 : _a.scalingMode]);
17627
17615
  const contextualMenuProps = React.useMemo(() => {
17628
17616
  const items = [];
17629
- /* @conditional-compile-remove(soft-mute) */
17630
17617
  if (onMuteParticipant && (strings === null || strings === void 0 ? void 0 : strings.muteParticipantMenuItemLabel)) {
17631
17618
  items.push({
17632
17619
  key: 'mute',
@@ -17783,8 +17770,8 @@ const useVideoTileContextualMenuProps = (props) => {
17783
17770
  onStopSpotlight,
17784
17771
  maxParticipantsToSpotlight,
17785
17772
  myUserId,
17786
- /* @conditional-compile-remove(soft-mute) */ onMuteParticipant,
17787
- /* @conditional-compile-remove(soft-mute) */ participant.isMuted
17773
+ onMuteParticipant,
17774
+ participant.isMuted
17788
17775
  ]);
17789
17776
  return contextualMenuProps;
17790
17777
  };
@@ -19000,8 +18987,7 @@ const MeetingReactionOverlay = (props) => {
19000
18987
  const _RemoteVideoTile = React.memo((props) => {
19001
18988
  var _a, _b;
19002
18989
  const { isAvailable, isReceiving = true, // default to true to prevent any breaking change
19003
- isScreenSharingOn, onCreateRemoteStreamView, onDisposeRemoteStreamView, remoteVideoViewOptions, renderElement, userId, onRenderAvatar, showMuteIndicator, remoteParticipant, participantState, menuKind, isPinned, onPinParticipant, onUnpinParticipant, spotlightedParticipantUserIds, isSpotlighted, onStartSpotlight, onStopSpotlight, maxParticipantsToSpotlight,
19004
- /* @conditional-compile-remove(soft-mute) */ onMuteParticipant, onUpdateScalingMode, disablePinMenuItem, toggleAnnouncerString, strings, reactionResources, streamId } = props;
18990
+ isScreenSharingOn, onCreateRemoteStreamView, onDisposeRemoteStreamView, remoteVideoViewOptions, renderElement, userId, onRenderAvatar, showMuteIndicator, remoteParticipant, participantState, menuKind, isPinned, onPinParticipant, onUnpinParticipant, spotlightedParticipantUserIds, isSpotlighted, onStartSpotlight, onStopSpotlight, maxParticipantsToSpotlight, onMuteParticipant, onUpdateScalingMode, disablePinMenuItem, toggleAnnouncerString, strings, reactionResources, streamId } = props;
19005
18991
  const remoteVideoStreamProps = React.useMemo(() => ({
19006
18992
  isMirrored: remoteVideoViewOptions === null || remoteVideoViewOptions === void 0 ? void 0 : remoteVideoViewOptions.isMirrored,
19007
18993
  isScreenSharingOn,
@@ -19042,7 +19028,7 @@ const _RemoteVideoTile = React.memo((props) => {
19042
19028
  onStartSpotlight,
19043
19029
  onStopSpotlight,
19044
19030
  maxParticipantsToSpotlight,
19045
- /* @conditional-compile-remove(soft-mute) */ onMuteParticipant
19031
+ onMuteParticipant
19046
19032
  });
19047
19033
  const videoTileContextualMenuProps = React.useMemo(() => {
19048
19034
  if (menuKind !== 'contextual' || !contextualMenuProps) {
@@ -21370,9 +21356,7 @@ const MAX_PINNED_REMOTE_VIDEO_TILES$1 = 4;
21370
21356
  */
21371
21357
  const VideoGallery = (props) => {
21372
21358
  var _a, _b, _c, _d;
21373
- const { localParticipant, remoteParticipants = [], localVideoViewOptions, remoteVideoViewOptions, dominantSpeakers, onRenderLocalVideoTile, onRenderRemoteVideoTile, onCreateLocalStreamView, onDisposeLocalStreamView, onCreateRemoteStreamView, onDisposeRemoteScreenShareStreamView, onDisposeLocalScreenShareStreamView, onDisposeRemoteVideoStreamView, styles, layout, onRenderAvatar, showMuteIndicator, maxRemoteVideoStreams = DEFAULT_MAX_REMOTE_VIDEO_STREAMS, showCameraSwitcherInLocalPreview, localVideoCameraCycleButtonProps, onPinParticipant: onPinParticipantHandler, onUnpinParticipant: onUnpinParticipantHandler, remoteVideoTileMenu = DEFAULT_REMOTE_VIDEO_TILE_MENU_OPTIONS, overflowGalleryPosition = 'horizontalBottom', localVideoTileSize = 'followDeviceOrientation', spotlightedParticipants, onStartLocalSpotlight, onStartRemoteSpotlight, onStopLocalSpotlight, onStopRemoteSpotlight, maxParticipantsToSpotlight, reactionResources, videoTilesOptions,
21374
- /* @conditional-compile-remove(soft-mute) */
21375
- onMuteParticipant } = props;
21359
+ const { localParticipant, remoteParticipants = [], localVideoViewOptions, remoteVideoViewOptions, dominantSpeakers, onRenderLocalVideoTile, onRenderRemoteVideoTile, onCreateLocalStreamView, onDisposeLocalStreamView, onCreateRemoteStreamView, onDisposeRemoteScreenShareStreamView, onDisposeLocalScreenShareStreamView, onDisposeRemoteVideoStreamView, styles, layout, onRenderAvatar, showMuteIndicator, maxRemoteVideoStreams = DEFAULT_MAX_REMOTE_VIDEO_STREAMS, showCameraSwitcherInLocalPreview, localVideoCameraCycleButtonProps, onPinParticipant: onPinParticipantHandler, onUnpinParticipant: onUnpinParticipantHandler, remoteVideoTileMenu = DEFAULT_REMOTE_VIDEO_TILE_MENU_OPTIONS, overflowGalleryPosition = 'horizontalBottom', localVideoTileSize = 'followDeviceOrientation', spotlightedParticipants, onStartLocalSpotlight, onStartRemoteSpotlight, onStopLocalSpotlight, onStopRemoteSpotlight, maxParticipantsToSpotlight, reactionResources, videoTilesOptions, onMuteParticipant } = props;
21376
21360
  const ids = useIdentifiers();
21377
21361
  const theme = useTheme();
21378
21362
  const localeStrings = useLocale$1().strings.videoGallery;
@@ -21510,9 +21494,7 @@ const VideoGallery = (props) => {
21510
21494
  ? remoteVideoTileMenu.kind === 'drawer'
21511
21495
  ? 'drawer'
21512
21496
  : 'contextual'
21513
- : undefined, drawerMenuHostId: drawerMenuHostId, onPinParticipant: onPinParticipant, onUnpinParticipant: onUnpinParticipant, onUpdateScalingMode: onUpdateScalingMode, isPinned: isPinned, disablePinMenuItem: pinnedParticipants.length >= MAX_PINNED_REMOTE_VIDEO_TILES$1, toggleAnnouncerString: toggleAnnouncerString, spotlightedParticipantUserIds: spotlightedParticipants, isSpotlighted: isSpotlighted, onStartSpotlight: onStartRemoteSpotlight, onStopSpotlight: onStopRemoteSpotlight, maxParticipantsToSpotlight: maxParticipantsToSpotlight, reactionResources: reactionResources,
21514
- /* @conditional-compile-remove(soft-mute) */
21515
- onMuteParticipant: onMuteParticipant }));
21497
+ : undefined, drawerMenuHostId: drawerMenuHostId, onPinParticipant: onPinParticipant, onUnpinParticipant: onUnpinParticipant, onUpdateScalingMode: onUpdateScalingMode, isPinned: isPinned, disablePinMenuItem: pinnedParticipants.length >= MAX_PINNED_REMOTE_VIDEO_TILES$1, toggleAnnouncerString: toggleAnnouncerString, spotlightedParticipantUserIds: spotlightedParticipants, isSpotlighted: isSpotlighted, onStartSpotlight: onStartRemoteSpotlight, onStopSpotlight: onStopRemoteSpotlight, maxParticipantsToSpotlight: maxParticipantsToSpotlight, reactionResources: reactionResources, onMuteParticipant: onMuteParticipant }));
21516
21498
  }, [
21517
21499
  onCreateRemoteStreamView,
21518
21500
  onDisposeRemoteVideoStreamView,
@@ -21533,7 +21515,7 @@ const VideoGallery = (props) => {
21533
21515
  onStartRemoteSpotlight,
21534
21516
  onStopRemoteSpotlight,
21535
21517
  maxParticipantsToSpotlight,
21536
- /* @conditional-compile-remove(soft-mute) */ onMuteParticipant,
21518
+ onMuteParticipant,
21537
21519
  reactionResources,
21538
21520
  videoTilesOptions
21539
21521
  ]);
@@ -25882,7 +25864,6 @@ const errorBarSelector$1 = reselect.createSelector([getLatestErrors$1, getDiagno
25882
25864
  appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'Call.startVideo', 'startVideoGeneric');
25883
25865
  }
25884
25866
  appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'Call.unmute', 'unmuteGeneric');
25885
- /* @conditional-compile-remove(soft-mute) */
25886
25867
  appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'Call.mutedByOthers', 'mutedByRemoteParticipant');
25887
25868
  appendActiveErrorIfDefined(activeErrorMessages, latestErrors, 'VideoEffectsFeature.startEffects', 'unableToStartVideoEffect');
25888
25869
  if (((_s = latestErrors['CallAgent.join']) === null || _s === void 0 ? void 0 : _s.message) === 'CallAgent.join: Invalid meeting link') {
@@ -29822,7 +29803,7 @@ const AttachmentDownloadErrorBar = (props) => {
29822
29803
  /**
29823
29804
  * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox with lazy loading
29824
29805
  */
29825
- const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-BOZa7syp.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper })));
29806
+ const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-BmT4tjtB.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper })));
29826
29807
  /**
29827
29808
  * @private
29828
29809
  * Use this function to load RoosterJS dependencies early in the lifecycle.
@@ -29830,7 +29811,7 @@ const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function
29830
29811
  *
29831
29812
  /* @conditional-compile-remove(rich-text-editor-composite-support)
29832
29813
  */
29833
- const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-BOZa7syp.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper }));
29814
+ const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-BmT4tjtB.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper }));
29834
29815
  /**
29835
29816
  * @private
29836
29817
  */
@@ -31776,11 +31757,9 @@ const createCompositeHandlers = memoizeOne((adapter, capabilities) => {
31776
31757
  yield adapter.stopSpotlight(userIds);
31777
31758
  })
31778
31759
  : undefined,
31779
- /* @conditional-compile-remove(soft-mute) */
31780
31760
  onMuteParticipant: (userId) => __awaiter$p(void 0, void 0, void 0, function* () {
31781
31761
  yield adapter.muteParticipant(userId);
31782
31762
  }),
31783
- /* @conditional-compile-remove(soft-mute) */
31784
31763
  onMuteAllRemoteParticipants: () => __awaiter$p(void 0, void 0, void 0, function* () {
31785
31764
  yield adapter.muteAllRemoteParticipants();
31786
31765
  })
@@ -35326,22 +35305,15 @@ const canRemoveParticipants = (role) => {
35326
35305
  const PEOPLE_SIDE_PANE_ID = 'people';
35327
35306
  /** @private */
35328
35307
  const usePeoplePane = (props) => {
35329
- const { updateSidePaneRenderer, inviteLink, onFetchAvatarPersonaData, onFetchParticipantMenuItems, setDrawerMenuItems, mobileView, peopleButtonRef, setParticipantActioned, spotlightedParticipantUserIds, onStartLocalSpotlight, onStopLocalSpotlight, onStartRemoteSpotlight, onStopRemoteSpotlight, onStopAllSpotlight, maxParticipantsToSpotlight,
35330
- /* @conditional-compile-remove(soft-mute) */
35331
- onMuteParticipant, pinnedParticipants, onPinParticipant, onUnpinParticipant, disablePinMenuItem,
35332
- /* @conditional-compile-remove(soft-mute) */
35333
- onMuteAllRemoteParticipants } = props;
35308
+ const { updateSidePaneRenderer, inviteLink, onFetchAvatarPersonaData, onFetchParticipantMenuItems, setDrawerMenuItems, mobileView, peopleButtonRef, setParticipantActioned, spotlightedParticipantUserIds, onStartLocalSpotlight, onStopLocalSpotlight, onStartRemoteSpotlight, onStopRemoteSpotlight, onStopAllSpotlight, maxParticipantsToSpotlight, onMuteParticipant, pinnedParticipants, onPinParticipant, onUnpinParticipant, disablePinMenuItem, onMuteAllRemoteParticipants } = props;
35334
35309
  const closePane = React.useCallback(() => {
35335
35310
  var _a;
35336
35311
  updateSidePaneRenderer(undefined);
35337
35312
  (_a = peopleButtonRef === null || peopleButtonRef === void 0 ? void 0 : peopleButtonRef.current) === null || _a === void 0 ? void 0 : _a.focus();
35338
35313
  }, [peopleButtonRef, updateSidePaneRenderer]);
35339
35314
  const localeStrings = useLocale().strings.call;
35340
- /* @conditional-compile-remove(soft-mute) */
35341
35315
  const remoteParticipants = useSelector$1(getRemoteParticipants);
35342
- /* @conditional-compile-remove(soft-mute) */
35343
35316
  const [showMuteAllPrompt, setShowMuteAllPrompt] = React.useState(false);
35344
- /* @conditional-compile-remove(soft-mute) */
35345
35317
  const muteAllPromptLabels = React.useMemo(() => ({
35346
35318
  confirmButtonLabel: localeStrings.muteAllConfirmButtonLabel,
35347
35319
  heading: localeStrings.muteAllDialogTitle,
@@ -35353,14 +35325,12 @@ const usePeoplePane = (props) => {
35353
35325
  localeStrings.muteAllDialogContent,
35354
35326
  localeStrings.muteAllCancelButtonLabel
35355
35327
  ]);
35356
- /* @conditional-compile-remove(soft-mute) */
35357
35328
  const onMuteAllPromptConfirm = React.useCallback(() => {
35358
35329
  onMuteAllRemoteParticipants && onMuteAllRemoteParticipants();
35359
35330
  setShowMuteAllPrompt(false);
35360
35331
  }, [onMuteAllRemoteParticipants, setShowMuteAllPrompt]);
35361
35332
  const sidePaneHeaderMenuProps = React.useMemo(() => {
35362
35333
  const menuItems = [];
35363
- /* @conditional-compile-remove(soft-mute) */
35364
35334
  if (onMuteAllRemoteParticipants && remoteParticipants) {
35365
35335
  let isAllMuted = true;
35366
35336
  if (remoteParticipants) {
@@ -35404,10 +35374,10 @@ const usePeoplePane = (props) => {
35404
35374
  onStopAllSpotlight,
35405
35375
  spotlightedParticipantUserIds,
35406
35376
  localeStrings.stopAllSpotlightMenuLabel,
35407
- /* @conditional-compile-remove(soft-mute) */ localeStrings.muteAllMenuLabel,
35408
- /* @conditional-compile-remove(soft-mute) */ onMuteAllRemoteParticipants,
35409
- /* @conditional-compile-remove(soft-mute) */ setShowMuteAllPrompt,
35410
- /* @conditional-compile-remove(soft-mute) */ remoteParticipants
35377
+ localeStrings.muteAllMenuLabel,
35378
+ onMuteAllRemoteParticipants,
35379
+ setShowMuteAllPrompt,
35380
+ remoteParticipants
35411
35381
  ]);
35412
35382
  const onRenderHeader = React.useCallback(() => (React.createElement(SidePaneHeader, { onClose: closePane, headingText: localeStrings.peoplePaneTitle, dismissSidePaneButtonAriaLabel: localeStrings.dismissSidePaneButtonLabel, mobileView: mobileView !== null && mobileView !== void 0 ? mobileView : false })), [mobileView, closePane, localeStrings]);
35413
35383
  const onFetchParticipantMenuItemsForCallComposite = React.useCallback((participantId, myUserId, defaultMenuItems) => {
@@ -35416,7 +35386,6 @@ const usePeoplePane = (props) => {
35416
35386
  const isSpotlighted = spotlightedParticipantUserIds === null || spotlightedParticipantUserIds === void 0 ? void 0 : spotlightedParticipantUserIds.includes(participantId);
35417
35387
  const isMe = myUserId === participantId;
35418
35388
  isPinned = isSpotlighted ? false : isPinned;
35419
- /* @conditional-compile-remove(soft-mute) */
35420
35389
  if (onMuteParticipant && !isMe && remoteParticipants && remoteParticipants[participantId]) {
35421
35390
  const participant = remoteParticipants[participantId];
35422
35391
  const isMuted = !!(participant === null || participant === void 0 ? void 0 : participant.isMuted);
@@ -35538,9 +35507,7 @@ const usePeoplePane = (props) => {
35538
35507
  onStartRemoteSpotlight,
35539
35508
  onStopRemoteSpotlight,
35540
35509
  onFetchParticipantMenuItems,
35541
- /* @conditional-compile-remove(soft-mute) */
35542
35510
  onMuteParticipant,
35543
- /* @conditional-compile-remove(soft-mute) */
35544
35511
  remoteParticipants,
35545
35512
  localeStrings.stopSpotlightMenuLabel,
35546
35513
  localeStrings.stopSpotlightOnSelfMenuLabel,
@@ -35562,7 +35529,6 @@ const usePeoplePane = (props) => {
35562
35529
  const alternateCallerId = useSelector$1(getAlternateCallerId);
35563
35530
  const onRenderContent = React.useCallback(() => {
35564
35531
  return (React.createElement(React.Fragment, null,
35565
- /* @conditional-compile-remove(soft-mute) */
35566
35532
  React.createElement(Prompt, Object.assign({}, muteAllPromptLabels, { styles: { main: { minWidth: '22.5rem', padding: '1.5rem' } }, onConfirm: () => onMuteAllPromptConfirm(), isOpen: showMuteAllPrompt, onCancel: () => setShowMuteAllPrompt(false) })),
35567
35533
  React.createElement(PeoplePaneContent, { inviteLink: inviteLink, onFetchAvatarPersonaData: onFetchAvatarPersonaData, onFetchParticipantMenuItems: onFetchParticipantMenuItemsForCallComposite, setDrawerMenuItems: setDrawerMenuItems, mobileView: mobileView, setParticipantActioned: setParticipantActioned, participantListHeadingMoreButtonProps: sidePaneHeaderMenuProps, pinnedParticipants: pinnedParticipants, role: role, alternateCallerId: alternateCallerId })));
35568
35534
  }, [
@@ -35576,10 +35542,10 @@ const usePeoplePane = (props) => {
35576
35542
  pinnedParticipants,
35577
35543
  role,
35578
35544
  alternateCallerId,
35579
- /* @conditional-compile-remove(soft-mute) */ showMuteAllPrompt,
35580
- /* @conditional-compile-remove(soft-mute) */ setShowMuteAllPrompt,
35581
- /* @conditional-compile-remove(soft-mute) */ muteAllPromptLabels,
35582
- /* @conditional-compile-remove(soft-mute) */ onMuteAllPromptConfirm
35545
+ showMuteAllPrompt,
35546
+ setShowMuteAllPrompt,
35547
+ muteAllPromptLabels,
35548
+ onMuteAllPromptConfirm
35583
35549
  ]);
35584
35550
  const sidePaneRenderer = React.useMemo(() => ({
35585
35551
  headerRenderer: onRenderHeader,
@@ -36668,12 +36634,9 @@ const CallArrangement = (props) => {
36668
36634
  const locale = useLocale();
36669
36635
  const role = useSelector$1(getRole);
36670
36636
  const videoGalleryProps = usePropsFor$1(VideoGallery);
36671
- /* @conditional-compile-remove(soft-mute) */
36672
36637
  const muteAllHandlers = useHandlers();
36673
36638
  const { setPromptProps, setIsPromptOpen, hideSpotlightButtons } = props;
36674
- const { onStartLocalSpotlight, onStopLocalSpotlight, onStartRemoteSpotlight, onStopRemoteSpotlight,
36675
- /* @conditional-compile-remove(soft-mute) */
36676
- onMuteParticipant, spotlightedParticipants, maxParticipantsToSpotlight, localParticipant } = videoGalleryProps;
36639
+ const { onStartLocalSpotlight, onStopLocalSpotlight, onStartRemoteSpotlight, onStopRemoteSpotlight, onMuteParticipant, spotlightedParticipants, maxParticipantsToSpotlight, localParticipant } = videoGalleryProps;
36677
36640
  const [showTeamsMeetingConferenceModal, setShowTeamsMeetingConferenceModal] = React.useState(false);
36678
36641
  const toggleTeamsMeetingConferenceModal = React.useCallback(() => {
36679
36642
  setShowTeamsMeetingConferenceModal(!showTeamsMeetingConferenceModal);
@@ -36720,19 +36683,13 @@ const CallArrangement = (props) => {
36720
36683
  const { stopAllSpotlightWithPrompt } = useStopAllSpotlightCallbackWithPrompt(stopAllSpotlight, setIsPromptOpen, setPromptProps);
36721
36684
  const onMuteParticipantPeoplePaneProps = React.useMemo(() => {
36722
36685
  var _a, _b;
36723
- /* @conditional-compile-remove(soft-mute) */
36724
36686
  return {
36725
36687
  onMuteParticipant: ((_a = capabilities === null || capabilities === void 0 ? void 0 : capabilities.muteOthers) === null || _a === void 0 ? void 0 : _a.isPresent) || role === 'Unknown' ? onMuteParticipant : undefined,
36726
36688
  onMuteAllRemoteParticipants: ((_b = capabilities === null || capabilities === void 0 ? void 0 : capabilities.muteOthers) === null || _b === void 0 ? void 0 : _b.isPresent) || role === 'Unknown'
36727
36689
  ? muteAllHandlers.onMuteAllRemoteParticipants
36728
36690
  : undefined
36729
36691
  };
36730
- }, [
36731
- /* @conditional-compile-remove(soft-mute) */ onMuteParticipant,
36732
- /* @conditional-compile-remove(soft-mute) */ role,
36733
- /* @conditional-compile-remove(soft-mute) */ capabilities === null || capabilities === void 0 ? void 0 : capabilities.muteOthers,
36734
- /* @conditional-compile-remove(soft-mute) */ muteAllHandlers.onMuteAllRemoteParticipants
36735
- ]);
36692
+ }, [onMuteParticipant, role, capabilities === null || capabilities === void 0 ? void 0 : capabilities.muteOthers, muteAllHandlers.onMuteAllRemoteParticipants]);
36736
36693
  const spotlightPeoplePaneProps = React.useMemo(() => {
36737
36694
  return {
36738
36695
  spotlightedParticipantUserIds: spotlightedParticipants,
@@ -36947,7 +36904,6 @@ const MediaGallery = (props) => {
36947
36904
  const cameraSwitcherCallback = useHandlers();
36948
36905
  const announcerString = useParticipantChangedAnnouncement();
36949
36906
  const userRole = useSelector$1(getRole);
36950
- /* @conditional-compile-remove(soft-mute) */
36951
36907
  const capabilities = useSelector$1(getCapabilites);
36952
36908
  const isRoomsCall = useSelector$1(getIsRoomsCall);
36953
36909
  const containerRef = React.useRef(null);
@@ -37015,9 +36971,7 @@ const MediaGallery = (props) => {
37015
36971
  ? 'hidden'
37016
36972
  : props.isMobile && containerAspectRatio < 1
37017
36973
  ? '9:16'
37018
- : '16:9', pinnedParticipants: pinnedParticipants, onPinParticipant: onPinParticipant, onUnpinParticipant: onUnpinParticipant, reactionResources: reactionResources, onStartLocalSpotlight: hideSpotlightButtons ? undefined : onStartLocalSpotlightWithPrompt, onStopLocalSpotlight: hideSpotlightButtons ? undefined : onStopLocalSpotlightWithPrompt, onStartRemoteSpotlight: hideSpotlightButtons ? undefined : onStartRemoteSpotlightWithPrompt, onStopRemoteSpotlight: hideSpotlightButtons ? undefined : onStopRemoteSpotlightWithPrompt,
37019
- /* @conditional-compile-remove(soft-mute) */
37020
- onMuteParticipant: ((_a = capabilities === null || capabilities === void 0 ? void 0 : capabilities.muteOthers) === null || _a === void 0 ? void 0 : _a.isPresent) || userRole === 'Unknown'
36974
+ : '16:9', pinnedParticipants: pinnedParticipants, onPinParticipant: onPinParticipant, onUnpinParticipant: onUnpinParticipant, reactionResources: reactionResources, onStartLocalSpotlight: hideSpotlightButtons ? undefined : onStartLocalSpotlightWithPrompt, onStopLocalSpotlight: hideSpotlightButtons ? undefined : onStopLocalSpotlightWithPrompt, onStartRemoteSpotlight: hideSpotlightButtons ? undefined : onStartRemoteSpotlightWithPrompt, onStopRemoteSpotlight: hideSpotlightButtons ? undefined : onStopRemoteSpotlightWithPrompt, onMuteParticipant: ((_a = capabilities === null || capabilities === void 0 ? void 0 : capabilities.muteOthers) === null || _a === void 0 ? void 0 : _a.isPresent) || userRole === 'Unknown'
37021
36975
  ? videoGalleryProps.onMuteParticipant
37022
36976
  : undefined })));
37023
36977
  }, [
@@ -37044,7 +36998,6 @@ const MediaGallery = (props) => {
37044
36998
  onStartRemoteSpotlightWithPrompt,
37045
36999
  onStopRemoteSpotlightWithPrompt,
37046
37000
  layoutBasedOnTilePosition,
37047
- /* @conditional-compile-remove(soft-mute) */
37048
37001
  capabilities === null || capabilities === void 0 ? void 0 : capabilities.muteOthers
37049
37002
  ]);
37050
37003
  return (React.createElement("div", { ref: containerRef, style: mediaGalleryContainerStyles },
@@ -40523,9 +40476,7 @@ class AzureCommunicationCallAdapter {
40523
40476
  this.startSpotlight.bind(this);
40524
40477
  this.stopSpotlight.bind(this);
40525
40478
  this.stopAllSpotlight.bind(this);
40526
- /* @conditional-compile-remove(soft-mute) */
40527
40479
  this.muteParticipant.bind(this);
40528
- /* @conditional-compile-remove(soft-mute) */
40529
40480
  this.muteAllRemoteParticipants.bind(this);
40530
40481
  }
40531
40482
  dispose() {
@@ -41009,13 +40960,11 @@ class AzureCommunicationCallAdapter {
41009
40960
  return this.handlers.onSubmitSurvey(survey);
41010
40961
  });
41011
40962
  }
41012
- /* @conditional-compile-remove(soft-mute) */
41013
40963
  muteParticipant(userId) {
41014
40964
  return __awaiter$7(this, void 0, void 0, function* () {
41015
40965
  this.handlers.onMuteParticipant(userId);
41016
40966
  });
41017
40967
  }
41018
- /* @conditional-compile-remove(soft-mute) */
41019
40968
  muteAllRemoteParticipants() {
41020
40969
  return __awaiter$7(this, void 0, void 0, function* () {
41021
40970
  this.handlers.onMuteAllRemoteParticipants();
@@ -41903,13 +41852,11 @@ class CallWithChatBackedCallAdapter {
41903
41852
  return this.callWithChatAdapter.stopAllSpotlight();
41904
41853
  });
41905
41854
  }
41906
- /* @conditional-compile-remove(soft-mute) */
41907
41855
  muteParticipant(userId) {
41908
41856
  return __awaiter$6(this, void 0, void 0, function* () {
41909
41857
  return this.callWithChatAdapter.muteParticipant(userId);
41910
41858
  });
41911
41859
  }
41912
- /* @conditional-compile-remove(soft-mute) */
41913
41860
  muteAllRemoteParticipants() {
41914
41861
  return __awaiter$6(this, void 0, void 0, function* () {
41915
41862
  return this.callWithChatAdapter.muteAllRemoteParticipants();
@@ -43156,13 +43103,11 @@ class AzureCommunicationCallWithChatAdapter {
43156
43103
  return this.callAdapter.stopAllSpotlight();
43157
43104
  });
43158
43105
  }
43159
- /* @conditional-compile-remove(soft-mute) */
43160
43106
  muteParticipant(userId) {
43161
43107
  return __awaiter$4(this, void 0, void 0, function* () {
43162
43108
  return this.callAdapter.muteParticipant(userId);
43163
43109
  });
43164
43110
  }
43165
- /* @conditional-compile-remove(soft-mute) */
43166
43111
  muteAllRemoteParticipants() {
43167
43112
  return __awaiter$4(this, void 0, void 0, function* () {
43168
43113
  return this.callAdapter.muteAllRemoteParticipants();
@@ -44338,4 +44283,4 @@ exports.useTeamsCall = useTeamsCall;
44338
44283
  exports.useTeamsCallAdapter = useTeamsCallAdapter;
44339
44284
  exports.useTeamsCallAgent = useTeamsCallAgent;
44340
44285
  exports.useTheme = useTheme;
44341
- //# sourceMappingURL=index-D2gCkgD1.js.map
44286
+ //# sourceMappingURL=index-CsAc6QmC.js.map