@azure/communication-react 1.18.0-alpha-202407191547 → 1.18.0-alpha-202407262302

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 (108) hide show
  1. package/dist/communication-react.d.ts +15 -23
  2. package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-ChK7xe6Z.js → ChatMessageComponentAsRichTextEditBox-CmXCpkwp.js} +5 -33
  3. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-CmXCpkwp.js.map +1 -0
  4. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BLCHZv_g.js → RichTextSendBoxWrapper-DI4k0qyf.js} +2 -2
  5. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BLCHZv_g.js.map → RichTextSendBoxWrapper-DI4k0qyf.js.map} +1 -1
  6. package/dist/dist-cjs/communication-react/{index-BWVQuckY.js → index-BSczaURy.js} +184 -249
  7. package/dist/dist-cjs/communication-react/index-BSczaURy.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/baseSelectors.d.ts +1 -1
  12. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +3 -3
  13. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  14. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js +2 -2
  15. package/dist/dist-esm/calling-component-bindings/src/notificationStackSelector.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +1 -3
  17. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  18. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +2 -2
  19. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  20. package/dist/dist-esm/calling-stateful-client/src/Converter.js +1 -1
  21. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  22. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +3 -5
  23. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  24. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +8 -14
  25. package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js +4 -35
  27. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMessageComponentAsRichTextEditBox.js.map +1 -1
  28. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js +1 -6
  29. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponent.js.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.d.ts +8 -8
  31. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js +4 -4
  32. package/dist/dist-esm/react-components/src/components/MeetingConferencePhoneInfo.js.map +1 -1
  33. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js +1 -0
  34. package/dist/dist-esm/react-components/src/components/RichTextEditor/Plugins/CopyPastePlugin.js.map +1 -1
  35. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +14 -21
  36. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
  37. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +2 -2
  38. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +17 -15
  39. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
  40. package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +1 -1
  41. package/dist/dist-esm/react-components/src/components/styles/Common.style.js +1 -2
  42. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  43. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +2 -5
  44. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  45. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +3 -0
  46. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
  47. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.d.ts +2 -6
  48. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +12 -57
  49. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  50. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +1 -1
  51. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  52. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +64 -102
  53. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +62 -100
  54. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +62 -100
  55. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +62 -100
  56. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -1
  57. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +62 -100
  58. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +62 -100
  59. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +65 -103
  60. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +62 -100
  61. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +62 -100
  62. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +64 -102
  63. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +69 -107
  64. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +62 -100
  65. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +68 -106
  66. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +67 -105
  67. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +65 -103
  68. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +63 -101
  69. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +62 -100
  70. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +63 -101
  71. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +64 -102
  72. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +63 -101
  73. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +4 -4
  74. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  75. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js +1 -1
  76. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.js.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +1 -1
  78. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  79. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +10 -10
  80. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js +4 -4
  82. package/dist/dist-esm/react-composites/src/composites/common/MeetingPhoneInfoPaneContent.js.map +1 -1
  83. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -6
  84. package/dist/dist-esm/react-composites/src/composites/common/icons.js +1 -5
  85. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  86. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +5 -10
  87. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +1 -6
  88. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +1 -6
  89. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +1 -6
  90. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +1 -6
  91. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +5 -10
  92. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +5 -10
  93. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +5 -10
  94. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +5 -10
  95. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +1 -6
  96. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +5 -10
  97. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +1 -6
  98. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +1 -6
  99. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +1 -6
  100. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +5 -10
  101. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +1 -6
  102. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +5 -10
  103. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +1 -6
  104. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +5 -10
  105. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +5 -10
  106. package/package.json +7 -7
  107. package/dist/dist-cjs/communication-react/ChatMessageComponentAsRichTextEditBox-ChK7xe6Z.js.map +0 -1
  108. package/dist/dist-cjs/communication-react/index-BWVQuckY.js.map +0 -1
@@ -185,8 +185,8 @@
185
185
  "failToSendTag": "無法傳送",
186
186
  "editedTag": "已編輯",
187
187
  "liveAuthorIntro": "{author} 說",
188
- "messageContentAriaText": "{status} {author} 說 {message}",
189
- "messageContentMineAriaText": "{status} 您說 {message}",
188
+ "messageContentAriaText": "{author} 說 {message}",
189
+ "messageContentMineAriaText": "您說 {message}",
190
190
  "editBoxTextLimit": "您的訊息超過 {limitNumber} 個字元的限制",
191
191
  "editBoxPlaceholderText": "編輯您的訊息",
192
192
  "newMessagesIndicator": "新訊息",
@@ -220,8 +220,7 @@
220
220
  "richTextDeleteColumnMenu": "刪除欄",
221
221
  "richTextDeleteRowMenu": "刪除列",
222
222
  "richTextDeleteTableMenu": "刪除表格",
223
- "richTextToolbarMoreButtonAriaLabel": "其他選項",
224
- "attachmentUploadsPendingError": "正在上傳...請稍候。"
223
+ "richTextToolbarMoreButtonAriaLabel": "其他選項"
225
224
  },
226
225
  "errorBar": {
227
226
  "unableToReachChatService": "您處於離線狀態",
@@ -238,7 +237,6 @@
238
237
  "startScreenShareGeneric": "啟動畫面分享時發生問題。",
239
238
  "stopScreenShareGeneric": "無法停止螢幕畫面分享",
240
239
  "callNetworkQualityLow": "您的網路品質不佳。",
241
- "teamsMeetingCallNetworkQualityLow": "網路品質不佳。",
242
240
  "callNoSpeakerFound": "找不到喇叭或耳機。請連接音訊裝置以聆聽通話。",
243
241
  "callNoMicrophoneFound": "找不到麥克風。請連接音訊輸入裝置。",
244
242
  "callMicrophoneAccessDenied": "無法存取麥克風。按一下網址列中的鎖定以授與此網頁的許可權。",
@@ -259,189 +257,160 @@
259
257
  "failedToJoinCallInvalidMeetingLink": "無法加入會議。連結無效。",
260
258
  "cameraFrozenForRemoteParticipants": "通話中的使用者在觀看您的視訊時發生問題。請檢查您的裝置和網路。",
261
259
  "unableToStartVideoEffect": "無法套用視訊效果。",
262
- "startSpotlightWhileMaxParticipantsAreSpotlighted": "無法啟動參與者的焦點,因為參與者人數已達焦點上限。",
263
- "mutedByRemoteParticipant": "另一位參與者已將您設為靜音。"
260
+ "startSpotlightWhileMaxParticipantsAreSpotlighted": "無法啟動參與者的焦點,因為參與者人數已達焦點上限。"
264
261
  },
265
- "notificationStack": {
262
+ "notifications": {
263
+ "unableToReachChatService": {
264
+ "title": "您目前處於離線狀態。",
265
+ "closeButtonAriaLabel": "關閉"
266
+ },
267
+ "accessDenied": {
268
+ "title": "無法存取聊天服務",
269
+ "message": "請檢查提供的使用者認證",
270
+ "closeButtonAriaLabel": "關閉"
271
+ },
272
+ "userNotInChatThread": {
273
+ "title": "您已不在此聊天對話中。",
274
+ "closeButtonAriaLabel": "關閉"
275
+ },
276
+ "sendMessageNotInChatThread": {
277
+ "title": "無法傳送訊息",
278
+ "message": "您已不在此聊天對話中",
279
+ "closeButtonAriaLabel": "關閉"
280
+ },
281
+ "sendMessageGeneric": {
282
+ "title": "無法傳送郵件。",
283
+ "closeButtonAriaLabel": "關閉"
284
+ },
266
285
  "callingNetworkFailure": {
267
286
  "title": "接通電話時發生問題",
268
287
  "message": "您似乎已離線。請檢查您的網路連線,然後再試一次。",
269
- "dismissButtonAriaLabel": "關閉"
288
+ "closeButtonAriaLabel": "關閉"
270
289
  },
271
290
  "startVideoGeneric": {
272
291
  "title": "無法啟動影片。",
273
- "dismissButtonAriaLabel": "關閉"
292
+ "closeButtonAriaLabel": "關閉"
274
293
  },
275
294
  "stopVideoGeneric": {
276
295
  "title": "無法停止影片。",
277
- "dismissButtonAriaLabel": "關閉"
296
+ "closeButtonAriaLabel": "關閉"
278
297
  },
279
298
  "muteGeneric": {
280
299
  "title": "無法將麥克風設為靜音。",
281
- "dismissButtonAriaLabel": "關閉"
300
+ "closeButtonAriaLabel": "關閉"
282
301
  },
283
302
  "unmuteGeneric": {
284
303
  "title": "無法將麥克風取消靜音。",
285
- "dismissButtonAriaLabel": "關閉"
304
+ "closeButtonAriaLabel": "關閉"
286
305
  },
287
306
  "speakingWhileMuted": {
288
307
  "title": "已將您設為靜音。",
289
- "dismissButtonAriaLabel": "關閉"
308
+ "closeButtonAriaLabel": "關閉"
290
309
  },
291
310
  "startScreenShareGeneric": {
292
311
  "title": "啟動畫面分享時發生問題。",
293
- "dismissButtonAriaLabel": "關閉"
312
+ "closeButtonAriaLabel": "關閉"
294
313
  },
295
314
  "stopScreenShareGeneric": {
296
315
  "title": "無法停止螢幕畫面分享。",
297
- "dismissButtonAriaLabel": "關閉"
316
+ "closeButtonAriaLabel": "關閉"
298
317
  },
299
318
  "callNetworkQualityLow": {
300
319
  "title": "網路品質不佳。",
301
- "dismissButtonAriaLabel": "關閉"
302
- },
303
- "teamsMeetingCallNetworkQualityLow": {
304
- "title": "網路品質不佳。",
305
- "dismissButtonAriaLabel": "關閉",
306
- "message": "從您的手機加入此通話以獲得更佳的音效。您可以繼續在此裝置上檢視會議。",
307
- "primaryButtonLabel": "使用電話加入"
320
+ "closeButtonAriaLabel": "關閉"
308
321
  },
309
322
  "callNoSpeakerFound": {
310
323
  "title": "找不到喇叭或耳機",
311
324
  "message": "連接音訊裝置以聆聽通話。",
312
- "dismissButtonAriaLabel": "關閉"
325
+ "closeButtonAriaLabel": "關閉"
313
326
  },
314
327
  "callNoMicrophoneFound": {
315
328
  "title": "找不到麥克風",
316
329
  "message": "請連結音訊輸入裝置。",
317
- "dismissButtonAriaLabel": "關閉"
330
+ "closeButtonAriaLabel": "關閉"
318
331
  },
319
332
  "callMicrophoneAccessDenied": {
320
333
  "title": "無法存取麥克風",
321
334
  "message": "按兩下網址列中的鎖定以授與此網頁的許可權。",
322
- "dismissButtonAriaLabel": "關閉"
335
+ "closeButtonAriaLabel": "關閉"
323
336
  },
324
337
  "callMicrophoneAccessDeniedSafari": {
325
338
  "title": "無法存取麥克風",
326
339
  "message": "重新整理頁面以允許許可權,或檢查此瀏覽器的設定,並確認已啟用此網站的權限。",
327
- "dismissButtonAriaLabel": "關閉"
340
+ "closeButtonAriaLabel": "關閉"
328
341
  },
329
342
  "callMicrophoneMutedBySystem": {
330
343
  "title": "系統已將您設為靜音。",
331
- "dismissButtonAriaLabel": "關閉"
344
+ "closeButtonAriaLabel": "關閉"
332
345
  },
333
346
  "callMicrophoneUnmutedBySystem": {
334
347
  "title": "您的麥克風已復原,系統已取消您的靜音。",
335
- "dismissButtonAriaLabel": "關閉"
348
+ "closeButtonAriaLabel": "關閉"
336
349
  },
337
350
  "callMacOsMicrophoneAccessDenied": {
338
351
  "title": "無法存取麥克風",
339
352
  "message": "在您的macOS隱私權設定中授與麥克風許可權。",
340
- "dismissButtonAriaLabel": "關閉"
353
+ "closeButtonAriaLabel": "關閉"
341
354
  },
342
355
  "callLocalVideoFreeze": {
343
356
  "title": "網路頻寬不佳",
344
357
  "message": "通話中的其他人可能會暫停您的視訊。",
345
- "dismissButtonAriaLabel": "關閉"
358
+ "closeButtonAriaLabel": "關閉"
346
359
  },
347
360
  "callCameraAccessDenied": {
348
361
  "title": "無法存取相機",
349
362
  "message": "按兩下網址列中的鎖定以授與此網頁的許可權。",
350
- "dismissButtonAriaLabel": "關閉"
363
+ "closeButtonAriaLabel": "關閉"
351
364
  },
352
365
  "callCameraAccessDeniedSafari": {
353
366
  "title": "無法存取相機",
354
367
  "message": "重新整理頁面以允許許可權,或檢查此瀏覽器的設定,並確認已啟用此網站的權限。",
355
- "dismissButtonAriaLabel": "關閉"
368
+ "closeButtonAriaLabel": "關閉"
356
369
  },
357
370
  "callCameraAlreadyInUse": {
358
371
  "title": "無法存取相機",
359
372
  "message": "其他應用程式可能已在使用它。",
360
- "dismissButtonAriaLabel": "關閉"
373
+ "closeButtonAriaLabel": "關閉"
361
374
  },
362
375
  "callVideoStoppedBySystem": {
363
376
  "title": "您的影片已遭系統停止。",
364
- "dismissButtonAriaLabel": "關閉"
377
+ "closeButtonAriaLabel": "關閉"
365
378
  },
366
379
  "callVideoRecoveredBySystem": {
367
- "title": "您的影片已恢復播放。",
368
- "dismissButtonAriaLabel": "關閉"
380
+ "title": "您的影片已繼續。",
381
+ "closeButtonAriaLabel": "關閉"
369
382
  },
370
383
  "callMacOsCameraAccessDenied": {
371
384
  "title": "MacOS 禁止存取您的相機",
372
385
  "message": "更新您的隱私權設定,以允許此瀏覽器存取您的相機。",
373
- "dismissButtonAriaLabel": "關閉"
386
+ "closeButtonAriaLabel": "關閉"
374
387
  },
375
388
  "callMacOsScreenShareAccessDenied": {
376
389
  "title": "MacOS 正在封鎖螢幕畫面分享",
377
390
  "message": "更新您的隱私權設定,以允許此瀏覽器錄製您的螢幕。",
378
- "dismissButtonAriaLabel": "關閉"
391
+ "closeButtonAriaLabel": "關閉"
379
392
  },
380
393
  "failedToJoinCallGeneric": {
381
394
  "title": "無法加入通話。",
382
- "dismissButtonAriaLabel": "關閉"
395
+ "closeButtonAriaLabel": "關閉"
383
396
  },
384
397
  "failedToJoinCallInvalidMeetingLink": {
385
398
  "title": "無法加入會議。連結無效。",
386
- "dismissButtonAriaLabel": "關閉"
399
+ "closeButtonAriaLabel": "關閉"
387
400
  },
388
401
  "cameraFrozenForRemoteParticipants": {
389
402
  "title": "通話中的用戶在觀看您的視訊時發生問題",
390
403
  "message": "請檢查您的裝置和網路。",
391
- "dismissButtonAriaLabel": "關閉"
404
+ "closeButtonAriaLabel": "關閉"
392
405
  },
393
406
  "unableToStartVideoEffect": {
394
407
  "title": "無法套用視訊效果。",
395
- "dismissButtonAriaLabel": "關閉"
408
+ "closeButtonAriaLabel": "關閉"
396
409
  },
397
410
  "startSpotlightWhileMaxParticipantsAreSpotlighted": {
398
411
  "title": "無法在參與者上啟動焦點",
399
412
  "message": "參與者人數上限已成為焦點。",
400
- "dismissButtonAriaLabel": "關閉"
401
- },
402
- "mutedByRemoteParticipant": {
403
- "title": "另一位參與者已將您設為靜音。",
404
- "dismissButtonAriaLabel": "關閉"
405
- },
406
- "recordingStarted": {
407
- "title": "錄製已啟動。",
408
- "message": "一旦加入,即表示您同意轉譯此會議。",
409
- "dismissButtonAriaLabel": "關閉"
410
- },
411
- "transcriptionStarted": {
412
- "title": "已開始轉錄。",
413
- "message": "一旦加入,即表示您同意轉譯此會議。",
414
- "dismissButtonAriaLabel": "關閉"
415
- },
416
- "recordingStopped": {
417
- "title": "正在儲存錄製內容。",
418
- "message": "已停止錄製。",
419
- "dismissButtonAriaLabel": "關閉"
420
- },
421
- "transcriptionStopped": {
422
- "title": "正在儲存轉錄。",
423
- "message": "已停止轉錄。",
424
- "dismissButtonAriaLabel": "關閉"
425
- },
426
- "recordingAndTranscriptionStarted": {
427
- "title": "已開始錄製並進行轉錄。",
428
- "message": "一旦加入,即表示您同意轉譯此會議。",
429
- "dismissButtonAriaLabel": "關閉"
430
- },
431
- "recordingAndTranscriptionStopped": {
432
- "title": "正在儲存錄製和轉錄。",
433
- "message": "已停止錄製與轉錄。",
434
- "dismissButtonAriaLabel": "關閉"
435
- },
436
- "recordingStoppedStillTranscribing": {
437
- "title": "已停止錄製。",
438
- "message": "您現在只會轉錄此會議。",
439
- "dismissButtonAriaLabel": "關閉"
440
- },
441
- "transcriptionStoppedStillRecording": {
442
- "title": "已停止轉錄。",
443
- "message": "您現在只會錄製此會議。",
444
- "dismissButtonAriaLabel": "關閉"
413
+ "closeButtonAriaLabel": "關閉"
445
414
  }
446
415
  },
447
416
  "videoGallery": {
@@ -467,8 +436,7 @@
467
436
  "spotlightLimitReachedMenuTitle": "已達焦點限制",
468
437
  "stopSpotlightVideoTileMenuLabel": "停止聚焦",
469
438
  "stopSpotlightOnSelfVideoTileMenuLabel": "結束聚焦",
470
- "attendeeRole": "出席者",
471
- "muteParticipantMenuItemLabel": "靜音"
439
+ "attendeeRole": "出席者"
472
440
  },
473
441
  "dialpad": {
474
442
  "placeholderText": "輸入電話號碼",
@@ -604,21 +572,15 @@
604
572
  "leftNavButtonAriaLabel": "上一頁",
605
573
  "rightNavButtonAriaLabel": "下一頁"
606
574
  },
607
- "meetingConferencePhoneInfo": {
575
+ "MeetingConferencePhoneInfo": {
608
576
  "meetingConferencePhoneInfoModalTitle": "從您的電話加入通話",
609
577
  "meetingConferencePhoneInfoModalDialIn": "撥號號碼",
610
578
  "meetingConferencePhoneInfoModalMeetingId": "輸入會議識別碼",
611
579
  "meetingConferencePhoneInfoModalWait": "等候召集人獲准進入",
612
580
  "meetingConferencePhoneInfoModalNoPhoneAvailable": "沒有可用的電話",
613
- "meetingConferencePhoneInfoModalTollGeoData": "{country}, {city}",
614
- "meetingConferencePhoneInfoModalTollFree": "(免付費電話)",
615
- "meetingConferencePhoneInfoModalToll": "(付費)"
616
- },
617
- "IncomingCallNotification": {
618
- "incomingCallNotificationPlaceholderId": "未知的使用者",
619
- "incomingCallNotificationPlaceholderAlert": "來電",
620
- "incomingCallNoticicationAcceptWithAudioAriaLabel": "接受音訊",
621
- "incomingCallNoticicationAcceptWithVideoAriaLabel": "接受視訊",
622
- "incomingCallNoticicationRejectAriaLabel": "拒絕"
581
+ "meetingConferencePhoneInfoModalTollFree": "{phoneNumber} (免付費電話) {country},{city}",
582
+ "meetingConferencePhoneInfoModalTollFreeWithoutGeoData": "{phoneNumber} (免付費電話)",
583
+ "meetingConferencePhoneInfoModalToll": "{phoneNumber} (付費電話) {country},{city}",
584
+ "meetingConferencePhoneInfoModalTollWithoutGeoData": "{phoneNumber} (付費電話)"
623
585
  }
624
586
  }
@@ -33,7 +33,7 @@ export const NetworkReconnectTile = (props) => {
33
33
  const palette = useTheme().palette;
34
34
  const strings = useLocale().strings.call;
35
35
  /* @conditional-compile-remove(teams-meeting-conference) */
36
- const localeStrings = useLocale().component.strings.meetingConferencePhoneInfo;
36
+ const localeStrings = useLocale().component.strings.MeetingConferencePhoneInfo;
37
37
  /* @conditional-compile-remove(teams-meeting-conference) */
38
38
  const theme = useTheme();
39
39
  const handlers = useHandlers(ExpandedLocalVideoTile);
@@ -57,7 +57,7 @@ export const NetworkReconnectTile = (props) => {
57
57
  React.createElement(Stack, { horizontal: true, className: phoneInfoStep },
58
58
  React.createElement(Stack.Item, { className: phoneInfoIcon(theme) },
59
59
  React.createElement(Stack, { verticalAlign: "center", horizontalAlign: "center" },
60
- React.createElement(Icon, { iconName: "JoinByPhoneDialStepIcon", className: phoneInfoIconStyle(theme) }))),
60
+ React.createElement(Icon, { iconName: "PhoneNumberButton", className: phoneInfoIconStyle(theme) }))),
61
61
  React.createElement(Stack.Item, null,
62
62
  React.createElement(Text, { className: phoneInfoLabelStyle }, localeStrings.meetingConferencePhoneInfoModalDialIn)))),
63
63
  React.createElement(Stack.Item, { className: phoneInfoStep }, meetingCoordinates.map((phoneNumber, index) => (React.createElement(Stack.Item, { key: index },
@@ -77,7 +77,7 @@ export const NetworkReconnectTile = (props) => {
77
77
  React.createElement(Stack, { horizontal: true },
78
78
  !props.isMobile && React.createElement(Stack, { className: infoConnectionLinkStyle(theme) }),
79
79
  React.createElement(Stack.Item, { className: phoneInfoIcon(theme) },
80
- React.createElement(Icon, { iconName: "JoinByPhoneConferenceIdIcon", className: phoneInfoIconStyle(theme) })),
80
+ React.createElement(Icon, { iconName: "DtmfDialpadButton", className: phoneInfoIconStyle(theme) })),
81
81
  React.createElement(Stack.Item, null,
82
82
  React.createElement(Text, { className: phoneInfoLabelStyle }, localeStrings.meetingConferencePhoneInfoModalMeetingId)))),
83
83
  React.createElement(Text, { className: phoneInfoTextStyle },
@@ -86,7 +86,7 @@ export const NetworkReconnectTile = (props) => {
86
86
  !props.isMobile && (React.createElement(Stack, { horizontal: true, horizontalAlign: "space-between", verticalAlign: "center", className: phoneInfoInstructionLine },
87
87
  React.createElement(Stack, { horizontal: true },
88
88
  React.createElement(Stack.Item, { className: phoneInfoIcon(theme), style: { marginLeft: _pxToRem(2) } },
89
- React.createElement(Icon, { iconName: "JoinByPhoneWaitToBeAdmittedIcon", className: phoneInfoIconStyle(theme) })),
89
+ React.createElement(Icon, { iconName: "PhoneInfoWait", className: phoneInfoIconStyle(theme) })),
90
90
  React.createElement(Stack.Item, null,
91
91
  React.createElement(Text, { className: phoneInfoLabelStyle }, localeStrings.meetingConferencePhoneInfoModalWait)))))))) }, handlers)));
92
92
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkReconnectTile.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/NetworkReconnectTile.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,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AAK,CAAC,QAAQ,IAAI,CAClB,oBAAC,KAAK,IACJ,UAAU,QACV,eAAe,EAAC,eAAe,EAC/B,aAAa,EAAC,QAAQ,EACtB,SAAS,EAAE,wBAAwB;oBAEnC,oBAAC,KAAK,IAAC,UAAU;wBACf,oBAAC,KAAK,CAAC,IAAI,IAAC,SAAS,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE;4BAC7E,oBAAC,IAAI,IAAC,QAAQ,EAAC,iCAAiC,EAAC,SAAS,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAI,CAC9E;wBACb,oBAAC,KAAK,CAAC,IAAI;4BACT,oBAAC,IAAI,IAAC,SAAS,EAAE,mBAAmB,IACjC,aAAa,CAAC,mCAAmC,CAC7C,CACI,CACP,CACF,CACT,CACK,CACT,CAEC,IAEN,QAAQ,EACZ,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { VideoGalleryStream, useTheme } from '@internal/react-components';\nimport { ExpandedLocalVideoTile } from './ExpandedLocalVideoTile';\nimport { mergeStyles, Stack, Text } from '@fluentui/react';\n/* @conditional-compile-remove(teams-meeting-conference) */\n// eslint-disable-next-line no-restricted-imports\nimport { Icon } from '@fluentui/react';\nimport { useLocale } from '../../localization';\nimport {\n containerStyle,\n moreDetailsStyle,\n titleContainerStyle,\n titleStyle\n} from '../styles/NetworkReconnectTile.styles';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { CallCompositeIcon } from '../../common/icons';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { getTeamsMeetingCoordinates, getIsTeamsMeeting } from '../selectors/baseSelectors';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { useSelector } from '../hooks/useSelector';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport {\n phoneInfoTextStyle,\n phoneInfoIcon,\n phoneInfoInstructionLine,\n phoneInfoStep,\n phoneInfoIconStyle,\n phoneInfoLabelStyle,\n titleClassName,\n titleContainerClassName,\n infoConnectionLinkStyle\n} from '../../common/styles/TeamsMeetingConferenceInfo.style';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { formatPhoneNumberInfo, formatPhoneNumber, formatPhoneNumberLink } from '@internal/react-components';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { _pxToRem } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { Link } from '@fluentui/react';\n\n/**\n * @private\n */\nexport interface NetworkReconnectTileProps {\n localParticipantVideoStream: VideoGalleryStream;\n /* @conditional-compile-remove(teams-meeting-conference) */\n isMobile?: boolean;\n}\n\n/**\n * @private\n */\nexport const NetworkReconnectTile = (props: NetworkReconnectTileProps): JSX.Element => {\n const videoStream = props.localParticipantVideoStream;\n const isVideoReady = videoStream?.isAvailable ?? false;\n const palette = useTheme().palette;\n const strings = useLocale().strings.call;\n /* @conditional-compile-remove(teams-meeting-conference) */\n const localeStrings = useLocale().component.strings.meetingConferencePhoneInfo;\n /* @conditional-compile-remove(teams-meeting-conference) */\n const theme = useTheme();\n\n const handlers = useHandlers(ExpandedLocalVideoTile);\n\n /* @conditional-compile-remove(teams-meeting-conference) */\n const isTeamsMeeting = useSelector(getIsTeamsMeeting);\n /* @conditional-compile-remove(teams-meeting-conference) */\n const meetingCoordinates = useSelector(getTeamsMeetingCoordinates);\n\n return (\n <ExpandedLocalVideoTile\n localParticipantVideoStream={props.localParticipantVideoStream}\n overlayContent={\n <Stack\n verticalFill\n horizontalAlign=\"center\"\n verticalAlign=\"center\"\n className={mergeStyles(containerStyle)}\n aria-atomic\n >\n <Stack horizontal className={mergeStyles(titleContainerStyle)}>\n <CallCompositeIcon\n iconName=\"NetworkReconnectIcon\"\n className={mergeStyles(titleStyle(palette, isVideoReady))}\n />\n <Text className={mergeStyles(titleStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectTitle}\n </Text>\n </Stack>\n <Text className={mergeStyles(moreDetailsStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectMoreDetails}\n </Text>\n {\n /* @conditional-compile-remove(teams-meeting-conference) */ isTeamsMeeting &&\n meetingCoordinates &&\n meetingCoordinates.length > 0 && (\n <Stack>\n <Stack horizontal horizontalAlign=\"center\" verticalAlign=\"center\" className={titleContainerClassName}>\n <Text className={titleClassName}>{localeStrings.meetingConferencePhoneInfoModalTitle}</Text>\n </Stack>\n <Stack horizontal horizontalAlign=\"space-between\" className={phoneInfoInstructionLine}>\n <Stack className={infoConnectionLinkStyle(theme)}></Stack>\n <Stack.Item>\n <Stack horizontal className={phoneInfoStep}>\n <Stack.Item className={phoneInfoIcon(theme)}>\n <Stack verticalAlign=\"center\" horizontalAlign=\"center\">\n <Icon iconName=\"JoinByPhoneDialStepIcon\" className={phoneInfoIconStyle(theme)} />\n </Stack>\n </Stack.Item>\n <Stack.Item>\n <Text className={phoneInfoLabelStyle}>\n {localeStrings.meetingConferencePhoneInfoModalDialIn}\n </Text>\n </Stack.Item>\n </Stack>\n </Stack.Item>\n <Stack.Item className={phoneInfoStep}>\n {meetingCoordinates.map((phoneNumber, index) => (\n <Stack.Item key={index}>\n <Text className={phoneInfoTextStyle}>\n {props.isMobile && (\n <Link className={phoneInfoTextStyle} href={formatPhoneNumberLink(phoneNumber)}>\n {formatPhoneNumber(phoneNumber.phoneNumber)}\n </Link>\n )}\n {!props.isMobile && (\n <Text className={phoneInfoTextStyle}>{formatPhoneNumber(phoneNumber.phoneNumber)}</Text>\n )}{' '}\n {phoneNumber.isTollFree\n ? localeStrings.meetingConferencePhoneInfoModalTollFree\n : localeStrings.meetingConferencePhoneInfoModalToll}\n </Text>\n <br />\n <Text className={phoneInfoTextStyle}>\n {' '}\n {formatPhoneNumberInfo(phoneNumber, localeStrings)}\n </Text>\n </Stack.Item>\n ))}\n </Stack.Item>\n </Stack>\n <Stack\n horizontal\n horizontalAlign=\"space-between\"\n verticalAlign=\"center\"\n className={phoneInfoInstructionLine}\n >\n <Stack.Item>\n <Stack horizontal>\n {!props.isMobile && <Stack className={infoConnectionLinkStyle(theme)}></Stack>}\n <Stack.Item className={phoneInfoIcon(theme)}>\n <Icon iconName=\"JoinByPhoneConferenceIdIcon\" className={phoneInfoIconStyle(theme)} />\n </Stack.Item>\n <Stack.Item>\n <Text className={phoneInfoLabelStyle}>\n {localeStrings.meetingConferencePhoneInfoModalMeetingId}\n </Text>\n </Stack.Item>\n </Stack>\n </Stack.Item>\n <Text className={phoneInfoTextStyle}>{meetingCoordinates[0].conferenceId}#</Text>\n </Stack>\n {!props.isMobile && (\n <Stack\n horizontal\n horizontalAlign=\"space-between\"\n verticalAlign=\"center\"\n className={phoneInfoInstructionLine}\n >\n <Stack horizontal>\n <Stack.Item className={phoneInfoIcon(theme)} style={{ marginLeft: _pxToRem(2) }}>\n <Icon iconName=\"JoinByPhoneWaitToBeAdmittedIcon\" className={phoneInfoIconStyle(theme)} />\n </Stack.Item>\n <Stack.Item>\n <Text className={phoneInfoLabelStyle}>\n {localeStrings.meetingConferencePhoneInfoModalWait}\n </Text>\n </Stack.Item>\n </Stack>\n </Stack>\n )}\n </Stack>\n )\n }\n </Stack>\n }\n {...handlers}\n />\n );\n};\n"]}
1
+ {"version":3,"file":"NetworkReconnectTile.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/components/NetworkReconnectTile.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAsB,QAAQ,EAAE,4CAAmC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC3D,2DAA2D;AAC3D,iDAAiD;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,iB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CAAC,CAAC,EAAE;4BAC7E,oBAAC,IAAI,IAAC,QAAQ,EAAC,eAAe,EAAC,SAAS,EAAE,kBAAkB,CAAC,KAAK,CAAC,GAAI,CAC5D;wBACb,oBAAC,KAAK,CAAC,IAAI;4BACT,oBAAC,IAAI,IAAC,SAAS,EAAE,mBAAmB,IACjC,aAAa,CAAC,mCAAmC,CAC7C,CACI,CACP,CACF,CACT,CACK,CACT,CAEC,IAEN,QAAQ,EACZ,CACH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { VideoGalleryStream, useTheme } from '@internal/react-components';\nimport { ExpandedLocalVideoTile } from './ExpandedLocalVideoTile';\nimport { mergeStyles, Stack, Text } from '@fluentui/react';\n/* @conditional-compile-remove(teams-meeting-conference) */\n// eslint-disable-next-line no-restricted-imports\nimport { Icon } from '@fluentui/react';\nimport { useLocale } from '../../localization';\nimport {\n containerStyle,\n moreDetailsStyle,\n titleContainerStyle,\n titleStyle\n} from '../styles/NetworkReconnectTile.styles';\nimport { useHandlers } from '../hooks/useHandlers';\nimport { CallCompositeIcon } from '../../common/icons';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { getTeamsMeetingCoordinates, getIsTeamsMeeting } from '../selectors/baseSelectors';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { useSelector } from '../hooks/useSelector';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport {\n phoneInfoTextStyle,\n phoneInfoIcon,\n phoneInfoInstructionLine,\n phoneInfoStep,\n phoneInfoIconStyle,\n phoneInfoLabelStyle,\n titleClassName,\n titleContainerClassName,\n infoConnectionLinkStyle\n} from '../../common/styles/TeamsMeetingConferenceInfo.style';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { formatPhoneNumberInfo, formatPhoneNumber, formatPhoneNumberLink } from '@internal/react-components';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { _pxToRem } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { Link } from '@fluentui/react';\n\n/**\n * @private\n */\nexport interface NetworkReconnectTileProps {\n localParticipantVideoStream: VideoGalleryStream;\n /* @conditional-compile-remove(teams-meeting-conference) */\n isMobile?: boolean;\n}\n\n/**\n * @private\n */\nexport const NetworkReconnectTile = (props: NetworkReconnectTileProps): JSX.Element => {\n const videoStream = props.localParticipantVideoStream;\n const isVideoReady = videoStream?.isAvailable ?? false;\n const palette = useTheme().palette;\n const strings = useLocale().strings.call;\n /* @conditional-compile-remove(teams-meeting-conference) */\n const localeStrings = useLocale().component.strings.MeetingConferencePhoneInfo;\n /* @conditional-compile-remove(teams-meeting-conference) */\n const theme = useTheme();\n\n const handlers = useHandlers(ExpandedLocalVideoTile);\n\n /* @conditional-compile-remove(teams-meeting-conference) */\n const isTeamsMeeting = useSelector(getIsTeamsMeeting);\n /* @conditional-compile-remove(teams-meeting-conference) */\n const meetingCoordinates = useSelector(getTeamsMeetingCoordinates);\n\n return (\n <ExpandedLocalVideoTile\n localParticipantVideoStream={props.localParticipantVideoStream}\n overlayContent={\n <Stack\n verticalFill\n horizontalAlign=\"center\"\n verticalAlign=\"center\"\n className={mergeStyles(containerStyle)}\n aria-atomic\n >\n <Stack horizontal className={mergeStyles(titleContainerStyle)}>\n <CallCompositeIcon\n iconName=\"NetworkReconnectIcon\"\n className={mergeStyles(titleStyle(palette, isVideoReady))}\n />\n <Text className={mergeStyles(titleStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectTitle}\n </Text>\n </Stack>\n <Text className={mergeStyles(moreDetailsStyle(palette, isVideoReady))} aria-live={'assertive'}>\n {strings.networkReconnectMoreDetails}\n </Text>\n {\n /* @conditional-compile-remove(teams-meeting-conference) */ isTeamsMeeting &&\n meetingCoordinates &&\n meetingCoordinates.length > 0 && (\n <Stack>\n <Stack horizontal horizontalAlign=\"center\" verticalAlign=\"center\" className={titleContainerClassName}>\n <Text className={titleClassName}>{localeStrings.meetingConferencePhoneInfoModalTitle}</Text>\n </Stack>\n <Stack horizontal horizontalAlign=\"space-between\" className={phoneInfoInstructionLine}>\n <Stack className={infoConnectionLinkStyle(theme)}></Stack>\n <Stack.Item>\n <Stack horizontal className={phoneInfoStep}>\n <Stack.Item className={phoneInfoIcon(theme)}>\n <Stack verticalAlign=\"center\" horizontalAlign=\"center\">\n <Icon iconName=\"PhoneNumberButton\" className={phoneInfoIconStyle(theme)} />\n </Stack>\n </Stack.Item>\n <Stack.Item>\n <Text className={phoneInfoLabelStyle}>\n {localeStrings.meetingConferencePhoneInfoModalDialIn}\n </Text>\n </Stack.Item>\n </Stack>\n </Stack.Item>\n <Stack.Item className={phoneInfoStep}>\n {meetingCoordinates.map((phoneNumber, index) => (\n <Stack.Item key={index}>\n <Text className={phoneInfoTextStyle}>\n {props.isMobile && (\n <Link className={phoneInfoTextStyle} href={formatPhoneNumberLink(phoneNumber)}>\n {formatPhoneNumber(phoneNumber.phoneNumber)}\n </Link>\n )}\n {!props.isMobile && (\n <Text className={phoneInfoTextStyle}>{formatPhoneNumber(phoneNumber.phoneNumber)}</Text>\n )}{' '}\n {phoneNumber.isTollFree\n ? localeStrings.meetingConferencePhoneInfoModalTollFree\n : localeStrings.meetingConferencePhoneInfoModalToll}\n </Text>\n <br />\n <Text className={phoneInfoTextStyle}>\n {' '}\n {formatPhoneNumberInfo(phoneNumber, localeStrings)}\n </Text>\n </Stack.Item>\n ))}\n </Stack.Item>\n </Stack>\n <Stack\n horizontal\n horizontalAlign=\"space-between\"\n verticalAlign=\"center\"\n className={phoneInfoInstructionLine}\n >\n <Stack.Item>\n <Stack horizontal>\n {!props.isMobile && <Stack className={infoConnectionLinkStyle(theme)}></Stack>}\n <Stack.Item className={phoneInfoIcon(theme)}>\n <Icon iconName=\"DtmfDialpadButton\" className={phoneInfoIconStyle(theme)} />\n </Stack.Item>\n <Stack.Item>\n <Text className={phoneInfoLabelStyle}>\n {localeStrings.meetingConferencePhoneInfoModalMeetingId}\n </Text>\n </Stack.Item>\n </Stack>\n </Stack.Item>\n <Text className={phoneInfoTextStyle}>{meetingCoordinates[0].conferenceId}#</Text>\n </Stack>\n {!props.isMobile && (\n <Stack\n horizontal\n horizontalAlign=\"space-between\"\n verticalAlign=\"center\"\n className={phoneInfoInstructionLine}\n >\n <Stack horizontal>\n <Stack.Item className={phoneInfoIcon(theme)} style={{ marginLeft: _pxToRem(2) }}>\n <Icon iconName=\"PhoneInfoWait\" className={phoneInfoIconStyle(theme)} />\n </Stack.Item>\n <Stack.Item>\n <Text className={phoneInfoLabelStyle}>\n {localeStrings.meetingConferencePhoneInfoModalWait}\n </Text>\n </Stack.Item>\n </Stack>\n </Stack>\n )}\n </Stack>\n )\n }\n </Stack>\n }\n {...handlers}\n />\n );\n};\n"]}
@@ -19,7 +19,7 @@ export const useMeetingPhoneInfoPane = (props) => {
19
19
  const closePane = useCallback(() => {
20
20
  updateSidePaneRenderer(undefined);
21
21
  }, [updateSidePaneRenderer]);
22
- const localeStrings = useLocale().component.strings.meetingConferencePhoneInfo;
22
+ const localeStrings = useLocale().component.strings.MeetingConferencePhoneInfo;
23
23
  const callStrings = useLocale().strings.call;
24
24
  const onRenderHeader = useCallback(() => (React.createElement(SidePaneHeader, { onClose: closePane, headingText: localeStrings.meetingConferencePhoneInfoModalTitle, dismissSidePaneButtonAriaLabel: callStrings.dismissSidePaneButtonLabel, mobileView: mobileView !== null && mobileView !== void 0 ? mobileView : false })), [mobileView, closePane, localeStrings, callStrings]);
25
25
  const onRenderContent = useCallback(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"useMeetingPhoneInfo.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D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I,CAAC;IAC/G,CAAC,EAAE,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAEtC,MAAM,gBAAgB,GAAqB,OAAO,CAChD,GAAG,EAAE,CAAC,CAAC;QACL,cAAc,EAAE,cAAc;QAC9B,eAAe,EAAE,eAAe;QAChC,EAAE,EAAE,YAAY;KACjB,CAAC,EACF,CAAC,eAAe,EAAE,cAAc,CAAC,CAClC,CAAC;IAEF,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAChC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAE/C,MAAM,MAAM,GAAG,2BAA2B,CAAC,YAAY,CAAC,CAAC;IAEzD,kEAAkE;IAClE,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;QACb,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEvB,OAAO;QACL,wBAAwB,EAAE,QAAQ;QAClC,yBAAyB,EAAE,SAAS;QACpC,0BAA0B,EAAE,MAAM;KACnC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport React, { useCallback, useEffect, useMemo } from 'react';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { SidePaneRenderer, useIsParticularSidePaneOpen } from './SidePaneProvider';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { SidePaneHeader } from '../../../common/SidePaneHeader';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { MeetingPhoneInfoPaneContent } from '../../../common/MeetingPhoneInfoPaneContent';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { useLocale } from '../../../localization';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { ConferencePhoneInfo } from '@internal/react-components';\n\n/* @conditional-compile-remove(teams-meeting-conference) */\nconst SIDE_PANE_ID = 'Meeting Phone Info';\n\n/* @conditional-compile-remove(teams-meeting-conference) */\n/** @private */\nexport const useMeetingPhoneInfoPane = (props: {\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileView?: boolean;\n conferencePhoneInfo?: ConferencePhoneInfo[];\n}): {\n openMeetingPhoneInfoPane: () => void;\n closeMeetingPhoneInfoPane: () => void;\n isMeetingPhoneInfoPaneOpen: boolean;\n} => {\n const { updateSidePaneRenderer, mobileView, conferencePhoneInfo } = props;\n\n const closePane = useCallback(() => {\n updateSidePaneRenderer(undefined);\n }, [updateSidePaneRenderer]);\n\n const localeStrings = useLocale().component.strings.meetingConferencePhoneInfo;\n const callStrings = useLocale().strings.call;\n\n const onRenderHeader = useCallback(\n () => (\n <SidePaneHeader\n onClose={closePane}\n headingText={localeStrings.meetingConferencePhoneInfoModalTitle}\n dismissSidePaneButtonAriaLabel={callStrings.dismissSidePaneButtonLabel}\n mobileView={mobileView ?? false}\n />\n ),\n [mobileView, closePane, localeStrings, callStrings]\n );\n\n const onRenderContent = useCallback((): JSX.Element => {\n return <MeetingPhoneInfoPaneContent mobileView={mobileView} conferencePhoneInfoList={conferencePhoneInfo} />;\n }, [mobileView, conferencePhoneInfo]);\n\n const sidePaneRenderer: SidePaneRenderer = useMemo(\n () => ({\n headerRenderer: onRenderHeader,\n contentRenderer: onRenderContent,\n id: SIDE_PANE_ID\n }),\n [onRenderContent, onRenderHeader]\n );\n\n const openPane = useCallback(() => {\n updateSidePaneRenderer(sidePaneRenderer);\n }, [sidePaneRenderer, updateSidePaneRenderer]);\n\n const isOpen = useIsParticularSidePaneOpen(SIDE_PANE_ID);\n\n // Update pane renderer if it is open and the openPane dep changes\n useEffect(() => {\n if (isOpen) {\n openPane();\n }\n }, [isOpen, openPane]);\n\n return {\n openMeetingPhoneInfoPane: openPane,\n closeMeetingPhoneInfoPane: closePane,\n isMeetingPhoneInfoPaneOpen: isOpen\n };\n};\n"]}
1
+ {"version":3,"file":"useMeetingPhoneInfo.js","sourceRoot":"","sources":["../../../../../../../../../react-composites/src/composites/CallComposite/components/SidePane/useMeetingPhoneInfo.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC/D,2DAA2D;AAC3D,OAAO,EAAoB,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACnF,2DAA2D;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,2DAA2D;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC1F,2DAA2D;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAIlD,2DAA2D;AAC3D,MAAM,YAAY,GAAG,oBAAoB,CAAC;AAE1C,2DAA2D;AAC3D,eAAe;AACf,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAIvC,EAIC,EAAE;IACF,MAAM,EAAE,sBAAsB,EAAE,UAAU,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAC;IAE1E,MAAM,SAAS,GAAG,WAAW,CAAC,GAAG,EAAE;QACjC,sBAAsB,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAE7B,MAAM,aAAa,GAAG,SAAS,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,0BAA0B,CAAC;IAC/E,MAAM,WAAW,GAAG,SAAS,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAE7C,MAAM,cAAc,GAAG,WAAW,CAChC,GAAG,EAAE,CAAC,CACJ,oBAAC,cAAc,IACb,OAAO,EAAE,SAAS,EAClB,WAAW,EAAE,aAAa,CAAC,oCAAoC,EAC/D,8BAA8B,EAAE,WAAW,CAAC,0BAA0B,EACtE,UAAU,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,KAAK,GAC/B,CACH,EACD,CAAC,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC,CACpD,CAAC;IAEF,MAAM,eAAe,GAAG,WAAW,CAAC,GAAgB,EAAE;QACpD,OAAO,oBAAC,2BAA2B,IAAC,UAAU,EAAE,UAAU,EAAE,uBAAuB,EAAE,mBAAmB,GAAI,CAAC;IAC/G,CAAC,EAAE,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAEtC,MAAM,gBAAgB,GAAqB,OAAO,CAChD,GAAG,EAAE,CAAC,CAAC;QACL,cAAc,EAAE,cAAc;QAC9B,eAAe,EAAE,eAAe;QAChC,EAAE,EAAE,YAAY;KACjB,CAAC,EACF,CAAC,eAAe,EAAE,cAAc,CAAC,CAClC,CAAC;IAEF,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAChC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,CAAC,CAAC;IAE/C,MAAM,MAAM,GAAG,2BAA2B,CAAC,YAAY,CAAC,CAAC;IAEzD,kEAAkE;IAClE,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,EAAE,CAAC;YACX,QAAQ,EAAE,CAAC;QACb,CAAC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEvB,OAAO;QACL,wBAAwB,EAAE,QAAQ;QAClC,yBAAyB,EAAE,SAAS;QACpC,0BAA0B,EAAE,MAAM;KACnC,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport React, { useCallback, useEffect, useMemo } from 'react';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { SidePaneRenderer, useIsParticularSidePaneOpen } from './SidePaneProvider';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { SidePaneHeader } from '../../../common/SidePaneHeader';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { MeetingPhoneInfoPaneContent } from '../../../common/MeetingPhoneInfoPaneContent';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { useLocale } from '../../../localization';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { ConferencePhoneInfo } from '@internal/react-components';\n\n/* @conditional-compile-remove(teams-meeting-conference) */\nconst SIDE_PANE_ID = 'Meeting Phone Info';\n\n/* @conditional-compile-remove(teams-meeting-conference) */\n/** @private */\nexport const useMeetingPhoneInfoPane = (props: {\n updateSidePaneRenderer: (renderer: SidePaneRenderer | undefined) => void;\n mobileView?: boolean;\n conferencePhoneInfo?: ConferencePhoneInfo[];\n}): {\n openMeetingPhoneInfoPane: () => void;\n closeMeetingPhoneInfoPane: () => void;\n isMeetingPhoneInfoPaneOpen: boolean;\n} => {\n const { updateSidePaneRenderer, mobileView, conferencePhoneInfo } = props;\n\n const closePane = useCallback(() => {\n updateSidePaneRenderer(undefined);\n }, [updateSidePaneRenderer]);\n\n const localeStrings = useLocale().component.strings.MeetingConferencePhoneInfo;\n const callStrings = useLocale().strings.call;\n\n const onRenderHeader = useCallback(\n () => (\n <SidePaneHeader\n onClose={closePane}\n headingText={localeStrings.meetingConferencePhoneInfoModalTitle}\n dismissSidePaneButtonAriaLabel={callStrings.dismissSidePaneButtonLabel}\n mobileView={mobileView ?? false}\n />\n ),\n [mobileView, closePane, localeStrings, callStrings]\n );\n\n const onRenderContent = useCallback((): JSX.Element => {\n return <MeetingPhoneInfoPaneContent mobileView={mobileView} conferencePhoneInfoList={conferencePhoneInfo} />;\n }, [mobileView, conferencePhoneInfo]);\n\n const sidePaneRenderer: SidePaneRenderer = useMemo(\n () => ({\n headerRenderer: onRenderHeader,\n contentRenderer: onRenderContent,\n id: SIDE_PANE_ID\n }),\n [onRenderContent, onRenderHeader]\n );\n\n const openPane = useCallback(() => {\n updateSidePaneRenderer(sidePaneRenderer);\n }, [sidePaneRenderer, updateSidePaneRenderer]);\n\n const isOpen = useIsParticularSidePaneOpen(SIDE_PANE_ID);\n\n // Update pane renderer if it is open and the openPane dep changes\n useEffect(() => {\n if (isOpen) {\n openPane();\n }\n }, [isOpen, openPane]);\n\n return {\n openMeetingPhoneInfoPane: openPane,\n closeMeetingPhoneInfoPane: closePane,\n isMeetingPhoneInfoPaneOpen: isOpen\n };\n};\n"]}
@@ -142,7 +142,7 @@ export const getIsTeamsMeeting = (state) => state.isTeamsMeeting;
142
142
  /**
143
143
  * @private
144
144
  */
145
- export const getTeamsMeetingCoordinates = (state) => { var _a, _b; return (_b = (_a = state.call) === null || _a === void 0 ? void 0 : _a.meetingConference) === null || _b === void 0 ? void 0 : _b.conferencePhones; };
145
+ export const getTeamsMeetingCoordinates = (state) => { var _a; return (_a = state.call) === null || _a === void 0 ? void 0 : _a.teamsMeetingConference; };
146
146
  /**
147
147
  * @private
148
148
  */
@@ -1 +1 @@
1
- {"version":3,"file":"baseSelectors.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/selectors/baseSelectors.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAyBlC,OAAO,EAAa,YAAY,EAA+B,sDAA6C;AAO5G;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAsB,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;AAEjG;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAuB,EAAsB,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,EAAE,CAAA,EAAA,CAAC;AAEzF;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAuB,EAAyB,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;AAEhG;;GAEG;AACH,MAAM,CAAC,MAAM,aA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,MAAA,KAAK,CAAC,IAAI,0CAAE,SAAS,0CAAE,uBAAuB,CAAA,EAAA,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { CallState as SDKCallStatus, DominantSpeakersInfo } from '@azure/communication-calling';\nimport { ParticipantCapabilities } from '@azure/communication-calling';\nimport { VideoDeviceInfo, AudioDeviceInfo } from '@azure/communication-calling';\n\nimport { CapabilitiesChangeInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { EnvironmentInfo } from '@azure/communication-calling';\n\nimport { ParticipantRole } from '@azure/communication-calling';\nimport {\n CallState,\n DeviceManagerState,\n DiagnosticsCallFeatureState,\n LocalVideoStreamState,\n RemoteParticipantState\n} from '@internal/calling-stateful-client';\nimport { CaptionsInfo } from '@internal/calling-stateful-client';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { ConferencePhoneInfo } from '@internal/calling-stateful-client';\nimport { SpotlightedParticipant } from '@azure/communication-calling';\nimport { CallAdapterState, CallCompositePage } from '../adapter/CallAdapter';\n\nimport { VideoBackgroundEffect } from '../adapter/CallAdapter';\nimport { _isInCall, _isPreviewOn, _dominantSpeakersWithFlatId } from '@internal/calling-component-bindings';\nimport { AdapterErrors } from '../../common/adapters';\nimport { RaisedHandState } from '@internal/calling-stateful-client';\nimport { CommunicationIdentifier } from '@azure/communication-common';\n/* @conditional-compile-remove(acs-close-captions) */\nimport { CaptionsKind } from '@azure/communication-calling';\n\n/**\n * @private\n */\nexport const getDisplayName = (state: CallAdapterState): string | undefined => state.displayName;\n\n/**\n * @private\n */\nexport const getCallId = (state: CallAdapterState): string | undefined => state.call?.id;\n\n/**\n * @private\n */\nexport const getEndedCall = (state: CallAdapterState): CallState | undefined => state.endedCall;\n\n/**\n * @private\n */\nexport const getCallStatus = (state: CallAdapterState): SDKCallStatus => state.call?.state ?? 'None';\n\n/**\n * @private\n */\nexport const getDeviceManager = (state: CallAdapterState): DeviceManagerState => state.devices;\n\n/**\n * @private\n */\nexport const getIsScreenShareOn = (state: CallAdapterState): boolean => state.call?.isScreenSharingOn ?? false;\n\n/**\n * @private\n */\nexport const getLocalParticipantRaisedHand = (state: CallAdapterState): RaisedHandState | undefined =>\n state.call?.raiseHand.localParticipantRaisedHand;\n\n/**\n * @private\n */\nexport const getCapabilites = (state: CallAdapterState): ParticipantCapabilities | undefined =>\n state.call?.capabilitiesFeature?.capabilities;\n\n/**\n * @private\n */\nexport const getIsPreviewCameraOn = (state: CallAdapterState): boolean => _isPreviewOn(state.devices);\n\n/**\n * @private\n */\nexport const getMicrophones = (state: CallAdapterState): AudioDeviceInfo[] => state.devices.microphones;\n\n/**\n * @private\n */\nexport const getCameras = (state: CallAdapterState): VideoDeviceInfo[] => state.devices.cameras;\n\n/**\n * @private\n */\nexport const getRole = (state: CallAdapterState): ParticipantRole | undefined => state.call?.role;\n\n/**\n * @private\n */\nexport const getPage = (state: CallAdapterState): CallCompositePage => state.page;\n\n/**\n * @private\n */\nexport const getTransferCall = (state: CallAdapterState): CallState | undefined => state.acceptedTransferCallState;\n\n/**\n * @private\n */\nexport const getLocalMicrophoneEnabled = (state: CallAdapterState): boolean => state.isLocalPreviewMicrophoneEnabled;\n\n/**\n * @private\n */\nexport const getLocalVideoStreams = (state: CallAdapterState): LocalVideoStreamState[] | undefined =>\n state.call?.localVideoStreams;\n\n/**\n * @private\n */\nexport const getIsTranscriptionActive = (state: CallAdapterState): boolean =>\n !!state.call?.transcription.isTranscriptionActive;\n\n/**\n * @private\n */\nexport const getIsRecordingActive = (state: CallAdapterState): boolean => !!state.call?.recording.isRecordingActive;\n\n/**\n * @private\n */\nexport const getUserFacingDiagnostics = (state: CallAdapterState): DiagnosticsCallFeatureState | undefined =>\n state.call?.diagnostics;\n\n/**\n * @private\n */\nexport const getDominantSpeakerInfo = (state: CallAdapterState): undefined | DominantSpeakersInfo =>\n state.call?.dominantSpeakers;\n\n/**\n * @private\n */\nexport const getRemoteParticipants = (\n state: CallAdapterState\n):\n | undefined\n | {\n [keys: string]: RemoteParticipantState;\n } => state.call?.remoteParticipants;\n\n/* @conditional-compile-remove(unsupported-browser) */\n/**\n * @private\n */\nexport const getEnvironmentInfo = (state: CallAdapterState): EnvironmentInfo | undefined => state.environmentInfo;\n\n/**\n * @private\n */\nexport const getSelectedVideoEffect = (state: CallAdapterState): VideoBackgroundEffect | undefined =>\n state.selectedVideoBackgroundEffect;\n\n/* @conditional-compile-remove(acs-close-captions) */\n/** @private */\nexport const getCaptionsKind = (state: CallAdapterState): CaptionsKind | undefined => {\n return state.call?.captionsFeature.captionsKind;\n};\n\n/** @private */\nexport const getCaptions = (state: CallAdapterState): CaptionsInfo[] | undefined => {\n return state.call?.captionsFeature.captions;\n};\n\n/** @private */\nexport const getCaptionsStatus = (state: CallAdapterState): boolean | undefined => {\n return state.call?.captionsFeature.isCaptionsFeatureActive;\n};\n\n/** @private */\nexport const getCurrentCaptionLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentCaptionLanguage;\n};\n\n/** @private */\nexport const getCurrentSpokenLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentSpokenLanguage;\n};\n\n/** @private */\nexport const getSupportedCaptionLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedCaptionLanguages;\n};\n\n/** @private */\nexport const getSupportedSpokenLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedSpokenLanguages;\n};\n\n/**\n * @private\n */\nexport const getIsTeamsCall = (state: CallAdapterState): boolean => state.isTeamsCall;\n\n/**\n * @private\n */\nexport const getIsTeamsMeeting = (state: CallAdapterState): boolean => state.isTeamsMeeting;\n\n/* @conditional-compile-remove(teams-meeting-conference) */\n/**\n * @private\n */\nexport const getTeamsMeetingCoordinates = (state: CallAdapterState): ConferencePhoneInfo[] | undefined =>\n state.call?.meetingConference?.conferencePhones;\n\n/**\n * @private\n */\nexport const getLatestErrors = (state: CallAdapterState): AdapterErrors => state.latestErrors;\n\n/**\n * @private\n */\nexport const getLatestCapabilitiesChangedInfo = (state: CallAdapterState): CapabilitiesChangeInfo | undefined => {\n return state.call?.capabilitiesFeature?.latestCapabilitiesChangeInfo;\n};\n\n/**\n * @private\n */\nexport const getTargetCallees = (state: CallAdapterState): CommunicationIdentifier[] | undefined => state.targetCallees;\n\n/**\n * @private\n */\nexport const getStartTime = (state: CallAdapterState): Date | undefined => state.call?.startTime;\n\n/**\n * @private\n */\nexport const getSpotlightedParticipants = (state: CallAdapterState): SpotlightedParticipant[] | undefined =>\n state.call?.spotlight?.spotlightedParticipants;\n"]}
1
+ {"version":3,"file":"baseSelectors.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallComposite/selectors/baseSelectors.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAyBlC,OAAO,EAAa,YAAY,EAA+B,sDAA6C;AAO5G;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAuB,EAAsB,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;AAEjG;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAuB,EAAsB,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,EAAE,CAAA,EAAA,CAAC;AAEzF;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAuB,EAAyB,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;AAEhG;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAuB,EAAiB,EAAE,eAAC,OAAA,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,KAAK,mCAAI,MAAM,CAAA,EAAA,CAAC;AAErG;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAuB,EAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;AAE/F;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB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,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;AAEtF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAuB,EAAW,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC;AAE5F,2DAA2D;AAC3D;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAuB,EAAqC,EAAE,WACvG,OAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,sBAAsB,CAAA,EAAA,CAAC;AAErC;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAAuB,EAAiB,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;AAE9F;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,KAAuB,EAAsC,EAAE;;IAC9G,OAAO,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,mBAAmB,0CAAE,4BAA4B,CAAC;AACvE,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,KAAuB,EAAyC,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC;AAExH;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAuB,EAAoB,EAAE,WAAC,OAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,SAAS,CAAA,EAAA,CAAC;AAEjG;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAuB,EAAwC,EAAE,eAC1G,OAAA,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,SAAS,0CAAE,uBAAuB,CAAA,EAAA,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { CallState as SDKCallStatus, DominantSpeakersInfo } from '@azure/communication-calling';\nimport { ParticipantCapabilities } from '@azure/communication-calling';\nimport { VideoDeviceInfo, AudioDeviceInfo } from '@azure/communication-calling';\n\nimport { CapabilitiesChangeInfo } from '@azure/communication-calling';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { EnvironmentInfo } from '@azure/communication-calling';\n\nimport { ParticipantRole } from '@azure/communication-calling';\nimport {\n CallState,\n DeviceManagerState,\n DiagnosticsCallFeatureState,\n LocalVideoStreamState,\n RemoteParticipantState\n} from '@internal/calling-stateful-client';\nimport { CaptionsInfo } from '@internal/calling-stateful-client';\n/* @conditional-compile-remove(teams-meeting-conference) */\nimport { ConferencePhoneInfo } from '@internal/calling-stateful-client';\nimport { SpotlightedParticipant } from '@azure/communication-calling';\nimport { CallAdapterState, CallCompositePage } from '../adapter/CallAdapter';\n\nimport { VideoBackgroundEffect } from '../adapter/CallAdapter';\nimport { _isInCall, _isPreviewOn, _dominantSpeakersWithFlatId } from '@internal/calling-component-bindings';\nimport { AdapterErrors } from '../../common/adapters';\nimport { RaisedHandState } from '@internal/calling-stateful-client';\nimport { CommunicationIdentifier } from '@azure/communication-common';\n/* @conditional-compile-remove(acs-close-captions) */\nimport { CaptionsKind } from '@azure/communication-calling';\n\n/**\n * @private\n */\nexport const getDisplayName = (state: CallAdapterState): string | undefined => state.displayName;\n\n/**\n * @private\n */\nexport const getCallId = (state: CallAdapterState): string | undefined => state.call?.id;\n\n/**\n * @private\n */\nexport const getEndedCall = (state: CallAdapterState): CallState | undefined => state.endedCall;\n\n/**\n * @private\n */\nexport const getCallStatus = (state: CallAdapterState): SDKCallStatus => state.call?.state ?? 'None';\n\n/**\n * @private\n */\nexport const getDeviceManager = (state: CallAdapterState): DeviceManagerState => state.devices;\n\n/**\n * @private\n */\nexport const getIsScreenShareOn = (state: CallAdapterState): boolean => state.call?.isScreenSharingOn ?? false;\n\n/**\n * @private\n */\nexport const getLocalParticipantRaisedHand = (state: CallAdapterState): RaisedHandState | undefined =>\n state.call?.raiseHand.localParticipantRaisedHand;\n\n/**\n * @private\n */\nexport const getCapabilites = (state: CallAdapterState): ParticipantCapabilities | undefined =>\n state.call?.capabilitiesFeature?.capabilities;\n\n/**\n * @private\n */\nexport const getIsPreviewCameraOn = (state: CallAdapterState): boolean => _isPreviewOn(state.devices);\n\n/**\n * @private\n */\nexport const getMicrophones = (state: CallAdapterState): AudioDeviceInfo[] => state.devices.microphones;\n\n/**\n * @private\n */\nexport const getCameras = (state: CallAdapterState): VideoDeviceInfo[] => state.devices.cameras;\n\n/**\n * @private\n */\nexport const getRole = (state: CallAdapterState): ParticipantRole | undefined => state.call?.role;\n\n/**\n * @private\n */\nexport const getPage = (state: CallAdapterState): CallCompositePage => state.page;\n\n/**\n * @private\n */\nexport const getTransferCall = (state: CallAdapterState): CallState | undefined => state.acceptedTransferCallState;\n\n/**\n * @private\n */\nexport const getLocalMicrophoneEnabled = (state: CallAdapterState): boolean => state.isLocalPreviewMicrophoneEnabled;\n\n/**\n * @private\n */\nexport const getLocalVideoStreams = (state: CallAdapterState): LocalVideoStreamState[] | undefined =>\n state.call?.localVideoStreams;\n\n/**\n * @private\n */\nexport const getIsTranscriptionActive = (state: CallAdapterState): boolean =>\n !!state.call?.transcription.isTranscriptionActive;\n\n/**\n * @private\n */\nexport const getIsRecordingActive = (state: CallAdapterState): boolean => !!state.call?.recording.isRecordingActive;\n\n/**\n * @private\n */\nexport const getUserFacingDiagnostics = (state: CallAdapterState): DiagnosticsCallFeatureState | undefined =>\n state.call?.diagnostics;\n\n/**\n * @private\n */\nexport const getDominantSpeakerInfo = (state: CallAdapterState): undefined | DominantSpeakersInfo =>\n state.call?.dominantSpeakers;\n\n/**\n * @private\n */\nexport const getRemoteParticipants = (\n state: CallAdapterState\n):\n | undefined\n | {\n [keys: string]: RemoteParticipantState;\n } => state.call?.remoteParticipants;\n\n/* @conditional-compile-remove(unsupported-browser) */\n/**\n * @private\n */\nexport const getEnvironmentInfo = (state: CallAdapterState): EnvironmentInfo | undefined => state.environmentInfo;\n\n/**\n * @private\n */\nexport const getSelectedVideoEffect = (state: CallAdapterState): VideoBackgroundEffect | undefined =>\n state.selectedVideoBackgroundEffect;\n\n/* @conditional-compile-remove(acs-close-captions) */\n/** @private */\nexport const getCaptionsKind = (state: CallAdapterState): CaptionsKind | undefined => {\n return state.call?.captionsFeature.captionsKind;\n};\n\n/** @private */\nexport const getCaptions = (state: CallAdapterState): CaptionsInfo[] | undefined => {\n return state.call?.captionsFeature.captions;\n};\n\n/** @private */\nexport const getCaptionsStatus = (state: CallAdapterState): boolean | undefined => {\n return state.call?.captionsFeature.isCaptionsFeatureActive;\n};\n\n/** @private */\nexport const getCurrentCaptionLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentCaptionLanguage;\n};\n\n/** @private */\nexport const getCurrentSpokenLanguage = (state: CallAdapterState): string | undefined => {\n return state.call?.captionsFeature.currentSpokenLanguage;\n};\n\n/** @private */\nexport const getSupportedCaptionLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedCaptionLanguages;\n};\n\n/** @private */\nexport const getSupportedSpokenLanguages = (state: CallAdapterState): string[] | undefined => {\n return state.call?.captionsFeature.supportedSpokenLanguages;\n};\n\n/**\n * @private\n */\nexport const getIsTeamsCall = (state: CallAdapterState): boolean => state.isTeamsCall;\n\n/**\n * @private\n */\nexport const getIsTeamsMeeting = (state: CallAdapterState): boolean => state.isTeamsMeeting;\n\n/* @conditional-compile-remove(teams-meeting-conference) */\n/**\n * @private\n */\nexport const getTeamsMeetingCoordinates = (state: CallAdapterState): ConferencePhoneInfo[] | undefined =>\n state.call?.teamsMeetingConference;\n\n/**\n * @private\n */\nexport const getLatestErrors = (state: CallAdapterState): AdapterErrors => state.latestErrors;\n\n/**\n * @private\n */\nexport const getLatestCapabilitiesChangedInfo = (state: CallAdapterState): CapabilitiesChangeInfo | undefined => {\n return state.call?.capabilitiesFeature?.latestCapabilitiesChangeInfo;\n};\n\n/**\n * @private\n */\nexport const getTargetCallees = (state: CallAdapterState): CommunicationIdentifier[] | undefined => state.targetCallees;\n\n/**\n * @private\n */\nexport const getStartTime = (state: CallAdapterState): Date | undefined => state.call?.startTime;\n\n/**\n * @private\n */\nexport const getSpotlightedParticipants = (state: CallAdapterState): SpotlightedParticipant[] | undefined =>\n state.call?.spotlight?.spotlightedParticipants;\n"]}
@@ -49,7 +49,7 @@ const inferCommonCallControlOptions = (mobileView, commonCallControlOptions) =>
49
49
  * @private
50
50
  */
51
51
  export const CommonCallControlBar = (props) => {
52
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
52
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
53
53
  const theme = useTheme();
54
54
  const rtl = theme.rtl;
55
55
  const controlBarContainerRef = useRef(null);
@@ -164,7 +164,7 @@ export const CommonCallControlBar = (props) => {
164
164
  return (React.createElement("div", { ref: controlBarSizeRef },
165
165
  React.createElement(CallAdapterProvider, { adapter: props.callAdapter },
166
166
  showCaptionsSettingsModal && (React.createElement(CaptionsSettingsModal, { showCaptionsSettingsModal: showCaptionsSettingsModal, onDismissCaptionsSettings: onDismissCaptionsSettings, changeCaptionLanguage: props.isCaptionsOn && props.useTeamsCaptions })),
167
- /* @conditional-compile-remove(teams-meeting-conference) */ 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 }))),
167
+ /* @conditional-compile-remove(teams-meeting-conference) */ props.teamsMeetingConferenceModalPresent && (React.createElement(MeetingConferencePhoneInfoModal, { conferencePhoneInfoList: (_d = (_c = props.callAdapter.getState().call) === null || _c === void 0 ? void 0 : _c.teamsMeetingConference) !== null && _d !== void 0 ? _d : [], showModal: props.teamsMeetingConferenceModalPresent, onDismissMeetingPhoneInfoSettings: props.onToggleTeamsMeetingConferenceModal }))),
168
168
  React.createElement(Stack, { horizontal: true, reversed: !props.mobileView && !isOutOfSpace, horizontalAlign: "space-between", className: mergeStyles(callControlsContainerStyles, controlBarContainerStyles, controlBarDesktopContainerStyles) },
169
169
  React.createElement(Stack.Item, { grow: true, className: mergeStyles(controlBarWrapperDesktopStyles) },
170
170
  React.createElement(CallAdapterProvider, { adapter: props.callAdapter },
@@ -194,8 +194,8 @@ export const CommonCallControlBar = (props) => {
194
194
  showExitSpotlightButton && props.onStopLocalSpotlight && (React.createElement(ExitSpotlightButton, { displayType: options.displayType, onClick: props.onStopLocalSpotlight, styles: commonButtonStyles, strings: exitSpotlightButtonStrings })),
195
195
  screenShareButtonIsEnabled && (React.createElement(ScreenShare, { option: options.screenShareButton, displayType: options.displayType, styles: screenShareButtonStyles,
196
196
  /* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
197
- disabled: props.disableButtonsForHoldScreen || isDisabled(options.screenShareButton) })), (_f = customButtons['primary']) === null || _f === void 0 ? void 0 :
198
- _f.slice(0, props.mobileView
197
+ disabled: props.disableButtonsForHoldScreen || isDisabled(options.screenShareButton) })), (_e = customButtons['primary']) === null || _e === void 0 ? void 0 :
198
+ _e.slice(0, props.mobileView
199
199
  ? CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_MOBILE_CUSTOM_BUTTONS
200
200
  : CUSTOM_BUTTON_OPTIONS.MAX_PRIMARY_DESKTOP_CUSTOM_BUTTONS).map((CustomButton, i) => {
201
201
  return (React.createElement(CustomButton, { key: `primary-custom-button-${i}`, styles: commonButtonStyles, showLabel: options.displayType !== 'compact', disableTooltip: props.mobileView }));
@@ -211,16 +211,16 @@ export const CommonCallControlBar = (props) => {
211
211
  React.createElement(EndCall, { displayType: "compact", mobileView: props.mobileView, styles: endCallButtonStyles,
212
212
  /* @conditional-compile-remove(end-call-options) */
213
213
  enableEndCallMenu: !isBoolean(props.callControls) &&
214
- !isBoolean((_g = props.callControls) === null || _g === void 0 ? void 0 : _g.endCallButton) &&
214
+ !isBoolean((_f = props.callControls) === null || _f === void 0 ? void 0 : _f.endCallButton) &&
215
215
  !props.mobileView &&
216
216
  isHangUpForEveryoneAllowed &&
217
217
  !isTeams && // Temporary disable it for Teams call, since capability does not give the right value
218
- ((_j = (_h = props.callControls) === null || _h === void 0 ? void 0 : _h.endCallButton) === null || _j === void 0 ? void 0 : _j.hangUpForEveryone) === 'endCallOptions' &&
218
+ ((_h = (_g = props.callControls) === null || _g === void 0 ? void 0 : _g.endCallButton) === null || _h === void 0 ? void 0 : _h.hangUpForEveryone) === 'endCallOptions' &&
219
219
  // Only show the end call menu when the call is connected, user should not be able to end the call for everyone
220
220
  // when they are not actively in the call to communicate they will.
221
221
  callState.callStatus === 'Connected', disableEndCallModal: !isBoolean(props.callControls) &&
222
- !isBoolean((_k = props.callControls) === null || _k === void 0 ? void 0 : _k.endCallButton) &&
223
- ((_m = (_l = props.callControls) === null || _l === void 0 ? void 0 : _l.endCallButton) === null || _m === void 0 ? void 0 : _m.disableEndCallModal) }))))))),
222
+ !isBoolean((_j = props.callControls) === null || _j === void 0 ? void 0 : _j.endCallButton) &&
223
+ ((_l = (_k = props.callControls) === null || _k === void 0 ? void 0 : _k.endCallButton) === null || _l === void 0 ? void 0 : _l.disableEndCallModal) }))))))),
224
224
  !props.mobileView && sideButtonsPresent && (React.createElement(Stack.Item, null,
225
225
  React.createElement("div", { ref: sidepaneControlsRef },
226
226
  React.createElement(Stack, { horizontal: true, className: !props.mobileView ? mergeStyles(desktopButtonContainerStyle) : undefined },
@@ -228,8 +228,8 @@ export const CommonCallControlBar = (props) => {
228
228
  ? peopleButtonStrings === null || peopleButtonStrings === void 0 ? void 0 : peopleButtonStrings.tooltipCloseAriaLabel
229
229
  : 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 ||
230
230
  props.disableButtonsForHoldScreen ||
231
- isDisabled(options.peopleButton), strings: peopleButtonStrings, styles: commonButtonStyles, componentRef: props.peopleButtonRef })), (_o = customButtons['secondary']) === null || _o === void 0 ? void 0 :
232
- _o.slice(0, CUSTOM_BUTTON_OPTIONS.MAX_SECONDARY_DESKTOP_CUSTOM_BUTTONS).map((CustomButton, i) => {
231
+ isDisabled(options.peopleButton), strings: peopleButtonStrings, styles: commonButtonStyles, componentRef: props.peopleButtonRef })), (_m = customButtons['secondary']) === null || _m === void 0 ? void 0 :
232
+ _m.slice(0, CUSTOM_BUTTON_OPTIONS.MAX_SECONDARY_DESKTOP_CUSTOM_BUTTONS).map((CustomButton, i) => {
233
233
  return (React.createElement(CustomButton, { key: `secondary-custom-button-${i}`, styles: commonButtonStyles, showLabel: options.displayType !== 'compact' }));
234
234
  }))))))));
235
235
  };