@azure/communication-react 1.5.1-alpha-202305180013 → 1.5.1-alpha-202305200012
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 +22 -10
- package/dist/dist-cjs/communication-react/index.js +351 -292
- 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-stateful-client/src/CallClientState.d.ts +2 -6
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +3 -11
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +4 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +14 -2
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +12 -17
- package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +6 -2
- package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +11 -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 +1 -1
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +4 -47
- 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 +11 -0
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +56 -0
- package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +5 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +6 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +13 -0
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +11 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +1 -0
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +7 -2
- package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +7 -2
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +2 -1
- package/dist/dist-esm/react-components/src/theming/icons.js +4 -2
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +22 -6
- 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 +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +9 -1
- 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/MediaGallery.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +3 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +24 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +9 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +15 -18
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +3 -3
- 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 +1 -1
- 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 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +5 -5
- package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +5 -0
- package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +5 -0
- package/package.json +10 -10
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CallWithChatBackedCallAdapter.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAmBlC,6CAA6C;AAC7C,OAAO,EAGL,uBAAuB,EAExB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,0BAA0B,EAAE,yCAAgC;AAIrE,uDAAuD;AACvD,sEAAsE;AAEtE;;;;GAIG;AACH,MAAM,OAAO,6BAA6B;IAOxC,YAAY,mBAAwC;QAJpD,gJAAgJ;QAChJ,iJAAiJ;QACzI,eAAU,GAAsF,IAAI,GAAG,EAAE,CAAC;QAM3G,OAAE,GAAG,CAAC,KAAU,EAAE,QAAa,EAAQ,EAAE;YAC9C,QAAQ,KAAK,EAAE;gBACb,KAAK,OAAO;oBACV,OAAO,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;gBAC5D,KAAK,oBAAoB;oBACvB,OAAO,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;gBACzE,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4C,CACnD,wBAAkD;IAElD,OAAO;QACL,+BAA+B,EAAE,wBAAwB,CAAC,+BAA+B;QACzF,IAAI,EAAE,wBAAwB,CAAC,IAAI;QACnC,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,WAAW,EAAE,wBAAwB,CAAC,WAAW;QACjD,IAAI,EAAE,wBAAwB,CAAC,IAAI;QACnC,OAAO,EAAE,wBAAwB,CAAC,OAAO;QACzC,WAAW,EAAE,wBAAwB,CAAC,WAAW;QACjD,YAAY,EAAE,wBAAwB,CAAC,gBAAgB;QACvD,6CAA6C;QAC7C,iBAAiB,EAAE,wBAAwB,CAAC,iBAAiB;QAC7D,sDAAsD;QACtD,eAAe,EAAE,wBAAwB,CAAC,eAAe;QACzD,2DAA2D;QAC3D,qBAAqB,EAAE,wBAAwB,CAAC,qBAAqB;QACrE,2DAA2D;QAC3D,6BAA6B,EAAE,wBAAwB,CAAC,6BAA6B;KACtF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { CallWithChatAdapter } from './CallWithChatAdapter';\nimport { CallAdapter, CallAdapterState } from '../../CallComposite';\n/* @conditional-compile-remove(video-background-effects) */\nimport { VideoBackgroundImage, SelectedVideoBackgroundEffect } from '../../CallComposite';\nimport { CreateVideoStreamViewResult, VideoStreamOptions } from '@internal/react-components';\nimport {\n AudioDeviceInfo,\n VideoDeviceInfo,\n Call,\n PermissionConstraints,\n StartCallOptions\n} from '@azure/communication-calling';\n/* @conditional-compile-remove(close-captions) */\nimport { StartCaptionsOptions } from '@azure/communication-calling';\n/* @conditional-compile-remove(PSTN-calls) */\nimport { AddPhoneNumberOptions, DtmfTone } from '@azure/communication-calling';\nimport { CallWithChatAdapterState } from '../state/CallWithChatAdapterState';\n/* @conditional-compile-remove(PSTN-calls) */\nimport {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n isPhoneNumberIdentifier,\n PhoneNumberIdentifier\n} from '@azure/communication-common';\nimport { _toCommunicationIdentifier } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(video-background-effects) */\nimport { BackgroundBlurConfig, BackgroundReplacementConfig } from '@azure/communication-calling-effects';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\n/**\n * Facade around the CallWithChatAdapter to satisfy the call adapter interface.\n *\n * @private\n */\nexport class CallWithChatBackedCallAdapter implements CallAdapter {\n private callWithChatAdapter: CallWithChatAdapter;\n\n // For onStateChange we must convert CallWithChat state to chat state. This involves creating a new handler to be passed into the onStateChange.\n // In order to unsubscribe the handler when offStateChange is called we must have a mapping of the original handler to the newly created handler.\n private eventStore: Map<(state: CallAdapterState) => void, (state: CallWithChatAdapterState) => void> = new Map();\n\n constructor(callWithChatAdapter: CallWithChatAdapter) {\n this.callWithChatAdapter = callWithChatAdapter;\n }\n\n public on = (event: any, listener: any): void => {\n switch (event) {\n case 'error':\n return this.callWithChatAdapter.on('callError', listener);\n case 'participantsJoined':\n return this.callWithChatAdapter.on('callParticipantsJoined', listener);\n case 'participantsLeft':\n return this.callWithChatAdapter.on('callParticipantsLeft', listener);\n default:\n return this.callWithChatAdapter.on(event, listener);\n }\n };\n public off = (event: any, listener: any): void => {\n switch (event) {\n case 'error':\n return this.callWithChatAdapter.off('callError', listener);\n case 'participantsJoined':\n return this.callWithChatAdapter.off('callParticipantsJoined', listener);\n case 'participantsLeft':\n return this.callWithChatAdapter.off('callParticipantsLeft', listener);\n default:\n return this.callWithChatAdapter.off(event, listener);\n }\n };\n public onStateChange = (handler: (state: CallAdapterState) => void): void => {\n const convertedHandler = (state: CallWithChatAdapterState): void => {\n handler(callAdapterStateFromCallWithChatAdapterState(state));\n };\n this.callWithChatAdapter.onStateChange(convertedHandler);\n this.eventStore.set(handler, convertedHandler);\n };\n public offStateChange = (handler: (state: CallAdapterState) => void): void => {\n const convertedHandler = this.eventStore.get(handler);\n convertedHandler && this.callWithChatAdapter.offStateChange(convertedHandler);\n };\n public getState = (): CallAdapterState =>\n callAdapterStateFromCallWithChatAdapterState(this.callWithChatAdapter.getState());\n public dispose = (): void => this.callWithChatAdapter.dispose();\n public joinCall = (microphoneOn?: boolean): Call | undefined => {\n return this.callWithChatAdapter.joinCall(microphoneOn);\n };\n public leaveCall = async (forEveryone?: boolean): Promise<void> =>\n await this.callWithChatAdapter.leaveCall(forEveryone);\n public startCall = (\n participants: string[] | /* @conditional-compile-remove(PSTN-calls) */ CommunicationIdentifier[],\n options: StartCallOptions\n ): Call | undefined => {\n let communicationParticipants = participants;\n /* @conditional-compile-remove(PSTN-calls) */\n communicationParticipants = participants.map(_toCommunicationIdentifier);\n return this.callWithChatAdapter.startCall(communicationParticipants, options);\n };\n public setCamera = async (sourceId: VideoDeviceInfo, options?: VideoStreamOptions): Promise<void> =>\n await this.callWithChatAdapter.setCamera(sourceId, options);\n public setMicrophone = async (sourceId: AudioDeviceInfo): Promise<void> =>\n await this.callWithChatAdapter.setMicrophone(sourceId);\n public setSpeaker = async (sourceId: AudioDeviceInfo): Promise<void> =>\n await this.callWithChatAdapter.setSpeaker(sourceId);\n public askDevicePermission = async (constraints: PermissionConstraints): Promise<void> =>\n await this.callWithChatAdapter.askDevicePermission(constraints);\n public queryCameras = async (): Promise<VideoDeviceInfo[]> => await this.callWithChatAdapter.queryCameras();\n public queryMicrophones = async (): Promise<AudioDeviceInfo[]> => await this.callWithChatAdapter.queryMicrophones();\n public querySpeakers = async (): Promise<AudioDeviceInfo[]> => await this.callWithChatAdapter.querySpeakers();\n public startCamera = async (options?: VideoStreamOptions): Promise<void> =>\n await this.callWithChatAdapter.startCamera(options);\n public stopCamera = async (): Promise<void> => await this.callWithChatAdapter.stopCamera();\n public mute = async (): Promise<void> => await this.callWithChatAdapter.mute();\n public unmute = async (): Promise<void> => await this.callWithChatAdapter.unmute();\n public startScreenShare = async (): Promise<void> => await this.callWithChatAdapter.startScreenShare();\n public stopScreenShare = async (): Promise<void> => await this.callWithChatAdapter.stopScreenShare();\n public removeParticipant = async (\n userId: string | /* @conditional-compile-remove(PSTN-calls) */ CommunicationIdentifier\n ): Promise<void> => {\n let participant = userId;\n /* @conditional-compile-remove(PSTN-calls) */\n participant = _toCommunicationIdentifier(userId);\n await this.callWithChatAdapter.removeParticipant(participant);\n };\n public createStreamView = async (\n remoteUserId?: string,\n options?: VideoStreamOptions\n ): Promise<void | CreateVideoStreamViewResult> =>\n await this.callWithChatAdapter.createStreamView(remoteUserId, options);\n public disposeStreamView = async (remoteUserId?: string, options?: VideoStreamOptions): Promise<void> =>\n await this.callWithChatAdapter.disposeStreamView(remoteUserId, options);\n /* @conditional-compile-remove(PSTN-calls) */\n public holdCall = async (): Promise<void> => {\n await this.callWithChatAdapter.holdCall();\n };\n /* @conditional-compile-remove(PSTN-calls) */\n public resumeCall = async (): Promise<void> => {\n await this.callWithChatAdapter.resumeCall();\n };\n /* @conditional-compile-remove(PSTN-calls) */\n public async addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;\n /* @conditional-compile-remove(PSTN-calls) */\n public async addParticipant(participant: CommunicationUserIdentifier): Promise<void>;\n /* @conditional-compile-remove(PSTN-calls) */\n public async addParticipant(\n participant: PhoneNumberIdentifier | CommunicationUserIdentifier,\n options?: AddPhoneNumberOptions\n ): Promise<void> {\n if (isPhoneNumberIdentifier(participant) && options) {\n return this.callWithChatAdapter.addParticipant(participant as PhoneNumberIdentifier, options);\n } else {\n return this.callWithChatAdapter.addParticipant(participant as CommunicationUserIdentifier);\n }\n }\n\n /* @conditional-compile-remove(unsupported-browser) */\n public allowUnsupportedBrowserVersion(): void {\n return this.callWithChatAdapter.allowUnsupportedBrowserVersion();\n }\n\n /* @conditional-compile-remove(PSTN-calls) */\n public sendDtmfTone = async (dtmfTone: DtmfTone): Promise<void> => {\n await this.callWithChatAdapter.sendDtmfTone(dtmfTone);\n };\n\n /* @conditional-compile-remove(close-captions) */\n public async startCaptions(options?: StartCaptionsOptions): Promise<void> {\n this.callWithChatAdapter.startCaptions(options);\n }\n\n /* @conditional-compile-remove(close-captions) */\n public async stopCaptions(): Promise<void> {\n this.callWithChatAdapter.stopCaptions();\n }\n\n /* @conditional-compile-remove(close-captions) */\n public async setCaptionLanguage(language: string): Promise<void> {\n this.callWithChatAdapter.setCaptionLanguage(language);\n }\n\n /* @conditional-compile-remove(close-captions) */\n public async setSpokenLanguage(language: string): Promise<void> {\n this.callWithChatAdapter.setSpokenLanguage(language);\n }\n\n /* @conditional-compile-remove(video-background-effects) */\n public async blurVideoBackground(backgroundBlurConfig?: BackgroundBlurConfig): Promise<void> {\n await this.callWithChatAdapter.blurVideoBackground(backgroundBlurConfig);\n }\n /* @conditional-compile-remove(video-background-effects) */\n public async replaceVideoBackground(backgroundReplacementConfig: BackgroundReplacementConfig): Promise<void> {\n await this.callWithChatAdapter.replaceVideoBackground(backgroundReplacementConfig);\n }\n /* @conditional-compile-remove(video-background-effects) */\n public async stopVideoBackgroundEffect(): Promise<void> {\n await this.callWithChatAdapter.stopVideoBackgroundEffect();\n }\n /* @conditional-compile-remove(video-background-effects) */\n public updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void {\n return this.callWithChatAdapter.updateBackgroundPickerImages(backgroundImages);\n }\n /* @conditional-compile-remove(video-background-effects) */\n public updateSelectedVideoBackgroundEffect(selectedVideoBackground: SelectedVideoBackgroundEffect): void {\n return this.callWithChatAdapter.updateSelectedVideoBackgroundEffect(selectedVideoBackground);\n }\n}\n\nfunction callAdapterStateFromCallWithChatAdapterState(\n callWithChatAdapterState: CallWithChatAdapterState\n): CallAdapterState {\n return {\n isLocalPreviewMicrophoneEnabled: callWithChatAdapterState.isLocalPreviewMicrophoneEnabled,\n page: callWithChatAdapterState.page,\n userId: callWithChatAdapterState.userId,\n displayName: callWithChatAdapterState.displayName,\n call: callWithChatAdapterState.call,\n devices: callWithChatAdapterState.devices,\n isTeamsCall: callWithChatAdapterState.isTeamsCall,\n latestErrors: callWithChatAdapterState.latestCallErrors,\n /* @conditional-compile-remove(PSTN-calls) */\n alternateCallerId: callWithChatAdapterState.alternateCallerId,\n /* @conditional-compile-remove(unsupported-browser) */\n environmentInfo: callWithChatAdapterState.environmentInfo,\n /* @conditional-compile-remove(video-background-effects) */\n videoBackgroundImages: callWithChatAdapterState.videoBackgroundImages,\n /* @conditional-compile-remove(video-background-effects) */\n selectedVideoBackgroundEffect: callWithChatAdapterState.selectedVideoBackgroundEffect\n };\n}\n\"../../../../../react-components/src\"\"../../../../../acs-ui-common/src\""]}
|
1
|
+
{"version":3,"file":"CallWithChatBackedCallAdapter.js","sourceRoot":"","sources":["../../../../../../../../react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;AAmBlC,6CAA6C;AAC7C,OAAO,EAGL,uBAAuB,EAExB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,0BAA0B,EAAE,yCAAgC;AAIrE,uDAAuD;AACvD,sEAAsE;AAEtE;;;;GAIG;AACH,MAAM,OAAO,6BAA6B;IAOxC,YAAY,mBAAwC;QAJpD,gJAAgJ;QAChJ,iJAAiJ;QACzI,eAAU,GAAsF,IAAI,GAAG,EAAE,CAAC;QAM3G,OAAE,GAAG,CAAC,KAAU,EAAE,QAAa,EAAQ,EAAE;YAC9C,QAAQ,KAAK,EAAE;gBACb,KAAK,OAAO;oBACV,OAAO,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;gBAC5D,KAAK,oBAAoB;oBACvB,OAAO,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;gBACzE,KAAK,kBAAkB;oBACrB,OAAO,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC,sBAAsB,EAAE,QAAQ,CAAC,CAAC;gBACvE;oBACE,OAAO,IAAI,CAAC,mBAAmB,CAAC,EAAE,CA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,WAAW,EAAE,wBAAwB,CAAC,WAAW;QACjD,IAAI,EAAE,wBAAwB,CAAC,IAAI;QACnC,OAAO,EAAE,wBAAwB,CAAC,OAAO;QACzC,WAAW,EAAE,wBAAwB,CAAC,WAAW;QACjD,YAAY,EAAE,wBAAwB,CAAC,gBAAgB;QACvD,6CAA6C;QAC7C,iBAAiB,EAAE,wBAAwB,CAAC,iBAAiB;QAC7D,sDAAsD;QACtD,eAAe,EAAE,wBAAwB,CAAC,eAAe;QACzD,2DAA2D;QAC3D,qBAAqB,EAAE,wBAAwB,CAAC,qBAAqB;QACrE,2DAA2D;QAC3D,6BAA6B,EAAE,wBAAwB,CAAC,6BAA6B;KACtF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { CallWithChatAdapter } from './CallWithChatAdapter';\nimport { CallAdapter, CallAdapterState } from '../../CallComposite';\n/* @conditional-compile-remove(video-background-effects) */\nimport { VideoBackgroundImage, SelectedVideoBackgroundEffect } from '../../CallComposite';\nimport { CreateVideoStreamViewResult, VideoStreamOptions } from '@internal/react-components';\nimport {\n AudioDeviceInfo,\n VideoDeviceInfo,\n Call,\n PermissionConstraints,\n StartCallOptions\n} from '@azure/communication-calling';\n/* @conditional-compile-remove(close-captions) */\nimport { StartCaptionsOptions } from '@azure/communication-calling';\n/* @conditional-compile-remove(PSTN-calls) */\nimport { AddPhoneNumberOptions, DtmfTone } from '@azure/communication-calling';\nimport { CallWithChatAdapterState } from '../state/CallWithChatAdapterState';\n/* @conditional-compile-remove(PSTN-calls) */\nimport {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n isPhoneNumberIdentifier,\n PhoneNumberIdentifier\n} from '@azure/communication-common';\nimport { _toCommunicationIdentifier } from '@internal/acs-ui-common';\n/* @conditional-compile-remove(video-background-effects) */\nimport { BackgroundBlurConfig, BackgroundReplacementConfig } from '@azure/communication-calling-effects';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\n/**\n * Facade around the CallWithChatAdapter to satisfy the call adapter interface.\n *\n * @private\n */\nexport class CallWithChatBackedCallAdapter implements CallAdapter {\n private callWithChatAdapter: CallWithChatAdapter;\n\n // For onStateChange we must convert CallWithChat state to chat state. This involves creating a new handler to be passed into the onStateChange.\n // In order to unsubscribe the handler when offStateChange is called we must have a mapping of the original handler to the newly created handler.\n private eventStore: Map<(state: CallAdapterState) => void, (state: CallWithChatAdapterState) => void> = new Map();\n\n constructor(callWithChatAdapter: CallWithChatAdapter) {\n this.callWithChatAdapter = callWithChatAdapter;\n }\n\n public on = (event: any, listener: any): void => {\n switch (event) {\n case 'error':\n return this.callWithChatAdapter.on('callError', listener);\n case 'participantsJoined':\n return this.callWithChatAdapter.on('callParticipantsJoined', listener);\n case 'participantsLeft':\n return this.callWithChatAdapter.on('callParticipantsLeft', listener);\n default:\n return this.callWithChatAdapter.on(event, listener);\n }\n };\n public off = (event: any, listener: any): void => {\n switch (event) {\n case 'error':\n return this.callWithChatAdapter.off('callError', listener);\n case 'participantsJoined':\n return this.callWithChatAdapter.off('callParticipantsJoined', listener);\n case 'participantsLeft':\n return this.callWithChatAdapter.off('callParticipantsLeft', listener);\n default:\n return this.callWithChatAdapter.off(event, listener);\n }\n };\n public onStateChange = (handler: (state: CallAdapterState) => void): void => {\n const convertedHandler = (state: CallWithChatAdapterState): void => {\n handler(callAdapterStateFromCallWithChatAdapterState(state));\n };\n this.callWithChatAdapter.onStateChange(convertedHandler);\n this.eventStore.set(handler, convertedHandler);\n };\n public offStateChange = (handler: (state: CallAdapterState) => void): void => {\n const convertedHandler = this.eventStore.get(handler);\n convertedHandler && this.callWithChatAdapter.offStateChange(convertedHandler);\n };\n public getState = (): CallAdapterState =>\n callAdapterStateFromCallWithChatAdapterState(this.callWithChatAdapter.getState());\n public dispose = (): void => this.callWithChatAdapter.dispose();\n public joinCall = (microphoneOn?: boolean): Call | undefined => {\n return this.callWithChatAdapter.joinCall(microphoneOn);\n };\n public leaveCall = async (forEveryone?: boolean): Promise<void> =>\n await this.callWithChatAdapter.leaveCall(forEveryone);\n public startCall = (\n participants: string[] | /* @conditional-compile-remove(PSTN-calls) */ CommunicationIdentifier[],\n options: StartCallOptions\n ): Call | undefined => {\n let communicationParticipants = participants;\n /* @conditional-compile-remove(PSTN-calls) */\n communicationParticipants = participants.map(_toCommunicationIdentifier);\n return this.callWithChatAdapter.startCall(communicationParticipants, options);\n };\n public setCamera = async (sourceId: VideoDeviceInfo, options?: VideoStreamOptions): Promise<void> =>\n await this.callWithChatAdapter.setCamera(sourceId, options);\n public setMicrophone = async (sourceId: AudioDeviceInfo): Promise<void> =>\n await this.callWithChatAdapter.setMicrophone(sourceId);\n public setSpeaker = async (sourceId: AudioDeviceInfo): Promise<void> =>\n await this.callWithChatAdapter.setSpeaker(sourceId);\n public askDevicePermission = async (constraints: PermissionConstraints): Promise<void> =>\n await this.callWithChatAdapter.askDevicePermission(constraints);\n public queryCameras = async (): Promise<VideoDeviceInfo[]> => await this.callWithChatAdapter.queryCameras();\n public queryMicrophones = async (): Promise<AudioDeviceInfo[]> => await this.callWithChatAdapter.queryMicrophones();\n public querySpeakers = async (): Promise<AudioDeviceInfo[]> => await this.callWithChatAdapter.querySpeakers();\n public startCamera = async (options?: VideoStreamOptions): Promise<void> =>\n await this.callWithChatAdapter.startCamera(options);\n public stopCamera = async (): Promise<void> => await this.callWithChatAdapter.stopCamera();\n public mute = async (): Promise<void> => await this.callWithChatAdapter.mute();\n public unmute = async (): Promise<void> => await this.callWithChatAdapter.unmute();\n public startScreenShare = async (): Promise<void> => await this.callWithChatAdapter.startScreenShare();\n public stopScreenShare = async (): Promise<void> => await this.callWithChatAdapter.stopScreenShare();\n public removeParticipant = async (\n userId: string | /* @conditional-compile-remove(PSTN-calls) */ CommunicationIdentifier\n ): Promise<void> => {\n let participant = userId;\n /* @conditional-compile-remove(PSTN-calls) */\n participant = _toCommunicationIdentifier(userId);\n await this.callWithChatAdapter.removeParticipant(participant);\n };\n public createStreamView = async (\n remoteUserId?: string,\n options?: VideoStreamOptions\n ): Promise<void | CreateVideoStreamViewResult> =>\n await this.callWithChatAdapter.createStreamView(remoteUserId, options);\n public disposeStreamView = async (remoteUserId?: string, options?: VideoStreamOptions): Promise<void> =>\n await this.callWithChatAdapter.disposeStreamView(remoteUserId, options);\n /* @conditional-compile-remove(PSTN-calls) */\n public holdCall = async (): Promise<void> => {\n await this.callWithChatAdapter.holdCall();\n };\n /* @conditional-compile-remove(PSTN-calls) */\n public resumeCall = async (): Promise<void> => {\n await this.callWithChatAdapter.resumeCall();\n };\n /* @conditional-compile-remove(PSTN-calls) */\n public async addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;\n /* @conditional-compile-remove(PSTN-calls) */\n public async addParticipant(participant: CommunicationUserIdentifier): Promise<void>;\n /* @conditional-compile-remove(PSTN-calls) */\n public async addParticipant(\n participant: PhoneNumberIdentifier | CommunicationUserIdentifier,\n options?: AddPhoneNumberOptions\n ): Promise<void> {\n if (isPhoneNumberIdentifier(participant) && options) {\n return this.callWithChatAdapter.addParticipant(participant as PhoneNumberIdentifier, options);\n } else {\n return this.callWithChatAdapter.addParticipant(participant as CommunicationUserIdentifier);\n }\n }\n\n /* @conditional-compile-remove(unsupported-browser) */\n public allowUnsupportedBrowserVersion(): void {\n return this.callWithChatAdapter.allowUnsupportedBrowserVersion();\n }\n\n /* @conditional-compile-remove(PSTN-calls) */\n public sendDtmfTone = async (dtmfTone: DtmfTone): Promise<void> => {\n await this.callWithChatAdapter.sendDtmfTone(dtmfTone);\n };\n\n /* @conditional-compile-remove(close-captions) */\n public async startCaptions(options?: StartCaptionsOptions): Promise<void> {\n this.callWithChatAdapter.startCaptions(options);\n }\n\n /* @conditional-compile-remove(close-captions) */\n public async stopCaptions(): Promise<void> {\n this.callWithChatAdapter.stopCaptions();\n }\n\n /* @conditional-compile-remove(close-captions) */\n public async setCaptionLanguage(language: string): Promise<void> {\n this.callWithChatAdapter.setCaptionLanguage(language);\n }\n\n /* @conditional-compile-remove(close-captions) */\n public async setSpokenLanguage(language: string): Promise<void> {\n this.callWithChatAdapter.setSpokenLanguage(language);\n }\n\n /* @conditional-compile-remove(video-background-effects) */\n public async blurVideoBackground(backgroundBlurConfig?: BackgroundBlurConfig): Promise<void> {\n await this.callWithChatAdapter.blurVideoBackground(backgroundBlurConfig);\n }\n /* @conditional-compile-remove(video-background-effects) */\n public async replaceVideoBackground(backgroundReplacementConfig: BackgroundReplacementConfig): Promise<void> {\n await this.callWithChatAdapter.replaceVideoBackground(backgroundReplacementConfig);\n }\n /* @conditional-compile-remove(video-background-effects) */\n public async stopVideoBackgroundEffects(): Promise<void> {\n await this.callWithChatAdapter.stopVideoBackgroundEffects();\n }\n /* @conditional-compile-remove(video-background-effects) */\n public updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void {\n return this.callWithChatAdapter.updateBackgroundPickerImages(backgroundImages);\n }\n /* @conditional-compile-remove(video-background-effects) */\n public updateSelectedVideoBackgroundEffect(selectedVideoBackground: SelectedVideoBackgroundEffect): void {\n return this.callWithChatAdapter.updateSelectedVideoBackgroundEffect(selectedVideoBackground);\n }\n}\n\nfunction callAdapterStateFromCallWithChatAdapterState(\n callWithChatAdapterState: CallWithChatAdapterState\n): CallAdapterState {\n return {\n isLocalPreviewMicrophoneEnabled: callWithChatAdapterState.isLocalPreviewMicrophoneEnabled,\n page: callWithChatAdapterState.page,\n userId: callWithChatAdapterState.userId,\n displayName: callWithChatAdapterState.displayName,\n call: callWithChatAdapterState.call,\n devices: callWithChatAdapterState.devices,\n isTeamsCall: callWithChatAdapterState.isTeamsCall,\n latestErrors: callWithChatAdapterState.latestCallErrors,\n /* @conditional-compile-remove(PSTN-calls) */\n alternateCallerId: callWithChatAdapterState.alternateCallerId,\n /* @conditional-compile-remove(unsupported-browser) */\n environmentInfo: callWithChatAdapterState.environmentInfo,\n /* @conditional-compile-remove(video-background-effects) */\n videoBackgroundImages: callWithChatAdapterState.videoBackgroundImages,\n /* @conditional-compile-remove(video-background-effects) */\n selectedVideoBackgroundEffect: callWithChatAdapterState.selectedVideoBackgroundEffect\n };\n}\n\"../../../../../react-components/src\"\"../../../../../acs-ui-common/src\""]}
|
@@ -42,7 +42,7 @@ export const VideoEffectsPaneContent = (props) => {
|
|
42
42
|
const selectableVideoEffects = useMemo(() => {
|
43
43
|
const videoEffects = [
|
44
44
|
{
|
45
|
-
|
45
|
+
itemKey: 'none',
|
46
46
|
iconProps: {
|
47
47
|
iconName: 'RemoveVideoBackgroundEffect'
|
48
48
|
},
|
@@ -52,7 +52,7 @@ export const VideoEffectsPaneContent = (props) => {
|
|
52
52
|
}
|
53
53
|
},
|
54
54
|
{
|
55
|
-
|
55
|
+
itemKey: 'blur',
|
56
56
|
iconProps: {
|
57
57
|
iconName: 'BlurVideoBackground'
|
58
58
|
},
|
@@ -67,7 +67,7 @@ export const VideoEffectsPaneContent = (props) => {
|
|
67
67
|
videoEffectImages.forEach((img) => {
|
68
68
|
var _a;
|
69
69
|
videoEffects.push({
|
70
|
-
|
70
|
+
itemKey: img.key,
|
71
71
|
backgroundProps: {
|
72
72
|
url: img.url
|
73
73
|
},
|
@@ -93,11 +93,11 @@ export const VideoEffectsPaneContent = (props) => {
|
|
93
93
|
effectName: effectKey
|
94
94
|
};
|
95
95
|
adapter.updateSelectedVideoBackgroundEffect(noneEffect);
|
96
|
-
yield adapter.
|
96
|
+
yield adapter.stopVideoBackgroundEffects();
|
97
97
|
}
|
98
98
|
else {
|
99
99
|
const backgroundImg = selectableVideoEffects.find((effect) => {
|
100
|
-
return effect.
|
100
|
+
return effect.itemKey === effectKey;
|
101
101
|
});
|
102
102
|
if (backgroundImg && backgroundImg.backgroundProps) {
|
103
103
|
const replaceEffect = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VideoEffectsPane.js","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/VideoEffectsPane.tsx"],"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,CACnB,oBAAC,UAAU,IAAC,cAAc,EAAE,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,gBAAgB,CAAC,IAChG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,wBAAwB,CAClC,CACd;QACA,WAAW,IAAI,CACd,oBAAC,UAAU,IAAC,cAAc,EAAE,cAAc,CAAC,OAAO,IAC/C,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,oCAAoC,CAC9C,CACd;QACD,oBAAC,6BAA6B,IAC5B,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,wCAAwC,EACnE,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,sBAAsB,aAAtB,sBAAsB,cAAtB,sBAAsB,GAAI,EAAE,EACrC,QAAQ,EAAE,cAAc,EACxB,iBAAiB,EAAE,cAAc,GACjC,CACI,CACT,CAAC;IACF,OAAO,yCAAK,CAAC;AACf,CAAC,CAAC;AAEF,2DAA2D;AAC3D,MAAM,sBAAsB,GAAG;IAC7B,KAAK,EAAE;QACL,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,QAAQ;QACpB,UAAU,EAAE,KAAK;KAClB;CACF,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport React from 'react';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useCallback, useMemo } from 'react';\n/* @conditional-compile-remove(video-background-effects) */\nimport { MessageBar, MessageBarType, Stack } from '@fluentui/react';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useLocale } from '../localization';\nimport { _VideoEffectsItemProps } from '@internal/react-components';\n/* @conditional-compile-remove(video-background-effects) */\nimport { _VideoBackgroundEffectsPicker } from '@internal/react-components';\n/* @conditional-compile-remove(video-background-effects) */\nimport {\n VideoBackgroundImage,\n VideoBackgroundBlurEffect,\n VideoBackgroundNoneEffect,\n VideoBackgroundReplacementEffect\n} from '../CallComposite';\n/* @conditional-compile-remove(video-background-effects) */\nimport { activeVideoBackgroundEffectSelector } from '../CallComposite/selectors/activeVideoBackgroundEffectSelector';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useSelector } from '../CallComposite/hooks/useSelector';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useAdapter } from '../CallComposite/adapter/CallAdapterProvider';\nimport { AdapterError } from './adapters';\n/* @conditional-compile-remove(video-background-effects) */\nimport { localVideoSelector } from '../CallComposite/selectors/localVideoStreamSelector';\n\n/**\n * Pane that is used to show video effects button\n * @private\n */\n/** @beta */\nexport const VideoEffectsPaneContent = (props: {\n onDismissError: (error: AdapterError) => void;\n activeVideoEffectError: () => AdapterError | undefined;\n}): JSX.Element => {\n /* @conditional-compile-remove(video-background-effects) */\n const locale = useLocale();\n /* @conditional-compile-remove(video-background-effects) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(video-background-effects) */\n const strings = locale.strings.call;\n /* @conditional-compile-remove(video-background-effects) */\n const selectableVideoEffects: _VideoEffectsItemProps[] = useMemo(() => {\n const videoEffects: _VideoEffectsItemProps[] = [\n {\n key: 'none',\n iconProps: {\n iconName: 'RemoveVideoBackgroundEffect'\n },\n title: strings.removeBackgroundEffectButtonLabel,\n tooltipProps: {\n content: strings.removeBackgroundTooltip\n }\n },\n {\n key: 'blur',\n iconProps: {\n iconName: 'BlurVideoBackground'\n },\n title: strings.blurBackgroundEffectButtonLabel,\n tooltipProps: {\n content: strings.blurBackgroundTooltip\n }\n }\n ];\n const videoEffectImages = adapter.getState().videoBackgroundImages;\n\n if (videoEffectImages) {\n videoEffectImages.forEach((img: VideoBackgroundImage) => {\n videoEffects.push({\n key: img.key,\n backgroundProps: {\n url: img.url\n },\n tooltipProps: {\n content: img.tooltipText ?? ''\n }\n });\n });\n }\n return videoEffects;\n }, [strings, adapter]);\n\n /* @conditional-compile-remove(video-background-effects) */\n const onEffectChange = useCallback(\n async (effectKey: string) => {\n if (effectKey === 'blur') {\n const blurEffect: VideoBackgroundBlurEffect = {\n effectName: effectKey\n };\n adapter.updateSelectedVideoBackgroundEffect(blurEffect);\n await adapter.blurVideoBackground();\n } else if (effectKey === 'none') {\n const noneEffect: VideoBackgroundNoneEffect = {\n effectName: effectKey\n };\n adapter.updateSelectedVideoBackgroundEffect(noneEffect);\n await adapter.stopVideoBackgroundEffect();\n } else {\n const backgroundImg = selectableVideoEffects.find((effect) => {\n return effect.key === effectKey;\n });\n if (backgroundImg && backgroundImg.backgroundProps) {\n const replaceEffect: VideoBackgroundReplacementEffect = {\n effectName: 'replacement',\n effectKey,\n backgroundImageUrl: backgroundImg.backgroundProps.url\n };\n adapter.updateSelectedVideoBackgroundEffect(replaceEffect);\n await adapter.replaceVideoBackground({ backgroundImageUrl: backgroundImg.backgroundProps.url });\n }\n }\n },\n [adapter, selectableVideoEffects]\n );\n return VideoEffectsPaneTrampoline(\n props.onDismissError,\n props.activeVideoEffectError,\n /* @conditional-compile-remove(video-background-effects) */\n selectableVideoEffects,\n /* @conditional-compile-remove(video-background-effects) */\n onEffectChange\n );\n};\n\nconst VideoEffectsPaneTrampoline = (\n onDismissError: (error: AdapterError) => void,\n activeVideoEffectError?: () => AdapterError | undefined,\n selectableVideoEffects?: _VideoEffectsItemProps[],\n onEffectChange?: (effectKey: string) => Promise<void>\n): JSX.Element => {\n /* @conditional-compile-remove(video-background-effects) */\n const videoEffectError = activeVideoEffectError && activeVideoEffectError();\n /* @conditional-compile-remove(video-background-effects) */\n const selectedEffect = useSelector(activeVideoBackgroundEffectSelector);\n /* @conditional-compile-remove(video-background-effects) */\n const isCameraOn = useSelector(localVideoSelector).isAvailable;\n /* @conditional-compile-remove(video-background-effects) */\n const showWarning = !isCameraOn && selectedEffect !== 'none';\n /* @conditional-compile-remove(video-background-effects) */\n const locale = useLocale();\n\n /* @conditional-compile-remove(video-background-effects) */\n return (\n <Stack horizontalAlign=\"center\">\n {videoEffectError && (\n <MessageBar messageBarType={MessageBarType.error} onDismiss={() => onDismissError(videoEffectError)}>\n {locale.strings.call.unableToStartVideoEffect}\n </MessageBar>\n )}\n {showWarning && (\n <MessageBar messageBarType={MessageBarType.warning}>\n {locale.strings.call.cameraOffBackgroundEffectWarningText}\n </MessageBar>\n )}\n <_VideoBackgroundEffectsPicker\n label={locale.strings.call.videoEffectsPaneBackgroundSelectionTitle}\n styles={backgroundPickerStyles}\n options={selectableVideoEffects ?? []}\n onChange={onEffectChange}\n selectedEffectKey={selectedEffect}\n />\n </Stack>\n );\n return <></>;\n};\n\n/* @conditional-compile-remove(video-background-effects) */\nconst backgroundPickerStyles = {\n label: {\n fontSize: '0.75rem',\n lineHeight: '0.5rem',\n fontWeight: '400'\n }\n};\n\"../../../../react-components/src\""]}
|
1
|
+
{"version":3,"file":"VideoEffectsPane.js","sourceRoot":"","sources":["../../../../../../../react-composites/src/composites/common/VideoEffectsPane.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,2DAA2D;AAC3D,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7C,2DAA2D;AAC3D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACpE,2DAA2D;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,2DAA2D;AAC3D,OAAO,EAAE,6BAA6B,EAAE,yCAAmC;AAQ3E,2DAA2D;AAC3D,OAAO,EAAE,mCAAmC,EAAE,MAAM,gEAAgE,CAAC;AACrH,2DAA2D;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,2DAA2D;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAE1E,2DAA2D;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AAEzF;;;GAGG;AACH,YAAY;AACZ,MAAM,CAAC,MAAM,uBAAuB,GAAG,C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Q;QACpB,UAAU,EAAE,KAAK;KAClB;CACF,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nimport React from 'react';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useCallback, useMemo } from 'react';\n/* @conditional-compile-remove(video-background-effects) */\nimport { MessageBar, MessageBarType, Stack } from '@fluentui/react';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useLocale } from '../localization';\nimport { _VideoEffectsItemProps } from '@internal/react-components';\n/* @conditional-compile-remove(video-background-effects) */\nimport { _VideoBackgroundEffectsPicker } from '@internal/react-components';\n/* @conditional-compile-remove(video-background-effects) */\nimport {\n VideoBackgroundImage,\n VideoBackgroundBlurEffect,\n VideoBackgroundNoneEffect,\n VideoBackgroundReplacementEffect\n} from '../CallComposite';\n/* @conditional-compile-remove(video-background-effects) */\nimport { activeVideoBackgroundEffectSelector } from '../CallComposite/selectors/activeVideoBackgroundEffectSelector';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useSelector } from '../CallComposite/hooks/useSelector';\n/* @conditional-compile-remove(video-background-effects) */\nimport { useAdapter } from '../CallComposite/adapter/CallAdapterProvider';\nimport { AdapterError } from './adapters';\n/* @conditional-compile-remove(video-background-effects) */\nimport { localVideoSelector } from '../CallComposite/selectors/localVideoStreamSelector';\n\n/**\n * Pane that is used to show video effects button\n * @private\n */\n/** @beta */\nexport const VideoEffectsPaneContent = (props: {\n onDismissError: (error: AdapterError) => void;\n activeVideoEffectError: () => AdapterError | undefined;\n}): JSX.Element => {\n /* @conditional-compile-remove(video-background-effects) */\n const locale = useLocale();\n /* @conditional-compile-remove(video-background-effects) */\n const adapter = useAdapter();\n /* @conditional-compile-remove(video-background-effects) */\n const strings = locale.strings.call;\n /* @conditional-compile-remove(video-background-effects) */\n const selectableVideoEffects: _VideoEffectsItemProps[] = useMemo(() => {\n const videoEffects: _VideoEffectsItemProps[] = [\n {\n itemKey: 'none',\n iconProps: {\n iconName: 'RemoveVideoBackgroundEffect'\n },\n title: strings.removeBackgroundEffectButtonLabel,\n tooltipProps: {\n content: strings.removeBackgroundTooltip\n }\n },\n {\n itemKey: 'blur',\n iconProps: {\n iconName: 'BlurVideoBackground'\n },\n title: strings.blurBackgroundEffectButtonLabel,\n tooltipProps: {\n content: strings.blurBackgroundTooltip\n }\n }\n ];\n const videoEffectImages = adapter.getState().videoBackgroundImages;\n\n if (videoEffectImages) {\n videoEffectImages.forEach((img: VideoBackgroundImage) => {\n videoEffects.push({\n itemKey: img.key,\n backgroundProps: {\n url: img.url\n },\n tooltipProps: {\n content: img.tooltipText ?? ''\n }\n });\n });\n }\n return videoEffects;\n }, [strings, adapter]);\n\n /* @conditional-compile-remove(video-background-effects) */\n const onEffectChange = useCallback(\n async (effectKey: string) => {\n if (effectKey === 'blur') {\n const blurEffect: VideoBackgroundBlurEffect = {\n effectName: effectKey\n };\n adapter.updateSelectedVideoBackgroundEffect(blurEffect);\n await adapter.blurVideoBackground();\n } else if (effectKey === 'none') {\n const noneEffect: VideoBackgroundNoneEffect = {\n effectName: effectKey\n };\n adapter.updateSelectedVideoBackgroundEffect(noneEffect);\n await adapter.stopVideoBackgroundEffects();\n } else {\n const backgroundImg = selectableVideoEffects.find((effect) => {\n return effect.itemKey === effectKey;\n });\n if (backgroundImg && backgroundImg.backgroundProps) {\n const replaceEffect: VideoBackgroundReplacementEffect = {\n effectName: 'replacement',\n effectKey,\n backgroundImageUrl: backgroundImg.backgroundProps.url\n };\n adapter.updateSelectedVideoBackgroundEffect(replaceEffect);\n await adapter.replaceVideoBackground({ backgroundImageUrl: backgroundImg.backgroundProps.url });\n }\n }\n },\n [adapter, selectableVideoEffects]\n );\n return VideoEffectsPaneTrampoline(\n props.onDismissError,\n props.activeVideoEffectError,\n /* @conditional-compile-remove(video-background-effects) */\n selectableVideoEffects,\n /* @conditional-compile-remove(video-background-effects) */\n onEffectChange\n );\n};\n\nconst VideoEffectsPaneTrampoline = (\n onDismissError: (error: AdapterError) => void,\n activeVideoEffectError?: () => AdapterError | undefined,\n selectableVideoEffects?: _VideoEffectsItemProps[],\n onEffectChange?: (effectKey: string) => Promise<void>\n): JSX.Element => {\n /* @conditional-compile-remove(video-background-effects) */\n const videoEffectError = activeVideoEffectError && activeVideoEffectError();\n /* @conditional-compile-remove(video-background-effects) */\n const selectedEffect = useSelector(activeVideoBackgroundEffectSelector);\n /* @conditional-compile-remove(video-background-effects) */\n const isCameraOn = useSelector(localVideoSelector).isAvailable;\n /* @conditional-compile-remove(video-background-effects) */\n const showWarning = !isCameraOn && selectedEffect !== 'none';\n /* @conditional-compile-remove(video-background-effects) */\n const locale = useLocale();\n\n /* @conditional-compile-remove(video-background-effects) */\n return (\n <Stack horizontalAlign=\"center\">\n {videoEffectError && (\n <MessageBar messageBarType={MessageBarType.error} onDismiss={() => onDismissError(videoEffectError)}>\n {locale.strings.call.unableToStartVideoEffect}\n </MessageBar>\n )}\n {showWarning && (\n <MessageBar messageBarType={MessageBarType.warning}>\n {locale.strings.call.cameraOffBackgroundEffectWarningText}\n </MessageBar>\n )}\n <_VideoBackgroundEffectsPicker\n label={locale.strings.call.videoEffectsPaneBackgroundSelectionTitle}\n styles={backgroundPickerStyles}\n options={selectableVideoEffects ?? []}\n onChange={onEffectChange}\n selectedEffectKey={selectedEffect}\n />\n </Stack>\n );\n return <></>;\n};\n\n/* @conditional-compile-remove(video-background-effects) */\nconst backgroundPickerStyles = {\n label: {\n fontSize: '0.75rem',\n lineHeight: '0.5rem',\n fontWeight: '400'\n }\n};\n\"../../../../react-components/src\""]}
|
@@ -114,7 +114,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
114
114
|
SplitButtonPrimaryActionMicMuted: JSX.Element;
|
115
115
|
VerticalGalleryLeftButton: JSX.Element;
|
116
116
|
VerticalGalleryRightButton: JSX.Element;
|
117
|
-
|
117
|
+
ControlButtonVideoEffectsOption: JSX.Element;
|
118
|
+
ConfigurationScreenVideoEffectsButton: JSX.Element;
|
118
119
|
CaptionsIcon: JSX.Element;
|
119
120
|
CaptionsOffIcon: JSX.Element;
|
120
121
|
CaptionsSettingsIcon: JSX.Element;
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Gruppeneinladungslink kopiert",
|
24
24
|
"defaultPlaceHolder": "Option auswählen",
|
25
25
|
"dismissSidePaneButtonLabel": "Schließen",
|
26
|
+
"videoEffectsPaneTitle": "Effekte",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Hintergrund",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Effekte",
|
29
|
+
"unableToStartVideoEffect": "Videoeffekt kann nicht angewendet werden.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Weichzeichnen",
|
27
31
|
"blurBackgroundTooltip": "Hintergrund weichzeichnen",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Keine",
|
29
33
|
"removeBackgroundTooltip": "Hintergrund entfernen",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "Ihre Kamera ist ausgeschaltet. Aktivieren Sie die Kamera, um den Videoeffekt anzuzeigen.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "Der Anruf wurde aufgrund eines Netzwerkproblems getrennt. Überprüfen Sie Ihre Verbindung, und treten Sie erneut bei.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Anruf unterbrochen",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "Ihnen wurde keine Teilnahme am Anruf gewährt. Wenn dies ein Fehler war, treten Sie dem Anruf erneut bei.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Invite link copied",
|
24
24
|
"defaultPlaceHolder": "Select an option",
|
25
25
|
"dismissSidePaneButtonLabel": "Close",
|
26
|
+
"videoEffectsPaneTitle": "Effects",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Background",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Effects",
|
29
|
+
"unableToStartVideoEffect": "Unable to apply video effect.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Blur",
|
27
31
|
"blurBackgroundTooltip": "Blur Background",
|
28
32
|
"removeBackgroundEffectButtonLabel": "None",
|
29
33
|
"removeBackgroundTooltip": "Remove Background",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "Your camera is off. Turn on camera to see video effect.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "Call was disconnected due to a network issue. Check your connection and join again.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Call disconnected",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "You were not granted entry in the call. If this was a mistake, re-join the call.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Vínculo de invitación copiado",
|
24
24
|
"defaultPlaceHolder": "Seleccionar una opción",
|
25
25
|
"dismissSidePaneButtonLabel": "Cerrar",
|
26
|
+
"videoEffectsPaneTitle": "Efectos",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Fondo",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Efectos",
|
29
|
+
"unableToStartVideoEffect": "No se puede aplicar el efecto de vídeo.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Desenfoque",
|
27
31
|
"blurBackgroundTooltip": "Desenfocar fondo",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Ninguno",
|
29
33
|
"removeBackgroundTooltip": "Quitar fondo",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "La cámara está apagada. Enciende la cámara para ver el efecto de vídeo.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "Se desconectó la llamada debido a un problema de red. Compruebe la conexión y únase de nuevo.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Llamada desconectada",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "No se te concedió la entrada a la llamada. Si se trata de un error, vuelve a unirte.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Le lien d’invitation a été copié.",
|
24
24
|
"defaultPlaceHolder": "Sélectionnez une option",
|
25
25
|
"dismissSidePaneButtonLabel": "Fermer",
|
26
|
+
"videoEffectsPaneTitle": "Effets",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Arrière-plan",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Effets",
|
29
|
+
"unableToStartVideoEffect": "Impossible d’appliquer l’effet vidéo.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Flouter",
|
27
31
|
"blurBackgroundTooltip": "Flouter l'arrière-plan",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Aucun",
|
29
33
|
"removeBackgroundTooltip": "Supprimer l’arrière-plan",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "Votre caméra est désactivée. Activez la caméra pour voir l’effet vidéo.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "L’appel a été déconnecté en raison d’un problème réseau. Vérifiez votre connexion et rejoignez-la à nouveau.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Appel déconnecté",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "Vous n’avez pas reçu d’entrée dans l’appel. S’il s’agissait d’une erreur, rejoignez à nouveau l’appel.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Collegamento di invito copiato",
|
24
24
|
"defaultPlaceHolder": "Seleziona un'opzione",
|
25
25
|
"dismissSidePaneButtonLabel": "Chiudi",
|
26
|
+
"videoEffectsPaneTitle": "Effetti",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "In background",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Effetti",
|
29
|
+
"unableToStartVideoEffect": "Non è possibile applicare l'effetto video.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Sfocatura",
|
27
31
|
"blurBackgroundTooltip": "Sfoca sfondo",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Nessuno",
|
29
33
|
"removeBackgroundTooltip": "Rimuovi sfondo",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "La fotocamera è disattivata. Attiva la fotocamera per vedere l'effetto video.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "La chiamata è stata disconnessa a causa di un problema di rete. Controlla la connessione e partecipa di nuovo.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Chiamata interrotta",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "Non ti è stato concesso l’accesso alla chiamata. Se si è trattato di un errore, partecipa di nuovo alla chiamata.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "招待用のリンクがコピーされました",
|
24
24
|
"defaultPlaceHolder": "オプションを選択する",
|
25
25
|
"dismissSidePaneButtonLabel": "閉じる",
|
26
|
+
"videoEffectsPaneTitle": "効果",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "バックグラウンド",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "効果",
|
29
|
+
"unableToStartVideoEffect": "ビデオ効果を適用できません。",
|
26
30
|
"blurBackgroundEffectButtonLabel": "ぼかし",
|
27
31
|
"blurBackgroundTooltip": "背景をぼかす",
|
28
32
|
"removeBackgroundEffectButtonLabel": "なし",
|
29
33
|
"removeBackgroundTooltip": "背景の削除",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "カメラがオフになっています。カメラをオンにすると、ビデオ効果が表示されます。",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "ネットワークの問題により、通話が切断されました。接続を確認して、もう一度参加してください。",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "通話が切断されました",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "通話のエントリが許可されませんでした。これが間違いだった場合は、通話に再参加してください。",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "초대 링크를 복사함",
|
24
24
|
"defaultPlaceHolder": "옵션 선택",
|
25
25
|
"dismissSidePaneButtonLabel": "닫기",
|
26
|
+
"videoEffectsPaneTitle": "효과",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "백그라운드",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "효과",
|
29
|
+
"unableToStartVideoEffect": "비디오 효과를 적용할 수 없습니다.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "흐리기",
|
27
31
|
"blurBackgroundTooltip": "배경 흐리게",
|
28
32
|
"removeBackgroundEffectButtonLabel": "없음",
|
29
33
|
"removeBackgroundTooltip": "배경 제거",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "카메라가 꺼져 있습니다. 비디오 효과를 보려면 카메라를 켜세요.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "네트워크 문제로 인해 통화 연결이 끊어졌습니다. 연결을 확인하고 다시 참가하세요.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "통화 연결 끊김",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "통화에 참가할 수 있는 권한이 없습니다. 실수라면 통화에 다시 참가하세요.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Uitnodigingskoppeling gekopieerd",
|
24
24
|
"defaultPlaceHolder": "Een optie selecteren",
|
25
25
|
"dismissSidePaneButtonLabel": "Sluiten",
|
26
|
+
"videoEffectsPaneTitle": "Effecten",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Achtergrond",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Effecten",
|
29
|
+
"unableToStartVideoEffect": "Kan video-effect niet toepassen.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Vervagen",
|
27
31
|
"blurBackgroundTooltip": "Achtergrond vervagen",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Geen",
|
29
33
|
"removeBackgroundTooltip": "Achtergrond verwijderen",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "Uw camera is uitgeschakeld. Schakel de camera in om het video-effect te zien.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "De verbinding is verbroken vanwege een netwerkprobleem. Controleer de verbinding en neem opnieuw deel.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Verbinding verbroken",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "U hebt geen toegang gekregen in het gesprek. Als dit een fout is, neemt u opnieuw deel aan het gesprek.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Link de convite copiado",
|
24
24
|
"defaultPlaceHolder": "Selecionar uma opção",
|
25
25
|
"dismissSidePaneButtonLabel": "Fechar",
|
26
|
+
"videoEffectsPaneTitle": "Efeitos",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Tela de fundo",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Efeitos",
|
29
|
+
"unableToStartVideoEffect": "Não é possível aplicar o efeito de vídeo.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Desfoque",
|
27
31
|
"blurBackgroundTooltip": "Desfocar a Tela de fundo",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Nenhum",
|
29
33
|
"removeBackgroundTooltip": "Remover Tela de fundo",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "A câmera está desligada. Ligue a câmera para ver o efeito de vídeo.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "A chamada foi desconectada devido a um problema de rede. Verifique sua conexão e ingresse novamente.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Chamada desconectada",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "Você não recebeu entrada na chamada. Se isso foi um erro, ingresse novamente na chamada.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Ссылка на приглашение в группу скопирована",
|
24
24
|
"defaultPlaceHolder": "Выберите один из вариантов",
|
25
25
|
"dismissSidePaneButtonLabel": "Закрыть",
|
26
|
+
"videoEffectsPaneTitle": "Эффекты",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Фон",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Эффекты",
|
29
|
+
"unableToStartVideoEffect": "Не удалось применить эффект видео.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Размытие",
|
27
31
|
"blurBackgroundTooltip": "Размытие фона",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Нет",
|
29
33
|
"removeBackgroundTooltip": "Удалить фон",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "Камера выключена. Включите камеру, чтобы увидеть видеоэффект.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "Звонок был отключен из-за проблемы с сетью. Проверьте подключение и присоединитесь еще раз.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Вызов прерван",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "Вам не предоставили доступ к беседе. Если это произошло по ошибке, заново присоединитесь к беседе.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "Davet bağlantısı kopyalandı",
|
24
24
|
"defaultPlaceHolder": "Bir seçenek belirleyin",
|
25
25
|
"dismissSidePaneButtonLabel": "Kapat",
|
26
|
+
"videoEffectsPaneTitle": "Efektler",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "Arka plan",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "Efektler",
|
29
|
+
"unableToStartVideoEffect": "Video efekti uygulanamıyor.",
|
26
30
|
"blurBackgroundEffectButtonLabel": "Bulanıklaştır",
|
27
31
|
"blurBackgroundTooltip": "Arka Planı Bulanıklaştır",
|
28
32
|
"removeBackgroundEffectButtonLabel": "Seçilmedi",
|
29
33
|
"removeBackgroundTooltip": "Arka Planı Kaldır",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "Kameranız kapalı. Video efektini görmek için kamerayı açın.",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "Bir ağ sorunu nedeniyle arama bağlantısı kesildi. Bağlantınızı kontrol edin ve yeniden katılın.",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "Arama kesildi",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "Aramaya katılmanıza izin verilmedi. Bu işlem yanlışlıkla yapıldıysa aramaya yeniden katılın.",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "已复制邀请链接",
|
24
24
|
"defaultPlaceHolder": "选择一个选项",
|
25
25
|
"dismissSidePaneButtonLabel": "关闭",
|
26
|
+
"videoEffectsPaneTitle": "效果",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "背景",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "效果",
|
29
|
+
"unableToStartVideoEffect": "无法应用视频效果。",
|
26
30
|
"blurBackgroundEffectButtonLabel": "模糊",
|
27
31
|
"blurBackgroundTooltip": "模糊背景",
|
28
32
|
"removeBackgroundEffectButtonLabel": "无",
|
29
33
|
"removeBackgroundTooltip": "删除背景",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "你的相机已关闭。打开相机以查看视频效果。",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "由于网络问题,呼叫已断开连接。请检查你的连接,然后重新加入。",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "通话已断开",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "未在通话中向你授予条目。如果这是一个错误,请重新加入呼叫。",
|
package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json
CHANGED
@@ -23,10 +23,15 @@
|
|
23
23
|
"copyInviteLinkActionedAriaLabel": "已複製邀請連結",
|
24
24
|
"defaultPlaceHolder": "選取選項",
|
25
25
|
"dismissSidePaneButtonLabel": "關閉",
|
26
|
+
"videoEffectsPaneTitle": "效果",
|
27
|
+
"videoEffectsPaneBackgroundSelectionTitle": "背景",
|
28
|
+
"configurationPageVideoEffectsButtonLabel": "效果",
|
29
|
+
"unableToStartVideoEffect": "無法套用視訊效果。",
|
26
30
|
"blurBackgroundEffectButtonLabel": "模糊",
|
27
31
|
"blurBackgroundTooltip": "模糊背景",
|
28
32
|
"removeBackgroundEffectButtonLabel": "無",
|
29
33
|
"removeBackgroundTooltip": "移除背景",
|
34
|
+
"cameraOffBackgroundEffectWarningText": "您的相機已關閉。開啟相機以查看影片效果。",
|
30
35
|
"failedToJoinCallDueToNoNetworkMoreDetails": "由於網路問題,通話已中斷連線。檢查您的連線並再次加入。",
|
31
36
|
"failedToJoinCallDueToNoNetworkTitle": "通話已斷線",
|
32
37
|
"failedToJoinTeamsMeetingReasonAccessDeniedMoreDetails": "您未被授予加入通話的權限。如果有誤,請重新加入通話。",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure/communication-react",
|
3
|
-
"version": "1.5.1-alpha-
|
3
|
+
"version": "1.5.1-alpha-202305200012",
|
4
4
|
"sideEffects": false,
|
5
5
|
"description": "React library for building modern communication user experiences utilizing Azure Communication Services",
|
6
6
|
"keywords": [
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"uuid": "^8.1.0"
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
52
|
-
"@azure/communication-calling": "1.13.
|
52
|
+
"@azure/communication-calling": "1.13.2-beta.1 || >=1.13.1",
|
53
53
|
"@azure/communication-calling-effects": "1.0.0-beta.2",
|
54
54
|
"@azure/communication-chat": "1.3.2-beta.1 || >=1.2.0",
|
55
55
|
"@types/react": ">=16.8.0 <18.0.0",
|
@@ -85,19 +85,19 @@
|
|
85
85
|
"_by-flavor": "rushx _current-flavor && env-cmd -f ../../common/config/env/.env --use-shell"
|
86
86
|
},
|
87
87
|
"devDependencies": {
|
88
|
-
"@azure/communication-calling": "1.13.
|
88
|
+
"@azure/communication-calling": "1.13.2-beta.1 || >=1.13.1",
|
89
89
|
"@azure/communication-calling-effects": "1.0.0-beta.2",
|
90
90
|
"@azure/communication-chat": "1.3.2-beta.1 || >=1.2.0",
|
91
91
|
"@azure/core-auth": "1.3.2",
|
92
92
|
"@babel/cli": "~7.16.0",
|
93
93
|
"@babel/core": "~7.16.0",
|
94
|
-
"@internal/calling-component-bindings": "1.5.1-alpha-
|
95
|
-
"@internal/calling-stateful-client": "1.5.1-alpha-
|
96
|
-
"@internal/chat-component-bindings": "1.5.1-alpha-
|
97
|
-
"@internal/chat-stateful-client": "1.5.1-alpha-
|
98
|
-
"@internal/fake-backends": "1.5.1-alpha-
|
99
|
-
"@internal/react-components": "1.5.1-alpha-
|
100
|
-
"@internal/react-composites": "1.5.1-alpha-
|
94
|
+
"@internal/calling-component-bindings": "1.5.1-alpha-202305200012",
|
95
|
+
"@internal/calling-stateful-client": "1.5.1-alpha-202305200012",
|
96
|
+
"@internal/chat-component-bindings": "1.5.1-alpha-202305200012",
|
97
|
+
"@internal/chat-stateful-client": "1.5.1-alpha-202305200012",
|
98
|
+
"@internal/fake-backends": "1.5.1-alpha-202305200012",
|
99
|
+
"@internal/react-components": "1.5.1-alpha-202305200012",
|
100
|
+
"@internal/react-composites": "1.5.1-alpha-202305200012",
|
101
101
|
"@microsoft/api-documenter": "~7.12.11",
|
102
102
|
"@microsoft/api-extractor": "~7.18.0",
|
103
103
|
"@rollup/plugin-json": "~4.1.0",
|