@evercam/ui 0.0.55-beta.11 → 0.0.55-beta.12
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 +41 -8
- package/dist/index.mjs +2805 -3786
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +13 -9
- package/dist/src/components/EVideoPlayer.vue.d.ts +14 -253
- package/dist/src/index.d.ts +25 -361
- package/dist/src/types.d.ts +6 -7
- package/dist/style.css +1 -1
- package/dist/styles.css +0 -335
- package/dist/tags.json +15 -3
- package/dist/web-types.json +88 -41
- package/package.json +1 -1
- package/dist/src/components/EToggleSwitch.vue.d.ts +0 -49
- package/dist/src/components/EVideoPlayerActions.vue.d.ts +0 -193
- package/dist/src/components/EVideoPlayerControls.vue.d.ts +0 -146
- package/dist/src/components/EVideoPlayerProgressBar.vue.d.ts +0 -100
- package/dist/src/components/EVideoPlayerThumbnailPreview.vue.d.ts +0 -68
- package/dist/src/components/EZoomable.vue.d.ts +0 -64
package/dist/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@evercam/ui",
|
|
5
|
-
"version": "0.0.55-beta.
|
|
5
|
+
"version": "0.0.55-beta.12",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -481,7 +481,65 @@
|
|
|
481
481
|
},
|
|
482
482
|
"description": "",
|
|
483
483
|
"doc-url": "https://ui.evercam.io/",
|
|
484
|
-
"attributes":
|
|
484
|
+
"attributes": [
|
|
485
|
+
{
|
|
486
|
+
"name": "sources",
|
|
487
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
488
|
+
"default": "undefined",
|
|
489
|
+
"value": {
|
|
490
|
+
"kind": "expression",
|
|
491
|
+
"type": [
|
|
492
|
+
"array",
|
|
493
|
+
"string"
|
|
494
|
+
]
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "video-listeners",
|
|
499
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
500
|
+
"default": "() => ({})",
|
|
501
|
+
"value": {
|
|
502
|
+
"kind": "expression",
|
|
503
|
+
"type": "object"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "video-options",
|
|
508
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
509
|
+
"default": "() => ({})",
|
|
510
|
+
"value": {
|
|
511
|
+
"kind": "expression",
|
|
512
|
+
"type": "object"
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "is-hls",
|
|
517
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
518
|
+
"default": "false",
|
|
519
|
+
"value": {
|
|
520
|
+
"kind": "expression",
|
|
521
|
+
"type": "boolean"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "streaming-token",
|
|
526
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
527
|
+
"default": "",
|
|
528
|
+
"value": {
|
|
529
|
+
"kind": "expression",
|
|
530
|
+
"type": "string"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "is-live-view",
|
|
535
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
536
|
+
"default": "false",
|
|
537
|
+
"value": {
|
|
538
|
+
"kind": "expression",
|
|
539
|
+
"type": "boolean"
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
]
|
|
485
543
|
},
|
|
486
544
|
{
|
|
487
545
|
"name": "ETimeline",
|
|
@@ -504,7 +562,7 @@
|
|
|
504
562
|
{
|
|
505
563
|
"name": "x-axes-config",
|
|
506
564
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
507
|
-
"default": "() =>
|
|
565
|
+
"default": "() => Ah",
|
|
508
566
|
"value": {
|
|
509
567
|
"kind": "expression",
|
|
510
568
|
"type": "object"
|
|
@@ -646,43 +704,34 @@
|
|
|
646
704
|
}
|
|
647
705
|
},
|
|
648
706
|
{
|
|
649
|
-
"name": "min-
|
|
707
|
+
"name": "chart-min-label-height",
|
|
650
708
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
651
|
-
"default": "
|
|
709
|
+
"default": "18",
|
|
652
710
|
"value": {
|
|
653
711
|
"kind": "expression",
|
|
654
712
|
"type": "number"
|
|
655
713
|
}
|
|
656
714
|
},
|
|
657
715
|
{
|
|
658
|
-
"name": "
|
|
716
|
+
"name": "min-zoom",
|
|
659
717
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
660
|
-
"default": "
|
|
718
|
+
"default": "0.0001",
|
|
661
719
|
"value": {
|
|
662
720
|
"kind": "expression",
|
|
663
721
|
"type": "number"
|
|
664
722
|
}
|
|
665
723
|
},
|
|
666
724
|
{
|
|
667
|
-
"name": "
|
|
668
|
-
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
669
|
-
"default": "undefined",
|
|
670
|
-
"value": {
|
|
671
|
-
"kind": "expression",
|
|
672
|
-
"type": "string"
|
|
673
|
-
}
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"name": "max-date",
|
|
725
|
+
"name": "max-zoom",
|
|
677
726
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
678
|
-
"default": "
|
|
727
|
+
"default": "850000",
|
|
679
728
|
"value": {
|
|
680
729
|
"kind": "expression",
|
|
681
|
-
"type": "
|
|
730
|
+
"type": "number"
|
|
682
731
|
}
|
|
683
732
|
},
|
|
684
733
|
{
|
|
685
|
-
"name": "min-
|
|
734
|
+
"name": "min-date",
|
|
686
735
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
687
736
|
"default": "undefined",
|
|
688
737
|
"value": {
|
|
@@ -691,7 +740,7 @@
|
|
|
691
740
|
}
|
|
692
741
|
},
|
|
693
742
|
{
|
|
694
|
-
"name": "max-
|
|
743
|
+
"name": "max-date",
|
|
695
744
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
696
745
|
"default": "undefined",
|
|
697
746
|
"value": {
|
|
@@ -821,6 +870,24 @@
|
|
|
821
870
|
"kind": "expression",
|
|
822
871
|
"type": "boolean"
|
|
823
872
|
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "forbidden-intervals",
|
|
876
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
877
|
+
"default": "() => []",
|
|
878
|
+
"value": {
|
|
879
|
+
"kind": "expression",
|
|
880
|
+
"type": "array"
|
|
881
|
+
}
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"name": "forbidden-interval-color",
|
|
885
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
886
|
+
"default": "#ddd",
|
|
887
|
+
"value": {
|
|
888
|
+
"kind": "expression",
|
|
889
|
+
"type": "string"
|
|
890
|
+
}
|
|
824
891
|
}
|
|
825
892
|
]
|
|
826
893
|
},
|
|
@@ -833,26 +900,6 @@
|
|
|
833
900
|
"description": "",
|
|
834
901
|
"doc-url": "https://ui.evercam.io/",
|
|
835
902
|
"attributes": null
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
"name": "EToggleSwitch",
|
|
839
|
-
"source": {
|
|
840
|
-
"module": "./src/components/EToggleSwitch.vue",
|
|
841
|
-
"symbol": "EToggleSwitch"
|
|
842
|
-
},
|
|
843
|
-
"description": "",
|
|
844
|
-
"doc-url": "https://ui.evercam.io/",
|
|
845
|
-
"attributes": null
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"name": "EZoomable",
|
|
849
|
-
"source": {
|
|
850
|
-
"module": "./src/components/EZoomable.vue",
|
|
851
|
-
"symbol": "EZoomable"
|
|
852
|
-
},
|
|
853
|
-
"description": "",
|
|
854
|
-
"doc-url": "https://ui.evercam.io/",
|
|
855
|
-
"attributes": null
|
|
856
903
|
}
|
|
857
904
|
],
|
|
858
905
|
"attributes": [
|
package/package.json
CHANGED
|
@@ -1,49 +0,0 @@
|
|
|
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,193 +0,0 @@
|
|
|
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;
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
size: {
|
|
4
|
-
type: PropType<"lg" | "md" | "sm">;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
withProgressBar: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
frames: {
|
|
12
|
-
type: ArrayConstructor;
|
|
13
|
-
default: () => never[];
|
|
14
|
-
};
|
|
15
|
-
events: {
|
|
16
|
-
type: ArrayConstructor;
|
|
17
|
-
default: () => never[];
|
|
18
|
-
};
|
|
19
|
-
frameIndex: {
|
|
20
|
-
type: NumberConstructor;
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
preloadedFrames: {
|
|
24
|
-
type: ArrayConstructor;
|
|
25
|
-
default: () => never[];
|
|
26
|
-
};
|
|
27
|
-
withThumbnailPreview: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
withPlayerActions: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
isFullScreen: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
isPlaying: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
isLive: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
currentTime: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
videoLength: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
thumbnailsUrls: {
|
|
56
|
-
type: PropType<string[]>;
|
|
57
|
-
default: () => never[];
|
|
58
|
-
};
|
|
59
|
-
timezone: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
}, {}, {
|
|
64
|
-
isFocused: boolean;
|
|
65
|
-
}, {
|
|
66
|
-
containerClasses(): "e-px-2" | "e-px-5";
|
|
67
|
-
isLastFrame(): boolean;
|
|
68
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
69
|
-
size: {
|
|
70
|
-
type: PropType<"lg" | "md" | "sm">;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
withProgressBar: {
|
|
74
|
-
type: BooleanConstructor;
|
|
75
|
-
default: boolean;
|
|
76
|
-
};
|
|
77
|
-
frames: {
|
|
78
|
-
type: ArrayConstructor;
|
|
79
|
-
default: () => never[];
|
|
80
|
-
};
|
|
81
|
-
events: {
|
|
82
|
-
type: ArrayConstructor;
|
|
83
|
-
default: () => never[];
|
|
84
|
-
};
|
|
85
|
-
frameIndex: {
|
|
86
|
-
type: NumberConstructor;
|
|
87
|
-
default: number;
|
|
88
|
-
};
|
|
89
|
-
preloadedFrames: {
|
|
90
|
-
type: ArrayConstructor;
|
|
91
|
-
default: () => never[];
|
|
92
|
-
};
|
|
93
|
-
withThumbnailPreview: {
|
|
94
|
-
type: BooleanConstructor;
|
|
95
|
-
default: boolean;
|
|
96
|
-
};
|
|
97
|
-
withPlayerActions: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
};
|
|
101
|
-
isFullScreen: {
|
|
102
|
-
type: BooleanConstructor;
|
|
103
|
-
default: boolean;
|
|
104
|
-
};
|
|
105
|
-
isPlaying: {
|
|
106
|
-
type: BooleanConstructor;
|
|
107
|
-
default: boolean;
|
|
108
|
-
};
|
|
109
|
-
isLive: {
|
|
110
|
-
type: BooleanConstructor;
|
|
111
|
-
default: boolean;
|
|
112
|
-
};
|
|
113
|
-
currentTime: {
|
|
114
|
-
type: StringConstructor;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
videoLength: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
thumbnailsUrls: {
|
|
122
|
-
type: PropType<string[]>;
|
|
123
|
-
default: () => never[];
|
|
124
|
-
};
|
|
125
|
-
timezone: {
|
|
126
|
-
type: StringConstructor;
|
|
127
|
-
default: string;
|
|
128
|
-
};
|
|
129
|
-
}>>, {
|
|
130
|
-
size: "lg" | "md" | "sm";
|
|
131
|
-
events: unknown[];
|
|
132
|
-
timezone: string;
|
|
133
|
-
frames: unknown[];
|
|
134
|
-
frameIndex: number;
|
|
135
|
-
isPlaying: boolean;
|
|
136
|
-
isLive: boolean;
|
|
137
|
-
preloadedFrames: unknown[];
|
|
138
|
-
thumbnailsUrls: string[];
|
|
139
|
-
withProgressBar: boolean;
|
|
140
|
-
withThumbnailPreview: boolean;
|
|
141
|
-
withPlayerActions: boolean;
|
|
142
|
-
isFullScreen: boolean;
|
|
143
|
-
currentTime: string;
|
|
144
|
-
videoLength: string;
|
|
145
|
-
}>;
|
|
146
|
-
export default _default;
|
|
@@ -1,100 +0,0 @@
|
|
|
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;
|