@azure/communication-react 1.8.0-alpha-202309020012 → 1.8.0-alpha-202309070012
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 +37 -37
- package/dist/dist-cjs/communication-react/index.js +42 -28
- 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/baseSelectors.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +2 -0
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +6 -6
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +3 -3
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.js +3 -3
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +12 -4
- package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +2 -2
- package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +1 -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 +14 -14
- 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 +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +8 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.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/CallComposite/pages/ConfigurationPage.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/package.json +10 -10
@@ -316,7 +316,7 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
316
316
|
/**
|
317
317
|
* Optional parameters to create {@link AzureCommunicationCallAdapter}
|
318
318
|
*
|
319
|
-
* @
|
319
|
+
* @public
|
320
320
|
*/
|
321
321
|
export declare type AzureCommunicationCallAdapterOptions = CommonCallAdapterOptions;
|
322
322
|
|
@@ -879,13 +879,13 @@ export declare interface CallAdapterCallOperations {
|
|
879
879
|
/**
|
880
880
|
* Start the video background effect.
|
881
881
|
*
|
882
|
-
* @
|
882
|
+
* @public
|
883
883
|
*/
|
884
884
|
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
885
885
|
/**
|
886
886
|
* Stop the video background effect.
|
887
887
|
*
|
888
|
-
* @
|
888
|
+
* @public
|
889
889
|
*/
|
890
890
|
stopVideoBackgroundEffects(): Promise<void>;
|
891
891
|
/**
|
@@ -893,13 +893,13 @@ export declare interface CallAdapterCallOperations {
|
|
893
893
|
*
|
894
894
|
* @param backgroundImages - Array of custom background images.
|
895
895
|
*
|
896
|
-
* @
|
896
|
+
* @public
|
897
897
|
*/
|
898
898
|
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
899
899
|
/**
|
900
900
|
* Update the selected video background effect.
|
901
901
|
*
|
902
|
-
* @
|
902
|
+
* @public
|
903
903
|
*/
|
904
904
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
905
905
|
}
|
@@ -2209,7 +2209,7 @@ export declare type CallErrors = {
|
|
2209
2209
|
*
|
2210
2210
|
* @public
|
2211
2211
|
*/
|
2212
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' |
|
2212
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
|
2213
2213
|
|
2214
2214
|
/**
|
2215
2215
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -2243,7 +2243,7 @@ export declare interface CallingHandlers extends CommonCallingHandlers {
|
|
2243
2243
|
|
2244
2244
|
/**
|
2245
2245
|
* Configuration options to include video effect background dependency.
|
2246
|
-
* @
|
2246
|
+
* @public
|
2247
2247
|
*/
|
2248
2248
|
export declare type CallingHandlersOptions = {
|
2249
2249
|
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
@@ -2807,13 +2807,13 @@ export declare interface CallWithChatAdapterManagement {
|
|
2807
2807
|
/**
|
2808
2808
|
* Start the video background effect.
|
2809
2809
|
*
|
2810
|
-
* @
|
2810
|
+
* @public
|
2811
2811
|
*/
|
2812
2812
|
startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
|
2813
2813
|
/**
|
2814
2814
|
* Stop the video background effect.
|
2815
2815
|
*
|
2816
|
-
* @
|
2816
|
+
* @public
|
2817
2817
|
*/
|
2818
2818
|
stopVideoBackgroundEffects(): Promise<void>;
|
2819
2819
|
/**
|
@@ -2821,13 +2821,13 @@ export declare interface CallWithChatAdapterManagement {
|
|
2821
2821
|
*
|
2822
2822
|
* @param backgroundImages - Array of custom background images.
|
2823
2823
|
*
|
2824
|
-
* @
|
2824
|
+
* @public
|
2825
2825
|
*/
|
2826
2826
|
updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
|
2827
2827
|
/**
|
2828
2828
|
* Update the selected video background effect
|
2829
2829
|
*
|
2830
|
-
* @
|
2830
|
+
* @public
|
2831
2831
|
*/
|
2832
2832
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
2833
2833
|
}
|
@@ -3435,7 +3435,7 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
|
|
3435
3435
|
/**
|
3436
3436
|
* Callback when a effects is clicked
|
3437
3437
|
*/
|
3438
|
-
|
3438
|
+
onClickVideoEffects?: (showVideoEffects: boolean) => void;
|
3439
3439
|
}
|
3440
3440
|
|
3441
3441
|
/**
|
@@ -3560,14 +3560,14 @@ export declare type CancelEditCallback = (messageId: string) => void;
|
|
3560
3560
|
/**
|
3561
3561
|
* Callback for {@link CallAdapterSubscribers} 'capabilitiesChanged' event.
|
3562
3562
|
*
|
3563
|
-
* @
|
3563
|
+
* @public
|
3564
3564
|
*/
|
3565
3565
|
export declare type CapabilitiesChangedListener = (data: CapabilitiesChangeInfo) => void;
|
3566
3566
|
|
3567
3567
|
/**
|
3568
3568
|
* State only version of {@link @azure/communication-calling#CapabilitiesFeature}
|
3569
3569
|
*
|
3570
|
-
* @
|
3570
|
+
* @public
|
3571
3571
|
*/
|
3572
3572
|
export declare interface CapabilitiesFeatureState {
|
3573
3573
|
/**
|
@@ -3582,7 +3582,7 @@ export declare interface CapabilitiesFeatureState {
|
|
3582
3582
|
|
3583
3583
|
/**
|
3584
3584
|
* Strings for capability changed notification
|
3585
|
-
* @
|
3585
|
+
* @public
|
3586
3586
|
*/
|
3587
3587
|
export declare interface CapabilityChangedNotificationStrings {
|
3588
3588
|
/**
|
@@ -3627,7 +3627,7 @@ export declare interface CapabilityChangedNotificationStrings {
|
|
3627
3627
|
}
|
3628
3628
|
|
3629
3629
|
/**
|
3630
|
-
* @
|
3630
|
+
* @public
|
3631
3631
|
* caption language strings for captions setting modal
|
3632
3632
|
*/
|
3633
3633
|
export declare interface CaptionLanguageStrings {
|
@@ -3666,7 +3666,7 @@ export declare interface CaptionLanguageStrings {
|
|
3666
3666
|
}
|
3667
3667
|
|
3668
3668
|
/**
|
3669
|
-
* @
|
3669
|
+
* @public
|
3670
3670
|
*/
|
3671
3671
|
export declare interface CaptionsCallFeatureState {
|
3672
3672
|
/**
|
@@ -3700,7 +3700,7 @@ export declare interface CaptionsCallFeatureState {
|
|
3700
3700
|
}
|
3701
3701
|
|
3702
3702
|
/**
|
3703
|
-
* @
|
3703
|
+
* @public
|
3704
3704
|
*/
|
3705
3705
|
export declare interface CaptionsInfo {
|
3706
3706
|
/**
|
@@ -3736,7 +3736,7 @@ export declare interface CaptionsInfo {
|
|
3736
3736
|
/**
|
3737
3737
|
* options bag to start captions
|
3738
3738
|
*
|
3739
|
-
* @
|
3739
|
+
* @public
|
3740
3740
|
*/
|
3741
3741
|
export declare type CaptionsOptions = {
|
3742
3742
|
spokenLanguage: string;
|
@@ -3745,7 +3745,7 @@ export declare type CaptionsOptions = {
|
|
3745
3745
|
/**
|
3746
3746
|
* Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
|
3747
3747
|
*
|
3748
|
-
* @
|
3748
|
+
* @public
|
3749
3749
|
*/
|
3750
3750
|
export declare type CaptionsReceivedListener = (event: {
|
3751
3751
|
captionsInfo: CaptionsInfo;
|
@@ -4378,7 +4378,7 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
|
|
4378
4378
|
/**
|
4379
4379
|
* Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
|
4380
4380
|
*
|
4381
|
-
* @
|
4381
|
+
* @public
|
4382
4382
|
*/
|
4383
4383
|
export declare type CommonCallAdapterOptions = {
|
4384
4384
|
/**
|
@@ -6947,7 +6947,7 @@ export declare interface IncomingCallState {
|
|
6947
6947
|
/**
|
6948
6948
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
|
6949
6949
|
*
|
6950
|
-
* @
|
6950
|
+
* @public
|
6951
6951
|
*/
|
6952
6952
|
export declare type IsCaptionLanguageChangedListener = (event: {
|
6953
6953
|
activeCaptionLanguage: string;
|
@@ -6956,7 +6956,7 @@ export declare type IsCaptionLanguageChangedListener = (event: {
|
|
6956
6956
|
/**
|
6957
6957
|
* Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
|
6958
6958
|
*
|
6959
|
-
* @
|
6959
|
+
* @public
|
6960
6960
|
*/
|
6961
6961
|
export declare type IsCaptionsActiveChangedListener = (event: {
|
6962
6962
|
isActive: boolean;
|
@@ -6994,7 +6994,7 @@ export declare type IsSpeakingChangedListener = (event: {
|
|
6994
6994
|
/**
|
6995
6995
|
* Callback for {@link CallAdapterSubscribers} 'isSpokenLanguageChanged' event.
|
6996
6996
|
*
|
6997
|
-
* @
|
6997
|
+
* @public
|
6998
6998
|
*/
|
6999
6999
|
export declare type IsSpokenLanguageChangedListener = (event: {
|
7000
7000
|
activeSpokenLanguage: string;
|
@@ -7109,7 +7109,7 @@ export declare interface LocalVideoStreamState {
|
|
7109
7109
|
view?: VideoStreamRendererViewState;
|
7110
7110
|
/**
|
7111
7111
|
* Stores the state of the video effects.
|
7112
|
-
* @
|
7112
|
+
* @public
|
7113
7113
|
*/
|
7114
7114
|
videoEffects?: LocalVideoStreamVideoEffectsState;
|
7115
7115
|
}
|
@@ -7117,7 +7117,7 @@ export declare interface LocalVideoStreamState {
|
|
7117
7117
|
/**
|
7118
7118
|
* State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
|
7119
7119
|
*
|
7120
|
-
* @
|
7120
|
+
* @public
|
7121
7121
|
*/
|
7122
7122
|
export declare interface LocalVideoStreamVideoEffectsState {
|
7123
7123
|
/**
|
@@ -7967,14 +7967,14 @@ defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element;
|
|
7967
7967
|
/**
|
7968
7968
|
* Dependency resolution for video background effects.
|
7969
7969
|
*
|
7970
|
-
* @
|
7970
|
+
* @public
|
7971
7971
|
*/
|
7972
7972
|
export declare const onResolveVideoEffectDependency: () => Promise<VideoBackgroundEffectsDependency>;
|
7973
7973
|
|
7974
7974
|
/**
|
7975
7975
|
*
|
7976
7976
|
* Dependency resolution for video background effects using lazy loading.
|
7977
|
-
* @
|
7977
|
+
* @public
|
7978
7978
|
*/
|
7979
7979
|
export declare const onResolveVideoEffectDependencyLazy: () => Promise<VideoBackgroundEffectsDependency>;
|
7980
7980
|
|
@@ -8927,7 +8927,7 @@ export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
|
8927
8927
|
}
|
8928
8928
|
|
8929
8929
|
/**
|
8930
|
-
* @
|
8930
|
+
* @public
|
8931
8931
|
* spoken language strings for captions setting modal
|
8932
8932
|
*/
|
8933
8933
|
export declare interface SpokenLanguageStrings {
|
@@ -9209,7 +9209,7 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
9209
9209
|
* {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
|
9210
9210
|
* video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
|
9211
9211
|
*
|
9212
|
-
* @
|
9212
|
+
* @public
|
9213
9213
|
*/
|
9214
9214
|
getUnparentedVideoStreams: () => LocalVideoStream[];
|
9215
9215
|
}
|
@@ -9267,7 +9267,7 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
9267
9267
|
/**
|
9268
9268
|
* Optional parameters to create {@link TeamsCallAdapter}
|
9269
9269
|
*
|
9270
|
-
* @
|
9270
|
+
* @public
|
9271
9271
|
*/
|
9272
9272
|
export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
|
9273
9273
|
|
@@ -9889,7 +9889,7 @@ export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
|
9889
9889
|
/**
|
9890
9890
|
* Contains the attibutes of the blur video background effect
|
9891
9891
|
*
|
9892
|
-
* @
|
9892
|
+
* @public
|
9893
9893
|
*/
|
9894
9894
|
export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig {
|
9895
9895
|
/**
|
@@ -9901,14 +9901,14 @@ export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig
|
|
9901
9901
|
/**
|
9902
9902
|
* Contains the attibutes of a selected video background effect
|
9903
9903
|
*
|
9904
|
-
* @
|
9904
|
+
* @public
|
9905
9905
|
*/
|
9906
9906
|
export declare type VideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
|
9907
9907
|
|
9908
9908
|
/**
|
9909
9909
|
* Dependency type to be injected for video background effects
|
9910
9910
|
*
|
9911
|
-
* @
|
9911
|
+
* @public
|
9912
9912
|
*/
|
9913
9913
|
export declare type VideoBackgroundEffectsDependency = {
|
9914
9914
|
createBackgroundBlurEffect: (config?: BackgroundBlurConfig) => BackgroundBlurEffect;
|
@@ -9918,7 +9918,7 @@ export declare type VideoBackgroundEffectsDependency = {
|
|
9918
9918
|
/**
|
9919
9919
|
* Contains the attibutes of a background image like url, name etc.
|
9920
9920
|
*
|
9921
|
-
* @
|
9921
|
+
* @public
|
9922
9922
|
*/
|
9923
9923
|
export declare interface VideoBackgroundImage {
|
9924
9924
|
/**
|
@@ -9938,7 +9938,7 @@ export declare interface VideoBackgroundImage {
|
|
9938
9938
|
/**
|
9939
9939
|
* Contains the attibutes to remove video background effect
|
9940
9940
|
*
|
9941
|
-
* @
|
9941
|
+
* @public
|
9942
9942
|
*/
|
9943
9943
|
export declare interface VideoBackgroundNoEffect {
|
9944
9944
|
/**
|
@@ -9950,7 +9950,7 @@ export declare interface VideoBackgroundNoEffect {
|
|
9950
9950
|
/**
|
9951
9951
|
* Contains the attibutes of a selected replacement video background effect
|
9952
9952
|
*
|
9953
|
-
* @
|
9953
|
+
* @public
|
9954
9954
|
*/
|
9955
9955
|
export declare interface VideoBackgroundReplacementEffect extends BackgroundReplacementConfig {
|
9956
9956
|
/**
|
@@ -178,7 +178,7 @@ const _isValidIdentifier = (identifier) => {
|
|
178
178
|
// Copyright (c) Microsoft Corporation.
|
179
179
|
// Licensed under the MIT license.
|
180
180
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
181
|
-
var telemetryVersion = '1.8.0-alpha-
|
181
|
+
var telemetryVersion = '1.8.0-alpha-202309070012';
|
182
182
|
|
183
183
|
// Copyright (c) Microsoft Corporation.
|
184
184
|
/**
|
@@ -405,7 +405,7 @@ const getLatestErrors$1 = (state) => state.latestErrors;
|
|
405
405
|
* @private
|
406
406
|
*/
|
407
407
|
const getDiagnostics = (state, props) => { var _a; return (_a = state.calls[props.callId]) === null || _a === void 0 ? void 0 : _a.diagnostics; };
|
408
|
-
/* @conditional-compile-remove(PSTN-calls) */
|
408
|
+
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(raise-hand) */
|
409
409
|
/**
|
410
410
|
* @private
|
411
411
|
*/
|
@@ -1955,7 +1955,7 @@ class CallContext$2 {
|
|
1955
1955
|
}
|
1956
1956
|
});
|
1957
1957
|
}
|
1958
|
-
/* @conditional-compile-remove(rooms) */
|
1958
|
+
/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */
|
1959
1959
|
setRole(callId, role) {
|
1960
1960
|
this.modifyState((draft) => {
|
1961
1961
|
const call = draft.calls[this._callIdHistory.latestCallId(callId)];
|
@@ -3586,7 +3586,7 @@ class CallSubscriber {
|
|
3586
3586
|
this._call.on('remoteParticipantsUpdated', this.remoteParticipantsUpdated);
|
3587
3587
|
this._call.on('localVideoStreamsUpdated', this.localVideoStreamsUpdated);
|
3588
3588
|
this._call.on('isMutedChanged', this.isMuteChanged);
|
3589
|
-
/* @conditional-compile-remove(rooms) */
|
3589
|
+
/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */
|
3590
3590
|
this._call.on('roleChanged', this.callRoleChangedHandler);
|
3591
3591
|
this._call.feature(communicationCalling.Features.DominantSpeakers).on('dominantSpeakersChanged', this.dominantSpeakersChanged);
|
3592
3592
|
/* @conditional-compile-remove(total-participant-count) */
|
@@ -3612,7 +3612,7 @@ class CallSubscriber {
|
|
3612
3612
|
this._call.off('remoteParticipantsUpdated', this.remoteParticipantsUpdated);
|
3613
3613
|
this._call.off('localVideoStreamsUpdated', this.localVideoStreamsUpdated);
|
3614
3614
|
this._call.off('isMutedChanged', this.isMuteChanged);
|
3615
|
-
/* @conditional-compile-remove(rooms) */
|
3615
|
+
/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */
|
3616
3616
|
this._call.off('roleChanged', this.callRoleChangedHandler);
|
3617
3617
|
/* @conditional-compile-remove(total-participant-count) */
|
3618
3618
|
this._call.off('totalParticipantCountChanged', this.totalParticipantCountChangedHandler);
|
@@ -3662,7 +3662,7 @@ class CallSubscriber {
|
|
3662
3662
|
this.isMuteChanged = () => {
|
3663
3663
|
this._context.setCallIsMicrophoneMuted(this._callIdRef.callId, this._call.isMuted);
|
3664
3664
|
};
|
3665
|
-
/* @conditional-compile-remove(rooms) */
|
3665
|
+
/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */
|
3666
3666
|
this.callRoleChangedHandler = () => {
|
3667
3667
|
this._context.setRole(this._callIdRef.callId, this._call.role);
|
3668
3668
|
};
|
@@ -15596,15 +15596,15 @@ const CameraButton = (props) => {
|
|
15596
15596
|
}), [cameraOn, localVideoViewOptions, onToggleCamera, toggleAnnouncerString]);
|
15597
15597
|
const splitButtonMenuItems = [];
|
15598
15598
|
/* @conditional-compile-remove(video-background-effects) */
|
15599
|
-
if (props.
|
15599
|
+
if (props.onClickVideoEffects) {
|
15600
15600
|
splitButtonMenuItems.push({
|
15601
15601
|
key: 'effects',
|
15602
15602
|
'data-ui-id': 'camera-split-button-video-effects',
|
15603
15603
|
text: strings.videoEffectsMenuItemTitle,
|
15604
15604
|
iconProps: { iconName: 'ControlButtonVideoEffectsOption', styles: { root: { lineHeight: 0 } } },
|
15605
15605
|
onClick: () => {
|
15606
|
-
if (props.
|
15607
|
-
props.
|
15606
|
+
if (props.onClickVideoEffects) {
|
15607
|
+
props.onClickVideoEffects(true);
|
15608
15608
|
}
|
15609
15609
|
}
|
15610
15610
|
});
|
@@ -17667,6 +17667,14 @@ const _CaptionsSettingsModal = (props) => {
|
|
17667
17667
|
};
|
17668
17668
|
});
|
17669
17669
|
}, [supportedCaptionLanguages, captionLanguageStrings]);
|
17670
|
+
const sortedSpokenLanguageDropdownOptions = React.useMemo(() => {
|
17671
|
+
const copy = [...spokenLanguageDropdownOptions];
|
17672
|
+
return copy.sort((a, b) => (a.text > b.text ? 1 : -1));
|
17673
|
+
}, [spokenLanguageDropdownOptions]);
|
17674
|
+
const sortedCaptionLanguageDropdownOptions = React.useMemo(() => {
|
17675
|
+
const copy = [...captionLanguageDropdownOptions];
|
17676
|
+
return copy.sort((a, b) => (a.text > b.text ? 1 : -1));
|
17677
|
+
}, [captionLanguageDropdownOptions]);
|
17670
17678
|
const onSpokenLanguageChange = (event, option) => {
|
17671
17679
|
if (option) {
|
17672
17680
|
setSelectedSpokenLanguage(option);
|
@@ -17686,17 +17694,17 @@ const _CaptionsSettingsModal = (props) => {
|
|
17686
17694
|
? currentCaptionLanguage
|
17687
17695
|
: _spokenLanguageToCaptionLanguage[placeholderSpokenLanguage];
|
17688
17696
|
return (React__default['default'].createElement(react.Stack, null,
|
17689
|
-
React__default['default'].createElement(react.Dropdown, { label: strings === null || strings === void 0 ? void 0 : strings.captionsSettingsSpokenLanguageDropdownLabel, selectedKey: selectedSpokenLanguage ? selectedSpokenLanguage.key : undefined, onChange: onSpokenLanguageChange, calloutProps: calloutProps, placeholder: placeholderSpokenLanguage, options:
|
17697
|
+
React__default['default'].createElement(react.Dropdown, { label: strings === null || strings === void 0 ? void 0 : strings.captionsSettingsSpokenLanguageDropdownLabel, selectedKey: selectedSpokenLanguage ? selectedSpokenLanguage.key : undefined, onChange: onSpokenLanguageChange, calloutProps: calloutProps, placeholder: placeholderSpokenLanguage, options: sortedSpokenLanguageDropdownOptions, styles: dropdownStyles }),
|
17690
17698
|
React__default['default'].createElement(react.Text, { className: dropdownInfoTextStyle(theme) }, strings === null || strings === void 0 ? void 0 : strings.captionsSettingsSpokenLanguageDropdownInfoText),
|
17691
17699
|
changeCaptionLanguage && (React__default['default'].createElement(React__default['default'].Fragment, null,
|
17692
|
-
React__default['default'].createElement(react.Dropdown, { label: strings === null || strings === void 0 ? void 0 : strings.captionsSettingsCaptionLanguageDropdownLabel, selectedKey: selectedCaptionLanguage ? selectedCaptionLanguage.key : undefined, onChange: onCaptionLanguageChange, calloutProps: calloutProps, placeholder: placeholderCaptionLanguage, options:
|
17700
|
+
React__default['default'].createElement(react.Dropdown, { label: strings === null || strings === void 0 ? void 0 : strings.captionsSettingsCaptionLanguageDropdownLabel, selectedKey: selectedCaptionLanguage ? selectedCaptionLanguage.key : undefined, onChange: onCaptionLanguageChange, calloutProps: calloutProps, placeholder: placeholderCaptionLanguage, options: sortedCaptionLanguageDropdownOptions, styles: dropdownStyles }),
|
17693
17701
|
React__default['default'].createElement(react.Text, { className: dropdownInfoTextStyle(theme) }, strings === null || strings === void 0 ? void 0 : strings.captionsSettingsCaptionLanguageDropdownInfoText)))));
|
17694
17702
|
}, [
|
17695
17703
|
calloutProps,
|
17696
17704
|
currentSpokenLanguage,
|
17697
17705
|
currentCaptionLanguage,
|
17698
|
-
|
17699
|
-
|
17706
|
+
sortedSpokenLanguageDropdownOptions,
|
17707
|
+
sortedCaptionLanguageDropdownOptions,
|
17700
17708
|
selectedCaptionLanguage,
|
17701
17709
|
selectedSpokenLanguage,
|
17702
17710
|
strings === null || strings === void 0 ? void 0 : strings.captionsSettingsSpokenLanguageDropdownInfoText,
|
@@ -18328,7 +18336,9 @@ const findSelector$1 = (component) => {
|
|
18328
18336
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(raise-hand) */
|
18329
18337
|
const findConditionalCompiledSelector = (component) => {
|
18330
18338
|
switch (component) {
|
18339
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
18331
18340
|
case HoldButton:
|
18341
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
18332
18342
|
return holdButtonSelector;
|
18333
18343
|
/* @conditional-compile-remove(raise-hand) */
|
18334
18344
|
case RaiseHandButton:
|
@@ -23146,7 +23156,7 @@ const Camera = (props) => {
|
|
23146
23156
|
var _a, _b, _c;
|
23147
23157
|
const cameraButtonProps = usePropsFor$1(CameraButton);
|
23148
23158
|
const styles = React.useMemo(() => { var _a; return concatButtonBaseStyles((_a = props.styles) !== null && _a !== void 0 ? _a : {}); }, [props.styles]);
|
23149
|
-
/* @conditional-compile-remove(rooms) */
|
23159
|
+
/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */
|
23150
23160
|
const adapter = useAdapter();
|
23151
23161
|
/* @conditional-compile-remove(rooms) */
|
23152
23162
|
const isRoomsCall = adapter.getState().isRoomsCall;
|
@@ -23160,7 +23170,7 @@ const Camera = (props) => {
|
|
23160
23170
|
? () => React__default['default'].createElement(_HighContrastAwareIcon, { disabled: true, iconName: 'ControlButtonCameraProhibited' })
|
23161
23171
|
: undefined,
|
23162
23172
|
/* @conditional-compile-remove(video-background-effects) */
|
23163
|
-
|
23173
|
+
onClickVideoEffects: props.onClickVideoEffects, componentRef: props.componentRef })));
|
23164
23174
|
};
|
23165
23175
|
|
23166
23176
|
// Copyright (c) Microsoft Corporation.
|
@@ -23377,7 +23387,7 @@ const Microphone = (props) => {
|
|
23377
23387
|
const callStatus = useSelector$1(getCallStatus);
|
23378
23388
|
const isLocalMicrophoneEnabled = useSelector$1(getLocalMicrophoneEnabled);
|
23379
23389
|
const strings = useLocale().strings.call;
|
23380
|
-
/* @conditional-compile-remove(rooms) */
|
23390
|
+
/* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(capabilities) */
|
23381
23391
|
const adapter = useAdapter();
|
23382
23392
|
/* @conditional-compile-remove(rooms) */
|
23383
23393
|
const isRoomsCall = adapter.getState().isRoomsCall;
|
@@ -23709,7 +23719,7 @@ const CallControls = (props) => {
|
|
23709
23719
|
const options = React.useMemo(() => (typeof props.options === 'boolean' ? {} : props.options), [props.options]);
|
23710
23720
|
/* @conditional-compile-remove(PSTN-calls) */
|
23711
23721
|
const adapter = useAdapter();
|
23712
|
-
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */
|
23722
|
+
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */
|
23713
23723
|
const localeStrings = useLocale();
|
23714
23724
|
/* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */
|
23715
23725
|
const peopleButtonStrings = React.useMemo(() => ({
|
@@ -23717,7 +23727,7 @@ const CallControls = (props) => {
|
|
23717
23727
|
tooltipOffContent: localeStrings.strings.call.peopleButtonTooltipOpen,
|
23718
23728
|
tooltipOnContent: localeStrings.strings.call.peopleButtonTooltipClose
|
23719
23729
|
}), [localeStrings]);
|
23720
|
-
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */
|
23730
|
+
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */
|
23721
23731
|
const moreButtonStrings = React.useMemo(() => ({
|
23722
23732
|
label: localeStrings.strings.call.moreButtonCallingLabel,
|
23723
23733
|
tooltipOffContent: localeStrings.strings.callWithChat.moreDrawerButtonTooltip
|
@@ -23734,7 +23744,7 @@ const CallControls = (props) => {
|
|
23734
23744
|
const raiseHandButtonProps = usePropsFor$1(RaiseHandButton);
|
23735
23745
|
/* @conditional-compile-remove(PSTN-calls) */
|
23736
23746
|
const alternateCallerId = useAdapter().getState().alternateCallerId;
|
23737
|
-
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */
|
23747
|
+
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */
|
23738
23748
|
const moreButtonContextualMenuItems = () => {
|
23739
23749
|
const items = [];
|
23740
23750
|
if (props.isMobile && props.onPeopleButtonClicked && isEnabled$2(options === null || options === void 0 ? void 0 : options.participantsButton)) {
|
@@ -23839,7 +23849,7 @@ const CallControls = (props) => {
|
|
23839
23849
|
/* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(PSTN-calls) */
|
23840
23850
|
React__default['default'].createElement(People, { checked: props.peopleButtonChecked, ariaLabel: peopleButtonStrings === null || peopleButtonStrings === void 0 ? void 0 : peopleButtonStrings.label, showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact', onClick: props.onPeopleButtonClicked, "data-ui-id": "call-composite-people-button", strings: peopleButtonStrings, disabled: isDisabled$3(options === null || options === void 0 ? void 0 : options.participantsButton) })),
|
23841
23851
|
isEnabled$2(options === null || options === void 0 ? void 0 : options.devicesButton) && (React__default['default'].createElement(Devices, { displayType: options === null || options === void 0 ? void 0 : options.displayType, increaseFlyoutItemSize: props.increaseFlyoutItemSize, disabled: isDisabled$3(options === null || options === void 0 ? void 0 : options.devicesButton) })),
|
23842
|
-
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */
|
23852
|
+
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */
|
23843
23853
|
isEnabled$2(options === null || options === void 0 ? void 0 : options.moreButton) && moreButtonContextualMenuItems().length > 0 && (React__default['default'].createElement(MoreButton, { "data-ui-id": "common-call-composite-more-button", strings: moreButtonStrings, menuIconProps: { hidden: true }, menuProps: { items: moreButtonContextualMenuItems() }, showLabel: (options === null || options === void 0 ? void 0 : options.displayType) !== 'compact' })),
|
23844
23854
|
customButtons['primary'],
|
23845
23855
|
isEnabled$2(options === null || options === void 0 ? void 0 : options.endCallButton) && React__default['default'].createElement(EndCall, { displayType: options === null || options === void 0 ? void 0 : options.displayType })))));
|
@@ -24421,7 +24431,7 @@ const CommonCallControlBar = (props) => {
|
|
24421
24431
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
|
24422
24432
|
disabled: props.disableButtonsForHoldScreen || isDisabled$3(options.cameraButton),
|
24423
24433
|
/* @conditional-compile-remove(video-background-effects) */
|
24424
|
-
|
24434
|
+
onClickVideoEffects: props.onClickVideoEffects, componentRef: props.cameraButtonRef })),
|
24425
24435
|
/* @conditional-compile-remove(raise-hand) */ !props.mobileView &&
|
24426
24436
|
isEnabled$1(options.raiseHandButton) && (React__default['default'].createElement(RaiseHand, { displayType: options.displayType, styles: commonButtonStyles,
|
24427
24437
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
|
@@ -24654,8 +24664,12 @@ const CaptionSettingsDrawer = (props) => {
|
|
24654
24664
|
secondaryIconProps: props.currentLanguage === languageCode ? { iconName: 'Accept' } : undefined
|
24655
24665
|
}));
|
24656
24666
|
}, [props.currentLanguage, props.supportedLanguageStrings, onDrawerItemClick]);
|
24667
|
+
const sortedDrawerItems = React.useMemo(() => {
|
24668
|
+
const copy = [...drawerItems];
|
24669
|
+
return copy.sort((a, b) => (a.text && b.text && a.text > b.text ? 1 : -1));
|
24670
|
+
}, [drawerItems]);
|
24657
24671
|
/* @conditional-compile-remove(close-captions) */
|
24658
|
-
return (React__default['default'].createElement(_DrawerMenu, { heading: (_a = props.strings) === null || _a === void 0 ? void 0 : _a.menuTitle, items:
|
24672
|
+
return (React__default['default'].createElement(_DrawerMenu, { heading: (_a = props.strings) === null || _a === void 0 ? void 0 : _a.menuTitle, items: sortedDrawerItems !== null && sortedDrawerItems !== void 0 ? sortedDrawerItems : [], onLightDismiss: () => {
|
24659
24673
|
props.setCurrentLanguage(props.currentLanguage);
|
24660
24674
|
props.onLightDismiss();
|
24661
24675
|
}, styles: captionSettingsDrawerStyles(theme) }));
|
@@ -24710,7 +24724,7 @@ const MoreDrawer = (props) => {
|
|
24710
24724
|
const theme = react.useTheme();
|
24711
24725
|
const drawerMenuItems = [];
|
24712
24726
|
const { speakers, onSelectSpeaker, onLightDismiss } = props;
|
24713
|
-
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */
|
24727
|
+
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(close-captions) */ /* @conditional-compile-remove(raise-hand) */
|
24714
24728
|
const localeStrings = useLocale();
|
24715
24729
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
|
24716
24730
|
const holdButtonProps = usePropsFor$1(HoldButton);
|
@@ -26496,7 +26510,7 @@ const CallArrangement = (props) => {
|
|
26496
26510
|
/* @conditional-compile-remove(close-captions) */
|
26497
26511
|
isCaptionsOn: isCaptionsOn,
|
26498
26512
|
/* @conditional-compile-remove(video-background-effects) */
|
26499
|
-
|
26513
|
+
onClickVideoEffects: onResolveVideoEffectDependency ? openVideoEffectsPane : undefined,
|
26500
26514
|
/* @conditional-compile-remove(PSTN-calls) */
|
26501
26515
|
onClickShowDialpad: alternateCallerId ? onClickShowDialpad : undefined, displayVertical: verticalControlBar,
|
26502
26516
|
/* @conditional-compile-remove(gallery-layouts) */
|
@@ -27444,7 +27458,7 @@ const LocalDeviceSettings = (props) => {
|
|
27444
27458
|
React__default['default'].createElement(react.Stack, { horizontal: true, horizontalAlign: "space-between", styles: cameraAndVideoEffectsContainerStyleDesktop },
|
27445
27459
|
React__default['default'].createElement(react.Label, { id: 'call-composite-local-camera-settings-label', className: react.mergeStyles(dropDownStyles(theme).label), disabled: !cameraPermissionGranted }, cameraLabel),
|
27446
27460
|
/* @conditional-compile-remove(video-background-effects) */
|
27447
|
-
onResolveVideoEffectDependency && (React__default['default'].createElement(react.DefaultButton, { iconProps: { iconName: 'ConfigurationScreenVideoEffectsButton' }, styles: effectsButtonStyles(theme), onClick: props.
|
27461
|
+
onResolveVideoEffectDependency && (React__default['default'].createElement(react.DefaultButton, { iconProps: { iconName: 'ConfigurationScreenVideoEffectsButton' }, styles: effectsButtonStyles(theme), onClick: props.onClickVideoEffects, "data-ui-id": 'call-config-video-effects-button' }, locale.strings.call.configurationPageVideoEffectsButtonLabel))),
|
27448
27462
|
React__default['default'].createElement(ConfigurationPageCameraDropdown, { cameraGrantedDropdown: cameraGrantedDropdown, cameraPermissionGranted: cameraPermissionGranted !== null && cameraPermissionGranted !== void 0 ? cameraPermissionGranted : false,
|
27449
27463
|
/* @conditional-compile-remove(call-readiness) */
|
27450
27464
|
dropdownProps: dropdownProps,
|
@@ -28038,7 +28052,7 @@ const ConfigurationPage = (props) => {
|
|
28038
28052
|
setIsPermissionsModalDismissed(true);
|
28039
28053
|
},
|
28040
28054
|
/* @conditional-compile-remove(video-background-effects) */
|
28041
|
-
|
28055
|
+
onClickVideoEffects: toggleVideoEffectsPane })))),
|
28042
28056
|
React__default['default'].createElement(react.Stack, { styles: mobileWithPreview ? startCallButtonContainerStyleMobile : startCallButtonContainerStyleDesktop },
|
28043
28057
|
React__default['default'].createElement(StartCallButton, { className: mobileWithPreview ? startCallButtonStyleMobile : undefined, onClick: startCall, disabled: disableStartCallButton })))),
|
28044
28058
|
React__default['default'].createElement(react.Panel
|
@@ -31948,7 +31962,7 @@ var __awaiter$1 = (window && window.__awaiter) || function (thisArg, _arguments,
|
|
31948
31962
|
/**
|
31949
31963
|
*
|
31950
31964
|
* Dependency resolution for video background effects using lazy loading.
|
31951
|
-
* @
|
31965
|
+
* @public
|
31952
31966
|
*/
|
31953
31967
|
const onResolveVideoEffectDependencyLazy = () => __awaiter$1(void 0, void 0, void 0, function* () {
|
31954
31968
|
const module = yield Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@azure/communication-calling-effects')); });
|
@@ -31978,7 +31992,7 @@ var __awaiter = (window && window.__awaiter) || function (thisArg, _arguments, P
|
|
31978
31992
|
/**
|
31979
31993
|
* Dependency resolution for video background effects.
|
31980
31994
|
*
|
31981
|
-
* @
|
31995
|
+
* @public
|
31982
31996
|
*/
|
31983
31997
|
const onResolveVideoEffectDependency = () => __awaiter(void 0, void 0, void 0, function* () {
|
31984
31998
|
const createBackgroundBlurEffect = (config) => {
|