@pusdn/pgz-comp-elep 0.2.11 → 0.2.13
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/package.json +2 -2
- package/lib/adaptive-page/index.d.ts +0 -17096
- package/lib/adaptive-page/src/index.vue.d.ts +0 -5731
- package/lib/adaptive-page/src/type.d.ts +0 -9
- package/lib/button/index.d.ts +0 -134
- package/lib/button/src/index.vue.d.ts +0 -67
- package/lib/button/src/type.d.ts +0 -10
- package/lib/chart/index.d.ts +0 -164
- package/lib/chart/src/index.vue.d.ts +0 -77
- package/lib/chart/src/type.d.ts +0 -7
- package/lib/checkbox/index.d.ts +0 -206
- package/lib/checkbox/src/checkbox.d.ts +0 -5
- package/lib/checkbox/src/index.vue.d.ts +0 -91
- package/lib/components.d.ts +0 -57
- package/lib/date-picker/index.d.ts +0 -170
- package/lib/date-picker/src/index.vue.d.ts +0 -77
- package/lib/date-picker/src/type.d.ts +0 -10
- package/lib/detail/index.d.ts +0 -182
- package/lib/detail/src/index.vue.d.ts +0 -88
- package/lib/detail/src/renderLabel.vue.d.ts +0 -8
- package/lib/detail/src/renderTooltip.vue.d.ts +0 -8
- package/lib/detail/src/type.d.ts +0 -27
- package/lib/favicon.ico +0 -0
- package/lib/form/index.d.ts +0 -308
- package/lib/form/src/index.vue.d.ts +0 -125
- package/lib/form/src/renderBtn.vue.d.ts +0 -8
- package/lib/form/src/renderComp.vue.d.ts +0 -8
- package/lib/form/src/type.d.ts +0 -26
- package/lib/index.d.ts +0 -42
- package/lib/input/index.d.ts +0 -215
- package/lib/input/src/index.vue.d.ts +0 -109
- package/lib/input/src/type.d.ts +0 -13
- package/lib/layout-page/index.d.ts +0 -114
- package/lib/layout-page/src/index.vue.d.ts +0 -62
- package/lib/layout-page-item/index.d.ts +0 -35
- package/lib/layout-page-item/src/index.vue.d.ts +0 -14
- package/lib/module-form/index.d.ts +0 -530
- package/lib/module-form/src/index.vue.d.ts +0 -243
- package/lib/module-form/src/moduleDetail.vue.d.ts +0 -30
- package/lib/module-form/src/moduleForm.vue.d.ts +0 -36
- package/lib/module-form/src/type.d.ts +0 -19
- package/lib/pgz-checkbox/index.d.ts +0 -149
- package/lib/pgz-checkbox/src/index.vue.d.ts +0 -65
- package/lib/pgz-checkbox/src/type.d.ts +0 -12
- package/lib/pgz-comp-elep.es.js +0 -39717
- package/lib/pgz-comp-elep.es.js.gz +0 -0
- package/lib/pgz-comp-elep.umd.js +0 -261
- package/lib/pgz-comp-elep.umd.js.gz +0 -0
- package/lib/pgz-html-preview-modal/index.d.ts +0 -77
- package/lib/pgz-html-preview-modal/src/index.vue.d.ts +0 -22
- package/lib/pgz-html-preview-modal/src/type.d.ts +0 -7
- package/lib/pgz-search-select/index.d.ts +0 -5
- package/lib/pgz-search-select/src/index.vue.d.ts +0 -194
- package/lib/pgz-search-select/src/type.d.ts +0 -16
- package/lib/pgz-tdt-mark/index.d.ts +0 -407
- package/lib/pgz-tdt-mark/src/env.d.ts +0 -7
- package/lib/pgz-tdt-mark/src/index.vue.d.ts +0 -167
- package/lib/pgz-tdt-mark/src/props.d.ts +0 -63
- package/lib/pgz-tdt-mark/src/types/index.d.ts +0 -1
- package/lib/pgz-tdt-mark/src/types/tdt.d.ts +0 -88
- package/lib/pgz-tdt-ploygon/index.d.ts +0 -401
- package/lib/pgz-tdt-ploygon/src/env.d.ts +0 -7
- package/lib/pgz-tdt-ploygon/src/index.vue.d.ts +0 -164
- package/lib/pgz-tdt-ploygon/src/props.d.ts +0 -35
- package/lib/pgz-tdt-ploygon/src/tmp-fix.d.ts +0 -10
- package/lib/pgz-tdt-ploygon/src/types/index.d.ts +0 -1
- package/lib/pgz-tdt-ploygon/src/types/tdt.d.ts +0 -120
- package/lib/pgz-tdt-ploygon/src/types.d.ts +0 -27
- package/lib/pgz-video-xg-modal/index.d.ts +0 -181
- package/lib/pgz-video-xg-modal/src/env.d.ts +0 -7
- package/lib/pgz-video-xg-modal/src/index.vue.d.ts +0 -73
- package/lib/pgz-video-xg-modal/src/types/xgplayer.d.ts +0 -59
- package/lib/query-condition/index.d.ts +0 -701
- package/lib/query-condition/src/index.vue.d.ts +0 -326
- package/lib/query-condition/src/moreChoose.vue.d.ts +0 -37
- package/lib/query-condition/src/renderComp.vue.d.ts +0 -8
- package/lib/query-condition/src/type.d.ts +0 -21
- package/lib/query-condition/src/useComputed.d.ts +0 -27
- package/lib/radio/index.d.ts +0 -206
- package/lib/radio/src/index.vue.d.ts +0 -91
- package/lib/radio/src/radio.d.ts +0 -12
- package/lib/select/index.d.ts +0 -371
- package/lib/select/src/index.vue.d.ts +0 -200
- package/lib/select/src/type.d.ts +0 -42
- package/lib/select-icon/index.d.ts +0 -174
- package/lib/select-icon/src/index.vue.d.ts +0 -89
- package/lib/select-table/index.d.ts +0 -2165
- package/lib/select-table/src/index.vue.d.ts +0 -963
- package/lib/select-table/src/renderCol.vue.d.ts +0 -20
- package/lib/select-table/src/type.d.ts +0 -56
- package/lib/select-table/src/useVirtualized.d.ts +0 -11
- package/lib/step-wizard/index.d.ts +0 -146
- package/lib/step-wizard/src/index.vue.d.ts +0 -71
- package/lib/step-wizard/src/type.d.ts +0 -25
- package/lib/style.css +0 -1
- package/lib/style.css.gz +0 -0
- package/lib/table/index.d.ts +0 -2540
- package/lib/table/src/ColumnSet.vue.d.ts +0 -148
- package/lib/table/src/TTableColumn.vue.d.ts +0 -173
- package/lib/table/src/index.vue.d.ts +0 -941
- package/lib/table/src/operator.vue.d.ts +0 -80
- package/lib/table/src/renderCol.vue.d.ts +0 -20
- package/lib/table/src/renderHeader.vue.d.ts +0 -16
- package/lib/table/src/singleEdit.vue.d.ts +0 -122
- package/lib/table/src/singleEditCell.vue.d.ts +0 -120
- package/lib/table/src/tableProps.d.ts +0 -100
- package/lib/table/src/useExpose.d.ts +0 -16
- package/lib/table/src/useVirtualized.d.ts +0 -9
- package/lib/tabs/index.d.ts +0 -69
- package/lib/tabs/src/index.vue.d.ts +0 -34
- package/lib/timer-btn/index.d.ts +0 -92
- package/lib/timer-btn/src/index.vue.d.ts +0 -43
- package/lib/utils/directives/click-outside/index.d.ts +0 -3
- package/lib/utils/http/api.d.ts +0 -76
- package/lib/utils/http/index.d.ts +0 -79
- package/lib/utils/http/types.d.ts +0 -13
- package/lib/utils/index.d.ts +0 -40
- package/lib/weixin.jpg +0 -0
- package/lib/withInstall.d.ts +0 -4
- package/lib/wocwin.jpg +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference path="./tdt.d.ts" />
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
// 天地图接口类型声明文件
|
|
2
|
-
|
|
3
|
-
interface Window {
|
|
4
|
-
T: {
|
|
5
|
-
LngLat: new (lng: number | string, lat: number | string) => any;
|
|
6
|
-
Map: new (containerId: string) => any;
|
|
7
|
-
Marker: new (lnglat: any, options?: any) => any;
|
|
8
|
-
InfoWindow: new (content?: string, options?: any) => any;
|
|
9
|
-
Polyline: new (lngLats: any[], options?: any) => any;
|
|
10
|
-
Polygon: new (lngLats: any[], options?: any) => any;
|
|
11
|
-
PolygonTool: new (map: any, options?: any) => any;
|
|
12
|
-
Icon: new (options: any) => any;
|
|
13
|
-
Point: new (x: number, y: number) => any;
|
|
14
|
-
LocalSearch: new (map: any, options?: any) => any;
|
|
15
|
-
LocalCity: new () => any;
|
|
16
|
-
Geocoder: new () => any;
|
|
17
|
-
Control: {
|
|
18
|
-
Scale: new () => any;
|
|
19
|
-
Zoom: new () => any;
|
|
20
|
-
MapType: new () => any;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
TMAP_SATELLITE_MAP: any;
|
|
24
|
-
TMAP_HYBRID_MAP: any;
|
|
25
|
-
TMAP_TERRAIN_MAP: any;
|
|
26
|
-
TMAP_TERRAIN_HYBRID_MAP: any;
|
|
27
|
-
TMAP_NORMAL_MAP: any;
|
|
28
|
-
T_ANCHOR_BOTTOM_RIGHT: any;
|
|
29
|
-
poiPicker: {
|
|
30
|
-
clearSearchResults: () => void;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// 扩展Element接口添加style属性
|
|
35
|
-
interface Element {
|
|
36
|
-
style: CSSStyleDeclaration;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
declare namespace TDT {
|
|
40
|
-
interface LngLat {
|
|
41
|
-
getLng(): number;
|
|
42
|
-
getLat(): number;
|
|
43
|
-
lng: number;
|
|
44
|
-
lat: number;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
interface Map {
|
|
48
|
-
centerAndZoom(lnglat: any, zoom: number): void;
|
|
49
|
-
panTo(lnglat: any): void;
|
|
50
|
-
clearOverLays(): void;
|
|
51
|
-
addOverLay(overlay: any): void;
|
|
52
|
-
removeOverLay(overlay: any): void;
|
|
53
|
-
getOverlays(): any[];
|
|
54
|
-
addControl(control: any): void;
|
|
55
|
-
disableScrollWheelZoom(): void;
|
|
56
|
-
zoomIn(): void;
|
|
57
|
-
zoomOut(): void;
|
|
58
|
-
setMapType(mapType: any): void;
|
|
59
|
-
setViewport(lnglats: any[]): void;
|
|
60
|
-
addEventListener(event: string, callback: (e: any) => void): void;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
interface Marker {
|
|
64
|
-
openInfoWindow(infoWindow: any): void;
|
|
65
|
-
addEventListener(event: string, callback: (e: any) => void): void;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
interface Polygon {
|
|
69
|
-
getLngLats(): LngLat[][];
|
|
70
|
-
addEventListener(event: string, callback: (e: any) => void): void;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
interface PolygonTool {
|
|
74
|
-
open(polygon?: any): void;
|
|
75
|
-
close(): void;
|
|
76
|
-
endDraw(): void;
|
|
77
|
-
on(event: string, callback: (e: any) => void): void;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
interface Geocoder {
|
|
81
|
-
getLocation(lnglat: any, callback: (result: any) => void): void;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
interface LocalSearch {
|
|
85
|
-
search(keyword: string): void;
|
|
86
|
-
getCountNumber(): number;
|
|
87
|
-
getCountPage(): number;
|
|
88
|
-
getPageIndex(): number;
|
|
89
|
-
getResultType(): number;
|
|
90
|
-
firstPage(): void;
|
|
91
|
-
previousPage(): void;
|
|
92
|
-
nextPage(): void;
|
|
93
|
-
lastPage(): void;
|
|
94
|
-
gotoPage(page: number): void;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
interface LocalCity {
|
|
98
|
-
location(callback: (result: any) => void): void;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
interface SearchResult {
|
|
102
|
-
getResultType(): number;
|
|
103
|
-
getPois(): any[];
|
|
104
|
-
getStatistics(): any;
|
|
105
|
-
getArea(): any;
|
|
106
|
-
getSuggests(): any[];
|
|
107
|
-
getLineData(): any;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
interface LocationPoint {
|
|
111
|
-
getLng(): number;
|
|
112
|
-
getLat(): number;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
interface GeocodeResult {
|
|
116
|
-
getStatus(): number;
|
|
117
|
-
getAddress(): string;
|
|
118
|
-
getLocationPoint(): LocationPoint;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface PolygonEditorState {
|
|
2
|
-
address: string;
|
|
3
|
-
keyWord: string;
|
|
4
|
-
promptsVisible: boolean;
|
|
5
|
-
statisticsVisible: boolean;
|
|
6
|
-
suggestsVisible: boolean;
|
|
7
|
-
lineDataVisible: boolean;
|
|
8
|
-
resultVisible: boolean;
|
|
9
|
-
promptHtml: string;
|
|
10
|
-
statisticsHtml: string;
|
|
11
|
-
suggestsHtml: string;
|
|
12
|
-
lineDataHtml: string;
|
|
13
|
-
searchResultHtml: string;
|
|
14
|
-
pageId: number;
|
|
15
|
-
poi: Record<string, any>;
|
|
16
|
-
itemPolygon: any;
|
|
17
|
-
marker: any;
|
|
18
|
-
map: any;
|
|
19
|
-
localsearch: any;
|
|
20
|
-
box: boolean;
|
|
21
|
-
oldPoi: Record<string, any>;
|
|
22
|
-
loading: boolean;
|
|
23
|
-
allData: Record<string, any>;
|
|
24
|
-
oldAllData: Record<string, any>;
|
|
25
|
-
polyEditor: any;
|
|
26
|
-
currentPolygon: any;
|
|
27
|
-
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import PgzVideoXgModalComponent from "./src/index.vue";
|
|
2
|
-
export type PgzVideoXgModalInstance = InstanceType<typeof PgzVideoXgModalComponent>;
|
|
3
|
-
declare const PgzVideoXgModal: ({
|
|
4
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
5
|
-
isLive: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
required: false;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
autoplay: {
|
|
11
|
-
type: BooleanConstructor;
|
|
12
|
-
required: false;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
sourceList: {
|
|
16
|
-
type: (ObjectConstructor | StringConstructor | ArrayConstructor | null)[];
|
|
17
|
-
required: false;
|
|
18
|
-
default: null;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{}>, {
|
|
21
|
-
props: any;
|
|
22
|
-
open: import("vue").Ref<boolean, boolean>;
|
|
23
|
-
submitLoading: import("vue").Ref<boolean, boolean>;
|
|
24
|
-
videoLoading: import("vue").Ref<boolean, boolean>;
|
|
25
|
-
modal: import("vue").Ref<{
|
|
26
|
-
fullscreen: boolean;
|
|
27
|
-
switchFullscreen: boolean;
|
|
28
|
-
}, {
|
|
29
|
-
fullscreen: boolean;
|
|
30
|
-
switchFullscreen: boolean;
|
|
31
|
-
} | {
|
|
32
|
-
fullscreen: boolean;
|
|
33
|
-
switchFullscreen: boolean;
|
|
34
|
-
}>;
|
|
35
|
-
formTitle: import("vue").Ref<string, string>;
|
|
36
|
-
noData: import("vue").Ref<string | null, string | null>;
|
|
37
|
-
player: import("vue").Ref<any, any>;
|
|
38
|
-
playingVideo: import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
39
|
-
playerTemp: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
40
|
-
fullScreen: import("vue").Ref<boolean, boolean>;
|
|
41
|
-
localIsLive: import("vue").ComputedRef<any>;
|
|
42
|
-
checkHEVCSupport: () => boolean;
|
|
43
|
-
initTCPlayer: () => void;
|
|
44
|
-
sourceList: import("vue").Ref<(string | Record<string, any>)[], (string | Record<string, any>)[]>;
|
|
45
|
-
currentVideoIndex: import("vue").Ref<number, number>;
|
|
46
|
-
getVideoTitle: (item: string | Record<string, any>, index: number) => any;
|
|
47
|
-
initPlayer: (url: string) => void;
|
|
48
|
-
playVideoByIndex: (index: number) => void;
|
|
49
|
-
showDetail: (data: any) => void;
|
|
50
|
-
cancel: () => void;
|
|
51
|
-
handleSnapshot: (data: any) => void;
|
|
52
|
-
createDemoPlayer: (source: string, cover?: string | undefined) => void;
|
|
53
|
-
playNext: () => void;
|
|
54
|
-
playPrevious: () => void;
|
|
55
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
56
|
-
isLive: boolean;
|
|
57
|
-
autoplay: boolean;
|
|
58
|
-
sourceList: string | Record<string, any> | unknown[] | null;
|
|
59
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
60
|
-
P: {};
|
|
61
|
-
B: {};
|
|
62
|
-
D: {};
|
|
63
|
-
C: {};
|
|
64
|
-
M: {};
|
|
65
|
-
Defaults: {};
|
|
66
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
-
isLive: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
required: false;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
autoplay: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
required: false;
|
|
75
|
-
default: boolean;
|
|
76
|
-
};
|
|
77
|
-
sourceList: {
|
|
78
|
-
type: (ObjectConstructor | StringConstructor | ArrayConstructor | null)[];
|
|
79
|
-
required: false;
|
|
80
|
-
default: null;
|
|
81
|
-
};
|
|
82
|
-
}>> & Readonly<{}>, {
|
|
83
|
-
props: any;
|
|
84
|
-
open: import("vue").Ref<boolean, boolean>;
|
|
85
|
-
submitLoading: import("vue").Ref<boolean, boolean>;
|
|
86
|
-
videoLoading: import("vue").Ref<boolean, boolean>;
|
|
87
|
-
modal: import("vue").Ref<{
|
|
88
|
-
fullscreen: boolean;
|
|
89
|
-
switchFullscreen: boolean;
|
|
90
|
-
}, {
|
|
91
|
-
fullscreen: boolean;
|
|
92
|
-
switchFullscreen: boolean;
|
|
93
|
-
} | {
|
|
94
|
-
fullscreen: boolean;
|
|
95
|
-
switchFullscreen: boolean;
|
|
96
|
-
}>;
|
|
97
|
-
formTitle: import("vue").Ref<string, string>;
|
|
98
|
-
noData: import("vue").Ref<string | null, string | null>;
|
|
99
|
-
player: import("vue").Ref<any, any>;
|
|
100
|
-
playingVideo: import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
101
|
-
playerTemp: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
102
|
-
fullScreen: import("vue").Ref<boolean, boolean>;
|
|
103
|
-
localIsLive: import("vue").ComputedRef<any>;
|
|
104
|
-
checkHEVCSupport: () => boolean;
|
|
105
|
-
initTCPlayer: () => void;
|
|
106
|
-
sourceList: import("vue").Ref<(string | Record<string, any>)[], (string | Record<string, any>)[]>;
|
|
107
|
-
currentVideoIndex: import("vue").Ref<number, number>;
|
|
108
|
-
getVideoTitle: (item: string | Record<string, any>, index: number) => any;
|
|
109
|
-
initPlayer: (url: string) => void;
|
|
110
|
-
playVideoByIndex: (index: number) => void;
|
|
111
|
-
showDetail: (data: any) => void;
|
|
112
|
-
cancel: () => void;
|
|
113
|
-
handleSnapshot: (data: any) => void;
|
|
114
|
-
createDemoPlayer: (source: string, cover?: string | undefined) => void;
|
|
115
|
-
playNext: () => void;
|
|
116
|
-
playPrevious: () => void;
|
|
117
|
-
}, {}, {}, {}, {
|
|
118
|
-
isLive: boolean;
|
|
119
|
-
autoplay: boolean;
|
|
120
|
-
sourceList: string | Record<string, any> | unknown[] | null;
|
|
121
|
-
}>;
|
|
122
|
-
__isFragment?: undefined;
|
|
123
|
-
__isTeleport?: undefined;
|
|
124
|
-
__isSuspense?: undefined;
|
|
125
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
-
isLive: {
|
|
127
|
-
type: BooleanConstructor;
|
|
128
|
-
required: false;
|
|
129
|
-
default: boolean;
|
|
130
|
-
};
|
|
131
|
-
autoplay: {
|
|
132
|
-
type: BooleanConstructor;
|
|
133
|
-
required: false;
|
|
134
|
-
default: boolean;
|
|
135
|
-
};
|
|
136
|
-
sourceList: {
|
|
137
|
-
type: (ObjectConstructor | StringConstructor | ArrayConstructor | null)[];
|
|
138
|
-
required: false;
|
|
139
|
-
default: null;
|
|
140
|
-
};
|
|
141
|
-
}>> & Readonly<{}>, {
|
|
142
|
-
props: any;
|
|
143
|
-
open: import("vue").Ref<boolean, boolean>;
|
|
144
|
-
submitLoading: import("vue").Ref<boolean, boolean>;
|
|
145
|
-
videoLoading: import("vue").Ref<boolean, boolean>;
|
|
146
|
-
modal: import("vue").Ref<{
|
|
147
|
-
fullscreen: boolean;
|
|
148
|
-
switchFullscreen: boolean;
|
|
149
|
-
}, {
|
|
150
|
-
fullscreen: boolean;
|
|
151
|
-
switchFullscreen: boolean;
|
|
152
|
-
} | {
|
|
153
|
-
fullscreen: boolean;
|
|
154
|
-
switchFullscreen: boolean;
|
|
155
|
-
}>;
|
|
156
|
-
formTitle: import("vue").Ref<string, string>;
|
|
157
|
-
noData: import("vue").Ref<string | null, string | null>;
|
|
158
|
-
player: import("vue").Ref<any, any>;
|
|
159
|
-
playingVideo: import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
160
|
-
playerTemp: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
161
|
-
fullScreen: import("vue").Ref<boolean, boolean>;
|
|
162
|
-
localIsLive: import("vue").ComputedRef<any>;
|
|
163
|
-
checkHEVCSupport: () => boolean;
|
|
164
|
-
initTCPlayer: () => void;
|
|
165
|
-
sourceList: import("vue").Ref<(string | Record<string, any>)[], (string | Record<string, any>)[]>;
|
|
166
|
-
currentVideoIndex: import("vue").Ref<number, number>;
|
|
167
|
-
getVideoTitle: (item: string | Record<string, any>, index: number) => any;
|
|
168
|
-
initPlayer: (url: string) => void;
|
|
169
|
-
playVideoByIndex: (index: number) => void;
|
|
170
|
-
showDetail: (data: any) => void;
|
|
171
|
-
cancel: () => void;
|
|
172
|
-
handleSnapshot: (data: any) => void;
|
|
173
|
-
createDemoPlayer: (source: string, cover?: string | undefined) => void;
|
|
174
|
-
playNext: () => void;
|
|
175
|
-
playPrevious: () => void;
|
|
176
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
177
|
-
isLive: boolean;
|
|
178
|
-
autoplay: boolean;
|
|
179
|
-
sourceList: string | Record<string, any> | unknown[] | null;
|
|
180
|
-
}, {}, 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>;
|
|
181
|
-
export default PgzVideoXgModal;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
isLive: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
required: false;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
autoplay: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
required: false;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
sourceList: {
|
|
13
|
-
type: (ObjectConstructor | StringConstructor | ArrayConstructor | null)[];
|
|
14
|
-
required: false;
|
|
15
|
-
default: null;
|
|
16
|
-
};
|
|
17
|
-
}>, {
|
|
18
|
-
props: any;
|
|
19
|
-
open: import("vue").Ref<boolean, boolean>;
|
|
20
|
-
submitLoading: import("vue").Ref<boolean, boolean>;
|
|
21
|
-
videoLoading: import("vue").Ref<boolean, boolean>;
|
|
22
|
-
modal: import("vue").Ref<{
|
|
23
|
-
fullscreen: boolean;
|
|
24
|
-
switchFullscreen: boolean;
|
|
25
|
-
}, {
|
|
26
|
-
fullscreen: boolean;
|
|
27
|
-
switchFullscreen: boolean;
|
|
28
|
-
} | {
|
|
29
|
-
fullscreen: boolean;
|
|
30
|
-
switchFullscreen: boolean;
|
|
31
|
-
}>;
|
|
32
|
-
formTitle: import("vue").Ref<string, string>;
|
|
33
|
-
noData: import("vue").Ref<string | null, string | null>;
|
|
34
|
-
player: import("vue").Ref<any, any>;
|
|
35
|
-
playingVideo: import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
36
|
-
playerTemp: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
37
|
-
fullScreen: import("vue").Ref<boolean, boolean>;
|
|
38
|
-
localIsLive: import("vue").ComputedRef<any>;
|
|
39
|
-
checkHEVCSupport: () => boolean;
|
|
40
|
-
initTCPlayer: () => void;
|
|
41
|
-
sourceList: import("vue").Ref<(string | Record<string, any>)[], (string | Record<string, any>)[]>;
|
|
42
|
-
currentVideoIndex: import("vue").Ref<number, number>;
|
|
43
|
-
getVideoTitle: (item: string | Record<string, any>, index: number) => any;
|
|
44
|
-
initPlayer: (url: string) => void;
|
|
45
|
-
playVideoByIndex: (index: number) => void;
|
|
46
|
-
showDetail: (data: any) => void;
|
|
47
|
-
cancel: () => void;
|
|
48
|
-
handleSnapshot: (data: any) => void;
|
|
49
|
-
createDemoPlayer: (source: string, cover?: string) => void;
|
|
50
|
-
playNext: () => void;
|
|
51
|
-
playPrevious: () => void;
|
|
52
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
-
isLive: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
required: false;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
autoplay: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
required: false;
|
|
61
|
-
default: boolean;
|
|
62
|
-
};
|
|
63
|
-
sourceList: {
|
|
64
|
-
type: (ObjectConstructor | StringConstructor | ArrayConstructor | null)[];
|
|
65
|
-
required: false;
|
|
66
|
-
default: null;
|
|
67
|
-
};
|
|
68
|
-
}>> & Readonly<{}>, {
|
|
69
|
-
isLive: boolean;
|
|
70
|
-
autoplay: boolean;
|
|
71
|
-
sourceList: string | Record<string, any> | unknown[] | null;
|
|
72
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
export default _sfc_main;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// 西瓜播放器类型定义
|
|
2
|
-
|
|
3
|
-
declare module 'xgplayer' {
|
|
4
|
-
export interface IPlayerOptions {
|
|
5
|
-
id: string;
|
|
6
|
-
url: string;
|
|
7
|
-
isLive?: boolean;
|
|
8
|
-
playsinline?: boolean;
|
|
9
|
-
plugins?: any[];
|
|
10
|
-
width?: string | number;
|
|
11
|
-
height?: string | number;
|
|
12
|
-
autoplay?: boolean;
|
|
13
|
-
autoplayMuted?: boolean;
|
|
14
|
-
fluid?: boolean;
|
|
15
|
-
lang?: string;
|
|
16
|
-
playbackRate?: boolean | number[];
|
|
17
|
-
enableContextmenu?: boolean;
|
|
18
|
-
rotate?: {
|
|
19
|
-
clockwise?: boolean;
|
|
20
|
-
innerRotate?: boolean;
|
|
21
|
-
};
|
|
22
|
-
screenShot?: boolean;
|
|
23
|
-
videoAttributes?: Record<string, any>;
|
|
24
|
-
pip?: boolean;
|
|
25
|
-
keyShortcut?: boolean;
|
|
26
|
-
closeVideoClick?: boolean;
|
|
27
|
-
controls?: boolean;
|
|
28
|
-
poster?: string;
|
|
29
|
-
'x5-video-player-type'?: string;
|
|
30
|
-
'x5-video-player-fullscreen'?: boolean;
|
|
31
|
-
'x5-video-orientation'?: string;
|
|
32
|
-
[key: string]: any;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface XgPlayer {
|
|
36
|
-
on(event: string, callback: () => void): void;
|
|
37
|
-
destroy(): void;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const Player: {
|
|
41
|
-
new(options: IPlayerOptions): XgPlayer;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export default Player;
|
|
45
|
-
|
|
46
|
-
export namespace Events {
|
|
47
|
-
export const PLAY: string;
|
|
48
|
-
export const REPLAY: string;
|
|
49
|
-
export const PAUSE: string;
|
|
50
|
-
export const READY: string;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
declare module 'xgplayer-hls' {
|
|
55
|
-
const HlsPlugin: any;
|
|
56
|
-
export default HlsPlugin;
|
|
57
|
-
|
|
58
|
-
export function isSupported(): boolean;
|
|
59
|
-
}
|