@evercam/ui 0.0.55-beta.6 → 0.0.55-beta.8
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/dist/attributes.json +10 -0
- package/dist/index.mjs +288 -220
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +16 -4
- package/dist/src/index.d.ts +16 -4
- package/dist/src/types.d.ts +2 -0
- package/dist/tags.json +3 -1
- package/dist/web-types.json +19 -1
- package/package.json +1 -1
|
@@ -154,14 +154,13 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
154
154
|
color: string;
|
|
155
155
|
type: string;
|
|
156
156
|
}): void;
|
|
157
|
-
drawSingleBarEventsGroup({ type, eventsGroup,
|
|
157
|
+
drawSingleBarEventsGroup({ type, eventsGroup, milestone, dots, dotsSize, bottom, }: {
|
|
158
158
|
type: string;
|
|
159
159
|
eventsGroup: TimelineEventsGroup;
|
|
160
|
-
index?: number | undefined;
|
|
161
160
|
milestone?: boolean | undefined;
|
|
162
|
-
height?: number | undefined;
|
|
163
161
|
dots?: boolean | undefined;
|
|
164
162
|
dotsSize?: number | undefined;
|
|
163
|
+
bottom?: boolean | undefined;
|
|
165
164
|
}): void;
|
|
166
165
|
drawBarEventsGroups(): void;
|
|
167
166
|
drawMilestonesPlaceholder(): void;
|
|
@@ -171,6 +170,8 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
171
170
|
border: string;
|
|
172
171
|
};
|
|
173
172
|
getMilestoneGroupYPosition(groupName: string): number;
|
|
173
|
+
getBarGroupYPosition(groupName: string, bottom?: boolean): number;
|
|
174
|
+
getBarGroupHeight(eventsGroup: TimelineEventsGroup): number;
|
|
174
175
|
updateMilestonesPositions(): void;
|
|
175
176
|
drawBarChartEventsGroups(): void;
|
|
176
177
|
drawProgressIndicator({ yPosition, type, isLoading, }: {
|
|
@@ -185,7 +186,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
185
186
|
color: string;
|
|
186
187
|
height?: number | undefined;
|
|
187
188
|
}): void;
|
|
188
|
-
drawBars({ events, gElement, yPosition, color, type, dots, dotsSize, }: {
|
|
189
|
+
drawBars({ events, gElement, yPosition, color, type, dots, dotsSize, height, barBorderRadius, }: {
|
|
189
190
|
events: TimelineEvent[];
|
|
190
191
|
gElement: d3.Selection<SVGGElement, any, any, any>;
|
|
191
192
|
yPosition: number;
|
|
@@ -193,6 +194,8 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
193
194
|
type: string;
|
|
194
195
|
dots?: boolean | undefined;
|
|
195
196
|
dotsSize?: number | undefined;
|
|
197
|
+
height?: number | undefined;
|
|
198
|
+
barBorderRadius?: number | undefined;
|
|
196
199
|
}): void;
|
|
197
200
|
drawBarsChart({ events, gElement, color, yOffset, type, index, }: {
|
|
198
201
|
events: TimelineEvent[];
|
|
@@ -245,6 +248,13 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
245
248
|
onMilestoneClick(milestone: TimelineEvent, milestoneType: any): void;
|
|
246
249
|
getSortedEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
247
250
|
}, {
|
|
251
|
+
combinedBarsHeight: number;
|
|
252
|
+
combinedBottomBarsHeight: number;
|
|
253
|
+
combinedMilestonesHeight: number;
|
|
254
|
+
milestonesYOffset: number;
|
|
255
|
+
chartsYOffset: number;
|
|
256
|
+
barsYOffset: number;
|
|
257
|
+
hasMilestones: boolean;
|
|
248
258
|
barChartHeight: number;
|
|
249
259
|
classes: Record<string, string | Record<string, boolean>>;
|
|
250
260
|
lineGraphGroups: TimelineEventsByType;
|
|
@@ -286,6 +296,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
286
296
|
barYPadding: number;
|
|
287
297
|
barXPadding: number;
|
|
288
298
|
chartMinHeight: number;
|
|
299
|
+
chartMinLabelHeight: number;
|
|
289
300
|
minZoom: number;
|
|
290
301
|
maxZoom: number;
|
|
291
302
|
minDate: string;
|
|
@@ -304,5 +315,6 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
304
315
|
fitMarkersTransitionDuration: number;
|
|
305
316
|
zoomToBoundariesTransitionDuration: number;
|
|
306
317
|
milestoneBulletSize: number;
|
|
318
|
+
milestonesFirst: boolean;
|
|
307
319
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
308
320
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -327,14 +327,13 @@ export declare const components: {
|
|
|
327
327
|
color: string;
|
|
328
328
|
type: string;
|
|
329
329
|
}): void;
|
|
330
|
-
drawSingleBarEventsGroup({ type, eventsGroup,
|
|
330
|
+
drawSingleBarEventsGroup({ type, eventsGroup, milestone, dots, dotsSize, bottom, }: {
|
|
331
331
|
type: string;
|
|
332
332
|
eventsGroup: import('./types').TimelineEventsGroup;
|
|
333
|
-
index?: number | undefined;
|
|
334
333
|
milestone?: boolean | undefined;
|
|
335
|
-
height?: number | undefined;
|
|
336
334
|
dots?: boolean | undefined;
|
|
337
335
|
dotsSize?: number | undefined;
|
|
336
|
+
bottom?: boolean | undefined;
|
|
338
337
|
}): void;
|
|
339
338
|
drawBarEventsGroups(): void;
|
|
340
339
|
drawMilestonesPlaceholder(): void;
|
|
@@ -344,6 +343,8 @@ export declare const components: {
|
|
|
344
343
|
border: string;
|
|
345
344
|
};
|
|
346
345
|
getMilestoneGroupYPosition(groupName: string): number;
|
|
346
|
+
getBarGroupYPosition(groupName: string, bottom?: boolean | undefined): number;
|
|
347
|
+
getBarGroupHeight(eventsGroup: import('./types').TimelineEventsGroup): number;
|
|
347
348
|
updateMilestonesPositions(): void;
|
|
348
349
|
drawBarChartEventsGroups(): void;
|
|
349
350
|
drawProgressIndicator({ yPosition, type, isLoading, }: {
|
|
@@ -358,7 +359,7 @@ export declare const components: {
|
|
|
358
359
|
color: string;
|
|
359
360
|
height?: number | undefined;
|
|
360
361
|
}): void;
|
|
361
|
-
drawBars({ events, gElement, yPosition, color, type, dots, dotsSize, }: {
|
|
362
|
+
drawBars({ events, gElement, yPosition, color, type, dots, dotsSize, height, barBorderRadius, }: {
|
|
362
363
|
events: import('./types').TimelineEvent[];
|
|
363
364
|
gElement: import("d3-selection").Selection<SVGGElement, any, any, any>;
|
|
364
365
|
yPosition: number;
|
|
@@ -366,6 +367,8 @@ export declare const components: {
|
|
|
366
367
|
type: string;
|
|
367
368
|
dots?: boolean | undefined;
|
|
368
369
|
dotsSize?: number | undefined;
|
|
370
|
+
height?: number | undefined;
|
|
371
|
+
barBorderRadius?: number | undefined;
|
|
369
372
|
}): void;
|
|
370
373
|
drawBarsChart({ events, gElement, color, yOffset, type, index, }: {
|
|
371
374
|
events: import('./types').TimelineEvent[];
|
|
@@ -418,6 +421,13 @@ export declare const components: {
|
|
|
418
421
|
onMilestoneClick(milestone: import('./types').TimelineEvent, milestoneType: any): void;
|
|
419
422
|
getSortedEvents(events: import('./types').TimelineEvent[]): import('./types').TimelineEvent[];
|
|
420
423
|
}, {
|
|
424
|
+
combinedBarsHeight: number;
|
|
425
|
+
combinedBottomBarsHeight: number;
|
|
426
|
+
combinedMilestonesHeight: number;
|
|
427
|
+
milestonesYOffset: number;
|
|
428
|
+
chartsYOffset: number;
|
|
429
|
+
barsYOffset: number;
|
|
430
|
+
hasMilestones: boolean;
|
|
421
431
|
barChartHeight: number;
|
|
422
432
|
classes: Record<string, string | Record<string, boolean>>;
|
|
423
433
|
lineGraphGroups: import('./types').TimelineEventsByType;
|
|
@@ -459,6 +469,7 @@ export declare const components: {
|
|
|
459
469
|
barYPadding: number;
|
|
460
470
|
barXPadding: number;
|
|
461
471
|
chartMinHeight: number;
|
|
472
|
+
chartMinLabelHeight: number;
|
|
462
473
|
minZoom: number;
|
|
463
474
|
maxZoom: number;
|
|
464
475
|
minDate: string;
|
|
@@ -477,6 +488,7 @@ export declare const components: {
|
|
|
477
488
|
fitMarkersTransitionDuration: number;
|
|
478
489
|
zoomToBoundariesTransitionDuration: number;
|
|
479
490
|
milestoneBulletSize: number;
|
|
491
|
+
milestonesFirst: boolean;
|
|
480
492
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
481
493
|
EVideoEmbed: import("vue").DefineComponent<{
|
|
482
494
|
videoUrl: {
|
package/dist/src/types.d.ts
CHANGED
|
@@ -98,6 +98,8 @@ export type TimelineEventsGroup = {
|
|
|
98
98
|
milestonesDotSize?: number;
|
|
99
99
|
height?: number;
|
|
100
100
|
dotsSize?: number;
|
|
101
|
+
bottom?: boolean;
|
|
102
|
+
barBorderRadius?: number;
|
|
101
103
|
};
|
|
102
104
|
export type TimelineEventsByType = {
|
|
103
105
|
[eventsType: string]: TimelineEventsGroup;
|
package/dist/tags.json
CHANGED
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
"bar-ypadding",
|
|
99
99
|
"bar-xpadding",
|
|
100
100
|
"chart-min-height",
|
|
101
|
+
"chart-min-label-height",
|
|
101
102
|
"min-zoom",
|
|
102
103
|
"max-zoom",
|
|
103
104
|
"min-date",
|
|
@@ -115,7 +116,8 @@
|
|
|
115
116
|
"fit-markers-on-change",
|
|
116
117
|
"fit-markers-transition-duration",
|
|
117
118
|
"zoom-to-boundaries-transition-duration",
|
|
118
|
-
"milestone-bullet-size"
|
|
119
|
+
"milestone-bullet-size",
|
|
120
|
+
"milestones-first"
|
|
119
121
|
],
|
|
120
122
|
"description": ""
|
|
121
123
|
}
|
package/dist/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@evercam/ui",
|
|
5
|
-
"version": "0.0.55-beta.
|
|
5
|
+
"version": "0.0.55-beta.8",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -703,6 +703,15 @@
|
|
|
703
703
|
"type": "number"
|
|
704
704
|
}
|
|
705
705
|
},
|
|
706
|
+
{
|
|
707
|
+
"name": "chart-min-label-height",
|
|
708
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
709
|
+
"default": "18",
|
|
710
|
+
"value": {
|
|
711
|
+
"kind": "expression",
|
|
712
|
+
"type": "number"
|
|
713
|
+
}
|
|
714
|
+
},
|
|
706
715
|
{
|
|
707
716
|
"name": "min-zoom",
|
|
708
717
|
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
@@ -870,6 +879,15 @@
|
|
|
870
879
|
"kind": "expression",
|
|
871
880
|
"type": "number"
|
|
872
881
|
}
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"name": "milestones-first",
|
|
885
|
+
"doc-url": "https://www.npmjs.com/package/@evercam/ui",
|
|
886
|
+
"default": "true",
|
|
887
|
+
"value": {
|
|
888
|
+
"kind": "expression",
|
|
889
|
+
"type": "boolean"
|
|
890
|
+
}
|
|
873
891
|
}
|
|
874
892
|
]
|
|
875
893
|
},
|