新增功能
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import MacPermitZhPng from './mac/permit-zh.jpg';
|
||||
import MacPermitEnPng from './mac/permit-en.jpg';
|
||||
import WinPermitZhPng from './win/permit-zh.png';
|
||||
import WinPermitEnPng from './win/permit-en.png';
|
||||
export { MacPermitZhPng, MacPermitEnPng, WinPermitZhPng, WinPermitEnPng, };
|
||||
@@ -0,0 +1,5 @@
|
||||
import MacPermitZhPng from './mac/permit-zh.jpg';
|
||||
import MacPermitEnPng from './mac/permit-en.jpg';
|
||||
import WinPermitZhPng from './win/permit-zh.png';
|
||||
import WinPermitEnPng from './win/permit-en.png';
|
||||
export { MacPermitZhPng, MacPermitEnPng, WinPermitZhPng, WinPermitEnPng, };
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import { ViewName } from '../../../../TUICallService/const';
|
||||
export declare function useGetLargeViewName(): import("@vue/reactivity").Ref<ViewName, ViewName>;
|
||||
@@ -0,0 +1,34 @@
|
||||
export declare const AvatarProps: {
|
||||
readonly icon: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly size: {
|
||||
readonly type: readonly [NumberConstructor, StringConstructor];
|
||||
readonly default: 100;
|
||||
};
|
||||
readonly shape: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly ["circle", "square"];
|
||||
readonly default: "square";
|
||||
};
|
||||
readonly src: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly defaultSrc: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly text: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly fit: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly ["fill", "contain", "cover"];
|
||||
readonly default: "cover";
|
||||
};
|
||||
readonly customClass: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
};
|
||||
export declare const avatarEmits: {
|
||||
error: (evt: any) => any;
|
||||
};
|
||||
@@ -0,0 +1,56 @@
|
||||
export declare const ButtonProps: {
|
||||
iconSrc: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
iconSize: {
|
||||
type: NumberConstructor;
|
||||
};
|
||||
text: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
loadingColor: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
loadingWidth: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
loadingHeight: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
size: {
|
||||
type: StringConstructor;
|
||||
values: readonly ["small", "middle", "large"];
|
||||
default: string;
|
||||
};
|
||||
width: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
height: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
color: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
direction: {
|
||||
type: StringConstructor;
|
||||
values: readonly ["row", "column"];
|
||||
default: string;
|
||||
};
|
||||
shape: {
|
||||
type: StringConstructor;
|
||||
values: readonly ["circle", "round"];
|
||||
};
|
||||
buttonStyle: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
buttonTextStyle: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,23 @@
|
||||
export declare const GridProps: {
|
||||
readonly length: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly default: 0;
|
||||
};
|
||||
readonly unit: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: string[];
|
||||
readonly default: "%";
|
||||
};
|
||||
readonly enableFocus: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly layout: {
|
||||
readonly type: ArrayConstructor;
|
||||
};
|
||||
readonly focus: {
|
||||
readonly type: readonly [StringConstructor, NumberConstructor];
|
||||
};
|
||||
};
|
||||
export declare const ChangeFocusEmits: string[];
|
||||
export declare const GridContextKey = "GridContextKey";
|
||||
@@ -0,0 +1,9 @@
|
||||
export declare const IconProps: {
|
||||
src: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
size: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
export declare const colProps: {
|
||||
span: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
justify: {
|
||||
type: StringConstructor;
|
||||
values: readonly ["start", "center", "end", "space-around", "space-between", "space-evenly"];
|
||||
default: string;
|
||||
};
|
||||
align: {
|
||||
type: StringConstructor;
|
||||
values: readonly ["top", "middle", "bottom"];
|
||||
default: string;
|
||||
};
|
||||
offset: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
export declare const rowProps: {
|
||||
readonly gutter: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly default: 0;
|
||||
};
|
||||
readonly justify: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly ["start", "center", "end", "space-around", "space-between", "space-evenly"];
|
||||
readonly default: "start";
|
||||
};
|
||||
readonly align: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly ["top", "middle", "bottom"];
|
||||
readonly default: "top";
|
||||
};
|
||||
readonly customStyle: {
|
||||
readonly type: ObjectConstructor;
|
||||
readonly default: () => void;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export declare const RowContextKey = "RowContextKey";
|
||||
@@ -0,0 +1,13 @@
|
||||
export declare const LoadingCircleProps: {
|
||||
readonly width: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "40px";
|
||||
};
|
||||
readonly height: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "40px";
|
||||
};
|
||||
readonly color: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
export declare const LoadingDotProps: {
|
||||
readonly width: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "40px";
|
||||
};
|
||||
readonly height: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "40px";
|
||||
};
|
||||
readonly color: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
export declare const LoadingProps: {
|
||||
readonly mode: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly ["circle", "dot"];
|
||||
readonly default: "circle";
|
||||
};
|
||||
readonly loadingWidth: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "40px";
|
||||
};
|
||||
readonly loadingHeight: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "40px";
|
||||
};
|
||||
readonly color: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly text: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly layout: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly ["row", "column"];
|
||||
readonly default: "column";
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,50 @@
|
||||
export declare const MessageProps: {
|
||||
readonly isShow: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly message: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "";
|
||||
};
|
||||
readonly type: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly [string, string, string, string];
|
||||
readonly default: string;
|
||||
};
|
||||
readonly duration: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly default: 3000;
|
||||
};
|
||||
readonly offset: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly default: 16;
|
||||
};
|
||||
readonly showClose: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly showIcon: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly customClass: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly customStyle: {
|
||||
readonly type: ObjectConstructor;
|
||||
};
|
||||
};
|
||||
export declare const MessageEmits: {
|
||||
onClose: any;
|
||||
};
|
||||
export declare function useMessage(props: any, emits: any): {
|
||||
messageContent: import("@vue/reactivity").Ref<any, any>;
|
||||
messageDuration: import("@vue/reactivity").Ref<any, any>;
|
||||
messageType: import("@vue/reactivity").Ref<any, any>;
|
||||
messageOffset: import("@vue/reactivity").Ref<any, any>;
|
||||
isShowCloseIcon: import("@vue/reactivity").Ref<any, any>;
|
||||
visible: import("@vue/reactivity").Ref<boolean, boolean>;
|
||||
show: (messageObj?: any) => void;
|
||||
close: () => void;
|
||||
};
|
||||
@@ -0,0 +1,45 @@
|
||||
export declare const OverlayProps: {
|
||||
readonly show: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly showMask: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly showBackgroundImage: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly blur: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly bgColor: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly bgImage: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly zIndex: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly default: 11000;
|
||||
};
|
||||
readonly customClass: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly customStyle: {
|
||||
readonly type: ObjectConstructor;
|
||||
};
|
||||
readonly customMaskStyle: {
|
||||
readonly type: ObjectConstructor;
|
||||
};
|
||||
readonly fit: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "cover";
|
||||
};
|
||||
readonly defaultSrc: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
};
|
||||
export declare const OverlayEmits: string[];
|
||||
@@ -0,0 +1,34 @@
|
||||
export declare const PopoverProps: {
|
||||
trigger: {
|
||||
type: StringConstructor;
|
||||
values: readonly ["click", "hover"];
|
||||
default: string;
|
||||
};
|
||||
placement: {
|
||||
type: StringConstructor;
|
||||
values: readonly ["top", "bottom", "left", "right"];
|
||||
default: string;
|
||||
};
|
||||
color: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
isShowArrow: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
arrowSize: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
arrowDistance: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
show: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
autoClose: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
};
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
export declare const calculatePosition: (triggerPosition: any, contentPosition: any, props: any, initContentStyle: any, initArrowStyle: any) => {
|
||||
finalContentStyle: any;
|
||||
finalArrowStyle: any;
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
export declare const PortalProps: {
|
||||
readonly disabled: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly to: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "body";
|
||||
};
|
||||
readonly source: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "body";
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
export declare const Fit: readonly ["fill", "contain", "cover"];
|
||||
export declare const MiniProgramImageFitMap: {
|
||||
readonly fill: "scaleToFill";
|
||||
readonly contain: "aspectFit";
|
||||
readonly cover: "aspectFill";
|
||||
};
|
||||
export declare const ImageProps: {
|
||||
readonly width: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "320px";
|
||||
};
|
||||
readonly height: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "240px";
|
||||
};
|
||||
readonly src: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly fit: {
|
||||
readonly type: StringConstructor;
|
||||
readonly values: readonly ["fill", "contain", "cover"];
|
||||
readonly default: "fill";
|
||||
};
|
||||
readonly customStyle: {
|
||||
readonly type: ObjectConstructor;
|
||||
};
|
||||
readonly defaultSrc: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
};
|
||||
export declare const imageEmits: {
|
||||
error: (evt: any) => any;
|
||||
};
|
||||
@@ -0,0 +1,24 @@
|
||||
export declare const TextProps: {
|
||||
width: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
color: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
size: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
weight: {
|
||||
type: NumberConstructor;
|
||||
};
|
||||
truncated: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
lineClamp: {
|
||||
type: NumberConstructor;
|
||||
};
|
||||
textStyle: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
};
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
export declare const ToggleWindowProps: {
|
||||
readonly bigWindow: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly showSmallWindow: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly smallWindowWidth: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "30%";
|
||||
};
|
||||
readonly smallWindowHeight: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "30%";
|
||||
};
|
||||
};
|
||||
export declare const ToggleWindowEmits: string[];
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
export declare const ToggleWindowItemProps: {
|
||||
readonly value: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export declare const ToggleWindowContextKey = "ToggleWindowContextKey";
|
||||
@@ -0,0 +1,7 @@
|
||||
export declare const PREFIX = "tk";
|
||||
export declare const NAME: {
|
||||
SUCCESS: string;
|
||||
INFO: string;
|
||||
WARNING: string;
|
||||
ERROR: string;
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @function 给目标元素添加事件监听
|
||||
* @description 给目标元素添加事件监听
|
||||
* @param {HTMLElement} 需要监听的元素,,为空默认window.document
|
||||
* @param {String} 事件名
|
||||
* @param {Function} 回调函数
|
||||
* @param {Object} 监听事件的选项,同addEventListener的options参数
|
||||
* @return {void} 返回停止监听的函数
|
||||
* @example
|
||||
* useListenEvent(btnEl, 'click', () => { console.log('click btn');});
|
||||
*/
|
||||
export declare function useListenEvent(event: string, handler: Function, options: object): () => any;
|
||||
export declare function useListenEvent(target: HTMLElement, event: string, handler: Function, options: object): () => any;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function useOnClickOutSide(targetEls: any[], handler: () => any): void;
|
||||
@@ -0,0 +1,10 @@
|
||||
export declare const IN_WX_MINI_APP: boolean;
|
||||
export declare const IN_UNI_NATIVE_APP: boolean;
|
||||
export declare const IN_MINI_APP: boolean;
|
||||
export declare const IN_UNI_APP: boolean;
|
||||
export declare const IN_BROWSER: boolean;
|
||||
export declare const APP_NAMESPACE: any;
|
||||
export declare const IS_H5: boolean;
|
||||
export declare const IS_PC: boolean;
|
||||
export declare const IS_WIN: any;
|
||||
export declare const IS_MAC: any;
|
||||
@@ -0,0 +1,4 @@
|
||||
export declare function checkVueVersion(): {
|
||||
version: string;
|
||||
majorVersion: string;
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export declare function classNames(...rest: any[]): string;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function filterObject(obj: any): {};
|
||||
@@ -0,0 +1,5 @@
|
||||
export * from './classNames';
|
||||
export * from './checkEnv';
|
||||
export * from './filterObject';
|
||||
export declare function findTarget(obj: any, options: any): any;
|
||||
export * from './checkVueVersion';
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
interface IInitASRParams {
|
||||
trtcCloudInstance: any;
|
||||
getNickName?: (userId: string) => userInfo;
|
||||
}
|
||||
interface ITranslationContent {
|
||||
language: string;
|
||||
content: string;
|
||||
}
|
||||
interface ITranslationInfo {
|
||||
roundId: string;
|
||||
sender: string;
|
||||
nick?: string;
|
||||
text: string;
|
||||
end: boolean;
|
||||
translation: (ITranslationContent)[];
|
||||
}
|
||||
export declare const ASREvent: {
|
||||
TRANSCRIPTION: string;
|
||||
};
|
||||
interface userInfo {
|
||||
userId: string;
|
||||
nick: string;
|
||||
avatar?: string;
|
||||
[key: string]: any;
|
||||
}
|
||||
export default class AIAssistant {
|
||||
emitter: any;
|
||||
trtcCloudInstance: any;
|
||||
getNickName: (userId: string) => userInfo;
|
||||
translationInfoList: ITranslationInfo[];
|
||||
constructor();
|
||||
initASR(params: IInitASRParams): void;
|
||||
on(type: any, handler: any): void;
|
||||
emit(type: any, events: any): void;
|
||||
off(type: any, handler: any): void;
|
||||
destroyASR(): void;
|
||||
handleAIMessage(data: any): void;
|
||||
handleCustomMessage(userId: string, cmdId: number, seq: number, data: any): void;
|
||||
}
|
||||
export {};
|
||||
@@ -0,0 +1,4 @@
|
||||
import AIAssistant, { ASREvent } from "./AIAssistant";
|
||||
import AISubtitle from "./AISubtitle.vue";
|
||||
declare const aiAssistant: AIAssistant;
|
||||
export { aiAssistant, ASREvent, AISubtitle, };
|
||||
@@ -0,0 +1,2 @@
|
||||
import mitt from './mitt';
|
||||
export { mitt, };
|
||||
@@ -0,0 +1,16 @@
|
||||
export type EventType = string | symbol;
|
||||
export type Handler<T = unknown> = (event: T) => void;
|
||||
export type WildcardHandler<T = Record<string, unknown>> = (type: keyof T, event: T[keyof T]) => void;
|
||||
export type EventHandlerList<T = unknown> = Array<Handler<T>>;
|
||||
export type WildCardEventHandlerList<T = Record<string, unknown>> = Array<WildcardHandler<T>>;
|
||||
export type EventHandlerMap<Events extends Record<EventType, unknown>> = Map<keyof Events | '*', EventHandlerList<Events[keyof Events]> | WildCardEventHandlerList<Events>>;
|
||||
export interface Emitter<Events extends Record<EventType, unknown>> {
|
||||
all: EventHandlerMap<Events>;
|
||||
on<Key extends keyof Events>(type: Key, handler: Handler<Events[Key]>): void;
|
||||
on(type: '*', handler: WildcardHandler<Events>): void;
|
||||
off<Key extends keyof Events>(type: Key, handler?: Handler<Events[Key]>): void;
|
||||
off(type: '*', handler: WildcardHandler<Events>): void;
|
||||
emit<Key extends keyof Events>(type: Key, event: Events[Key]): void;
|
||||
emit<Key extends keyof Events>(type: undefined extends Events[Key] ? Key : never): void;
|
||||
}
|
||||
export default function mitt<Events extends Record<EventType, unknown>>(all?: EventHandlerMap<Events>): Emitter<Events>;
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
export declare const AudioStreamProps: {
|
||||
avatar: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
username: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
isVideoAvailable: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
showStreamInfo: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
isSmallWindow: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
isMuted: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
volume: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
userId: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,2 @@
|
||||
import { Ref } from '../../../../../adapter-vue';
|
||||
export declare const useBtnConfig: (type: string, state: Ref<string>) => Ref<any, any>;
|
||||
@@ -0,0 +1,15 @@
|
||||
export declare const ButtonProps: {
|
||||
width: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
height: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
showText: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
iconSize: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
};
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
export declare const ButtonPanelConfig: {
|
||||
pc: {
|
||||
singleCall: {
|
||||
video: {
|
||||
calling: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
accept: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
connected: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
};
|
||||
audio: {
|
||||
calling: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
accept: {
|
||||
name: string;
|
||||
}[][];
|
||||
connected: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
};
|
||||
};
|
||||
groupCall: {
|
||||
video: {
|
||||
calling: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
accept: {
|
||||
name: string;
|
||||
}[][];
|
||||
connected: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
};
|
||||
audio: {
|
||||
calling: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
accept: {
|
||||
name: string;
|
||||
}[][];
|
||||
connected: ({
|
||||
name: string;
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
props?: undefined;
|
||||
})[][];
|
||||
};
|
||||
};
|
||||
};
|
||||
mobile: any;
|
||||
};
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
export declare const VirtualBackgroundMobileConfig: {
|
||||
calling: (({
|
||||
name: string;
|
||||
customStyle: {
|
||||
justifyContent: string;
|
||||
};
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
customStyle?: undefined;
|
||||
props?: undefined;
|
||||
})[] | ({
|
||||
name?: undefined;
|
||||
customStyle?: undefined;
|
||||
} | {
|
||||
name: string;
|
||||
customStyle: {
|
||||
paddingTop: string;
|
||||
};
|
||||
})[])[];
|
||||
accept: (({
|
||||
name: string;
|
||||
customStyle: {
|
||||
justifyContent: string;
|
||||
};
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
customStyle?: undefined;
|
||||
props?: undefined;
|
||||
})[] | ({
|
||||
name: string;
|
||||
customStyle: {
|
||||
paddingTop: string;
|
||||
justifyContent: string;
|
||||
};
|
||||
} | {
|
||||
name?: undefined;
|
||||
customStyle?: undefined;
|
||||
})[])[];
|
||||
connected: (({
|
||||
name: string;
|
||||
customStyle: {
|
||||
justifyContent: string;
|
||||
};
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
customStyle?: undefined;
|
||||
props?: undefined;
|
||||
})[] | ({
|
||||
name: string;
|
||||
customStyle: {
|
||||
justifyContent: string;
|
||||
paddingTop: string;
|
||||
};
|
||||
props: {};
|
||||
} | {
|
||||
name: string;
|
||||
customStyle: {
|
||||
paddingTop: string;
|
||||
justifyContent?: undefined;
|
||||
};
|
||||
props?: undefined;
|
||||
})[])[];
|
||||
};
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
export declare function useButtonPanelLayout(): {
|
||||
readonly layout: import("@vue/reactivity").Ref<any[], any[]>;
|
||||
readonly config: import("@vue/reactivity").Ref<any[], any[]>;
|
||||
};
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
import { PropType } from '../../../../adapter-vue';
|
||||
import { DeviceType } from '../../../../TUICallService/const';
|
||||
export declare const DeviceSelectProps: {
|
||||
deviceType: {
|
||||
type: PropType<DeviceType>;
|
||||
};
|
||||
isShowControlBtn: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
};
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
export declare const MicrophoneVolumeProps: {
|
||||
readonly isMuted: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly volume: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly default: 0;
|
||||
};
|
||||
};
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
export declare const OverlayStreamProps: {
|
||||
readonly showOverlayStream: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly customClass: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly customStyle: {
|
||||
readonly type: ObjectConstructor;
|
||||
};
|
||||
readonly isSmallWindow: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly tip: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: any;
|
||||
};
|
||||
readonly showOverlay: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly showMask: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly showBackgroundImage: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly blur: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly bgColor: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly bgImage: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: string;
|
||||
};
|
||||
readonly overlayZIndex: {
|
||||
readonly type: NumberConstructor;
|
||||
};
|
||||
readonly customOverlayClass: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly fit: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly showLoading: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly showAvatar: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly avatar: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: string;
|
||||
};
|
||||
readonly showUserName: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
readonly username: {
|
||||
readonly type: StringConstructor;
|
||||
};
|
||||
readonly color: {
|
||||
readonly type: StringConstructor;
|
||||
readonly default: "#FFF";
|
||||
};
|
||||
readonly showMicVolume: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly isMuted: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: false;
|
||||
};
|
||||
readonly volume: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly default: 0;
|
||||
};
|
||||
readonly showTip: {
|
||||
readonly type: BooleanConstructor;
|
||||
readonly default: true;
|
||||
};
|
||||
};
|
||||
export declare const OverlayStreamEmits: string[];
|
||||
@@ -0,0 +1,3 @@
|
||||
declare const PermitTip: any;
|
||||
export declare const createToast: () => void;
|
||||
export { PermitTip, };
|
||||
@@ -0,0 +1,18 @@
|
||||
export declare const PlayerProps: {
|
||||
show: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
domId: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
showStreamInfo: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
showAudioStream: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
export declare const PusherProps: {
|
||||
show: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
domId: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
loading: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
showStreamInfo: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
showAudioStream: {
|
||||
type: BooleanConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
import TDialog from "./components/Dialog/TDialog.vue";
|
||||
import TTransfer from "./components/Transfer/TTransfer.vue";
|
||||
import TIcon from "./components/Icon/TIcon.vue";
|
||||
import SelectUser from "./SelectUser.vue";
|
||||
export { TDialog, TTransfer, TIcon };
|
||||
export default SelectUser;
|
||||
@@ -0,0 +1,7 @@
|
||||
import Swiper from './Swiper.vue';
|
||||
import SwiperSlider from './SwiperSlider.vue';
|
||||
export declare enum Direction {
|
||||
LEFT = "left",
|
||||
RIGHT = "right"
|
||||
}
|
||||
export { Swiper, SwiperSlider };
|
||||
@@ -0,0 +1,7 @@
|
||||
import { Direction } from '.';
|
||||
export default function useSlide({ pageCount }: {
|
||||
pageCount: any;
|
||||
}): {
|
||||
currentIndex: import("@vue/reactivity").Ref<number, number>;
|
||||
direction: import("@vue/reactivity").Ref<Direction, Direction>;
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export declare function useSwiperSliders(swiperContainerRef: any): any;
|
||||
@@ -0,0 +1,4 @@
|
||||
export declare enum Direction {
|
||||
LEFT = "left",
|
||||
RIGHT = "right"
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
export declare const StreamInfoProps: {
|
||||
nickName: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
isSelf: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
isMuted: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
volume: {
|
||||
type: NumberConstructor;
|
||||
default: number;
|
||||
};
|
||||
showNickName: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
showSwitchCameraButton: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
showVirtualBackgroundButton: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
showNetWorkStatus: {
|
||||
type: BooleanConstructor;
|
||||
default: boolean;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
export declare const TimerProps: {
|
||||
color: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
callDuration: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
fontSize: {
|
||||
type: StringConstructor;
|
||||
default: string;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,5 @@
|
||||
export declare const TipProps: {
|
||||
customClass: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,4 @@
|
||||
import { CreateToast, TToast } from './type';
|
||||
declare const Toast: TToast;
|
||||
export declare const createToast: CreateToast;
|
||||
export { Toast, };
|
||||
@@ -0,0 +1,2 @@
|
||||
import { createToast, Toast } from './Toast';
|
||||
export { createToast, Toast, };
|
||||
@@ -0,0 +1,16 @@
|
||||
export type ToastType = 'info' | 'waring' | 'error';
|
||||
export type TToastOptions = {
|
||||
type?: ToastType;
|
||||
duration?: number;
|
||||
message: string;
|
||||
showClose?: boolean;
|
||||
onClose?: () => void;
|
||||
};
|
||||
export type CreateToast = (options: TToastOptions) => any;
|
||||
export type TToast = {
|
||||
info?: (options: TToastOptions) => void;
|
||||
success?: (options: TToastOptions) => void;
|
||||
waring?: (options: TToastOptions) => void;
|
||||
error?: (options: TToastOptions) => void;
|
||||
show?: (options: TToastOptions) => void;
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
export declare const TopBarProps: {
|
||||
customStyle: {
|
||||
type: ObjectConstructor;
|
||||
};
|
||||
customClass: {
|
||||
type: StringConstructor;
|
||||
};
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
export * from './ClosedPanelUI';
|
||||
export * from './DefaultUI';
|
||||
@@ -0,0 +1,4 @@
|
||||
export type TButtonPanelContextValue = {
|
||||
status: any;
|
||||
};
|
||||
export declare const ButtonPanelContextKey = "ButtonPanelContextKey";
|
||||
@@ -0,0 +1,13 @@
|
||||
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 declare const CallInfoContextKey = "CallInfoContextKey";
|
||||
@@ -0,0 +1,8 @@
|
||||
export type TCallerUserInfoValue = {
|
||||
callerUserInfo: {
|
||||
avatar?: string;
|
||||
userId?: string;
|
||||
displayUserInfo?: string;
|
||||
};
|
||||
};
|
||||
export declare const CallerUserInfoContextKey = "CallerUserInfoContextKey";
|
||||
@@ -0,0 +1 @@
|
||||
export declare const CustomUIConfigContextKey = "CustomUIConfigContextKey";
|
||||
@@ -0,0 +1,4 @@
|
||||
export type TFloatWindowContextValue = {
|
||||
isFloatWindow: boolean;
|
||||
};
|
||||
export declare const FloatWindowContextKey = "FloatWindowContextKey";
|
||||
@@ -0,0 +1 @@
|
||||
export declare const FocusContextKey = "FocusContextKey";
|
||||
@@ -0,0 +1 @@
|
||||
export declare const IsClickableContextKey = "IsClickableContextKey";
|
||||
@@ -0,0 +1 @@
|
||||
export declare const PopoverContextKey = "PopoverContextKey";
|
||||
@@ -0,0 +1 @@
|
||||
export declare const translateContextKey = "translateContextKey";
|
||||
@@ -0,0 +1,6 @@
|
||||
import { IUserInfo } from '../../TUICallService/interface';
|
||||
export type TUserInfoExcludeVolumeContextValue = {
|
||||
localUserInfoExcludeVolume: IUserInfo;
|
||||
remoteUserListExcludeVolume: IUserInfo[];
|
||||
};
|
||||
export declare 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';
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
export * from './useCallerUserInfoContext';
|
||||
export * from './useCallInfoContext';
|
||||
export * from './useDeviceList';
|
||||
export * from './useGetVolumeMap';
|
||||
export * from './useTip';
|
||||
export * from './useNetWorkStatus';
|
||||
export * from './usePlayer';
|
||||
export * from './useUserInfoContextExcludeVolume';
|
||||
export * from './useCallDuration';
|
||||
export * from './useButtonPanelStatus';
|
||||
export * from './useFocusContext';
|
||||
export * from './useFloatWindowContext';
|
||||
export * from './useIsClickableContext';
|
||||
export * from './usePopover';
|
||||
export * from './useGroupCallLayout';
|
||||
export * from './useCustomUIButtonConfig';
|
||||
export * from './useCustomUI';
|
||||
export * from './useViewBackgroundConfig';
|
||||
export * from './useJoinGroupCall';
|
||||
export * from './useTranslate';
|
||||
@@ -0,0 +1,2 @@
|
||||
import { TButtonPanelContextValue } from '../context';
|
||||
export declare function useButtonPanelStatus(): TButtonPanelContextValue;
|
||||
@@ -0,0 +1,3 @@
|
||||
export declare function useCallDuration(): {
|
||||
callDuration: import("@vue/reactivity").Ref<any, any>;
|
||||
};
|
||||
@@ -0,0 +1,2 @@
|
||||
import { TCallInfoContextValue } from '../context';
|
||||
export declare function useCallInfoContext(): TCallInfoContextValue;
|
||||
@@ -0,0 +1,2 @@
|
||||
import { TCallerUserInfoValue } from '../context';
|
||||
export declare function useCallerUserInfoContext(): TCallerUserInfoValue;
|
||||
@@ -0,0 +1,3 @@
|
||||
import { ICustomUIConfig } from "../../TUICallService/const";
|
||||
import { Ref } from "../../adapter-vue";
|
||||
export declare function useCustomUI(): Ref<ICustomUIConfig, ICustomUIConfig>;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function useCustomUIButtonConfig(): import("@vue/reactivity").Ref<any[], any[]>;
|
||||
@@ -0,0 +1,7 @@
|
||||
import { DeviceType } from '../../TUICallService/const';
|
||||
export declare function useDeviceList(deviceType: DeviceType): readonly [{
|
||||
readonly deviceList: import("@vue/reactivity").Ref<any[], any[]>;
|
||||
readonly currentDeviceId: import("@vue/reactivity").Ref<string, string>;
|
||||
}, {
|
||||
readonly updateCurrentDeviceId: (value: any) => void;
|
||||
}];
|
||||
@@ -0,0 +1,2 @@
|
||||
import { TFloatWindowContextValue } from '../context';
|
||||
export declare function useFloatWindowContext(): TFloatWindowContextValue;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function useFocusContext(): import("@vue/reactivity").Ref<string, string>;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function useGetVolumeMap(): import("@vue/reactivity").Ref<any, any>;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function useGroupCallLayout(focus: any, length: any): import("@vue/reactivity").Ref<any, any>;
|
||||
@@ -0,0 +1,2 @@
|
||||
import { Ref } from '../../adapter-vue';
|
||||
export declare function useIsClickableContext(): Ref<boolean, boolean>;
|
||||
@@ -0,0 +1,9 @@
|
||||
export declare function useJoinGroupCall(): {
|
||||
roomId: import("@vue/reactivity").Ref<any, any>;
|
||||
roomIdType: import("@vue/reactivity").Ref<any, any>;
|
||||
groupId: import("@vue/reactivity").Ref<any, any>;
|
||||
callMediaType: import("@vue/reactivity").Ref<any, any>;
|
||||
groupCallMembers: import("@vue/reactivity").Ref<any, any>;
|
||||
callStatus: import("@vue/reactivity").Ref<any, any>;
|
||||
callId: import("@vue/reactivity").Ref<any, any>;
|
||||
};
|
||||
@@ -0,0 +1,3 @@
|
||||
export declare function useNetWorkStatus(): {
|
||||
netWorkQualityList: import("@vue/reactivity").Ref<any, any>;
|
||||
};
|
||||
@@ -0,0 +1 @@
|
||||
export declare function usePlayer(): import("@vue/reactivity").Ref<any, any>;
|
||||
@@ -0,0 +1,2 @@
|
||||
import { Ref } from '../../adapter-vue';
|
||||
export declare function usePopover(): Ref<string, string>;
|
||||
@@ -0,0 +1,5 @@
|
||||
export declare function useTip(): {
|
||||
tip: import("@vue/reactivity").Ref<string, string>;
|
||||
show: import("@vue/reactivity").Ref<boolean, boolean>;
|
||||
duration: import("@vue/reactivity").Ref<number, number>;
|
||||
};
|
||||
@@ -0,0 +1,2 @@
|
||||
import { Ref } from '../../adapter-vue';
|
||||
export declare function useTranslate(): Ref<Function, Function>;
|
||||
@@ -0,0 +1,2 @@
|
||||
import { TUserInfoExcludeVolumeContextValue } from '../context';
|
||||
export declare function useUserInfoExcludeVolumeContext(): TUserInfoExcludeVolumeContextValue;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function useViewBackgroundConfig(): import("@vue/reactivity").Ref<import("../../TUICallService/const").IViewBackgroundImage, import("../../TUICallService/const").IViewBackgroundImage>;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function deepClone(obj: any): any;
|
||||
@@ -0,0 +1 @@
|
||||
export declare function findValues(obj: any, condition: any, path: any, results: any, formatResults: any): void;
|
||||
@@ -0,0 +1,6 @@
|
||||
export * from './isEqual';
|
||||
export * from './isObject';
|
||||
export * from './toggleScreen';
|
||||
export * from './deepClone';
|
||||
export * from './uiConfig';
|
||||
export * from './findValues';
|
||||
@@ -0,0 +1 @@
|
||||
export declare function isEmpty(obj: any): boolean;
|
||||
@@ -0,0 +1 @@
|
||||
export declare const isEqual: (obj1: any, obj2: any) => boolean;
|
||||
@@ -0,0 +1 @@
|
||||
export declare const isObject: (obj: any) => boolean;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user