@evercam/ui 0.0.55-beta.1 → 0.0.55-beta.11
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 +13 -27
- package/dist/index.mjs +4105 -2934
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +15 -15
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +20 -4
- package/dist/src/components/ETimelineMilestone.vue.d.ts +26 -2
- package/dist/src/components/EToggleSwitch.vue.d.ts +49 -0
- package/dist/src/components/EVideoPlayer.vue.d.ts +253 -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 +373 -17
- package/dist/src/types.d.ts +14 -1
- package/dist/style.css +1 -1
- package/dist/styles.css +335 -0
- package/dist/tags.json +4 -12
- package/dist/web-types.json +50 -61
- package/package.json +1 -1
|
@@ -60,6 +60,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
60
60
|
initialMarkerDragMouseOffset: number;
|
|
61
61
|
selectedMilestoneId: any;
|
|
62
62
|
isInitialized: boolean;
|
|
63
|
+
lastValidTransform: d3.ZoomTransform;
|
|
63
64
|
}, {
|
|
64
65
|
updateTimeline(): void;
|
|
65
66
|
initTimeline(startDate?: string, endDate?: string): void;
|
|
@@ -103,6 +104,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
103
104
|
handleBarMouseOut(): void;
|
|
104
105
|
handleLabelMouseOver(groupType: string): void;
|
|
105
106
|
handleLabelMouseLeave(groupType: string): void;
|
|
107
|
+
isZoomAllowed(event: D3ZoomEvent<SVGSVGElement, any>): boolean;
|
|
106
108
|
handleZoom(event: D3ZoomEvent<SVGSVGElement, any>): void;
|
|
107
109
|
panToTimestamp(targetTimestamp: string | Date): void;
|
|
108
110
|
emitCurtainChange(): void;
|
|
@@ -125,7 +127,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
125
127
|
getEventRectWidth(d: TimelineEvent): number;
|
|
126
128
|
getEventText(e: TimelineEvent): string;
|
|
127
129
|
getElementLeftPosition(element: HTMLElement): number;
|
|
128
|
-
isTimestampAllowedForMarker(timestamp:
|
|
130
|
+
isTimestampAllowedForMarker(timestamp: Date | number, marker: TimelineMarker): boolean;
|
|
129
131
|
handleMarkerDrag({ marker, markerElement, dragEvent, }: {
|
|
130
132
|
marker: TimelineMarker;
|
|
131
133
|
markerElement: d3.Selection<any, TimelineMarker, any, any>;
|
|
@@ -152,12 +154,14 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
152
154
|
color: string;
|
|
153
155
|
type: string;
|
|
154
156
|
}): void;
|
|
155
|
-
drawSingleBarEventsGroup({ type, eventsGroup, index, milestone, height, }: {
|
|
157
|
+
drawSingleBarEventsGroup({ type, eventsGroup, index, milestone, height, dots, dotsSize, }: {
|
|
156
158
|
type: string;
|
|
157
159
|
eventsGroup: TimelineEventsGroup;
|
|
158
160
|
index?: number | undefined;
|
|
159
161
|
milestone?: boolean | undefined;
|
|
160
162
|
height?: number | undefined;
|
|
163
|
+
dots?: boolean | undefined;
|
|
164
|
+
dotsSize?: number | undefined;
|
|
161
165
|
}): void;
|
|
162
166
|
drawBarEventsGroups(): void;
|
|
163
167
|
drawMilestonesPlaceholder(): void;
|
|
@@ -181,12 +185,14 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
181
185
|
color: string;
|
|
182
186
|
height?: number | undefined;
|
|
183
187
|
}): void;
|
|
184
|
-
drawBars({ events, gElement, yPosition, color, type, }: {
|
|
188
|
+
drawBars({ events, gElement, yPosition, color, type, dots, dotsSize, }: {
|
|
185
189
|
events: TimelineEvent[];
|
|
186
190
|
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
187
191
|
yPosition: number;
|
|
188
192
|
color: string;
|
|
189
193
|
type: string;
|
|
194
|
+
dots?: boolean | undefined;
|
|
195
|
+
dotsSize?: number | undefined;
|
|
190
196
|
}): void;
|
|
191
197
|
drawBarsChart({ events, gElement, color, yOffset, type, index, }: {
|
|
192
198
|
events: TimelineEvent[];
|
|
@@ -236,8 +242,15 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
236
242
|
count: number;
|
|
237
243
|
})[];
|
|
238
244
|
fillEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
239
|
-
onMilestoneClick(milestone: TimelineEvent, milestoneType:
|
|
245
|
+
onMilestoneClick(milestone: TimelineEvent, milestoneType: any): void;
|
|
246
|
+
getSortedEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
240
247
|
}, {
|
|
248
|
+
combinedBarsHeight: number;
|
|
249
|
+
combinedMilestonesHeight: number;
|
|
250
|
+
milestonesYOffset: number;
|
|
251
|
+
chartsYOffset: number;
|
|
252
|
+
barsYOffset: number;
|
|
253
|
+
hasMilestones: boolean;
|
|
241
254
|
barChartHeight: number;
|
|
242
255
|
classes: Record<string, string | Record<string, boolean>>;
|
|
243
256
|
lineGraphGroups: TimelineEventsByType;
|
|
@@ -283,6 +296,8 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
283
296
|
maxZoom: number;
|
|
284
297
|
minDate: string;
|
|
285
298
|
maxDate: string;
|
|
299
|
+
minVisibleDate: string;
|
|
300
|
+
maxVisibleDate: string;
|
|
286
301
|
cursorTimestamp: string | undefined;
|
|
287
302
|
selectedClass: string | undefined;
|
|
288
303
|
panOnDateClick: boolean;
|
|
@@ -295,5 +310,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
295
310
|
fitMarkersTransitionDuration: number;
|
|
296
311
|
zoomToBoundariesTransitionDuration: number;
|
|
297
312
|
milestoneBulletSize: number;
|
|
313
|
+
milestonesFirst: boolean;
|
|
298
314
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
299
315
|
export default _default;
|
|
@@ -2,34 +2,54 @@ import Vue from "vue";
|
|
|
2
2
|
import { TimelineMilestoneEvent } from '../types';
|
|
3
3
|
export declare const milestoneClasses: {
|
|
4
4
|
milestone: string;
|
|
5
|
+
milestoneBullet: string;
|
|
6
|
+
milestoneDot: string;
|
|
5
7
|
milestoneContent: string;
|
|
6
8
|
milestoneLine: string;
|
|
7
9
|
milestonesContainer: string;
|
|
8
10
|
milestoneHovered: string;
|
|
9
11
|
milestoneSelected: string;
|
|
10
12
|
milestoneLabel: string;
|
|
13
|
+
milestoneDotContainer: string;
|
|
14
|
+
milestoneDotLine: string;
|
|
15
|
+
milestoneDotDot: string;
|
|
16
|
+
milestoneDotHovered: string;
|
|
11
17
|
};
|
|
12
18
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
13
19
|
milestoneClasses: {
|
|
14
20
|
milestone: string;
|
|
21
|
+
milestoneBullet: string;
|
|
22
|
+
milestoneDot: string;
|
|
15
23
|
milestoneContent: string;
|
|
16
24
|
milestoneLine: string;
|
|
17
25
|
milestonesContainer: string;
|
|
18
26
|
milestoneHovered: string;
|
|
19
27
|
milestoneSelected: string;
|
|
20
28
|
milestoneLabel: string;
|
|
29
|
+
milestoneDotContainer: string;
|
|
30
|
+
milestoneDotLine: string;
|
|
31
|
+
milestoneDotDot: string;
|
|
32
|
+
milestoneDotHovered: string;
|
|
21
33
|
};
|
|
22
34
|
timeouts: number[];
|
|
23
35
|
isInitialRender: boolean;
|
|
36
|
+
isMouseOver: boolean;
|
|
24
37
|
}, {
|
|
25
|
-
onMilestoneMouseOver(e
|
|
26
|
-
|
|
38
|
+
onMilestoneMouseOver(e?: MouseEvent): void;
|
|
39
|
+
onMilestoneMouseMove(): void;
|
|
40
|
+
onMilestoneMouseLeave(e?: MouseEvent): void;
|
|
27
41
|
onMilestoneClick(_e: MouseEvent, milestone: TimelineMilestoneEvent): void;
|
|
28
42
|
}, {
|
|
29
43
|
transitionStyles: Record<string, any>;
|
|
44
|
+
sizeStyles: Record<string, any>;
|
|
45
|
+
positionStyles: Record<string, any>;
|
|
30
46
|
styles: Record<string, any>;
|
|
31
47
|
contentStyles: Record<string, any>;
|
|
48
|
+
computedTransitionDuration: number;
|
|
32
49
|
labelStyles: Record<string, any>;
|
|
50
|
+
dotContainerStyles: Record<string, any>;
|
|
51
|
+
lineStyles: Record<string, any>;
|
|
52
|
+
dotStyles: Record<string, any>;
|
|
33
53
|
}, {
|
|
34
54
|
milestone: TimelineMilestoneEvent;
|
|
35
55
|
size: number;
|
|
@@ -37,5 +57,9 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
37
57
|
backgroundColor: string;
|
|
38
58
|
borderWidth: number;
|
|
39
59
|
transitionDuration: number;
|
|
60
|
+
dot: boolean;
|
|
61
|
+
dotSize: number;
|
|
62
|
+
lineWidth: number;
|
|
63
|
+
lineHeight: number;
|
|
40
64
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
41
65
|
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
export interface EToggleSwitchOptions {
|
|
3
|
+
title: string;
|
|
4
|
+
value: any;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<{
|
|
7
|
+
options: {
|
|
8
|
+
type: PropType<EToggleSwitchOptions[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
color: {
|
|
12
|
+
type: PropType<"primary" | "brand" | "gray">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
defaultValue: {
|
|
20
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
}, {}, {
|
|
24
|
+
value: any;
|
|
25
|
+
}, {}, {
|
|
26
|
+
handleClick(value: any): void;
|
|
27
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
options: {
|
|
29
|
+
type: PropType<EToggleSwitchOptions[]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
color: {
|
|
33
|
+
type: PropType<"primary" | "brand" | "gray">;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
size: {
|
|
37
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
defaultValue: {
|
|
41
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
42
|
+
default: null;
|
|
43
|
+
};
|
|
44
|
+
}>>, {
|
|
45
|
+
color: "primary" | "brand" | "gray";
|
|
46
|
+
size: "lg" | "md" | "sm";
|
|
47
|
+
defaultValue: string | number | boolean;
|
|
48
|
+
}>;
|
|
49
|
+
export default _default;
|
|
@@ -1,11 +1,122 @@
|
|
|
1
|
-
import Hls from "hls.js";
|
|
2
|
-
import
|
|
1
|
+
import Hls, { ErrorData, Events } from "hls.js";
|
|
2
|
+
import { PropType } from "vue";
|
|
3
3
|
export type VideoSource = {
|
|
4
4
|
type: string;
|
|
5
5
|
src: string;
|
|
6
6
|
};
|
|
7
7
|
export declare const VIDEO_PLAYER_EVENTS: string[];
|
|
8
|
-
declare
|
|
8
|
+
export declare enum EdgeVideoResolution {
|
|
9
|
+
_240 = 240,
|
|
10
|
+
_480 = 480,
|
|
11
|
+
_640 = 640,
|
|
12
|
+
_720 = 720,
|
|
13
|
+
_1080 = 1080
|
|
14
|
+
}
|
|
15
|
+
declare const _default: import("vue").DefineComponent<{
|
|
16
|
+
targetTimestamp: {
|
|
17
|
+
type: (StringConstructor | DateConstructor)[];
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
20
|
+
sources: {
|
|
21
|
+
type: PropType<string | VideoSource[]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
videoListeners: {
|
|
25
|
+
type: PropType<Partial<HTMLVideoElement>>;
|
|
26
|
+
default: () => {};
|
|
27
|
+
};
|
|
28
|
+
videoOptions: {
|
|
29
|
+
type: PropType<Partial<HTMLVideoElement>>;
|
|
30
|
+
default: () => {};
|
|
31
|
+
};
|
|
32
|
+
isHls: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
streamingToken: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
isLiveView: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
pauseOnClick: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
isHlsLoading: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
isPlaying: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
preloadedInterval: {
|
|
57
|
+
type: PropType<{
|
|
58
|
+
start: string;
|
|
59
|
+
end: string;
|
|
60
|
+
}>;
|
|
61
|
+
default: () => {};
|
|
62
|
+
};
|
|
63
|
+
selectedResolution: {
|
|
64
|
+
type: PropType<EdgeVideoResolution | undefined>;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
isLive: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
isZoomable: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
zoomableIgnorePointerEvents: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: boolean;
|
|
78
|
+
};
|
|
79
|
+
blurBackground: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
isRecordings: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
progressBarEvents: {
|
|
88
|
+
type: ArrayConstructor;
|
|
89
|
+
default: () => never[];
|
|
90
|
+
};
|
|
91
|
+
progressBarFrames: {
|
|
92
|
+
type: ArrayConstructor;
|
|
93
|
+
default: () => never[];
|
|
94
|
+
};
|
|
95
|
+
progressBarFrameIndex: {
|
|
96
|
+
type: NumberConstructor;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
99
|
+
progressBarPreloadedFrames: {
|
|
100
|
+
type: ArrayConstructor;
|
|
101
|
+
default: () => never[];
|
|
102
|
+
};
|
|
103
|
+
thumbnailsUrls: {
|
|
104
|
+
type: PropType<string[]>;
|
|
105
|
+
default: () => never[];
|
|
106
|
+
};
|
|
107
|
+
timezone: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
playPauseAnimation: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
disablePlayPauseAnimation: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
}, {}, {
|
|
9
120
|
playing: boolean;
|
|
10
121
|
percentagePlayed: number;
|
|
11
122
|
videoLength: string;
|
|
@@ -20,9 +131,16 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
20
131
|
isLoading: boolean;
|
|
21
132
|
isError: boolean;
|
|
22
133
|
player: Hls;
|
|
134
|
+
playbackRetries: number;
|
|
135
|
+
}, {
|
|
136
|
+
sourceItems(): VideoSource[];
|
|
137
|
+
hasStartedOrFinished(): boolean;
|
|
138
|
+
withControls(): "" | "hide";
|
|
23
139
|
}, {
|
|
24
140
|
initHls(): void;
|
|
141
|
+
onContainerClick(): void;
|
|
25
142
|
handle404Error(): void;
|
|
143
|
+
handleHlsError(_: Events.ERROR, data: ErrorData): void;
|
|
26
144
|
bindEvents(): void;
|
|
27
145
|
unbindEvents(): void;
|
|
28
146
|
bindVideoEvent(which: string): void;
|
|
@@ -35,9 +153,9 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
35
153
|
handleScrubbingOnMouseEnd(e: MouseEvent): void;
|
|
36
154
|
handleEnded(): void;
|
|
37
155
|
handleLoading(): void;
|
|
38
|
-
play(): void
|
|
156
|
+
play(): Promise<void>;
|
|
39
157
|
pause(): void;
|
|
40
|
-
togglePlay(): void
|
|
158
|
+
togglePlay(): Promise<void>;
|
|
41
159
|
setPlaying(state: boolean): void;
|
|
42
160
|
seekToPercentage(percentage: number): void;
|
|
43
161
|
convertTimeToDuration(seconds: number): string;
|
|
@@ -50,16 +168,137 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
50
168
|
skip(duration?: number): void;
|
|
51
169
|
toggleScrubbing(e: MouseEvent): Promise<void>;
|
|
52
170
|
handleKeyDown(e: KeyboardEvent): void;
|
|
53
|
-
}, {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
sources:
|
|
59
|
-
|
|
60
|
-
|
|
171
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
172
|
+
targetTimestamp: {
|
|
173
|
+
type: (StringConstructor | DateConstructor)[];
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
176
|
+
sources: {
|
|
177
|
+
type: PropType<string | VideoSource[]>;
|
|
178
|
+
required: true;
|
|
179
|
+
};
|
|
180
|
+
videoListeners: {
|
|
181
|
+
type: PropType<Partial<HTMLVideoElement>>;
|
|
182
|
+
default: () => {};
|
|
183
|
+
};
|
|
184
|
+
videoOptions: {
|
|
185
|
+
type: PropType<Partial<HTMLVideoElement>>;
|
|
186
|
+
default: () => {};
|
|
187
|
+
};
|
|
188
|
+
isHls: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
streamingToken: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
default: string;
|
|
195
|
+
};
|
|
196
|
+
isLiveView: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: boolean;
|
|
199
|
+
};
|
|
200
|
+
pauseOnClick: {
|
|
201
|
+
type: BooleanConstructor;
|
|
202
|
+
default: boolean;
|
|
203
|
+
};
|
|
204
|
+
isHlsLoading: {
|
|
205
|
+
type: BooleanConstructor;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
isPlaying: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
default: boolean;
|
|
211
|
+
};
|
|
212
|
+
preloadedInterval: {
|
|
213
|
+
type: PropType<{
|
|
214
|
+
start: string;
|
|
215
|
+
end: string;
|
|
216
|
+
}>;
|
|
217
|
+
default: () => {};
|
|
218
|
+
};
|
|
219
|
+
selectedResolution: {
|
|
220
|
+
type: PropType<EdgeVideoResolution | undefined>;
|
|
221
|
+
default: undefined;
|
|
222
|
+
};
|
|
223
|
+
isLive: {
|
|
224
|
+
type: BooleanConstructor;
|
|
225
|
+
default: boolean;
|
|
226
|
+
};
|
|
227
|
+
isZoomable: {
|
|
228
|
+
type: BooleanConstructor;
|
|
229
|
+
default: boolean;
|
|
230
|
+
};
|
|
231
|
+
zoomableIgnorePointerEvents: {
|
|
232
|
+
type: BooleanConstructor;
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
235
|
+
blurBackground: {
|
|
236
|
+
type: BooleanConstructor;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
isRecordings: {
|
|
240
|
+
type: BooleanConstructor;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
progressBarEvents: {
|
|
244
|
+
type: ArrayConstructor;
|
|
245
|
+
default: () => never[];
|
|
246
|
+
};
|
|
247
|
+
progressBarFrames: {
|
|
248
|
+
type: ArrayConstructor;
|
|
249
|
+
default: () => never[];
|
|
250
|
+
};
|
|
251
|
+
progressBarFrameIndex: {
|
|
252
|
+
type: NumberConstructor;
|
|
253
|
+
default: number;
|
|
254
|
+
};
|
|
255
|
+
progressBarPreloadedFrames: {
|
|
256
|
+
type: ArrayConstructor;
|
|
257
|
+
default: () => never[];
|
|
258
|
+
};
|
|
259
|
+
thumbnailsUrls: {
|
|
260
|
+
type: PropType<string[]>;
|
|
261
|
+
default: () => never[];
|
|
262
|
+
};
|
|
263
|
+
timezone: {
|
|
264
|
+
type: StringConstructor;
|
|
265
|
+
default: string;
|
|
266
|
+
};
|
|
267
|
+
playPauseAnimation: {
|
|
268
|
+
type: BooleanConstructor;
|
|
269
|
+
default: boolean;
|
|
270
|
+
};
|
|
271
|
+
disablePlayPauseAnimation: {
|
|
272
|
+
type: BooleanConstructor;
|
|
273
|
+
default: boolean;
|
|
274
|
+
};
|
|
275
|
+
}>>, {
|
|
276
|
+
timezone: string;
|
|
277
|
+
isPlaying: boolean;
|
|
278
|
+
isLive: boolean;
|
|
279
|
+
targetTimestamp: string | Date;
|
|
280
|
+
thumbnailsUrls: string[];
|
|
281
|
+
selectedResolution: EdgeVideoResolution | undefined;
|
|
282
|
+
isHlsLoading: boolean;
|
|
283
|
+
videoListeners: Partial<HTMLVideoElement>;
|
|
284
|
+
videoOptions: Partial<HTMLVideoElement>;
|
|
61
285
|
isHls: boolean;
|
|
62
286
|
streamingToken: string;
|
|
63
287
|
isLiveView: boolean;
|
|
64
|
-
|
|
288
|
+
pauseOnClick: boolean;
|
|
289
|
+
preloadedInterval: {
|
|
290
|
+
start: string;
|
|
291
|
+
end: string;
|
|
292
|
+
};
|
|
293
|
+
isZoomable: boolean;
|
|
294
|
+
zoomableIgnorePointerEvents: boolean;
|
|
295
|
+
blurBackground: boolean;
|
|
296
|
+
isRecordings: boolean;
|
|
297
|
+
progressBarEvents: unknown[];
|
|
298
|
+
progressBarFrames: unknown[];
|
|
299
|
+
progressBarFrameIndex: number;
|
|
300
|
+
progressBarPreloadedFrames: unknown[];
|
|
301
|
+
playPauseAnimation: boolean;
|
|
302
|
+
disablePlayPauseAnimation: boolean;
|
|
303
|
+
}>;
|
|
65
304
|
export default _default;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { ImageQuality } from '../types';
|
|
3
|
+
import { EToggleSwitchOptions } from '../components/EToggleSwitch.vue';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
frames: {
|
|
6
|
+
type: ArrayConstructor;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
frameIndex: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
isLastFrame: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
timePerFrame: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
isFullscreen: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
isPlaying: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
infoText: {
|
|
30
|
+
type: ObjectConstructor;
|
|
31
|
+
default: () => {
|
|
32
|
+
index: string;
|
|
33
|
+
label: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
hasLive: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
isLive: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
disablePlayButton: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
isRecordingWidget: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
initialSnapshotQuality: {
|
|
53
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
54
|
+
default: ImageQuality;
|
|
55
|
+
};
|
|
56
|
+
showSnapshotQuality: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
isVideo: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
hasEdgeVideo: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
allowedToChangeSpeed: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
allowedToChangeQuality: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
}, {}, {
|
|
81
|
+
recordingType: string;
|
|
82
|
+
allowedSpeeds: number[];
|
|
83
|
+
selectedSpeed: number;
|
|
84
|
+
allowedQualities: string[];
|
|
85
|
+
selectedQuality: string;
|
|
86
|
+
}, {
|
|
87
|
+
isEdgeVideoEnabled(): boolean;
|
|
88
|
+
switchOptions(): EToggleSwitchOptions[];
|
|
89
|
+
}, {
|
|
90
|
+
toggleLive(): void;
|
|
91
|
+
initPlayerSettings(): void;
|
|
92
|
+
updateFrameIndex(amount: number): void;
|
|
93
|
+
updateTimePerFrame(): void;
|
|
94
|
+
updateQuality(): void;
|
|
95
|
+
toggleFullscreen(): void;
|
|
96
|
+
togglePlaying(): void;
|
|
97
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
frames: {
|
|
99
|
+
type: ArrayConstructor;
|
|
100
|
+
default: () => never[];
|
|
101
|
+
};
|
|
102
|
+
frameIndex: {
|
|
103
|
+
type: NumberConstructor;
|
|
104
|
+
default: number;
|
|
105
|
+
};
|
|
106
|
+
isLastFrame: {
|
|
107
|
+
type: BooleanConstructor;
|
|
108
|
+
default: boolean;
|
|
109
|
+
};
|
|
110
|
+
timePerFrame: {
|
|
111
|
+
type: NumberConstructor;
|
|
112
|
+
default: number;
|
|
113
|
+
};
|
|
114
|
+
isFullscreen: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
isPlaying: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
infoText: {
|
|
123
|
+
type: ObjectConstructor;
|
|
124
|
+
default: () => {
|
|
125
|
+
index: string;
|
|
126
|
+
label: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
hasLive: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
isLive: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
disablePlayButton: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
isRecordingWidget: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
default: boolean;
|
|
144
|
+
};
|
|
145
|
+
initialSnapshotQuality: {
|
|
146
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
147
|
+
default: ImageQuality;
|
|
148
|
+
};
|
|
149
|
+
showSnapshotQuality: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
isVideo: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
hasEdgeVideo: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
size: {
|
|
162
|
+
type: PropType<"lg" | "md" | "sm">;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
allowedToChangeSpeed: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
allowedToChangeQuality: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
}>>, {
|
|
174
|
+
size: "lg" | "md" | "sm";
|
|
175
|
+
isVideo: boolean;
|
|
176
|
+
frames: unknown[];
|
|
177
|
+
frameIndex: number;
|
|
178
|
+
isLastFrame: boolean;
|
|
179
|
+
timePerFrame: number;
|
|
180
|
+
isFullscreen: boolean;
|
|
181
|
+
isPlaying: boolean;
|
|
182
|
+
infoText: Record<string, any>;
|
|
183
|
+
hasLive: boolean;
|
|
184
|
+
isLive: boolean;
|
|
185
|
+
disablePlayButton: boolean;
|
|
186
|
+
isRecordingWidget: boolean;
|
|
187
|
+
initialSnapshotQuality: string | number;
|
|
188
|
+
showSnapshotQuality: boolean;
|
|
189
|
+
hasEdgeVideo: boolean;
|
|
190
|
+
allowedToChangeSpeed: boolean;
|
|
191
|
+
allowedToChangeQuality: boolean;
|
|
192
|
+
}>;
|
|
193
|
+
export default _default;
|