@azure/communication-react 1.8.0-alpha-202309060012 → 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 +25 -25
- package/dist/dist-cjs/communication-react/index.js +19 -17
- 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 +1 -1
- 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 +3 -3
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.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/ParticipantList.js +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.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 +9 -9
- 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 +1 -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/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/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 +1 -1
- 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/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/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
|
/**
|
@@ -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
|
/**
|
@@ -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
|
|
@@ -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
|
*/
|
@@ -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
|
});
|
@@ -18336,7 +18336,9 @@ const findSelector$1 = (component) => {
|
|
18336
18336
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(raise-hand) */
|
18337
18337
|
const findConditionalCompiledSelector = (component) => {
|
18338
18338
|
switch (component) {
|
18339
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
18339
18340
|
case HoldButton:
|
18341
|
+
/* @conditional-compile-remove(PSTN-calls) */
|
18340
18342
|
return holdButtonSelector;
|
18341
18343
|
/* @conditional-compile-remove(raise-hand) */
|
18342
18344
|
case RaiseHandButton:
|
@@ -23168,7 +23170,7 @@ const Camera = (props) => {
|
|
23168
23170
|
? () => React__default['default'].createElement(_HighContrastAwareIcon, { disabled: true, iconName: 'ControlButtonCameraProhibited' })
|
23169
23171
|
: undefined,
|
23170
23172
|
/* @conditional-compile-remove(video-background-effects) */
|
23171
|
-
|
23173
|
+
onClickVideoEffects: props.onClickVideoEffects, componentRef: props.componentRef })));
|
23172
23174
|
};
|
23173
23175
|
|
23174
23176
|
// Copyright (c) Microsoft Corporation.
|
@@ -23717,7 +23719,7 @@ const CallControls = (props) => {
|
|
23717
23719
|
const options = React.useMemo(() => (typeof props.options === 'boolean' ? {} : props.options), [props.options]);
|
23718
23720
|
/* @conditional-compile-remove(PSTN-calls) */
|
23719
23721
|
const adapter = useAdapter();
|
23720
|
-
/* @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) */
|
23721
23723
|
const localeStrings = useLocale();
|
23722
23724
|
/* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */
|
23723
23725
|
const peopleButtonStrings = React.useMemo(() => ({
|
@@ -23725,7 +23727,7 @@ const CallControls = (props) => {
|
|
23725
23727
|
tooltipOffContent: localeStrings.strings.call.peopleButtonTooltipOpen,
|
23726
23728
|
tooltipOnContent: localeStrings.strings.call.peopleButtonTooltipClose
|
23727
23729
|
}), [localeStrings]);
|
23728
|
-
/* @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) */
|
23729
23731
|
const moreButtonStrings = React.useMemo(() => ({
|
23730
23732
|
label: localeStrings.strings.call.moreButtonCallingLabel,
|
23731
23733
|
tooltipOffContent: localeStrings.strings.callWithChat.moreDrawerButtonTooltip
|
@@ -23742,7 +23744,7 @@ const CallControls = (props) => {
|
|
23742
23744
|
const raiseHandButtonProps = usePropsFor$1(RaiseHandButton);
|
23743
23745
|
/* @conditional-compile-remove(PSTN-calls) */
|
23744
23746
|
const alternateCallerId = useAdapter().getState().alternateCallerId;
|
23745
|
-
/* @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) */
|
23746
23748
|
const moreButtonContextualMenuItems = () => {
|
23747
23749
|
const items = [];
|
23748
23750
|
if (props.isMobile && props.onPeopleButtonClicked && isEnabled$2(options === null || options === void 0 ? void 0 : options.participantsButton)) {
|
@@ -23847,7 +23849,7 @@ const CallControls = (props) => {
|
|
23847
23849
|
/* @conditional-compile-remove(one-to-n-calling) */ /* @conditional-compile-remove(PSTN-calls) */
|
23848
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) })),
|
23849
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) })),
|
23850
|
-
/* @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) */
|
23851
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' })),
|
23852
23854
|
customButtons['primary'],
|
23853
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 })))));
|
@@ -24429,7 +24431,7 @@ const CommonCallControlBar = (props) => {
|
|
24429
24431
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
|
24430
24432
|
disabled: props.disableButtonsForHoldScreen || isDisabled$3(options.cameraButton),
|
24431
24433
|
/* @conditional-compile-remove(video-background-effects) */
|
24432
|
-
|
24434
|
+
onClickVideoEffects: props.onClickVideoEffects, componentRef: props.cameraButtonRef })),
|
24433
24435
|
/* @conditional-compile-remove(raise-hand) */ !props.mobileView &&
|
24434
24436
|
isEnabled$1(options.raiseHandButton) && (React__default['default'].createElement(RaiseHand, { displayType: options.displayType, styles: commonButtonStyles,
|
24435
24437
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
|
@@ -24722,7 +24724,7 @@ const MoreDrawer = (props) => {
|
|
24722
24724
|
const theme = react.useTheme();
|
24723
24725
|
const drawerMenuItems = [];
|
24724
24726
|
const { speakers, onSelectSpeaker, onLightDismiss } = props;
|
24725
|
-
/* @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) */
|
24726
24728
|
const localeStrings = useLocale();
|
24727
24729
|
/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */
|
24728
24730
|
const holdButtonProps = usePropsFor$1(HoldButton);
|
@@ -26508,7 +26510,7 @@ const CallArrangement = (props) => {
|
|
26508
26510
|
/* @conditional-compile-remove(close-captions) */
|
26509
26511
|
isCaptionsOn: isCaptionsOn,
|
26510
26512
|
/* @conditional-compile-remove(video-background-effects) */
|
26511
|
-
|
26513
|
+
onClickVideoEffects: onResolveVideoEffectDependency ? openVideoEffectsPane : undefined,
|
26512
26514
|
/* @conditional-compile-remove(PSTN-calls) */
|
26513
26515
|
onClickShowDialpad: alternateCallerId ? onClickShowDialpad : undefined, displayVertical: verticalControlBar,
|
26514
26516
|
/* @conditional-compile-remove(gallery-layouts) */
|
@@ -27456,7 +27458,7 @@ const LocalDeviceSettings = (props) => {
|
|
27456
27458
|
React__default['default'].createElement(react.Stack, { horizontal: true, horizontalAlign: "space-between", styles: cameraAndVideoEffectsContainerStyleDesktop },
|
27457
27459
|
React__default['default'].createElement(react.Label, { id: 'call-composite-local-camera-settings-label', className: react.mergeStyles(dropDownStyles(theme).label), disabled: !cameraPermissionGranted }, cameraLabel),
|
27458
27460
|
/* @conditional-compile-remove(video-background-effects) */
|
27459
|
-
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))),
|
27460
27462
|
React__default['default'].createElement(ConfigurationPageCameraDropdown, { cameraGrantedDropdown: cameraGrantedDropdown, cameraPermissionGranted: cameraPermissionGranted !== null && cameraPermissionGranted !== void 0 ? cameraPermissionGranted : false,
|
27461
27463
|
/* @conditional-compile-remove(call-readiness) */
|
27462
27464
|
dropdownProps: dropdownProps,
|
@@ -28050,7 +28052,7 @@ const ConfigurationPage = (props) => {
|
|
28050
28052
|
setIsPermissionsModalDismissed(true);
|
28051
28053
|
},
|
28052
28054
|
/* @conditional-compile-remove(video-background-effects) */
|
28053
|
-
|
28055
|
+
onClickVideoEffects: toggleVideoEffectsPane })))),
|
28054
28056
|
React__default['default'].createElement(react.Stack, { styles: mobileWithPreview ? startCallButtonContainerStyleMobile : startCallButtonContainerStyleDesktop },
|
28055
28057
|
React__default['default'].createElement(StartCallButton, { className: mobileWithPreview ? startCallButtonStyleMobile : undefined, onClick: startCall, disabled: disableStartCallButton })))),
|
28056
28058
|
React__default['default'].createElement(react.Panel
|
@@ -31960,7 +31962,7 @@ var __awaiter$1 = (window && window.__awaiter) || function (thisArg, _arguments,
|
|
31960
31962
|
/**
|
31961
31963
|
*
|
31962
31964
|
* Dependency resolution for video background effects using lazy loading.
|
31963
|
-
* @
|
31965
|
+
* @public
|
31964
31966
|
*/
|
31965
31967
|
const onResolveVideoEffectDependencyLazy = () => __awaiter$1(void 0, void 0, void 0, function* () {
|
31966
31968
|
const module = yield Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@azure/communication-calling-effects')); });
|
@@ -31990,7 +31992,7 @@ var __awaiter = (window && window.__awaiter) || function (thisArg, _arguments, P
|
|
31990
31992
|
/**
|
31991
31993
|
* Dependency resolution for video background effects.
|
31992
31994
|
*
|
31993
|
-
* @
|
31995
|
+
* @public
|
31994
31996
|
*/
|
31995
31997
|
const onResolveVideoEffectDependency = () => __awaiter(void 0, void 0, void 0, function* () {
|
31996
31998
|
const createBackgroundBlurEffect = (config) => {
|