@evercam/ui 0.0.55-beta.15 → 0.0.55-beta.16
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 +0 -88
- package/dist/index.mjs +3464 -2612
- 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/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 +362 -15
- package/dist/src/types.d.ts +7 -9
- package/dist/style.css +1 -1
- package/dist/styles.css +335 -8
- package/dist/tags.json +0 -34
- package/dist/web-types.json +11 -194
- package/package.json +1 -1
- package/dist/src/components/EHeatmapBar.vue.d.ts +0 -3
- package/dist/src/components/EHoursHeatmap.vue.d.ts +0 -3
|
@@ -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;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import ECol from './components/ECol.vue';
|
|
|
7
7
|
import EVideoPlayer from './components/EVideoPlayer.vue';
|
|
8
8
|
import ETimeline from './components/ETimeline.vue';
|
|
9
9
|
import EVideoEmbed from './components/EVideoEmbed.vue';
|
|
10
|
+
import EToggleSwitch from './components/EToggleSwitch.vue';
|
|
11
|
+
import EZoomable from './components/EZoomable.vue';
|
|
10
12
|
import { VueConstructor } from "vue";
|
|
11
13
|
export declare const components: {
|
|
12
14
|
EAvatar: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
@@ -118,7 +120,115 @@ export declare const components: {
|
|
|
118
120
|
xs: string | number | boolean;
|
|
119
121
|
xl: string | number | boolean;
|
|
120
122
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
121
|
-
EVideoPlayer: import("vue
|
|
123
|
+
EVideoPlayer: import("vue").DefineComponent<{
|
|
124
|
+
targetTimestamp: {
|
|
125
|
+
type: (StringConstructor | DateConstructor)[];
|
|
126
|
+
default: undefined;
|
|
127
|
+
};
|
|
128
|
+
sources: {
|
|
129
|
+
type: import("vue").PropType<string | import('./components/EVideoPlayer.vue').VideoSource[]>;
|
|
130
|
+
required: true;
|
|
131
|
+
};
|
|
132
|
+
videoListeners: {
|
|
133
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
134
|
+
default: () => {};
|
|
135
|
+
};
|
|
136
|
+
videoOptions: {
|
|
137
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
138
|
+
default: () => {};
|
|
139
|
+
};
|
|
140
|
+
isHls: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
streamingToken: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
isLiveView: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
152
|
+
pauseOnClick: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
isHlsLoading: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
isPlaying: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
preloadedInterval: {
|
|
165
|
+
type: import("vue").PropType<{
|
|
166
|
+
start: string;
|
|
167
|
+
end: string;
|
|
168
|
+
}>;
|
|
169
|
+
default: () => {};
|
|
170
|
+
};
|
|
171
|
+
selectedResolution: {
|
|
172
|
+
type: import("vue").PropType<import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined>;
|
|
173
|
+
default: undefined;
|
|
174
|
+
};
|
|
175
|
+
isLive: {
|
|
176
|
+
type: BooleanConstructor;
|
|
177
|
+
default: boolean;
|
|
178
|
+
};
|
|
179
|
+
isZoomable: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
zoomableIgnorePointerEvents: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
blurBackground: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
isRecordings: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: boolean;
|
|
194
|
+
};
|
|
195
|
+
progressBarEvents: {
|
|
196
|
+
type: ArrayConstructor;
|
|
197
|
+
default: () => never[];
|
|
198
|
+
};
|
|
199
|
+
progressBarFrames: {
|
|
200
|
+
type: ArrayConstructor;
|
|
201
|
+
default: () => never[];
|
|
202
|
+
};
|
|
203
|
+
progressBarFrameIndex: {
|
|
204
|
+
type: NumberConstructor;
|
|
205
|
+
default: number;
|
|
206
|
+
};
|
|
207
|
+
progressBarPreloadedFrames: {
|
|
208
|
+
type: ArrayConstructor;
|
|
209
|
+
default: () => never[];
|
|
210
|
+
};
|
|
211
|
+
thumbnailsUrls: {
|
|
212
|
+
type: import("vue").PropType<string[]>;
|
|
213
|
+
default: () => never[];
|
|
214
|
+
};
|
|
215
|
+
timezone: {
|
|
216
|
+
type: StringConstructor;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
playPauseAnimation: {
|
|
220
|
+
type: BooleanConstructor;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
disablePlayPauseAnimation: {
|
|
224
|
+
type: BooleanConstructor;
|
|
225
|
+
default: boolean;
|
|
226
|
+
};
|
|
227
|
+
isWebRtc: {
|
|
228
|
+
type: BooleanConstructor;
|
|
229
|
+
default: boolean;
|
|
230
|
+
};
|
|
231
|
+
}, {}, {
|
|
122
232
|
playing: boolean;
|
|
123
233
|
percentagePlayed: number;
|
|
124
234
|
videoLength: string;
|
|
@@ -133,9 +243,16 @@ export declare const components: {
|
|
|
133
243
|
isLoading: boolean;
|
|
134
244
|
isError: boolean;
|
|
135
245
|
player: import("hls.js").default;
|
|
246
|
+
playbackRetries: number;
|
|
247
|
+
}, {
|
|
248
|
+
sourceItems(): import('./components/EVideoPlayer.vue').VideoSource[];
|
|
249
|
+
hasStartedOrFinished(): boolean;
|
|
250
|
+
withControls(): "" | "hide";
|
|
136
251
|
}, {
|
|
137
252
|
initHls(): void;
|
|
253
|
+
onContainerClick(): void;
|
|
138
254
|
handle404Error(): void;
|
|
255
|
+
handleHlsError(_: import("hls.js").Events.ERROR, data: import("hls.js").ErrorData): void;
|
|
139
256
|
bindEvents(): void;
|
|
140
257
|
unbindEvents(): void;
|
|
141
258
|
bindVideoEvent(which: string): void;
|
|
@@ -148,9 +265,9 @@ export declare const components: {
|
|
|
148
265
|
handleScrubbingOnMouseEnd(e: MouseEvent): void;
|
|
149
266
|
handleEnded(): void;
|
|
150
267
|
handleLoading(): void;
|
|
151
|
-
play(): void
|
|
268
|
+
play(): Promise<void>;
|
|
152
269
|
pause(): void;
|
|
153
|
-
togglePlay(): void
|
|
270
|
+
togglePlay(): Promise<void>;
|
|
154
271
|
setPlaying(state: boolean): void;
|
|
155
272
|
seekToPercentage(percentage: number): void;
|
|
156
273
|
convertTimeToDuration(seconds: number): string;
|
|
@@ -163,18 +280,144 @@ export declare const components: {
|
|
|
163
280
|
skip(duration?: number): void;
|
|
164
281
|
toggleScrubbing(e: MouseEvent): Promise<void>;
|
|
165
282
|
handleKeyDown(e: KeyboardEvent): void;
|
|
166
|
-
}, {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
sources:
|
|
172
|
-
|
|
173
|
-
|
|
283
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
284
|
+
targetTimestamp: {
|
|
285
|
+
type: (StringConstructor | DateConstructor)[];
|
|
286
|
+
default: undefined;
|
|
287
|
+
};
|
|
288
|
+
sources: {
|
|
289
|
+
type: import("vue").PropType<string | import('./components/EVideoPlayer.vue').VideoSource[]>;
|
|
290
|
+
required: true;
|
|
291
|
+
};
|
|
292
|
+
videoListeners: {
|
|
293
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
294
|
+
default: () => {};
|
|
295
|
+
};
|
|
296
|
+
videoOptions: {
|
|
297
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
298
|
+
default: () => {};
|
|
299
|
+
};
|
|
300
|
+
isHls: {
|
|
301
|
+
type: BooleanConstructor;
|
|
302
|
+
default: boolean;
|
|
303
|
+
};
|
|
304
|
+
streamingToken: {
|
|
305
|
+
type: StringConstructor;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
isLiveView: {
|
|
309
|
+
type: BooleanConstructor;
|
|
310
|
+
default: boolean;
|
|
311
|
+
};
|
|
312
|
+
pauseOnClick: {
|
|
313
|
+
type: BooleanConstructor;
|
|
314
|
+
default: boolean;
|
|
315
|
+
};
|
|
316
|
+
isHlsLoading: {
|
|
317
|
+
type: BooleanConstructor;
|
|
318
|
+
default: boolean;
|
|
319
|
+
};
|
|
320
|
+
isPlaying: {
|
|
321
|
+
type: BooleanConstructor;
|
|
322
|
+
default: boolean;
|
|
323
|
+
};
|
|
324
|
+
preloadedInterval: {
|
|
325
|
+
type: import("vue").PropType<{
|
|
326
|
+
start: string;
|
|
327
|
+
end: string;
|
|
328
|
+
}>;
|
|
329
|
+
default: () => {};
|
|
330
|
+
};
|
|
331
|
+
selectedResolution: {
|
|
332
|
+
type: import("vue").PropType<import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined>;
|
|
333
|
+
default: undefined;
|
|
334
|
+
};
|
|
335
|
+
isLive: {
|
|
336
|
+
type: BooleanConstructor;
|
|
337
|
+
default: boolean;
|
|
338
|
+
};
|
|
339
|
+
isZoomable: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
default: boolean;
|
|
342
|
+
};
|
|
343
|
+
zoomableIgnorePointerEvents: {
|
|
344
|
+
type: BooleanConstructor;
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
blurBackground: {
|
|
348
|
+
type: BooleanConstructor;
|
|
349
|
+
default: boolean;
|
|
350
|
+
};
|
|
351
|
+
isRecordings: {
|
|
352
|
+
type: BooleanConstructor;
|
|
353
|
+
default: boolean;
|
|
354
|
+
};
|
|
355
|
+
progressBarEvents: {
|
|
356
|
+
type: ArrayConstructor;
|
|
357
|
+
default: () => never[];
|
|
358
|
+
};
|
|
359
|
+
progressBarFrames: {
|
|
360
|
+
type: ArrayConstructor;
|
|
361
|
+
default: () => never[];
|
|
362
|
+
};
|
|
363
|
+
progressBarFrameIndex: {
|
|
364
|
+
type: NumberConstructor;
|
|
365
|
+
default: number;
|
|
366
|
+
};
|
|
367
|
+
progressBarPreloadedFrames: {
|
|
368
|
+
type: ArrayConstructor;
|
|
369
|
+
default: () => never[];
|
|
370
|
+
};
|
|
371
|
+
thumbnailsUrls: {
|
|
372
|
+
type: import("vue").PropType<string[]>;
|
|
373
|
+
default: () => never[];
|
|
374
|
+
};
|
|
375
|
+
timezone: {
|
|
376
|
+
type: StringConstructor;
|
|
377
|
+
default: string;
|
|
378
|
+
};
|
|
379
|
+
playPauseAnimation: {
|
|
380
|
+
type: BooleanConstructor;
|
|
381
|
+
default: boolean;
|
|
382
|
+
};
|
|
383
|
+
disablePlayPauseAnimation: {
|
|
384
|
+
type: BooleanConstructor;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
387
|
+
isWebRtc: {
|
|
388
|
+
type: BooleanConstructor;
|
|
389
|
+
default: boolean;
|
|
390
|
+
};
|
|
391
|
+
}>>, {
|
|
392
|
+
timezone: string;
|
|
393
|
+
isPlaying: boolean;
|
|
394
|
+
isLive: boolean;
|
|
395
|
+
targetTimestamp: string | Date;
|
|
396
|
+
thumbnailsUrls: string[];
|
|
397
|
+
selectedResolution: import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined;
|
|
398
|
+
isHlsLoading: boolean;
|
|
399
|
+
videoListeners: Partial<HTMLVideoElement>;
|
|
400
|
+
videoOptions: Partial<HTMLVideoElement>;
|
|
174
401
|
isHls: boolean;
|
|
175
402
|
streamingToken: string;
|
|
176
403
|
isLiveView: boolean;
|
|
177
|
-
|
|
404
|
+
pauseOnClick: boolean;
|
|
405
|
+
preloadedInterval: {
|
|
406
|
+
start: string;
|
|
407
|
+
end: string;
|
|
408
|
+
};
|
|
409
|
+
isZoomable: boolean;
|
|
410
|
+
zoomableIgnorePointerEvents: boolean;
|
|
411
|
+
blurBackground: boolean;
|
|
412
|
+
isRecordings: boolean;
|
|
413
|
+
progressBarEvents: unknown[];
|
|
414
|
+
progressBarFrames: unknown[];
|
|
415
|
+
progressBarFrameIndex: number;
|
|
416
|
+
progressBarPreloadedFrames: unknown[];
|
|
417
|
+
playPauseAnimation: boolean;
|
|
418
|
+
disablePlayPauseAnimation: boolean;
|
|
419
|
+
isWebRtc: boolean;
|
|
420
|
+
}>;
|
|
178
421
|
ETimeline: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
179
422
|
tooltip: HTMLElement;
|
|
180
423
|
cursor: HTMLElement;
|
|
@@ -528,14 +771,118 @@ export declare const components: {
|
|
|
528
771
|
iframeListeners: Partial<HTMLIFrameElement>;
|
|
529
772
|
iframeOptions: Record<string, any>;
|
|
530
773
|
}>;
|
|
531
|
-
|
|
532
|
-
|
|
774
|
+
EToggleSwitch: import("vue").DefineComponent<{
|
|
775
|
+
options: {
|
|
776
|
+
type: import("vue").PropType<import('./components/EToggleSwitch.vue').EToggleSwitchOptions[]>;
|
|
777
|
+
required: true;
|
|
778
|
+
};
|
|
779
|
+
color: {
|
|
780
|
+
type: import("vue").PropType<"primary" | "brand" | "gray">;
|
|
781
|
+
default: string;
|
|
782
|
+
};
|
|
783
|
+
size: {
|
|
784
|
+
type: import("vue").PropType<"lg" | "md" | "sm">;
|
|
785
|
+
default: string;
|
|
786
|
+
};
|
|
787
|
+
defaultValue: {
|
|
788
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
789
|
+
default: null;
|
|
790
|
+
};
|
|
791
|
+
}, {}, {
|
|
792
|
+
value: any;
|
|
793
|
+
}, {}, {
|
|
794
|
+
handleClick(value: any): void;
|
|
795
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
796
|
+
options: {
|
|
797
|
+
type: import("vue").PropType<import('./components/EToggleSwitch.vue').EToggleSwitchOptions[]>;
|
|
798
|
+
required: true;
|
|
799
|
+
};
|
|
800
|
+
color: {
|
|
801
|
+
type: import("vue").PropType<"primary" | "brand" | "gray">;
|
|
802
|
+
default: string;
|
|
803
|
+
};
|
|
804
|
+
size: {
|
|
805
|
+
type: import("vue").PropType<"lg" | "md" | "sm">;
|
|
806
|
+
default: string;
|
|
807
|
+
};
|
|
808
|
+
defaultValue: {
|
|
809
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
810
|
+
default: null;
|
|
811
|
+
};
|
|
812
|
+
}>>, {
|
|
813
|
+
color: "primary" | "brand" | "gray";
|
|
814
|
+
size: "lg" | "md" | "sm";
|
|
815
|
+
defaultValue: string | number | boolean;
|
|
816
|
+
}>;
|
|
817
|
+
EZoomable: import("vue").DefineComponent<{
|
|
818
|
+
ignorePointerEvents: {
|
|
819
|
+
type: BooleanConstructor;
|
|
820
|
+
default: boolean;
|
|
821
|
+
};
|
|
822
|
+
withOverlay: {
|
|
823
|
+
type: BooleanConstructor;
|
|
824
|
+
default: boolean;
|
|
825
|
+
};
|
|
826
|
+
}, {}, {
|
|
827
|
+
scale: number;
|
|
828
|
+
minScale: number;
|
|
829
|
+
maxScale: number;
|
|
830
|
+
top: number;
|
|
831
|
+
left: number;
|
|
832
|
+
isPanning: boolean;
|
|
833
|
+
panStart: {
|
|
834
|
+
x: number;
|
|
835
|
+
y: number;
|
|
836
|
+
};
|
|
837
|
+
isPinching: boolean;
|
|
838
|
+
previousPinchDistance: number;
|
|
839
|
+
pinchDistance: number;
|
|
840
|
+
pointers: {};
|
|
841
|
+
transform: string;
|
|
842
|
+
}, {
|
|
843
|
+
contentStyle(): {
|
|
844
|
+
transform: string;
|
|
845
|
+
};
|
|
846
|
+
isZoomed(): boolean;
|
|
847
|
+
}, {
|
|
848
|
+
updateZoomScale(): void;
|
|
849
|
+
handleZoom(e: any): void;
|
|
850
|
+
handleMouseDown(e: any): void;
|
|
851
|
+
handleMouseUp(): void;
|
|
852
|
+
handleMouseLeave(): void;
|
|
853
|
+
handleMouseMove(e: any): void;
|
|
854
|
+
applyBoundsCorrection(): void;
|
|
855
|
+
updateTransform(): void;
|
|
856
|
+
getPointersDistance(a: any, b: any): number;
|
|
857
|
+
getPointersMidPoint(a: any, b: any): {
|
|
858
|
+
x: any;
|
|
859
|
+
y: any;
|
|
860
|
+
};
|
|
861
|
+
updatePointerEvent(e: any): void;
|
|
862
|
+
clearPointerEvent(e: any): void;
|
|
863
|
+
updatePinchDistance(): void;
|
|
864
|
+
handlePointerDown(e: any): void;
|
|
865
|
+
handlePointerMove(e: any): void;
|
|
866
|
+
handlePointerUp(e: any): void;
|
|
867
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
868
|
+
ignorePointerEvents: {
|
|
869
|
+
type: BooleanConstructor;
|
|
870
|
+
default: boolean;
|
|
871
|
+
};
|
|
872
|
+
withOverlay: {
|
|
873
|
+
type: BooleanConstructor;
|
|
874
|
+
default: boolean;
|
|
875
|
+
};
|
|
876
|
+
}>>, {
|
|
877
|
+
ignorePointerEvents: boolean;
|
|
878
|
+
withOverlay: boolean;
|
|
879
|
+
}>;
|
|
533
880
|
};
|
|
534
881
|
declare const _default: {
|
|
535
882
|
install(Vue: VueConstructor): void;
|
|
536
883
|
};
|
|
537
884
|
export default _default;
|
|
538
|
-
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, };
|
|
885
|
+
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, EToggleSwitch, EZoomable, };
|
|
539
886
|
export * from './constants';
|
|
540
887
|
export * from './types';
|
|
541
888
|
export * from './utils';
|
package/dist/src/types.d.ts
CHANGED
|
@@ -25,6 +25,13 @@ export declare enum BaseColor {
|
|
|
25
25
|
brand = "brand",
|
|
26
26
|
default = "default"
|
|
27
27
|
}
|
|
28
|
+
export declare enum ImageQuality {
|
|
29
|
+
_360 = "360",
|
|
30
|
+
_480 = "480",
|
|
31
|
+
_720 = "720",
|
|
32
|
+
_1080 = "1080",
|
|
33
|
+
auto = "auto"
|
|
34
|
+
}
|
|
28
35
|
export type TBadgeSize = (typeof BadgeSizes)[number];
|
|
29
36
|
export type TAvatarSize = (typeof AvatarSizes)[number];
|
|
30
37
|
export type TIconSize = (typeof IconSizes)[number];
|
|
@@ -120,14 +127,5 @@ export type TimelineMarker = {
|
|
|
120
127
|
maxDate?: string;
|
|
121
128
|
[key: string]: any;
|
|
122
129
|
};
|
|
123
|
-
export type HeatmapBarItem = {
|
|
124
|
-
name: string;
|
|
125
|
-
count: string;
|
|
126
|
-
value: string | number;
|
|
127
|
-
};
|
|
128
|
-
export type HoursHeatmapChartItem = {
|
|
129
|
-
count: number;
|
|
130
|
-
timestamp: Timestamp;
|
|
131
|
-
};
|
|
132
130
|
declare const _default: {};
|
|
133
131
|
export default _default;
|