@azure/communication-react 1.8.1-alpha-202310080014 → 1.9.0-alpha-202310111702
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 +7 -7
- package/dist/dist-cjs/communication-react/index.js +8 -11
- 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/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/VerticalGallery.d.ts +5 -5
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js +1 -1
- package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
- package/package.json +11 -11
@@ -73,7 +73,7 @@ import { LatestNetworkDiagnostics } from '@azure/communication-calling';
|
|
73
73
|
import { LocalVideoStream } from '@azure/communication-calling';
|
74
74
|
import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
75
75
|
import { MediaStreamType } from '@azure/communication-calling';
|
76
|
-
import {
|
76
|
+
import { MicrosoftTeamsAppKind } from '@azure/communication-common';
|
77
77
|
import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
|
78
78
|
import { MicrosoftTeamsUserKind } from '@azure/communication-common';
|
79
79
|
import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
|
@@ -2216,7 +2216,7 @@ export declare type CallErrors = {
|
|
2216
2216
|
*
|
2217
2217
|
* @public
|
2218
2218
|
*/
|
2219
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.setConstraints';
|
2219
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteAllRemoteParticipants' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.setConstraints';
|
2220
2220
|
|
2221
2221
|
/**
|
2222
2222
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -8024,7 +8024,7 @@ export declare interface OptionsDevice {
|
|
8024
8024
|
/**
|
8025
8025
|
* Different modes and positions of the overflow gallery in the VideoGallery
|
8026
8026
|
*
|
8027
|
-
* @
|
8027
|
+
* @public
|
8028
8028
|
*/
|
8029
8029
|
export declare type OverflowGalleryPosition = 'horizontalBottom' | 'verticalRight' | /* @conditional-compile-remove(gallery-layouts) */ 'horizontalTop';
|
8030
8030
|
|
@@ -8584,7 +8584,7 @@ export declare interface RemoteParticipantState {
|
|
8584
8584
|
/**
|
8585
8585
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
|
8586
8586
|
*/
|
8587
|
-
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind |
|
8587
|
+
identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind | MicrosoftTeamsAppKind;
|
8588
8588
|
/**
|
8589
8589
|
* Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
|
8590
8590
|
*/
|
@@ -9860,7 +9860,7 @@ export declare const useTheme: () => Theme;
|
|
9860
9860
|
/**
|
9861
9861
|
* Styles for the control bar inside the VerticalGallery component
|
9862
9862
|
*
|
9863
|
-
* @
|
9863
|
+
* @public
|
9864
9864
|
*/
|
9865
9865
|
export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
|
9866
9866
|
/**
|
@@ -9880,7 +9880,7 @@ export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyle
|
|
9880
9880
|
/**
|
9881
9881
|
* Strings for localization of the vertical gallery.
|
9882
9882
|
*
|
9883
|
-
* @
|
9883
|
+
* @public
|
9884
9884
|
*/
|
9885
9885
|
export declare interface VerticalGalleryStrings {
|
9886
9886
|
/** Aria label for the left page navigation button */
|
@@ -9892,7 +9892,7 @@ export declare interface VerticalGalleryStrings {
|
|
9892
9892
|
/**
|
9893
9893
|
* Styles for the VerticalGallery component
|
9894
9894
|
*
|
9895
|
-
* @
|
9895
|
+
* @public
|
9896
9896
|
*/
|
9897
9897
|
export declare interface VerticalGalleryStyles extends BaseCustomStyles {
|
9898
9898
|
/** Styles for each video tile in the vertical gallery */
|
@@ -177,7 +177,7 @@ const _isValidIdentifier = (identifier) => {
|
|
177
177
|
// Copyright (c) Microsoft Corporation.
|
178
178
|
// Licensed under the MIT License.
|
179
179
|
// GENERATED FILE. DO NOT EDIT MANUALLY.
|
180
|
-
var telemetryVersion = '1.
|
180
|
+
var telemetryVersion = '1.9.0-alpha-202310111702';
|
181
181
|
|
182
182
|
// Copyright (c) Microsoft Corporation.
|
183
183
|
/**
|
@@ -1165,9 +1165,8 @@ const createDefaultTeamsCallingHandlers = memoizeOne__default["default"]((callCl
|
|
1165
1165
|
if (communicationCommon.isCommunicationUserIdentifier(participant)) {
|
1166
1166
|
throw new Error('CommunicationIdentifier in Teams call is not supported!');
|
1167
1167
|
}
|
1168
|
-
|
1169
|
-
|
1170
|
-
throw new Error('Adding Microsoft Bot Identifier is not supported!');
|
1168
|
+
if (communicationCommon.isMicrosoftTeamsAppIdentifier(participant)) {
|
1169
|
+
throw new Error('Adding Microsoft Teams app identifier is not supported!');
|
1171
1170
|
}
|
1172
1171
|
/* @conditional-compile-remove(teams-identity-support) */
|
1173
1172
|
if (communicationCommon.isPhoneNumberIdentifier(participant)) {
|
@@ -1180,9 +1179,8 @@ const createDefaultTeamsCallingHandlers = memoizeOne__default["default"]((callCl
|
|
1180
1179
|
if (communicationCommon.isCommunicationUserIdentifier(participant)) {
|
1181
1180
|
throw new Error('CommunicationIdentifier in Teams call is not supported!');
|
1182
1181
|
}
|
1183
|
-
|
1184
|
-
|
1185
|
-
throw new Error('Removing Microsoft Bot Identifier is not supported!');
|
1182
|
+
if (communicationCommon.isMicrosoftTeamsAppIdentifier(participant)) {
|
1183
|
+
throw new Error('Removing Microsoft Teams app identifier is not supported!');
|
1186
1184
|
}
|
1187
1185
|
/* @conditional-compile-remove(teams-identity-support) */
|
1188
1186
|
yield (call === null || call === void 0 ? void 0 : call.removeParticipant(participant));
|
@@ -13815,7 +13813,7 @@ const navIconStyles = {
|
|
13815
13813
|
* VerticalGallery is a overflow gallery for participants in the {@link VideoGallery} component. Stacks
|
13816
13814
|
* participants on the Y-axis of the VideoGallery for better use of horizontal space.
|
13817
13815
|
*
|
13818
|
-
* @
|
13816
|
+
* @public
|
13819
13817
|
*/
|
13820
13818
|
const VerticalGallery = (props) => {
|
13821
13819
|
const { children, styles, childrenPerPage, onFetchTilesToRender } = props;
|
@@ -18579,8 +18577,7 @@ const convertRemoteParticipantsToParticipantListParticipants = (remoteParticipan
|
|
18579
18577
|
return (remoteParticipants
|
18580
18578
|
// Filter out MicrosoftBot participants
|
18581
18579
|
.filter((participant) => {
|
18582
|
-
|
18583
|
-
return !communicationCommon.isMicrosoftBotIdentifier(participant.identifier);
|
18580
|
+
return !communicationCommon.isMicrosoftTeamsAppIdentifier(participant.identifier);
|
18584
18581
|
})
|
18585
18582
|
/**
|
18586
18583
|
* hiding participants who are inLobby, idle, or connecting in ACS clients till we can admit users through ACS clients.
|
@@ -27344,7 +27341,7 @@ const MediaGallery = (props) => {
|
|
27344
27341
|
const containerWidth = _useContainerWidth(containerRef);
|
27345
27342
|
/* @conditional-compile-remove(vertical-gallery) */ /* @conditional-compile-remove(rooms) */
|
27346
27343
|
const containerHeight = _useContainerHeight(containerRef);
|
27347
|
-
/* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */
|
27344
|
+
/* @conditional-compile-remove(click-to-call) */ /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(vertical-gallery) */
|
27348
27345
|
const containerAspectRatio = containerWidth && containerHeight ? containerWidth / containerHeight : 0;
|
27349
27346
|
const layoutBasedOnTilePosition = localVideoTileLayoutTrampoline(
|
27350
27347
|
/* @conditional-compile-remove(click-to-call) */ (_b = props.localVideoTileOptions) === null || _b === void 0 ? void 0 : _b.position);
|