@evercam/ui 0.0.50-beta.1 → 0.0.51

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.
@@ -18,5 +18,5 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
18
18
  badgeText: string;
19
19
  badgeSize: Size;
20
20
  image: string;
21
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
21
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
22
22
  export default _default;
@@ -24,5 +24,5 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
24
24
  text: string;
25
25
  color: BaseColor;
26
26
  size: Size;
27
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
27
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
28
28
  export default _default;
@@ -19,5 +19,5 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
19
19
  sm: string | number | boolean;
20
20
  xs: string | number | boolean;
21
21
  xl: string | number | boolean;
22
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
22
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
23
23
  export default _default;
@@ -7,5 +7,5 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
7
7
  icon: string;
8
8
  color: string;
9
9
  size: Size;
10
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
10
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
11
11
  export default _default;
@@ -13,5 +13,5 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
13
13
  justifyLg: FlexJustifyContent;
14
14
  justifyXl: FlexJustifyContent;
15
15
  noGutters: boolean;
16
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
16
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
17
17
  export default _default;
@@ -21,5 +21,5 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
21
21
  animationDuration: string | number;
22
22
  size: Size;
23
23
  opacity: string | number;
24
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
24
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
25
25
  export default _default;
@@ -99,7 +99,8 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
99
99
  zoomToStartAndEndDates(): void;
100
100
  rescaleAxis(axisName: string, newScale: d3.ScaleTime<any, any, unknown>): void;
101
101
  translateTicksText(axisName: string): void;
102
- updateBarCharts(): void;
102
+ updateEventsBars(): void;
103
+ updateBarChart(): void;
103
104
  updateLineGraphs(): void;
104
105
  updateLineGraphHoverZones(): void;
105
106
  getEventRectX(d: TimelineEvent): any;
@@ -121,6 +122,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
121
122
  type: string;
122
123
  }): void;
123
124
  drawBarEventsGroups(): void;
125
+ drawBarChartEventsGroups(): void;
124
126
  drawProgressIndicator({ yPosition, type, isLoading, }: {
125
127
  yPosition: number;
126
128
  type: string;
@@ -139,6 +141,12 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
139
141
  color: string;
140
142
  type: string;
141
143
  }): void;
144
+ drawBarsChart({ events, gElement, color, type, }: {
145
+ events: TimelineEvent[];
146
+ gElement: d3.Selection<SVGGElement, any, any, any>;
147
+ color: string;
148
+ type: string;
149
+ }): void;
142
150
  drawTextLabel({ gElement, yPosition, color, label, }: {
143
151
  gElement: d3.Selection<SVGGElement, any, any, any>;
144
152
  yPosition: number;
@@ -163,9 +171,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
163
171
  barChartHeight: number;
164
172
  classes: Record<string, string | Record<string, boolean>>;
165
173
  lineGraphGroups: TimelineEventsByType;
166
- lineGraphChartHeight: number;
174
+ chartHeight: number;
167
175
  barGroups: TimelineEventsByType;
168
- hasLineGraphChart: boolean;
176
+ barChartGroups: TimelineEventsByType;
177
+ hasChart: boolean;
169
178
  labelRectWidth: number;
170
179
  combinedXAxesHeight: number;
171
180
  timelineHeight: number;
@@ -193,9 +202,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
193
202
  rectMinWidth: number;
194
203
  barHeight: number;
195
204
  barYPadding: number;
196
- lineGraphMinHeight: number;
205
+ barXPadding: number;
206
+ chartMinHeight: number;
197
207
  minZoom: number;
198
208
  maxZoom: number;
199
209
  cursorTimestamp: string | undefined;
200
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
210
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
201
211
  export default _default;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  }, {}, {}, {
21
21
  videoId(): string | undefined;
22
22
  embedUrl(): string;
23
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
23
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
24
24
  videoUrl: {
25
25
  type: StringConstructor;
26
26
  required: true;
@@ -56,5 +56,5 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
56
56
  sources: string | VideoSource[];
57
57
  videoListeners: {};
58
58
  videoOptions: {};
59
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
59
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
60
60
  export default _default;
@@ -27,7 +27,7 @@ export declare const components: {
27
27
  badgeText: string;
28
28
  badgeSize: import('./types').Size;
29
29
  image: string;
30
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
30
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
31
31
  EBadge: 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>>, {
32
32
  colors: {
33
33
  error: string;
@@ -52,7 +52,7 @@ export declare const components: {
52
52
  text: string;
53
53
  color: import('./types').BaseColor;
54
54
  size: import('./types').Size;
55
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
55
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
56
56
  EIcon: 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, {
57
57
  sizes: Record<import('./types').Size, string>;
58
58
  iconClasses: string[];
@@ -60,7 +60,7 @@ export declare const components: {
60
60
  icon: string;
61
61
  color: string;
62
62
  size: import('./types').Size;
63
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
63
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
64
64
  ESpinner: 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>>, {
65
65
  sizes: any;
66
66
  colors: any;
@@ -82,7 +82,7 @@ export declare const components: {
82
82
  animationDuration: string | number;
83
83
  size: import('./types').Size;
84
84
  opacity: string | number;
85
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
85
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
86
86
  ERow: 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, {
87
87
  justifyClasses: Record<string, boolean>;
88
88
  rowClasses: Record<string, boolean>;
@@ -96,7 +96,7 @@ export declare const components: {
96
96
  justifyLg: import('./types').FlexJustifyContent;
97
97
  justifyXl: import('./types').FlexJustifyContent;
98
98
  noGutters: boolean;
99
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
99
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
100
100
  ECol: 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, {
101
101
  autoClasses(prefix: string, value: string | number | boolean): string;
102
102
  isSizePropAuto(prop: string | number | boolean | undefined, acceptUndefined?: boolean): boolean;
@@ -117,7 +117,7 @@ export declare const components: {
117
117
  sm: string | number | boolean;
118
118
  xs: string | number | boolean;
119
119
  xl: string | number | boolean;
120
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
120
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
121
121
  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>>, {
122
122
  playing: boolean;
123
123
  percentagePlayed: number;
@@ -170,7 +170,7 @@ export declare const components: {
170
170
  sources: string | import('./components/EVideoPlayer.vue').VideoSource[];
171
171
  videoListeners: {};
172
172
  videoOptions: {};
173
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
173
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
174
174
  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>>, {
175
175
  tooltip: HTMLElement;
176
176
  cursor: HTMLElement;
@@ -268,7 +268,8 @@ export declare const components: {
268
268
  zoomToStartAndEndDates(): void;
269
269
  rescaleAxis(axisName: string, newScale: import("d3-scale").ScaleTime<any, any, unknown>): void;
270
270
  translateTicksText(axisName: string): void;
271
- updateBarCharts(): void;
271
+ updateEventsBars(): void;
272
+ updateBarChart(): void;
272
273
  updateLineGraphs(): void;
273
274
  updateLineGraphHoverZones(): void;
274
275
  getEventRectX(d: import('./types').TimelineEvent): any;
@@ -290,6 +291,7 @@ export declare const components: {
290
291
  type: string;
291
292
  }): void;
292
293
  drawBarEventsGroups(): void;
294
+ drawBarChartEventsGroups(): void;
293
295
  drawProgressIndicator({ yPosition, type, isLoading, }: {
294
296
  yPosition: number;
295
297
  type: string;
@@ -308,6 +310,12 @@ export declare const components: {
308
310
  color: string;
309
311
  type: string;
310
312
  }): void;
313
+ drawBarsChart({ events, gElement, color, type, }: {
314
+ events: import('./types').TimelineEvent[];
315
+ gElement: import("d3-selection").Selection<SVGGElement, any, any, any>;
316
+ color: string;
317
+ type: string;
318
+ }): void;
311
319
  drawTextLabel({ gElement, yPosition, color, label, }: {
312
320
  gElement: import("d3-selection").Selection<SVGGElement, any, any, any>;
313
321
  yPosition: number;
@@ -332,9 +340,10 @@ export declare const components: {
332
340
  barChartHeight: number;
333
341
  classes: Record<string, string | Record<string, boolean>>;
334
342
  lineGraphGroups: import('./types').TimelineEventsByType;
335
- lineGraphChartHeight: number;
343
+ chartHeight: number;
336
344
  barGroups: import('./types').TimelineEventsByType;
337
- hasLineGraphChart: boolean;
345
+ barChartGroups: import('./types').TimelineEventsByType;
346
+ hasChart: boolean;
338
347
  labelRectWidth: number;
339
348
  combinedXAxesHeight: number;
340
349
  timelineHeight: number;
@@ -362,11 +371,12 @@ export declare const components: {
362
371
  rectMinWidth: number;
363
372
  barHeight: number;
364
373
  barYPadding: number;
365
- lineGraphMinHeight: number;
374
+ barXPadding: number;
375
+ chartMinHeight: number;
366
376
  minZoom: number;
367
377
  maxZoom: number;
368
378
  cursorTimestamp: string | undefined;
369
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
379
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
370
380
  EVideoEmbed: import("vue").DefineComponent<{
371
381
  videoUrl: {
372
382
  type: StringConstructor;
@@ -388,7 +398,7 @@ export declare const components: {
388
398
  }, {}, {}, {
389
399
  videoId(): string | undefined;
390
400
  embedUrl(): string;
391
- }, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
401
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
392
402
  videoUrl: {
393
403
  type: StringConstructor;
394
404
  required: true;
@@ -67,7 +67,8 @@ export type TimelineCountEvent = {
67
67
  export type TimelineEvent = TimelineBarEvent | TimelineRangeEvent | TimelineCountEvent;
68
68
  export declare enum TimelineChartType {
69
69
  bars = "bars",
70
- lineGraph = "lineGraph"
70
+ lineGraph = "lineGraph",
71
+ barChart = "barGraph"
71
72
  }
72
73
  export type TimelineEventsGroup = {
73
74
  label: string;
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}.spinner-container[data-v-dd8ff405]{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-dd8ff405]{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 auto}.video-container.full-screen[data-v-dd8ff405]{max-width:initial;width:100%;max-height:100vh}video[data-v-dd8ff405]{width:100%;height:inherit}.video-controls-container[data-v-dd8ff405]{position:absolute;bottom:0;left:0;right:0;color:#fff;z-index:100;opacity:0;transition:opacity .15s ease-in-out}.hide[data-v-dd8ff405]{display:none}.video-controls-container[data-v-dd8ff405]: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-dd8ff405],.video-container:focus-within .video-controls-container[data-v-dd8ff405],.video-container.paused .video-controls-container[data-v-dd8ff405]{opacity:1}.video-controls-container .controls[data-v-dd8ff405]{display:flex;gap:.5rem;padding:.75rem 1rem;align-items:center;width:100%}.video-controls-container .controls button[data-v-dd8ff405]{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-dd8ff405]:hover{opacity:1}.duration-container[data-v-dd8ff405]{display:flex;align-items:center;gap:.25rem;flex-grow:1}.video-container.captions .captions-btn[data-v-dd8ff405]{border-bottom:3px solid red}.video-controls-container .controls button.wide-btn[data-v-dd8ff405]{width:50px}.timeline-container[data-v-dd8ff405]{width:100%;height:7px;margin-inline:.5rem;cursor:pointer;display:flex;align-items:center}.timeline[data-v-dd8ff405]{background-color:#64646480;height:3px;width:100%;position:relative}.timeline[data-v-dd8ff405]: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-dd8ff405]: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-dd8ff405]{--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-dd8ff405]{display:block}.video-container.scrubbing .timeline[data-v-dd8ff405]:before,.timeline-container:hover .timeline[data-v-dd8ff405]:before{display:block}.video-container.scrubbing .thumb-indicator[data-v-dd8ff405],.timeline-container:hover .thumb-indicator[data-v-dd8ff405]{--scale: 1}.video-container.scrubbing .timeline[data-v-dd8ff405],.timeline-container:hover .timeline[data-v-dd8ff405]{height:100%}.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}.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%}
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-dd8ff405]{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-dd8ff405]{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 auto}.video-container.full-screen[data-v-dd8ff405]{max-width:initial;width:100%;max-height:100vh}video[data-v-dd8ff405]{width:100%;height:inherit}.video-controls-container[data-v-dd8ff405]{position:absolute;bottom:0;left:0;right:0;color:#fff;z-index:100;opacity:0;transition:opacity .15s ease-in-out}.hide[data-v-dd8ff405]{display:none}.video-controls-container[data-v-dd8ff405]: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-dd8ff405],.video-container:focus-within .video-controls-container[data-v-dd8ff405],.video-container.paused .video-controls-container[data-v-dd8ff405]{opacity:1}.video-controls-container .controls[data-v-dd8ff405]{display:flex;gap:.5rem;padding:.75rem 1rem;align-items:center;width:100%}.video-controls-container .controls button[data-v-dd8ff405]{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-dd8ff405]:hover{opacity:1}.duration-container[data-v-dd8ff405]{display:flex;align-items:center;gap:.25rem;flex-grow:1}.video-container.captions .captions-btn[data-v-dd8ff405]{border-bottom:3px solid red}.video-controls-container .controls button.wide-btn[data-v-dd8ff405]{width:50px}.timeline-container[data-v-dd8ff405]{width:100%;height:7px;margin-inline:.5rem;cursor:pointer;display:flex;align-items:center}.timeline[data-v-dd8ff405]{background-color:#64646480;height:3px;width:100%;position:relative}.timeline[data-v-dd8ff405]: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-dd8ff405]: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-dd8ff405]{--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-dd8ff405]{display:block}.video-container.scrubbing .timeline[data-v-dd8ff405]:before,.timeline-container:hover .timeline[data-v-dd8ff405]:before{display:block}.video-container.scrubbing .thumb-indicator[data-v-dd8ff405],.timeline-container:hover .thumb-indicator[data-v-dd8ff405]{--scale: 1}.video-container.scrubbing .timeline[data-v-dd8ff405],.timeline-container:hover .timeline[data-v-dd8ff405]{height:100%}.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}.event-bar{transition:fill-opacity .5s}@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}.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%}
package/dist/tags.json CHANGED
@@ -93,7 +93,8 @@
93
93
  "rect-min-width",
94
94
  "bar-height",
95
95
  "bar-ypadding",
96
- "line-graph-min-height",
96
+ "bar-xpadding",
97
+ "chart-min-height",
97
98
  "min-zoom",
98
99
  "max-zoom",
99
100
  "cursor-timestamp"
@@ -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.50-beta.1",
5
+ "version": "0.0.51",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -535,7 +535,7 @@
535
535
  {
536
536
  "name": "x-axes-config",
537
537
  "doc-url": "https://www.npmjs.com/package/@evercam/ui",
538
- "default": "() => Xt",
538
+ "default": "() => qt",
539
539
  "value": {
540
540
  "kind": "expression",
541
541
  "type": "object"
@@ -659,7 +659,16 @@
659
659
  }
660
660
  },
661
661
  {
662
- "name": "line-graph-min-height",
662
+ "name": "bar-xpadding",
663
+ "doc-url": "https://www.npmjs.com/package/@evercam/ui",
664
+ "default": "0",
665
+ "value": {
666
+ "kind": "expression",
667
+ "type": "number"
668
+ }
669
+ },
670
+ {
671
+ "name": "chart-min-height",
663
672
  "doc-url": "https://www.npmjs.com/package/@evercam/ui",
664
673
  "default": "60",
665
674
  "value": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/ui",
3
- "version": "0.0.50-beta.1",
3
+ "version": "0.0.51",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Evercam - Constuction Cameras.",
@@ -57,8 +57,8 @@
57
57
  "vite-plugin-dts": "^3.6.0",
58
58
  "vscode-oniguruma": "^1.6.1",
59
59
  "vscode-textmate": "^6.0.0",
60
- "vue": "^2.7.14",
61
- "vue-template-compiler": "^2.7.14",
60
+ "vue": "^2.7.16",
61
+ "vue-template-compiler": "^2.7.16",
62
62
  "vue-tsc": "^1.8.15"
63
63
  },
64
64
  "peerDependencies": {
@@ -66,7 +66,7 @@
66
66
  "@fortawesome/fontawesome-free": "^5.15.3",
67
67
  "d3": "^7.8.5",
68
68
  "moment-timezone": "^0.5.43",
69
- "vue": "^2.7.14"
69
+ "vue": "^2.7.16"
70
70
  },
71
71
  "vetur": {
72
72
  "tags": "dist/tags.json",