@prefecthq/graphs 1.0.1 → 1.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 +59 -59
- package/dist/graphs.umd.js.map +1 -1
- package/dist/{index-7e1bf7af.mjs → index-abc60fc8.mjs} +6250 -6131
- package/dist/index-abc60fc8.mjs.map +1 -0
- package/dist/types/src/models/FlowRunTimeline.d.ts +1 -0
- package/dist/types/src/pixiFunctions/index.d.ts +1 -0
- package/dist/types/src/pixiFunctions/loadingIndicator.d.ts +19 -0
- package/dist/types/src/pixiFunctions/timelineNode.d.ts +13 -4
- package/dist/types/src/pixiFunctions/timelineNodes.d.ts +1 -1
- package/dist/{viewport.es-c35ed287.mjs → viewport.es-20251669.mjs} +2 -2
- package/dist/{viewport.es-c35ed287.mjs.map → viewport.es-20251669.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-7e1bf7af.mjs.map +0 -1
|
@@ -83,6 +83,7 @@ export type CenterViewportOptions = {
|
|
|
83
83
|
export type TextStyles = {
|
|
84
84
|
nodeTextDefault: Partial<IBitmapTextStyle>;
|
|
85
85
|
nodeTextInverse: Partial<IBitmapTextStyle>;
|
|
86
|
+
nodeTextSubdued: Partial<IBitmapTextStyle>;
|
|
86
87
|
nodeTextStyles: TextStyle;
|
|
87
88
|
timeMarkerLabel: Partial<IBitmapTextStyle>;
|
|
88
89
|
playheadTimerLabel: Partial<IBitmapTextStyle>;
|
|
@@ -2,6 +2,7 @@ export * from './bitmapFonts';
|
|
|
2
2
|
export * from './deselectLayer';
|
|
3
3
|
export * from './initPixiApp';
|
|
4
4
|
export * from './initViewport';
|
|
5
|
+
export * from './loadingIndicator';
|
|
5
6
|
export * from './nodeSprites';
|
|
6
7
|
export * from './roundedBorderRect';
|
|
7
8
|
export * from './timelineEdge';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Container } from 'pixi.js';
|
|
2
|
+
import { GraphState } from '../models';
|
|
3
|
+
type LoadingIndicatorProps = {
|
|
4
|
+
graphState: GraphState;
|
|
5
|
+
};
|
|
6
|
+
export declare class LoadingIndicator extends Container {
|
|
7
|
+
private readonly graphState;
|
|
8
|
+
private readonly dimensionsObject;
|
|
9
|
+
private dots;
|
|
10
|
+
private readonly unWatchers;
|
|
11
|
+
constructor({ graphState, }: LoadingIndicatorProps);
|
|
12
|
+
private initWatchers;
|
|
13
|
+
private initDimensions;
|
|
14
|
+
private initDots;
|
|
15
|
+
private initAnimation;
|
|
16
|
+
private destroyDots;
|
|
17
|
+
destroy(): void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -38,6 +38,9 @@ export declare class TimelineNode extends Container {
|
|
|
38
38
|
private subNodesToggle;
|
|
39
39
|
private subNodesToggleWidth;
|
|
40
40
|
private isSubNodesToggleFloating;
|
|
41
|
+
private isLoadingSubNodes;
|
|
42
|
+
private subNodesLoadingIndicator;
|
|
43
|
+
private noSubNodesMessage;
|
|
41
44
|
private label;
|
|
42
45
|
private apxLabelWidth;
|
|
43
46
|
private isLabelInBox;
|
|
@@ -51,7 +54,6 @@ export declare class TimelineNode extends Container {
|
|
|
51
54
|
private selectedRing;
|
|
52
55
|
constructor({ nodeData, graphState, layout, layoutRows, }: TimelineNodeProps);
|
|
53
56
|
private initWatchers;
|
|
54
|
-
readonly initializePosition: () => void;
|
|
55
57
|
private drawSubNodesOutline;
|
|
56
58
|
private initBox;
|
|
57
59
|
private drawBox;
|
|
@@ -67,10 +69,12 @@ export declare class TimelineNode extends Container {
|
|
|
67
69
|
/**
|
|
68
70
|
* Subnodes
|
|
69
71
|
*/
|
|
70
|
-
expandSubNodes
|
|
71
|
-
|
|
72
|
+
private expandSubNodes;
|
|
73
|
+
private drawLoadingSubNodes;
|
|
74
|
+
private drawNoSubNodesMessage;
|
|
75
|
+
private updateSubNodesContentPosition;
|
|
72
76
|
private initSubNodesTicker;
|
|
73
|
-
collapseSubNodes
|
|
77
|
+
private collapseSubNodes;
|
|
74
78
|
/**
|
|
75
79
|
* Update Functions
|
|
76
80
|
*/
|
|
@@ -85,6 +89,7 @@ export declare class TimelineNode extends Container {
|
|
|
85
89
|
/**
|
|
86
90
|
* Utilities
|
|
87
91
|
*/
|
|
92
|
+
readonly initializePosition: () => void;
|
|
88
93
|
private getNodeWidth;
|
|
89
94
|
private getNodeHeight;
|
|
90
95
|
private getBoxBodyWidth;
|
|
@@ -93,8 +98,12 @@ export declare class TimelineNode extends Container {
|
|
|
93
98
|
private checkIsLabelInBox;
|
|
94
99
|
private getSelectedRingSize;
|
|
95
100
|
private emitSelection;
|
|
101
|
+
private readonly getSubNodesData;
|
|
102
|
+
private getSubContentHeight;
|
|
96
103
|
private emitSubNodesToggle;
|
|
97
104
|
private destroySubNodesContent;
|
|
105
|
+
private destroySubNodesLoadingIndicator;
|
|
106
|
+
private destroyNoSubNodesMessage;
|
|
98
107
|
private destroyRunningNodeTicker;
|
|
99
108
|
private killTweens;
|
|
100
109
|
destroy(): void;
|
|
@@ -26,7 +26,6 @@ export declare class TimelineNodes extends Container {
|
|
|
26
26
|
private initLayoutWorker;
|
|
27
27
|
private initDeselectLayer;
|
|
28
28
|
private renderLayout;
|
|
29
|
-
private updateLayoutRows;
|
|
30
29
|
private createNode;
|
|
31
30
|
private addNodeEdges;
|
|
32
31
|
/**
|
|
@@ -34,6 +33,7 @@ export declare class TimelineNodes extends Container {
|
|
|
34
33
|
*/
|
|
35
34
|
update(newData: GraphTimelineNode[]): void;
|
|
36
35
|
updateHideEdges(): void;
|
|
36
|
+
private updateLayoutRows;
|
|
37
37
|
updateLayoutSetting(): void;
|
|
38
38
|
/**
|
|
39
39
|
* Node Selection
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as c, R as b, T as C, C as P } from "./index-
|
|
1
|
+
import { P as c, R as b, T as C, C as P } from "./index-abc60fc8.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
class u {
|
|
4
4
|
constructor(t) {
|
|
@@ -1530,4 +1530,4 @@ export {
|
|
|
1530
1530
|
O as Viewport,
|
|
1531
1531
|
$ as Wheel
|
|
1532
1532
|
};
|
|
1533
|
-
//# sourceMappingURL=viewport.es-
|
|
1533
|
+
//# sourceMappingURL=viewport.es-20251669.mjs.map
|