@azure/communication-react 1.4.3-alpha-202212180014.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 +154 -217
- package/dist/dist-cjs/communication-react/index.js +170 -111
- 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/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 +12 -12
- 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 +5 -5
- package/dist/dist-esm/react-components/src/theming/icons.js +16 -16
- 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/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 -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.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/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/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/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 +5 -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';
|
@@ -1189,10 +1187,11 @@ export declare type CallCompositeOptions = {
|
|
1189
1187
|
*/
|
1190
1188
|
callControls?: boolean | CallControlOptions;
|
1191
1189
|
/**
|
1192
|
-
* Device
|
1193
|
-
*
|
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.
|
1194
1193
|
*/
|
1195
|
-
|
1194
|
+
deviceChecks?: DeviceCheckOptions;
|
1196
1195
|
/**
|
1197
1196
|
* Opt in call readiness feature for your call
|
1198
1197
|
* Setting this to `true` will add call readiness features to the call experience
|
@@ -2479,10 +2478,11 @@ export declare type CallWithChatCompositeOptions = {
|
|
2479
2478
|
*/
|
2480
2479
|
fileSharing?: FileSharingOptions;
|
2481
2480
|
/**
|
2482
|
-
* Device
|
2483
|
-
*
|
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.
|
2484
2484
|
*/
|
2485
|
-
|
2485
|
+
deviceChecks?: DeviceCheckOptions;
|
2486
2486
|
/**
|
2487
2487
|
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
2488
2488
|
* unable to grant your site the required permissions for the call.
|
@@ -2514,6 +2514,19 @@ export declare type CallWithChatCompositeOptions = {
|
|
2514
2514
|
* if this is not supplied, the composite will not show a 'network troubleshooting' link.
|
2515
2515
|
*/
|
2516
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;
|
2517
2530
|
/**
|
2518
2531
|
* Opt in call readiness feature for your call
|
2519
2532
|
* setting this to True will add call readiness feature in call experience
|
@@ -2781,28 +2794,28 @@ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded'
|
|
2781
2794
|
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2782
2795
|
* by their browsers settings.
|
2783
2796
|
*/
|
2784
|
-
export declare const
|
2797
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
2785
2798
|
|
2786
2799
|
/**
|
2787
2800
|
* @beta
|
2788
|
-
* Props for
|
2801
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
2789
2802
|
*/
|
2790
|
-
export declare interface
|
2803
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
2791
2804
|
/** Icon name for the camera icon */
|
2792
2805
|
cameraIconName?: string;
|
2793
2806
|
/** Icon name for the microphone icon */
|
2794
2807
|
microphoneIconName?: string;
|
2795
2808
|
/** Icon name for the central icon between the camera and microphone icons */
|
2796
2809
|
connectorIconName?: string;
|
2797
|
-
/** Strings for use with the {@link
|
2798
|
-
strings?:
|
2810
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
2811
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
2799
2812
|
}
|
2800
2813
|
|
2801
2814
|
/**
|
2802
2815
|
* @beta
|
2803
|
-
* Strings for
|
2816
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
2804
2817
|
*/
|
2805
|
-
export declare type
|
2818
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2806
2819
|
|
2807
2820
|
/**
|
2808
2821
|
* A button to turn camera on / off.
|
@@ -2946,24 +2959,24 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2946
2959
|
*
|
2947
2960
|
* @beta
|
2948
2961
|
*/
|
2949
|
-
export declare const
|
2962
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
2950
2963
|
|
2951
2964
|
/**
|
2952
2965
|
* @beta
|
2953
|
-
* Props for
|
2966
|
+
* Props for CameraSitePermissions component.
|
2954
2967
|
*/
|
2955
|
-
export declare interface
|
2968
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
2956
2969
|
/** Icon name for the camera icon */
|
2957
2970
|
cameraIconName?: string;
|
2958
|
-
/** Strings for use with the {@link
|
2959
|
-
strings?:
|
2971
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
2972
|
+
strings?: CameraSitePermissionsStrings;
|
2960
2973
|
}
|
2961
2974
|
|
2962
2975
|
/**
|
2963
2976
|
* @beta
|
2964
|
-
* Strings for
|
2977
|
+
* Strings for CameraSitePermissions component.
|
2965
2978
|
*/
|
2966
|
-
export declare type
|
2979
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
2967
2980
|
|
2968
2981
|
/**
|
2969
2982
|
* {@link ChatComposite} Adapter interface.
|
@@ -3586,21 +3599,30 @@ export declare interface CommonCallingHandlers {
|
|
3586
3599
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
3587
3600
|
}
|
3588
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
|
+
|
3589
3611
|
/**
|
3590
3612
|
* @beta
|
3591
|
-
* Props for
|
3613
|
+
* Props for SitePermissions components.
|
3592
3614
|
*/
|
3593
|
-
export declare interface
|
3615
|
+
export declare interface CommonSitePermissionsProps {
|
3594
3616
|
/**
|
3595
3617
|
* Name of application calling experience is in.
|
3596
3618
|
*/
|
3597
3619
|
appName: string;
|
3598
3620
|
/**
|
3599
|
-
* Type of the
|
3621
|
+
* Type of the Site Permissions component.
|
3600
3622
|
*/
|
3601
3623
|
type: 'request' | 'denied' | 'check';
|
3602
3624
|
/**
|
3603
|
-
* 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
|
3604
3626
|
*/
|
3605
3627
|
browserHint?: 'safari' | 'unset';
|
3606
3628
|
/**
|
@@ -3614,20 +3636,11 @@ export declare interface CommonDomainPermissionsProps {
|
|
3614
3636
|
*/
|
3615
3637
|
onContinueAnywayClick?: () => void;
|
3616
3638
|
/**
|
3617
|
-
* Styles for
|
3639
|
+
* Styles for SitePermissions component.
|
3618
3640
|
*/
|
3619
|
-
styles?:
|
3641
|
+
styles?: SitePermissionsStyles;
|
3620
3642
|
}
|
3621
3643
|
|
3622
|
-
/**
|
3623
|
-
* Return intersect properties of 2 types
|
3624
|
-
*
|
3625
|
-
* @public
|
3626
|
-
*/
|
3627
|
-
export declare type CommonProperties<A, B> = {
|
3628
|
-
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3629
|
-
}[keyof A & keyof B];
|
3630
|
-
|
3631
3644
|
/**
|
3632
3645
|
* A Chat or Calling participant's state, as reflected in the UI.
|
3633
3646
|
*
|
@@ -3807,30 +3820,30 @@ export declare interface ComponentStrings {
|
|
3807
3820
|
videoTile: VideoTileStrings;
|
3808
3821
|
/** Strings for HoldButton */
|
3809
3822
|
holdButton: HoldButtonStrings;
|
3810
|
-
/** Strings for a
|
3811
|
-
|
3812
|
-
/** Strings for a
|
3813
|
-
|
3814
|
-
/** Strings for a
|
3815
|
-
|
3816
|
-
/** Strings for a
|
3817
|
-
|
3818
|
-
/** Strings for a
|
3819
|
-
|
3820
|
-
/** Strings for a
|
3821
|
-
|
3822
|
-
/** Strings for a
|
3823
|
-
|
3824
|
-
/** Strings for a
|
3825
|
-
|
3826
|
-
/** Strings for a
|
3827
|
-
|
3828
|
-
/** Strings for a
|
3829
|
-
|
3830
|
-
/** Strings for a
|
3831
|
-
|
3832
|
-
/** Strings for a
|
3833
|
-
|
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;
|
3834
3847
|
/** Strings for unsupported browser UI */
|
3835
3848
|
UnsupportedBrowser: UnsupportedBrowserStrings;
|
3836
3849
|
/** Strings for unsupported browser version UI */
|
@@ -4568,11 +4581,11 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4568
4581
|
SendBoxSendHovered: JSX.Element;
|
4569
4582
|
VideoTileMicOff: JSX.Element;
|
4570
4583
|
DialpadBackspace: JSX.Element;
|
4571
|
-
|
4572
|
-
|
4573
|
-
|
4574
|
-
|
4575
|
-
|
4584
|
+
SitePermissionsSparkle: JSX.Element;
|
4585
|
+
SitePermissionCamera: JSX.Element;
|
4586
|
+
SitePermissionMic: JSX.Element;
|
4587
|
+
SitePermissionCameraDenied: JSX.Element;
|
4588
|
+
SitePermissionMicDenied: JSX.Element;
|
4576
4589
|
UnsupportedEnvironmentWarning: JSX.Element;
|
4577
4590
|
BrowserPermissionDeniedError: JSX.Element;
|
4578
4591
|
VideoTilePinned: JSX.Element;
|
@@ -4669,11 +4682,11 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4669
4682
|
HoldCallButton: JSX.Element;
|
4670
4683
|
ResumeCall: JSX.Element;
|
4671
4684
|
DialpadBackspace: JSX.Element;
|
4672
|
-
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4676
|
-
|
4685
|
+
SitePermissionsSparkle: JSX.Element;
|
4686
|
+
SitePermissionCamera: JSX.Element;
|
4687
|
+
SitePermissionMic: JSX.Element;
|
4688
|
+
SitePermissionCameraDenied: JSX.Element;
|
4689
|
+
SitePermissionMicDenied: JSX.Element;
|
4677
4690
|
UnsupportedEnvironmentWarning: JSX.Element;
|
4678
4691
|
BrowserPermissionDeniedError: JSX.Element;
|
4679
4692
|
VideoTilePinned: JSX.Element;
|
@@ -4684,6 +4697,29 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4684
4697
|
UnpinParticipant: JSX.Element;
|
4685
4698
|
};
|
4686
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
|
+
|
4687
4723
|
/**
|
4688
4724
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
4689
4725
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -4739,95 +4775,6 @@ export declare type DeviceManagerState = {
|
|
4739
4775
|
unparentedViews: LocalVideoStreamState[];
|
4740
4776
|
};
|
4741
4777
|
|
4742
|
-
/**
|
4743
|
-
* A dropdown to trigger device permission prompt
|
4744
|
-
*
|
4745
|
-
* @internal
|
4746
|
-
*/
|
4747
|
-
export declare const _DevicePermissionDropdown: (props: _DevicePermissionDropdownProps) => JSX.Element;
|
4748
|
-
|
4749
|
-
/**
|
4750
|
-
* Props for {@link _DevicePermissionDropdown}.
|
4751
|
-
*
|
4752
|
-
* @internal
|
4753
|
-
*/
|
4754
|
-
export declare interface _DevicePermissionDropdownProps {
|
4755
|
-
/**
|
4756
|
-
* icon shown in dropdown placeholder
|
4757
|
-
*/
|
4758
|
-
icon?: JSX.Element;
|
4759
|
-
/**
|
4760
|
-
* Dropdown content
|
4761
|
-
*/
|
4762
|
-
options?: IDropdownOption[];
|
4763
|
-
/**
|
4764
|
-
* Ask for permissions of devices.
|
4765
|
-
*
|
4766
|
-
* @remarks
|
4767
|
-
* Browser permission window will pop up if permissions are not granted yet
|
4768
|
-
*
|
4769
|
-
* @param constrain - Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4770
|
-
*/
|
4771
|
-
askDevicePermission?(constrain: _PermissionConstraints): Promise<void>;
|
4772
|
-
/**
|
4773
|
-
* Optional callback when component is clicked
|
4774
|
-
*/
|
4775
|
-
onClick?: () => void;
|
4776
|
-
/**
|
4777
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4778
|
-
*/
|
4779
|
-
constrain?: _PermissionConstraints;
|
4780
|
-
/**
|
4781
|
-
* Strings for devicepermissiondropdown
|
4782
|
-
*/
|
4783
|
-
strings?: _DevicePermissionDropdownStrings;
|
4784
|
-
/**
|
4785
|
-
* Styles for devicepermissiondropdown
|
4786
|
-
*/
|
4787
|
-
styles?: Partial<IDropdownStyles>;
|
4788
|
-
}
|
4789
|
-
|
4790
|
-
/**
|
4791
|
-
* Strings of {@link DevicePermissionDropdown} that can be overridden.
|
4792
|
-
*
|
4793
|
-
* @internal
|
4794
|
-
*/
|
4795
|
-
export declare interface _DevicePermissionDropdownStrings {
|
4796
|
-
/**
|
4797
|
-
* dropdown label
|
4798
|
-
*/
|
4799
|
-
label?: string;
|
4800
|
-
/**
|
4801
|
-
* dropdown placeholder
|
4802
|
-
*/
|
4803
|
-
placeHolderText: string;
|
4804
|
-
/** string for action button */
|
4805
|
-
actionButtonContent?: string;
|
4806
|
-
}
|
4807
|
-
|
4808
|
-
/**
|
4809
|
-
* Device Permission restrictions.
|
4810
|
-
* Be able to start a call depending on camera and microphone permission options.
|
4811
|
-
*
|
4812
|
-
* @beta
|
4813
|
-
*/
|
4814
|
-
export declare interface DevicePermissionRestrictions {
|
4815
|
-
/**
|
4816
|
-
* Camera Permission prompts for your call.
|
4817
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4818
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4819
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4820
|
-
*/
|
4821
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
4822
|
-
/**
|
4823
|
-
* Microphone permission prompts for your call.
|
4824
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4825
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4826
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4827
|
-
*/
|
4828
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
4829
|
-
}
|
4830
|
-
|
4831
4778
|
/**
|
4832
4779
|
* A button to open a menu that controls device options.
|
4833
4780
|
*
|
@@ -5065,45 +5012,6 @@ export declare interface Disposable {
|
|
5065
5012
|
dispose(): void;
|
5066
5013
|
}
|
5067
5014
|
|
5068
|
-
/**
|
5069
|
-
* @beta
|
5070
|
-
* Strings for DomainPermissions component
|
5071
|
-
*/
|
5072
|
-
export declare type DomainPermissionsStrings = {
|
5073
|
-
/**
|
5074
|
-
* Main text string.
|
5075
|
-
*/
|
5076
|
-
primaryText?: string;
|
5077
|
-
/**
|
5078
|
-
* Subtext string.
|
5079
|
-
*/
|
5080
|
-
secondaryText?: string;
|
5081
|
-
/**
|
5082
|
-
* More help link string.
|
5083
|
-
*/
|
5084
|
-
linkText?: string;
|
5085
|
-
/**
|
5086
|
-
* Primary button text string.
|
5087
|
-
*/
|
5088
|
-
primaryButtonText?: string;
|
5089
|
-
/**
|
5090
|
-
* Aria label describing the content of the container
|
5091
|
-
*/
|
5092
|
-
ariaLabel?: string;
|
5093
|
-
};
|
5094
|
-
|
5095
|
-
/**
|
5096
|
-
* Fluent styles for {@link DomainPermissionsContainer}.
|
5097
|
-
*
|
5098
|
-
* @beta
|
5099
|
-
*/
|
5100
|
-
export declare interface DomainPermissionsStyles extends BaseCustomStyles {
|
5101
|
-
/** Styles for the primary button. */
|
5102
|
-
primaryButton?: IButtonStyles;
|
5103
|
-
/** Styles for the help troubleshooting link text. */
|
5104
|
-
troubleshootingLink?: ILinkStyles;
|
5105
|
-
}
|
5106
|
-
|
5107
5015
|
/**
|
5108
5016
|
* DTMF tone for PSTN calls.
|
5109
5017
|
*
|
@@ -5584,7 +5492,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5584
5492
|
*
|
5585
5493
|
* @public
|
5586
5494
|
*/
|
5587
|
-
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;
|
5588
5496
|
|
5589
5497
|
/**
|
5590
5498
|
* Get the selector for a specified component.
|
@@ -6576,24 +6484,24 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6576
6484
|
*
|
6577
6485
|
* @beta
|
6578
6486
|
*/
|
6579
|
-
export declare const
|
6487
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
6580
6488
|
|
6581
6489
|
/**
|
6582
6490
|
* @beta
|
6583
|
-
* Props for
|
6491
|
+
* Props for MicrophoneSitePermissions component.
|
6584
6492
|
*/
|
6585
|
-
export declare interface
|
6493
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
6586
6494
|
/** Icon name for the microphone icon */
|
6587
6495
|
microphoneIconName?: string;
|
6588
|
-
/** Strings for use with the {@link
|
6589
|
-
strings?:
|
6496
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
6497
|
+
strings?: MicrophoneSitePermissionsStrings;
|
6590
6498
|
}
|
6591
6499
|
|
6592
6500
|
/**
|
6593
6501
|
* @beta
|
6594
|
-
* Strings for
|
6502
|
+
* Strings for MicrophoneSitePermissions component.
|
6595
6503
|
*/
|
6596
|
-
export declare type
|
6504
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
6597
6505
|
|
6598
6506
|
/**
|
6599
6507
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
@@ -7043,16 +6951,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
7043
6951
|
*/
|
7044
6952
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
7045
6953
|
|
7046
|
-
/**
|
7047
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
7048
|
-
*
|
7049
|
-
* @internal
|
7050
|
-
*/
|
7051
|
-
export declare type _PermissionConstraints = {
|
7052
|
-
audio: boolean;
|
7053
|
-
video: boolean;
|
7054
|
-
};
|
7055
|
-
|
7056
6954
|
/**
|
7057
6955
|
* An array of key value pairs that stores each sender's display name and last read message
|
7058
6956
|
*
|
@@ -7382,6 +7280,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7382
7280
|
systemMessage?: IStyle;
|
7383
7281
|
}
|
7384
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
|
+
|
7385
7322
|
/**
|
7386
7323
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
7387
7324
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|