新增功能
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
|
||||
export type TButtonPanelContextValue = {
|
||||
status: any;
|
||||
};
|
||||
|
||||
export const ButtonPanelContextKey = 'ButtonPanelContextKey';
|
||||
@@ -0,0 +1,15 @@
|
||||
import { CallStatus, CallRole, CallMediaType } from '../../TUICallService';
|
||||
|
||||
export type TCallInfoContextValue = {
|
||||
callStatus?: CallStatus,
|
||||
callRole?: CallRole,
|
||||
callType?: CallMediaType,
|
||||
isGroupCall?: boolean,
|
||||
isEarPhone?: boolean,
|
||||
focusElement?: string | null,
|
||||
enableVirtualBackground?: boolean,
|
||||
isShowEnableVirtualBackground?: boolean,
|
||||
isMuteSpeaker?: boolean,
|
||||
};
|
||||
|
||||
export const CallInfoContextKey = 'CallInfoContextKey';
|
||||
@@ -0,0 +1,9 @@
|
||||
export type TCallerUserInfoValue = {
|
||||
callerUserInfo: {
|
||||
avatar?: string;
|
||||
userId?: string;
|
||||
displayUserInfo?: string;
|
||||
},
|
||||
};
|
||||
|
||||
export const CallerUserInfoContextKey = 'CallerUserInfoContextKey';
|
||||
@@ -0,0 +1 @@
|
||||
export const CustomUIConfigContextKey = 'CustomUIConfigContextKey';
|
||||
@@ -0,0 +1,5 @@
|
||||
export type TFloatWindowContextValue = {
|
||||
isFloatWindow: boolean,
|
||||
};
|
||||
|
||||
export const FloatWindowContextKey = 'FloatWindowContextKey';
|
||||
@@ -0,0 +1 @@
|
||||
export const FocusContextKey = 'FocusContextKey';
|
||||
@@ -0,0 +1 @@
|
||||
export const IsClickableContextKey = 'IsClickableContextKey';
|
||||
@@ -0,0 +1 @@
|
||||
export const PopoverContextKey = 'PopoverContextKey';
|
||||
@@ -0,0 +1 @@
|
||||
export const translateContextKey = 'translateContextKey';
|
||||
@@ -0,0 +1,8 @@
|
||||
import { IUserInfo } from '../../TUICallService/interface';
|
||||
|
||||
export type TUserInfoExcludeVolumeContextValue = {
|
||||
localUserInfoExcludeVolume: IUserInfo,
|
||||
remoteUserListExcludeVolume: IUserInfo[],
|
||||
};
|
||||
|
||||
export const UserInfoExcludeVolumeContextKey = 'UserInfoExcludeVolumeContextKey';
|
||||
@@ -0,0 +1,10 @@
|
||||
export * from './CallInfoContext';
|
||||
export * from './CallerUserInfoContext';
|
||||
export * from './UserInfoContextExcludeVolume';
|
||||
export * from './FocusItemContext';
|
||||
export * from './ButtonPanelContext';
|
||||
export * from './FloatWindowContext';
|
||||
export * from './IsClickableContext';
|
||||
export * from './PopoverContext';
|
||||
export * from './CustomUIConfigContext';
|
||||
export * from './TranslateContext';
|
||||
Reference in New Issue
Block a user