@azure/communication-react 1.7.1-alpha-202308230012 → 1.7.1-alpha-202308250012
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/communication-react.d.ts +169 -48
- package/dist/dist-cjs/communication-react/index.js +325 -96
- package/dist/dist-cjs/communication-react/index.js.map +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/calling-component-bindings/src/captionsSelector.d.ts +6 -4
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +12 -4
- package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/index.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +6 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +2 -0
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +10 -0
- package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +0 -7
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -10
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +0 -1
- package/dist/dist-esm/calling-stateful-client/src/index.js +0 -2
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +1 -1
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +11 -4
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +73 -28
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageGallery.js +1 -1
- package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +3 -3
- package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/index.d.ts +2 -1
- package/dist/dist-esm/react-components/src/index.js +2 -0
- package/dist/dist-esm/react-components/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -0
- package/dist/dist-esm/react-components/src/theming/icons.js +3 -1
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +87 -2
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js +47 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +22 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +12 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +37 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +47 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +10 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +16 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +18 -10
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +10 -6
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +8 -5
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.d.ts +20 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +38 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +6 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +56 -18
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/{SpokenLanguageDrawer.styles.js → captionSettingsDrawer.styles.js} +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +43 -4
- package/package.json +8 -8
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +0 -19
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +0 -55
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +0 -7
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +0 -1
@@ -30,6 +30,7 @@ import { CallEndReason } from '@azure/communication-calling';
|
|
30
30
|
import { CallerInfo } from '@azure/communication-calling';
|
31
31
|
import { CallKind } from '@azure/communication-calling';
|
32
32
|
import { CallState as CallState_2 } from '@azure/communication-calling';
|
33
|
+
import type { CapabilitiesChangeInfo } from '@azure/communication-calling';
|
33
34
|
import { CaptionsResultType } from '@azure/communication-calling';
|
34
35
|
import { ChatClient } from '@azure/communication-chat';
|
35
36
|
import { ChatClientOptions } from '@azure/communication-chat';
|
@@ -1121,10 +1122,22 @@ export declare interface CallAdapterSubscribers {
|
|
1121
1122
|
* Subscribe function for 'isCaptionsActiveChanged' event.
|
1122
1123
|
*/
|
1123
1124
|
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1125
|
+
/**
|
1126
|
+
* Subscribe function for 'isCaptionLanguageChanged' event.
|
1127
|
+
*/
|
1128
|
+
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
1129
|
+
/**
|
1130
|
+
* Subscribe function for 'isSpokenLanguageChanged' event.
|
1131
|
+
*/
|
1132
|
+
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1124
1133
|
/**
|
1125
1134
|
* Subscribe function for 'transferRequested' event.
|
1126
1135
|
*/
|
1127
1136
|
on(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1137
|
+
/**
|
1138
|
+
* Unsubscribe function for 'capabilitiesChanged' event.
|
1139
|
+
*/
|
1140
|
+
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
1128
1141
|
/**
|
1129
1142
|
* Unsubscribe function for 'participantsJoined' event.
|
1130
1143
|
*/
|
@@ -1181,10 +1194,22 @@ export declare interface CallAdapterSubscribers {
|
|
1181
1194
|
* Unsubscribe function for 'isCaptionsActiveChanged' event.
|
1182
1195
|
*/
|
1183
1196
|
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
1197
|
+
/**
|
1198
|
+
* Unsubscribe function for 'isCaptionLanguageChanged' event.
|
1199
|
+
*/
|
1200
|
+
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
1201
|
+
/**
|
1202
|
+
* Unsubscribe function for 'isSpokenLanguageChanged' event.
|
1203
|
+
*/
|
1204
|
+
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
1184
1205
|
/**
|
1185
1206
|
* Unsubscribe function for 'transferRequested' event.
|
1186
1207
|
*/
|
1187
1208
|
off(event: 'transferRequested', listener: TransferRequestedListener): void;
|
1209
|
+
/**
|
1210
|
+
* Unsubscribe function for 'capabilitiesChanged' event.
|
1211
|
+
*/
|
1212
|
+
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
1188
1213
|
}
|
1189
1214
|
|
1190
1215
|
/**
|
@@ -1746,6 +1771,10 @@ export declare interface CallCompositeStrings {
|
|
1746
1771
|
* control bar People button label
|
1747
1772
|
*/
|
1748
1773
|
peopleButtonLabel: string;
|
1774
|
+
/**
|
1775
|
+
* control bar People button label when checked
|
1776
|
+
*/
|
1777
|
+
selectedPeopleButtonLabel: string;
|
1749
1778
|
/**
|
1750
1779
|
* control bar Chat button label.
|
1751
1780
|
*/
|
@@ -1963,13 +1992,21 @@ export declare interface CallCompositeStrings {
|
|
1963
1992
|
*/
|
1964
1993
|
captionsSettingsModalTitle?: string;
|
1965
1994
|
/**
|
1966
|
-
* label for dropdown inside captions setting modal
|
1995
|
+
* label for spoken language dropdown inside captions setting modal
|
1996
|
+
*/
|
1997
|
+
captionsSettingsSpokenLanguageDropdownLabel?: string;
|
1998
|
+
/**
|
1999
|
+
* label for captions language inside captions setting modal
|
1967
2000
|
*/
|
1968
|
-
|
2001
|
+
captionsSettingsCaptionLanguageDropdownLabel?: string;
|
1969
2002
|
/**
|
1970
2003
|
* text under captions setting dropdown indicating what the dropdown is for
|
1971
2004
|
*/
|
1972
|
-
|
2005
|
+
captionsSettingsSpokenLanguageDropdownInfoText?: string;
|
2006
|
+
/**
|
2007
|
+
* text under captions setting dropdown indicating what the dropdown is for
|
2008
|
+
*/
|
2009
|
+
captionsSettingsCaptionLanguageDropdownInfoText?: string;
|
1973
2010
|
/**
|
1974
2011
|
* confirm button label in captions setting modal
|
1975
2012
|
*/
|
@@ -1995,9 +2032,13 @@ export declare interface CallCompositeStrings {
|
|
1995
2032
|
*/
|
1996
2033
|
captionsBannerMoreButtonTooltip?: string;
|
1997
2034
|
/**
|
1998
|
-
* list of key value pairs that pairs language code to language names
|
2035
|
+
* list of key value pairs that pairs spoken language code to language names
|
2036
|
+
*/
|
2037
|
+
spokenLanguageStrings?: SpokenLanguageStrings;
|
2038
|
+
/**
|
2039
|
+
* list of key value pairs that pairs caption language code to language names
|
1999
2040
|
*/
|
2000
|
-
|
2041
|
+
captionLanguageStrings?: CaptionLanguageStrings;
|
2001
2042
|
/**
|
2002
2043
|
* captions banner loading spinner label
|
2003
2044
|
*/
|
@@ -2812,6 +2853,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2812
2853
|
on(event: 'callError', listener: (e: AdapterError) => void): void;
|
2813
2854
|
on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2814
2855
|
on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2856
|
+
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
2857
|
+
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
2815
2858
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
2816
2859
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
2817
2860
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -2825,6 +2868,8 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
2825
2868
|
off(event: 'callError', listener: (e: AdapterError) => void): void;
|
2826
2869
|
off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
|
2827
2870
|
off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
|
2871
|
+
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
2872
|
+
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
2828
2873
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
2829
2874
|
on(event: 'messageSent', listener: MessageSentListener): void;
|
2830
2875
|
on(event: 'messageRead', listener: MessageReadListener): void;
|
@@ -3112,6 +3157,10 @@ export declare interface CallWithChatCompositeStrings {
|
|
3112
3157
|
* {@link CallWithChatComposite} control bar People button label
|
3113
3158
|
*/
|
3114
3159
|
peopleButtonLabel: string;
|
3160
|
+
/**
|
3161
|
+
* {@link CallWithChatComposite} control bar People button label when checked
|
3162
|
+
*/
|
3163
|
+
selectedPeopleButtonLabel: string;
|
3115
3164
|
/**
|
3116
3165
|
* {@link CallWithChatComposite} control bar People button ToolTipContent
|
3117
3166
|
*/
|
@@ -3166,6 +3215,12 @@ export declare interface CallWithChatCompositeStrings {
|
|
3166
3215
|
* Only used with `mobileView` set to `true`.
|
3167
3216
|
*/
|
3168
3217
|
moreDrawerSpokenLanguageMenuTitle: string;
|
3218
|
+
/**
|
3219
|
+
* Title for the caption language sub-menu in more button drawer.
|
3220
|
+
*
|
3221
|
+
* Only used with `mobileView` set to `true`.
|
3222
|
+
*/
|
3223
|
+
moreDrawerCaptionLanguageMenuTitle: string;
|
3169
3224
|
/**
|
3170
3225
|
* {@Link CallWithChatComposite} control bar More button label
|
3171
3226
|
*/
|
@@ -3276,7 +3331,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3276
3331
|
*
|
3277
3332
|
* @public
|
3278
3333
|
*/
|
3279
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3334
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3280
3335
|
|
3281
3336
|
/**
|
3282
3337
|
* @beta
|
@@ -3507,51 +3562,49 @@ export declare interface CapabilitiesCallFeature {
|
|
3507
3562
|
}
|
3508
3563
|
|
3509
3564
|
/**
|
3565
|
+
* Callback for {@link CallAdapterSubscribers} 'capabilitiesChanged' event.
|
3566
|
+
*
|
3510
3567
|
* @beta
|
3511
|
-
* strings for captions setting modal
|
3512
3568
|
*/
|
3513
|
-
export declare
|
3514
|
-
|
3515
|
-
|
3516
|
-
|
3517
|
-
|
3518
|
-
|
3519
|
-
|
3520
|
-
|
3521
|
-
|
3522
|
-
|
3523
|
-
|
3524
|
-
|
3525
|
-
|
3526
|
-
|
3569
|
+
export declare type CapabilitiesChangedListener = (data: CapabilitiesChangeInfo) => void;
|
3570
|
+
|
3571
|
+
/**
|
3572
|
+
* @beta
|
3573
|
+
* caption language strings for captions setting modal
|
3574
|
+
*/
|
3575
|
+
export declare interface CaptionLanguageStrings {
|
3576
|
+
ar: string;
|
3577
|
+
da: string;
|
3578
|
+
de: string;
|
3579
|
+
en: string;
|
3580
|
+
es: string;
|
3581
|
+
fi: string;
|
3582
|
+
fr: string;
|
3527
3583
|
'fr-ca': string;
|
3528
|
-
|
3529
|
-
|
3530
|
-
|
3531
|
-
|
3532
|
-
|
3533
|
-
|
3534
|
-
|
3535
|
-
|
3536
|
-
|
3537
|
-
|
3538
|
-
'
|
3539
|
-
'
|
3540
|
-
|
3541
|
-
'zh-hk': string;
|
3542
|
-
'cs-cz': string;
|
3584
|
+
hi: string;
|
3585
|
+
it: string;
|
3586
|
+
ja: string;
|
3587
|
+
ko: string;
|
3588
|
+
nb: string;
|
3589
|
+
nl: string;
|
3590
|
+
pl: string;
|
3591
|
+
pt: string;
|
3592
|
+
ru: string;
|
3593
|
+
sv: string;
|
3594
|
+
'zh-Hans': string;
|
3595
|
+
'zh-Hant': string;
|
3596
|
+
cs: string;
|
3543
3597
|
'pt-pt': string;
|
3544
|
-
|
3545
|
-
|
3546
|
-
|
3547
|
-
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3551
|
-
|
3552
|
-
|
3553
|
-
|
3554
|
-
'zh-tw': string;
|
3598
|
+
tr: string;
|
3599
|
+
vi: string;
|
3600
|
+
th: string;
|
3601
|
+
he: string;
|
3602
|
+
cy: string;
|
3603
|
+
uk: string;
|
3604
|
+
el: string;
|
3605
|
+
hu: string;
|
3606
|
+
ro: string;
|
3607
|
+
sk: string;
|
3555
3608
|
}
|
3556
3609
|
|
3557
3610
|
/**
|
@@ -5523,6 +5576,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
5523
5576
|
CaptionsOffIcon: JSX.Element;
|
5524
5577
|
CaptionsSettingsIcon: JSX.Element;
|
5525
5578
|
ChangeSpokenLanguageIcon: JSX.Element;
|
5579
|
+
ChangeCaptionLanguageIcon: JSX.Element;
|
5526
5580
|
ContextMenuCameraIcon: JSX.Element;
|
5527
5581
|
ContextMenuMicIcon: JSX.Element;
|
5528
5582
|
ContextMenuSpeakerIcon: JSX.Element;
|
@@ -5652,6 +5706,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
5652
5706
|
CaptionsOffIcon: JSX.Element;
|
5653
5707
|
CaptionsSettingsIcon: JSX.Element;
|
5654
5708
|
ChangeSpokenLanguageIcon: JSX.Element;
|
5709
|
+
ChangeCaptionLanguageIcon: JSX.Element;
|
5655
5710
|
ContextMenuCameraIcon: JSX.Element;
|
5656
5711
|
ContextMenuMicIcon: JSX.Element;
|
5657
5712
|
ContextMenuSpeakerIcon: JSX.Element;
|
@@ -6802,6 +6857,15 @@ export declare interface IncomingCallState {
|
|
6802
6857
|
endTime?: Date;
|
6803
6858
|
}
|
6804
6859
|
|
6860
|
+
/**
|
6861
|
+
* Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
|
6862
|
+
*
|
6863
|
+
* @beta
|
6864
|
+
*/
|
6865
|
+
export declare type IsCaptionLanguageChangedListener = (event: {
|
6866
|
+
activeCaptionLanguage: string;
|
6867
|
+
}) => void;
|
6868
|
+
|
6805
6869
|
/**
|
6806
6870
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
|
6807
6871
|
*
|
@@ -6840,6 +6904,15 @@ export declare type IsSpeakingChangedListener = (event: {
|
|
6840
6904
|
isSpeaking: boolean;
|
6841
6905
|
}) => void;
|
6842
6906
|
|
6907
|
+
/**
|
6908
|
+
* Callback for {@link CallAdapterSubscribers} 'isSpokenLanguageChanged' event.
|
6909
|
+
*
|
6910
|
+
* @beta
|
6911
|
+
*/
|
6912
|
+
export declare type IsSpokenLanguageChangedListener = (event: {
|
6913
|
+
activeSpokenLanguage: string;
|
6914
|
+
}) => void;
|
6915
|
+
|
6843
6916
|
/**
|
6844
6917
|
* Options for setting microphone and camera state when joining a call
|
6845
6918
|
* true = turn on the device when joining call
|
@@ -8759,6 +8832,54 @@ export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
|
8759
8832
|
troubleshootingLink?: ILinkStyles;
|
8760
8833
|
}
|
8761
8834
|
|
8835
|
+
/**
|
8836
|
+
* @beta
|
8837
|
+
* spoken language strings for captions setting modal
|
8838
|
+
*/
|
8839
|
+
export declare interface SpokenLanguageStrings {
|
8840
|
+
'ar-ae': string;
|
8841
|
+
'ar-sa': string;
|
8842
|
+
'da-dk': string;
|
8843
|
+
'de-de': string;
|
8844
|
+
'en-au': string;
|
8845
|
+
'en-ca': string;
|
8846
|
+
'en-gb': string;
|
8847
|
+
'en-in': string;
|
8848
|
+
'en-nz': string;
|
8849
|
+
'en-us': string;
|
8850
|
+
'es-es': string;
|
8851
|
+
'es-mx': string;
|
8852
|
+
'fi-fi': string;
|
8853
|
+
'fr-ca': string;
|
8854
|
+
'fr-fr': string;
|
8855
|
+
'hi-in': string;
|
8856
|
+
'it-it': string;
|
8857
|
+
'ja-jp': string;
|
8858
|
+
'ko-kr': string;
|
8859
|
+
'nb-no': string;
|
8860
|
+
'nl-be': string;
|
8861
|
+
'nl-nl': string;
|
8862
|
+
'pl-pl': string;
|
8863
|
+
'pt-br': string;
|
8864
|
+
'ru-ru': string;
|
8865
|
+
'sv-se': string;
|
8866
|
+
'zh-cn': string;
|
8867
|
+
'zh-hk': string;
|
8868
|
+
'cs-cz': string;
|
8869
|
+
'pt-pt': string;
|
8870
|
+
'tr-tr': string;
|
8871
|
+
'vi-vn': string;
|
8872
|
+
'th-th': string;
|
8873
|
+
'he-il': string;
|
8874
|
+
'cy-gb': string;
|
8875
|
+
'uk-ua': string;
|
8876
|
+
'el-gr': string;
|
8877
|
+
'hu-hu': string;
|
8878
|
+
'ro-ro': string;
|
8879
|
+
'sk-sk': string;
|
8880
|
+
'zh-tw': string;
|
8881
|
+
}
|
8882
|
+
|
8762
8883
|
/**
|
8763
8884
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
8764
8885
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -10137,7 +10258,7 @@ export declare interface VideoTileProps {
|
|
10137
10258
|
noVideoAvailableAriaLabel?: string;
|
10138
10259
|
/** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
|
10139
10260
|
isSpeaking?: boolean;
|
10140
|
-
/** Whether the participant is raised hand. Show a indicator (border) and order
|
10261
|
+
/** Whether the participant is raised hand. Show a indicator (border) and icon with order */
|
10141
10262
|
raisedHand?: RaisedHand;
|
10142
10263
|
/**
|
10143
10264
|
* The call connection state of the participant.
|