@pusdn/pgz-comp-elep
Version:
PGZ组件库,Vue3 中基于Element-Plus二次封装基础组件文档
74 lines (73 loc) • 2.7 kB
TypeScript
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
isLive: {
type: BooleanConstructor;
required: false;
default: boolean;
};
autoplay: {
type: BooleanConstructor;
required: false;
default: boolean;
};
sourceList: {
type: (ObjectConstructor | StringConstructor | ArrayConstructor | null)[];
required: false;
default: null;
};
}>, {
props: any;
open: import("vue").Ref<boolean, boolean>;
submitLoading: import("vue").Ref<boolean, boolean>;
videoLoading: import("vue").Ref<boolean, boolean>;
modal: import("vue").Ref<{
fullscreen: boolean;
switchFullscreen: boolean;
}, {
fullscreen: boolean;
switchFullscreen: boolean;
} | {
fullscreen: boolean;
switchFullscreen: boolean;
}>;
formTitle: import("vue").Ref<string, string>;
noData: import("vue").Ref<string | null, string | null>;
player: import("vue").Ref<any, any>;
playingVideo: import("vue").Ref<Record<string, any>, Record<string, any>>;
playerTemp: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
fullScreen: import("vue").Ref<boolean, boolean>;
localIsLive: import("vue").ComputedRef<any>;
checkHEVCSupport: () => boolean;
initTCPlayer: () => void;
sourceList: import("vue").Ref<(string | Record<string, any>)[], (string | Record<string, any>)[]>;
currentVideoIndex: import("vue").Ref<number, number>;
getVideoTitle: (item: string | Record<string, any>, index: number) => any;
initPlayer: (url: string) => void;
playVideoByIndex: (index: number) => void;
showDetail: (data: any) => void;
cancel: () => void;
handleSnapshot: (data: any) => void;
createDemoPlayer: (source: string, cover?: string) => void;
playNext: () => void;
playPrevious: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
isLive: {
type: BooleanConstructor;
required: false;
default: boolean;
};
autoplay: {
type: BooleanConstructor;
required: false;
default: boolean;
};
sourceList: {
type: (ObjectConstructor | StringConstructor | ArrayConstructor | null)[];
required: false;
default: null;
};
}>> & Readonly<{}>, {
isLive: boolean;
autoplay: boolean;
sourceList: string | Record<string, any> | unknown[] | null;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _sfc_main;