@prefecthq/graphs 2.2.1 → 2.2.2
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/graphs.mjs
CHANGED
|
@@ -30693,7 +30693,7 @@ async function Vb({ cullAtZoomThreshold: r }) {
|
|
|
30693
30693
|
}
|
|
30694
30694
|
async function p() {
|
|
30695
30695
|
if (!u)
|
|
30696
|
-
return o;
|
|
30696
|
+
return o.visible = !1, o;
|
|
30697
30697
|
await a(u);
|
|
30698
30698
|
const {
|
|
30699
30699
|
artifactPaddingLeft: y,
|
|
@@ -30702,7 +30702,7 @@ async function Vb({ cullAtZoomThreshold: r }) {
|
|
|
30702
30702
|
artifactIconSize: v,
|
|
30703
30703
|
artifactContentGap: T
|
|
30704
30704
|
} = t.styles, C = y + v + T, E = _;
|
|
30705
|
-
return o.tint = b, o.scale.set(0.75), o.position = { x: C, y: E }, o;
|
|
30705
|
+
return o.tint = b, o.scale.set(0.75), o.position = { x: C, y: E }, o.visible = !0, o;
|
|
30706
30706
|
}
|
|
30707
30707
|
async function g() {
|
|
30708
30708
|
const {
|
|
@@ -31062,7 +31062,12 @@ async function _M() {
|
|
|
31062
31062
|
const { element: r, render: t } = await Vb({ cullAtZoomThreshold: !1 });
|
|
31063
31063
|
let e = null, i = [], s = !1;
|
|
31064
31064
|
r.eventMode = "static", r.cursor = "pointer", r.on("click", (l) => {
|
|
31065
|
-
l.stopPropagation()
|
|
31065
|
+
l.stopPropagation();
|
|
31066
|
+
const c = {
|
|
31067
|
+
x: r.position.x + r.width / 2,
|
|
31068
|
+
y: r.position.y + r.height
|
|
31069
|
+
};
|
|
31070
|
+
$o({ kind: "artifacts", ids: i, position: c });
|
|
31066
31071
|
}), ot.on("itemSelected", () => {
|
|
31067
31072
|
const l = Qo({ kind: "artifacts", ids: i });
|
|
31068
31073
|
l !== s && e && (s = l, n({ ids: i, date: e }));
|