@evercam/ui 0.0.63-Add-timeline-test-2d1f69478 → 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 +2 -0
- package/README.md +0 -2
- package/dist/attributes.json +62 -9
- package/dist/components/EExpandableMenu.vue.d.ts +4 -2
- package/dist/components/EImagePlayer.vue.d.ts +1 -2
- package/dist/components/EPulsatingDot.vue.d.ts +1 -0
- package/dist/components/ERadioGroup.vue.d.ts +22 -0
- package/dist/components/EToggleSwitch.vue.d.ts +12 -14
- package/dist/components/EVoiceInput.vue.d.ts +49 -0
- package/dist/components/EVoiceInputVolumeIndicator.vue.d.ts +13 -0
- package/dist/components/charts/ECursor.vue.d.ts +6 -1
- package/dist/components/charts/ETimelineGroupContainer.vue.d.ts +90 -0
- package/dist/components/charts/ETimelineRectsChart.vue.d.ts +111 -0
- package/dist/components/charts/EXAxis.vue.d.ts +6 -1
- package/dist/components/charts/EXAxisBackground.vue.d.ts +6 -1
- package/dist/components/charts/EXAxisDetailed.vue.d.ts +6 -1
- package/dist/components/charts/EXAxisOverview.vue.d.ts +6 -1
- package/dist/components/charts/EZoomBehavior.vue.d.ts +2 -2
- package/dist/components/charts/constants.d.ts +6 -1
- package/dist/components/chat/EChat.vue.d.ts +4 -2
- package/dist/components/chat/EChatInput.vue.d.ts +3 -0
- package/dist/components/chat/EChatMessage.vue.d.ts +3 -3
- package/dist/components/chat/EChatSuggestionCard.vue.d.ts +2 -1
- package/dist/components/timeline/ETimeline.vue.d.ts +5 -58
- package/dist/components/timeline/ETimelineMilestone.vue.d.ts +14 -2
- package/dist/index.d.ts +115 -96
- package/dist/index.mjs +4403 -3900
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +17 -18
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles.css +17 -9
- package/dist/tags.json +26 -5
- package/dist/types.d.ts +20 -8
- package/dist/web-types.json +139 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -22,3 +22,5 @@
|
|
|
22
22
|
|
|
23
23
|
- updating package version to 0.0.58-preview-evercam-ui-ci-00c612b81 ([b0c521577](https://github.com/evercam/evercam-frontend/commit/b0c5215773e22c06ae410a0974e6baf020374b27))
|
|
24
24
|
- feat: create release script for evercam-ui ([00c612b81](https://github.com/evercam/evercam-frontend/commit/00c612b81e68653aaf6bc9dcfd5a098426089811))
|
|
25
|
+
|
|
26
|
+
// trigger a release
|
package/README.md
CHANGED
package/dist/attributes.json
CHANGED
|
@@ -315,11 +315,6 @@
|
|
|
315
315
|
"description": "",
|
|
316
316
|
"default": true
|
|
317
317
|
},
|
|
318
|
-
"ETimeline/curtains": {
|
|
319
|
-
"type": "boolean",
|
|
320
|
-
"description": "",
|
|
321
|
-
"default": false
|
|
322
|
-
},
|
|
323
318
|
"ETimeline/show-labels": {
|
|
324
319
|
"type": "boolean",
|
|
325
320
|
"description": "",
|
|
@@ -625,15 +620,15 @@
|
|
|
625
620
|
"description": "",
|
|
626
621
|
"default": "sm"
|
|
627
622
|
},
|
|
628
|
-
"EToggleSwitch/
|
|
623
|
+
"EToggleSwitch/value": {
|
|
629
624
|
"type": "string|number|boolean",
|
|
630
625
|
"description": "",
|
|
631
626
|
"default": null
|
|
632
627
|
},
|
|
633
|
-
"EToggleSwitch/
|
|
634
|
-
"type": "
|
|
628
|
+
"EToggleSwitch/disabled": {
|
|
629
|
+
"type": "boolean",
|
|
635
630
|
"description": "",
|
|
636
|
-
"default":
|
|
631
|
+
"default": false
|
|
637
632
|
},
|
|
638
633
|
"EExpandableMenu/padding": {
|
|
639
634
|
"type": "number",
|
|
@@ -817,6 +812,11 @@
|
|
|
817
812
|
"description": "",
|
|
818
813
|
"default": null
|
|
819
814
|
},
|
|
815
|
+
"EImagePlayer/preloading-queue-id": {
|
|
816
|
+
"type": "number",
|
|
817
|
+
"description": "",
|
|
818
|
+
"default": 0
|
|
819
|
+
},
|
|
820
820
|
"EZoomableImg/src": {
|
|
821
821
|
"type": "string",
|
|
822
822
|
"description": "",
|
|
@@ -1090,6 +1090,11 @@
|
|
|
1090
1090
|
"type": "object",
|
|
1091
1091
|
"description": ""
|
|
1092
1092
|
},
|
|
1093
|
+
"EChat/silence-timeout": {
|
|
1094
|
+
"type": "number",
|
|
1095
|
+
"description": "",
|
|
1096
|
+
"default": 1500
|
|
1097
|
+
},
|
|
1093
1098
|
"ECopyToClipboardBtn/text": {
|
|
1094
1099
|
"type": "function|string|number",
|
|
1095
1100
|
"description": ""
|
|
@@ -1123,5 +1128,53 @@
|
|
|
1123
1128
|
"type": "boolean",
|
|
1124
1129
|
"description": "",
|
|
1125
1130
|
"default": true
|
|
1131
|
+
},
|
|
1132
|
+
"EVoiceRecorderToText/value": {
|
|
1133
|
+
"type": "string",
|
|
1134
|
+
"description": "",
|
|
1135
|
+
"default": ""
|
|
1136
|
+
},
|
|
1137
|
+
"EVoiceRecorderToText/dark": {
|
|
1138
|
+
"type": "boolean",
|
|
1139
|
+
"description": "",
|
|
1140
|
+
"default": false
|
|
1141
|
+
},
|
|
1142
|
+
"EVoiceRecorderToText/disabled": {
|
|
1143
|
+
"type": "boolean",
|
|
1144
|
+
"description": "",
|
|
1145
|
+
"default": false
|
|
1146
|
+
},
|
|
1147
|
+
"EVoiceRecorderToText/icon-size": {
|
|
1148
|
+
"type": "number",
|
|
1149
|
+
"description": "",
|
|
1150
|
+
"default": 10
|
|
1151
|
+
},
|
|
1152
|
+
"EVoiceRecorderToText/silence-timeout": {
|
|
1153
|
+
"type": "number",
|
|
1154
|
+
"description": "",
|
|
1155
|
+
"default": 1500
|
|
1156
|
+
},
|
|
1157
|
+
"ERadioGroup/dark": {
|
|
1158
|
+
"type": "boolean",
|
|
1159
|
+
"description": "",
|
|
1160
|
+
"default": false
|
|
1161
|
+
},
|
|
1162
|
+
"ERadioGroup/value": {
|
|
1163
|
+
"type": "number|string|boolean",
|
|
1164
|
+
"description": ""
|
|
1165
|
+
},
|
|
1166
|
+
"ERadioGroup/options": {
|
|
1167
|
+
"type": "array",
|
|
1168
|
+
"description": ""
|
|
1169
|
+
},
|
|
1170
|
+
"ERadioGroup/disabled": {
|
|
1171
|
+
"type": "boolean",
|
|
1172
|
+
"description": "",
|
|
1173
|
+
"default": false
|
|
1174
|
+
},
|
|
1175
|
+
"ERadioGroup/with-description": {
|
|
1176
|
+
"type": "boolean",
|
|
1177
|
+
"description": "",
|
|
1178
|
+
"default": true
|
|
1126
1179
|
}
|
|
1127
1180
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
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
|
-
|
|
3
|
+
isMenuOpened: boolean;
|
|
4
4
|
touched: boolean;
|
|
5
5
|
baseSize: {};
|
|
6
|
+
menuObserver: MutationObserver;
|
|
6
7
|
}, {
|
|
7
8
|
toggleMenu(): void;
|
|
8
|
-
|
|
9
|
+
adjustButtonsPositions(): void;
|
|
10
|
+
observeMenuContentChanges(): void;
|
|
9
11
|
}, {
|
|
10
12
|
row: boolean;
|
|
11
13
|
reverse: boolean;
|
|
@@ -8,7 +8,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
8
8
|
image: HTMLImageElement | null;
|
|
9
9
|
previousSrc: string;
|
|
10
10
|
resolveImageLoadingPromise: (value?: any) => any;
|
|
11
|
-
preloadingQueueId: number;
|
|
12
11
|
preloadedFrames: number[];
|
|
13
12
|
preloadingFramesImgs: HTMLImageElement[];
|
|
14
13
|
frameError: boolean;
|
|
@@ -22,7 +21,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
22
21
|
progressBar: HTMLDivElement | null;
|
|
23
22
|
isDraggingCursor: boolean;
|
|
24
23
|
hovered: boolean;
|
|
25
|
-
timePerFrameValue: number;
|
|
26
24
|
mousePosition: {
|
|
27
25
|
x: number;
|
|
28
26
|
y: number;
|
|
@@ -113,6 +111,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
113
111
|
isZoomable: boolean;
|
|
114
112
|
isAnnotationActive: boolean;
|
|
115
113
|
aspectRatio: number;
|
|
114
|
+
preloadingQueueId: number;
|
|
116
115
|
}, {}, 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>>, {
|
|
117
116
|
eventListeners: import("../mixins/event-listeners").IEventListener[];
|
|
118
117
|
}, {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { type ERadioGroupOption } from '../types';
|
|
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
|
+
checkedIndex: number | null;
|
|
5
|
+
}, {
|
|
6
|
+
setInitialValueIfNone(): void;
|
|
7
|
+
onItemClick(index: number): void;
|
|
8
|
+
isSelected(index: number): boolean;
|
|
9
|
+
showDescription(index: number): boolean;
|
|
10
|
+
containerClasses(index: number): (string | Record<string, boolean>)[];
|
|
11
|
+
}, {
|
|
12
|
+
selectedOption: ERadioGroupOption;
|
|
13
|
+
radioItemClasses: Record<string, boolean>;
|
|
14
|
+
selectedItemClasses: string;
|
|
15
|
+
}, {
|
|
16
|
+
dark: boolean;
|
|
17
|
+
value: string | number | boolean;
|
|
18
|
+
options: ERadioGroupOption[];
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
withDescription: boolean;
|
|
21
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
22
|
+
export default _default;
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { Size } from '../types';
|
|
3
|
-
export interface EToggleSwitchOption {
|
|
4
|
-
title: string;
|
|
5
|
-
value: any;
|
|
6
|
-
}
|
|
7
|
-
export type CssClassMap = Record<string, boolean>;
|
|
2
|
+
import { type CssClassMap, Size } from '../types';
|
|
8
3
|
type SizeClasses = {
|
|
9
4
|
container: CssClassMap;
|
|
10
5
|
button: CssClassMap;
|
|
11
6
|
text: CssClassMap;
|
|
12
7
|
};
|
|
13
|
-
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>>,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
+
checkedIndex: number | null;
|
|
10
|
+
}, {
|
|
11
|
+
setInitialValue(): void;
|
|
12
|
+
getButtonClasses(index: number): {
|
|
13
|
+
"e-border-none e-text-gray-100 e-rounded-md e-shadow e-transition e-duration-200 e-ease-in-out e-cursor-pointer": boolean;
|
|
17
14
|
"e-bg-inherit": boolean;
|
|
18
15
|
"e-bg-brand-600": boolean;
|
|
19
16
|
"e-bg-gray-600": boolean;
|
|
20
17
|
"e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
|
|
21
18
|
};
|
|
22
|
-
|
|
19
|
+
isSelected(index: number): boolean;
|
|
20
|
+
onItemClick(index: number): void;
|
|
23
21
|
}, {
|
|
22
|
+
selectedOption: Record<string, any>;
|
|
24
23
|
sizeClasses: SizeClasses;
|
|
25
24
|
containerClasses: CssClassMap;
|
|
26
25
|
textClasses: CssClassMap;
|
|
27
|
-
buttonBaseClasses: CssClassMap;
|
|
28
26
|
}, {
|
|
29
|
-
options:
|
|
27
|
+
options: import('../types').ESelectionGroupOption[];
|
|
30
28
|
color: string;
|
|
31
29
|
size: Size;
|
|
32
|
-
defaultValue: string | number | boolean;
|
|
33
30
|
value: string | number | boolean;
|
|
31
|
+
disabled: boolean;
|
|
34
32
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
35
33
|
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
type SpeechRecognitionEvent = Event & {
|
|
3
|
+
resultIndex: number;
|
|
4
|
+
results: {
|
|
5
|
+
isFinal: boolean;
|
|
6
|
+
[key: number]: {
|
|
7
|
+
transcript: string;
|
|
8
|
+
};
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
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>>, {
|
|
12
|
+
recognition: any;
|
|
13
|
+
isListening: boolean;
|
|
14
|
+
interimTranscript: string;
|
|
15
|
+
finalTranscript: string;
|
|
16
|
+
analyser: AnalyserNode | null;
|
|
17
|
+
audioContext: AudioContext | null;
|
|
18
|
+
mediaStream: MediaStream | null;
|
|
19
|
+
mediaStreamSource: MediaStreamAudioSourceNode | null;
|
|
20
|
+
silenceTimer: number | null;
|
|
21
|
+
}, {
|
|
22
|
+
initSpeechRecognition(): void;
|
|
23
|
+
toggleListening(): Promise<void>;
|
|
24
|
+
setupVolume(): Promise<void>;
|
|
25
|
+
stopListening(): void;
|
|
26
|
+
flushMediaStream(): void;
|
|
27
|
+
handleResult(event: SpeechRecognitionEvent): void;
|
|
28
|
+
handleEnd(): void;
|
|
29
|
+
handleSpeechEnd(): void;
|
|
30
|
+
submitTranscript(): void;
|
|
31
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
32
|
+
handleError(event: Record<string, string>): void;
|
|
33
|
+
}, {
|
|
34
|
+
currentTranscript: string;
|
|
35
|
+
buttonClasses: Record<string, boolean>;
|
|
36
|
+
}, {
|
|
37
|
+
value: string;
|
|
38
|
+
dark: boolean;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
iconSize: number;
|
|
41
|
+
silenceTimeout: number;
|
|
42
|
+
}, {}, 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>>, {
|
|
43
|
+
eventListeners: import("../mixins/event-listeners").IEventListener[];
|
|
44
|
+
}, {
|
|
45
|
+
$addEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
46
|
+
$removeEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
47
|
+
$removeEventListeners(): void;
|
|
48
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
49
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
volume: number;
|
|
4
|
+
animationFrameId: number;
|
|
5
|
+
}, {
|
|
6
|
+
startVolumeMonitoring(): void;
|
|
7
|
+
updateVolume(): void;
|
|
8
|
+
stopVolumeMonitoring(): void;
|
|
9
|
+
}, unknown, {
|
|
10
|
+
isListening: boolean;
|
|
11
|
+
analyser: AnalyserNode | null;
|
|
12
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
13
|
+
export default _default;
|
|
@@ -27,6 +27,11 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
27
27
|
labelBgFill: string;
|
|
28
28
|
labelText: string;
|
|
29
29
|
loadingIndicator: string;
|
|
30
|
+
_legacyLabelGroup: string;
|
|
31
|
+
_legacyLabelBg: string;
|
|
32
|
+
_legacyLabelBgFill: string;
|
|
33
|
+
_legacyLabelText: string;
|
|
34
|
+
_legacyLoadingIndicator: string;
|
|
30
35
|
selectedTimestampCursor: string;
|
|
31
36
|
marker: string;
|
|
32
37
|
markerLabel: string;
|
|
@@ -48,10 +53,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
48
53
|
barChartGroup: string;
|
|
49
54
|
lineGraphGroup: string;
|
|
50
55
|
lineGraphGroupLabel: string;
|
|
56
|
+
areaGraphPath: string;
|
|
51
57
|
lineGraphPath: string;
|
|
52
58
|
lineGraphHoverZone: string;
|
|
53
59
|
lineGraphDot: string;
|
|
54
|
-
curtain: string;
|
|
55
60
|
forbiddenInterval: string;
|
|
56
61
|
};
|
|
57
62
|
}, {
|
|
@@ -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;
|
|
@@ -31,6 +31,11 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
31
31
|
labelBgFill: string;
|
|
32
32
|
labelText: string;
|
|
33
33
|
loadingIndicator: string;
|
|
34
|
+
_legacyLabelGroup: string;
|
|
35
|
+
_legacyLabelBg: string;
|
|
36
|
+
_legacyLabelBgFill: string;
|
|
37
|
+
_legacyLabelText: string;
|
|
38
|
+
_legacyLoadingIndicator: string;
|
|
34
39
|
selectedTimestampCursor: string;
|
|
35
40
|
marker: string;
|
|
36
41
|
markerLabel: string;
|
|
@@ -52,10 +57,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
52
57
|
barChartGroup: string;
|
|
53
58
|
lineGraphGroup: string;
|
|
54
59
|
lineGraphGroupLabel: string;
|
|
60
|
+
areaGraphPath: string;
|
|
55
61
|
lineGraphPath: string;
|
|
56
62
|
lineGraphHoverZone: string;
|
|
57
63
|
lineGraphDot: string;
|
|
58
|
-
curtain: string;
|
|
59
64
|
forbiddenInterval: string;
|
|
60
65
|
};
|
|
61
66
|
}, {
|
|
@@ -26,6 +26,11 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
26
26
|
labelBgFill: string;
|
|
27
27
|
labelText: string;
|
|
28
28
|
loadingIndicator: string;
|
|
29
|
+
_legacyLabelGroup: string;
|
|
30
|
+
_legacyLabelBg: string;
|
|
31
|
+
_legacyLabelBgFill: string;
|
|
32
|
+
_legacyLabelText: string;
|
|
33
|
+
_legacyLoadingIndicator: string;
|
|
29
34
|
selectedTimestampCursor: string;
|
|
30
35
|
marker: string;
|
|
31
36
|
markerLabel: string;
|
|
@@ -47,10 +52,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
47
52
|
barChartGroup: string;
|
|
48
53
|
lineGraphGroup: string;
|
|
49
54
|
lineGraphGroupLabel: string;
|
|
55
|
+
areaGraphPath: string;
|
|
50
56
|
lineGraphPath: string;
|
|
51
57
|
lineGraphHoverZone: string;
|
|
52
58
|
lineGraphDot: string;
|
|
53
|
-
curtain: string;
|
|
54
59
|
forbiddenInterval: string;
|
|
55
60
|
};
|
|
56
61
|
ticksConfigs: import('../../types').TimelineTicksConfig[];
|
|
@@ -26,6 +26,11 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
26
26
|
labelBgFill: string;
|
|
27
27
|
labelText: string;
|
|
28
28
|
loadingIndicator: string;
|
|
29
|
+
_legacyLabelGroup: string;
|
|
30
|
+
_legacyLabelBg: string;
|
|
31
|
+
_legacyLabelBgFill: string;
|
|
32
|
+
_legacyLabelText: string;
|
|
33
|
+
_legacyLoadingIndicator: string;
|
|
29
34
|
selectedTimestampCursor: string;
|
|
30
35
|
marker: string;
|
|
31
36
|
markerLabel: string;
|
|
@@ -47,10 +52,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
47
52
|
barChartGroup: string;
|
|
48
53
|
lineGraphGroup: string;
|
|
49
54
|
lineGraphGroupLabel: string;
|
|
55
|
+
areaGraphPath: string;
|
|
50
56
|
lineGraphPath: string;
|
|
51
57
|
lineGraphHoverZone: string;
|
|
52
58
|
lineGraphDot: string;
|
|
53
|
-
curtain: string;
|
|
54
59
|
forbiddenInterval: string;
|
|
55
60
|
};
|
|
56
61
|
ticksConfigs: import('../../types').TimelineTicksConfig[];
|
|
@@ -26,6 +26,11 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
26
26
|
labelBgFill: string;
|
|
27
27
|
labelText: string;
|
|
28
28
|
loadingIndicator: string;
|
|
29
|
+
_legacyLabelGroup: string;
|
|
30
|
+
_legacyLabelBg: string;
|
|
31
|
+
_legacyLabelBgFill: string;
|
|
32
|
+
_legacyLabelText: string;
|
|
33
|
+
_legacyLoadingIndicator: string;
|
|
29
34
|
selectedTimestampCursor: string;
|
|
30
35
|
marker: string;
|
|
31
36
|
markerLabel: string;
|
|
@@ -47,10 +52,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
47
52
|
barChartGroup: string;
|
|
48
53
|
lineGraphGroup: string;
|
|
49
54
|
lineGraphGroupLabel: string;
|
|
55
|
+
areaGraphPath: string;
|
|
50
56
|
lineGraphPath: string;
|
|
51
57
|
lineGraphHoverZone: string;
|
|
52
58
|
lineGraphDot: string;
|
|
53
|
-
curtain: string;
|
|
54
59
|
forbiddenInterval: string;
|
|
55
60
|
};
|
|
56
61
|
ticksConfigs: import('../../types').TimelineTicksConfig[];
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
37
37
|
translateIntervalIntoView(minTimestamp: number, maxTimestamp: number, scaleFactor: number): void;
|
|
38
38
|
emitTimeScaleChange(): void;
|
|
39
39
|
emitFocusedDomainChange(): void;
|
|
40
|
-
panToTimestamp(targetTimestamp: string | Date): void;
|
|
40
|
+
panToTimestamp(targetTimestamp: string | Date | number): void;
|
|
41
41
|
updateBoundaries(isLeftReached: boolean, isRightReached: boolean): void;
|
|
42
42
|
resetBoundaries(): void;
|
|
43
43
|
}, {
|
|
@@ -53,6 +53,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
53
53
|
disabled: boolean;
|
|
54
54
|
scalingDuration: number;
|
|
55
55
|
translationDuration: number;
|
|
56
|
-
focusedTimestamp: string;
|
|
56
|
+
focusedTimestamp: string | number;
|
|
57
57
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
58
58
|
export default _default;
|
|
@@ -30,6 +30,11 @@ export declare const classNames: {
|
|
|
30
30
|
labelBgFill: string;
|
|
31
31
|
labelText: string;
|
|
32
32
|
loadingIndicator: string;
|
|
33
|
+
_legacyLabelGroup: string;
|
|
34
|
+
_legacyLabelBg: string;
|
|
35
|
+
_legacyLabelBgFill: string;
|
|
36
|
+
_legacyLabelText: string;
|
|
37
|
+
_legacyLoadingIndicator: string;
|
|
33
38
|
selectedTimestampCursor: string;
|
|
34
39
|
marker: string;
|
|
35
40
|
markerLabel: string;
|
|
@@ -51,9 +56,9 @@ export declare const classNames: {
|
|
|
51
56
|
barChartGroup: string;
|
|
52
57
|
lineGraphGroup: string;
|
|
53
58
|
lineGraphGroupLabel: string;
|
|
59
|
+
areaGraphPath: string;
|
|
54
60
|
lineGraphPath: string;
|
|
55
61
|
lineGraphHoverZone: string;
|
|
56
62
|
lineGraphDot: string;
|
|
57
|
-
curtain: string;
|
|
58
63
|
forbiddenInterval: string;
|
|
59
64
|
};
|