@evercam/ui 0.0.55-beta.25 → 0.0.55-beta.27
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/README.md +0 -1
- package/dist/attributes.json +30 -17
- package/dist/index.mjs +1370 -1773
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ECompareSeparator.vue.d.ts +9 -0
- package/dist/src/components/EVideoPlayer.vue.d.ts +15 -188
- package/dist/src/constants.d.ts +0 -1
- package/dist/src/index.d.ts +19 -276
- package/dist/src/types.d.ts +1 -9
- package/dist/style.css +1 -1
- package/dist/styles.css +4 -108
- package/dist/tags.json +13 -5
- package/dist/web-types.json +67 -47
- package/package.json +1 -1
- package/dist/src/components/EToggleSwitch.vue.d.ts +0 -34
- package/dist/src/components/EZoomable.vue.d.ts +0 -73
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
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>>, unknown, unknown, {
|
|
3
|
+
separatorStyle: {
|
|
4
|
+
left: string;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
xOffset: string | number;
|
|
8
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
9
|
+
export default _default;
|
|
@@ -1,91 +1,11 @@
|
|
|
1
|
-
import Hls
|
|
2
|
-
import
|
|
1
|
+
import Hls from "hls.js";
|
|
2
|
+
import Vue 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
|
-
|
|
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
|
-
pauseOnClick: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
isHlsLoading: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
isPlaying: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
selectedResolution: {
|
|
53
|
-
type: PropType<EdgeVideoResolution | undefined>;
|
|
54
|
-
default: undefined;
|
|
55
|
-
};
|
|
56
|
-
isZoomable: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
zoomableIgnorePointerEvents: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
timezone: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
playPauseAnimation: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
disablePlayPauseAnimation: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
isWebRtc: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
loaderColor: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
loaderSize: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
}, {}, {
|
|
8
|
+
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>>, {
|
|
89
9
|
playing: boolean;
|
|
90
10
|
percentagePlayed: number;
|
|
91
11
|
videoLength: string;
|
|
@@ -100,23 +20,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
20
|
isLoading: boolean;
|
|
101
21
|
isError: boolean;
|
|
102
22
|
player: Hls;
|
|
103
|
-
playbackRetries: number;
|
|
104
|
-
preloadedSeconds: number;
|
|
105
|
-
preloadedInterval: {
|
|
106
|
-
start: string;
|
|
107
|
-
end: string;
|
|
108
|
-
};
|
|
109
|
-
}, {
|
|
110
|
-
sourceItems(): VideoSource[];
|
|
111
|
-
hasStartedOrFinished(): boolean;
|
|
112
|
-
withControls(): "" | "hide";
|
|
113
23
|
}, {
|
|
114
24
|
initHls(): void;
|
|
115
|
-
onContainerClick(): void;
|
|
116
25
|
handle404Error(): void;
|
|
117
|
-
handleHlsError(_: Events.ERROR, data: ErrorData): void;
|
|
118
26
|
bindEvents(): void;
|
|
119
|
-
onProgress(): void;
|
|
120
27
|
unbindEvents(): void;
|
|
121
28
|
bindVideoEvent(which: string): void;
|
|
122
29
|
initializePlayer(): void;
|
|
@@ -128,9 +35,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
35
|
handleScrubbingOnMouseEnd(e: MouseEvent): void;
|
|
129
36
|
handleEnded(): void;
|
|
130
37
|
handleLoading(): void;
|
|
131
|
-
play():
|
|
38
|
+
play(): void;
|
|
132
39
|
pause(): void;
|
|
133
|
-
togglePlay():
|
|
40
|
+
togglePlay(): void;
|
|
134
41
|
setPlaying(state: boolean): void;
|
|
135
42
|
seekToPercentage(percentage: number): void;
|
|
136
43
|
convertTimeToDuration(seconds: number): string;
|
|
@@ -143,96 +50,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
50
|
skip(duration?: number): void;
|
|
144
51
|
toggleScrubbing(e: MouseEvent): Promise<void>;
|
|
145
52
|
handleKeyDown(e: KeyboardEvent): void;
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
sources:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
};
|
|
155
|
-
videoListeners: {
|
|
156
|
-
type: PropType<Partial<HTMLVideoElement>>;
|
|
157
|
-
default: () => {};
|
|
158
|
-
};
|
|
159
|
-
videoOptions: {
|
|
160
|
-
type: PropType<Partial<HTMLVideoElement>>;
|
|
161
|
-
default: () => {};
|
|
162
|
-
};
|
|
163
|
-
isHls: {
|
|
164
|
-
type: BooleanConstructor;
|
|
165
|
-
default: boolean;
|
|
166
|
-
};
|
|
167
|
-
streamingToken: {
|
|
168
|
-
type: StringConstructor;
|
|
169
|
-
default: string;
|
|
170
|
-
};
|
|
171
|
-
pauseOnClick: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
isHlsLoading: {
|
|
176
|
-
type: BooleanConstructor;
|
|
177
|
-
default: boolean;
|
|
178
|
-
};
|
|
179
|
-
isPlaying: {
|
|
180
|
-
type: BooleanConstructor;
|
|
181
|
-
default: boolean;
|
|
182
|
-
};
|
|
183
|
-
selectedResolution: {
|
|
184
|
-
type: PropType<EdgeVideoResolution | undefined>;
|
|
185
|
-
default: undefined;
|
|
186
|
-
};
|
|
187
|
-
isZoomable: {
|
|
188
|
-
type: BooleanConstructor;
|
|
189
|
-
default: boolean;
|
|
190
|
-
};
|
|
191
|
-
zoomableIgnorePointerEvents: {
|
|
192
|
-
type: BooleanConstructor;
|
|
193
|
-
default: boolean;
|
|
194
|
-
};
|
|
195
|
-
timezone: {
|
|
196
|
-
type: StringConstructor;
|
|
197
|
-
default: string;
|
|
198
|
-
};
|
|
199
|
-
playPauseAnimation: {
|
|
200
|
-
type: BooleanConstructor;
|
|
201
|
-
default: boolean;
|
|
202
|
-
};
|
|
203
|
-
disablePlayPauseAnimation: {
|
|
204
|
-
type: BooleanConstructor;
|
|
205
|
-
default: boolean;
|
|
206
|
-
};
|
|
207
|
-
isWebRtc: {
|
|
208
|
-
type: BooleanConstructor;
|
|
209
|
-
default: boolean;
|
|
210
|
-
};
|
|
211
|
-
loaderColor: {
|
|
212
|
-
type: StringConstructor;
|
|
213
|
-
default: string;
|
|
214
|
-
};
|
|
215
|
-
loaderSize: {
|
|
216
|
-
type: StringConstructor;
|
|
217
|
-
default: string;
|
|
218
|
-
};
|
|
219
|
-
}>>, {
|
|
220
|
-
timezone: string;
|
|
221
|
-
isPlaying: boolean;
|
|
222
|
-
targetTimestamp: string | Date;
|
|
223
|
-
videoListeners: Partial<HTMLVideoElement>;
|
|
224
|
-
videoOptions: Partial<HTMLVideoElement>;
|
|
53
|
+
}, {
|
|
54
|
+
sourceItems: VideoSource[];
|
|
55
|
+
hasStartedOrFinished: boolean;
|
|
56
|
+
withControls: "" | "hide";
|
|
57
|
+
}, {
|
|
58
|
+
sources: string | VideoSource[];
|
|
59
|
+
videoListeners: {};
|
|
60
|
+
videoOptions: {};
|
|
225
61
|
isHls: boolean;
|
|
226
62
|
streamingToken: string;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
selectedResolution: EdgeVideoResolution | undefined;
|
|
230
|
-
isZoomable: boolean;
|
|
231
|
-
zoomableIgnorePointerEvents: boolean;
|
|
232
|
-
playPauseAnimation: boolean;
|
|
233
|
-
disablePlayPauseAnimation: boolean;
|
|
234
|
-
isWebRtc: boolean;
|
|
235
|
-
loaderColor: string;
|
|
236
|
-
loaderSize: string;
|
|
237
|
-
}>;
|
|
63
|
+
isLiveView: boolean;
|
|
64
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
238
65
|
export default _default;
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const Colors: any;
|
|
|
5
5
|
export declare const BadgeSizes: readonly [Size.dot, Size.xs, Size.sm, Size.md, Size.lg, Size.xl];
|
|
6
6
|
export declare const AvatarSizes: readonly [Size.xs, Size.sm, Size.md, Size.lg, Size.xl, (typeof Size)["2xl"]];
|
|
7
7
|
export declare const IconSizes: readonly [Size.xs, Size.sm, Size.md, Size.md, Size.lg, Size.xl, (typeof Size)["2xl"], (typeof Size)["3xl"], (typeof Size)["4xl"], (typeof Size)["5xl"], (typeof Size)["6xl"], (typeof Size)["7xl"], (typeof Size)["8xl"], (typeof Size)["9xl"]];
|
|
8
|
-
export declare const ToggleSwitchSizes: readonly [Size.sm, Size.md, Size.md, Size.lg];
|
|
9
8
|
export declare const BadgeColors: readonly [BaseColor.warning, BaseColor.error, BaseColor.info, BaseColor.success, BaseColor.primary, BaseColor.default];
|
|
10
9
|
export declare const EVENTS: string[];
|
|
11
10
|
declare const _default: {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -10,8 +10,7 @@ import EVideoEmbed from './components/EVideoEmbed.vue';
|
|
|
10
10
|
import EHeatmapBar from './components/EHeatmapBar.vue';
|
|
11
11
|
import EHoursHeatmap from './components/EHoursHeatmap.vue';
|
|
12
12
|
import EReadMore from './components/EReadMore.vue';
|
|
13
|
-
import
|
|
14
|
-
import EZoomable from './components/EZoomable.vue';
|
|
13
|
+
import ECompareSeparator from './components/ECompareSeparator.vue';
|
|
15
14
|
import { VueConstructor } from "vue";
|
|
16
15
|
export declare const components: {
|
|
17
16
|
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>>, {
|
|
@@ -123,80 +122,7 @@ export declare const components: {
|
|
|
123
122
|
xs: string | number | boolean;
|
|
124
123
|
xl: string | number | boolean;
|
|
125
124
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
126
|
-
EVideoPlayer: import("vue").
|
|
127
|
-
targetTimestamp: {
|
|
128
|
-
type: (StringConstructor | DateConstructor)[];
|
|
129
|
-
default: undefined;
|
|
130
|
-
};
|
|
131
|
-
sources: {
|
|
132
|
-
type: import("vue").PropType<string | import('./components/EVideoPlayer.vue').VideoSource[]>;
|
|
133
|
-
required: true;
|
|
134
|
-
};
|
|
135
|
-
videoListeners: {
|
|
136
|
-
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
137
|
-
default: () => {};
|
|
138
|
-
};
|
|
139
|
-
videoOptions: {
|
|
140
|
-
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
141
|
-
default: () => {};
|
|
142
|
-
};
|
|
143
|
-
isHls: {
|
|
144
|
-
type: BooleanConstructor;
|
|
145
|
-
default: boolean;
|
|
146
|
-
};
|
|
147
|
-
streamingToken: {
|
|
148
|
-
type: StringConstructor;
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
pauseOnClick: {
|
|
152
|
-
type: BooleanConstructor;
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
isHlsLoading: {
|
|
156
|
-
type: BooleanConstructor;
|
|
157
|
-
default: boolean;
|
|
158
|
-
};
|
|
159
|
-
isPlaying: {
|
|
160
|
-
type: BooleanConstructor;
|
|
161
|
-
default: boolean;
|
|
162
|
-
};
|
|
163
|
-
selectedResolution: {
|
|
164
|
-
type: import("vue").PropType<import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined>;
|
|
165
|
-
default: undefined;
|
|
166
|
-
};
|
|
167
|
-
isZoomable: {
|
|
168
|
-
type: BooleanConstructor;
|
|
169
|
-
default: boolean;
|
|
170
|
-
};
|
|
171
|
-
zoomableIgnorePointerEvents: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
timezone: {
|
|
176
|
-
type: StringConstructor;
|
|
177
|
-
default: string;
|
|
178
|
-
};
|
|
179
|
-
playPauseAnimation: {
|
|
180
|
-
type: BooleanConstructor;
|
|
181
|
-
default: boolean;
|
|
182
|
-
};
|
|
183
|
-
disablePlayPauseAnimation: {
|
|
184
|
-
type: BooleanConstructor;
|
|
185
|
-
default: boolean;
|
|
186
|
-
};
|
|
187
|
-
isWebRtc: {
|
|
188
|
-
type: BooleanConstructor;
|
|
189
|
-
default: boolean;
|
|
190
|
-
};
|
|
191
|
-
loaderColor: {
|
|
192
|
-
type: StringConstructor;
|
|
193
|
-
default: string;
|
|
194
|
-
};
|
|
195
|
-
loaderSize: {
|
|
196
|
-
type: StringConstructor;
|
|
197
|
-
default: string;
|
|
198
|
-
};
|
|
199
|
-
}, {}, {
|
|
125
|
+
EVideoPlayer: 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>>, {
|
|
200
126
|
playing: boolean;
|
|
201
127
|
percentagePlayed: number;
|
|
202
128
|
videoLength: string;
|
|
@@ -211,23 +137,10 @@ export declare const components: {
|
|
|
211
137
|
isLoading: boolean;
|
|
212
138
|
isError: boolean;
|
|
213
139
|
player: import("hls.js").default;
|
|
214
|
-
playbackRetries: number;
|
|
215
|
-
preloadedSeconds: number;
|
|
216
|
-
preloadedInterval: {
|
|
217
|
-
start: string;
|
|
218
|
-
end: string;
|
|
219
|
-
};
|
|
220
|
-
}, {
|
|
221
|
-
sourceItems(): import('./components/EVideoPlayer.vue').VideoSource[];
|
|
222
|
-
hasStartedOrFinished(): boolean;
|
|
223
|
-
withControls(): "" | "hide";
|
|
224
140
|
}, {
|
|
225
141
|
initHls(): void;
|
|
226
|
-
onContainerClick(): void;
|
|
227
142
|
handle404Error(): void;
|
|
228
|
-
handleHlsError(_: import("hls.js").Events.ERROR, data: import("hls.js").ErrorData): void;
|
|
229
143
|
bindEvents(): void;
|
|
230
|
-
onProgress(): void;
|
|
231
144
|
unbindEvents(): void;
|
|
232
145
|
bindVideoEvent(which: string): void;
|
|
233
146
|
initializePlayer(): void;
|
|
@@ -239,9 +152,9 @@ export declare const components: {
|
|
|
239
152
|
handleScrubbingOnMouseEnd(e: MouseEvent): void;
|
|
240
153
|
handleEnded(): void;
|
|
241
154
|
handleLoading(): void;
|
|
242
|
-
play():
|
|
155
|
+
play(): void;
|
|
243
156
|
pause(): void;
|
|
244
|
-
togglePlay():
|
|
157
|
+
togglePlay(): void;
|
|
245
158
|
setPlaying(state: boolean): void;
|
|
246
159
|
seekToPercentage(percentage: number): void;
|
|
247
160
|
convertTimeToDuration(seconds: number): string;
|
|
@@ -254,98 +167,18 @@ export declare const components: {
|
|
|
254
167
|
skip(duration?: number): void;
|
|
255
168
|
toggleScrubbing(e: MouseEvent): Promise<void>;
|
|
256
169
|
handleKeyDown(e: KeyboardEvent): void;
|
|
257
|
-
},
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
sources:
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
};
|
|
266
|
-
videoListeners: {
|
|
267
|
-
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
268
|
-
default: () => {};
|
|
269
|
-
};
|
|
270
|
-
videoOptions: {
|
|
271
|
-
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
272
|
-
default: () => {};
|
|
273
|
-
};
|
|
274
|
-
isHls: {
|
|
275
|
-
type: BooleanConstructor;
|
|
276
|
-
default: boolean;
|
|
277
|
-
};
|
|
278
|
-
streamingToken: {
|
|
279
|
-
type: StringConstructor;
|
|
280
|
-
default: string;
|
|
281
|
-
};
|
|
282
|
-
pauseOnClick: {
|
|
283
|
-
type: BooleanConstructor;
|
|
284
|
-
default: boolean;
|
|
285
|
-
};
|
|
286
|
-
isHlsLoading: {
|
|
287
|
-
type: BooleanConstructor;
|
|
288
|
-
default: boolean;
|
|
289
|
-
};
|
|
290
|
-
isPlaying: {
|
|
291
|
-
type: BooleanConstructor;
|
|
292
|
-
default: boolean;
|
|
293
|
-
};
|
|
294
|
-
selectedResolution: {
|
|
295
|
-
type: import("vue").PropType<import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined>;
|
|
296
|
-
default: undefined;
|
|
297
|
-
};
|
|
298
|
-
isZoomable: {
|
|
299
|
-
type: BooleanConstructor;
|
|
300
|
-
default: boolean;
|
|
301
|
-
};
|
|
302
|
-
zoomableIgnorePointerEvents: {
|
|
303
|
-
type: BooleanConstructor;
|
|
304
|
-
default: boolean;
|
|
305
|
-
};
|
|
306
|
-
timezone: {
|
|
307
|
-
type: StringConstructor;
|
|
308
|
-
default: string;
|
|
309
|
-
};
|
|
310
|
-
playPauseAnimation: {
|
|
311
|
-
type: BooleanConstructor;
|
|
312
|
-
default: boolean;
|
|
313
|
-
};
|
|
314
|
-
disablePlayPauseAnimation: {
|
|
315
|
-
type: BooleanConstructor;
|
|
316
|
-
default: boolean;
|
|
317
|
-
};
|
|
318
|
-
isWebRtc: {
|
|
319
|
-
type: BooleanConstructor;
|
|
320
|
-
default: boolean;
|
|
321
|
-
};
|
|
322
|
-
loaderColor: {
|
|
323
|
-
type: StringConstructor;
|
|
324
|
-
default: string;
|
|
325
|
-
};
|
|
326
|
-
loaderSize: {
|
|
327
|
-
type: StringConstructor;
|
|
328
|
-
default: string;
|
|
329
|
-
};
|
|
330
|
-
}>>, {
|
|
331
|
-
timezone: string;
|
|
332
|
-
isPlaying: boolean;
|
|
333
|
-
targetTimestamp: string | Date;
|
|
334
|
-
videoListeners: Partial<HTMLVideoElement>;
|
|
335
|
-
videoOptions: Partial<HTMLVideoElement>;
|
|
170
|
+
}, {
|
|
171
|
+
sourceItems: import('./components/EVideoPlayer.vue').VideoSource[];
|
|
172
|
+
hasStartedOrFinished: boolean;
|
|
173
|
+
withControls: "" | "hide";
|
|
174
|
+
}, {
|
|
175
|
+
sources: string | import('./components/EVideoPlayer.vue').VideoSource[];
|
|
176
|
+
videoListeners: {};
|
|
177
|
+
videoOptions: {};
|
|
336
178
|
isHls: boolean;
|
|
337
179
|
streamingToken: string;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
selectedResolution: import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined;
|
|
341
|
-
isZoomable: boolean;
|
|
342
|
-
zoomableIgnorePointerEvents: boolean;
|
|
343
|
-
playPauseAnimation: boolean;
|
|
344
|
-
disablePlayPauseAnimation: boolean;
|
|
345
|
-
isWebRtc: boolean;
|
|
346
|
-
loaderColor: string;
|
|
347
|
-
loaderSize: string;
|
|
348
|
-
}>;
|
|
180
|
+
isLiveView: boolean;
|
|
181
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
349
182
|
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>>, {
|
|
350
183
|
tooltip: HTMLElement;
|
|
351
184
|
cursor: HTMLElement;
|
|
@@ -732,109 +565,19 @@ export declare const components: {
|
|
|
732
565
|
collapseText: string;
|
|
733
566
|
moreTextWithPlaceholder: string;
|
|
734
567
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
getButtonClasses(optionValue: any): {
|
|
739
|
-
"e-bg-inherit": boolean;
|
|
740
|
-
"e-bg-brand-600": boolean;
|
|
741
|
-
"e-bg-gray-600": boolean;
|
|
742
|
-
"e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
|
|
743
|
-
};
|
|
744
|
-
handleClick(value: any): void;
|
|
745
|
-
}, {
|
|
746
|
-
sizeClasses: {
|
|
747
|
-
container: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
748
|
-
button: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
749
|
-
text: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
568
|
+
ECompareSeparator: 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>>, unknown, unknown, {
|
|
569
|
+
separatorStyle: {
|
|
570
|
+
left: string;
|
|
750
571
|
};
|
|
751
|
-
containerClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
752
|
-
textClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
753
|
-
buttonBaseClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
754
572
|
}, {
|
|
755
|
-
|
|
756
|
-
color: string;
|
|
757
|
-
size: import('./types').Size;
|
|
758
|
-
defaultValue: string | number | boolean;
|
|
573
|
+
xOffset: string | number;
|
|
759
574
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
760
|
-
EZoomable: import("vue").DefineComponent<{
|
|
761
|
-
ignorePointerEvents: {
|
|
762
|
-
type: BooleanConstructor;
|
|
763
|
-
default: boolean;
|
|
764
|
-
};
|
|
765
|
-
withOverlay: {
|
|
766
|
-
type: BooleanConstructor;
|
|
767
|
-
default: boolean;
|
|
768
|
-
};
|
|
769
|
-
disabled: {
|
|
770
|
-
type: BooleanConstructor;
|
|
771
|
-
default: boolean;
|
|
772
|
-
};
|
|
773
|
-
}, {}, {
|
|
774
|
-
scale: number;
|
|
775
|
-
minScale: number;
|
|
776
|
-
maxScale: number;
|
|
777
|
-
top: number;
|
|
778
|
-
left: number;
|
|
779
|
-
isPanning: boolean;
|
|
780
|
-
panStart: {
|
|
781
|
-
x: number;
|
|
782
|
-
y: number;
|
|
783
|
-
};
|
|
784
|
-
isPinching: boolean;
|
|
785
|
-
previousPinchDistance: number;
|
|
786
|
-
pinchDistance: number;
|
|
787
|
-
pointers: {};
|
|
788
|
-
transform: string;
|
|
789
|
-
}, {
|
|
790
|
-
contentStyle(): {
|
|
791
|
-
transform: string;
|
|
792
|
-
};
|
|
793
|
-
isZoomed(): boolean;
|
|
794
|
-
}, {
|
|
795
|
-
updateZoomScale(): void;
|
|
796
|
-
handleZoom(e: any): void;
|
|
797
|
-
handleMouseDown(e: any): void;
|
|
798
|
-
handleMouseUp(): void;
|
|
799
|
-
handleMouseLeave(): void;
|
|
800
|
-
handleMouseMove(e: any): void;
|
|
801
|
-
applyBoundsCorrection(): void;
|
|
802
|
-
updateTransform(): void;
|
|
803
|
-
getPointersDistance(a: any, b: any): number;
|
|
804
|
-
getPointersMidPoint(a: any, b: any): {
|
|
805
|
-
x: any;
|
|
806
|
-
y: any;
|
|
807
|
-
};
|
|
808
|
-
updatePointerEvent(e: any): void;
|
|
809
|
-
clearPointerEvent(e: any): void;
|
|
810
|
-
updatePinchDistance(): void;
|
|
811
|
-
handlePointerDown(e: any): void;
|
|
812
|
-
handlePointerMove(e: any): void;
|
|
813
|
-
handlePointerUp(e: any): void;
|
|
814
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
815
|
-
ignorePointerEvents: {
|
|
816
|
-
type: BooleanConstructor;
|
|
817
|
-
default: boolean;
|
|
818
|
-
};
|
|
819
|
-
withOverlay: {
|
|
820
|
-
type: BooleanConstructor;
|
|
821
|
-
default: boolean;
|
|
822
|
-
};
|
|
823
|
-
disabled: {
|
|
824
|
-
type: BooleanConstructor;
|
|
825
|
-
default: boolean;
|
|
826
|
-
};
|
|
827
|
-
}>>, {
|
|
828
|
-
ignorePointerEvents: boolean;
|
|
829
|
-
withOverlay: boolean;
|
|
830
|
-
disabled: boolean;
|
|
831
|
-
}>;
|
|
832
575
|
};
|
|
833
576
|
declare const _default: {
|
|
834
577
|
install(Vue: VueConstructor): void;
|
|
835
578
|
};
|
|
836
579
|
export default _default;
|
|
837
|
-
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, EHeatmapBar, EHoursHeatmap, EReadMore,
|
|
580
|
+
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, EHeatmapBar, EHoursHeatmap, EReadMore, ECompareSeparator, };
|
|
838
581
|
export * from './constants';
|
|
839
582
|
export * from './types';
|
|
840
583
|
export * from './utils';
|
package/dist/src/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BadgeSizes, AvatarSizes, IconSizes, BadgeColors
|
|
1
|
+
import { BadgeSizes, AvatarSizes, IconSizes, BadgeColors } from './constants';
|
|
2
2
|
export declare enum Size {
|
|
3
3
|
dot = "dot",
|
|
4
4
|
xs = "xs",
|
|
@@ -25,17 +25,9 @@ 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
|
-
}
|
|
35
28
|
export type TBadgeSize = (typeof BadgeSizes)[number];
|
|
36
29
|
export type TAvatarSize = (typeof AvatarSizes)[number];
|
|
37
30
|
export type TIconSize = (typeof IconSizes)[number];
|
|
38
|
-
export type TToggleSwitchSize = (typeof ToggleSwitchSizes)[number];
|
|
39
31
|
export type TBadgeColor = (typeof BadgeColors)[number];
|
|
40
32
|
export type TailwindColorClass = string;
|
|
41
33
|
export type FlexJustifyContent = "around" | "between" | "center" | "end" | "evenly" | "normal" | "start" | "stretch";
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.e-spinner[data-v-29711f67]{vertical-align:center}.e-spinner__primary[data-v-29711f67],.e-spinner__secondary[data-v-29711f67]{stroke-width:0;animation:fade-29711f67;animation-iteration-count:infinite}@keyframes fade-29711f67{0%{fill-opacity:0}50%{fill-opacity:1}to{fill-opacity:0}}.e-row.e-row--no-gutters{margin:0}.e-row.e-row--no-gutters>.e-col{padding:0}.e-col{padding:.75rem}.
|
|
1
|
+
.e-spinner[data-v-29711f67]{vertical-align:center}.e-spinner__primary[data-v-29711f67],.e-spinner__secondary[data-v-29711f67]{stroke-width:0;animation:fade-29711f67;animation-iteration-count:infinite}@keyframes fade-29711f67{0%{fill-opacity:0}50%{fill-opacity:1}to{fill-opacity:0}}.e-row.e-row--no-gutters{margin:0}.e-row.e-row--no-gutters>.e-col{padding:0}.e-col{padding:.75rem}.spinner-container[data-v-9071f674]{position:absolute;background:linear-gradient(to top,rgba(0,0,0,.65),transparent);inset:0;display:flex;justify-content:center;align-items:center;vertical-align:middle}.video-container[data-v-9071f674]{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 auto}.video-container.full-screen[data-v-9071f674]{max-width:initial;width:100%;max-height:100vh}video[data-v-9071f674]{width:100%;height:inherit}.video-controls-container[data-v-9071f674]{position:absolute;bottom:0;left:0;right:0;color:#fff;z-index:100;opacity:0;transition:opacity .15s ease-in-out}.hide[data-v-9071f674]{display:none}.video-controls-container[data-v-9071f674]:before{content:"";position:absolute;bottom:0;background:linear-gradient(to top,rgba(0,0,0,.75),transparent);width:100%;aspect-ratio:6 / 1;z-index:-1;pointer-events:none}.video-container:hover .video-controls-container[data-v-9071f674],.video-container:focus-within .video-controls-container[data-v-9071f674],.video-container.paused .video-controls-container[data-v-9071f674]{opacity:1}.video-controls-container .controls[data-v-9071f674]{display:flex;gap:.5rem;padding:.75rem 1rem;align-items:center;width:100%}.video-controls-container .controls button[data-v-9071f674]{background:none;border:none;color:inherit;padding:0;height:32px;width:32px;font-size:1.35rem;cursor:pointer;opacity:.85;transition:opacity .15s ease-in-out}.video-controls-container .controls button[data-v-9071f674]:hover{opacity:1}.duration-container[data-v-9071f674]{display:flex;align-items:center;gap:.25rem;flex-grow:1}.video-container.captions .captions-btn[data-v-9071f674]{border-bottom:3px solid red}.video-controls-container .controls button.wide-btn[data-v-9071f674]{width:50px}.timeline-container[data-v-9071f674]{width:100%;height:7px;margin-inline:.5rem;cursor:pointer;display:flex;align-items:center}.timeline[data-v-9071f674]{background-color:#64646480;height:3px;width:100%;position:relative}.timeline[data-v-9071f674]:before{content:"";position:absolute;left:0;top:0;bottom:0;right:calc(100% - var(--preview-position) * 100%);background-color:#969696;display:none}.timeline[data-v-9071f674]:after{content:"";position:absolute;left:0;top:0;bottom:0;right:calc(100% - var(--progress-position) * 100%);background-color:red}.timeline .thumb-indicator[data-v-9071f674]{--scale: 0;position:absolute;transform:translate(-50%) scale(var(--scale));height:200%;top:-50%;left:calc(var(--progress-position) * 100%);background-color:red;border-radius:50%;transition:transform .15s ease-in-out;aspect-ratio:1 / 1}.video-container.scrubbing .thumbnail-img[data-v-9071f674]{display:block}.video-container.scrubbing .timeline[data-v-9071f674]:before,.timeline-container:hover .timeline[data-v-9071f674]:before{display:block}.video-container.scrubbing .thumb-indicator[data-v-9071f674],.timeline-container:hover .thumb-indicator[data-v-9071f674]{--scale: 1}.video-container.scrubbing .timeline[data-v-9071f674],.timeline-container:hover .timeline[data-v-9071f674]{height:100%}.e-tl-milestone{position:absolute;border-radius:10em;box-sizing:border-box}.e-tl-milestone-content{cursor:pointer}.e-tl-milestone--bullet{transform:translate(-50%,-50%)}.e-tl-milestone--bullet .e-tl-milestone-content{opacity:0;width:0;height:0;white-space:nowrap;pointer-events:none;cursor:pointer}.e-tl-milestone--bullet.e-tl-milestone--hovered{cursor:pointer;min-height:26px;padding:0 8px;border-radius:.5em}.e-tl-milestone--bullet.e-tl-milestone--hovered .e-tl-milestone-content{opacity:1;font-size:small;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.e-tl-milestone--bullet .e-tl-milestone-label{position:absolute;top:0;left:0;opacity:1;pointer-events:none;height:100%;width:100%}.e-tl-milestone--bullet.e-tl-milestone--hovered .e-tl-milestone-label{opacity:0}.e-tl-milestone--dot{transform:translateY(-50%)}.e-tl-milestone-dot--hovered .e-tl-milestone-dot-container{padding:0 3em;transform:translate(-50%);opacity:1}.e-tl-milestone-dot-line{position:absolute}.e-tl-milestone-dot-dot{position:absolute;border-radius:50%}.e-tl-milestone-dot-container{opacity:0;position:absolute;padding:0 .3em;transform:translate(-50%,-100%);cursor:pointer}.e-timeline svg{display:block}.e-timeline .x-axis-overview .domain,.e-timeline .x-axis-detailed .domain,.e-timeline .x-axis-overviewBackground .domain,.e-timeline .x-axis-detailedBackground .domain{display:none}.e-timeline .x-axis-detailedBackground .domain,.e-timeline .x-axis-detailedBackground text{display:none}.e-timeline .x-axis-overview>g.tick>line{opacity:.1;stroke-width:3;stroke-linecap:round}.e-timeline .x-axis-detailed>g.tick>line{opacity:.1;stroke-linecap:round}.e-timeline .x-axis-detailedBackground>g.tick>line{opacity:.075;stroke-linecap:round}.e-timeline--dark .tick line{stroke:#fff}.e-timeline--dark .tick text{fill:#fff}@keyframes moveGradient{0%{transform:translate(-50%)}to{transform:translate(100%)}}@keyframes pulse-rect{0%{filter:saturate(3.5) drop-shadow(0 0 1px #0008)}50%{filter:saturate(.5) drop-shadow(0 0 0 #0000)}to{filter:saturate(3.5) drop-shadow(0 0 1px #0008)}}@keyframes pulse-circle{0%{r:4px}50%{r:1px}to{r:4px}}.loading-indicator{animation:moveGradient 1.5s ease-in infinite}.line-graph-dot--active{animation:pulse-circle 1s ease-in-out infinite}.event-rect--hovered{animation:pulse-rect 1s ease-in-out infinite}@keyframes dash{0%{filter:saturate(1) drop-shadow(0 0 0 #0000)}50%{stroke-width:2px;filter:saturate(2.5) drop-shadow(0 0 0 #0006)}to{filter:saturate(1) drop-shadow(0 0 0 #0000)}}.line-graph-group--highlighted path{animation:dash 1s ease-in-out infinite}.e-timeline--dragging{cursor:ew-resize}.curtain{cursor:ew-resize;fill:#3332;stroke-width:1px;stroke:#3338;transition:stroke-width .2s}.e-timeline--dragging .curtain{stroke-width:3px}.e-timeline--dark .curtain{fill:#fff3;stroke:#fff7}.event-bar-hover-zone{cursor:pointer}.external-labels-container{position:absolute;top:-1.5em;left:0}.external-label{margin-right:.35em;border-width:.5px;border-radius:.2em}.external-label__content{cursor:pointer;font-size:.8em;font-weight:500;padding:0 .6em;line-height:1.4em}.marker-label{transition:transform .2s;transform:translateY(-32px);position:absolute;width:max-content}.marker-label-text{position:absolute;width:max-content;font-size:.8em;font-weight:500;padding:0 .75em;border-radius:.4em .4em .4em 0;box-shadow:0 0 5px -1px #000000f5}.marker-label-text:after{content:"";background:inherit;width:5px;height:5px;bottom:-5px;position:absolute;left:2px;clip-path:path("M 0,5 L 0,0 L 5,0 A 5,5 0 0 0 0,5")}.marker-label-text:before{content:"";background:inherit;height:20px;top:18px;position:absolute;width:2px;left:0}.marker{top:0;filter:saturate(.9)}.marker-line{position:absolute;width:2px;top:-24px;transition:top .2s,height .2s}.marker:hover{cursor:pointer;opacity:1;filter:saturate(1.1)}.marker:hover .marker-label{transform:translateY(-38px);height:61px;width:255px;padding-bottom:42px}.marker:hover .marker-label-text{box-shadow:2px 2px 11px -4px #000}.marker--hidden:hover .marker-label{transform:translateY(-54px)}.marker--draggable,.marker--draggable:hover{user-select:none;cursor:grab}.marker--dragged:hover{cursor:grabbing}.forbidden-interval{opacity:.2}.e-timeline-milestones{height:0}.video-embed[data-v-0ecf4a71]{position:relative;width:100%!important;padding-bottom:56.25%}.video-embed iframe[data-v-0ecf4a71]{position:absolute;top:0;left:0;width:100%;height:100%}.e-heatmap-bar__label{white-space:nowrap;width:6rem;min-width:6rem}.e-heatmap-bar__item{height:16px;margin:2px;position:relative;cursor:pointer;border-radius:2px;min-width:0}.e-heatmap-bar__item:hover{box-shadow:0 0 0 1.5px #5c6d97}.e-heatmap-bar__item--selected{box-shadow:0 0 0 2px #151e3a}.e-heatmap-bar__item__count{font-size:12px;color:#fff;font-weight:500}.e-heatmap-bar__item__count--light{color:#0a214bbd}.e-heatmap-bar__item__name{position:absolute;top:-25px}.e-heatmap-bar:not(.e-heatmap-bar--dense) .e-heatmap-bar__item{min-width:35px}.e-compare-separator__icon{position:absolute;width:40px;height:40px;top:50%;transform:translate(-50%,-50%);z-index:4;border-radius:50%;cursor:ew-resize;background:#1976d2;border:2px solid white;-webkit-box-shadow:0 0 8px 1px rgba(0,0,0,.3);-moz-box-shadow:0 0 8px 1px rgba(0,0,0,.3);box-shadow:0 0 8px 1px #0000004d}.e-compare-separator__line{position:absolute;top:0;width:3px;height:100%;background:white;transform:translate(-50%)}
|