@azure/communication-react 1.3.3-alpha-202210270017.0 → 1.3.3-alpha-202210290014.0

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 (68) hide show
  1. package/dist/communication-react.d.ts +20 -1
  2. package/dist/dist-cjs/communication-react/index.js +139 -67
  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-component-bindings/src/handlers/createHandlers.js +23 -1
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  8. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +9 -0
  9. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  10. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -0
  11. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +23 -0
  12. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  13. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  14. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +8 -0
  15. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/Converter.js +3 -1
  17. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  18. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +9 -3
  19. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  20. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
  21. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
  22. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  23. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  24. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +58 -8
  26. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +66 -16
  27. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +57 -7
  28. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +62 -12
  29. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +63 -13
  30. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +66 -16
  31. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +59 -9
  32. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +57 -7
  33. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +66 -16
  34. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +60 -10
  35. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +66 -16
  36. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +60 -10
  37. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +59 -9
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +5 -0
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +24 -27
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +1 -1
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +1 -1
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +3 -1
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  47. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +5 -0
  48. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +6 -2
  49. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  50. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
  52. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +1 -0
  53. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -2
  54. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +55 -14
  56. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +55 -14
  57. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +55 -14
  58. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +55 -14
  59. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +55 -14
  60. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +55 -14
  61. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +55 -14
  62. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +55 -14
  63. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +55 -14
  64. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +55 -14
  65. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +55 -14
  66. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +55 -14
  67. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +55 -14
  68. package/package.json +12 -12
@@ -5,7 +5,10 @@
5
5
  "removeButtonLabel": "Удалить",
6
6
  "sharingIconLabel": "Общий доступ",
7
7
  "mutedIconLabel": "Микрофон отключен",
8
- "displayNamePlaceholder": "Участник без имени"
8
+ "displayNamePlaceholder": "Участник без имени",
9
+ "participantStateConnecting": "Выполняется вызов...",
10
+ "participantStateRinging": "Выполняется вызов...",
11
+ "participantStateHold": "На удержании"
9
12
  },
10
13
  "typingIndicator": {
11
14
  "singleUser": "{user} вводит текст...",
@@ -18,7 +21,10 @@
18
21
  "placeholderText": "Введите сообщение",
19
22
  "textTooLong": "Длина сообщения превышает максимально допустимую.",
20
23
  "sendButtonAriaLabel": "Отправить сообщение",
21
- "fileUploadsPendingError": "Выполняется загрузка. Подождите..."
24
+ "fileUploadsPendingError": "Выполняется загрузка. Подождите...",
25
+ "removeFile": "Удалить файл",
26
+ "uploading": "Отправка",
27
+ "uploadCompleted": "Отправка завершена"
22
28
  },
23
29
  "messageStatusIndicator": {
24
30
  "deliveredAriaLabel": "Сообщение отправлено",
@@ -33,7 +39,7 @@
33
39
  },
34
40
  "endCallButton": {
35
41
  "label": "Выйти",
36
- "tooltipContent": "Покинуть звонок"
42
+ "tooltipContent": "Покинуть вызов"
37
43
  },
38
44
  "cameraButton": {
39
45
  "onLabel": "Отключить",
@@ -43,7 +49,7 @@
43
49
  "tooltipOffContent": "Включить камеру",
44
50
  "tooltipVideoLoadingContent": "Видео загружается",
45
51
  "cameraMenuTitle": "Камера",
46
- "cameraMenuTooltip": "Выбор камеры",
52
+ "cameraMenuTooltip": "Выбрать камеру",
47
53
  "cameraButtonSplitRoleDescription": "Разворачивающаяся кнопка",
48
54
  "onSplitButtonAriaLabel": "Отключить камеру и параметры камеры",
49
55
  "offSplitButtonAriaLabel": "Включить камеру и параметры камеры",
@@ -72,7 +78,7 @@
72
78
  "cameraMenuTitle": "Камера",
73
79
  "cameraMenuTooltip": "Выбрать камеру",
74
80
  "audioDeviceMenuTitle": "Звуковое устройство",
75
- "audioDeviceMenuTooltip": "Выберите звуковое устройство",
81
+ "audioDeviceMenuTooltip": "Выбрать звуковое устройство",
76
82
  "microphoneMenuTitle": "Микрофон",
77
83
  "microphoneMenuTooltip": "Выбрать микрофон",
78
84
  "speakerMenuTitle": "Динамик",
@@ -110,6 +116,8 @@
110
116
  "failToSendTag": "Не удалось отправить",
111
117
  "editedTag": "Изменено",
112
118
  "liveAuthorIntro": "{author} говорит",
119
+ "messageContentAriaText": "{author} говорит {message}",
120
+ "messageContentMineAriaText": "Вы сказали {message}",
113
121
  "editBoxTextLimit": "Превышено предельное число символов в {limitNumber} сообщении",
114
122
  "editBoxPlaceholderText": "Отредактируйте сообщение",
115
123
  "newMessagesIndicator": "Новые сообщения",
@@ -117,7 +125,8 @@
117
125
  "editBoxCancelButton": "Отмена",
118
126
  "editBoxSubmitButton": "Отправить",
119
127
  "messageReadCount": "Прочитали: {messageReadByCount} из {remoteParticipantsCount}",
120
- "actionMenuMoreOptions": "Дополнительные параметры"
128
+ "actionMenuMoreOptions": "Дополнительные параметры",
129
+ "downloadFile": "Скачать файл"
121
130
  },
122
131
  "errorBar": {
123
132
  "unableToReachChatService": "Вы не в сети",
@@ -138,10 +147,13 @@
138
147
  "callNoMicrophoneFound": "Микрофоны не найдены. Подключение звукового устройства ввода.",
139
148
  "callMicrophoneAccessDenied": "Не удается получить доступ к микрофону. Щелкните блокировку в адресной строке, чтобы предоставить разрешение на эту веб-страницу.",
140
149
  "callMicrophoneMutedBySystem": "Система отключила ваш микрофон.",
150
+ "callMicrophoneUnmutedBySystem": "Микрофон восстановлен, и система включила ваш звук.",
141
151
  "callMacOsMicrophoneAccessDenied": "Не удается получить доступ к микрофону. Предоставьте разрешение на доступ к микрофону в параметрах конфиденциальности macOS.",
142
152
  "callLocalVideoFreeze": "Низкая пропускная способность сети. Ваше видео может отображаться как приостановленное для других участников вызова.",
143
153
  "callCameraAccessDenied": "Не удается получить доступ к камере. Щелкните блокировку в адресной строке, чтобы предоставить разрешение на эту веб-страницу.",
144
154
  "callCameraAlreadyInUse": "Не удается получить доступ к камере. Возможно, оно уже используется другим приложением.",
155
+ "callVideoStoppedBySystem": "Воспроизведение видео остановлено системой.",
156
+ "callVideoRecoveredBySystem": "Воспроизведение видео возобновлено.",
145
157
  "callMacOsCameraAccessDenied": "MacOS блокирует доступ к камере. Обновите параметры конфиденциальности, чтобы разрешить этому браузеру доступ к камере.",
146
158
  "callMacOsScreenShareAccessDenied": "MacOS блокирует демонстрацию экрана. Обновите параметры конфиденциальности, чтобы разрешить этому браузеру записывать ваш экран.",
147
159
  "dismissButtonAriaLabel": "Закрыть",
@@ -158,12 +170,50 @@
158
170
  "displayNamePlaceholder": "Участник без имени"
159
171
  },
160
172
  "dialpad": {
161
- "placeholderText": "Введите номер"
173
+ "placeholderText": "Введите номер телефона",
174
+ "deleteButtonAriaLabel": "Удалить"
162
175
  },
163
- "HoldButton": {
176
+ "holdButton": {
164
177
  "onLabel": "Возобновить",
165
178
  "offLabel": "Удержать",
166
- "toolTipOnContent": "Возобновить звонок",
167
- "toolTipOffContent": "Поставить звонок на удержание"
179
+ "tooltipOnContent": "Возобновить звонок",
180
+ "tooltipOffContent": "Поставить звонок на удержание"
181
+ },
182
+ "videoTile": {
183
+ "participantStateConnecting": "Выполняется вызов...",
184
+ "participantStateRinging": "Выполняется вызов...",
185
+ "participantStateHold": "На удержании"
186
+ },
187
+ "DomainPermissions": {
188
+ "primaryText": "Разрешить {appName} использовать камеру и микрофон",
189
+ "secondaryText": "Это необходимо для того, чтобы участники могли видеть и слышать вас.",
190
+ "linkText": "Нужна помощь? Получите справку по устранению неполадок",
191
+ "primaryButtonText": "Разрешить доступ"
192
+ },
193
+ "UnsupportedBrowser": {
194
+ "primaryText": "Браузер не поддерживается",
195
+ "secondaryText": "Присоединитесь к этому вызову с помощью совместимого браузера.",
196
+ "moreHelpLink": "Дополнительная помощь"
197
+ },
198
+ "BrowserPermissionDenied": {
199
+ "primaryText": "Не удается использовать камеру или микрофон",
200
+ "secondaryText": "Возможно, у вашего браузера нет доступа к камере или микрофону. Чтобы устранить эту проблему, откройте параметры системы.",
201
+ "primaryButtonText": "Повторить попытку",
202
+ "linkText": "Нужна помощь? Получите справку по устранению неполадок"
203
+ },
204
+ "BrowserPermissionDeniedIOS": {
205
+ "primaryText": "Разрешите доступ к микрофону, чтобы продолжить",
206
+ "secondaryText": "Таким образом, другие участники могут вас слышать.",
207
+ "primaryButtonText": "Повторить попытку",
208
+ "imageAltText": "Разрешение на доступ к микрофону и камере для iOS",
209
+ "linkText": "Нужна помощь? Получите справку по устранению неполадок",
210
+ "step1Text": "Перейдите в приложение \"Параметры\"",
211
+ "step2Text": "Прокрутите страницу вниз до параметров этого браузера",
212
+ "step3Text": "Включите микрофон (камера необязательна)",
213
+ "step4Text": "Попробуйте присоединиться к вызову еще раз",
214
+ "step1DigitText": "1",
215
+ "step2DigitText": "2",
216
+ "step3DigitText": "3",
217
+ "step4DigitText": "4"
168
218
  }
169
219
  }
@@ -5,7 +5,10 @@
5
5
  "removeButtonLabel": "Kaldır",
6
6
  "sharingIconLabel": "Paylaşım",
7
7
  "mutedIconLabel": "Ses kapatıldı",
8
- "displayNamePlaceholder": "Adsız Katılımcı"
8
+ "displayNamePlaceholder": "Adsız Katılımcı",
9
+ "participantStateConnecting": "Aranıyor...",
10
+ "participantStateRinging": "Arıyor...",
11
+ "participantStateHold": "Beklemede"
9
12
  },
10
13
  "typingIndicator": {
11
14
  "singleUser": "{user} yazıyor...",
@@ -18,7 +21,10 @@
18
21
  "placeholderText": "Bir mesaj girin",
19
22
  "textTooLong": "İletinizin uzunluğu üst sınırı aşıyor.",
20
23
  "sendButtonAriaLabel": "İleti gönder",
21
- "fileUploadsPendingError": "Karşıya yükleniyor... Lütfen bekleyin."
24
+ "fileUploadsPendingError": "Karşıya yükleniyor... Lütfen bekleyin.",
25
+ "removeFile": "Dosyayı kaldır",
26
+ "uploading": "Karşıya yükleniyor",
27
+ "uploadCompleted": "Karşıya yükleme tamamlandı"
22
28
  },
23
29
  "messageStatusIndicator": {
24
30
  "deliveredAriaLabel": "İleti gönderildi",
@@ -33,7 +39,7 @@
33
39
  },
34
40
  "endCallButton": {
35
41
  "label": "Ayrıl",
36
- "tooltipContent": "Aramadan Ayrıl"
42
+ "tooltipContent": "Aramadan ayrıl"
37
43
  },
38
44
  "cameraButton": {
39
45
  "onLabel": "Kapat",
@@ -43,7 +49,7 @@
43
49
  "tooltipOffContent": "Kamerayı aç",
44
50
  "tooltipVideoLoadingContent": "Video yükleniyor",
45
51
  "cameraMenuTitle": "Kamera",
46
- "cameraMenuTooltip": "Kamera Seç",
52
+ "cameraMenuTooltip": "Kamera seç",
47
53
  "cameraButtonSplitRoleDescription": "Bölünmüş düğme",
48
54
  "onSplitButtonAriaLabel": "Kamerayı ve kamera seçeneklerini devre dışı bırak",
49
55
  "offSplitButtonAriaLabel": "Kamerayı ve kamera seçeneklerini etkinleştir",
@@ -57,9 +63,9 @@
57
63
  "tooltipOnContent": "Mikrofonun sesini kapat",
58
64
  "tooltipOffContent": "Mikrofonun sesini aç",
59
65
  "microphoneMenuTitle": "Mikrofon",
60
- "microphoneMenuTooltip": "Mikrofon Seç",
66
+ "microphoneMenuTooltip": "Mikrofon seç",
61
67
  "speakerMenuTitle": "Hoparlör",
62
- "speakerMenuTooltip": "Hoparlör Seç",
68
+ "speakerMenuTooltip": "Hoparlör seç",
63
69
  "microphoneButtonSplitRoleDescription": "Bölünmüş düğme",
64
70
  "onSplitButtonAriaLabel": "Mikrofonun ve ses seçeneklerinin sesini kapat",
65
71
  "offSplitButtonAriaLabel": "Mikrofonun ve ses seçeneklerinin sesini aç",
@@ -70,17 +76,17 @@
70
76
  "label": "Cihazlar",
71
77
  "tooltipContent": "Cihazları yönet",
72
78
  "cameraMenuTitle": "Kamera",
73
- "cameraMenuTooltip": "Kamera Seç",
79
+ "cameraMenuTooltip": "Kamera seç",
74
80
  "audioDeviceMenuTitle": "Ses Cihazı",
75
- "audioDeviceMenuTooltip": "Ses Cihazı Seç",
81
+ "audioDeviceMenuTooltip": "Ses cihazı seç",
76
82
  "microphoneMenuTitle": "Mikrofon",
77
- "microphoneMenuTooltip": "Mikrofon Seç",
83
+ "microphoneMenuTooltip": "Mikrofon seç",
78
84
  "speakerMenuTitle": "Hoparlör",
79
- "speakerMenuTooltip": "Hoparlör Seç"
85
+ "speakerMenuTooltip": "Hoparlör seç"
80
86
  },
81
87
  "participantsButton": {
82
88
  "label": "Kişiler",
83
- "tooltipContent": "Katılımcıları Göster",
89
+ "tooltipContent": "Katılımcıları göster",
84
90
  "menuHeader": "Bu aramada",
85
91
  "participantsListButtonLabel": "{numParticipants} kişiler",
86
92
  "muteAllButtonLabel": "Tümünün sesini kapat",
@@ -110,6 +116,8 @@
110
116
  "failToSendTag": "Gönderilemedi",
111
117
  "editedTag": "Düzenlendi",
112
118
  "liveAuthorIntro": "{author} şöyle diyor:",
119
+ "messageContentAriaText": "{author} iletisinde şunu yazdı: {message}",
120
+ "messageContentMineAriaText": "{message}dediniz",
113
121
  "editBoxTextLimit": "İletiniz en fazla {limitNumber} aşıyor",
114
122
  "editBoxPlaceholderText": "İletinizi düzenleyin",
115
123
  "newMessagesIndicator": "Yeni iletiler",
@@ -117,7 +125,8 @@
117
125
  "editBoxCancelButton": "İptal",
118
126
  "editBoxSubmitButton": "Gönder",
119
127
  "messageReadCount": "{messageReadByCount} / {remoteParticipantsCount} katılımcı tarafından okundu",
120
- "actionMenuMoreOptions": "Diğer Seçenekler"
128
+ "actionMenuMoreOptions": "Diğer Seçenekler",
129
+ "downloadFile": "Dosyayı indir"
121
130
  },
122
131
  "errorBar": {
123
132
  "unableToReachChatService": "Çevrimdışısınız",
@@ -138,10 +147,13 @@
138
147
  "callNoMicrophoneFound": "Mikrofon bulunamadı. Ses giriş cihazı bağlan.",
139
148
  "callMicrophoneAccessDenied": "Mikrofona erişemiyor. Bu web sayfası için izin vermek için adres çubuğundaki kilidi tıklatın.",
140
149
  "callMicrophoneMutedBySystem": "Sisteminiz tarafından sessize alındınız.",
150
+ "callMicrophoneUnmutedBySystem": "Mikrofonunuz kurtarıldı ve sisteminiz tarafından sesiniz açıldı.",
141
151
  "callMacOsMicrophoneAccessDenied": "Mikrofona erişilemiyor. macOS gizlilik ayarlarınızda mikrofon izni verin.",
142
152
  "callLocalVideoFreeze": "Ağ bant genişliği düşük. Görüntülü aramada başkaları için duraklatılmış görünüyor olabilir.",
143
153
  "callCameraAccessDenied": "Kameraya erişemiyor. Bu web sayfası için izin vermek için adres çubuğundaki kilidi tıklatın.",
144
154
  "callCameraAlreadyInUse": "Kameraya erişemiyor. Başka bir uygulama tarafından zaten kullanılıyor olabilir.",
155
+ "callVideoStoppedBySystem": "Videonuz sisteminiz tarafından durduruldu.",
156
+ "callVideoRecoveredBySystem": "Videonuz devam ediyor.",
145
157
  "callMacOsCameraAccessDenied": "MacOS kameranıza erişimi engelliyor. Bu tarayıcının kameranıza erişmesine izin vermek için gizlilik ayarlarınızı güncelleştirin.",
146
158
  "callMacOsScreenShareAccessDenied": "MacOS ekran paylaşımını engelliyor. Bu tarayıcının ekranınızı kaydetmesini izin vermek için gizlilik ayarlarınızı güncelleştirin.",
147
159
  "dismissButtonAriaLabel": "Kapat",
@@ -158,12 +170,50 @@
158
170
  "displayNamePlaceholder": "Adsız Katılımcı"
159
171
  },
160
172
  "dialpad": {
161
- "placeholderText": "Numara Girin"
173
+ "placeholderText": "Telefon numarası gir",
174
+ "deleteButtonAriaLabel": "Sil"
162
175
  },
163
- "HoldButton": {
176
+ "holdButton": {
164
177
  "onLabel": "Devam et",
165
178
  "offLabel": "Beklet",
166
- "toolTipOnContent": "Görüşmeye devam etme",
167
- "toolTipOffContent": "Aramayı bekletme"
179
+ "tooltipOnContent": "Görüşmeye devam etme",
180
+ "tooltipOffContent": "Aramayı bekletme"
181
+ },
182
+ "videoTile": {
183
+ "participantStateConnecting": "Aranıyor...",
184
+ "participantStateRinging": "Aranıyor...",
185
+ "participantStateHold": "Beklemede"
186
+ },
187
+ "DomainPermissions": {
188
+ "primaryText": "{appName} uygulamasının kameranızı ve mikrofonunuzu kullanmasına izin verin",
189
+ "secondaryText": "Bu, katılımcıların sizi görebilmesi ve duyabilmesi içindir.",
190
+ "linkText": "Yardıma mı ihtiyacınız var? Sorun giderme yardımı alın",
191
+ "primaryButtonText": "Erişime İzin Ver"
192
+ },
193
+ "UnsupportedBrowser": {
194
+ "primaryText": "Tarayıcı desteklenmiyor",
195
+ "secondaryText": "Lütfen uyumlu bir tarayıcı kullanarak bu aramaya katılın.",
196
+ "moreHelpLink": "Daha fazla yardım"
197
+ },
198
+ "BrowserPermissionDenied": {
199
+ "primaryText": "Kameranızı veya mikrofonunuzu kullanamazsınız",
200
+ "secondaryText": "Tarayıcınızın kameranıza veya mikrofonunuza erişimi olmayabilir. Bunu düzeltmek için Sistem Tercihleri'ni açın.",
201
+ "primaryButtonText": "Yeniden dene",
202
+ "linkText": "Yardıma mı ihtiyacınız var? Sorun giderme yardımı alın"
203
+ },
204
+ "BrowserPermissionDeniedIOS": {
205
+ "primaryText": "Devam etmek için mikrofon erişimine izin ver",
206
+ "secondaryText": "Böylece diğer katılımcılar sizi duyabilir.",
207
+ "primaryButtonText": "Yeniden dene",
208
+ "imageAltText": "iOS için mikrofon ve kamera cihazı izin konumu",
209
+ "linkText": "Yardıma mı ihtiyacınız var? Sorun giderme yardımı alın",
210
+ "step1Text": "Ayarlar uygulamasına gidin",
211
+ "step2Text": "Bu tarayıcının ayarlarına ilerleyin",
212
+ "step3Text": "Mikrofonu Aç (İsteğe bağlı kamera)",
213
+ "step4Text": "Aramaya tekrar katılmayı deneyin",
214
+ "step1DigitText": "1",
215
+ "step2DigitText": "2",
216
+ "step3DigitText": "3",
217
+ "step4DigitText": "4"
168
218
  }
169
219
  }
@@ -5,7 +5,10 @@
5
5
  "removeButtonLabel": "删除",
6
6
  "sharingIconLabel": "共享",
7
7
  "mutedIconLabel": "已静音",
8
- "displayNamePlaceholder": "未命名的参与者"
8
+ "displayNamePlaceholder": "未命名的参与者",
9
+ "participantStateConnecting": "正在呼叫...",
10
+ "participantStateRinging": "正在呼叫...",
11
+ "participantStateHold": "待机音乐"
9
12
  },
10
13
  "typingIndicator": {
11
14
  "singleUser": "{user} 正在键入...",
@@ -18,7 +21,10 @@
18
21
  "placeholderText": "输入消息",
19
22
  "textTooLong": "你的消息长度超过了最大限制。",
20
23
  "sendButtonAriaLabel": "发送消息",
21
- "fileUploadsPendingError": "正在上载...请稍候。"
24
+ "fileUploadsPendingError": "正在上载...请稍候。",
25
+ "removeFile": "删除文件",
26
+ "uploading": "正在上传",
27
+ "uploadCompleted": "已完成上传"
22
28
  },
23
29
  "messageStatusIndicator": {
24
30
  "deliveredAriaLabel": "已发送消息",
@@ -33,7 +39,7 @@
33
39
  },
34
40
  "endCallButton": {
35
41
  "label": "退出",
36
- "tooltipContent": "离开会议"
42
+ "tooltipContent": "离开通话"
37
43
  },
38
44
  "cameraButton": {
39
45
  "onLabel": "关闭",
@@ -74,9 +80,9 @@
74
80
  "audioDeviceMenuTitle": "音频设备",
75
81
  "audioDeviceMenuTooltip": "选择音频设备",
76
82
  "microphoneMenuTitle": "麦克风",
77
- "microphoneMenuTooltip": "选择麦克风",
83
+ "microphoneMenuTooltip": "选择“麦克风”",
78
84
  "speakerMenuTitle": "免提",
79
- "speakerMenuTooltip": "选择扬声器"
85
+ "speakerMenuTooltip": "选择“扬声器”"
80
86
  },
81
87
  "participantsButton": {
82
88
  "label": "人员",
@@ -110,6 +116,8 @@
110
116
  "failToSendTag": "发送失败",
111
117
  "editedTag": "已编辑",
112
118
  "liveAuthorIntro": "{author} 说",
119
+ "messageContentAriaText": "{author} 说了 {message}",
120
+ "messageContentMineAriaText": "你说了 {message}",
113
121
  "editBoxTextLimit": "你的消息超过了{limitNumber}个字符的限制",
114
122
  "editBoxPlaceholderText": "编辑消息",
115
123
  "newMessagesIndicator": "新消息",
@@ -117,7 +125,8 @@
117
125
  "editBoxCancelButton": "取消",
118
126
  "editBoxSubmitButton": "提交",
119
127
  "messageReadCount": "{messageReadByCount}/{remoteParticipantsCount} 人已读",
120
- "actionMenuMoreOptions": "更多选项"
128
+ "actionMenuMoreOptions": "更多选项",
129
+ "downloadFile": "下载文件"
121
130
  },
122
131
  "errorBar": {
123
132
  "unableToReachChatService": "你已脱机",
@@ -138,10 +147,13 @@
138
147
  "callNoMicrophoneFound": "找不到麦克风。连接音频输入设备。",
139
148
  "callMicrophoneAccessDenied": "无法访问麦克风。单击地址栏中的锁定以授予对此网页的权限。",
140
149
  "callMicrophoneMutedBySystem": "系统已将你设为静音。",
150
+ "callMicrophoneUnmutedBySystem": "你的麦克风已恢复,系统已取消静音。",
141
151
  "callMacOsMicrophoneAccessDenied": "无法访问麦克风。在 macOS 隐私设置中授予麦克风权限。",
142
152
  "callLocalVideoFreeze": "网络带宽较差。你的视频可能会在通话中为其他人暂停。",
143
153
  "callCameraAccessDenied": "无法访问照相机。单击地址栏中的锁定以授予对此网页的权限。",
144
154
  "callCameraAlreadyInUse": "无法访问照相机。它可能已被其他应用程序使用。",
155
+ "callVideoStoppedBySystem": "你的系统已停止你的视频。",
156
+ "callVideoRecoveredBySystem": "你的视频已恢复。",
145
157
  "callMacOsCameraAccessDenied": "MacOS 正在阻止访问你的相机。更新你的隐私设置以允许此浏览器访问你的相机。",
146
158
  "callMacOsScreenShareAccessDenied": "MacOS 正在阻止屏幕共享。更新你的隐私设置以允许此浏览器录制你的屏幕。",
147
159
  "dismissButtonAriaLabel": "关闭",
@@ -158,12 +170,50 @@
158
170
  "displayNamePlaceholder": "未命名的参与者"
159
171
  },
160
172
  "dialpad": {
161
- "placeholderText": "输入号码"
173
+ "placeholderText": "输入电话号码",
174
+ "deleteButtonAriaLabel": "删除"
162
175
  },
163
- "HoldButton": {
176
+ "holdButton": {
164
177
  "onLabel": "恢复",
165
178
  "offLabel": "支持",
166
- "toolTipOnContent": "继续呼叫",
167
- "toolTipOffContent": "保持呼叫"
179
+ "tooltipOnContent": "继续呼叫",
180
+ "tooltipOffContent": "保持呼叫"
181
+ },
182
+ "videoTile": {
183
+ "participantStateConnecting": "正在呼叫...",
184
+ "participantStateRinging": "正在呼叫...",
185
+ "participantStateHold": "待机音乐"
186
+ },
187
+ "DomainPermissions": {
188
+ "primaryText": "允许{appName}使用你的相机和麦克风",
189
+ "secondaryText": "这样参与者就可以看到并听到你的声音。",
190
+ "linkText": "需要帮助? 获取疑难解答帮助",
191
+ "primaryButtonText": "允许访问"
192
+ },
193
+ "UnsupportedBrowser": {
194
+ "primaryText": "浏览器不受支持",
195
+ "secondaryText": "请使用兼容的浏览器加入此通话。",
196
+ "moreHelpLink": "更多帮助"
197
+ },
198
+ "BrowserPermissionDenied": {
199
+ "primaryText": "无法使用摄像头或麦克风",
200
+ "secondaryText": "你的浏览器可能无法访问你的相机或麦克风。若要解决此问题,请打开“系统首选项”。",
201
+ "primaryButtonText": "重试",
202
+ "linkText": "需要帮助? 获取疑难解答帮助"
203
+ },
204
+ "BrowserPermissionDeniedIOS": {
205
+ "primaryText": "允许麦克风访问以继续",
206
+ "secondaryText": "这样其他参与者就可以听到你的声音。",
207
+ "primaryButtonText": "重试",
208
+ "imageAltText": "iOS 的麦克风和摄像头设备权限位置",
209
+ "linkText": "需要帮助? 获取疑难解答帮助",
210
+ "step1Text": "转到设置应用",
211
+ "step2Text": "向下滚动到此浏览器的设置",
212
+ "step3Text": "打开麦克风(摄像头可选)",
213
+ "step4Text": "再次尝试加入通话",
214
+ "step1DigitText": "1",
215
+ "step2DigitText": "2",
216
+ "step3DigitText": "3",
217
+ "step4DigitText": "4"
168
218
  }
169
219
  }
@@ -5,7 +5,10 @@
5
5
  "removeButtonLabel": "移除",
6
6
  "sharingIconLabel": "分享",
7
7
  "mutedIconLabel": "已靜音",
8
- "displayNamePlaceholder": "未命名的參與者"
8
+ "displayNamePlaceholder": "未命名的參與者",
9
+ "participantStateConnecting": "撥號中...",
10
+ "participantStateRinging": "撥號中...",
11
+ "participantStateHold": "電話保留"
9
12
  },
10
13
  "typingIndicator": {
11
14
  "singleUser": "{user} 正在輸入...",
@@ -18,7 +21,10 @@
18
21
  "placeholderText": "輸入訊息",
19
22
  "textTooLong": "您的訊息長度超過上限。",
20
23
  "sendButtonAriaLabel": "傳送訊息",
21
- "fileUploadsPendingError": "正在上傳... 請稍候。"
24
+ "fileUploadsPendingError": "正在上傳... 請稍候。",
25
+ "removeFile": "移除檔案",
26
+ "uploading": "正在上傳",
27
+ "uploadCompleted": "上傳完成"
22
28
  },
23
29
  "messageStatusIndicator": {
24
30
  "deliveredAriaLabel": "訊息已傳送",
@@ -59,7 +65,7 @@
59
65
  "microphoneMenuTitle": "麥克風",
60
66
  "microphoneMenuTooltip": "選擇麥克風",
61
67
  "speakerMenuTitle": "揚聲器",
62
- "speakerMenuTooltip": "選擇揚聲器",
68
+ "speakerMenuTooltip": "選擇喇叭",
63
69
  "microphoneButtonSplitRoleDescription": "[分割] 按鈕",
64
70
  "onSplitButtonAriaLabel": "將麥克風和音訊選項設為靜音",
65
71
  "offSplitButtonAriaLabel": "將麥克風和音訊選項取消靜音",
@@ -76,7 +82,7 @@
76
82
  "microphoneMenuTitle": "麥克風",
77
83
  "microphoneMenuTooltip": "選擇麥克風",
78
84
  "speakerMenuTitle": "演講者",
79
- "speakerMenuTooltip": "選擇講者"
85
+ "speakerMenuTooltip": "選擇喇叭"
80
86
  },
81
87
  "participantsButton": {
82
88
  "label": "人員",
@@ -110,6 +116,8 @@
110
116
  "failToSendTag": "無法傳送",
111
117
  "editedTag": "已編輯",
112
118
  "liveAuthorIntro": "{author} 說",
119
+ "messageContentAriaText": "{author} 說 {message}",
120
+ "messageContentMineAriaText": "您說 {message}",
113
121
  "editBoxTextLimit": "您的訊息超過 {limitNumber} 個字元的限制",
114
122
  "editBoxPlaceholderText": "編輯您的訊息",
115
123
  "newMessagesIndicator": "新訊息",
@@ -117,7 +125,8 @@
117
125
  "editBoxCancelButton": "取消",
118
126
  "editBoxSubmitButton": "提交",
119
127
  "messageReadCount": "讀取者為 {messageReadByCount} / {remoteParticipantsCount}",
120
- "actionMenuMoreOptions": "更多選項"
128
+ "actionMenuMoreOptions": "更多選項",
129
+ "downloadFile": "下載檔案"
121
130
  },
122
131
  "errorBar": {
123
132
  "unableToReachChatService": "您處於離線狀態",
@@ -138,10 +147,13 @@
138
147
  "callNoMicrophoneFound": "找不到麥克風。請連接音訊輸入裝置。",
139
148
  "callMicrophoneAccessDenied": "無法存取麥克風。按一下網址列中的鎖定以授與此網頁的許可權。",
140
149
  "callMicrophoneMutedBySystem": "系統已將您設為靜音。",
150
+ "callMicrophoneUnmutedBySystem": "您的麥克風已復原,系統已取消您的靜音。",
141
151
  "callMacOsMicrophoneAccessDenied": "無法存取麥克風。請在您的 MacOS 隱私權設定中授與麥克風權限。",
142
152
  "callLocalVideoFreeze": "網路頻寬不佳。通話中的其他人可能會暫停您的視訊。",
143
153
  "callCameraAccessDenied": "無法存取相機。按一下網址列中的鎖定以授與此網頁的許可權。",
144
154
  "callCameraAlreadyInUse": "無法存取相機。其他應用程式可能已在使用它。",
155
+ "callVideoStoppedBySystem": "您的影片已遭系統停止。",
156
+ "callVideoRecoveredBySystem": "您的影片已繼續。",
145
157
  "callMacOsCameraAccessDenied": "MacOS 已封鎖您的相機存取權限。請更新您的隱私權設定,允許此瀏覽器存取您的相機。",
146
158
  "callMacOsScreenShareAccessDenied": "MacOS 正在封鎖螢幕畫面分享。更新您的隱私權設定,以允許此瀏覽器錄製您的螢幕。",
147
159
  "dismissButtonAriaLabel": "關閉",
@@ -158,12 +170,50 @@
158
170
  "displayNamePlaceholder": "未命名的參與者"
159
171
  },
160
172
  "dialpad": {
161
- "placeholderText": "輸入號碼"
173
+ "placeholderText": "輸入電話號碼",
174
+ "deleteButtonAriaLabel": "刪除"
162
175
  },
163
- "HoldButton": {
176
+ "holdButton": {
164
177
  "onLabel": "繼續",
165
178
  "offLabel": "保留",
166
- "toolTipOnContent": "繼續通話",
167
- "toolTipOffContent": "保留通話"
179
+ "tooltipOnContent": "繼續通話",
180
+ "tooltipOffContent": "保留通話"
181
+ },
182
+ "videoTile": {
183
+ "participantStateConnecting": "撥號中...",
184
+ "participantStateRinging": "撥號中...",
185
+ "participantStateHold": "電話保留"
186
+ },
187
+ "DomainPermissions": {
188
+ "primaryText": "允許 {appName} 使用您的相機和麥克風",
189
+ "secondaryText": "這樣參與者才能看到您並聽到您的聲音。",
190
+ "linkText": "需要協助嗎? 取得疑難排解說明",
191
+ "primaryButtonText": "允許存取"
192
+ },
193
+ "UnsupportedBrowser": {
194
+ "primaryText": "不支援瀏覽器",
195
+ "secondaryText": "請使用相容的瀏覽器加入此通話。",
196
+ "moreHelpLink": "更多協助資訊"
197
+ },
198
+ "BrowserPermissionDenied": {
199
+ "primaryText": "無法使用您的相機或麥克風",
200
+ "secondaryText": "您的瀏覽器可能無法存取您的相機或麥克風。若要修正此問題,請開啟 [系統喜好設定]。",
201
+ "primaryButtonText": "重試",
202
+ "linkText": "需要協助嗎? 取得疑難排解說明"
203
+ },
204
+ "BrowserPermissionDeniedIOS": {
205
+ "primaryText": "允許存取麥克風以繼續",
206
+ "secondaryText": "讓其他參與者可聽到您的聲音。",
207
+ "primaryButtonText": "重試",
208
+ "imageAltText": "iOS 的麥克風和相機裝置權限位置",
209
+ "linkText": "需要協助嗎? 取得疑難排解說明",
210
+ "step1Text": "移至 [設定] 應用程式",
211
+ "step2Text": "向下捲動到此瀏覽器的設定",
212
+ "step3Text": "開啟麥克風 (相機選用)",
213
+ "step4Text": "再次嘗試加入通話",
214
+ "step1DigitText": "1",
215
+ "step2DigitText": "2",
216
+ "step3DigitText": "3",
217
+ "step4DigitText": "4"
168
218
  }
169
219
  }
@@ -80,6 +80,11 @@ export declare type CallCompositeOptions = {
80
80
  * Require device permissions to be set or have them as optional or not required to start a call
81
81
  */
82
82
  devicePermissions?: DevicePermissionRestrictions;
83
+ /**
84
+ * Opt in call readiness feature for your call
85
+ * Setting this to `true` will add call readiness features to the call experience
86
+ */
87
+ callReadinessOptedIn?: boolean;
83
88
  /**
84
89
  * Callback you may provide to supply users with further steps to troubleshoot why they have been
85
90
  * unable to grant your site the required permissions for the call.
@@ -118,32 +118,12 @@ export const CallComposite = (props) => {
118
118
  role } = props;
119
119
  useEffect(() => {
120
120
  (() => __awaiter(void 0, void 0, void 0, function* () {
121
- /* @conditional-compile-remove(rooms) */
122
- if (role === 'Consumer') {
123
- // Need to ask for audio devices to get access to speakers. Speaker permission is tied to microphone permission (when you request 'audio' permission using the SDK) its
124
- // actually granting access to query both microphone and speaker. TODO: Need some investigation to see if we can get access to speakers without SDK.
125
- yield adapter.askDevicePermission({ video: false, audio: true });
126
- adapter.querySpeakers();
127
- return;
128
- }
129
- /* @conditional-compile-remove(call-readiness) */
130
- if (options === null || options === void 0 ? void 0 : options.devicePermissions) {
131
- const videoPermission = (options === null || options === void 0 ? void 0 : options.devicePermissions.camera) !== 'doNotPrompt';
132
- const audioPermission = (options === null || options === void 0 ? void 0 : options.devicePermissions.microphone) !== 'doNotPrompt';
133
- yield adapter.askDevicePermission({
134
- video: videoPermission,
135
- audio: audioPermission
136
- });
137
- if (videoPermission) {
138
- adapter.queryCameras();
139
- }
140
- if (audioPermission) {
141
- adapter.queryMicrophones();
142
- }
143
- adapter.querySpeakers();
144
- return;
145
- }
146
- yield adapter.askDevicePermission({ video: true, audio: true });
121
+ var _a;
122
+ const constrain = getQueryOptions({
123
+ /* @conditional-compile-remove(rooms) */ role: role,
124
+ /* @conditional-compile-remove(call-readiness) */ callReadinessOptedIn: (_a = options === null || options === void 0 ? void 0 : options.callReadinessOptedIn) !== null && _a !== void 0 ? _a : false
125
+ });
126
+ yield adapter.askDevicePermission(constrain);
147
127
  adapter.queryCameras();
148
128
  adapter.queryMicrophones();
149
129
  adapter.querySpeakers();
@@ -151,7 +131,7 @@ export const CallComposite = (props) => {
151
131
  }, [
152
132
  adapter,
153
133
  /* @conditional-compile-remove(rooms) */ role,
154
- /* @conditional-compile-remove(call-readiness) */ options === null || options === void 0 ? void 0 : options.devicePermissions
134
+ /* @conditional-compile-remove(call-readiness) */ options === null || options === void 0 ? void 0 : options.callReadinessOptedIn
155
135
  ]);
156
136
  const mobileView = formFactor === 'mobile';
157
137
  /* @conditional-compile-remove(one-to-n-calling) */
@@ -189,4 +169,21 @@ const unsupportedEnvironmentPageTrampoline = () => {
189
169
  return 'unsupportedEnvironment';
190
170
  return 'call';
191
171
  };
172
+ const getQueryOptions = (options) => {
173
+ /* @conditional-compile-remove(call-readiness) */
174
+ if (options.callReadinessOptedIn) {
175
+ return {
176
+ video: false,
177
+ audio: false
178
+ };
179
+ }
180
+ /* @conditional-compile-remove(rooms) */
181
+ if (options.role === 'Consumer') {
182
+ return {
183
+ video: false,
184
+ audio: true
185
+ };
186
+ }
187
+ return { video: true, audio: true };
188
+ };
192
189
  //# sourceMappingURL=CallComposite.js.map