@azure/communication-react 1.13.0-alpha-202402080012 → 1.13.0-alpha-202402100012
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 +87 -61
- package/dist/dist-cjs/communication-react/index.js +362 -204
- 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/baseSelectors.d.ts +4 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +5 -1
- package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.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 +6 -6
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +3 -3
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +15 -5
- package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -0
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +13 -5
- package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +5 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +15 -3
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +32 -0
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -2
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js +6 -3
- package/dist/dist-esm/calling-stateful-client/src/SpotlightSubscriber.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.d.ts +6 -2
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +57 -8
- package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.d.ts +11 -3
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +41 -9
- package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.d.ts +20 -0
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +15 -0
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +4 -4
- package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +3 -7
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js +15 -14
- package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +0 -5
- package/dist/dist-esm/react-components/src/components/ParticipantList.js +1 -1
- package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +3 -2
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +4 -2
- package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.d.ts +4 -2
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +13 -6
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +10 -4
- package/dist/dist-esm/react-components/src/components/VideoGallery.js +7 -4
- 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 +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +12 -5
- package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.d.ts +7 -8
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js +27 -43
- package/dist/dist-esm/react-components/src/components/styles/ImageOverlay.style.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +3 -1
- package/dist/dist-esm/react-components/src/theming/themes.d.ts +8 -21
- package/dist/dist-esm/react-components/src/theming/themes.js +7 -16
- package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +3 -7
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +3 -0
- package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +4 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +7 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +11 -5
- 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 +20 -6
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +3 -2
- 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/SidePane/usePeoplePane.d.ts +3 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +18 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.d.ts +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js +16 -8
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/spotlightUtils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +4 -4
- 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 +6 -7
- 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 +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +2 -2
@@ -98,7 +98,6 @@ import { SendMessageOptions } from '@azure/communication-chat';
|
|
98
98
|
import { SpotlightedParticipant } from '@azure/communication-calling';
|
99
99
|
import { StartCallOptions } from '@azure/communication-calling';
|
100
100
|
import { StartCaptionsOptions } from '@azure/communication-calling';
|
101
|
-
import { SyntheticEvent } from 'react';
|
102
101
|
import { TeamsCall } from '@azure/communication-calling';
|
103
102
|
import { TeamsCallAgent } from '@azure/communication-calling';
|
104
103
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
@@ -925,16 +924,12 @@ export declare interface CallAdapterCallOperations {
|
|
925
924
|
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
926
925
|
/**
|
927
926
|
* Start spotlight
|
928
|
-
*
|
929
|
-
* @beta
|
930
927
|
*/
|
931
|
-
startSpotlight(
|
928
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
932
929
|
/**
|
933
930
|
* Stop spotlight
|
934
|
-
*
|
935
|
-
* @beta
|
936
931
|
*/
|
937
|
-
stopSpotlight(
|
932
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
938
933
|
}
|
939
934
|
|
940
935
|
/**
|
@@ -1193,6 +1188,10 @@ export declare interface CallAdapterSubscribers {
|
|
1193
1188
|
* Subscribe function for 'roleChanged' event.
|
1194
1189
|
*/
|
1195
1190
|
on(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
1191
|
+
/**
|
1192
|
+
* Subscribe function for 'spotlightChanged' event.
|
1193
|
+
*/
|
1194
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
1196
1195
|
/**
|
1197
1196
|
* Unsubscribe function for 'participantsJoined' event.
|
1198
1197
|
*/
|
@@ -1269,6 +1268,10 @@ export declare interface CallAdapterSubscribers {
|
|
1269
1268
|
* Unsubscribe function for 'roleChanged' event.
|
1270
1269
|
*/
|
1271
1270
|
off(event: 'roleChanged', listener: PropertyChangedEvent): void;
|
1271
|
+
/**
|
1272
|
+
* Subscribe function for 'spotlightChanged' event.
|
1273
|
+
*/
|
1274
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
1272
1275
|
}
|
1273
1276
|
|
1274
1277
|
/**
|
@@ -1959,6 +1962,10 @@ export declare interface CallCompositeStrings {
|
|
1959
1962
|
* Label for menu item to stop spotlight on local user
|
1960
1963
|
*/
|
1961
1964
|
stopSpotlightOnSelfParticipantListMenuLabel: string;
|
1965
|
+
/**
|
1966
|
+
* Label for menu item to stop spotlight on local user
|
1967
|
+
*/
|
1968
|
+
spotlightLimitReachedParticipantListMenuTitle: string;
|
1962
1969
|
/**
|
1963
1970
|
* Label for add people dropdown
|
1964
1971
|
*/
|
@@ -2610,12 +2617,8 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
2610
2617
|
* @beta
|
2611
2618
|
* */
|
2612
2619
|
reaction?: Reaction;
|
2613
|
-
/**
|
2614
|
-
|
2615
|
-
*
|
2616
|
-
* @beta
|
2617
|
-
* */
|
2618
|
-
isSpotlighted?: Spotlight;
|
2620
|
+
/** Whether calling participant is spotlighted **/
|
2621
|
+
spotlight?: Spotlight;
|
2619
2622
|
};
|
2620
2623
|
|
2621
2624
|
/**
|
@@ -3212,16 +3215,12 @@ export declare interface CallWithChatAdapterManagement {
|
|
3212
3215
|
submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
3213
3216
|
/**
|
3214
3217
|
* Start spotlight
|
3215
|
-
*
|
3216
|
-
* @beta
|
3217
3218
|
*/
|
3218
|
-
startSpotlight(
|
3219
|
+
startSpotlight(userIds?: string[]): Promise<void>;
|
3219
3220
|
/**
|
3220
3221
|
* Stop spotlight
|
3221
|
-
*
|
3222
|
-
* @beta
|
3223
3222
|
*/
|
3224
|
-
stopSpotlight(
|
3223
|
+
stopSpotlight(userIds?: string[]): Promise<void>;
|
3225
3224
|
}
|
3226
3225
|
|
3227
3226
|
/**
|
@@ -3254,6 +3253,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
3254
3253
|
on(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
3255
3254
|
on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
3256
3255
|
on(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
3256
|
+
on(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
3257
3257
|
off(event: 'callEnded', listener: CallEndedListener): void;
|
3258
3258
|
off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
|
3259
3259
|
off(event: 'callIdChanged', listener: CallIdChangedListener): void;
|
@@ -3270,6 +3270,7 @@ export declare interface CallWithChatAdapterSubscriptions {
|
|
3270
3270
|
off(event: 'isCaptionLanguageChanged', listener: IsCaptionLanguageChangedListener): void;
|
3271
3271
|
off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
|
3272
3272
|
off(event: 'capabilitiesChanged', listener: CapabilitiesChangedListener): void;
|
3273
|
+
off(event: 'spotlightChanged', listener: SpotlightChangedListener): void;
|
3273
3274
|
on(event: 'messageReceived', listener: MessageReceivedListener): void;
|
3274
3275
|
on(event: 'messageEdited', listener: MessageEditedListener): void;
|
3275
3276
|
on(event: 'messageDeleted', listener: MessageDeletedListener): void;
|
@@ -3831,7 +3832,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
|
|
3831
3832
|
*
|
3832
3833
|
* @public
|
3833
3834
|
*/
|
3834
|
-
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3835
|
+
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | /* @conditional-compile-remove(spotlight) */ 'spotlightChanged' | 'messageReceived' | 'messageEdited' | 'messageDeleted' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
3835
3836
|
|
3836
3837
|
/**
|
3837
3838
|
* @beta
|
@@ -4744,26 +4745,6 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
|
|
4744
4745
|
*/
|
4745
4746
|
export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
|
4746
4747
|
|
4747
|
-
/**
|
4748
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4749
|
-
*
|
4750
|
-
* @beta
|
4751
|
-
*/
|
4752
|
-
export declare interface ChatTheme {
|
4753
|
-
/**
|
4754
|
-
* Custom Fluent theme palette used by chat related components in this library.
|
4755
|
-
*
|
4756
|
-
* @beta
|
4757
|
-
*/
|
4758
|
-
chatPalette: {
|
4759
|
-
modalOverlayBlack: string;
|
4760
|
-
modalTitleWhite: string;
|
4761
|
-
modalButtonBackground: string;
|
4762
|
-
modalButtonBackgroundHover: string;
|
4763
|
-
modalButtonBackgroundActive: string;
|
4764
|
-
};
|
4765
|
-
}
|
4766
|
-
|
4767
4748
|
/**
|
4768
4749
|
* A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
|
4769
4750
|
*
|
@@ -5075,8 +5056,8 @@ export declare interface CommonCallingHandlers {
|
|
5075
5056
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
5076
5057
|
onSetCaptionLanguage: (language: string) => Promise<void>;
|
5077
5058
|
onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
|
5078
|
-
onStartSpotlight: (
|
5079
|
-
onStopSpotlight: (
|
5059
|
+
onStartSpotlight: (userIds?: string[]) => Promise<void>;
|
5060
|
+
onStopSpotlight: (userIds?: string[]) => Promise<void>;
|
5080
5061
|
}
|
5081
5062
|
|
5082
5063
|
/**
|
@@ -6108,7 +6089,7 @@ export declare interface CustomMessage extends MessageCommon {
|
|
6108
6089
|
*
|
6109
6090
|
* @public
|
6110
6091
|
*/
|
6111
|
-
export declare const darkTheme: PartialTheme & CallingTheme
|
6092
|
+
export declare const darkTheme: PartialTheme & CallingTheme;
|
6112
6093
|
|
6113
6094
|
/**
|
6114
6095
|
* @beta
|
@@ -6973,6 +6954,10 @@ export declare interface ErrorBarStrings {
|
|
6973
6954
|
* Unable to start effect
|
6974
6955
|
*/
|
6975
6956
|
unableToStartVideoEffect?: string;
|
6957
|
+
/**
|
6958
|
+
* An error message when starting spotlight while max participants are spotlighted
|
6959
|
+
*/
|
6960
|
+
startSpotlightWhileMaxParticipantsAreSpotlighted: string;
|
6976
6961
|
}
|
6977
6962
|
|
6978
6963
|
/**
|
@@ -7468,13 +7453,9 @@ export declare interface ImageOverlayProps {
|
|
7468
7453
|
*/
|
7469
7454
|
onDismiss: () => void;
|
7470
7455
|
/**
|
7471
|
-
*
|
7472
|
-
*/
|
7473
|
-
onDownloadButtonClicked: (imageSrc: string) => void;
|
7474
|
-
/**
|
7475
|
-
* Callback called when there's an error loading the image.
|
7456
|
+
* Optional callback called when the download button is clicked. If not provided, the download button will not be rendered.
|
7476
7457
|
*/
|
7477
|
-
|
7458
|
+
onDownloadButtonClicked?: (imageSrc: string) => void;
|
7478
7459
|
}
|
7479
7460
|
|
7480
7461
|
/**
|
@@ -7493,6 +7474,13 @@ export declare interface ImageOverlayStrings {
|
|
7493
7474
|
dismissButtonAriaLabel: string;
|
7494
7475
|
}
|
7495
7476
|
|
7477
|
+
/**
|
7478
|
+
* Preset dark theme for the ImageOverlay component.
|
7479
|
+
*
|
7480
|
+
* @beta
|
7481
|
+
*/
|
7482
|
+
export declare const imageOverlayTheme: PartialTheme;
|
7483
|
+
|
7496
7484
|
/**
|
7497
7485
|
* @beta
|
7498
7486
|
* This contains a readonly array that returns all the active `incomingCalls`.
|
@@ -7679,7 +7667,7 @@ export declare interface JumpToNewMessageButtonProps {
|
|
7679
7667
|
*
|
7680
7668
|
* @public
|
7681
7669
|
*/
|
7682
|
-
export declare const lightTheme: PartialTheme & CallingTheme
|
7670
|
+
export declare const lightTheme: PartialTheme & CallingTheme;
|
7683
7671
|
|
7684
7672
|
/**
|
7685
7673
|
* Whether the stream is loading or not.
|
@@ -8835,11 +8823,6 @@ export declare type ParticipantListProps = {
|
|
8835
8823
|
onFetchParticipantMenuItems?: ParticipantMenuItemsCallback;
|
8836
8824
|
/** Optional callback when rendered ParticipantItem is clicked */
|
8837
8825
|
onParticipantClick?: (participant?: ParticipantListParticipant) => void;
|
8838
|
-
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8839
|
-
onStartSpotlight?: (userId: string) => void;
|
8840
|
-
/** Optional callback to generate context menu item to stop spotlight of each participant */
|
8841
|
-
onStopSpotlight?: (userId: string) => void;
|
8842
|
-
/** Styles for the {@link ParticipantList} */
|
8843
8826
|
styles?: ParticipantListStyles;
|
8844
8827
|
/** Optional value to determine if the tooltip should be shown for participants or not */
|
8845
8828
|
showParticipantOverflowTooltip?: boolean;
|
@@ -9395,7 +9378,7 @@ export declare interface RemoteParticipantState {
|
|
9395
9378
|
/**
|
9396
9379
|
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.spotlightedParticipants}.
|
9397
9380
|
*/
|
9398
|
-
|
9381
|
+
spotlight?: SpotlightState;
|
9399
9382
|
}
|
9400
9383
|
|
9401
9384
|
/**
|
@@ -9785,7 +9768,7 @@ export declare type Spotlight = {
|
|
9785
9768
|
/**
|
9786
9769
|
* Specifies the order position of the spotlight
|
9787
9770
|
*/
|
9788
|
-
|
9771
|
+
spotlightedOrderPosition?: number;
|
9789
9772
|
};
|
9790
9773
|
|
9791
9774
|
/**
|
@@ -9798,8 +9781,22 @@ export declare interface SpotlightCallFeatureState {
|
|
9798
9781
|
* Ordered array of spotlighted participants in call
|
9799
9782
|
*/
|
9800
9783
|
spotlightedParticipants: SpotlightedParticipant[];
|
9784
|
+
/**
|
9785
|
+
* Proxy of {@link @azure/communication-calling#SpotlightCallFeature.maxParticipantsToSpotlight}.
|
9786
|
+
*/
|
9787
|
+
maxParticipantsToSpotlight: number;
|
9801
9788
|
}
|
9802
9789
|
|
9790
|
+
/**
|
9791
|
+
* Callback for {@link CallAdapterSubscribers} 'spotlightChanged' event.
|
9792
|
+
*
|
9793
|
+
* @public
|
9794
|
+
*/
|
9795
|
+
export declare type SpotlightChangedListener = (args: {
|
9796
|
+
added: SpotlightedParticipant[];
|
9797
|
+
removed: SpotlightedParticipant[];
|
9798
|
+
}) => void;
|
9799
|
+
|
9803
9800
|
/**
|
9804
9801
|
* Strings used in prompt related to spotlight
|
9805
9802
|
* @beta
|
@@ -10044,6 +10041,10 @@ export declare type StatefulCallClientOptions = {
|
|
10044
10041
|
* @public
|
10045
10042
|
*/
|
10046
10043
|
export declare interface StatefulChatClient extends ChatClient {
|
10044
|
+
/**
|
10045
|
+
* Cleans up the resource cache from the chat thread client.
|
10046
|
+
*/
|
10047
|
+
dispose(): void;
|
10047
10048
|
/**
|
10048
10049
|
* Holds all the state that we could proxy from ChatClient {@Link @azure/communication-chat#ChatClient} as
|
10049
10050
|
* ChatClientState {@Link ChatClientState}.
|
@@ -10061,6 +10062,22 @@ export declare interface StatefulChatClient extends ChatClient {
|
|
10061
10062
|
* @param handler - Original callback to be unsubscribed.
|
10062
10063
|
*/
|
10063
10064
|
offStateChange(handler: (state: ChatClientState) => void): void;
|
10065
|
+
/**
|
10066
|
+
* Downloads a resource for specific message and caches it.
|
10067
|
+
*
|
10068
|
+
* @param threadId - The thread id of the chat thread.
|
10069
|
+
* @param messageId - The message id of the chat message.
|
10070
|
+
* @param resourceUrl - The resource url to fetch and cache.
|
10071
|
+
*/
|
10072
|
+
downloadResourceToCache(threadId: string, messageId: string, resourceUrl: string): void;
|
10073
|
+
/**
|
10074
|
+
* Removes a resource from cache for a specific message.
|
10075
|
+
*
|
10076
|
+
* @param threadId - The thread id of the chat thread.
|
10077
|
+
* @param messageId - The message id of the chat message.
|
10078
|
+
* @param resourceUrl - The resource url to remove from cache.
|
10079
|
+
*/
|
10080
|
+
removeResourceFromCache(threadId: string, messageId: string, resourceUrl: string): void;
|
10064
10081
|
}
|
10065
10082
|
|
10066
10083
|
/**
|
@@ -10965,6 +10982,8 @@ export declare type VideoGalleryParticipant = {
|
|
10965
10982
|
videoStream?: VideoGalleryStream;
|
10966
10983
|
/** Whether participant is screen sharing or not */
|
10967
10984
|
isScreenSharingOn?: boolean;
|
10985
|
+
/** Whether participant is spotlighted **/
|
10986
|
+
spotlight?: Spotlight;
|
10968
10987
|
};
|
10969
10988
|
|
10970
10989
|
/**
|
@@ -11053,13 +11072,17 @@ export declare interface VideoGalleryProps {
|
|
11053
11072
|
*/
|
11054
11073
|
spotlightedParticipants?: string[];
|
11055
11074
|
/**
|
11056
|
-
* This callback will be called when spotlight is started for participant video
|
11075
|
+
* This callback will be called when spotlight is started for participant video tiles.
|
11076
|
+
*/
|
11077
|
+
onStartSpotlight?: (userIds?: string[]) => Promise<void>;
|
11078
|
+
/**
|
11079
|
+
* This callback will be called when spotlight is stopped for participant video tiles.
|
11057
11080
|
*/
|
11058
|
-
|
11081
|
+
onStopSpotlight?: (userIds?: string[]) => Promise<void>;
|
11059
11082
|
/**
|
11060
|
-
*
|
11083
|
+
* Maximum participants that can be spotlighted
|
11061
11084
|
*/
|
11062
|
-
|
11085
|
+
maxParticipantsToSpotlight?: number;
|
11063
11086
|
/**
|
11064
11087
|
* Options for showing the remote video tile menu.
|
11065
11088
|
*
|
@@ -11122,6 +11145,7 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
|
|
11122
11145
|
dominantSpeakers?: string[];
|
11123
11146
|
optimalVideoCount?: number;
|
11124
11147
|
spotlightedParticipants?: string[];
|
11148
|
+
maxParticipantsToSpotlight?: number;
|
11125
11149
|
};
|
11126
11150
|
|
11127
11151
|
/**
|
@@ -11189,6 +11213,8 @@ export declare interface VideoGalleryStrings {
|
|
11189
11213
|
startSpotlightVideoTileMenuLabel: string;
|
11190
11214
|
/** Menu text shown in Video Tile contextual menu to add spotlight to participant's video tile */
|
11191
11215
|
addSpotlightVideoTileMenuLabel: string;
|
11216
|
+
/** Menu title for start spotlight menu item when spotlight limit is reached */
|
11217
|
+
spotlightLimitReachedMenuTitle: string;
|
11192
11218
|
/** Menu text shown in Video Tile contextual menu to stop spotlight on participant's video tile */
|
11193
11219
|
stopSpotlightVideoTileMenuLabel: string;
|
11194
11220
|
/** Menu text shown in Video Tile contextual menu to stop spotlight on local user's video tile */
|