@evercam/ui 0.0.55-beta.34 → 0.0.55-beta.36
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 +27 -19
- package/dist/index.mjs +1472 -1822
- 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/EVideoPlayer.vue.d.ts +15 -197
- package/dist/src/constants.d.ts +0 -1
- package/dist/src/index.d.ts +15 -290
- package/dist/src/mixins/event-listeners.d.ts +13 -0
- package/dist/src/mixins/inactivity-listener.d.ts +25 -0
- package/dist/src/mixins/index.d.ts +4 -0
- package/dist/src/mixins/timeouts.d.ts +8 -0
- package/dist/src/types.d.ts +1 -9
- package/dist/style.css +1 -1
- package/dist/styles.css +0 -111
- package/dist/tags.json +11 -9
- package/dist/web-types.json +61 -64
- 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
|
@@ -1,95 +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
|
-
withColoredLoader: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
loaderSize: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
withOverlayOnBackground: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
}, {}, {
|
|
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>>, {
|
|
93
9
|
playing: boolean;
|
|
94
10
|
percentagePlayed: number;
|
|
95
11
|
videoLength: string;
|
|
@@ -104,23 +20,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
20
|
isLoading: boolean;
|
|
105
21
|
isError: boolean;
|
|
106
22
|
player: Hls;
|
|
107
|
-
playbackRetries: number;
|
|
108
|
-
preloadedSeconds: number;
|
|
109
|
-
preloadedInterval: {
|
|
110
|
-
start: string;
|
|
111
|
-
end: string;
|
|
112
|
-
};
|
|
113
|
-
}, {
|
|
114
|
-
sourceItems(): VideoSource[];
|
|
115
|
-
hasStartedOrFinished(): boolean;
|
|
116
|
-
withControls(): "" | "hide";
|
|
117
23
|
}, {
|
|
118
24
|
initHls(): void;
|
|
119
|
-
onContainerClick(): void;
|
|
120
25
|
handle404Error(): void;
|
|
121
|
-
handleHlsError(_: Events.ERROR, data: ErrorData): void;
|
|
122
26
|
bindEvents(): void;
|
|
123
|
-
onProgress(): void;
|
|
124
27
|
unbindEvents(): void;
|
|
125
28
|
bindVideoEvent(which: string): void;
|
|
126
29
|
initializePlayer(): void;
|
|
@@ -132,9 +35,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
35
|
handleScrubbingOnMouseEnd(e: MouseEvent): void;
|
|
133
36
|
handleEnded(): void;
|
|
134
37
|
handleLoading(): void;
|
|
135
|
-
play():
|
|
38
|
+
play(): void;
|
|
136
39
|
pause(): void;
|
|
137
|
-
togglePlay():
|
|
40
|
+
togglePlay(): void;
|
|
138
41
|
setPlaying(state: boolean): void;
|
|
139
42
|
seekToPercentage(percentage: number): void;
|
|
140
43
|
convertTimeToDuration(seconds: number): string;
|
|
@@ -147,101 +50,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
50
|
skip(duration?: number): void;
|
|
148
51
|
toggleScrubbing(e: MouseEvent): Promise<void>;
|
|
149
52
|
handleKeyDown(e: KeyboardEvent): void;
|
|
150
|
-
},
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
sources:
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
};
|
|
159
|
-
videoListeners: {
|
|
160
|
-
type: PropType<Partial<HTMLVideoElement>>;
|
|
161
|
-
default: () => {};
|
|
162
|
-
};
|
|
163
|
-
videoOptions: {
|
|
164
|
-
type: PropType<Partial<HTMLVideoElement>>;
|
|
165
|
-
default: () => {};
|
|
166
|
-
};
|
|
167
|
-
isHls: {
|
|
168
|
-
type: BooleanConstructor;
|
|
169
|
-
default: boolean;
|
|
170
|
-
};
|
|
171
|
-
streamingToken: {
|
|
172
|
-
type: StringConstructor;
|
|
173
|
-
default: string;
|
|
174
|
-
};
|
|
175
|
-
pauseOnClick: {
|
|
176
|
-
type: BooleanConstructor;
|
|
177
|
-
default: boolean;
|
|
178
|
-
};
|
|
179
|
-
isHlsLoading: {
|
|
180
|
-
type: BooleanConstructor;
|
|
181
|
-
default: boolean;
|
|
182
|
-
};
|
|
183
|
-
isPlaying: {
|
|
184
|
-
type: BooleanConstructor;
|
|
185
|
-
default: boolean;
|
|
186
|
-
};
|
|
187
|
-
selectedResolution: {
|
|
188
|
-
type: PropType<EdgeVideoResolution | undefined>;
|
|
189
|
-
default: undefined;
|
|
190
|
-
};
|
|
191
|
-
isZoomable: {
|
|
192
|
-
type: BooleanConstructor;
|
|
193
|
-
default: boolean;
|
|
194
|
-
};
|
|
195
|
-
zoomableIgnorePointerEvents: {
|
|
196
|
-
type: BooleanConstructor;
|
|
197
|
-
default: boolean;
|
|
198
|
-
};
|
|
199
|
-
timezone: {
|
|
200
|
-
type: StringConstructor;
|
|
201
|
-
default: string;
|
|
202
|
-
};
|
|
203
|
-
playPauseAnimation: {
|
|
204
|
-
type: BooleanConstructor;
|
|
205
|
-
default: boolean;
|
|
206
|
-
};
|
|
207
|
-
disablePlayPauseAnimation: {
|
|
208
|
-
type: BooleanConstructor;
|
|
209
|
-
default: boolean;
|
|
210
|
-
};
|
|
211
|
-
isWebRtc: {
|
|
212
|
-
type: BooleanConstructor;
|
|
213
|
-
default: boolean;
|
|
214
|
-
};
|
|
215
|
-
withColoredLoader: {
|
|
216
|
-
type: BooleanConstructor;
|
|
217
|
-
default: boolean;
|
|
218
|
-
};
|
|
219
|
-
loaderSize: {
|
|
220
|
-
type: StringConstructor;
|
|
221
|
-
default: string;
|
|
222
|
-
};
|
|
223
|
-
withOverlayOnBackground: {
|
|
224
|
-
type: BooleanConstructor;
|
|
225
|
-
default: boolean;
|
|
226
|
-
};
|
|
227
|
-
}>>, {
|
|
228
|
-
timezone: string;
|
|
229
|
-
isPlaying: boolean;
|
|
230
|
-
targetTimestamp: string | Date;
|
|
231
|
-
videoListeners: Partial<HTMLVideoElement>;
|
|
232
|
-
videoOptions: Partial<HTMLVideoElement>;
|
|
53
|
+
}, {
|
|
54
|
+
sourceItems: VideoSource[];
|
|
55
|
+
hasStartedOrFinished: boolean;
|
|
56
|
+
withControls: "" | "hide";
|
|
57
|
+
}, {
|
|
58
|
+
sources: string | VideoSource[];
|
|
59
|
+
videoListeners: {};
|
|
60
|
+
videoOptions: {};
|
|
233
61
|
isHls: boolean;
|
|
234
62
|
streamingToken: string;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
selectedResolution: EdgeVideoResolution | undefined;
|
|
238
|
-
isZoomable: boolean;
|
|
239
|
-
zoomableIgnorePointerEvents: boolean;
|
|
240
|
-
playPauseAnimation: boolean;
|
|
241
|
-
disablePlayPauseAnimation: boolean;
|
|
242
|
-
isWebRtc: boolean;
|
|
243
|
-
withColoredLoader: boolean;
|
|
244
|
-
loaderSize: string;
|
|
245
|
-
withOverlayOnBackground: boolean;
|
|
246
|
-
}>;
|
|
63
|
+
isLiveView: boolean;
|
|
64
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
247
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
|
@@ -7,11 +7,7 @@ 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 EHeatmapBar from './components/EHeatmapBar.vue';
|
|
11
|
-
import EHoursHeatmap from './components/EHoursHeatmap.vue';
|
|
12
10
|
import EReadMore from './components/EReadMore.vue';
|
|
13
|
-
import EToggleSwitch from './components/EToggleSwitch.vue';
|
|
14
|
-
import EZoomable from './components/EZoomable.vue';
|
|
15
11
|
import { VueConstructor } from "vue";
|
|
16
12
|
export declare const components: {
|
|
17
13
|
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,84 +119,7 @@ export declare const components: {
|
|
|
123
119
|
xs: string | number | boolean;
|
|
124
120
|
xl: string | number | boolean;
|
|
125
121
|
}, {}, 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
|
-
withColoredLoader: {
|
|
192
|
-
type: BooleanConstructor;
|
|
193
|
-
default: boolean;
|
|
194
|
-
};
|
|
195
|
-
loaderSize: {
|
|
196
|
-
type: StringConstructor;
|
|
197
|
-
default: string;
|
|
198
|
-
};
|
|
199
|
-
withOverlayOnBackground: {
|
|
200
|
-
type: BooleanConstructor;
|
|
201
|
-
default: boolean;
|
|
202
|
-
};
|
|
203
|
-
}, {}, {
|
|
122
|
+
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>>, {
|
|
204
123
|
playing: boolean;
|
|
205
124
|
percentagePlayed: number;
|
|
206
125
|
videoLength: string;
|
|
@@ -215,23 +134,10 @@ export declare const components: {
|
|
|
215
134
|
isLoading: boolean;
|
|
216
135
|
isError: boolean;
|
|
217
136
|
player: import("hls.js").default;
|
|
218
|
-
playbackRetries: number;
|
|
219
|
-
preloadedSeconds: number;
|
|
220
|
-
preloadedInterval: {
|
|
221
|
-
start: string;
|
|
222
|
-
end: string;
|
|
223
|
-
};
|
|
224
|
-
}, {
|
|
225
|
-
sourceItems(): import('./components/EVideoPlayer.vue').VideoSource[];
|
|
226
|
-
hasStartedOrFinished(): boolean;
|
|
227
|
-
withControls(): "" | "hide";
|
|
228
137
|
}, {
|
|
229
138
|
initHls(): void;
|
|
230
|
-
onContainerClick(): void;
|
|
231
139
|
handle404Error(): void;
|
|
232
|
-
handleHlsError(_: import("hls.js").Events.ERROR, data: import("hls.js").ErrorData): void;
|
|
233
140
|
bindEvents(): void;
|
|
234
|
-
onProgress(): void;
|
|
235
141
|
unbindEvents(): void;
|
|
236
142
|
bindVideoEvent(which: string): void;
|
|
237
143
|
initializePlayer(): void;
|
|
@@ -243,9 +149,9 @@ export declare const components: {
|
|
|
243
149
|
handleScrubbingOnMouseEnd(e: MouseEvent): void;
|
|
244
150
|
handleEnded(): void;
|
|
245
151
|
handleLoading(): void;
|
|
246
|
-
play():
|
|
152
|
+
play(): void;
|
|
247
153
|
pause(): void;
|
|
248
|
-
togglePlay():
|
|
154
|
+
togglePlay(): void;
|
|
249
155
|
setPlaying(state: boolean): void;
|
|
250
156
|
seekToPercentage(percentage: number): void;
|
|
251
157
|
convertTimeToDuration(seconds: number): string;
|
|
@@ -258,103 +164,18 @@ export declare const components: {
|
|
|
258
164
|
skip(duration?: number): void;
|
|
259
165
|
toggleScrubbing(e: MouseEvent): Promise<void>;
|
|
260
166
|
handleKeyDown(e: KeyboardEvent): void;
|
|
261
|
-
},
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
sources:
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
};
|
|
270
|
-
videoListeners: {
|
|
271
|
-
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
272
|
-
default: () => {};
|
|
273
|
-
};
|
|
274
|
-
videoOptions: {
|
|
275
|
-
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
276
|
-
default: () => {};
|
|
277
|
-
};
|
|
278
|
-
isHls: {
|
|
279
|
-
type: BooleanConstructor;
|
|
280
|
-
default: boolean;
|
|
281
|
-
};
|
|
282
|
-
streamingToken: {
|
|
283
|
-
type: StringConstructor;
|
|
284
|
-
default: string;
|
|
285
|
-
};
|
|
286
|
-
pauseOnClick: {
|
|
287
|
-
type: BooleanConstructor;
|
|
288
|
-
default: boolean;
|
|
289
|
-
};
|
|
290
|
-
isHlsLoading: {
|
|
291
|
-
type: BooleanConstructor;
|
|
292
|
-
default: boolean;
|
|
293
|
-
};
|
|
294
|
-
isPlaying: {
|
|
295
|
-
type: BooleanConstructor;
|
|
296
|
-
default: boolean;
|
|
297
|
-
};
|
|
298
|
-
selectedResolution: {
|
|
299
|
-
type: import("vue").PropType<import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined>;
|
|
300
|
-
default: undefined;
|
|
301
|
-
};
|
|
302
|
-
isZoomable: {
|
|
303
|
-
type: BooleanConstructor;
|
|
304
|
-
default: boolean;
|
|
305
|
-
};
|
|
306
|
-
zoomableIgnorePointerEvents: {
|
|
307
|
-
type: BooleanConstructor;
|
|
308
|
-
default: boolean;
|
|
309
|
-
};
|
|
310
|
-
timezone: {
|
|
311
|
-
type: StringConstructor;
|
|
312
|
-
default: string;
|
|
313
|
-
};
|
|
314
|
-
playPauseAnimation: {
|
|
315
|
-
type: BooleanConstructor;
|
|
316
|
-
default: boolean;
|
|
317
|
-
};
|
|
318
|
-
disablePlayPauseAnimation: {
|
|
319
|
-
type: BooleanConstructor;
|
|
320
|
-
default: boolean;
|
|
321
|
-
};
|
|
322
|
-
isWebRtc: {
|
|
323
|
-
type: BooleanConstructor;
|
|
324
|
-
default: boolean;
|
|
325
|
-
};
|
|
326
|
-
withColoredLoader: {
|
|
327
|
-
type: BooleanConstructor;
|
|
328
|
-
default: boolean;
|
|
329
|
-
};
|
|
330
|
-
loaderSize: {
|
|
331
|
-
type: StringConstructor;
|
|
332
|
-
default: string;
|
|
333
|
-
};
|
|
334
|
-
withOverlayOnBackground: {
|
|
335
|
-
type: BooleanConstructor;
|
|
336
|
-
default: boolean;
|
|
337
|
-
};
|
|
338
|
-
}>>, {
|
|
339
|
-
timezone: string;
|
|
340
|
-
isPlaying: boolean;
|
|
341
|
-
targetTimestamp: string | Date;
|
|
342
|
-
videoListeners: Partial<HTMLVideoElement>;
|
|
343
|
-
videoOptions: Partial<HTMLVideoElement>;
|
|
167
|
+
}, {
|
|
168
|
+
sourceItems: import('./components/EVideoPlayer.vue').VideoSource[];
|
|
169
|
+
hasStartedOrFinished: boolean;
|
|
170
|
+
withControls: "" | "hide";
|
|
171
|
+
}, {
|
|
172
|
+
sources: string | import('./components/EVideoPlayer.vue').VideoSource[];
|
|
173
|
+
videoListeners: {};
|
|
174
|
+
videoOptions: {};
|
|
344
175
|
isHls: boolean;
|
|
345
176
|
streamingToken: string;
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
selectedResolution: import('./components/EVideoPlayer.vue').EdgeVideoResolution | undefined;
|
|
349
|
-
isZoomable: boolean;
|
|
350
|
-
zoomableIgnorePointerEvents: boolean;
|
|
351
|
-
playPauseAnimation: boolean;
|
|
352
|
-
disablePlayPauseAnimation: boolean;
|
|
353
|
-
isWebRtc: boolean;
|
|
354
|
-
withColoredLoader: boolean;
|
|
355
|
-
loaderSize: string;
|
|
356
|
-
withOverlayOnBackground: boolean;
|
|
357
|
-
}>;
|
|
177
|
+
isLiveView: boolean;
|
|
178
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
358
179
|
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>>, {
|
|
359
180
|
tooltip: HTMLElement;
|
|
360
181
|
cursor: HTMLElement;
|
|
@@ -741,110 +562,14 @@ export declare const components: {
|
|
|
741
562
|
collapseText: string;
|
|
742
563
|
moreTextWithPlaceholder: string;
|
|
743
564
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
744
|
-
EToggleSwitch: 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>>, {
|
|
745
|
-
value: any;
|
|
746
|
-
}, {
|
|
747
|
-
getButtonClasses(optionValue: any): {
|
|
748
|
-
"e-bg-inherit": boolean;
|
|
749
|
-
"e-bg-brand-600": boolean;
|
|
750
|
-
"e-bg-gray-600": boolean;
|
|
751
|
-
"e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
|
|
752
|
-
};
|
|
753
|
-
handleClick(value: any): void;
|
|
754
|
-
}, {
|
|
755
|
-
sizeClasses: {
|
|
756
|
-
container: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
757
|
-
button: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
758
|
-
text: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
759
|
-
};
|
|
760
|
-
containerClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
761
|
-
textClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
762
|
-
buttonBaseClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
763
|
-
}, {
|
|
764
|
-
options: import('./components/EToggleSwitch.vue').EToggleSwitchOption[];
|
|
765
|
-
color: string;
|
|
766
|
-
size: import('./types').Size;
|
|
767
|
-
defaultValue: string | number | boolean;
|
|
768
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
769
|
-
EZoomable: import("vue").DefineComponent<{
|
|
770
|
-
ignorePointerEvents: {
|
|
771
|
-
type: BooleanConstructor;
|
|
772
|
-
default: boolean;
|
|
773
|
-
};
|
|
774
|
-
withOverlay: {
|
|
775
|
-
type: BooleanConstructor;
|
|
776
|
-
default: boolean;
|
|
777
|
-
};
|
|
778
|
-
disabled: {
|
|
779
|
-
type: BooleanConstructor;
|
|
780
|
-
default: boolean;
|
|
781
|
-
};
|
|
782
|
-
}, {}, {
|
|
783
|
-
scale: number;
|
|
784
|
-
minScale: number;
|
|
785
|
-
maxScale: number;
|
|
786
|
-
top: number;
|
|
787
|
-
left: number;
|
|
788
|
-
isPanning: boolean;
|
|
789
|
-
panStart: {
|
|
790
|
-
x: number;
|
|
791
|
-
y: number;
|
|
792
|
-
};
|
|
793
|
-
isPinching: boolean;
|
|
794
|
-
previousPinchDistance: number;
|
|
795
|
-
pinchDistance: number;
|
|
796
|
-
pointers: {};
|
|
797
|
-
transform: string;
|
|
798
|
-
}, {
|
|
799
|
-
contentStyle(): {
|
|
800
|
-
transform: string;
|
|
801
|
-
};
|
|
802
|
-
isZoomed(): boolean;
|
|
803
|
-
}, {
|
|
804
|
-
updateZoomScale(): void;
|
|
805
|
-
handleZoom(e: any): void;
|
|
806
|
-
handleMouseDown(e: any): void;
|
|
807
|
-
handleMouseUp(): void;
|
|
808
|
-
handleMouseLeave(): void;
|
|
809
|
-
handleMouseMove(e: any): void;
|
|
810
|
-
applyBoundsCorrection(): void;
|
|
811
|
-
updateTransform(): void;
|
|
812
|
-
getPointersDistance(a: any, b: any): number;
|
|
813
|
-
getPointersMidPoint(a: any, b: any): {
|
|
814
|
-
x: any;
|
|
815
|
-
y: any;
|
|
816
|
-
};
|
|
817
|
-
updatePointerEvent(e: any): void;
|
|
818
|
-
clearPointerEvent(e: any): void;
|
|
819
|
-
updatePinchDistance(): void;
|
|
820
|
-
handlePointerDown(e: any): void;
|
|
821
|
-
handlePointerMove(e: any): void;
|
|
822
|
-
handlePointerUp(e: any): void;
|
|
823
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
824
|
-
ignorePointerEvents: {
|
|
825
|
-
type: BooleanConstructor;
|
|
826
|
-
default: boolean;
|
|
827
|
-
};
|
|
828
|
-
withOverlay: {
|
|
829
|
-
type: BooleanConstructor;
|
|
830
|
-
default: boolean;
|
|
831
|
-
};
|
|
832
|
-
disabled: {
|
|
833
|
-
type: BooleanConstructor;
|
|
834
|
-
default: boolean;
|
|
835
|
-
};
|
|
836
|
-
}>>, {
|
|
837
|
-
ignorePointerEvents: boolean;
|
|
838
|
-
withOverlay: boolean;
|
|
839
|
-
disabled: boolean;
|
|
840
|
-
}>;
|
|
841
565
|
};
|
|
842
566
|
declare const _default: {
|
|
843
567
|
install(Vue: VueConstructor): void;
|
|
844
568
|
};
|
|
845
569
|
export default _default;
|
|
846
|
-
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed,
|
|
570
|
+
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, EReadMore, };
|
|
847
571
|
export * from './constants';
|
|
848
572
|
export * from './types';
|
|
849
573
|
export * from './utils';
|
|
850
574
|
export * from './directives';
|
|
575
|
+
export * from './mixins';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
export interface IEventListener {
|
|
3
|
+
event: string;
|
|
4
|
+
cb: () => void;
|
|
5
|
+
element: EventTarget | null;
|
|
6
|
+
}
|
|
7
|
+
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>>, {
|
|
8
|
+
eventListeners: IEventListener[];
|
|
9
|
+
}, {
|
|
10
|
+
$addEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
11
|
+
$removeEventListeners(): void;
|
|
12
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
export interface InactivityListenerMixinProps {
|
|
4
|
+
duration: number;
|
|
5
|
+
reminders?: number[];
|
|
6
|
+
callback: () => void;
|
|
7
|
+
}
|
|
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>>, unknown, {
|
|
9
|
+
resetInactivityListenerTimer(callback?: () => void, duration?: number, reminders?: number[]): void;
|
|
10
|
+
setInactivityListenerTimer(callback?: () => void, duration?: number, reminders?: number[]): void;
|
|
11
|
+
setInactivityListenerReminderTimers(callback?: () => void, reminders?: number[], index?: number): void;
|
|
12
|
+
$registerInactivityListener({ callback, duration, reminders, }: InactivityListenerMixinProps): void;
|
|
13
|
+
$removeInactivityListeners(): void;
|
|
14
|
+
}, unknown, Record<never, any>, {}, 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>>, {
|
|
15
|
+
eventListeners: import('../mixins/event-listeners').IEventListener[];
|
|
16
|
+
}, {
|
|
17
|
+
$addEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
18
|
+
$removeEventListeners(): void;
|
|
19
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin> | 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>>, {
|
|
20
|
+
timeouts: number[];
|
|
21
|
+
}, {
|
|
22
|
+
$setTimeout(cb: () => void, timeout?: number): NodeJS.Timeout;
|
|
23
|
+
$clearTimeouts(): void;
|
|
24
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
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>>, {
|
|
3
|
+
timeouts: number[];
|
|
4
|
+
}, {
|
|
5
|
+
$setTimeout(cb: () => void, timeout?: number): NodeJS.Timeout;
|
|
6
|
+
$clearTimeouts(): void;
|
|
7
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
8
|
+
export default _default;
|