@azure/communication-react 1.4.2-alpha-202212010027.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 +319 -275
- package/dist/dist-cjs/communication-react/index.js +2528 -1644
- 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/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 +6 -2
- 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 +4 -4
- package/dist/dist-esm/communication-react/src/index.js +3 -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 +2 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +12 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.d.ts +6 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +14 -2
- package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.d.ts +16 -5
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +14 -11
- package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
- 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 +5 -3
- package/dist/dist-esm/react-components/src/components/index.js +2 -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/components/styles/UnsupportedEnvironment.styles.d.ts +7 -3
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +23 -9
- package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -1
- 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 +28 -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 +46 -15
- 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 +9 -5
- package/dist/dist-esm/react-components/src/theming/icons.js +26 -18
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -1
- package/dist/dist-esm/react-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 -37
- 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.js +19 -3
- 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 +69 -25
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +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 +9 -5
- 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-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
|
-
*
|
1209
|
-
|
1210
|
-
devicePermissions?: DevicePermissionRestrictions;
|
1211
|
-
/**
|
1212
|
-
* Opt in call readiness feature for your call
|
1213
|
-
* Setting this to `true` will add call readiness features to the call experience
|
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.
|
1214
1194
|
*/
|
1215
|
-
|
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,28 +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;
|
3817
3840
|
/** Strings for unsupported browser version UI */
|
3818
3841
|
UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
|
3842
|
+
/** Strings for unsupported browser version UI */
|
3843
|
+
UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
|
3819
3844
|
/** Strings for BrowserPemissionDenied */
|
3820
3845
|
BrowserPermissionDenied: BrowserPermissionDeniedStrings;
|
3821
3846
|
/** Strings for BrowserPemissionDeniedIOS */
|
@@ -4127,7 +4152,7 @@ export declare interface ControlBarProps {
|
|
4127
4152
|
*
|
4128
4153
|
* @public
|
4129
4154
|
*/
|
4130
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId
|
4155
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
4131
4156
|
|
4132
4157
|
/**
|
4133
4158
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -4176,21 +4201,6 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
4176
4201
|
*/
|
4177
4202
|
export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
|
4178
4203
|
|
4179
|
-
/**
|
4180
|
-
* @beta
|
4181
|
-
*/
|
4182
|
-
export declare const createAzureCommunicationTeamsCallAdapter: ({ userId, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<TeamsCallAdapter>;
|
4183
|
-
|
4184
|
-
/**
|
4185
|
-
* Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
|
4186
|
-
*
|
4187
|
-
* Useful if you want to keep a reference to {@link StatefulCallClient}.
|
4188
|
-
* Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
|
4189
|
-
*
|
4190
|
-
* @beta
|
4191
|
-
*/
|
4192
|
-
export declare const createAzureCommunicationTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator) => Promise<TeamsCallAdapter>;
|
4193
|
-
|
4194
4204
|
/**
|
4195
4205
|
* Create the default implementation of {@link CallingHandlers} for teams call.
|
4196
4206
|
*
|
@@ -4248,6 +4258,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
|
|
4248
4258
|
*/
|
4249
4259
|
export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
|
4250
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
|
+
|
4251
4276
|
/**
|
4252
4277
|
* Object returned after creating a local or remote VideoStream.
|
4253
4278
|
* This contains helper functions to manipulate the render of the stream.
|
@@ -4547,15 +4572,19 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4547
4572
|
SendBoxSendHovered: JSX.Element;
|
4548
4573
|
VideoTileMicOff: JSX.Element;
|
4549
4574
|
DialpadBackspace: JSX.Element;
|
4550
|
-
|
4551
|
-
|
4552
|
-
|
4553
|
-
|
4554
|
-
|
4575
|
+
SitePermissionsSparkle: JSX.Element;
|
4576
|
+
SitePermissionCamera: JSX.Element;
|
4577
|
+
SitePermissionMic: JSX.Element;
|
4578
|
+
SitePermissionCameraDenied: JSX.Element;
|
4579
|
+
SitePermissionMicDenied: JSX.Element;
|
4555
4580
|
UnsupportedEnvironmentWarning: JSX.Element;
|
4556
4581
|
BrowserPermissionDeniedError: JSX.Element;
|
4557
4582
|
VideoTilePinned: JSX.Element;
|
4558
4583
|
VideoTileMoreOptions: JSX.Element;
|
4584
|
+
VideoTileScaleFit: JSX.Element;
|
4585
|
+
VideoTileScaleFill: JSX.Element;
|
4586
|
+
PinParticipant: JSX.Element;
|
4587
|
+
UnpinParticipant: JSX.Element;
|
4559
4588
|
};
|
4560
4589
|
|
4561
4590
|
/**
|
@@ -4644,17 +4673,44 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4644
4673
|
HoldCallButton: JSX.Element;
|
4645
4674
|
ResumeCall: JSX.Element;
|
4646
4675
|
DialpadBackspace: JSX.Element;
|
4647
|
-
|
4648
|
-
|
4649
|
-
|
4650
|
-
|
4651
|
-
|
4676
|
+
SitePermissionsSparkle: JSX.Element;
|
4677
|
+
SitePermissionCamera: JSX.Element;
|
4678
|
+
SitePermissionMic: JSX.Element;
|
4679
|
+
SitePermissionCameraDenied: JSX.Element;
|
4680
|
+
SitePermissionMicDenied: JSX.Element;
|
4652
4681
|
UnsupportedEnvironmentWarning: JSX.Element;
|
4653
4682
|
BrowserPermissionDeniedError: JSX.Element;
|
4654
4683
|
VideoTilePinned: JSX.Element;
|
4655
4684
|
VideoTileMoreOptions: JSX.Element;
|
4685
|
+
VideoTileScaleFit: JSX.Element;
|
4686
|
+
VideoTileScaleFill: JSX.Element;
|
4687
|
+
PinParticipant: JSX.Element;
|
4688
|
+
UnpinParticipant: JSX.Element;
|
4656
4689
|
};
|
4657
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
|
+
|
4658
4714
|
/**
|
4659
4715
|
* This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
|
4660
4716
|
* optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
|
@@ -4710,95 +4766,6 @@ export declare type DeviceManagerState = {
|
|
4710
4766
|
unparentedViews: LocalVideoStreamState[];
|
4711
4767
|
};
|
4712
4768
|
|
4713
|
-
/**
|
4714
|
-
* A dropdown to trigger device permission prompt
|
4715
|
-
*
|
4716
|
-
* @internal
|
4717
|
-
*/
|
4718
|
-
export declare const _DevicePermissionDropdown: (props: _DevicePermissionDropdownProps) => JSX.Element;
|
4719
|
-
|
4720
|
-
/**
|
4721
|
-
* Props for {@link _DevicePermissionDropdown}.
|
4722
|
-
*
|
4723
|
-
* @internal
|
4724
|
-
*/
|
4725
|
-
export declare interface _DevicePermissionDropdownProps {
|
4726
|
-
/**
|
4727
|
-
* icon shown in dropdown placeholder
|
4728
|
-
*/
|
4729
|
-
icon?: JSX.Element;
|
4730
|
-
/**
|
4731
|
-
* Dropdown content
|
4732
|
-
*/
|
4733
|
-
options?: IDropdownOption[];
|
4734
|
-
/**
|
4735
|
-
* Ask for permissions of devices.
|
4736
|
-
*
|
4737
|
-
* @remarks
|
4738
|
-
* Browser permission window will pop up if permissions are not granted yet
|
4739
|
-
*
|
4740
|
-
* @param constrain - Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4741
|
-
*/
|
4742
|
-
askDevicePermission?(constrain: _PermissionConstraints): Promise<void>;
|
4743
|
-
/**
|
4744
|
-
* Optional callback when component is clicked
|
4745
|
-
*/
|
4746
|
-
onClick?: () => void;
|
4747
|
-
/**
|
4748
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4749
|
-
*/
|
4750
|
-
constrain?: _PermissionConstraints;
|
4751
|
-
/**
|
4752
|
-
* Strings for devicepermissiondropdown
|
4753
|
-
*/
|
4754
|
-
strings?: _DevicePermissionDropdownStrings;
|
4755
|
-
/**
|
4756
|
-
* Styles for devicepermissiondropdown
|
4757
|
-
*/
|
4758
|
-
styles?: Partial<IDropdownStyles>;
|
4759
|
-
}
|
4760
|
-
|
4761
|
-
/**
|
4762
|
-
* Strings of {@link DevicePermissionDropdown} that can be overridden.
|
4763
|
-
*
|
4764
|
-
* @internal
|
4765
|
-
*/
|
4766
|
-
export declare interface _DevicePermissionDropdownStrings {
|
4767
|
-
/**
|
4768
|
-
* dropdown label
|
4769
|
-
*/
|
4770
|
-
label?: string;
|
4771
|
-
/**
|
4772
|
-
* dropdown placeholder
|
4773
|
-
*/
|
4774
|
-
placeHolderText: string;
|
4775
|
-
/** string for action button */
|
4776
|
-
actionButtonContent?: string;
|
4777
|
-
}
|
4778
|
-
|
4779
|
-
/**
|
4780
|
-
* Device Permission restrictions.
|
4781
|
-
* Be able to start a call depending on camera and microphone permission options.
|
4782
|
-
*
|
4783
|
-
* @beta
|
4784
|
-
*/
|
4785
|
-
export declare interface DevicePermissionRestrictions {
|
4786
|
-
/**
|
4787
|
-
* Camera Permission prompts for your call.
|
4788
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4789
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4790
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4791
|
-
*/
|
4792
|
-
camera: 'required' | 'optional' | 'doNotPrompt';
|
4793
|
-
/**
|
4794
|
-
* Microphone permission prompts for your call.
|
4795
|
-
* 'required' - requires the permission to be allowed before permitting the user join the call.
|
4796
|
-
* 'optional' - permission can be disallowed and the user is still permitted to join the call.
|
4797
|
-
* 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
|
4798
|
-
*/
|
4799
|
-
microphone: 'required' | 'optional' | 'doNotPrompt';
|
4800
|
-
}
|
4801
|
-
|
4802
4769
|
/**
|
4803
4770
|
* A button to open a menu that controls device options.
|
4804
4771
|
*
|
@@ -5036,45 +5003,6 @@ export declare interface Disposable {
|
|
5036
5003
|
dispose(): void;
|
5037
5004
|
}
|
5038
5005
|
|
5039
|
-
/**
|
5040
|
-
* @beta
|
5041
|
-
* Strings for DomainPermissions component
|
5042
|
-
*/
|
5043
|
-
export declare type DomainPermissionsStrings = {
|
5044
|
-
/**
|
5045
|
-
* Main text string.
|
5046
|
-
*/
|
5047
|
-
primaryText?: string;
|
5048
|
-
/**
|
5049
|
-
* Subtext string.
|
5050
|
-
*/
|
5051
|
-
secondaryText?: string;
|
5052
|
-
/**
|
5053
|
-
* More help link string.
|
5054
|
-
*/
|
5055
|
-
linkText?: string;
|
5056
|
-
/**
|
5057
|
-
* Primary button text string.
|
5058
|
-
*/
|
5059
|
-
primaryButtonText?: string;
|
5060
|
-
/**
|
5061
|
-
* Aria label describing the content of the container
|
5062
|
-
*/
|
5063
|
-
ariaLabel?: string;
|
5064
|
-
};
|
5065
|
-
|
5066
|
-
/**
|
5067
|
-
* Fluent styles for {@link DomainPermissionsContainer}.
|
5068
|
-
*
|
5069
|
-
* @beta
|
5070
|
-
*/
|
5071
|
-
export declare interface DomainPermissionsStyles extends BaseCustomStyles {
|
5072
|
-
/** Styles for the primary button. */
|
5073
|
-
primaryButton?: IButtonStyles;
|
5074
|
-
/** Styles for the help troubleshooting link text. */
|
5075
|
-
troubleshootingLink?: ILinkStyles;
|
5076
|
-
}
|
5077
|
-
|
5078
5006
|
/**
|
5079
5007
|
* DTMF tone for PSTN calls.
|
5080
5008
|
*
|
@@ -5250,6 +5178,10 @@ export declare interface ErrorBarStrings {
|
|
5250
5178
|
* Message shown when microphone can be enumerated but access is blocked by the system.
|
5251
5179
|
*/
|
5252
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;
|
5253
5185
|
/**
|
5254
5186
|
* Message shown when microphone is muted by the system (not by local or remote participants)
|
5255
5187
|
*/
|
@@ -5272,6 +5204,10 @@ export declare interface ErrorBarStrings {
|
|
5272
5204
|
* Message shown when camera can be enumerated but access is blocked by the system.
|
5273
5205
|
*/
|
5274
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;
|
5275
5211
|
/**
|
5276
5212
|
* Message shown when local video fails to start because camera is already in use by
|
5277
5213
|
* another applciation.
|
@@ -5547,7 +5483,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
|
|
5547
5483
|
*
|
5548
5484
|
* @public
|
5549
5485
|
*/
|
5550
|
-
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;
|
5551
5487
|
|
5552
5488
|
/**
|
5553
5489
|
* Get the selector for a specified component.
|
@@ -6539,24 +6475,24 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6539
6475
|
*
|
6540
6476
|
* @beta
|
6541
6477
|
*/
|
6542
|
-
export declare const
|
6478
|
+
export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
|
6543
6479
|
|
6544
6480
|
/**
|
6545
6481
|
* @beta
|
6546
|
-
* Props for
|
6482
|
+
* Props for MicrophoneSitePermissions component.
|
6547
6483
|
*/
|
6548
|
-
export declare interface
|
6484
|
+
export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
|
6549
6485
|
/** Icon name for the microphone icon */
|
6550
6486
|
microphoneIconName?: string;
|
6551
|
-
/** Strings for use with the {@link
|
6552
|
-
strings?:
|
6487
|
+
/** Strings for use with the {@link MicrophoneSitePermissions} */
|
6488
|
+
strings?: MicrophoneSitePermissionsStrings;
|
6553
6489
|
}
|
6554
6490
|
|
6555
6491
|
/**
|
6556
6492
|
* @beta
|
6557
|
-
* Strings for
|
6493
|
+
* Strings for MicrophoneSitePermissions component.
|
6558
6494
|
*/
|
6559
|
-
export declare type
|
6495
|
+
export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
|
6560
6496
|
|
6561
6497
|
/**
|
6562
6498
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
@@ -6956,6 +6892,10 @@ export declare interface ParticipantsButtonStrings {
|
|
6956
6892
|
* Label of menu button to mute all participants
|
6957
6893
|
*/
|
6958
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;
|
6959
6899
|
}
|
6960
6900
|
|
6961
6901
|
/**
|
@@ -7002,16 +6942,6 @@ export declare type ParticipantsRemovedListener = (event: {
|
|
7002
6942
|
*/
|
7003
6943
|
export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
|
7004
6944
|
|
7005
|
-
/**
|
7006
|
-
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
7007
|
-
*
|
7008
|
-
* @internal
|
7009
|
-
*/
|
7010
|
-
export declare type _PermissionConstraints = {
|
7011
|
-
audio: boolean;
|
7012
|
-
video: boolean;
|
7013
|
-
};
|
7014
|
-
|
7015
6945
|
/**
|
7016
6946
|
* An array of key value pairs that stores each sender's display name and last read message
|
7017
6947
|
*
|
@@ -7341,6 +7271,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
|
|
7341
7271
|
systemMessage?: IStyle;
|
7342
7272
|
}
|
7343
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
|
+
|
7344
7313
|
/**
|
7345
7314
|
* Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
|
7346
7315
|
* The interface provides access to proxied state and also allows registering a handler for state change events. For
|
@@ -7472,7 +7441,7 @@ export declare type StatefulCallClientArgs = {
|
|
7472
7441
|
* UserId from SDK. This is provided for developer convenience to easily access the userId from the
|
7473
7442
|
* state. It is not used by StatefulCallClient.
|
7474
7443
|
*/
|
7475
|
-
userId: CommunicationUserIdentifier;
|
7444
|
+
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
7476
7445
|
/**
|
7477
7446
|
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
7478
7447
|
* to start a PSTN call.
|
@@ -7651,6 +7620,17 @@ export declare interface TeamsCallAdapter extends CommonCallAdapter {
|
|
7651
7620
|
startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
|
7652
7621
|
}
|
7653
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
|
+
|
7654
7634
|
/**
|
7655
7635
|
* Object containing all the teams call handlers required for calling components.
|
7656
7636
|
*
|
@@ -7858,7 +7838,7 @@ export declare interface UnsupportedBrowserProps {
|
|
7858
7838
|
/** Handler to perform an action when the help link is actioned */
|
7859
7839
|
onTroubleshootingClick?: () => void;
|
7860
7840
|
/** String overrides for the component */
|
7861
|
-
strings
|
7841
|
+
strings?: UnsupportedBrowserStrings;
|
7862
7842
|
}
|
7863
7843
|
|
7864
7844
|
/**
|
@@ -7872,7 +7852,7 @@ export declare interface UnsupportedBrowserStrings {
|
|
7872
7852
|
/** String for the secondary text */
|
7873
7853
|
secondaryText: string;
|
7874
7854
|
/** String to display in the text for the help link */
|
7875
|
-
|
7855
|
+
moreHelpLinkText: string;
|
7876
7856
|
}
|
7877
7857
|
|
7878
7858
|
/**
|
@@ -7892,7 +7872,9 @@ export declare interface UnsupportedBrowserVersionProps {
|
|
7892
7872
|
/** Handler to perform an action when the help link is actioned */
|
7893
7873
|
onTroubleshootingClick?: () => void;
|
7894
7874
|
/** String overrides for the component */
|
7895
|
-
strings
|
7875
|
+
strings?: UnsupportedBrowserVersionStrings;
|
7876
|
+
/** Handler to allow user to continue into the call */
|
7877
|
+
onContinueAnywayClick?: () => void;
|
7896
7878
|
}
|
7897
7879
|
|
7898
7880
|
/**
|
@@ -7906,7 +7888,42 @@ export declare interface UnsupportedBrowserVersionStrings {
|
|
7906
7888
|
/** String for the secondary text */
|
7907
7889
|
secondaryText: string;
|
7908
7890
|
/** String to display in the text for the help link */
|
7909
|
-
|
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;
|
7910
7927
|
}
|
7911
7928
|
|
7912
7929
|
/**
|
@@ -7965,22 +7982,6 @@ export declare const useAzureCommunicationCallWithChatAdapter: (args: Partial<Az
|
|
7965
7982
|
*/
|
7966
7983
|
export declare const useAzureCommunicationChatAdapter: (args: Partial<AzureCommunicationChatAdapterArgs>, afterCreate?: ((adapter: ChatAdapter) => Promise<ChatAdapter>) | undefined, beforeDispose?: ((adapter: ChatAdapter) => Promise<void>) | undefined) => ChatAdapter | undefined;
|
7967
7984
|
|
7968
|
-
/**
|
7969
|
-
* A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
|
7970
|
-
*
|
7971
|
-
* Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
|
7972
|
-
* creation of the adapter internally.
|
7973
|
-
*
|
7974
|
-
* Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
|
7975
|
-
* as they are created. The adapter is only created when all arguments are defined.
|
7976
|
-
*
|
7977
|
-
* Note that you must memoize the arguments to avoid recreating adapter on each render.
|
7978
|
-
* See storybook for typical usage examples.
|
7979
|
-
*
|
7980
|
-
* @beta
|
7981
|
-
*/
|
7982
|
-
export declare const useAzureCommunicationTeamsCallAdapter: (args: Partial<AzureCommunicationCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
|
7983
|
-
|
7984
7985
|
/**
|
7985
7986
|
* Hook to obtain {@link @azure/communication-calling#Call} from the provider.
|
7986
7987
|
*
|
@@ -8091,6 +8092,22 @@ export declare const useSelector: <ParamT extends Selector | undefined>(selector
|
|
8091
8092
|
*/
|
8092
8093
|
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
8093
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
|
+
|
8094
8111
|
/**
|
8095
8112
|
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
8096
8113
|
*
|
@@ -8207,6 +8224,23 @@ export declare interface VideoGalleryProps {
|
|
8207
8224
|
* Camera control information for button to switch cameras.
|
8208
8225
|
*/
|
8209
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;
|
8210
8244
|
}
|
8211
8245
|
|
8212
8246
|
/**
|
@@ -8254,6 +8288,8 @@ export declare interface VideoGalleryStream {
|
|
8254
8288
|
isMirrored?: boolean;
|
8255
8289
|
/** Render element of the video stream */
|
8256
8290
|
renderElement?: HTMLElement;
|
8291
|
+
/** Scaling mode of the video stream */
|
8292
|
+
scalingMode?: ViewScalingMode;
|
8257
8293
|
}
|
8258
8294
|
|
8259
8295
|
/**
|
@@ -8276,6 +8312,14 @@ export declare interface VideoGalleryStrings {
|
|
8276
8312
|
localVideoSelectedDescription: string;
|
8277
8313
|
/** placeholder text for participants who does not have a display name*/
|
8278
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;
|
8279
8323
|
}
|
8280
8324
|
|
8281
8325
|
/**
|