@evercam/ui 0.0.46 → 0.0.47-beta.1
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 +1 -6
- package/dist/index.mjs +352 -440
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +4 -41
- package/dist/src/index.d.ts +22 -70
- package/dist/src/types.d.ts +30 -0
- package/dist/style.css +1 -1
- package/dist/styles.css +0 -3
- package/dist/tags.json +1 -2
- package/dist/web-types.json +3 -22
- package/package.json +3 -3
- package/dist/src/components/EVideoEmbed.vue.d.ts +0 -45
|
@@ -1,40 +1,7 @@
|
|
|
1
1
|
import * as d3 from "d3";
|
|
2
2
|
import Vue from "vue";
|
|
3
3
|
import { D3ZoomEvent } from "d3";
|
|
4
|
-
import { TimelineAxesConfig, TimelineAxis, TimelineTicksConfig, Timestamp } from '../types';
|
|
5
|
-
export type TimelineBarEvent = {
|
|
6
|
-
timestamp: string | Date;
|
|
7
|
-
color?: string;
|
|
8
|
-
text?: string;
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
};
|
|
11
|
-
export type TimelineRangeEvent = {
|
|
12
|
-
startDate: string | Date;
|
|
13
|
-
endDate: string | Date;
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
};
|
|
16
|
-
export type TimelineCountEvent = {
|
|
17
|
-
timestamp: string | Date;
|
|
18
|
-
count: number;
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
export type TimelineEvent = TimelineBarEvent | TimelineRangeEvent | TimelineCountEvent;
|
|
22
|
-
export declare enum TimelineChartType {
|
|
23
|
-
bars = "bars",
|
|
24
|
-
lineGraph = "lineGraph"
|
|
25
|
-
}
|
|
26
|
-
export type TimelineEventsGroup = {
|
|
27
|
-
label: string;
|
|
28
|
-
color: string;
|
|
29
|
-
bgColor?: string;
|
|
30
|
-
isLoading?: Boolean;
|
|
31
|
-
isHidden?: Boolean;
|
|
32
|
-
chartType?: TimelineChartType;
|
|
33
|
-
events: Array<TimelineEvent>;
|
|
34
|
-
};
|
|
35
|
-
export type TimelineEventsByType = {
|
|
36
|
-
[eventsType: string]: TimelineEventsGroup;
|
|
37
|
-
};
|
|
4
|
+
import { TimelineAxesConfig, TimelineAxis, TimelineTicksConfig, Timestamp, TimelineCountEvent, TimelineEvent, TimelineEventsByType } from '../types';
|
|
38
5
|
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>>, {
|
|
39
6
|
tooltip: HTMLElement;
|
|
40
7
|
cursor: HTMLElement;
|
|
@@ -49,6 +16,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
49
16
|
zoomBehavior: d3.ZoomBehavior<SVGSVGElement, unknown>;
|
|
50
17
|
isMouseDown: boolean;
|
|
51
18
|
axisHeight: number;
|
|
19
|
+
eventGroupPadding: number;
|
|
52
20
|
isHoveringEvent: boolean;
|
|
53
21
|
hoveredEvent: TimelineEvent;
|
|
54
22
|
isHoveringTimeline: boolean;
|
|
@@ -78,8 +46,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
78
46
|
rightCurtainWidth: number;
|
|
79
47
|
isHoveringCurtain: boolean;
|
|
80
48
|
isDraggingCurtain: boolean;
|
|
81
|
-
characterWidth: number;
|
|
82
|
-
textPadding: number;
|
|
83
49
|
}, {
|
|
84
50
|
initTimeline(startDate?: string, endDate?: string): void;
|
|
85
51
|
initRefs(): void;
|
|
@@ -134,7 +100,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
134
100
|
updateLineGraphHoverZones(): void;
|
|
135
101
|
getEventRectX(d: TimelineEvent): any;
|
|
136
102
|
getEventRectWidth(d: TimelineEvent): number;
|
|
137
|
-
getEventText(e: TimelineEvent): string;
|
|
138
103
|
initCurtains(): void;
|
|
139
104
|
drawEventsGroups(): void;
|
|
140
105
|
drawLineGraphEventsGroups(): void;
|
|
@@ -175,7 +140,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
175
140
|
color: string;
|
|
176
141
|
label: string;
|
|
177
142
|
}): void;
|
|
178
|
-
getTextFillColor(baseColor: string
|
|
143
|
+
getTextFillColor(baseColor: string): string;
|
|
179
144
|
getLabelBackgroundColor(baseColor: string): string;
|
|
180
145
|
tzStringToDate(timestamp: Timestamp): Date;
|
|
181
146
|
dateToTzString(date: Date): string;
|
|
@@ -187,7 +152,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
187
152
|
fillTimeGaps(events: TimelineEvent[]): TimelineEvent[];
|
|
188
153
|
getNormalizedEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
189
154
|
}, {
|
|
190
|
-
barChartHeight: number;
|
|
191
155
|
classes: Record<string, string | Record<string, boolean>>;
|
|
192
156
|
lineGraphGroups: TimelineEventsByType;
|
|
193
157
|
lineGraphChartHeight: number;
|
|
@@ -218,8 +182,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
218
182
|
curtains: boolean;
|
|
219
183
|
showLabels: boolean;
|
|
220
184
|
rectMinWidth: number;
|
|
221
|
-
|
|
222
|
-
barYPadding: number;
|
|
185
|
+
barChartHeight: number;
|
|
223
186
|
lineGraphMinHeight: number;
|
|
224
187
|
minZoom: number;
|
|
225
188
|
maxZoom: number;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import ERow from './components/ERow.vue';
|
|
|
6
6
|
import ECol from './components/ECol.vue';
|
|
7
7
|
import EVideoPlayer from './components/EVideoPlayer.vue';
|
|
8
8
|
import ETimeline from './components/ETimeline.vue';
|
|
9
|
-
import EVideoEmbed from './components/EVideoEmbed.vue';
|
|
10
9
|
import { VueConstructor } from "vue";
|
|
11
10
|
export declare const components: {
|
|
12
11
|
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>>, {
|
|
@@ -185,8 +184,9 @@ export declare const components: {
|
|
|
185
184
|
zoomBehavior: import("d3-zoom").ZoomBehavior<SVGSVGElement, unknown>;
|
|
186
185
|
isMouseDown: boolean;
|
|
187
186
|
axisHeight: number;
|
|
187
|
+
eventGroupPadding: number;
|
|
188
188
|
isHoveringEvent: boolean;
|
|
189
|
-
hoveredEvent: import('./
|
|
189
|
+
hoveredEvent: import('./types').TimelineEvent;
|
|
190
190
|
isHoveringTimeline: boolean;
|
|
191
191
|
hoveredTimestamp: string;
|
|
192
192
|
eventTooltipStyle: {};
|
|
@@ -214,8 +214,6 @@ export declare const components: {
|
|
|
214
214
|
rightCurtainWidth: number;
|
|
215
215
|
isHoveringCurtain: boolean;
|
|
216
216
|
isDraggingCurtain: boolean;
|
|
217
|
-
characterWidth: number;
|
|
218
|
-
textPadding: number;
|
|
219
217
|
}, {
|
|
220
218
|
initTimeline(startDate?: string | undefined, endDate?: string | undefined): void;
|
|
221
219
|
initRefs(): void;
|
|
@@ -245,9 +243,9 @@ export declare const components: {
|
|
|
245
243
|
handleMouseLeave(): void;
|
|
246
244
|
handleMouseMove(event: MouseEvent): void;
|
|
247
245
|
handleClick(event: MouseEvent): void;
|
|
248
|
-
handleLineMouseOver(_event: MouseEvent, eventData: import('./
|
|
246
|
+
handleLineMouseOver(_event: MouseEvent, eventData: import('./types').TimelineCountEvent, eventType: string): void;
|
|
249
247
|
handleLineMouseOut(): void;
|
|
250
|
-
handleBarMouseOver(_event: MouseEvent, eventData: import('./
|
|
248
|
+
handleBarMouseOver(_event: MouseEvent, eventData: import('./types').TimelineEvent, eventType: string): void;
|
|
251
249
|
handleBarMouseOut(): void;
|
|
252
250
|
handleLabelMouseOver(groupType: string): void;
|
|
253
251
|
handleLabelMouseLeave(groupType: string): void;
|
|
@@ -268,20 +266,19 @@ export declare const components: {
|
|
|
268
266
|
updateBarCharts(): void;
|
|
269
267
|
updateLineGraphs(): void;
|
|
270
268
|
updateLineGraphHoverZones(): void;
|
|
271
|
-
getEventRectX(d: import('./
|
|
272
|
-
getEventRectWidth(d: import('./
|
|
273
|
-
getEventText(e: import('./components/ETimeline.vue').TimelineEvent): string;
|
|
269
|
+
getEventRectX(d: import('./types').TimelineEvent): any;
|
|
270
|
+
getEventRectWidth(d: import('./types').TimelineEvent): number;
|
|
274
271
|
initCurtains(): void;
|
|
275
272
|
drawEventsGroups(): void;
|
|
276
273
|
drawLineGraphEventsGroups(): void;
|
|
277
274
|
drawLineGraph({ events, gElement, color, type, }: {
|
|
278
|
-
events: import('./
|
|
275
|
+
events: import('./types').TimelineEvent[];
|
|
279
276
|
gElement: import("d3-selection").Selection<SVGGElement, any, any, any>;
|
|
280
277
|
color: string;
|
|
281
278
|
type: string;
|
|
282
279
|
}): void;
|
|
283
280
|
drawLineGraphHoverZones({ events, gElement, color, type, }: {
|
|
284
|
-
events: import('./
|
|
281
|
+
events: import('./types').TimelineCountEvent[];
|
|
285
282
|
gElement: import("d3-selection").Selection<SVGGElement, any, any, any>;
|
|
286
283
|
color: string;
|
|
287
284
|
type: string;
|
|
@@ -299,7 +296,7 @@ export declare const components: {
|
|
|
299
296
|
color: string;
|
|
300
297
|
}): void;
|
|
301
298
|
drawBars({ events, gElement, yPosition, color, type, }: {
|
|
302
|
-
events: import('./
|
|
299
|
+
events: import('./types').TimelineEvent[];
|
|
303
300
|
gElement: import("d3-selection").Selection<SVGGElement, any, any, any>;
|
|
304
301
|
yPosition: number;
|
|
305
302
|
color: string;
|
|
@@ -311,7 +308,7 @@ export declare const components: {
|
|
|
311
308
|
color: string;
|
|
312
309
|
label: string;
|
|
313
310
|
}): void;
|
|
314
|
-
getTextFillColor(baseColor: string
|
|
311
|
+
getTextFillColor(baseColor: string): string;
|
|
315
312
|
getLabelBackgroundColor(baseColor: string): string;
|
|
316
313
|
tzStringToDate(timestamp: import('./types').Timestamp): Date;
|
|
317
314
|
dateToTzString(date: Date): string;
|
|
@@ -320,25 +317,24 @@ export declare const components: {
|
|
|
320
317
|
endDate: string;
|
|
321
318
|
};
|
|
322
319
|
getFormattedTimestamp(timestamp: import('./types').Timestamp): string;
|
|
323
|
-
fillTimeGaps(events: import('./
|
|
324
|
-
getNormalizedEvents(events: import('./
|
|
320
|
+
fillTimeGaps(events: import('./types').TimelineEvent[]): import('./types').TimelineEvent[];
|
|
321
|
+
getNormalizedEvents(events: import('./types').TimelineEvent[]): import('./types').TimelineEvent[];
|
|
325
322
|
}, {
|
|
326
|
-
barChartHeight: number;
|
|
327
323
|
classes: Record<string, string | Record<string, boolean>>;
|
|
328
|
-
lineGraphGroups: import('./
|
|
324
|
+
lineGraphGroups: import('./types').TimelineEventsByType;
|
|
329
325
|
lineGraphChartHeight: number;
|
|
330
|
-
barGroups: import('./
|
|
326
|
+
barGroups: import('./types').TimelineEventsByType;
|
|
331
327
|
hasLineGraphChart: boolean;
|
|
332
328
|
labelRectWidth: number;
|
|
333
329
|
combinedXAxesHeight: number;
|
|
334
330
|
timelineHeight: number;
|
|
335
|
-
filteredEventsGroups: import('./
|
|
336
|
-
allEventsSorted: import('./
|
|
337
|
-
oldestEvent: import('./
|
|
338
|
-
latestEvent: import('./
|
|
331
|
+
filteredEventsGroups: import('./types').TimelineEventsByType;
|
|
332
|
+
allEventsSorted: import('./types').TimelineEvent[];
|
|
333
|
+
oldestEvent: import('./types').TimelineEvent;
|
|
334
|
+
latestEvent: import('./types').TimelineEvent;
|
|
339
335
|
allLineChartTimestamps: string[];
|
|
340
|
-
placeholderLineChartGroup: import('./
|
|
341
|
-
normalizedLineGraphGroups: import('./
|
|
336
|
+
placeholderLineChartGroup: import('./types').TimelineEvent[];
|
|
337
|
+
normalizedLineGraphGroups: import('./types').TimelineEventsByType;
|
|
342
338
|
isInteractingWithCurtain: boolean;
|
|
343
339
|
}, {
|
|
344
340
|
eventsGroups: {};
|
|
@@ -354,62 +350,18 @@ export declare const components: {
|
|
|
354
350
|
curtains: boolean;
|
|
355
351
|
showLabels: boolean;
|
|
356
352
|
rectMinWidth: number;
|
|
357
|
-
|
|
358
|
-
barYPadding: number;
|
|
353
|
+
barChartHeight: number;
|
|
359
354
|
lineGraphMinHeight: number;
|
|
360
355
|
minZoom: number;
|
|
361
356
|
maxZoom: number;
|
|
362
357
|
cursorTimestamp: string | undefined;
|
|
363
358
|
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
|
|
364
|
-
EVideoEmbed: import("vue").DefineComponent<{
|
|
365
|
-
videoUrl: {
|
|
366
|
-
type: StringConstructor;
|
|
367
|
-
required: true;
|
|
368
|
-
};
|
|
369
|
-
platform: {
|
|
370
|
-
type: import("vue").PropType<"youtube" | "vimeo">;
|
|
371
|
-
required: true;
|
|
372
|
-
validator: (value: string) => boolean;
|
|
373
|
-
};
|
|
374
|
-
iframeListeners: {
|
|
375
|
-
type: import("vue").PropType<Partial<HTMLIFrameElement>>;
|
|
376
|
-
default: () => {};
|
|
377
|
-
};
|
|
378
|
-
iframeOptions: {
|
|
379
|
-
type: ObjectConstructor;
|
|
380
|
-
default: () => {};
|
|
381
|
-
};
|
|
382
|
-
}, {}, {}, {
|
|
383
|
-
videoId(): string | undefined;
|
|
384
|
-
embedUrl(): string;
|
|
385
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
386
|
-
videoUrl: {
|
|
387
|
-
type: StringConstructor;
|
|
388
|
-
required: true;
|
|
389
|
-
};
|
|
390
|
-
platform: {
|
|
391
|
-
type: import("vue").PropType<"youtube" | "vimeo">;
|
|
392
|
-
required: true;
|
|
393
|
-
validator: (value: string) => boolean;
|
|
394
|
-
};
|
|
395
|
-
iframeListeners: {
|
|
396
|
-
type: import("vue").PropType<Partial<HTMLIFrameElement>>;
|
|
397
|
-
default: () => {};
|
|
398
|
-
};
|
|
399
|
-
iframeOptions: {
|
|
400
|
-
type: ObjectConstructor;
|
|
401
|
-
default: () => {};
|
|
402
|
-
};
|
|
403
|
-
}>>, {
|
|
404
|
-
iframeListeners: Partial<HTMLIFrameElement>;
|
|
405
|
-
iframeOptions: Record<string, any>;
|
|
406
|
-
}>;
|
|
407
359
|
};
|
|
408
360
|
declare const _default: {
|
|
409
361
|
install(Vue: VueConstructor): void;
|
|
410
362
|
};
|
|
411
363
|
export default _default;
|
|
412
|
-
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline
|
|
364
|
+
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline };
|
|
413
365
|
export * from './constants';
|
|
414
366
|
export * from './types';
|
|
415
367
|
export * from './utils';
|
package/dist/src/types.d.ts
CHANGED
|
@@ -48,5 +48,35 @@ export type TimelineAxesConfig = {
|
|
|
48
48
|
[key in TimelineAxis]: TimelineTicksConfig[];
|
|
49
49
|
};
|
|
50
50
|
export type Timestamp = Date | string | number;
|
|
51
|
+
export type TimelineBarEvent = {
|
|
52
|
+
timestamp: string | Date;
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
};
|
|
55
|
+
export type TimelineRangeEvent = {
|
|
56
|
+
startDate: string | Date;
|
|
57
|
+
endDate: string | Date;
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
};
|
|
60
|
+
export type TimelineCountEvent = {
|
|
61
|
+
timestamp: string | Date;
|
|
62
|
+
count: number;
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
65
|
+
export type TimelineEvent = TimelineBarEvent | TimelineRangeEvent | TimelineCountEvent;
|
|
66
|
+
export declare enum TimelineChartType {
|
|
67
|
+
bars = "bars",
|
|
68
|
+
lineGraph = "lineGraph"
|
|
69
|
+
}
|
|
70
|
+
export type TimelineEventsGroup = {
|
|
71
|
+
label: string;
|
|
72
|
+
color: string;
|
|
73
|
+
isLoading?: Boolean;
|
|
74
|
+
isHidden?: Boolean;
|
|
75
|
+
chartType?: TimelineChartType;
|
|
76
|
+
events: Array<TimelineEvent>;
|
|
77
|
+
};
|
|
78
|
+
export type TimelineEventsByType = {
|
|
79
|
+
[eventsType: string]: TimelineEventsGroup;
|
|
80
|
+
};
|
|
51
81
|
declare const _default: {};
|
|
52
82
|
export default _default;
|
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-
|
|
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-99c9162d]{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-99c9162d]{position:relative;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;margin:0 auto}.video-container.full-screen[data-v-99c9162d]{max-width:initial;width:100%;max-height:100vh}video[data-v-99c9162d]{width:100%;height:inherit}.video-controls-container[data-v-99c9162d]{position:absolute;bottom:0;left:0;right:0;color:#fff;z-index:100;opacity:0;transition:opacity .15s ease-in-out}.hide[data-v-99c9162d]{display:none}.video-controls-container[data-v-99c9162d]: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-99c9162d],.video-container:focus-within .video-controls-container[data-v-99c9162d],.video-container.paused .video-controls-container[data-v-99c9162d]{opacity:1}.video-controls-container .controls[data-v-99c9162d]{display:flex;gap:.5rem;padding:.75rem 1rem;align-items:center;width:100%}.video-controls-container .controls button[data-v-99c9162d]{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-99c9162d]:hover{opacity:1}.duration-container[data-v-99c9162d]{display:flex;align-items:center;gap:.25rem;flex-grow:1}.video-container.captions .captions-btn[data-v-99c9162d]{border-bottom:3px solid red}.video-controls-container .controls button.wide-btn[data-v-99c9162d]{width:50px}.timeline-container[data-v-99c9162d]{width:100%;height:7px;margin-inline:.5rem;cursor:pointer;display:flex;align-items:center}.timeline[data-v-99c9162d]{background-color:#64646480;height:3px;width:100%;position:relative}.timeline[data-v-99c9162d]: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-99c9162d]: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-99c9162d]{--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-99c9162d]{display:block}.video-container.scrubbing .timeline[data-v-99c9162d]:before,.timeline-container:hover .timeline[data-v-99c9162d]:before{display:block}.video-container.scrubbing .thumb-indicator[data-v-99c9162d],.timeline-container:hover .thumb-indicator[data-v-99c9162d]{--scale: 1}.video-container.scrubbing .timeline[data-v-99c9162d],.timeline-container:hover .timeline[data-v-99c9162d]{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}
|
package/dist/styles.css
CHANGED
package/dist/tags.json
CHANGED
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.
|
|
5
|
+
"version": "0.0.45-beta.0",
|
|
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": "() =>
|
|
538
|
+
"default": "() => Vt",
|
|
539
539
|
"value": {
|
|
540
540
|
"kind": "expression",
|
|
541
541
|
"type": "object"
|
|
@@ -641,7 +641,7 @@
|
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
{
|
|
644
|
-
"name": "bar-height",
|
|
644
|
+
"name": "bar-chart-height",
|
|
645
645
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
646
646
|
"default": "18",
|
|
647
647
|
"value": {
|
|
@@ -649,15 +649,6 @@
|
|
|
649
649
|
"type": "number"
|
|
650
650
|
}
|
|
651
651
|
},
|
|
652
|
-
{
|
|
653
|
-
"name": "bar-ypadding",
|
|
654
|
-
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
655
|
-
"default": "0",
|
|
656
|
-
"value": {
|
|
657
|
-
"kind": "expression",
|
|
658
|
-
"type": "number"
|
|
659
|
-
}
|
|
660
|
-
},
|
|
661
652
|
{
|
|
662
653
|
"name": "line-graph-min-height",
|
|
663
654
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
@@ -698,16 +689,6 @@
|
|
|
698
689
|
}
|
|
699
690
|
}
|
|
700
691
|
]
|
|
701
|
-
},
|
|
702
|
-
{
|
|
703
|
-
"name": "EVideoEmbed",
|
|
704
|
-
"source": {
|
|
705
|
-
"module": "./src/components/EVideoEmbed.vue",
|
|
706
|
-
"symbol": "EVideoEmbed"
|
|
707
|
-
},
|
|
708
|
-
"description": "",
|
|
709
|
-
"doc-url": "https://ui.evercam.io/",
|
|
710
|
-
"attributes": null
|
|
711
692
|
}
|
|
712
693
|
],
|
|
713
694
|
"attributes": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.47-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Evercam - Constuction Cameras.",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@fontsource-variable/inter": "^5.0.8",
|
|
66
66
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
67
67
|
"d3": "^7.8.5",
|
|
68
|
-
"
|
|
69
|
-
"
|
|
68
|
+
"vue": "^2.7.14",
|
|
69
|
+
"moment-timezone": "^0.5.43"
|
|
70
70
|
},
|
|
71
71
|
"vetur": {
|
|
72
72
|
"tags": "dist/tags.json",
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
videoUrl: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
platform: {
|
|
8
|
-
type: PropType<"youtube" | "vimeo">;
|
|
9
|
-
required: true;
|
|
10
|
-
validator: (value: string) => boolean;
|
|
11
|
-
};
|
|
12
|
-
iframeListeners: {
|
|
13
|
-
type: PropType<Partial<HTMLIFrameElement>>;
|
|
14
|
-
default: () => {};
|
|
15
|
-
};
|
|
16
|
-
iframeOptions: {
|
|
17
|
-
type: ObjectConstructor;
|
|
18
|
-
default: () => {};
|
|
19
|
-
};
|
|
20
|
-
}, {}, {}, {
|
|
21
|
-
videoId(): string | undefined;
|
|
22
|
-
embedUrl(): string;
|
|
23
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
videoUrl: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
platform: {
|
|
29
|
-
type: PropType<"youtube" | "vimeo">;
|
|
30
|
-
required: true;
|
|
31
|
-
validator: (value: string) => boolean;
|
|
32
|
-
};
|
|
33
|
-
iframeListeners: {
|
|
34
|
-
type: PropType<Partial<HTMLIFrameElement>>;
|
|
35
|
-
default: () => {};
|
|
36
|
-
};
|
|
37
|
-
iframeOptions: {
|
|
38
|
-
type: ObjectConstructor;
|
|
39
|
-
default: () => {};
|
|
40
|
-
};
|
|
41
|
-
}>>, {
|
|
42
|
-
iframeListeners: Partial<HTMLIFrameElement>;
|
|
43
|
-
iframeOptions: Record<string, any>;
|
|
44
|
-
}>;
|
|
45
|
-
export default _default;
|