@evercam/ui 1.0.0-preview-fix-tl-ts-issues-ca1f31399 → 1.0.0-preview-fix-tl-ts-issues-1c7fc94a9
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.
|
@@ -52,7 +52,7 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
52
52
|
clearTimeline(): void;
|
|
53
53
|
handleMouseLeave(): void;
|
|
54
54
|
handleMouseMove(mouseX: number, timestamp: string): void;
|
|
55
|
-
|
|
55
|
+
isForbiddenTimestamp(timestamp: string): boolean;
|
|
56
56
|
handleClick(timestamp: string): void;
|
|
57
57
|
handleMarkerClick(marker: TimelineMarker): void;
|
|
58
58
|
handleChartMouseOver(_event: MouseEvent, eventData: TimelineCountEvent, eventType: string): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ export declare const components: {
|
|
|
279
279
|
clearTimeline(): void;
|
|
280
280
|
handleMouseLeave(): void;
|
|
281
281
|
handleMouseMove(mouseX: number, timestamp: string): void;
|
|
282
|
-
|
|
282
|
+
isForbiddenTimestamp(timestamp: string): boolean;
|
|
283
283
|
handleClick(timestamp: string): void;
|
|
284
284
|
handleMarkerClick(marker: import('./types').TimelineMarker): void;
|
|
285
285
|
handleChartMouseOver(_event: MouseEvent, eventData: import('./types').TimelineCountEvent, eventType: string): void;
|
package/dist/index.mjs
CHANGED
|
@@ -11534,7 +11534,7 @@ var Vl = function() {
|
|
|
11534
11534
|
}), r("clipPath", { key: `${e.defs.clipPath}-${i}`, attrs: { id: `${e.defs.clipPath}-${i}` } }, [r("rect", { attrs: { width: e.width, height: e.height } })])] : e._e(), n.chartType === e.TimelineChartType.BarChart ? [e._l(e.transparencyGradients, function({ id: o, opacity: a }) {
|
|
11535
11535
|
return r("linearGradient", { key: `${o}-${i}-${n.chartType}`, attrs: { id: `${o}-${i}-${n.chartType}`, width: "100%", height: "100%" } }, [r("stop", { attrs: { "stop-color": n.color, "stop-opacity": a } })], 1);
|
|
11536
11536
|
}), r("clipPath", { key: `${e.defs.clipPath}-${i}`, attrs: { id: `${e.defs.clipPath}-${i}` } }, [r("rect", { attrs: { width: e.width, height: e.height } })])] : e._e()];
|
|
11537
|
-
}), r("pattern", { attrs: { id: e.defs.stripedPattern, width: "5", height: "3", patternUnits: "userSpaceOnUse", patternTransform: "rotate(45)" } }, [r("rect", { attrs: { width: "
|
|
11537
|
+
}), r("pattern", { attrs: { id: e.defs.stripedPattern, width: "5", height: "3", patternUnits: "userSpaceOnUse", patternTransform: "rotate(45)" } }, [r("rect", { attrs: { width: "2", height: "4", fill: e.forbiddenIntervalColor } })])], 2);
|
|
11538
11538
|
}, Yl = [], Xl = /* @__PURE__ */ H(
|
|
11539
11539
|
Zl,
|
|
11540
11540
|
Vl,
|
|
@@ -13177,7 +13177,7 @@ const q5 = W5.exports, U5 = R.extend({
|
|
|
13177
13177
|
[this.tooltipPosition === "top" ? "bottom" : "top"]: `${this.timeline.getBoundingClientRect().height}px`
|
|
13178
13178
|
});
|
|
13179
13179
|
},
|
|
13180
|
-
|
|
13180
|
+
isForbiddenTimestamp(t) {
|
|
13181
13181
|
const e = new Date(t).getTime();
|
|
13182
13182
|
return this.forbiddenIntervals.some((r) => {
|
|
13183
13183
|
const n = Tn(r.startDate, -1 / 0), i = Tn(r.endDate, 1 / 0);
|
|
@@ -13185,7 +13185,7 @@ const q5 = W5.exports, U5 = R.extend({
|
|
|
13185
13185
|
});
|
|
13186
13186
|
},
|
|
13187
13187
|
handleClick(t) {
|
|
13188
|
-
if (this.
|
|
13188
|
+
if (this.isForbiddenTimestamp(t)) {
|
|
13189
13189
|
this.$emit("forbidden-timestamp-clicked", t);
|
|
13190
13190
|
return;
|
|
13191
13191
|
}
|