@azure/communication-react 1.19.0-alpha-202409070015 → 1.19.0-alpha-202409100015

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 (73) hide show
  1. package/dist/communication-react.d.ts +34 -29
  2. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DFzIZcdr.js → ChatMessageComponentAsRichTextEditBox-eCfb0qTc.js} +2 -2
  3. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-DFzIZcdr.js.map → ChatMessageComponentAsRichTextEditBox-eCfb0qTc.js.map} +1 -1
  4. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-Bcr0yV14.js → RichTextSendBoxWrapper-CrqNnQ4h.js} +2 -2
  5. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-Bcr0yV14.js.map → RichTextSendBoxWrapper-CrqNnQ4h.js.map} +1 -1
  6. package/dist/dist-cjs/communication-react/{index-CczmcjJ7.js → index-DSX_hUlh.js} +65 -85
  7. package/dist/dist-cjs/communication-react/{index-CczmcjJ7.js.map → index-DSX_hUlh.js.map} +1 -1
  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/handlers/createHandlers.d.ts +4 -0
  12. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  13. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +2 -2
  14. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
  15. package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.d.ts +2 -2
  16. package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.js +1 -1
  17. package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.js.map +1 -1
  18. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +2 -2
  19. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  20. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +1 -1
  21. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  22. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +1 -1
  23. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -1
  24. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +1 -1
  25. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +1 -1
  26. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -1
  27. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +3 -3
  28. package/dist/dist-esm/react-components/src/components/HoldButton.js +1 -1
  29. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/IncomingCallNotification.d.ts +4 -4
  31. package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js +1 -1
  32. package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js.map +1 -1
  33. package/dist/dist-esm/react-components/src/components/IncomingCallStack.d.ts +3 -3
  34. package/dist/dist-esm/react-components/src/components/IncomingCallStack.js +1 -1
  35. package/dist/dist-esm/react-components/src/components/IncomingCallStack.js.map +1 -1
  36. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +2 -14
  37. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  38. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +6 -21
  39. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  40. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +2 -14
  41. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -1
  42. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +6 -21
  43. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  44. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +8 -0
  45. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +34 -0
  46. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  47. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +1 -1
  48. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  49. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +3 -2
  50. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  52. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +5 -5
  53. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  54. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  57. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +2 -2
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +1 -1
  63. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  64. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +1 -1
  66. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +4 -4
  68. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +1 -1
  70. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  71. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +1 -1
  72. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  73. package/package.json +1 -1
@@ -189,7 +189,7 @@ function getDefaultExportFromCjs (x) {
189
189
  // Copyright (c) Microsoft Corporation.
190
190
  // Licensed under the MIT License.
191
191
  // GENERATED FILE. DO NOT EDIT MANUALLY.
192
- var telemetryVersion = '1.19.0-alpha-202409070015';
192
+ var telemetryVersion = '1.19.0-alpha-202409100015';
193
193
 
194
194
 
195
195
  var telemetryVersion$1 = /*@__PURE__*/getDefaultExportFromCjs(telemetryVersion);
@@ -10757,7 +10757,7 @@ class _ErrorBoundary extends React.Component {
10757
10757
  // Copyright (c) Microsoft Corporation.
10758
10758
  // Licensed under the MIT License.
10759
10759
  /* @conditional-compile-remove(rich-text-editor) */
10760
- const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-DFzIZcdr.js'); }));
10760
+ const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-eCfb0qTc.js'); }));
10761
10761
  /**
10762
10762
  * @private
10763
10763
  * Use this function to load RoosterJS dependencies early in the lifecycle.
@@ -10765,7 +10765,7 @@ const ChatMessageComponentAsRichTextEditBox = React.lazy(() => Promise.resolve()
10765
10765
  *
10766
10766
  * @conditional-compile-remove(rich-text-editor)
10767
10767
  */
10768
- const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-DFzIZcdr.js'); });
10768
+ const loadChatMessageComponentAsRichTextEditBox = () => Promise.resolve().then(function () { return require('./ChatMessageComponentAsRichTextEditBox-eCfb0qTc.js'); });
10769
10769
  /**
10770
10770
  * @private
10771
10771
  */
@@ -13893,6 +13893,40 @@ const putVideoParticipantsFirst = (remoteParticipants) => {
13893
13893
  const remoteParticipantSortedByVideo = videoParticipants.concat(audioParticipants);
13894
13894
  return remoteParticipantSortedByVideo;
13895
13895
  };
13896
+ /**
13897
+ * @private
13898
+ */
13899
+ const renderTiles = (gridParticipants, onRenderRemoteParticipant, maxRemoteVideoStreams, indexesToRender, overflowGalleryParticipants, dominantSpeakers) => {
13900
+ const _dominantSpeakers = dominantSpeakers !== null && dominantSpeakers !== void 0 ? dominantSpeakers : [];
13901
+ let streamsLeftToRender = maxRemoteVideoStreams;
13902
+ // Render the grid participants
13903
+ const participantWithStreamsToRenderInGrid = gridParticipants.filter((p) => { var _a; return (_a = p === null || p === void 0 ? void 0 : p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable; });
13904
+ const dominantSpeakerWithStreamsToRenderInGrid = _dominantSpeakers
13905
+ .filter((userId) => participantWithStreamsToRenderInGrid.find((p) => (p === null || p === void 0 ? void 0 : p.userId) === userId))
13906
+ .slice(0, streamsLeftToRender);
13907
+ streamsLeftToRender = streamsLeftToRender - dominantSpeakerWithStreamsToRenderInGrid.length;
13908
+ const gridTiles = gridParticipants.map((p) => {
13909
+ var _a;
13910
+ return onRenderRemoteParticipant(p, dominantSpeakerWithStreamsToRenderInGrid.includes(p.userId) ||
13911
+ (((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && streamsLeftToRender-- > 0));
13912
+ });
13913
+ // Render the overflow participants
13914
+ const participantWithStreamsToRenderInOverflow = indexesToRender
13915
+ .map((i) => {
13916
+ return overflowGalleryParticipants.at(i);
13917
+ })
13918
+ .filter((p) => { var _a; return (_a = p === null || p === void 0 ? void 0 : p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable; });
13919
+ const dominantSpeakerWithStreamsToRenderInOverflow = _dominantSpeakers
13920
+ .filter((userId) => participantWithStreamsToRenderInOverflow.find((p) => (p === null || p === void 0 ? void 0 : p.userId) === userId))
13921
+ .slice(0, streamsLeftToRender);
13922
+ streamsLeftToRender = streamsLeftToRender - dominantSpeakerWithStreamsToRenderInOverflow.length;
13923
+ const overflowGalleryTiles = overflowGalleryParticipants.map((p) => {
13924
+ var _a;
13925
+ return onRenderRemoteParticipant(p, dominantSpeakerWithStreamsToRenderInOverflow.includes(p.userId) ||
13926
+ (((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && streamsLeftToRender-- > 0));
13927
+ });
13928
+ return { gridTiles, overflowGalleryTiles };
13929
+ };
13896
13930
  /**
13897
13931
  * @private
13898
13932
  */
@@ -15628,13 +15662,6 @@ const DefaultLayout = (props) => {
15628
15662
  layout: 'default',
15629
15663
  spotlightedParticipantUserIds
15630
15664
  });
15631
- let activeVideoStreams = 0;
15632
- let gridTiles = gridParticipants.map((p) => {
15633
- var _a, _b;
15634
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
15635
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && activeVideoStreams++ < maxRemoteVideoStreams
15636
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
15637
- });
15638
15665
  /**
15639
15666
  * instantiate indexes available to render with indexes available that would be on first page
15640
15667
  *
@@ -15643,12 +15670,7 @@ const DefaultLayout = (props) => {
15643
15670
  * this case when those components are here
15644
15671
  */
15645
15672
  const [indexesToRender, setIndexesToRender] = React.useState([]);
15646
- let overflowGalleryTiles = overflowGalleryParticipants.map((p, i) => {
15647
- var _a, _b;
15648
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
15649
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && indexesToRender.includes(i) && activeVideoStreams++ < maxRemoteVideoStreams
15650
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
15651
- });
15673
+ let { gridTiles, overflowGalleryTiles } = renderTiles(gridParticipants, onRenderRemoteParticipant, maxRemoteVideoStreams, indexesToRender, overflowGalleryParticipants, dominantSpeakers);
15652
15674
  if (localVideoComponent) {
15653
15675
  if (screenShareComponent || spotlightedParticipantUserIds.length > 0) {
15654
15676
  overflowGalleryTiles = [localVideoComponent].concat(overflowGalleryTiles);
@@ -16459,17 +16481,6 @@ const FloatingLocalVideoLayout = (props) => {
16459
16481
  layout: 'floatingLocalVideo',
16460
16482
  spotlightedParticipantUserIds
16461
16483
  });
16462
- let activeVideoStreams = 0;
16463
- const gridTiles = gridParticipants.map((p) => {
16464
- var _a, _b;
16465
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
16466
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && activeVideoStreams++ < maxRemoteVideoStreams
16467
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
16468
- });
16469
- const shouldFloatLocalVideo = remoteParticipants.length > 0;
16470
- if (!shouldFloatLocalVideo && localVideoComponent) {
16471
- gridTiles.push(localVideoComponent);
16472
- }
16473
16484
  /**
16474
16485
  * instantiate indexes available to render with indexes available that would be on first page
16475
16486
  *
@@ -16478,15 +16489,11 @@ const FloatingLocalVideoLayout = (props) => {
16478
16489
  * this case when those components are here
16479
16490
  */
16480
16491
  const [indexesToRender, setIndexesToRender] = React.useState([]);
16481
- const overflowGalleryTiles = overflowGalleryParticipants.map((p, i) => {
16482
- var _a, _b;
16483
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
16484
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) &&
16485
- indexesToRender &&
16486
- indexesToRender.includes(i) &&
16487
- activeVideoStreams++ < maxRemoteVideoStreams
16488
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
16489
- });
16492
+ const { gridTiles, overflowGalleryTiles } = renderTiles(gridParticipants, onRenderRemoteParticipant, maxRemoteVideoStreams, indexesToRender, overflowGalleryParticipants, dominantSpeakers);
16493
+ const shouldFloatLocalVideo = remoteParticipants.length > 0;
16494
+ if (!shouldFloatLocalVideo && localVideoComponent) {
16495
+ gridTiles.push(localVideoComponent);
16496
+ }
16490
16497
  const layerHostId = reactHooks.useId('layerhost');
16491
16498
  const localVideoSizeRem = React.useMemo(() => {
16492
16499
  if (isNarrow || localVideoTileSize === '9:16') {
@@ -16574,17 +16581,6 @@ const SpeakerVideoLayout = (props) => {
16574
16581
  pinnedParticipantUserIds,
16575
16582
  layout: 'speaker'
16576
16583
  });
16577
- let activeVideoStreams = 0;
16578
- const gridTiles = gridParticipants.map((p) => {
16579
- var _a, _b;
16580
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
16581
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && activeVideoStreams++ < maxRemoteVideoStreams
16582
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
16583
- });
16584
- const shouldFloatLocalVideo = remoteParticipants.length > 0;
16585
- if (!shouldFloatLocalVideo && localVideoComponent) {
16586
- gridTiles.push(localVideoComponent);
16587
- }
16588
16584
  /**
16589
16585
  * instantiate indexes available to render with indexes available that would be on first page
16590
16586
  *
@@ -16593,15 +16589,11 @@ const SpeakerVideoLayout = (props) => {
16593
16589
  * this case when those components are here
16594
16590
  */
16595
16591
  const [indexesToRender, setIndexesToRender] = React.useState([]);
16596
- const overflowGalleryTiles = overflowGalleryParticipants.map((p, i) => {
16597
- var _a, _b;
16598
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
16599
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) &&
16600
- indexesToRender &&
16601
- indexesToRender.includes(i) &&
16602
- activeVideoStreams++ < maxRemoteVideoStreams
16603
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
16604
- });
16592
+ const { gridTiles, overflowGalleryTiles } = renderTiles(gridParticipants, onRenderRemoteParticipant, maxRemoteVideoStreams, indexesToRender, overflowGalleryParticipants, dominantSpeakers);
16593
+ const shouldFloatLocalVideo = remoteParticipants.length > 0;
16594
+ if (!shouldFloatLocalVideo && localVideoComponent) {
16595
+ gridTiles.push(localVideoComponent);
16596
+ }
16605
16597
  const layerHostId = reactHooks.useId('layerhost');
16606
16598
  const localVideoSizeRem = React.useMemo(() => {
16607
16599
  if (isNarrow || localVideoTileSize === '9:16') {
@@ -16709,13 +16701,6 @@ const LargeGalleryLayout = (props) => {
16709
16701
  /* @conditional-compile-remove(large-gallery) */ layout: 'largeGallery',
16710
16702
  spotlightedParticipantUserIds
16711
16703
  });
16712
- let activeVideoStreams = 0;
16713
- let gridTiles = gridParticipants.map((p) => {
16714
- var _a, _b;
16715
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
16716
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && activeVideoStreams++ < maxRemoteVideoStreams
16717
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
16718
- });
16719
16704
  /**
16720
16705
  * instantiate indexes available to render with indexes available that would be on first page
16721
16706
  *
@@ -16724,12 +16709,7 @@ const LargeGalleryLayout = (props) => {
16724
16709
  * this case when those components are here
16725
16710
  */
16726
16711
  const [indexesToRender, setIndexesToRender] = React.useState([]);
16727
- let overflowGalleryTiles = overflowGalleryParticipants.map((p, i) => {
16728
- var _a, _b;
16729
- return onRenderRemoteParticipant(p, maxRemoteVideoStreams && maxRemoteVideoStreams >= 0
16730
- ? ((_a = p.videoStream) === null || _a === void 0 ? void 0 : _a.isAvailable) && indexesToRender.includes(i) && activeVideoStreams++ < maxRemoteVideoStreams
16731
- : (_b = p.videoStream) === null || _b === void 0 ? void 0 : _b.isAvailable);
16732
- });
16712
+ let { gridTiles, overflowGalleryTiles } = renderTiles(gridParticipants, onRenderRemoteParticipant, maxRemoteVideoStreams, indexesToRender, overflowGalleryParticipants, dominantSpeakers);
16733
16713
  if (localVideoComponent) {
16734
16714
  if (screenShareComponent || spotlightedParticipantUserIds.length > 0) {
16735
16715
  overflowGalleryTiles = [localVideoComponent].concat(overflowGalleryTiles);
@@ -19164,7 +19144,7 @@ const _TagsSurvey = (props) => {
19164
19144
  *
19165
19145
  * @param props - properties for the hold button.
19166
19146
  * @returns
19167
- * @beta
19147
+ * @public
19168
19148
  */
19169
19149
  const HoldButton = (props) => {
19170
19150
  const { onToggleHold, strings } = props;
@@ -20337,7 +20317,7 @@ const NotificationStack = (props) => {
20337
20317
  /**
20338
20318
  * A Notification component that is to be used to represent incoming calls to the end user.
20339
20319
  * Allows the user to accept or reject the incoming call.
20340
- * @beta
20320
+ * @public
20341
20321
  */
20342
20322
  const IncomingCallNotification$k = (props) => {
20343
20323
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -20462,7 +20442,7 @@ const incomingCallRejectButtonStyle = (theme) => {
20462
20442
  * Wrapper to manage multiple incoming calls
20463
20443
  * @param props - {@link IncomingCallManagerProps}
20464
20444
  * @returns
20465
- * @beta
20445
+ * @public
20466
20446
  */
20467
20447
  const IncomingCallStack = (props) => {
20468
20448
  /* @conditional-compile-remove(one-to-n-calling) */
@@ -23074,7 +23054,7 @@ const AttachmentDownloadErrorBar = (props) => {
23074
23054
  /**
23075
23055
  * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox with lazy loading
23076
23056
  */
23077
- const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-Bcr0yV14.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper })));
23057
+ const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-CrqNnQ4h.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper })));
23078
23058
  /**
23079
23059
  * @private
23080
23060
  * Use this function to load RoosterJS dependencies early in the lifecycle.
@@ -23082,7 +23062,7 @@ const RichTextSendBoxWrapper = React.lazy(() => Promise.resolve().then(function
23082
23062
  *
23083
23063
  /* @conditional-compile-remove(rich-text-editor-composite-support)
23084
23064
  */
23085
- const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-Bcr0yV14.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper }));
23065
+ const loadRichTextSendBox = () => Promise.resolve().then(function () { return require('./RichTextSendBoxWrapper-CrqNnQ4h.js'); }).then((module) => ({ default: module.RichTextSendBoxWrapper }));
23086
23066
  /**
23087
23067
  * @private
23088
23068
  */
@@ -24958,7 +24938,7 @@ const createDefaultTeamsCallingHandlers = memoizeOne((callClient, callAgent, dev
24958
24938
  }
24959
24939
  return undefined;
24960
24940
  },
24961
- /* @conditional-compile-remove(PSTN-calls) */
24941
+ /* @conditional-compile-remove(teams-identity-support-beta) */
24962
24942
  onAddParticipant: (userId, options) => __awaiter$G(void 0, void 0, void 0, function* () {
24963
24943
  const participant = _toCommunicationIdentifier(userId);
24964
24944
  /* @conditional-compile-remove(teams-identity-support) */
@@ -25207,7 +25187,7 @@ const appendActiveErrorIfDefined$1 = (activeErrorMessages, latestErrors, target,
25207
25187
  // Licensed under the MIT License.
25208
25188
  /**
25209
25189
  * Select the active and removed incoming calls from the stateful client for the IncomingCallNotificationStackComponent.
25210
- * @beta
25190
+ * @public
25211
25191
  */
25212
25192
  const incomingCallStackSelector = reselect.createSelector([getIncomingCalls, getRemovedIncomingCalls, getDeviceManager$1], (incomingCalls, removedIncomingCalls, deviceManager) => {
25213
25193
  // Convert incoming call state to active incoming call
@@ -29457,7 +29437,7 @@ class ProxyTeamsCall extends ProxyCallCommon {
29457
29437
  get(target, prop) {
29458
29438
  /* @conditional-compile-remove(teams-identity-support) */
29459
29439
  switch (prop) {
29460
- /* @conditional-compile-remove(PSTN-calls) */
29440
+ /* @conditional-compile-remove(teams-identity-support-beta) */
29461
29441
  case 'addParticipant': {
29462
29442
  return this.getContext().withAsyncErrorTeedToState(function (...args) {
29463
29443
  return __awaiter$x(this, void 0, void 0, function* () {
@@ -32609,7 +32589,7 @@ const CallControls = (props) => {
32609
32589
  }
32610
32590
  }, [adapter, startDeepNoiseSuppression]);
32611
32591
  /* @conditional-compile-remove(DNS) */
32612
- const showNoiseSuppressionButton = adapter.getState().onResolveDeepNoiseSuppressionDependency && !adapter.getState().hideNoiseSuppressionButton
32592
+ const showNoiseSuppressionButton = adapter.getState().onResolveDeepNoiseSuppressionDependency && !adapter.getState().hideDeepNoiseSuppressionButton
32613
32593
  ? true
32614
32594
  : false;
32615
32595
  /* @conditional-compile-remove(DNS) */
@@ -33777,7 +33757,7 @@ const CommonCallControlBar = (props) => {
33777
33757
  }, [props.callAdapter, startDeepNoiseSuppression]);
33778
33758
  /* @conditional-compile-remove(DNS) */
33779
33759
  const showNoiseSuppressionButton = props.callAdapter.getState().onResolveDeepNoiseSuppressionDependency &&
33780
- !props.callAdapter.getState().hideNoiseSuppressionButton
33760
+ !props.callAdapter.getState().hideDeepNoiseSuppressionButton
33781
33761
  ? true
33782
33762
  : false;
33783
33763
  /* @conditional-compile-remove(DNS) */
@@ -34807,7 +34787,7 @@ const SidePane = (props) => {
34807
34787
  if (!ContentRenderer && !OverrideContentRenderer) {
34808
34788
  return React.createElement(EmptyElement, null);
34809
34789
  }
34810
- return (React.createElement(react.Stack, { verticalFill: true, grow: true, styles: paneStyles, "data-ui-id": "SidePane", tokens: props.mobileView ? {} : sidePaneTokens },
34790
+ return (React.createElement(react.Stack, { verticalFill: true, grow: true, styles: paneStyles, "data-ui-id": "SidePane", tokens: props.mobileView || (!props.showAddPeopleButton && (sidePaneRenderer === null || sidePaneRenderer === void 0 ? void 0 : sidePaneRenderer.id) === 'people') ? {} : sidePaneTokens },
34811
34791
  HeaderToRender,
34812
34792
  React.createElement(react.Stack.Item, { verticalFill: true, grow: true, styles: paneBodyContainer },
34813
34793
  React.createElement(react.Stack, { verticalFill: true, styles: scrollableContainer },
@@ -36959,7 +36939,7 @@ const CallArrangement = (props) => {
36959
36939
  React.createElement(SidePane, { mobileView: props.mobileView, maxWidth: isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined, minWidth: isVideoPaneOpen ? `${VIDEO_EFFECTS_SIDE_PANE_WIDTH_REM}rem` : undefined, updateSidePaneRenderer: props.updateSidePaneRenderer, onPeopleButtonClicked: props.mobileView && !shouldShowPeopleTabHeaderButton(props.callControlProps.options)
36960
36940
  ? undefined
36961
36941
  : togglePeoplePane, disablePeopleButton: typeof props.callControlProps.options !== 'boolean' &&
36962
- isDisabled$4((_k = props.callControlProps.options) === null || _k === void 0 ? void 0 : _k.participantsButton), onChatButtonClicked: (_l = props.mobileChatTabHeader) === null || _l === void 0 ? void 0 : _l.onClick, disableChatButton: (_m = props.mobileChatTabHeader) === null || _m === void 0 ? void 0 : _m.disabled }),
36942
+ isDisabled$4((_k = props.callControlProps.options) === null || _k === void 0 ? void 0 : _k.participantsButton), onChatButtonClicked: (_l = props.mobileChatTabHeader) === null || _l === void 0 ? void 0 : _l.onClick, disableChatButton: (_m = props.mobileChatTabHeader) === null || _m === void 0 ? void 0 : _m.disabled, showAddPeopleButton: !!props.callControlProps.callInvitationURL }),
36963
36943
  props.mobileView && (React.createElement(ModalLocalAndRemotePIP, { modalLayerHostId: props.modalLayerHostId, hidden: !isSidePaneOpen, styles: pipStyles, strings: modalStrings, minDragPosition: minMaxDragPosition.minDragPosition, maxDragPosition: minMaxDragPosition.maxDragPosition, onDismissSidePane: () => {
36964
36944
  closePeoplePane();
36965
36945
  if (props.onCloseChatPane) {
@@ -37999,7 +37979,7 @@ const LocalDeviceSettings = (props) => {
37999
37979
  const speakerDropdown = (React.createElement(react.Dropdown, { "aria-labelledby": 'call-composite-local-sound-settings-label', placeholder: hasSpeakers ? defaultPlaceHolder : noSpeakersLabel, styles: dropDownStyles(theme), disabled: props.speakers.length === 0, options: getDropDownList(props.speakers), defaultSelectedKey: props.selectedSpeaker ? props.selectedSpeaker.id : defaultDeviceId(props.speakers), onChange: (event, option, index) => {
38000
37980
  props.onSelectSpeaker(props.speakers[index !== null && index !== void 0 ? index : 0]);
38001
37981
  }, onRenderTitle: (props) => onRenderTitle('Speaker', props) }));
38002
- const SafariBrowserSpeakerDropdownTrampoline = () => {
37982
+ const safariBrowserSpeakerDropdownTrampoline = () => {
38003
37983
  /* @conditional-compile-remove(unsupported-browser) */
38004
37984
  if (isSafariWithNoSpeakers) {
38005
37985
  return React.createElement(React.Fragment, null);
@@ -38024,7 +38004,7 @@ const LocalDeviceSettings = (props) => {
38024
38004
  dropdownProps: dropdownProps,
38025
38005
  /* @conditional-compile-remove(call-readiness) */
38026
38006
  onClickEnableDevicePermission: props.onClickEnableDevicePermission }),
38027
- React.createElement(SafariBrowserSpeakerDropdownTrampoline, null)))));
38007
+ safariBrowserSpeakerDropdownTrampoline()))));
38028
38008
  };
38029
38009
  const defaultDeviceId = (devices) => {
38030
38010
  if (devices.length === 0) {
@@ -40258,7 +40238,7 @@ class CallContext {
40258
40238
  /* @conditional-compile-remove(DNS) */
40259
40239
  deepNoiseSuppressionOnByDefault: (_f = (_e = options === null || options === void 0 ? void 0 : options.deepNoiseSuppressionOptions) === null || _e === void 0 ? void 0 : _e.deepNoiseSuppressionOnByDefault) !== null && _f !== void 0 ? _f : true,
40260
40240
  /* @conditional-compile-remove(DNS) */
40261
- hideNoiseSuppressionButton: (_h = (_g = options === null || options === void 0 ? void 0 : options.deepNoiseSuppressionOptions) === null || _g === void 0 ? void 0 : _g.hideNoiseSuppressionButton) !== null && _h !== void 0 ? _h : false,
40241
+ hideDeepNoiseSuppressionButton: (_h = (_g = options === null || options === void 0 ? void 0 : options.deepNoiseSuppressionOptions) === null || _g === void 0 ? void 0 : _g.hideDeepNoiseSuppressionButton) !== null && _h !== void 0 ? _h : false,
40262
40242
  selectedVideoBackgroundEffect: undefined,
40263
40243
  cameraStatus: undefined,
40264
40244
  sounds: options === null || options === void 0 ? void 0 : options.callingSounds,
@@ -44604,4 +44584,4 @@ exports.useTeamsCall = useTeamsCall;
44604
44584
  exports.useTeamsCallAdapter = useTeamsCallAdapter;
44605
44585
  exports.useTeamsCallAgent = useTeamsCallAgent;
44606
44586
  exports.useTheme = useTheme;
44607
- //# sourceMappingURL=index-CczmcjJ7.js.map
44587
+ //# sourceMappingURL=index-DSX_hUlh.js.map