@evercam/ui 0.0.62 → 0.0.63-Add-timeline-tests-1aaeb4ea7
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/CHANGELOG.md +26 -0
- package/README.md +0 -2
- package/dist/attributes.json +530 -25
- package/dist/components/EActionButton.vue.d.ts +17 -0
- package/dist/components/EAvatar.vue.d.ts +2 -0
- package/dist/components/ECopyToClipboardBtn.vue.d.ts +31 -0
- package/dist/components/EDialog.vue.d.ts +3 -0
- package/dist/components/EEvercamLogo.vue.d.ts +6 -0
- package/dist/components/EExpandableMenu.vue.d.ts +10 -7
- package/dist/components/EFadeTransition.vue.d.ts +7 -0
- package/dist/components/EFeedackButton.vue.d.ts +38 -0
- package/dist/components/EFlagIcon.vue.d.ts +3 -0
- package/dist/components/EGlobalSearch.vue.d.ts +1 -0
- package/dist/components/EHeatmapBar.vue.d.ts +13 -2
- package/dist/components/EImagePlayer.vue.d.ts +127 -0
- package/dist/components/EImagesComparator.vue.d.ts +31 -0
- package/dist/components/ELayout.vue.d.ts +32 -0
- package/dist/components/EPulsatingDot.vue.d.ts +19 -0
- package/dist/components/ERadioGroup.vue.d.ts +22 -0
- package/dist/components/EToggleSwitch.vue.d.ts +11 -13
- package/dist/components/ETooltip.vue.d.ts +12 -0
- package/dist/components/EVideoPlayer.vue.d.ts +0 -1
- package/dist/components/EVoiceInput.vue.d.ts +49 -0
- package/dist/components/EVoiceInputVolumeIndicator.vue.d.ts +13 -0
- package/dist/components/EZoomSlider.vue.d.ts +5 -0
- package/dist/components/EZoomableImg.vue.d.ts +160 -0
- package/dist/components/charts/ECursor.vue.d.ts +74 -0
- package/dist/components/charts/ECursorBehavior.vue.d.ts +21 -0
- package/dist/components/charts/ETimelineGroupContainer.vue.d.ts +90 -0
- package/dist/components/charts/ETimelineRectsChart.vue.d.ts +111 -0
- package/dist/components/charts/ETimelineSVGDefs.vue.d.ts +3 -0
- package/dist/components/charts/EXAxis.vue.d.ts +83 -0
- package/dist/components/charts/EXAxisBackground.vue.d.ts +69 -0
- package/dist/components/charts/EXAxisDetailed.vue.d.ts +69 -0
- package/dist/components/charts/EXAxisOverview.vue.d.ts +69 -0
- package/dist/components/charts/EZoomBehavior.vue.d.ts +58 -0
- package/dist/components/charts/constants.d.ts +64 -0
- package/dist/components/chat/EChat.vue.d.ts +54 -0
- package/dist/components/chat/EChatBody.vue.d.ts +21 -0
- package/dist/components/chat/EChatFooter.vue.d.ts +9 -0
- package/dist/components/chat/EChatHeader.vue.d.ts +11 -0
- package/dist/components/chat/EChatInput.vue.d.ts +28 -0
- package/dist/components/chat/EChatMessage.vue.d.ts +38 -0
- package/dist/components/chat/EChatMessageActions.vue.d.ts +19 -0
- package/dist/components/chat/EChatSuggestionCard.vue.d.ts +13 -0
- package/dist/components/chat/EChatWrapper.vue.d.ts +9 -0
- package/dist/components/chat/EMarkdown.vue.d.ts +27 -0
- package/dist/components/chat/MarkdownProcessor.d.ts +59 -0
- package/dist/components/svgIcons/Robot.vue.d.ts +3 -0
- package/dist/components/svgIcons/Tag.vue.d.ts +6 -0
- package/dist/components/svgIcons/TagPlus.vue.d.ts +6 -0
- package/dist/components/svgIcons/index.d.ts +8 -2
- package/dist/components/{ETimeline.config.d.ts → timeline/ETimeline.config.d.ts} +1 -1
- package/dist/components/{ETimeline.vue.d.ts → timeline/ETimeline.vue.d.ts} +43 -139
- package/dist/components/timeline/ETimelineCursor.vue.d.ts +9 -0
- package/dist/components/timeline/ETimelineMarker.vue.d.ts +17 -0
- package/dist/components/timeline/ETimelineMarkers.vue.d.ts +31 -0
- package/dist/components/{ETimelineMilestone.vue.d.ts → timeline/ETimelineMilestone.vue.d.ts} +53 -17
- package/dist/components/timeline/ETimelineSelectedTimestampCursor.vue.d.ts +9 -0
- package/dist/constants.d.ts +4 -2
- package/dist/directives/clickOutside.d.ts +3 -0
- package/dist/directives/index.d.ts +3 -2
- package/dist/index.d.ts +604 -160
- package/dist/index.mjs +15505 -5592
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +22 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/mixins/event-listeners.d.ts +2 -0
- package/dist/mixins/inactivity-listener.d.ts +10 -6
- package/dist/style.css +1 -1
- package/dist/styles.css +28386 -27327
- package/dist/tags.json +173 -9
- package/dist/types.d.ts +98 -5
- package/dist/utils.d.ts +9 -0
- package/dist/web-types.json +1181 -57
- package/package.json +30 -15
- package/dist/components/charts/classNames.d.ts +0 -7
- /package/dist/directives/{resize-observer.d.ts → resizeObserver.d.ts} +0 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import Vue, { StyleValue } from "vue";
|
|
2
|
+
export type Point = {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
};
|
|
6
|
+
type TData = {
|
|
7
|
+
image: HTMLImageElement | null;
|
|
8
|
+
frame: HTMLDivElement | null;
|
|
9
|
+
imageLoaded: boolean;
|
|
10
|
+
zoomLevel: number;
|
|
11
|
+
previousZoomLevel: number;
|
|
12
|
+
imageMouse: Point;
|
|
13
|
+
zoomOrigin: Point;
|
|
14
|
+
frameMouse: Point;
|
|
15
|
+
frameMousePanStart: Point;
|
|
16
|
+
frameMousePreviousPan: Point;
|
|
17
|
+
translation: Point;
|
|
18
|
+
isPanning: boolean;
|
|
19
|
+
isPinching: boolean;
|
|
20
|
+
zoomStarted: boolean;
|
|
21
|
+
firstLoad: boolean;
|
|
22
|
+
isSliderActive: boolean;
|
|
23
|
+
imgStyle: Record<string, StyleValue>;
|
|
24
|
+
contentStyle: Record<string, StyleValue>;
|
|
25
|
+
isFocused: boolean;
|
|
26
|
+
forceHideContent: boolean;
|
|
27
|
+
imageAspectRatio: number;
|
|
28
|
+
frameAspectRatio: number;
|
|
29
|
+
wrapperExtraStyle: Record<string, string>;
|
|
30
|
+
preventDefaultScroll: boolean;
|
|
31
|
+
mouseLeft: boolean;
|
|
32
|
+
pointers: Record<number, PointerEvent>;
|
|
33
|
+
pinchDistance: number;
|
|
34
|
+
lastTapTime: number;
|
|
35
|
+
minZoomLevel: number;
|
|
36
|
+
maxZoomLevel: number;
|
|
37
|
+
backgroundSnapshotSrc: string | null;
|
|
38
|
+
};
|
|
39
|
+
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>>, TData, {
|
|
40
|
+
onResize(): void;
|
|
41
|
+
handleOrientationChange(): void;
|
|
42
|
+
setAspectRatio(): void;
|
|
43
|
+
updateImageStyle(): void;
|
|
44
|
+
updateMiniatureOverlayStyle(): void;
|
|
45
|
+
onImageLoaded(e: any): void;
|
|
46
|
+
onError(e: any): void;
|
|
47
|
+
onMouseEnter(): void;
|
|
48
|
+
onMouseLeave(): void;
|
|
49
|
+
onMouseMove(event: MouseEvent): void;
|
|
50
|
+
onMousedown(event: MouseEvent): void;
|
|
51
|
+
onMouseUp(event: MouseEvent): void;
|
|
52
|
+
onMouseWheel(event: WheelEvent): void;
|
|
53
|
+
updateZoomLevel(delta: number): void;
|
|
54
|
+
zoom(delta: number): void;
|
|
55
|
+
getBounds(): {
|
|
56
|
+
top: number;
|
|
57
|
+
right: number;
|
|
58
|
+
bottom: number;
|
|
59
|
+
left: number;
|
|
60
|
+
};
|
|
61
|
+
savePreviousPan({ x, y }?: {
|
|
62
|
+
x?: number | undefined;
|
|
63
|
+
y?: number | undefined;
|
|
64
|
+
}): void;
|
|
65
|
+
onSliderMouseDown(): void;
|
|
66
|
+
onSliderMouseUp(): void;
|
|
67
|
+
updateContentStyle(): void;
|
|
68
|
+
emitChange(): void;
|
|
69
|
+
getPointersMidPoint(a: PointerEvent, b: PointerEvent): {
|
|
70
|
+
x: number;
|
|
71
|
+
y: number;
|
|
72
|
+
};
|
|
73
|
+
getPointersDistance(a: PointerEvent, b: PointerEvent): number;
|
|
74
|
+
updatePointerEvent(e: PointerEvent): void;
|
|
75
|
+
clearPointerEvent(e: PointerEvent): void;
|
|
76
|
+
updatePinchZoomOrigin(): void;
|
|
77
|
+
updatePinchDistance(): void;
|
|
78
|
+
onPointerDown(e: PointerEvent): void;
|
|
79
|
+
onPointerMove(e: PointerEvent): void;
|
|
80
|
+
onPointerUp(e: PointerEvent): void;
|
|
81
|
+
getSnapshotSrc(): string;
|
|
82
|
+
}, {
|
|
83
|
+
frameStyle: Record<string, StyleValue>;
|
|
84
|
+
wrapperStyle: {
|
|
85
|
+
display: string;
|
|
86
|
+
transform?: undefined;
|
|
87
|
+
} | {
|
|
88
|
+
transform: string;
|
|
89
|
+
display?: undefined;
|
|
90
|
+
};
|
|
91
|
+
imageCenter: {
|
|
92
|
+
x: number;
|
|
93
|
+
y: number;
|
|
94
|
+
};
|
|
95
|
+
sliderModel: number;
|
|
96
|
+
showContent: boolean;
|
|
97
|
+
miniatureContainerStyle: Record<string, string>;
|
|
98
|
+
miniatureOverlayComputedStyle: Record<string, string>;
|
|
99
|
+
miniatureOverlayBaseStyle: Record<string, string>;
|
|
100
|
+
currentState: {
|
|
101
|
+
image: HTMLImageElement | null;
|
|
102
|
+
zoomLevel: number;
|
|
103
|
+
translation: Point;
|
|
104
|
+
previousZoomLevel: number;
|
|
105
|
+
imageMouse: Point;
|
|
106
|
+
zoomOrigin: Point;
|
|
107
|
+
frameMouse: Point;
|
|
108
|
+
frameMousePanStart: Point;
|
|
109
|
+
frameMousePreviousPan: Point;
|
|
110
|
+
isPanning: boolean;
|
|
111
|
+
zoomStarted: boolean;
|
|
112
|
+
firstLoad: boolean;
|
|
113
|
+
isSliderActive: boolean;
|
|
114
|
+
imgStyle: Record<string, StyleValue>;
|
|
115
|
+
contentStyle: Record<string, StyleValue>;
|
|
116
|
+
isFocused: boolean;
|
|
117
|
+
forceHideContent: boolean;
|
|
118
|
+
imageAspectRatio: number;
|
|
119
|
+
frameAspectRatio: number;
|
|
120
|
+
wrapperExtraStyle: Record<string, string>;
|
|
121
|
+
offsetWidth: number | undefined;
|
|
122
|
+
offsetHeight: number | undefined;
|
|
123
|
+
};
|
|
124
|
+
}, {
|
|
125
|
+
src: string;
|
|
126
|
+
alt: string;
|
|
127
|
+
allowZoom: boolean;
|
|
128
|
+
imgProps: any;
|
|
129
|
+
slider: boolean;
|
|
130
|
+
disabled: boolean;
|
|
131
|
+
hideContentOnBlur: boolean;
|
|
132
|
+
initialParams: any;
|
|
133
|
+
embedded: boolean;
|
|
134
|
+
overlayStyle: any;
|
|
135
|
+
foregroundStyle: any;
|
|
136
|
+
pan: boolean;
|
|
137
|
+
slotTransition: boolean;
|
|
138
|
+
height: string | number;
|
|
139
|
+
isCalendarActive: boolean;
|
|
140
|
+
blurBackground: boolean;
|
|
141
|
+
cover: boolean;
|
|
142
|
+
isWidget: boolean;
|
|
143
|
+
isAnnotationActive: boolean;
|
|
144
|
+
isMobile: boolean;
|
|
145
|
+
placeholderImage: string;
|
|
146
|
+
showMiniature: boolean;
|
|
147
|
+
miniatureWidth: number;
|
|
148
|
+
}, {}, 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>>, {
|
|
149
|
+
eventListeners: import("../mixins/event-listeners").IEventListener[];
|
|
150
|
+
}, {
|
|
151
|
+
$addEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
152
|
+
$removeEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
153
|
+
$removeEventListeners(): void;
|
|
154
|
+
}, 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>>, {
|
|
155
|
+
timeouts: number[];
|
|
156
|
+
}, {
|
|
157
|
+
$setTimeout(cb: Function, timeout?: number): number;
|
|
158
|
+
$clearTimeouts(): void;
|
|
159
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
160
|
+
export default _default;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { Timestamp } from '../../types';
|
|
4
|
+
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>>, {
|
|
5
|
+
classNames: {
|
|
6
|
+
xAxis: string;
|
|
7
|
+
xAxisDark: string;
|
|
8
|
+
xAxisOverview: string;
|
|
9
|
+
xAxisDetailed: string;
|
|
10
|
+
xAxisBackground: string;
|
|
11
|
+
eventGroup: string;
|
|
12
|
+
eventGroupBg: string;
|
|
13
|
+
eventGroupContent: string;
|
|
14
|
+
eventRect: string;
|
|
15
|
+
eventRectContainer: string;
|
|
16
|
+
eventBarContainer: string;
|
|
17
|
+
eventBarContainerHovered: string;
|
|
18
|
+
eventBarContainerSelected: string;
|
|
19
|
+
eventBar: string;
|
|
20
|
+
eventBarHoverZone: string;
|
|
21
|
+
eventBarCap: string;
|
|
22
|
+
eventRectText: string;
|
|
23
|
+
eventRectHovered: string;
|
|
24
|
+
eventRectSelected: string;
|
|
25
|
+
labelGroup: string;
|
|
26
|
+
labelBg: string;
|
|
27
|
+
labelBgFill: string;
|
|
28
|
+
labelText: string;
|
|
29
|
+
loadingIndicator: string;
|
|
30
|
+
_legacyLabelGroup: string;
|
|
31
|
+
_legacyLabelBg: string;
|
|
32
|
+
_legacyLabelBgFill: string;
|
|
33
|
+
_legacyLabelText: string;
|
|
34
|
+
_legacyLoadingIndicator: string;
|
|
35
|
+
selectedTimestampCursor: string;
|
|
36
|
+
marker: string;
|
|
37
|
+
markerLabel: string;
|
|
38
|
+
markerLine: string;
|
|
39
|
+
markerDragged: string;
|
|
40
|
+
milestone: string;
|
|
41
|
+
milestoneBullet: string;
|
|
42
|
+
milestoneDot: string;
|
|
43
|
+
milestoneContent: string;
|
|
44
|
+
milestoneLine: string;
|
|
45
|
+
milestonesContainer: string;
|
|
46
|
+
milestoneHovered: string;
|
|
47
|
+
milestoneSelected: string;
|
|
48
|
+
milestoneLabel: string;
|
|
49
|
+
milestoneDotContainer: string;
|
|
50
|
+
milestoneDotLine: string;
|
|
51
|
+
milestoneDotDot: string;
|
|
52
|
+
milestoneDotHovered: string;
|
|
53
|
+
barChartGroup: string;
|
|
54
|
+
lineGraphGroup: string;
|
|
55
|
+
lineGraphGroupLabel: string;
|
|
56
|
+
areaGraphPath: string;
|
|
57
|
+
lineGraphPath: string;
|
|
58
|
+
lineGraphHoverZone: string;
|
|
59
|
+
lineGraphDot: string;
|
|
60
|
+
forbiddenInterval: string;
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
repositionCursor(): void;
|
|
64
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
65
|
+
}, unknown, {
|
|
66
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
67
|
+
timestamp: string;
|
|
68
|
+
timezone: string;
|
|
69
|
+
height: number;
|
|
70
|
+
color: string;
|
|
71
|
+
width: number;
|
|
72
|
+
opacity: number;
|
|
73
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
74
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { Timestamp } from '../../types';
|
|
4
|
+
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>>, {
|
|
5
|
+
cursor: d3.Selection<HTMLElement, any, any, any>;
|
|
6
|
+
hoveredTimestamp: string | undefined;
|
|
7
|
+
isHoveringTimeline: boolean;
|
|
8
|
+
}, {
|
|
9
|
+
registerEventsListeners(): void;
|
|
10
|
+
handleMouseLeave(): void;
|
|
11
|
+
handleMouseMove(event: MouseEvent): void;
|
|
12
|
+
handleClick(event: MouseEvent): void;
|
|
13
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
14
|
+
dateToTzString(date: Date): string;
|
|
15
|
+
}, unknown, {
|
|
16
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
17
|
+
timezone: string;
|
|
18
|
+
minHoverZone: number;
|
|
19
|
+
isHoveringMilestone: boolean;
|
|
20
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,90 @@
|
|
|
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
|
+
classNames: {
|
|
4
|
+
xAxis: string;
|
|
5
|
+
xAxisDark: string;
|
|
6
|
+
xAxisOverview: string;
|
|
7
|
+
xAxisDetailed: string;
|
|
8
|
+
xAxisBackground: string;
|
|
9
|
+
eventGroup: string;
|
|
10
|
+
eventGroupBg: string;
|
|
11
|
+
eventGroupContent: string;
|
|
12
|
+
eventRect: string;
|
|
13
|
+
eventRectContainer: string;
|
|
14
|
+
eventBarContainer: string;
|
|
15
|
+
eventBarContainerHovered: string;
|
|
16
|
+
eventBarContainerSelected: string;
|
|
17
|
+
eventBar: string;
|
|
18
|
+
eventBarHoverZone: string;
|
|
19
|
+
eventBarCap: string;
|
|
20
|
+
eventRectText: string;
|
|
21
|
+
eventRectHovered: string;
|
|
22
|
+
eventRectSelected: string;
|
|
23
|
+
labelGroup: string;
|
|
24
|
+
labelBg: string;
|
|
25
|
+
labelBgFill: string;
|
|
26
|
+
labelText: string;
|
|
27
|
+
loadingIndicator: string;
|
|
28
|
+
_legacyLabelGroup: string;
|
|
29
|
+
_legacyLabelBg: string;
|
|
30
|
+
_legacyLabelBgFill: string;
|
|
31
|
+
_legacyLabelText: string;
|
|
32
|
+
_legacyLoadingIndicator: string;
|
|
33
|
+
selectedTimestampCursor: string;
|
|
34
|
+
marker: string;
|
|
35
|
+
markerLabel: string;
|
|
36
|
+
markerLine: string;
|
|
37
|
+
markerDragged: string;
|
|
38
|
+
milestone: string;
|
|
39
|
+
milestoneBullet: string;
|
|
40
|
+
milestoneDot: string;
|
|
41
|
+
milestoneContent: string;
|
|
42
|
+
milestoneLine: string;
|
|
43
|
+
milestonesContainer: string;
|
|
44
|
+
milestoneHovered: string;
|
|
45
|
+
milestoneSelected: string;
|
|
46
|
+
milestoneLabel: string;
|
|
47
|
+
milestoneDotContainer: string;
|
|
48
|
+
milestoneDotLine: string;
|
|
49
|
+
milestoneDotDot: string;
|
|
50
|
+
milestoneDotHovered: string;
|
|
51
|
+
barChartGroup: string;
|
|
52
|
+
lineGraphGroup: string;
|
|
53
|
+
lineGraphGroupLabel: string;
|
|
54
|
+
areaGraphPath: string;
|
|
55
|
+
lineGraphPath: string;
|
|
56
|
+
lineGraphHoverZone: string;
|
|
57
|
+
lineGraphDot: string;
|
|
58
|
+
forbiddenInterval: string;
|
|
59
|
+
};
|
|
60
|
+
characterWidth: number;
|
|
61
|
+
isHighlighted: boolean;
|
|
62
|
+
}, unknown, {
|
|
63
|
+
computedClasses: {
|
|
64
|
+
[key: string]: Record<string, boolean>;
|
|
65
|
+
};
|
|
66
|
+
computedLabelWidth: number;
|
|
67
|
+
textY: number;
|
|
68
|
+
contentX: number;
|
|
69
|
+
labelBackgroundColor: string;
|
|
70
|
+
textFillColor: string;
|
|
71
|
+
loadingIndicatorFill: string;
|
|
72
|
+
}, {
|
|
73
|
+
groupId: string;
|
|
74
|
+
label: string;
|
|
75
|
+
color: string;
|
|
76
|
+
backgroundColor: string;
|
|
77
|
+
x: number;
|
|
78
|
+
y: number;
|
|
79
|
+
height: number;
|
|
80
|
+
width: number;
|
|
81
|
+
showLabel: boolean;
|
|
82
|
+
labelWidth: number | undefined;
|
|
83
|
+
labelHeight: number | undefined;
|
|
84
|
+
labelRadius: number | undefined;
|
|
85
|
+
xPadding: number;
|
|
86
|
+
loading: boolean;
|
|
87
|
+
dark: boolean;
|
|
88
|
+
hidden: boolean;
|
|
89
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
90
|
+
export default _default;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { TimelineEvent, TimelineEventsGroup, Timestamp } from '../../types';
|
|
4
|
+
type ComputedEventRect = {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
color: string;
|
|
10
|
+
textX: number;
|
|
11
|
+
textY: number;
|
|
12
|
+
textColor: string;
|
|
13
|
+
textContent: string;
|
|
14
|
+
};
|
|
15
|
+
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>>, {
|
|
16
|
+
classNames: {
|
|
17
|
+
xAxis: string;
|
|
18
|
+
xAxisDark: string;
|
|
19
|
+
xAxisOverview: string;
|
|
20
|
+
xAxisDetailed: string;
|
|
21
|
+
xAxisBackground: string;
|
|
22
|
+
eventGroup: string;
|
|
23
|
+
eventGroupBg: string;
|
|
24
|
+
eventGroupContent: string;
|
|
25
|
+
eventRect: string;
|
|
26
|
+
eventRectContainer: string;
|
|
27
|
+
eventBarContainer: string;
|
|
28
|
+
eventBarContainerHovered: string;
|
|
29
|
+
eventBarContainerSelected: string;
|
|
30
|
+
eventBar: string;
|
|
31
|
+
eventBarHoverZone: string;
|
|
32
|
+
eventBarCap: string;
|
|
33
|
+
eventRectText: string;
|
|
34
|
+
eventRectHovered: string;
|
|
35
|
+
eventRectSelected: string;
|
|
36
|
+
labelGroup: string;
|
|
37
|
+
labelBg: string;
|
|
38
|
+
labelBgFill: string;
|
|
39
|
+
labelText: string;
|
|
40
|
+
loadingIndicator: string;
|
|
41
|
+
_legacyLabelGroup: string;
|
|
42
|
+
_legacyLabelBg: string;
|
|
43
|
+
_legacyLabelBgFill: string;
|
|
44
|
+
_legacyLabelText: string;
|
|
45
|
+
_legacyLoadingIndicator: string;
|
|
46
|
+
selectedTimestampCursor: string;
|
|
47
|
+
marker: string;
|
|
48
|
+
markerLabel: string;
|
|
49
|
+
markerLine: string;
|
|
50
|
+
markerDragged: string;
|
|
51
|
+
milestone: string;
|
|
52
|
+
milestoneBullet: string;
|
|
53
|
+
milestoneDot: string;
|
|
54
|
+
milestoneContent: string;
|
|
55
|
+
milestoneLine: string;
|
|
56
|
+
milestonesContainer: string;
|
|
57
|
+
milestoneHovered: string;
|
|
58
|
+
milestoneSelected: string;
|
|
59
|
+
milestoneLabel: string;
|
|
60
|
+
milestoneDotContainer: string;
|
|
61
|
+
milestoneDotLine: string;
|
|
62
|
+
milestoneDotDot: string;
|
|
63
|
+
milestoneDotHovered: string;
|
|
64
|
+
barChartGroup: string;
|
|
65
|
+
lineGraphGroup: string;
|
|
66
|
+
lineGraphGroupLabel: string;
|
|
67
|
+
areaGraphPath: string;
|
|
68
|
+
lineGraphPath: string;
|
|
69
|
+
lineGraphHoverZone: string;
|
|
70
|
+
lineGraphDot: string;
|
|
71
|
+
forbiddenInterval: string;
|
|
72
|
+
};
|
|
73
|
+
characterWidth: number;
|
|
74
|
+
textPadding: number;
|
|
75
|
+
}, {
|
|
76
|
+
onMouseOver(e: MouseEvent, eventData: TimelineEvent, type: string): void;
|
|
77
|
+
onMouseLeave(e: MouseEvent): void;
|
|
78
|
+
getEventText(e: TimelineEvent, textPadding: number, characterWidth: number): string;
|
|
79
|
+
getEventRectWidth(d: TimelineEvent, timeScale: d3.ScaleTime<any, any, unknown>, rectMinWidth: number): number;
|
|
80
|
+
getEventRectX(d: TimelineEvent, timeScale: d3.ScaleTime<any, any, unknown>): any;
|
|
81
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
82
|
+
dateToTzString(date: Date): string;
|
|
83
|
+
getFillColor(baseColor: string, k?: number, dark?: boolean): string;
|
|
84
|
+
}, {
|
|
85
|
+
rectStrokeWidth: number;
|
|
86
|
+
rectRx: number | undefined;
|
|
87
|
+
rectRy: number | undefined;
|
|
88
|
+
yPosition: number;
|
|
89
|
+
rectStroke: string | undefined;
|
|
90
|
+
rectHeight: number;
|
|
91
|
+
computedEvents: ComputedEventRect[];
|
|
92
|
+
timeScaleDensity: number;
|
|
93
|
+
}, {
|
|
94
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
95
|
+
eventsGroup: TimelineEventsGroup;
|
|
96
|
+
groupId: string;
|
|
97
|
+
x: number;
|
|
98
|
+
y: number;
|
|
99
|
+
height: number;
|
|
100
|
+
width: number;
|
|
101
|
+
rectMinWidth: number;
|
|
102
|
+
rectYPadding: number;
|
|
103
|
+
dark: boolean;
|
|
104
|
+
showLabel: boolean;
|
|
105
|
+
labelWidth: number | undefined;
|
|
106
|
+
timezone: string | undefined;
|
|
107
|
+
dots: boolean;
|
|
108
|
+
dotsSize: number;
|
|
109
|
+
barBorderRadius: number;
|
|
110
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
111
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
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>>, {}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { TimelineTicksConfig } from '../../types';
|
|
4
|
+
type TicksConfig = {
|
|
5
|
+
formatFn: (d: Date) => string;
|
|
6
|
+
interval: any;
|
|
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>>, {
|
|
9
|
+
classNames: {
|
|
10
|
+
xAxis: string;
|
|
11
|
+
xAxisDark: string;
|
|
12
|
+
xAxisOverview: string;
|
|
13
|
+
xAxisDetailed: string;
|
|
14
|
+
xAxisBackground: string;
|
|
15
|
+
eventGroup: string;
|
|
16
|
+
eventGroupBg: string;
|
|
17
|
+
eventGroupContent: string;
|
|
18
|
+
eventRect: string;
|
|
19
|
+
eventRectContainer: string;
|
|
20
|
+
eventBarContainer: string;
|
|
21
|
+
eventBarContainerHovered: string;
|
|
22
|
+
eventBarContainerSelected: string;
|
|
23
|
+
eventBar: string;
|
|
24
|
+
eventBarHoverZone: string;
|
|
25
|
+
eventBarCap: string;
|
|
26
|
+
eventRectText: string;
|
|
27
|
+
eventRectHovered: string;
|
|
28
|
+
eventRectSelected: string;
|
|
29
|
+
labelGroup: string;
|
|
30
|
+
labelBg: string;
|
|
31
|
+
labelBgFill: string;
|
|
32
|
+
labelText: string;
|
|
33
|
+
loadingIndicator: string;
|
|
34
|
+
_legacyLabelGroup: string;
|
|
35
|
+
_legacyLabelBg: string;
|
|
36
|
+
_legacyLabelBgFill: string;
|
|
37
|
+
_legacyLabelText: string;
|
|
38
|
+
_legacyLoadingIndicator: string;
|
|
39
|
+
selectedTimestampCursor: string;
|
|
40
|
+
marker: string;
|
|
41
|
+
markerLabel: string;
|
|
42
|
+
markerLine: string;
|
|
43
|
+
markerDragged: string;
|
|
44
|
+
milestone: string;
|
|
45
|
+
milestoneBullet: string;
|
|
46
|
+
milestoneDot: string;
|
|
47
|
+
milestoneContent: string;
|
|
48
|
+
milestoneLine: string;
|
|
49
|
+
milestonesContainer: string;
|
|
50
|
+
milestoneHovered: string;
|
|
51
|
+
milestoneSelected: string;
|
|
52
|
+
milestoneLabel: string;
|
|
53
|
+
milestoneDotContainer: string;
|
|
54
|
+
milestoneDotLine: string;
|
|
55
|
+
milestoneDotDot: string;
|
|
56
|
+
milestoneDotHovered: string;
|
|
57
|
+
barChartGroup: string;
|
|
58
|
+
lineGraphGroup: string;
|
|
59
|
+
lineGraphGroupLabel: string;
|
|
60
|
+
areaGraphPath: string;
|
|
61
|
+
lineGraphPath: string;
|
|
62
|
+
lineGraphHoverZone: string;
|
|
63
|
+
lineGraphDot: string;
|
|
64
|
+
forbiddenInterval: string;
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
update(): void;
|
|
68
|
+
translateTicksText(): void;
|
|
69
|
+
updateTicksSize(): void;
|
|
70
|
+
}, {
|
|
71
|
+
classes: Record<string, boolean>;
|
|
72
|
+
axis: d3.Axis<Date>;
|
|
73
|
+
density: number;
|
|
74
|
+
currentTicksConfig: TicksConfig;
|
|
75
|
+
}, {
|
|
76
|
+
ticksConfigs: TimelineTicksConfig[];
|
|
77
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
78
|
+
x: number;
|
|
79
|
+
y: number;
|
|
80
|
+
height: number;
|
|
81
|
+
dark: boolean;
|
|
82
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
83
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
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>>, {
|
|
4
|
+
classNames: {
|
|
5
|
+
xAxis: string;
|
|
6
|
+
xAxisDark: string;
|
|
7
|
+
xAxisOverview: string;
|
|
8
|
+
xAxisDetailed: string;
|
|
9
|
+
xAxisBackground: string;
|
|
10
|
+
eventGroup: string;
|
|
11
|
+
eventGroupBg: string;
|
|
12
|
+
eventGroupContent: string;
|
|
13
|
+
eventRect: string;
|
|
14
|
+
eventRectContainer: string;
|
|
15
|
+
eventBarContainer: string;
|
|
16
|
+
eventBarContainerHovered: string;
|
|
17
|
+
eventBarContainerSelected: string;
|
|
18
|
+
eventBar: string;
|
|
19
|
+
eventBarHoverZone: string;
|
|
20
|
+
eventBarCap: string;
|
|
21
|
+
eventRectText: string;
|
|
22
|
+
eventRectHovered: string;
|
|
23
|
+
eventRectSelected: string;
|
|
24
|
+
labelGroup: string;
|
|
25
|
+
labelBg: string;
|
|
26
|
+
labelBgFill: string;
|
|
27
|
+
labelText: string;
|
|
28
|
+
loadingIndicator: string;
|
|
29
|
+
_legacyLabelGroup: string;
|
|
30
|
+
_legacyLabelBg: string;
|
|
31
|
+
_legacyLabelBgFill: string;
|
|
32
|
+
_legacyLabelText: string;
|
|
33
|
+
_legacyLoadingIndicator: string;
|
|
34
|
+
selectedTimestampCursor: string;
|
|
35
|
+
marker: string;
|
|
36
|
+
markerLabel: string;
|
|
37
|
+
markerLine: string;
|
|
38
|
+
markerDragged: string;
|
|
39
|
+
milestone: string;
|
|
40
|
+
milestoneBullet: string;
|
|
41
|
+
milestoneDot: string;
|
|
42
|
+
milestoneContent: string;
|
|
43
|
+
milestoneLine: string;
|
|
44
|
+
milestonesContainer: string;
|
|
45
|
+
milestoneHovered: string;
|
|
46
|
+
milestoneSelected: string;
|
|
47
|
+
milestoneLabel: string;
|
|
48
|
+
milestoneDotContainer: string;
|
|
49
|
+
milestoneDotLine: string;
|
|
50
|
+
milestoneDotDot: string;
|
|
51
|
+
milestoneDotHovered: string;
|
|
52
|
+
barChartGroup: string;
|
|
53
|
+
lineGraphGroup: string;
|
|
54
|
+
lineGraphGroupLabel: string;
|
|
55
|
+
areaGraphPath: string;
|
|
56
|
+
lineGraphPath: string;
|
|
57
|
+
lineGraphHoverZone: string;
|
|
58
|
+
lineGraphDot: string;
|
|
59
|
+
forbiddenInterval: string;
|
|
60
|
+
};
|
|
61
|
+
ticksConfigs: import('../../types').TimelineTicksConfig[];
|
|
62
|
+
}, unknown, unknown, {
|
|
63
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
64
|
+
x: number;
|
|
65
|
+
y: number;
|
|
66
|
+
height: number;
|
|
67
|
+
dark: boolean;
|
|
68
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
69
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
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>>, {
|
|
4
|
+
classNames: {
|
|
5
|
+
xAxis: string;
|
|
6
|
+
xAxisDark: string;
|
|
7
|
+
xAxisOverview: string;
|
|
8
|
+
xAxisDetailed: string;
|
|
9
|
+
xAxisBackground: string;
|
|
10
|
+
eventGroup: string;
|
|
11
|
+
eventGroupBg: string;
|
|
12
|
+
eventGroupContent: string;
|
|
13
|
+
eventRect: string;
|
|
14
|
+
eventRectContainer: string;
|
|
15
|
+
eventBarContainer: string;
|
|
16
|
+
eventBarContainerHovered: string;
|
|
17
|
+
eventBarContainerSelected: string;
|
|
18
|
+
eventBar: string;
|
|
19
|
+
eventBarHoverZone: string;
|
|
20
|
+
eventBarCap: string;
|
|
21
|
+
eventRectText: string;
|
|
22
|
+
eventRectHovered: string;
|
|
23
|
+
eventRectSelected: string;
|
|
24
|
+
labelGroup: string;
|
|
25
|
+
labelBg: string;
|
|
26
|
+
labelBgFill: string;
|
|
27
|
+
labelText: string;
|
|
28
|
+
loadingIndicator: string;
|
|
29
|
+
_legacyLabelGroup: string;
|
|
30
|
+
_legacyLabelBg: string;
|
|
31
|
+
_legacyLabelBgFill: string;
|
|
32
|
+
_legacyLabelText: string;
|
|
33
|
+
_legacyLoadingIndicator: string;
|
|
34
|
+
selectedTimestampCursor: string;
|
|
35
|
+
marker: string;
|
|
36
|
+
markerLabel: string;
|
|
37
|
+
markerLine: string;
|
|
38
|
+
markerDragged: string;
|
|
39
|
+
milestone: string;
|
|
40
|
+
milestoneBullet: string;
|
|
41
|
+
milestoneDot: string;
|
|
42
|
+
milestoneContent: string;
|
|
43
|
+
milestoneLine: string;
|
|
44
|
+
milestonesContainer: string;
|
|
45
|
+
milestoneHovered: string;
|
|
46
|
+
milestoneSelected: string;
|
|
47
|
+
milestoneLabel: string;
|
|
48
|
+
milestoneDotContainer: string;
|
|
49
|
+
milestoneDotLine: string;
|
|
50
|
+
milestoneDotDot: string;
|
|
51
|
+
milestoneDotHovered: string;
|
|
52
|
+
barChartGroup: string;
|
|
53
|
+
lineGraphGroup: string;
|
|
54
|
+
lineGraphGroupLabel: string;
|
|
55
|
+
areaGraphPath: string;
|
|
56
|
+
lineGraphPath: string;
|
|
57
|
+
lineGraphHoverZone: string;
|
|
58
|
+
lineGraphDot: string;
|
|
59
|
+
forbiddenInterval: string;
|
|
60
|
+
};
|
|
61
|
+
ticksConfigs: import('../../types').TimelineTicksConfig[];
|
|
62
|
+
}, unknown, unknown, {
|
|
63
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
64
|
+
x: number;
|
|
65
|
+
y: number;
|
|
66
|
+
height: number;
|
|
67
|
+
dark: boolean;
|
|
68
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
69
|
+
export default _default;
|