@evercam/ui 0.0.55-beta.13 → 0.0.55-beta.14

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.
@@ -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.11",
5
+ "version": "0.0.55-beta.14",
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": null
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": "() => ah",
565
+ "default": "() => Lh",
508
566
  "value": {
509
567
  "kind": "expression",
510
568
  "type": "object"
@@ -835,24 +893,149 @@
835
893
  "attributes": null
836
894
  },
837
895
  {
838
- "name": "EToggleSwitch",
896
+ "name": "EHeatmapBar",
839
897
  "source": {
840
- "module": "./src/components/EToggleSwitch.vue",
841
- "symbol": "EToggleSwitch"
898
+ "module": "./src/components/EHeatmapBar.vue",
899
+ "symbol": "EHeatmapBar"
842
900
  },
843
901
  "description": "",
844
902
  "doc-url": "https://ui.evercam.io/",
845
- "attributes": null
903
+ "attributes": [
904
+ {
905
+ "name": "items",
906
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
907
+ "default": "() => []",
908
+ "value": {
909
+ "kind": "expression",
910
+ "type": "array"
911
+ }
912
+ },
913
+ {
914
+ "name": "selected-value",
915
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
916
+ "default": "",
917
+ "value": {
918
+ "kind": "expression",
919
+ "type": [
920
+ "string",
921
+ "number"
922
+ ]
923
+ }
924
+ },
925
+ {
926
+ "name": "show-counts",
927
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
928
+ "default": "true",
929
+ "value": {
930
+ "kind": "expression",
931
+ "type": "boolean"
932
+ }
933
+ },
934
+ {
935
+ "name": "show-names",
936
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
937
+ "default": "true",
938
+ "value": {
939
+ "kind": "expression",
940
+ "type": "boolean"
941
+ }
942
+ },
943
+ {
944
+ "name": "colors",
945
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
946
+ "default": "() => [\"#ebedf0\", \"#c0ddf9\", \"#73b3f3\", \"#3886e1\", \"#17459e\"]",
947
+ "value": {
948
+ "kind": "expression",
949
+ "type": "array"
950
+ }
951
+ },
952
+ {
953
+ "name": "label",
954
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
955
+ "default": "",
956
+ "value": {
957
+ "kind": "expression",
958
+ "type": "string"
959
+ }
960
+ },
961
+ {
962
+ "name": "dense",
963
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
964
+ "default": "false",
965
+ "value": {
966
+ "kind": "expression",
967
+ "type": "boolean"
968
+ }
969
+ }
970
+ ]
846
971
  },
847
972
  {
848
- "name": "EZoomable",
973
+ "name": "EHoursHeatmap",
849
974
  "source": {
850
- "module": "./src/components/EZoomable.vue",
851
- "symbol": "EZoomable"
975
+ "module": "./src/components/EHoursHeatmap.vue",
976
+ "symbol": "EHoursHeatmap"
852
977
  },
853
978
  "description": "",
854
979
  "doc-url": "https://ui.evercam.io/",
855
- "attributes": null
980
+ "attributes": [
981
+ {
982
+ "name": "items",
983
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
984
+ "default": "() => []",
985
+ "value": {
986
+ "kind": "expression",
987
+ "type": "array"
988
+ }
989
+ },
990
+ {
991
+ "name": "selected-hour",
992
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
993
+ "default": "",
994
+ "value": {
995
+ "kind": "expression",
996
+ "type": [
997
+ "string",
998
+ "number"
999
+ ]
1000
+ }
1001
+ },
1002
+ {
1003
+ "name": "show-hours",
1004
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1005
+ "default": "true",
1006
+ "value": {
1007
+ "kind": "expression",
1008
+ "type": "boolean"
1009
+ }
1010
+ },
1011
+ {
1012
+ "name": "colors",
1013
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1014
+ "default": "() => [\"#ebedf0\", \"#c0ddf9\", \"#73b3f3\", \"#3886e1\", \"#17459e\"]",
1015
+ "value": {
1016
+ "kind": "expression",
1017
+ "type": "array"
1018
+ }
1019
+ },
1020
+ {
1021
+ "name": "label",
1022
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1023
+ "default": "",
1024
+ "value": {
1025
+ "kind": "expression",
1026
+ "type": "string"
1027
+ }
1028
+ },
1029
+ {
1030
+ "name": "dense",
1031
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
1032
+ "default": "false",
1033
+ "value": {
1034
+ "kind": "expression",
1035
+ "type": "boolean"
1036
+ }
1037
+ }
1038
+ ]
856
1039
  }
857
1040
  ],
858
1041
  "attributes": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/ui",
3
- "version": "0.0.55-beta.13",
3
+ "version": "0.0.55-beta.14",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Evercam - Constuction Cameras.",
@@ -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;