@azure/communication-react 1.9.0-beta.1 → 1.10.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/communication-react.d.ts +214 -237
- package/dist/dist-cjs/communication-react/index.js +363 -371
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +5 -9
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +2 -5
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +3 -4
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Caption.js +1 -0
- package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +20 -16
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +6 -9
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +2 -2
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +20 -19
- package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageGallery.js +8 -16
- package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +1 -5
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +4 -5
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.js +1 -1
- package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VerticalGallery.d.ts +5 -5
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js +2 -2
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +7 -3
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +25 -15
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.d.ts +2 -2
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -4
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +4 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +6 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +4 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +6 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +2 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +3 -3
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +12 -0
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +25 -2
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +2 -2
- package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +0 -4
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +2 -12
- package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.d.ts +0 -4
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +0 -9
- package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +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 +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/fi-FI/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/he-IL/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/nb-NO/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/pl-PL/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/sv-SE/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 +87 -87
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +7 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +28 -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/components/CallArrangement.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +32 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +1 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +6 -35
- 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/NetworkReconnectTile.js +0 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +0 -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.d.ts +3 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +2 -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/LobbyPage.js +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +0 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +1 -80
- package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- 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/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +22 -4
- package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.d.ts +84 -23
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +13 -5
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +90 -87
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +4 -2
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +0 -79
- package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +1 -2
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +5 -73
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +0 -13
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +0 -32
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalizationProvider.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/localization/LocalizationProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAmBzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AA8InD;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAkB,sBAAsB,CAAC,CAAC;AAcpF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAgC,EAAe,EAAE;IACpF,MAAM,EACJ,MAAM,EACN,QAAQ,EACT,GAAG,KAAK,CAAC;IACV,OAAO,oBAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM,IAAG,QAAQ,CAA0B,CAAC;AACpF,CAAC,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAoB,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { createContext, useContext } from 'react';\nimport { CameraButtonStrings, EndCallButtonStrings, ErrorBarStrings, MessageStatusIndicatorStrings, MessageThreadStrings, MicrophoneButtonStrings, DevicesButtonStrings, ParticipantsButtonStrings, ParticipantItemStrings, ScreenShareButtonStrings, SendBoxStrings, TypingIndicatorStrings, VideoGalleryStrings } from '../components';\n/* @conditional-compile-remove(raise-hand) */\nimport { RaiseHandButtonStrings } from '../components';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\nimport { HoldButtonStrings } from '../components';\n/* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\nimport { DialpadStrings } from '../components';\n/* @conditional-compile-remove(call-readiness) */\nimport { SitePermissionsStrings } from '../components/DevicePermissions/SitePermissionsScaffolding';\n/* @conditional-compile-remove(call-readiness) */\nimport { BrowserPermissionDeniedStrings } from '../components/DevicePermissions/BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nimport { BrowserPermissionDeniedIOSStrings } from '../components/DevicePermissions/BrowserPermissionDeniedIOS';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedBrowserStrings } from '../components/UnsupportedBrowser';\n/* @conditional-compile-remove(one-to-n-calling) */\n// @conditional-compile-remove(PSTN-calls)\nimport { VideoTileStrings } from '../components/VideoTile';\nimport { COMPONENT_LOCALE_EN_US } from './locales';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedBrowserVersionStrings } from '../components/UnsupportedBrowserVersion';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedOperatingSystemStrings } from '../components/UnsupportedOperatingSystem';\n/* @conditional-compile-remove(vertical-gallery) */\nimport { VerticalGalleryStrings } from '../components/VerticalGallery';\n/* @conditional-compile-remove(total-participant-count) */\nimport { ParticipantListStrings } from '../components/ParticipantList';\n/* @conditional-compile-remove(mention) */\nimport { MentionPopoverStrings } from '../components/MentionPopover';\n/* @conditional-compile-remove(image-gallery) */\nimport { ImageGalleryStrings } from '../components/ImageGallery';\n\n/**\n * Locale information for all components exported from this library.\n *\n * @public\n */\nexport interface ComponentLocale {\n /** Strings for components */\n strings: ComponentStrings;\n /* @conditional-compile-remove(date-time-customization) */\n /**\n * Optional function to provide customized date format.\n * @beta\n */\n onDisplayDateTimeString?: (messageDate: Date) => string;\n}\n\n/**\n * Strings used by all components exported from this library.\n *\n * @public\n */\nexport interface ComponentStrings {\n /** Strings for MessageThread */\n messageThread: MessageThreadStrings;\n /** Strings for ParticipantItem */\n participantItem: ParticipantItemStrings;\n /** Strings for CameraButton */\n cameraButton: CameraButtonStrings;\n /** Strings for MicrophoneButton */\n microphoneButton: MicrophoneButtonStrings;\n /** Strings for EndCallButton */\n endCallButton: EndCallButtonStrings;\n /** Strings for DevicesButton */\n devicesButton: DevicesButtonStrings;\n /** Strings for ParticipantsButton */\n participantsButton: ParticipantsButtonStrings;\n /** Strings for ScreenShareButton */\n screenShareButton: ScreenShareButtonStrings;\n /* @conditional-compile-remove(raise-hand) */\n /** Strings for RaiseHandButton */\n raiseHandButton: RaiseHandButtonStrings;\n /** Strings for TypingIndicator */\n typingIndicator: TypingIndicatorStrings;\n /** Strings for SendBox */\n sendBox: SendBoxStrings;\n /* @conditional-compile-remove(mention) */\n /** Strings for MentionPopover */\n mentionPopover: MentionPopoverStrings;\n /* @conditional-compile-remove(image-gallery) */\n /** Strings for ImageGallery */\n imageGallery: ImageGalleryStrings;\n /** Strings for MessageStatusIndicator */\n messageStatusIndicator: MessageStatusIndicatorStrings;\n /** Strings for ErroBar */\n errorBar: ErrorBarStrings;\n /** Strings for VideoGallery */\n videoGallery: VideoGalleryStrings;\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n /** Strings for Dialpad */\n dialpad: DialpadStrings;\n /* @conditional-compile-remove(one-to-n-calling) */\n // @conditional-compile-remove(PSTN-calls)\n /** Strings for VideoTile */\n videoTile: VideoTileStrings;\n /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */\n /** Strings for HoldButton */\n holdButton: HoldButtonStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n CameraSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n MicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n CameraSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n MicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n CameraSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n MicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser UI */\n UnsupportedBrowser: UnsupportedBrowserStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser version UI */\n UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser version UI */\n UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for BrowserPemissionDenied */\n BrowserPermissionDenied: BrowserPermissionDeniedStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for BrowserPemissionDeniedIOS */\n BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;\n /* @conditional-compile-remove(vertical-gallery) */\n /**\n * Strings for the VerticalGallery.\n */\n
|
|
1
|
+
{"version":3,"file":"LocalizationProvider.js","sourceRoot":"","sources":["../../../../../preprocess-dist/react-components/src/localization/LocalizationProvider.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAmBzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AA8InD;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAkB,sBAAsB,CAAC,CAAC;AAcpF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAAgC,EAAe,EAAE;IACpF,MAAM,EACJ,MAAM,EACN,QAAQ,EACT,GAAG,KAAK,CAAC;IACV,OAAO,oBAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM,IAAG,QAAQ,CAA0B,CAAC;AACpF,CAAC,CAAC;AAEF,kCAAkC;AAClC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAoB,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport React, { createContext, useContext } from 'react';\nimport { CameraButtonStrings, EndCallButtonStrings, ErrorBarStrings, MessageStatusIndicatorStrings, MessageThreadStrings, MicrophoneButtonStrings, DevicesButtonStrings, ParticipantsButtonStrings, ParticipantItemStrings, ScreenShareButtonStrings, SendBoxStrings, TypingIndicatorStrings, VideoGalleryStrings } from '../components';\n/* @conditional-compile-remove(raise-hand) */\nimport { RaiseHandButtonStrings } from '../components';\n/* @conditional-compile-remove(PSTN-calls) */ /* @conditional-compile-remove(one-to-n-calling) */\nimport { HoldButtonStrings } from '../components';\n/* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\nimport { DialpadStrings } from '../components';\n/* @conditional-compile-remove(call-readiness) */\nimport { SitePermissionsStrings } from '../components/DevicePermissions/SitePermissionsScaffolding';\n/* @conditional-compile-remove(call-readiness) */\nimport { BrowserPermissionDeniedStrings } from '../components/DevicePermissions/BrowserPermissionDenied';\n/* @conditional-compile-remove(call-readiness) */\nimport { BrowserPermissionDeniedIOSStrings } from '../components/DevicePermissions/BrowserPermissionDeniedIOS';\n/* @conditional-compile-remove(call-readiness) */ /* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedBrowserStrings } from '../components/UnsupportedBrowser';\n/* @conditional-compile-remove(one-to-n-calling) */\n// @conditional-compile-remove(PSTN-calls)\nimport { VideoTileStrings } from '../components/VideoTile';\nimport { COMPONENT_LOCALE_EN_US } from './locales';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedBrowserVersionStrings } from '../components/UnsupportedBrowserVersion';\n/* @conditional-compile-remove(unsupported-browser) */\nimport { UnsupportedOperatingSystemStrings } from '../components/UnsupportedOperatingSystem';\n/* @conditional-compile-remove(vertical-gallery) */\nimport { VerticalGalleryStrings } from '../components/VerticalGallery';\n/* @conditional-compile-remove(total-participant-count) */\nimport { ParticipantListStrings } from '../components/ParticipantList';\n/* @conditional-compile-remove(mention) */\nimport { MentionPopoverStrings } from '../components/MentionPopover';\n/* @conditional-compile-remove(image-gallery) */\nimport { ImageGalleryStrings } from '../components/ImageGallery';\n\n/**\n * Locale information for all components exported from this library.\n *\n * @public\n */\nexport interface ComponentLocale {\n /** Strings for components */\n strings: ComponentStrings;\n /* @conditional-compile-remove(date-time-customization) */\n /**\n * Optional function to provide customized date format.\n * @beta\n */\n onDisplayDateTimeString?: (messageDate: Date) => string;\n}\n\n/**\n * Strings used by all components exported from this library.\n *\n * @public\n */\nexport interface ComponentStrings {\n /** Strings for MessageThread */\n messageThread: MessageThreadStrings;\n /** Strings for ParticipantItem */\n participantItem: ParticipantItemStrings;\n /** Strings for CameraButton */\n cameraButton: CameraButtonStrings;\n /** Strings for MicrophoneButton */\n microphoneButton: MicrophoneButtonStrings;\n /** Strings for EndCallButton */\n endCallButton: EndCallButtonStrings;\n /** Strings for DevicesButton */\n devicesButton: DevicesButtonStrings;\n /** Strings for ParticipantsButton */\n participantsButton: ParticipantsButtonStrings;\n /** Strings for ScreenShareButton */\n screenShareButton: ScreenShareButtonStrings;\n /* @conditional-compile-remove(raise-hand) */\n /** Strings for RaiseHandButton */\n raiseHandButton: RaiseHandButtonStrings;\n /** Strings for TypingIndicator */\n typingIndicator: TypingIndicatorStrings;\n /** Strings for SendBox */\n sendBox: SendBoxStrings;\n /* @conditional-compile-remove(mention) */\n /** Strings for MentionPopover */\n mentionPopover: MentionPopoverStrings;\n /* @conditional-compile-remove(image-gallery) */\n /** Strings for ImageGallery */\n imageGallery: ImageGalleryStrings;\n /** Strings for MessageStatusIndicator */\n messageStatusIndicator: MessageStatusIndicatorStrings;\n /** Strings for ErroBar */\n errorBar: ErrorBarStrings;\n /** Strings for VideoGallery */\n videoGallery: VideoGalleryStrings;\n /* @conditional-compile-remove(dialpad) */ /* @conditional-compile-remove(PSTN-calls) */\n /** Strings for Dialpad */\n dialpad: DialpadStrings;\n /* @conditional-compile-remove(one-to-n-calling) */\n // @conditional-compile-remove(PSTN-calls)\n /** Strings for VideoTile */\n videoTile: VideoTileStrings;\n /* @conditional-compile-remove(one-to-n-calling) @conditional-compile-remove(PSTN-calls) */\n /** Strings for HoldButton */\n holdButton: HoldButtonStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n CameraSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission request prompt */\n MicrophoneSitePermissionsRequest: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n CameraSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission generic checking prompt */\n MicrophoneSitePermissionsCheck: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n CameraSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt */\n MicrophoneSitePermissionsDenied: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n CameraSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for a site's permission denied prompt for safari browsers*/\n MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser UI */\n UnsupportedBrowser: UnsupportedBrowserStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser version UI */\n UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;\n /* @conditional-compile-remove(unsupported-browser) */\n /** Strings for unsupported browser version UI */\n UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for BrowserPemissionDenied */\n BrowserPermissionDenied: BrowserPermissionDeniedStrings;\n /* @conditional-compile-remove(call-readiness) */\n /** Strings for BrowserPemissionDeniedIOS */\n BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;\n /* @conditional-compile-remove(vertical-gallery) */\n /**\n * Strings for the VerticalGallery.\n */\n verticalGallery: VerticalGalleryStrings;\n /* @conditional-compile-remove(total-participant-count) */\n /** Strings for the participant list component */\n ParticipantList: ParticipantListStrings;\n}\n\n/**\n * Context for providing localized strings to components exported from this library.\n *\n * @public\n */\nexport const LocaleContext = createContext<ComponentLocale>(COMPONENT_LOCALE_EN_US);\n\n/**\n * Props for {@link LocalizationProvider}.\n *\n * @public\n */\nexport type LocalizationProviderProps = {\n /** Locale context to provide components */\n locale: ComponentLocale;\n /** Children to provide locale context. */\n children: React.ReactNode;\n};\n\n/**\n * Provider to provide localized strings for this library's react components.\n *\n * @remarks Components will be provided localized strings in English (US) by default if this\n * provider is not used.\n *\n * @public\n */\nexport const LocalizationProvider = (props: LocalizationProviderProps): JSX.Element => {\n const {\n locale,\n children\n } = props;\n return <LocaleContext.Provider value={locale}>{children}</LocaleContext.Provider>;\n};\n\n/** React hook to access locale */\nexport const useLocale = (): ComponentLocale => useContext(LocaleContext);"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Icons used by the React components exported from this library.
|
|
4
4
|
*
|
|
@@ -15,91 +15,91 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
|
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
17
|
export declare const DEFAULT_COMPONENT_ICONS: {
|
|
18
|
-
ChatMessageOptions: JSX.Element;
|
|
19
|
-
ControlButtonCameraOff: JSX.Element;
|
|
20
|
-
ControlButtonCameraOn: JSX.Element;
|
|
21
|
-
ControlButtonEndCall: JSX.Element;
|
|
22
|
-
ControlButtonMicOff: JSX.Element;
|
|
23
|
-
ControlButtonMicOn: JSX.Element;
|
|
24
|
-
ControlButtonOptions: JSX.Element;
|
|
25
|
-
ControlButtonParticipants: JSX.Element;
|
|
26
|
-
ControlButtonParticipantsContextualMenuItem: JSX.Element;
|
|
27
|
-
ControlButtonScreenShareStart: JSX.Element;
|
|
28
|
-
ControlButtonScreenShareStop: JSX.Element;
|
|
29
|
-
ControlButtonRaiseHand: JSX.Element;
|
|
30
|
-
ControlButtonLowerHand: JSX.Element;
|
|
31
|
-
RaiseHandContextualMenuItem: JSX.Element;
|
|
32
|
-
LowerHandContextualMenuItem: JSX.Element;
|
|
33
|
-
CancelFileUpload: JSX.Element;
|
|
34
|
-
DownloadFile: JSX.Element;
|
|
35
|
-
DataLossPreventionProhibited: JSX.Element;
|
|
36
|
-
EditBoxCancel: JSX.Element;
|
|
37
|
-
EditBoxSubmit: JSX.Element;
|
|
38
|
-
ErrorBarCallCameraAccessDenied: JSX.Element;
|
|
39
|
-
ErrorBarCallCameraAlreadyInUse: JSX.Element;
|
|
40
|
-
ErrorBarCallLocalVideoFreeze: JSX.Element;
|
|
41
|
-
ErrorBarCallMacOsCameraAccessDenied: JSX.Element;
|
|
42
|
-
ErrorBarCallMacOsMicrophoneAccessDenied: JSX.Element;
|
|
43
|
-
ErrorBarCallMicrophoneAccessDenied: JSX.Element;
|
|
44
|
-
ErrorBarCallMicrophoneMutedBySystem: JSX.Element;
|
|
45
|
-
ErrorBarCallMicrophoneUnmutedBySystem: JSX.Element;
|
|
46
|
-
ErrorBarCallNetworkQualityLow: JSX.Element;
|
|
47
|
-
ErrorBarCallNoMicrophoneFound: JSX.Element;
|
|
48
|
-
ErrorBarCallNoSpeakerFound: JSX.Element;
|
|
49
|
-
ErrorBarClear: JSX.Element;
|
|
50
|
-
ErrorBarCallVideoRecoveredBySystem: JSX.Element;
|
|
51
|
-
ErrorBarCallVideoStoppedBySystem: JSX.Element;
|
|
52
|
-
HorizontalGalleryLeftButton: JSX.Element;
|
|
53
|
-
HorizontalGalleryRightButton: JSX.Element;
|
|
54
|
-
MessageDelivered: JSX.Element;
|
|
55
|
-
MessageEdit: JSX.Element;
|
|
56
|
-
MessageFailed: JSX.Element;
|
|
57
|
-
MessageRemove: JSX.Element;
|
|
58
|
-
MessageResend: JSX.Element;
|
|
59
|
-
MessageSeen: JSX.Element;
|
|
60
|
-
MessageSending: JSX.Element;
|
|
61
|
-
OptionsCamera: JSX.Element;
|
|
62
|
-
OptionsMic: JSX.Element;
|
|
63
|
-
OptionsSpeaker: JSX.Element;
|
|
64
|
-
ParticipantItemMicOff: JSX.Element;
|
|
65
|
-
ParticipantItemOptions: JSX.Element;
|
|
66
|
-
ParticipantItemOptionsHovered: JSX.Element;
|
|
67
|
-
ParticipantItemScreenShareStart: JSX.Element;
|
|
68
|
-
HoldCallContextualMenuItem: JSX.Element;
|
|
69
|
-
HoldCallButton: JSX.Element;
|
|
70
|
-
ResumeCall: JSX.Element;
|
|
71
|
-
SendBoxSend: JSX.Element;
|
|
72
|
-
SendBoxSendHovered: JSX.Element;
|
|
73
|
-
VideoTileMicOff: JSX.Element;
|
|
74
|
-
DialpadBackspace: JSX.Element;
|
|
75
|
-
SitePermissionsSparkle: JSX.Element;
|
|
76
|
-
SitePermissionCamera: JSX.Element;
|
|
77
|
-
SitePermissionMic: JSX.Element;
|
|
78
|
-
SitePermissionCameraDenied: JSX.Element;
|
|
79
|
-
SitePermissionMicDenied: JSX.Element;
|
|
80
|
-
UnsupportedEnvironmentWarning: JSX.Element;
|
|
81
|
-
BrowserPermissionDeniedError: JSX.Element;
|
|
82
|
-
VideoTilePinned: JSX.Element;
|
|
83
|
-
VideoTileMoreOptions: JSX.Element;
|
|
84
|
-
VideoTileScaleFit: JSX.Element;
|
|
85
|
-
VideoTileScaleFill: JSX.Element;
|
|
86
|
-
PinParticipant: JSX.Element;
|
|
87
|
-
UnpinParticipant: JSX.Element;
|
|
88
|
-
SplitButtonPrimaryActionCameraOn: JSX.Element;
|
|
89
|
-
SplitButtonPrimaryActionCameraOff: JSX.Element;
|
|
90
|
-
SplitButtonPrimaryActionMicUnmuted: JSX.Element;
|
|
91
|
-
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
|
92
|
-
VerticalGalleryLeftButton: JSX.Element;
|
|
93
|
-
VerticalGalleryRightButton: JSX.Element;
|
|
94
|
-
ControlButtonVideoEffectsOption: JSX.Element;
|
|
95
|
-
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
|
96
|
-
CaptionsIcon: JSX.Element;
|
|
97
|
-
CaptionsOffIcon: JSX.Element;
|
|
98
|
-
CaptionsSettingsIcon: JSX.Element;
|
|
99
|
-
ChangeSpokenLanguageIcon: JSX.Element;
|
|
100
|
-
ChangeCaptionLanguageIcon: JSX.Element;
|
|
101
|
-
ContextMenuCameraIcon: JSX.Element;
|
|
102
|
-
ContextMenuMicIcon: JSX.Element;
|
|
103
|
-
ContextMenuSpeakerIcon: JSX.Element;
|
|
18
|
+
ChatMessageOptions: React.JSX.Element;
|
|
19
|
+
ControlButtonCameraOff: React.JSX.Element;
|
|
20
|
+
ControlButtonCameraOn: React.JSX.Element;
|
|
21
|
+
ControlButtonEndCall: React.JSX.Element;
|
|
22
|
+
ControlButtonMicOff: React.JSX.Element;
|
|
23
|
+
ControlButtonMicOn: React.JSX.Element;
|
|
24
|
+
ControlButtonOptions: React.JSX.Element;
|
|
25
|
+
ControlButtonParticipants: React.JSX.Element;
|
|
26
|
+
ControlButtonParticipantsContextualMenuItem: React.JSX.Element;
|
|
27
|
+
ControlButtonScreenShareStart: React.JSX.Element;
|
|
28
|
+
ControlButtonScreenShareStop: React.JSX.Element;
|
|
29
|
+
ControlButtonRaiseHand: React.JSX.Element;
|
|
30
|
+
ControlButtonLowerHand: React.JSX.Element;
|
|
31
|
+
RaiseHandContextualMenuItem: React.JSX.Element;
|
|
32
|
+
LowerHandContextualMenuItem: React.JSX.Element;
|
|
33
|
+
CancelFileUpload: React.JSX.Element;
|
|
34
|
+
DownloadFile: React.JSX.Element;
|
|
35
|
+
DataLossPreventionProhibited: React.JSX.Element;
|
|
36
|
+
EditBoxCancel: React.JSX.Element;
|
|
37
|
+
EditBoxSubmit: React.JSX.Element;
|
|
38
|
+
ErrorBarCallCameraAccessDenied: React.JSX.Element;
|
|
39
|
+
ErrorBarCallCameraAlreadyInUse: React.JSX.Element;
|
|
40
|
+
ErrorBarCallLocalVideoFreeze: React.JSX.Element;
|
|
41
|
+
ErrorBarCallMacOsCameraAccessDenied: React.JSX.Element;
|
|
42
|
+
ErrorBarCallMacOsMicrophoneAccessDenied: React.JSX.Element;
|
|
43
|
+
ErrorBarCallMicrophoneAccessDenied: React.JSX.Element;
|
|
44
|
+
ErrorBarCallMicrophoneMutedBySystem: React.JSX.Element;
|
|
45
|
+
ErrorBarCallMicrophoneUnmutedBySystem: React.JSX.Element;
|
|
46
|
+
ErrorBarCallNetworkQualityLow: React.JSX.Element;
|
|
47
|
+
ErrorBarCallNoMicrophoneFound: React.JSX.Element;
|
|
48
|
+
ErrorBarCallNoSpeakerFound: React.JSX.Element;
|
|
49
|
+
ErrorBarClear: React.JSX.Element;
|
|
50
|
+
ErrorBarCallVideoRecoveredBySystem: React.JSX.Element;
|
|
51
|
+
ErrorBarCallVideoStoppedBySystem: React.JSX.Element;
|
|
52
|
+
HorizontalGalleryLeftButton: React.JSX.Element;
|
|
53
|
+
HorizontalGalleryRightButton: React.JSX.Element;
|
|
54
|
+
MessageDelivered: React.JSX.Element;
|
|
55
|
+
MessageEdit: React.JSX.Element;
|
|
56
|
+
MessageFailed: React.JSX.Element;
|
|
57
|
+
MessageRemove: React.JSX.Element;
|
|
58
|
+
MessageResend: React.JSX.Element;
|
|
59
|
+
MessageSeen: React.JSX.Element;
|
|
60
|
+
MessageSending: React.JSX.Element;
|
|
61
|
+
OptionsCamera: React.JSX.Element;
|
|
62
|
+
OptionsMic: React.JSX.Element;
|
|
63
|
+
OptionsSpeaker: React.JSX.Element;
|
|
64
|
+
ParticipantItemMicOff: React.JSX.Element;
|
|
65
|
+
ParticipantItemOptions: React.JSX.Element;
|
|
66
|
+
ParticipantItemOptionsHovered: React.JSX.Element;
|
|
67
|
+
ParticipantItemScreenShareStart: React.JSX.Element;
|
|
68
|
+
HoldCallContextualMenuItem: React.JSX.Element;
|
|
69
|
+
HoldCallButton: React.JSX.Element;
|
|
70
|
+
ResumeCall: React.JSX.Element;
|
|
71
|
+
SendBoxSend: React.JSX.Element;
|
|
72
|
+
SendBoxSendHovered: React.JSX.Element;
|
|
73
|
+
VideoTileMicOff: React.JSX.Element;
|
|
74
|
+
DialpadBackspace: React.JSX.Element;
|
|
75
|
+
SitePermissionsSparkle: React.JSX.Element;
|
|
76
|
+
SitePermissionCamera: React.JSX.Element;
|
|
77
|
+
SitePermissionMic: React.JSX.Element;
|
|
78
|
+
SitePermissionCameraDenied: React.JSX.Element;
|
|
79
|
+
SitePermissionMicDenied: React.JSX.Element;
|
|
80
|
+
UnsupportedEnvironmentWarning: React.JSX.Element;
|
|
81
|
+
BrowserPermissionDeniedError: React.JSX.Element;
|
|
82
|
+
VideoTilePinned: React.JSX.Element;
|
|
83
|
+
VideoTileMoreOptions: React.JSX.Element;
|
|
84
|
+
VideoTileScaleFit: React.JSX.Element;
|
|
85
|
+
VideoTileScaleFill: React.JSX.Element;
|
|
86
|
+
PinParticipant: React.JSX.Element;
|
|
87
|
+
UnpinParticipant: React.JSX.Element;
|
|
88
|
+
SplitButtonPrimaryActionCameraOn: React.JSX.Element;
|
|
89
|
+
SplitButtonPrimaryActionCameraOff: React.JSX.Element;
|
|
90
|
+
SplitButtonPrimaryActionMicUnmuted: React.JSX.Element;
|
|
91
|
+
SplitButtonPrimaryActionMicMuted: React.JSX.Element;
|
|
92
|
+
VerticalGalleryLeftButton: React.JSX.Element;
|
|
93
|
+
VerticalGalleryRightButton: React.JSX.Element;
|
|
94
|
+
ControlButtonVideoEffectsOption: React.JSX.Element;
|
|
95
|
+
ConfigurationScreenVideoEffectsButton: React.JSX.Element;
|
|
96
|
+
CaptionsIcon: React.JSX.Element;
|
|
97
|
+
CaptionsOffIcon: React.JSX.Element;
|
|
98
|
+
CaptionsSettingsIcon: React.JSX.Element;
|
|
99
|
+
ChangeSpokenLanguageIcon: React.JSX.Element;
|
|
100
|
+
ChangeCaptionLanguageIcon: React.JSX.Element;
|
|
101
|
+
ContextMenuCameraIcon: React.JSX.Element;
|
|
102
|
+
ContextMenuMicIcon: React.JSX.Element;
|
|
103
|
+
ContextMenuSpeakerIcon: React.JSX.Element;
|
|
104
104
|
};
|
|
105
105
|
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -62,7 +62,7 @@ const MainScreen = (props) => {
|
|
|
62
62
|
// Ensure we re-ask for permissions if the number of devices goes from 0 -> n during a call
|
|
63
63
|
// as we cannot request permissions when there are no devices.
|
|
64
64
|
hasCameras, hasMicrophones]);
|
|
65
|
-
const { callInvitationUrl,
|
|
65
|
+
const { callInvitationUrl, onFetchAvatarPersonaData, onFetchParticipantMenuItems } = props;
|
|
66
66
|
const page = useSelector(getPage);
|
|
67
67
|
const endedCall = useSelector(getEndedCall);
|
|
68
68
|
const [sidePaneRenderer, setSidePaneRenderer] = React.useState();
|
|
@@ -117,7 +117,10 @@ const MainScreen = (props) => {
|
|
|
117
117
|
switch (page) {
|
|
118
118
|
case 'configuration':
|
|
119
119
|
pageElement = React.createElement(ConfigurationPage, { mobileView: props.mobileView, startCallHandler: () => {
|
|
120
|
-
adapter.joinCall(
|
|
120
|
+
adapter.joinCall({
|
|
121
|
+
microphoneOn: 'keep',
|
|
122
|
+
cameraOn: 'keep'
|
|
123
|
+
});
|
|
121
124
|
}, updateSidePaneRenderer: setSidePaneRenderer, latestErrors: latestErrors, onDismissError: onDismissError, modalLayerHostId: props.modalLayerHostId,
|
|
122
125
|
/* @conditional-compile-remove(call-readiness) */ deviceChecks: (_d = props.options) === null || _d === void 0 ? void 0 : _d.deviceChecks,
|
|
123
126
|
/* @conditional-compile-remove(call-readiness) */ onPermissionsTroubleshootingClick: (_e = props.options) === null || _e === void 0 ? void 0 : _e.onPermissionsTroubleshootingClick,
|
|
@@ -148,11 +151,11 @@ const MainScreen = (props) => {
|
|
|
148
151
|
break;
|
|
149
152
|
/* @conditional-compile-remove(call-transfer) */
|
|
150
153
|
case 'transferring':
|
|
151
|
-
pageElement = React.createElement(TransferPage, { mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, options: props.options, updateSidePaneRenderer: setSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader,
|
|
154
|
+
pageElement = React.createElement(TransferPage, { mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, options: props.options, updateSidePaneRenderer: setSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, onFetchAvatarPersonaData: onFetchAvatarPersonaData, latestErrors: latestErrors, onDismissError: onDismissError,
|
|
152
155
|
/* @conditional-compile-remove(capabilities) */ capabilitiesChangedNotificationBarProps: capabilitiesChangedNotificationBarProps });
|
|
153
156
|
break;
|
|
154
157
|
case 'call':
|
|
155
|
-
pageElement = React.createElement(CallPage, {
|
|
158
|
+
pageElement = React.createElement(CallPage, { callInvitationURL: callInvitationUrl, onFetchAvatarPersonaData: onFetchAvatarPersonaData, onFetchParticipantMenuItems: onFetchParticipantMenuItems, mobileView: props.mobileView, modalLayerHostId: props.modalLayerHostId, options: props.options, updateSidePaneRenderer: setSidePaneRenderer, mobileChatTabHeader: props.mobileChatTabHeader, latestErrors: latestErrors, onDismissError: onDismissError,
|
|
156
159
|
/* @conditional-compile-remove(gallery-layouts) */ galleryLayout: userSetGalleryLayout,
|
|
157
160
|
/* @conditional-compile-remove(gallery-layouts) */ onUserSetGalleryLayoutChange: setUserSetGalleryLayout,
|
|
158
161
|
/* @conditional-compile-remove(gallery-layouts) */ onSetUserSetOverflowGalleryPosition: setUserSetOverflowGalleryPosition,
|