@evercam/ui 0.0.65 → 1.0.0-1b091ef3a
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 +42 -0
- package/README.md +2 -2
- package/dist/attributes.json +796 -69
- package/dist/components/EActionButton.vue.d.ts +17 -0
- package/dist/components/EAvatar.vue.d.ts +2 -0
- package/dist/components/{EFlagIcon.vue.d.ts → ECard.vue.d.ts} +1 -1
- package/dist/components/ECheckbox.vue.d.ts +5 -0
- package/dist/components/ECopyToClipboardBtn.vue.d.ts +31 -0
- package/dist/components/EDialog.vue.d.ts +34 -0
- package/dist/components/EDivider.vue.d.ts +5 -0
- package/dist/components/EEvercamLogo.vue.d.ts +6 -0
- package/dist/components/EExpandableMenu.vue.d.ts +9 -8
- package/dist/components/EFadeTransition.vue.d.ts +7 -0
- package/dist/components/EFeedackButton.vue.d.ts +42 -0
- package/dist/components/EGlobalSearch.vue.d.ts +1 -1
- package/dist/components/EHeatmapBar.vue.d.ts +13 -2
- package/dist/components/EImagePlayer.vue.d.ts +127 -0
- package/dist/components/ELayout.vue.d.ts +32 -0
- package/dist/components/EPopover.vue.d.ts +17 -0
- package/dist/components/EPulsatingDot.vue.d.ts +19 -0
- package/dist/components/ERadioGroup.vue.d.ts +46 -0
- package/dist/components/ERangeSlider.vue.d.ts +31 -0
- package/dist/components/EReadMore.vue.d.ts +1 -0
- package/dist/components/ESchedulePicker.vue.d.ts +27 -0
- package/dist/components/ESelect.vue.d.ts +60 -0
- package/dist/components/ETabs.vue.d.ts +25 -0
- package/dist/components/EToggleSwitch.vue.d.ts +42 -17
- package/dist/components/ETooltip.vue.d.ts +16 -0
- package/dist/components/EVideoPlayer.vue.d.ts +4 -2
- 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 +73 -0
- package/dist/components/charts/ECursorBehavior.vue.d.ts +21 -0
- package/dist/components/charts/ETimelineBarsChart.vue.d.ts +114 -0
- package/dist/components/charts/ETimelineForbiddenInterval.vue.d.ts +83 -0
- package/dist/components/charts/ETimelineGroupContainer.vue.d.ts +89 -0
- package/dist/components/charts/ETimelineLinesChart.vue.d.ts +105 -0
- package/dist/components/charts/ETimelineRectsChart.vue.d.ts +122 -0
- package/dist/components/charts/ETimelineRectsChartGroupedDots.vue.d.ts +83 -0
- package/dist/components/charts/ETimelineSVGDefs.vue.d.ts +24 -0
- package/dist/components/charts/EXAxis.vue.d.ts +82 -0
- package/dist/components/charts/EXAxisBackground.vue.d.ts +68 -0
- package/dist/components/charts/EXAxisDetailed.vue.d.ts +68 -0
- package/dist/components/charts/EXAxisOverview.vue.d.ts +68 -0
- package/dist/components/charts/EZoomBehavior.vue.d.ts +57 -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 +10 -0
- package/dist/components/chat/EChatInput.vue.d.ts +28 -0
- package/dist/components/chat/EChatMessage.vue.d.ts +39 -0
- package/dist/components/chat/EChatMessageActions.vue.d.ts +20 -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/Brightness.vue.d.ts +5 -0
- package/dist/components/svgIcons/MarkUp.vue.d.ts +5 -0
- package/dist/components/svgIcons/Nerves.vue.d.ts +5 -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 +14 -2
- package/dist/components/{ETimeline.config.d.ts → timeline/ETimeline.config.d.ts} +1 -1
- package/dist/components/timeline/ETimeline.vue.d.ts +171 -0
- 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} +52 -17
- package/dist/components/timeline/ETimelineSelectedTimestampCursor.vue.d.ts +9 -0
- package/dist/constants.d.ts +8 -6
- package/dist/directives/clickOutside.d.ts +3 -0
- package/dist/directives/index.d.ts +3 -2
- package/dist/index.d.ts +776 -259
- package/dist/index.mjs +17184 -6229
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +70 -27
- package/dist/index.umd.js.map +1 -1
- package/dist/mixins/form-field.d.ts +12 -0
- package/dist/mixins/inactivity-listener.d.ts +5 -5
- package/dist/mixins/index.d.ts +4 -1
- package/dist/mixins/select-form-field.d.ts +44 -0
- package/dist/mixins/toggle-open.d.ts +14 -0
- package/dist/style.css +1 -1
- package/dist/styles.css +1 -38965
- package/dist/tags.json +241 -21
- package/dist/types.d.ts +152 -38
- package/dist/utils.d.ts +16 -0
- package/dist/web-types.json +1730 -139
- package/package.json +29 -10
- package/dist/components/ETimeline.vue.d.ts +0 -339
- package/dist/components/charts/classNames.d.ts +0 -7
- /package/dist/directives/{resize-observer.d.ts → resizeObserver.d.ts} +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Vue, { CreateElement, VNode } 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>>, unknown, {
|
|
3
|
+
onTabSelected(index: number): void;
|
|
4
|
+
isActive(index: number): boolean;
|
|
5
|
+
isLink(link: string): boolean;
|
|
6
|
+
isExternalLink(link: string): boolean;
|
|
7
|
+
getTabBarItemClasses(index: number, link?: string): Array<Record<string, boolean> | string>;
|
|
8
|
+
getChildTitle(child: VNode): string;
|
|
9
|
+
renderTab(h: CreateElement, child: VNode, index: number): VNode;
|
|
10
|
+
renderContent(h: CreateElement, child: VNode, index: number): VNode | null;
|
|
11
|
+
}, unknown, {
|
|
12
|
+
dark: boolean;
|
|
13
|
+
vertical: boolean;
|
|
14
|
+
activeClass: string;
|
|
15
|
+
}, {}, 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
|
+
currentValue: any;
|
|
17
|
+
}, unknown, unknown, {
|
|
18
|
+
value: any;
|
|
19
|
+
label: string;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
type: string;
|
|
22
|
+
required: boolean;
|
|
23
|
+
errors: String[];
|
|
24
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
25
|
+
export default _default;
|
|
@@ -1,35 +1,60 @@
|
|
|
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, ESelectionGroupOption, 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
|
-
getButtonClasses(optionValue: any): {
|
|
17
|
-
"e-border-none": boolean;
|
|
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>>, unknown, {
|
|
9
|
+
getButtonClasses(item: ESelectionGroupOption): {
|
|
10
|
+
"e-toggle-switch 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;
|
|
18
11
|
"e-bg-inherit": boolean;
|
|
19
12
|
"e-bg-brand-600": boolean;
|
|
20
13
|
"e-bg-gray-600": boolean;
|
|
21
14
|
"e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
|
|
15
|
+
"e-opacity-50 e-cursor-not-allowed": boolean | undefined;
|
|
22
16
|
};
|
|
23
|
-
handleClick(value: any): void;
|
|
24
17
|
}, {
|
|
25
18
|
sizeClasses: SizeClasses;
|
|
26
|
-
|
|
19
|
+
wrapperClasses: CssClassMap;
|
|
27
20
|
textClasses: CssClassMap;
|
|
28
|
-
buttonBaseClasses: CssClassMap;
|
|
29
21
|
}, {
|
|
30
|
-
options: EToggleSwitchOption[];
|
|
31
22
|
color: string;
|
|
32
23
|
size: Size;
|
|
33
|
-
|
|
34
|
-
}, {}, import("vue").
|
|
24
|
+
vertical: boolean;
|
|
25
|
+
}, {}, 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>>, unknown, {
|
|
26
|
+
isSelected(value: any): boolean;
|
|
27
|
+
onItemClick(value: any): void;
|
|
28
|
+
selectAll(): void;
|
|
29
|
+
deselectAll(): void;
|
|
30
|
+
toggleSelectAll(): void;
|
|
31
|
+
getOptionByValue(value: number): ESelectionGroupOption | null;
|
|
32
|
+
containerClasses(item: ESelectionGroupOption): (string | Record<string, boolean> | (string | Record<string, boolean>)[])[];
|
|
33
|
+
}, {
|
|
34
|
+
selectedOption: ESelectionGroupOption | ESelectionGroupOption[] | null;
|
|
35
|
+
localLabel: string | null;
|
|
36
|
+
isAllSelected: boolean;
|
|
37
|
+
isAtLeastOneSelected: boolean;
|
|
38
|
+
radioItemClasses: Record<string, boolean>;
|
|
39
|
+
selectedItemClasses: (string | Record<string, boolean>)[];
|
|
40
|
+
isValueProvided: boolean;
|
|
41
|
+
}, {
|
|
42
|
+
options: ESelectionGroupOption[] | import('../types').ERadioGroupOption[];
|
|
43
|
+
setInitialValue: boolean;
|
|
44
|
+
multiple: boolean;
|
|
45
|
+
}, {}, 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>>, {
|
|
46
|
+
currentValue: any;
|
|
47
|
+
}, unknown, unknown, {
|
|
48
|
+
value: any;
|
|
49
|
+
label: string;
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
type: string;
|
|
52
|
+
required: boolean;
|
|
53
|
+
errors: String[];
|
|
54
|
+
}, {}, 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>>, {
|
|
55
|
+
isOpen: boolean;
|
|
56
|
+
selectId: string;
|
|
57
|
+
}, {
|
|
58
|
+
toggleOpen(event: Event): void;
|
|
59
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
35
60
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { BaseColor, Position } 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
|
+
isHovered: boolean;
|
|
5
|
+
}, {
|
|
6
|
+
toggleTooltip(): void;
|
|
7
|
+
}, {
|
|
8
|
+
tooltipClasses: Record<any, boolean>;
|
|
9
|
+
triangleClasses: Record<any, boolean>;
|
|
10
|
+
}, {
|
|
11
|
+
text: string;
|
|
12
|
+
position: Position;
|
|
13
|
+
color: BaseColor;
|
|
14
|
+
dark: boolean;
|
|
15
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
16
|
+
export default _default;
|
|
@@ -62,15 +62,17 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
62
62
|
}, {
|
|
63
63
|
posterUrl: string;
|
|
64
64
|
sourceItems: VideoSource[];
|
|
65
|
-
hasStartedOrFinished: boolean;
|
|
66
65
|
withControls: "" | "hide";
|
|
66
|
+
streamingToken: string;
|
|
67
67
|
}, {
|
|
68
68
|
targetTimestamp: string;
|
|
69
69
|
sources: string | VideoSource[];
|
|
70
70
|
videoListeners: {};
|
|
71
71
|
videoOptions: {};
|
|
72
72
|
isHls: boolean;
|
|
73
|
-
|
|
73
|
+
isEdgeVideo: boolean;
|
|
74
|
+
edgeStreamingToken: string;
|
|
75
|
+
authToken: string;
|
|
74
76
|
pauseOnClick: boolean;
|
|
75
77
|
isHlsLoading: boolean;
|
|
76
78
|
isPlaying: boolean;
|
|
@@ -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;
|
|
@@ -0,0 +1,5 @@
|
|
|
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>>, unknown, unknown, unknown, {
|
|
3
|
+
dark: boolean;
|
|
4
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
5
|
+
export default _default;
|
|
@@ -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,73 @@
|
|
|
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
|
+
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
|
+
}, {
|
|
62
|
+
repositionCursor(): void;
|
|
63
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
64
|
+
}, unknown, {
|
|
65
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
66
|
+
timestamp: string;
|
|
67
|
+
timezone: string;
|
|
68
|
+
height: number;
|
|
69
|
+
color: string;
|
|
70
|
+
width: number;
|
|
71
|
+
opacity: number;
|
|
72
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
73
|
+
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,114 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { TimelineEvent, TimelineEventsGroup, Timestamp } from '../../types';
|
|
4
|
+
type ComputedEventBar = {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
height: number;
|
|
8
|
+
width: number;
|
|
9
|
+
color: string;
|
|
10
|
+
startDate?: Timestamp;
|
|
11
|
+
endDate?: Timestamp;
|
|
12
|
+
count: number;
|
|
13
|
+
className?: string;
|
|
14
|
+
isHovering: boolean;
|
|
15
|
+
};
|
|
16
|
+
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>>, {
|
|
17
|
+
classNames: {
|
|
18
|
+
xAxis: string;
|
|
19
|
+
xAxisDark: string;
|
|
20
|
+
xAxisOverview: string;
|
|
21
|
+
xAxisDetailed: string;
|
|
22
|
+
xAxisBackground: string;
|
|
23
|
+
eventGroup: string;
|
|
24
|
+
eventGroupBg: string;
|
|
25
|
+
eventGroupContent: string;
|
|
26
|
+
eventRect: string;
|
|
27
|
+
eventRectContainer: string;
|
|
28
|
+
eventBarContainer: string;
|
|
29
|
+
eventBarContainerHovered: string;
|
|
30
|
+
eventBarContainerSelected: string;
|
|
31
|
+
eventBar: string;
|
|
32
|
+
eventBarHoverZone: 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
|
+
defs: {
|
|
74
|
+
transparencyGradient: string;
|
|
75
|
+
transparencyGradientLight: string;
|
|
76
|
+
transparencyGradientHover: string;
|
|
77
|
+
loadingGradient: string;
|
|
78
|
+
stripedPattern: string;
|
|
79
|
+
clipPath: string;
|
|
80
|
+
};
|
|
81
|
+
characterWidth: number;
|
|
82
|
+
}, {
|
|
83
|
+
getBarOpacity(event: ComputedEventBar): string;
|
|
84
|
+
getEventRectX(d: TimelineEvent, timeScale: d3.ScaleTime<any, any, unknown>): any;
|
|
85
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
86
|
+
onEventClick(): void;
|
|
87
|
+
getEventRectWidth(d: TimelineEvent): number;
|
|
88
|
+
}, {
|
|
89
|
+
bars: TimelineEvent[];
|
|
90
|
+
hoverZones: ComputedEventBar[];
|
|
91
|
+
yScale: d3.ScaleLinear<number, number, never>;
|
|
92
|
+
}, {
|
|
93
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
94
|
+
eventsGroup: TimelineEventsGroup;
|
|
95
|
+
groupId: string;
|
|
96
|
+
x: number;
|
|
97
|
+
y: number;
|
|
98
|
+
height: number;
|
|
99
|
+
width: number;
|
|
100
|
+
dark: boolean;
|
|
101
|
+
showLabel: boolean;
|
|
102
|
+
labelWidth: number | undefined;
|
|
103
|
+
labelHeight: number | undefined;
|
|
104
|
+
timezone: string | undefined;
|
|
105
|
+
hoveredTimestamp: string;
|
|
106
|
+
yOffset: number;
|
|
107
|
+
rectMinWidth: number;
|
|
108
|
+
currentTimeScaleDensity: number;
|
|
109
|
+
maxVisibleCount: number;
|
|
110
|
+
previousCountsByTimestamp: {
|
|
111
|
+
[key: string]: number;
|
|
112
|
+
};
|
|
113
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
114
|
+
export default _default;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { TimelineInterval, 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
|
+
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
|
+
defs: {
|
|
62
|
+
transparencyGradient: string;
|
|
63
|
+
transparencyGradientLight: string;
|
|
64
|
+
transparencyGradientHover: string;
|
|
65
|
+
loadingGradient: string;
|
|
66
|
+
stripedPattern: string;
|
|
67
|
+
clipPath: string;
|
|
68
|
+
};
|
|
69
|
+
}, {
|
|
70
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
71
|
+
}, {
|
|
72
|
+
visibleDomain: Date[];
|
|
73
|
+
startX: number;
|
|
74
|
+
endX: number;
|
|
75
|
+
width: number;
|
|
76
|
+
}, {
|
|
77
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
78
|
+
interval: TimelineInterval;
|
|
79
|
+
index: number;
|
|
80
|
+
height: number;
|
|
81
|
+
timezone: string;
|
|
82
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
83
|
+
export default _default;
|