@evercam/ui 0.0.55-beta.7 → 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 +5 -0
- package/dist/index.mjs +258 -217
- 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 +9 -4
- package/dist/src/index.d.ts +9 -4
- package/dist/src/types.d.ts +2 -0
- package/dist/tags.json +1 -0
- package/dist/web-types.json +10 -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[];
|
|
@@ -246,6 +249,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
246
249
|
getSortedEvents(events: TimelineEvent[]): TimelineEvent[];
|
|
247
250
|
}, {
|
|
248
251
|
combinedBarsHeight: number;
|
|
252
|
+
combinedBottomBarsHeight: number;
|
|
249
253
|
combinedMilestonesHeight: number;
|
|
250
254
|
milestonesYOffset: number;
|
|
251
255
|
chartsYOffset: number;
|
|
@@ -292,6 +296,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
292
296
|
barYPadding: number;
|
|
293
297
|
barXPadding: number;
|
|
294
298
|
chartMinHeight: number;
|
|
299
|
+
chartMinLabelHeight: number;
|
|
295
300
|
minZoom: number;
|
|
296
301
|
maxZoom: number;
|
|
297
302
|
minDate: string;
|
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[];
|
|
@@ -419,6 +422,7 @@ export declare const components: {
|
|
|
419
422
|
getSortedEvents(events: import('./types').TimelineEvent[]): import('./types').TimelineEvent[];
|
|
420
423
|
}, {
|
|
421
424
|
combinedBarsHeight: number;
|
|
425
|
+
combinedBottomBarsHeight: number;
|
|
422
426
|
combinedMilestonesHeight: number;
|
|
423
427
|
milestonesYOffset: number;
|
|
424
428
|
chartsYOffset: number;
|
|
@@ -465,6 +469,7 @@ export declare const components: {
|
|
|
465
469
|
barYPadding: number;
|
|
466
470
|
barXPadding: number;
|
|
467
471
|
chartMinHeight: number;
|
|
472
|
+
chartMinLabelHeight: number;
|
|
468
473
|
minZoom: number;
|
|
469
474
|
maxZoom: number;
|
|
470
475
|
minDate: string;
|
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
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",
|