@azure/communication-react 1.7.0-alpha-202308110012 → 1.7.0-alpha-202308150012

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 (98) hide show
  1. package/dist/communication-react.d.ts +13 -3
  2. package/dist/dist-cjs/communication-react/index.js +231 -94
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +8 -0
  7. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  8. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +2 -1
  9. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  10. package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +1 -1
  11. package/dist/dist-esm/react-components/src/components/ImageGallery.js +24 -11
  12. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -1
  13. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +1 -1
  14. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  15. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +10 -2
  16. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  17. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
  18. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +3 -2
  19. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -1
  21. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  22. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +5 -1
  23. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +26 -8
  24. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +9 -8
  26. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +11 -1
  27. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +9 -8
  28. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +6 -5
  29. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -3
  30. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +9 -8
  31. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +9 -8
  32. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +9 -8
  33. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +9 -8
  34. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +9 -8
  35. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +9 -8
  36. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +9 -8
  37. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +9 -8
  38. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +9 -8
  39. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +9 -8
  40. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +9 -8
  41. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +9 -8
  42. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +9 -8
  43. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +9 -8
  44. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +9 -8
  45. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +9 -8
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +23 -13
  47. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +8 -0
  49. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  50. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +1 -0
  51. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +3 -1
  52. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +1 -0
  54. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +16 -8
  55. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +9 -1
  57. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +9 -0
  59. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +8 -0
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +11 -0
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js +14 -0
  63. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -0
  64. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +5 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  66. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -0
  67. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +1 -1
  68. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +1 -0
  70. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +43 -0
  71. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  72. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -4
  73. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
  75. package/dist/dist-esm/react-composites/src/composites/common/icons.js +5 -1
  76. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +4 -2
  78. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -4
  79. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +4 -2
  80. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +4 -2
  81. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -1
  82. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +4 -2
  83. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +4 -2
  84. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +4 -2
  85. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +4 -2
  86. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +4 -2
  87. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +4 -2
  88. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +4 -2
  89. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +4 -2
  90. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +4 -2
  91. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +4 -2
  92. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +4 -2
  93. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +4 -2
  94. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +4 -2
  95. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +4 -2
  96. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +4 -2
  97. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +4 -2
  98. package/package.json +13 -13
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Muet activé",
8
8
  "displayNamePlaceholder": "Participant sans nom",
9
9
  "participantStateRinging": "Appel en cours...",
10
- "participantStateHold": "En attente",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "En attente"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} plus"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} en train d’écrire...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Présenter votre écran"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Augmenter",
117
+ "onLabel": "Inférieur",
118
+ "tooltipDisabledContent": "L'action lever la main est désactivée",
119
+ "tooltipOnContent": "Baisser la main",
120
+ "tooltipOffContent": "Lever les mains"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "Hier",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "מושתק",
8
8
  "displayNamePlaceholder": "משתתף ללא שם",
9
9
  "participantStateRinging": "מתקשר...",
10
- "participantStateHold": "בהמתנה",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "בהמתנה"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} נוספים"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} מקליד...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "הצג את המסך שלך"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "הרם",
117
+ "onLabel": "הורד",
118
+ "tooltipDisabledContent": "פעולת הרמת יד אינה זמינה",
119
+ "tooltipOnContent": "הורד יד",
120
+ "tooltipOffContent": "הרם יד"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "אתמול",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Disattivato",
8
8
  "displayNamePlaceholder": "Partecipante senza nome",
9
9
  "participantStateRinging": "Chiamata in corso...",
10
- "participantStateHold": "Per l'attesa",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "Per l'attesa"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} altro"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} sta scrivendo ...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Presenta lo schermo"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Alza",
117
+ "onLabel": "Abbassa",
118
+ "tooltipDisabledContent": "L'azione Alza la mano è disabilitata",
119
+ "tooltipOnContent": "Abbassa la mano",
120
+ "tooltipOffContent": "Alza la mano"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "Ieri",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "ミュート状態",
8
8
  "displayNamePlaceholder": "名前のない参加者",
9
9
  "participantStateRinging": "呼び出し中...",
10
- "participantStateHold": "保留中",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "保留中"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "その他 {overflowCount} 個"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} さんが入力しています...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "画面のプレゼンテーション"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "手を挙げる",
117
+ "onLabel": "低い",
118
+ "tooltipDisabledContent": "手を挙げる操作が無効になっています",
119
+ "tooltipOnContent": "手を下げる",
120
+ "tooltipOffContent": "手を挙げる"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "昨日",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "음소거됨",
8
8
  "displayNamePlaceholder": "명명되지 않은 참가자",
9
9
  "participantStateRinging": "전화 거는 중...",
10
- "participantStateHold": "대기 중",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "대기 중"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount}개 더 보기"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} 님이 입력 중...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "화면 프레젠테이션"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": " 들기",
117
+ "onLabel": "낮추기",
118
+ "tooltipDisabledContent": " 올리기 작업이 비활성화되었습니다.",
119
+ "tooltipOnContent": " 내리기",
120
+ "tooltipOffContent": " 들기"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "어제",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Dempet",
8
8
  "displayNamePlaceholder": "Deltaker uten navn",
9
9
  "participantStateRinging": "Ringer ...",
10
- "participantStateHold": "På vent",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "På vent"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} flere"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} skriver ...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Presenter skjermen din"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Rekk opp",
117
+ "onLabel": "Ta ned",
118
+ "tooltipDisabledContent": "Rekk opp hånden-handlingen er deaktivert",
119
+ "tooltipOnContent": "Ta ned hånden",
120
+ "tooltipOffContent": "Rekke opp hånden"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "I går",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Gedempt",
8
8
  "displayNamePlaceholder": "Naamloze deelnemer",
9
9
  "participantStateRinging": "Bellen...",
10
- "participantStateHold": "In de wacht",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "In de wacht"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} meer"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} typt ...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Uw scherm presenteren"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Opsteken",
117
+ "onLabel": "Laten zakken",
118
+ "tooltipDisabledContent": "Actie Hand opsteken is uitgeschakeld",
119
+ "tooltipOnContent": "Hand laten zakken",
120
+ "tooltipOffContent": "Hand opsteken"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "Gisteren",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Wyciszono",
8
8
  "displayNamePlaceholder": "Uczestnik bez nazwy",
9
9
  "participantStateRinging": "Trwa łączenie…",
10
- "participantStateHold": "Zawieszony",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "Zawieszony"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} więcej"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "Użytkownik {user} pisze...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Prezentuj swój ekran"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Podnieś",
117
+ "onLabel": "Opuść",
118
+ "tooltipDisabledContent": "Akcja Podnieś rękę jest wyłączona",
119
+ "tooltipOnContent": "Opuść rękę",
120
+ "tooltipOffContent": "Podnieś rękę"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "Wczoraj",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Silenciado",
8
8
  "displayNamePlaceholder": "Participante sem nome",
9
9
  "participantStateRinging": "Chamando...",
10
- "participantStateHold": "Em espera",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "Em espera"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} mais"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} está digitando ...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Apresentar sua tela"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Levantar",
117
+ "onLabel": "Baixar",
118
+ "tooltipDisabledContent": "A ação Levantar a Mão está desabilitada",
119
+ "tooltipOnContent": "Baixar a Mão",
120
+ "tooltipOffContent": "Levantar a Mão"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "Ontem",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Микрофон отключен",
8
8
  "displayNamePlaceholder": "Участник без имени",
9
9
  "participantStateRinging": "Выполняется вызов...",
10
- "participantStateHold": "На удержании",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "На удержании"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "и еще {overflowCount}"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} вводит текст...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Демонстрировать экран"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Поднять руку",
117
+ "onLabel": "Опустить",
118
+ "tooltipDisabledContent": "Действие \"Поднять руку\" отключено",
119
+ "tooltipOnContent": "Опустить руку",
120
+ "tooltipOffContent": "Поднять руку"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "Вчера",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Ljudet är avstängt",
8
8
  "displayNamePlaceholder": "Namnlös deltagare",
9
9
  "participantStateRinging": "Ringer...",
10
- "participantStateHold": "Parkerat",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "Parkerat"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} till"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} skriver...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Dela skärmen"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Hand",
117
+ "onLabel": "Lägre",
118
+ "tooltipDisabledContent": "Åtgärden Räck upp hand är inaktiverad",
119
+ "tooltipOnContent": "Ta ned handen",
120
+ "tooltipOffContent": "Räck upp handen"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "I går",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "Ses kapatıldı",
8
8
  "displayNamePlaceholder": "Adsız katılımcı",
9
9
  "participantStateRinging": "Arıyor...",
10
- "participantStateHold": "Beklemede",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "Beklemede"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "{overflowCount} tane daha"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} yazıyor...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "Ekranınızı sunun"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "Kaldır",
117
+ "onLabel": "İndir",
118
+ "tooltipDisabledContent": "El Kaldırma eylemi devre dışı bırakıldı",
119
+ "tooltipOnContent": "Eli İndirme",
120
+ "tooltipOffContent": "El Kaldırma"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "Dün",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "已静音",
8
8
  "displayNamePlaceholder": "未命名的参与者",
9
9
  "participantStateRinging": "正在呼叫...",
10
- "participantStateHold": "待机音乐",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "待机音乐"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "+{overflowCount} 个"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} 正在键入...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "演示您的屏幕"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "举手",
117
+ "onLabel": "放下",
118
+ "tooltipDisabledContent": "举手操作已禁用",
119
+ "tooltipOnContent": "手放下",
120
+ "tooltipOffContent": "举手"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "昨天",
@@ -7,9 +7,10 @@
7
7
  "mutedIconLabel": "已靜音",
8
8
  "displayNamePlaceholder": "未命名的參與者",
9
9
  "participantStateRinging": "撥號中...",
10
- "participantStateHold": "電話保留",
11
- "lowerParticipantHandButtonLabel": "TODO: Lower Hand",
12
- "raisedHandIconLabel": "TODO:: raise hand icon label"
10
+ "participantStateHold": "電話保留"
11
+ },
12
+ "ParticipantList": {
13
+ "overflowParticipantCount": "其他 {overflowCount} 個"
13
14
  },
14
15
  "typingIndicator": {
15
16
  "singleUser": "{user} 正在輸入...",
@@ -112,11 +113,11 @@
112
113
  "tooltipOffContent": "展示您的螢幕"
113
114
  },
114
115
  "raiseHandButton": {
115
- "offLabel": "Raise Hand",
116
- "onLabel": "Lower Hand",
117
- "tooltipDisabledContent": "Raise Hand action is disabled",
118
- "tooltipOnContent": "Lower Hand",
119
- "tooltipOffContent": "Raise Hand"
116
+ "offLabel": "舉手",
117
+ "onLabel": "較低",
118
+ "tooltipDisabledContent": "舉手動作已停用",
119
+ "tooltipOnContent": "把手放下",
120
+ "tooltipOffContent": "舉手"
120
121
  },
121
122
  "messageThread": {
122
123
  "yesterday": "昨天",
@@ -33,11 +33,34 @@ import { UnsupportedBrowserPage } from './pages/UnsupportedBrowser';
33
33
  import { SidePaneProvider } from './components/SidePane/SidePaneProvider';
34
34
  import { filterLatestErrors, trackErrorAsDismissed, updateTrackedErrorsWithActiveErrors } from './utils';
35
35
  import { usePropsFor } from './hooks/usePropsFor';
36
+ import { deviceCountSelector } from './selectors/deviceCountSelector';
36
37
  const isShowing = (overrideSidePane) => {
37
38
  return !!(overrideSidePane === null || overrideSidePane === void 0 ? void 0 : overrideSidePane.isActive);
38
39
  };
39
40
  const MainScreen = (props) => {
40
41
  var _a, _b, _c, _d, _e;
42
+ const adapter = useAdapter();
43
+ const { camerasCount, microphonesCount } = useSelector(deviceCountSelector);
44
+ const hasCameras = camerasCount > 0;
45
+ const hasMicrophones = microphonesCount > 0;
46
+ useEffect(() => {
47
+ (() => __awaiter(void 0, void 0, void 0, function* () {
48
+ var _a;
49
+ const constrain = getQueryOptions({
50
+ /* @conditional-compile-remove(rooms) */ role: (_a = adapter.getState().call) === null || _a === void 0 ? void 0 : _a.role
51
+ });
52
+ yield adapter.askDevicePermission(constrain);
53
+ adapter.queryCameras();
54
+ adapter.queryMicrophones();
55
+ adapter.querySpeakers();
56
+ }))();
57
+ }, [
58
+ adapter,
59
+ // Ensure we re-ask for permissions if the number of devices goes from 0 -> n during a call
60
+ // as we cannot request permissions when there are no devices.
61
+ hasCameras,
62
+ hasMicrophones
63
+ ]);
41
64
  const { callInvitationUrl, onRenderAvatar, onFetchAvatarPersonaData, onFetchParticipantMenuItems } = props;
42
65
  const page = useSelector(getPage);
43
66
  const endedCall = useSelector(getEndedCall);
@@ -69,7 +92,6 @@ const MainScreen = (props) => {
69
92
  setTrackedErrors((prev) => trackErrorAsDismissed(error.type, prev));
70
93
  }, []);
71
94
  const latestErrors = useMemo(() => filterLatestErrors(activeErrors, trackedErrors), [activeErrors, trackedErrors]);
72
- const adapter = useAdapter();
73
95
  const locale = useLocale();
74
96
  const palette = useTheme().palette;
75
97
  const leavePageStyle = useMemo(() => leavingPageStyle(palette), [palette]);
@@ -153,18 +175,6 @@ export const CallComposite = (props) => React.createElement(CallCompositeInner,
153
175
  /** @private */
154
176
  export const CallCompositeInner = (props) => {
155
177
  const { adapter, callInvitationUrl, onFetchAvatarPersonaData, onFetchParticipantMenuItems, options, formFactor = 'desktop' } = props;
156
- useEffect(() => {
157
- (() => __awaiter(void 0, void 0, void 0, function* () {
158
- var _a;
159
- const constrain = getQueryOptions({
160
- /* @conditional-compile-remove(rooms) */ role: (_a = adapter.getState().call) === null || _a === void 0 ? void 0 : _a.role
161
- });
162
- yield adapter.askDevicePermission(constrain);
163
- adapter.queryCameras();
164
- adapter.queryMicrophones();
165
- adapter.querySpeakers();
166
- }))();
167
- }, [adapter]);
168
178
  const mobileView = formFactor === 'mobile';
169
179
  const modalLayerHostId = useId('modalLayerhost');
170
180
  const mainScreenContainerClassName = useMemo(() => {