@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/ui",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0-1b091ef3a",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Evercam - Constuction Cameras.",
|
|
@@ -28,39 +28,51 @@
|
|
|
28
28
|
],
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "yarn build:lib && yarn build:style && yarn generate-ide-docs",
|
|
31
|
-
"build:lib": "vite build",
|
|
32
|
-
"build:style": "
|
|
31
|
+
"build:lib": "vite build --mode production",
|
|
32
|
+
"build:style": "npx tailwindcss -i src/style/main.css -o dist/styles.css --minify",
|
|
33
33
|
"build-and-copy": "yarn build && rsync -av --delete ./dist/ ../../node_modules/@evercam/ui/dist/",
|
|
34
|
-
"story:dev": "yarn stroy:build:tailwind && yarn stroy:build:typedoc && yarn stroy:dev:styleguide",
|
|
34
|
+
"story:dev": "yarn stroy:build:tailwind && yarn stroy:build:typedoc && yarn story:build:styles && yarn stroy:dev:styleguide",
|
|
35
35
|
"stroy:dev:styleguide": "vue-styleguidist --config docs/config/styleguide.config.js server",
|
|
36
|
-
"story:build": "yarn stroy:build:typedoc && yarn stroy:build:tailwind && yarn stroy:build:styleguide",
|
|
36
|
+
"story:build": "yarn stroy:build:typedoc && yarn stroy:build:tailwind && yarn story:build:styles && yarn stroy:build:styleguide",
|
|
37
37
|
"stroy:build:styleguide": "vue-styleguidist --config docs/config/styleguide.config.js build",
|
|
38
38
|
"stroy:build:typedoc": "yarn typedoc --options docs/config/typedoc.config.js --out docs/assets/typedoc",
|
|
39
39
|
"stroy:build:tailwind": "tailwind-config-viewer export docs/assets/tailwind-config-viewer",
|
|
40
|
+
"story:build:styles": "npx tailwindcss -i src/style/main.css -o docs/assets/evercam-ui-styles.css --minify",
|
|
40
41
|
"typecheck": "vue-tsc --declaration --emitDeclarationOnly",
|
|
41
42
|
"generate-ide-docs": "node scripts/generateVetur.mjs && node scripts/generateWebTypes.mjs",
|
|
42
43
|
"ci": "(cd ../..; yarn ci)",
|
|
43
44
|
"publish-ci": "cd ../.. && yarn publish-ci"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
47
|
+
"@tailwindcss/typography": "^0.5.14",
|
|
46
48
|
"@types/d3": "^7.4.2",
|
|
47
49
|
"@types/vue": "^2.0.0",
|
|
48
50
|
"@vitejs/plugin-vue2": "^2.2.0",
|
|
49
51
|
"autoprefixer": "^10.4.15",
|
|
50
52
|
"browser-sync": "^3.0.2",
|
|
51
53
|
"browser-sync-webpack-plugin": "^2.3.0",
|
|
54
|
+
"crypto": "^1.0.1",
|
|
52
55
|
"css-loader": "^6.11.0",
|
|
53
56
|
"d3": "^7.8.5",
|
|
54
57
|
"hls.js": "^1.5.6",
|
|
55
58
|
"moment-timezone": "^0.5.43",
|
|
59
|
+
"morphdom": "^2.7.4",
|
|
56
60
|
"postcss": "^8.4.29",
|
|
57
|
-
"
|
|
61
|
+
"rehype-stringify": "^10.0.0",
|
|
62
|
+
"remark-breaks": "^4.0.0",
|
|
63
|
+
"remark-gfm": "^4.0.0",
|
|
64
|
+
"remark-parse": "^11.0.0",
|
|
65
|
+
"remark-rehype": "^11.1.0",
|
|
58
66
|
"tailwind-config-viewer": "^2.0.1",
|
|
59
|
-
"
|
|
67
|
+
"tailwind-scrollbar": "^4.0.0-beta.0",
|
|
68
|
+
"tailwindcss": "^3.4.10",
|
|
60
69
|
"ts-loader": "^9.5.1",
|
|
61
70
|
"typedoc": "^0.25.13",
|
|
62
71
|
"typedoc-plugin-markdown": "^4.0.0-next.55",
|
|
63
72
|
"typescript": "^5.2.2",
|
|
73
|
+
"typewriter-effect": "^2.21.0",
|
|
74
|
+
"unified": "^11.0.5",
|
|
75
|
+
"unist-util-visit": "^5.0.0",
|
|
64
76
|
"vite": "^4.4.9",
|
|
65
77
|
"vite-plugin-commonjs": "^0.10.1",
|
|
66
78
|
"vite-plugin-dts": "^3.6.0",
|
|
@@ -70,16 +82,23 @@
|
|
|
70
82
|
"vue-styleguidist": "^4.72.4",
|
|
71
83
|
"vue-template-compiler": "^2.7.16",
|
|
72
84
|
"webpack": "^5.91.0",
|
|
73
|
-
"webpack-shell-plugin-next": "^2.3.1"
|
|
74
|
-
"flag-icons": "^7.2.1"
|
|
85
|
+
"webpack-shell-plugin-next": "^2.3.1"
|
|
75
86
|
},
|
|
76
87
|
"peerDependencies": {
|
|
77
88
|
"@fontsource-variable/inter": "^5.0.8",
|
|
78
89
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
79
|
-
"flag-icons": "^7.2.1",
|
|
80
90
|
"d3": "^7.8.5",
|
|
81
91
|
"hls.js": "^1.5.6",
|
|
82
92
|
"moment-timezone": "^0.5.43",
|
|
93
|
+
"morphdom": "^2.7.4",
|
|
94
|
+
"rehype-stringify": "^10.0.0",
|
|
95
|
+
"remark-breaks": "^4.0.0",
|
|
96
|
+
"remark-gfm": "^4.0.0",
|
|
97
|
+
"remark-parse": "^11.0.0",
|
|
98
|
+
"remark-rehype": "^11.1.0",
|
|
99
|
+
"typewriter-effect": "^2.21.0",
|
|
100
|
+
"unified": "^11.0.5",
|
|
101
|
+
"unist-util-visit": "^5.0.0",
|
|
83
102
|
"vue": "^2.7.16"
|
|
84
103
|
},
|
|
85
104
|
"vetur": {
|
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import * as d3 from "d3";
|
|
2
|
-
import { D3ZoomEvent } from "d3";
|
|
3
|
-
import Vue from "vue";
|
|
4
|
-
import { TimelineAxesConfig, TimelineAxis, TimelineCountEvent, TimelineEvent, TimelineEventsByType, TimelineEventsGroup, TimelineInterval, TimelineIntervalChangeTrigger, TimelineMarker, TimelinePrecision, TimelineTicksConfig, Timestamp } from '../types';
|
|
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
|
-
tooltip: HTMLElement;
|
|
7
|
-
cursor: HTMLElement;
|
|
8
|
-
timeline: HTMLElement;
|
|
9
|
-
wrapperDiv: HTMLElement;
|
|
10
|
-
selectedTimestampCursor: HTMLElement;
|
|
11
|
-
svg: d3.Selection<SVGSVGElement, any, any, any>;
|
|
12
|
-
axesContainer: d3.Selection<SVGGElement, any, any, any>;
|
|
13
|
-
xAxes: Record<TimelineAxis, d3.Axis<Date>>;
|
|
14
|
-
timeScale: d3.ScaleTime<any, any, unknown>;
|
|
15
|
-
initialTimeScale: d3.ScaleTime<any, any, unknown>;
|
|
16
|
-
currentTimeScaleDensity: number;
|
|
17
|
-
zoomBehavior: d3.ZoomBehavior<SVGSVGElement, unknown>;
|
|
18
|
-
isMouseDown: boolean;
|
|
19
|
-
axisHeight: number;
|
|
20
|
-
isHoveringEvent: boolean;
|
|
21
|
-
hoveredEvent: TimelineEvent;
|
|
22
|
-
isHoveringTimeline: boolean;
|
|
23
|
-
hoveredTimestamp: string;
|
|
24
|
-
eventTooltipStyle: {};
|
|
25
|
-
hoveredEventType: string;
|
|
26
|
-
utcOffset: number;
|
|
27
|
-
lastTransform: {
|
|
28
|
-
x: number;
|
|
29
|
-
k: number;
|
|
30
|
-
};
|
|
31
|
-
transformDiff: {
|
|
32
|
-
translation: number;
|
|
33
|
-
scale: number;
|
|
34
|
-
};
|
|
35
|
-
yScale: d3.ScaleLinear<any, any, never>;
|
|
36
|
-
hoveredCounts: {
|
|
37
|
-
count: number;
|
|
38
|
-
type: string;
|
|
39
|
-
}[];
|
|
40
|
-
countsByTimestamp: Record<string, Record<string, number>>;
|
|
41
|
-
dotsByTimestamp: Record<string, d3.Selection<SVGCircleElement, any, any, any>[]>;
|
|
42
|
-
visibleFrom: Date;
|
|
43
|
-
visibleTo: Date;
|
|
44
|
-
curtainHandleWidth: number;
|
|
45
|
-
leftCurtainWidth: number;
|
|
46
|
-
rightCurtainWidth: number;
|
|
47
|
-
isHoveringCurtain: boolean;
|
|
48
|
-
isDraggingCurtain: boolean;
|
|
49
|
-
characterWidth: number;
|
|
50
|
-
textPadding: number;
|
|
51
|
-
debouncedOnResize: Function;
|
|
52
|
-
isFirstPaint: boolean;
|
|
53
|
-
timeouts: number[];
|
|
54
|
-
groupsVisibility: Record<string, boolean>;
|
|
55
|
-
markersPositions: Record<string, {
|
|
56
|
-
position: number;
|
|
57
|
-
isHidden: boolean;
|
|
58
|
-
}>;
|
|
59
|
-
markersDragBehavior: d3.DragBehavior<HTMLElement, TimelineMarker, any>;
|
|
60
|
-
initialMarkerDragMouseOffset: number;
|
|
61
|
-
selectedMilestoneId: any;
|
|
62
|
-
isInitialized: boolean;
|
|
63
|
-
lastValidTransform: d3.ZoomTransform;
|
|
64
|
-
lastPanTransform: d3.ZoomTransform;
|
|
65
|
-
isZoomingInterval: boolean;
|
|
66
|
-
defs: {
|
|
67
|
-
transparencyGradient: string;
|
|
68
|
-
transparencyGradientLight: string;
|
|
69
|
-
loadingGradient: string;
|
|
70
|
-
stripedPattern: string;
|
|
71
|
-
};
|
|
72
|
-
}, {
|
|
73
|
-
updateTimeline(): void;
|
|
74
|
-
initTimeline(startDate?: string, endDate?: string): void;
|
|
75
|
-
initRefs(): void;
|
|
76
|
-
initOrUpdateSvg(): void;
|
|
77
|
-
initOrUpdateDefs(): void;
|
|
78
|
-
initUtcOffset(): void;
|
|
79
|
-
initTimeScale(start?: string, end?: string): void;
|
|
80
|
-
initXAxes(): void;
|
|
81
|
-
updateXAxes(): void;
|
|
82
|
-
initYScale(): void;
|
|
83
|
-
updateYScale(): void;
|
|
84
|
-
initZoomBehavior(): void;
|
|
85
|
-
zoomToFitMarkers(): void;
|
|
86
|
-
zoomToTargetInterval(start?: string | number, end?: string | number): void;
|
|
87
|
-
translateIntervalIntoView(minTimestamp: number, maxTimestamp: number, scaleFactor: number): void;
|
|
88
|
-
initSelectedTimestampCursor(): void;
|
|
89
|
-
updateMarkers(): void;
|
|
90
|
-
selectOrAppend({ parent, targetId, targetType, }: {
|
|
91
|
-
parent: any;
|
|
92
|
-
selector: string;
|
|
93
|
-
nodeType: string;
|
|
94
|
-
}): any;
|
|
95
|
-
updateAndRedrawTimeline(): void;
|
|
96
|
-
clearTimeline(): void;
|
|
97
|
-
repositionSelectedTimestampCursor(): void;
|
|
98
|
-
updateCurrentTimeScaleDensity(): void;
|
|
99
|
-
registerEventsListeners(): void;
|
|
100
|
-
emitVisibleInterval(trigger: TimelineIntervalChangeTrigger): void;
|
|
101
|
-
createAxis(axisName: TimelineAxis): d3.Axis<Date>;
|
|
102
|
-
getAxisTicksConfig(configs: TimelineTicksConfig[]): {
|
|
103
|
-
formatFn: (d: Date) => string;
|
|
104
|
-
interval: any;
|
|
105
|
-
};
|
|
106
|
-
onResize(resizeObserverEntry: ResizeObserverEntry): void;
|
|
107
|
-
handleResize({ contentRect }: ResizeObserverEntry): void;
|
|
108
|
-
handleDarkModeChange(): void;
|
|
109
|
-
handleMouseDown(): void;
|
|
110
|
-
handleDocumentMouseUp(_e: MouseEvent): void;
|
|
111
|
-
handleMouseLeave(): void;
|
|
112
|
-
handleMouseMove(event: MouseEvent): void;
|
|
113
|
-
handleClick(event: MouseEvent): void;
|
|
114
|
-
handleMarkerClick(marker: TimelineMarker): void;
|
|
115
|
-
handleLineMouseOver(_event: MouseEvent, eventData: TimelineCountEvent, eventType: string): void;
|
|
116
|
-
handleLineMouseOut(): void;
|
|
117
|
-
handleBarMouseOver(event: MouseEvent, eventData: TimelineEvent, eventType: string): void;
|
|
118
|
-
handleBarMouseOut(): void;
|
|
119
|
-
handleLabelMouseOver(groupType: string): void;
|
|
120
|
-
handleLabelMouseLeave(groupType: string): void;
|
|
121
|
-
isZoomAllowed(event: D3ZoomEvent<SVGSVGElement, any>): boolean;
|
|
122
|
-
handleZoom(event: D3ZoomEvent<SVGSVGElement, any>): void;
|
|
123
|
-
panToTimestamp(targetTimestamp: string | Date): void;
|
|
124
|
-
emitCurtainChange(): void;
|
|
125
|
-
calculateDateRangeFromCurtains(): {
|
|
126
|
-
startDate: Date;
|
|
127
|
-
endDate: Date;
|
|
128
|
-
};
|
|
129
|
-
handleDragStart(): void;
|
|
130
|
-
handleDragEnd(): void;
|
|
131
|
-
handleLeftDrag(event: d3.D3DragEvent<SVGRectElement, any, any>): void;
|
|
132
|
-
handleRightDrag(event: d3.D3DragEvent<SVGRectElement, any, any>): void;
|
|
133
|
-
zoomToStartAndEndDates(): void;
|
|
134
|
-
rescaleAxis(axisName: string, newScale: d3.ScaleTime<any, any, unknown>): void;
|
|
135
|
-
translateTicksText(axisName: string): void;
|
|
136
|
-
updateEventsBars(): void;
|
|
137
|
-
updateBarChart(): void;
|
|
138
|
-
updateLineGraphs(): void;
|
|
139
|
-
updateLineGraphHoverZones(): void;
|
|
140
|
-
getEventRectX(d: TimelineEvent): any;
|
|
141
|
-
getEventRectWidth(d: TimelineEvent): number;
|
|
142
|
-
getEventText(e: TimelineEvent): string;
|
|
143
|
-
getElementLeftPosition(element: HTMLElement): number;
|
|
144
|
-
isTimestampAllowedForMarker(timestamp: Date | number, marker: TimelineMarker): boolean;
|
|
145
|
-
handleMarkerDrag({ marker, markerElement, dragEvent, }: {
|
|
146
|
-
marker: TimelineMarker;
|
|
147
|
-
markerElement: d3.Selection<any, TimelineMarker, any, any>;
|
|
148
|
-
dragEvent: d3.D3DragEvent<any, TimelineMarker, any>;
|
|
149
|
-
}): void;
|
|
150
|
-
removeMarkersDragBehavior(): void;
|
|
151
|
-
initMarkersDragBehavior(): void;
|
|
152
|
-
initCurtains(): void;
|
|
153
|
-
createCurtains(): void;
|
|
154
|
-
updateCurtains(): void;
|
|
155
|
-
updateForbiddenIntervals(reset?: boolean): void;
|
|
156
|
-
drawEventsGroups(): void;
|
|
157
|
-
drawLineGraphEventsGroups(): void;
|
|
158
|
-
drawLineGraph({ events, gElement, color, type, }: {
|
|
159
|
-
events: TimelineEvent[];
|
|
160
|
-
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
161
|
-
color: string;
|
|
162
|
-
type: string;
|
|
163
|
-
}): void;
|
|
164
|
-
drawLineGraphHoverZones({ events, gElement, color, type, }: {
|
|
165
|
-
events: TimelineCountEvent[];
|
|
166
|
-
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
167
|
-
color: string;
|
|
168
|
-
type: string;
|
|
169
|
-
}): void;
|
|
170
|
-
drawSingleBarEventsGroup({ type, eventsGroup, milestone, dots, dotsSize, bottom, }: {
|
|
171
|
-
type: string;
|
|
172
|
-
eventsGroup: TimelineEventsGroup;
|
|
173
|
-
milestone?: boolean | undefined;
|
|
174
|
-
dots?: boolean | undefined;
|
|
175
|
-
dotsSize?: number | undefined;
|
|
176
|
-
bottom?: boolean | undefined;
|
|
177
|
-
}): void;
|
|
178
|
-
drawBarEventsGroups(): void;
|
|
179
|
-
drawMilestonesPlaceholder(): void;
|
|
180
|
-
getMilestoneClass(milestone: TimelineEvent): Record<string, boolean>;
|
|
181
|
-
getMilestoneColors(milestoneColor: string | undefined, groupColor: string): {
|
|
182
|
-
background: string;
|
|
183
|
-
border: string;
|
|
184
|
-
};
|
|
185
|
-
getMilestoneGroupYPosition(groupName: string): number;
|
|
186
|
-
getBarGroupYPosition(groupName: string, bottom?: boolean): number;
|
|
187
|
-
getBarGroupHeight(eventsGroup: TimelineEventsGroup): number;
|
|
188
|
-
updateMilestonesPositions(): void;
|
|
189
|
-
drawBarChartEventsGroups(): void;
|
|
190
|
-
drawProgressIndicator({ yPosition, type, isLoading, }: {
|
|
191
|
-
yPosition: number;
|
|
192
|
-
type: string;
|
|
193
|
-
color: string;
|
|
194
|
-
isLoading: Boolean | undefined;
|
|
195
|
-
}): void;
|
|
196
|
-
drawBackground({ color, yPosition, gElement, height, }: {
|
|
197
|
-
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
198
|
-
yPosition: number;
|
|
199
|
-
color: string;
|
|
200
|
-
height?: number | undefined;
|
|
201
|
-
}): void;
|
|
202
|
-
drawBars({ events, gElement, yPosition, color, type, dots, dotsSize, height, barBorderRadius, }: {
|
|
203
|
-
events: TimelineEvent[];
|
|
204
|
-
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
205
|
-
yPosition: number;
|
|
206
|
-
color: string;
|
|
207
|
-
type: string;
|
|
208
|
-
dots?: boolean | undefined;
|
|
209
|
-
dotsSize?: number | undefined;
|
|
210
|
-
height?: number | undefined;
|
|
211
|
-
barBorderRadius?: number | undefined;
|
|
212
|
-
}): void;
|
|
213
|
-
drawBarsChart({ events, gElement, color, yOffset, type, index, }: {
|
|
214
|
-
events: TimelineEvent[];
|
|
215
|
-
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
216
|
-
color: string;
|
|
217
|
-
yOffset: number;
|
|
218
|
-
type: string;
|
|
219
|
-
index: number;
|
|
220
|
-
}): void;
|
|
221
|
-
onBarChartBarMouseOver(container: d3.Selection<SVGGElement, any, any, any>, color: string): void;
|
|
222
|
-
onBarChartBarMouseOut(container: d3.Selection<SVGGElement, any, any, any>, eventType: string): void;
|
|
223
|
-
drawTextLabel({ gElement, yPosition, color, label, type, height, }: {
|
|
224
|
-
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
225
|
-
yPosition: number;
|
|
226
|
-
color: string;
|
|
227
|
-
label: string;
|
|
228
|
-
type: string;
|
|
229
|
-
height?: number | undefined;
|
|
230
|
-
}): void;
|
|
231
|
-
getTextFillColor(baseColor: string, k?: number): string;
|
|
232
|
-
getLabelBackgroundColor(baseColor: string): string;
|
|
233
|
-
getCurrentGroupVisibility(type: string): boolean;
|
|
234
|
-
toggleGroupVisibility(type: string): void;
|
|
235
|
-
getExternalLabelStyles(type: string): {
|
|
236
|
-
background: string;
|
|
237
|
-
color: string;
|
|
238
|
-
};
|
|
239
|
-
getExternalLabelWrapperStyles(type: string): {
|
|
240
|
-
borderColor: string;
|
|
241
|
-
};
|
|
242
|
-
getMarkerClass(marker: TimelineMarker): {
|
|
243
|
-
"marker--hidden": boolean;
|
|
244
|
-
"marker--draggable": boolean | undefined;
|
|
245
|
-
};
|
|
246
|
-
getMarkerContainerStyle(marker: TimelineMarker): Record<string, string>;
|
|
247
|
-
getMarkerLabelStyle(marker: TimelineMarker): Record<string, string>;
|
|
248
|
-
getMarkerLineStyle(marker: TimelineMarker): Record<string, string>;
|
|
249
|
-
tzStringToDate(timestamp: Timestamp): Date;
|
|
250
|
-
dateToTzString(date: Date): string;
|
|
251
|
-
getCurrentTimeBounds(): {
|
|
252
|
-
startDate: string;
|
|
253
|
-
endDate: string;
|
|
254
|
-
};
|
|
255
|
-
getFormattedTimestamp(timestamp: Timestamp): string;
|
|
256
|
-
fillTimeGaps(events: TimelineEvent[]): (import('../types').TimelineBarEvent | import('../types').TimelineRangeEvent | TimelineCountEvent | {
|
|
257
|
-
timestamp: string;
|
|
258
|
-
count: number;
|
|
259
|
-
})[];
|
|
260
|
-
fillEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
261
|
-
onMilestoneClick(milestone: TimelineEvent, milestoneType: any): void;
|
|
262
|
-
getSortedEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
263
|
-
}, {
|
|
264
|
-
combinedBarsHeight: number;
|
|
265
|
-
combinedBottomBarsHeight: number;
|
|
266
|
-
combinedMilestonesHeight: number;
|
|
267
|
-
milestonesYOffset: number;
|
|
268
|
-
chartsYOffset: number;
|
|
269
|
-
barsYOffset: number;
|
|
270
|
-
hasMilestones: boolean;
|
|
271
|
-
barChartHeight: number;
|
|
272
|
-
classes: Record<string, string | Record<string, boolean>>;
|
|
273
|
-
lineGraphGroups: TimelineEventsByType;
|
|
274
|
-
chartHeight: number;
|
|
275
|
-
barGroups: TimelineEventsByType;
|
|
276
|
-
barChartGroups: TimelineEventsByType;
|
|
277
|
-
milestonesGroups: TimelineEventsByType;
|
|
278
|
-
hasChart: boolean;
|
|
279
|
-
labelRectWidth: number;
|
|
280
|
-
combinedXAxesHeight: number;
|
|
281
|
-
timelineHeight: number;
|
|
282
|
-
filteredEventsGroups: TimelineEventsByType;
|
|
283
|
-
allEventsSorted: TimelineEvent[];
|
|
284
|
-
oldestEvent: TimelineEvent;
|
|
285
|
-
latestEvent: TimelineEvent;
|
|
286
|
-
allLineChartTimestamps: string[];
|
|
287
|
-
placeholderLineChartGroup: TimelineEvent[];
|
|
288
|
-
filledGapsLineGraphGroups: TimelineEventsByType;
|
|
289
|
-
isInteractingWithCurtain: boolean;
|
|
290
|
-
flattenedCounts: TimelineCountEvent[];
|
|
291
|
-
hiddenGroupsLabels: string[];
|
|
292
|
-
minHoverZone: number;
|
|
293
|
-
sortedMarkers: TimelineMarker[];
|
|
294
|
-
maxVisibleCount: number;
|
|
295
|
-
}, {
|
|
296
|
-
eventsGroups: {};
|
|
297
|
-
xAxesConfig: TimelineAxesConfig;
|
|
298
|
-
dark: boolean;
|
|
299
|
-
startDate: string;
|
|
300
|
-
endDate: string;
|
|
301
|
-
selectedTimestamp: string;
|
|
302
|
-
showEventTooltip: boolean;
|
|
303
|
-
disableZoom: boolean;
|
|
304
|
-
insertZerosAtInterval: TimelinePrecision;
|
|
305
|
-
flattenLineGraphEnds: boolean;
|
|
306
|
-
curtains: boolean;
|
|
307
|
-
showLabels: boolean;
|
|
308
|
-
rectMinWidth: number;
|
|
309
|
-
barHeight: number;
|
|
310
|
-
barYPadding: number;
|
|
311
|
-
barXPadding: number;
|
|
312
|
-
chartMinHeight: number;
|
|
313
|
-
chartMinLabelHeight: number;
|
|
314
|
-
minZoom: number;
|
|
315
|
-
maxZoom: number;
|
|
316
|
-
minDate: string;
|
|
317
|
-
maxDate: string;
|
|
318
|
-
cursorTimestamp: string | undefined;
|
|
319
|
-
selectedClass: string | undefined;
|
|
320
|
-
panOnDateClick: boolean;
|
|
321
|
-
panTransitionDuration: number;
|
|
322
|
-
selectedDate: string;
|
|
323
|
-
autoResize: boolean;
|
|
324
|
-
markers: TimelineMarker[];
|
|
325
|
-
stickyMarkers: boolean;
|
|
326
|
-
fitMarkersOnChange: boolean;
|
|
327
|
-
zoomToIntervalTransitionDuration: number;
|
|
328
|
-
zoomToBoundariesTransitionDuration: number;
|
|
329
|
-
milestoneBulletSize: number;
|
|
330
|
-
milestonesFirst: boolean;
|
|
331
|
-
forbiddenIntervals: TimelineInterval[];
|
|
332
|
-
forbiddenIntervalColor: string;
|
|
333
|
-
focusedInterval: TimelineInterval | undefined;
|
|
334
|
-
locked: boolean;
|
|
335
|
-
timezone: string | undefined;
|
|
336
|
-
stopClickPropagation: boolean;
|
|
337
|
-
tooltipPosition: string;
|
|
338
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
339
|
-
export default _default;
|
|
File without changes
|