@pusdn/pgz-comp-elep
Version:
PGZ组件库,Vue3 中基于Element-plus二次封装基础组件文档
182 lines (181 loc) • 7.67 kB
TypeScript
import PgzVideoXgModalComponent from "./src/index.vue";
export type PgzVideoXgModalInstance = InstanceType<typeof PgzVideoXgModalComponent>;
declare const PgzVideoXgModal: ({
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<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<{}>, {
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 | undefined) => void;
playNext: () => void;
playPrevious: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
isLive: boolean;
autoplay: boolean;
sourceList: string | Record<string, any> | unknown[] | null;
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, 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<{}>, {
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 | undefined) => void;
playNext: () => void;
playPrevious: () => void;
}, {}, {}, {}, {
isLive: boolean;
autoplay: boolean;
sourceList: string | Record<string, any> | unknown[] | null;
}>;
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import("vue").ComponentOptionsBase<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<{}>, {
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 | undefined) => void;
playNext: () => void;
playPrevious: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
isLive: boolean;
autoplay: boolean;
sourceList: string | Record<string, any> | unknown[] | null;
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>;
export default PgzVideoXgModal;