@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,171 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import Vue from "vue";
|
|
3
|
+
import { TimelineChartType, TimelineCountEvent, TimelineDomain, TimelineEvent, TimelineEventsByType, TimelineEventsGroup, TimelineInterval, TimelineMarker, TimelinePrecision, Timestamp } from '../../types';
|
|
4
|
+
import { NormalizedScopedSlot } from "vue/types/vnode";
|
|
5
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
6
|
+
mainContainer: HTMLElement;
|
|
7
|
+
tooltip: HTMLElement;
|
|
8
|
+
timeline: HTMLElement;
|
|
9
|
+
svgElement: SVGSVGElement;
|
|
10
|
+
svg: d3.Selection<SVGSVGElement, any, any, any>;
|
|
11
|
+
axisHeight: number;
|
|
12
|
+
isHoveringEvent: boolean;
|
|
13
|
+
isHoveringGroupedEvents: boolean;
|
|
14
|
+
isAnimating: boolean;
|
|
15
|
+
hoveredEvent: TimelineEvent;
|
|
16
|
+
eventTooltipStyle: {};
|
|
17
|
+
hoveredEventType: string;
|
|
18
|
+
hoveredCounts: {
|
|
19
|
+
count: number;
|
|
20
|
+
type: string;
|
|
21
|
+
label?: string | undefined;
|
|
22
|
+
}[];
|
|
23
|
+
visibleFrom: Date;
|
|
24
|
+
visibleTo: Date;
|
|
25
|
+
characterWidth: number;
|
|
26
|
+
textPadding: number;
|
|
27
|
+
timeouts: number[];
|
|
28
|
+
groupsVisibility: Record<string, boolean>;
|
|
29
|
+
selectedMilestoneId: any;
|
|
30
|
+
isInitialized: boolean;
|
|
31
|
+
hoveredMilestone: TimelineEvent;
|
|
32
|
+
focusedDomain: TimelineDomain;
|
|
33
|
+
transitionDuration: number;
|
|
34
|
+
focusedTimestamp: string | Date;
|
|
35
|
+
hoveredGroupedEvents: TimelineEvent[];
|
|
36
|
+
TimelineChartType: typeof TimelineChartType;
|
|
37
|
+
width: number;
|
|
38
|
+
}, {
|
|
39
|
+
handleVisibleIntervalChange({ fromDate, toDate, trigger, transform }: {
|
|
40
|
+
fromDate: any;
|
|
41
|
+
toDate: any;
|
|
42
|
+
trigger: any;
|
|
43
|
+
transform: any;
|
|
44
|
+
}): void;
|
|
45
|
+
getGroupByType(groups: TimelineEventsByType, types: TimelineChartType[]): {};
|
|
46
|
+
getPreviousCountsByTimestamp(index: number): Record<string, number>;
|
|
47
|
+
getChartsYPosition(groupId: string | number): number;
|
|
48
|
+
validateProps(): void;
|
|
49
|
+
initTimeline(): void;
|
|
50
|
+
initRefs(): void;
|
|
51
|
+
zoomToFitMarkers(): void;
|
|
52
|
+
clearTimeline(): void;
|
|
53
|
+
handleMouseLeave(): void;
|
|
54
|
+
handleMouseMove(mouseX: number, timestamp: string): void;
|
|
55
|
+
isForbiddenInterval(timestamp: string): boolean;
|
|
56
|
+
handleClick(timestamp: string): void;
|
|
57
|
+
handleMarkerClick(marker: TimelineMarker): void;
|
|
58
|
+
handleChartMouseOver(_event: MouseEvent, eventData: TimelineCountEvent, eventType: string): void;
|
|
59
|
+
handleChartMouseOut(): void;
|
|
60
|
+
handleBarMouseOver(event: MouseEvent, eventData: TimelineEvent, eventType: string): void;
|
|
61
|
+
handleBarGroupedEventsMouseOver(event: MouseEvent, events: TimelineEvent[], eventType: string): void;
|
|
62
|
+
handleBarMouseOut(): void;
|
|
63
|
+
handleTimeScaleChange(ts: d3.ScaleTime<any, any, unknown>): void;
|
|
64
|
+
zoomToStartAndEndDates(): void;
|
|
65
|
+
onAnimationStart(): void;
|
|
66
|
+
onAnimationEnd(): void;
|
|
67
|
+
getMilestoneClass(milestone: TimelineEvent): Record<string, boolean>;
|
|
68
|
+
getMilestoneColors(milestoneColor: string | undefined, groupColor: string): {
|
|
69
|
+
background: string;
|
|
70
|
+
border: string;
|
|
71
|
+
};
|
|
72
|
+
getMilestoneGroupYPosition(groupName: string | number): number;
|
|
73
|
+
getBarGroupYPosition(groupName: string | number, bottom?: boolean): number;
|
|
74
|
+
getBarGroupHeight(eventsGroup: TimelineEventsGroup): number;
|
|
75
|
+
getTextFillColor(baseColor: string, k?: number): string;
|
|
76
|
+
getLabelBackgroundColor(baseColor: string): string;
|
|
77
|
+
getCurrentGroupVisibility(type: string): boolean;
|
|
78
|
+
toggleGroupVisibility(type: string): void;
|
|
79
|
+
getExternalLabelStyles(type: string): {
|
|
80
|
+
background: string;
|
|
81
|
+
color: string;
|
|
82
|
+
};
|
|
83
|
+
getExternalLabelText(type: string): string;
|
|
84
|
+
getExternalLabelWrapperStyles(type: string): {
|
|
85
|
+
borderColor: string;
|
|
86
|
+
};
|
|
87
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
88
|
+
getFormattedTimestamp(timestamp: Timestamp): string;
|
|
89
|
+
fillTimeGaps(events: TimelineEvent[]): (import('../../types').TimelineBarEvent | import('../../types').TimelineRangeEvent | TimelineCountEvent | import('../../types').TimelineMilestoneEvent | {
|
|
90
|
+
timestamp: string;
|
|
91
|
+
count: number;
|
|
92
|
+
})[];
|
|
93
|
+
fillEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
94
|
+
onMilestoneClick(milestone: TimelineEvent, milestoneType: any): void;
|
|
95
|
+
getSortedEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
96
|
+
onHoverMilestone(milestone: TimelineEvent): void;
|
|
97
|
+
onResizeContainer({ contentRect }: ResizeObserverEntry): void;
|
|
98
|
+
}, {
|
|
99
|
+
filteredEventsGroups: TimelineEventsByType;
|
|
100
|
+
allEventsSorted: TimelineEvent[];
|
|
101
|
+
barGroups: TimelineEventsByType;
|
|
102
|
+
lineGraphGroups: TimelineEventsByType;
|
|
103
|
+
barChartGroups: TimelineEventsByType;
|
|
104
|
+
milestonesGroups: TimelineEventsByType;
|
|
105
|
+
combinedBarsHeight: number;
|
|
106
|
+
combinedBottomBarsHeight: number;
|
|
107
|
+
combinedMilestonesHeight: number;
|
|
108
|
+
milestonesYOffset: number;
|
|
109
|
+
chartsYOffset: number;
|
|
110
|
+
barsYOffset: number;
|
|
111
|
+
hasMilestones: boolean;
|
|
112
|
+
computedClasses: Record<string, string | Record<string, boolean>>;
|
|
113
|
+
chartHeight: number;
|
|
114
|
+
chartLabelHeight: number;
|
|
115
|
+
hasChart: boolean;
|
|
116
|
+
labelRectWidth: number;
|
|
117
|
+
combinedXAxesHeight: number;
|
|
118
|
+
timelineHeight: number;
|
|
119
|
+
oldestEvent: TimelineEvent;
|
|
120
|
+
latestEvent: TimelineEvent;
|
|
121
|
+
allLineChartTimestamps: string[];
|
|
122
|
+
placeholderLineChartGroup: TimelineEvent[];
|
|
123
|
+
filledGapsLineGraphGroups: TimelineEventsByType;
|
|
124
|
+
flattenedLinesCounts: TimelineCountEvent[];
|
|
125
|
+
flattenedBarsCounts: TimelineCountEvent[];
|
|
126
|
+
hiddenGroupsLabels: string[];
|
|
127
|
+
minHoverZone: number;
|
|
128
|
+
sortedMarkers: TimelineMarker[];
|
|
129
|
+
maxVisibleCount: number;
|
|
130
|
+
defaultMaxDomain: string[];
|
|
131
|
+
defaultFocusedDomain: string[];
|
|
132
|
+
domain: TimelineDomain;
|
|
133
|
+
svgLeft: number;
|
|
134
|
+
markersScopedSlots: Record<string, NormalizedScopedSlot | undefined>;
|
|
135
|
+
isHoveringMilestone: Boolean;
|
|
136
|
+
milestonesGroupsPlaceholder: TimelineEventsByType;
|
|
137
|
+
countsByTimestamp: Record<string, Record<string, number>>;
|
|
138
|
+
}, {
|
|
139
|
+
eventsGroups: TimelineEventsByType;
|
|
140
|
+
dark: boolean;
|
|
141
|
+
startDate: string;
|
|
142
|
+
endDate: string;
|
|
143
|
+
selectedTimestamp: string;
|
|
144
|
+
showEventTooltip: boolean;
|
|
145
|
+
insertZerosAtInterval: TimelinePrecision;
|
|
146
|
+
flattenLineGraphEnds: boolean;
|
|
147
|
+
showLabels: boolean;
|
|
148
|
+
barHeight: number;
|
|
149
|
+
barYPadding: number;
|
|
150
|
+
chartMinHeight: number;
|
|
151
|
+
chartMinLabelHeight: number;
|
|
152
|
+
minDate: string;
|
|
153
|
+
maxDate: string;
|
|
154
|
+
panOnDateClick: boolean;
|
|
155
|
+
selectedDate: string;
|
|
156
|
+
markers: TimelineMarker[];
|
|
157
|
+
stickyMarkers: boolean;
|
|
158
|
+
fitMarkersOnChange: boolean;
|
|
159
|
+
milestoneBulletSize: number;
|
|
160
|
+
milestonesFirst: boolean;
|
|
161
|
+
forbiddenIntervals: TimelineInterval[];
|
|
162
|
+
forbiddenIntervalColor: string;
|
|
163
|
+
focusedInterval: TimelineInterval | undefined;
|
|
164
|
+
locked: boolean;
|
|
165
|
+
timezone: string | undefined;
|
|
166
|
+
stopClickPropagation: boolean;
|
|
167
|
+
tooltipPosition: string;
|
|
168
|
+
maxDomainPadding: number;
|
|
169
|
+
showCursor: boolean;
|
|
170
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
171
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
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>>, unknown, unknown, unknown, {
|
|
4
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
5
|
+
selectedTimestamp: string;
|
|
6
|
+
timezone: string;
|
|
7
|
+
height: number;
|
|
8
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TimelineMarker } from '../../types';
|
|
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>>, unknown, {
|
|
4
|
+
getMarkerClass(marker: TimelineMarker): {
|
|
5
|
+
"marker--hidden": Boolean | undefined;
|
|
6
|
+
"marker--draggable": boolean | undefined;
|
|
7
|
+
};
|
|
8
|
+
getMarkerContainerStyle(): Record<string, string>;
|
|
9
|
+
getMarkerLabelStyle(marker: TimelineMarker): Record<string, string>;
|
|
10
|
+
getMarkerLineStyle(marker: TimelineMarker): Record<string, string>;
|
|
11
|
+
}, unknown, {
|
|
12
|
+
marker: TimelineMarker;
|
|
13
|
+
height: number;
|
|
14
|
+
hidden: Boolean | undefined;
|
|
15
|
+
position: Number | undefined;
|
|
16
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as d3 from "d3";
|
|
2
|
+
import { TimelineMarker, Timestamp } from '../../types';
|
|
3
|
+
import Vue from "vue";
|
|
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
|
+
markersPositions: Record<string, {
|
|
6
|
+
position: number;
|
|
7
|
+
isHidden: boolean;
|
|
8
|
+
}>;
|
|
9
|
+
markersDragBehavior: d3.DragBehavior<HTMLElement, TimelineMarker, any>;
|
|
10
|
+
initialMarkerDragMouseOffset: number;
|
|
11
|
+
}, {
|
|
12
|
+
initMarkersDragBehavior(): void;
|
|
13
|
+
removeMarkersDragBehavior(): void;
|
|
14
|
+
handleMarkerDrag({ marker, markerElement, dragEvent, }: {
|
|
15
|
+
marker: TimelineMarker;
|
|
16
|
+
markerElement: d3.Selection<any, TimelineMarker, any, any>;
|
|
17
|
+
dragEvent: d3.D3DragEvent<any, TimelineMarker, any>;
|
|
18
|
+
}): void;
|
|
19
|
+
updateMarkers(): void;
|
|
20
|
+
isTimestampAllowedForMarker(timestamp: Date | number, marker: TimelineMarker): boolean;
|
|
21
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
22
|
+
dateToTzString(date: Date): string;
|
|
23
|
+
}, unknown, {
|
|
24
|
+
markers: TimelineMarker[];
|
|
25
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
26
|
+
timeZone: string | undefined;
|
|
27
|
+
height: number;
|
|
28
|
+
svgLeft: number;
|
|
29
|
+
stickyMarkers: boolean;
|
|
30
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
31
|
+
export default _default;
|
package/dist/components/{ETimelineMilestone.vue.d.ts → timeline/ETimelineMilestone.vue.d.ts}
RENAMED
|
@@ -1,22 +1,41 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
milestone: string;
|
|
5
|
-
milestoneBullet: string;
|
|
6
|
-
milestoneDot: string;
|
|
7
|
-
milestoneContent: string;
|
|
8
|
-
milestoneLine: string;
|
|
9
|
-
milestonesContainer: string;
|
|
10
|
-
milestoneHovered: string;
|
|
11
|
-
milestoneSelected: string;
|
|
12
|
-
milestoneLabel: string;
|
|
13
|
-
milestoneDotContainer: string;
|
|
14
|
-
milestoneDotLine: string;
|
|
15
|
-
milestoneDotDot: string;
|
|
16
|
-
milestoneDotHovered: string;
|
|
17
|
-
};
|
|
2
|
+
import * as d3 from "d3";
|
|
3
|
+
import { TimelineMilestoneEvent, Timestamp } from '../../types';
|
|
18
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>>, {
|
|
19
|
-
|
|
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;
|
|
20
39
|
milestone: string;
|
|
21
40
|
milestoneBullet: string;
|
|
22
41
|
milestoneDot: string;
|
|
@@ -30,20 +49,32 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
30
49
|
milestoneDotLine: string;
|
|
31
50
|
milestoneDotDot: string;
|
|
32
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;
|
|
33
60
|
};
|
|
34
61
|
timeouts: number[];
|
|
35
62
|
isInitialRender: boolean;
|
|
36
63
|
isMouseOver: boolean;
|
|
64
|
+
containerWidth: string;
|
|
65
|
+
containerHeight: string;
|
|
37
66
|
}, {
|
|
38
67
|
onMilestoneMouseOver(e?: MouseEvent): void;
|
|
39
68
|
onMilestoneMouseMove(): void;
|
|
40
69
|
onMilestoneMouseLeave(e?: MouseEvent): void;
|
|
41
70
|
onMilestoneClick(_e: MouseEvent, milestone: TimelineMilestoneEvent): void;
|
|
71
|
+
tzStringToDate(timestamp: Timestamp): Date;
|
|
42
72
|
}, {
|
|
43
73
|
transitionStyles: Record<string, any>;
|
|
44
74
|
sizeStyles: Record<string, any>;
|
|
45
75
|
positionStyles: Record<string, any>;
|
|
46
76
|
styles: Record<string, any>;
|
|
77
|
+
linePosition: number;
|
|
47
78
|
contentStyles: Record<string, any>;
|
|
48
79
|
computedTransitionDuration: number;
|
|
49
80
|
labelStyles: Record<string, any>;
|
|
@@ -51,7 +82,10 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
51
82
|
lineStyles: Record<string, any>;
|
|
52
83
|
dotStyles: Record<string, any>;
|
|
53
84
|
}, {
|
|
85
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
54
86
|
milestone: TimelineMilestoneEvent;
|
|
87
|
+
y: number;
|
|
88
|
+
height: number;
|
|
55
89
|
size: number;
|
|
56
90
|
borderColor: string;
|
|
57
91
|
backgroundColor: string;
|
|
@@ -61,5 +95,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
61
95
|
dotSize: number;
|
|
62
96
|
lineWidth: number;
|
|
63
97
|
lineHeight: number;
|
|
98
|
+
timezone: string | undefined;
|
|
64
99
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
65
100
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
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>>, unknown, unknown, unknown, {
|
|
4
|
+
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
5
|
+
selectedTimestamp: string;
|
|
6
|
+
timezone: string;
|
|
7
|
+
height: number;
|
|
8
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
9
|
+
export default _default;
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { Size, BaseColor } from './types';
|
|
1
|
+
import { Size, BaseColor, Position } from './types';
|
|
2
2
|
export declare const fullConfig: any;
|
|
3
3
|
export declare const TextSizes: any;
|
|
4
4
|
export declare const Colors: any;
|
|
5
|
-
export declare const BadgeSizes: readonly [Size.
|
|
6
|
-
export declare const AvatarSizes: readonly [Size.
|
|
7
|
-
export declare const IconSizes: readonly [Size.
|
|
8
|
-
export declare const ToggleSwitchSizes: readonly [Size.
|
|
9
|
-
export declare const BadgeColors: readonly [BaseColor.
|
|
5
|
+
export declare const BadgeSizes: readonly [Size.Dot, Size.Xs, Size.Sm, Size.Md, Size.Lg, Size.Xl];
|
|
6
|
+
export declare const AvatarSizes: readonly [Size.Xs, Size.Sm, Size.Md, Size.Lg, Size.Xl, Size.TwoXl];
|
|
7
|
+
export declare const IconSizes: readonly [Size.Xs, Size.Sm, Size.Md, Size.Md, Size.Lg, Size.Xl, Size.TwoXl, Size.ThreeXl, Size.FourXl, Size.FiveXl, Size.SixXl, Size.SevenXl, Size.EightXl, Size.NineXl];
|
|
8
|
+
export declare const ToggleSwitchSizes: readonly [Size.Sm, Size.Md, Size.Lg];
|
|
9
|
+
export declare const BadgeColors: readonly [BaseColor.Warning, BaseColor.Error, BaseColor.Info, BaseColor.Success, BaseColor.Primary, BaseColor.Default];
|
|
10
|
+
export declare const TooltipColors: readonly [BaseColor.Warning, BaseColor.Error, BaseColor.Info, BaseColor.Success, BaseColor.Primary, BaseColor.Default];
|
|
11
|
+
export declare const TooltipPositions: readonly [Position.Top, Position.Bottom, Position.Right, Position.Left];
|
|
10
12
|
export declare const EVENTS: string[];
|
|
11
13
|
declare const _default: {};
|
|
12
14
|
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import ResizeObserverDirective from '../directives/
|
|
1
|
+
import ResizeObserverDirective from '../directives/resizeObserver';
|
|
2
|
+
import ClickOutsideDirective from '../directives/clickOutside';
|
|
2
3
|
export declare const DirectivesMap: {
|
|
3
4
|
name: string;
|
|
4
5
|
definition: import("vue").DirectiveOptions;
|
|
5
6
|
}[];
|
|
6
|
-
export { ResizeObserverDirective };
|
|
7
|
+
export { ResizeObserverDirective, ClickOutsideDirective };
|