@azure/communication-react 1.4.3-alpha-202212170012.0 → 1.4.3-alpha-202212200014.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/communication-react.d.ts +170 -249
- package/dist/dist-cjs/communication-react/index.js +400 -268
- 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/hooks/usePropsFor.d.ts +1 -2
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -7
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +2 -4
- package/dist/dist-esm/communication-react/src/index.js +1 -3
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissions.js → SitePermissions.js} +25 -25
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissionsScaffolding.d.ts → SitePermissionsScaffolding.d.ts} +12 -12
- package/dist/dist-esm/react-components/src/components/DevicePermissions/{DomainPermissionsScaffolding.js → SitePermissionsScaffolding.js} +3 -3
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +3 -0
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +8 -3
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +22 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +12 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +31 -5
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/index.js +1 -1
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/{DomainPermissions.styles.d.ts → SitePermissions.styles.d.ts} +1 -1
- package/dist/dist-esm/react-components/src/components/styles/{DomainPermissions.styles.js → SitePermissions.styles.js} +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +25 -25
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +15 -13
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +7 -5
- package/dist/dist-esm/react-components/src/theming/icons.js +22 -18
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +7 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +6 -2
- 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 +0 -26
- 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 +0 -2
- 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 +15 -14
- 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/CallReadinessModal.js +12 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageCameraDropdown.js → ConfigurationPageCameraDropdown.js} +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.d.ts → ConfigurationPageErrorBar.d.ts} +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.js → ConfigurationPageErrorBar.js} +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.js.map → ConfigurationPageErrorBar.js.map} +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +17 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageMicDropdown.js → ConfigurationPageMicDropdown.js} +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +6 -6
- 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/Microphone.js +1 -1
- 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 +1 -2
- 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.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +8 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +3 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +2 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +45 -25
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +18 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +26 -8
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +40 -0
- package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +7 -5
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
- package/package.json +8 -8
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.d.ts +0 -105
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js.map +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.d.ts +0 -17
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js.map +0 -1
@@ -52,8 +52,6 @@ import { IContextualMenuItem } from '@fluentui/react';
|
|
52
52
|
import { IContextualMenuItemStyles } from '@fluentui/react';
|
53
53
|
import { IContextualMenuProps } from '@fluentui/react';
|
54
54
|
import { IContextualMenuStyles } from '@fluentui/react';
|
55
|
-
import { IDropdownOption } from '@fluentui/react';
|
56
|
-
import { IDropdownStyles } from '@fluentui/react';
|
57
55
|
import { ILinkStyles } from '@fluentui/react';
|
58
56
|
import { IMessageBarProps } from '@fluentui/react';
|
59
57
|
import { IncomingCall } from '@azure/communication-calling';
|
@@ -291,10 +289,6 @@ export declare type AzureCommunicationCallAdapterOptions = {
|
|
291
289
|
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
292
290
|
*/
|
293
291
|
roleHint?: Role;
|
294
|
-
/**
|
295
|
-
* Optional feature flags to be enabled in the CallAdapter.
|
296
|
-
*/
|
297
|
-
features?: CallAdapterOptionalFeatures;
|
298
292
|
};
|
299
293
|
|
300
294
|
/**
|
@@ -739,10 +733,6 @@ export declare type CallAdapterClientState = {
|
|
739
733
|
* Environment information about system the adapter is made on
|
740
734
|
*/
|
741
735
|
environmentInfo?: EnvironmentInfo;
|
742
|
-
/**
|
743
|
-
* Optional features that are to be enabled through the adapter.
|
744
|
-
*/
|
745
|
-
features?: CallAdapterOptionalFeatures;
|
746
736
|
/**
|
747
737
|
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
748
738
|
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
@@ -835,18 +825,6 @@ export declare interface CallAdapterDeviceManagement {
|
|
835
825
|
*/
|
836
826
|
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
837
827
|
|
838
|
-
/**
|
839
|
-
* options object to enable opt in features for the CallAdapter
|
840
|
-
*
|
841
|
-
* @beta
|
842
|
-
*/
|
843
|
-
export declare type CallAdapterOptionalFeatures = {
|
844
|
-
/**
|
845
|
-
* Feature flag for enabling the unsupported environment logic in the CallAdapter.
|
846
|
-
*/
|
847
|
-
unsupportedEnvironment?: boolean | UnsupportedEnvironmentFeatures;
|
848
|
-
};
|
849
|
-
|
850
828
|
/**
|
851
829
|
* {@link CommonCallAdapter} state.
|
852
830
|
*
|
@@ -1209,10 +1187,11 @@ export declare type CallCompositeOptions = {
|
|
1209
1187
|
*/
|
1210
1188
|
callControls?: boolean | CallControlOptions;
|
1211
1189
|
/**
|
1212
|
-
* Device
|
1213
|
-
*
|
1190
|
+
* Device permissions check options for your call.
|
1191
|
+
* Here you can choose what device permissions you prompt the user for,
|
1192
|
+
* as well as what device permissions must be accepted before starting a call.
|
1214
1193
|
*/
|
1215
|
-
|
1194
|
+
deviceChecks?: DeviceCheckOptions;
|
1216
1195
|
/**
|
1217
1196
|
* Opt in call readiness feature for your call
|
1218
1197
|
* Setting this to `true` will add call readiness features to the call experience
|
@@ -2499,10 +2478,11 @@ export declare type CallWithChatCompositeOptions = {
|
|
2499
2478
|
*/
|
2500
2479
|
fileSharing?: FileSharingOptions;
|
2501
2480
|
/**
|
2502
|
-
* Device
|
2503
|
-
*
|
2481
|
+
* Device permissions check options for your call.
|
2482
|
+
* Here you can choose what device permissions you prompt the user for,
|
2483
|
+
* as well as what device permissions must be accepted before starting a call.
|
2504
2484
|
*/
|
2505
|
-
|
2485
|
+
deviceChecks?: DeviceCheckOptions;
|
2506
2486
|
/**
|
2507
2487
|
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
2508
2488
|
* unable to grant your site the required permissions for the call.
|
@@ -2534,6 +2514,19 @@ export declare type CallWithChatCompositeOptions = {
|
|
2534
2514
|
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
2535
2515
|
*/
|
2536
2516
|
onNetworkingTroubleShootingClick?: () => void;
|
2517
|
+
/**
|
2518
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
2519
|
+
*
|
2520
|
+
* @example
|
2521
|
+
* ```ts
|
2522
|
+
* onBrowserTroubleShootingClick?: () =>
|
2523
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
2524
|
+
* ```
|
2525
|
+
*
|
2526
|
+
* @remarks
|
2527
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
2528
|
+
*/
|
2529
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2537
2530
|
/**
|
2538
2531
|
* Opt in call readiness feature for your call
|
2539
2532
|
* setting this to True will add call readiness feature in call experience
|
@@ -2801,28 +2794,28 @@ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded'
|
|
2801
2794
|
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2802
2795
|
* by their browsers settings.
|
2803
2796
|
*/
|
2804
|
-
export declare const
|
2797
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
2805
2798
|
|
2806
2799
|
/**
|
2807
2800
|
* @beta
|
2808
|
-
* Props for
|
2801
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
2809
2802
|
*/
|
2810
|
-
export declare interface
|
2803
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
2811
2804
|
/** Icon name for the camera icon */
|
2812
2805
|
cameraIconName?: string;
|
2813
2806
|
/** Icon name for the microphone icon */
|
2814
2807
|
microphoneIconName?: string;
|
2815
2808
|
/** Icon name for the central icon between the camera and microphone icons */
|
2816
2809
|
connectorIconName?: string;
|
2817
|
-
/** Strings for use with the {@link
|
2818
|
-
strings?:
|
2810
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
2811
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
2819
2812
|
}
|
2820
2813
|
|
2821
2814
|
/**
|
2822
2815
|
* @beta
|
2823
|
-
* Strings for
|
2816
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
2824
2817
|
*/
|
2825
|
-
export declare type
|
2818
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2826
2819
|
|
2827
2820
|
/**
|
2828
2821
|
* A button to turn camera on / off.
|
@@ -2966,24 +2959,24 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2966
2959
|
*
|
2967
2960
|
* @beta
|
2968
2961
|
*/
|
2969
|
-
export declare const
|
2962
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
2970
2963
|
|
2971
2964
|
/**
|
2972
2965
|
* @beta
|
2973
|
-
* Props for
|
2966
|
+
* Props for CameraSitePermissions component.
|
2974
2967
|
*/
|
2975
|
-
export declare interface
|
2968
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
2976
2969
|
/** Icon name for the camera icon */
|
2977
2970
|
cameraIconName?: string;
|
2978
|
-
/** Strings for use with the {@link
|
2979
|
-
strings?:
|
2971
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
2972
|
+
strings?: CameraSitePermissionsStrings;
|
2980
2973
|
}
|
2981
2974
|
|
2982
2975
|
/**
|
2983
2976
|
* @beta
|
2984
|
-
* Strings for
|
2977
|
+
* Strings for CameraSitePermissions component.
|
2985
2978
|
*/
|
2986
|
-
export declare type
|
2979
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
2987
2980
|
|
2988
2981
|
/**
|
2989
2982
|
* {@link ChatComposite} Adapter interface.
|
@@ -3606,21 +3599,30 @@ export declare interface CommonCallingHandlers {
|
|
3606
3599
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
3607
3600
|
}
|
3608
3601
|
|
3602
|
+
/**
|
3603
|
+
* Return intersect properties of 2 types
|
3604
|
+
*
|
3605
|
+
* @public
|
3606
|
+
*/
|
3607
|
+
export declare type CommonProperties<A, B> = {
|
3608
|
+
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3609
|
+
}[keyof A & keyof B];
|
3610
|
+
|
3609
3611
|
/**
|
3610
3612
|
* @beta
|
3611
|
-
* Props for
|
3613
|
+
* Props for SitePermissions components.
|
3612
3614
|
*/
|
3613
|
-
export declare interface
|
3615
|
+
export declare interface CommonSitePermissionsProps {
|
3614
3616
|
/**
|
3615
3617
|
* Name of application calling experience is in.
|
3616
3618
|
*/
|
3617
3619
|
appName: string;
|
3618
3620
|
/**
|
3619
|
-
* Type of the
|
3621
|
+
* Type of the Site Permissions component.
|
3620
3622
|
*/
|
3621
3623
|
type: 'request' | 'denied' | 'check';
|
3622
3624
|
/**
|
3623
|
-
* Type of the browser used, the
|
3625
|
+
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
3624
3626
|
*/
|
3625
3627
|
browserHint?: 'safari' | 'unset';
|
3626
3628
|
/**
|
@@ -3634,20 +3636,11 @@ export declare interface CommonDomainPermissionsProps {
|
|
3634
3636
|
*/
|
3635
3637
|
onContinueAnywayClick?: () => void;
|
3636
3638
|
/**
|
3637
|
-
* Styles for
|
3639
|
+
* Styles for SitePermissions component.
|
3638
3640
|
*/
|
3639
|
-
styles?:
|
3641
|
+
styles?: SitePermissionsStyles;
|
3640
3642
|
}
|
3641
3643
|
|
3642
|
-
/**
|
3643
|
-
* Return intersect properties of 2 types
|
3644
|
-
*
|
3645
|
-
* @public
|
3646
|
-
*/
|
3647
|
-
export declare type CommonProperties<A, B> = {
|
3648
|
-
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3649
|
-
}[keyof A & keyof B];
|
3650
|
-
|
3651
3644
|
/**
|
3652
3645
|
* A Chat or Calling participant's state, as reflected in the UI.
|
3653
3646
|
*
|
@@ -3827,30 +3820,30 @@ export declare interface ComponentStrings {
|
|
3827
3820
|
videoTile: VideoTileStrings;
|
3828
3821
|
/** Strings for HoldButton */
|
3829
3822
|
holdButton: HoldButtonStrings;
|
3830
|
-
/** Strings for a
|
3831
|
-
|
3832
|
-
/** Strings for a
|
3833
|
-
|
3834
|
-
/** Strings for a
|
3835
|
-
|
3836
|
-
/** Strings for a
|
3837
|
-
|
3838
|
-
/** Strings for a
|
3839
|
-
|
3840
|
-
/** Strings for a
|
3841
|
-
|
3842
|
-
/** Strings for a
|
3843
|
-
|
3844
|
-
/** Strings for a
|
3845
|
-
|
3846
|
-
/** Strings for a
|
3847
|
-
|
3848
|
-
/** Strings for a
|
3849
|
-
|
3850
|
-
/** Strings for a
|
3851
|
-
|
3852
|
-
/** Strings for a
|
3853
|
-
|
3823
|
+
/** Strings for a site's permission request prompt */
|
3824
|
+
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
3825
|
+
/** Strings for a site's permission request prompt */
|
3826
|
+
CameraSitePermissionsRequest: SitePermissionsStrings;
|
3827
|
+
/** Strings for a site's permission request prompt */
|
3828
|
+
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
3829
|
+
/** Strings for a site's permission generic checking prompt */
|
3830
|
+
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
3831
|
+
/** Strings for a site's permission generic checking prompt */
|
3832
|
+
CameraSitePermissionsCheck: SitePermissionsStrings;
|
3833
|
+
/** Strings for a site's permission generic checking prompt */
|
3834
|
+
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
3835
|
+
/** Strings for a site's permission denied prompt */
|
3836
|
+
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
3837
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
3838
|
+
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
3839
|
+
/** Strings for a site's permission denied prompt */
|
3840
|
+
CameraSitePermissionsDenied: SitePermissionsStrings;
|
3841
|
+
/** Strings for a site's permission denied prompt */
|
3842
|
+
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
3843
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
3844
|
+
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
3845
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
3846
|
+
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
3854
3847
|
/** Strings for unsupported browser UI */
|
3855
3848
|
UnsupportedBrowser: UnsupportedBrowserStrings;
|
3856
3849
|
/** Strings for unsupported browser version UI */
|
@@ -4588,17 +4581,19 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4588
4581
|
SendBoxSendHovered: JSX.Element;
|
4589
4582
|
VideoTileMicOff: JSX.Element;
|
4590
4583
|
DialpadBackspace: JSX.Element;
|
4591
|
-
|
4592
|
-
|
4593
|
-
|
4594
|
-
|
4595
|
-
|
4584
|
+
SitePermissionsSparkle: JSX.Element;
|
4585
|
+
SitePermissionCamera: JSX.Element;
|
4586
|
+
SitePermissionMic: JSX.Element;
|
4587
|
+
SitePermissionCameraDenied: JSX.Element;
|
4588
|
+
SitePermissionMicDenied: JSX.Element;
|
4596
4589
|
UnsupportedEnvironmentWarning: JSX.Element;
|
4597
4590
|
BrowserPermissionDeniedError: JSX.Element;
|
4598
4591
|
VideoTilePinned: JSX.Element;
|
4599
4592
|
VideoTileMoreOptions: JSX.Element;
|
4600
4593
|
VideoTileScaleFit: JSX.Element;
|
4601
4594
|
VideoTileScaleFill: JSX.Element;
|
4595
|
+
PinParticipant: JSX.Element;
|
4596
|
+
UnpinParticipant: JSX.Element;
|
4602
4597
|
};
|
4603
4598
|
|
4604
4599
|
/**
|
@@ -4687,19 +4682,44 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4687
4682
|
HoldCallButton: JSX.Element;
|
4688
4683
|
ResumeCall: JSX.Element;
|
4689
4684
|
DialpadBackspace: JSX.Element;
|
4690
|
-
|
4691
|
-
|
4692
|
-
|
4693
|
-
|
4694
|
-
|
4685
|
+
SitePermissionsSparkle: JSX.Element;
|
4686
|
+
SitePermissionCamera: JSX.Element;
|
4687
|
+
SitePermissionMic: JSX.Element;
|
4688
|
+
SitePermissionCameraDenied: JSX.Element;
|
4689
|
+
SitePermissionMicDenied: JSX.Element;
|
4695
4690
|
UnsupportedEnvironmentWarning: JSX.Element;
|
4696
4691
|
BrowserPermissionDeniedError: JSX.Element;
|
4697
4692
|
VideoTilePinned: JSX.Element;
|
4698
4693
|
VideoTileMoreOptions: JSX.Element;
|
4699
4694
|
VideoTileScaleFit: JSX.Element;
|
4700
4695
|
VideoTileScaleFill: JSX.Element;
|
4696
|
+
PinParticipant: JSX.Element;
|
4697
|
+
UnpinParticipant: JSX.Element;
|
4701
4698
|
};
|
4702
4699
|
|
4700
|
+
/**
|
4701
|
+
* Device Checks.
|
4702
|
+
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
4703
|
+
*
|
4704
|
+
* @beta
|
4705
|
+
*/
|
4706
|
+
export declare interface DeviceCheckOptions {
|
4707
|
+
/**
|
4708
|
+
* Camera Permission prompts for your call.
|
4709
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4710
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4711
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4712
|
+
*/
|
4713
|
+
camera: 'required' | 'optional' | 'doNotPrompt';
|
4714
|
+
/**
|
4715
|
+
* Microphone permission prompts for your call.
|
4716
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4717
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4718
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4719
|
+
*/
|
4720
|
+
microphone: 'required' | 'optional' | 'doNotPrompt';
|
4721
|
+
}
|
4722
|
+
|
4703
4723
|
/**
|
4704
4724
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
4705
4725
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -4755,95 +4775,6 @@ export declare type DeviceManagerState = {
|
|
4755
4775
|
unparentedViews: LocalVideoStreamState[];
|
4756
4776
|
};
|
4757
4777
|
|
4758
|
-
/**
|
4759
|
-
* A dropdown to trigger device permission prompt
|
4760
|
-
*
|
4761
|
-
* @internal
|
4762
|
-
*/
|
4763
|
-
export declare const _DevicePermissionDropdown: (props: _DevicePermissionDropdownProps) => JSX.Element;
|
4764
|
-
|
4765
|
-
/**
|
4766
|
-
* Props for {@link _DevicePermissionDropdown}.
|
4767
|
-
*
|
4768
|
-
* @internal
|
4769
|
-
*/
|
4770
|
-
export declare interface _DevicePermissionDropdownProps {
|
4771
|
-
/**
|
4772
|
-
* icon shown in dropdown placeholder
|
4773
|
-
*/
|
4774
|
-
icon?: JSX.Element;
|
4775
|
-
/**
|
4776
|
-
* Dropdown content
|
4777
|
-
*/
|
4778
|
-
options?: IDropdownOption[];
|
4779
|
-
/**
|
4780
|
-
* Ask for permissions of devices.
|
4781
|
-
*
|
4782
|
-
* @remarks
|
4783
|
-
* Browser permission window will pop up if permissions are not granted yet
|
4784
|
-
*
|
4785
|
-
* @param constrain - Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4786
|
-
*/
|
4787
|
-
askDevicePermission?(constrain: _PermissionConstraints): Promise<void>;
|
4788
|
-
/**
|
4789
|
-
* Optional callback when component is clicked
|
4790
|
-
*/
|
4791
|
-
onClick?: () => void;
|
4792
|
-
/**
|
4793
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4794
|
-
*/
|
4795
|
-
constrain?: _PermissionConstraints;
|
4796
|
-
/**
|
4797
|
-
* Strings for devicepermissiondropdown
|
4798
|
-
*/
|
4799
|
-
strings?: _DevicePermissionDropdownStrings;
|
4800
|
-
/**
|
4801
|
-
* Styles for devicepermissiondropdown
|
4802
|
-
*/
|
4803
|
-
styles?: Partial<IDropdownStyles>;
|
4804
|
-
}
|
4805
|
-
|
4806
|
-
/**
|
4807
|
-
* Strings of {@link DevicePermissionDropdown} that can be overridden.
|
4808
|
-
*
|
4809
|
-
* @internal
|
4810
|
-
*/
|
4811
|
-
export declare interface _DevicePermissionDropdownStrings {
|
4812
|
-
/**
|
4813
|
-
* dropdown label
|
4814
|
-
*/
|
4815
|
-
label?: string;
|
4816
|
-
/**
|
4817
|
-
* dropdown placeholder
|
4818
|
-
*/
|
4819
|
-
placeHolderText: string;
|
4820
|
-
/** string for action button */
|
4821
|
-
actionButtonContent?: string;
|
4822
|
-
}
|
4823
|
-
|
4824
|
-
/**
|
4825
|
-
* Device Permission restrictions.
|
4826
|
-
* Be able to start a call depending on camera and microphone permission options.
|
4827
|
-
*
|
4828
|
-
* @beta
|
4829
|
-
*/
|
4830
|
-
export declare interface DevicePermissionRestrictions {
|
4831
|
-
/**
|
4832
|
-
* Camera Permission prompts for your call.
|
4833
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4834
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4835
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4836
|
-
*/
|
4837
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
4838
|
-
/**
|
4839
|
-
* Microphone permission prompts for your call.
|
4840
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4841
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4842
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4843
|
-
*/
|
4844
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
4845
|
-
}
|
4846
|
-
|
4847
4778
|
/**
|
4848
4779
|
* A button to open a menu that controls device options.
|
4849
4780
|
*
|
@@ -5081,45 +5012,6 @@ export declare interface Disposable {
|
|
5081
5012
|
dispose(): void;
|
5082
5013
|
}
|
5083
5014
|
|
5084
|
-
/**
|
5085
|
-
* @beta
|
5086
|
-
* Strings for DomainPermissions component
|
5087
|
-
*/
|
5088
|
-
export declare type DomainPermissionsStrings = {
|
5089
|
-
/**
|
5090
|
-
* Main text string.
|
5091
|
-
*/
|
5092
|
-
primaryText?: string;
|
5093
|
-
/**
|
5094
|
-
* Subtext string.
|
5095
|
-
*/
|
5096
|
-
secondaryText?: string;
|
5097
|
-
/**
|
5098
|
-
* More help link string.
|
5099
|
-
*/
|
5100
|
-
linkText?: string;
|
5101
|
-
/**
|
5102
|
-
* Primary button text string.
|
5103
|
-
*/
|
5104
|
-
primaryButtonText?: string;
|
5105
|
-
/**
|
5106
|
-
* Aria label describing the content of the container
|
5107
|
-
*/
|
5108
|
-
ariaLabel?: string;
|
5109
|
-
};
|
5110
|
-
|
5111
|
-
/**
|
5112
|
-
* Fluent styles for {@link DomainPermissionsContainer}.
|
5113
|
-
*
|
5114
|
-
* @beta
|
5115
|
-
*/
|
5116
|
-
export declare interface DomainPermissionsStyles extends BaseCustomStyles {
|
5117
|
-
/** Styles for the primary button. */
|
5118
|
-
primaryButton?: IButtonStyles;
|
5119
|
-
/** Styles for the help troubleshooting link text. */
|
5120
|
-
troubleshootingLink?: ILinkStyles;
|
5121
|
-
}
|
5122
|
-
|
5123
5015
|
/**
|
5124
5016
|
* DTMF tone for PSTN calls.
|
5125
5017
|
*
|
@@ -5600,7 +5492,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5600
5492
|
*
|
5601
5493
|
* @public
|
5602
5494
|
*/
|
5603
|
-
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector :
|
5495
|
+
export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
|
5604
5496
|
|
5605
5497
|
/**
|
5606
5498
|
* Get the selector for a specified component.
|
@@ -6592,24 +6484,24 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6592
6484
|
*
|
6593
6485
|
* @beta
|
6594
6486
|
*/
|
6595
|
-
export declare const
|
6487
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
6596
6488
|
|
6597
6489
|
/**
|
6598
6490
|
* @beta
|
6599
|
-
* Props for
|
6491
|
+
* Props for MicrophoneSitePermissions component.
|
6600
6492
|
*/
|
6601
|
-
export declare interface
|
6493
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
6602
6494
|
/** Icon name for the microphone icon */
|
6603
6495
|
microphoneIconName?: string;
|
6604
|
-
/** Strings for use with the {@link
|
6605
|
-
strings?:
|
6496
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
6497
|
+
strings?: MicrophoneSitePermissionsStrings;
|
6606
6498
|
}
|
6607
6499
|
|
6608
6500
|
/**
|
6609
6501
|
* @beta
|
6610
|
-
* Strings for
|
6502
|
+
* Strings for MicrophoneSitePermissions component.
|
6611
6503
|
*/
|
6612
|
-
export declare type
|
6504
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
6613
6505
|
|
6614
6506
|
/**
|
6615
6507
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
@@ -7059,16 +6951,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
7059
6951
|
*/
|
7060
6952
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
7061
6953
|
|
7062
|
-
/**
|
7063
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
7064
|
-
*
|
7065
|
-
* @internal
|
7066
|
-
*/
|
7067
|
-
export declare type _PermissionConstraints = {
|
7068
|
-
audio: boolean;
|
7069
|
-
video: boolean;
|
7070
|
-
};
|
7071
|
-
|
7072
6954
|
/**
|
7073
6955
|
* An array of key value pairs that stores each sender's display name and last read message
|
7074
6956
|
*
|
@@ -7398,6 +7280,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7398
7280
|
systemMessage?: IStyle;
|
7399
7281
|
}
|
7400
7282
|
|
7283
|
+
/**
|
7284
|
+
* @beta
|
7285
|
+
* Strings for SitePermissions component
|
7286
|
+
*/
|
7287
|
+
export declare type SitePermissionsStrings = {
|
7288
|
+
/**
|
7289
|
+
* Main text string.
|
7290
|
+
*/
|
7291
|
+
primaryText?: string;
|
7292
|
+
/**
|
7293
|
+
* Subtext string.
|
7294
|
+
*/
|
7295
|
+
secondaryText?: string;
|
7296
|
+
/**
|
7297
|
+
* More help link string.
|
7298
|
+
*/
|
7299
|
+
linkText?: string;
|
7300
|
+
/**
|
7301
|
+
* Primary button text string.
|
7302
|
+
*/
|
7303
|
+
primaryButtonText?: string;
|
7304
|
+
/**
|
7305
|
+
* Aria label describing the content of the container
|
7306
|
+
*/
|
7307
|
+
ariaLabel?: string;
|
7308
|
+
};
|
7309
|
+
|
7310
|
+
/**
|
7311
|
+
* Fluent styles for {@link SitePermissionsContainer}.
|
7312
|
+
*
|
7313
|
+
* @beta
|
7314
|
+
*/
|
7315
|
+
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
7316
|
+
/** Styles for the primary button. */
|
7317
|
+
primaryButton?: IButtonStyles;
|
7318
|
+
/** Styles for the help troubleshooting link text. */
|
7319
|
+
troubleshootingLink?: ILinkStyles;
|
7320
|
+
}
|
7321
|
+
|
7401
7322
|
/**
|
7402
7323
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
7403
7324
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -7970,18 +7891,6 @@ export declare interface UnsupportedBrowserVersionStrings {
|
|
7970
7891
|
continueAnywayButtonText?: string;
|
7971
7892
|
}
|
7972
7893
|
|
7973
|
-
/**
|
7974
|
-
* Feature options for unsupported browser functionality
|
7975
|
-
*
|
7976
|
-
* @beta
|
7977
|
-
*/
|
7978
|
-
export declare type UnsupportedEnvironmentFeatures = {
|
7979
|
-
/**
|
7980
|
-
* Will allow the end user to choose to enter a call with a unsupported browser version.
|
7981
|
-
*/
|
7982
|
-
unsupportedBrowserVersionAllowed?: boolean;
|
7983
|
-
};
|
7984
|
-
|
7985
7894
|
/**
|
7986
7895
|
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
7987
7896
|
*
|
@@ -8322,6 +8231,14 @@ export declare interface VideoGalleryProps {
|
|
8322
8231
|
* @defaultValue `true`
|
8323
8232
|
*/
|
8324
8233
|
showRemoteVideoTileContextualMenu?: boolean;
|
8234
|
+
/**
|
8235
|
+
* This callback will be called when a participant video tile is pinned
|
8236
|
+
*/
|
8237
|
+
onPinParticipant?: (userId: string) => void;
|
8238
|
+
/**
|
8239
|
+
* This callback will be called when a participant video tile is un-pinned
|
8240
|
+
*/
|
8241
|
+
onUnpinParticipant?: (userId: string) => void;
|
8325
8242
|
}
|
8326
8243
|
|
8327
8244
|
/**
|
@@ -8397,6 +8314,10 @@ export declare interface VideoGalleryStrings {
|
|
8397
8314
|
fitRemoteParticipantToFrame: string;
|
8398
8315
|
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
|
8399
8316
|
fillRemoteParticipantFrame: string;
|
8317
|
+
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
8318
|
+
pinParticipantForMe: string;
|
8319
|
+
/** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
|
8320
|
+
unpinParticipantForMe: string;
|
8400
8321
|
}
|
8401
8322
|
|
8402
8323
|
/**
|