@evercam/ui 0.0.55-beta.4 → 0.0.55-beta.40
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/README.md +3 -0
- package/dist/attributes.json +298 -36
- package/dist/index.mjs +3725 -2356
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +12 -12
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ECompareSeparator.vue.d.ts +7 -0
- package/dist/src/components/EGlobalSearch.vue.d.ts +29 -0
- package/dist/src/components/EHeatmapBar.vue.d.ts +3 -0
- package/dist/src/components/EHoursHeatmap.vue.d.ts +3 -0
- package/dist/src/components/EInput.vue.d.ts +3 -0
- package/dist/src/components/EReadMore.vue.d.ts +24 -0
- package/dist/src/components/ETimeline.vue.d.ts +32 -11
- package/dist/src/components/ETimelineMilestone.vue.d.ts +2 -2
- package/dist/src/components/EToggleSwitch.vue.d.ts +34 -0
- package/dist/src/components/ETruncatedDiv.vue.d.ts +8 -0
- package/dist/src/components/EVideoPlayer.vue.d.ts +181 -15
- package/dist/src/components/EZoomable.vue.d.ts +73 -0
- package/dist/src/components/styles/input.d.ts +140 -0
- package/dist/src/constants.d.ts +2 -0
- package/dist/src/index.d.ts +380 -24
- package/dist/src/mixins/event-listeners.d.ts +13 -0
- package/dist/src/mixins/inactivity-listener.d.ts +25 -0
- package/dist/src/mixins/index.d.ts +4 -0
- package/dist/src/mixins/timeouts.d.ts +8 -0
- package/dist/src/types.d.ts +30 -1
- package/dist/src/utils.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/styles.css +409 -0
- package/dist/tags.json +104 -15
- package/dist/web-types.json +688 -80
- package/package.json +1 -1
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
wrapper: string;
|
|
3
|
+
base: string;
|
|
4
|
+
form: string;
|
|
5
|
+
rounded: string;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
file: {
|
|
8
|
+
base: string;
|
|
9
|
+
padding: {
|
|
10
|
+
"2xs": string;
|
|
11
|
+
xs: string;
|
|
12
|
+
sm: string;
|
|
13
|
+
md: string;
|
|
14
|
+
lg: string;
|
|
15
|
+
xl: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
size: {
|
|
19
|
+
"2xs": string;
|
|
20
|
+
xs: string;
|
|
21
|
+
sm: string;
|
|
22
|
+
md: string;
|
|
23
|
+
lg: string;
|
|
24
|
+
xl: string;
|
|
25
|
+
};
|
|
26
|
+
gap: {
|
|
27
|
+
"2xs": string;
|
|
28
|
+
xs: string;
|
|
29
|
+
sm: string;
|
|
30
|
+
md: string;
|
|
31
|
+
lg: string;
|
|
32
|
+
xl: string;
|
|
33
|
+
};
|
|
34
|
+
padding: {
|
|
35
|
+
"2xs": string;
|
|
36
|
+
xs: string;
|
|
37
|
+
sm: string;
|
|
38
|
+
md: string;
|
|
39
|
+
lg: string;
|
|
40
|
+
xl: string;
|
|
41
|
+
};
|
|
42
|
+
leading: {
|
|
43
|
+
padding: {
|
|
44
|
+
"e-2xs": string;
|
|
45
|
+
xs: string;
|
|
46
|
+
sm: string;
|
|
47
|
+
md: string;
|
|
48
|
+
lg: string;
|
|
49
|
+
xl: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
trailing: {
|
|
53
|
+
padding: {
|
|
54
|
+
"e-2xs": string;
|
|
55
|
+
xs: string;
|
|
56
|
+
sm: string;
|
|
57
|
+
md: string;
|
|
58
|
+
lg: string;
|
|
59
|
+
xl: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
color: {
|
|
63
|
+
light: {
|
|
64
|
+
outline: string;
|
|
65
|
+
none: string;
|
|
66
|
+
};
|
|
67
|
+
dark: {
|
|
68
|
+
outline: string;
|
|
69
|
+
none: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
leadingPadding: {
|
|
73
|
+
"2xs": string;
|
|
74
|
+
xs: string;
|
|
75
|
+
sm: string;
|
|
76
|
+
md: string;
|
|
77
|
+
lg: string;
|
|
78
|
+
xl: string;
|
|
79
|
+
};
|
|
80
|
+
trailingPadding: {
|
|
81
|
+
"2xs": string;
|
|
82
|
+
xs: string;
|
|
83
|
+
sm: string;
|
|
84
|
+
md: string;
|
|
85
|
+
lg: string;
|
|
86
|
+
xl: string;
|
|
87
|
+
};
|
|
88
|
+
icon: {
|
|
89
|
+
base: string;
|
|
90
|
+
color: string;
|
|
91
|
+
loading: string;
|
|
92
|
+
size: {
|
|
93
|
+
"2xs": string;
|
|
94
|
+
xs: string;
|
|
95
|
+
sm: string;
|
|
96
|
+
md: string;
|
|
97
|
+
lg: string;
|
|
98
|
+
xl: string;
|
|
99
|
+
};
|
|
100
|
+
leading: {
|
|
101
|
+
wrapper: string;
|
|
102
|
+
pointer: string;
|
|
103
|
+
padding: {
|
|
104
|
+
"2xs": string;
|
|
105
|
+
xs: string;
|
|
106
|
+
sm: string;
|
|
107
|
+
md: string;
|
|
108
|
+
lg: string;
|
|
109
|
+
xl: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
padded: {
|
|
113
|
+
"2xs": string;
|
|
114
|
+
xs: string;
|
|
115
|
+
sm: string;
|
|
116
|
+
md: string;
|
|
117
|
+
lg: string;
|
|
118
|
+
xl: string;
|
|
119
|
+
};
|
|
120
|
+
trailing: {
|
|
121
|
+
wrapper: string;
|
|
122
|
+
pointer: string;
|
|
123
|
+
padding: {
|
|
124
|
+
"2xs": string;
|
|
125
|
+
xs: string;
|
|
126
|
+
sm: string;
|
|
127
|
+
md: string;
|
|
128
|
+
lg: string;
|
|
129
|
+
xl: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
default: {
|
|
134
|
+
size: string;
|
|
135
|
+
color: string;
|
|
136
|
+
variant: string;
|
|
137
|
+
loadingIcon: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
export default _default;
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -5,7 +5,9 @@ export declare const Colors: any;
|
|
|
5
5
|
export declare const BadgeSizes: readonly [Size.dot, Size.xs, Size.sm, Size.md, Size.lg, Size.xl];
|
|
6
6
|
export declare const AvatarSizes: readonly [Size.xs, Size.sm, Size.md, Size.lg, Size.xl, (typeof Size)["2xl"]];
|
|
7
7
|
export declare const IconSizes: readonly [Size.xs, Size.sm, Size.md, Size.md, Size.lg, Size.xl, (typeof Size)["2xl"], (typeof Size)["3xl"], (typeof Size)["4xl"], (typeof Size)["5xl"], (typeof Size)["6xl"], (typeof Size)["7xl"], (typeof Size)["8xl"], (typeof Size)["9xl"]];
|
|
8
|
+
export declare const ToggleSwitchSizes: readonly [Size.sm, Size.md, Size.md, Size.lg];
|
|
8
9
|
export declare const BadgeColors: readonly [BaseColor.warning, BaseColor.error, BaseColor.info, BaseColor.success, BaseColor.primary, BaseColor.default];
|
|
10
|
+
export declare const InputSizes: readonly [Size.xs, Size.sm, Size.md, Size.md, Size.lg, Size.xl];
|
|
9
11
|
export declare const EVENTS: string[];
|
|
10
12
|
declare const _default: {};
|
|
11
13
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -7,7 +7,16 @@ import ECol from './components/ECol.vue';
|
|
|
7
7
|
import EVideoPlayer from './components/EVideoPlayer.vue';
|
|
8
8
|
import ETimeline from './components/ETimeline.vue';
|
|
9
9
|
import EVideoEmbed from './components/EVideoEmbed.vue';
|
|
10
|
+
import EHeatmapBar from './components/EHeatmapBar.vue';
|
|
11
|
+
import EHoursHeatmap from './components/EHoursHeatmap.vue';
|
|
12
|
+
import EReadMore from './components/EReadMore.vue';
|
|
13
|
+
import ETruncatedDiv from './components/ETruncatedDiv.vue';
|
|
14
|
+
import ECompareSeparator from './components/ECompareSeparator.vue';
|
|
15
|
+
import EToggleSwitch from './components/EToggleSwitch.vue';
|
|
16
|
+
import EZoomable from './components/EZoomable.vue';
|
|
10
17
|
import { VueConstructor } from "vue";
|
|
18
|
+
import EInput from "./components/EInput.vue";
|
|
19
|
+
import EGlobalSearch from "./components/EGlobalSearch.vue";
|
|
11
20
|
export declare const components: {
|
|
12
21
|
EAvatar: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
13
22
|
sizes: {
|
|
@@ -118,7 +127,80 @@ export declare const components: {
|
|
|
118
127
|
xs: string | number | boolean;
|
|
119
128
|
xl: string | number | boolean;
|
|
120
129
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
121
|
-
EVideoPlayer: import("vue
|
|
130
|
+
EVideoPlayer: import("vue").DefineComponent<{
|
|
131
|
+
targetTimestamp: {
|
|
132
|
+
type: (StringConstructor | DateConstructor)[];
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
sources: {
|
|
136
|
+
type: import("vue").PropType<string | import('./components/EVideoPlayer.vue').VideoSource[]>;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
139
|
+
videoListeners: {
|
|
140
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
141
|
+
default: () => {};
|
|
142
|
+
};
|
|
143
|
+
videoOptions: {
|
|
144
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
145
|
+
default: () => {};
|
|
146
|
+
};
|
|
147
|
+
isHls: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
streamingToken: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
pauseOnClick: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
default: boolean;
|
|
158
|
+
};
|
|
159
|
+
isHlsLoading: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
isPlaying: {
|
|
164
|
+
type: BooleanConstructor;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
isZoomable: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
zoomableIgnorePointerEvents: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
timezone: {
|
|
176
|
+
type: StringConstructor;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
playPauseAnimation: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
default: boolean;
|
|
182
|
+
};
|
|
183
|
+
disablePlayPauseAnimation: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
default: boolean;
|
|
186
|
+
};
|
|
187
|
+
isWebRtc: {
|
|
188
|
+
type: BooleanConstructor;
|
|
189
|
+
default: boolean;
|
|
190
|
+
};
|
|
191
|
+
withColoredLoader: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: boolean;
|
|
194
|
+
};
|
|
195
|
+
loaderSize: {
|
|
196
|
+
type: StringConstructor;
|
|
197
|
+
default: string;
|
|
198
|
+
};
|
|
199
|
+
withOverlayOnBackground: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
}, {}, {
|
|
122
204
|
playing: boolean;
|
|
123
205
|
percentagePlayed: number;
|
|
124
206
|
videoLength: string;
|
|
@@ -133,10 +215,23 @@ export declare const components: {
|
|
|
133
215
|
isLoading: boolean;
|
|
134
216
|
isError: boolean;
|
|
135
217
|
player: import("hls.js").default;
|
|
218
|
+
playbackRetries: number;
|
|
219
|
+
preloadedSeconds: number;
|
|
220
|
+
preloadedInterval: {
|
|
221
|
+
start: string;
|
|
222
|
+
end: string;
|
|
223
|
+
};
|
|
224
|
+
}, {
|
|
225
|
+
sourceItems(): import('./components/EVideoPlayer.vue').VideoSource[];
|
|
226
|
+
hasStartedOrFinished(): boolean;
|
|
227
|
+
withControls(): "" | "hide";
|
|
136
228
|
}, {
|
|
137
229
|
initHls(): void;
|
|
230
|
+
onContainerClick(): void;
|
|
138
231
|
handle404Error(): void;
|
|
232
|
+
handleHlsError(_: import("hls.js").Events.ERROR, data: import("hls.js").ErrorData): void;
|
|
139
233
|
bindEvents(): void;
|
|
234
|
+
onProgress(): void;
|
|
140
235
|
unbindEvents(): void;
|
|
141
236
|
bindVideoEvent(which: string): void;
|
|
142
237
|
initializePlayer(): void;
|
|
@@ -148,9 +243,9 @@ export declare const components: {
|
|
|
148
243
|
handleScrubbingOnMouseEnd(e: MouseEvent): void;
|
|
149
244
|
handleEnded(): void;
|
|
150
245
|
handleLoading(): void;
|
|
151
|
-
play(): void
|
|
246
|
+
play(): Promise<void>;
|
|
152
247
|
pause(): void;
|
|
153
|
-
togglePlay(): void
|
|
248
|
+
togglePlay(): Promise<void>;
|
|
154
249
|
setPlaying(state: boolean): void;
|
|
155
250
|
seekToPercentage(percentage: number): void;
|
|
156
251
|
convertTimeToDuration(seconds: number): string;
|
|
@@ -163,18 +258,98 @@ export declare const components: {
|
|
|
163
258
|
skip(duration?: number): void;
|
|
164
259
|
toggleScrubbing(e: MouseEvent): Promise<void>;
|
|
165
260
|
handleKeyDown(e: KeyboardEvent): void;
|
|
166
|
-
}, {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
sources:
|
|
172
|
-
|
|
173
|
-
|
|
261
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
262
|
+
targetTimestamp: {
|
|
263
|
+
type: (StringConstructor | DateConstructor)[];
|
|
264
|
+
default: undefined;
|
|
265
|
+
};
|
|
266
|
+
sources: {
|
|
267
|
+
type: import("vue").PropType<string | import('./components/EVideoPlayer.vue').VideoSource[]>;
|
|
268
|
+
required: true;
|
|
269
|
+
};
|
|
270
|
+
videoListeners: {
|
|
271
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
272
|
+
default: () => {};
|
|
273
|
+
};
|
|
274
|
+
videoOptions: {
|
|
275
|
+
type: import("vue").PropType<Partial<HTMLVideoElement>>;
|
|
276
|
+
default: () => {};
|
|
277
|
+
};
|
|
278
|
+
isHls: {
|
|
279
|
+
type: BooleanConstructor;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
streamingToken: {
|
|
283
|
+
type: StringConstructor;
|
|
284
|
+
default: string;
|
|
285
|
+
};
|
|
286
|
+
pauseOnClick: {
|
|
287
|
+
type: BooleanConstructor;
|
|
288
|
+
default: boolean;
|
|
289
|
+
};
|
|
290
|
+
isHlsLoading: {
|
|
291
|
+
type: BooleanConstructor;
|
|
292
|
+
default: boolean;
|
|
293
|
+
};
|
|
294
|
+
isPlaying: {
|
|
295
|
+
type: BooleanConstructor;
|
|
296
|
+
default: boolean;
|
|
297
|
+
};
|
|
298
|
+
isZoomable: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
default: boolean;
|
|
301
|
+
};
|
|
302
|
+
zoomableIgnorePointerEvents: {
|
|
303
|
+
type: BooleanConstructor;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
306
|
+
timezone: {
|
|
307
|
+
type: StringConstructor;
|
|
308
|
+
default: string;
|
|
309
|
+
};
|
|
310
|
+
playPauseAnimation: {
|
|
311
|
+
type: BooleanConstructor;
|
|
312
|
+
default: boolean;
|
|
313
|
+
};
|
|
314
|
+
disablePlayPauseAnimation: {
|
|
315
|
+
type: BooleanConstructor;
|
|
316
|
+
default: boolean;
|
|
317
|
+
};
|
|
318
|
+
isWebRtc: {
|
|
319
|
+
type: BooleanConstructor;
|
|
320
|
+
default: boolean;
|
|
321
|
+
};
|
|
322
|
+
withColoredLoader: {
|
|
323
|
+
type: BooleanConstructor;
|
|
324
|
+
default: boolean;
|
|
325
|
+
};
|
|
326
|
+
loaderSize: {
|
|
327
|
+
type: StringConstructor;
|
|
328
|
+
default: string;
|
|
329
|
+
};
|
|
330
|
+
withOverlayOnBackground: {
|
|
331
|
+
type: BooleanConstructor;
|
|
332
|
+
default: boolean;
|
|
333
|
+
};
|
|
334
|
+
}>>, {
|
|
335
|
+
timezone: string;
|
|
336
|
+
isPlaying: boolean;
|
|
337
|
+
targetTimestamp: string | Date;
|
|
338
|
+
videoListeners: Partial<HTMLVideoElement>;
|
|
339
|
+
videoOptions: Partial<HTMLVideoElement>;
|
|
174
340
|
isHls: boolean;
|
|
175
341
|
streamingToken: string;
|
|
176
|
-
|
|
177
|
-
|
|
342
|
+
pauseOnClick: boolean;
|
|
343
|
+
isHlsLoading: boolean;
|
|
344
|
+
isZoomable: boolean;
|
|
345
|
+
zoomableIgnorePointerEvents: boolean;
|
|
346
|
+
playPauseAnimation: boolean;
|
|
347
|
+
disablePlayPauseAnimation: boolean;
|
|
348
|
+
isWebRtc: boolean;
|
|
349
|
+
withColoredLoader: boolean;
|
|
350
|
+
loaderSize: string;
|
|
351
|
+
withOverlayOnBackground: boolean;
|
|
352
|
+
}>;
|
|
178
353
|
ETimeline: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
179
354
|
tooltip: HTMLElement;
|
|
180
355
|
cursor: HTMLElement;
|
|
@@ -234,6 +409,8 @@ export declare const components: {
|
|
|
234
409
|
selectedMilestoneId: any;
|
|
235
410
|
isInitialized: boolean;
|
|
236
411
|
lastValidTransform: import("d3-zoom").ZoomTransform;
|
|
412
|
+
lastPanTransform: import("d3-zoom").ZoomTransform;
|
|
413
|
+
isZoomingInterval: boolean;
|
|
237
414
|
}, {
|
|
238
415
|
updateTimeline(): void;
|
|
239
416
|
initTimeline(startDate?: string | undefined, endDate?: string | undefined): void;
|
|
@@ -248,7 +425,8 @@ export declare const components: {
|
|
|
248
425
|
updateYScaleDomain(): void;
|
|
249
426
|
initZoomBehavior(): void;
|
|
250
427
|
zoomToFitMarkers(): void;
|
|
251
|
-
|
|
428
|
+
zoomToTargetInterval(start?: string | number | undefined, end?: string | number | undefined): void;
|
|
429
|
+
translateIntervalIntoView(minTimestamp: number, maxTimestamp: number, scaleFactor: number): void;
|
|
252
430
|
initSelectedTimestampCursor(): void;
|
|
253
431
|
updateMarkers(): void;
|
|
254
432
|
updateAndRedrawTimeline(): void;
|
|
@@ -311,8 +489,7 @@ export declare const components: {
|
|
|
311
489
|
initCurtains(): void;
|
|
312
490
|
createCurtains(): void;
|
|
313
491
|
updateCurtains(): void;
|
|
314
|
-
|
|
315
|
-
updateForbiddenIntervals(): void;
|
|
492
|
+
updateForbiddenIntervals(reset?: boolean): void;
|
|
316
493
|
drawEventsGroups(): void;
|
|
317
494
|
drawLineGraphEventsGroups(): void;
|
|
318
495
|
drawLineGraph({ events, gElement, color, type, }: {
|
|
@@ -327,12 +504,13 @@ export declare const components: {
|
|
|
327
504
|
color: string;
|
|
328
505
|
type: string;
|
|
329
506
|
}): void;
|
|
330
|
-
drawSingleBarEventsGroup({ type, eventsGroup,
|
|
507
|
+
drawSingleBarEventsGroup({ type, eventsGroup, milestone, dots, dotsSize, bottom, }: {
|
|
331
508
|
type: string;
|
|
332
509
|
eventsGroup: import('./types').TimelineEventsGroup;
|
|
333
|
-
index?: number | undefined;
|
|
334
510
|
milestone?: boolean | undefined;
|
|
335
|
-
|
|
511
|
+
dots?: boolean | undefined;
|
|
512
|
+
dotsSize?: number | undefined;
|
|
513
|
+
bottom?: boolean | undefined;
|
|
336
514
|
}): void;
|
|
337
515
|
drawBarEventsGroups(): void;
|
|
338
516
|
drawMilestonesPlaceholder(): void;
|
|
@@ -342,6 +520,8 @@ export declare const components: {
|
|
|
342
520
|
border: string;
|
|
343
521
|
};
|
|
344
522
|
getMilestoneGroupYPosition(groupName: string): number;
|
|
523
|
+
getBarGroupYPosition(groupName: string, bottom?: boolean | undefined): number;
|
|
524
|
+
getBarGroupHeight(eventsGroup: import('./types').TimelineEventsGroup): number;
|
|
345
525
|
updateMilestonesPositions(): void;
|
|
346
526
|
drawBarChartEventsGroups(): void;
|
|
347
527
|
drawProgressIndicator({ yPosition, type, isLoading, }: {
|
|
@@ -356,12 +536,16 @@ export declare const components: {
|
|
|
356
536
|
color: string;
|
|
357
537
|
height?: number | undefined;
|
|
358
538
|
}): void;
|
|
359
|
-
drawBars({ events, gElement, yPosition, color, type, }: {
|
|
539
|
+
drawBars({ events, gElement, yPosition, color, type, dots, dotsSize, height, barBorderRadius, }: {
|
|
360
540
|
events: import('./types').TimelineEvent[];
|
|
361
541
|
gElement: import("d3-selection").Selection<SVGGElement, any, any, any>;
|
|
362
542
|
yPosition: number;
|
|
363
543
|
color: string;
|
|
364
544
|
type: string;
|
|
545
|
+
dots?: boolean | undefined;
|
|
546
|
+
dotsSize?: number | undefined;
|
|
547
|
+
height?: number | undefined;
|
|
548
|
+
barBorderRadius?: number | undefined;
|
|
365
549
|
}): void;
|
|
366
550
|
drawBarsChart({ events, gElement, color, yOffset, type, index, }: {
|
|
367
551
|
events: import('./types').TimelineEvent[];
|
|
@@ -414,6 +598,13 @@ export declare const components: {
|
|
|
414
598
|
onMilestoneClick(milestone: import('./types').TimelineEvent, milestoneType: any): void;
|
|
415
599
|
getSortedEvents(events: import('./types').TimelineEvent[]): import('./types').TimelineEvent[];
|
|
416
600
|
}, {
|
|
601
|
+
combinedBarsHeight: number;
|
|
602
|
+
combinedBottomBarsHeight: number;
|
|
603
|
+
combinedMilestonesHeight: number;
|
|
604
|
+
milestonesYOffset: number;
|
|
605
|
+
chartsYOffset: number;
|
|
606
|
+
barsYOffset: number;
|
|
607
|
+
hasMilestones: boolean;
|
|
417
608
|
barChartHeight: number;
|
|
418
609
|
classes: Record<string, string | Record<string, boolean>>;
|
|
419
610
|
lineGraphGroups: import('./types').TimelineEventsByType;
|
|
@@ -455,12 +646,11 @@ export declare const components: {
|
|
|
455
646
|
barYPadding: number;
|
|
456
647
|
barXPadding: number;
|
|
457
648
|
chartMinHeight: number;
|
|
649
|
+
chartMinLabelHeight: number;
|
|
458
650
|
minZoom: number;
|
|
459
651
|
maxZoom: number;
|
|
460
652
|
minDate: string;
|
|
461
653
|
maxDate: string;
|
|
462
|
-
minVisibleDate: string;
|
|
463
|
-
maxVisibleDate: string;
|
|
464
654
|
cursorTimestamp: string | undefined;
|
|
465
655
|
selectedClass: string | undefined;
|
|
466
656
|
panOnDateClick: boolean;
|
|
@@ -470,9 +660,15 @@ export declare const components: {
|
|
|
470
660
|
markers: import('./types').TimelineMarker[];
|
|
471
661
|
stickyMarkers: boolean;
|
|
472
662
|
fitMarkersOnChange: boolean;
|
|
473
|
-
|
|
663
|
+
zoomToIntervalTransitionDuration: number;
|
|
474
664
|
zoomToBoundariesTransitionDuration: number;
|
|
475
665
|
milestoneBulletSize: number;
|
|
666
|
+
milestonesFirst: boolean;
|
|
667
|
+
forbiddenIntervals: import('./types').TimelineInterval[];
|
|
668
|
+
forbiddenIntervalColor: string;
|
|
669
|
+
focusedInterval: import('./types').TimelineInterval | undefined;
|
|
670
|
+
locked: boolean;
|
|
671
|
+
timezone: string | undefined;
|
|
476
672
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
477
673
|
EVideoEmbed: import("vue").DefineComponent<{
|
|
478
674
|
videoUrl: {
|
|
@@ -517,13 +713,173 @@ export declare const components: {
|
|
|
517
713
|
iframeListeners: Partial<HTMLIFrameElement>;
|
|
518
714
|
iframeOptions: Record<string, any>;
|
|
519
715
|
}>;
|
|
716
|
+
EHeatmapBar: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
717
|
+
EHoursHeatmap: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
718
|
+
EReadMore: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
719
|
+
showAllContent: boolean;
|
|
720
|
+
}, {
|
|
721
|
+
displayContent(): any;
|
|
722
|
+
displayArrayContent(): any;
|
|
723
|
+
displayTextContent(): any;
|
|
724
|
+
toggleContentExpansion(): void;
|
|
725
|
+
}, {
|
|
726
|
+
hiddenContentLength: number;
|
|
727
|
+
isArrayContent: boolean;
|
|
728
|
+
isHiddenTextContent: boolean;
|
|
729
|
+
isHiddenArrayContent: boolean;
|
|
730
|
+
isContentExpanded: boolean;
|
|
731
|
+
computedMoreText: string;
|
|
732
|
+
}, {
|
|
733
|
+
content: string | unknown[] | (() => null);
|
|
734
|
+
maxLength: number;
|
|
735
|
+
showAll: boolean;
|
|
736
|
+
expandText: string;
|
|
737
|
+
collapseText: string;
|
|
738
|
+
moreTextWithPlaceholder: string;
|
|
739
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
740
|
+
ETruncatedDiv: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, {
|
|
741
|
+
containerStyle: Record<string, any>;
|
|
742
|
+
}, {
|
|
743
|
+
width: string | number;
|
|
744
|
+
fixedWidth: boolean;
|
|
745
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
746
|
+
ECompareSeparator: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, {
|
|
747
|
+
separatorStyle: Record<string, any>;
|
|
748
|
+
}, {
|
|
749
|
+
xOffset: string | number;
|
|
750
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
751
|
+
EToggleSwitch: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
752
|
+
value: any;
|
|
753
|
+
}, {
|
|
754
|
+
getButtonClasses(optionValue: any): {
|
|
755
|
+
"e-bg-inherit": boolean;
|
|
756
|
+
"e-bg-brand-600": boolean;
|
|
757
|
+
"e-bg-gray-600": boolean;
|
|
758
|
+
"e-bg-[#629efc] e-text-gray-900 e-font-normal": boolean;
|
|
759
|
+
};
|
|
760
|
+
handleClick(value: any): void;
|
|
761
|
+
}, {
|
|
762
|
+
sizeClasses: {
|
|
763
|
+
container: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
764
|
+
button: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
765
|
+
text: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
766
|
+
};
|
|
767
|
+
containerClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
768
|
+
textClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
769
|
+
buttonBaseClasses: import('./components/EToggleSwitch.vue').CssClassMap;
|
|
770
|
+
}, {
|
|
771
|
+
options: import('./components/EToggleSwitch.vue').EToggleSwitchOption[];
|
|
772
|
+
color: string;
|
|
773
|
+
size: import('./types').Size;
|
|
774
|
+
defaultValue: string | number | boolean;
|
|
775
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
776
|
+
EZoomable: import("vue").DefineComponent<{
|
|
777
|
+
ignorePointerEvents: {
|
|
778
|
+
type: BooleanConstructor;
|
|
779
|
+
default: boolean;
|
|
780
|
+
};
|
|
781
|
+
withOverlay: {
|
|
782
|
+
type: BooleanConstructor;
|
|
783
|
+
default: boolean;
|
|
784
|
+
};
|
|
785
|
+
disabled: {
|
|
786
|
+
type: BooleanConstructor;
|
|
787
|
+
default: boolean;
|
|
788
|
+
};
|
|
789
|
+
}, {}, {
|
|
790
|
+
scale: number;
|
|
791
|
+
minScale: number;
|
|
792
|
+
maxScale: number;
|
|
793
|
+
top: number;
|
|
794
|
+
left: number;
|
|
795
|
+
isPanning: boolean;
|
|
796
|
+
panStart: {
|
|
797
|
+
x: number;
|
|
798
|
+
y: number;
|
|
799
|
+
};
|
|
800
|
+
isPinching: boolean;
|
|
801
|
+
previousPinchDistance: number;
|
|
802
|
+
pinchDistance: number;
|
|
803
|
+
pointers: {};
|
|
804
|
+
transform: string;
|
|
805
|
+
}, {
|
|
806
|
+
contentStyle(): {
|
|
807
|
+
transform: string;
|
|
808
|
+
};
|
|
809
|
+
isZoomed(): boolean;
|
|
810
|
+
}, {
|
|
811
|
+
updateZoomScale(): void;
|
|
812
|
+
handleZoom(e: any): void;
|
|
813
|
+
handleMouseDown(e: any): void;
|
|
814
|
+
handleMouseUp(): void;
|
|
815
|
+
handleMouseLeave(): void;
|
|
816
|
+
handleMouseMove(e: any): void;
|
|
817
|
+
applyBoundsCorrection(): void;
|
|
818
|
+
updateTransform(): void;
|
|
819
|
+
getPointersDistance(a: any, b: any): number;
|
|
820
|
+
getPointersMidPoint(a: any, b: any): {
|
|
821
|
+
x: any;
|
|
822
|
+
y: any;
|
|
823
|
+
};
|
|
824
|
+
updatePointerEvent(e: any): void;
|
|
825
|
+
clearPointerEvent(e: any): void;
|
|
826
|
+
updatePinchDistance(): void;
|
|
827
|
+
handlePointerDown(e: any): void;
|
|
828
|
+
handlePointerMove(e: any): void;
|
|
829
|
+
handlePointerUp(e: any): void;
|
|
830
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
831
|
+
ignorePointerEvents: {
|
|
832
|
+
type: BooleanConstructor;
|
|
833
|
+
default: boolean;
|
|
834
|
+
};
|
|
835
|
+
withOverlay: {
|
|
836
|
+
type: BooleanConstructor;
|
|
837
|
+
default: boolean;
|
|
838
|
+
};
|
|
839
|
+
disabled: {
|
|
840
|
+
type: BooleanConstructor;
|
|
841
|
+
default: boolean;
|
|
842
|
+
};
|
|
843
|
+
}>>, {
|
|
844
|
+
disabled: boolean;
|
|
845
|
+
ignorePointerEvents: boolean;
|
|
846
|
+
withOverlay: boolean;
|
|
847
|
+
}>;
|
|
848
|
+
EInput: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
849
|
+
EGlobalSearch: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
850
|
+
search: string;
|
|
851
|
+
isSearching: boolean;
|
|
852
|
+
}, {
|
|
853
|
+
onInput(event: InputEvent): void;
|
|
854
|
+
searchObjectsByQuery(objects: import('./types').GlobalSearchResultInput[], query: string): import('./types').GlobalSearchResult[];
|
|
855
|
+
findMatchesInObject(obj: import('./types').GlobalSearchResultInput, query: string, path: string[]): import('./types').GlobalSearchMatch[];
|
|
856
|
+
matchesQuery(value: any, query: string): boolean;
|
|
857
|
+
isValidDate(date: string | Date): boolean;
|
|
858
|
+
formattedTimestamp(timestamp: string): string;
|
|
859
|
+
onKeyHandler(e: KeyboardEvent): void;
|
|
860
|
+
}, unknown, {
|
|
861
|
+
dark: boolean;
|
|
862
|
+
items: import('./types').GlobalSearchResultInput;
|
|
863
|
+
timezone: string;
|
|
864
|
+
convertedDateFormat: string;
|
|
865
|
+
currentDateFormat: string;
|
|
866
|
+
isFixedPosition: boolean;
|
|
867
|
+
isHidden: boolean;
|
|
868
|
+
deep: boolean;
|
|
869
|
+
}, {}, import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
870
|
+
eventListeners: import("./mixins/event-listeners").IEventListener[];
|
|
871
|
+
}, {
|
|
872
|
+
$addEventListener(event: string, cb: () => void, element?: Window & typeof globalThis): void;
|
|
873
|
+
$removeEventListeners(): void;
|
|
874
|
+
}, unknown, Record<never, any>, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>, import("vue").ComponentOptionsMixin>;
|
|
520
875
|
};
|
|
521
876
|
declare const _default: {
|
|
522
877
|
install(Vue: VueConstructor): void;
|
|
523
878
|
};
|
|
524
879
|
export default _default;
|
|
525
|
-
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, };
|
|
880
|
+
export { EAvatar, EBadge, EIcon, ESpinner, ERow, ECol, EVideoPlayer, ETimeline, EVideoEmbed, EHeatmapBar, EHoursHeatmap, EReadMore, ETruncatedDiv, ECompareSeparator, EToggleSwitch, EZoomable, EInput, EGlobalSearch, };
|
|
526
881
|
export * from './constants';
|
|
527
882
|
export * from './types';
|
|
528
883
|
export * from './utils';
|
|
529
884
|
export * from './directives';
|
|
885
|
+
export * from './mixins';
|