@azure/communication-react 1.18.0-alpha-202406150014 → 1.18.0-alpha-202406180013
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.
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-XMNUmuTx.js → ChatMessageComponentAsRichTextEditBox-2XnQpAq_.js} +2 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-XMNUmuTx.js.map → ChatMessageComponentAsRichTextEditBox-2XnQpAq_.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BLmR8ku0.js → RichTextSendBoxWrapper-D-f-hDmN.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BLmR8ku0.js.map → RichTextSendBoxWrapper-D-f-hDmN.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-CzkriUUT.js → index-DaC5GeKa.js} +149 -102
- package/dist/dist-cjs/communication-react/index-DaC5GeKa.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js +5 -4
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCard.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js +3 -3
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentCardGroup.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js +1 -10
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentDownloadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js +18 -21
- package/dist/dist-esm/react-components/src/components/Attachment/AttachmentUploadCards.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +10 -4
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.js +9 -3
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +10 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js +8 -0
- package/dist/dist-esm/react-components/src/components/styles/AttachmentCardGroup.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +9 -0
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +168 -1
- package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +170 -3
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +170 -3
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.d.ts +1 -0
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +4 -4
- package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +26 -6
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js +5 -4
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/AttachmentUploadButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +7 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +7 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +5 -5
- package/dist/dist-cjs/communication-react/index-CzkriUUT.js.map +0 -1
@@ -57,7 +57,7 @@
|
|
57
57
|
"richTextDeleteColumnMenu": "删除列",
|
58
58
|
"richTextDeleteRowMenu": "删除行",
|
59
59
|
"richTextDeleteTableMenu": "删除表格",
|
60
|
-
"richTextToolbarMoreButtonAriaLabel": "
|
60
|
+
"richTextToolbarMoreButtonAriaLabel": "更多选项",
|
61
61
|
"attachmentMoreMenu": "更多选项"
|
62
62
|
},
|
63
63
|
"mentionPopover": {
|
@@ -220,7 +220,7 @@
|
|
220
220
|
"richTextDeleteColumnMenu": "删除列",
|
221
221
|
"richTextDeleteRowMenu": "删除行",
|
222
222
|
"richTextDeleteTableMenu": "删除表格",
|
223
|
-
"richTextToolbarMoreButtonAriaLabel": "
|
223
|
+
"richTextToolbarMoreButtonAriaLabel": "更多选项"
|
224
224
|
},
|
225
225
|
"errorBar": {
|
226
226
|
"unableToReachChatService": "你已脱机",
|
@@ -259,12 +259,167 @@
|
|
259
259
|
"unableToStartVideoEffect": "无法应用视频效果。",
|
260
260
|
"startSpotlightWhileMaxParticipantsAreSpotlighted": "无法聚焦参与者,因为聚焦的参与者人数已达到上限。"
|
261
261
|
},
|
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
|
+
},
|
285
|
+
"callingNetworkFailure": {
|
286
|
+
"title": "连接呼叫时遇到问题",
|
287
|
+
"message": "你似乎处于脱机状态。请检查网络连接,然后重试。",
|
288
|
+
"closeButtonAriaLabel": "关闭"
|
289
|
+
},
|
290
|
+
"startVideoGeneric": {
|
291
|
+
"title": "无法启动视频。",
|
292
|
+
"closeButtonAriaLabel": "关闭"
|
293
|
+
},
|
294
|
+
"stopVideoGeneric": {
|
295
|
+
"title": "无法停止视频。",
|
296
|
+
"closeButtonAriaLabel": "关闭"
|
297
|
+
},
|
298
|
+
"muteGeneric": {
|
299
|
+
"title": "无法将麦克风静音。",
|
300
|
+
"closeButtonAriaLabel": "关闭"
|
301
|
+
},
|
302
|
+
"unmuteGeneric": {
|
303
|
+
"title": "无法取消麦克风静音。",
|
304
|
+
"closeButtonAriaLabel": "关闭"
|
305
|
+
},
|
306
|
+
"speakingWhileMuted": {
|
307
|
+
"title": "你已静音。",
|
308
|
+
"closeButtonAriaLabel": "关闭"
|
309
|
+
},
|
310
|
+
"startScreenShareGeneric": {
|
311
|
+
"title": "启动屏幕共享时出现问题。",
|
312
|
+
"closeButtonAriaLabel": "关闭"
|
313
|
+
},
|
314
|
+
"stopScreenShareGeneric": {
|
315
|
+
"title": "无法停止屏幕共享。",
|
316
|
+
"closeButtonAriaLabel": "关闭"
|
317
|
+
},
|
318
|
+
"callNetworkQualityLow": {
|
319
|
+
"title": "网络质量低。",
|
320
|
+
"closeButtonAriaLabel": "关闭"
|
321
|
+
},
|
322
|
+
"callNoSpeakerFound": {
|
323
|
+
"title": "找不到扬声器或耳机",
|
324
|
+
"message": "连接音频设备以收听呼叫。",
|
325
|
+
"closeButtonAriaLabel": "关闭"
|
326
|
+
},
|
327
|
+
"callNoMicrophoneFound": {
|
328
|
+
"title": "未找到麦克风",
|
329
|
+
"message": "连接音频输入设备。",
|
330
|
+
"closeButtonAriaLabel": "关闭"
|
331
|
+
},
|
332
|
+
"callMicrophoneAccessDenied": {
|
333
|
+
"title": "无法访问麦克风",
|
334
|
+
"message": "单击地址栏中的锁定以授予对此网页的权限。",
|
335
|
+
"closeButtonAriaLabel": "关闭"
|
336
|
+
},
|
337
|
+
"callMicrophoneAccessDeniedSafari": {
|
338
|
+
"title": "无法访问麦克风",
|
339
|
+
"message": "刷新页面以允许权限,或检查此浏览器的设置并验证是否为此网站启用了权限。",
|
340
|
+
"closeButtonAriaLabel": "关闭"
|
341
|
+
},
|
342
|
+
"callMicrophoneMutedBySystem": {
|
343
|
+
"title": "系统已将你设为静音。",
|
344
|
+
"closeButtonAriaLabel": "关闭"
|
345
|
+
},
|
346
|
+
"callMicrophoneUnmutedBySystem": {
|
347
|
+
"title": "你的麦克风已恢复,系统已取消静音。",
|
348
|
+
"closeButtonAriaLabel": "关闭"
|
349
|
+
},
|
350
|
+
"callMacOsMicrophoneAccessDenied": {
|
351
|
+
"title": "无法访问麦克风",
|
352
|
+
"message": "在 macOS 隐私设置中授予麦克风权限。",
|
353
|
+
"closeButtonAriaLabel": "关闭"
|
354
|
+
},
|
355
|
+
"callLocalVideoFreeze": {
|
356
|
+
"title": "网络带宽较差",
|
357
|
+
"message": "您的视频可能会对通话中的其他人暂停。",
|
358
|
+
"closeButtonAriaLabel": "关闭"
|
359
|
+
},
|
360
|
+
"callCameraAccessDenied": {
|
361
|
+
"title": "无法访问摄像头",
|
362
|
+
"message": "单击地址栏中的锁定以授予对此网页的权限。",
|
363
|
+
"closeButtonAriaLabel": "关闭"
|
364
|
+
},
|
365
|
+
"callCameraAccessDeniedSafari": {
|
366
|
+
"title": "无法访问摄像头",
|
367
|
+
"message": "刷新页面以允许权限,或检查此浏览器的设置并验证是否为此网站启用了权限。",
|
368
|
+
"closeButtonAriaLabel": "关闭"
|
369
|
+
},
|
370
|
+
"callCameraAlreadyInUse": {
|
371
|
+
"title": "无法访问摄像头",
|
372
|
+
"message": "它可能已被其他应用程序使用。",
|
373
|
+
"closeButtonAriaLabel": "关闭"
|
374
|
+
},
|
375
|
+
"callVideoStoppedBySystem": {
|
376
|
+
"title": "你的系统已停止你的视频。",
|
377
|
+
"closeButtonAriaLabel": "关闭"
|
378
|
+
},
|
379
|
+
"callVideoRecoveredBySystem": {
|
380
|
+
"title": "你的视频已恢复。",
|
381
|
+
"closeButtonAriaLabel": "关闭"
|
382
|
+
},
|
383
|
+
"callMacOsCameraAccessDenied": {
|
384
|
+
"title": "MacOS 正在阻止对摄像头的访问",
|
385
|
+
"message": "更新你的隐私设置以允许此浏览器访问你的相机。",
|
386
|
+
"closeButtonAriaLabel": "关闭"
|
387
|
+
},
|
388
|
+
"callMacOsScreenShareAccessDenied": {
|
389
|
+
"title": "MacOS 正在阻止屏幕共享",
|
390
|
+
"message": "更新你的隐私设置以允许此浏览器录制你的屏幕。",
|
391
|
+
"closeButtonAriaLabel": "关闭"
|
392
|
+
},
|
393
|
+
"failedToJoinCallGeneric": {
|
394
|
+
"title": "未能加入通话。",
|
395
|
+
"closeButtonAriaLabel": "关闭"
|
396
|
+
},
|
397
|
+
"failedToJoinCallInvalidMeetingLink": {
|
398
|
+
"title": "无法加入会议。无效的链接。",
|
399
|
+
"closeButtonAriaLabel": "关闭"
|
400
|
+
},
|
401
|
+
"cameraFrozenForRemoteParticipants": {
|
402
|
+
"title": "通话中的用户在查看视频时遇到问题",
|
403
|
+
"message": "请检查你的设备和网络。",
|
404
|
+
"closeButtonAriaLabel": "关闭"
|
405
|
+
},
|
406
|
+
"unableToStartVideoEffect": {
|
407
|
+
"title": "无法应用视频效果。",
|
408
|
+
"closeButtonAriaLabel": "关闭"
|
409
|
+
},
|
410
|
+
"startSpotlightWhileMaxParticipantsAreSpotlighted": {
|
411
|
+
"title": "无法在参与者上启动聚焦",
|
412
|
+
"message": "已聚焦的最大参与者数。",
|
413
|
+
"closeButtonAriaLabel": "关闭"
|
414
|
+
}
|
415
|
+
},
|
262
416
|
"videoGallery": {
|
263
417
|
"screenIsBeingSharedMessage": "你正在共享你的屏幕",
|
264
418
|
"screenShareLoadingMessage": "正在加载 {participant} 的屏幕",
|
265
419
|
"localVideoLabel": "你",
|
266
420
|
"localVideoCameraSwitcherLabel": "切换相机",
|
267
421
|
"localVideoMovementLabel": "可移动本地小窗视频",
|
422
|
+
"localVideoMovementAriaLabel": "可移动本地小窗视频",
|
268
423
|
"localVideoSelectedDescription": "已选择 {cameraName}",
|
269
424
|
"displayNamePlaceholder": "未命名的参与者",
|
270
425
|
"fitRemoteParticipantToFrame": "适应帧大小",
|
@@ -295,7 +450,8 @@
|
|
295
450
|
},
|
296
451
|
"videoTile": {
|
297
452
|
"participantStateRinging": "正在呼叫...",
|
298
|
-
"participantStateHold": "保留"
|
453
|
+
"participantStateHold": "保留",
|
454
|
+
"moreOptionsButtonAriaLabel": "更多选项"
|
299
455
|
},
|
300
456
|
"CameraAndMicrophoneSitePermissionsRequest": {
|
301
457
|
"primaryText": "允许{appName}使用你的相机和麦克风",
|
@@ -415,5 +571,16 @@
|
|
415
571
|
"verticalGallery": {
|
416
572
|
"leftNavButtonAriaLabel": "上一页",
|
417
573
|
"rightNavButtonAriaLabel": "下一页"
|
574
|
+
},
|
575
|
+
"MeetingConferencePhoneInfo": {
|
576
|
+
"meetingConferencePhoneInfoModalTitle": "从手机加入呼叫",
|
577
|
+
"meetingConferencePhoneInfoModalDialIn": "拨号号码",
|
578
|
+
"meetingConferencePhoneInfoModalMeetingId": "输入会议 ID",
|
579
|
+
"meetingConferencePhoneInfoModalWait": "等待组织者接受",
|
580
|
+
"meetingConferencePhoneInfoModalNoPhoneAvailable": "没有可用的电话",
|
581
|
+
"meetingConferencePhoneInfoModalTollFree": "{phoneNumber}(免费){country},{city}",
|
582
|
+
"meetingConferencePhoneInfoModalTollFreeWithoutGeoData": "{phoneNumber}(免费)",
|
583
|
+
"meetingConferencePhoneInfoModalToll": "{phoneNumber}(收费){country},{city}",
|
584
|
+
"meetingConferencePhoneInfoModalTollWithoutGeoData": "{phoneNumber}(收费)"
|
418
585
|
}
|
419
586
|
}
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"richTextDeleteColumnMenu": "刪除欄",
|
58
58
|
"richTextDeleteRowMenu": "刪除列",
|
59
59
|
"richTextDeleteTableMenu": "刪除表格",
|
60
|
-
"richTextToolbarMoreButtonAriaLabel": "
|
60
|
+
"richTextToolbarMoreButtonAriaLabel": "其他選項",
|
61
61
|
"attachmentMoreMenu": "其他選項"
|
62
62
|
},
|
63
63
|
"mentionPopover": {
|
@@ -220,7 +220,7 @@
|
|
220
220
|
"richTextDeleteColumnMenu": "刪除欄",
|
221
221
|
"richTextDeleteRowMenu": "刪除列",
|
222
222
|
"richTextDeleteTableMenu": "刪除表格",
|
223
|
-
"richTextToolbarMoreButtonAriaLabel": "
|
223
|
+
"richTextToolbarMoreButtonAriaLabel": "其他選項"
|
224
224
|
},
|
225
225
|
"errorBar": {
|
226
226
|
"unableToReachChatService": "您處於離線狀態",
|
@@ -259,12 +259,167 @@
|
|
259
259
|
"unableToStartVideoEffect": "無法套用視訊效果。",
|
260
260
|
"startSpotlightWhileMaxParticipantsAreSpotlighted": "無法啟動參與者的焦點,因為參與者人數已達焦點上限。"
|
261
261
|
},
|
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
|
+
},
|
285
|
+
"callingNetworkFailure": {
|
286
|
+
"title": "接通電話時發生問題",
|
287
|
+
"message": "您似乎已離線。請檢查您的網路連線,然後再試一次。",
|
288
|
+
"closeButtonAriaLabel": "關閉"
|
289
|
+
},
|
290
|
+
"startVideoGeneric": {
|
291
|
+
"title": "無法啟動影片。",
|
292
|
+
"closeButtonAriaLabel": "關閉"
|
293
|
+
},
|
294
|
+
"stopVideoGeneric": {
|
295
|
+
"title": "無法停止影片。",
|
296
|
+
"closeButtonAriaLabel": "關閉"
|
297
|
+
},
|
298
|
+
"muteGeneric": {
|
299
|
+
"title": "無法將麥克風設為靜音。",
|
300
|
+
"closeButtonAriaLabel": "關閉"
|
301
|
+
},
|
302
|
+
"unmuteGeneric": {
|
303
|
+
"title": "無法將麥克風取消靜音。",
|
304
|
+
"closeButtonAriaLabel": "關閉"
|
305
|
+
},
|
306
|
+
"speakingWhileMuted": {
|
307
|
+
"title": "已將您設為靜音。",
|
308
|
+
"closeButtonAriaLabel": "關閉"
|
309
|
+
},
|
310
|
+
"startScreenShareGeneric": {
|
311
|
+
"title": "啟動畫面分享時發生問題。",
|
312
|
+
"closeButtonAriaLabel": "關閉"
|
313
|
+
},
|
314
|
+
"stopScreenShareGeneric": {
|
315
|
+
"title": "無法停止螢幕畫面分享。",
|
316
|
+
"closeButtonAriaLabel": "關閉"
|
317
|
+
},
|
318
|
+
"callNetworkQualityLow": {
|
319
|
+
"title": "網路品質不佳。",
|
320
|
+
"closeButtonAriaLabel": "關閉"
|
321
|
+
},
|
322
|
+
"callNoSpeakerFound": {
|
323
|
+
"title": "找不到喇叭或耳機",
|
324
|
+
"message": "連接音訊裝置以聆聽通話。",
|
325
|
+
"closeButtonAriaLabel": "關閉"
|
326
|
+
},
|
327
|
+
"callNoMicrophoneFound": {
|
328
|
+
"title": "找不到麥克風",
|
329
|
+
"message": "請連結音訊輸入裝置。",
|
330
|
+
"closeButtonAriaLabel": "關閉"
|
331
|
+
},
|
332
|
+
"callMicrophoneAccessDenied": {
|
333
|
+
"title": "無法存取麥克風",
|
334
|
+
"message": "按兩下網址列中的鎖定以授與此網頁的許可權。",
|
335
|
+
"closeButtonAriaLabel": "關閉"
|
336
|
+
},
|
337
|
+
"callMicrophoneAccessDeniedSafari": {
|
338
|
+
"title": "無法存取麥克風",
|
339
|
+
"message": "重新整理頁面以允許許可權,或檢查此瀏覽器的設定,並確認已啟用此網站的權限。",
|
340
|
+
"closeButtonAriaLabel": "關閉"
|
341
|
+
},
|
342
|
+
"callMicrophoneMutedBySystem": {
|
343
|
+
"title": "系統已將您設為靜音。",
|
344
|
+
"closeButtonAriaLabel": "關閉"
|
345
|
+
},
|
346
|
+
"callMicrophoneUnmutedBySystem": {
|
347
|
+
"title": "您的麥克風已復原,系統已取消您的靜音。",
|
348
|
+
"closeButtonAriaLabel": "關閉"
|
349
|
+
},
|
350
|
+
"callMacOsMicrophoneAccessDenied": {
|
351
|
+
"title": "無法存取麥克風",
|
352
|
+
"message": "在您的macOS隱私權設定中授與麥克風許可權。",
|
353
|
+
"closeButtonAriaLabel": "關閉"
|
354
|
+
},
|
355
|
+
"callLocalVideoFreeze": {
|
356
|
+
"title": "網路頻寬不佳",
|
357
|
+
"message": "通話中的其他人可能會暫停您的視訊。",
|
358
|
+
"closeButtonAriaLabel": "關閉"
|
359
|
+
},
|
360
|
+
"callCameraAccessDenied": {
|
361
|
+
"title": "無法存取相機",
|
362
|
+
"message": "按兩下網址列中的鎖定以授與此網頁的許可權。",
|
363
|
+
"closeButtonAriaLabel": "關閉"
|
364
|
+
},
|
365
|
+
"callCameraAccessDeniedSafari": {
|
366
|
+
"title": "無法存取相機",
|
367
|
+
"message": "重新整理頁面以允許許可權,或檢查此瀏覽器的設定,並確認已啟用此網站的權限。",
|
368
|
+
"closeButtonAriaLabel": "關閉"
|
369
|
+
},
|
370
|
+
"callCameraAlreadyInUse": {
|
371
|
+
"title": "無法存取相機",
|
372
|
+
"message": "其他應用程式可能已在使用它。",
|
373
|
+
"closeButtonAriaLabel": "關閉"
|
374
|
+
},
|
375
|
+
"callVideoStoppedBySystem": {
|
376
|
+
"title": "您的影片已遭系統停止。",
|
377
|
+
"closeButtonAriaLabel": "關閉"
|
378
|
+
},
|
379
|
+
"callVideoRecoveredBySystem": {
|
380
|
+
"title": "您的影片已繼續。",
|
381
|
+
"closeButtonAriaLabel": "關閉"
|
382
|
+
},
|
383
|
+
"callMacOsCameraAccessDenied": {
|
384
|
+
"title": "MacOS 禁止存取您的相機",
|
385
|
+
"message": "更新您的隱私權設定,以允許此瀏覽器存取您的相機。",
|
386
|
+
"closeButtonAriaLabel": "關閉"
|
387
|
+
},
|
388
|
+
"callMacOsScreenShareAccessDenied": {
|
389
|
+
"title": "MacOS 正在封鎖螢幕畫面分享",
|
390
|
+
"message": "更新您的隱私權設定,以允許此瀏覽器錄製您的螢幕。",
|
391
|
+
"closeButtonAriaLabel": "關閉"
|
392
|
+
},
|
393
|
+
"failedToJoinCallGeneric": {
|
394
|
+
"title": "無法加入通話。",
|
395
|
+
"closeButtonAriaLabel": "關閉"
|
396
|
+
},
|
397
|
+
"failedToJoinCallInvalidMeetingLink": {
|
398
|
+
"title": "無法加入會議。連結無效。",
|
399
|
+
"closeButtonAriaLabel": "關閉"
|
400
|
+
},
|
401
|
+
"cameraFrozenForRemoteParticipants": {
|
402
|
+
"title": "通話中的用戶在觀看您的視訊時發生問題",
|
403
|
+
"message": "請檢查您的裝置和網路。",
|
404
|
+
"closeButtonAriaLabel": "關閉"
|
405
|
+
},
|
406
|
+
"unableToStartVideoEffect": {
|
407
|
+
"title": "無法套用視訊效果。",
|
408
|
+
"closeButtonAriaLabel": "關閉"
|
409
|
+
},
|
410
|
+
"startSpotlightWhileMaxParticipantsAreSpotlighted": {
|
411
|
+
"title": "無法在參與者上啟動焦點",
|
412
|
+
"message": "參與者人數上限已成為焦點。",
|
413
|
+
"closeButtonAriaLabel": "關閉"
|
414
|
+
}
|
415
|
+
},
|
262
416
|
"videoGallery": {
|
263
417
|
"screenIsBeingSharedMessage": "您現在正在分享螢幕畫面。",
|
264
418
|
"screenShareLoadingMessage": "正在載入 {participant} 的螢幕畫面",
|
265
419
|
"localVideoLabel": "您",
|
266
420
|
"localVideoCameraSwitcherLabel": "切換相機",
|
267
421
|
"localVideoMovementLabel": "可移動本機視訊磚",
|
422
|
+
"localVideoMovementAriaLabel": "可移動的區域影片標題",
|
268
423
|
"localVideoSelectedDescription": "已選取 {cameraName}",
|
269
424
|
"displayNamePlaceholder": "未命名的參與者",
|
270
425
|
"fitRemoteParticipantToFrame": "調整成畫面大小",
|
@@ -295,7 +450,8 @@
|
|
295
450
|
},
|
296
451
|
"videoTile": {
|
297
452
|
"participantStateRinging": "撥號中...",
|
298
|
-
"participantStateHold": "電話保留"
|
453
|
+
"participantStateHold": "電話保留",
|
454
|
+
"moreOptionsButtonAriaLabel": "其他選項"
|
299
455
|
},
|
300
456
|
"CameraAndMicrophoneSitePermissionsRequest": {
|
301
457
|
"primaryText": "允許 {appName} 使用您的相機和麥克風",
|
@@ -415,5 +571,16 @@
|
|
415
571
|
"verticalGallery": {
|
416
572
|
"leftNavButtonAriaLabel": "上一頁",
|
417
573
|
"rightNavButtonAriaLabel": "下一頁"
|
574
|
+
},
|
575
|
+
"MeetingConferencePhoneInfo": {
|
576
|
+
"meetingConferencePhoneInfoModalTitle": "從您的電話加入通話",
|
577
|
+
"meetingConferencePhoneInfoModalDialIn": "撥號號碼",
|
578
|
+
"meetingConferencePhoneInfoModalMeetingId": "輸入會議識別碼",
|
579
|
+
"meetingConferencePhoneInfoModalWait": "等候召集人獲准進入",
|
580
|
+
"meetingConferencePhoneInfoModalNoPhoneAvailable": "沒有可用的電話",
|
581
|
+
"meetingConferencePhoneInfoModalTollFree": "{phoneNumber} (免付費電話) {country},{city}",
|
582
|
+
"meetingConferencePhoneInfoModalTollFreeWithoutGeoData": "{phoneNumber} (免付費電話)",
|
583
|
+
"meetingConferencePhoneInfoModalToll": "{phoneNumber} (付費電話) {country},{city}",
|
584
|
+
"meetingConferencePhoneInfoModalTollWithoutGeoData": "{phoneNumber} (付費電話)"
|
418
585
|
}
|
419
586
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
2
2
|
// Licensed under the MIT License.
|
3
3
|
import React from 'react';
|
4
|
-
import { makeStyles, shorthands, FluentProvider } from '@fluentui/react-components';
|
4
|
+
import { makeStyles, shorthands, FluentProvider, mergeClasses } from '@fluentui/react-components';
|
5
5
|
import { createV9Theme } from './v9ThemeShim';
|
6
6
|
import { TextDirectionProvider } from '@griffel/react';
|
7
7
|
/**
|
@@ -14,16 +14,16 @@ export const useFluentV9Wrapper = makeStyles({
|
|
14
14
|
* @private
|
15
15
|
*/
|
16
16
|
export const FluentV9ThemeProvider = (props) => {
|
17
|
-
const { v8Theme, children } = props;
|
17
|
+
const { v8Theme, children, className } = props;
|
18
18
|
const v9Theme = createV9Theme(v8Theme);
|
19
19
|
const dir = v8Theme.rtl ? 'rtl' : 'ltr';
|
20
20
|
return (
|
21
21
|
// TextDirectionProvider is needed to fix issue with direction value update in FluentProvider
|
22
22
|
React.createElement(TextDirectionProvider, { dir: dir },
|
23
|
-
React.createElement(FluentProviderWithStylesOverrides, { theme: v9Theme, dir: dir }, children)));
|
23
|
+
React.createElement(FluentProviderWithStylesOverrides, { theme: v9Theme, dir: dir, className: className }, children)));
|
24
24
|
};
|
25
25
|
const FluentProviderWithStylesOverrides = (props) => {
|
26
26
|
const classes = useFluentV9Wrapper();
|
27
|
-
return React.createElement(FluentProvider, Object.assign({}, props, { className: classes.body, applyStylesToPortals: false }));
|
27
|
+
return (React.createElement(FluentProvider, Object.assign({}, props, { className: mergeClasses(props.className, classes.body), applyStylesToPortals: false })));
|
28
28
|
};
|
29
29
|
//# sourceMappingURL=FluentV9ThemeProvider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FluentV9ThemeProvider.js","sourceRoot":"","sources":["../../../../../../react-components/src/theming/FluentV9ThemeProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAuB,MAAM,4BAA4B,CAAC;
|
1
|
+
{"version":3,"file":"FluentV9ThemeProvider.js","sourceRoot":"","sources":["../../../../../../react-components/src/theming/FluentV9ThemeProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAuB,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAEvH,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAevD;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IAC3C,IAAI,4DACF,MAAM,EAAE,MAAM,IACX,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,GACpB,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAC7B,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,KACxB,KAAK,EAAE,MAAM,GACd;CACF,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAiC,EAAe,EAAE;IACtF,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC/C,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;IACvC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;IACxC,OAAO;IACL,6FAA6F;IAC7F,oBAAC,qBAAqB,IAAC,GAAG,EAAE,GAAG;QAE7B,oBAAC,iCAAiC,IAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,IAC9E,QAAQ,CACyB,CACd,CACzB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,iCAAiC,GAAkC,CAAC,KAAK,EAAE,EAAE;IACjF,MAAM,OAAO,GAAG,kBAAkB,EAAE,CAAC;IACrC,OAAO,CACL,oBAAC,cAAc,oBAAK,KAAK,IAAE,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,KAAK,IAAI,CACnH,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React from 'react';\nimport { makeStyles, shorthands, FluentProvider, FluentProviderProps, mergeClasses } from '@fluentui/react-components';\nimport { Theme as ThemeV8 } from '@fluentui/react';\nimport { createV9Theme } from './v9ThemeShim';\nimport { TextDirectionProvider } from '@griffel/react';\n\n/**\n * Props for {@link FluentThemeProvider}.\n *\n * @private\n */\nexport interface FluentV9ThemeProviderProps {\n /** Children to be themed. */\n children: React.ReactNode;\n /** FluentUI v8 theme to be mapped to FluentUI v9 theme */\n v8Theme: ThemeV8;\n className?: string;\n}\n\n/**\n * @private\n */\nexport const useFluentV9Wrapper = makeStyles({\n body: {\n height: '100%',\n ...shorthands.margin(0),\n ...shorthands.overflow('hidden'),\n ...shorthands.padding(0),\n width: '100%'\n }\n});\n\n/**\n * @private\n */\nexport const FluentV9ThemeProvider = (props: FluentV9ThemeProviderProps): JSX.Element => {\n const { v8Theme, children, className } = props;\n const v9Theme = createV9Theme(v8Theme);\n const dir = v8Theme.rtl ? 'rtl' : 'ltr';\n return (\n // TextDirectionProvider is needed to fix issue with direction value update in FluentProvider\n <TextDirectionProvider dir={dir}>\n {/* Wrapper is required to call \"useClasses\" hook with proper context values */}\n <FluentProviderWithStylesOverrides theme={v9Theme} dir={dir} className={className}>\n {children}\n </FluentProviderWithStylesOverrides>\n </TextDirectionProvider>\n );\n};\n\nconst FluentProviderWithStylesOverrides: React.FC<FluentProviderProps> = (props) => {\n const classes = useFluentV9Wrapper();\n return (\n <FluentProvider {...props} className={mergeClasses(props.className, classes.body)} applyStylesToPortals={false} />\n );\n};\n"]}
|
@@ -44,7 +44,7 @@ import { loadRichTextSendBox } from '../common/SendBoxPicker';
|
|
44
44
|
* @private
|
45
45
|
*/
|
46
46
|
export const ChatScreen = (props) => {
|
47
|
-
var _a, _b, _c, _d;
|
47
|
+
var _a, _b, _c, _d, _e;
|
48
48
|
const { onFetchAvatarPersonaData, onRenderMessage, onRenderTypingIndicator, options, styles,
|
49
49
|
/* @conditional-compile-remove(file-sharing-acs) */
|
50
50
|
attachmentOptions, formFactor } = props;
|
@@ -123,8 +123,28 @@ export const ChatScreen = (props) => {
|
|
123
123
|
}, [styles === null || styles === void 0 ? void 0 : styles.sendBox]);
|
124
124
|
const userId = toFlatCommunicationIdentifier(adapter.getState().userId);
|
125
125
|
/* @conditional-compile-remove(file-sharing-acs) */
|
126
|
+
const setKeyboardFocusAfterFileSelection = useCallback(() => {
|
127
|
+
var _a;
|
128
|
+
// look up sendbox by ID for now, we will use `useRef`
|
129
|
+
// once attachment button is moved inside of send box component
|
130
|
+
// see ADO workitem #3764245
|
131
|
+
/* @conditional-compile-remove(rich-text-editor-composite-support) */
|
132
|
+
if ((_a = props.options) === null || _a === void 0 ? void 0 : _a.richTextEditor) {
|
133
|
+
const richTextSendBox = document === null || document === void 0 ? void 0 : document.querySelector(`[id="richTextSendBox"]`);
|
134
|
+
richTextSendBox === null || richTextSendBox === void 0 ? void 0 : richTextSendBox.focus();
|
135
|
+
return;
|
136
|
+
}
|
137
|
+
const sendBox = document === null || document === void 0 ? void 0 : document.querySelector(`[id="sendbox"]`);
|
138
|
+
// set send box on focus after file selection per A11y requirement
|
139
|
+
sendBox === null || sendBox === void 0 ? void 0 : sendBox.focus();
|
140
|
+
}, [
|
141
|
+
/* @conditional-compile-remove(rich-text-editor-composite-support) */
|
142
|
+
(_a = props.options) === null || _a === void 0 ? void 0 : _a.richTextEditor
|
143
|
+
]);
|
144
|
+
/* @conditional-compile-remove(file-sharing-acs) */
|
126
145
|
const attachmentUploadButtonOnChange = useCallback((files) => {
|
127
146
|
var _a;
|
147
|
+
setKeyboardFocusAfterFileSelection();
|
128
148
|
if (!files) {
|
129
149
|
return;
|
130
150
|
}
|
@@ -157,14 +177,14 @@ export const ChatScreen = (props) => {
|
|
157
177
|
});
|
158
178
|
handleUploadAction({ type: AttachmentUploadActionType.Set, newUploads });
|
159
179
|
(_a = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions) === null || _a === void 0 ? void 0 : _a.handleAttachmentSelection(newUploads);
|
160
|
-
}, [attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions]);
|
180
|
+
}, [attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions, setKeyboardFocusAfterFileSelection]);
|
161
181
|
/* @conditional-compile-remove(file-sharing-acs) */
|
162
182
|
const onRenderAttachmentDownloads = useCallback((message) => {
|
163
183
|
var _a, _b, _c;
|
164
184
|
return ((_b = (_a = message === null || message === void 0 ? void 0 : message.attachments) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0 > 0) ? (React.createElement(_AttachmentDownloadCards, { attachments: message.attachments, message: message, actionsForAttachment: (_c = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.downloadOptions) === null || _c === void 0 ? void 0 : _c.actionsForAttachment, onActionHandlerFailed: (errorMessage) => {
|
165
185
|
setDownloadErrorMessage(errorMessage);
|
166
186
|
} })) : (React.createElement(React.Fragment, null));
|
167
|
-
}, [(
|
187
|
+
}, [(_b = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.downloadOptions) === null || _b === void 0 ? void 0 : _b.actionsForAttachment]);
|
168
188
|
const onInlineImageClicked = useCallback((attachmentId, messageId) => {
|
169
189
|
var _a, _b;
|
170
190
|
const message = adapter.getState().thread.chatMessages[messageId];
|
@@ -262,9 +282,9 @@ export const ChatScreen = (props) => {
|
|
262
282
|
return (React.createElement(AttachmentUploadButton, { supportedMediaTypes: (_b = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions) === null || _b === void 0 ? void 0 : _b.supportedMediaTypes, disableMultipleUploads: (_c = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions) === null || _c === void 0 ? void 0 : _c.disableMultipleUploads, onChange: attachmentUploadButtonOnChange }));
|
263
283
|
return React.createElement(React.Fragment, null);
|
264
284
|
}, [
|
265
|
-
(
|
266
|
-
(
|
267
|
-
(
|
285
|
+
(_c = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions) === null || _c === void 0 ? void 0 : _c.handleAttachmentSelection,
|
286
|
+
(_d = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions) === null || _d === void 0 ? void 0 : _d.supportedMediaTypes,
|
287
|
+
(_e = attachmentOptions === null || attachmentOptions === void 0 ? void 0 : attachmentOptions.uploadOptions) === null || _e === void 0 ? void 0 : _e.disableMultipleUploads,
|
268
288
|
attachmentUploadButtonOnChange
|
269
289
|
]);
|
270
290
|
/* @conditional-compile-remove(file-sharing-acs) */
|