@azure/communication-react 1.4.2-alpha-202211300015.0 → 1.4.2-alpha-202301052137
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/CHANGELOG.stable.md +10 -1
- package/dist/communication-react.d.ts +359 -279
- package/dist/dist-cjs/communication-react/index.js +2690 -1748
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/identifier.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.d.ts +5 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +21 -10
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.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/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +12 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +20 -2
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +2 -13
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +14 -0
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Logger.d.ts +1 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.js +1 -0
- package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +11 -4
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +39 -12
- package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +2 -2
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.d.ts +19 -0
- package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +43 -0
- package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -0
- package/dist/dist-esm/communication-react/src/index.d.ts +6 -4
- package/dist/dist-esm/communication-react/src/index.js +5 -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} +28 -22
- 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} +4 -4
- package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +8 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +8 -0
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.js +6 -4
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +25 -4
- package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +9 -4
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +64 -7
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +6 -6
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +13 -21
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.d.ts +37 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +27 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.d.ts +41 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +32 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.d.ts +32 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +25 -0
- package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.d.ts +16 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +45 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.d.ts +12 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +41 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +25 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +61 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +34 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js +4 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/PinnedParticipantsLayout.d.ts +25 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/PinnedParticipantsLayout.js +62 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/PinnedParticipantsLayout.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js +20 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/VideoGalleryResponsiveHorizontalGallery.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.d.ts +6 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +9 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +62 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +118 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.d.ts +14 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +28 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.d.ts +9 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js +22 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.d.ts +45 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +57 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +7 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +21 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +72 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +36 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +116 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +25 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +105 -122
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.js +15 -16
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +7 -3
- package/dist/dist-esm/react-components/src/components/index.js +3 -2
- 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/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
- package/dist/dist-esm/react-components/src/components/styles/{UnsupportedBrowser.styles.js → UnsupportedEnvironment.styles.js} +25 -10
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.d.ts +1 -95
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +3 -138
- package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils.js +4 -0
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +31 -19
- 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 +48 -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 +10 -6
- package/dist/dist-esm/react-components/src/theming/icons.js +28 -20
- 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-components/src/types/VideoGalleryParticipant.d.ts +2 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +7 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +9 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +12 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +16 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +83 -38
- 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 +6 -17
- 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 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +1 -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.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +17 -16
- 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.d.ts +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +68 -28
- 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 +16 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageCameraDropdown.js → ConfigurationPageCameraDropdown.js} +4 -6
- 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 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageErrorBar.js → ConfigurationPageErrorBar.js} +4 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +16 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/{ConfigurationpageMicDropdown.js → ConfigurationPageMicDropdown.js} +4 -8
- 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/LocalAndRemotePIP.js +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +16 -14
- 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/LocalPreview.js +8 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +4 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.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/hooks/useAdaptedSelector.js +11 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +3 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +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/CallPage.js +4 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +46 -27
- 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.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +28 -7
- 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 +20 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +70 -21
- 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 +16 -7
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +22 -10
- 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/AzureCommunicationCallWithChatAdapter.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +6 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +7 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +26 -3
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.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/ModalLocalAndRemotePIP.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +10 -6
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -0
- package/package.json +9 -9
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.d.ts +0 -101
- 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-components/src/components/styles/UnsupportedBrowser.styles.d.ts +0 -22
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.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/ConfigurationpageErrorBar.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';
|
@@ -67,6 +65,7 @@ import { LatestMediaDiagnostics } from '@azure/communication-calling';
|
|
67
65
|
import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
68
66
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
69
67
|
import { MediaStreamType } from '@azure/communication-calling';
|
68
|
+
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
70
69
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
71
70
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
72
71
|
import { PartialTheme } from '@fluentui/react';
|
@@ -291,10 +290,6 @@ export declare type AzureCommunicationCallAdapterOptions = {
|
|
291
290
|
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
292
291
|
*/
|
293
292
|
roleHint?: Role;
|
294
|
-
/**
|
295
|
-
* Optional feature flags to be enabled in the CallAdapter.
|
296
|
-
*/
|
297
|
-
features?: CallAdapterOptionalFeatures;
|
298
293
|
};
|
299
294
|
|
300
295
|
/**
|
@@ -709,6 +704,10 @@ export declare interface CallAdapterCallOperations {
|
|
709
704
|
* @beta
|
710
705
|
*/
|
711
706
|
sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
|
707
|
+
/**
|
708
|
+
* Continues into a call when the browser version is not supported.
|
709
|
+
*/
|
710
|
+
allowUnsupportedBrowserVersion(): void;
|
712
711
|
}
|
713
712
|
|
714
713
|
/**
|
@@ -735,10 +734,6 @@ export declare type CallAdapterClientState = {
|
|
735
734
|
* Environment information about system the adapter is made on
|
736
735
|
*/
|
737
736
|
environmentInfo?: EnvironmentInfo;
|
738
|
-
/**
|
739
|
-
* Optional features that are to be enabled through the adapter.
|
740
|
-
*/
|
741
|
-
features?: CallAdapterOptionalFeatures;
|
742
737
|
/**
|
743
738
|
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
744
739
|
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
@@ -831,18 +826,6 @@ export declare interface CallAdapterDeviceManagement {
|
|
831
826
|
*/
|
832
827
|
export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
|
833
828
|
|
834
|
-
/**
|
835
|
-
* options object to enable opt in features for the CallAdapter
|
836
|
-
*
|
837
|
-
* @beta
|
838
|
-
*/
|
839
|
-
export declare type CallAdapterOptionalFeatures = {
|
840
|
-
/**
|
841
|
-
* Feature flag for enabling the unsupported environment logic in the CallAdapter.
|
842
|
-
*/
|
843
|
-
unsupportedEnvironment?: boolean;
|
844
|
-
};
|
845
|
-
|
846
829
|
/**
|
847
830
|
* {@link CommonCallAdapter} state.
|
848
831
|
*
|
@@ -976,6 +959,7 @@ export declare interface CallAdapterSubscribers {
|
|
976
959
|
export declare type CallAdapterUiState = {
|
977
960
|
isLocalPreviewMicrophoneEnabled: boolean;
|
978
961
|
page: CallCompositePage;
|
962
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
979
963
|
};
|
980
964
|
|
981
965
|
/**
|
@@ -1204,15 +1188,11 @@ export declare type CallCompositeOptions = {
|
|
1204
1188
|
*/
|
1205
1189
|
callControls?: boolean | CallControlOptions;
|
1206
1190
|
/**
|
1207
|
-
* Device
|
1208
|
-
*
|
1191
|
+
* Device permissions check options for your call.
|
1192
|
+
* Here you can choose what device permissions you prompt the user for,
|
1193
|
+
* as well as what device permissions must be accepted before starting a call.
|
1209
1194
|
*/
|
1210
|
-
|
1211
|
-
/**
|
1212
|
-
* Opt in call readiness feature for your call
|
1213
|
-
* Setting this to `true` will add call readiness features to the call experience
|
1214
|
-
*/
|
1215
|
-
callReadinessOptedIn?: boolean;
|
1195
|
+
deviceChecks?: DeviceCheckOptions;
|
1216
1196
|
/**
|
1217
1197
|
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
1218
1198
|
* unable to grant your site the required permissions for the call.
|
@@ -1326,10 +1306,22 @@ export declare interface CallCompositeStrings {
|
|
1326
1306
|
* Label for camera dropdown.
|
1327
1307
|
*/
|
1328
1308
|
cameraLabel: string;
|
1309
|
+
/**
|
1310
|
+
* Label for when there are no cameras present on configuration screen.
|
1311
|
+
*/
|
1312
|
+
noCamerasLabel: string;
|
1329
1313
|
/**
|
1330
1314
|
* Label for sound dropdown.
|
1331
1315
|
*/
|
1332
1316
|
soundLabel: string;
|
1317
|
+
/**
|
1318
|
+
* Label for when no microphones were found on the configuration screen
|
1319
|
+
*/
|
1320
|
+
noMicrophonesLabel: string;
|
1321
|
+
/**
|
1322
|
+
* Label for when no speakers were found on the configuration screen.
|
1323
|
+
*/
|
1324
|
+
noSpeakersLabel: string;
|
1333
1325
|
/**
|
1334
1326
|
* Error shown when camera access is blocked by the browser.
|
1335
1327
|
*/
|
@@ -2262,6 +2254,10 @@ export declare interface CallWithChatAdapterManagement {
|
|
2262
2254
|
* @beta
|
2263
2255
|
*/
|
2264
2256
|
sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
2257
|
+
/**
|
2258
|
+
* Continues into a call when the browser version is not supported.
|
2259
|
+
*/
|
2260
|
+
allowUnsupportedBrowserVersion(): void;
|
2265
2261
|
}
|
2266
2262
|
|
2267
2263
|
/**
|
@@ -2340,6 +2336,14 @@ export declare interface CallWithChatAdapterUiState {
|
|
2340
2336
|
* @beta
|
2341
2337
|
*/
|
2342
2338
|
fileUploads?: FileUploadsUiState;
|
2339
|
+
/**
|
2340
|
+
* State to track whether the end user has opted in to using a
|
2341
|
+
* out of date version of a supported browser. Allows the user
|
2342
|
+
* to start a call in this state.
|
2343
|
+
*
|
2344
|
+
* @beta
|
2345
|
+
*/
|
2346
|
+
unsupportedBrowserVersionsAllowed?: boolean;
|
2343
2347
|
}
|
2344
2348
|
|
2345
2349
|
/**
|
@@ -2470,10 +2474,11 @@ export declare type CallWithChatCompositeOptions = {
|
|
2470
2474
|
*/
|
2471
2475
|
fileSharing?: FileSharingOptions;
|
2472
2476
|
/**
|
2473
|
-
* Device
|
2474
|
-
*
|
2477
|
+
* Device permissions check options for your call.
|
2478
|
+
* Here you can choose what device permissions you prompt the user for,
|
2479
|
+
* as well as what device permissions must be accepted before starting a call.
|
2475
2480
|
*/
|
2476
|
-
|
2481
|
+
deviceChecks?: DeviceCheckOptions;
|
2477
2482
|
/**
|
2478
2483
|
* Callback you may provide to supply users with further steps to troubleshoot why they have been
|
2479
2484
|
* unable to grant your site the required permissions for the call.
|
@@ -2506,10 +2511,18 @@ export declare type CallWithChatCompositeOptions = {
|
|
2506
2511
|
*/
|
2507
2512
|
onNetworkingTroubleShootingClick?: () => void;
|
2508
2513
|
/**
|
2509
|
-
*
|
2510
|
-
*
|
2514
|
+
* Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
|
2515
|
+
*
|
2516
|
+
* @example
|
2517
|
+
* ```ts
|
2518
|
+
* onBrowserTroubleShootingClick?: () =>
|
2519
|
+
* window.open('https://contoso.com/browser-troubleshooting', '_blank');
|
2520
|
+
* ```
|
2521
|
+
*
|
2522
|
+
* @remarks
|
2523
|
+
* if this is not supplied, the composite will not show a unsupported browser page.
|
2511
2524
|
*/
|
2512
|
-
|
2525
|
+
onEnvironmentInfoTroubleshootingClick?: () => void;
|
2513
2526
|
};
|
2514
2527
|
|
2515
2528
|
/**
|
@@ -2772,28 +2785,28 @@ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded'
|
|
2772
2785
|
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2773
2786
|
* by their browsers settings.
|
2774
2787
|
*/
|
2775
|
-
export declare const
|
2788
|
+
export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
|
2776
2789
|
|
2777
2790
|
/**
|
2778
2791
|
* @beta
|
2779
|
-
* Props for
|
2792
|
+
* Props for CameraAndMicrophoneSitePermissions component.
|
2780
2793
|
*/
|
2781
|
-
export declare interface
|
2794
|
+
export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
2782
2795
|
/** Icon name for the camera icon */
|
2783
2796
|
cameraIconName?: string;
|
2784
2797
|
/** Icon name for the microphone icon */
|
2785
2798
|
microphoneIconName?: string;
|
2786
2799
|
/** Icon name for the central icon between the camera and microphone icons */
|
2787
2800
|
connectorIconName?: string;
|
2788
|
-
/** Strings for use with the {@link
|
2789
|
-
strings?:
|
2801
|
+
/** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
|
2802
|
+
strings?: CameraAndMicrophoneSitePermissionsStrings;
|
2790
2803
|
}
|
2791
2804
|
|
2792
2805
|
/**
|
2793
2806
|
* @beta
|
2794
|
-
* Strings for
|
2807
|
+
* Strings for CameraAndMicrophoneSitePermissions component.
|
2795
2808
|
*/
|
2796
|
-
export declare type
|
2809
|
+
export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
2797
2810
|
|
2798
2811
|
/**
|
2799
2812
|
* A button to turn camera on / off.
|
@@ -2937,24 +2950,24 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2937
2950
|
*
|
2938
2951
|
* @beta
|
2939
2952
|
*/
|
2940
|
-
export declare const
|
2953
|
+
export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
|
2941
2954
|
|
2942
2955
|
/**
|
2943
2956
|
* @beta
|
2944
|
-
* Props for
|
2957
|
+
* Props for CameraSitePermissions component.
|
2945
2958
|
*/
|
2946
|
-
export declare interface
|
2959
|
+
export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
|
2947
2960
|
/** Icon name for the camera icon */
|
2948
2961
|
cameraIconName?: string;
|
2949
|
-
/** Strings for use with the {@link
|
2950
|
-
strings?:
|
2962
|
+
/** Strings for use with the {@link CameraSitePermissions} */
|
2963
|
+
strings?: CameraSitePermissionsStrings;
|
2951
2964
|
}
|
2952
2965
|
|
2953
2966
|
/**
|
2954
2967
|
* @beta
|
2955
|
-
* Strings for
|
2968
|
+
* Strings for CameraSitePermissions component.
|
2956
2969
|
*/
|
2957
|
-
export declare type
|
2970
|
+
export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
|
2958
2971
|
|
2959
2972
|
/**
|
2960
2973
|
* {@link ChatComposite} Adapter interface.
|
@@ -3577,19 +3590,32 @@ export declare interface CommonCallingHandlers {
|
|
3577
3590
|
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
3578
3591
|
}
|
3579
3592
|
|
3593
|
+
/**
|
3594
|
+
* Return intersect properties of 2 types
|
3595
|
+
*
|
3596
|
+
* @public
|
3597
|
+
*/
|
3598
|
+
export declare type CommonProperties<A, B> = {
|
3599
|
+
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3600
|
+
}[keyof A & keyof B];
|
3601
|
+
|
3580
3602
|
/**
|
3581
3603
|
* @beta
|
3582
|
-
* Props for
|
3604
|
+
* Props for SitePermissions components.
|
3583
3605
|
*/
|
3584
|
-
export declare interface
|
3606
|
+
export declare interface CommonSitePermissionsProps {
|
3585
3607
|
/**
|
3586
3608
|
* Name of application calling experience is in.
|
3587
3609
|
*/
|
3588
3610
|
appName: string;
|
3589
3611
|
/**
|
3590
|
-
* Type of the
|
3612
|
+
* Type of the Site Permissions component.
|
3591
3613
|
*/
|
3592
3614
|
type: 'request' | 'denied' | 'check';
|
3615
|
+
/**
|
3616
|
+
* Type of the browser used, the Site permission component will show different guidance text based on the browser type
|
3617
|
+
*/
|
3618
|
+
browserHint?: 'safari' | 'unset';
|
3593
3619
|
/**
|
3594
3620
|
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
3595
3621
|
* If this is not provided the button will not be shown.
|
@@ -3601,20 +3627,11 @@ export declare interface CommonDomainPermissionsProps {
|
|
3601
3627
|
*/
|
3602
3628
|
onContinueAnywayClick?: () => void;
|
3603
3629
|
/**
|
3604
|
-
* Styles for
|
3630
|
+
* Styles for SitePermissions component.
|
3605
3631
|
*/
|
3606
|
-
styles?:
|
3632
|
+
styles?: SitePermissionsStyles;
|
3607
3633
|
}
|
3608
3634
|
|
3609
|
-
/**
|
3610
|
-
* Return intersect properties of 2 types
|
3611
|
-
*
|
3612
|
-
* @public
|
3613
|
-
*/
|
3614
|
-
export declare type CommonProperties<A, B> = {
|
3615
|
-
[P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
|
3616
|
-
}[keyof A & keyof B];
|
3617
|
-
|
3618
3635
|
/**
|
3619
3636
|
* A Chat or Calling participant's state, as reflected in the UI.
|
3620
3637
|
*
|
@@ -3794,26 +3811,36 @@ export declare interface ComponentStrings {
|
|
3794
3811
|
videoTile: VideoTileStrings;
|
3795
3812
|
/** Strings for HoldButton */
|
3796
3813
|
holdButton: HoldButtonStrings;
|
3797
|
-
/** Strings for a
|
3798
|
-
|
3799
|
-
/** Strings for a
|
3800
|
-
|
3801
|
-
/** Strings for a
|
3802
|
-
|
3803
|
-
/** Strings for a
|
3804
|
-
|
3805
|
-
/** Strings for a
|
3806
|
-
|
3807
|
-
/** Strings for a
|
3808
|
-
|
3809
|
-
/** Strings for a
|
3810
|
-
|
3811
|
-
/** Strings for a
|
3812
|
-
|
3813
|
-
/** Strings for a
|
3814
|
-
|
3814
|
+
/** Strings for a site's permission request prompt */
|
3815
|
+
CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
3816
|
+
/** Strings for a site's permission request prompt */
|
3817
|
+
CameraSitePermissionsRequest: SitePermissionsStrings;
|
3818
|
+
/** Strings for a site's permission request prompt */
|
3819
|
+
MicrophoneSitePermissionsRequest: SitePermissionsStrings;
|
3820
|
+
/** Strings for a site's permission generic checking prompt */
|
3821
|
+
CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
3822
|
+
/** Strings for a site's permission generic checking prompt */
|
3823
|
+
CameraSitePermissionsCheck: SitePermissionsStrings;
|
3824
|
+
/** Strings for a site's permission generic checking prompt */
|
3825
|
+
MicrophoneSitePermissionsCheck: SitePermissionsStrings;
|
3826
|
+
/** Strings for a site's permission denied prompt */
|
3827
|
+
CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
3828
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
3829
|
+
CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
3830
|
+
/** Strings for a site's permission denied prompt */
|
3831
|
+
CameraSitePermissionsDenied: SitePermissionsStrings;
|
3832
|
+
/** Strings for a site's permission denied prompt */
|
3833
|
+
MicrophoneSitePermissionsDenied: SitePermissionsStrings;
|
3834
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
3835
|
+
CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
|
3836
|
+
/** Strings for a site's permission denied prompt for safari browsers*/
|
3837
|
+
MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
|
3815
3838
|
/** Strings for unsupported browser UI */
|
3816
3839
|
UnsupportedBrowser: UnsupportedBrowserStrings;
|
3840
|
+
/** Strings for unsupported browser version UI */
|
3841
|
+
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
3842
|
+
/** Strings for unsupported browser version UI */
|
3843
|
+
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
3817
3844
|
/** Strings for BrowserPemissionDenied */
|
3818
3845
|
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
3819
3846
|
/** Strings for BrowserPemissionDeniedIOS */
|
@@ -4125,7 +4152,7 @@ export declare interface ControlBarProps {
|
|
4125
4152
|
*
|
4126
4153
|
* @public
|
4127
4154
|
*/
|
4128
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId
|
4155
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4129
4156
|
|
4130
4157
|
/**
|
4131
4158
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4174,21 +4201,6 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4174
4201
|
*/
|
4175
4202
|
export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
|
4176
4203
|
|
4177
|
-
/**
|
4178
|
-
* @beta
|
4179
|
-
*/
|
4180
|
-
export declare const createAzureCommunicationTeamsCallAdapter: ({ userId, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
4181
|
-
|
4182
|
-
/**
|
4183
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
4184
|
-
*
|
4185
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
4186
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
4187
|
-
*
|
4188
|
-
* @beta
|
4189
|
-
*/
|
4190
|
-
export declare const createAzureCommunicationTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator) => Promise<TeamsCallAdapter>;
|
4191
|
-
|
4192
4204
|
/**
|
4193
4205
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
4194
4206
|
*
|
@@ -4246,6 +4258,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4246
4258
|
*/
|
4247
4259
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
4248
4260
|
|
4261
|
+
/**
|
4262
|
+
* @beta
|
4263
|
+
*/
|
4264
|
+
export declare const createTeamsCallAdapter: ({ userId, credential, locator }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
4265
|
+
|
4266
|
+
/**
|
4267
|
+
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
4268
|
+
*
|
4269
|
+
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
4270
|
+
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
4271
|
+
*
|
4272
|
+
* @beta
|
4273
|
+
*/
|
4274
|
+
export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator) => Promise<TeamsCallAdapter>;
|
4275
|
+
|
4249
4276
|
/**
|
4250
4277
|
* Object returned after creating a local or remote VideoStream.
|
4251
4278
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -4545,15 +4572,19 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4545
4572
|
SendBoxSendHovered: JSX.Element;
|
4546
4573
|
VideoTileMicOff: JSX.Element;
|
4547
4574
|
DialpadBackspace: JSX.Element;
|
4548
|
-
|
4549
|
-
|
4550
|
-
|
4551
|
-
|
4552
|
-
|
4553
|
-
|
4575
|
+
SitePermissionsSparkle: JSX.Element;
|
4576
|
+
SitePermissionCamera: JSX.Element;
|
4577
|
+
SitePermissionMic: JSX.Element;
|
4578
|
+
SitePermissionCameraDenied: JSX.Element;
|
4579
|
+
SitePermissionMicDenied: JSX.Element;
|
4580
|
+
UnsupportedEnvironmentWarning: JSX.Element;
|
4554
4581
|
BrowserPermissionDeniedError: JSX.Element;
|
4555
4582
|
VideoTilePinned: JSX.Element;
|
4556
4583
|
VideoTileMoreOptions: JSX.Element;
|
4584
|
+
VideoTileScaleFit: JSX.Element;
|
4585
|
+
VideoTileScaleFill: JSX.Element;
|
4586
|
+
PinParticipant: JSX.Element;
|
4587
|
+
UnpinParticipant: JSX.Element;
|
4557
4588
|
};
|
4558
4589
|
|
4559
4590
|
/**
|
@@ -4642,17 +4673,44 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4642
4673
|
HoldCallButton: JSX.Element;
|
4643
4674
|
ResumeCall: JSX.Element;
|
4644
4675
|
DialpadBackspace: JSX.Element;
|
4645
|
-
|
4646
|
-
|
4647
|
-
|
4648
|
-
|
4649
|
-
|
4650
|
-
|
4676
|
+
SitePermissionsSparkle: JSX.Element;
|
4677
|
+
SitePermissionCamera: JSX.Element;
|
4678
|
+
SitePermissionMic: JSX.Element;
|
4679
|
+
SitePermissionCameraDenied: JSX.Element;
|
4680
|
+
SitePermissionMicDenied: JSX.Element;
|
4681
|
+
UnsupportedEnvironmentWarning: JSX.Element;
|
4651
4682
|
BrowserPermissionDeniedError: JSX.Element;
|
4652
4683
|
VideoTilePinned: JSX.Element;
|
4653
4684
|
VideoTileMoreOptions: JSX.Element;
|
4685
|
+
VideoTileScaleFit: JSX.Element;
|
4686
|
+
VideoTileScaleFill: JSX.Element;
|
4687
|
+
PinParticipant: JSX.Element;
|
4688
|
+
UnpinParticipant: JSX.Element;
|
4654
4689
|
};
|
4655
4690
|
|
4691
|
+
/**
|
4692
|
+
* Device Checks.
|
4693
|
+
* Choose whether or not to block starting a call depending on camera and microphone permission options.
|
4694
|
+
*
|
4695
|
+
* @beta
|
4696
|
+
*/
|
4697
|
+
export declare interface DeviceCheckOptions {
|
4698
|
+
/**
|
4699
|
+
* Camera Permission prompts for your call.
|
4700
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4701
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4702
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4703
|
+
*/
|
4704
|
+
camera: 'required' | 'optional' | 'doNotPrompt';
|
4705
|
+
/**
|
4706
|
+
* Microphone permission prompts for your call.
|
4707
|
+
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4708
|
+
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4709
|
+
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4710
|
+
*/
|
4711
|
+
microphone: 'required' | 'optional' | 'doNotPrompt';
|
4712
|
+
}
|
4713
|
+
|
4656
4714
|
/**
|
4657
4715
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
4658
4716
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -4708,95 +4766,6 @@ export declare type DeviceManagerState = {
|
|
4708
4766
|
unparentedViews: LocalVideoStreamState[];
|
4709
4767
|
};
|
4710
4768
|
|
4711
|
-
/**
|
4712
|
-
* A dropdown to trigger device permission prompt
|
4713
|
-
*
|
4714
|
-
* @internal
|
4715
|
-
*/
|
4716
|
-
export declare const _DevicePermissionDropdown: (props: _DevicePermissionDropdownProps) => JSX.Element;
|
4717
|
-
|
4718
|
-
/**
|
4719
|
-
* Props for {@link _DevicePermissionDropdown}.
|
4720
|
-
*
|
4721
|
-
* @internal
|
4722
|
-
*/
|
4723
|
-
export declare interface _DevicePermissionDropdownProps {
|
4724
|
-
/**
|
4725
|
-
* icon shown in dropdown placeholder
|
4726
|
-
*/
|
4727
|
-
icon?: JSX.Element;
|
4728
|
-
/**
|
4729
|
-
* Dropdown content
|
4730
|
-
*/
|
4731
|
-
options?: IDropdownOption[];
|
4732
|
-
/**
|
4733
|
-
* Ask for permissions of devices.
|
4734
|
-
*
|
4735
|
-
* @remarks
|
4736
|
-
* Browser permission window will pop up if permissions are not granted yet
|
4737
|
-
*
|
4738
|
-
* @param constrain - Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4739
|
-
*/
|
4740
|
-
askDevicePermission?(constrain: _PermissionConstraints): Promise<void>;
|
4741
|
-
/**
|
4742
|
-
* Optional callback when component is clicked
|
4743
|
-
*/
|
4744
|
-
onClick?: () => void;
|
4745
|
-
/**
|
4746
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4747
|
-
*/
|
4748
|
-
constrain?: _PermissionConstraints;
|
4749
|
-
/**
|
4750
|
-
* Strings for devicepermissiondropdown
|
4751
|
-
*/
|
4752
|
-
strings?: _DevicePermissionDropdownStrings;
|
4753
|
-
/**
|
4754
|
-
* Styles for devicepermissiondropdown
|
4755
|
-
*/
|
4756
|
-
styles?: Partial<IDropdownStyles>;
|
4757
|
-
}
|
4758
|
-
|
4759
|
-
/**
|
4760
|
-
* Strings of {@link DevicePermissionDropdown} that can be overridden.
|
4761
|
-
*
|
4762
|
-
* @internal
|
4763
|
-
*/
|
4764
|
-
export declare interface _DevicePermissionDropdownStrings {
|
4765
|
-
/**
|
4766
|
-
* dropdown label
|
4767
|
-
*/
|
4768
|
-
label?: string;
|
4769
|
-
/**
|
4770
|
-
* dropdown placeholder
|
4771
|
-
*/
|
4772
|
-
placeHolderText: string;
|
4773
|
-
/** string for action button */
|
4774
|
-
actionButtonContent?: string;
|
4775
|
-
}
|
4776
|
-
|
4777
|
-
/**
|
4778
|
-
* Device Permission restrictions.
|
4779
|
-
* Be able to start a call depending on camera and microphone permission options.
|
4780
|
-
*
|
4781
|
-
* @beta
|
4782
|
-
*/
|
4783
|
-
export declare interface DevicePermissionRestrictions {
|
4784
|
-
/**
|
4785
|
-
* Camera Permission prompts for your call.
|
4786
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4787
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4788
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4789
|
-
*/
|
4790
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
4791
|
-
/**
|
4792
|
-
* Microphone permission prompts for your call.
|
4793
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4794
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4795
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4796
|
-
*/
|
4797
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
4798
|
-
}
|
4799
|
-
|
4800
4769
|
/**
|
4801
4770
|
* A button to open a menu that controls device options.
|
4802
4771
|
*
|
@@ -5034,45 +5003,6 @@ export declare interface Disposable {
|
|
5034
5003
|
dispose(): void;
|
5035
5004
|
}
|
5036
5005
|
|
5037
|
-
/**
|
5038
|
-
* @beta
|
5039
|
-
* Strings for DomainPermissions component
|
5040
|
-
*/
|
5041
|
-
export declare type DomainPermissionsStrings = {
|
5042
|
-
/**
|
5043
|
-
* Main text string.
|
5044
|
-
*/
|
5045
|
-
primaryText?: string;
|
5046
|
-
/**
|
5047
|
-
* Subtext string.
|
5048
|
-
*/
|
5049
|
-
secondaryText?: string;
|
5050
|
-
/**
|
5051
|
-
* More help link string.
|
5052
|
-
*/
|
5053
|
-
linkText?: string;
|
5054
|
-
/**
|
5055
|
-
* Primary button text string.
|
5056
|
-
*/
|
5057
|
-
primaryButtonText?: string;
|
5058
|
-
/**
|
5059
|
-
* Aria label describing the content of the container
|
5060
|
-
*/
|
5061
|
-
ariaLabel?: string;
|
5062
|
-
};
|
5063
|
-
|
5064
|
-
/**
|
5065
|
-
* Fluent styles for {@link DomainPermissionsContainer}.
|
5066
|
-
*
|
5067
|
-
* @beta
|
5068
|
-
*/
|
5069
|
-
export declare interface DomainPermissionsStyles extends BaseCustomStyles {
|
5070
|
-
/** Styles for the primary button. */
|
5071
|
-
primaryButton?: IButtonStyles;
|
5072
|
-
/** Styles for the help troubleshooting link text. */
|
5073
|
-
troubleshootingLink?: ILinkStyles;
|
5074
|
-
}
|
5075
|
-
|
5076
5006
|
/**
|
5077
5007
|
* DTMF tone for PSTN calls.
|
5078
5008
|
*
|
@@ -5248,6 +5178,10 @@ export declare interface ErrorBarStrings {
|
|
5248
5178
|
* Message shown when microphone can be enumerated but access is blocked by the system.
|
5249
5179
|
*/
|
5250
5180
|
callMicrophoneAccessDenied: string;
|
5181
|
+
/**
|
5182
|
+
* Message shown when microphone can be enumerated but access is blocked by the system, for safari browsers
|
5183
|
+
*/
|
5184
|
+
callMicrophoneAccessDeniedSafari: string;
|
5251
5185
|
/**
|
5252
5186
|
* Message shown when microphone is muted by the system (not by local or remote participants)
|
5253
5187
|
*/
|
@@ -5270,6 +5204,10 @@ export declare interface ErrorBarStrings {
|
|
5270
5204
|
* Message shown when camera can be enumerated but access is blocked by the system.
|
5271
5205
|
*/
|
5272
5206
|
callCameraAccessDenied: string;
|
5207
|
+
/**
|
5208
|
+
* Message shown when camera can be enumerated but access is blocked by the system, for safari browsers
|
5209
|
+
*/
|
5210
|
+
callCameraAccessDeniedSafari: string;
|
5273
5211
|
/**
|
5274
5212
|
* Message shown when local video fails to start because camera is already in use by
|
5275
5213
|
* another applciation.
|
@@ -5545,7 +5483,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5545
5483
|
*
|
5546
5484
|
* @public
|
5547
5485
|
*/
|
5548
|
-
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 :
|
5486
|
+
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;
|
5549
5487
|
|
5550
5488
|
/**
|
5551
5489
|
* Get the selector for a specified component.
|
@@ -6537,24 +6475,24 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6537
6475
|
*
|
6538
6476
|
* @beta
|
6539
6477
|
*/
|
6540
|
-
export declare const
|
6478
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
6541
6479
|
|
6542
6480
|
/**
|
6543
6481
|
* @beta
|
6544
|
-
* Props for
|
6482
|
+
* Props for MicrophoneSitePermissions component.
|
6545
6483
|
*/
|
6546
|
-
export declare interface
|
6484
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
6547
6485
|
/** Icon name for the microphone icon */
|
6548
6486
|
microphoneIconName?: string;
|
6549
|
-
/** Strings for use with the {@link
|
6550
|
-
strings?:
|
6487
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
6488
|
+
strings?: MicrophoneSitePermissionsStrings;
|
6551
6489
|
}
|
6552
6490
|
|
6553
6491
|
/**
|
6554
6492
|
* @beta
|
6555
|
-
* Strings for
|
6493
|
+
* Strings for MicrophoneSitePermissions component.
|
6556
6494
|
*/
|
6557
|
-
export declare type
|
6495
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
6558
6496
|
|
6559
6497
|
/**
|
6560
6498
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
@@ -6954,6 +6892,10 @@ export declare interface ParticipantsButtonStrings {
|
|
6954
6892
|
* Label of menu button to mute all participants
|
6955
6893
|
*/
|
6956
6894
|
muteAllButtonLabel: string;
|
6895
|
+
/**
|
6896
|
+
* Narrator announcement for when the invite link has been copied by the user to the clipboard
|
6897
|
+
*/
|
6898
|
+
copyInviteLinkActionedAriaLabel: string;
|
6957
6899
|
}
|
6958
6900
|
|
6959
6901
|
/**
|
@@ -7000,16 +6942,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
7000
6942
|
*/
|
7001
6943
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
7002
6944
|
|
7003
|
-
/**
|
7004
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
7005
|
-
*
|
7006
|
-
* @internal
|
7007
|
-
*/
|
7008
|
-
export declare type _PermissionConstraints = {
|
7009
|
-
audio: boolean;
|
7010
|
-
video: boolean;
|
7011
|
-
};
|
7012
|
-
|
7013
6945
|
/**
|
7014
6946
|
* An array of key value pairs that stores each sender's display name and last read message
|
7015
6947
|
*
|
@@ -7339,6 +7271,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7339
7271
|
systemMessage?: IStyle;
|
7340
7272
|
}
|
7341
7273
|
|
7274
|
+
/**
|
7275
|
+
* @beta
|
7276
|
+
* Strings for SitePermissions component
|
7277
|
+
*/
|
7278
|
+
export declare type SitePermissionsStrings = {
|
7279
|
+
/**
|
7280
|
+
* Main text string.
|
7281
|
+
*/
|
7282
|
+
primaryText?: string;
|
7283
|
+
/**
|
7284
|
+
* Subtext string.
|
7285
|
+
*/
|
7286
|
+
secondaryText?: string;
|
7287
|
+
/**
|
7288
|
+
* More help link string.
|
7289
|
+
*/
|
7290
|
+
linkText?: string;
|
7291
|
+
/**
|
7292
|
+
* Primary button text string.
|
7293
|
+
*/
|
7294
|
+
primaryButtonText?: string;
|
7295
|
+
/**
|
7296
|
+
* Aria label describing the content of the container
|
7297
|
+
*/
|
7298
|
+
ariaLabel?: string;
|
7299
|
+
};
|
7300
|
+
|
7301
|
+
/**
|
7302
|
+
* Fluent styles for {@link SitePermissionsContainer}.
|
7303
|
+
*
|
7304
|
+
* @beta
|
7305
|
+
*/
|
7306
|
+
export declare interface SitePermissionsStyles extends BaseCustomStyles {
|
7307
|
+
/** Styles for the primary button. */
|
7308
|
+
primaryButton?: IButtonStyles;
|
7309
|
+
/** Styles for the help troubleshooting link text. */
|
7310
|
+
troubleshootingLink?: ILinkStyles;
|
7311
|
+
}
|
7312
|
+
|
7342
7313
|
/**
|
7343
7314
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
7344
7315
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -7470,7 +7441,7 @@ export declare type StatefulCallClientArgs = {
|
|
7470
7441
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
7471
7442
|
* state. It is not used by StatefulCallClient.
|
7472
7443
|
*/
|
7473
|
-
userId: CommunicationUserIdentifier;
|
7444
|
+
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
7474
7445
|
/**
|
7475
7446
|
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
7476
7447
|
* to start a PSTN call.
|
@@ -7649,6 +7620,17 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
|
7649
7620
|
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
7650
7621
|
}
|
7651
7622
|
|
7623
|
+
/**
|
7624
|
+
* Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
|
7625
|
+
*
|
7626
|
+
* @beta
|
7627
|
+
*/
|
7628
|
+
export declare type TeamsCallAdapterArgs = {
|
7629
|
+
userId: MicrosoftTeamsUserIdentifier;
|
7630
|
+
credential: CommunicationTokenCredential;
|
7631
|
+
locator: TeamsMeetingLinkLocator;
|
7632
|
+
};
|
7633
|
+
|
7652
7634
|
/**
|
7653
7635
|
* Object containing all the teams call handlers required for calling components.
|
7654
7636
|
*
|
@@ -7841,22 +7823,22 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
|
|
7841
7823
|
}
|
7842
7824
|
|
7843
7825
|
/**
|
7844
|
-
* UI to display to the user that the browser they are using is not supported by
|
7826
|
+
* UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
|
7845
7827
|
*
|
7846
7828
|
* @beta
|
7847
7829
|
*/
|
7848
7830
|
export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
|
7849
7831
|
|
7850
7832
|
/**
|
7851
|
-
* props for UnsupportedBrowser UI
|
7833
|
+
* props for {@link UnsupportedBrowser} UI
|
7852
7834
|
*
|
7853
7835
|
* @beta
|
7854
7836
|
*/
|
7855
7837
|
export declare interface UnsupportedBrowserProps {
|
7856
|
-
/** Handler to perform
|
7838
|
+
/** Handler to perform an action when the help link is actioned */
|
7857
7839
|
onTroubleshootingClick?: () => void;
|
7858
7840
|
/** String overrides for the component */
|
7859
|
-
strings
|
7841
|
+
strings?: UnsupportedBrowserStrings;
|
7860
7842
|
}
|
7861
7843
|
|
7862
7844
|
/**
|
@@ -7869,8 +7851,79 @@ export declare interface UnsupportedBrowserStrings {
|
|
7869
7851
|
primaryText: string;
|
7870
7852
|
/** String for the secondary text */
|
7871
7853
|
secondaryText: string;
|
7872
|
-
/** String for the help link */
|
7873
|
-
|
7854
|
+
/** String to display in the text for the help link */
|
7855
|
+
moreHelpLinkText: string;
|
7856
|
+
}
|
7857
|
+
|
7858
|
+
/**
|
7859
|
+
* UI to display to the user that the browser version they are using is out of date
|
7860
|
+
* and not supported by Azure Communications Calling service.
|
7861
|
+
*
|
7862
|
+
* @beta
|
7863
|
+
*/
|
7864
|
+
export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
|
7865
|
+
|
7866
|
+
/**
|
7867
|
+
* props for {@link UnsupportedBrowserVersion} UI
|
7868
|
+
*
|
7869
|
+
* @beta
|
7870
|
+
*/
|
7871
|
+
export declare interface UnsupportedBrowserVersionProps {
|
7872
|
+
/** Handler to perform an action when the help link is actioned */
|
7873
|
+
onTroubleshootingClick?: () => void;
|
7874
|
+
/** String overrides for the component */
|
7875
|
+
strings?: UnsupportedBrowserVersionStrings;
|
7876
|
+
/** Handler to allow user to continue into the call */
|
7877
|
+
onContinueAnywayClick?: () => void;
|
7878
|
+
}
|
7879
|
+
|
7880
|
+
/**
|
7881
|
+
* Strings for UnsupportedBrowser component
|
7882
|
+
*
|
7883
|
+
* @beta
|
7884
|
+
*/
|
7885
|
+
export declare interface UnsupportedBrowserVersionStrings {
|
7886
|
+
/** String for the primary text */
|
7887
|
+
primaryText: string;
|
7888
|
+
/** String for the secondary text */
|
7889
|
+
secondaryText: string;
|
7890
|
+
/** String to display in the text for the help link */
|
7891
|
+
moreHelpLinkText: string;
|
7892
|
+
/** String for continue without updating button */
|
7893
|
+
continueAnywayButtonText?: string;
|
7894
|
+
}
|
7895
|
+
|
7896
|
+
/**
|
7897
|
+
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
|
7898
|
+
*
|
7899
|
+
* @beta
|
7900
|
+
*/
|
7901
|
+
export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
|
7902
|
+
|
7903
|
+
/**
|
7904
|
+
* Props for {@link UnsupportedOperatingSystem} UI
|
7905
|
+
*
|
7906
|
+
* @beta
|
7907
|
+
*/
|
7908
|
+
export declare interface UnsupportedOperatingSystemProps {
|
7909
|
+
/** Handler to perform a action when the help link is actioned */
|
7910
|
+
onTroubleshootingClick?: () => void;
|
7911
|
+
/** String overrides for the component */
|
7912
|
+
strings?: UnsupportedOperatingSystemStrings;
|
7913
|
+
}
|
7914
|
+
|
7915
|
+
/**
|
7916
|
+
* Strings for UnsupportedBrowser component
|
7917
|
+
*
|
7918
|
+
* @beta
|
7919
|
+
*/
|
7920
|
+
export declare interface UnsupportedOperatingSystemStrings {
|
7921
|
+
/** String for the primary text */
|
7922
|
+
primaryText: string;
|
7923
|
+
/** String for the secondary text */
|
7924
|
+
secondaryText: string;
|
7925
|
+
/** String to display in the text for the help link */
|
7926
|
+
moreHelpLinkText: string;
|
7874
7927
|
}
|
7875
7928
|
|
7876
7929
|
/**
|
@@ -7929,22 +7982,6 @@ export declare const useAzureCommunicationCallWithChatAdapter: (args: Partial<Az
|
|
7929
7982
|
*/
|
7930
7983
|
export declare const useAzureCommunicationChatAdapter: (args: Partial<AzureCommunicationChatAdapterArgs>, afterCreate?: ((adapter: ChatAdapter) => Promise<ChatAdapter>) | undefined, beforeDispose?: ((adapter: ChatAdapter) => Promise<void>) | undefined) => ChatAdapter | undefined;
|
7931
7984
|
|
7932
|
-
/**
|
7933
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
7934
|
-
*
|
7935
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
7936
|
-
* creation of the adapter internally.
|
7937
|
-
*
|
7938
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
7939
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
7940
|
-
*
|
7941
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
7942
|
-
* See storybook for typical usage examples.
|
7943
|
-
*
|
7944
|
-
* @beta
|
7945
|
-
*/
|
7946
|
-
export declare const useAzureCommunicationTeamsCallAdapter: (args: Partial<AzureCommunicationCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
7947
|
-
|
7948
7985
|
/**
|
7949
7986
|
* Hook to obtain {@link @azure/communication-calling#Call} from the provider.
|
7950
7987
|
*
|
@@ -8055,6 +8092,22 @@ export declare const useSelector: <ParamT extends Selector | undefined>(selector
|
|
8055
8092
|
*/
|
8056
8093
|
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
8057
8094
|
|
8095
|
+
/**
|
8096
|
+
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
8097
|
+
*
|
8098
|
+
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
8099
|
+
* creation of the adapter internally.
|
8100
|
+
*
|
8101
|
+
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
8102
|
+
* as they are created. The adapter is only created when all arguments are defined.
|
8103
|
+
*
|
8104
|
+
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
8105
|
+
* See storybook for typical usage examples.
|
8106
|
+
*
|
8107
|
+
* @beta
|
8108
|
+
*/
|
8109
|
+
export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
8110
|
+
|
8058
8111
|
/**
|
8059
8112
|
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
8060
8113
|
*
|
@@ -8171,6 +8224,23 @@ export declare interface VideoGalleryProps {
|
|
8171
8224
|
* Camera control information for button to switch cameras.
|
8172
8225
|
*/
|
8173
8226
|
localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
|
8227
|
+
/**
|
8228
|
+
* List of pinned participant userIds
|
8229
|
+
*/
|
8230
|
+
pinnedParticipants?: string[];
|
8231
|
+
/**
|
8232
|
+
* Whether to show the remote video tile contextual menu.
|
8233
|
+
* @defaultValue `true`
|
8234
|
+
*/
|
8235
|
+
showRemoteVideoTileContextualMenu?: boolean;
|
8236
|
+
/**
|
8237
|
+
* This callback will be called when a participant video tile is pinned
|
8238
|
+
*/
|
8239
|
+
onPinParticipant?: (userId: string) => void;
|
8240
|
+
/**
|
8241
|
+
* This callback will be called when a participant video tile is un-pinned
|
8242
|
+
*/
|
8243
|
+
onUnpinParticipant?: (userId: string) => void;
|
8174
8244
|
}
|
8175
8245
|
|
8176
8246
|
/**
|
@@ -8218,6 +8288,8 @@ export declare interface VideoGalleryStream {
|
|
8218
8288
|
isMirrored?: boolean;
|
8219
8289
|
/** Render element of the video stream */
|
8220
8290
|
renderElement?: HTMLElement;
|
8291
|
+
/** Scaling mode of the video stream */
|
8292
|
+
scalingMode?: ViewScalingMode;
|
8221
8293
|
}
|
8222
8294
|
|
8223
8295
|
/**
|
@@ -8240,6 +8312,14 @@ export declare interface VideoGalleryStrings {
|
|
8240
8312
|
localVideoSelectedDescription: string;
|
8241
8313
|
/** placeholder text for participants who does not have a display name*/
|
8242
8314
|
displayNamePlaceholder: string;
|
8315
|
+
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
|
8316
|
+
fitRemoteParticipantToFrame: string;
|
8317
|
+
/** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
|
8318
|
+
fillRemoteParticipantFrame: string;
|
8319
|
+
/** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
|
8320
|
+
pinParticipantForMe: string;
|
8321
|
+
/** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
|
8322
|
+
unpinParticipantForMe: string;
|
8243
8323
|
}
|
8244
8324
|
|
8245
8325
|
/**
|