@prefecthq/graphs 2.0.1 → 2.0.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 +1 -1
- package/dist/graphs.umd.js +1 -1
- package/dist/graphs.umd.js.map +1 -1
- package/dist/{index-aba921f4.mjs → index-a201ce37.mjs} +11 -8
- package/dist/{index-aba921f4.mjs.map → index-a201ce37.mjs.map} +1 -1
- package/dist/types/src/containers/guide.d.ts +1 -0
- package/dist/types/src/models/FlowRunTimeline.d.ts +1 -1
- package/dist/{viewport.es-73ad6f79.mjs → viewport.es-f8e518db.mjs} +2 -2
- package/dist/{viewport.es-73ad6f79.mjs.map → viewport.es-f8e518db.mjs.map} +1 -1
- package/package.json +3 -3
|
@@ -15935,7 +15935,7 @@ function Z0(r) {
|
|
|
15935
15935
|
globalThis.__PIXI_APP__ = r;
|
|
15936
15936
|
}
|
|
15937
15937
|
async function q0() {
|
|
15938
|
-
const { Viewport: r } = await import("./viewport.es-
|
|
15938
|
+
const { Viewport: r } = await import("./viewport.es-f8e518db.mjs");
|
|
15939
15939
|
return r;
|
|
15940
15940
|
}
|
|
15941
15941
|
const {
|
|
@@ -19580,12 +19580,12 @@ class Gb extends lt {
|
|
|
19580
19580
|
}
|
|
19581
19581
|
}
|
|
19582
19582
|
function Sf(r) {
|
|
19583
|
-
let { left: e, right: t } = r;
|
|
19584
|
-
function
|
|
19585
|
-
const { left:
|
|
19586
|
-
return
|
|
19583
|
+
let { left: e, right: t, height: i } = r;
|
|
19584
|
+
function n() {
|
|
19585
|
+
const { left: s, right: a, height: o } = r;
|
|
19586
|
+
return s === e && a === t && o === i ? !1 : (e = s, t = a, i = o, !0);
|
|
19587
19587
|
}
|
|
19588
|
-
return
|
|
19588
|
+
return n;
|
|
19589
19589
|
}
|
|
19590
19590
|
class kb extends lt {
|
|
19591
19591
|
constructor(t) {
|
|
@@ -19598,7 +19598,7 @@ class kb extends lt {
|
|
|
19598
19598
|
R(this, "label");
|
|
19599
19599
|
R(this, "unwatch");
|
|
19600
19600
|
R(this, "tick", () => {
|
|
19601
|
-
!this.date || !this.viewportUpdated() || this.updatePosition();
|
|
19601
|
+
!this.date || !this.viewportUpdated() || (this.updatePosition(), this.updateLineHeight());
|
|
19602
19602
|
});
|
|
19603
19603
|
this.state = t, this.viewportUpdated = Sf(t.viewport), this.state.pixiApp.ticker.add(this.tick), this.interactive = !1, this.createLine(), this.createLabel(), this.unwatch = Lt(t.styleOptions, () => {
|
|
19604
19604
|
this.createLine(), this.createLabel();
|
|
@@ -19634,6 +19634,9 @@ class kb extends lt {
|
|
|
19634
19634
|
const { viewport: t } = this.state;
|
|
19635
19635
|
return this.state.timeScale.dateToX(this.date) * t.scale._x + t.worldTransform.tx;
|
|
19636
19636
|
}
|
|
19637
|
+
updateLineHeight() {
|
|
19638
|
+
this.line && (this.line.height = this.state.pixiApp.screen.height);
|
|
19639
|
+
}
|
|
19637
19640
|
updatePosition() {
|
|
19638
19641
|
const t = this.getPositionX();
|
|
19639
19642
|
this.position.set(t, 0);
|
|
@@ -19942,4 +19945,4 @@ export {
|
|
|
19942
19945
|
Vb as f,
|
|
19943
19946
|
zb as n
|
|
19944
19947
|
};
|
|
19945
|
-
//# sourceMappingURL=index-
|
|
19948
|
+
//# sourceMappingURL=index-a201ce37.mjs.map
|