@evercam/ui 0.0.55-beta.12 → 0.0.55-beta.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/dist/attributes.json +8 -41
- package/dist/index.mjs +3790 -2805
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +9 -13
- package/dist/src/components/EToggleSwitch.vue.d.ts +49 -0
- package/dist/src/components/EVideoPlayer.vue.d.ts +262 -14
- package/dist/src/components/EVideoPlayerActions.vue.d.ts +193 -0
- package/dist/src/components/EVideoPlayerControls.vue.d.ts +146 -0
- package/dist/src/components/EVideoPlayerProgressBar.vue.d.ts +100 -0
- package/dist/src/components/EVideoPlayerThumbnailPreview.vue.d.ts +68 -0
- package/dist/src/components/EZoomable.vue.d.ts +64 -0
- package/dist/src/index.d.ts +370 -25
- package/dist/src/types.d.ts +7 -6
- package/dist/style.css +1 -1
- package/dist/styles.css +335 -0
- package/dist/tags.json +3 -15
- package/dist/web-types.json +41 -88
- package/package.json +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
size: {
|
|
4
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
withProgressBar: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
frames: {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
events: {
|
|
16
|
+
type: ArrayConstructor;
|
|
17
|
+
default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
frameIndex: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
preloadedFrames: {
|
|
24
|
+
type: ArrayConstructor;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
withThumbnailPreview: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
withPlayerActions: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
isFullScreen: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
isPlaying: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
isLive: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
currentTime: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
videoLength: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
thumbnailsUrls: {
|
|
56
|
+
type: PropType<string[]>;
|
|
57
|
+
default: () => never[];
|
|
58
|
+
};
|
|
59
|
+
timezone: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
}, {}, {
|
|
64
|
+
isFocused: boolean;
|
|
65
|
+
}, {
|
|
66
|
+
containerClasses(): "e-px-2" | "e-px-5";
|
|
67
|
+
isLastFrame(): boolean;
|
|
68
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
69
|
+
size: {
|
|
70
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
withProgressBar: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
frames: {
|
|
78
|
+
type: ArrayConstructor;
|
|
79
|
+
default: () => never[];
|
|
80
|
+
};
|
|
81
|
+
events: {
|
|
82
|
+
type: ArrayConstructor;
|
|
83
|
+
default: () => never[];
|
|
84
|
+
};
|
|
85
|
+
frameIndex: {
|
|
86
|
+
type: NumberConstructor;
|
|
87
|
+
default: number;
|
|
88
|
+
};
|
|
89
|
+
preloadedFrames: {
|
|
90
|
+
type: ArrayConstructor;
|
|
91
|
+
default: () => never[];
|
|
92
|
+
};
|
|
93
|
+
withThumbnailPreview: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
withPlayerActions: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
isFullScreen: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
};
|
|
105
|
+
isPlaying: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
isLive: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
currentTime: {
|
|
114
|
+
type: StringConstructor;
|
|
115
|
+
default: string;
|
|
116
|
+
};
|
|
117
|
+
videoLength: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
thumbnailsUrls: {
|
|
122
|
+
type: PropType<string[]>;
|
|
123
|
+
default: () => never[];
|
|
124
|
+
};
|
|
125
|
+
timezone: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
}>>, {
|
|
130
|
+
size: "lg" | "md" | "sm";
|
|
131
|
+
events: unknown[];
|
|
132
|
+
timezone: string;
|
|
133
|
+
frames: unknown[];
|
|
134
|
+
frameIndex: number;
|
|
135
|
+
isPlaying: boolean;
|
|
136
|
+
isLive: boolean;
|
|
137
|
+
preloadedFrames: unknown[];
|
|
138
|
+
thumbnailsUrls: string[];
|
|
139
|
+
withProgressBar: boolean;
|
|
140
|
+
withThumbnailPreview: boolean;
|
|
141
|
+
withPlayerActions: boolean;
|
|
142
|
+
isFullScreen: boolean;
|
|
143
|
+
currentTime: string;
|
|
144
|
+
videoLength: string;
|
|
145
|
+
}>;
|
|
146
|
+
export default _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { PropType, StyleValue } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
frames: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
events: {
|
|
8
|
+
type: ArrayConstructor;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
preloadedFrames: {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
frameIndex: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
ticks: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}, {}, {
|
|
28
|
+
hovered: boolean;
|
|
29
|
+
progressBar: HTMLDivElement | null;
|
|
30
|
+
isDraggingCursor: boolean;
|
|
31
|
+
mousePosition: {
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
};
|
|
35
|
+
updateRefTimeout: null;
|
|
36
|
+
}, {
|
|
37
|
+
hoveredFrameData(): any;
|
|
38
|
+
mouseToWidthRatio(): number;
|
|
39
|
+
tooltipPosition(): StyleValue;
|
|
40
|
+
hoverBarStyle(): {
|
|
41
|
+
width: string;
|
|
42
|
+
};
|
|
43
|
+
progressStyle(): {
|
|
44
|
+
width: string;
|
|
45
|
+
};
|
|
46
|
+
hoveredFrameIndex(): number;
|
|
47
|
+
preloadedChunks(): [
|
|
48
|
+
number,
|
|
49
|
+
number
|
|
50
|
+
][];
|
|
51
|
+
}, {
|
|
52
|
+
getMousePosition(e: MouseEvent): {
|
|
53
|
+
x: number;
|
|
54
|
+
y: number;
|
|
55
|
+
};
|
|
56
|
+
onMouseEnter(): void;
|
|
57
|
+
onMouseMove(e: MouseEvent): void;
|
|
58
|
+
onMouseLeave(): void;
|
|
59
|
+
onCursorMouseDown(): void;
|
|
60
|
+
onCursorMouseUp(): void;
|
|
61
|
+
onProgressBarClick(): void;
|
|
62
|
+
updateRefs(): void;
|
|
63
|
+
getChunkStyle(start: number, end: number): {
|
|
64
|
+
left: string;
|
|
65
|
+
width: string;
|
|
66
|
+
};
|
|
67
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
frames: {
|
|
69
|
+
type: ArrayConstructor;
|
|
70
|
+
default: () => never[];
|
|
71
|
+
};
|
|
72
|
+
events: {
|
|
73
|
+
type: ArrayConstructor;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
preloadedFrames: {
|
|
77
|
+
type: ArrayConstructor;
|
|
78
|
+
default: () => never[];
|
|
79
|
+
};
|
|
80
|
+
frameIndex: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
84
|
+
ticks: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
size: {
|
|
89
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
}>>, {
|
|
93
|
+
size: "lg" | "md" | "sm";
|
|
94
|
+
events: unknown[];
|
|
95
|
+
frames: unknown[];
|
|
96
|
+
frameIndex: number;
|
|
97
|
+
preloadedFrames: unknown[];
|
|
98
|
+
ticks: boolean;
|
|
99
|
+
}>;
|
|
100
|
+
export default _default;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { PropType, StyleValue } from "vue";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
targetTimestamp: {
|
|
4
|
+
type: PropType<String | Date | undefined>;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
aspectRatio: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
height: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
thumbnailsUrls: {
|
|
16
|
+
type: PropType<string[]>;
|
|
17
|
+
default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
selectedFrame: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
timezone: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}, {}, {
|
|
28
|
+
thumbnailWidth: number;
|
|
29
|
+
thumbnailHeight: number;
|
|
30
|
+
numberOfThumbnails: number;
|
|
31
|
+
placeholderUrl: string;
|
|
32
|
+
}, {
|
|
33
|
+
targetThumbnailIndex(): number;
|
|
34
|
+
thumbnailStyle(): StyleValue;
|
|
35
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
targetTimestamp: {
|
|
37
|
+
type: PropType<String | Date | undefined>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
aspectRatio: {
|
|
41
|
+
type: NumberConstructor;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
height: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
thumbnailsUrls: {
|
|
49
|
+
type: PropType<string[]>;
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
selectedFrame: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
timezone: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
}>>, {
|
|
61
|
+
aspectRatio: number;
|
|
62
|
+
height: number;
|
|
63
|
+
timezone: string;
|
|
64
|
+
targetTimestamp: String | Date | undefined;
|
|
65
|
+
thumbnailsUrls: string[];
|
|
66
|
+
selectedFrame: string;
|
|
67
|
+
}>;
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
ignorePointerEvents: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
withOverlay: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {}, {
|
|
11
|
+
scale: number;
|
|
12
|
+
minScale: number;
|
|
13
|
+
maxScale: number;
|
|
14
|
+
top: number;
|
|
15
|
+
left: number;
|
|
16
|
+
isPanning: boolean;
|
|
17
|
+
panStart: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
};
|
|
21
|
+
isPinching: boolean;
|
|
22
|
+
previousPinchDistance: number;
|
|
23
|
+
pinchDistance: number;
|
|
24
|
+
pointers: {};
|
|
25
|
+
transform: string;
|
|
26
|
+
}, {
|
|
27
|
+
contentStyle(): {
|
|
28
|
+
transform: string;
|
|
29
|
+
};
|
|
30
|
+
isZoomed(): boolean;
|
|
31
|
+
}, {
|
|
32
|
+
updateZoomScale(): void;
|
|
33
|
+
handleZoom(e: any): void;
|
|
34
|
+
handleMouseDown(e: any): void;
|
|
35
|
+
handleMouseUp(): void;
|
|
36
|
+
handleMouseLeave(): void;
|
|
37
|
+
handleMouseMove(e: any): void;
|
|
38
|
+
applyBoundsCorrection(): void;
|
|
39
|
+
updateTransform(): void;
|
|
40
|
+
getPointersDistance(a: any, b: any): number;
|
|
41
|
+
getPointersMidPoint(a: any, b: any): {
|
|
42
|
+
x: any;
|
|
43
|
+
y: any;
|
|
44
|
+
};
|
|
45
|
+
updatePointerEvent(e: any): void;
|
|
46
|
+
clearPointerEvent(e: any): void;
|
|
47
|
+
updatePinchDistance(): void;
|
|
48
|
+
handlePointerDown(e: any): void;
|
|
49
|
+
handlePointerMove(e: any): void;
|
|
50
|
+
handlePointerUp(e: any): void;
|
|
51
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
ignorePointerEvents: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
withOverlay: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
}>>, {
|
|
61
|
+
ignorePointerEvents: boolean;
|
|
62
|
+
withOverlay: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
export default _default;
|